diff --git a/.fern/metadata.json b/.fern/metadata.json new file mode 100644 index 00000000..c27bb0e1 --- /dev/null +++ b/.fern/metadata.json @@ -0,0 +1,15 @@ +{ + "cliVersion": "3.30.3", + "generatorName": "fernapi/fern-python-sdk", + "generatorVersion": "4.38.4", + "generatorConfig": { + "client_class_name": "Merge", + "inline_request_params": false, + "improved_imports": false, + "pydantic_config": { + "skip_validation": true, + "enum_type": "python_enums", + "use_pydantic_field_aliases": true + } + } +} \ No newline at end of file diff --git a/.mock/definition/accounting/__package__.yml b/.mock/definition/accounting/__package__.yml deleted file mode 100644 index cd7f2ced..00000000 --- a/.mock/definition/accounting/__package__.yml +++ /dev/null @@ -1,59036 +0,0 @@ -types: - AccountClassification: - discriminated: false - docs: |- - The account's broadest grouping. - - * `ASSET` - ASSET - * `EQUITY` - EQUITY - * `EXPENSE` - EXPENSE - * `LIABILITY` - LIABILITY - * `REVENUE` - REVENUE - union: - - ClassificationEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - AccountAccountType: - discriminated: false - docs: >- - Normalized account type- which is a narrower and more specific grouping - within the account's classification. - - - * `BANK` - BANK - - * `CREDIT_CARD` - CREDIT_CARD - - * `ACCOUNTS_PAYABLE` - ACCOUNTS_PAYABLE - - * `ACCOUNTS_RECEIVABLE` - ACCOUNTS_RECEIVABLE - - * `FIXED_ASSET` - FIXED_ASSET - - * `OTHER_ASSET` - OTHER_ASSET - - * `OTHER_CURRENT_ASSET` - OTHER_CURRENT_ASSET - - * `OTHER_EXPENSE` - OTHER_EXPENSE - - * `OTHER_INCOME` - OTHER_INCOME - - * `COST_OF_GOODS_SOLD` - COST_OF_GOODS_SOLD - - * `OTHER_CURRENT_LIABILITY` - OTHER_CURRENT_LIABILITY - - * `LONG_TERM_LIABILITY` - LONG_TERM_LIABILITY - - * `NON_POSTING` - NON_POSTING - union: - - AccountAccountTypeEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - AccountStatus: - discriminated: false - docs: |- - The account's status. - - * `ACTIVE` - ACTIVE - * `PENDING` - PENDING - * `INACTIVE` - INACTIVE - union: - - AccountStatusEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - AccountCurrency: - discriminated: false - docs: >- - The account's currency. - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - union: - - TransactionCurrencyEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - Account: - docs: >- - # The Account Object - - ### Description - - An `Account` represents a category in a company’s ledger in which a - financial transaction is recorded against. The aggregation of each - `Account` object is often referred to as the **Chart of Accounts**. - - - An `Account` can be classified into one of the following categories, - determined through the `classification` field: - - * __Asset:__ Accounts Receivable and Bank Accounts - - * __Liability:__ Accounts Payable and Credit Card Accounts - - * __Equity:__ Treasury Accounts and Retained Earnings - - * __Revenue:__ Income and Other Income - - * __Expense:__ Cost of Goods Sold and Office Expenses - - - ### Usage Example - - Fetch from the `LIST Accounts` endpoint and view a company's accounts. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - name: - type: optional - docs: The account's name. - description: - type: optional - docs: The account's description. - classification: - type: optional - docs: |- - The account's broadest grouping. - - * `ASSET` - ASSET - * `EQUITY` - EQUITY - * `EXPENSE` - EXPENSE - * `LIABILITY` - LIABILITY - * `REVENUE` - REVENUE - type: - type: optional - docs: >- - The account's type is a narrower and more specific grouping within the - account's classification. - account_type: - type: optional - docs: >- - Normalized account type- which is a narrower and more specific - grouping within the account's classification. - - - * `BANK` - BANK - - * `CREDIT_CARD` - CREDIT_CARD - - * `ACCOUNTS_PAYABLE` - ACCOUNTS_PAYABLE - - * `ACCOUNTS_RECEIVABLE` - ACCOUNTS_RECEIVABLE - - * `FIXED_ASSET` - FIXED_ASSET - - * `OTHER_ASSET` - OTHER_ASSET - - * `OTHER_CURRENT_ASSET` - OTHER_CURRENT_ASSET - - * `OTHER_EXPENSE` - OTHER_EXPENSE - - * `OTHER_INCOME` - OTHER_INCOME - - * `COST_OF_GOODS_SOLD` - COST_OF_GOODS_SOLD - - * `OTHER_CURRENT_LIABILITY` - OTHER_CURRENT_LIABILITY - - * `LONG_TERM_LIABILITY` - LONG_TERM_LIABILITY - - * `NON_POSTING` - NON_POSTING - status: - type: optional - docs: |- - The account's status. - - * `ACTIVE` - ACTIVE - * `PENDING` - PENDING - * `INACTIVE` - INACTIVE - current_balance: - type: optional - docs: The account's current balance. - currency: - type: optional - docs: >- - The account's currency. - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - account_number: - type: optional - docs: The account's number. - parent_account: - type: optional - docs: ID of the parent account. - validation: - format: uuid - company: - type: optional - docs: The company the account belongs to. - validation: - format: uuid - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - AccountAccountTypeEnum: - enum: - - BANK - - CREDIT_CARD - - ACCOUNTS_PAYABLE - - ACCOUNTS_RECEIVABLE - - FIXED_ASSET - - OTHER_ASSET - - OTHER_CURRENT_ASSET - - OTHER_EXPENSE - - OTHER_INCOME - - COST_OF_GOODS_SOLD - - OTHER_CURRENT_LIABILITY - - LONG_TERM_LIABILITY - - NON_POSTING - docs: |- - * `BANK` - BANK - * `CREDIT_CARD` - CREDIT_CARD - * `ACCOUNTS_PAYABLE` - ACCOUNTS_PAYABLE - * `ACCOUNTS_RECEIVABLE` - ACCOUNTS_RECEIVABLE - * `FIXED_ASSET` - FIXED_ASSET - * `OTHER_ASSET` - OTHER_ASSET - * `OTHER_CURRENT_ASSET` - OTHER_CURRENT_ASSET - * `OTHER_EXPENSE` - OTHER_EXPENSE - * `OTHER_INCOME` - OTHER_INCOME - * `COST_OF_GOODS_SOLD` - COST_OF_GOODS_SOLD - * `OTHER_CURRENT_LIABILITY` - OTHER_CURRENT_LIABILITY - * `LONG_TERM_LIABILITY` - LONG_TERM_LIABILITY - * `NON_POSTING` - NON_POSTING - source: - openapi: openapi/openapi.yml - AccountDetailsCategory: - discriminated: false - union: - - CategoryEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - AccountDetails: - properties: - id: - type: optional - validation: - format: uuid - access: read-only - integration: - type: optional - access: read-only - integration_slug: - type: optional - access: read-only - category: optional - end_user_origin_id: - type: optional - access: read-only - end_user_organization_name: - type: optional - access: read-only - end_user_email_address: - type: optional - validation: - format: email - access: read-only - status: - type: optional - access: read-only - webhook_listener_url: - type: optional - validation: - format: uri - access: read-only - is_duplicate: - type: optional - docs: >- - Whether a Production Linked Account's credentials match another - existing Production Linked Account. This field is `null` for Test - Linked Accounts, incomplete Production Linked Accounts, and ignored - duplicate Production Linked Account sets. - access: read-only - account_type: - type: optional - access: read-only - completed_at: - type: optional - docs: The time at which account completes the linking flow. - source: - openapi: openapi/openapi.yml - AccountDetailsAndActionsCategory: - discriminated: false - union: - - CategoryEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - AccountDetailsAndActionsStatus: - discriminated: false - union: - - AccountDetailsAndActionsStatusEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - AccountDetailsAndActions: - docs: >- - # The LinkedAccount Object - - ### Description - - The `LinkedAccount` object is used to represent an end user's link with a - specific integration. - - - ### Usage Example - - View a list of your organization's `LinkedAccount` objects. - properties: - id: string - category: optional - status: AccountDetailsAndActionsStatus - status_detail: optional - end_user_origin_id: optional - end_user_organization_name: string - end_user_email_address: string - subdomain: - type: optional - docs: The tenant or domain the customer has provided access to. - webhook_listener_url: string - is_duplicate: - type: optional - docs: >- - Whether a Production Linked Account's credentials match another - existing Production Linked Account. This field is `null` for Test - Linked Accounts, incomplete Production Linked Accounts, and ignored - duplicate Production Linked Account sets. - integration: optional - account_type: string - completed_at: datetime - integration_specific_fields: optional> - source: - openapi: openapi/openapi.yml - AccountDetailsAndActionsIntegration: - properties: - name: string - categories: list - image: optional - square_image: optional - color: string - slug: string - passthrough_available: boolean - available_model_operations: optional> - source: - openapi: openapi/openapi.yml - AccountDetailsAndActionsStatusEnum: - enum: - - COMPLETE - - INCOMPLETE - - RELINK_NEEDED - - IDLE - docs: |- - * `COMPLETE` - COMPLETE - * `INCOMPLETE` - INCOMPLETE - * `RELINK_NEEDED` - RELINK_NEEDED - * `IDLE` - IDLE - source: - openapi: openapi/openapi.yml - AccountIntegration: - properties: - name: - type: string - docs: Company name. - abbreviated_name: - type: optional - docs: >- - Optional. This shortened name appears in places with limited space, - usually in conjunction with the platform's logo (e.g., Merge Link - menu).

Example: Workforce Now (in lieu of ADP Workforce - Now), SuccessFactors (in lieu of SAP SuccessFactors) - categories: - type: optional> - docs: >- - Category or categories this integration belongs to. Multiple - categories should be comma separated, i.e. [ats, hris]. - access: read-only - image: - type: optional - docs: Company logo in rectangular shape. - validation: - format: uri - square_image: - type: optional - docs: Company logo in square shape. - validation: - format: uri - color: - type: optional - docs: >- - The color of this integration used for buttons and text throughout the - app and landing pages. Choose a darker, saturated color. - validation: - pattern: ^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$ - maxLength: 18 - slug: - type: optional - access: read-only - api_endpoints_to_documentation_urls: - type: optional> - docs: >- - Mapping of API endpoints to documentation urls for support. Example: - {'GET': [['/common-model-scopes', - 'https://docs.merge.dev/accounting/common-model-scopes/#common_model_scopes_retrieve'],['/common-model-actions', - 'https://docs.merge.dev/accounting/common-model-actions/#common_model_actions_retrieve']], - 'POST': []} - webhook_setup_guide_url: - type: optional - docs: >- - Setup guide URL for third party webhook creation. Exposed in Merge - Docs. - category_beta_status: - type: optional> - docs: Category or categories this integration is in beta status for. - access: read-only - source: - openapi: openapi/openapi.yml - AccountRequestClassification: - discriminated: false - docs: |- - The account's broadest grouping. - - * `ASSET` - ASSET - * `EQUITY` - EQUITY - * `EXPENSE` - EXPENSE - * `LIABILITY` - LIABILITY - * `REVENUE` - REVENUE - union: - - ClassificationEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - AccountRequestAccountType: - discriminated: false - docs: >- - Normalized account type- which is a narrower and more specific grouping - within the account's classification. - - - * `BANK` - BANK - - * `CREDIT_CARD` - CREDIT_CARD - - * `ACCOUNTS_PAYABLE` - ACCOUNTS_PAYABLE - - * `ACCOUNTS_RECEIVABLE` - ACCOUNTS_RECEIVABLE - - * `FIXED_ASSET` - FIXED_ASSET - - * `OTHER_ASSET` - OTHER_ASSET - - * `OTHER_CURRENT_ASSET` - OTHER_CURRENT_ASSET - - * `OTHER_EXPENSE` - OTHER_EXPENSE - - * `OTHER_INCOME` - OTHER_INCOME - - * `COST_OF_GOODS_SOLD` - COST_OF_GOODS_SOLD - - * `OTHER_CURRENT_LIABILITY` - OTHER_CURRENT_LIABILITY - - * `LONG_TERM_LIABILITY` - LONG_TERM_LIABILITY - - * `NON_POSTING` - NON_POSTING - union: - - AccountAccountTypeEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - AccountRequestStatus: - discriminated: false - docs: |- - The account's status. - - * `ACTIVE` - ACTIVE - * `PENDING` - PENDING - * `INACTIVE` - INACTIVE - union: - - AccountStatusEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - AccountRequestCurrency: - discriminated: false - docs: >- - The account's currency. - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - union: - - TransactionCurrencyEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - AccountRequest: - docs: >- - # The Account Object - - ### Description - - An `Account` represents a category in a company’s ledger in which a - financial transaction is recorded against. The aggregation of each - `Account` object is often referred to as the **Chart of Accounts**. - - - An `Account` can be classified into one of the following categories, - determined through the `classification` field: - - * __Asset:__ Accounts Receivable and Bank Accounts - - * __Liability:__ Accounts Payable and Credit Card Accounts - - * __Equity:__ Treasury Accounts and Retained Earnings - - * __Revenue:__ Income and Other Income - - * __Expense:__ Cost of Goods Sold and Office Expenses - - - ### Usage Example - - Fetch from the `LIST Accounts` endpoint and view a company's accounts. - properties: - name: - type: optional - docs: The account's name. - description: - type: optional - docs: The account's description. - classification: - type: optional - docs: |- - The account's broadest grouping. - - * `ASSET` - ASSET - * `EQUITY` - EQUITY - * `EXPENSE` - EXPENSE - * `LIABILITY` - LIABILITY - * `REVENUE` - REVENUE - type: - type: optional - docs: >- - The account's type is a narrower and more specific grouping within the - account's classification. - account_type: - type: optional - docs: >- - Normalized account type- which is a narrower and more specific - grouping within the account's classification. - - - * `BANK` - BANK - - * `CREDIT_CARD` - CREDIT_CARD - - * `ACCOUNTS_PAYABLE` - ACCOUNTS_PAYABLE - - * `ACCOUNTS_RECEIVABLE` - ACCOUNTS_RECEIVABLE - - * `FIXED_ASSET` - FIXED_ASSET - - * `OTHER_ASSET` - OTHER_ASSET - - * `OTHER_CURRENT_ASSET` - OTHER_CURRENT_ASSET - - * `OTHER_EXPENSE` - OTHER_EXPENSE - - * `OTHER_INCOME` - OTHER_INCOME - - * `COST_OF_GOODS_SOLD` - COST_OF_GOODS_SOLD - - * `OTHER_CURRENT_LIABILITY` - OTHER_CURRENT_LIABILITY - - * `LONG_TERM_LIABILITY` - LONG_TERM_LIABILITY - - * `NON_POSTING` - NON_POSTING - status: - type: optional - docs: |- - The account's status. - - * `ACTIVE` - ACTIVE - * `PENDING` - PENDING - * `INACTIVE` - INACTIVE - current_balance: - type: optional - docs: The account's current balance. - currency: - type: optional - docs: >- - The account's currency. - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - account_number: - type: optional - docs: The account's number. - parent_account: - type: optional - docs: ID of the parent account. - validation: - format: uuid - company: - type: optional - docs: The company the account belongs to. - validation: - format: uuid - integration_params: - type: optional> - access: write-only - linked_account_params: - type: optional> - access: write-only - source: - openapi: openapi/openapi.yml - AccountResponse: - properties: - model: Account - warnings: list - errors: list - logs: optional> - source: - openapi: openapi/openapi.yml - AccountStatusEnum: - enum: - - ACTIVE - - PENDING - - INACTIVE - docs: |- - * `ACTIVE` - ACTIVE - * `PENDING` - PENDING - * `INACTIVE` - INACTIVE - source: - openapi: openapi/openapi.yml - AccountToken: - properties: - account_token: string - integration: AccountIntegration - id: string - source: - openapi: openapi/openapi.yml - AccountingAttachment: - docs: >- - # The Accounting Attachment Object - - ### Description - - The `AccountingAttachment` object is used to represent a company's - attachments. - - - ### Usage Example - - Fetch from the `LIST AccountingAttachments` endpoint and view a company's - attachments. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - file_name: - type: optional - docs: The attachment's name. - file_url: - type: optional - docs: The attachment's url. - validation: - format: uri - maxLength: 2000 - company: - type: optional - docs: The company the accounting attachment belongs to. - validation: - format: uuid - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - AccountingAttachmentRequest: - docs: >- - # The Accounting Attachment Object - - ### Description - - The `AccountingAttachment` object is used to represent a company's - attachments. - - - ### Usage Example - - Fetch from the `LIST AccountingAttachments` endpoint and view a company's - attachments. - properties: - file_name: - type: optional - docs: The attachment's name. - file_url: - type: optional - docs: The attachment's url. - validation: - format: uri - maxLength: 2000 - company: - type: optional - docs: The company the accounting attachment belongs to. - validation: - format: uuid - integration_params: - type: optional> - access: write-only - linked_account_params: - type: optional> - access: write-only - source: - openapi: openapi/openapi.yml - AccountingAttachmentResponse: - properties: - model: AccountingAttachment - warnings: list - errors: list - logs: optional> - source: - openapi: openapi/openapi.yml - AccountingPeriodStatus: - discriminated: false - union: - - Status895Enum - - string - source: - openapi: openapi/openapi.yml - inline: true - AccountingPeriod: - docs: >- - # The AccountingPeriod Object - - ### Description - - The `AccountingPeriod` object is used to define a period of time in which - events occurred. - - - ### Usage Example - - Common models like `Invoice` and `Transaction` will have - `AccountingPeriod` objects which will denote when they occurred. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - name: - type: optional - docs: Name of the accounting period. - validation: - maxLength: 100 - status: optional - start_date: - type: optional - docs: Beginning date of the period - end_date: - type: optional - docs: End date of the period - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - AccountingPhoneNumber: - docs: >- - # The AccountingPhoneNumber Object - - ### Description - - The `AccountingPhoneNumber` object is used to represent a contact's or - company's phone number. - - - ### Usage Example - - Fetch from the `GET CompanyInfo` endpoint and view the company's phone - numbers. - properties: - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - number: - type: optional - docs: The phone number. - type: - type: optional - docs: The phone number's type. - source: - openapi: openapi/openapi.yml - AccountingPhoneNumberRequest: - docs: >- - # The AccountingPhoneNumber Object - - ### Description - - The `AccountingPhoneNumber` object is used to represent a contact's or - company's phone number. - - - ### Usage Example - - Fetch from the `GET CompanyInfo` endpoint and view the company's phone - numbers. - properties: - number: - type: optional - docs: The phone number. - type: - type: optional - docs: The phone number's type. - integration_params: - type: optional> - access: write-only - linked_account_params: - type: optional> - access: write-only - source: - openapi: openapi/openapi.yml - AddressType: - discriminated: false - docs: |- - The address type. - - * `BILLING` - BILLING - * `SHIPPING` - SHIPPING - union: - - AddressTypeEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - AddressCountry: - discriminated: false - docs: |- - The address's country. - - * `AF` - Afghanistan - * `AX` - Åland Islands - * `AL` - Albania - * `DZ` - Algeria - * `AS` - American Samoa - * `AD` - Andorra - * `AO` - Angola - * `AI` - Anguilla - * `AQ` - Antarctica - * `AG` - Antigua and Barbuda - * `AR` - Argentina - * `AM` - Armenia - * `AW` - Aruba - * `AU` - Australia - * `AT` - Austria - * `AZ` - Azerbaijan - * `BS` - Bahamas - * `BH` - Bahrain - * `BD` - Bangladesh - * `BB` - Barbados - * `BY` - Belarus - * `BE` - Belgium - * `BZ` - Belize - * `BJ` - Benin - * `BM` - Bermuda - * `BT` - Bhutan - * `BO` - Bolivia - * `BQ` - Bonaire, Sint Eustatius and Saba - * `BA` - Bosnia and Herzegovina - * `BW` - Botswana - * `BV` - Bouvet Island - * `BR` - Brazil - * `IO` - British Indian Ocean Territory - * `BN` - Brunei - * `BG` - Bulgaria - * `BF` - Burkina Faso - * `BI` - Burundi - * `CV` - Cabo Verde - * `KH` - Cambodia - * `CM` - Cameroon - * `CA` - Canada - * `KY` - Cayman Islands - * `CF` - Central African Republic - * `TD` - Chad - * `CL` - Chile - * `CN` - China - * `CX` - Christmas Island - * `CC` - Cocos (Keeling) Islands - * `CO` - Colombia - * `KM` - Comoros - * `CG` - Congo - * `CD` - Congo (the Democratic Republic of the) - * `CK` - Cook Islands - * `CR` - Costa Rica - * `CI` - Côte d'Ivoire - * `HR` - Croatia - * `CU` - Cuba - * `CW` - Curaçao - * `CY` - Cyprus - * `CZ` - Czechia - * `DK` - Denmark - * `DJ` - Djibouti - * `DM` - Dominica - * `DO` - Dominican Republic - * `EC` - Ecuador - * `EG` - Egypt - * `SV` - El Salvador - * `GQ` - Equatorial Guinea - * `ER` - Eritrea - * `EE` - Estonia - * `SZ` - Eswatini - * `ET` - Ethiopia - * `FK` - Falkland Islands (Malvinas) - * `FO` - Faroe Islands - * `FJ` - Fiji - * `FI` - Finland - * `FR` - France - * `GF` - French Guiana - * `PF` - French Polynesia - * `TF` - French Southern Territories - * `GA` - Gabon - * `GM` - Gambia - * `GE` - Georgia - * `DE` - Germany - * `GH` - Ghana - * `GI` - Gibraltar - * `GR` - Greece - * `GL` - Greenland - * `GD` - Grenada - * `GP` - Guadeloupe - * `GU` - Guam - * `GT` - Guatemala - * `GG` - Guernsey - * `GN` - Guinea - * `GW` - Guinea-Bissau - * `GY` - Guyana - * `HT` - Haiti - * `HM` - Heard Island and McDonald Islands - * `VA` - Holy See - * `HN` - Honduras - * `HK` - Hong Kong - * `HU` - Hungary - * `IS` - Iceland - * `IN` - India - * `ID` - Indonesia - * `IR` - Iran - * `IQ` - Iraq - * `IE` - Ireland - * `IM` - Isle of Man - * `IL` - Israel - * `IT` - Italy - * `JM` - Jamaica - * `JP` - Japan - * `JE` - Jersey - * `JO` - Jordan - * `KZ` - Kazakhstan - * `KE` - Kenya - * `KI` - Kiribati - * `KW` - Kuwait - * `KG` - Kyrgyzstan - * `LA` - Laos - * `LV` - Latvia - * `LB` - Lebanon - * `LS` - Lesotho - * `LR` - Liberia - * `LY` - Libya - * `LI` - Liechtenstein - * `LT` - Lithuania - * `LU` - Luxembourg - * `MO` - Macao - * `MG` - Madagascar - * `MW` - Malawi - * `MY` - Malaysia - * `MV` - Maldives - * `ML` - Mali - * `MT` - Malta - * `MH` - Marshall Islands - * `MQ` - Martinique - * `MR` - Mauritania - * `MU` - Mauritius - * `YT` - Mayotte - * `MX` - Mexico - * `FM` - Micronesia (Federated States of) - * `MD` - Moldova - * `MC` - Monaco - * `MN` - Mongolia - * `ME` - Montenegro - * `MS` - Montserrat - * `MA` - Morocco - * `MZ` - Mozambique - * `MM` - Myanmar - * `NA` - Namibia - * `NR` - Nauru - * `NP` - Nepal - * `NL` - Netherlands - * `NC` - New Caledonia - * `NZ` - New Zealand - * `NI` - Nicaragua - * `NE` - Niger - * `NG` - Nigeria - * `NU` - Niue - * `NF` - Norfolk Island - * `KP` - North Korea - * `MK` - North Macedonia - * `MP` - Northern Mariana Islands - * `NO` - Norway - * `OM` - Oman - * `PK` - Pakistan - * `PW` - Palau - * `PS` - Palestine, State of - * `PA` - Panama - * `PG` - Papua New Guinea - * `PY` - Paraguay - * `PE` - Peru - * `PH` - Philippines - * `PN` - Pitcairn - * `PL` - Poland - * `PT` - Portugal - * `PR` - Puerto Rico - * `QA` - Qatar - * `RE` - Réunion - * `RO` - Romania - * `RU` - Russia - * `RW` - Rwanda - * `BL` - Saint Barthélemy - * `SH` - Saint Helena, Ascension and Tristan da Cunha - * `KN` - Saint Kitts and Nevis - * `LC` - Saint Lucia - * `MF` - Saint Martin (French part) - * `PM` - Saint Pierre and Miquelon - * `VC` - Saint Vincent and the Grenadines - * `WS` - Samoa - * `SM` - San Marino - * `ST` - Sao Tome and Principe - * `SA` - Saudi Arabia - * `SN` - Senegal - * `RS` - Serbia - * `SC` - Seychelles - * `SL` - Sierra Leone - * `SG` - Singapore - * `SX` - Sint Maarten (Dutch part) - * `SK` - Slovakia - * `SI` - Slovenia - * `SB` - Solomon Islands - * `SO` - Somalia - * `ZA` - South Africa - * `GS` - South Georgia and the South Sandwich Islands - * `KR` - South Korea - * `SS` - South Sudan - * `ES` - Spain - * `LK` - Sri Lanka - * `SD` - Sudan - * `SR` - Suriname - * `SJ` - Svalbard and Jan Mayen - * `SE` - Sweden - * `CH` - Switzerland - * `SY` - Syria - * `TW` - Taiwan - * `TJ` - Tajikistan - * `TZ` - Tanzania - * `TH` - Thailand - * `TL` - Timor-Leste - * `TG` - Togo - * `TK` - Tokelau - * `TO` - Tonga - * `TT` - Trinidad and Tobago - * `TN` - Tunisia - * `TR` - Turkey - * `TM` - Turkmenistan - * `TC` - Turks and Caicos Islands - * `TV` - Tuvalu - * `UG` - Uganda - * `UA` - Ukraine - * `AE` - United Arab Emirates - * `GB` - United Kingdom - * `UM` - United States Minor Outlying Islands - * `US` - United States of America - * `UY` - Uruguay - * `UZ` - Uzbekistan - * `VU` - Vanuatu - * `VE` - Venezuela - * `VN` - Vietnam - * `VG` - Virgin Islands (British) - * `VI` - Virgin Islands (U.S.) - * `WF` - Wallis and Futuna - * `EH` - Western Sahara - * `YE` - Yemen - * `ZM` - Zambia - * `ZW` - Zimbabwe - union: - - CountryEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - Address: - docs: >- - # The Address Object - - ### Description - - The `Address` object is used to represent a contact's or company's - address. - - - ### Usage Example - - Fetch from the `GET CompanyInfo` endpoint and view the company's - addresses. - properties: - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - type: - type: optional - docs: |- - The address type. - - * `BILLING` - BILLING - * `SHIPPING` - SHIPPING - street_1: - type: optional - docs: Line 1 of the address's street. - street_2: - type: optional - docs: Line 2 of the address's street. - city: - type: optional - docs: The address's city. - state: - type: optional - docs: The address's state or region. - access: read-only - country_subdivision: - type: optional - docs: The address's state or region. - country: - type: optional - docs: |- - The address's country. - - * `AF` - Afghanistan - * `AX` - Åland Islands - * `AL` - Albania - * `DZ` - Algeria - * `AS` - American Samoa - * `AD` - Andorra - * `AO` - Angola - * `AI` - Anguilla - * `AQ` - Antarctica - * `AG` - Antigua and Barbuda - * `AR` - Argentina - * `AM` - Armenia - * `AW` - Aruba - * `AU` - Australia - * `AT` - Austria - * `AZ` - Azerbaijan - * `BS` - Bahamas - * `BH` - Bahrain - * `BD` - Bangladesh - * `BB` - Barbados - * `BY` - Belarus - * `BE` - Belgium - * `BZ` - Belize - * `BJ` - Benin - * `BM` - Bermuda - * `BT` - Bhutan - * `BO` - Bolivia - * `BQ` - Bonaire, Sint Eustatius and Saba - * `BA` - Bosnia and Herzegovina - * `BW` - Botswana - * `BV` - Bouvet Island - * `BR` - Brazil - * `IO` - British Indian Ocean Territory - * `BN` - Brunei - * `BG` - Bulgaria - * `BF` - Burkina Faso - * `BI` - Burundi - * `CV` - Cabo Verde - * `KH` - Cambodia - * `CM` - Cameroon - * `CA` - Canada - * `KY` - Cayman Islands - * `CF` - Central African Republic - * `TD` - Chad - * `CL` - Chile - * `CN` - China - * `CX` - Christmas Island - * `CC` - Cocos (Keeling) Islands - * `CO` - Colombia - * `KM` - Comoros - * `CG` - Congo - * `CD` - Congo (the Democratic Republic of the) - * `CK` - Cook Islands - * `CR` - Costa Rica - * `CI` - Côte d'Ivoire - * `HR` - Croatia - * `CU` - Cuba - * `CW` - Curaçao - * `CY` - Cyprus - * `CZ` - Czechia - * `DK` - Denmark - * `DJ` - Djibouti - * `DM` - Dominica - * `DO` - Dominican Republic - * `EC` - Ecuador - * `EG` - Egypt - * `SV` - El Salvador - * `GQ` - Equatorial Guinea - * `ER` - Eritrea - * `EE` - Estonia - * `SZ` - Eswatini - * `ET` - Ethiopia - * `FK` - Falkland Islands (Malvinas) - * `FO` - Faroe Islands - * `FJ` - Fiji - * `FI` - Finland - * `FR` - France - * `GF` - French Guiana - * `PF` - French Polynesia - * `TF` - French Southern Territories - * `GA` - Gabon - * `GM` - Gambia - * `GE` - Georgia - * `DE` - Germany - * `GH` - Ghana - * `GI` - Gibraltar - * `GR` - Greece - * `GL` - Greenland - * `GD` - Grenada - * `GP` - Guadeloupe - * `GU` - Guam - * `GT` - Guatemala - * `GG` - Guernsey - * `GN` - Guinea - * `GW` - Guinea-Bissau - * `GY` - Guyana - * `HT` - Haiti - * `HM` - Heard Island and McDonald Islands - * `VA` - Holy See - * `HN` - Honduras - * `HK` - Hong Kong - * `HU` - Hungary - * `IS` - Iceland - * `IN` - India - * `ID` - Indonesia - * `IR` - Iran - * `IQ` - Iraq - * `IE` - Ireland - * `IM` - Isle of Man - * `IL` - Israel - * `IT` - Italy - * `JM` - Jamaica - * `JP` - Japan - * `JE` - Jersey - * `JO` - Jordan - * `KZ` - Kazakhstan - * `KE` - Kenya - * `KI` - Kiribati - * `KW` - Kuwait - * `KG` - Kyrgyzstan - * `LA` - Laos - * `LV` - Latvia - * `LB` - Lebanon - * `LS` - Lesotho - * `LR` - Liberia - * `LY` - Libya - * `LI` - Liechtenstein - * `LT` - Lithuania - * `LU` - Luxembourg - * `MO` - Macao - * `MG` - Madagascar - * `MW` - Malawi - * `MY` - Malaysia - * `MV` - Maldives - * `ML` - Mali - * `MT` - Malta - * `MH` - Marshall Islands - * `MQ` - Martinique - * `MR` - Mauritania - * `MU` - Mauritius - * `YT` - Mayotte - * `MX` - Mexico - * `FM` - Micronesia (Federated States of) - * `MD` - Moldova - * `MC` - Monaco - * `MN` - Mongolia - * `ME` - Montenegro - * `MS` - Montserrat - * `MA` - Morocco - * `MZ` - Mozambique - * `MM` - Myanmar - * `NA` - Namibia - * `NR` - Nauru - * `NP` - Nepal - * `NL` - Netherlands - * `NC` - New Caledonia - * `NZ` - New Zealand - * `NI` - Nicaragua - * `NE` - Niger - * `NG` - Nigeria - * `NU` - Niue - * `NF` - Norfolk Island - * `KP` - North Korea - * `MK` - North Macedonia - * `MP` - Northern Mariana Islands - * `NO` - Norway - * `OM` - Oman - * `PK` - Pakistan - * `PW` - Palau - * `PS` - Palestine, State of - * `PA` - Panama - * `PG` - Papua New Guinea - * `PY` - Paraguay - * `PE` - Peru - * `PH` - Philippines - * `PN` - Pitcairn - * `PL` - Poland - * `PT` - Portugal - * `PR` - Puerto Rico - * `QA` - Qatar - * `RE` - Réunion - * `RO` - Romania - * `RU` - Russia - * `RW` - Rwanda - * `BL` - Saint Barthélemy - * `SH` - Saint Helena, Ascension and Tristan da Cunha - * `KN` - Saint Kitts and Nevis - * `LC` - Saint Lucia - * `MF` - Saint Martin (French part) - * `PM` - Saint Pierre and Miquelon - * `VC` - Saint Vincent and the Grenadines - * `WS` - Samoa - * `SM` - San Marino - * `ST` - Sao Tome and Principe - * `SA` - Saudi Arabia - * `SN` - Senegal - * `RS` - Serbia - * `SC` - Seychelles - * `SL` - Sierra Leone - * `SG` - Singapore - * `SX` - Sint Maarten (Dutch part) - * `SK` - Slovakia - * `SI` - Slovenia - * `SB` - Solomon Islands - * `SO` - Somalia - * `ZA` - South Africa - * `GS` - South Georgia and the South Sandwich Islands - * `KR` - South Korea - * `SS` - South Sudan - * `ES` - Spain - * `LK` - Sri Lanka - * `SD` - Sudan - * `SR` - Suriname - * `SJ` - Svalbard and Jan Mayen - * `SE` - Sweden - * `CH` - Switzerland - * `SY` - Syria - * `TW` - Taiwan - * `TJ` - Tajikistan - * `TZ` - Tanzania - * `TH` - Thailand - * `TL` - Timor-Leste - * `TG` - Togo - * `TK` - Tokelau - * `TO` - Tonga - * `TT` - Trinidad and Tobago - * `TN` - Tunisia - * `TR` - Turkey - * `TM` - Turkmenistan - * `TC` - Turks and Caicos Islands - * `TV` - Tuvalu - * `UG` - Uganda - * `UA` - Ukraine - * `AE` - United Arab Emirates - * `GB` - United Kingdom - * `UM` - United States Minor Outlying Islands - * `US` - United States of America - * `UY` - Uruguay - * `UZ` - Uzbekistan - * `VU` - Vanuatu - * `VE` - Venezuela - * `VN` - Vietnam - * `VG` - Virgin Islands (British) - * `VI` - Virgin Islands (U.S.) - * `WF` - Wallis and Futuna - * `EH` - Western Sahara - * `YE` - Yemen - * `ZM` - Zambia - * `ZW` - Zimbabwe - zip_code: - type: optional - docs: The address's zip code. - source: - openapi: openapi/openapi.yml - AddressRequestType: - discriminated: false - docs: |- - The address type. - - * `BILLING` - BILLING - * `SHIPPING` - SHIPPING - union: - - AddressTypeEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - AddressRequestCountry: - discriminated: false - docs: |- - The address's country. - - * `AF` - Afghanistan - * `AX` - Åland Islands - * `AL` - Albania - * `DZ` - Algeria - * `AS` - American Samoa - * `AD` - Andorra - * `AO` - Angola - * `AI` - Anguilla - * `AQ` - Antarctica - * `AG` - Antigua and Barbuda - * `AR` - Argentina - * `AM` - Armenia - * `AW` - Aruba - * `AU` - Australia - * `AT` - Austria - * `AZ` - Azerbaijan - * `BS` - Bahamas - * `BH` - Bahrain - * `BD` - Bangladesh - * `BB` - Barbados - * `BY` - Belarus - * `BE` - Belgium - * `BZ` - Belize - * `BJ` - Benin - * `BM` - Bermuda - * `BT` - Bhutan - * `BO` - Bolivia - * `BQ` - Bonaire, Sint Eustatius and Saba - * `BA` - Bosnia and Herzegovina - * `BW` - Botswana - * `BV` - Bouvet Island - * `BR` - Brazil - * `IO` - British Indian Ocean Territory - * `BN` - Brunei - * `BG` - Bulgaria - * `BF` - Burkina Faso - * `BI` - Burundi - * `CV` - Cabo Verde - * `KH` - Cambodia - * `CM` - Cameroon - * `CA` - Canada - * `KY` - Cayman Islands - * `CF` - Central African Republic - * `TD` - Chad - * `CL` - Chile - * `CN` - China - * `CX` - Christmas Island - * `CC` - Cocos (Keeling) Islands - * `CO` - Colombia - * `KM` - Comoros - * `CG` - Congo - * `CD` - Congo (the Democratic Republic of the) - * `CK` - Cook Islands - * `CR` - Costa Rica - * `CI` - Côte d'Ivoire - * `HR` - Croatia - * `CU` - Cuba - * `CW` - Curaçao - * `CY` - Cyprus - * `CZ` - Czechia - * `DK` - Denmark - * `DJ` - Djibouti - * `DM` - Dominica - * `DO` - Dominican Republic - * `EC` - Ecuador - * `EG` - Egypt - * `SV` - El Salvador - * `GQ` - Equatorial Guinea - * `ER` - Eritrea - * `EE` - Estonia - * `SZ` - Eswatini - * `ET` - Ethiopia - * `FK` - Falkland Islands (Malvinas) - * `FO` - Faroe Islands - * `FJ` - Fiji - * `FI` - Finland - * `FR` - France - * `GF` - French Guiana - * `PF` - French Polynesia - * `TF` - French Southern Territories - * `GA` - Gabon - * `GM` - Gambia - * `GE` - Georgia - * `DE` - Germany - * `GH` - Ghana - * `GI` - Gibraltar - * `GR` - Greece - * `GL` - Greenland - * `GD` - Grenada - * `GP` - Guadeloupe - * `GU` - Guam - * `GT` - Guatemala - * `GG` - Guernsey - * `GN` - Guinea - * `GW` - Guinea-Bissau - * `GY` - Guyana - * `HT` - Haiti - * `HM` - Heard Island and McDonald Islands - * `VA` - Holy See - * `HN` - Honduras - * `HK` - Hong Kong - * `HU` - Hungary - * `IS` - Iceland - * `IN` - India - * `ID` - Indonesia - * `IR` - Iran - * `IQ` - Iraq - * `IE` - Ireland - * `IM` - Isle of Man - * `IL` - Israel - * `IT` - Italy - * `JM` - Jamaica - * `JP` - Japan - * `JE` - Jersey - * `JO` - Jordan - * `KZ` - Kazakhstan - * `KE` - Kenya - * `KI` - Kiribati - * `KW` - Kuwait - * `KG` - Kyrgyzstan - * `LA` - Laos - * `LV` - Latvia - * `LB` - Lebanon - * `LS` - Lesotho - * `LR` - Liberia - * `LY` - Libya - * `LI` - Liechtenstein - * `LT` - Lithuania - * `LU` - Luxembourg - * `MO` - Macao - * `MG` - Madagascar - * `MW` - Malawi - * `MY` - Malaysia - * `MV` - Maldives - * `ML` - Mali - * `MT` - Malta - * `MH` - Marshall Islands - * `MQ` - Martinique - * `MR` - Mauritania - * `MU` - Mauritius - * `YT` - Mayotte - * `MX` - Mexico - * `FM` - Micronesia (Federated States of) - * `MD` - Moldova - * `MC` - Monaco - * `MN` - Mongolia - * `ME` - Montenegro - * `MS` - Montserrat - * `MA` - Morocco - * `MZ` - Mozambique - * `MM` - Myanmar - * `NA` - Namibia - * `NR` - Nauru - * `NP` - Nepal - * `NL` - Netherlands - * `NC` - New Caledonia - * `NZ` - New Zealand - * `NI` - Nicaragua - * `NE` - Niger - * `NG` - Nigeria - * `NU` - Niue - * `NF` - Norfolk Island - * `KP` - North Korea - * `MK` - North Macedonia - * `MP` - Northern Mariana Islands - * `NO` - Norway - * `OM` - Oman - * `PK` - Pakistan - * `PW` - Palau - * `PS` - Palestine, State of - * `PA` - Panama - * `PG` - Papua New Guinea - * `PY` - Paraguay - * `PE` - Peru - * `PH` - Philippines - * `PN` - Pitcairn - * `PL` - Poland - * `PT` - Portugal - * `PR` - Puerto Rico - * `QA` - Qatar - * `RE` - Réunion - * `RO` - Romania - * `RU` - Russia - * `RW` - Rwanda - * `BL` - Saint Barthélemy - * `SH` - Saint Helena, Ascension and Tristan da Cunha - * `KN` - Saint Kitts and Nevis - * `LC` - Saint Lucia - * `MF` - Saint Martin (French part) - * `PM` - Saint Pierre and Miquelon - * `VC` - Saint Vincent and the Grenadines - * `WS` - Samoa - * `SM` - San Marino - * `ST` - Sao Tome and Principe - * `SA` - Saudi Arabia - * `SN` - Senegal - * `RS` - Serbia - * `SC` - Seychelles - * `SL` - Sierra Leone - * `SG` - Singapore - * `SX` - Sint Maarten (Dutch part) - * `SK` - Slovakia - * `SI` - Slovenia - * `SB` - Solomon Islands - * `SO` - Somalia - * `ZA` - South Africa - * `GS` - South Georgia and the South Sandwich Islands - * `KR` - South Korea - * `SS` - South Sudan - * `ES` - Spain - * `LK` - Sri Lanka - * `SD` - Sudan - * `SR` - Suriname - * `SJ` - Svalbard and Jan Mayen - * `SE` - Sweden - * `CH` - Switzerland - * `SY` - Syria - * `TW` - Taiwan - * `TJ` - Tajikistan - * `TZ` - Tanzania - * `TH` - Thailand - * `TL` - Timor-Leste - * `TG` - Togo - * `TK` - Tokelau - * `TO` - Tonga - * `TT` - Trinidad and Tobago - * `TN` - Tunisia - * `TR` - Turkey - * `TM` - Turkmenistan - * `TC` - Turks and Caicos Islands - * `TV` - Tuvalu - * `UG` - Uganda - * `UA` - Ukraine - * `AE` - United Arab Emirates - * `GB` - United Kingdom - * `UM` - United States Minor Outlying Islands - * `US` - United States of America - * `UY` - Uruguay - * `UZ` - Uzbekistan - * `VU` - Vanuatu - * `VE` - Venezuela - * `VN` - Vietnam - * `VG` - Virgin Islands (British) - * `VI` - Virgin Islands (U.S.) - * `WF` - Wallis and Futuna - * `EH` - Western Sahara - * `YE` - Yemen - * `ZM` - Zambia - * `ZW` - Zimbabwe - union: - - CountryEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - AddressRequest: - docs: >- - # The Address Object - - ### Description - - The `Address` object is used to represent a contact's or company's - address. - - - ### Usage Example - - Fetch from the `GET CompanyInfo` endpoint and view the company's - addresses. - properties: - type: - type: optional - docs: |- - The address type. - - * `BILLING` - BILLING - * `SHIPPING` - SHIPPING - street_1: - type: optional - docs: Line 1 of the address's street. - street_2: - type: optional - docs: Line 2 of the address's street. - city: - type: optional - docs: The address's city. - country_subdivision: - type: optional - docs: The address's state or region. - country: - type: optional - docs: |- - The address's country. - - * `AF` - Afghanistan - * `AX` - Åland Islands - * `AL` - Albania - * `DZ` - Algeria - * `AS` - American Samoa - * `AD` - Andorra - * `AO` - Angola - * `AI` - Anguilla - * `AQ` - Antarctica - * `AG` - Antigua and Barbuda - * `AR` - Argentina - * `AM` - Armenia - * `AW` - Aruba - * `AU` - Australia - * `AT` - Austria - * `AZ` - Azerbaijan - * `BS` - Bahamas - * `BH` - Bahrain - * `BD` - Bangladesh - * `BB` - Barbados - * `BY` - Belarus - * `BE` - Belgium - * `BZ` - Belize - * `BJ` - Benin - * `BM` - Bermuda - * `BT` - Bhutan - * `BO` - Bolivia - * `BQ` - Bonaire, Sint Eustatius and Saba - * `BA` - Bosnia and Herzegovina - * `BW` - Botswana - * `BV` - Bouvet Island - * `BR` - Brazil - * `IO` - British Indian Ocean Territory - * `BN` - Brunei - * `BG` - Bulgaria - * `BF` - Burkina Faso - * `BI` - Burundi - * `CV` - Cabo Verde - * `KH` - Cambodia - * `CM` - Cameroon - * `CA` - Canada - * `KY` - Cayman Islands - * `CF` - Central African Republic - * `TD` - Chad - * `CL` - Chile - * `CN` - China - * `CX` - Christmas Island - * `CC` - Cocos (Keeling) Islands - * `CO` - Colombia - * `KM` - Comoros - * `CG` - Congo - * `CD` - Congo (the Democratic Republic of the) - * `CK` - Cook Islands - * `CR` - Costa Rica - * `CI` - Côte d'Ivoire - * `HR` - Croatia - * `CU` - Cuba - * `CW` - Curaçao - * `CY` - Cyprus - * `CZ` - Czechia - * `DK` - Denmark - * `DJ` - Djibouti - * `DM` - Dominica - * `DO` - Dominican Republic - * `EC` - Ecuador - * `EG` - Egypt - * `SV` - El Salvador - * `GQ` - Equatorial Guinea - * `ER` - Eritrea - * `EE` - Estonia - * `SZ` - Eswatini - * `ET` - Ethiopia - * `FK` - Falkland Islands (Malvinas) - * `FO` - Faroe Islands - * `FJ` - Fiji - * `FI` - Finland - * `FR` - France - * `GF` - French Guiana - * `PF` - French Polynesia - * `TF` - French Southern Territories - * `GA` - Gabon - * `GM` - Gambia - * `GE` - Georgia - * `DE` - Germany - * `GH` - Ghana - * `GI` - Gibraltar - * `GR` - Greece - * `GL` - Greenland - * `GD` - Grenada - * `GP` - Guadeloupe - * `GU` - Guam - * `GT` - Guatemala - * `GG` - Guernsey - * `GN` - Guinea - * `GW` - Guinea-Bissau - * `GY` - Guyana - * `HT` - Haiti - * `HM` - Heard Island and McDonald Islands - * `VA` - Holy See - * `HN` - Honduras - * `HK` - Hong Kong - * `HU` - Hungary - * `IS` - Iceland - * `IN` - India - * `ID` - Indonesia - * `IR` - Iran - * `IQ` - Iraq - * `IE` - Ireland - * `IM` - Isle of Man - * `IL` - Israel - * `IT` - Italy - * `JM` - Jamaica - * `JP` - Japan - * `JE` - Jersey - * `JO` - Jordan - * `KZ` - Kazakhstan - * `KE` - Kenya - * `KI` - Kiribati - * `KW` - Kuwait - * `KG` - Kyrgyzstan - * `LA` - Laos - * `LV` - Latvia - * `LB` - Lebanon - * `LS` - Lesotho - * `LR` - Liberia - * `LY` - Libya - * `LI` - Liechtenstein - * `LT` - Lithuania - * `LU` - Luxembourg - * `MO` - Macao - * `MG` - Madagascar - * `MW` - Malawi - * `MY` - Malaysia - * `MV` - Maldives - * `ML` - Mali - * `MT` - Malta - * `MH` - Marshall Islands - * `MQ` - Martinique - * `MR` - Mauritania - * `MU` - Mauritius - * `YT` - Mayotte - * `MX` - Mexico - * `FM` - Micronesia (Federated States of) - * `MD` - Moldova - * `MC` - Monaco - * `MN` - Mongolia - * `ME` - Montenegro - * `MS` - Montserrat - * `MA` - Morocco - * `MZ` - Mozambique - * `MM` - Myanmar - * `NA` - Namibia - * `NR` - Nauru - * `NP` - Nepal - * `NL` - Netherlands - * `NC` - New Caledonia - * `NZ` - New Zealand - * `NI` - Nicaragua - * `NE` - Niger - * `NG` - Nigeria - * `NU` - Niue - * `NF` - Norfolk Island - * `KP` - North Korea - * `MK` - North Macedonia - * `MP` - Northern Mariana Islands - * `NO` - Norway - * `OM` - Oman - * `PK` - Pakistan - * `PW` - Palau - * `PS` - Palestine, State of - * `PA` - Panama - * `PG` - Papua New Guinea - * `PY` - Paraguay - * `PE` - Peru - * `PH` - Philippines - * `PN` - Pitcairn - * `PL` - Poland - * `PT` - Portugal - * `PR` - Puerto Rico - * `QA` - Qatar - * `RE` - Réunion - * `RO` - Romania - * `RU` - Russia - * `RW` - Rwanda - * `BL` - Saint Barthélemy - * `SH` - Saint Helena, Ascension and Tristan da Cunha - * `KN` - Saint Kitts and Nevis - * `LC` - Saint Lucia - * `MF` - Saint Martin (French part) - * `PM` - Saint Pierre and Miquelon - * `VC` - Saint Vincent and the Grenadines - * `WS` - Samoa - * `SM` - San Marino - * `ST` - Sao Tome and Principe - * `SA` - Saudi Arabia - * `SN` - Senegal - * `RS` - Serbia - * `SC` - Seychelles - * `SL` - Sierra Leone - * `SG` - Singapore - * `SX` - Sint Maarten (Dutch part) - * `SK` - Slovakia - * `SI` - Slovenia - * `SB` - Solomon Islands - * `SO` - Somalia - * `ZA` - South Africa - * `GS` - South Georgia and the South Sandwich Islands - * `KR` - South Korea - * `SS` - South Sudan - * `ES` - Spain - * `LK` - Sri Lanka - * `SD` - Sudan - * `SR` - Suriname - * `SJ` - Svalbard and Jan Mayen - * `SE` - Sweden - * `CH` - Switzerland - * `SY` - Syria - * `TW` - Taiwan - * `TJ` - Tajikistan - * `TZ` - Tanzania - * `TH` - Thailand - * `TL` - Timor-Leste - * `TG` - Togo - * `TK` - Tokelau - * `TO` - Tonga - * `TT` - Trinidad and Tobago - * `TN` - Tunisia - * `TR` - Turkey - * `TM` - Turkmenistan - * `TC` - Turks and Caicos Islands - * `TV` - Tuvalu - * `UG` - Uganda - * `UA` - Ukraine - * `AE` - United Arab Emirates - * `GB` - United Kingdom - * `UM` - United States Minor Outlying Islands - * `US` - United States of America - * `UY` - Uruguay - * `UZ` - Uzbekistan - * `VU` - Vanuatu - * `VE` - Venezuela - * `VN` - Vietnam - * `VG` - Virgin Islands (British) - * `VI` - Virgin Islands (U.S.) - * `WF` - Wallis and Futuna - * `EH` - Western Sahara - * `YE` - Yemen - * `ZM` - Zambia - * `ZW` - Zimbabwe - zip_code: - type: optional - docs: The address's zip code. - integration_params: - type: optional> - access: write-only - linked_account_params: - type: optional> - access: write-only - source: - openapi: openapi/openapi.yml - AddressTypeEnum: - enum: - - BILLING - - SHIPPING - docs: |- - * `BILLING` - BILLING - * `SHIPPING` - SHIPPING - source: - openapi: openapi/openapi.yml - AdvancedMetadata: - properties: - id: - type: string - validation: - format: uuid - display_name: optional - description: optional - is_required: optional - is_custom: optional - field_choices: optional> - source: - openapi: openapi/openapi.yml - AsyncPassthroughReciept: - properties: - async_passthrough_receipt_id: - type: string - validation: - format: uuid - source: - openapi: openapi/openapi.yml - AsyncPostTaskStatus: - discriminated: false - union: - - AsyncPostTaskStatusEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - AsyncPostTask: - properties: - status: AsyncPostTaskStatus - result: AsyncPostTaskResult - source: - openapi: openapi/openapi.yml - AsyncPostTaskResult: - properties: - status_code: optional - response: optional> - source: - openapi: openapi/openapi.yml - AsyncPostTaskStatusEnum: - enum: - - QUEUED - - IN_PROGRESS - - COMPLETED - - FAILURE - docs: |- - * `QUEUED` - QUEUED - * `IN_PROGRESS` - IN_PROGRESS - * `COMPLETED` - COMPLETED - * `FAILURE` - FAILURE - source: - openapi: openapi/openapi.yml - AuditLogEventRole: - discriminated: false - docs: >- - Designates the role of the user (or SYSTEM/API if action not taken by a - user) at the time of this Event occurring. - - - * `ADMIN` - ADMIN - - * `DEVELOPER` - DEVELOPER - - * `MEMBER` - MEMBER - - * `API` - API - - * `SYSTEM` - SYSTEM - - * `MERGE_TEAM` - MERGE_TEAM - union: - - RoleEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - AuditLogEventEventType: - discriminated: false - docs: >- - Designates the type of event that occurred. - - - * `CREATED_REMOTE_PRODUCTION_API_KEY` - CREATED_REMOTE_PRODUCTION_API_KEY - - * `DELETED_REMOTE_PRODUCTION_API_KEY` - DELETED_REMOTE_PRODUCTION_API_KEY - - * `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY - - * `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY - - * `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY - - * `REGENERATED_WEBHOOK_SIGNATURE` - REGENERATED_WEBHOOK_SIGNATURE - - * `INVITED_USER` - INVITED_USER - - * `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED - - * `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED - - * `DELETED_LINKED_ACCOUNT` - DELETED_LINKED_ACCOUNT - - * `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT` - - DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT - - * `CREATED_DESTINATION` - CREATED_DESTINATION - - * `DELETED_DESTINATION` - DELETED_DESTINATION - - * `CHANGED_DESTINATION` - CHANGED_DESTINATION - - * `CHANGED_SCOPES` - CHANGED_SCOPES - - * `CHANGED_PERSONAL_INFORMATION` - CHANGED_PERSONAL_INFORMATION - - * `CHANGED_ORGANIZATION_SETTINGS` - CHANGED_ORGANIZATION_SETTINGS - - * `ENABLED_INTEGRATION` - ENABLED_INTEGRATION - - * `DISABLED_INTEGRATION` - DISABLED_INTEGRATION - - * `ENABLED_CATEGORY` - ENABLED_CATEGORY - - * `DISABLED_CATEGORY` - DISABLED_CATEGORY - - * `CHANGED_PASSWORD` - CHANGED_PASSWORD - - * `RESET_PASSWORD` - RESET_PASSWORD - - * `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - - * `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - - * `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - - * `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - - * `CREATED_INTEGRATION_WIDE_FIELD_MAPPING` - - CREATED_INTEGRATION_WIDE_FIELD_MAPPING - - * `CREATED_LINKED_ACCOUNT_FIELD_MAPPING` - - CREATED_LINKED_ACCOUNT_FIELD_MAPPING - - * `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING` - - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING - - * `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING - - * `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - - DELETED_INTEGRATION_WIDE_FIELD_MAPPING - - * `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - - DELETED_LINKED_ACCOUNT_FIELD_MAPPING - - * `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - - CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - * `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - - CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - * `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - - DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - * `FORCED_LINKED_ACCOUNT_RESYNC` - FORCED_LINKED_ACCOUNT_RESYNC - - * `MUTED_ISSUE` - MUTED_ISSUE - - * `GENERATED_MAGIC_LINK` - GENERATED_MAGIC_LINK - - * `ENABLED_MERGE_WEBHOOK` - ENABLED_MERGE_WEBHOOK - - * `DISABLED_MERGE_WEBHOOK` - DISABLED_MERGE_WEBHOOK - - * `MERGE_WEBHOOK_TARGET_CHANGED` - MERGE_WEBHOOK_TARGET_CHANGED - - * `END_USER_CREDENTIALS_ACCESSED` - END_USER_CREDENTIALS_ACCESSED - union: - - EventTypeEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - AuditLogEvent: - properties: - id: - type: optional - validation: - format: uuid - access: read-only - user_name: - type: optional - docs: The User's full name at the time of this Event occurring. - validation: - maxLength: 200 - user_email: - type: optional - docs: The User's email at the time of this Event occurring. - validation: - format: email - maxLength: 254 - role: - type: AuditLogEventRole - docs: >- - Designates the role of the user (or SYSTEM/API if action not taken by - a user) at the time of this Event occurring. - - - * `ADMIN` - ADMIN - - * `DEVELOPER` - DEVELOPER - - * `MEMBER` - MEMBER - - * `API` - API - - * `SYSTEM` - SYSTEM - - * `MERGE_TEAM` - MERGE_TEAM - ip_address: - type: string - validation: - maxLength: 45 - event_type: - type: AuditLogEventEventType - docs: >- - Designates the type of event that occurred. - - - * `CREATED_REMOTE_PRODUCTION_API_KEY` - - CREATED_REMOTE_PRODUCTION_API_KEY - - * `DELETED_REMOTE_PRODUCTION_API_KEY` - - DELETED_REMOTE_PRODUCTION_API_KEY - - * `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY - - * `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY - - * `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY - - * `REGENERATED_WEBHOOK_SIGNATURE` - REGENERATED_WEBHOOK_SIGNATURE - - * `INVITED_USER` - INVITED_USER - - * `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED - - * `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED - - * `DELETED_LINKED_ACCOUNT` - DELETED_LINKED_ACCOUNT - - * `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT` - - DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT - - * `CREATED_DESTINATION` - CREATED_DESTINATION - - * `DELETED_DESTINATION` - DELETED_DESTINATION - - * `CHANGED_DESTINATION` - CHANGED_DESTINATION - - * `CHANGED_SCOPES` - CHANGED_SCOPES - - * `CHANGED_PERSONAL_INFORMATION` - CHANGED_PERSONAL_INFORMATION - - * `CHANGED_ORGANIZATION_SETTINGS` - CHANGED_ORGANIZATION_SETTINGS - - * `ENABLED_INTEGRATION` - ENABLED_INTEGRATION - - * `DISABLED_INTEGRATION` - DISABLED_INTEGRATION - - * `ENABLED_CATEGORY` - ENABLED_CATEGORY - - * `DISABLED_CATEGORY` - DISABLED_CATEGORY - - * `CHANGED_PASSWORD` - CHANGED_PASSWORD - - * `RESET_PASSWORD` - RESET_PASSWORD - - * `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - - * `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - - * `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - - * `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - - * `CREATED_INTEGRATION_WIDE_FIELD_MAPPING` - - CREATED_INTEGRATION_WIDE_FIELD_MAPPING - - * `CREATED_LINKED_ACCOUNT_FIELD_MAPPING` - - CREATED_LINKED_ACCOUNT_FIELD_MAPPING - - * `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING` - - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING - - * `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING - - * `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - - DELETED_INTEGRATION_WIDE_FIELD_MAPPING - - * `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - - DELETED_LINKED_ACCOUNT_FIELD_MAPPING - - * `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - - CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - * `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - - CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - * `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - - DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - * `FORCED_LINKED_ACCOUNT_RESYNC` - FORCED_LINKED_ACCOUNT_RESYNC - - * `MUTED_ISSUE` - MUTED_ISSUE - - * `GENERATED_MAGIC_LINK` - GENERATED_MAGIC_LINK - - * `ENABLED_MERGE_WEBHOOK` - ENABLED_MERGE_WEBHOOK - - * `DISABLED_MERGE_WEBHOOK` - DISABLED_MERGE_WEBHOOK - - * `MERGE_WEBHOOK_TARGET_CHANGED` - MERGE_WEBHOOK_TARGET_CHANGED - - * `END_USER_CREDENTIALS_ACCESSED` - END_USER_CREDENTIALS_ACCESSED - event_description: string - created_at: - type: optional - access: read-only - source: - openapi: openapi/openapi.yml - AvailableActions: - docs: >- - # The AvailableActions Object - - ### Description - - The `Activity` object is used to see all available model/operation - combinations for an integration. - - - ### Usage Example - - Fetch all the actions available for the `Zenefits` integration. - properties: - integration: AccountIntegration - passthrough_available: boolean - available_model_operations: optional> - source: - openapi: openapi/openapi.yml - BalanceSheetCurrency: - discriminated: false - docs: >- - The balance sheet's currency. - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - union: - - TransactionCurrencyEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - BalanceSheetCompany: - discriminated: false - docs: '`Company` object for the given `BalanceSheet` object.' - union: - - type: string - validation: - format: uuid - - CompanyInfo - source: - openapi: openapi/openapi.yml - inline: true - BalanceSheet: - docs: >- - # The BalanceSheet Object - - ### Description - - The `BalanceSheet` object shows a company’s assets, liabilities, and - equity. Assets should be equal to liability and equity combined. This - shows the company’s financial health at a specific point in time. - - - ### Usage Example - - Fetch from the `LIST BalanceSheets` endpoint and view a company's balance - sheets. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - name: - type: optional - docs: The balance sheet's name. - currency: - type: optional - docs: >- - The balance sheet's currency. - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - company: - type: optional - docs: '`Company` object for the given `BalanceSheet` object.' - date: - type: optional - docs: >- - The balance sheet's date. The balance sheet data will reflect the - company's financial position this point in time. - net_assets: - type: optional - docs: The balance sheet's net assets. - assets: - type: optional> - access: read-only - liabilities: - type: optional> - access: read-only - equity: - type: optional> - access: read-only - remote_generated_at: - type: optional - docs: The time that balance sheet was generated by the accounting system. - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - BankFeedAccountCurrency: - discriminated: false - docs: >- - The currency code of the bank feed. - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - union: - - TransactionCurrencyEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - BankFeedAccountFeedStatus: - discriminated: false - docs: |- - The status of the bank feed. - - * `ACTIVE` - ACTIVE - * `INACTIVE` - INACTIVE - union: - - FeedStatusEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - BankFeedAccountAccountType: - discriminated: false - docs: |- - The type of the account. - - * `BANK` - BANK - * `CREDIT_CARD` - CREDIT_CARD - union: - - BankFeedAccountAccountTypeEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - BankFeedAccount: - docs: >- - # The BankFeedAccount Object - - ### Description - - The `BankFeedAccount` object represents a bank feed account, detailing - various attributes including account identifiers, names, currency, and - balance information. This object is central to managing and tracking bank - feed accounts within the system. - - - ### Usage Example - - Fetch from the `GET BankFeedAccount` endpoint to view details of a bank - feed account. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - source_account_id: - type: optional - docs: >- - The unique identifier of the source account from our customer’s - platform. - validation: - maxLength: 1024 - target_account_id: - type: optional - docs: >- - The unique identifier of the target account from the third party - software. - validation: - maxLength: 1024 - source_account_name: - type: optional - docs: The name of the source account as stored in our customer’s platform. - validation: - maxLength: 1024 - source_account_number: - type: optional - docs: >- - The human-readable account number of the source account as stored in - our customer’s platform. - validation: - maxLength: 1024 - target_account_name: - type: optional - docs: The name of the target account from the third party software. - validation: - maxLength: 1024 - currency: - type: optional - docs: >- - The currency code of the bank feed. - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - feed_status: - type: optional - docs: |- - The status of the bank feed. - - * `ACTIVE` - ACTIVE - * `INACTIVE` - INACTIVE - feed_start_date: - type: optional - docs: The start date of the bank feed’s transactions. - source_account_balance: - type: optional - docs: The current balance of funds in the source account. - account_type: - type: optional - docs: |- - The type of the account. - - * `BANK` - BANK - * `CREDIT_CARD` - CREDIT_CARD - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - field_mappings: - type: optional> - access: read-only - remote_data: optional>>> - source: - openapi: openapi/openapi.yml - BankFeedAccountAccountTypeEnum: - enum: - - BANK - - CREDIT_CARD - docs: |- - * `BANK` - BANK - * `CREDIT_CARD` - CREDIT_CARD - source: - openapi: openapi/openapi.yml - BankFeedAccountRequestCurrency: - discriminated: false - docs: >- - The currency code of the bank feed. - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - union: - - TransactionCurrencyEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - BankFeedAccountRequestFeedStatus: - discriminated: false - docs: |- - The status of the bank feed. - - * `ACTIVE` - ACTIVE - * `INACTIVE` - INACTIVE - union: - - FeedStatusEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - BankFeedAccountRequestAccountType: - discriminated: false - docs: |- - The type of the account. - - * `BANK` - BANK - * `CREDIT_CARD` - CREDIT_CARD - union: - - BankFeedAccountAccountTypeEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - BankFeedAccountRequest: - docs: >- - # The BankFeedAccount Object - - ### Description - - The `BankFeedAccount` object represents a bank feed account, detailing - various attributes including account identifiers, names, currency, and - balance information. This object is central to managing and tracking bank - feed accounts within the system. - - - ### Usage Example - - Fetch from the `GET BankFeedAccount` endpoint to view details of a bank - feed account. - properties: - source_account_id: - type: optional - docs: >- - The unique identifier of the source account from our customer’s - platform. - validation: - maxLength: 1024 - target_account_id: - type: optional - docs: >- - The unique identifier of the target account from the third party - software. - validation: - maxLength: 1024 - source_account_name: - type: optional - docs: The name of the source account as stored in our customer’s platform. - validation: - maxLength: 1024 - source_account_number: - type: optional - docs: >- - The human-readable account number of the source account as stored in - our customer’s platform. - validation: - maxLength: 1024 - target_account_name: - type: optional - docs: The name of the target account from the third party software. - validation: - maxLength: 1024 - currency: - type: optional - docs: >- - The currency code of the bank feed. - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - feed_status: - type: optional - docs: |- - The status of the bank feed. - - * `ACTIVE` - ACTIVE - * `INACTIVE` - INACTIVE - feed_start_date: - type: optional - docs: The start date of the bank feed’s transactions. - source_account_balance: - type: optional - docs: The current balance of funds in the source account. - account_type: - type: optional - docs: |- - The type of the account. - - * `BANK` - BANK - * `CREDIT_CARD` - CREDIT_CARD - integration_params: - type: optional> - access: write-only - linked_account_params: - type: optional> - access: write-only - source: - openapi: openapi/openapi.yml - BankFeedAccountResponse: - properties: - model: BankFeedAccount - warnings: list - errors: list - logs: optional> - source: - openapi: openapi/openapi.yml - BankFeedTransactionBankFeedAccount: - discriminated: false - docs: The bank feed account associated with the transaction. - union: - - type: string - validation: - format: uuid - - BankFeedAccount - source: - openapi: openapi/openapi.yml - inline: true - BankFeedTransactionCreditOrDebit: - discriminated: false - docs: |- - If the transaction is of type debit or credit. - - * `CREDIT` - CREDIT - * `DEBIT` - DEBIT - union: - - CreditOrDebitEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - BankFeedTransaction: - docs: >- - # The BankFeedTransaction Object - - ### Description - - The `BankFeedTransaction` object is used to represent transactions linked - to a bank feed account. This includes details about the transaction such - as the date, amount, description, and type. - - - ### Usage Example - - Fetch from the `GET BankFeedTransaction` endpoint to view details of a - transaction associated with a bank feed account. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - bank_feed_account: - type: optional - docs: The bank feed account associated with the transaction. - transaction_date: - type: optional - docs: The date that the transaction occurred. - posted_date: - type: optional - docs: The date the transaction was posted to the bank account. - amount: - type: optional - docs: The amount of the transaction. - description: - type: optional - docs: The description of the transaction. - validation: - maxLength: 1024 - transaction_type: - type: optional - docs: The underlying type of the transaction. - validation: - maxLength: 1024 - payee: - type: optional - docs: >- - The person or merchant who initiated the transaction, or - alternatively, to whom the transaction was paid. - validation: - maxLength: 1024 - credit_or_debit: - type: optional - docs: |- - If the transaction is of type debit or credit. - - * `CREDIT` - CREDIT - * `DEBIT` - DEBIT - source_transaction_id: - type: optional - docs: The customer’s identifier for the transaction. - validation: - maxLength: 1024 - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - is_processed: - type: optional - docs: >- - Whether or not this transaction has been processed by the external - system. For example, NetSuite writes this field as True when the - SuiteApp has processed the transaction. - access: read-only - source: - openapi: openapi/openapi.yml - BankFeedTransactionRequestRequestBankFeedAccount: - discriminated: false - docs: The bank feed account associated with the transaction. - union: - - type: string - validation: - format: uuid - - BankFeedAccount - source: - openapi: openapi/openapi.yml - inline: true - BankFeedTransactionRequestRequestCreditOrDebit: - discriminated: false - docs: |- - If the transaction is of type debit or credit. - - * `CREDIT` - CREDIT - * `DEBIT` - DEBIT - union: - - CreditOrDebitEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - BankFeedTransactionRequestRequest: - docs: >- - # The BankFeedTransaction Object - - ### Description - - The `BankFeedTransaction` object is used to represent transactions linked - to a bank feed account. This includes details about the transaction such - as the date, amount, description, and type. - - - ### Usage Example - - Fetch from the `GET BankFeedTransaction` endpoint to view details of a - transaction associated with a bank feed account. - properties: - bank_feed_account: - type: optional - docs: The bank feed account associated with the transaction. - transaction_date: - type: optional - docs: The date that the transaction occurred. - posted_date: - type: optional - docs: The date the transaction was posted to the bank account. - amount: - type: optional - docs: The amount of the transaction. - description: - type: optional - docs: The description of the transaction. - validation: - maxLength: 1024 - transaction_type: - type: optional - docs: The underlying type of the transaction. - validation: - maxLength: 1024 - payee: - type: optional - docs: >- - The person or merchant who initiated the transaction, or - alternatively, to whom the transaction was paid. - validation: - maxLength: 1024 - credit_or_debit: - type: optional - docs: |- - If the transaction is of type debit or credit. - - * `CREDIT` - CREDIT - * `DEBIT` - DEBIT - source_transaction_id: - type: optional - docs: The customer’s identifier for the transaction. - validation: - maxLength: 1024 - integration_params: - type: optional> - access: write-only - linked_account_params: - type: optional> - access: write-only - source: - openapi: openapi/openapi.yml - BankFeedTransactionResponse: - properties: - model: BankFeedTransaction - warnings: list - errors: list - logs: optional> - source: - openapi: openapi/openapi.yml - CashFlowStatementCurrency: - discriminated: false - docs: >- - The cash flow statement's currency. - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - union: - - TransactionCurrencyEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - CashFlowStatementCompany: - discriminated: false - docs: The company the cash flow statement belongs to. - union: - - type: string - validation: - format: uuid - - CompanyInfo - source: - openapi: openapi/openapi.yml - inline: true - CashFlowStatement: - docs: >- - # The CashFlowStatement Object - - ### Description - - The `CashFlowStatement` object shows operating activities, investing - activities, and financing activities over a period of time (month, - quarter, or year). - - - ### Usage Example - - Fetch from the `LIST CashFlowStatements` endpoint and view a company's - cash flow statements. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - name: - type: optional - docs: The cash flow statement's name. - currency: - type: optional - docs: >- - The cash flow statement's currency. - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - company: - type: optional - docs: The company the cash flow statement belongs to. - start_period: - type: optional - docs: The cash flow statement's start period. - end_period: - type: optional - docs: The cash flow statement's end period. - cash_at_beginning_of_period: - type: optional - docs: >- - Cash and cash equivalents at the beginning of the cash flow - statement's period. - cash_at_end_of_period: - type: optional - docs: >- - Cash and cash equivalents at the beginning of the cash flow - statement's period. - operating_activities: - type: optional> - access: read-only - investing_activities: - type: optional> - access: read-only - financing_activities: - type: optional> - access: read-only - remote_generated_at: - type: optional - docs: >- - The time that cash flow statement was generated by the accounting - system. - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - CategoriesEnum: - enum: - - hris - - ats - - accounting - - ticketing - - crm - - mktg - - filestorage - docs: |- - * `hris` - hris - * `ats` - ats - * `accounting` - accounting - * `ticketing` - ticketing - * `crm` - crm - * `mktg` - mktg - * `filestorage` - filestorage - source: - openapi: openapi/openapi.yml - CategoryEnum: - enum: - - hris - - ats - - accounting - - ticketing - - crm - - mktg - - filestorage - docs: |- - * `hris` - hris - * `ats` - ats - * `accounting` - accounting - * `ticketing` - ticketing - * `crm` - crm - * `mktg` - mktg - * `filestorage` - filestorage - source: - openapi: openapi/openapi.yml - CategoryTypeEnum: - enum: - - CLASS - - DEPARTMENT - docs: |- - * `CLASS` - CLASS - * `DEPARTMENT` - DEPARTMENT - source: - openapi: openapi/openapi.yml - ClassificationEnum: - enum: - - ASSET - - EQUITY - - EXPENSE - - LIABILITY - - REVENUE - docs: |- - * `ASSET` - ASSET - * `EQUITY` - EQUITY - * `EXPENSE` - EXPENSE - * `LIABILITY` - LIABILITY - * `REVENUE` - REVENUE - source: - openapi: openapi/openapi.yml - CommonModelScopeApi: - properties: - common_models: - docs: The common models you want to update the scopes for - type: list - source: - openapi: openapi/openapi.yml - CommonModelScopesBodyRequest: - properties: - model_id: - type: string - validation: - minLength: 1 - enabled_actions: list - disabled_fields: list - source: - openapi: openapi/openapi.yml - CompanyInfoCurrency: - discriminated: false - docs: >- - The currency set in the company's accounting platform. - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - union: - - TransactionCurrencyEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - CompanyInfo: - docs: >- - # The CompanyInfo Object - - ### Description - - The `CompanyInfo` object contains information about the company of the - linked account. If the company has multiple entities (also known as - subsidiaries), each entity may show up as a single `CompanyInfo` record. - - - ### Usage Example - - Fetch from the `GET CompanyInfo` endpoint and view a company's - information. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - name: - type: optional - docs: The company's name. - legal_name: - type: optional - docs: The company's legal name. - tax_number: - type: optional - docs: The company's tax number. - fiscal_year_end_month: - type: optional - docs: The company's fiscal year end month. - validation: - min: 1 - max: 12 - fiscal_year_end_day: - type: optional - docs: The company's fiscal year end day. - validation: - min: 1 - max: 31 - currency: - type: optional - docs: >- - The currency set in the company's accounting platform. - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - remote_created_at: - type: optional - docs: When the third party's company was created. - urls: - type: optional>> - docs: The company's urls. - addresses: optional> - phone_numbers: optional> - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - ComponentTypeEnum: - enum: - - SALES - - PURCHASE - docs: |- - * `SALES` - SALES - * `PURCHASE` - PURCHASE - source: - openapi: openapi/openapi.yml - ContactStatus: - discriminated: false - docs: |- - The contact's status - - * `ACTIVE` - ACTIVE - * `ARCHIVED` - ARCHIVED - union: - - Status7D1Enum - - string - source: - openapi: openapi/openapi.yml - inline: true - ContactAddressesItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - Address - source: - openapi: openapi/openapi.yml - inline: true - Contact: - docs: >- - # The Contact Object - - ### Description - - A `Contact` is an individual or business entity to which products and - services are sold to or purchased from. The `Contact` model contains both - Customers, in which products and services are sold to, and Vendors (or - Suppliers), in which products and services are purchased from. - - * A `Contact` is a Vendor/Supplier if the `is_supplier` property is true. - - * A `Contact` is a customer if the `is_customer` property is true. - - - ### Usage Example - - Fetch from the `LIST Contacts` endpoint and view a company's contacts. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - name: - type: optional - docs: The contact's name. - is_supplier: - type: optional - docs: Whether the contact is a supplier. - is_customer: - type: optional - docs: Whether the contact is a customer. - email_address: - type: optional - docs: The contact's email address. - tax_number: - type: optional - docs: The contact's tax number. - status: - type: optional - docs: |- - The contact's status - - * `ACTIVE` - ACTIVE - * `ARCHIVED` - ARCHIVED - currency: - type: optional - docs: The currency the contact's transactions are in. - remote_updated_at: - type: optional - docs: When the third party's contact was updated. - company: - type: optional - docs: The company the contact belongs to. - validation: - format: uuid - addresses: - type: optional>> - docs: '`Address` object IDs for the given `Contacts` object.' - phone_numbers: - type: optional> - docs: '`AccountingPhoneNumber` object for the given `Contacts` object.' - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - remote_fields: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - ContactRequestStatus: - discriminated: false - docs: |- - The contact's status - - * `ACTIVE` - ACTIVE - * `ARCHIVED` - ARCHIVED - union: - - Status7D1Enum - - string - source: - openapi: openapi/openapi.yml - inline: true - ContactRequestAddressesItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - Address - source: - openapi: openapi/openapi.yml - inline: true - ContactRequest: - docs: >- - # The Contact Object - - ### Description - - A `Contact` is an individual or business entity to which products and - services are sold to or purchased from. The `Contact` model contains both - Customers, in which products and services are sold to, and Vendors (or - Suppliers), in which products and services are purchased from. - - * A `Contact` is a Vendor/Supplier if the `is_supplier` property is true. - - * A `Contact` is a customer if the `is_customer` property is true. - - - ### Usage Example - - Fetch from the `LIST Contacts` endpoint and view a company's contacts. - properties: - name: - type: optional - docs: The contact's name. - is_supplier: - type: optional - docs: Whether the contact is a supplier. - is_customer: - type: optional - docs: Whether the contact is a customer. - email_address: - type: optional - docs: The contact's email address. - tax_number: - type: optional - docs: The contact's tax number. - status: - type: optional - docs: |- - The contact's status - - * `ACTIVE` - ACTIVE - * `ARCHIVED` - ARCHIVED - currency: - type: optional - docs: The currency the contact's transactions are in. - company: - type: optional - docs: The company the contact belongs to. - validation: - format: uuid - addresses: - type: optional>> - docs: '`Address` object IDs for the given `Contacts` object.' - phone_numbers: - type: optional> - docs: '`AccountingPhoneNumber` object for the given `Contacts` object.' - integration_params: - type: optional> - access: write-only - linked_account_params: - type: optional> - access: write-only - remote_fields: - type: optional> - access: write-only - source: - openapi: openapi/openapi.yml - ContactResponse: - properties: - model: Contact - warnings: list - errors: list - logs: optional> - source: - openapi: openapi/openapi.yml - CountryEnum: - enum: - - AF - - AX - - AL - - DZ - - AS - - AD - - AO - - AI - - AQ - - AG - - AR - - AM - - AW - - AU - - AT - - AZ - - BS - - BH - - BD - - BB - - BY - - BE - - BZ - - BJ - - BM - - BT - - BO - - BQ - - BA - - BW - - BV - - BR - - IO - - BN - - BG - - BF - - BI - - CV - - KH - - CM - - CA - - KY - - CF - - TD - - CL - - CN - - CX - - CC - - CO - - KM - - CG - - CD - - CK - - CR - - CI - - HR - - CU - - CW - - CY - - CZ - - DK - - DJ - - DM - - DO - - EC - - EG - - SV - - GQ - - ER - - EE - - SZ - - ET - - FK - - FO - - FJ - - FI - - FR - - GF - - PF - - TF - - GA - - GM - - GE - - DE - - GH - - GI - - GR - - GL - - GD - - GP - - GU - - GT - - GG - - GN - - GW - - GY - - HT - - HM - - VA - - HN - - HK - - HU - - IS - - IN - - ID - - IR - - IQ - - IE - - IM - - IL - - IT - - JM - - JP - - JE - - JO - - KZ - - KE - - KI - - KW - - KG - - LA - - LV - - LB - - LS - - LR - - LY - - LI - - LT - - LU - - MO - - MG - - MW - - MY - - MV - - ML - - MT - - MH - - MQ - - MR - - MU - - YT - - MX - - FM - - MD - - MC - - MN - - ME - - MS - - MA - - MZ - - MM - - NA - - NR - - NP - - NL - - NC - - NZ - - NI - - NE - - NG - - NU - - NF - - KP - - MK - - MP - - 'NO' - - OM - - PK - - PW - - PS - - PA - - PG - - PY - - PE - - PH - - PN - - PL - - PT - - PR - - QA - - RE - - RO - - RU - - RW - - BL - - SH - - KN - - LC - - MF - - PM - - VC - - WS - - SM - - ST - - SA - - SN - - RS - - SC - - SL - - SG - - SX - - SK - - SI - - SB - - SO - - ZA - - GS - - KR - - SS - - ES - - LK - - SD - - SR - - SJ - - SE - - CH - - SY - - TW - - TJ - - TZ - - TH - - TL - - TG - - TK - - TO - - TT - - TN - - TR - - TM - - TC - - TV - - UG - - UA - - AE - - GB - - UM - - US - - UY - - UZ - - VU - - VE - - VN - - VG - - VI - - WF - - EH - - YE - - ZM - - ZW - docs: |- - * `AF` - Afghanistan - * `AX` - Åland Islands - * `AL` - Albania - * `DZ` - Algeria - * `AS` - American Samoa - * `AD` - Andorra - * `AO` - Angola - * `AI` - Anguilla - * `AQ` - Antarctica - * `AG` - Antigua and Barbuda - * `AR` - Argentina - * `AM` - Armenia - * `AW` - Aruba - * `AU` - Australia - * `AT` - Austria - * `AZ` - Azerbaijan - * `BS` - Bahamas - * `BH` - Bahrain - * `BD` - Bangladesh - * `BB` - Barbados - * `BY` - Belarus - * `BE` - Belgium - * `BZ` - Belize - * `BJ` - Benin - * `BM` - Bermuda - * `BT` - Bhutan - * `BO` - Bolivia - * `BQ` - Bonaire, Sint Eustatius and Saba - * `BA` - Bosnia and Herzegovina - * `BW` - Botswana - * `BV` - Bouvet Island - * `BR` - Brazil - * `IO` - British Indian Ocean Territory - * `BN` - Brunei - * `BG` - Bulgaria - * `BF` - Burkina Faso - * `BI` - Burundi - * `CV` - Cabo Verde - * `KH` - Cambodia - * `CM` - Cameroon - * `CA` - Canada - * `KY` - Cayman Islands - * `CF` - Central African Republic - * `TD` - Chad - * `CL` - Chile - * `CN` - China - * `CX` - Christmas Island - * `CC` - Cocos (Keeling) Islands - * `CO` - Colombia - * `KM` - Comoros - * `CG` - Congo - * `CD` - Congo (the Democratic Republic of the) - * `CK` - Cook Islands - * `CR` - Costa Rica - * `CI` - Côte d'Ivoire - * `HR` - Croatia - * `CU` - Cuba - * `CW` - Curaçao - * `CY` - Cyprus - * `CZ` - Czechia - * `DK` - Denmark - * `DJ` - Djibouti - * `DM` - Dominica - * `DO` - Dominican Republic - * `EC` - Ecuador - * `EG` - Egypt - * `SV` - El Salvador - * `GQ` - Equatorial Guinea - * `ER` - Eritrea - * `EE` - Estonia - * `SZ` - Eswatini - * `ET` - Ethiopia - * `FK` - Falkland Islands (Malvinas) - * `FO` - Faroe Islands - * `FJ` - Fiji - * `FI` - Finland - * `FR` - France - * `GF` - French Guiana - * `PF` - French Polynesia - * `TF` - French Southern Territories - * `GA` - Gabon - * `GM` - Gambia - * `GE` - Georgia - * `DE` - Germany - * `GH` - Ghana - * `GI` - Gibraltar - * `GR` - Greece - * `GL` - Greenland - * `GD` - Grenada - * `GP` - Guadeloupe - * `GU` - Guam - * `GT` - Guatemala - * `GG` - Guernsey - * `GN` - Guinea - * `GW` - Guinea-Bissau - * `GY` - Guyana - * `HT` - Haiti - * `HM` - Heard Island and McDonald Islands - * `VA` - Holy See - * `HN` - Honduras - * `HK` - Hong Kong - * `HU` - Hungary - * `IS` - Iceland - * `IN` - India - * `ID` - Indonesia - * `IR` - Iran - * `IQ` - Iraq - * `IE` - Ireland - * `IM` - Isle of Man - * `IL` - Israel - * `IT` - Italy - * `JM` - Jamaica - * `JP` - Japan - * `JE` - Jersey - * `JO` - Jordan - * `KZ` - Kazakhstan - * `KE` - Kenya - * `KI` - Kiribati - * `KW` - Kuwait - * `KG` - Kyrgyzstan - * `LA` - Laos - * `LV` - Latvia - * `LB` - Lebanon - * `LS` - Lesotho - * `LR` - Liberia - * `LY` - Libya - * `LI` - Liechtenstein - * `LT` - Lithuania - * `LU` - Luxembourg - * `MO` - Macao - * `MG` - Madagascar - * `MW` - Malawi - * `MY` - Malaysia - * `MV` - Maldives - * `ML` - Mali - * `MT` - Malta - * `MH` - Marshall Islands - * `MQ` - Martinique - * `MR` - Mauritania - * `MU` - Mauritius - * `YT` - Mayotte - * `MX` - Mexico - * `FM` - Micronesia (Federated States of) - * `MD` - Moldova - * `MC` - Monaco - * `MN` - Mongolia - * `ME` - Montenegro - * `MS` - Montserrat - * `MA` - Morocco - * `MZ` - Mozambique - * `MM` - Myanmar - * `NA` - Namibia - * `NR` - Nauru - * `NP` - Nepal - * `NL` - Netherlands - * `NC` - New Caledonia - * `NZ` - New Zealand - * `NI` - Nicaragua - * `NE` - Niger - * `NG` - Nigeria - * `NU` - Niue - * `NF` - Norfolk Island - * `KP` - North Korea - * `MK` - North Macedonia - * `MP` - Northern Mariana Islands - * `NO` - Norway - * `OM` - Oman - * `PK` - Pakistan - * `PW` - Palau - * `PS` - Palestine, State of - * `PA` - Panama - * `PG` - Papua New Guinea - * `PY` - Paraguay - * `PE` - Peru - * `PH` - Philippines - * `PN` - Pitcairn - * `PL` - Poland - * `PT` - Portugal - * `PR` - Puerto Rico - * `QA` - Qatar - * `RE` - Réunion - * `RO` - Romania - * `RU` - Russia - * `RW` - Rwanda - * `BL` - Saint Barthélemy - * `SH` - Saint Helena, Ascension and Tristan da Cunha - * `KN` - Saint Kitts and Nevis - * `LC` - Saint Lucia - * `MF` - Saint Martin (French part) - * `PM` - Saint Pierre and Miquelon - * `VC` - Saint Vincent and the Grenadines - * `WS` - Samoa - * `SM` - San Marino - * `ST` - Sao Tome and Principe - * `SA` - Saudi Arabia - * `SN` - Senegal - * `RS` - Serbia - * `SC` - Seychelles - * `SL` - Sierra Leone - * `SG` - Singapore - * `SX` - Sint Maarten (Dutch part) - * `SK` - Slovakia - * `SI` - Slovenia - * `SB` - Solomon Islands - * `SO` - Somalia - * `ZA` - South Africa - * `GS` - South Georgia and the South Sandwich Islands - * `KR` - South Korea - * `SS` - South Sudan - * `ES` - Spain - * `LK` - Sri Lanka - * `SD` - Sudan - * `SR` - Suriname - * `SJ` - Svalbard and Jan Mayen - * `SE` - Sweden - * `CH` - Switzerland - * `SY` - Syria - * `TW` - Taiwan - * `TJ` - Tajikistan - * `TZ` - Tanzania - * `TH` - Thailand - * `TL` - Timor-Leste - * `TG` - Togo - * `TK` - Tokelau - * `TO` - Tonga - * `TT` - Trinidad and Tobago - * `TN` - Tunisia - * `TR` - Turkey - * `TM` - Turkmenistan - * `TC` - Turks and Caicos Islands - * `TV` - Tuvalu - * `UG` - Uganda - * `UA` - Ukraine - * `AE` - United Arab Emirates - * `GB` - United Kingdom - * `UM` - United States Minor Outlying Islands - * `US` - United States of America - * `UY` - Uruguay - * `UZ` - Uzbekistan - * `VU` - Vanuatu - * `VE` - Venezuela - * `VN` - Vietnam - * `VG` - Virgin Islands (British) - * `VI` - Virgin Islands (U.S.) - * `WF` - Wallis and Futuna - * `EH` - Western Sahara - * `YE` - Yemen - * `ZM` - Zambia - * `ZW` - Zimbabwe - source: - openapi: openapi/openapi.yml - CreditNoteStatus: - discriminated: false - docs: |- - The credit note's status. - - * `SUBMITTED` - SUBMITTED - * `AUTHORIZED` - AUTHORIZED - * `PAID` - PAID - union: - - CreditNoteStatusEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - CreditNoteContact: - discriminated: false - docs: The credit note's contact. - union: - - type: string - validation: - format: uuid - - Contact - source: - openapi: openapi/openapi.yml - inline: true - CreditNoteCompany: - discriminated: false - docs: The company the credit note belongs to. - union: - - type: string - validation: - format: uuid - - CompanyInfo - source: - openapi: openapi/openapi.yml - inline: true - CreditNoteTrackingCategoriesItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - TrackingCategory - source: - openapi: openapi/openapi.yml - inline: true - CreditNoteCurrency: - discriminated: false - docs: >- - The credit note's currency. - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - union: - - TransactionCurrencyEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - CreditNotePaymentsItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - Payment - source: - openapi: openapi/openapi.yml - inline: true - CreditNoteAppliedPaymentsItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - PaymentLineItem - source: - openapi: openapi/openapi.yml - inline: true - CreditNoteAccountingPeriod: - discriminated: false - docs: The accounting period that the CreditNote was generated in. - union: - - type: string - validation: - format: uuid - - AccountingPeriod - source: - openapi: openapi/openapi.yml - inline: true - CreditNote: - docs: >- - # The CreditNote Object - - ### Description - - A `CreditNote` is transaction issued to a customer, indicating a reduction - or cancellation of the amount owed by the customer. It is most generally - used as an adjustment note used to rectify errors, returns, or - overpayments related to a sales transaction. A `CreditNote` can be applied - to *Accounts Receivable* Invoices to decrease the overall amount of the - Invoice. - - - ### Usage Example - - Fetch from the `LIST CreditNotes` endpoint and view a company's credit - notes. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - transaction_date: - type: optional - docs: The credit note's transaction date. - status: - type: optional - docs: |- - The credit note's status. - - * `SUBMITTED` - SUBMITTED - * `AUTHORIZED` - AUTHORIZED - * `PAID` - PAID - number: - type: optional - docs: The credit note's number. - contact: - type: optional - docs: The credit note's contact. - company: - type: optional - docs: The company the credit note belongs to. - exchange_rate: - type: optional - docs: The credit note's exchange rate. - validation: - pattern: ^-?\d{0,32}(?:\.\d{0,16})?$ - total_amount: - type: optional - docs: The credit note's total amount. - remaining_credit: - type: optional - docs: >- - The amount of value remaining in the credit note that the customer can - use. - inclusive_of_tax: - type: optional - docs: >- - If the transaction is inclusive or exclusive of tax. `True` if - inclusive, `False` if exclusive. - line_items: - type: optional> - access: read-only - tracking_categories: optional>> - currency: - type: optional - docs: >- - The credit note's currency. - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - remote_created_at: - type: optional - docs: When the third party's credit note was created. - remote_updated_at: - type: optional - docs: When the third party's credit note was updated. - payments: - type: optional>> - docs: Array of `Payment` object IDs - applied_payments: - type: optional>> - docs: >- - A list of the Payment Applied to Lines common models related to a - given Invoice, Credit Note, or Journal Entry. - accounting_period: - type: optional - docs: The accounting period that the CreditNote was generated in. - applied_to_lines: - type: optional> - docs: >- - A list of the CreditNote Applied to Lines common models related to a - given Credit Note - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - CreditNoteApplyLineForCreditNoteInvoice: - discriminated: false - union: - - type: string - validation: - format: uuid - - Invoice - source: - openapi: openapi/openapi.yml - inline: true - CreditNoteApplyLineForCreditNote: - docs: >- - # The CreditNoteApplyLine Object - - ### Description - - The `CreditNoteApplyLine` is attached to the CreditNote model. - - - ### Usage Example - - Fetch from the `GET CreditNote` endpoint and view the invoice's applied to - lines. - properties: - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - invoice: optional - applied_date: - type: optional - docs: Date that the credit note is applied to the invoice. - applied_amount: - type: optional - docs: The amount of the Credit Note applied to the invoice. - validation: - pattern: ^-?\d{0,32}(?:\.\d{0,16})?$ - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - source: - openapi: openapi/openapi.yml - CreditNoteApplyLineForCreditNoteRequestInvoice: - discriminated: false - union: - - type: string - validation: - format: uuid - - Invoice - source: - openapi: openapi/openapi.yml - inline: true - CreditNoteApplyLineForCreditNoteRequest: - docs: >- - # The CreditNoteApplyLine Object - - ### Description - - The `CreditNoteApplyLine` is attached to the CreditNote model. - - - ### Usage Example - - Fetch from the `GET CreditNote` endpoint and view the invoice's applied to - lines. - properties: - remote_id: - type: optional - docs: The third-party API ID of the matching object. - invoice: optional - applied_date: - type: optional - docs: Date that the credit note is applied to the invoice. - applied_amount: - type: optional - docs: The amount of the Credit Note applied to the invoice. - validation: - pattern: ^-?\d{0,32}(?:\.\d{0,16})?$ - integration_params: - type: optional> - access: write-only - linked_account_params: - type: optional> - access: write-only - source: - openapi: openapi/openapi.yml - CreditNoteApplyLineForInvoiceCreditNote: - discriminated: false - union: - - type: string - validation: - format: uuid - - CreditNote - source: - openapi: openapi/openapi.yml - inline: true - CreditNoteApplyLineForInvoice: - docs: >- - # The CreditNoteApplyLine Object - - ### Description - - The `CreditNoteApplyLine` is attached to the CreditNote model. - - - ### Usage Example - - Fetch from the `GET CreditNote` endpoint and view the invoice's applied to - lines. - properties: - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - credit_note: optional - applied_date: - type: optional - docs: Date that the credit note is applied to the invoice. - applied_amount: - type: optional - docs: The amount of the Credit Note applied to the invoice. - validation: - pattern: ^-?\d{0,32}(?:\.\d{0,16})?$ - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - source: - openapi: openapi/openapi.yml - CreditNoteLineItemItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - Item - source: - openapi: openapi/openapi.yml - inline: true - CreditNoteLineItemCompany: - discriminated: false - docs: The company the credit note belongs to. - union: - - type: string - validation: - format: uuid - - CompanyInfo - source: - openapi: openapi/openapi.yml - inline: true - CreditNoteLineItemContact: - discriminated: false - docs: The credit note's contact. - union: - - type: string - validation: - format: uuid - - Contact - source: - openapi: openapi/openapi.yml - inline: true - CreditNoteLineItemProject: - discriminated: false - union: - - type: string - validation: - format: uuid - - Project - source: - openapi: openapi/openapi.yml - inline: true - CreditNoteLineItem: - docs: >- - # The CreditNoteLineItem Object - - ### Description - - The `CreditNoteLineItem` object is used to represent a credit note's line - items. - - - ### Usage Example - - Fetch from the `GET CreditNote` endpoint and view the credit note's line - items. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - item: optional - name: - type: optional - docs: The credit note line item's name. - description: - type: optional - docs: The description of the item that is owed. - quantity: - type: optional - docs: The credit note line item's quantity. - validation: - pattern: ^-?\d{0,24}(?:\.\d{0,8})?$ - memo: - type: optional - docs: The credit note line item's memo. - unit_price: - type: optional - docs: The credit note line item's unit price. - validation: - pattern: ^-?\d{0,32}(?:\.\d{0,16})?$ - tax_rate: - type: optional - docs: The tax rate that applies to this line item. - validation: - format: uuid - total_line_amount: - type: optional - docs: The credit note line item's total. - validation: - pattern: ^-?\d{0,32}(?:\.\d{0,16})?$ - tracking_category: - type: optional - docs: The credit note line item's associated tracking category. - validation: - format: uuid - availability: deprecated - tracking_categories: - type: optional>> - docs: The credit note line item's associated tracking categories. - account: - type: optional - docs: The credit note line item's account. - validation: - format: uuid - company: - type: optional - docs: The company the credit note belongs to. - contact: - type: optional - docs: The credit note's contact. - project: optional - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - source: - openapi: openapi/openapi.yml - CreditNoteLineItemRequestItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - Item - source: - openapi: openapi/openapi.yml - inline: true - CreditNoteLineItemRequestCompany: - discriminated: false - docs: The company the credit note belongs to. - union: - - type: string - validation: - format: uuid - - CompanyInfo - source: - openapi: openapi/openapi.yml - inline: true - CreditNoteLineItemRequestContact: - discriminated: false - docs: The credit note's contact. - union: - - type: string - validation: - format: uuid - - Contact - source: - openapi: openapi/openapi.yml - inline: true - CreditNoteLineItemRequestProject: - discriminated: false - union: - - type: string - validation: - format: uuid - - Contact - source: - openapi: openapi/openapi.yml - inline: true - CreditNoteLineItemRequest: - docs: >- - # The CreditNoteLineItem Object - - ### Description - - The `CreditNoteLineItem` object is used to represent a credit note's line - items. - - - ### Usage Example - - Fetch from the `GET CreditNote` endpoint and view the credit note's line - items. - properties: - remote_id: - type: optional - docs: The third-party API ID of the matching object. - item: optional - name: - type: optional - docs: The credit note line item's name. - description: - type: optional - docs: The description of the item that is owed. - quantity: - type: optional - docs: The credit note line item's quantity. - validation: - pattern: ^-?\d{0,24}(?:\.\d{0,8})?$ - memo: - type: optional - docs: The credit note line item's memo. - unit_price: - type: optional - docs: The credit note line item's unit price. - validation: - pattern: ^-?\d{0,32}(?:\.\d{0,16})?$ - tax_rate: - type: optional - docs: The tax rate that applies to this line item. - validation: - format: uuid - total_line_amount: - type: optional - docs: The credit note line item's total. - validation: - pattern: ^-?\d{0,32}(?:\.\d{0,16})?$ - tracking_category: - type: optional - docs: The credit note line item's associated tracking category. - validation: - format: uuid - availability: deprecated - tracking_categories: - type: optional>> - docs: The credit note line item's associated tracking categories. - account: - type: optional - docs: The credit note line item's account. - validation: - format: uuid - company: - type: optional - docs: The company the credit note belongs to. - contact: - type: optional - docs: The credit note's contact. - project: optional - integration_params: - type: optional> - access: write-only - linked_account_params: - type: optional> - access: write-only - source: - openapi: openapi/openapi.yml - CreditNoteRequestStatus: - discriminated: false - docs: |- - The credit note's status. - - * `SUBMITTED` - SUBMITTED - * `AUTHORIZED` - AUTHORIZED - * `PAID` - PAID - union: - - CreditNoteStatusEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - CreditNoteRequestContact: - discriminated: false - docs: The credit note's contact. - union: - - type: string - validation: - format: uuid - - Contact - source: - openapi: openapi/openapi.yml - inline: true - CreditNoteRequestCompany: - discriminated: false - docs: The company the credit note belongs to. - union: - - type: string - validation: - format: uuid - - CompanyInfo - source: - openapi: openapi/openapi.yml - inline: true - CreditNoteRequestLineItemsItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - CreditNoteLineItemRequest - source: - openapi: openapi/openapi.yml - inline: true - CreditNoteRequestTrackingCategoriesItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - TrackingCategory - source: - openapi: openapi/openapi.yml - inline: true - CreditNoteRequestCurrency: - discriminated: false - docs: >- - The credit note's currency. - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - union: - - TransactionCurrencyEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - CreditNoteRequestPaymentsItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - Payment - source: - openapi: openapi/openapi.yml - inline: true - CreditNoteRequestAppliedPaymentsItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - PaymentLineItem - source: - openapi: openapi/openapi.yml - inline: true - CreditNoteRequestAccountingPeriod: - discriminated: false - docs: The accounting period that the CreditNote was generated in. - union: - - type: string - validation: - format: uuid - - AccountingPeriod - source: - openapi: openapi/openapi.yml - inline: true - CreditNoteRequest: - docs: >- - # The CreditNote Object - - ### Description - - A `CreditNote` is transaction issued to a customer, indicating a reduction - or cancellation of the amount owed by the customer. It is most generally - used as an adjustment note used to rectify errors, returns, or - overpayments related to a sales transaction. A `CreditNote` can be applied - to *Accounts Receivable* Invoices to decrease the overall amount of the - Invoice. - - - ### Usage Example - - Fetch from the `LIST CreditNotes` endpoint and view a company's credit - notes. - properties: - transaction_date: - type: optional - docs: The credit note's transaction date. - status: - type: optional - docs: |- - The credit note's status. - - * `SUBMITTED` - SUBMITTED - * `AUTHORIZED` - AUTHORIZED - * `PAID` - PAID - number: - type: optional - docs: The credit note's number. - contact: - type: optional - docs: The credit note's contact. - company: - type: optional - docs: The company the credit note belongs to. - exchange_rate: - type: optional - docs: The credit note's exchange rate. - validation: - pattern: ^-?\d{0,32}(?:\.\d{0,16})?$ - total_amount: - type: optional - docs: The credit note's total amount. - remaining_credit: - type: optional - docs: >- - The amount of value remaining in the credit note that the customer can - use. - inclusive_of_tax: - type: optional - docs: >- - If the transaction is inclusive or exclusive of tax. `True` if - inclusive, `False` if exclusive. - line_items: optional> - tracking_categories: optional>> - currency: - type: optional - docs: >- - The credit note's currency. - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - payments: - type: optional>> - docs: Array of `Payment` object IDs - applied_payments: - type: optional>> - docs: >- - A list of the Payment Applied to Lines common models related to a - given Invoice, Credit Note, or Journal Entry. - accounting_period: - type: optional - docs: The accounting period that the CreditNote was generated in. - applied_to_lines: - type: optional> - docs: >- - A list of the CreditNote Applied to Lines common models related to a - given Credit Note - integration_params: - type: optional> - access: write-only - linked_account_params: - type: optional> - access: write-only - source: - openapi: openapi/openapi.yml - CreditNoteResponse: - properties: - model: CreditNote - warnings: list - errors: list - logs: optional> - source: - openapi: openapi/openapi.yml - CreditNoteStatusEnum: - enum: - - SUBMITTED - - AUTHORIZED - - PAID - docs: |- - * `SUBMITTED` - SUBMITTED - * `AUTHORIZED` - AUTHORIZED - * `PAID` - PAID - source: - openapi: openapi/openapi.yml - CreditOrDebitEnum: - enum: - - CREDIT - - DEBIT - docs: |- - * `CREDIT` - CREDIT - * `DEBIT` - DEBIT - source: - openapi: openapi/openapi.yml - DataPassthroughRequestMethod: - discriminated: false - union: - - MethodEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - DataPassthroughRequest: - docs: >- - # The DataPassthrough Object - - ### Description - - The `DataPassthrough` object is used to send information to an - otherwise-unsupported third-party endpoint. - - - ### Usage Example - - Create a `DataPassthrough` to get team hierarchies from your Rippling - integration. - properties: - method: DataPassthroughRequestMethod - path: - type: string - docs: The path of the request in the third party's platform. - validation: - minLength: 1 - base_url_override: - type: optional - docs: An optional override of the third party's base url for the request. - validation: - minLength: 1 - data: - type: optional - docs: >- - The data with the request. You must include a `request_format` - parameter matching the data's format - validation: - minLength: 1 - multipart_form_data: - type: optional> - docs: >- - Pass an array of `MultipartFormField` objects in here instead of using - the `data` param if `request_format` is set to `MULTIPART`. - headers: - type: optional> - docs: >- - The headers to use for the request (Merge will handle the account's - authorization headers). `Content-Type` header is required for - passthrough. Choose content type corresponding to expected format of - receiving server. - request_format: optional - normalize_response: - type: optional - docs: >- - Optional. If true, the response will always be an object of the form - `{"type": T, "value": ...}` where `T` will be one of `string, boolean, - number, null, array, object`. - source: - openapi: openapi/openapi.yml - DebugModeLog: - properties: - log_id: string - dashboard_view: string - log_summary: DebugModelLogSummary - source: - openapi: openapi/openapi.yml - DebugModelLogSummary: - properties: - url: string - method: string - status_code: integer - source: - openapi: openapi/openapi.yml - EmployeeCompany: - discriminated: false - docs: The subsidiary that the employee belongs to. - union: - - type: string - validation: - format: uuid - - CompanyInfo - source: - openapi: openapi/openapi.yml - inline: true - EmployeeStatus: - discriminated: false - docs: |- - The employee's status in the accounting system. - - * `ACTIVE` - ACTIVE - * `INACTIVE` - INACTIVE - union: - - Status895Enum - - string - source: - openapi: openapi/openapi.yml - inline: true - Employee: - docs: >- - # The Employee Object - - ### Description - - An `Employee` is an individual who works for the company of the linked - account. The `Employee` model contains both contractors and full time - employees. - - * An `Employee` is a contractor if `is_contractor` property is `True` - - * An `Employee` is a full time employee if `is_contractor` property is - `False` - - - ### Usage Example - - Fetch from the `LIST Employees` endpoint and view a company's employees. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - first_name: - type: optional - docs: The employee's first name. - validation: - maxLength: 255 - last_name: - type: optional - docs: The employee's last name. - validation: - maxLength: 255 - is_contractor: - type: optional - docs: '`True` if the employee is a contractor, `False` if not.' - employee_number: - type: optional - docs: The employee's internal identification number. - validation: - maxLength: 50 - email_address: - type: optional - docs: The employee's email address. - company: - type: optional - docs: The subsidiary that the employee belongs to. - status: - type: EmployeeStatus - docs: |- - The employee's status in the accounting system. - - * `ACTIVE` - ACTIVE - * `INACTIVE` - INACTIVE - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - EnabledActionsEnum: - enum: - - READ - - WRITE - docs: |- - * `READ` - READ - * `WRITE` - WRITE - source: - openapi: openapi/openapi.yml - EncodingEnum: - enum: - - RAW - - BASE64 - - GZIP_BASE64 - docs: |- - * `RAW` - RAW - * `BASE64` - BASE64 - * `GZIP_BASE64` - GZIP_BASE64 - source: - openapi: openapi/openapi.yml - ErrorValidationProblem: - properties: - source: optional - title: string - detail: string - problem_type: string - source: - openapi: openapi/openapi.yml - EventTypeEnum: - enum: - - CREATED_REMOTE_PRODUCTION_API_KEY - - DELETED_REMOTE_PRODUCTION_API_KEY - - CREATED_TEST_API_KEY - - DELETED_TEST_API_KEY - - REGENERATED_PRODUCTION_API_KEY - - REGENERATED_WEBHOOK_SIGNATURE - - INVITED_USER - - TWO_FACTOR_AUTH_ENABLED - - TWO_FACTOR_AUTH_DISABLED - - DELETED_LINKED_ACCOUNT - - DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT - - CREATED_DESTINATION - - DELETED_DESTINATION - - CHANGED_DESTINATION - - CHANGED_SCOPES - - CHANGED_PERSONAL_INFORMATION - - CHANGED_ORGANIZATION_SETTINGS - - ENABLED_INTEGRATION - - DISABLED_INTEGRATION - - ENABLED_CATEGORY - - DISABLED_CATEGORY - - CHANGED_PASSWORD - - RESET_PASSWORD - - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - - CREATED_INTEGRATION_WIDE_FIELD_MAPPING - - CREATED_LINKED_ACCOUNT_FIELD_MAPPING - - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING - - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING - - DELETED_INTEGRATION_WIDE_FIELD_MAPPING - - DELETED_LINKED_ACCOUNT_FIELD_MAPPING - - CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - FORCED_LINKED_ACCOUNT_RESYNC - - MUTED_ISSUE - - GENERATED_MAGIC_LINK - - ENABLED_MERGE_WEBHOOK - - DISABLED_MERGE_WEBHOOK - - MERGE_WEBHOOK_TARGET_CHANGED - - END_USER_CREDENTIALS_ACCESSED - docs: >- - * `CREATED_REMOTE_PRODUCTION_API_KEY` - CREATED_REMOTE_PRODUCTION_API_KEY - - * `DELETED_REMOTE_PRODUCTION_API_KEY` - DELETED_REMOTE_PRODUCTION_API_KEY - - * `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY - - * `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY - - * `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY - - * `REGENERATED_WEBHOOK_SIGNATURE` - REGENERATED_WEBHOOK_SIGNATURE - - * `INVITED_USER` - INVITED_USER - - * `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED - - * `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED - - * `DELETED_LINKED_ACCOUNT` - DELETED_LINKED_ACCOUNT - - * `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT` - - DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT - - * `CREATED_DESTINATION` - CREATED_DESTINATION - - * `DELETED_DESTINATION` - DELETED_DESTINATION - - * `CHANGED_DESTINATION` - CHANGED_DESTINATION - - * `CHANGED_SCOPES` - CHANGED_SCOPES - - * `CHANGED_PERSONAL_INFORMATION` - CHANGED_PERSONAL_INFORMATION - - * `CHANGED_ORGANIZATION_SETTINGS` - CHANGED_ORGANIZATION_SETTINGS - - * `ENABLED_INTEGRATION` - ENABLED_INTEGRATION - - * `DISABLED_INTEGRATION` - DISABLED_INTEGRATION - - * `ENABLED_CATEGORY` - ENABLED_CATEGORY - - * `DISABLED_CATEGORY` - DISABLED_CATEGORY - - * `CHANGED_PASSWORD` - CHANGED_PASSWORD - - * `RESET_PASSWORD` - RESET_PASSWORD - - * `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - - * `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - - * `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - - * `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - - * `CREATED_INTEGRATION_WIDE_FIELD_MAPPING` - - CREATED_INTEGRATION_WIDE_FIELD_MAPPING - - * `CREATED_LINKED_ACCOUNT_FIELD_MAPPING` - - CREATED_LINKED_ACCOUNT_FIELD_MAPPING - - * `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING` - - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING - - * `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING - - * `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - - DELETED_INTEGRATION_WIDE_FIELD_MAPPING - - * `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - - DELETED_LINKED_ACCOUNT_FIELD_MAPPING - - * `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - - CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - * `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - - CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - * `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - - DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - * `FORCED_LINKED_ACCOUNT_RESYNC` - FORCED_LINKED_ACCOUNT_RESYNC - - * `MUTED_ISSUE` - MUTED_ISSUE - - * `GENERATED_MAGIC_LINK` - GENERATED_MAGIC_LINK - - * `ENABLED_MERGE_WEBHOOK` - ENABLED_MERGE_WEBHOOK - - * `DISABLED_MERGE_WEBHOOK` - DISABLED_MERGE_WEBHOOK - - * `MERGE_WEBHOOK_TARGET_CHANGED` - MERGE_WEBHOOK_TARGET_CHANGED - - * `END_USER_CREDENTIALS_ACCESSED` - END_USER_CREDENTIALS_ACCESSED - source: - openapi: openapi/openapi.yml - ExpenseAccount: - discriminated: false - docs: The expense's payment account. - union: - - type: string - validation: - format: uuid - - Account - source: - openapi: openapi/openapi.yml - inline: true - ExpenseContact: - discriminated: false - docs: The expense's contact. - union: - - type: string - validation: - format: uuid - - Contact - source: - openapi: openapi/openapi.yml - inline: true - ExpenseCurrency: - discriminated: false - docs: >- - The expense's currency. - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - union: - - TransactionCurrencyEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - ExpenseCompany: - discriminated: false - docs: The company the expense belongs to. - union: - - type: string - validation: - format: uuid - - CompanyInfo - source: - openapi: openapi/openapi.yml - inline: true - ExpenseEmployee: - discriminated: false - docs: The employee this overall transaction relates to. - union: - - type: string - validation: - format: uuid - - Employee - source: - openapi: openapi/openapi.yml - inline: true - ExpenseTrackingCategoriesItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - TrackingCategory - source: - openapi: openapi/openapi.yml - inline: true - ExpenseAccountingPeriod: - discriminated: false - docs: The accounting period that the Expense was generated in. - union: - - type: string - validation: - format: uuid - - AccountingPeriod - source: - openapi: openapi/openapi.yml - inline: true - Expense: - docs: >- - # The Expense Object - - ### Description - - The `Expense` object is used to represent a direct purchase by a business, - typically made with a check, credit card, or cash. Each `Expense` object - is dedicated to a grouping of expenses, with each expense recorded in the - lines object. - - - The `Expense` object is used also used to represent refunds to direct - purchases. Refunds can be distinguished from purchases by the amount sign - of the records. Expense objects with a negative amount are purchases and - `Expense` objects with a positive amount are refunds to those purchases. - - - ### Usage Example - - Fetch from the `GET Expense` endpoint and view a company's expense. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - transaction_date: - type: optional - docs: When the transaction occurred. - remote_created_at: - type: optional - docs: When the expense was created. - account: - type: optional - docs: The expense's payment account. - contact: - type: optional - docs: The expense's contact. - total_amount: - type: optional - docs: The expense's total amount. - sub_total: - type: optional - docs: The expense's total amount before tax. - total_tax_amount: - type: optional - docs: The expense's total tax amount. - currency: - type: optional - docs: >- - The expense's currency. - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - exchange_rate: - type: optional - docs: The expense's exchange rate. - validation: - pattern: ^-?\d{0,32}(?:\.\d{0,16})?$ - inclusive_of_tax: - type: optional - docs: >- - If the transaction is inclusive or exclusive of tax. `True` if - inclusive, `False` if exclusive. - company: - type: optional - docs: The company the expense belongs to. - employee: - type: optional - docs: The employee this overall transaction relates to. - memo: - type: optional - docs: The expense's private note. - lines: optional> - tracking_categories: optional>> - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - accounting_period: - type: optional - docs: The accounting period that the Expense was generated in. - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - remote_fields: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - ExpenseLineItem: - discriminated: false - docs: The line's item. - union: - - type: string - validation: - format: uuid - - Item - source: - openapi: openapi/openapi.yml - inline: true - ExpenseLineTrackingCategory: - discriminated: false - union: - - type: string - validation: - format: uuid - - TrackingCategory - source: - openapi: openapi/openapi.yml - inline: true - ExpenseLineTrackingCategoriesItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - TrackingCategory - source: - openapi: openapi/openapi.yml - inline: true - ExpenseLineEmployee: - discriminated: false - docs: The employee this overall transaction relates to. - union: - - type: string - validation: - format: uuid - - Employee - source: - openapi: openapi/openapi.yml - inline: true - ExpenseLineCurrency: - discriminated: false - docs: >- - The expense line item's currency. - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - union: - - TransactionCurrencyEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - ExpenseLineAccount: - discriminated: false - docs: The expense's payment account. - union: - - type: string - validation: - format: uuid - - Account - source: - openapi: openapi/openapi.yml - inline: true - ExpenseLineContact: - discriminated: false - docs: The expense's contact. - union: - - type: string - validation: - format: uuid - - Contact - source: - openapi: openapi/openapi.yml - inline: true - ExpenseLineProject: - discriminated: false - union: - - type: string - validation: - format: uuid - - Project - source: - openapi: openapi/openapi.yml - inline: true - ExpenseLine: - docs: |- - # The ExpenseLine Object - ### Description - The `ExpenseLine` object is used to represent an expense's line items. - - ### Usage Example - Fetch from the `GET Expense` endpoint and view the expense's line items. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - item: - type: optional - docs: The line's item. - net_amount: - type: optional - docs: The line's net amount. - tracking_category: - type: optional - availability: deprecated - tracking_categories: - type: optional>> - docs: The expense line item's associated tracking categories. - company: - type: optional - docs: The company the expense belongs to. - validation: - format: uuid - employee: - type: optional - docs: The employee this overall transaction relates to. - currency: - type: optional - docs: >- - The expense line item's currency. - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - account: - type: optional - docs: The expense's payment account. - contact: - type: optional - docs: The expense's contact. - project: optional - description: - type: optional - docs: The description of the item that was purchased by the company. - exchange_rate: - type: optional - docs: The expense line item's exchange rate. - validation: - pattern: ^-?\d{0,32}(?:\.\d{0,16})?$ - tax_rate: - type: optional - docs: The tax rate that applies to this line item. - validation: - format: uuid - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - source: - openapi: openapi/openapi.yml - ExpenseLineRequestItem: - discriminated: false - docs: The line's item. - union: - - type: string - validation: - format: uuid - - Item - source: - openapi: openapi/openapi.yml - inline: true - ExpenseLineRequestTrackingCategory: - discriminated: false - union: - - type: string - validation: - format: uuid - - TrackingCategory - source: - openapi: openapi/openapi.yml - inline: true - ExpenseLineRequestTrackingCategoriesItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - TrackingCategory - source: - openapi: openapi/openapi.yml - inline: true - ExpenseLineRequestEmployee: - discriminated: false - docs: The employee this overall transaction relates to. - union: - - type: string - validation: - format: uuid - - Employee - source: - openapi: openapi/openapi.yml - inline: true - ExpenseLineRequestCurrency: - discriminated: false - docs: >- - The expense line item's currency. - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - union: - - TransactionCurrencyEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - ExpenseLineRequestAccount: - discriminated: false - docs: The expense's payment account. - union: - - type: string - validation: - format: uuid - - Account - source: - openapi: openapi/openapi.yml - inline: true - ExpenseLineRequestContact: - discriminated: false - docs: The expense's contact. - union: - - type: string - validation: - format: uuid - - Contact - source: - openapi: openapi/openapi.yml - inline: true - ExpenseLineRequestProject: - discriminated: false - union: - - type: string - validation: - format: uuid - - Contact - source: - openapi: openapi/openapi.yml - inline: true - ExpenseLineRequest: - docs: |- - # The ExpenseLine Object - ### Description - The `ExpenseLine` object is used to represent an expense's line items. - - ### Usage Example - Fetch from the `GET Expense` endpoint and view the expense's line items. - properties: - remote_id: - type: optional - docs: The third-party API ID of the matching object. - item: - type: optional - docs: The line's item. - net_amount: - type: optional - docs: The line's net amount. - tracking_category: - type: optional - availability: deprecated - tracking_categories: - type: optional>> - docs: The expense line item's associated tracking categories. - company: - type: optional - docs: The company the expense belongs to. - validation: - format: uuid - employee: - type: optional - docs: The employee this overall transaction relates to. - currency: - type: optional - docs: >- - The expense line item's currency. - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - account: - type: optional - docs: The expense's payment account. - contact: - type: optional - docs: The expense's contact. - project: optional - description: - type: optional - docs: The description of the item that was purchased by the company. - exchange_rate: - type: optional - docs: The expense line item's exchange rate. - validation: - pattern: ^-?\d{0,32}(?:\.\d{0,16})?$ - tax_rate: - type: optional - docs: The tax rate that applies to this line item. - validation: - format: uuid - integration_params: - type: optional> - access: write-only - linked_account_params: - type: optional> - access: write-only - remote_fields: - type: optional> - access: write-only - source: - openapi: openapi/openapi.yml - ExpenseReportStatus: - discriminated: false - docs: >- - Overall status of the expense report. One of DRAFT, SUBMITTED, APPROVED, - REJECTED - - - * `DRAFT` - DRAFT - - * `SUBMITTED` - SUBMITTED - - * `APPROVED` - APPROVED - - * `REJECTED` - REJECTED - union: - - ExpenseReportStatusEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - ExpenseReportCompany: - discriminated: false - docs: The subsidiary that the expense report is created in - union: - - type: string - validation: - format: uuid - - CompanyInfo - source: - openapi: openapi/openapi.yml - inline: true - ExpenseReport: - docs: >- - # The ExpenseReport Object - - ### Description - - The `ExpenseReport` object represents a collection of expenses submitted - for review and reimbursement. - - It includes details about the submitter, status, amounts, and associated - metadata. - - - ### Usage Example - - Fetch from the `GET ExpenseReport` endpoint to view details of expense - reports and their line items. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - report_date: - type: optional - docs: The date of the expense report. - report_identifier: - type: optional - docs: Human-readable expense report identifier. - validation: - maxLength: 1024 - employee: - type: optional - docs: >- - Identifier for the employee who submitted or is associated with the - expense report - validation: - format: uuid - status: - type: optional - docs: >- - Overall status of the expense report. One of DRAFT, SUBMITTED, - APPROVED, REJECTED - - - * `DRAFT` - DRAFT - - * `SUBMITTED` - SUBMITTED - - * `APPROVED` - APPROVED - - * `REJECTED` - REJECTED - total_amount: - type: optional - docs: Total amount of the expense report - lines: - type: optional> - access: read-only - currency: - type: optional - docs: >- - Currency code for the expense report - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - description: - type: optional - docs: A brief description or purpose for the expense report - validation: - maxLength: 1024 - accounting_period: - type: optional - docs: The accounting period the report was posted in - validation: - format: uuid - company: - type: optional - docs: The subsidiary that the expense report is created in - tracking_categories: - docs: The related tracking categories associated with the expense report - type: list - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - remote_fields: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - ExpenseReportLineAccount: - discriminated: false - union: - - type: string - validation: - format: uuid - - Account - source: - openapi: openapi/openapi.yml - inline: true - ExpenseReportLineEmployee: - discriminated: false - docs: >- - Identifier for the employee who submitted or is associated with the - expense report - union: - - type: string - validation: - format: uuid - - Employee - source: - openapi: openapi/openapi.yml - inline: true - ExpenseReportLineProject: - discriminated: false - union: - - type: string - validation: - format: uuid - - Project - source: - openapi: openapi/openapi.yml - inline: true - ExpenseReportLineCompany: - discriminated: false - docs: The subsidiary that the expense report is created in - union: - - type: string - validation: - format: uuid - - CompanyInfo - source: - openapi: openapi/openapi.yml - inline: true - ExpenseReportLineContact: - discriminated: false - union: - - type: string - validation: - format: uuid - - Contact - source: - openapi: openapi/openapi.yml - inline: true - ExpenseReportLineTaxRate: - discriminated: false - union: - - type: string - validation: - format: uuid - - TaxRate - source: - openapi: openapi/openapi.yml - inline: true - ExpenseReportLine: - docs: >- - # The ExpenseReportLine Object - - ### Description - - The `ExpenseReportLine` object represents an individual line item within - an expense report, containing details about - - a specific expense such as amount, description, and associated metadata. - - - ### Usage Example - - Fetch from the `GET ExpenseReport` endpoint and expand the lines field to - view all line items in the expense report. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - account: optional - description: - type: optional - docs: Description of the individual expense. - validation: - maxLength: 1024 - expense_date: - type: optional - docs: The date the individual expense was incurred. - amount: - type: optional - docs: The amount of the expense for the line item. - currency: - type: optional - docs: >- - Currency of the expense line (if different from the report currency). - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - exchange_rate: - type: optional - docs: Exchange rate used if the line item is in a foreign currency. - validation: - pattern: ^-?\d{0,32}(?:\.\d{0,16})?$ - is_billable: - type: optional - docs: Whether the expense line is billable to a client or project. - tracking_categories: - docs: >- - The related tracking categories associated with the expense report - (Department, Location, Class, Expense Category) - type: list - employee: - type: optional - docs: >- - Identifier for the employee who submitted or is associated with the - expense report - project: optional - company: - type: optional - docs: The subsidiary that the expense report is created in - contact: optional - quantity: - type: optional - docs: Quantity for the expense line (e.g., miles driven, items purchased). - unit_price: - type: optional - docs: Price per unit for the expense line (if applicable). - non_reimbursable: - type: optional - docs: >- - Whether the expense line is non-reimbursable (e.g., paid via company - card). - tax_amount: - type: optional - docs: Tax amount applicable for the line item. - inclusive_of_tax: - type: optional - docs: Whether the amount is inclusive of tax. - tax_rate: optional - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - remote_fields: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - ExpenseReportLineRequestAccount: - discriminated: false - union: - - type: string - validation: - format: uuid - - Account - source: - openapi: openapi/openapi.yml - inline: true - ExpenseReportLineRequestEmployee: - discriminated: false - docs: >- - Identifier for the employee who submitted or is associated with the - expense report - union: - - type: string - validation: - format: uuid - - Employee - source: - openapi: openapi/openapi.yml - inline: true - ExpenseReportLineRequestProject: - discriminated: false - union: - - type: string - validation: - format: uuid - - Project - source: - openapi: openapi/openapi.yml - inline: true - ExpenseReportLineRequestCompany: - discriminated: false - docs: The subsidiary that the expense report is created in - union: - - type: string - validation: - format: uuid - - CompanyInfo - source: - openapi: openapi/openapi.yml - inline: true - ExpenseReportLineRequestContact: - discriminated: false - union: - - type: string - validation: - format: uuid - - Contact - source: - openapi: openapi/openapi.yml - inline: true - ExpenseReportLineRequestTaxRate: - discriminated: false - union: - - type: string - validation: - format: uuid - - TaxRate - source: - openapi: openapi/openapi.yml - inline: true - ExpenseReportLineRequest: - docs: >- - # The ExpenseReportLine Object - - ### Description - - The `ExpenseReportLine` object represents an individual line item within - an expense report, containing details about - - a specific expense such as amount, description, and associated metadata. - - - ### Usage Example - - Fetch from the `GET ExpenseReport` endpoint and expand the lines field to - view all line items in the expense report. - properties: - remote_id: - type: optional - docs: The third-party API ID of the matching object. - account: optional - description: - type: optional - docs: Description of the individual expense. - validation: - maxLength: 1024 - expense_date: - type: optional - docs: The date the individual expense was incurred. - amount: - type: optional - docs: The amount of the expense for the line item. - currency: - type: optional - docs: >- - Currency of the expense line (if different from the report currency). - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - exchange_rate: - type: optional - docs: Exchange rate used if the line item is in a foreign currency. - validation: - pattern: ^-?\d{0,32}(?:\.\d{0,16})?$ - is_billable: - type: optional - docs: Whether the expense line is billable to a client or project. - tracking_categories: - docs: >- - The related tracking categories associated with the expense report - (Department, Location, Class, Expense Category) - type: list - employee: - type: optional - docs: >- - Identifier for the employee who submitted or is associated with the - expense report - project: optional - company: - type: optional - docs: The subsidiary that the expense report is created in - contact: optional - quantity: - type: optional - docs: Quantity for the expense line (e.g., miles driven, items purchased). - unit_price: - type: optional - docs: Price per unit for the expense line (if applicable). - non_reimbursable: - type: optional - docs: >- - Whether the expense line is non-reimbursable (e.g., paid via company - card). - tax_amount: - type: optional - docs: Tax amount applicable for the line item. - inclusive_of_tax: - type: optional - docs: Whether the amount is inclusive of tax. - tax_rate: optional - integration_params: - type: optional> - access: write-only - linked_account_params: - type: optional> - access: write-only - remote_fields: - type: optional> - access: write-only - source: - openapi: openapi/openapi.yml - ExpenseReportRequestEmployee: - discriminated: false - docs: >- - Identifier for the employee who submitted or is associated with the - expense report - union: - - type: string - validation: - format: uuid - - Employee - source: - openapi: openapi/openapi.yml - inline: true - ExpenseReportRequestAccountingPeriod: - discriminated: false - docs: The accounting period the report was posted in - union: - - type: string - validation: - format: uuid - - AccountingPeriod - source: - openapi: openapi/openapi.yml - inline: true - ExpenseReportRequestCompany: - discriminated: false - docs: The subsidiary that the expense report is created in - union: - - type: string - validation: - format: uuid - - CompanyInfo - source: - openapi: openapi/openapi.yml - inline: true - ExpenseReportRequest: - docs: >- - # The ExpenseReport Object - - ### Description - - The `ExpenseReport` object represents a collection of expenses submitted - for review and reimbursement. - - It includes details about the submitter, status, amounts, and associated - metadata. - - - ### Usage Example - - Fetch from the `GET ExpenseReport` endpoint to view details of expense - reports and their line items. - properties: - report_date: - type: optional - docs: The date of the expense report. - report_identifier: - type: optional - docs: Human-readable expense report identifier. - validation: - maxLength: 1024 - employee: - type: optional - docs: >- - Identifier for the employee who submitted or is associated with the - expense report - status: - type: optional - docs: >- - Overall status of the expense report. One of DRAFT, SUBMITTED, - APPROVED, REJECTED - - - * `DRAFT` - DRAFT - - * `SUBMITTED` - SUBMITTED - - * `APPROVED` - APPROVED - - * `REJECTED` - REJECTED - total_amount: - type: optional - docs: Total amount of the expense report - currency: - type: optional - docs: >- - Currency code for the expense report - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - description: - type: optional - docs: A brief description or purpose for the expense report - validation: - maxLength: 1024 - accounting_period: - type: optional - docs: The accounting period the report was posted in - company: - type: optional - docs: The subsidiary that the expense report is created in - tracking_categories: - docs: The related tracking categories associated with the expense report - type: list - integration_params: - type: optional> - access: write-only - linked_account_params: - type: optional> - access: write-only - remote_fields: - type: optional> - access: write-only - source: - openapi: openapi/openapi.yml - ExpenseReportResponse: - properties: - model: ExpenseReport - warnings: list - errors: list - logs: optional> - source: - openapi: openapi/openapi.yml - ExpenseReportStatusEnum: - enum: - - DRAFT - - SUBMITTED - - APPROVED - - REJECTED - docs: |- - * `DRAFT` - DRAFT - * `SUBMITTED` - SUBMITTED - * `APPROVED` - APPROVED - * `REJECTED` - REJECTED - source: - openapi: openapi/openapi.yml - ExpenseRequestAccount: - discriminated: false - docs: The expense's payment account. - union: - - type: string - validation: - format: uuid - - Account - source: - openapi: openapi/openapi.yml - inline: true - ExpenseRequestContact: - discriminated: false - docs: The expense's contact. - union: - - type: string - validation: - format: uuid - - Contact - source: - openapi: openapi/openapi.yml - inline: true - ExpenseRequestCurrency: - discriminated: false - docs: >- - The expense's currency. - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - union: - - TransactionCurrencyEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - ExpenseRequestCompany: - discriminated: false - docs: The company the expense belongs to. - union: - - type: string - validation: - format: uuid - - CompanyInfo - source: - openapi: openapi/openapi.yml - inline: true - ExpenseRequestEmployee: - discriminated: false - docs: The employee this overall transaction relates to. - union: - - type: string - validation: - format: uuid - - Employee - source: - openapi: openapi/openapi.yml - inline: true - ExpenseRequestTrackingCategoriesItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - TrackingCategory - source: - openapi: openapi/openapi.yml - inline: true - ExpenseRequestAccountingPeriod: - discriminated: false - docs: The accounting period that the Expense was generated in. - union: - - type: string - validation: - format: uuid - - AccountingPeriod - source: - openapi: openapi/openapi.yml - inline: true - ExpenseRequest: - docs: >- - # The Expense Object - - ### Description - - The `Expense` object is used to represent a direct purchase by a business, - typically made with a check, credit card, or cash. Each `Expense` object - is dedicated to a grouping of expenses, with each expense recorded in the - lines object. - - - The `Expense` object is used also used to represent refunds to direct - purchases. Refunds can be distinguished from purchases by the amount sign - of the records. Expense objects with a negative amount are purchases and - `Expense` objects with a positive amount are refunds to those purchases. - - - ### Usage Example - - Fetch from the `GET Expense` endpoint and view a company's expense. - properties: - transaction_date: - type: optional - docs: When the transaction occurred. - account: - type: optional - docs: The expense's payment account. - contact: - type: optional - docs: The expense's contact. - total_amount: - type: optional - docs: The expense's total amount. - sub_total: - type: optional - docs: The expense's total amount before tax. - total_tax_amount: - type: optional - docs: The expense's total tax amount. - currency: - type: optional - docs: >- - The expense's currency. - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - exchange_rate: - type: optional - docs: The expense's exchange rate. - validation: - pattern: ^-?\d{0,32}(?:\.\d{0,16})?$ - inclusive_of_tax: - type: optional - docs: >- - If the transaction is inclusive or exclusive of tax. `True` if - inclusive, `False` if exclusive. - company: - type: optional - docs: The company the expense belongs to. - employee: - type: optional - docs: The employee this overall transaction relates to. - memo: - type: optional - docs: The expense's private note. - lines: optional> - tracking_categories: optional>> - accounting_period: - type: optional - docs: The accounting period that the Expense was generated in. - integration_params: - type: optional> - access: write-only - linked_account_params: - type: optional> - access: write-only - remote_fields: - type: optional> - access: write-only - source: - openapi: openapi/openapi.yml - ExpenseResponse: - properties: - model: Expense - warnings: list - errors: list - logs: optional> - source: - openapi: openapi/openapi.yml - ExternalTargetFieldApi: - properties: - name: - type: optional - access: read-only - description: - type: optional - access: read-only - is_mapped: - type: optional - access: read-only - source: - openapi: openapi/openapi.yml - ExternalTargetFieldApiResponse: - properties: - Account: optional> - AccountingAttachment: optional> - BalanceSheet: optional> - CashFlowStatement: optional> - CompanyInfo: optional> - Contact: optional> - IncomeStatement: optional> - CreditNote: optional> - Item: optional> - PurchaseOrder: optional> - ExpenseReport: optional> - TrackingCategory: optional> - JournalEntry: optional> - TaxRate: optional> - Invoice: optional> - Payment: optional> - Expense: optional> - VendorCredit: optional> - Transaction: optional> - AccountingPeriod: optional> - GeneralLedgerTransaction: optional> - BankFeedAccount: optional> - Employee: optional> - PaymentMethod: optional> - Project: optional> - PaymentTerm: optional> - source: - openapi: openapi/openapi.yml - FeedStatusEnum: - enum: - - ACTIVE - - INACTIVE - docs: |- - * `ACTIVE` - ACTIVE - * `INACTIVE` - INACTIVE - source: - openapi: openapi/openapi.yml - FieldFormatEnum: - enum: - - string - - number - - date - - datetime - - bool - - list - docs: |- - * `string` - string - * `number` - number - * `date` - date - * `datetime` - datetime - * `bool` - bool - * `list` - list - source: - openapi: openapi/openapi.yml - FieldMappingApiInstanceTargetField: - properties: - name: string - description: string - is_organization_wide: boolean - source: - openapi: openapi/openapi.yml - inline: true - FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo: - properties: - method: optional - url_path: optional - field_traversal_path: optional> - source: - openapi: openapi/openapi.yml - inline: true - FieldMappingApiInstanceRemoteField: - properties: - remote_key_name: optional - schema: optional> - remote_endpoint_info: FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo - source: - openapi: openapi/openapi.yml - inline: true - FieldMappingApiInstance: - properties: - id: - type: optional - validation: - format: uuid - access: read-only - is_integration_wide: - type: optional - access: read-only - target_field: - type: optional - access: read-only - remote_field: - type: optional - access: read-only - source: - openapi: openapi/openapi.yml - FieldMappingApiInstanceResponse: - properties: - Account: optional> - AccountingAttachment: optional> - BalanceSheet: optional> - CashFlowStatement: optional> - CompanyInfo: optional> - Contact: optional> - IncomeStatement: optional> - CreditNote: optional> - Item: optional> - PurchaseOrder: optional> - ExpenseReport: optional> - TrackingCategory: optional> - JournalEntry: optional> - TaxRate: optional> - Invoice: optional> - Payment: optional> - Expense: optional> - VendorCredit: optional> - Transaction: optional> - AccountingPeriod: optional> - GeneralLedgerTransaction: optional> - BankFeedAccount: optional> - Employee: optional> - PaymentMethod: optional> - Project: optional> - PaymentTerm: optional> - source: - openapi: openapi/openapi.yml - FieldMappingInstanceResponse: - properties: - model: FieldMappingApiInstance - warnings: list - errors: list - logs: optional> - source: - openapi: openapi/openapi.yml - FieldPermissionDeserializer: - properties: - enabled_fields: optional> - disabled_fields: optional> - source: - openapi: openapi/openapi.yml - FieldPermissionDeserializerRequest: - properties: - enabled_fields: optional> - disabled_fields: optional> - source: - openapi: openapi/openapi.yml - FieldTypeEnum: - enum: - - string - - number - - date - - datetime - - bool - - list - docs: |- - * `string` - string - * `number` - number - * `date` - date - * `datetime` - datetime - * `bool` - bool - * `list` - list - source: - openapi: openapi/openapi.yml - GeneralLedgerTransactionUnderlyingTransactionType: - discriminated: false - docs: |- - The type of the underlying transaction. - - * `INVOICE` - INVOICE - * `EXPENSE` - EXPENSE - * `TRANSACTION` - TRANSACTION - * `JOURNAL_ENTRY` - JOURNAL_ENTRY - * `PAYMENT` - PAYMENT - * `VENDOR_CREDIT` - VENDOR_CREDIT - * `CREDIT_NOTE` - CREDIT_NOTE - union: - - UnderlyingTransactionTypeEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - GeneralLedgerTransactionAccountingPeriod: - discriminated: false - docs: The accounting period that the GeneralLedgerTransaction was generated in. - union: - - type: string - validation: - format: uuid - - AccountingPeriod - source: - openapi: openapi/openapi.yml - inline: true - GeneralLedgerTransactionCompany: - discriminated: false - docs: The company the GeneralLedgerTransaction belongs to. - union: - - type: string - validation: - format: uuid - - CompanyInfo - source: - openapi: openapi/openapi.yml - inline: true - GeneralLedgerTransactionTrackingCategoriesItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - TrackingCategory - source: - openapi: openapi/openapi.yml - inline: true - GeneralLedgerTransactionGeneralLedgerTransactionLinesItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - GeneralLedgerTransactionLine - source: - openapi: openapi/openapi.yml - inline: true - GeneralLedgerTransaction: - docs: >- - # The GeneralLedgerTransaction Object - - ### Description - - A General Ledger Entry is a record of a financial transaction that is - posted to the general ledger, the central repository of a company’s - financial data. - - - The `GeneralLedgerTransaction` object is a singular endpoint to pull all - transactions posted to a company’s general ledger. The transaction that - generated the `GeneralLedgerTransaction` can be found by referencing the - `underlying_transaction_type` and `underlying_transaction_remote_id` - fields. - - - The lines of a `GeneralLedgerTransaction` object will always have equal - amounts of debits and credits. - - - ### Usage Example - - Fetch from the `GET GeneralLedgerTransaction` endpoint and view a general - ledger transaction. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - underlying_transaction_remote_id: - type: optional - docs: The third party remote ID of the underlying transaction. - validation: - maxLength: 50 - underlying_transaction_type: - type: optional - docs: |- - The type of the underlying transaction. - - * `INVOICE` - INVOICE - * `EXPENSE` - EXPENSE - * `TRANSACTION` - TRANSACTION - * `JOURNAL_ENTRY` - JOURNAL_ENTRY - * `PAYMENT` - PAYMENT - * `VENDOR_CREDIT` - VENDOR_CREDIT - * `CREDIT_NOTE` - CREDIT_NOTE - accounting_period: - type: optional - docs: >- - The accounting period that the GeneralLedgerTransaction was generated - in. - company: - type: optional - docs: The company the GeneralLedgerTransaction belongs to. - remote_updated_at: - type: optional - docs: When the third party's GeneralLedgerTransaction entry was updated. - remote_created_at: - type: optional - docs: When the third party's GeneralLedgerTransaction entry was created. - tracking_categories: optional>> - posting_date: - type: optional - docs: The date that the transaction was posted to the general ledger. - general_ledger_transaction_lines: - type: >- - optional> - docs: A list of “General Ledger Transaction Applied to Lines” objects. - access: read-only - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - GeneralLedgerTransactionLineAccount: - discriminated: false - union: - - type: string - validation: - format: uuid - - Account - source: - openapi: openapi/openapi.yml - inline: true - GeneralLedgerTransactionLineCompany: - discriminated: false - docs: The company the GeneralLedgerTransaction belongs to. - union: - - type: string - validation: - format: uuid - - CompanyInfo - source: - openapi: openapi/openapi.yml - inline: true - GeneralLedgerTransactionLineEmployee: - discriminated: false - union: - - type: string - validation: - format: uuid - - Employee - source: - openapi: openapi/openapi.yml - inline: true - GeneralLedgerTransactionLineContact: - discriminated: false - union: - - type: string - validation: - format: uuid - - Contact - source: - openapi: openapi/openapi.yml - inline: true - GeneralLedgerTransactionLineProject: - discriminated: false - union: - - type: string - validation: - format: uuid - - Project - source: - openapi: openapi/openapi.yml - inline: true - GeneralLedgerTransactionLineBaseCurrency: - discriminated: false - docs: >- - The base currency of the transaction - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - union: - - TransactionCurrencyEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - GeneralLedgerTransactionLineTransactionCurrency: - discriminated: false - docs: >- - The transaction currency that the transaction is made in. - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - union: - - TransactionCurrencyEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - GeneralLedgerTransactionLineTrackingCategoriesItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - TrackingCategory - source: - openapi: openapi/openapi.yml - inline: true - GeneralLedgerTransactionLineItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - Item - source: - openapi: openapi/openapi.yml - inline: true - GeneralLedgerTransactionLine: - docs: >- - # The GeneralLedgerTransactionLineSerializer Object - - ### Description - - The `GeneralLedgerTransactionLineSerializer` object represents general - ledger transaction line item. - - - ### Usage Example Fetch from the `GET - GeneralLedgerTransactionLineSerializer` endpoint and view an - - `GeneralLedgerTransaction` line item. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - account: optional - company: - type: optional - docs: The company the GeneralLedgerTransaction belongs to. - employee: optional - contact: optional - project: optional - base_currency: - type: optional - docs: >- - The base currency of the transaction - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - transaction_currency: - type: optional - docs: >- - The transaction currency that the transaction is made in. - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - exchange_rate: - type: optional - docs: >- - The exchange rate between the base currency and the transaction - currency. - validation: - pattern: ^-?\d{0,32}(?:\.\d{0,16})?$ - description: - type: optional - docs: A description of the line item. - tracking_categories: - type: optional> - access: read-only - debit_amount: string - credit_amount: string - item: optional - foreign_debit_amount: string - foreign_credit_amount: string - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - field_mappings: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - IncomeStatementCurrency: - discriminated: false - docs: >- - The income statement's currency. - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - union: - - TransactionCurrencyEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - IncomeStatementCompany: - discriminated: false - docs: The company the income statement belongs to. - union: - - type: string - validation: - format: uuid - - CompanyInfo - source: - openapi: openapi/openapi.yml - inline: true - IncomeStatement: - docs: >- - # The IncomeStatement Object - - ### Description - - The `IncomeStatement` object is used to represent a company’s income, the - cost of sales, operating expenses, and other non-operating expenses. The - object also includes other important values like gross profit, gross - operating profit, and net income. This represents a period of time (month, - quarter, or year). - - - ### Usage Example - - Fetch from the `GET IncomeStatement` endpoint and view a company's income - statement for a given period. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - name: - type: optional - docs: The income statement's name. - currency: - type: optional - docs: >- - The income statement's currency. - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - company: - type: optional - docs: The company the income statement belongs to. - start_period: - type: optional - docs: The income statement's start period. - end_period: - type: optional - docs: The income statement's end period. - income: - type: optional> - access: read-only - cost_of_sales: - type: optional> - access: read-only - gross_profit: - type: optional - docs: The revenue minus the cost of sale. - operating_expenses: - type: optional> - access: read-only - net_operating_income: - type: optional - docs: The revenue minus the operating expenses. - non_operating_expenses: - type: optional> - access: read-only - net_income: - type: optional - docs: The gross profit minus the total expenses. - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - IndividualCommonModelScopeDeserializer: - properties: - model_name: string - model_permissions: optional> - field_permissions: optional - source: - openapi: openapi/openapi.yml - IndividualCommonModelScopeDeserializerRequest: - properties: - model_name: - type: string - validation: - minLength: 1 - model_permissions: optional> - field_permissions: optional - source: - openapi: openapi/openapi.yml - InvoiceType: - discriminated: false - docs: >- - Whether the invoice is an accounts receivable or accounts payable. If - `type` is `ACCOUNTS_PAYABLE`, the invoice is a bill. If `type` is - `ACCOUNTS_RECEIVABLE`, it is an invoice. - - - * `ACCOUNTS_RECEIVABLE` - ACCOUNTS_RECEIVABLE - - * `ACCOUNTS_PAYABLE` - ACCOUNTS_PAYABLE - union: - - InvoiceTypeEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - InvoiceContact: - discriminated: false - docs: The invoice's contact. - union: - - type: string - validation: - format: uuid - - Contact - source: - openapi: openapi/openapi.yml - inline: true - InvoiceCompany: - discriminated: false - docs: The company the invoice belongs to. - union: - - type: string - validation: - format: uuid - - CompanyInfo - source: - openapi: openapi/openapi.yml - inline: true - InvoiceEmployee: - discriminated: false - docs: The employee this overall transaction relates to. - union: - - type: string - validation: - format: uuid - - Employee - source: - openapi: openapi/openapi.yml - inline: true - InvoiceCurrency: - discriminated: false - docs: >- - The invoice's currency. - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - union: - - TransactionCurrencyEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - InvoicePaymentTerm: - discriminated: false - docs: The payment term that applies to this transaction. - union: - - type: string - validation: - format: uuid - - PaymentTerm - source: - openapi: openapi/openapi.yml - inline: true - InvoiceStatus: - discriminated: false - docs: |- - The status of the invoice. - - * `PAID` - PAID - * `DRAFT` - DRAFT - * `SUBMITTED` - SUBMITTED - * `PARTIALLY_PAID` - PARTIALLY_PAID - * `OPEN` - OPEN - * `VOID` - VOID - union: - - InvoiceStatusEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - InvoiceTrackingCategoriesItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - TrackingCategory - source: - openapi: openapi/openapi.yml - inline: true - InvoiceAccountingPeriod: - discriminated: false - docs: The accounting period that the Invoice was generated in. - union: - - type: string - validation: - format: uuid - - AccountingPeriod - source: - openapi: openapi/openapi.yml - inline: true - InvoicePurchaseOrdersItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - PurchaseOrder - source: - openapi: openapi/openapi.yml - inline: true - InvoicePaymentsItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - Payment - source: - openapi: openapi/openapi.yml - inline: true - InvoiceAppliedPaymentsItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - PaymentLineItem - source: - openapi: openapi/openapi.yml - inline: true - InvoiceAppliedCreditNotesItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - CreditNoteApplyLineForInvoice - source: - openapi: openapi/openapi.yml - inline: true - InvoiceAppliedVendorCreditsItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - VendorCreditApplyLineForInvoice - source: - openapi: openapi/openapi.yml - inline: true - Invoice: - docs: >- - # The Invoice Object - - ### Description - - The `Invoice` object represents an itemized record of goods and/or - services sold to a customer or bought from a vendor. - - - - Represents a Bill when the `Invoice` type is `ACCOUNTS_PAYABLE`. - References an Invoice when the `Invoice` type is `ACCOUNTS_RECEIVABLE`. - - - ### Usage Example - - Fetch from the `LIST Invoices` endpoint and view a company's invoices. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - type: - type: optional - docs: >- - Whether the invoice is an accounts receivable or accounts payable. If - `type` is `ACCOUNTS_PAYABLE`, the invoice is a bill. If `type` is - `ACCOUNTS_RECEIVABLE`, it is an invoice. - - - * `ACCOUNTS_RECEIVABLE` - ACCOUNTS_RECEIVABLE - - * `ACCOUNTS_PAYABLE` - ACCOUNTS_PAYABLE - contact: - type: optional - docs: The invoice's contact. - number: - type: optional - docs: The invoice's number. - issue_date: - type: optional - docs: The invoice's issue date. - due_date: - type: optional - docs: The invoice's due date. - paid_on_date: - type: optional - docs: The invoice's paid date. - memo: - type: optional - docs: The invoice's private note. - company: - type: optional - docs: The company the invoice belongs to. - employee: - type: optional - docs: The employee this overall transaction relates to. - currency: - type: optional - docs: >- - The invoice's currency. - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - exchange_rate: - type: optional - docs: The invoice's exchange rate. - validation: - pattern: ^-?\d{0,32}(?:\.\d{0,16})?$ - payment_term: - type: optional - docs: The payment term that applies to this transaction. - total_discount: - type: optional - docs: The total discounts applied to the total cost. - sub_total: - type: optional - docs: The total amount being paid before taxes. - status: - type: optional - docs: |- - The status of the invoice. - - * `PAID` - PAID - * `DRAFT` - DRAFT - * `SUBMITTED` - SUBMITTED - * `PARTIALLY_PAID` - PARTIALLY_PAID - * `OPEN` - OPEN - * `VOID` - VOID - total_tax_amount: - type: optional - docs: The total amount being paid in taxes. - total_amount: - type: optional - docs: The invoice's total amount. - balance: - type: optional - docs: The invoice's remaining balance. - remote_updated_at: - type: optional - docs: When the third party's invoice entry was updated. - tracking_categories: optional>> - accounting_period: - type: optional - docs: The accounting period that the Invoice was generated in. - purchase_orders: optional>> - payments: - type: optional>> - docs: Array of `Payment` object IDs. - applied_payments: - type: optional>> - docs: >- - A list of the Payment Applied to Lines common models related to a - given Invoice, Credit Note, or Journal Entry. - line_items: - type: optional> - access: read-only - applied_credit_notes: - type: optional> - docs: '`CreditNoteApplyLines` applied to the Invoice.' - access: read-only - applied_vendor_credits: - type: optional> - docs: '`VendorCreditApplyLines` applied to the Invoice.' - access: read-only - inclusive_of_tax: - type: optional - docs: >- - If the transaction is inclusive or exclusive of tax. `True` if - inclusive, `False` if exclusive. - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - remote_fields: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - InvoiceLineItemEmployee: - discriminated: false - docs: The employee this overall transaction relates to. - union: - - type: string - validation: - format: uuid - - Employee - source: - openapi: openapi/openapi.yml - inline: true - InvoiceLineItemProject: - discriminated: false - union: - - type: string - validation: - format: uuid - - Project - source: - openapi: openapi/openapi.yml - inline: true - InvoiceLineItemContact: - discriminated: false - docs: The invoice's contact. - union: - - type: string - validation: - format: uuid - - Contact - source: - openapi: openapi/openapi.yml - inline: true - InvoiceLineItemCurrency: - discriminated: false - docs: >- - The line item's currency. - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - union: - - TransactionCurrencyEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - InvoiceLineItemItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - Item - source: - openapi: openapi/openapi.yml - inline: true - InvoiceLineItemAccount: - discriminated: false - union: - - type: string - validation: - format: uuid - - Account - source: - openapi: openapi/openapi.yml - inline: true - InvoiceLineItemTrackingCategory: - discriminated: false - union: - - type: string - validation: - format: uuid - - TrackingCategory - source: - openapi: openapi/openapi.yml - inline: true - InvoiceLineItemTrackingCategoriesItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - TrackingCategory - source: - openapi: openapi/openapi.yml - inline: true - InvoiceLineItem: - docs: >- - # The InvoiceLineItem Object - - ### Description - - The `InvoiceLineItem` object represents an itemized record of goods and/or - services sold to a customer. - - - ### Usage Example - - Fetch from the `GET Invoice` endpoint and view the invoice's line items. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - description: - type: optional - docs: The line item's description. - unit_price: - type: optional - docs: The line item's unit price. - quantity: - type: optional - docs: The line item's quantity. - total_amount: - type: optional - docs: The line item's total amount. - employee: - type: optional - docs: The employee this overall transaction relates to. - project: optional - contact: - type: optional - docs: The invoice's contact. - currency: - type: optional - docs: >- - The line item's currency. - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - exchange_rate: - type: optional - docs: The line item's exchange rate. - validation: - pattern: ^-?\d{0,32}(?:\.\d{0,16})?$ - item: optional - account: optional - tax_rate: - type: optional - docs: The tax rate that applies to this line item. - validation: - format: uuid - tracking_category: - type: optional - availability: deprecated - tracking_categories: - type: optional>> - docs: The invoice line item's associated tracking categories. - company: - type: optional - docs: The company the invoice belongs to. - validation: - format: uuid - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - field_mappings: - type: optional> - access: read-only - remote_fields: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - InvoiceLineItemRequestEmployee: - discriminated: false - docs: The employee this overall transaction relates to. - union: - - type: string - validation: - format: uuid - - Employee - source: - openapi: openapi/openapi.yml - inline: true - InvoiceLineItemRequestProject: - discriminated: false - union: - - type: string - validation: - format: uuid - - Project - source: - openapi: openapi/openapi.yml - inline: true - InvoiceLineItemRequestContact: - discriminated: false - docs: The invoice's contact. - union: - - type: string - validation: - format: uuid - - Contact - source: - openapi: openapi/openapi.yml - inline: true - InvoiceLineItemRequestCurrency: - discriminated: false - docs: >- - The line item's currency. - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - union: - - TransactionCurrencyEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - InvoiceLineItemRequestItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - Item - source: - openapi: openapi/openapi.yml - inline: true - InvoiceLineItemRequestAccount: - discriminated: false - union: - - type: string - validation: - format: uuid - - Account - source: - openapi: openapi/openapi.yml - inline: true - InvoiceLineItemRequestTrackingCategory: - discriminated: false - union: - - type: string - validation: - format: uuid - - TrackingCategory - source: - openapi: openapi/openapi.yml - inline: true - InvoiceLineItemRequestTrackingCategoriesItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - TrackingCategory - source: - openapi: openapi/openapi.yml - inline: true - InvoiceLineItemRequest: - docs: >- - # The InvoiceLineItem Object - - ### Description - - The `InvoiceLineItem` object represents an itemized record of goods and/or - services sold to a customer. - - - ### Usage Example - - Fetch from the `GET Invoice` endpoint and view the invoice's line items. - properties: - remote_id: - type: optional - docs: The third-party API ID of the matching object. - description: - type: optional - docs: The line item's description. - unit_price: - type: optional - docs: The line item's unit price. - quantity: - type: optional - docs: The line item's quantity. - total_amount: - type: optional - docs: The line item's total amount. - employee: - type: optional - docs: The employee this overall transaction relates to. - project: optional - contact: - type: optional - docs: The invoice's contact. - currency: - type: optional - docs: >- - The line item's currency. - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - exchange_rate: - type: optional - docs: The line item's exchange rate. - validation: - pattern: ^-?\d{0,32}(?:\.\d{0,16})?$ - item: optional - account: optional - tax_rate: - type: optional - docs: The tax rate that applies to this line item. - validation: - format: uuid - tracking_category: - type: optional - availability: deprecated - tracking_categories: - type: optional>> - docs: The invoice line item's associated tracking categories. - company: - type: optional - docs: The company the invoice belongs to. - validation: - format: uuid - integration_params: - type: optional> - access: write-only - linked_account_params: - type: optional> - access: write-only - remote_fields: - type: optional> - access: write-only - source: - openapi: openapi/openapi.yml - InvoiceRequestType: - discriminated: false - docs: >- - Whether the invoice is an accounts receivable or accounts payable. If - `type` is `ACCOUNTS_PAYABLE`, the invoice is a bill. If `type` is - `ACCOUNTS_RECEIVABLE`, it is an invoice. - - - * `ACCOUNTS_RECEIVABLE` - ACCOUNTS_RECEIVABLE - - * `ACCOUNTS_PAYABLE` - ACCOUNTS_PAYABLE - union: - - InvoiceTypeEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - InvoiceRequestContact: - discriminated: false - docs: The invoice's contact. - union: - - type: string - validation: - format: uuid - - Contact - source: - openapi: openapi/openapi.yml - inline: true - InvoiceRequestEmployee: - discriminated: false - docs: The employee this overall transaction relates to. - union: - - type: string - validation: - format: uuid - - Employee - source: - openapi: openapi/openapi.yml - inline: true - InvoiceRequestStatus: - discriminated: false - docs: |- - The status of the invoice. - - * `PAID` - PAID - * `DRAFT` - DRAFT - * `SUBMITTED` - SUBMITTED - * `PARTIALLY_PAID` - PARTIALLY_PAID - * `OPEN` - OPEN - * `VOID` - VOID - union: - - InvoiceStatusEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - InvoiceRequestCompany: - discriminated: false - docs: The company the invoice belongs to. - union: - - type: string - validation: - format: uuid - - CompanyInfo - source: - openapi: openapi/openapi.yml - inline: true - InvoiceRequestCurrency: - discriminated: false - docs: >- - The invoice's currency. - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - union: - - TransactionCurrencyEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - InvoiceRequestPaymentTerm: - discriminated: false - docs: The payment term that applies to this transaction. - union: - - type: string - validation: - format: uuid - - PaymentTerm - source: - openapi: openapi/openapi.yml - inline: true - InvoiceRequestPaymentsItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - Payment - source: - openapi: openapi/openapi.yml - inline: true - InvoiceRequestTrackingCategoriesItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - TrackingCategory - source: - openapi: openapi/openapi.yml - inline: true - InvoiceRequestPurchaseOrdersItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - PurchaseOrder - source: - openapi: openapi/openapi.yml - inline: true - InvoiceRequest: - docs: >- - # The Invoice Object - - ### Description - - The `Invoice` object represents an itemized record of goods and/or - services sold to a customer or bought from a vendor. - - - - Represents a Bill when the `Invoice` type is `ACCOUNTS_PAYABLE`. - References an Invoice when the `Invoice` type is `ACCOUNTS_RECEIVABLE`. - - - ### Usage Example - - Fetch from the `LIST Invoices` endpoint and view a company's invoices. - properties: - type: - type: optional - docs: >- - Whether the invoice is an accounts receivable or accounts payable. If - `type` is `ACCOUNTS_PAYABLE`, the invoice is a bill. If `type` is - `ACCOUNTS_RECEIVABLE`, it is an invoice. - - - * `ACCOUNTS_RECEIVABLE` - ACCOUNTS_RECEIVABLE - - * `ACCOUNTS_PAYABLE` - ACCOUNTS_PAYABLE - contact: - type: optional - docs: The invoice's contact. - number: - type: optional - docs: The invoice's number. - issue_date: - type: optional - docs: The invoice's issue date. - due_date: - type: optional - docs: The invoice's due date. - paid_on_date: - type: optional - docs: The invoice's paid date. - employee: - type: optional - docs: The employee this overall transaction relates to. - memo: - type: optional - docs: The invoice's private note. - status: - type: optional - docs: |- - The status of the invoice. - - * `PAID` - PAID - * `DRAFT` - DRAFT - * `SUBMITTED` - SUBMITTED - * `PARTIALLY_PAID` - PARTIALLY_PAID - * `OPEN` - OPEN - * `VOID` - VOID - company: - type: optional - docs: The company the invoice belongs to. - currency: - type: optional - docs: >- - The invoice's currency. - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - exchange_rate: - type: optional - docs: The invoice's exchange rate. - validation: - pattern: ^-?\d{0,32}(?:\.\d{0,16})?$ - total_discount: - type: optional - docs: The total discounts applied to the total cost. - sub_total: - type: optional - docs: The total amount being paid before taxes. - payment_term: - type: optional - docs: The payment term that applies to this transaction. - total_tax_amount: - type: optional - docs: The total amount being paid in taxes. - inclusive_of_tax: - type: optional - docs: >- - If the transaction is inclusive or exclusive of tax. `True` if - inclusive, `False` if exclusive. - total_amount: - type: optional - docs: The invoice's total amount. - balance: - type: optional - docs: The invoice's remaining balance. - payments: - type: optional>> - docs: Array of `Payment` object IDs. - tracking_categories: optional>> - line_items: optional> - purchase_orders: optional>> - integration_params: - type: optional> - access: write-only - linked_account_params: - type: optional> - access: write-only - remote_fields: - type: optional> - access: write-only - source: - openapi: openapi/openapi.yml - InvoiceResponse: - properties: - model: Invoice - warnings: list - errors: list - logs: optional> - source: - openapi: openapi/openapi.yml - InvoiceStatusEnum: - enum: - - PAID - - DRAFT - - SUBMITTED - - PARTIALLY_PAID - - OPEN - - VOID - docs: |- - * `PAID` - PAID - * `DRAFT` - DRAFT - * `SUBMITTED` - SUBMITTED - * `PARTIALLY_PAID` - PARTIALLY_PAID - * `OPEN` - OPEN - * `VOID` - VOID - source: - openapi: openapi/openapi.yml - InvoiceTypeEnum: - enum: - - ACCOUNTS_RECEIVABLE - - ACCOUNTS_PAYABLE - docs: |- - * `ACCOUNTS_RECEIVABLE` - ACCOUNTS_RECEIVABLE - * `ACCOUNTS_PAYABLE` - ACCOUNTS_PAYABLE - source: - openapi: openapi/openapi.yml - IssueStatus: - discriminated: false - docs: |- - Status of the issue. Options: ('ONGOING', 'RESOLVED') - - * `ONGOING` - ONGOING - * `RESOLVED` - RESOLVED - union: - - IssueStatusEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - Issue: - properties: - id: - type: optional - validation: - format: uuid - access: read-only - status: - type: optional - docs: |- - Status of the issue. Options: ('ONGOING', 'RESOLVED') - - * `ONGOING` - ONGOING - * `RESOLVED` - RESOLVED - error_description: string - end_user: - type: optional> - access: read-only - first_incident_time: optional - last_incident_time: optional - is_muted: - type: optional - access: read-only - error_details: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - IssueStatusEnum: - enum: - - ONGOING - - RESOLVED - docs: |- - * `ONGOING` - ONGOING - * `RESOLVED` - RESOLVED - source: - openapi: openapi/openapi.yml - ItemStatus: - discriminated: false - docs: |- - The item's status. - - * `ACTIVE` - ACTIVE - * `ARCHIVED` - ARCHIVED - union: - - Status7D1Enum - - string - source: - openapi: openapi/openapi.yml - inline: true - ItemType: - discriminated: false - docs: |- - The item's type. - - * `INVENTORY` - INVENTORY - * `NON_INVENTORY` - NON_INVENTORY - * `SERVICE` - SERVICE - * `UNKNOWN` - UNKNOWN - union: - - Type2BbEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - ItemPurchaseAccount: - discriminated: false - docs: References the default account used to record a purchase of the item. - union: - - type: string - validation: - format: uuid - - Account - source: - openapi: openapi/openapi.yml - inline: true - ItemSalesAccount: - discriminated: false - docs: References the default account used to record a sale. - union: - - type: string - validation: - format: uuid - - Account - source: - openapi: openapi/openapi.yml - inline: true - ItemCompany: - discriminated: false - docs: The company the item belongs to. - union: - - type: string - validation: - format: uuid - - CompanyInfo - source: - openapi: openapi/openapi.yml - inline: true - ItemPurchaseTaxRate: - discriminated: false - docs: The default purchase tax rate for this item. - union: - - type: string - validation: - format: uuid - - TaxRate - source: - openapi: openapi/openapi.yml - inline: true - ItemSalesTaxRate: - discriminated: false - docs: The default sales tax rate for this item. - union: - - type: string - validation: - format: uuid - - TaxRate - source: - openapi: openapi/openapi.yml - inline: true - Item: - docs: |- - # The Item Object - ### Description - The `Item` object refers to the goods involved in a transaction. - - ### Usage Example - Fetch from the `LIST Items` endpoint and view a company's items. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - name: - type: optional - docs: The item's name. - status: - type: optional - docs: |- - The item's status. - - * `ACTIVE` - ACTIVE - * `ARCHIVED` - ARCHIVED - type: - type: optional - docs: |- - The item's type. - - * `INVENTORY` - INVENTORY - * `NON_INVENTORY` - NON_INVENTORY - * `SERVICE` - SERVICE - * `UNKNOWN` - UNKNOWN - unit_price: - type: optional - docs: The item's unit price. - purchase_price: - type: optional - docs: The price at which the item is purchased from a vendor. - purchase_account: - type: optional - docs: References the default account used to record a purchase of the item. - sales_account: - type: optional - docs: References the default account used to record a sale. - company: - type: optional - docs: The company the item belongs to. - purchase_tax_rate: - type: optional - docs: The default purchase tax rate for this item. - sales_tax_rate: - type: optional - docs: The default sales tax rate for this item. - remote_updated_at: - type: optional - docs: When the third party's item note was updated. - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - ItemFormatEnum: - enum: - - string - - number - - date - - datetime - - bool - - list - docs: |- - * `string` - uuid - * `number` - url - * `date` - email - * `datetime` - phone - * `bool` - currency - * `list` - decimal - source: - openapi: openapi/openapi.yml - ItemRequestRequestStatus: - discriminated: false - docs: |- - The item's status. - - * `ACTIVE` - ACTIVE - * `ARCHIVED` - ARCHIVED - union: - - Status7D1Enum - - string - source: - openapi: openapi/openapi.yml - inline: true - ItemRequestRequestType: - discriminated: false - docs: |- - The item's type. - - * `INVENTORY` - INVENTORY - * `NON_INVENTORY` - NON_INVENTORY - * `SERVICE` - SERVICE - * `UNKNOWN` - UNKNOWN - union: - - Type2BbEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - ItemRequestRequestPurchaseAccount: - discriminated: false - docs: References the default account used to record a purchase of the item. - union: - - type: string - validation: - format: uuid - - Account - source: - openapi: openapi/openapi.yml - inline: true - ItemRequestRequestSalesAccount: - discriminated: false - docs: References the default account used to record a sale. - union: - - type: string - validation: - format: uuid - - Account - source: - openapi: openapi/openapi.yml - inline: true - ItemRequestRequestCompany: - discriminated: false - docs: The company the item belongs to. - union: - - type: string - validation: - format: uuid - - CompanyInfo - source: - openapi: openapi/openapi.yml - inline: true - ItemRequestRequestPurchaseTaxRate: - discriminated: false - docs: The default purchase tax rate for this item. - union: - - type: string - validation: - format: uuid - - TaxRate - source: - openapi: openapi/openapi.yml - inline: true - ItemRequestRequestSalesTaxRate: - discriminated: false - docs: The default sales tax rate for this item. - union: - - type: string - validation: - format: uuid - - TaxRate - source: - openapi: openapi/openapi.yml - inline: true - ItemRequestRequest: - docs: |- - # The Item Object - ### Description - The `Item` object refers to the goods involved in a transaction. - - ### Usage Example - Fetch from the `LIST Items` endpoint and view a company's items. - properties: - name: - type: optional - docs: The item's name. - status: - type: optional - docs: |- - The item's status. - - * `ACTIVE` - ACTIVE - * `ARCHIVED` - ARCHIVED - type: - type: optional - docs: |- - The item's type. - - * `INVENTORY` - INVENTORY - * `NON_INVENTORY` - NON_INVENTORY - * `SERVICE` - SERVICE - * `UNKNOWN` - UNKNOWN - unit_price: - type: optional - docs: The item's unit price. - purchase_price: - type: optional - docs: The price at which the item is purchased from a vendor. - purchase_account: - type: optional - docs: References the default account used to record a purchase of the item. - sales_account: - type: optional - docs: References the default account used to record a sale. - company: - type: optional - docs: The company the item belongs to. - purchase_tax_rate: - type: optional - docs: The default purchase tax rate for this item. - sales_tax_rate: - type: optional - docs: The default sales tax rate for this item. - integration_params: - type: optional> - access: write-only - linked_account_params: - type: optional> - access: write-only - source: - openapi: openapi/openapi.yml - ItemResponse: - properties: - model: Item - warnings: list - errors: list - logs: optional> - source: - openapi: openapi/openapi.yml - ItemSchema: - properties: - item_type: optional - item_format: optional - item_choices: optional> - source: - openapi: openapi/openapi.yml - ItemTypeEnum: - enum: - - string - - number - - date - - datetime - - bool - - list - docs: |- - * `string` - string - * `number` - number - * `date` - date - * `datetime` - datetime - * `bool` - bool - * `list` - list - source: - openapi: openapi/openapi.yml - JournalEntryPaymentsItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - Payment - source: - openapi: openapi/openapi.yml - inline: true - JournalEntryAppliedPaymentsItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - PaymentLineItem - source: - openapi: openapi/openapi.yml - inline: true - JournalEntryCurrency: - discriminated: false - docs: >- - The journal's currency. - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - union: - - TransactionCurrencyEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - JournalEntryCompany: - discriminated: false - docs: The company the journal entry belongs to. - union: - - type: string - validation: - format: uuid - - CompanyInfo - source: - openapi: openapi/openapi.yml - inline: true - JournalEntryTrackingCategoriesItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - TrackingCategory - source: - openapi: openapi/openapi.yml - inline: true - JournalEntryPostingStatus: - discriminated: false - docs: |- - The journal's posting status. - - * `UNPOSTED` - UNPOSTED - * `POSTED` - POSTED - union: - - PostingStatusEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - JournalEntryAccountingPeriod: - discriminated: false - docs: The accounting period that the JournalEntry was generated in. - union: - - type: string - validation: - format: uuid - - AccountingPeriod - source: - openapi: openapi/openapi.yml - inline: true - JournalEntry: - docs: >- - # The JournalEntry Object - - ### Description - - A `JournalEntry` is a record of a transaction or event that is entered - into a company's accounting system. - - - The `JournalEntry` common model contains records that are automatically - created as a result of a certain type of transaction, like an Invoice, and - records that are manually created against a company’s ledger. - - - The lines of a given `JournalEntry` object should always sum to 0. A - positive `net_amount` means the line represents a debit and a negative - net_amount represents a credit. - - - ### Usage Example - - Fetch from the `GET JournalEntry` endpoint and view a company's journey - entry. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - transaction_date: - type: optional - docs: The journal entry's transaction date. - payments: - type: optional>> - docs: Array of `Payment` object IDs. - applied_payments: - type: optional>> - docs: >- - A list of the Payment Applied to Lines common models related to a - given Invoice, Credit Note, or Journal Entry. - memo: - type: optional - docs: The journal entry's private note. - currency: - type: optional - docs: >- - The journal's currency. - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - exchange_rate: - type: optional - docs: The journal entry's exchange rate. - validation: - pattern: ^-?\d{0,32}(?:\.\d{0,16})?$ - company: - type: optional - docs: The company the journal entry belongs to. - inclusive_of_tax: - type: optional - docs: >- - If the transaction is inclusive or exclusive of tax. `True` if - inclusive, `False` if exclusive. - lines: - type: optional> - access: read-only - journal_number: - type: optional - docs: Reference number for identifying journal entries. - validation: - maxLength: 70 - tracking_categories: optional>> - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - posting_status: - type: optional - docs: |- - The journal's posting status. - - * `UNPOSTED` - UNPOSTED - * `POSTED` - POSTED - accounting_period: - type: optional - docs: The accounting period that the JournalEntry was generated in. - remote_created_at: - type: optional - docs: When the third party's journal entry was created. - remote_updated_at: - type: optional - docs: When the third party's journal entry was updated. - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - remote_fields: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - JournalEntryRequestPaymentsItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - Payment - source: - openapi: openapi/openapi.yml - inline: true - JournalEntryRequestCurrency: - discriminated: false - docs: >- - The journal's currency. - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - union: - - TransactionCurrencyEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - JournalEntryRequestCompany: - discriminated: false - docs: The company the journal entry belongs to. - union: - - type: string - validation: - format: uuid - - CompanyInfo - source: - openapi: openapi/openapi.yml - inline: true - JournalEntryRequestTrackingCategoriesItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - TrackingCategory - source: - openapi: openapi/openapi.yml - inline: true - JournalEntryRequestPostingStatus: - discriminated: false - docs: |- - The journal's posting status. - - * `UNPOSTED` - UNPOSTED - * `POSTED` - POSTED - union: - - PostingStatusEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - JournalEntryRequest: - docs: >- - # The JournalEntry Object - - ### Description - - The `JournalEntry` object is used to get a record of all manually created - entries made in a company’s general ledger. The journal line items for - each journal entry should sum to zero. - - - ### Usage Example - - Fetch from the `GET JournalEntry` endpoint and view a company's journey - entry. - properties: - transaction_date: - type: optional - docs: The journal entry's transaction date. - payments: - type: optional>> - docs: Array of `Payment` object IDs. - memo: - type: optional - docs: The journal entry's private note. - currency: - type: optional - docs: >- - The journal's currency. - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - exchange_rate: - type: optional - docs: The journal entry's exchange rate. - validation: - pattern: ^-?\d{0,32}(?:\.\d{0,16})?$ - company: - type: optional - docs: The company the journal entry belongs to. - tracking_categories: optional>> - inclusive_of_tax: - type: optional - docs: >- - If the transaction is inclusive or exclusive of tax. `True` if - inclusive, `False` if exclusive. - lines: optional> - journal_number: - type: optional - docs: Reference number for identifying journal entries. - validation: - maxLength: 70 - posting_status: - type: optional - docs: |- - The journal's posting status. - - * `UNPOSTED` - UNPOSTED - * `POSTED` - POSTED - integration_params: - type: optional> - access: write-only - linked_account_params: - type: optional> - access: write-only - remote_fields: - type: optional> - access: write-only - source: - openapi: openapi/openapi.yml - JournalEntryResponse: - properties: - model: JournalEntry - warnings: list - errors: list - logs: optional> - source: - openapi: openapi/openapi.yml - JournalLineAccount: - discriminated: false - union: - - type: string - validation: - format: uuid - - Account - source: - openapi: openapi/openapi.yml - inline: true - JournalLineTrackingCategory: - discriminated: false - union: - - type: string - validation: - format: uuid - - TrackingCategory - source: - openapi: openapi/openapi.yml - inline: true - JournalLineTrackingCategoriesItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - TrackingCategory - source: - openapi: openapi/openapi.yml - inline: true - JournalLineCurrency: - discriminated: false - docs: >- - The journal line item's currency. - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - union: - - TransactionCurrencyEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - JournalLineProject: - discriminated: false - union: - - type: string - validation: - format: uuid - - Project - source: - openapi: openapi/openapi.yml - inline: true - JournalLine: - docs: >- - # The JournalLine Object - - ### Description - - The `JournalLine` object is used to represent a journal entry's line - items. - - - ### Usage Example - - Fetch from the `GET JournalEntry` endpoint and view the journal entry's - line items. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - account: optional - net_amount: - type: optional - docs: The value of the line item including taxes and other fees. - tracking_category: - type: optional - availability: deprecated - tracking_categories: - type: optional>> - docs: The journal line item's associated tracking categories. - currency: - type: optional - docs: >- - The journal line item's currency. - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - company: - type: optional - docs: The company the journal entry belongs to. - validation: - format: uuid - employee: - type: optional - validation: - format: uuid - project: optional - contact: - type: optional - validation: - format: uuid - tax_rate: - type: optional - docs: The tax rate that applies to this line item. - validation: - format: uuid - description: - type: optional - docs: The line's description. - exchange_rate: - type: optional - docs: The journal line item's exchange rate. - validation: - pattern: ^-?\d{0,32}(?:\.\d{0,16})?$ - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - remote_fields: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - JournalLineRequestAccount: - discriminated: false - union: - - type: string - validation: - format: uuid - - Account - source: - openapi: openapi/openapi.yml - inline: true - JournalLineRequestTrackingCategory: - discriminated: false - union: - - type: string - validation: - format: uuid - - TrackingCategory - source: - openapi: openapi/openapi.yml - inline: true - JournalLineRequestTrackingCategoriesItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - TrackingCategory - source: - openapi: openapi/openapi.yml - inline: true - JournalLineRequestCurrency: - discriminated: false - docs: >- - The journal line item's currency. - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - union: - - TransactionCurrencyEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - JournalLineRequestProject: - discriminated: false - union: - - type: string - validation: - format: uuid - - Project - source: - openapi: openapi/openapi.yml - inline: true - JournalLineRequest: - docs: >- - # The JournalLine Object - - ### Description - - The `JournalLine` object is used to represent a journal entry's line - items. - - - ### Usage Example - - Fetch from the `GET JournalEntry` endpoint and view the journal entry's - line items. - properties: - remote_id: - type: optional - docs: The third-party API ID of the matching object. - account: optional - net_amount: - type: optional - docs: The value of the line item including taxes and other fees. - tracking_category: - type: optional - availability: deprecated - tracking_categories: - type: optional>> - docs: The journal line item's associated tracking categories. - currency: - type: optional - docs: >- - The journal line item's currency. - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - company: - type: optional - docs: The company the journal entry belongs to. - validation: - format: uuid - employee: - type: optional - validation: - format: uuid - project: optional - contact: - type: optional - validation: - format: uuid - tax_rate: - type: optional - docs: The tax rate that applies to this line item. - validation: - format: uuid - description: - type: optional - docs: The line's description. - exchange_rate: - type: optional - docs: The journal line item's exchange rate. - validation: - pattern: ^-?\d{0,32}(?:\.\d{0,16})?$ - integration_params: - type: optional> - access: write-only - linked_account_params: - type: optional> - access: write-only - remote_fields: - type: optional> - access: write-only - source: - openapi: openapi/openapi.yml - LanguageEnum: - enum: - - en - - de - docs: |- - * `en` - en - * `de` - de - source: - openapi: openapi/openapi.yml - LastSyncResultEnum: - enum: - - SYNCING - - DONE - - FAILED - - DISABLED - - PAUSED - - PARTIALLY_SYNCED - docs: |- - * `SYNCING` - SYNCING - * `DONE` - DONE - * `FAILED` - FAILED - * `DISABLED` - DISABLED - * `PAUSED` - PAUSED - * `PARTIALLY_SYNCED` - PARTIALLY_SYNCED - source: - openapi: openapi/openapi.yml - LinkToken: - properties: - link_token: string - integration_name: optional - magic_link_url: optional - source: - openapi: openapi/openapi.yml - LinkedAccountStatus: - properties: - linked_account_status: string - can_make_request: boolean - source: - openapi: openapi/openapi.yml - MetaResponse: - properties: - request_schema: map - remote_field_classes: optional> - status: optional - has_conditional_params: boolean - has_required_linked_account_params: boolean - source: - openapi: openapi/openapi.yml - MethodEnum: - enum: - - GET - - OPTIONS - - HEAD - - POST - - PUT - - PATCH - - DELETE - docs: |- - * `GET` - GET - * `OPTIONS` - OPTIONS - * `HEAD` - HEAD - * `POST` - POST - * `PUT` - PUT - * `PATCH` - PATCH - * `DELETE` - DELETE - source: - openapi: openapi/openapi.yml - MethodTypeEnum: - enum: - - CREDIT_CARD - - DEBIT_CARD - - ACH - - CASH - - CHECK - docs: |- - * `CREDIT_CARD` - CREDIT_CARD - * `DEBIT_CARD` - DEBIT_CARD - * `ACH` - ACH - * `CASH` - CASH - * `CHECK` - CHECK - source: - openapi: openapi/openapi.yml - ModelOperation: - docs: >- - # The ModelOperation Object - - ### Description - - The `ModelOperation` object is used to represent the operations that are - currently supported for a given model. - - - ### Usage Example - - View what operations are supported for the `Candidate` endpoint. - properties: - model_name: string - available_operations: list - required_post_parameters: list - supported_fields: list - source: - openapi: openapi/openapi.yml - ModelPermissionDeserializer: - properties: - is_enabled: optional - source: - openapi: openapi/openapi.yml - ModelPermissionDeserializerRequest: - properties: - is_enabled: optional - source: - openapi: openapi/openapi.yml - MultipartFormFieldRequestEncoding: - discriminated: false - docs: |- - The encoding of the value of `data`. Defaults to `RAW` if not defined. - - * `RAW` - RAW - * `BASE64` - BASE64 - * `GZIP_BASE64` - GZIP_BASE64 - union: - - EncodingEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - MultipartFormFieldRequest: - docs: >- - # The MultipartFormField Object - - ### Description - - The `MultipartFormField` object is used to represent fields in an HTTP - request using `multipart/form-data`. - - - ### Usage Example - - Create a `MultipartFormField` to define a multipart form entry. - properties: - name: - type: string - docs: The name of the form field - validation: - minLength: 1 - data: - type: string - docs: The data for the form field. - validation: - minLength: 1 - encoding: - type: optional - docs: |- - The encoding of the value of `data`. Defaults to `RAW` if not defined. - - * `RAW` - RAW - * `BASE64` - BASE64 - * `GZIP_BASE64` - GZIP_BASE64 - file_name: - type: optional - docs: The file name of the form field, if the field is for a file. - validation: - minLength: 1 - content_type: - type: optional - docs: The MIME type of the file, if the field is for a file. - validation: - minLength: 1 - source: - openapi: openapi/openapi.yml - PaginatedAccountDetailsAndActionsList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedAccountList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedAccountingAttachmentList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedAccountingPeriodList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedAuditLogEventList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedBalanceSheetList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedBankFeedAccountList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedBankFeedTransactionList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedCashFlowStatementList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedCompanyInfoList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedContactList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedCreditNoteList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedEmployeeList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedExpenseList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedExpenseReportLineList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedExpenseReportList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedGeneralLedgerTransactionList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedIncomeStatementList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedInvoiceList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedIssueList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedItemList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedJournalEntryList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedPaymentList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedPaymentMethodList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedPaymentTermList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedProjectList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedPurchaseOrderList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedRemoteFieldClassList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedSyncStatusList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedTaxRateList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedTrackingCategoryList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedTransactionList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedVendorCreditList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PatchedContactRequestAddressesItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - Address - source: - openapi: openapi/openapi.yml - inline: true - PatchedContactRequest: - docs: >- - # The Contact Object - - ### Description - - A `Contact` is an individual or business entity to which products and - services are sold to or purchased from. The `Contact` model contains both - Customers, in which products and services are sold to, and Vendors (or - Suppliers), in which products and services are purchased from. - - * A `Contact` is a Vendor/Supplier if the `is_supplier` property is true. - - * A `Contact` is a customer if the `is_customer` property is true. - - - ### Usage Example - - Fetch from the `LIST Contacts` endpoint and view a company's contacts. - properties: - name: - type: optional - docs: The contact's name. - is_supplier: - type: optional - docs: Whether the contact is a supplier. - is_customer: - type: optional - docs: Whether the contact is a customer. - email_address: - type: optional - docs: The contact's email address. - tax_number: - type: optional - docs: The contact's tax number. - status: - type: optional - docs: |- - The contact's status - - * `ACTIVE` - ACTIVE - * `ARCHIVED` - ARCHIVED - currency: - type: optional - docs: The currency the contact's transactions are in. - company: - type: optional - docs: The company the contact belongs to. - validation: - format: uuid - addresses: - type: optional>> - docs: '`Address` object IDs for the given `Contacts` object.' - phone_numbers: - type: optional> - docs: '`AccountingPhoneNumber` object for the given `Contacts` object.' - integration_params: - type: optional> - access: write-only - linked_account_params: - type: optional> - access: write-only - remote_fields: - type: optional> - access: write-only - source: - openapi: openapi/openapi.yml - PatchedItemRequestRequestStatus: - discriminated: false - docs: |- - The item's status. - - * `ACTIVE` - ACTIVE - * `ARCHIVED` - ARCHIVED - union: - - Status7D1Enum - - string - source: - openapi: openapi/openapi.yml - inline: true - PatchedItemRequestRequestType: - discriminated: false - docs: |- - The item's type. - - * `INVENTORY` - INVENTORY - * `NON_INVENTORY` - NON_INVENTORY - * `SERVICE` - SERVICE - * `UNKNOWN` - UNKNOWN - union: - - Type2BbEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - PatchedItemRequestRequest: - docs: |- - # The Item Object - ### Description - The `Item` object refers to the goods involved in a transaction. - - ### Usage Example - Fetch from the `LIST Items` endpoint and view a company's items. - properties: - name: - type: optional - docs: The item's name. - status: - type: optional - docs: |- - The item's status. - - * `ACTIVE` - ACTIVE - * `ARCHIVED` - ARCHIVED - type: - type: optional - docs: |- - The item's type. - - * `INVENTORY` - INVENTORY - * `NON_INVENTORY` - NON_INVENTORY - * `SERVICE` - SERVICE - * `UNKNOWN` - UNKNOWN - unit_price: - type: optional - docs: The item's unit price. - purchase_price: - type: optional - docs: The price at which the item is purchased from a vendor. - purchase_account: - type: optional - docs: References the default account used to record a purchase of the item. - validation: - format: uuid - sales_account: - type: optional - docs: References the default account used to record a sale. - validation: - format: uuid - company: - type: optional - docs: The company the item belongs to. - validation: - format: uuid - purchase_tax_rate: - type: optional - docs: The default purchase tax rate for this item. - validation: - format: uuid - sales_tax_rate: - type: optional - docs: The default sales tax rate for this item. - validation: - format: uuid - integration_params: - type: optional> - access: write-only - linked_account_params: - type: optional> - access: write-only - source: - openapi: openapi/openapi.yml - PatchedPaymentRequestContact: - discriminated: false - docs: The supplier, or customer involved in the payment. - union: - - type: string - validation: - format: uuid - - Contact - source: - openapi: openapi/openapi.yml - inline: true - PatchedPaymentRequestAccount: - discriminated: false - docs: The supplier’s or customer’s account in which the payment is made. - union: - - type: string - validation: - format: uuid - - Account - source: - openapi: openapi/openapi.yml - inline: true - PatchedPaymentRequestPaymentMethod: - discriminated: false - docs: The method which this payment was made by. - union: - - type: string - validation: - format: uuid - - PaymentMethod - source: - openapi: openapi/openapi.yml - inline: true - PatchedPaymentRequestCurrency: - discriminated: false - docs: >- - The payment's currency. - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - union: - - TransactionCurrencyEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - PatchedPaymentRequestCompany: - discriminated: false - docs: The company the payment belongs to. - union: - - type: string - validation: - format: uuid - - CompanyInfo - source: - openapi: openapi/openapi.yml - inline: true - PatchedPaymentRequestType: - discriminated: false - docs: |- - The type of the invoice. - - * `ACCOUNTS_PAYABLE` - ACCOUNTS_PAYABLE - * `ACCOUNTS_RECEIVABLE` - ACCOUNTS_RECEIVABLE - union: - - PaymentTypeEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - PatchedPaymentRequestTrackingCategoriesItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - TrackingCategory - source: - openapi: openapi/openapi.yml - inline: true - PatchedPaymentRequestAccountingPeriod: - discriminated: false - docs: The accounting period that the Payment was generated in. - union: - - type: string - validation: - format: uuid - - AccountingPeriod - source: - openapi: openapi/openapi.yml - inline: true - PatchedPaymentRequestAppliedToLinesItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - PaymentLineItemRequest - source: - openapi: openapi/openapi.yml - inline: true - PatchedPaymentRequest: - docs: >- - # The Payment Object - - ### Description - - The `Payment` object represents general payments made towards a specific - transaction. - - - ### Usage Example - - Fetch from the `GET Payment` endpoint and view an invoice's payment. - properties: - transaction_date: - type: optional - docs: The payment's transaction date. - contact: - type: optional - docs: The supplier, or customer involved in the payment. - account: - type: optional - docs: The supplier’s or customer’s account in which the payment is made. - payment_method: - type: optional - docs: The method which this payment was made by. - currency: - type: optional - docs: >- - The payment's currency. - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - exchange_rate: - type: optional - docs: The payment's exchange rate. - validation: - pattern: ^-?\d{0,32}(?:\.\d{0,16})?$ - company: - type: optional - docs: The company the payment belongs to. - total_amount: - type: optional - docs: >- - The total amount of money being paid to the supplier, or customer, - after taxes. - type: - type: optional - docs: |- - The type of the invoice. - - * `ACCOUNTS_PAYABLE` - ACCOUNTS_PAYABLE - * `ACCOUNTS_RECEIVABLE` - ACCOUNTS_RECEIVABLE - tracking_categories: optional>> - accounting_period: - type: optional - docs: The accounting period that the Payment was generated in. - applied_to_lines: - type: optional> - docs: A list of “Payment Applied to Lines” objects. - integration_params: - type: optional> - access: write-only - linked_account_params: - type: optional> - access: write-only - remote_fields: - type: optional> - access: write-only - source: - openapi: openapi/openapi.yml - PaymentContact: - discriminated: false - docs: The supplier, or customer involved in the payment. - union: - - type: string - validation: - format: uuid - - Contact - source: - openapi: openapi/openapi.yml - inline: true - PaymentAccount: - discriminated: false - docs: The supplier’s or customer’s account in which the payment is made. - union: - - type: string - validation: - format: uuid - - Account - source: - openapi: openapi/openapi.yml - inline: true - PaymentPaymentMethod: - discriminated: false - docs: The method which this payment was made by. - union: - - type: string - validation: - format: uuid - - PaymentMethod - source: - openapi: openapi/openapi.yml - inline: true - PaymentCurrency: - discriminated: false - docs: >- - The payment's currency. - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - union: - - TransactionCurrencyEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - PaymentCompany: - discriminated: false - docs: The company the payment belongs to. - union: - - type: string - validation: - format: uuid - - CompanyInfo - source: - openapi: openapi/openapi.yml - inline: true - PaymentType: - discriminated: false - docs: |- - The type of the invoice. - - * `ACCOUNTS_PAYABLE` - ACCOUNTS_PAYABLE - * `ACCOUNTS_RECEIVABLE` - ACCOUNTS_RECEIVABLE - union: - - PaymentTypeEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - PaymentTrackingCategoriesItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - TrackingCategory - source: - openapi: openapi/openapi.yml - inline: true - PaymentAccountingPeriod: - discriminated: false - docs: The accounting period that the Payment was generated in. - union: - - type: string - validation: - format: uuid - - AccountingPeriod - source: - openapi: openapi/openapi.yml - inline: true - PaymentAppliedToLinesItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - PaymentLineItem - source: - openapi: openapi/openapi.yml - inline: true - Payment: - docs: >- - # The Payment Object - - ### Description - - The `Payment` object represents general payments made towards a specific - transaction. - - - ### Usage Example - - Fetch from the `GET Payment` endpoint and view an invoice's payment. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - transaction_date: - type: optional - docs: The payment's transaction date. - contact: - type: optional - docs: The supplier, or customer involved in the payment. - account: - type: optional - docs: The supplier’s or customer’s account in which the payment is made. - payment_method: - type: optional - docs: The method which this payment was made by. - currency: - type: optional - docs: >- - The payment's currency. - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - exchange_rate: - type: optional - docs: The payment's exchange rate. - validation: - pattern: ^-?\d{0,32}(?:\.\d{0,16})?$ - company: - type: optional - docs: The company the payment belongs to. - total_amount: - type: optional - docs: >- - The total amount of money being paid to the supplier, or customer, - after taxes. - type: - type: optional - docs: |- - The type of the invoice. - - * `ACCOUNTS_PAYABLE` - ACCOUNTS_PAYABLE - * `ACCOUNTS_RECEIVABLE` - ACCOUNTS_RECEIVABLE - tracking_categories: optional>> - accounting_period: - type: optional - docs: The accounting period that the Payment was generated in. - applied_to_lines: - type: optional> - docs: A list of “Payment Applied to Lines” objects. - remote_updated_at: - type: optional - docs: When the third party's payment entry was updated. - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - remote_fields: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - PaymentLineItem: - docs: >- - # The PaymentLineItem Object - - ### Description - - The `PaymentLineItem` object is an applied-to-line on a `Payment` that can - either be a `Invoice`, `CreditNote`, or `JournalEntry`. - - - ### Usage Example - - `Payment` will have a field called `applied-to-lines` which will be an - array of `PaymentLineItemInternalMappingSerializer` objects that can - either be a `Invoice`, `CreditNote`, or `JournalEntry`. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - applied_amount: - type: optional - docs: The amount being applied to the transaction. - validation: - pattern: ^-?\d{0,32}(?:\.\d{0,16})?$ - applied_date: - type: optional - docs: The date the payment portion is applied. - related_object_id: - type: optional - docs: >- - The Merge ID of the transaction the payment portion is being applied - to. - validation: - format: uuid - related_object_type: - type: optional - docs: >- - The type of transaction the payment portion is being applied to. - Possible values include: INVOICE, JOURNAL_ENTRY, or CREDIT_NOTE. - source: - openapi: openapi/openapi.yml - PaymentLineItemRequest: - docs: >- - # The PaymentLineItem Object - - ### Description - - The `PaymentLineItem` object is an applied-to-line on a `Payment` that can - either be a `Invoice`, `CreditNote`, or `JournalEntry`. - - - ### Usage Example - - `Payment` will have a field called `applied-to-lines` which will be an - array of `PaymentLineItemInternalMappingSerializer` objects that can - either be a `Invoice`, `CreditNote`, or `JournalEntry`. - properties: - remote_id: - type: optional - docs: The third-party API ID of the matching object. - applied_amount: - type: optional - docs: The amount being applied to the transaction. - validation: - pattern: ^-?\d{0,32}(?:\.\d{0,16})?$ - applied_date: - type: optional - docs: The date the payment portion is applied. - related_object_id: - type: optional - docs: >- - The Merge ID of the transaction the payment portion is being applied - to. - validation: - format: uuid - related_object_type: - type: optional - docs: >- - The type of transaction the payment portion is being applied to. - Possible values include: INVOICE, JOURNAL_ENTRY, or CREDIT_NOTE. - validation: - minLength: 1 - integration_params: - type: optional> - access: write-only - linked_account_params: - type: optional> - access: write-only - remote_fields: - type: optional> - access: write-only - source: - openapi: openapi/openapi.yml - PaymentMethodMethodType: - discriminated: false - docs: |- - The type of the payment method. - - * `CREDIT_CARD` - CREDIT_CARD - * `DEBIT_CARD` - DEBIT_CARD - * `ACH` - ACH - * `CASH` - CASH - * `CHECK` - CHECK - union: - - MethodTypeEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - PaymentMethod: - docs: >- - # The PaymentMethod Object - - ### Description - - The `PaymentMethod` object defines how a payment against an invoice is - made. - - - ### Usage Example - - Fetch from the `GET PaymentMethod` endpoint and view payment method - information. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - method_type: - type: PaymentMethodMethodType - docs: |- - The type of the payment method. - - * `CREDIT_CARD` - CREDIT_CARD - * `DEBIT_CARD` - DEBIT_CARD - * `ACH` - ACH - * `CASH` - CASH - * `CHECK` - CHECK - name: - type: string - docs: The payment method’s name - validation: - maxLength: 255 - is_active: - type: optional - docs: '`True` if the payment method is active, `False` if not.' - remote_updated_at: - type: optional - docs: When the third party's payment method was updated. - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - PaymentRequestContact: - discriminated: false - docs: The supplier, or customer involved in the payment. - union: - - type: string - validation: - format: uuid - - Contact - source: - openapi: openapi/openapi.yml - inline: true - PaymentRequestAccount: - discriminated: false - docs: The supplier’s or customer’s account in which the payment is made. - union: - - type: string - validation: - format: uuid - - Account - source: - openapi: openapi/openapi.yml - inline: true - PaymentRequestPaymentMethod: - discriminated: false - docs: The method which this payment was made by. - union: - - type: string - validation: - format: uuid - - PaymentMethod - source: - openapi: openapi/openapi.yml - inline: true - PaymentRequestCurrency: - discriminated: false - docs: >- - The payment's currency. - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - union: - - TransactionCurrencyEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - PaymentRequestCompany: - discriminated: false - docs: The company the payment belongs to. - union: - - type: string - validation: - format: uuid - - CompanyInfo - source: - openapi: openapi/openapi.yml - inline: true - PaymentRequestType: - discriminated: false - docs: |- - The type of the invoice. - - * `ACCOUNTS_PAYABLE` - ACCOUNTS_PAYABLE - * `ACCOUNTS_RECEIVABLE` - ACCOUNTS_RECEIVABLE - union: - - PaymentTypeEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - PaymentRequestTrackingCategoriesItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - TrackingCategory - source: - openapi: openapi/openapi.yml - inline: true - PaymentRequestAccountingPeriod: - discriminated: false - docs: The accounting period that the Payment was generated in. - union: - - type: string - validation: - format: uuid - - AccountingPeriod - source: - openapi: openapi/openapi.yml - inline: true - PaymentRequestAppliedToLinesItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - PaymentLineItemRequest - source: - openapi: openapi/openapi.yml - inline: true - PaymentRequest: - docs: >- - # The Payment Object - - ### Description - - The `Payment` object represents general payments made towards a specific - transaction. - - - ### Usage Example - - Fetch from the `GET Payment` endpoint and view an invoice's payment. - properties: - transaction_date: - type: optional - docs: The payment's transaction date. - contact: - type: optional - docs: The supplier, or customer involved in the payment. - account: - type: optional - docs: The supplier’s or customer’s account in which the payment is made. - payment_method: - type: optional - docs: The method which this payment was made by. - currency: - type: optional - docs: >- - The payment's currency. - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - exchange_rate: - type: optional - docs: The payment's exchange rate. - validation: - pattern: ^-?\d{0,32}(?:\.\d{0,16})?$ - company: - type: optional - docs: The company the payment belongs to. - total_amount: - type: optional - docs: >- - The total amount of money being paid to the supplier, or customer, - after taxes. - type: - type: optional - docs: |- - The type of the invoice. - - * `ACCOUNTS_PAYABLE` - ACCOUNTS_PAYABLE - * `ACCOUNTS_RECEIVABLE` - ACCOUNTS_RECEIVABLE - tracking_categories: optional>> - accounting_period: - type: optional - docs: The accounting period that the Payment was generated in. - applied_to_lines: - type: optional> - docs: A list of “Payment Applied to Lines” objects. - integration_params: - type: optional> - access: write-only - linked_account_params: - type: optional> - access: write-only - remote_fields: - type: optional> - access: write-only - source: - openapi: openapi/openapi.yml - PaymentResponse: - properties: - model: Payment - warnings: list - errors: list - logs: optional> - source: - openapi: openapi/openapi.yml - PaymentTermCompany: - discriminated: false - docs: The subsidiary that the payment term belongs to. - union: - - type: string - validation: - format: uuid - - CompanyInfo - source: - openapi: openapi/openapi.yml - inline: true - PaymentTerm: - docs: >- - # The PaymentTerm Object - - ### Description - - The `PaymentTerm` object is the agreed-upon conditions between a buyer and - a seller that define the timing, - - amount, and conditions under which payment for goods or services must be - made. - - - ### Usage Example - - Fetch from the `GET PaymentTerm` endpoint and view payment term - information. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - name: - type: string - docs: The name of the payment term. - validation: - maxLength: 255 - is_active: - type: optional - docs: '`True` if the payment term is active, `False` if not.' - company: - type: optional - docs: The subsidiary that the payment term belongs to. - days_until_due: - type: optional - docs: The number of days after the invoice date that payment is due. - validation: - min: -2147483648 - max: 2147483647 - discount_days: - type: optional - docs: The number of days the invoice must be paid before discounts expire. - validation: - min: -2147483648 - max: 2147483647 - remote_last_modified_at: - type: optional - docs: When the third party's payment term was modified. - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - PaymentTypeEnum: - enum: - - ACCOUNTS_PAYABLE - - ACCOUNTS_RECEIVABLE - docs: |- - * `ACCOUNTS_PAYABLE` - ACCOUNTS_PAYABLE - * `ACCOUNTS_RECEIVABLE` - ACCOUNTS_RECEIVABLE - source: - openapi: openapi/openapi.yml - PostingStatusEnum: - enum: - - UNPOSTED - - POSTED - docs: |- - * `UNPOSTED` - UNPOSTED - * `POSTED` - POSTED - source: - openapi: openapi/openapi.yml - ProjectCompany: - discriminated: false - docs: The subsidiary that the project belongs to. - union: - - type: string - validation: - format: uuid - - CompanyInfo - source: - openapi: openapi/openapi.yml - inline: true - ProjectContact: - discriminated: false - docs: The supplier, or customer involved in the project. - union: - - type: string - validation: - format: uuid - - Contact - source: - openapi: openapi/openapi.yml - inline: true - Project: - docs: >- - # The Project Object - - ### Description - - The `Project` object is used to track and manage time, costs, resources, - and revenue for specific initiatives or work efforts. - - It provides classification on transactions for allocating expenses, - revenue, and activities to a specific project for financial reporting. - - - ### Usage Example - - Fetch from the `GET Project` endpoint and view project information. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - name: - type: string - docs: The project’s name - validation: - maxLength: 255 - is_active: - type: optional - docs: '`True` if the project is active, `False` if the project is not active.' - company: - type: optional - docs: The subsidiary that the project belongs to. - contact: - type: optional - docs: The supplier, or customer involved in the project. - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - PurchaseOrderStatus: - discriminated: false - docs: |- - The purchase order's status. - - * `DRAFT` - DRAFT - * `SUBMITTED` - SUBMITTED - * `AUTHORIZED` - AUTHORIZED - * `BILLED` - BILLED - * `DELETED` - DELETED - union: - - PurchaseOrderStatusEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - PurchaseOrderDeliveryAddress: - discriminated: false - docs: The purchase order's delivery address. - union: - - type: string - validation: - format: uuid - - Address - source: - openapi: openapi/openapi.yml - inline: true - PurchaseOrderVendor: - discriminated: false - docs: The party fulfilling the purchase order. - union: - - type: string - validation: - format: uuid - - Contact - source: - openapi: openapi/openapi.yml - inline: true - PurchaseOrderCompany: - discriminated: false - docs: The company the purchase order belongs to. - union: - - type: string - validation: - format: uuid - - CompanyInfo - source: - openapi: openapi/openapi.yml - inline: true - PurchaseOrderCurrency: - discriminated: false - docs: >- - The purchase order's currency. - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - union: - - TransactionCurrencyEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - PurchaseOrderPaymentTerm: - discriminated: false - docs: The payment term that applies to this transaction. - union: - - type: string - validation: - format: uuid - - PaymentTerm - source: - openapi: openapi/openapi.yml - inline: true - PurchaseOrderTrackingCategoriesItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - TrackingCategory - source: - openapi: openapi/openapi.yml - inline: true - PurchaseOrderAccountingPeriod: - discriminated: false - docs: The accounting period that the PurchaseOrder was generated in. - union: - - type: string - validation: - format: uuid - - AccountingPeriod - source: - openapi: openapi/openapi.yml - inline: true - PurchaseOrder: - docs: >- - # The PurchaseOrder Object - - ### Description - - A `PurchaseOrder` represents a request to purchase goods or services from - a vendor. It outlines the details of the purchase, such as the items or - services requested, quantities, prices, and delivery details. - - - A `PurchaseOrder` is a crucial component of the procurement process, but - does not typically result in any impact on the company’s general ledger. - The general ledger is typically only affected when the `PurchaseOrder` is - fulfilled as an *Accounts Payable* `Invoice` object (also known as a - Bill). - - - ### Usage Example - - Fetch from the `LIST PurchaseOrders` endpoint and view a company's - purchase orders. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - status: - type: optional - docs: |- - The purchase order's status. - - * `DRAFT` - DRAFT - * `SUBMITTED` - SUBMITTED - * `AUTHORIZED` - AUTHORIZED - * `BILLED` - BILLED - * `DELETED` - DELETED - issue_date: - type: optional - docs: The purchase order's issue date. - purchase_order_number: - type: optional - docs: The human-readable number of the purchase order. - validation: - maxLength: 100 - delivery_date: - type: optional - docs: The purchase order's delivery date. - delivery_address: - type: optional - docs: The purchase order's delivery address. - customer: - type: optional - docs: The contact making the purchase order. - validation: - format: uuid - vendor: - type: optional - docs: The party fulfilling the purchase order. - memo: - type: optional - docs: A memo attached to the purchase order. - company: - type: optional - docs: The company the purchase order belongs to. - total_amount: - type: optional - docs: The purchase order's total amount. - currency: - type: optional - docs: >- - The purchase order's currency. - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - exchange_rate: - type: optional - docs: The purchase order's exchange rate. - validation: - pattern: ^-?\d{0,32}(?:\.\d{0,16})?$ - payment_term: - type: optional - docs: The payment term that applies to this transaction. - line_items: - type: optional> - access: read-only - inclusive_of_tax: - type: optional - docs: >- - If the transaction is inclusive or exclusive of tax. `True` if - inclusive, `False` if exclusive. - tracking_categories: optional>> - accounting_period: - type: optional - docs: The accounting period that the PurchaseOrder was generated in. - remote_created_at: - type: optional - docs: When the third party's purchase order note was created. - remote_updated_at: - type: optional - docs: When the third party's purchase order note was updated. - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - remote_fields: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - PurchaseOrderLineItemItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - Item - source: - openapi: openapi/openapi.yml - inline: true - PurchaseOrderLineItemCurrency: - discriminated: false - docs: >- - The purchase order line item's currency. - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - union: - - TransactionCurrencyEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - PurchaseOrderLineItem: - docs: >- - # The PurchaseOrderLineItem Object - - ### Description - - The `PurchaseOrderLineItem` object is used to represent a purchase order's - line item. - - - ### Usage Example - - Fetch from the `GET PurchaseOrder` endpoint and view a company's purchase - orders. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - description: - type: optional - docs: A description of the good being purchased. - unit_price: - type: optional - docs: The line item's unit price. - quantity: - type: optional - docs: The line item's quantity. - item: optional - account: - type: optional - docs: The purchase order line item's account. - validation: - format: uuid - tracking_category: - type: optional - docs: The purchase order line item's associated tracking category. - validation: - format: uuid - availability: deprecated - tracking_categories: - type: optional>> - docs: The purchase order line item's associated tracking categories. - tax_amount: - type: optional - docs: The purchase order line item's tax amount. - validation: - pattern: ^-?\d{0,32}(?:\.\d{0,16})?$ - total_line_amount: - type: optional - docs: The purchase order line item's total amount. - validation: - pattern: ^-?\d{0,32}(?:\.\d{0,16})?$ - currency: - type: optional - docs: >- - The purchase order line item's currency. - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - tax_rate: - type: optional - docs: The tax rate that applies to this line item. - validation: - format: uuid - exchange_rate: - type: optional - docs: The purchase order line item's exchange rate. - validation: - pattern: ^-?\d{0,32}(?:\.\d{0,16})?$ - company: - type: optional - docs: The company the purchase order line item belongs to. - validation: - format: uuid - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - remote_fields: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - PurchaseOrderLineItemRequestItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - Item - source: - openapi: openapi/openapi.yml - inline: true - PurchaseOrderLineItemRequestCurrency: - discriminated: false - docs: >- - The purchase order line item's currency. - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - union: - - TransactionCurrencyEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - PurchaseOrderLineItemRequest: - docs: >- - # The PurchaseOrderLineItem Object - - ### Description - - The `PurchaseOrderLineItem` object is used to represent a purchase order's - line item. - - - ### Usage Example - - Fetch from the `GET PurchaseOrder` endpoint and view a company's purchase - orders. - properties: - remote_id: - type: optional - docs: The third-party API ID of the matching object. - description: - type: optional - docs: A description of the good being purchased. - unit_price: - type: optional - docs: The line item's unit price. - quantity: - type: optional - docs: The line item's quantity. - item: optional - account: - type: optional - docs: The purchase order line item's account. - validation: - format: uuid - tracking_category: - type: optional - docs: The purchase order line item's associated tracking category. - validation: - format: uuid - availability: deprecated - tracking_categories: - type: optional>> - docs: The purchase order line item's associated tracking categories. - tax_amount: - type: optional - docs: The purchase order line item's tax amount. - validation: - pattern: ^-?\d{0,32}(?:\.\d{0,16})?$ - total_line_amount: - type: optional - docs: The purchase order line item's total amount. - validation: - pattern: ^-?\d{0,32}(?:\.\d{0,16})?$ - currency: - type: optional - docs: >- - The purchase order line item's currency. - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - tax_rate: - type: optional - docs: The tax rate that applies to this line item. - validation: - format: uuid - exchange_rate: - type: optional - docs: The purchase order line item's exchange rate. - validation: - pattern: ^-?\d{0,32}(?:\.\d{0,16})?$ - company: - type: optional - docs: The company the purchase order line item belongs to. - validation: - format: uuid - integration_params: - type: optional> - access: write-only - linked_account_params: - type: optional> - access: write-only - remote_fields: - type: optional> - access: write-only - source: - openapi: openapi/openapi.yml - PurchaseOrderRequestStatus: - discriminated: false - docs: |- - The purchase order's status. - - * `DRAFT` - DRAFT - * `SUBMITTED` - SUBMITTED - * `AUTHORIZED` - AUTHORIZED - * `BILLED` - BILLED - * `DELETED` - DELETED - union: - - PurchaseOrderStatusEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - PurchaseOrderRequestDeliveryAddress: - discriminated: false - docs: The purchase order's delivery address. - union: - - type: string - validation: - format: uuid - - Address - source: - openapi: openapi/openapi.yml - inline: true - PurchaseOrderRequestVendor: - discriminated: false - docs: The party fulfilling the purchase order. - union: - - type: string - validation: - format: uuid - - Contact - source: - openapi: openapi/openapi.yml - inline: true - PurchaseOrderRequestCompany: - discriminated: false - docs: The company the purchase order belongs to. - union: - - type: string - validation: - format: uuid - - CompanyInfo - source: - openapi: openapi/openapi.yml - inline: true - PurchaseOrderRequestPaymentTerm: - discriminated: false - docs: The payment term that applies to this transaction. - union: - - type: string - validation: - format: uuid - - PaymentTerm - source: - openapi: openapi/openapi.yml - inline: true - PurchaseOrderRequestCurrency: - discriminated: false - docs: >- - The purchase order's currency. - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - union: - - TransactionCurrencyEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - PurchaseOrderRequestTrackingCategoriesItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - TrackingCategory - source: - openapi: openapi/openapi.yml - inline: true - PurchaseOrderRequest: - docs: >- - # The PurchaseOrder Object - - ### Description - - The `PurchaseOrder` object is a record of request for a product or service - between a buyer and seller. - - - ### Usage Example - - Fetch from the `LIST PurchaseOrders` endpoint and view a company's - purchase orders. - properties: - status: - type: optional - docs: |- - The purchase order's status. - - * `DRAFT` - DRAFT - * `SUBMITTED` - SUBMITTED - * `AUTHORIZED` - AUTHORIZED - * `BILLED` - BILLED - * `DELETED` - DELETED - issue_date: - type: optional - docs: The purchase order's issue date. - delivery_date: - type: optional - docs: The purchase order's delivery date. - delivery_address: - type: optional - docs: The purchase order's delivery address. - customer: - type: optional - docs: The contact making the purchase order. - validation: - format: uuid - vendor: - type: optional - docs: The party fulfilling the purchase order. - memo: - type: optional - docs: A memo attached to the purchase order. - company: - type: optional - docs: The company the purchase order belongs to. - total_amount: - type: optional - docs: The purchase order's total amount. - payment_term: - type: optional - docs: The payment term that applies to this transaction. - currency: - type: optional - docs: >- - The purchase order's currency. - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - inclusive_of_tax: - type: optional - docs: >- - If the transaction is inclusive or exclusive of tax. `True` if - inclusive, `False` if exclusive. - exchange_rate: - type: optional - docs: The purchase order's exchange rate. - validation: - pattern: ^-?\d{0,32}(?:\.\d{0,16})?$ - tracking_categories: optional>> - line_items: optional> - integration_params: - type: optional> - access: write-only - linked_account_params: - type: optional> - access: write-only - remote_fields: - type: optional> - access: write-only - source: - openapi: openapi/openapi.yml - PurchaseOrderResponse: - properties: - model: PurchaseOrder - warnings: list - errors: list - logs: optional> - source: - openapi: openapi/openapi.yml - PurchaseOrderStatusEnum: - enum: - - DRAFT - - SUBMITTED - - AUTHORIZED - - BILLED - - DELETED - docs: |- - * `DRAFT` - DRAFT - * `SUBMITTED` - SUBMITTED - * `AUTHORIZED` - AUTHORIZED - * `BILLED` - BILLED - * `DELETED` - DELETED - source: - openapi: openapi/openapi.yml - RemoteData: - docs: >- - # The RemoteData Object - - ### Description - - The `RemoteData` object is used to represent the full data pulled from the - third-party API for an object. - - - ### Usage Example - - TODO - properties: - path: - type: string - docs: The third-party API path that is being called. - data: - type: optional - docs: >- - The data returned from the third-party for this object in its - original, unnormalized format. - access: read-only - source: - openapi: openapi/openapi.yml - RemoteEndpointInfo: - properties: - method: string - url_path: string - field_traversal_path: list - source: - openapi: openapi/openapi.yml - RemoteFieldRemoteFieldClass: - discriminated: false - union: - - string - - RemoteFieldClass - source: - openapi: openapi/openapi.yml - inline: true - RemoteField: - properties: - remote_field_class: RemoteFieldRemoteFieldClass - value: optional - source: - openapi: openapi/openapi.yml - RemoteFieldApiCoverage: - discriminated: false - union: - - integer - - double - source: - openapi: openapi/openapi.yml - inline: true - RemoteFieldApi: - properties: - schema: map - remote_key_name: string - remote_endpoint_info: RemoteEndpointInfo - example_values: optional> - advanced_metadata: optional - coverage: - type: optional - access: read-only - source: - openapi: openapi/openapi.yml - RemoteFieldApiResponse: - properties: - Account: optional> - AccountingAttachment: optional> - BalanceSheet: optional> - CashFlowStatement: optional> - CompanyInfo: optional> - Contact: optional> - IncomeStatement: optional> - CreditNote: optional> - Item: optional> - PurchaseOrder: optional> - TrackingCategory: optional> - JournalEntry: optional> - TaxRate: optional> - Invoice: optional> - Payment: optional> - Expense: optional> - VendorCredit: optional> - Transaction: optional> - AccountingPeriod: optional> - GeneralLedgerTransaction: optional> - BankFeedAccount: optional> - Employee: optional> - PaymentMethod: optional> - Project: optional> - PaymentTerm: optional> - source: - openapi: openapi/openapi.yml - RemoteFieldClass: - properties: - id: optional - display_name: optional - remote_key_name: optional - description: optional - is_custom: optional - is_common_model_field: optional - is_required: optional - field_type: optional - field_format: optional - field_choices: optional> - item_schema: optional - source: - openapi: openapi/openapi.yml - RemoteFieldRequestRemoteFieldClass: - discriminated: false - union: - - type: string - validation: - format: uuid - - RemoteFieldClass - source: - openapi: openapi/openapi.yml - inline: true - RemoteFieldRequest: - properties: - remote_field_class: RemoteFieldRequestRemoteFieldClass - value: optional - source: - openapi: openapi/openapi.yml - RemoteKey: - docs: >- - # The RemoteKey Object - - ### Description - - The `RemoteKey` object is used to represent a request for a new remote - key. - - - ### Usage Example - - Post a `GenerateRemoteKey` to receive a new `RemoteKey`. - properties: - name: string - key: string - source: - openapi: openapi/openapi.yml - RemoteResponse: - docs: >- - # The RemoteResponse Object - - ### Description - - The `RemoteResponse` object is used to represent information returned from - a third-party endpoint. - - - ### Usage Example - - View the `RemoteResponse` returned from your `DataPassthrough`. - properties: - method: string - path: string - status: integer - response: unknown - response_headers: optional> - response_type: optional - headers: optional> - source: - openapi: openapi/openapi.yml - ReportItem: - docs: >- - # The ReportItem Object - - ### Description - - The `ReportItem` object is used to represent a report item for a Balance - Sheet, Cash Flow Statement or Profit and Loss Report. - - - ### Usage Example - - Fetch from the `GET BalanceSheet` endpoint and view the balance sheet's - report items. - properties: - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - name: - type: optional - docs: The report item's name. - value: - type: optional - docs: The report item's value. - sub_items: - type: optional>> - access: read-only - company: - type: optional - docs: The company the report item belongs to. - validation: - format: uuid - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - source: - openapi: openapi/openapi.yml - RequestFormatEnum: - enum: - - JSON - - XML - - MULTIPART - docs: |- - * `JSON` - JSON - * `XML` - XML - * `MULTIPART` - MULTIPART - source: - openapi: openapi/openapi.yml - ResponseTypeEnum: - enum: - - JSON - - BASE64_GZIP - docs: |- - * `JSON` - JSON - * `BASE64_GZIP` - BASE64_GZIP - source: - openapi: openapi/openapi.yml - RoleEnum: - enum: - - ADMIN - - DEVELOPER - - MEMBER - - API - - SYSTEM - - MERGE_TEAM - docs: |- - * `ADMIN` - ADMIN - * `DEVELOPER` - DEVELOPER - * `MEMBER` - MEMBER - * `API` - API - * `SYSTEM` - SYSTEM - * `MERGE_TEAM` - MERGE_TEAM - source: - openapi: openapi/openapi.yml - SelectiveSyncConfigurationsUsageEnum: - enum: - - IN_NEXT_SYNC - - IN_LAST_SYNC - docs: |- - * `IN_NEXT_SYNC` - IN_NEXT_SYNC - * `IN_LAST_SYNC` - IN_LAST_SYNC - source: - openapi: openapi/openapi.yml - Status7D1Enum: - enum: - - ACTIVE - - ARCHIVED - docs: |- - * `ACTIVE` - ACTIVE - * `ARCHIVED` - ARCHIVED - source: - openapi: openapi/openapi.yml - Status895Enum: - enum: - - ACTIVE - - INACTIVE - docs: |- - * `ACTIVE` - ACTIVE - * `INACTIVE` - INACTIVE - source: - openapi: openapi/openapi.yml - StatusFd5Enum: - enum: - - SYNCING - - DONE - - FAILED - - DISABLED - - PAUSED - - PARTIALLY_SYNCED - docs: |- - * `SYNCING` - SYNCING - * `DONE` - DONE - * `FAILED` - FAILED - * `DISABLED` - DISABLED - * `PAUSED` - PAUSED - * `PARTIALLY_SYNCED` - PARTIALLY_SYNCED - source: - openapi: openapi/openapi.yml - SyncStatusStatus: - discriminated: false - union: - - StatusFd5Enum - - string - source: - openapi: openapi/openapi.yml - inline: true - SyncStatus: - docs: >- - # The SyncStatus Object - - ### Description - - The `SyncStatus` object is used to represent the syncing state of an - account - - - ### Usage Example - - View the `SyncStatus` for an account to see how recently its models were - synced. - properties: - model_name: string - model_id: string - last_sync_start: optional - next_sync_start: optional - last_sync_result: optional - last_sync_finished: optional - status: SyncStatusStatus - is_initial_sync: boolean - selective_sync_configurations_usage: optional - source: - openapi: openapi/openapi.yml - TaxComponentComponentType: - discriminated: false - docs: >- - Returns PURCHASE if the tax component corresponds to a purchase tax or - SALES if the tax component corresponds to a sales tax. - - - * `SALES` - SALES - - * `PURCHASE` - PURCHASE - union: - - ComponentTypeEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - TaxComponent: - docs: >- - # The TaxRate Object - - ### Description - - The `TaxComponent` object is used to represent any sub-taxes that make up - the `TaxRate`. - - - ### Usage Example - - Fetch from the `LIST TaxRates` endpoint and view tax components relevant - to a tax rate. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - name: - type: optional - docs: The tax rate’s name. - validation: - maxLength: 100 - rate: - type: optional - docs: The tax component’s rate. - validation: - pattern: ^-?\d{0,32}(?:\.\d{0,16})?$ - is_compound: - type: optional - docs: Returns True if the tax component is compound, False if not. - component_type: - type: optional - docs: >- - Returns PURCHASE if the tax component corresponds to a purchase tax or - SALES if the tax component corresponds to a sales tax. - - - * `SALES` - SALES - - * `PURCHASE` - PURCHASE - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - source: - openapi: openapi/openapi.yml - TaxRateCompany: - discriminated: false - docs: >- - The subsidiary that the tax rate belongs to (in the case of multi-entity - systems). - union: - - type: string - validation: - format: uuid - - CompanyInfo - source: - openapi: openapi/openapi.yml - inline: true - TaxRateStatus: - discriminated: false - docs: >- - The tax rate’s status - `ACTIVE` if an active tax rate, `ARCHIVED` if not - active. - - - * `ACTIVE` - ACTIVE - - * `ARCHIVED` - ARCHIVED - union: - - Status7D1Enum - - string - source: - openapi: openapi/openapi.yml - inline: true - TaxRateTaxComponentsItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - TaxComponent - source: - openapi: openapi/openapi.yml - inline: true - TaxRate: - docs: >- - # The TaxRate Object - - ### Description - - The `TaxRate` object is used to represent a tax rate. - - - ### Usage Example - - Fetch from the `LIST TaxRates` endpoint and view tax rates relevant to a - company. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - company: - type: optional - docs: >- - The subsidiary that the tax rate belongs to (in the case of - multi-entity systems). - code: - type: optional - docs: >- - The tax code associated with this tax rate or group of tax rates from - the third-party platform. - validation: - maxLength: 100 - name: - type: optional - docs: The tax rate’s name. - validation: - maxLength: 100 - description: - type: optional - docs: The tax rate's description. - status: - type: optional - docs: >- - The tax rate’s status - `ACTIVE` if an active tax rate, `ARCHIVED` if - not active. - - - * `ACTIVE` - ACTIVE - - * `ARCHIVED` - ARCHIVED - country: - type: optional - docs: The country the tax rate is associated with. - validation: - maxLength: 100 - total_tax_rate: - type: optional - docs: The tax’s total tax rate - sum of the tax components (not compounded). - effective_tax_rate: - type: optional - docs: >- - The tax rate’s effective tax rate - total amount of tax with - compounding. - tax_components: - type: optional> - docs: The related tax components of the tax rate. - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - TrackingCategoryStatus: - discriminated: false - docs: |- - The tracking category's status. - - * `ACTIVE` - ACTIVE - * `ARCHIVED` - ARCHIVED - union: - - Status7D1Enum - - string - source: - openapi: openapi/openapi.yml - inline: true - TrackingCategoryCategoryType: - discriminated: false - docs: |- - The tracking category’s type. - - * `CLASS` - CLASS - * `DEPARTMENT` - DEPARTMENT - union: - - CategoryTypeEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - TrackingCategoryCompany: - discriminated: false - docs: The company the GeneralLedgerTransaction belongs to. - union: - - type: string - validation: - format: uuid - - CompanyInfo - source: - openapi: openapi/openapi.yml - inline: true - TrackingCategory: - docs: >- - # The TrackingCategory Object - - ### Description - - A `TrackingCategory` object represents a categorization method used to - classify transactions within an accounting platform. They are often used - to group records for reporting and analysis purposes. The most common - types of `TrackingCategories` are Classes and Departments. - - - ### Usage Example - - Fetch from the `GET TrackingCategory` endpoint and view a company's - tracking category. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - name: - type: optional - docs: The tracking category's name. - status: - type: optional - docs: |- - The tracking category's status. - - * `ACTIVE` - ACTIVE - * `ARCHIVED` - ARCHIVED - category_type: - type: optional - docs: |- - The tracking category’s type. - - * `CLASS` - CLASS - * `DEPARTMENT` - DEPARTMENT - parent_category: - type: optional - validation: - format: uuid - company: - type: optional - docs: The company the GeneralLedgerTransaction belongs to. - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - field_mappings: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - TransactionAccount: - discriminated: false - docs: The transaction's account. - union: - - type: string - validation: - format: uuid - - Account - source: - openapi: openapi/openapi.yml - inline: true - TransactionContact: - discriminated: false - docs: The contact to whom the transaction relates to. - union: - - type: string - validation: - format: uuid - - Contact - source: - openapi: openapi/openapi.yml - inline: true - TransactionCurrency: - discriminated: false - docs: >- - The transaction's currency. - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - union: - - TransactionCurrencyEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - TransactionTrackingCategoriesItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - TrackingCategory - source: - openapi: openapi/openapi.yml - inline: true - TransactionAccountingPeriod: - discriminated: false - docs: The accounting period that the Transaction was generated in. - union: - - type: string - validation: - format: uuid - - AccountingPeriod - source: - openapi: openapi/openapi.yml - inline: true - Transaction: - docs: >- - # The Transaction Object - - ### Description - - The `Transaction` common model includes records of all types of - transactions that do not appear in other common models. The type of - transaction can be identified through the type field. More specifically, - it will contain all types of transactions outside of: - - * __Credit Notes__ - - * __Expenses__ - - * __Invoices__ - - * __Journal Entries__ - - * __Payments__ - - * __Purchase Orders__ - - * __Vendor Credits__ - - - ### Usage Example - - Fetch from the `GET Transaction` endpoint and view a company's - transactions. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - transaction_type: - type: optional - docs: >- - The type of transaction, which can by any transaction object not - already included in Merge’s common model. - number: - type: optional - docs: The transaction's number used for identifying purposes. - transaction_date: - type: optional - docs: The date upon which the transaction occurred. - account: - type: optional - docs: The transaction's account. - contact: - type: optional - docs: The contact to whom the transaction relates to. - inclusive_of_tax: - type: optional - docs: >- - If the transaction is inclusive or exclusive of tax. `True` if - inclusive, `False` if exclusive. - total_amount: - type: optional - docs: The total amount being paid after taxes. - validation: - pattern: ^-?\d{0,32}(?:\.\d{0,16})?$ - currency: - type: optional - docs: >- - The transaction's currency. - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - exchange_rate: - type: optional - docs: The transaction's exchange rate. - validation: - pattern: ^-?\d{0,32}(?:\.\d{0,16})?$ - company: - type: optional - docs: The company the transaction belongs to. - validation: - format: uuid - tracking_categories: optional>> - line_items: - type: optional> - access: read-only - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - accounting_period: - type: optional - docs: The accounting period that the Transaction was generated in. - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - TransactionCurrencyEnum: - enum: - - XUA - - AFN - - AFA - - ALL - - ALK - - DZD - - ADP - - AOA - - AOK - - AON - - AOR - - ARA - - ARS - - ARM - - ARP - - ARL - - AMD - - AWG - - AUD - - ATS - - AZN - - AZM - - BSD - - BHD - - BDT - - BBD - - BYN - - BYB - - BYR - - BEF - - BEC - - BEL - - BZD - - BMD - - BTN - - BOB - - BOL - - BOV - - BOP - - BAM - - BAD - - BAN - - BWP - - BRC - - BRZ - - BRE - - BRR - - BRN - - BRB - - BRL - - GBP - - BND - - BGL - - BGN - - BGO - - BGM - - BUK - - BIF - - XPF - - KHR - - CAD - - CVE - - KYD - - XAF - - CLE - - CLP - - CLF - - CNX - - CNY - - CNH - - COP - - COU - - KMF - - CDF - - CRC - - HRD - - HRK - - CUC - - CUP - - CYP - - CZK - - CSK - - DKK - - DJF - - DOP - - NLG - - XCD - - DDM - - ECS - - ECV - - EGP - - GQE - - ERN - - EEK - - ETB - - EUR - - XBA - - XEU - - XBB - - XBC - - XBD - - FKP - - FJD - - FIM - - FRF - - XFO - - XFU - - GMD - - GEK - - GEL - - DEM - - GHS - - GHC - - GIP - - XAU - - GRD - - GTQ - - GWP - - GNF - - GNS - - GYD - - HTG - - HNL - - HKD - - HUF - - IMP - - ISK - - ISJ - - INR - - IDR - - IRR - - IQD - - IEP - - ILS - - ILP - - ILR - - ITL - - JMD - - JPY - - JOD - - KZT - - KES - - KWD - - KGS - - LAK - - LVL - - LVR - - LBP - - LSL - - LRD - - LYD - - LTL - - LTT - - LUL - - LUC - - LUF - - MOP - - MKD - - MKN - - MGA - - MGF - - MWK - - MYR - - MVR - - MVP - - MLF - - MTL - - MTP - - MRU - - MRO - - MUR - - MXV - - MXN - - MXP - - MDC - - MDL - - MCF - - MNT - - MAD - - MAF - - MZE - - MZN - - MZM - - MMK - - NAD - - NPR - - ANG - - TWD - - NZD - - NIO - - NIC - - NGN - - KPW - - NOK - - OMR - - PKR - - XPD - - PAB - - PGK - - PYG - - PEI - - PEN - - PES - - PHP - - XPT - - PLN - - PLZ - - PTE - - GWE - - QAR - - XRE - - RHD - - RON - - ROL - - RUB - - RUR - - RWF - - SVC - - WST - - SAR - - RSD - - CSD - - SCR - - SLL - - XAG - - SGD - - SKK - - SIT - - SBD - - SOS - - ZAR - - ZAL - - KRH - - KRW - - KRO - - SSP - - SUR - - ESP - - ESA - - ESB - - XDR - - LKR - - SHP - - XSU - - SDD - - SDG - - SDP - - SRD - - SRG - - SZL - - SEK - - CHF - - SYP - - STN - - STD - - TVD - - TJR - - TJS - - TZS - - XTS - - THB - - XXX - - TPE - - TOP - - TTD - - TND - - TRY - - TRL - - TMT - - TMM - - USD - - USN - - USS - - UGX - - UGS - - UAH - - UAK - - AED - - UYW - - UYU - - UYP - - UYI - - UZS - - VUV - - VES - - VEB - - VEF - - VND - - VNN - - CHE - - CHW - - XOF - - YDD - - YER - - YUN - - YUD - - YUM - - YUR - - ZWN - - ZRN - - ZRZ - - ZMW - - ZMK - - ZWD - - ZWR - - ZWL - docs: >- - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - source: - openapi: openapi/openapi.yml - TransactionLineItemItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - Item - source: - openapi: openapi/openapi.yml - inline: true - TransactionLineItemCurrency: - discriminated: false - docs: >- - The line item's currency. - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - union: - - TransactionCurrencyEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - TransactionLineItem: - docs: >- - # The TransactionLineItem Object - - ### Description - - The `TransactionLineItem` object is used to represent a transaction's line - items. - - - ### Usage Example - - Fetch from the `GET TransactionLineItem` endpoint and view the - transaction's line items. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - memo: - type: optional - docs: >- - An internal note used by the business to clarify purpose of the - transaction. - unit_price: - type: optional - docs: The line item's unit price. - validation: - pattern: ^-?\d{0,32}(?:\.\d{0,16})?$ - quantity: - type: optional - docs: The line item's quantity. - validation: - pattern: ^-?\d{0,24}(?:\.\d{0,8})?$ - item: optional - account: - type: optional - docs: The line item's account. - validation: - format: uuid - tracking_category: - type: optional - docs: The line's associated tracking category. - validation: - format: uuid - availability: deprecated - tracking_categories: - type: optional>> - docs: The transaction line item's associated tracking categories. - total_line_amount: - type: optional - docs: The line item's total. - validation: - pattern: ^-?\d{0,32}(?:\.\d{0,16})?$ - tax_rate: - type: optional - docs: The tax rate that applies to this line item. - validation: - format: uuid - currency: - type: optional - docs: >- - The line item's currency. - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - exchange_rate: - type: optional - docs: The line item's exchange rate. - validation: - pattern: ^-?\d{0,32}(?:\.\d{0,16})?$ - company: - type: optional - docs: The company the line belongs to. - validation: - format: uuid - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - source: - openapi: openapi/openapi.yml - Type2BbEnum: - enum: - - INVENTORY - - NON_INVENTORY - - SERVICE - - UNKNOWN - docs: |- - * `INVENTORY` - INVENTORY - * `NON_INVENTORY` - NON_INVENTORY - * `SERVICE` - SERVICE - * `UNKNOWN` - UNKNOWN - source: - openapi: openapi/openapi.yml - UnderlyingTransactionTypeEnum: - enum: - - INVOICE - - EXPENSE - - TRANSACTION - - JOURNAL_ENTRY - - PAYMENT - - VENDOR_CREDIT - - CREDIT_NOTE - docs: |- - * `INVOICE` - INVOICE - * `EXPENSE` - EXPENSE - * `TRANSACTION` - TRANSACTION - * `JOURNAL_ENTRY` - JOURNAL_ENTRY - * `PAYMENT` - PAYMENT - * `VENDOR_CREDIT` - VENDOR_CREDIT - * `CREDIT_NOTE` - CREDIT_NOTE - source: - openapi: openapi/openapi.yml - ValidationProblemSource: - properties: - pointer: string - source: - openapi: openapi/openapi.yml - VendorCreditVendor: - discriminated: false - docs: The vendor that owes the gift or refund. - union: - - type: string - validation: - format: uuid - - Contact - source: - openapi: openapi/openapi.yml - inline: true - VendorCreditCurrency: - discriminated: false - docs: >- - The vendor credit's currency. - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - union: - - TransactionCurrencyEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - VendorCreditCompany: - discriminated: false - docs: The company the vendor credit belongs to. - union: - - type: string - validation: - format: uuid - - CompanyInfo - source: - openapi: openapi/openapi.yml - inline: true - VendorCreditTrackingCategoriesItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - TrackingCategory - source: - openapi: openapi/openapi.yml - inline: true - VendorCreditAccountingPeriod: - discriminated: false - docs: The accounting period that the VendorCredit was generated in. - union: - - type: string - validation: - format: uuid - - AccountingPeriod - source: - openapi: openapi/openapi.yml - inline: true - VendorCredit: - docs: >- - # The VendorCredit Object - - ### Description - - A `VendorCredit` is transaction issued by a vendor to the accounting - company, indicating a reduction or cancellation of the amount owed to the - vendor. It is most generally used as an adjustment note used to rectify - errors, returns, or overpayments related to a purchasing transaction. A - `VendorCredit` can be applied to `Accounts Payable` Invoices to decrease - the overall amount of the `Invoice`. - - - ### Usage Example - - Fetch from the `GET VendorCredit` endpoint and view a company's vendor - credits. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - number: - type: optional - docs: The vendor credit's number. - transaction_date: - type: optional - docs: The vendor credit's transaction date. - vendor: - type: optional - docs: The vendor that owes the gift or refund. - total_amount: - type: optional - docs: The vendor credit's total amount. - currency: - type: optional - docs: >- - The vendor credit's currency. - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - exchange_rate: - type: optional - docs: The vendor credit's exchange rate. - validation: - pattern: ^-?\d{0,32}(?:\.\d{0,16})?$ - inclusive_of_tax: - type: optional - docs: >- - If the transaction is inclusive or exclusive of tax. `True` if - inclusive, `False` if exclusive. - company: - type: optional - docs: The company the vendor credit belongs to. - lines: - type: optional> - access: read-only - tracking_categories: optional>> - applied_to_lines: - type: optional> - docs: A list of VendorCredit Applied to Lines objects. - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - accounting_period: - type: optional - docs: The accounting period that the VendorCredit was generated in. - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - VendorCreditApplyLineForInvoiceVendorCredit: - discriminated: false - union: - - type: string - validation: - format: uuid - - VendorCredit - source: - openapi: openapi/openapi.yml - inline: true - VendorCreditApplyLineForInvoice: - docs: >- - # The VendorCreditApplyLine Object - - ### Description - - The `VendorCreditApplyLine` object is used to represent a applied vendor - credit. - - - ### Usage Example - - Fetch from the `GET VendorCredit` endpoint and view the vendor credit's - applied to lines. - properties: - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - vendor_credit: optional - applied_date: - type: optional - docs: Date that the vendor credit is applied to the invoice. - applied_amount: - type: optional - docs: The amount of the VendorCredit applied to the invoice. - validation: - pattern: ^-?\d{0,32}(?:\.\d{0,16})?$ - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - source: - openapi: openapi/openapi.yml - VendorCreditApplyLineForVendorCreditInvoice: - discriminated: false - union: - - type: string - validation: - format: uuid - - Invoice - source: - openapi: openapi/openapi.yml - inline: true - VendorCreditApplyLineForVendorCredit: - docs: >- - # The VendorCreditApplyLine Object - - ### Description - - The `VendorCreditApplyLine` object is used to represent a applied vendor - credit. - - - ### Usage Example - - Fetch from the `GET VendorCredit` endpoint and view the vendor credit's - applied to lines. - properties: - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - invoice: optional - applied_date: - type: optional - docs: Date that the vendor credit is applied to the invoice. - applied_amount: - type: optional - docs: The amount of the VendorCredit applied to the invoice. - validation: - pattern: ^-?\d{0,32}(?:\.\d{0,16})?$ - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - source: - openapi: openapi/openapi.yml - VendorCreditApplyLineForVendorCreditRequestInvoice: - discriminated: false - union: - - type: string - validation: - format: uuid - - Invoice - source: - openapi: openapi/openapi.yml - inline: true - VendorCreditApplyLineForVendorCreditRequest: - docs: >- - # The VendorCreditApplyLine Object - - ### Description - - The `VendorCreditApplyLine` object is used to represent a applied vendor - credit. - - - ### Usage Example - - Fetch from the `GET VendorCredit` endpoint and view the vendor credit's - applied to lines. - properties: - remote_id: - type: optional - docs: The third-party API ID of the matching object. - invoice: optional - applied_date: - type: optional - docs: Date that the vendor credit is applied to the invoice. - applied_amount: - type: optional - docs: The amount of the VendorCredit applied to the invoice. - validation: - pattern: ^-?\d{0,32}(?:\.\d{0,16})?$ - integration_params: - type: optional> - access: write-only - linked_account_params: - type: optional> - access: write-only - source: - openapi: openapi/openapi.yml - VendorCreditLineAccount: - discriminated: false - docs: The line's account. - union: - - type: string - validation: - format: uuid - - Account - source: - openapi: openapi/openapi.yml - inline: true - VendorCreditLineProject: - discriminated: false - union: - - type: string - validation: - format: uuid - - Project - source: - openapi: openapi/openapi.yml - inline: true - VendorCreditLineContact: - discriminated: false - union: - - type: string - validation: - format: uuid - - Contact - source: - openapi: openapi/openapi.yml - inline: true - VendorCreditLine: - docs: >- - # The VendorCreditLine Object - - ### Description - - The `VendorCreditLine` object is used to represent a vendor credit's line - items. - - - ### Usage Example - - Fetch from the `GET VendorCredit` endpoint and view the vendor credit's - line items. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - net_amount: - type: optional - docs: The full value of the credit. - tracking_category: - type: optional - docs: The line's associated tracking category. - validation: - format: uuid - availability: deprecated - tracking_categories: - type: optional>> - docs: The vendor credit line item's associated tracking categories. - description: - type: optional - docs: The line's description. - account: - type: optional - docs: The line's account. - company: - type: optional - docs: The company the line belongs to. - validation: - format: uuid - project: optional - contact: optional - tax_rate: - type: optional - docs: The tax rate that applies to this line item. - validation: - format: uuid - exchange_rate: - type: optional - docs: The vendor credit line item's exchange rate. - validation: - pattern: ^-?\d{0,32}(?:\.\d{0,16})?$ - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - source: - openapi: openapi/openapi.yml - VendorCreditLineRequestAccount: - discriminated: false - docs: The line's account. - union: - - type: string - validation: - format: uuid - - Account - source: - openapi: openapi/openapi.yml - inline: true - VendorCreditLineRequestProject: - discriminated: false - union: - - type: string - validation: - format: uuid - - Project - source: - openapi: openapi/openapi.yml - inline: true - VendorCreditLineRequestContact: - discriminated: false - union: - - type: string - validation: - format: uuid - - Contact - source: - openapi: openapi/openapi.yml - inline: true - VendorCreditLineRequest: - docs: >- - # The VendorCreditLine Object - - ### Description - - The `VendorCreditLine` object is used to represent a vendor credit's line - items. - - - ### Usage Example - - Fetch from the `GET VendorCredit` endpoint and view the vendor credit's - line items. - properties: - remote_id: - type: optional - docs: The third-party API ID of the matching object. - net_amount: - type: optional - docs: The full value of the credit. - tracking_category: - type: optional - docs: The line's associated tracking category. - validation: - format: uuid - availability: deprecated - tracking_categories: - type: optional>> - docs: The vendor credit line item's associated tracking categories. - description: - type: optional - docs: The line's description. - account: - type: optional - docs: The line's account. - company: - type: optional - docs: The company the line belongs to. - validation: - format: uuid - project: optional - contact: optional - tax_rate: - type: optional - docs: The tax rate that applies to this line item. - validation: - format: uuid - exchange_rate: - type: optional - docs: The vendor credit line item's exchange rate. - validation: - pattern: ^-?\d{0,32}(?:\.\d{0,16})?$ - integration_params: - type: optional> - access: write-only - linked_account_params: - type: optional> - access: write-only - source: - openapi: openapi/openapi.yml - VendorCreditRequestVendor: - discriminated: false - docs: The vendor that owes the gift or refund. - union: - - type: string - validation: - format: uuid - - Contact - source: - openapi: openapi/openapi.yml - inline: true - VendorCreditRequestCurrency: - discriminated: false - docs: >- - The vendor credit's currency. - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - union: - - TransactionCurrencyEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - VendorCreditRequestCompany: - discriminated: false - docs: The company the vendor credit belongs to. - union: - - type: string - validation: - format: uuid - - CompanyInfo - source: - openapi: openapi/openapi.yml - inline: true - VendorCreditRequestTrackingCategoriesItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - TrackingCategory - source: - openapi: openapi/openapi.yml - inline: true - VendorCreditRequestAccountingPeriod: - discriminated: false - docs: The accounting period that the VendorCredit was generated in. - union: - - type: string - validation: - format: uuid - - AccountingPeriod - source: - openapi: openapi/openapi.yml - inline: true - VendorCreditRequest: - docs: >- - # The VendorCredit Object - - ### Description - - A `VendorCredit` is transaction issued by a vendor to the accounting - company, indicating a reduction or cancellation of the amount owed to the - vendor. It is most generally used as an adjustment note used to rectify - errors, returns, or overpayments related to a purchasing transaction. A - `VendorCredit` can be applied to `Accounts Payable` Invoices to decrease - the overall amount of the `Invoice`. - - - ### Usage Example - - Fetch from the `GET VendorCredit` endpoint and view a company's vendor - credits. - properties: - number: - type: optional - docs: The vendor credit's number. - transaction_date: - type: optional - docs: The vendor credit's transaction date. - vendor: - type: optional - docs: The vendor that owes the gift or refund. - total_amount: - type: optional - docs: The vendor credit's total amount. - currency: - type: optional - docs: >- - The vendor credit's currency. - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - exchange_rate: - type: optional - docs: The vendor credit's exchange rate. - validation: - pattern: ^-?\d{0,32}(?:\.\d{0,16})?$ - inclusive_of_tax: - type: optional - docs: >- - If the transaction is inclusive or exclusive of tax. `True` if - inclusive, `False` if exclusive. - company: - type: optional - docs: The company the vendor credit belongs to. - tracking_categories: optional>> - applied_to_lines: - type: optional> - docs: A list of VendorCredit Applied to Lines objects. - accounting_period: - type: optional - docs: The accounting period that the VendorCredit was generated in. - integration_params: - type: optional> - access: write-only - linked_account_params: - type: optional> - access: write-only - source: - openapi: openapi/openapi.yml - VendorCreditResponse: - properties: - model: VendorCredit - warnings: list - errors: list - logs: optional> - source: - openapi: openapi/openapi.yml - WarningValidationProblem: - properties: - source: optional - title: string - detail: string - problem_type: string - source: - openapi: openapi/openapi.yml - WebhookReceiver: - properties: - event: string - is_active: boolean - key: optional - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/accounting/accountDetails.yml b/.mock/definition/accounting/accountDetails.yml deleted file mode 100644 index 8421eef1..00000000 --- a/.mock/definition/accounting/accountDetails.yml +++ /dev/null @@ -1,38 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - retrieve: - path: /accounting/v1/account-details - method: GET - auth: - - tokenAuth: [] - docs: Get details for a linked account. - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: root.AccountDetails - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - id: 0496d4c2-42e6-4072-80b3-7b69bfdc76fd - integration: BambooHR - integration_slug: bamboohr - category: hris - end_user_origin_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - end_user_organization_name: Waystar Royco - end_user_email_address: kendall.roy@waystar-royco.com - status: COMPLETE - webhook_listener_url: >- - https://api.merge.dev/api/integrations/webhook-listener/7fc3mee0UW8ecV4 - is_duplicate: true - account_type: PRODUCTION - completed_at: '2024-08-26T20:11:19Z' - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/accounting/accountToken.yml b/.mock/definition/accounting/accountToken.yml deleted file mode 100644 index 24072266..00000000 --- a/.mock/definition/accounting/accountToken.yml +++ /dev/null @@ -1,47 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - retrieve: - path: /accounting/v1/account-token/{public_token} - method: GET - auth: - - tokenAuth: [] - docs: >- - Returns the account token for the end user with the provided public - token. - source: - openapi: openapi/openapi.yml - path-parameters: - public_token: string - response: - docs: '' - type: root.AccountToken - status-code: 200 - examples: - - path-parameters: - public_token: public_token - headers: - X-Account-Token: '[object Object]' - response: - body: - account_token: T9klMDQrcHdm9jrtHuOS2Nf06BIHwMNjpPXPMB - integration: - name: name - abbreviated_name: abbreviated_name - categories: - - hris - image: image - square_image: square_image - color: color - slug: slug - api_endpoints_to_documentation_urls: - key: value - webhook_setup_guide_url: webhook_setup_guide_url - category_beta_status: - key: value - id: 0496d4c2-42e6-4072-80b3-7b69bfdc76fd - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/accounting/accountingPeriods.yml b/.mock/definition/accounting/accountingPeriods.yml deleted file mode 100644 index 06d76c72..00000000 --- a/.mock/definition/accounting/accountingPeriods.yml +++ /dev/null @@ -1,132 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /accounting/v1/accounting-periods - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `AccountingPeriod` objects. - source: - openapi: openapi/openapi.yml - request: - name: AccountingPeriodsListRequest - query-parameters: - cursor: - type: optional - docs: The pagination cursor value. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - page_size: - type: optional - docs: Number of results to return per page. - response: - docs: '' - type: root.PaginatedAccountingPeriodList - status-code: 200 - examples: - - query-parameters: - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - include_deleted_data: true - include_remote_data: true - include_shell_data: true - page_size: 1 - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: 3015f7b1-4d01-460d-bfab-02a52d16cbd0 - remote_id: '2804580' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: April 2020 Financials - status: ACTIVE - start_date: '2020-03-31T00:00:00Z' - end_date: '2020-05-01T00:00:00Z' - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /actions - data: - - Varies by platform - retrieve: - path: /accounting/v1/accounting-periods/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns an `AccountingPeriod` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: AccountingPeriodsRetrieveRequest - query-parameters: - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - response: - docs: '' - type: root.AccountingPeriod - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - include_remote_data: true - include_shell_data: true - headers: - X-Account-Token: X-Account-Token - response: - body: - id: 3015f7b1-4d01-460d-bfab-02a52d16cbd0 - remote_id: '2804580' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: April 2020 Financials - status: ACTIVE - start_date: '2020-03-31T00:00:00Z' - end_date: '2020-05-01T00:00:00Z' - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /actions - data: - - Varies by platform - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/accounting/accounts.yml b/.mock/definition/accounting/accounts.yml deleted file mode 100644 index f9db17b5..00000000 --- a/.mock/definition/accounting/accounts.yml +++ /dev/null @@ -1,552 +0,0 @@ -types: - AccountsListRequestClassification: - enum: - - value: '' - name: EMPTY - - ASSET - - EQUITY - - EXPENSE - - LIABILITY - - REVENUE - source: - openapi: openapi/openapi.yml - AccountsListRequestRemoteFields: - enum: - - classification - - value: classification,status - name: ClassificationStatus - - status - source: - openapi: openapi/openapi.yml - AccountsListRequestShowEnumOrigins: - enum: - - classification - - value: classification,status - name: ClassificationStatus - - status - source: - openapi: openapi/openapi.yml - AccountsListRequestStatus: - enum: - - value: '' - name: EMPTY - - ACTIVE - - INACTIVE - - PENDING - source: - openapi: openapi/openapi.yml - AccountsRetrieveRequestRemoteFields: - enum: - - classification - - value: classification,status - name: ClassificationStatus - - status - source: - openapi: openapi/openapi.yml - AccountsRetrieveRequestShowEnumOrigins: - enum: - - classification - - value: classification,status - name: ClassificationStatus - - status - source: - openapi: openapi/openapi.yml -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /accounting/v1/accounts - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `Account` objects. - source: - openapi: openapi/openapi.yml - request: - name: AccountsListRequest - query-parameters: - account_type: - type: optional - docs: If provided, will only return accounts with the passed in enum. - classification: - type: optional - docs: If provided, will only return accounts with this classification. - company_id: - type: optional - docs: If provided, will only return accounts for this company. - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - expand: - type: optional> - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - name: - type: optional - docs: If provided, will only return Accounts with this name. - page_size: - type: optional - docs: Number of results to return per page. - remote_fields: - type: optional - docs: Deprecated. Use show_enum_origins. - remote_id: - type: optional - docs: The API provider's ID for the given object. - show_enum_origins: - type: optional - docs: >- - A comma separated list of enum field names for which you'd like - the original values to be returned, instead of Merge's normalized - enum values. [Learn - more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - status: - type: optional - docs: If provided, will only return accounts with this status. - response: - docs: '' - type: root.PaginatedAccountList - status-code: 200 - examples: - - query-parameters: - account_type: account_type - classification: '' - company_id: company_id - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - expand: company - include_deleted_data: true - include_remote_data: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - name: name - page_size: 1 - remote_fields: classification - remote_id: remote_id - show_enum_origins: classification - status: '' - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4 - remote_id: '21' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Cash - description: Cash - classification: ASSET - type: Asset - account_type: BANK - status: ACTIVE - current_balance: 1.1 - currency: XUA - account_number: X12Y9AB - parent_account: 22d92d6c-22f9-11ed-861d-0242ac120002 - company: 595c8f97-2ac4-45b7-b000-41bdf43240b5 - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /actions - data: - - Varies by platform - create: - path: /accounting/v1/accounts - method: POST - auth: - - tokenAuth: [] - docs: Creates an `Account` object with the given values. - source: - openapi: openapi/openapi.yml - request: - name: AccountEndpointRequest - query-parameters: - is_debug_mode: - type: optional - docs: >- - Whether to include debug fields (such as log file links) in the - response. - run_async: - type: optional - docs: Whether or not third-party updates should be run asynchronously. - body: - properties: - model: root.AccountRequest - content-type: application/json - response: - docs: '' - type: root.AccountResponse - status-code: 201 - examples: - - query-parameters: - is_debug_mode: true - run_async: true - headers: - X-Account-Token: X-Account-Token - request: - model: {} - response: - body: - model: - id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4 - remote_id: '21' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Cash - description: Cash - classification: ASSET - type: Asset - account_type: BANK - status: ACTIVE - current_balance: 1.1 - currency: XUA - account_number: X12Y9AB - parent_account: 22d92d6c-22f9-11ed-861d-0242ac120002 - company: 595c8f97-2ac4-45b7-b000-41bdf43240b5 - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /actions - data: - - Varies by platform - warnings: - - source: - pointer: pointer - title: Unrecognized Field - detail: An unrecognized field, age, was passed in with request data. - problem_type: UNRECOGNIZED_FIELD - errors: - - source: - pointer: pointer - title: Missing Required Field - detail: custom_fields is a required field on model. - problem_type: MISSING_REQUIRED_FIELD - logs: - - log_id: 99433219-8017-4acd-bb3c-ceb23d663832 - dashboard_view: >- - https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832 - log_summary: - url: www.exampleintegration.com/api/v1/exampleapi - method: POST - status_code: 200 - retrieve: - path: /accounting/v1/accounts/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns an `Account` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: AccountsRetrieveRequest - query-parameters: - expand: - type: optional> - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - remote_fields: - type: optional - docs: Deprecated. Use show_enum_origins. - show_enum_origins: - type: optional - docs: >- - A comma separated list of enum field names for which you'd like - the original values to be returned, instead of Merge's normalized - enum values. [Learn - more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - response: - docs: '' - type: root.Account - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - expand: company - include_remote_data: true - include_shell_data: true - remote_fields: classification - show_enum_origins: classification - headers: - X-Account-Token: X-Account-Token - response: - body: - id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4 - remote_id: '21' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Cash - description: Cash - classification: ASSET - type: Asset - account_type: BANK - status: ACTIVE - current_balance: 1.1 - currency: XUA - account_number: X12Y9AB - parent_account: 22d92d6c-22f9-11ed-861d-0242ac120002 - company: 595c8f97-2ac4-45b7-b000-41bdf43240b5 - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /actions - data: - - Varies by platform - metaPostRetrieve: - path: /accounting/v1/accounts/meta/post - method: GET - auth: - - tokenAuth: [] - docs: Returns metadata for `Account` POSTs. - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: root.MetaResponse - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - request_schema: - type: object - properties: - model: - type: object - required: - - last_name - - first_name - - merge_categories - - new_york_city_neighborhood - - favorite_tv_shows - - favorite_watch - properties: - email_addresses: - type: array - items: - type: object - properties: - value: - type: string - title: value - email_address_type: - type: string - title: email_address_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: email_addresses - description: Array of email_addresses objects - urls: - type: array - items: - type: object - properties: - value: - type: string - title: value - url_type: - type: string - title: url_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: urls - description: Array of urls objects - first_name: - type: string - title: first_name - description: The first name. - last_name: - type: string - title: last_name - description: The last name. - phone_numbers: - type: array - items: - type: object - properties: - value: - type: string - title: value - phone_number_type: - type: string - title: phone_number_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: phone_numbers - description: Array of phone_numbers objects - tags: - type: array - items: - type: string - format: uuid - title: tags - description: Array of tags names - attachments: - type: array - items: - type: object - properties: - id: - type: string - title: id - file_url: - type: string - title: file_url - file_name: - type: string - title: file_name - attachment_type: - type: string - title: attachment_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: attachments - description: 'Array of attachments objects ' - merge_categories: - type: array - categories: - type: string - enum: - - HRIS - - ATS - - Accounting - - Ticketing - - File Storage - - CRM - - Marketing Automation - enum_information: - - value: HRIS - description: Merge HRIS Category - - value: ATS - description: Merge ATS Category - - value: Accounting - description: Merge Accounting Category - - value: Ticketing - description: Merge Ticketing Category - - value: File Storage - description: Merge File Storage Category - - value: CRM - description: Merge CRM Category - - value: Marketing Automation - description: Merge Marketing Automation Category - title: Merge Categories - description: Array of Merge's Unified API Categories - new_york_city_neighborhood: - type: string - title: Borough - description: One of the 5 Boroughs of New York City - favorite_tv_shows: - type: array - items: - type: string - format: uuid - title: Favorite TV Shows - description: Array of TV Show objects on merge.tv_shows - favorite_watch: - type: string - title: Favorite Watch - description: Favorite watch of all time - remote_field_classes: - key: value - status: - linked_account_status: linked_account_status - can_make_request: true - has_conditional_params: true - has_required_linked_account_params: true - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/accounting/addresses.yml b/.mock/definition/accounting/addresses.yml deleted file mode 100644 index 5f5ce481..00000000 --- a/.mock/definition/accounting/addresses.yml +++ /dev/null @@ -1,67 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - retrieve: - path: /accounting/v1/addresses/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns an `Address` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: AddressesRetrieveRequest - query-parameters: - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - remote_fields: - type: optional> - docs: Deprecated. Use show_enum_origins. - show_enum_origins: - type: optional> - docs: >- - A comma separated list of enum field names for which you'd like - the original values to be returned, instead of Merge's normalized - enum values. [Learn - more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - response: - docs: '' - type: root.Address - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - include_remote_data: true - include_shell_data: true - remote_fields: type - show_enum_origins: type - headers: - X-Account-Token: X-Account-Token - response: - body: - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - type: BILLING - street_1: 2920 Broadway - street_2: 2nd Floor - city: New York - state: NY - country_subdivision: NY - country: AF - zip_code: '10027' - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/accounting/asyncPassthrough.yml b/.mock/definition/accounting/asyncPassthrough.yml deleted file mode 100644 index 35276342..00000000 --- a/.mock/definition/accounting/asyncPassthrough.yml +++ /dev/null @@ -1,78 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - create: - path: /accounting/v1/async-passthrough - method: POST - auth: - - tokenAuth: [] - docs: >- - Asynchronously pull data from an endpoint not currently supported by - Merge. - source: - openapi: openapi/openapi.yml - request: - body: root.DataPassthroughRequest - content-type: application/json - response: - docs: '' - type: root.AsyncPassthroughReciept - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - request: - method: GET - path: /scooters - response: - body: - async_passthrough_receipt_id: fd29020f-2695-445e-922e-dcd5e81903fd - retrieve: - path: /accounting/v1/async-passthrough/{async_passthrough_receipt_id} - method: GET - auth: - - tokenAuth: [] - docs: Retrieves data from earlier async-passthrough POST request - source: - openapi: openapi/openapi.yml - path-parameters: - async_passthrough_receipt_id: string - response: - docs: '' - type: AsyncPassthroughRetrieveResponse - status-code: 200 - examples: - - path-parameters: - async_passthrough_receipt_id: async_passthrough_receipt_id - headers: - X-Account-Token: X-Account-Token - response: - body: - method: GET - path: /scooters - status: 200 - response: - scooters: - - company: Lime - model: Gen 2.5 - - company: Bird - model: Bird Zero - response_headers: - X-Page-Token: value - response_type: JSON - headers: - EXTRA-HEADER: value - Authorization: - source: - openapi: openapi/openapi.yml -types: - AsyncPassthroughRetrieveResponse: - discriminated: false - union: - - root.RemoteResponse - - string - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/accounting/asyncTasks.yml b/.mock/definition/accounting/asyncTasks.yml deleted file mode 100644 index 6cc811ed..00000000 --- a/.mock/definition/accounting/asyncTasks.yml +++ /dev/null @@ -1,83 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - retrieve: - path: /accounting/v1/async-tasks/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns an `AsyncPostTask` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - response: - docs: '' - type: root.AsyncPostTask - status-code: 200 - examples: - - path-parameters: - id: id - headers: - X-Account-Token: X-Account-Token - response: - body: - status: QUEUED - result: - status_code: 201 - response: - model: - id: 9871b4a9-f5d2-4f3b-a66b-dfedbed42c46 - remote_id: '990110' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - integration_params: - unique_integration_field: unique_integration_field_value - linked_account_params: - unique_linked_account_field: unique_linked_account_field_value - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - type: ACCOUNTS_RECEIVABLE - contact: 022a2bef-57e5-4def-8ed2-7c41bd9a5ed8 - number: AIQ12546 - issue_date: '2020-03-31T00:00:00Z' - due_date: '2020-04-15T00:00:00Z' - memo: Weekly Payment - company: 595c8f97-2ac4-45b7-b000-41bdf43240b5 - employee: 7442f0d5-722d-45bd-b807-6e38489d37fe - paid_on_date: '2020-04-01T00:00:00Z' - currency: USD - exchange_rate: '2.9' - status: DRAFT - total_discount: 0 - sub_total: 100 - total_tax_amount: 5 - total_amount: 105 - balance: 105 - inclusive_of_tax: false - remote_updated_at: '2020-04-01T00:00:00Z' - tracking_categories: - - 7dc5ca17-d311-44cd-9ce0-333080367a18 - - 6aa0700c-48e1-4c4a-8162-02e6a582df05 - - 8c933d61-8f5b-4360-ac0c-c9dc87bee763 - purchase_orders: - - e7378d8f-3992-4c2a-8417-ebdc4f2bfeb7 - - dd70ca2f-b120-46fa-889a-9604037f45fd - - 889b281d-739c-4759-95b8-0aedb3947131 - accounting_period: 7dc5ca17-d311-44cd-9ce0-333080367a18 - payments: - - b26fd49a-cbae-470a-a8f8-bcbc119e0390 - applied_payments: - - 9017594e-dc33-4113-a5d2-b0f928e34fdd - remote_data: - - path: /actions - data: - - Varies by platform - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/accounting/attachments.yml b/.mock/definition/accounting/attachments.yml deleted file mode 100644 index a5e3ab7f..00000000 --- a/.mock/definition/accounting/attachments.yml +++ /dev/null @@ -1,428 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /accounting/v1/attachments - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `AccountingAttachment` objects. - source: - openapi: openapi/openapi.yml - request: - name: AttachmentsListRequest - query-parameters: - company_id: - type: optional - docs: >- - If provided, will only return accounting attachments for this - company. - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - page_size: - type: optional - docs: Number of results to return per page. - remote_id: - type: optional - docs: The API provider's ID for the given object. - response: - docs: '' - type: root.PaginatedAccountingAttachmentList - status-code: 200 - examples: - - query-parameters: - company_id: company_id - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - include_deleted_data: true - include_remote_data: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - page_size: 1 - remote_id: remote_id - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4 - remote_id: '1018270' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - file_name: invoice.png - file_url: >- - https://merge-brand.s3.amazonaws.com/20210315/rect-logo-270x80%402x.png - company: 595c8f97-2ac4-45b7-b000-41bdf43240b5 - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /actions - data: - - Varies by platform - create: - path: /accounting/v1/attachments - method: POST - auth: - - tokenAuth: [] - docs: Creates an `AccountingAttachment` object with the given values. - source: - openapi: openapi/openapi.yml - request: - name: AccountingAttachmentEndpointRequest - query-parameters: - is_debug_mode: - type: optional - docs: >- - Whether to include debug fields (such as log file links) in the - response. - run_async: - type: optional - docs: Whether or not third-party updates should be run asynchronously. - body: - properties: - model: root.AccountingAttachmentRequest - content-type: application/json - response: - docs: '' - type: root.AccountingAttachmentResponse - status-code: 201 - examples: - - query-parameters: - is_debug_mode: true - run_async: true - headers: - X-Account-Token: X-Account-Token - request: - model: {} - response: - body: - model: - id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4 - remote_id: '1018270' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - file_name: invoice.png - file_url: >- - https://merge-brand.s3.amazonaws.com/20210315/rect-logo-270x80%402x.png - company: 595c8f97-2ac4-45b7-b000-41bdf43240b5 - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /actions - data: - - Varies by platform - warnings: - - source: - pointer: pointer - title: Unrecognized Field - detail: An unrecognized field, age, was passed in with request data. - problem_type: UNRECOGNIZED_FIELD - errors: - - source: - pointer: pointer - title: Missing Required Field - detail: custom_fields is a required field on model. - problem_type: MISSING_REQUIRED_FIELD - logs: - - log_id: 99433219-8017-4acd-bb3c-ceb23d663832 - dashboard_view: >- - https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832 - log_summary: - url: www.exampleintegration.com/api/v1/exampleapi - method: POST - status_code: 200 - retrieve: - path: /accounting/v1/attachments/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns an `AccountingAttachment` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: AttachmentsRetrieveRequest - query-parameters: - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - response: - docs: '' - type: root.AccountingAttachment - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - include_remote_data: true - include_shell_data: true - headers: - X-Account-Token: X-Account-Token - response: - body: - id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4 - remote_id: '1018270' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - file_name: invoice.png - file_url: >- - https://merge-brand.s3.amazonaws.com/20210315/rect-logo-270x80%402x.png - company: 595c8f97-2ac4-45b7-b000-41bdf43240b5 - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /actions - data: - - Varies by platform - metaPostRetrieve: - path: /accounting/v1/attachments/meta/post - method: GET - auth: - - tokenAuth: [] - docs: Returns metadata for `AccountingAttachment` POSTs. - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: root.MetaResponse - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - request_schema: - type: object - properties: - model: - type: object - required: - - last_name - - first_name - - merge_categories - - new_york_city_neighborhood - - favorite_tv_shows - - favorite_watch - properties: - email_addresses: - type: array - items: - type: object - properties: - value: - type: string - title: value - email_address_type: - type: string - title: email_address_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: email_addresses - description: Array of email_addresses objects - urls: - type: array - items: - type: object - properties: - value: - type: string - title: value - url_type: - type: string - title: url_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: urls - description: Array of urls objects - first_name: - type: string - title: first_name - description: The first name. - last_name: - type: string - title: last_name - description: The last name. - phone_numbers: - type: array - items: - type: object - properties: - value: - type: string - title: value - phone_number_type: - type: string - title: phone_number_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: phone_numbers - description: Array of phone_numbers objects - tags: - type: array - items: - type: string - format: uuid - title: tags - description: Array of tags names - attachments: - type: array - items: - type: object - properties: - id: - type: string - title: id - file_url: - type: string - title: file_url - file_name: - type: string - title: file_name - attachment_type: - type: string - title: attachment_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: attachments - description: 'Array of attachments objects ' - merge_categories: - type: array - categories: - type: string - enum: - - HRIS - - ATS - - Accounting - - Ticketing - - File Storage - - CRM - - Marketing Automation - enum_information: - - value: HRIS - description: Merge HRIS Category - - value: ATS - description: Merge ATS Category - - value: Accounting - description: Merge Accounting Category - - value: Ticketing - description: Merge Ticketing Category - - value: File Storage - description: Merge File Storage Category - - value: CRM - description: Merge CRM Category - - value: Marketing Automation - description: Merge Marketing Automation Category - title: Merge Categories - description: Array of Merge's Unified API Categories - new_york_city_neighborhood: - type: string - title: Borough - description: One of the 5 Boroughs of New York City - favorite_tv_shows: - type: array - items: - type: string - format: uuid - title: Favorite TV Shows - description: Array of TV Show objects on merge.tv_shows - favorite_watch: - type: string - title: Favorite Watch - description: Favorite watch of all time - remote_field_classes: - key: value - status: - linked_account_status: linked_account_status - can_make_request: true - has_conditional_params: true - has_required_linked_account_params: true - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/accounting/auditTrail.yml b/.mock/definition/accounting/auditTrail.yml deleted file mode 100644 index 258796aa..00000000 --- a/.mock/definition/accounting/auditTrail.yml +++ /dev/null @@ -1,104 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /accounting/v1/audit-trail - method: GET - auth: - - tokenAuth: [] - docs: Gets a list of audit trail events. - source: - openapi: openapi/openapi.yml - request: - name: AuditTrailListRequest - query-parameters: - cursor: - type: optional - docs: The pagination cursor value. - end_date: - type: optional - docs: >- - If included, will only include audit trail events that occurred - before this time - event_type: - type: optional - docs: >- - If included, will only include events with the given event type. - Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, - `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, - `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, - `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, - `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, - `DELETED_LINKED_ACCOUNT`, - `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, - `CREATED_DESTINATION`, `DELETED_DESTINATION`, - `CHANGED_DESTINATION`, `CHANGED_SCOPES`, - `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, - `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, - `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, - `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, - `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, - `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, - `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, - `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, - `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, - `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, - `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, - `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, - `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, - `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, - `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, - `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, - `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, - `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, - `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, - `END_USER_CREDENTIALS_ACCESSED` - page_size: - type: optional - docs: Number of results to return per page. - start_date: - type: optional - docs: >- - If included, will only include audit trail events that occurred - after this time - user_email: - type: optional - docs: >- - If provided, this will return events associated with the specified - user email. Please note that the email address reflects the user's - email at the time of the event, and may not be their current - email. - response: - docs: '' - type: root.PaginatedAuditLogEventList - status-code: 200 - examples: - - query-parameters: - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - end_date: end_date - event_type: event_type - page_size: 1 - start_date: start_date - user_email: user_email - headers: - X-Account-Token: '[object Object]' - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: b5ceea2a-7171-47ce-8090-165cfce5572c - user_name: Gil Feig - user_email: hello@merge.dev - role: ADMIN - ip_address: 192.0.2.123 - event_type: CREATED_REMOTE_PRODUCTION_API_KEY - event_description: >- - Organization-wide Scopes for model hris.Employee updated - from Read to Read+Write - created_at: '2024-01-15T09:30:00Z' - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/accounting/availableActions.yml b/.mock/definition/accounting/availableActions.yml deleted file mode 100644 index eecb06ef..00000000 --- a/.mock/definition/accounting/availableActions.yml +++ /dev/null @@ -1,52 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - retrieve: - path: /accounting/v1/available-actions - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of models and actions available for an account. - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: root.AvailableActions - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - integration: - name: name - abbreviated_name: abbreviated_name - categories: - - hris - image: image - square_image: square_image - color: color - slug: slug - api_endpoints_to_documentation_urls: - key: value - webhook_setup_guide_url: webhook_setup_guide_url - category_beta_status: - key: value - passthrough_available: true - available_model_operations: - - model_name: Candidate - available_operations: - - FETCH - - CREATE - required_post_parameters: - - remote_user_id - supported_fields: - - first_name - - last_name - - company - - title - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/accounting/balanceSheets.yml b/.mock/definition/accounting/balanceSheets.yml deleted file mode 100644 index 9e451c2f..00000000 --- a/.mock/definition/accounting/balanceSheets.yml +++ /dev/null @@ -1,267 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /accounting/v1/balance-sheets - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `BalanceSheet` objects. - source: - openapi: openapi/openapi.yml - request: - name: BalanceSheetsListRequest - query-parameters: - company_id: - type: optional - docs: If provided, will only return balance sheets for this company. - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - expand: - type: optional> - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - page_size: - type: optional - docs: Number of results to return per page. - remote_id: - type: optional - docs: The API provider's ID for the given object. - response: - docs: '' - type: root.PaginatedBalanceSheetList - status-code: 200 - examples: - - query-parameters: - company_id: company_id - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - expand: company - include_deleted_data: true - include_remote_data: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - page_size: 1 - remote_id: remote_id - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: 9871b4a9-f5d2-4f3b-a66b-dfedbed42c46 - remote_id: '8937018' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: BalanceSheet - currency: XUA - company: company - date: '2021-10-01T00:00:00Z' - net_assets: 1000 - assets: - - remote_id: '10010' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Assets - value: 1000 - sub_items: - - remote_id: '10300' - name: Revenue - San Francisco - value: 500 - - remote_id: '10301' - name: Revenue - New York - value: 500 - company: 595c8f97-2ac4-45b7-b000-41bdf43240b5 - liabilities: - - remote_id: '10011' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Liabilities - value: 500 - sub_items: - - remote_id: '10300' - name: Revenue - San Francisco - value: 500 - - remote_id: '10301' - name: Revenue - New York - value: 500 - company: 595c8f97-2ac4-45b7-b000-41bdf43240b5 - equity: - - remote_id: '10012' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Equity - value: 500 - sub_items: - - remote_id: '10300' - name: Revenue - San Francisco - value: 500 - - remote_id: '10301' - name: Revenue - New York - value: 500 - company: 595c8f97-2ac4-45b7-b000-41bdf43240b5 - remote_generated_at: '2021-10-01T00:00:00Z' - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /platform-endpoint - data: - - Varies by platform - retrieve: - path: /accounting/v1/balance-sheets/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns a `BalanceSheet` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: BalanceSheetsRetrieveRequest - query-parameters: - expand: - type: optional> - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - response: - docs: '' - type: root.BalanceSheet - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - expand: company - include_remote_data: true - include_shell_data: true - headers: - X-Account-Token: X-Account-Token - response: - body: - id: 9871b4a9-f5d2-4f3b-a66b-dfedbed42c46 - remote_id: '8937018' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: BalanceSheet - currency: XUA - company: company - date: '2021-10-01T00:00:00Z' - net_assets: 1000 - assets: - - remote_id: '10010' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Assets - value: 1000 - sub_items: - - remote_id: '10300' - name: Revenue - San Francisco - value: 500 - - remote_id: '10301' - name: Revenue - New York - value: 500 - company: 595c8f97-2ac4-45b7-b000-41bdf43240b5 - remote_was_deleted: true - liabilities: - - remote_id: '10011' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Liabilities - value: 500 - sub_items: - - remote_id: '10300' - name: Revenue - San Francisco - value: 500 - - remote_id: '10301' - name: Revenue - New York - value: 500 - company: 595c8f97-2ac4-45b7-b000-41bdf43240b5 - remote_was_deleted: true - equity: - - remote_id: '10012' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Equity - value: 500 - sub_items: - - remote_id: '10300' - name: Revenue - San Francisco - value: 500 - - remote_id: '10301' - name: Revenue - New York - value: 500 - company: 595c8f97-2ac4-45b7-b000-41bdf43240b5 - remote_was_deleted: true - remote_generated_at: '2021-10-01T00:00:00Z' - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /platform-endpoint - data: - - Varies by platform - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/accounting/bankFeedAccounts.yml b/.mock/definition/accounting/bankFeedAccounts.yml deleted file mode 100644 index ed4b02c6..00000000 --- a/.mock/definition/accounting/bankFeedAccounts.yml +++ /dev/null @@ -1,408 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /accounting/v1/bank-feed-accounts - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `BankFeedAccount` objects. - source: - openapi: openapi/openapi.yml - request: - name: BankFeedAccountsListRequest - query-parameters: - cursor: - type: optional - docs: The pagination cursor value. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - page_size: - type: optional - docs: Number of results to return per page. - response: - docs: '' - type: root.PaginatedBankFeedAccountList - status-code: 200 - examples: - - query-parameters: - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - include_deleted_data: true - include_remote_data: true - include_shell_data: true - page_size: 1 - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: b26fd49a-cbae-470a-a8f8-bcbc119e0390 - remote_id: '987300' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - source_account_id: '123566909' - target_account_id: 49cd5a42-b311-4750-9361-52e2ed1d4653 - source_account_name: Travel Bank Account - source_account_number: '12567' - target_account_name: Netsuite Travel Bank Account - currency: XUA - feed_status: ACTIVE - feed_start_date: '2024-02-02T00:00:00Z' - source_account_balance: 123.94 - account_type: BANK - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - null - create: - path: /accounting/v1/bank-feed-accounts - method: POST - auth: - - tokenAuth: [] - docs: Creates a `BankFeedAccount` object with the given values. - source: - openapi: openapi/openapi.yml - request: - name: BankFeedAccountEndpointRequest - query-parameters: - is_debug_mode: - type: optional - docs: >- - Whether to include debug fields (such as log file links) in the - response. - run_async: - type: optional - docs: Whether or not third-party updates should be run asynchronously. - body: - properties: - model: root.BankFeedAccountRequest - content-type: application/json - response: - docs: '' - type: root.BankFeedAccountResponse - status-code: 201 - examples: - - query-parameters: - is_debug_mode: true - run_async: true - headers: - X-Account-Token: X-Account-Token - request: - model: {} - response: - body: - model: - id: b26fd49a-cbae-470a-a8f8-bcbc119e0390 - remote_id: '987300' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - source_account_id: '123566909' - target_account_id: 49cd5a42-b311-4750-9361-52e2ed1d4653 - source_account_name: Travel Bank Account - source_account_number: '12567' - target_account_name: Netsuite Travel Bank Account - currency: XUA - feed_status: ACTIVE - feed_start_date: '2024-02-02T00:00:00Z' - source_account_balance: 123.94 - account_type: BANK - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - key: value - warnings: - - source: - pointer: pointer - title: Unrecognized Field - detail: An unrecognized field, age, was passed in with request data. - problem_type: UNRECOGNIZED_FIELD - errors: - - source: - pointer: pointer - title: Missing Required Field - detail: custom_fields is a required field on model. - problem_type: MISSING_REQUIRED_FIELD - logs: - - log_id: 99433219-8017-4acd-bb3c-ceb23d663832 - dashboard_view: >- - https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832 - log_summary: - url: www.exampleintegration.com/api/v1/exampleapi - method: POST - status_code: 200 - retrieve: - path: /accounting/v1/bank-feed-accounts/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns a `BankFeedAccount` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: BankFeedAccountsRetrieveRequest - query-parameters: - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - response: - docs: '' - type: root.BankFeedAccount - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - include_remote_data: true - include_shell_data: true - headers: - X-Account-Token: X-Account-Token - response: - body: - id: b26fd49a-cbae-470a-a8f8-bcbc119e0390 - remote_id: '987300' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - source_account_id: '123566909' - target_account_id: 49cd5a42-b311-4750-9361-52e2ed1d4653 - source_account_name: Travel Bank Account - source_account_number: '12567' - target_account_name: Netsuite Travel Bank Account - currency: XUA - feed_status: ACTIVE - feed_start_date: '2024-02-02T00:00:00Z' - source_account_balance: 123.94 - account_type: BANK - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - key: value - metaPostRetrieve: - path: /accounting/v1/bank-feed-accounts/meta/post - method: GET - auth: - - tokenAuth: [] - docs: Returns metadata for `BankFeedAccount` POSTs. - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: root.MetaResponse - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - request_schema: - type: object - properties: - model: - type: object - required: - - last_name - - first_name - - merge_categories - - new_york_city_neighborhood - - favorite_tv_shows - - favorite_watch - properties: - email_addresses: - type: array - items: - type: object - properties: - value: - type: string - title: value - email_address_type: - type: string - title: email_address_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: email_addresses - description: Array of email_addresses objects - urls: - type: array - items: - type: object - properties: - value: - type: string - title: value - url_type: - type: string - title: url_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: urls - description: Array of urls objects - first_name: - type: string - title: first_name - description: The first name. - last_name: - type: string - title: last_name - description: The last name. - phone_numbers: - type: array - items: - type: object - properties: - value: - type: string - title: value - phone_number_type: - type: string - title: phone_number_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: phone_numbers - description: Array of phone_numbers objects - tags: - type: array - items: - type: string - format: uuid - title: tags - description: Array of tags names - attachments: - type: array - items: - type: object - properties: - id: - type: string - title: id - file_url: - type: string - title: file_url - file_name: - type: string - title: file_name - attachment_type: - type: string - title: attachment_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: attachments - description: 'Array of attachments objects ' - merge_categories: - type: array - categories: - type: string - enum: - - HRIS - - ATS - - Accounting - - Ticketing - - File Storage - - CRM - - Marketing Automation - enum_information: - - value: HRIS - description: Merge HRIS Category - - value: ATS - description: Merge ATS Category - - value: Accounting - description: Merge Accounting Category - - value: Ticketing - description: Merge Ticketing Category - - value: File Storage - description: Merge File Storage Category - - value: CRM - description: Merge CRM Category - - value: Marketing Automation - description: Merge Marketing Automation Category - title: Merge Categories - description: Array of Merge's Unified API Categories - new_york_city_neighborhood: - type: string - title: Borough - description: One of the 5 Boroughs of New York City - favorite_tv_shows: - type: array - items: - type: string - format: uuid - title: Favorite TV Shows - description: Array of TV Show objects on merge.tv_shows - favorite_watch: - type: string - title: Favorite Watch - description: Favorite watch of all time - remote_field_classes: - key: value - status: - linked_account_status: linked_account_status - can_make_request: true - has_conditional_params: true - has_required_linked_account_params: true - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/accounting/bankFeedTransactions.yml b/.mock/definition/accounting/bankFeedTransactions.yml deleted file mode 100644 index ef795146..00000000 --- a/.mock/definition/accounting/bankFeedTransactions.yml +++ /dev/null @@ -1,431 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /accounting/v1/bank-feed-transactions - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `BankFeedTransaction` objects. - source: - openapi: openapi/openapi.yml - request: - name: BankFeedTransactionsListRequest - query-parameters: - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - expand: - type: optional> - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - is_processed: - type: optional - docs: >- - If provided, will only return bank feed transactions with this - is_processed value - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - page_size: - type: optional - docs: Number of results to return per page. - remote_id: - type: optional - docs: The API provider's ID for the given object. - response: - docs: '' - type: root.PaginatedBankFeedTransactionList - status-code: 200 - examples: - - query-parameters: - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - expand: bank_feed_account - include_deleted_data: true - include_remote_data: true - include_shell_data: true - is_processed: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - page_size: 1 - remote_id: remote_id - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: b26fd49a-cbae-470a-a8f8-bcbc119e0390 - remote_id: '987300' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - bank_feed_account: bank_feed_account - transaction_date: '2024-02-02T00:00:00Z' - posted_date: '2024-02-03T00:00:00Z' - amount: 100.1 - description: Lunch expense - transaction_type: payment - payee: Elmo's diner - credit_or_debit: CREDIT - source_transaction_id: '124569' - remote_was_deleted: true - is_processed: true - create: - path: /accounting/v1/bank-feed-transactions - method: POST - auth: - - tokenAuth: [] - docs: Creates a `BankFeedTransaction` object with the given values. - source: - openapi: openapi/openapi.yml - request: - name: BankFeedTransactionEndpointRequest - query-parameters: - is_debug_mode: - type: optional - docs: >- - Whether to include debug fields (such as log file links) in the - response. - run_async: - type: optional - docs: Whether or not third-party updates should be run asynchronously. - body: - properties: - model: root.BankFeedTransactionRequestRequest - content-type: application/json - response: - docs: '' - type: root.BankFeedTransactionResponse - status-code: 201 - examples: - - query-parameters: - is_debug_mode: true - run_async: true - headers: - X-Account-Token: X-Account-Token - request: - model: {} - response: - body: - model: - id: b26fd49a-cbae-470a-a8f8-bcbc119e0390 - remote_id: '987300' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - bank_feed_account: bank_feed_account - transaction_date: '2024-02-02T00:00:00Z' - posted_date: '2024-02-03T00:00:00Z' - amount: 100.1 - description: Lunch expense - transaction_type: payment - payee: Elmo's diner - credit_or_debit: CREDIT - source_transaction_id: '124569' - remote_was_deleted: true - is_processed: true - warnings: - - source: - pointer: pointer - title: Unrecognized Field - detail: An unrecognized field, age, was passed in with request data. - problem_type: UNRECOGNIZED_FIELD - errors: - - source: - pointer: pointer - title: Missing Required Field - detail: custom_fields is a required field on model. - problem_type: MISSING_REQUIRED_FIELD - logs: - - log_id: 99433219-8017-4acd-bb3c-ceb23d663832 - dashboard_view: >- - https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832 - log_summary: - url: www.exampleintegration.com/api/v1/exampleapi - method: POST - status_code: 200 - retrieve: - path: /accounting/v1/bank-feed-transactions/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns a `BankFeedTransaction` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: BankFeedTransactionsRetrieveRequest - query-parameters: - expand: - type: optional> - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - response: - docs: '' - type: root.BankFeedTransaction - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - expand: bank_feed_account - include_remote_data: true - include_shell_data: true - headers: - X-Account-Token: X-Account-Token - response: - body: - id: b26fd49a-cbae-470a-a8f8-bcbc119e0390 - remote_id: '987300' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - bank_feed_account: bank_feed_account - transaction_date: '2024-02-02T00:00:00Z' - posted_date: '2024-02-03T00:00:00Z' - amount: 100.1 - description: Lunch expense - transaction_type: payment - payee: Elmo's diner - credit_or_debit: CREDIT - source_transaction_id: '124569' - remote_was_deleted: true - is_processed: true - metaPostRetrieve: - path: /accounting/v1/bank-feed-transactions/meta/post - method: GET - auth: - - tokenAuth: [] - docs: Returns metadata for `BankFeedTransaction` POSTs. - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: root.MetaResponse - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - request_schema: - type: object - properties: - model: - type: object - required: - - last_name - - first_name - - merge_categories - - new_york_city_neighborhood - - favorite_tv_shows - - favorite_watch - properties: - email_addresses: - type: array - items: - type: object - properties: - value: - type: string - title: value - email_address_type: - type: string - title: email_address_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: email_addresses - description: Array of email_addresses objects - urls: - type: array - items: - type: object - properties: - value: - type: string - title: value - url_type: - type: string - title: url_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: urls - description: Array of urls objects - first_name: - type: string - title: first_name - description: The first name. - last_name: - type: string - title: last_name - description: The last name. - phone_numbers: - type: array - items: - type: object - properties: - value: - type: string - title: value - phone_number_type: - type: string - title: phone_number_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: phone_numbers - description: Array of phone_numbers objects - tags: - type: array - items: - type: string - format: uuid - title: tags - description: Array of tags names - attachments: - type: array - items: - type: object - properties: - id: - type: string - title: id - file_url: - type: string - title: file_url - file_name: - type: string - title: file_name - attachment_type: - type: string - title: attachment_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: attachments - description: 'Array of attachments objects ' - merge_categories: - type: array - categories: - type: string - enum: - - HRIS - - ATS - - Accounting - - Ticketing - - File Storage - - CRM - - Marketing Automation - enum_information: - - value: HRIS - description: Merge HRIS Category - - value: ATS - description: Merge ATS Category - - value: Accounting - description: Merge Accounting Category - - value: Ticketing - description: Merge Ticketing Category - - value: File Storage - description: Merge File Storage Category - - value: CRM - description: Merge CRM Category - - value: Marketing Automation - description: Merge Marketing Automation Category - title: Merge Categories - description: Array of Merge's Unified API Categories - new_york_city_neighborhood: - type: string - title: Borough - description: One of the 5 Boroughs of New York City - favorite_tv_shows: - type: array - items: - type: string - format: uuid - title: Favorite TV Shows - description: Array of TV Show objects on merge.tv_shows - favorite_watch: - type: string - title: Favorite Watch - description: Favorite watch of all time - remote_field_classes: - key: value - status: - linked_account_status: linked_account_status - can_make_request: true - has_conditional_params: true - has_required_linked_account_params: true - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/accounting/cashFlowStatements.yml b/.mock/definition/accounting/cashFlowStatements.yml deleted file mode 100644 index 361a21b9..00000000 --- a/.mock/definition/accounting/cashFlowStatements.yml +++ /dev/null @@ -1,267 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /accounting/v1/cash-flow-statements - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `CashFlowStatement` objects. - source: - openapi: openapi/openapi.yml - request: - name: CashFlowStatementsListRequest - query-parameters: - company_id: - type: optional - docs: >- - If provided, will only return cash flow statements for this - company. - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - expand: - type: optional> - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - page_size: - type: optional - docs: Number of results to return per page. - remote_id: - type: optional - docs: The API provider's ID for the given object. - response: - docs: '' - type: root.PaginatedCashFlowStatementList - status-code: 200 - examples: - - query-parameters: - company_id: company_id - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - expand: company - include_deleted_data: true - include_remote_data: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - page_size: 1 - remote_id: remote_id - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: 5b3c1341-a20f-4e51-b72c-f3830a16c97b - remote_id: '8211088' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: CashFlow - currency: XUA - company: company - start_period: '2020-01-01T00:00:00Z' - end_period: '2020-03-31T00:00:00Z' - cash_at_beginning_of_period: 5000 - cash_at_end_of_period: 4063.52 - operating_activities: - - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-09-18T00:00:00Z' - name: Operating Activities - value: 1000 - sub_items: - - remote_id: '23042938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-09-18T00:00:00Z' - name: Net Income - value: 1097.13 - company: 595c8f97-2ac4-45b7-b000-41bdf43240b5 - investing_activities: - - remote_id: '192406939' - created_at: '2021-11-15T00:00:00Z' - modified_at: '2021-11-18T00:00:00Z' - name: Equipment - value: 1000 - sub_items: - - created_at: '2021-11-15T00:00:00Z' - modified_at: '2021-09-18T00:00:00Z' - name: Equipment - value: 1000 - company: 595c8f97-2ac4-45b7-b000-41bdf43240b5 - financing_activities: - - remote_id: '192406939' - created_at: '2021-11-15T00:00:00Z' - modified_at: '2021-11-15T00:00:00Z' - name: Revenue - value: 1000 - sub_items: - - remote_id: '10300' - name: Revenue - San Francisco - value: 500 - - remote_id: '10301' - name: Revenue - New York - value: 500 - company: 595c8f97-2ac4-45b7-b000-41bdf43240b5 - remote_generated_at: '2020-04-01T00:00:00Z' - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /actions - data: - - Varies by platform - retrieve: - path: /accounting/v1/cash-flow-statements/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns a `CashFlowStatement` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: CashFlowStatementsRetrieveRequest - query-parameters: - expand: - type: optional> - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - response: - docs: '' - type: root.CashFlowStatement - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - expand: company - include_remote_data: true - include_shell_data: true - headers: - X-Account-Token: X-Account-Token - response: - body: - id: 5b3c1341-a20f-4e51-b72c-f3830a16c97b - remote_id: '8211088' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: CashFlow - currency: XUA - company: company - start_period: '2020-01-01T00:00:00Z' - end_period: '2020-03-31T00:00:00Z' - cash_at_beginning_of_period: 5000 - cash_at_end_of_period: 4063.52 - operating_activities: - - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-09-18T00:00:00Z' - name: Operating Activities - value: 1000 - sub_items: - - remote_id: '23042938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-09-18T00:00:00Z' - name: Net Income - value: 1097.13 - company: 595c8f97-2ac4-45b7-b000-41bdf43240b5 - remote_was_deleted: true - investing_activities: - - remote_id: '192406939' - created_at: '2021-11-15T00:00:00Z' - modified_at: '2021-11-18T00:00:00Z' - name: Equipment - value: 1000 - sub_items: - - created_at: '2021-11-15T00:00:00Z' - modified_at: '2021-09-18T00:00:00Z' - name: Equipment - value: 1000 - company: 595c8f97-2ac4-45b7-b000-41bdf43240b5 - remote_was_deleted: true - financing_activities: - - remote_id: '192406939' - created_at: '2021-11-15T00:00:00Z' - modified_at: '2021-11-15T00:00:00Z' - name: Revenue - value: 1000 - sub_items: - - remote_id: '10300' - name: Revenue - San Francisco - value: 500 - - remote_id: '10301' - name: Revenue - New York - value: 500 - company: 595c8f97-2ac4-45b7-b000-41bdf43240b5 - remote_was_deleted: true - remote_generated_at: '2020-04-01T00:00:00Z' - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /actions - data: - - Varies by platform - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/accounting/companyInfo.yml b/.mock/definition/accounting/companyInfo.yml deleted file mode 100644 index a61972c8..00000000 --- a/.mock/definition/accounting/companyInfo.yml +++ /dev/null @@ -1,230 +0,0 @@ -types: - CompanyInfoListRequestExpand: - enum: - - addresses - - value: addresses,phone_numbers - name: AddressesPhoneNumbers - - phone_numbers - source: - openapi: openapi/openapi.yml - CompanyInfoRetrieveRequestExpand: - enum: - - addresses - - value: addresses,phone_numbers - name: AddressesPhoneNumbers - - phone_numbers - source: - openapi: openapi/openapi.yml -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /accounting/v1/company-info - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `CompanyInfo` objects. - source: - openapi: openapi/openapi.yml - request: - name: CompanyInfoListRequest - query-parameters: - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - page_size: - type: optional - docs: Number of results to return per page. - remote_id: - type: optional - docs: The API provider's ID for the given object. - response: - docs: '' - type: root.PaginatedCompanyInfoList - status-code: 200 - examples: - - query-parameters: - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - expand: addresses - include_deleted_data: true - include_remote_data: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - page_size: 1 - remote_id: remote_id - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: 65d8ffd0-211b-4ba4-b85a-fbe2ce220982 - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Merge Pickleball Company - legal_name: Merge Pickleball Company Inc. - tax_number: 11-0011000 - fiscal_year_end_month: 12 - fiscal_year_end_day: 31 - currency: XUA - remote_created_at: '2020-03-31T00:00:00Z' - urls: - - null - addresses: - - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - street_1: 2920 Broadway - street_2: 2nd Floor - city: New York - state: NY - country_subdivision: NY - country: US - zip_code: '10027' - phone_numbers: - - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - number: '+3198675309' - type: Mobile - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /actions - data: - - Varies by platform - retrieve: - path: /accounting/v1/company-info/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns a `CompanyInfo` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: CompanyInfoRetrieveRequest - query-parameters: - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - response: - docs: '' - type: root.CompanyInfo - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - expand: addresses - include_remote_data: true - include_shell_data: true - headers: - X-Account-Token: X-Account-Token - response: - body: - id: 65d8ffd0-211b-4ba4-b85a-fbe2ce220982 - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Merge Pickleball Company - legal_name: Merge Pickleball Company Inc. - tax_number: 11-0011000 - fiscal_year_end_month: 12 - fiscal_year_end_day: 31 - currency: XUA - remote_created_at: '2020-03-31T00:00:00Z' - urls: - - urls - addresses: - - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - type: BILLING - street_1: 2920 Broadway - street_2: 2nd Floor - city: New York - state: NY - country_subdivision: NY - country: US - zip_code: '10027' - phone_numbers: - - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - number: '+3198675309' - type: Mobile - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /actions - data: - - Varies by platform - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/accounting/contacts.yml b/.mock/definition/accounting/contacts.yml deleted file mode 100644 index 81a256ee..00000000 --- a/.mock/definition/accounting/contacts.yml +++ /dev/null @@ -1,947 +0,0 @@ -types: - ContactsListRequestExpand: - enum: - - addresses - - value: addresses,company - name: AddressesCompany - - value: addresses,phone_numbers - name: AddressesPhoneNumbers - - value: addresses,phone_numbers,company - name: AddressesPhoneNumbersCompany - - company - - phone_numbers - - value: phone_numbers,company - name: PhoneNumbersCompany - source: - openapi: openapi/openapi.yml - ContactsListRequestStatus: - enum: - - value: '' - name: EMPTY - - ACTIVE - - ARCHIVED - source: - openapi: openapi/openapi.yml - ContactsRetrieveRequestExpand: - enum: - - addresses - - value: addresses,company - name: AddressesCompany - - value: addresses,phone_numbers - name: AddressesPhoneNumbers - - value: addresses,phone_numbers,company - name: AddressesPhoneNumbersCompany - - company - - phone_numbers - - value: phone_numbers,company - name: PhoneNumbersCompany - source: - openapi: openapi/openapi.yml -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /accounting/v1/contacts - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `Contact` objects. - source: - openapi: openapi/openapi.yml - request: - name: ContactsListRequest - query-parameters: - company_id: - type: optional - docs: If provided, will only return contacts for this company. - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - email_address: - type: optional - docs: If provided, will only return Contacts that match this email. - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_remote_fields: - type: optional - docs: >- - Whether to include all remote fields, including fields that Merge - did not map to common models, in a normalized format. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - is_customer: - type: optional - docs: >- - If provided, will only return Contacts that are denoted as - customers. - is_supplier: - type: optional - docs: >- - If provided, will only return Contacts that are denoted as - suppliers. - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - name: - type: optional - docs: If provided, will only return Contacts that match this name. - page_size: - type: optional - docs: Number of results to return per page. - remote_fields: - type: optional> - docs: Deprecated. Use show_enum_origins. - remote_id: - type: optional - docs: The API provider's ID for the given object. - show_enum_origins: - type: optional> - docs: >- - A comma separated list of enum field names for which you'd like - the original values to be returned, instead of Merge's normalized - enum values. [Learn - more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - status: - type: optional - docs: If provided, will only return Contacts that match this status. - response: - docs: '' - type: root.PaginatedContactList - status-code: 200 - examples: - - query-parameters: - company_id: company_id - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - email_address: email_address - expand: addresses - include_deleted_data: true - include_remote_data: true - include_remote_fields: true - include_shell_data: true - is_customer: is_customer - is_supplier: is_supplier - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - name: name - page_size: 1 - remote_fields: status - remote_id: remote_id - show_enum_origins: status - status: '' - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: c640b80b-fac9-409f-aa19-1f9221aec445 - remote_id: '11167' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Gil Feig's pickleball store - is_supplier: true - is_customer: true - email_address: pickleball@merge.dev - tax_number: 12-3456789 - status: ACTIVE - currency: USD - remote_updated_at: '2020-03-31T00:00:00Z' - company: 595c8f97-2ac4-45b7-b000-41bdf43240b5 - addresses: - - 2f2702aa-8948-492b-a412-2acdf6d2c499 - - d98c7428-8dda-48a8-a1da-c570f65e2375 - phone_numbers: - - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - number: '+3198675309' - type: Mobile - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /actions - data: - - Varies by platform - remote_fields: - - remote_field_class: remote_field_class - value: string - create: - path: /accounting/v1/contacts - method: POST - auth: - - tokenAuth: [] - docs: Creates a `Contact` object with the given values. - source: - openapi: openapi/openapi.yml - request: - name: ContactEndpointRequest - query-parameters: - is_debug_mode: - type: optional - docs: >- - Whether to include debug fields (such as log file links) in the - response. - run_async: - type: optional - docs: Whether or not third-party updates should be run asynchronously. - body: - properties: - model: root.ContactRequest - content-type: application/json - response: - docs: '' - type: root.ContactResponse - status-code: 201 - examples: - - query-parameters: - is_debug_mode: true - run_async: true - headers: - X-Account-Token: X-Account-Token - request: - model: {} - response: - body: - model: - id: c640b80b-fac9-409f-aa19-1f9221aec445 - remote_id: '11167' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Gil Feig's pickleball store - is_supplier: true - is_customer: true - email_address: pickleball@merge.dev - tax_number: 12-3456789 - status: ACTIVE - currency: USD - remote_updated_at: '2020-03-31T00:00:00Z' - company: 595c8f97-2ac4-45b7-b000-41bdf43240b5 - addresses: - - 2f2702aa-8948-492b-a412-2acdf6d2c499 - - d98c7428-8dda-48a8-a1da-c570f65e2375 - phone_numbers: - - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - number: '+3198675309' - type: Mobile - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /actions - data: - - Varies by platform - remote_fields: - - remote_field_class: remote_field_class - value: string - warnings: - - source: - pointer: pointer - title: Unrecognized Field - detail: An unrecognized field, age, was passed in with request data. - problem_type: UNRECOGNIZED_FIELD - errors: - - source: - pointer: pointer - title: Missing Required Field - detail: custom_fields is a required field on model. - problem_type: MISSING_REQUIRED_FIELD - logs: - - log_id: 99433219-8017-4acd-bb3c-ceb23d663832 - dashboard_view: >- - https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832 - log_summary: - url: www.exampleintegration.com/api/v1/exampleapi - method: POST - status_code: 200 - retrieve: - path: /accounting/v1/contacts/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns a `Contact` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: ContactsRetrieveRequest - query-parameters: - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_remote_fields: - type: optional - docs: >- - Whether to include all remote fields, including fields that Merge - did not map to common models, in a normalized format. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - remote_fields: - type: optional> - docs: Deprecated. Use show_enum_origins. - show_enum_origins: - type: optional> - docs: >- - A comma separated list of enum field names for which you'd like - the original values to be returned, instead of Merge's normalized - enum values. [Learn - more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - response: - docs: '' - type: root.Contact - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - expand: addresses - include_remote_data: true - include_remote_fields: true - include_shell_data: true - remote_fields: status - show_enum_origins: status - headers: - X-Account-Token: X-Account-Token - response: - body: - id: c640b80b-fac9-409f-aa19-1f9221aec445 - remote_id: '11167' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Gil Feig's pickleball store - is_supplier: true - is_customer: true - email_address: pickleball@merge.dev - tax_number: 12-3456789 - status: ACTIVE - currency: USD - remote_updated_at: '2020-03-31T00:00:00Z' - company: 595c8f97-2ac4-45b7-b000-41bdf43240b5 - addresses: - - 2f2702aa-8948-492b-a412-2acdf6d2c499 - - d98c7428-8dda-48a8-a1da-c570f65e2375 - phone_numbers: - - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - number: '+3198675309' - type: Mobile - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /actions - data: - - Varies by platform - remote_fields: - - remote_field_class: remote_field_class - value: string - partialUpdate: - path: /accounting/v1/contacts/{id} - method: PATCH - auth: - - tokenAuth: [] - docs: Updates a `Contact` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: PatchedContactEndpointRequest - query-parameters: - is_debug_mode: - type: optional - docs: >- - Whether to include debug fields (such as log file links) in the - response. - run_async: - type: optional - docs: Whether or not third-party updates should be run asynchronously. - body: - properties: - model: root.PatchedContactRequest - content-type: application/json - response: - docs: '' - type: root.ContactResponse - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - is_debug_mode: true - run_async: true - headers: - X-Account-Token: X-Account-Token - request: - model: {} - response: - body: - model: - id: c640b80b-fac9-409f-aa19-1f9221aec445 - remote_id: '11167' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Gil Feig's pickleball store - is_supplier: true - is_customer: true - email_address: pickleball@merge.dev - tax_number: 12-3456789 - status: ACTIVE - currency: USD - remote_updated_at: '2020-03-31T00:00:00Z' - company: 595c8f97-2ac4-45b7-b000-41bdf43240b5 - addresses: - - 2f2702aa-8948-492b-a412-2acdf6d2c499 - - d98c7428-8dda-48a8-a1da-c570f65e2375 - phone_numbers: - - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - number: '+3198675309' - type: Mobile - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /actions - data: - - Varies by platform - remote_fields: - - remote_field_class: remote_field_class - value: string - warnings: - - source: - pointer: pointer - title: Unrecognized Field - detail: An unrecognized field, age, was passed in with request data. - problem_type: UNRECOGNIZED_FIELD - errors: - - source: - pointer: pointer - title: Missing Required Field - detail: custom_fields is a required field on model. - problem_type: MISSING_REQUIRED_FIELD - logs: - - log_id: 99433219-8017-4acd-bb3c-ceb23d663832 - dashboard_view: >- - https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832 - log_summary: - url: www.exampleintegration.com/api/v1/exampleapi - method: POST - status_code: 200 - metaPatchRetrieve: - path: /accounting/v1/contacts/meta/patch/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns metadata for `Contact` PATCHs. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - response: - docs: '' - type: root.MetaResponse - status-code: 200 - examples: - - path-parameters: - id: id - headers: - X-Account-Token: X-Account-Token - response: - body: - request_schema: - type: object - properties: - model: - type: object - required: - - last_name - - first_name - - merge_categories - - new_york_city_neighborhood - - favorite_tv_shows - - favorite_watch - properties: - email_addresses: - type: array - items: - type: object - properties: - value: - type: string - title: value - email_address_type: - type: string - title: email_address_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: email_addresses - description: Array of email_addresses objects - urls: - type: array - items: - type: object - properties: - value: - type: string - title: value - url_type: - type: string - title: url_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: urls - description: Array of urls objects - first_name: - type: string - title: first_name - description: The first name. - last_name: - type: string - title: last_name - description: The last name. - phone_numbers: - type: array - items: - type: object - properties: - value: - type: string - title: value - phone_number_type: - type: string - title: phone_number_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: phone_numbers - description: Array of phone_numbers objects - tags: - type: array - items: - type: string - format: uuid - title: tags - description: Array of tags names - attachments: - type: array - items: - type: object - properties: - id: - type: string - title: id - file_url: - type: string - title: file_url - file_name: - type: string - title: file_name - attachment_type: - type: string - title: attachment_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: attachments - description: 'Array of attachments objects ' - merge_categories: - type: array - categories: - type: string - enum: - - HRIS - - ATS - - Accounting - - Ticketing - - File Storage - - CRM - - Marketing Automation - enum_information: - - value: HRIS - description: Merge HRIS Category - - value: ATS - description: Merge ATS Category - - value: Accounting - description: Merge Accounting Category - - value: Ticketing - description: Merge Ticketing Category - - value: File Storage - description: Merge File Storage Category - - value: CRM - description: Merge CRM Category - - value: Marketing Automation - description: Merge Marketing Automation Category - title: Merge Categories - description: Array of Merge's Unified API Categories - new_york_city_neighborhood: - type: string - title: Borough - description: One of the 5 Boroughs of New York City - favorite_tv_shows: - type: array - items: - type: string - format: uuid - title: Favorite TV Shows - description: Array of TV Show objects on merge.tv_shows - favorite_watch: - type: string - title: Favorite Watch - description: Favorite watch of all time - remote_field_classes: - key: value - status: - linked_account_status: linked_account_status - can_make_request: true - has_conditional_params: true - has_required_linked_account_params: true - metaPostRetrieve: - path: /accounting/v1/contacts/meta/post - method: GET - auth: - - tokenAuth: [] - docs: Returns metadata for `Contact` POSTs. - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: root.MetaResponse - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - request_schema: - type: object - properties: - model: - type: object - required: - - last_name - - first_name - - merge_categories - - new_york_city_neighborhood - - favorite_tv_shows - - favorite_watch - properties: - email_addresses: - type: array - items: - type: object - properties: - value: - type: string - title: value - email_address_type: - type: string - title: email_address_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: email_addresses - description: Array of email_addresses objects - urls: - type: array - items: - type: object - properties: - value: - type: string - title: value - url_type: - type: string - title: url_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: urls - description: Array of urls objects - first_name: - type: string - title: first_name - description: The first name. - last_name: - type: string - title: last_name - description: The last name. - phone_numbers: - type: array - items: - type: object - properties: - value: - type: string - title: value - phone_number_type: - type: string - title: phone_number_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: phone_numbers - description: Array of phone_numbers objects - tags: - type: array - items: - type: string - format: uuid - title: tags - description: Array of tags names - attachments: - type: array - items: - type: object - properties: - id: - type: string - title: id - file_url: - type: string - title: file_url - file_name: - type: string - title: file_name - attachment_type: - type: string - title: attachment_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: attachments - description: 'Array of attachments objects ' - merge_categories: - type: array - categories: - type: string - enum: - - HRIS - - ATS - - Accounting - - Ticketing - - File Storage - - CRM - - Marketing Automation - enum_information: - - value: HRIS - description: Merge HRIS Category - - value: ATS - description: Merge ATS Category - - value: Accounting - description: Merge Accounting Category - - value: Ticketing - description: Merge Ticketing Category - - value: File Storage - description: Merge File Storage Category - - value: CRM - description: Merge CRM Category - - value: Marketing Automation - description: Merge Marketing Automation Category - title: Merge Categories - description: Array of Merge's Unified API Categories - new_york_city_neighborhood: - type: string - title: Borough - description: One of the 5 Boroughs of New York City - favorite_tv_shows: - type: array - items: - type: string - format: uuid - title: Favorite TV Shows - description: Array of TV Show objects on merge.tv_shows - favorite_watch: - type: string - title: Favorite Watch - description: Favorite watch of all time - remote_field_classes: - key: value - status: - linked_account_status: linked_account_status - can_make_request: true - has_conditional_params: true - has_required_linked_account_params: true - remoteFieldClassesList: - path: /accounting/v1/contacts/remote-field-classes - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `RemoteFieldClass` objects. - source: - openapi: openapi/openapi.yml - request: - name: ContactsRemoteFieldClassesListRequest - query-parameters: - cursor: - type: optional - docs: The pagination cursor value. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - is_common_model_field: - type: optional - docs: >- - If provided, will only return remote field classes with this - is_common_model_field value - is_custom: - type: optional - docs: >- - If provided, will only return remote fields classes with this - is_custom value - page_size: - type: optional - docs: Number of results to return per page. - response: - docs: '' - type: root.PaginatedRemoteFieldClassList - status-code: 200 - examples: - - query-parameters: - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - include_deleted_data: true - include_remote_data: true - include_shell_data: true - is_common_model_field: true - is_custom: true - page_size: 1 - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: id - display_name: display_name - remote_key_name: remote_key_name - description: description - is_custom: true - is_common_model_field: true - is_required: true - field_type: string - field_format: string - field_choices: - - field_choices - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/accounting/creditNotes.yml b/.mock/definition/accounting/creditNotes.yml deleted file mode 100644 index 361be1b5..00000000 --- a/.mock/definition/accounting/creditNotes.yml +++ /dev/null @@ -1,1180 +0,0 @@ -types: - CreditNotesListRequestExpand: - enum: - - accounting_period - - applied_payments - - value: applied_payments,accounting_period - name: AppliedPaymentsAccountingPeriod - - value: applied_payments,company - name: AppliedPaymentsCompany - - value: applied_payments,company,accounting_period - name: AppliedPaymentsCompanyAccountingPeriod - - value: applied_payments,contact - name: AppliedPaymentsContact - - value: applied_payments,contact,accounting_period - name: AppliedPaymentsContactAccountingPeriod - - value: applied_payments,contact,company - name: AppliedPaymentsContactCompany - - value: applied_payments,contact,company,accounting_period - name: AppliedPaymentsContactCompanyAccountingPeriod - - value: applied_payments,line_items - name: AppliedPaymentsLineItems - - value: applied_payments,line_items,accounting_period - name: AppliedPaymentsLineItemsAccountingPeriod - - value: applied_payments,line_items,company - name: AppliedPaymentsLineItemsCompany - - value: applied_payments,line_items,company,accounting_period - name: AppliedPaymentsLineItemsCompanyAccountingPeriod - - value: applied_payments,line_items,contact - name: AppliedPaymentsLineItemsContact - - value: applied_payments,line_items,contact,accounting_period - name: AppliedPaymentsLineItemsContactAccountingPeriod - - value: applied_payments,line_items,contact,company - name: AppliedPaymentsLineItemsContactCompany - - value: applied_payments,line_items,contact,company,accounting_period - name: AppliedPaymentsLineItemsContactCompanyAccountingPeriod - - value: applied_payments,line_items,tracking_categories - name: AppliedPaymentsLineItemsTrackingCategories - - value: applied_payments,line_items,tracking_categories,accounting_period - name: AppliedPaymentsLineItemsTrackingCategoriesAccountingPeriod - - value: applied_payments,line_items,tracking_categories,company - name: AppliedPaymentsLineItemsTrackingCategoriesCompany - - value: >- - applied_payments,line_items,tracking_categories,company,accounting_period - name: AppliedPaymentsLineItemsTrackingCategoriesCompanyAccountingPeriod - - value: applied_payments,line_items,tracking_categories,contact - name: AppliedPaymentsLineItemsTrackingCategoriesContact - - value: >- - applied_payments,line_items,tracking_categories,contact,accounting_period - name: AppliedPaymentsLineItemsTrackingCategoriesContactAccountingPeriod - - value: applied_payments,line_items,tracking_categories,contact,company - name: AppliedPaymentsLineItemsTrackingCategoriesContactCompany - - value: >- - applied_payments,line_items,tracking_categories,contact,company,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesContactCompanyAccountingPeriod - - value: applied_payments,tracking_categories - name: AppliedPaymentsTrackingCategories - - value: applied_payments,tracking_categories,accounting_period - name: AppliedPaymentsTrackingCategoriesAccountingPeriod - - value: applied_payments,tracking_categories,company - name: AppliedPaymentsTrackingCategoriesCompany - - value: applied_payments,tracking_categories,company,accounting_period - name: AppliedPaymentsTrackingCategoriesCompanyAccountingPeriod - - value: applied_payments,tracking_categories,contact - name: AppliedPaymentsTrackingCategoriesContact - - value: applied_payments,tracking_categories,contact,accounting_period - name: AppliedPaymentsTrackingCategoriesContactAccountingPeriod - - value: applied_payments,tracking_categories,contact,company - name: AppliedPaymentsTrackingCategoriesContactCompany - - value: applied_payments,tracking_categories,contact,company,accounting_period - name: AppliedPaymentsTrackingCategoriesContactCompanyAccountingPeriod - - company - - value: company,accounting_period - name: CompanyAccountingPeriod - - contact - - value: contact,accounting_period - name: ContactAccountingPeriod - - value: contact,company - name: ContactCompany - - value: contact,company,accounting_period - name: ContactCompanyAccountingPeriod - - line_items - - value: line_items,accounting_period - name: LineItemsAccountingPeriod - - value: line_items,company - name: LineItemsCompany - - value: line_items,company,accounting_period - name: LineItemsCompanyAccountingPeriod - - value: line_items,contact - name: LineItemsContact - - value: line_items,contact,accounting_period - name: LineItemsContactAccountingPeriod - - value: line_items,contact,company - name: LineItemsContactCompany - - value: line_items,contact,company,accounting_period - name: LineItemsContactCompanyAccountingPeriod - - value: line_items,tracking_categories - name: LineItemsTrackingCategories - - value: line_items,tracking_categories,accounting_period - name: LineItemsTrackingCategoriesAccountingPeriod - - value: line_items,tracking_categories,company - name: LineItemsTrackingCategoriesCompany - - value: line_items,tracking_categories,company,accounting_period - name: LineItemsTrackingCategoriesCompanyAccountingPeriod - - value: line_items,tracking_categories,contact - name: LineItemsTrackingCategoriesContact - - value: line_items,tracking_categories,contact,accounting_period - name: LineItemsTrackingCategoriesContactAccountingPeriod - - value: line_items,tracking_categories,contact,company - name: LineItemsTrackingCategoriesContactCompany - - value: line_items,tracking_categories,contact,company,accounting_period - name: LineItemsTrackingCategoriesContactCompanyAccountingPeriod - - payments - - value: payments,accounting_period - name: PaymentsAccountingPeriod - - value: payments,applied_payments - name: PaymentsAppliedPayments - - value: payments,applied_payments,accounting_period - name: PaymentsAppliedPaymentsAccountingPeriod - - value: payments,applied_payments,company - name: PaymentsAppliedPaymentsCompany - - value: payments,applied_payments,company,accounting_period - name: PaymentsAppliedPaymentsCompanyAccountingPeriod - - value: payments,applied_payments,contact - name: PaymentsAppliedPaymentsContact - - value: payments,applied_payments,contact,accounting_period - name: PaymentsAppliedPaymentsContactAccountingPeriod - - value: payments,applied_payments,contact,company - name: PaymentsAppliedPaymentsContactCompany - - value: payments,applied_payments,contact,company,accounting_period - name: PaymentsAppliedPaymentsContactCompanyAccountingPeriod - - value: payments,applied_payments,line_items - name: PaymentsAppliedPaymentsLineItems - - value: payments,applied_payments,line_items,accounting_period - name: PaymentsAppliedPaymentsLineItemsAccountingPeriod - - value: payments,applied_payments,line_items,company - name: PaymentsAppliedPaymentsLineItemsCompany - - value: payments,applied_payments,line_items,company,accounting_period - name: PaymentsAppliedPaymentsLineItemsCompanyAccountingPeriod - - value: payments,applied_payments,line_items,contact - name: PaymentsAppliedPaymentsLineItemsContact - - value: payments,applied_payments,line_items,contact,accounting_period - name: PaymentsAppliedPaymentsLineItemsContactAccountingPeriod - - value: payments,applied_payments,line_items,contact,company - name: PaymentsAppliedPaymentsLineItemsContactCompany - - value: payments,applied_payments,line_items,contact,company,accounting_period - name: PaymentsAppliedPaymentsLineItemsContactCompanyAccountingPeriod - - value: payments,applied_payments,line_items,tracking_categories - name: PaymentsAppliedPaymentsLineItemsTrackingCategories - - value: >- - payments,applied_payments,line_items,tracking_categories,accounting_period - name: PaymentsAppliedPaymentsLineItemsTrackingCategoriesAccountingPeriod - - value: payments,applied_payments,line_items,tracking_categories,company - name: PaymentsAppliedPaymentsLineItemsTrackingCategoriesCompany - - value: >- - payments,applied_payments,line_items,tracking_categories,company,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesCompanyAccountingPeriod - - value: payments,applied_payments,line_items,tracking_categories,contact - name: PaymentsAppliedPaymentsLineItemsTrackingCategoriesContact - - value: >- - payments,applied_payments,line_items,tracking_categories,contact,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesContactAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,contact,company - name: PaymentsAppliedPaymentsLineItemsTrackingCategoriesContactCompany - - value: >- - payments,applied_payments,line_items,tracking_categories,contact,company,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesContactCompanyAccountingPeriod - - value: payments,applied_payments,tracking_categories - name: PaymentsAppliedPaymentsTrackingCategories - - value: payments,applied_payments,tracking_categories,accounting_period - name: PaymentsAppliedPaymentsTrackingCategoriesAccountingPeriod - - value: payments,applied_payments,tracking_categories,company - name: PaymentsAppliedPaymentsTrackingCategoriesCompany - - value: >- - payments,applied_payments,tracking_categories,company,accounting_period - name: PaymentsAppliedPaymentsTrackingCategoriesCompanyAccountingPeriod - - value: payments,applied_payments,tracking_categories,contact - name: PaymentsAppliedPaymentsTrackingCategoriesContact - - value: >- - payments,applied_payments,tracking_categories,contact,accounting_period - name: PaymentsAppliedPaymentsTrackingCategoriesContactAccountingPeriod - - value: payments,applied_payments,tracking_categories,contact,company - name: PaymentsAppliedPaymentsTrackingCategoriesContactCompany - - value: >- - payments,applied_payments,tracking_categories,contact,company,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesContactCompanyAccountingPeriod - - value: payments,company - name: PaymentsCompany - - value: payments,company,accounting_period - name: PaymentsCompanyAccountingPeriod - - value: payments,contact - name: PaymentsContact - - value: payments,contact,accounting_period - name: PaymentsContactAccountingPeriod - - value: payments,contact,company - name: PaymentsContactCompany - - value: payments,contact,company,accounting_period - name: PaymentsContactCompanyAccountingPeriod - - value: payments,line_items - name: PaymentsLineItems - - value: payments,line_items,accounting_period - name: PaymentsLineItemsAccountingPeriod - - value: payments,line_items,company - name: PaymentsLineItemsCompany - - value: payments,line_items,company,accounting_period - name: PaymentsLineItemsCompanyAccountingPeriod - - value: payments,line_items,contact - name: PaymentsLineItemsContact - - value: payments,line_items,contact,accounting_period - name: PaymentsLineItemsContactAccountingPeriod - - value: payments,line_items,contact,company - name: PaymentsLineItemsContactCompany - - value: payments,line_items,contact,company,accounting_period - name: PaymentsLineItemsContactCompanyAccountingPeriod - - value: payments,line_items,tracking_categories - name: PaymentsLineItemsTrackingCategories - - value: payments,line_items,tracking_categories,accounting_period - name: PaymentsLineItemsTrackingCategoriesAccountingPeriod - - value: payments,line_items,tracking_categories,company - name: PaymentsLineItemsTrackingCategoriesCompany - - value: payments,line_items,tracking_categories,company,accounting_period - name: PaymentsLineItemsTrackingCategoriesCompanyAccountingPeriod - - value: payments,line_items,tracking_categories,contact - name: PaymentsLineItemsTrackingCategoriesContact - - value: payments,line_items,tracking_categories,contact,accounting_period - name: PaymentsLineItemsTrackingCategoriesContactAccountingPeriod - - value: payments,line_items,tracking_categories,contact,company - name: PaymentsLineItemsTrackingCategoriesContactCompany - - value: >- - payments,line_items,tracking_categories,contact,company,accounting_period - name: PaymentsLineItemsTrackingCategoriesContactCompanyAccountingPeriod - - value: payments,tracking_categories - name: PaymentsTrackingCategories - - value: payments,tracking_categories,accounting_period - name: PaymentsTrackingCategoriesAccountingPeriod - - value: payments,tracking_categories,company - name: PaymentsTrackingCategoriesCompany - - value: payments,tracking_categories,company,accounting_period - name: PaymentsTrackingCategoriesCompanyAccountingPeriod - - value: payments,tracking_categories,contact - name: PaymentsTrackingCategoriesContact - - value: payments,tracking_categories,contact,accounting_period - name: PaymentsTrackingCategoriesContactAccountingPeriod - - value: payments,tracking_categories,contact,company - name: PaymentsTrackingCategoriesContactCompany - - value: payments,tracking_categories,contact,company,accounting_period - name: PaymentsTrackingCategoriesContactCompanyAccountingPeriod - - tracking_categories - - value: tracking_categories,accounting_period - name: TrackingCategoriesAccountingPeriod - - value: tracking_categories,company - name: TrackingCategoriesCompany - - value: tracking_categories,company,accounting_period - name: TrackingCategoriesCompanyAccountingPeriod - - value: tracking_categories,contact - name: TrackingCategoriesContact - - value: tracking_categories,contact,accounting_period - name: TrackingCategoriesContactAccountingPeriod - - value: tracking_categories,contact,company - name: TrackingCategoriesContactCompany - - value: tracking_categories,contact,company,accounting_period - name: TrackingCategoriesContactCompanyAccountingPeriod - source: - openapi: openapi/openapi.yml - CreditNotesListRequestRemoteFields: - enum: - - status - - value: status,type - name: StatusType - - type - source: - openapi: openapi/openapi.yml - CreditNotesListRequestShowEnumOrigins: - enum: - - status - - value: status,type - name: StatusType - - type - source: - openapi: openapi/openapi.yml - CreditNotesRetrieveRequestExpand: - enum: - - accounting_period - - applied_payments - - value: applied_payments,accounting_period - name: AppliedPaymentsAccountingPeriod - - value: applied_payments,company - name: AppliedPaymentsCompany - - value: applied_payments,company,accounting_period - name: AppliedPaymentsCompanyAccountingPeriod - - value: applied_payments,contact - name: AppliedPaymentsContact - - value: applied_payments,contact,accounting_period - name: AppliedPaymentsContactAccountingPeriod - - value: applied_payments,contact,company - name: AppliedPaymentsContactCompany - - value: applied_payments,contact,company,accounting_period - name: AppliedPaymentsContactCompanyAccountingPeriod - - value: applied_payments,line_items - name: AppliedPaymentsLineItems - - value: applied_payments,line_items,accounting_period - name: AppliedPaymentsLineItemsAccountingPeriod - - value: applied_payments,line_items,company - name: AppliedPaymentsLineItemsCompany - - value: applied_payments,line_items,company,accounting_period - name: AppliedPaymentsLineItemsCompanyAccountingPeriod - - value: applied_payments,line_items,contact - name: AppliedPaymentsLineItemsContact - - value: applied_payments,line_items,contact,accounting_period - name: AppliedPaymentsLineItemsContactAccountingPeriod - - value: applied_payments,line_items,contact,company - name: AppliedPaymentsLineItemsContactCompany - - value: applied_payments,line_items,contact,company,accounting_period - name: AppliedPaymentsLineItemsContactCompanyAccountingPeriod - - value: applied_payments,line_items,tracking_categories - name: AppliedPaymentsLineItemsTrackingCategories - - value: applied_payments,line_items,tracking_categories,accounting_period - name: AppliedPaymentsLineItemsTrackingCategoriesAccountingPeriod - - value: applied_payments,line_items,tracking_categories,company - name: AppliedPaymentsLineItemsTrackingCategoriesCompany - - value: >- - applied_payments,line_items,tracking_categories,company,accounting_period - name: AppliedPaymentsLineItemsTrackingCategoriesCompanyAccountingPeriod - - value: applied_payments,line_items,tracking_categories,contact - name: AppliedPaymentsLineItemsTrackingCategoriesContact - - value: >- - applied_payments,line_items,tracking_categories,contact,accounting_period - name: AppliedPaymentsLineItemsTrackingCategoriesContactAccountingPeriod - - value: applied_payments,line_items,tracking_categories,contact,company - name: AppliedPaymentsLineItemsTrackingCategoriesContactCompany - - value: >- - applied_payments,line_items,tracking_categories,contact,company,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesContactCompanyAccountingPeriod - - value: applied_payments,tracking_categories - name: AppliedPaymentsTrackingCategories - - value: applied_payments,tracking_categories,accounting_period - name: AppliedPaymentsTrackingCategoriesAccountingPeriod - - value: applied_payments,tracking_categories,company - name: AppliedPaymentsTrackingCategoriesCompany - - value: applied_payments,tracking_categories,company,accounting_period - name: AppliedPaymentsTrackingCategoriesCompanyAccountingPeriod - - value: applied_payments,tracking_categories,contact - name: AppliedPaymentsTrackingCategoriesContact - - value: applied_payments,tracking_categories,contact,accounting_period - name: AppliedPaymentsTrackingCategoriesContactAccountingPeriod - - value: applied_payments,tracking_categories,contact,company - name: AppliedPaymentsTrackingCategoriesContactCompany - - value: applied_payments,tracking_categories,contact,company,accounting_period - name: AppliedPaymentsTrackingCategoriesContactCompanyAccountingPeriod - - company - - value: company,accounting_period - name: CompanyAccountingPeriod - - contact - - value: contact,accounting_period - name: ContactAccountingPeriod - - value: contact,company - name: ContactCompany - - value: contact,company,accounting_period - name: ContactCompanyAccountingPeriod - - line_items - - value: line_items,accounting_period - name: LineItemsAccountingPeriod - - value: line_items,company - name: LineItemsCompany - - value: line_items,company,accounting_period - name: LineItemsCompanyAccountingPeriod - - value: line_items,contact - name: LineItemsContact - - value: line_items,contact,accounting_period - name: LineItemsContactAccountingPeriod - - value: line_items,contact,company - name: LineItemsContactCompany - - value: line_items,contact,company,accounting_period - name: LineItemsContactCompanyAccountingPeriod - - value: line_items,tracking_categories - name: LineItemsTrackingCategories - - value: line_items,tracking_categories,accounting_period - name: LineItemsTrackingCategoriesAccountingPeriod - - value: line_items,tracking_categories,company - name: LineItemsTrackingCategoriesCompany - - value: line_items,tracking_categories,company,accounting_period - name: LineItemsTrackingCategoriesCompanyAccountingPeriod - - value: line_items,tracking_categories,contact - name: LineItemsTrackingCategoriesContact - - value: line_items,tracking_categories,contact,accounting_period - name: LineItemsTrackingCategoriesContactAccountingPeriod - - value: line_items,tracking_categories,contact,company - name: LineItemsTrackingCategoriesContactCompany - - value: line_items,tracking_categories,contact,company,accounting_period - name: LineItemsTrackingCategoriesContactCompanyAccountingPeriod - - payments - - value: payments,accounting_period - name: PaymentsAccountingPeriod - - value: payments,applied_payments - name: PaymentsAppliedPayments - - value: payments,applied_payments,accounting_period - name: PaymentsAppliedPaymentsAccountingPeriod - - value: payments,applied_payments,company - name: PaymentsAppliedPaymentsCompany - - value: payments,applied_payments,company,accounting_period - name: PaymentsAppliedPaymentsCompanyAccountingPeriod - - value: payments,applied_payments,contact - name: PaymentsAppliedPaymentsContact - - value: payments,applied_payments,contact,accounting_period - name: PaymentsAppliedPaymentsContactAccountingPeriod - - value: payments,applied_payments,contact,company - name: PaymentsAppliedPaymentsContactCompany - - value: payments,applied_payments,contact,company,accounting_period - name: PaymentsAppliedPaymentsContactCompanyAccountingPeriod - - value: payments,applied_payments,line_items - name: PaymentsAppliedPaymentsLineItems - - value: payments,applied_payments,line_items,accounting_period - name: PaymentsAppliedPaymentsLineItemsAccountingPeriod - - value: payments,applied_payments,line_items,company - name: PaymentsAppliedPaymentsLineItemsCompany - - value: payments,applied_payments,line_items,company,accounting_period - name: PaymentsAppliedPaymentsLineItemsCompanyAccountingPeriod - - value: payments,applied_payments,line_items,contact - name: PaymentsAppliedPaymentsLineItemsContact - - value: payments,applied_payments,line_items,contact,accounting_period - name: PaymentsAppliedPaymentsLineItemsContactAccountingPeriod - - value: payments,applied_payments,line_items,contact,company - name: PaymentsAppliedPaymentsLineItemsContactCompany - - value: payments,applied_payments,line_items,contact,company,accounting_period - name: PaymentsAppliedPaymentsLineItemsContactCompanyAccountingPeriod - - value: payments,applied_payments,line_items,tracking_categories - name: PaymentsAppliedPaymentsLineItemsTrackingCategories - - value: >- - payments,applied_payments,line_items,tracking_categories,accounting_period - name: PaymentsAppliedPaymentsLineItemsTrackingCategoriesAccountingPeriod - - value: payments,applied_payments,line_items,tracking_categories,company - name: PaymentsAppliedPaymentsLineItemsTrackingCategoriesCompany - - value: >- - payments,applied_payments,line_items,tracking_categories,company,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesCompanyAccountingPeriod - - value: payments,applied_payments,line_items,tracking_categories,contact - name: PaymentsAppliedPaymentsLineItemsTrackingCategoriesContact - - value: >- - payments,applied_payments,line_items,tracking_categories,contact,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesContactAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,contact,company - name: PaymentsAppliedPaymentsLineItemsTrackingCategoriesContactCompany - - value: >- - payments,applied_payments,line_items,tracking_categories,contact,company,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesContactCompanyAccountingPeriod - - value: payments,applied_payments,tracking_categories - name: PaymentsAppliedPaymentsTrackingCategories - - value: payments,applied_payments,tracking_categories,accounting_period - name: PaymentsAppliedPaymentsTrackingCategoriesAccountingPeriod - - value: payments,applied_payments,tracking_categories,company - name: PaymentsAppliedPaymentsTrackingCategoriesCompany - - value: >- - payments,applied_payments,tracking_categories,company,accounting_period - name: PaymentsAppliedPaymentsTrackingCategoriesCompanyAccountingPeriod - - value: payments,applied_payments,tracking_categories,contact - name: PaymentsAppliedPaymentsTrackingCategoriesContact - - value: >- - payments,applied_payments,tracking_categories,contact,accounting_period - name: PaymentsAppliedPaymentsTrackingCategoriesContactAccountingPeriod - - value: payments,applied_payments,tracking_categories,contact,company - name: PaymentsAppliedPaymentsTrackingCategoriesContactCompany - - value: >- - payments,applied_payments,tracking_categories,contact,company,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesContactCompanyAccountingPeriod - - value: payments,company - name: PaymentsCompany - - value: payments,company,accounting_period - name: PaymentsCompanyAccountingPeriod - - value: payments,contact - name: PaymentsContact - - value: payments,contact,accounting_period - name: PaymentsContactAccountingPeriod - - value: payments,contact,company - name: PaymentsContactCompany - - value: payments,contact,company,accounting_period - name: PaymentsContactCompanyAccountingPeriod - - value: payments,line_items - name: PaymentsLineItems - - value: payments,line_items,accounting_period - name: PaymentsLineItemsAccountingPeriod - - value: payments,line_items,company - name: PaymentsLineItemsCompany - - value: payments,line_items,company,accounting_period - name: PaymentsLineItemsCompanyAccountingPeriod - - value: payments,line_items,contact - name: PaymentsLineItemsContact - - value: payments,line_items,contact,accounting_period - name: PaymentsLineItemsContactAccountingPeriod - - value: payments,line_items,contact,company - name: PaymentsLineItemsContactCompany - - value: payments,line_items,contact,company,accounting_period - name: PaymentsLineItemsContactCompanyAccountingPeriod - - value: payments,line_items,tracking_categories - name: PaymentsLineItemsTrackingCategories - - value: payments,line_items,tracking_categories,accounting_period - name: PaymentsLineItemsTrackingCategoriesAccountingPeriod - - value: payments,line_items,tracking_categories,company - name: PaymentsLineItemsTrackingCategoriesCompany - - value: payments,line_items,tracking_categories,company,accounting_period - name: PaymentsLineItemsTrackingCategoriesCompanyAccountingPeriod - - value: payments,line_items,tracking_categories,contact - name: PaymentsLineItemsTrackingCategoriesContact - - value: payments,line_items,tracking_categories,contact,accounting_period - name: PaymentsLineItemsTrackingCategoriesContactAccountingPeriod - - value: payments,line_items,tracking_categories,contact,company - name: PaymentsLineItemsTrackingCategoriesContactCompany - - value: >- - payments,line_items,tracking_categories,contact,company,accounting_period - name: PaymentsLineItemsTrackingCategoriesContactCompanyAccountingPeriod - - value: payments,tracking_categories - name: PaymentsTrackingCategories - - value: payments,tracking_categories,accounting_period - name: PaymentsTrackingCategoriesAccountingPeriod - - value: payments,tracking_categories,company - name: PaymentsTrackingCategoriesCompany - - value: payments,tracking_categories,company,accounting_period - name: PaymentsTrackingCategoriesCompanyAccountingPeriod - - value: payments,tracking_categories,contact - name: PaymentsTrackingCategoriesContact - - value: payments,tracking_categories,contact,accounting_period - name: PaymentsTrackingCategoriesContactAccountingPeriod - - value: payments,tracking_categories,contact,company - name: PaymentsTrackingCategoriesContactCompany - - value: payments,tracking_categories,contact,company,accounting_period - name: PaymentsTrackingCategoriesContactCompanyAccountingPeriod - - tracking_categories - - value: tracking_categories,accounting_period - name: TrackingCategoriesAccountingPeriod - - value: tracking_categories,company - name: TrackingCategoriesCompany - - value: tracking_categories,company,accounting_period - name: TrackingCategoriesCompanyAccountingPeriod - - value: tracking_categories,contact - name: TrackingCategoriesContact - - value: tracking_categories,contact,accounting_period - name: TrackingCategoriesContactAccountingPeriod - - value: tracking_categories,contact,company - name: TrackingCategoriesContactCompany - - value: tracking_categories,contact,company,accounting_period - name: TrackingCategoriesContactCompanyAccountingPeriod - source: - openapi: openapi/openapi.yml - CreditNotesRetrieveRequestRemoteFields: - enum: - - status - - value: status,type - name: StatusType - - type - source: - openapi: openapi/openapi.yml - CreditNotesRetrieveRequestShowEnumOrigins: - enum: - - status - - value: status,type - name: StatusType - - type - source: - openapi: openapi/openapi.yml -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /accounting/v1/credit-notes - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `CreditNote` objects. - source: - openapi: openapi/openapi.yml - request: - name: CreditNotesListRequest - query-parameters: - company_id: - type: optional - docs: If provided, will only return credit notes for this company. - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - page_size: - type: optional - docs: Number of results to return per page. - remote_fields: - type: optional - docs: Deprecated. Use show_enum_origins. - remote_id: - type: optional - docs: The API provider's ID for the given object. - show_enum_origins: - type: optional - docs: >- - A comma separated list of enum field names for which you'd like - the original values to be returned, instead of Merge's normalized - enum values. [Learn - more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - transaction_date_after: - type: optional - docs: If provided, will only return objects created after this datetime. - transaction_date_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - response: - docs: '' - type: root.PaginatedCreditNoteList - status-code: 200 - examples: - - query-parameters: - company_id: company_id - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - expand: accounting_period - include_deleted_data: true - include_remote_data: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - page_size: 1 - remote_fields: status - remote_id: remote_id - show_enum_origins: status - transaction_date_after: '2024-01-15T09:30:00Z' - transaction_date_before: '2024-01-15T09:30:00Z' - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: 8d9fd929-436c-4fd4-a48b-0c61f68d6178 - remote_id: '123877' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - transaction_date: '2020-03-31T00:00:00Z' - status: SUBMITTED - number: CN-29 - contact: contact - company: company - exchange_rate: '2.9' - total_amount: 50 - remaining_credit: 20 - inclusive_of_tax: true - line_items: - - id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4 - remote_id: '121222' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - item: 0e3fd929-436c-4fd4-a48b-0c61f68d6178 - name: Basic Monthly - description: prorated amount for items - quantity: quantity - memo: privNote - unit_price: '5.0' - tax_rate: 8d9fd929-436c-4fd4-a48b-0c61f68d6178 - total_line_amount: '5.0' - tracking_categories: - - 8d9fd929-436c-4fd4-a48b-0c61f68d6178 - - 9b840d2-686a-465a-8a8e-7b028498f8e4 - - a47e11b6-c73b-4a0c-be31-130fc48177fa - account: 8d9fd929-436c-4fd4-a48b-0c61f68d6178 - company: 595c8f97-2ac4-45b7-b000-41bdf43240b5 - contact: 908934-49j9-093f-0989-908923908 - project: 22e65a5d-2df5-4e6e-884a-e538d0339000 - remote_was_deleted: true - tracking_categories: - - b38c59b0-a9d7-4740-b1ee-5436c6751e3d - - 9b840d2-686a-465a-8a8e-7b028498f8e4 - - a47e11b6-c73b-4a0c-be31-130fc48177fa - currency: XUA - remote_created_at: '2020-03-31T00:00:00Z' - remote_updated_at: '2020-03-31T00:00:00Z' - payments: - - b26fd49a-cbae-470a-a8f8-bcbc119e0390 - applied_payments: - - a9a94a75-19c1-41fe-90d8-d9ba959c38e5 - accounting_period: accounting_period - applied_to_lines: - - remote_id: '088899' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - invoice: 5b3c1341-a20f-4e51-b72c-f3830a16c97b - applied_date: '2020-03-31T00:00:00Z' - applied_amount: '2.9' - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /actions - data: - - Varies by platform - create: - path: /accounting/v1/credit-notes - method: POST - auth: - - tokenAuth: [] - docs: Creates a `CreditNote` object with the given values. - source: - openapi: openapi/openapi.yml - request: - name: CreditNoteEndpointRequest - query-parameters: - is_debug_mode: - type: optional - docs: >- - Whether to include debug fields (such as log file links) in the - response. - run_async: - type: optional - docs: Whether or not third-party updates should be run asynchronously. - body: - properties: - model: root.CreditNoteRequest - content-type: application/json - response: - docs: '' - type: root.CreditNoteResponse - status-code: 201 - examples: - - query-parameters: - is_debug_mode: true - run_async: true - headers: - X-Account-Token: X-Account-Token - request: - model: {} - response: - body: - model: - id: 8d9fd929-436c-4fd4-a48b-0c61f68d6178 - remote_id: '123877' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - transaction_date: '2020-03-31T00:00:00Z' - status: SUBMITTED - number: CN-29 - contact: contact - company: company - exchange_rate: '2.9' - total_amount: 50 - remaining_credit: 20 - inclusive_of_tax: true - line_items: - - id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4 - remote_id: '121222' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - item: 0e3fd929-436c-4fd4-a48b-0c61f68d6178 - name: Basic Monthly - description: prorated amount for items - quantity: quantity - memo: privNote - unit_price: '5.0' - tax_rate: 8d9fd929-436c-4fd4-a48b-0c61f68d6178 - total_line_amount: '5.0' - tracking_categories: - - 8d9fd929-436c-4fd4-a48b-0c61f68d6178 - - 9b840d2-686a-465a-8a8e-7b028498f8e4 - - a47e11b6-c73b-4a0c-be31-130fc48177fa - account: 8d9fd929-436c-4fd4-a48b-0c61f68d6178 - company: 595c8f97-2ac4-45b7-b000-41bdf43240b5 - contact: 908934-49j9-093f-0989-908923908 - project: 22e65a5d-2df5-4e6e-884a-e538d0339000 - remote_was_deleted: true - tracking_categories: - - b38c59b0-a9d7-4740-b1ee-5436c6751e3d - - 9b840d2-686a-465a-8a8e-7b028498f8e4 - - a47e11b6-c73b-4a0c-be31-130fc48177fa - currency: XUA - remote_created_at: '2020-03-31T00:00:00Z' - remote_updated_at: '2020-03-31T00:00:00Z' - payments: - - b26fd49a-cbae-470a-a8f8-bcbc119e0390 - applied_payments: - - a9a94a75-19c1-41fe-90d8-d9ba959c38e5 - accounting_period: accounting_period - applied_to_lines: - - remote_id: '088899' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - invoice: 5b3c1341-a20f-4e51-b72c-f3830a16c97b - applied_date: '2020-03-31T00:00:00Z' - applied_amount: '2.9' - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /actions - data: - - Varies by platform - warnings: - - source: - pointer: pointer - title: Unrecognized Field - detail: An unrecognized field, age, was passed in with request data. - problem_type: UNRECOGNIZED_FIELD - errors: - - source: - pointer: pointer - title: Missing Required Field - detail: custom_fields is a required field on model. - problem_type: MISSING_REQUIRED_FIELD - logs: - - log_id: 99433219-8017-4acd-bb3c-ceb23d663832 - dashboard_view: >- - https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832 - log_summary: - url: www.exampleintegration.com/api/v1/exampleapi - method: POST - status_code: 200 - retrieve: - path: /accounting/v1/credit-notes/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns a `CreditNote` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: CreditNotesRetrieveRequest - query-parameters: - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - remote_fields: - type: optional - docs: Deprecated. Use show_enum_origins. - show_enum_origins: - type: optional - docs: >- - A comma separated list of enum field names for which you'd like - the original values to be returned, instead of Merge's normalized - enum values. [Learn - more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - response: - docs: '' - type: root.CreditNote - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - expand: accounting_period - include_remote_data: true - include_shell_data: true - remote_fields: status - show_enum_origins: status - headers: - X-Account-Token: X-Account-Token - response: - body: - id: 8d9fd929-436c-4fd4-a48b-0c61f68d6178 - remote_id: '123877' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - transaction_date: '2020-03-31T00:00:00Z' - status: SUBMITTED - number: CN-29 - contact: contact - company: company - exchange_rate: '2.9' - total_amount: 50 - remaining_credit: 20 - inclusive_of_tax: true - line_items: - - id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4 - remote_id: '121222' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - item: 0e3fd929-436c-4fd4-a48b-0c61f68d6178 - name: Basic Monthly - description: prorated amount for items - quantity: quantity - memo: privNote - unit_price: '5.0' - tax_rate: 8d9fd929-436c-4fd4-a48b-0c61f68d6178 - total_line_amount: '5.0' - tracking_categories: - - 8d9fd929-436c-4fd4-a48b-0c61f68d6178 - - 9b840d2-686a-465a-8a8e-7b028498f8e4 - - a47e11b6-c73b-4a0c-be31-130fc48177fa - account: 8d9fd929-436c-4fd4-a48b-0c61f68d6178 - company: 595c8f97-2ac4-45b7-b000-41bdf43240b5 - contact: 908934-49j9-093f-0989-908923908 - project: 22e65a5d-2df5-4e6e-884a-e538d0339000 - remote_was_deleted: true - tracking_categories: - - b38c59b0-a9d7-4740-b1ee-5436c6751e3d - - 9b840d2-686a-465a-8a8e-7b028498f8e4 - - a47e11b6-c73b-4a0c-be31-130fc48177fa - currency: XUA - remote_created_at: '2020-03-31T00:00:00Z' - remote_updated_at: '2020-03-31T00:00:00Z' - payments: - - b26fd49a-cbae-470a-a8f8-bcbc119e0390 - applied_payments: - - a9a94a75-19c1-41fe-90d8-d9ba959c38e5 - accounting_period: accounting_period - applied_to_lines: - - remote_id: '088899' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - invoice: 5b3c1341-a20f-4e51-b72c-f3830a16c97b - applied_date: '2020-03-31T00:00:00Z' - applied_amount: '2.9' - remote_was_deleted: true - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /actions - data: - - Varies by platform - metaPostRetrieve: - path: /accounting/v1/credit-notes/meta/post - method: GET - auth: - - tokenAuth: [] - docs: Returns metadata for `CreditNote` POSTs. - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: root.MetaResponse - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - request_schema: - type: object - properties: - model: - type: object - required: - - last_name - - first_name - - merge_categories - - new_york_city_neighborhood - - favorite_tv_shows - - favorite_watch - properties: - email_addresses: - type: array - items: - type: object - properties: - value: - type: string - title: value - email_address_type: - type: string - title: email_address_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: email_addresses - description: Array of email_addresses objects - urls: - type: array - items: - type: object - properties: - value: - type: string - title: value - url_type: - type: string - title: url_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: urls - description: Array of urls objects - first_name: - type: string - title: first_name - description: The first name. - last_name: - type: string - title: last_name - description: The last name. - phone_numbers: - type: array - items: - type: object - properties: - value: - type: string - title: value - phone_number_type: - type: string - title: phone_number_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: phone_numbers - description: Array of phone_numbers objects - tags: - type: array - items: - type: string - format: uuid - title: tags - description: Array of tags names - attachments: - type: array - items: - type: object - properties: - id: - type: string - title: id - file_url: - type: string - title: file_url - file_name: - type: string - title: file_name - attachment_type: - type: string - title: attachment_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: attachments - description: 'Array of attachments objects ' - merge_categories: - type: array - categories: - type: string - enum: - - HRIS - - ATS - - Accounting - - Ticketing - - File Storage - - CRM - - Marketing Automation - enum_information: - - value: HRIS - description: Merge HRIS Category - - value: ATS - description: Merge ATS Category - - value: Accounting - description: Merge Accounting Category - - value: Ticketing - description: Merge Ticketing Category - - value: File Storage - description: Merge File Storage Category - - value: CRM - description: Merge CRM Category - - value: Marketing Automation - description: Merge Marketing Automation Category - title: Merge Categories - description: Array of Merge's Unified API Categories - new_york_city_neighborhood: - type: string - title: Borough - description: One of the 5 Boroughs of New York City - favorite_tv_shows: - type: array - items: - type: string - format: uuid - title: Favorite TV Shows - description: Array of TV Show objects on merge.tv_shows - favorite_watch: - type: string - title: Favorite Watch - description: Favorite watch of all time - remote_field_classes: - key: value - status: - linked_account_status: linked_account_status - can_make_request: true - has_conditional_params: true - has_required_linked_account_params: true - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/accounting/deleteAccount.yml b/.mock/definition/accounting/deleteAccount.yml deleted file mode 100644 index ff8a426f..00000000 --- a/.mock/definition/accounting/deleteAccount.yml +++ /dev/null @@ -1,17 +0,0 @@ -service: - auth: false - base-path: '' - endpoints: - delete: - path: /accounting/v1/delete-account - method: POST - auth: - - tokenAuth: [] - docs: Delete a linked account. - source: - openapi: openapi/openapi.yml - examples: - - headers: - X-Account-Token: X-Account-Token - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/accounting/employees.yml b/.mock/definition/accounting/employees.yml deleted file mode 100644 index 92905f0c..00000000 --- a/.mock/definition/accounting/employees.yml +++ /dev/null @@ -1,182 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /accounting/v1/employees - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `Employee` objects. - source: - openapi: openapi/openapi.yml - request: - name: EmployeesListRequest - query-parameters: - company_id: - type: optional - docs: If provided, will only return employees for this company. - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - expand: - type: optional> - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - page_size: - type: optional - docs: Number of results to return per page. - remote_id: - type: optional - docs: The API provider's ID for the given object. - response: - docs: '' - type: root.PaginatedEmployeeList - status-code: 200 - examples: - - query-parameters: - company_id: company_id - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - expand: company - include_deleted_data: true - include_remote_data: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - page_size: 1 - remote_id: remote_id - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: c640b80b-fac9-409f-aa19-1f9221aec445 - remote_id: '11167' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - first_name: John - last_name: Smith - is_contractor: true - employee_number: '325462' - email_address: johnsmith@merge.dev - company: company - status: ACTIVE - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /actions - data: - - Varies by platform - retrieve: - path: /accounting/v1/employees/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns an `Employee` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: EmployeesRetrieveRequest - query-parameters: - expand: - type: optional> - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - response: - docs: '' - type: root.Employee - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - expand: company - include_remote_data: true - include_shell_data: true - headers: - X-Account-Token: X-Account-Token - response: - body: - id: c640b80b-fac9-409f-aa19-1f9221aec445 - remote_id: '11167' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - first_name: John - last_name: Smith - is_contractor: true - employee_number: '325462' - email_address: johnsmith@merge.dev - company: company - status: ACTIVE - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /actions - data: - - Varies by platform - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/accounting/expenseReports.yml b/.mock/definition/accounting/expenseReports.yml deleted file mode 100644 index 2f613f2d..00000000 --- a/.mock/definition/accounting/expenseReports.yml +++ /dev/null @@ -1,1003 +0,0 @@ -types: - ExpenseReportsListRequestExpand: - enum: - - accounting_period - - value: accounting_period,company - name: AccountingPeriodCompany - - company - - employee - - value: employee,accounting_period - name: EmployeeAccountingPeriod - - value: employee,accounting_period,company - name: EmployeeAccountingPeriodCompany - - value: employee,company - name: EmployeeCompany - - lines - - value: lines,accounting_period - name: LinesAccountingPeriod - - value: lines,accounting_period,company - name: LinesAccountingPeriodCompany - - value: lines,company - name: LinesCompany - - value: lines,employee - name: LinesEmployee - - value: lines,employee,accounting_period - name: LinesEmployeeAccountingPeriod - - value: lines,employee,accounting_period,company - name: LinesEmployeeAccountingPeriodCompany - - value: lines,employee,company - name: LinesEmployeeCompany - source: - openapi: openapi/openapi.yml - ExpenseReportsLinesListRequestExpand: - enum: - - account - - value: account,company - name: AccountCompany - - value: account,company,contact - name: AccountCompanyContact - - value: account,company,contact,tax_rate - name: AccountCompanyContactTaxRate - - value: account,company,tax_rate - name: AccountCompanyTaxRate - - value: account,contact - name: AccountContact - - value: account,contact,tax_rate - name: AccountContactTaxRate - - value: account,employee - name: AccountEmployee - - value: account,employee,company - name: AccountEmployeeCompany - - value: account,employee,company,contact - name: AccountEmployeeCompanyContact - - value: account,employee,company,contact,tax_rate - name: AccountEmployeeCompanyContactTaxRate - - value: account,employee,company,tax_rate - name: AccountEmployeeCompanyTaxRate - - value: account,employee,contact - name: AccountEmployeeContact - - value: account,employee,contact,tax_rate - name: AccountEmployeeContactTaxRate - - value: account,employee,project - name: AccountEmployeeProject - - value: account,employee,project,company - name: AccountEmployeeProjectCompany - - value: account,employee,project,company,contact - name: AccountEmployeeProjectCompanyContact - - value: account,employee,project,company,contact,tax_rate - name: AccountEmployeeProjectCompanyContactTaxRate - - value: account,employee,project,company,tax_rate - name: AccountEmployeeProjectCompanyTaxRate - - value: account,employee,project,contact - name: AccountEmployeeProjectContact - - value: account,employee,project,contact,tax_rate - name: AccountEmployeeProjectContactTaxRate - - value: account,employee,project,tax_rate - name: AccountEmployeeProjectTaxRate - - value: account,employee,tax_rate - name: AccountEmployeeTaxRate - - value: account,project - name: AccountProject - - value: account,project,company - name: AccountProjectCompany - - value: account,project,company,contact - name: AccountProjectCompanyContact - - value: account,project,company,contact,tax_rate - name: AccountProjectCompanyContactTaxRate - - value: account,project,company,tax_rate - name: AccountProjectCompanyTaxRate - - value: account,project,contact - name: AccountProjectContact - - value: account,project,contact,tax_rate - name: AccountProjectContactTaxRate - - value: account,project,tax_rate - name: AccountProjectTaxRate - - value: account,tax_rate - name: AccountTaxRate - - company - - value: company,contact - name: CompanyContact - - value: company,contact,tax_rate - name: CompanyContactTaxRate - - value: company,tax_rate - name: CompanyTaxRate - - contact - - value: contact,tax_rate - name: ContactTaxRate - - employee - - value: employee,company - name: EmployeeCompany - - value: employee,company,contact - name: EmployeeCompanyContact - - value: employee,company,contact,tax_rate - name: EmployeeCompanyContactTaxRate - - value: employee,company,tax_rate - name: EmployeeCompanyTaxRate - - value: employee,contact - name: EmployeeContact - - value: employee,contact,tax_rate - name: EmployeeContactTaxRate - - value: employee,project - name: EmployeeProject - - value: employee,project,company - name: EmployeeProjectCompany - - value: employee,project,company,contact - name: EmployeeProjectCompanyContact - - value: employee,project,company,contact,tax_rate - name: EmployeeProjectCompanyContactTaxRate - - value: employee,project,company,tax_rate - name: EmployeeProjectCompanyTaxRate - - value: employee,project,contact - name: EmployeeProjectContact - - value: employee,project,contact,tax_rate - name: EmployeeProjectContactTaxRate - - value: employee,project,tax_rate - name: EmployeeProjectTaxRate - - value: employee,tax_rate - name: EmployeeTaxRate - - project - - value: project,company - name: ProjectCompany - - value: project,company,contact - name: ProjectCompanyContact - - value: project,company,contact,tax_rate - name: ProjectCompanyContactTaxRate - - value: project,company,tax_rate - name: ProjectCompanyTaxRate - - value: project,contact - name: ProjectContact - - value: project,contact,tax_rate - name: ProjectContactTaxRate - - value: project,tax_rate - name: ProjectTaxRate - - tax_rate - source: - openapi: openapi/openapi.yml - ExpenseReportsRetrieveRequestExpand: - enum: - - accounting_period - - value: accounting_period,company - name: AccountingPeriodCompany - - company - - employee - - value: employee,accounting_period - name: EmployeeAccountingPeriod - - value: employee,accounting_period,company - name: EmployeeAccountingPeriodCompany - - value: employee,company - name: EmployeeCompany - - lines - - value: lines,accounting_period - name: LinesAccountingPeriod - - value: lines,accounting_period,company - name: LinesAccountingPeriodCompany - - value: lines,company - name: LinesCompany - - value: lines,employee - name: LinesEmployee - - value: lines,employee,accounting_period - name: LinesEmployeeAccountingPeriod - - value: lines,employee,accounting_period,company - name: LinesEmployeeAccountingPeriodCompany - - value: lines,employee,company - name: LinesEmployeeCompany - source: - openapi: openapi/openapi.yml -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /accounting/v1/expense-reports - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `ExpenseReport` objects. - source: - openapi: openapi/openapi.yml - request: - name: ExpenseReportsListRequest - query-parameters: - company_id: - type: optional - docs: If provided, will only return expense reports for this company. - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_remote_fields: - type: optional - docs: >- - Whether to include all remote fields, including fields that Merge - did not map to common models, in a normalized format. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - page_size: - type: optional - docs: Number of results to return per page. - remote_id: - type: optional - docs: The API provider's ID for the given object. - response: - docs: '' - type: root.PaginatedExpenseReportList - status-code: 200 - examples: - - query-parameters: - company_id: company_id - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - expand: accounting_period - include_deleted_data: true - include_remote_data: true - include_remote_fields: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - page_size: 1 - remote_id: remote_id - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: 123e4567-e89b-12d3-a456-426614174000 - remote_id: exp_123e4567-e89b-12d3-a456-426614174000 - created_at: '2024-01-31T12:00:00Z' - modified_at: '2024-01-31T14:30:00Z' - report_date: '2024-01-31T00:00:00Z' - report_identifier: EXP-2024-001 - employee: b9a9b824-6172-4d63-9d90-1c8a86c4f3b1 - status: DRAFT - total_amount: 150 - lines: - - id: '1234' - remote_id: abcd-1234 - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - account: acc-1234 - description: Client lunch meeting - expense_date: '2024-01-15T00:00:00Z' - amount: 50 - currency: USD - exchange_rate: exchange_rate - is_billable: true - tracking_categories: - - cat-1 - - cat-2 - employee: emp-1234 - project: proj-5678 - company: comp-1234 - contact: cont-5678 - quantity: 1 - unit_price: 50 - non_reimbursable: false - tax_amount: 5 - inclusive_of_tax: false - tax_rate: tax-1234 - remote_was_deleted: false - currency: XUA - description: January 2024 Travel Expenses - accounting_period: 7d793c67-9f72-4a6b-9256-3936f237b0d9 - company: company - tracking_categories: - - a1b2c3d4-e5f6-4a5b-9c3d-2e1f0a9b8c7d - - d4c3b2a1-9e8f-7g6h-5i4j-3k2l1m0n9o8p - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /actions - data: - - Varies by platform - remote_fields: - - remote_field_class: remote_field_class - value: string - create: - path: /accounting/v1/expense-reports - method: POST - auth: - - tokenAuth: [] - docs: Creates an `ExpenseReport` object with the given values. - source: - openapi: openapi/openapi.yml - request: - name: ExpenseReportEndpointRequest - query-parameters: - is_debug_mode: - type: optional - docs: >- - Whether to include debug fields (such as log file links) in the - response. - run_async: - type: optional - docs: Whether or not third-party updates should be run asynchronously. - body: - properties: - model: root.ExpenseReportRequest - content-type: application/json - response: - docs: '' - type: root.ExpenseReportResponse - status-code: 201 - examples: - - query-parameters: - is_debug_mode: true - run_async: true - headers: - X-Account-Token: X-Account-Token - request: - model: - tracking_categories: - - a1b2c3d4-e5f6-4a5b-9c3d-2e1f0a9b8c7d - - d4c3b2a1-9e8f-7g6h-5i4j-3k2l1m0n9o8p - response: - body: - model: - id: 123e4567-e89b-12d3-a456-426614174000 - remote_id: exp_123e4567-e89b-12d3-a456-426614174000 - created_at: '2024-01-31T12:00:00Z' - modified_at: '2024-01-31T14:30:00Z' - report_date: '2024-01-31T00:00:00Z' - report_identifier: EXP-2024-001 - employee: b9a9b824-6172-4d63-9d90-1c8a86c4f3b1 - status: DRAFT - total_amount: 150 - lines: - - id: '1234' - remote_id: abcd-1234 - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - account: acc-1234 - description: Client lunch meeting - expense_date: '2024-01-15T00:00:00Z' - amount: 50 - currency: USD - exchange_rate: exchange_rate - is_billable: true - tracking_categories: - - cat-1 - - cat-2 - employee: emp-1234 - project: proj-5678 - company: comp-1234 - contact: cont-5678 - quantity: 1 - unit_price: 50 - non_reimbursable: false - tax_amount: 5 - inclusive_of_tax: false - tax_rate: tax-1234 - remote_was_deleted: false - currency: XUA - description: January 2024 Travel Expenses - accounting_period: 7d793c67-9f72-4a6b-9256-3936f237b0d9 - company: company - tracking_categories: - - a1b2c3d4-e5f6-4a5b-9c3d-2e1f0a9b8c7d - - d4c3b2a1-9e8f-7g6h-5i4j-3k2l1m0n9o8p - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /actions - data: - - Varies by platform - remote_fields: - - remote_field_class: remote_field_class - value: string - warnings: - - source: - pointer: pointer - title: Unrecognized Field - detail: An unrecognized field, age, was passed in with request data. - problem_type: UNRECOGNIZED_FIELD - errors: - - source: - pointer: pointer - title: Missing Required Field - detail: custom_fields is a required field on model. - problem_type: MISSING_REQUIRED_FIELD - logs: - - log_id: 99433219-8017-4acd-bb3c-ceb23d663832 - dashboard_view: >- - https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832 - log_summary: - url: www.exampleintegration.com/api/v1/exampleapi - method: POST - status_code: 200 - linesList: - path: /accounting/v1/expense-reports/{expense_report_id}/lines - method: GET - auth: - - tokenAuth: [] - docs: >- - Returns a list of `ExpenseReportLine` objects that point to a - `ExpenseReport` with the given id. - source: - openapi: openapi/openapi.yml - path-parameters: - expense_report_id: string - request: - name: ExpenseReportsLinesListRequest - query-parameters: - cursor: - type: optional - docs: The pagination cursor value. - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_remote_fields: - type: optional - docs: >- - Whether to include all remote fields, including fields that Merge - did not map to common models, in a normalized format. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - page_size: - type: optional - docs: Number of results to return per page. - response: - docs: '' - type: root.PaginatedExpenseReportLineList - status-code: 200 - examples: - - path-parameters: - expense_report_id: expense_report_id - query-parameters: - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - expand: account - include_deleted_data: true - include_remote_data: true - include_remote_fields: true - include_shell_data: true - page_size: 1 - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: '1234' - remote_id: abcd-1234 - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - account: account - description: Client lunch meeting - expense_date: '2024-01-15T00:00:00Z' - amount: 50 - currency: XUA - exchange_rate: exchange_rate - is_billable: true - tracking_categories: - - cat-1 - - cat-2 - employee: employee - project: project - company: company - contact: contact - quantity: 1 - unit_price: 50 - non_reimbursable: true - tax_amount: 5 - inclusive_of_tax: true - tax_rate: tax_rate - remote_was_deleted: true - remote_fields: - - remote_field_class: remote_field_class - value: string - retrieve: - path: /accounting/v1/expense-reports/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns an `ExpenseReport` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: ExpenseReportsRetrieveRequest - query-parameters: - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_remote_fields: - type: optional - docs: >- - Whether to include all remote fields, including fields that Merge - did not map to common models, in a normalized format. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - response: - docs: '' - type: root.ExpenseReport - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - expand: accounting_period - include_remote_data: true - include_remote_fields: true - include_shell_data: true - headers: - X-Account-Token: X-Account-Token - response: - body: - id: 123e4567-e89b-12d3-a456-426614174000 - remote_id: exp_123e4567-e89b-12d3-a456-426614174000 - created_at: '2024-01-31T12:00:00Z' - modified_at: '2024-01-31T14:30:00Z' - report_date: '2024-01-31T00:00:00Z' - report_identifier: EXP-2024-001 - employee: b9a9b824-6172-4d63-9d90-1c8a86c4f3b1 - status: DRAFT - total_amount: 150 - lines: - - id: '1234' - remote_id: abcd-1234 - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - account: acc-1234 - description: Client lunch meeting - expense_date: '2024-01-15T00:00:00Z' - amount: 50 - currency: USD - exchange_rate: exchange_rate - is_billable: true - tracking_categories: - - cat-1 - - cat-2 - employee: emp-1234 - project: proj-5678 - company: comp-1234 - contact: cont-5678 - quantity: 1 - unit_price: 50 - non_reimbursable: false - tax_amount: 5 - inclusive_of_tax: false - tax_rate: tax-1234 - remote_was_deleted: false - remote_fields: - - remote_field_class: remote_field_class - value: string - currency: XUA - description: January 2024 Travel Expenses - accounting_period: 7d793c67-9f72-4a6b-9256-3936f237b0d9 - company: company - tracking_categories: - - a1b2c3d4-e5f6-4a5b-9c3d-2e1f0a9b8c7d - - d4c3b2a1-9e8f-7g6h-5i4j-3k2l1m0n9o8p - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /actions - data: - - Varies by platform - remote_fields: - - remote_field_class: remote_field_class - value: string - linesRemoteFieldClassesList: - path: /accounting/v1/expense-reports/lines/remote-field-classes - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `RemoteFieldClass` objects. - source: - openapi: openapi/openapi.yml - request: - name: ExpenseReportsLinesRemoteFieldClassesListRequest - query-parameters: - cursor: - type: optional - docs: The pagination cursor value. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - is_common_model_field: - type: optional - docs: >- - If provided, will only return remote field classes with this - is_common_model_field value - is_custom: - type: optional - docs: >- - If provided, will only return remote fields classes with this - is_custom value - page_size: - type: optional - docs: Number of results to return per page. - response: - docs: '' - type: root.PaginatedRemoteFieldClassList - status-code: 200 - examples: - - query-parameters: - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - include_deleted_data: true - include_remote_data: true - include_shell_data: true - is_common_model_field: true - is_custom: true - page_size: 1 - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: id - display_name: display_name - remote_key_name: remote_key_name - description: description - is_custom: true - is_common_model_field: true - is_required: true - field_type: string - field_format: string - field_choices: - - field_choices - metaPostRetrieve: - path: /accounting/v1/expense-reports/meta/post - method: GET - auth: - - tokenAuth: [] - docs: Returns metadata for `ExpenseReport` POSTs. - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: root.MetaResponse - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - request_schema: - type: object - properties: - model: - type: object - required: - - last_name - - first_name - - merge_categories - - new_york_city_neighborhood - - favorite_tv_shows - - favorite_watch - properties: - email_addresses: - type: array - items: - type: object - properties: - value: - type: string - title: value - email_address_type: - type: string - title: email_address_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: email_addresses - description: Array of email_addresses objects - urls: - type: array - items: - type: object - properties: - value: - type: string - title: value - url_type: - type: string - title: url_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: urls - description: Array of urls objects - first_name: - type: string - title: first_name - description: The first name. - last_name: - type: string - title: last_name - description: The last name. - phone_numbers: - type: array - items: - type: object - properties: - value: - type: string - title: value - phone_number_type: - type: string - title: phone_number_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: phone_numbers - description: Array of phone_numbers objects - tags: - type: array - items: - type: string - format: uuid - title: tags - description: Array of tags names - attachments: - type: array - items: - type: object - properties: - id: - type: string - title: id - file_url: - type: string - title: file_url - file_name: - type: string - title: file_name - attachment_type: - type: string - title: attachment_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: attachments - description: 'Array of attachments objects ' - merge_categories: - type: array - categories: - type: string - enum: - - HRIS - - ATS - - Accounting - - Ticketing - - File Storage - - CRM - - Marketing Automation - enum_information: - - value: HRIS - description: Merge HRIS Category - - value: ATS - description: Merge ATS Category - - value: Accounting - description: Merge Accounting Category - - value: Ticketing - description: Merge Ticketing Category - - value: File Storage - description: Merge File Storage Category - - value: CRM - description: Merge CRM Category - - value: Marketing Automation - description: Merge Marketing Automation Category - title: Merge Categories - description: Array of Merge's Unified API Categories - new_york_city_neighborhood: - type: string - title: Borough - description: One of the 5 Boroughs of New York City - favorite_tv_shows: - type: array - items: - type: string - format: uuid - title: Favorite TV Shows - description: Array of TV Show objects on merge.tv_shows - favorite_watch: - type: string - title: Favorite Watch - description: Favorite watch of all time - remote_field_classes: - key: value - status: - linked_account_status: linked_account_status - can_make_request: true - has_conditional_params: true - has_required_linked_account_params: true - remoteFieldClassesList: - path: /accounting/v1/expense-reports/remote-field-classes - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `RemoteFieldClass` objects. - source: - openapi: openapi/openapi.yml - request: - name: ExpenseReportsRemoteFieldClassesListRequest - query-parameters: - cursor: - type: optional - docs: The pagination cursor value. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - is_common_model_field: - type: optional - docs: >- - If provided, will only return remote field classes with this - is_common_model_field value - is_custom: - type: optional - docs: >- - If provided, will only return remote fields classes with this - is_custom value - page_size: - type: optional - docs: Number of results to return per page. - response: - docs: '' - type: root.PaginatedRemoteFieldClassList - status-code: 200 - examples: - - query-parameters: - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - include_deleted_data: true - include_remote_data: true - include_shell_data: true - is_common_model_field: true - is_custom: true - page_size: 1 - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: id - display_name: display_name - remote_key_name: remote_key_name - description: description - is_custom: true - is_common_model_field: true - is_required: true - field_type: string - field_format: string - field_choices: - - field_choices - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/accounting/expenses.yml b/.mock/definition/accounting/expenses.yml deleted file mode 100644 index e3ba188f..00000000 --- a/.mock/definition/accounting/expenses.yml +++ /dev/null @@ -1,1023 +0,0 @@ -types: - ExpensesListRequestExpand: - enum: - - account - - value: account,accounting_period - name: AccountAccountingPeriod - - value: account,company - name: AccountCompany - - value: account,company,accounting_period - name: AccountCompanyAccountingPeriod - - value: account,company,employee - name: AccountCompanyEmployee - - value: account,company,employee,accounting_period - name: AccountCompanyEmployeeAccountingPeriod - - value: account,contact - name: AccountContact - - value: account,contact,accounting_period - name: AccountContactAccountingPeriod - - value: account,contact,company - name: AccountContactCompany - - value: account,contact,company,accounting_period - name: AccountContactCompanyAccountingPeriod - - value: account,contact,company,employee - name: AccountContactCompanyEmployee - - value: account,contact,company,employee,accounting_period - name: AccountContactCompanyEmployeeAccountingPeriod - - value: account,contact,employee - name: AccountContactEmployee - - value: account,contact,employee,accounting_period - name: AccountContactEmployeeAccountingPeriod - - value: account,employee - name: AccountEmployee - - value: account,employee,accounting_period - name: AccountEmployeeAccountingPeriod - - accounting_period - - company - - value: company,accounting_period - name: CompanyAccountingPeriod - - value: company,employee - name: CompanyEmployee - - value: company,employee,accounting_period - name: CompanyEmployeeAccountingPeriod - - contact - - value: contact,accounting_period - name: ContactAccountingPeriod - - value: contact,company - name: ContactCompany - - value: contact,company,accounting_period - name: ContactCompanyAccountingPeriod - - value: contact,company,employee - name: ContactCompanyEmployee - - value: contact,company,employee,accounting_period - name: ContactCompanyEmployeeAccountingPeriod - - value: contact,employee - name: ContactEmployee - - value: contact,employee,accounting_period - name: ContactEmployeeAccountingPeriod - - employee - - value: employee,accounting_period - name: EmployeeAccountingPeriod - - tracking_categories - - value: tracking_categories,account - name: TrackingCategoriesAccount - - value: tracking_categories,account,accounting_period - name: TrackingCategoriesAccountAccountingPeriod - - value: tracking_categories,account,company - name: TrackingCategoriesAccountCompany - - value: tracking_categories,account,company,accounting_period - name: TrackingCategoriesAccountCompanyAccountingPeriod - - value: tracking_categories,account,company,employee - name: TrackingCategoriesAccountCompanyEmployee - - value: tracking_categories,account,company,employee,accounting_period - name: TrackingCategoriesAccountCompanyEmployeeAccountingPeriod - - value: tracking_categories,account,contact - name: TrackingCategoriesAccountContact - - value: tracking_categories,account,contact,accounting_period - name: TrackingCategoriesAccountContactAccountingPeriod - - value: tracking_categories,account,contact,company - name: TrackingCategoriesAccountContactCompany - - value: tracking_categories,account,contact,company,accounting_period - name: TrackingCategoriesAccountContactCompanyAccountingPeriod - - value: tracking_categories,account,contact,company,employee - name: TrackingCategoriesAccountContactCompanyEmployee - - value: tracking_categories,account,contact,company,employee,accounting_period - name: TrackingCategoriesAccountContactCompanyEmployeeAccountingPeriod - - value: tracking_categories,account,contact,employee - name: TrackingCategoriesAccountContactEmployee - - value: tracking_categories,account,contact,employee,accounting_period - name: TrackingCategoriesAccountContactEmployeeAccountingPeriod - - value: tracking_categories,account,employee - name: TrackingCategoriesAccountEmployee - - value: tracking_categories,account,employee,accounting_period - name: TrackingCategoriesAccountEmployeeAccountingPeriod - - value: tracking_categories,accounting_period - name: TrackingCategoriesAccountingPeriod - - value: tracking_categories,company - name: TrackingCategoriesCompany - - value: tracking_categories,company,accounting_period - name: TrackingCategoriesCompanyAccountingPeriod - - value: tracking_categories,company,employee - name: TrackingCategoriesCompanyEmployee - - value: tracking_categories,company,employee,accounting_period - name: TrackingCategoriesCompanyEmployeeAccountingPeriod - - value: tracking_categories,contact - name: TrackingCategoriesContact - - value: tracking_categories,contact,accounting_period - name: TrackingCategoriesContactAccountingPeriod - - value: tracking_categories,contact,company - name: TrackingCategoriesContactCompany - - value: tracking_categories,contact,company,accounting_period - name: TrackingCategoriesContactCompanyAccountingPeriod - - value: tracking_categories,contact,company,employee - name: TrackingCategoriesContactCompanyEmployee - - value: tracking_categories,contact,company,employee,accounting_period - name: TrackingCategoriesContactCompanyEmployeeAccountingPeriod - - value: tracking_categories,contact,employee - name: TrackingCategoriesContactEmployee - - value: tracking_categories,contact,employee,accounting_period - name: TrackingCategoriesContactEmployeeAccountingPeriod - - value: tracking_categories,employee - name: TrackingCategoriesEmployee - - value: tracking_categories,employee,accounting_period - name: TrackingCategoriesEmployeeAccountingPeriod - source: - openapi: openapi/openapi.yml - ExpensesRetrieveRequestExpand: - enum: - - account - - value: account,accounting_period - name: AccountAccountingPeriod - - value: account,company - name: AccountCompany - - value: account,company,accounting_period - name: AccountCompanyAccountingPeriod - - value: account,company,employee - name: AccountCompanyEmployee - - value: account,company,employee,accounting_period - name: AccountCompanyEmployeeAccountingPeriod - - value: account,contact - name: AccountContact - - value: account,contact,accounting_period - name: AccountContactAccountingPeriod - - value: account,contact,company - name: AccountContactCompany - - value: account,contact,company,accounting_period - name: AccountContactCompanyAccountingPeriod - - value: account,contact,company,employee - name: AccountContactCompanyEmployee - - value: account,contact,company,employee,accounting_period - name: AccountContactCompanyEmployeeAccountingPeriod - - value: account,contact,employee - name: AccountContactEmployee - - value: account,contact,employee,accounting_period - name: AccountContactEmployeeAccountingPeriod - - value: account,employee - name: AccountEmployee - - value: account,employee,accounting_period - name: AccountEmployeeAccountingPeriod - - accounting_period - - company - - value: company,accounting_period - name: CompanyAccountingPeriod - - value: company,employee - name: CompanyEmployee - - value: company,employee,accounting_period - name: CompanyEmployeeAccountingPeriod - - contact - - value: contact,accounting_period - name: ContactAccountingPeriod - - value: contact,company - name: ContactCompany - - value: contact,company,accounting_period - name: ContactCompanyAccountingPeriod - - value: contact,company,employee - name: ContactCompanyEmployee - - value: contact,company,employee,accounting_period - name: ContactCompanyEmployeeAccountingPeriod - - value: contact,employee - name: ContactEmployee - - value: contact,employee,accounting_period - name: ContactEmployeeAccountingPeriod - - employee - - value: employee,accounting_period - name: EmployeeAccountingPeriod - - tracking_categories - - value: tracking_categories,account - name: TrackingCategoriesAccount - - value: tracking_categories,account,accounting_period - name: TrackingCategoriesAccountAccountingPeriod - - value: tracking_categories,account,company - name: TrackingCategoriesAccountCompany - - value: tracking_categories,account,company,accounting_period - name: TrackingCategoriesAccountCompanyAccountingPeriod - - value: tracking_categories,account,company,employee - name: TrackingCategoriesAccountCompanyEmployee - - value: tracking_categories,account,company,employee,accounting_period - name: TrackingCategoriesAccountCompanyEmployeeAccountingPeriod - - value: tracking_categories,account,contact - name: TrackingCategoriesAccountContact - - value: tracking_categories,account,contact,accounting_period - name: TrackingCategoriesAccountContactAccountingPeriod - - value: tracking_categories,account,contact,company - name: TrackingCategoriesAccountContactCompany - - value: tracking_categories,account,contact,company,accounting_period - name: TrackingCategoriesAccountContactCompanyAccountingPeriod - - value: tracking_categories,account,contact,company,employee - name: TrackingCategoriesAccountContactCompanyEmployee - - value: tracking_categories,account,contact,company,employee,accounting_period - name: TrackingCategoriesAccountContactCompanyEmployeeAccountingPeriod - - value: tracking_categories,account,contact,employee - name: TrackingCategoriesAccountContactEmployee - - value: tracking_categories,account,contact,employee,accounting_period - name: TrackingCategoriesAccountContactEmployeeAccountingPeriod - - value: tracking_categories,account,employee - name: TrackingCategoriesAccountEmployee - - value: tracking_categories,account,employee,accounting_period - name: TrackingCategoriesAccountEmployeeAccountingPeriod - - value: tracking_categories,accounting_period - name: TrackingCategoriesAccountingPeriod - - value: tracking_categories,company - name: TrackingCategoriesCompany - - value: tracking_categories,company,accounting_period - name: TrackingCategoriesCompanyAccountingPeriod - - value: tracking_categories,company,employee - name: TrackingCategoriesCompanyEmployee - - value: tracking_categories,company,employee,accounting_period - name: TrackingCategoriesCompanyEmployeeAccountingPeriod - - value: tracking_categories,contact - name: TrackingCategoriesContact - - value: tracking_categories,contact,accounting_period - name: TrackingCategoriesContactAccountingPeriod - - value: tracking_categories,contact,company - name: TrackingCategoriesContactCompany - - value: tracking_categories,contact,company,accounting_period - name: TrackingCategoriesContactCompanyAccountingPeriod - - value: tracking_categories,contact,company,employee - name: TrackingCategoriesContactCompanyEmployee - - value: tracking_categories,contact,company,employee,accounting_period - name: TrackingCategoriesContactCompanyEmployeeAccountingPeriod - - value: tracking_categories,contact,employee - name: TrackingCategoriesContactEmployee - - value: tracking_categories,contact,employee,accounting_period - name: TrackingCategoriesContactEmployeeAccountingPeriod - - value: tracking_categories,employee - name: TrackingCategoriesEmployee - - value: tracking_categories,employee,accounting_period - name: TrackingCategoriesEmployeeAccountingPeriod - source: - openapi: openapi/openapi.yml -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /accounting/v1/expenses - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `Expense` objects. - source: - openapi: openapi/openapi.yml - request: - name: ExpensesListRequest - query-parameters: - company_id: - type: optional - docs: If provided, will only return expenses for this company. - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_remote_fields: - type: optional - docs: >- - Whether to include all remote fields, including fields that Merge - did not map to common models, in a normalized format. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - page_size: - type: optional - docs: Number of results to return per page. - remote_id: - type: optional - docs: The API provider's ID for the given object. - transaction_date_after: - type: optional - docs: If provided, will only return objects created after this datetime. - transaction_date_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - response: - docs: '' - type: root.PaginatedExpenseList - status-code: 200 - examples: - - query-parameters: - company_id: company_id - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - expand: account - include_deleted_data: true - include_remote_data: true - include_remote_fields: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - page_size: 1 - remote_id: remote_id - transaction_date_after: '2024-01-15T09:30:00Z' - transaction_date_before: '2024-01-15T09:30:00Z' - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4 - remote_id: '088899' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - transaction_date: '2024-01-15T09:30:00Z' - remote_created_at: '2020-03-31T00:00:00Z' - account: account - contact: contact - total_amount: 10000 - sub_total: 1.1 - total_tax_amount: 1.1 - currency: XUA - exchange_rate: '2.9' - inclusive_of_tax: true - company: company - employee: employee - memo: New employee supplies - lines: - - id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4 - remote_id: '121222' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - item: b38c59b0-a9d7-4740-b1ee-5436c6751e3d - net_amount: 25.54 - tracking_categories: - - b38c59b0-a9d7-4740-b1ee-5436c6751e3d - - 9b840d2-686a-465a-8a8e-7b028498f8e4 - - a47e11b6-c73b-4a0c-be31-130fc48177fa - company: 595c8f97-2ac4-45b7-b000-41bdf43240b5 - employee: 7442f0d5-722d-45bd-b807-6e38489d37fe - account: 2a56344a-a491-11ec-b909-0242ac120002 - contact: c640b80b-fac9-409f-aa19-1f9221aec445 - project: 22e65a5d-2df5-4e6e-884a-e538d0339000 - description: MacBook Pro - exchange_rate: '2.9' - tax_rate: a12e7c20-1922-9df7-s75n-edfeewnn7384 - remote_was_deleted: false - - id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4 - remote_id: '121223' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - item: b38c59b0-a9d7-4740-b1ee-5436c6751e3d - net_amount: 10 - tracking_categories: - - b38c59b0-a9d7-4740-b1ee-5436c6751e3d - - 9b840d2-686a-465a-8a8e-7b028498f8e4 - - a47e11b6-c73b-4a0c-be31-130fc48177fa - company: 595c8f97-2ac4-45b7-b000-41bdf43240b5 - account: 2a56344a-a491-11ec-b909-0242ac120002 - description: Desk Lamp - exchange_rate: '2.9' - tax_rate: a12e7c20-1922-9df7-s75n-edfeewnn7384 - tracking_categories: - - b38c59b0-a9d7-4740-b1ee-5436c6751e3d - - 9b840d2-686a-465a-8a8e-7b028498f8e4 - - a47e11b6-c73b-4a0c-be31-130fc48177fa - remote_was_deleted: true - accounting_period: accounting_period - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /actions - data: - - Varies by platform - remote_fields: - - remote_field_class: remote_field_class - value: string - create: - path: /accounting/v1/expenses - method: POST - auth: - - tokenAuth: [] - docs: Creates an `Expense` object with the given values. - source: - openapi: openapi/openapi.yml - request: - name: ExpenseEndpointRequest - query-parameters: - is_debug_mode: - type: optional - docs: >- - Whether to include debug fields (such as log file links) in the - response. - run_async: - type: optional - docs: Whether or not third-party updates should be run asynchronously. - body: - properties: - model: root.ExpenseRequest - content-type: application/json - response: - docs: '' - type: root.ExpenseResponse - status-code: 201 - examples: - - query-parameters: - is_debug_mode: true - run_async: true - headers: - X-Account-Token: X-Account-Token - request: - model: {} - response: - body: - model: - id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4 - remote_id: '088899' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - transaction_date: '2024-01-15T09:30:00Z' - remote_created_at: '2020-03-31T00:00:00Z' - account: account - contact: contact - total_amount: 10000 - sub_total: 1.1 - total_tax_amount: 1.1 - currency: XUA - exchange_rate: '2.9' - inclusive_of_tax: true - company: company - employee: employee - memo: New employee supplies - lines: - - id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4 - remote_id: '121222' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - item: b38c59b0-a9d7-4740-b1ee-5436c6751e3d - net_amount: 25.54 - tracking_categories: - - b38c59b0-a9d7-4740-b1ee-5436c6751e3d - - 9b840d2-686a-465a-8a8e-7b028498f8e4 - - a47e11b6-c73b-4a0c-be31-130fc48177fa - company: 595c8f97-2ac4-45b7-b000-41bdf43240b5 - employee: 7442f0d5-722d-45bd-b807-6e38489d37fe - account: 2a56344a-a491-11ec-b909-0242ac120002 - contact: c640b80b-fac9-409f-aa19-1f9221aec445 - project: 22e65a5d-2df5-4e6e-884a-e538d0339000 - description: MacBook Pro - exchange_rate: '2.9' - tax_rate: a12e7c20-1922-9df7-s75n-edfeewnn7384 - remote_was_deleted: false - - id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4 - remote_id: '121223' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - item: b38c59b0-a9d7-4740-b1ee-5436c6751e3d - net_amount: 10 - tracking_categories: - - b38c59b0-a9d7-4740-b1ee-5436c6751e3d - - 9b840d2-686a-465a-8a8e-7b028498f8e4 - - a47e11b6-c73b-4a0c-be31-130fc48177fa - company: 595c8f97-2ac4-45b7-b000-41bdf43240b5 - account: 2a56344a-a491-11ec-b909-0242ac120002 - description: Desk Lamp - exchange_rate: '2.9' - tax_rate: a12e7c20-1922-9df7-s75n-edfeewnn7384 - tracking_categories: - - b38c59b0-a9d7-4740-b1ee-5436c6751e3d - - 9b840d2-686a-465a-8a8e-7b028498f8e4 - - a47e11b6-c73b-4a0c-be31-130fc48177fa - remote_was_deleted: true - accounting_period: accounting_period - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /actions - data: - - Varies by platform - remote_fields: - - remote_field_class: remote_field_class - value: string - warnings: - - source: - pointer: pointer - title: Unrecognized Field - detail: An unrecognized field, age, was passed in with request data. - problem_type: UNRECOGNIZED_FIELD - errors: - - source: - pointer: pointer - title: Missing Required Field - detail: custom_fields is a required field on model. - problem_type: MISSING_REQUIRED_FIELD - logs: - - log_id: 99433219-8017-4acd-bb3c-ceb23d663832 - dashboard_view: >- - https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832 - log_summary: - url: www.exampleintegration.com/api/v1/exampleapi - method: POST - status_code: 200 - retrieve: - path: /accounting/v1/expenses/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns an `Expense` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: ExpensesRetrieveRequest - query-parameters: - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_remote_fields: - type: optional - docs: >- - Whether to include all remote fields, including fields that Merge - did not map to common models, in a normalized format. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - response: - docs: '' - type: root.Expense - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - expand: account - include_remote_data: true - include_remote_fields: true - include_shell_data: true - headers: - X-Account-Token: X-Account-Token - response: - body: - id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4 - remote_id: '088899' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - transaction_date: '2024-01-15T09:30:00Z' - remote_created_at: '2020-03-31T00:00:00Z' - account: account - contact: contact - total_amount: 10000 - sub_total: 1.1 - total_tax_amount: 1.1 - currency: XUA - exchange_rate: '2.9' - inclusive_of_tax: true - company: company - employee: employee - memo: New employee supplies - lines: - - id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4 - remote_id: '121222' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - item: b38c59b0-a9d7-4740-b1ee-5436c6751e3d - net_amount: 25.54 - tracking_categories: - - b38c59b0-a9d7-4740-b1ee-5436c6751e3d - - 9b840d2-686a-465a-8a8e-7b028498f8e4 - - a47e11b6-c73b-4a0c-be31-130fc48177fa - company: 595c8f97-2ac4-45b7-b000-41bdf43240b5 - employee: 7442f0d5-722d-45bd-b807-6e38489d37fe - currency: XUA - account: 2a56344a-a491-11ec-b909-0242ac120002 - contact: c640b80b-fac9-409f-aa19-1f9221aec445 - project: 22e65a5d-2df5-4e6e-884a-e538d0339000 - description: MacBook Pro - exchange_rate: '2.9' - tax_rate: a12e7c20-1922-9df7-s75n-edfeewnn7384 - remote_was_deleted: false - - id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4 - remote_id: '121223' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - item: b38c59b0-a9d7-4740-b1ee-5436c6751e3d - net_amount: 10 - tracking_categories: - - b38c59b0-a9d7-4740-b1ee-5436c6751e3d - - 9b840d2-686a-465a-8a8e-7b028498f8e4 - - a47e11b6-c73b-4a0c-be31-130fc48177fa - company: 595c8f97-2ac4-45b7-b000-41bdf43240b5 - employee: employee - currency: XUA - account: 2a56344a-a491-11ec-b909-0242ac120002 - contact: contact - project: project - description: Desk Lamp - exchange_rate: '2.9' - tax_rate: a12e7c20-1922-9df7-s75n-edfeewnn7384 - remote_was_deleted: true - tracking_categories: - - b38c59b0-a9d7-4740-b1ee-5436c6751e3d - - 9b840d2-686a-465a-8a8e-7b028498f8e4 - - a47e11b6-c73b-4a0c-be31-130fc48177fa - remote_was_deleted: true - accounting_period: accounting_period - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /actions - data: - - Varies by platform - remote_fields: - - remote_field_class: remote_field_class - value: string - linesRemoteFieldClassesList: - path: /accounting/v1/expenses/lines/remote-field-classes - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `RemoteFieldClass` objects. - source: - openapi: openapi/openapi.yml - request: - name: ExpensesLinesRemoteFieldClassesListRequest - query-parameters: - cursor: - type: optional - docs: The pagination cursor value. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - is_common_model_field: - type: optional - docs: >- - If provided, will only return remote field classes with this - is_common_model_field value - is_custom: - type: optional - docs: >- - If provided, will only return remote fields classes with this - is_custom value - page_size: - type: optional - docs: Number of results to return per page. - response: - docs: '' - type: root.PaginatedRemoteFieldClassList - status-code: 200 - examples: - - query-parameters: - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - include_deleted_data: true - include_remote_data: true - include_shell_data: true - is_common_model_field: true - is_custom: true - page_size: 1 - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: id - display_name: display_name - remote_key_name: remote_key_name - description: description - is_custom: true - is_common_model_field: true - is_required: true - field_type: string - field_format: string - field_choices: - - field_choices - metaPostRetrieve: - path: /accounting/v1/expenses/meta/post - method: GET - auth: - - tokenAuth: [] - docs: Returns metadata for `Expense` POSTs. - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: root.MetaResponse - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - request_schema: - type: object - properties: - model: - type: object - required: - - last_name - - first_name - - merge_categories - - new_york_city_neighborhood - - favorite_tv_shows - - favorite_watch - properties: - email_addresses: - type: array - items: - type: object - properties: - value: - type: string - title: value - email_address_type: - type: string - title: email_address_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: email_addresses - description: Array of email_addresses objects - urls: - type: array - items: - type: object - properties: - value: - type: string - title: value - url_type: - type: string - title: url_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: urls - description: Array of urls objects - first_name: - type: string - title: first_name - description: The first name. - last_name: - type: string - title: last_name - description: The last name. - phone_numbers: - type: array - items: - type: object - properties: - value: - type: string - title: value - phone_number_type: - type: string - title: phone_number_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: phone_numbers - description: Array of phone_numbers objects - tags: - type: array - items: - type: string - format: uuid - title: tags - description: Array of tags names - attachments: - type: array - items: - type: object - properties: - id: - type: string - title: id - file_url: - type: string - title: file_url - file_name: - type: string - title: file_name - attachment_type: - type: string - title: attachment_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: attachments - description: 'Array of attachments objects ' - merge_categories: - type: array - categories: - type: string - enum: - - HRIS - - ATS - - Accounting - - Ticketing - - File Storage - - CRM - - Marketing Automation - enum_information: - - value: HRIS - description: Merge HRIS Category - - value: ATS - description: Merge ATS Category - - value: Accounting - description: Merge Accounting Category - - value: Ticketing - description: Merge Ticketing Category - - value: File Storage - description: Merge File Storage Category - - value: CRM - description: Merge CRM Category - - value: Marketing Automation - description: Merge Marketing Automation Category - title: Merge Categories - description: Array of Merge's Unified API Categories - new_york_city_neighborhood: - type: string - title: Borough - description: One of the 5 Boroughs of New York City - favorite_tv_shows: - type: array - items: - type: string - format: uuid - title: Favorite TV Shows - description: Array of TV Show objects on merge.tv_shows - favorite_watch: - type: string - title: Favorite Watch - description: Favorite watch of all time - remote_field_classes: - key: value - status: - linked_account_status: linked_account_status - can_make_request: true - has_conditional_params: true - has_required_linked_account_params: true - remoteFieldClassesList: - path: /accounting/v1/expenses/remote-field-classes - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `RemoteFieldClass` objects. - source: - openapi: openapi/openapi.yml - request: - name: ExpensesRemoteFieldClassesListRequest - query-parameters: - cursor: - type: optional - docs: The pagination cursor value. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - is_common_model_field: - type: optional - docs: >- - If provided, will only return remote field classes with this - is_common_model_field value - is_custom: - type: optional - docs: >- - If provided, will only return remote fields classes with this - is_custom value - page_size: - type: optional - docs: Number of results to return per page. - response: - docs: '' - type: root.PaginatedRemoteFieldClassList - status-code: 200 - examples: - - query-parameters: - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - include_deleted_data: true - include_remote_data: true - include_shell_data: true - is_common_model_field: true - is_custom: true - page_size: 1 - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: id - display_name: display_name - remote_key_name: remote_key_name - description: description - is_custom: true - is_common_model_field: true - is_required: true - field_type: string - field_format: string - field_choices: - - field_choices - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/accounting/fieldMapping.yml b/.mock/definition/accounting/fieldMapping.yml deleted file mode 100644 index 4a6bf178..00000000 --- a/.mock/definition/accounting/fieldMapping.yml +++ /dev/null @@ -1,1237 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - field_mappings_retrieve: - path: /accounting/v1/field-mappings - method: GET - auth: - - tokenAuth: [] - docs: >- - Get all Field Mappings for this Linked Account. Field Mappings are - mappings between third-party Remote Fields and user defined Merge - fields. [Learn - more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). - source: - openapi: openapi/openapi.yml - request: - name: FieldMappingsRetrieveRequest - query-parameters: - exclude_remote_field_metadata: - type: optional - docs: >- - If `true`, remote fields metadata is excluded from each field - mapping instance (i.e. `remote_fields.remote_key_name` and - `remote_fields.schema` will be null). This will increase the speed - of the request since these fields require some calculations. - response: - docs: '' - type: root.FieldMappingApiInstanceResponse - status-code: 200 - examples: - - query-parameters: - exclude_remote_field_metadata: true - headers: - X-Account-Token: X-Account-Token - response: - body: - Account: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - AccountingAttachment: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - BalanceSheet: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - CashFlowStatement: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - CompanyInfo: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - Contact: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - IncomeStatement: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - CreditNote: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - Item: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - PurchaseOrder: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - ExpenseReport: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - TrackingCategory: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - JournalEntry: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - TaxRate: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - Invoice: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - Payment: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - Expense: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - VendorCredit: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - Transaction: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - AccountingPeriod: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - GeneralLedgerTransaction: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - BankFeedAccount: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - Employee: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - PaymentMethod: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - Project: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - PaymentTerm: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - field_mappings_create: - path: /accounting/v1/field-mappings - method: POST - auth: - - tokenAuth: [] - docs: >- - Create new Field Mappings that will be available after the next - scheduled sync. This will cause the next sync for this Linked Account to - sync **ALL** data from start. - source: - openapi: openapi/openapi.yml - request: - name: CreateFieldMappingRequest - query-parameters: - exclude_remote_field_metadata: - type: optional - docs: >- - If `true`, remote fields metadata is excluded from each field - mapping instance (i.e. `remote_fields.remote_key_name` and - `remote_fields.schema` will be null). This will increase the speed - of the request since these fields require some calculations. - body: - properties: - target_field_name: - type: string - docs: >- - The name of the target field you want this remote field to map - to. - validation: - minLength: 1 - target_field_description: - type: string - docs: >- - The description of the target field you want this remote field - to map to. - validation: - minLength: 1 - remote_field_traversal_path: - docs: >- - The field traversal path of the remote field listed when you hit - the GET /remote-fields endpoint. - type: list - remote_method: - type: string - docs: >- - The method of the remote endpoint where the remote field is - coming from. - validation: - minLength: 1 - remote_url_path: - type: string - docs: >- - The path of the remote endpoint where the remote field is coming - from. - validation: - minLength: 1 - common_model_name: - type: string - docs: >- - The name of the Common Model that the remote field corresponds - to in a given category. - validation: - minLength: 1 - content-type: application/json - response: - docs: '' - type: root.FieldMappingInstanceResponse - status-code: 201 - examples: - - query-parameters: - exclude_remote_field_metadata: true - headers: - X-Account-Token: X-Account-Token - request: - target_field_name: example_target_field_name - target_field_description: this is a example description of the target field - remote_field_traversal_path: - - example_remote_field - remote_method: GET - remote_url_path: /example-url-path - common_model_name: ExampleCommonModel - response: - body: - model: - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - warnings: - - source: - pointer: pointer - title: Unrecognized Field - detail: An unrecognized field, age, was passed in with request data. - problem_type: UNRECOGNIZED_FIELD - errors: - - source: - pointer: pointer - title: Missing Required Field - detail: custom_fields is a required field on model. - problem_type: MISSING_REQUIRED_FIELD - logs: - - log_id: 99433219-8017-4acd-bb3c-ceb23d663832 - dashboard_view: >- - https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832 - log_summary: - url: www.exampleintegration.com/api/v1/exampleapi - method: POST - status_code: 200 - field_mappings_destroy: - path: /accounting/v1/field-mappings/{field_mapping_id} - method: DELETE - auth: - - tokenAuth: [] - docs: >- - Deletes Field Mappings for a Linked Account. All data related to this - Field Mapping will be deleted and these changes will be reflected after - the next scheduled sync. This will cause the next sync for this Linked - Account to sync **ALL** data from start. - source: - openapi: openapi/openapi.yml - path-parameters: - field_mapping_id: string - response: - docs: '' - type: root.FieldMappingInstanceResponse - status-code: 204 - examples: - - path-parameters: - field_mapping_id: field_mapping_id - headers: - X-Account-Token: X-Account-Token - response: - body: - model: - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - warnings: - - source: - pointer: pointer - title: Unrecognized Field - detail: An unrecognized field, age, was passed in with request data. - problem_type: UNRECOGNIZED_FIELD - errors: - - source: - pointer: pointer - title: Missing Required Field - detail: custom_fields is a required field on model. - problem_type: MISSING_REQUIRED_FIELD - logs: - - log_id: 99433219-8017-4acd-bb3c-ceb23d663832 - dashboard_view: >- - https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832 - log_summary: - url: www.exampleintegration.com/api/v1/exampleapi - method: POST - status_code: 200 - field_mappings_partial_update: - path: /accounting/v1/field-mappings/{field_mapping_id} - method: PATCH - auth: - - tokenAuth: [] - docs: >- - Create or update existing Field Mappings for a Linked Account. Changes - will be reflected after the next scheduled sync. This will cause the - next sync for this Linked Account to sync **ALL** data from start. - source: - openapi: openapi/openapi.yml - path-parameters: - field_mapping_id: string - request: - name: PatchedEditFieldMappingRequest - body: - properties: - remote_field_traversal_path: - type: optional> - docs: >- - The field traversal path of the remote field listed when you hit - the GET /remote-fields endpoint. - remote_method: - type: optional - docs: >- - The method of the remote endpoint where the remote field is - coming from. - validation: - minLength: 1 - remote_url_path: - type: optional - docs: >- - The path of the remote endpoint where the remote field is coming - from. - validation: - minLength: 1 - content-type: application/json - response: - docs: '' - type: root.FieldMappingInstanceResponse - status-code: 200 - examples: - - path-parameters: - field_mapping_id: field_mapping_id - headers: - X-Account-Token: X-Account-Token - request: {} - response: - body: - model: - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - warnings: - - source: - pointer: pointer - title: Unrecognized Field - detail: An unrecognized field, age, was passed in with request data. - problem_type: UNRECOGNIZED_FIELD - errors: - - source: - pointer: pointer - title: Missing Required Field - detail: custom_fields is a required field on model. - problem_type: MISSING_REQUIRED_FIELD - logs: - - log_id: 99433219-8017-4acd-bb3c-ceb23d663832 - dashboard_view: >- - https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832 - log_summary: - url: www.exampleintegration.com/api/v1/exampleapi - method: POST - status_code: 200 - remote_fields_retrieve: - path: /accounting/v1/remote-fields - method: GET - auth: - - tokenAuth: [] - docs: >- - Get all remote fields for a Linked Account. Remote fields are - third-party fields that are accessible after initial sync if remote_data - is enabled. You can use remote fields to override existing Merge fields - or map a new Merge field. [Learn - more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). - source: - openapi: openapi/openapi.yml - request: - name: RemoteFieldsRetrieveRequest - query-parameters: - common_models: - type: optional - docs: >- - A comma seperated list of Common Model names. If included, will - only return Remote Fields for those Common Models. - include_example_values: - type: optional - docs: >- - If true, will include example values, where available, for remote - fields in the 3rd party platform. These examples come from active - data from your customers. - response: - docs: '' - type: root.RemoteFieldApiResponse - status-code: 200 - examples: - - query-parameters: - common_models: common_models - include_example_values: include_example_values - headers: - X-Account-Token: X-Account-Token - response: - body: - Account: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - AccountingAttachment: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - BalanceSheet: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - CashFlowStatement: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - CompanyInfo: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - Contact: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - IncomeStatement: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - CreditNote: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - Item: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - PurchaseOrder: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - TrackingCategory: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - JournalEntry: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - TaxRate: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - Invoice: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - Payment: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - Expense: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - VendorCredit: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - Transaction: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - AccountingPeriod: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - GeneralLedgerTransaction: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - BankFeedAccount: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - Employee: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - PaymentMethod: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - Project: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - PaymentTerm: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - target_fields_retrieve: - path: /accounting/v1/target-fields - method: GET - auth: - - tokenAuth: [] - docs: >- - Get all organization-wide Target Fields, this will not include any - Linked Account specific Target Fields. Organization-wide Target Fields - are additional fields appended to the Merge Common Model for all Linked - Accounts in a category. [Learn - more](https://docs.merge.dev/supplemental-data/field-mappings/target-fields/). - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: root.ExternalTargetFieldApiResponse - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - Account: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - AccountingAttachment: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - BalanceSheet: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - CashFlowStatement: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - CompanyInfo: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - Contact: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - IncomeStatement: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - CreditNote: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - Item: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - PurchaseOrder: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - ExpenseReport: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - TrackingCategory: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - JournalEntry: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - TaxRate: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - Invoice: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - Payment: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - Expense: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - VendorCredit: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - Transaction: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - AccountingPeriod: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - GeneralLedgerTransaction: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - BankFeedAccount: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - Employee: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - PaymentMethod: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - Project: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - PaymentTerm: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/accounting/forceResync.yml b/.mock/definition/accounting/forceResync.yml deleted file mode 100644 index 6da3f197..00000000 --- a/.mock/definition/accounting/forceResync.yml +++ /dev/null @@ -1,39 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - sync_status_resync_create: - path: /accounting/v1/sync-status/resync - method: POST - auth: - - tokenAuth: [] - docs: >- - Force re-sync of all models. This endpoint is available for monthly, - quarterly, and highest sync frequency customers on the Professional or - Enterprise plans. Doing so will consume a sync credit for the relevant - linked account. Force re-syncs can also be triggered manually in the - Merge Dashboard and is available for all customers. - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: list - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - - model_name: Invoice - model_id: accounting.Invoices - last_sync_start: '2021-03-30T19:44:18Z' - next_sync_start: '2021-03-30T20:44:18Z' - last_sync_result: SYNCING - last_sync_finished: '2021-03-30T19:55:18Z' - status: SYNCING - is_initial_sync: true - selective_sync_configurations_usage: IN_NEXT_SYNC - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/accounting/generalLedgerTransactions.yml b/.mock/definition/accounting/generalLedgerTransactions.yml deleted file mode 100644 index b8d96bc8..00000000 --- a/.mock/definition/accounting/generalLedgerTransactions.yml +++ /dev/null @@ -1,319 +0,0 @@ -types: - GeneralLedgerTransactionsListRequestExpand: - enum: - - accounting_period - - company - - value: company,accounting_period - name: CompanyAccountingPeriod - - general_ledger_transaction_lines - - value: general_ledger_transaction_lines,accounting_period - name: GeneralLedgerTransactionLinesAccountingPeriod - - value: general_ledger_transaction_lines,company - name: GeneralLedgerTransactionLinesCompany - - value: general_ledger_transaction_lines,company,accounting_period - name: GeneralLedgerTransactionLinesCompanyAccountingPeriod - - tracking_categories - - value: tracking_categories,accounting_period - name: TrackingCategoriesAccountingPeriod - - value: tracking_categories,company - name: TrackingCategoriesCompany - - value: tracking_categories,company,accounting_period - name: TrackingCategoriesCompanyAccountingPeriod - - value: tracking_categories,general_ledger_transaction_lines - name: TrackingCategoriesGeneralLedgerTransactionLines - - value: tracking_categories,general_ledger_transaction_lines,accounting_period - name: TrackingCategoriesGeneralLedgerTransactionLinesAccountingPeriod - - value: tracking_categories,general_ledger_transaction_lines,company - name: TrackingCategoriesGeneralLedgerTransactionLinesCompany - - value: >- - tracking_categories,general_ledger_transaction_lines,company,accounting_period - name: TrackingCategoriesGeneralLedgerTransactionLinesCompanyAccountingPeriod - source: - openapi: openapi/openapi.yml - GeneralLedgerTransactionsRetrieveRequestExpand: - enum: - - accounting_period - - company - - value: company,accounting_period - name: CompanyAccountingPeriod - - general_ledger_transaction_lines - - value: general_ledger_transaction_lines,accounting_period - name: GeneralLedgerTransactionLinesAccountingPeriod - - value: general_ledger_transaction_lines,company - name: GeneralLedgerTransactionLinesCompany - - value: general_ledger_transaction_lines,company,accounting_period - name: GeneralLedgerTransactionLinesCompanyAccountingPeriod - - tracking_categories - - value: tracking_categories,accounting_period - name: TrackingCategoriesAccountingPeriod - - value: tracking_categories,company - name: TrackingCategoriesCompany - - value: tracking_categories,company,accounting_period - name: TrackingCategoriesCompanyAccountingPeriod - - value: tracking_categories,general_ledger_transaction_lines - name: TrackingCategoriesGeneralLedgerTransactionLines - - value: tracking_categories,general_ledger_transaction_lines,accounting_period - name: TrackingCategoriesGeneralLedgerTransactionLinesAccountingPeriod - - value: tracking_categories,general_ledger_transaction_lines,company - name: TrackingCategoriesGeneralLedgerTransactionLinesCompany - - value: >- - tracking_categories,general_ledger_transaction_lines,company,accounting_period - name: TrackingCategoriesGeneralLedgerTransactionLinesCompanyAccountingPeriod - source: - openapi: openapi/openapi.yml -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /accounting/v1/general-ledger-transactions - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `GeneralLedgerTransaction` objects. - source: - openapi: openapi/openapi.yml - request: - name: GeneralLedgerTransactionsListRequest - query-parameters: - company_id: - type: optional - docs: >- - If provided, will only return general ledger transactions for this - company. - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - page_size: - type: optional - docs: Number of results to return per page. - posted_date_after: - type: optional - docs: If provided, will only return objects posted after this datetime. - posted_date_before: - type: optional - docs: If provided, will only return objects posted before this datetime. - remote_id: - type: optional - docs: The API provider's ID for the given object. - response: - docs: '' - type: root.PaginatedGeneralLedgerTransactionList - status-code: 200 - examples: - - query-parameters: - company_id: company_id - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - expand: accounting_period - include_deleted_data: true - include_remote_data: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - page_size: 1 - posted_date_after: '2024-01-15T09:30:00Z' - posted_date_before: '2024-01-15T09:30:00Z' - remote_id: remote_id - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: b26fd49a-cbae-470a-a8f8-bcbc119e0390 - remote_id: '987300' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - underlying_transaction_remote_id: '1234' - underlying_transaction_type: INVOICE - accounting_period: accounting_period - company: company - remote_updated_at: '2020-03-31T00:00:00Z' - remote_created_at: '2020-03-31T00:00:00Z' - tracking_categories: - - b38c59b0-a9d7-4740-b1ee-5436c6751e3d - - 9b840d2-686a-465a-8a8e-7b028498f8e4 - - a47e11b6-c73b-4a0c-be31-130fc48177fa - posting_date: '2020-03-31T00:00:00Z' - general_ledger_transaction_lines: - - id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4 - remote_id: '123' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - account: a47e11b6-c73b-4a0c-be31-130fc48177fa - company: 595c8f97-2ac4-45b7-b000-41bdf43240b5 - contact: d6e687d6-0c36-48a1-8114-35324b5cb38f - base_currency: USD - transaction_currency: USD - exchange_rate: exchange_rate - description: Invoice created - tracking_categories: - - b38c59b0-a9d7-4740-b1ee-5436c6751e3d - - 9b840d2-686a-465a-8a8e-7b028498f8e4 - - a47e11b6-c73b-4a0c-be31-130fc48177fa - debit_amount: debit_amount - credit_amount: credit_amount - item: a47e11b6-c73b-4a0c-be31-130fc48177fa - foreign_debit_amount: foreign_debit_amount - foreign_credit_amount: foreign_credit_amount - remote_was_deleted: false - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /platform-endpoint - data: - - Varies by platform - retrieve: - path: /accounting/v1/general-ledger-transactions/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns a `GeneralLedgerTransaction` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: GeneralLedgerTransactionsRetrieveRequest - query-parameters: - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - response: - docs: '' - type: root.GeneralLedgerTransaction - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - expand: accounting_period - include_remote_data: true - include_shell_data: true - headers: - X-Account-Token: X-Account-Token - response: - body: - id: b26fd49a-cbae-470a-a8f8-bcbc119e0390 - remote_id: '987300' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - underlying_transaction_remote_id: '1234' - underlying_transaction_type: INVOICE - accounting_period: accounting_period - company: company - remote_updated_at: '2020-03-31T00:00:00Z' - remote_created_at: '2020-03-31T00:00:00Z' - tracking_categories: - - b38c59b0-a9d7-4740-b1ee-5436c6751e3d - - 9b840d2-686a-465a-8a8e-7b028498f8e4 - - a47e11b6-c73b-4a0c-be31-130fc48177fa - posting_date: '2020-03-31T00:00:00Z' - general_ledger_transaction_lines: - - id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4 - remote_id: '123' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - account: a47e11b6-c73b-4a0c-be31-130fc48177fa - company: 595c8f97-2ac4-45b7-b000-41bdf43240b5 - employee: employee - contact: d6e687d6-0c36-48a1-8114-35324b5cb38f - project: project - base_currency: USD - transaction_currency: USD - exchange_rate: exchange_rate - description: Invoice created - tracking_categories: - - b38c59b0-a9d7-4740-b1ee-5436c6751e3d - - 9b840d2-686a-465a-8a8e-7b028498f8e4 - - a47e11b6-c73b-4a0c-be31-130fc48177fa - debit_amount: debit_amount - credit_amount: credit_amount - item: a47e11b6-c73b-4a0c-be31-130fc48177fa - foreign_debit_amount: foreign_debit_amount - foreign_credit_amount: foreign_credit_amount - remote_was_deleted: false - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /platform-endpoint - data: - - Varies by platform - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/accounting/generateKey.yml b/.mock/definition/accounting/generateKey.yml deleted file mode 100644 index a2c022dd..00000000 --- a/.mock/definition/accounting/generateKey.yml +++ /dev/null @@ -1,39 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - create: - path: /accounting/v1/generate-key - method: POST - auth: - - tokenAuth: [] - docs: Create a remote key. - source: - openapi: openapi/openapi.yml - request: - name: GenerateRemoteKeyRequest - body: - properties: - name: - type: string - docs: The name of the remote key - validation: - minLength: 1 - content-type: application/json - response: - docs: '' - type: root.RemoteKey - status-code: 200 - examples: - - headers: - X-Account-Token: '[object Object]' - request: - name: Remote Deployment Key 1 - response: - body: - name: Remote Deployment Key 1 - key: hXY57W0g0WkdRHjCaPvwijK63fwfN-o_Wh7f30SLTq_uPCOLo-WFcA - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/accounting/incomeStatements.yml b/.mock/definition/accounting/incomeStatements.yml deleted file mode 100644 index 11ad49af..00000000 --- a/.mock/definition/accounting/incomeStatements.yml +++ /dev/null @@ -1,294 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /accounting/v1/income-statements - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `IncomeStatement` objects. - source: - openapi: openapi/openapi.yml - request: - name: IncomeStatementsListRequest - query-parameters: - company_id: - type: optional - docs: If provided, will only return income statements for this company. - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - expand: - type: optional> - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - page_size: - type: optional - docs: Number of results to return per page. - remote_id: - type: optional - docs: The API provider's ID for the given object. - response: - docs: '' - type: root.PaginatedIncomeStatementList - status-code: 200 - examples: - - query-parameters: - company_id: company_id - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - expand: company - include_deleted_data: true - include_remote_data: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - page_size: 1 - remote_id: remote_id - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: 0958cbc6-6040-430a-848e-aafacbadf4ae - remote_id: '1342348' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: IncomeStatement - currency: XUA - company: company - start_period: '2024-01-15T09:30:00Z' - end_period: '2024-01-15T09:30:00Z' - income: - - remote_id: '10299' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Total Income - value: 325 - sub_items: - - remote_id: '10200' - name: Landscaping Services - value: 425 - - remote_id: '10201' - name: Pest Control Services - value: -100 - company: 595c8f97-2ac4-45b7-b000-41bdf43240b5 - cost_of_sales: - - remote_id: '10299' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Total COGS - value: 25 - sub_items: - - remote_id: '10200' - name: Supplies - value: 10 - company: 595c8f97-2ac4-45b7-b000-41bdf43240b5 - gross_profit: 300 - operating_expenses: - - remote_id: '10299' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Total Operating Expenses - value: 100 - sub_items: - - remote_id: '10300' - name: Revenue - San Francisco - value: 500 - - remote_id: '10301' - name: Revenue - New York - value: 500 - company: 595c8f97-2ac4-45b7-b000-41bdf43240b5 - net_operating_income: 200 - non_operating_expenses: - - remote_id: '10299' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Total Non-Operating Expenses - value: 100 - sub_items: - - remote_id: '10300' - name: Revenue - San Francisco - value: 500 - - remote_id: '10301' - name: Revenue - New York - value: 500 - company: 595c8f97-2ac4-45b7-b000-41bdf43240b5 - net_income: 100 - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /actions - data: - - Varies by platform - retrieve: - path: /accounting/v1/income-statements/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns an `IncomeStatement` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: IncomeStatementsRetrieveRequest - query-parameters: - expand: - type: optional> - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - response: - docs: '' - type: root.IncomeStatement - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - expand: company - include_remote_data: true - include_shell_data: true - headers: - X-Account-Token: X-Account-Token - response: - body: - id: 0958cbc6-6040-430a-848e-aafacbadf4ae - remote_id: '1342348' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: IncomeStatement - currency: XUA - company: company - start_period: '2024-01-15T09:30:00Z' - end_period: '2024-01-15T09:30:00Z' - income: - - remote_id: '10299' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Total Income - value: 325 - sub_items: - - remote_id: '10200' - name: Landscaping Services - value: 425 - - remote_id: '10201' - name: Pest Control Services - value: -100 - company: 595c8f97-2ac4-45b7-b000-41bdf43240b5 - remote_was_deleted: true - cost_of_sales: - - remote_id: '10299' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Total COGS - value: 25 - sub_items: - - remote_id: '10200' - name: Supplies - value: 10 - company: 595c8f97-2ac4-45b7-b000-41bdf43240b5 - remote_was_deleted: true - gross_profit: 300 - operating_expenses: - - remote_id: '10299' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Total Operating Expenses - value: 100 - sub_items: - - remote_id: '10300' - name: Revenue - San Francisco - value: 500 - - remote_id: '10301' - name: Revenue - New York - value: 500 - company: 595c8f97-2ac4-45b7-b000-41bdf43240b5 - remote_was_deleted: true - net_operating_income: 200 - non_operating_expenses: - - remote_id: '10299' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Total Non-Operating Expenses - value: 100 - sub_items: - - remote_id: '10300' - name: Revenue - San Francisco - value: 500 - - remote_id: '10301' - name: Revenue - New York - value: 500 - company: 595c8f97-2ac4-45b7-b000-41bdf43240b5 - remote_was_deleted: true - net_income: 100 - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /actions - data: - - Varies by platform - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/accounting/invoices.yml b/.mock/definition/accounting/invoices.yml deleted file mode 100644 index 84b00b58..00000000 --- a/.mock/definition/accounting/invoices.yml +++ /dev/null @@ -1,28192 +0,0 @@ -types: - InvoicesListRequestExpand: - enum: - - accounting_period - - value: accounting_period,payment_term - name: AccountingPeriodPaymentTerm - - applied_credit_notes - - value: applied_credit_notes,accounting_period - name: AppliedCreditNotesAccountingPeriod - - value: applied_credit_notes,accounting_period,payment_term - name: AppliedCreditNotesAccountingPeriodPaymentTerm - - value: applied_credit_notes,applied_vendor_credits - name: AppliedCreditNotesAppliedVendorCredits - - value: applied_credit_notes,applied_vendor_credits,accounting_period - name: AppliedCreditNotesAppliedVendorCreditsAccountingPeriod - - value: >- - applied_credit_notes,applied_vendor_credits,accounting_period,payment_term - name: AppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: applied_credit_notes,applied_vendor_credits,company - name: AppliedCreditNotesAppliedVendorCreditsCompany - - value: applied_credit_notes,applied_vendor_credits,company,accounting_period - name: AppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term - name: >- - AppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: applied_credit_notes,applied_vendor_credits,company,employee - name: AppliedCreditNotesAppliedVendorCreditsCompanyEmployee - - value: >- - applied_credit_notes,applied_vendor_credits,company,employee,accounting_period - name: AppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - AppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_credit_notes,applied_vendor_credits,company,employee,payment_term - name: AppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: applied_credit_notes,applied_vendor_credits,company,payment_term - name: AppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm - - value: applied_credit_notes,applied_vendor_credits,contact - name: AppliedCreditNotesAppliedVendorCreditsContact - - value: applied_credit_notes,applied_vendor_credits,contact,accounting_period - name: AppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod - - value: >- - applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - AppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: applied_credit_notes,applied_vendor_credits,contact,company - name: AppliedCreditNotesAppliedVendorCreditsContactCompany - - value: >- - applied_credit_notes,applied_vendor_credits,contact,company,accounting_period - name: AppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - AppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: applied_credit_notes,applied_vendor_credits,contact,company,employee - name: AppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee - - value: >- - applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - AppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - AppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term - name: >- - AppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - applied_credit_notes,applied_vendor_credits,contact,company,payment_term - name: AppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm - - value: applied_credit_notes,applied_vendor_credits,contact,employee - name: AppliedCreditNotesAppliedVendorCreditsContactEmployee - - value: >- - applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period - name: AppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - AppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_credit_notes,applied_vendor_credits,contact,employee,payment_term - name: AppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm - - value: applied_credit_notes,applied_vendor_credits,contact,payment_term - name: AppliedCreditNotesAppliedVendorCreditsContactPaymentTerm - - value: applied_credit_notes,applied_vendor_credits,employee - name: AppliedCreditNotesAppliedVendorCreditsEmployee - - value: applied_credit_notes,applied_vendor_credits,employee,accounting_period - name: AppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - AppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: applied_credit_notes,applied_vendor_credits,employee,payment_term - name: AppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm - - value: applied_credit_notes,applied_vendor_credits,payment_term - name: AppliedCreditNotesAppliedVendorCreditsPaymentTerm - - value: applied_credit_notes,company - name: AppliedCreditNotesCompany - - value: applied_credit_notes,company,accounting_period - name: AppliedCreditNotesCompanyAccountingPeriod - - value: applied_credit_notes,company,accounting_period,payment_term - name: AppliedCreditNotesCompanyAccountingPeriodPaymentTerm - - value: applied_credit_notes,company,employee - name: AppliedCreditNotesCompanyEmployee - - value: applied_credit_notes,company,employee,accounting_period - name: AppliedCreditNotesCompanyEmployeeAccountingPeriod - - value: applied_credit_notes,company,employee,accounting_period,payment_term - name: AppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm - - value: applied_credit_notes,company,employee,payment_term - name: AppliedCreditNotesCompanyEmployeePaymentTerm - - value: applied_credit_notes,company,payment_term - name: AppliedCreditNotesCompanyPaymentTerm - - value: applied_credit_notes,contact - name: AppliedCreditNotesContact - - value: applied_credit_notes,contact,accounting_period - name: AppliedCreditNotesContactAccountingPeriod - - value: applied_credit_notes,contact,accounting_period,payment_term - name: AppliedCreditNotesContactAccountingPeriodPaymentTerm - - value: applied_credit_notes,contact,company - name: AppliedCreditNotesContactCompany - - value: applied_credit_notes,contact,company,accounting_period - name: AppliedCreditNotesContactCompanyAccountingPeriod - - value: applied_credit_notes,contact,company,accounting_period,payment_term - name: AppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm - - value: applied_credit_notes,contact,company,employee - name: AppliedCreditNotesContactCompanyEmployee - - value: applied_credit_notes,contact,company,employee,accounting_period - name: AppliedCreditNotesContactCompanyEmployeeAccountingPeriod - - value: >- - applied_credit_notes,contact,company,employee,accounting_period,payment_term - name: AppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: applied_credit_notes,contact,company,employee,payment_term - name: AppliedCreditNotesContactCompanyEmployeePaymentTerm - - value: applied_credit_notes,contact,company,payment_term - name: AppliedCreditNotesContactCompanyPaymentTerm - - value: applied_credit_notes,contact,employee - name: AppliedCreditNotesContactEmployee - - value: applied_credit_notes,contact,employee,accounting_period - name: AppliedCreditNotesContactEmployeeAccountingPeriod - - value: applied_credit_notes,contact,employee,accounting_period,payment_term - name: AppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm - - value: applied_credit_notes,contact,employee,payment_term - name: AppliedCreditNotesContactEmployeePaymentTerm - - value: applied_credit_notes,contact,payment_term - name: AppliedCreditNotesContactPaymentTerm - - value: applied_credit_notes,employee - name: AppliedCreditNotesEmployee - - value: applied_credit_notes,employee,accounting_period - name: AppliedCreditNotesEmployeeAccountingPeriod - - value: applied_credit_notes,employee,accounting_period,payment_term - name: AppliedCreditNotesEmployeeAccountingPeriodPaymentTerm - - value: applied_credit_notes,employee,payment_term - name: AppliedCreditNotesEmployeePaymentTerm - - value: applied_credit_notes,payment_term - name: AppliedCreditNotesPaymentTerm - - applied_payments - - value: applied_payments,accounting_period - name: AppliedPaymentsAccountingPeriod - - value: applied_payments,accounting_period,payment_term - name: AppliedPaymentsAccountingPeriodPaymentTerm - - value: applied_payments,applied_credit_notes - name: AppliedPaymentsAppliedCreditNotes - - value: applied_payments,applied_credit_notes,accounting_period - name: AppliedPaymentsAppliedCreditNotesAccountingPeriod - - value: applied_payments,applied_credit_notes,accounting_period,payment_term - name: AppliedPaymentsAppliedCreditNotesAccountingPeriodPaymentTerm - - value: applied_payments,applied_credit_notes,applied_vendor_credits - name: AppliedPaymentsAppliedCreditNotesAppliedVendorCredits - - value: >- - applied_payments,applied_credit_notes,applied_vendor_credits,accounting_period - name: AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsAccountingPeriod - - value: >- - applied_payments,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term - name: >- - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: applied_payments,applied_credit_notes,applied_vendor_credits,company - name: AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompany - - value: >- - applied_payments,applied_credit_notes,applied_vendor_credits,company,accounting_period - name: >- - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - applied_payments,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term - name: >- - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,applied_credit_notes,applied_vendor_credits,company,employee - name: AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyEmployee - - value: >- - applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period - name: >- - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,payment_term - name: >- - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - applied_payments,applied_credit_notes,applied_vendor_credits,company,payment_term - name: >- - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm - - value: applied_payments,applied_credit_notes,applied_vendor_credits,contact - name: AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContact - - value: >- - applied_payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period - name: >- - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod - - value: >- - applied_payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - applied_payments,applied_credit_notes,applied_vendor_credits,contact,company - name: AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompany - - value: >- - applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period - name: >- - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee - name: >- - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee - - value: >- - applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term - name: >- - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,payment_term - name: >- - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee - name: AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactEmployee - - value: >- - applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period - name: >- - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term - name: >- - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - applied_payments,applied_credit_notes,applied_vendor_credits,contact,payment_term - name: >- - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm - - value: applied_payments,applied_credit_notes,applied_vendor_credits,employee - name: AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsEmployee - - value: >- - applied_payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period - name: >- - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - applied_payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,applied_credit_notes,applied_vendor_credits,employee,payment_term - name: >- - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm - - value: >- - applied_payments,applied_credit_notes,applied_vendor_credits,payment_term - name: AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsPaymentTerm - - value: applied_payments,applied_credit_notes,company - name: AppliedPaymentsAppliedCreditNotesCompany - - value: applied_payments,applied_credit_notes,company,accounting_period - name: AppliedPaymentsAppliedCreditNotesCompanyAccountingPeriod - - value: >- - applied_payments,applied_credit_notes,company,accounting_period,payment_term - name: AppliedPaymentsAppliedCreditNotesCompanyAccountingPeriodPaymentTerm - - value: applied_payments,applied_credit_notes,company,employee - name: AppliedPaymentsAppliedCreditNotesCompanyEmployee - - value: >- - applied_payments,applied_credit_notes,company,employee,accounting_period - name: AppliedPaymentsAppliedCreditNotesCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,applied_credit_notes,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm - - value: applied_payments,applied_credit_notes,company,employee,payment_term - name: AppliedPaymentsAppliedCreditNotesCompanyEmployeePaymentTerm - - value: applied_payments,applied_credit_notes,company,payment_term - name: AppliedPaymentsAppliedCreditNotesCompanyPaymentTerm - - value: applied_payments,applied_credit_notes,contact - name: AppliedPaymentsAppliedCreditNotesContact - - value: applied_payments,applied_credit_notes,contact,accounting_period - name: AppliedPaymentsAppliedCreditNotesContactAccountingPeriod - - value: >- - applied_payments,applied_credit_notes,contact,accounting_period,payment_term - name: AppliedPaymentsAppliedCreditNotesContactAccountingPeriodPaymentTerm - - value: applied_payments,applied_credit_notes,contact,company - name: AppliedPaymentsAppliedCreditNotesContactCompany - - value: >- - applied_payments,applied_credit_notes,contact,company,accounting_period - name: AppliedPaymentsAppliedCreditNotesContactCompanyAccountingPeriod - - value: >- - applied_payments,applied_credit_notes,contact,company,accounting_period,payment_term - name: >- - AppliedPaymentsAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm - - value: applied_payments,applied_credit_notes,contact,company,employee - name: AppliedPaymentsAppliedCreditNotesContactCompanyEmployee - - value: >- - applied_payments,applied_credit_notes,contact,company,employee,accounting_period - name: >- - AppliedPaymentsAppliedCreditNotesContactCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,applied_credit_notes,contact,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,applied_credit_notes,contact,company,employee,payment_term - name: AppliedPaymentsAppliedCreditNotesContactCompanyEmployeePaymentTerm - - value: applied_payments,applied_credit_notes,contact,company,payment_term - name: AppliedPaymentsAppliedCreditNotesContactCompanyPaymentTerm - - value: applied_payments,applied_credit_notes,contact,employee - name: AppliedPaymentsAppliedCreditNotesContactEmployee - - value: >- - applied_payments,applied_credit_notes,contact,employee,accounting_period - name: AppliedPaymentsAppliedCreditNotesContactEmployeeAccountingPeriod - - value: >- - applied_payments,applied_credit_notes,contact,employee,accounting_period,payment_term - name: >- - AppliedPaymentsAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm - - value: applied_payments,applied_credit_notes,contact,employee,payment_term - name: AppliedPaymentsAppliedCreditNotesContactEmployeePaymentTerm - - value: applied_payments,applied_credit_notes,contact,payment_term - name: AppliedPaymentsAppliedCreditNotesContactPaymentTerm - - value: applied_payments,applied_credit_notes,employee - name: AppliedPaymentsAppliedCreditNotesEmployee - - value: applied_payments,applied_credit_notes,employee,accounting_period - name: AppliedPaymentsAppliedCreditNotesEmployeeAccountingPeriod - - value: >- - applied_payments,applied_credit_notes,employee,accounting_period,payment_term - name: AppliedPaymentsAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm - - value: applied_payments,applied_credit_notes,employee,payment_term - name: AppliedPaymentsAppliedCreditNotesEmployeePaymentTerm - - value: applied_payments,applied_credit_notes,payment_term - name: AppliedPaymentsAppliedCreditNotesPaymentTerm - - value: applied_payments,applied_vendor_credits - name: AppliedPaymentsAppliedVendorCredits - - value: applied_payments,applied_vendor_credits,accounting_period - name: AppliedPaymentsAppliedVendorCreditsAccountingPeriod - - value: applied_payments,applied_vendor_credits,accounting_period,payment_term - name: AppliedPaymentsAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: applied_payments,applied_vendor_credits,company - name: AppliedPaymentsAppliedVendorCreditsCompany - - value: applied_payments,applied_vendor_credits,company,accounting_period - name: AppliedPaymentsAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - applied_payments,applied_vendor_credits,company,accounting_period,payment_term - name: AppliedPaymentsAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: applied_payments,applied_vendor_credits,company,employee - name: AppliedPaymentsAppliedVendorCreditsCompanyEmployee - - value: >- - applied_payments,applied_vendor_credits,company,employee,accounting_period - name: AppliedPaymentsAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: applied_payments,applied_vendor_credits,company,employee,payment_term - name: AppliedPaymentsAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: applied_payments,applied_vendor_credits,company,payment_term - name: AppliedPaymentsAppliedVendorCreditsCompanyPaymentTerm - - value: applied_payments,applied_vendor_credits,contact - name: AppliedPaymentsAppliedVendorCreditsContact - - value: applied_payments,applied_vendor_credits,contact,accounting_period - name: AppliedPaymentsAppliedVendorCreditsContactAccountingPeriod - - value: >- - applied_payments,applied_vendor_credits,contact,accounting_period,payment_term - name: AppliedPaymentsAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: applied_payments,applied_vendor_credits,contact,company - name: AppliedPaymentsAppliedVendorCreditsContactCompany - - value: >- - applied_payments,applied_vendor_credits,contact,company,accounting_period - name: AppliedPaymentsAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - applied_payments,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - AppliedPaymentsAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: applied_payments,applied_vendor_credits,contact,company,employee - name: AppliedPaymentsAppliedVendorCreditsContactCompanyEmployee - - value: >- - applied_payments,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - AppliedPaymentsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,applied_vendor_credits,contact,company,employee,payment_term - name: AppliedPaymentsAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: applied_payments,applied_vendor_credits,contact,company,payment_term - name: AppliedPaymentsAppliedVendorCreditsContactCompanyPaymentTerm - - value: applied_payments,applied_vendor_credits,contact,employee - name: AppliedPaymentsAppliedVendorCreditsContactEmployee - - value: >- - applied_payments,applied_vendor_credits,contact,employee,accounting_period - name: AppliedPaymentsAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - applied_payments,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - AppliedPaymentsAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: applied_payments,applied_vendor_credits,contact,employee,payment_term - name: AppliedPaymentsAppliedVendorCreditsContactEmployeePaymentTerm - - value: applied_payments,applied_vendor_credits,contact,payment_term - name: AppliedPaymentsAppliedVendorCreditsContactPaymentTerm - - value: applied_payments,applied_vendor_credits,employee - name: AppliedPaymentsAppliedVendorCreditsEmployee - - value: applied_payments,applied_vendor_credits,employee,accounting_period - name: AppliedPaymentsAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - applied_payments,applied_vendor_credits,employee,accounting_period,payment_term - name: AppliedPaymentsAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: applied_payments,applied_vendor_credits,employee,payment_term - name: AppliedPaymentsAppliedVendorCreditsEmployeePaymentTerm - - value: applied_payments,applied_vendor_credits,payment_term - name: AppliedPaymentsAppliedVendorCreditsPaymentTerm - - value: applied_payments,company - name: AppliedPaymentsCompany - - value: applied_payments,company,accounting_period - name: AppliedPaymentsCompanyAccountingPeriod - - value: applied_payments,company,accounting_period,payment_term - name: AppliedPaymentsCompanyAccountingPeriodPaymentTerm - - value: applied_payments,company,employee - name: AppliedPaymentsCompanyEmployee - - value: applied_payments,company,employee,accounting_period - name: AppliedPaymentsCompanyEmployeeAccountingPeriod - - value: applied_payments,company,employee,accounting_period,payment_term - name: AppliedPaymentsCompanyEmployeeAccountingPeriodPaymentTerm - - value: applied_payments,company,employee,payment_term - name: AppliedPaymentsCompanyEmployeePaymentTerm - - value: applied_payments,company,payment_term - name: AppliedPaymentsCompanyPaymentTerm - - value: applied_payments,contact - name: AppliedPaymentsContact - - value: applied_payments,contact,accounting_period - name: AppliedPaymentsContactAccountingPeriod - - value: applied_payments,contact,accounting_period,payment_term - name: AppliedPaymentsContactAccountingPeriodPaymentTerm - - value: applied_payments,contact,company - name: AppliedPaymentsContactCompany - - value: applied_payments,contact,company,accounting_period - name: AppliedPaymentsContactCompanyAccountingPeriod - - value: applied_payments,contact,company,accounting_period,payment_term - name: AppliedPaymentsContactCompanyAccountingPeriodPaymentTerm - - value: applied_payments,contact,company,employee - name: AppliedPaymentsContactCompanyEmployee - - value: applied_payments,contact,company,employee,accounting_period - name: AppliedPaymentsContactCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,contact,company,employee,accounting_period,payment_term - name: AppliedPaymentsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: applied_payments,contact,company,employee,payment_term - name: AppliedPaymentsContactCompanyEmployeePaymentTerm - - value: applied_payments,contact,company,payment_term - name: AppliedPaymentsContactCompanyPaymentTerm - - value: applied_payments,contact,employee - name: AppliedPaymentsContactEmployee - - value: applied_payments,contact,employee,accounting_period - name: AppliedPaymentsContactEmployeeAccountingPeriod - - value: applied_payments,contact,employee,accounting_period,payment_term - name: AppliedPaymentsContactEmployeeAccountingPeriodPaymentTerm - - value: applied_payments,contact,employee,payment_term - name: AppliedPaymentsContactEmployeePaymentTerm - - value: applied_payments,contact,payment_term - name: AppliedPaymentsContactPaymentTerm - - value: applied_payments,employee - name: AppliedPaymentsEmployee - - value: applied_payments,employee,accounting_period - name: AppliedPaymentsEmployeeAccountingPeriod - - value: applied_payments,employee,accounting_period,payment_term - name: AppliedPaymentsEmployeeAccountingPeriodPaymentTerm - - value: applied_payments,employee,payment_term - name: AppliedPaymentsEmployeePaymentTerm - - value: applied_payments,line_items - name: AppliedPaymentsLineItems - - value: applied_payments,line_items,accounting_period - name: AppliedPaymentsLineItemsAccountingPeriod - - value: applied_payments,line_items,accounting_period,payment_term - name: AppliedPaymentsLineItemsAccountingPeriodPaymentTerm - - value: applied_payments,line_items,applied_credit_notes - name: AppliedPaymentsLineItemsAppliedCreditNotes - - value: applied_payments,line_items,applied_credit_notes,accounting_period - name: AppliedPaymentsLineItemsAppliedCreditNotesAccountingPeriod - - value: >- - applied_payments,line_items,applied_credit_notes,accounting_period,payment_term - name: AppliedPaymentsLineItemsAppliedCreditNotesAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,applied_credit_notes,applied_vendor_credits - name: AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCredits - - value: >- - applied_payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsAccountingPeriod - - value: >- - applied_payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company - name: AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompany - - value: >- - applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployee - - value: >- - applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,payment_term - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,payment_term - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm - - value: >- - applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact - name: AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContact - - value: >- - applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod - - value: >- - applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompany - - value: >- - applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee - - value: >- - applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,payment_term - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployee - - value: >- - applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,payment_term - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm - - value: >- - applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee - name: AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsEmployee - - value: >- - applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,payment_term - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm - - value: >- - applied_payments,line_items,applied_credit_notes,applied_vendor_credits,payment_term - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsPaymentTerm - - value: applied_payments,line_items,applied_credit_notes,company - name: AppliedPaymentsLineItemsAppliedCreditNotesCompany - - value: >- - applied_payments,line_items,applied_credit_notes,company,accounting_period - name: AppliedPaymentsLineItemsAppliedCreditNotesCompanyAccountingPeriod - - value: >- - applied_payments,line_items,applied_credit_notes,company,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesCompanyAccountingPeriodPaymentTerm - - value: applied_payments,line_items,applied_credit_notes,company,employee - name: AppliedPaymentsLineItemsAppliedCreditNotesCompanyEmployee - - value: >- - applied_payments,line_items,applied_credit_notes,company,employee,accounting_period - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,applied_credit_notes,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,applied_credit_notes,company,employee,payment_term - name: AppliedPaymentsLineItemsAppliedCreditNotesCompanyEmployeePaymentTerm - - value: applied_payments,line_items,applied_credit_notes,company,payment_term - name: AppliedPaymentsLineItemsAppliedCreditNotesCompanyPaymentTerm - - value: applied_payments,line_items,applied_credit_notes,contact - name: AppliedPaymentsLineItemsAppliedCreditNotesContact - - value: >- - applied_payments,line_items,applied_credit_notes,contact,accounting_period - name: AppliedPaymentsLineItemsAppliedCreditNotesContactAccountingPeriod - - value: >- - applied_payments,line_items,applied_credit_notes,contact,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesContactAccountingPeriodPaymentTerm - - value: applied_payments,line_items,applied_credit_notes,contact,company - name: AppliedPaymentsLineItemsAppliedCreditNotesContactCompany - - value: >- - applied_payments,line_items,applied_credit_notes,contact,company,accounting_period - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesContactCompanyAccountingPeriod - - value: >- - applied_payments,line_items,applied_credit_notes,contact,company,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,applied_credit_notes,contact,company,employee - name: AppliedPaymentsLineItemsAppliedCreditNotesContactCompanyEmployee - - value: >- - applied_payments,line_items,applied_credit_notes,contact,company,employee,accounting_period - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesContactCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,applied_credit_notes,contact,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,applied_credit_notes,contact,company,employee,payment_term - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesContactCompanyEmployeePaymentTerm - - value: >- - applied_payments,line_items,applied_credit_notes,contact,company,payment_term - name: AppliedPaymentsLineItemsAppliedCreditNotesContactCompanyPaymentTerm - - value: applied_payments,line_items,applied_credit_notes,contact,employee - name: AppliedPaymentsLineItemsAppliedCreditNotesContactEmployee - - value: >- - applied_payments,line_items,applied_credit_notes,contact,employee,accounting_period - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesContactEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,applied_credit_notes,contact,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,applied_credit_notes,contact,employee,payment_term - name: AppliedPaymentsLineItemsAppliedCreditNotesContactEmployeePaymentTerm - - value: applied_payments,line_items,applied_credit_notes,contact,payment_term - name: AppliedPaymentsLineItemsAppliedCreditNotesContactPaymentTerm - - value: applied_payments,line_items,applied_credit_notes,employee - name: AppliedPaymentsLineItemsAppliedCreditNotesEmployee - - value: >- - applied_payments,line_items,applied_credit_notes,employee,accounting_period - name: AppliedPaymentsLineItemsAppliedCreditNotesEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,applied_credit_notes,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm - - value: applied_payments,line_items,applied_credit_notes,employee,payment_term - name: AppliedPaymentsLineItemsAppliedCreditNotesEmployeePaymentTerm - - value: applied_payments,line_items,applied_credit_notes,payment_term - name: AppliedPaymentsLineItemsAppliedCreditNotesPaymentTerm - - value: applied_payments,line_items,applied_vendor_credits - name: AppliedPaymentsLineItemsAppliedVendorCredits - - value: applied_payments,line_items,applied_vendor_credits,accounting_period - name: AppliedPaymentsLineItemsAppliedVendorCreditsAccountingPeriod - - value: >- - applied_payments,line_items,applied_vendor_credits,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: applied_payments,line_items,applied_vendor_credits,company - name: AppliedPaymentsLineItemsAppliedVendorCreditsCompany - - value: >- - applied_payments,line_items,applied_vendor_credits,company,accounting_period - name: AppliedPaymentsLineItemsAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - applied_payments,line_items,applied_vendor_credits,company,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: applied_payments,line_items,applied_vendor_credits,company,employee - name: AppliedPaymentsLineItemsAppliedVendorCreditsCompanyEmployee - - value: >- - applied_payments,line_items,applied_vendor_credits,company,employee,accounting_period - name: >- - AppliedPaymentsLineItemsAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,applied_vendor_credits,company,employee,payment_term - name: AppliedPaymentsLineItemsAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - applied_payments,line_items,applied_vendor_credits,company,payment_term - name: AppliedPaymentsLineItemsAppliedVendorCreditsCompanyPaymentTerm - - value: applied_payments,line_items,applied_vendor_credits,contact - name: AppliedPaymentsLineItemsAppliedVendorCreditsContact - - value: >- - applied_payments,line_items,applied_vendor_credits,contact,accounting_period - name: AppliedPaymentsLineItemsAppliedVendorCreditsContactAccountingPeriod - - value: >- - applied_payments,line_items,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: applied_payments,line_items,applied_vendor_credits,contact,company - name: AppliedPaymentsLineItemsAppliedVendorCreditsContactCompany - - value: >- - applied_payments,line_items,applied_vendor_credits,contact,company,accounting_period - name: >- - AppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - applied_payments,line_items,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,applied_vendor_credits,contact,company,employee - name: AppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyEmployee - - value: >- - applied_payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - AppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,applied_vendor_credits,contact,company,employee,payment_term - name: >- - AppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - applied_payments,line_items,applied_vendor_credits,contact,company,payment_term - name: AppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyPaymentTerm - - value: applied_payments,line_items,applied_vendor_credits,contact,employee - name: AppliedPaymentsLineItemsAppliedVendorCreditsContactEmployee - - value: >- - applied_payments,line_items,applied_vendor_credits,contact,employee,accounting_period - name: >- - AppliedPaymentsLineItemsAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,applied_vendor_credits,contact,employee,payment_term - name: AppliedPaymentsLineItemsAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - applied_payments,line_items,applied_vendor_credits,contact,payment_term - name: AppliedPaymentsLineItemsAppliedVendorCreditsContactPaymentTerm - - value: applied_payments,line_items,applied_vendor_credits,employee - name: AppliedPaymentsLineItemsAppliedVendorCreditsEmployee - - value: >- - applied_payments,line_items,applied_vendor_credits,employee,accounting_period - name: AppliedPaymentsLineItemsAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,applied_vendor_credits,employee,payment_term - name: AppliedPaymentsLineItemsAppliedVendorCreditsEmployeePaymentTerm - - value: applied_payments,line_items,applied_vendor_credits,payment_term - name: AppliedPaymentsLineItemsAppliedVendorCreditsPaymentTerm - - value: applied_payments,line_items,company - name: AppliedPaymentsLineItemsCompany - - value: applied_payments,line_items,company,accounting_period - name: AppliedPaymentsLineItemsCompanyAccountingPeriod - - value: applied_payments,line_items,company,accounting_period,payment_term - name: AppliedPaymentsLineItemsCompanyAccountingPeriodPaymentTerm - - value: applied_payments,line_items,company,employee - name: AppliedPaymentsLineItemsCompanyEmployee - - value: applied_payments,line_items,company,employee,accounting_period - name: AppliedPaymentsLineItemsCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,company,employee,accounting_period,payment_term - name: AppliedPaymentsLineItemsCompanyEmployeeAccountingPeriodPaymentTerm - - value: applied_payments,line_items,company,employee,payment_term - name: AppliedPaymentsLineItemsCompanyEmployeePaymentTerm - - value: applied_payments,line_items,company,payment_term - name: AppliedPaymentsLineItemsCompanyPaymentTerm - - value: applied_payments,line_items,contact - name: AppliedPaymentsLineItemsContact - - value: applied_payments,line_items,contact,accounting_period - name: AppliedPaymentsLineItemsContactAccountingPeriod - - value: applied_payments,line_items,contact,accounting_period,payment_term - name: AppliedPaymentsLineItemsContactAccountingPeriodPaymentTerm - - value: applied_payments,line_items,contact,company - name: AppliedPaymentsLineItemsContactCompany - - value: applied_payments,line_items,contact,company,accounting_period - name: AppliedPaymentsLineItemsContactCompanyAccountingPeriod - - value: >- - applied_payments,line_items,contact,company,accounting_period,payment_term - name: AppliedPaymentsLineItemsContactCompanyAccountingPeriodPaymentTerm - - value: applied_payments,line_items,contact,company,employee - name: AppliedPaymentsLineItemsContactCompanyEmployee - - value: applied_payments,line_items,contact,company,employee,accounting_period - name: AppliedPaymentsLineItemsContactCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,contact,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: applied_payments,line_items,contact,company,employee,payment_term - name: AppliedPaymentsLineItemsContactCompanyEmployeePaymentTerm - - value: applied_payments,line_items,contact,company,payment_term - name: AppliedPaymentsLineItemsContactCompanyPaymentTerm - - value: applied_payments,line_items,contact,employee - name: AppliedPaymentsLineItemsContactEmployee - - value: applied_payments,line_items,contact,employee,accounting_period - name: AppliedPaymentsLineItemsContactEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,contact,employee,accounting_period,payment_term - name: AppliedPaymentsLineItemsContactEmployeeAccountingPeriodPaymentTerm - - value: applied_payments,line_items,contact,employee,payment_term - name: AppliedPaymentsLineItemsContactEmployeePaymentTerm - - value: applied_payments,line_items,contact,payment_term - name: AppliedPaymentsLineItemsContactPaymentTerm - - value: applied_payments,line_items,employee - name: AppliedPaymentsLineItemsEmployee - - value: applied_payments,line_items,employee,accounting_period - name: AppliedPaymentsLineItemsEmployeeAccountingPeriod - - value: applied_payments,line_items,employee,accounting_period,payment_term - name: AppliedPaymentsLineItemsEmployeeAccountingPeriodPaymentTerm - - value: applied_payments,line_items,employee,payment_term - name: AppliedPaymentsLineItemsEmployeePaymentTerm - - value: applied_payments,line_items,payment_term - name: AppliedPaymentsLineItemsPaymentTerm - - value: applied_payments,line_items,purchase_orders - name: AppliedPaymentsLineItemsPurchaseOrders - - value: applied_payments,line_items,purchase_orders,accounting_period - name: AppliedPaymentsLineItemsPurchaseOrdersAccountingPeriod - - value: >- - applied_payments,line_items,purchase_orders,accounting_period,payment_term - name: AppliedPaymentsLineItemsPurchaseOrdersAccountingPeriodPaymentTerm - - value: applied_payments,line_items,purchase_orders,applied_credit_notes - name: AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotes - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,accounting_period - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAccountingPeriod - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCredits - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsPaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,company - name: AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompany - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployee - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployeePaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,company,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyPaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,contact - name: AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContact - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactAccountingPeriod - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company - name: AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompany - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployee - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeePaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyPaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactEmployee - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactEmployeePaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,contact,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactPaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,employee - name: AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesEmployee - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,employee,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesEmployeePaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,payment_term - name: AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesPaymentTerm - - value: applied_payments,line_items,purchase_orders,applied_vendor_credits - name: AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCredits - - value: >- - applied_payments,line_items,purchase_orders,applied_vendor_credits,accounting_period - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsAccountingPeriod - - value: >- - applied_payments,line_items,purchase_orders,applied_vendor_credits,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_vendor_credits,company - name: AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompany - - value: >- - applied_payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - applied_payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployee - - value: >- - applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_vendor_credits,company,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyPaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_vendor_credits,contact - name: AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContact - - value: >- - applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod - - value: >- - applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompany - - value: >- - applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee - - value: >- - applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployee - - value: >- - applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactPaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_vendor_credits,employee - name: AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsEmployee - - value: >- - applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsEmployeePaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_vendor_credits,payment_term - name: AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsPaymentTerm - - value: applied_payments,line_items,purchase_orders,company - name: AppliedPaymentsLineItemsPurchaseOrdersCompany - - value: applied_payments,line_items,purchase_orders,company,accounting_period - name: AppliedPaymentsLineItemsPurchaseOrdersCompanyAccountingPeriod - - value: >- - applied_payments,line_items,purchase_orders,company,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersCompanyAccountingPeriodPaymentTerm - - value: applied_payments,line_items,purchase_orders,company,employee - name: AppliedPaymentsLineItemsPurchaseOrdersCompanyEmployee - - value: >- - applied_payments,line_items,purchase_orders,company,employee,accounting_period - name: AppliedPaymentsLineItemsPurchaseOrdersCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,purchase_orders,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,company,employee,payment_term - name: AppliedPaymentsLineItemsPurchaseOrdersCompanyEmployeePaymentTerm - - value: applied_payments,line_items,purchase_orders,company,payment_term - name: AppliedPaymentsLineItemsPurchaseOrdersCompanyPaymentTerm - - value: applied_payments,line_items,purchase_orders,contact - name: AppliedPaymentsLineItemsPurchaseOrdersContact - - value: applied_payments,line_items,purchase_orders,contact,accounting_period - name: AppliedPaymentsLineItemsPurchaseOrdersContactAccountingPeriod - - value: >- - applied_payments,line_items,purchase_orders,contact,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersContactAccountingPeriodPaymentTerm - - value: applied_payments,line_items,purchase_orders,contact,company - name: AppliedPaymentsLineItemsPurchaseOrdersContactCompany - - value: >- - applied_payments,line_items,purchase_orders,contact,company,accounting_period - name: AppliedPaymentsLineItemsPurchaseOrdersContactCompanyAccountingPeriod - - value: >- - applied_payments,line_items,purchase_orders,contact,company,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersContactCompanyAccountingPeriodPaymentTerm - - value: applied_payments,line_items,purchase_orders,contact,company,employee - name: AppliedPaymentsLineItemsPurchaseOrdersContactCompanyEmployee - - value: >- - applied_payments,line_items,purchase_orders,contact,company,employee,accounting_period - name: >- - AppliedPaymentsLineItemsPurchaseOrdersContactCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,purchase_orders,contact,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,contact,company,employee,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersContactCompanyEmployeePaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,contact,company,payment_term - name: AppliedPaymentsLineItemsPurchaseOrdersContactCompanyPaymentTerm - - value: applied_payments,line_items,purchase_orders,contact,employee - name: AppliedPaymentsLineItemsPurchaseOrdersContactEmployee - - value: >- - applied_payments,line_items,purchase_orders,contact,employee,accounting_period - name: AppliedPaymentsLineItemsPurchaseOrdersContactEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,purchase_orders,contact,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersContactEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,contact,employee,payment_term - name: AppliedPaymentsLineItemsPurchaseOrdersContactEmployeePaymentTerm - - value: applied_payments,line_items,purchase_orders,contact,payment_term - name: AppliedPaymentsLineItemsPurchaseOrdersContactPaymentTerm - - value: applied_payments,line_items,purchase_orders,employee - name: AppliedPaymentsLineItemsPurchaseOrdersEmployee - - value: applied_payments,line_items,purchase_orders,employee,accounting_period - name: AppliedPaymentsLineItemsPurchaseOrdersEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,purchase_orders,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersEmployeeAccountingPeriodPaymentTerm - - value: applied_payments,line_items,purchase_orders,employee,payment_term - name: AppliedPaymentsLineItemsPurchaseOrdersEmployeePaymentTerm - - value: applied_payments,line_items,purchase_orders,payment_term - name: AppliedPaymentsLineItemsPurchaseOrdersPaymentTerm - - value: applied_payments,line_items,tracking_categories - name: AppliedPaymentsLineItemsTrackingCategories - - value: applied_payments,line_items,tracking_categories,accounting_period - name: AppliedPaymentsLineItemsTrackingCategoriesAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,accounting_period,payment_term - name: AppliedPaymentsLineItemsTrackingCategoriesAccountingPeriodPaymentTerm - - value: applied_payments,line_items,tracking_categories,applied_credit_notes - name: AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotes - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCredits - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompany - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployee - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContact - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompany - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployee - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployee - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,company - name: AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompany - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployee - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployeePaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,company,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,contact - name: AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContact - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompany - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployee - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeePaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactEmployee - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactEmployeePaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,contact,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,employee - name: AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesEmployee - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,employee,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesEmployeePaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesPaymentTerm - - value: applied_payments,line_items,tracking_categories,applied_vendor_credits - name: AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCredits - - value: >- - applied_payments,line_items,tracking_categories,applied_vendor_credits,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,applied_vendor_credits,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_vendor_credits,company - name: AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompany - - value: >- - applied_payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployee - - value: >- - applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_vendor_credits,company,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_vendor_credits,contact - name: AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContact - - value: >- - applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompany - - value: >- - applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployee - - value: >- - applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployee - - value: >- - applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_vendor_credits,employee - name: AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsEmployee - - value: >- - applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsEmployeePaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_vendor_credits,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsPaymentTerm - - value: applied_payments,line_items,tracking_categories,company - name: AppliedPaymentsLineItemsTrackingCategoriesCompany - - value: >- - applied_payments,line_items,tracking_categories,company,accounting_period - name: AppliedPaymentsLineItemsTrackingCategoriesCompanyAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,company,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesCompanyAccountingPeriodPaymentTerm - - value: applied_payments,line_items,tracking_categories,company,employee - name: AppliedPaymentsLineItemsTrackingCategoriesCompanyEmployee - - value: >- - applied_payments,line_items,tracking_categories,company,employee,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,company,employee,payment_term - name: AppliedPaymentsLineItemsTrackingCategoriesCompanyEmployeePaymentTerm - - value: applied_payments,line_items,tracking_categories,company,payment_term - name: AppliedPaymentsLineItemsTrackingCategoriesCompanyPaymentTerm - - value: applied_payments,line_items,tracking_categories,contact - name: AppliedPaymentsLineItemsTrackingCategoriesContact - - value: >- - applied_payments,line_items,tracking_categories,contact,accounting_period - name: AppliedPaymentsLineItemsTrackingCategoriesContactAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,contact,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesContactAccountingPeriodPaymentTerm - - value: applied_payments,line_items,tracking_categories,contact,company - name: AppliedPaymentsLineItemsTrackingCategoriesContactCompany - - value: >- - applied_payments,line_items,tracking_categories,contact,company,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesContactCompanyAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,contact,company,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesContactCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,contact,company,employee - name: AppliedPaymentsLineItemsTrackingCategoriesContactCompanyEmployee - - value: >- - applied_payments,line_items,tracking_categories,contact,company,employee,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesContactCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,contact,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,contact,company,employee,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesContactCompanyEmployeePaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,contact,company,payment_term - name: AppliedPaymentsLineItemsTrackingCategoriesContactCompanyPaymentTerm - - value: applied_payments,line_items,tracking_categories,contact,employee - name: AppliedPaymentsLineItemsTrackingCategoriesContactEmployee - - value: >- - applied_payments,line_items,tracking_categories,contact,employee,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesContactEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,contact,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesContactEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,contact,employee,payment_term - name: AppliedPaymentsLineItemsTrackingCategoriesContactEmployeePaymentTerm - - value: applied_payments,line_items,tracking_categories,contact,payment_term - name: AppliedPaymentsLineItemsTrackingCategoriesContactPaymentTerm - - value: applied_payments,line_items,tracking_categories,employee - name: AppliedPaymentsLineItemsTrackingCategoriesEmployee - - value: >- - applied_payments,line_items,tracking_categories,employee,accounting_period - name: AppliedPaymentsLineItemsTrackingCategoriesEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesEmployeeAccountingPeriodPaymentTerm - - value: applied_payments,line_items,tracking_categories,employee,payment_term - name: AppliedPaymentsLineItemsTrackingCategoriesEmployeePaymentTerm - - value: applied_payments,line_items,tracking_categories,payment_term - name: AppliedPaymentsLineItemsTrackingCategoriesPaymentTerm - - value: applied_payments,line_items,tracking_categories,purchase_orders - name: AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrders - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotes - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCredits - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompany - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployee - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeePaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContact - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompany - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployee - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeePaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployee - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeePaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployee - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeePaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCredits - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompany - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployee - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContact - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompany - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployee - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployee - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeePaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,company - name: AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompany - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,company,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,company,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,company,employee - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployee - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,company,employee,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployeePaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,company,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,contact - name: AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContact - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,contact,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,contact,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,contact,company - name: AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompany - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployee - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployeePaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,contact,company,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,contact,employee - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactEmployee - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactEmployeePaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,contact,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,employee - name: AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersEmployee - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,employee,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,employee,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersEmployeePaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,payment_term - name: AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersPaymentTerm - - value: applied_payments,payment_term - name: AppliedPaymentsPaymentTerm - - value: applied_payments,purchase_orders - name: AppliedPaymentsPurchaseOrders - - value: applied_payments,purchase_orders,accounting_period - name: AppliedPaymentsPurchaseOrdersAccountingPeriod - - value: applied_payments,purchase_orders,accounting_period,payment_term - name: AppliedPaymentsPurchaseOrdersAccountingPeriodPaymentTerm - - value: applied_payments,purchase_orders,applied_credit_notes - name: AppliedPaymentsPurchaseOrdersAppliedCreditNotes - - value: >- - applied_payments,purchase_orders,applied_credit_notes,accounting_period - name: AppliedPaymentsPurchaseOrdersAppliedCreditNotesAccountingPeriod - - value: >- - applied_payments,purchase_orders,applied_credit_notes,accounting_period,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAccountingPeriodPaymentTerm - - value: >- - applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits - name: AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCredits - - value: >- - applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod - - value: >- - applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany - - value: >- - applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee - - value: >- - applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm - - value: >- - applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact - - value: >- - applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod - - value: >- - applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany - - value: >- - applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee - - value: >- - applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee - - value: >- - applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm - - value: >- - applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee - - value: >- - applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm - - value: >- - applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsPaymentTerm - - value: applied_payments,purchase_orders,applied_credit_notes,company - name: AppliedPaymentsPurchaseOrdersAppliedCreditNotesCompany - - value: >- - applied_payments,purchase_orders,applied_credit_notes,company,accounting_period - name: AppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod - - value: >- - applied_payments,purchase_orders,applied_credit_notes,company,accounting_period,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriodPaymentTerm - - value: applied_payments,purchase_orders,applied_credit_notes,company,employee - name: AppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyEmployee - - value: >- - applied_payments,purchase_orders,applied_credit_notes,company,employee,accounting_period - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,purchase_orders,applied_credit_notes,company,employee,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyEmployeePaymentTerm - - value: >- - applied_payments,purchase_orders,applied_credit_notes,company,payment_term - name: AppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyPaymentTerm - - value: applied_payments,purchase_orders,applied_credit_notes,contact - name: AppliedPaymentsPurchaseOrdersAppliedCreditNotesContact - - value: >- - applied_payments,purchase_orders,applied_credit_notes,contact,accounting_period - name: AppliedPaymentsPurchaseOrdersAppliedCreditNotesContactAccountingPeriod - - value: >- - applied_payments,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesContactAccountingPeriodPaymentTerm - - value: applied_payments,purchase_orders,applied_credit_notes,contact,company - name: AppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompany - - value: >- - applied_payments,purchase_orders,applied_credit_notes,contact,company,accounting_period - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod - - value: >- - applied_payments,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,purchase_orders,applied_credit_notes,contact,company,employee - name: AppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyEmployee - - value: >- - applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeePaymentTerm - - value: >- - applied_payments,purchase_orders,applied_credit_notes,contact,company,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyPaymentTerm - - value: applied_payments,purchase_orders,applied_credit_notes,contact,employee - name: AppliedPaymentsPurchaseOrdersAppliedCreditNotesContactEmployee - - value: >- - applied_payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod - - value: >- - applied_payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,purchase_orders,applied_credit_notes,contact,employee,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesContactEmployeePaymentTerm - - value: >- - applied_payments,purchase_orders,applied_credit_notes,contact,payment_term - name: AppliedPaymentsPurchaseOrdersAppliedCreditNotesContactPaymentTerm - - value: applied_payments,purchase_orders,applied_credit_notes,employee - name: AppliedPaymentsPurchaseOrdersAppliedCreditNotesEmployee - - value: >- - applied_payments,purchase_orders,applied_credit_notes,employee,accounting_period - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod - - value: >- - applied_payments,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,purchase_orders,applied_credit_notes,employee,payment_term - name: AppliedPaymentsPurchaseOrdersAppliedCreditNotesEmployeePaymentTerm - - value: applied_payments,purchase_orders,applied_credit_notes,payment_term - name: AppliedPaymentsPurchaseOrdersAppliedCreditNotesPaymentTerm - - value: applied_payments,purchase_orders,applied_vendor_credits - name: AppliedPaymentsPurchaseOrdersAppliedVendorCredits - - value: >- - applied_payments,purchase_orders,applied_vendor_credits,accounting_period - name: AppliedPaymentsPurchaseOrdersAppliedVendorCreditsAccountingPeriod - - value: >- - applied_payments,purchase_orders,applied_vendor_credits,accounting_period,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: applied_payments,purchase_orders,applied_vendor_credits,company - name: AppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompany - - value: >- - applied_payments,purchase_orders,applied_vendor_credits,company,accounting_period - name: >- - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - applied_payments,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,purchase_orders,applied_vendor_credits,company,employee - name: AppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyEmployee - - value: >- - applied_payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period - name: >- - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,purchase_orders,applied_vendor_credits,company,employee,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - applied_payments,purchase_orders,applied_vendor_credits,company,payment_term - name: AppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyPaymentTerm - - value: applied_payments,purchase_orders,applied_vendor_credits,contact - name: AppliedPaymentsPurchaseOrdersAppliedVendorCreditsContact - - value: >- - applied_payments,purchase_orders,applied_vendor_credits,contact,accounting_period - name: >- - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod - - value: >- - applied_payments,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - applied_payments,purchase_orders,applied_vendor_credits,contact,company - name: AppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompany - - value: >- - applied_payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period - name: >- - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - applied_payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee - name: >- - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee - - value: >- - applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - applied_payments,purchase_orders,applied_vendor_credits,contact,company,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - applied_payments,purchase_orders,applied_vendor_credits,contact,employee - name: AppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactEmployee - - value: >- - applied_payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period - name: >- - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - applied_payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,purchase_orders,applied_vendor_credits,contact,employee,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - applied_payments,purchase_orders,applied_vendor_credits,contact,payment_term - name: AppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactPaymentTerm - - value: applied_payments,purchase_orders,applied_vendor_credits,employee - name: AppliedPaymentsPurchaseOrdersAppliedVendorCreditsEmployee - - value: >- - applied_payments,purchase_orders,applied_vendor_credits,employee,accounting_period - name: >- - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - applied_payments,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,purchase_orders,applied_vendor_credits,employee,payment_term - name: AppliedPaymentsPurchaseOrdersAppliedVendorCreditsEmployeePaymentTerm - - value: applied_payments,purchase_orders,applied_vendor_credits,payment_term - name: AppliedPaymentsPurchaseOrdersAppliedVendorCreditsPaymentTerm - - value: applied_payments,purchase_orders,company - name: AppliedPaymentsPurchaseOrdersCompany - - value: applied_payments,purchase_orders,company,accounting_period - name: AppliedPaymentsPurchaseOrdersCompanyAccountingPeriod - - value: >- - applied_payments,purchase_orders,company,accounting_period,payment_term - name: AppliedPaymentsPurchaseOrdersCompanyAccountingPeriodPaymentTerm - - value: applied_payments,purchase_orders,company,employee - name: AppliedPaymentsPurchaseOrdersCompanyEmployee - - value: applied_payments,purchase_orders,company,employee,accounting_period - name: AppliedPaymentsPurchaseOrdersCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,purchase_orders,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsPurchaseOrdersCompanyEmployeeAccountingPeriodPaymentTerm - - value: applied_payments,purchase_orders,company,employee,payment_term - name: AppliedPaymentsPurchaseOrdersCompanyEmployeePaymentTerm - - value: applied_payments,purchase_orders,company,payment_term - name: AppliedPaymentsPurchaseOrdersCompanyPaymentTerm - - value: applied_payments,purchase_orders,contact - name: AppliedPaymentsPurchaseOrdersContact - - value: applied_payments,purchase_orders,contact,accounting_period - name: AppliedPaymentsPurchaseOrdersContactAccountingPeriod - - value: >- - applied_payments,purchase_orders,contact,accounting_period,payment_term - name: AppliedPaymentsPurchaseOrdersContactAccountingPeriodPaymentTerm - - value: applied_payments,purchase_orders,contact,company - name: AppliedPaymentsPurchaseOrdersContactCompany - - value: applied_payments,purchase_orders,contact,company,accounting_period - name: AppliedPaymentsPurchaseOrdersContactCompanyAccountingPeriod - - value: >- - applied_payments,purchase_orders,contact,company,accounting_period,payment_term - name: AppliedPaymentsPurchaseOrdersContactCompanyAccountingPeriodPaymentTerm - - value: applied_payments,purchase_orders,contact,company,employee - name: AppliedPaymentsPurchaseOrdersContactCompanyEmployee - - value: >- - applied_payments,purchase_orders,contact,company,employee,accounting_period - name: AppliedPaymentsPurchaseOrdersContactCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,purchase_orders,contact,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsPurchaseOrdersContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: applied_payments,purchase_orders,contact,company,employee,payment_term - name: AppliedPaymentsPurchaseOrdersContactCompanyEmployeePaymentTerm - - value: applied_payments,purchase_orders,contact,company,payment_term - name: AppliedPaymentsPurchaseOrdersContactCompanyPaymentTerm - - value: applied_payments,purchase_orders,contact,employee - name: AppliedPaymentsPurchaseOrdersContactEmployee - - value: applied_payments,purchase_orders,contact,employee,accounting_period - name: AppliedPaymentsPurchaseOrdersContactEmployeeAccountingPeriod - - value: >- - applied_payments,purchase_orders,contact,employee,accounting_period,payment_term - name: >- - AppliedPaymentsPurchaseOrdersContactEmployeeAccountingPeriodPaymentTerm - - value: applied_payments,purchase_orders,contact,employee,payment_term - name: AppliedPaymentsPurchaseOrdersContactEmployeePaymentTerm - - value: applied_payments,purchase_orders,contact,payment_term - name: AppliedPaymentsPurchaseOrdersContactPaymentTerm - - value: applied_payments,purchase_orders,employee - name: AppliedPaymentsPurchaseOrdersEmployee - - value: applied_payments,purchase_orders,employee,accounting_period - name: AppliedPaymentsPurchaseOrdersEmployeeAccountingPeriod - - value: >- - applied_payments,purchase_orders,employee,accounting_period,payment_term - name: AppliedPaymentsPurchaseOrdersEmployeeAccountingPeriodPaymentTerm - - value: applied_payments,purchase_orders,employee,payment_term - name: AppliedPaymentsPurchaseOrdersEmployeePaymentTerm - - value: applied_payments,purchase_orders,payment_term - name: AppliedPaymentsPurchaseOrdersPaymentTerm - - value: applied_payments,tracking_categories - name: AppliedPaymentsTrackingCategories - - value: applied_payments,tracking_categories,accounting_period - name: AppliedPaymentsTrackingCategoriesAccountingPeriod - - value: applied_payments,tracking_categories,accounting_period,payment_term - name: AppliedPaymentsTrackingCategoriesAccountingPeriodPaymentTerm - - value: applied_payments,tracking_categories,applied_credit_notes - name: AppliedPaymentsTrackingCategoriesAppliedCreditNotes - - value: >- - applied_payments,tracking_categories,applied_credit_notes,accounting_period - name: AppliedPaymentsTrackingCategoriesAppliedCreditNotesAccountingPeriod - - value: >- - applied_payments,tracking_categories,applied_credit_notes,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCredits - - value: >- - applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriod - - value: >- - applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompany - - value: >- - applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployee - - value: >- - applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm - - value: >- - applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContact - - value: >- - applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod - - value: >- - applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompany - - value: >- - applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee - - value: >- - applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployee - - value: >- - applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm - - value: >- - applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployee - - value: >- - applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm - - value: >- - applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsPaymentTerm - - value: applied_payments,tracking_categories,applied_credit_notes,company - name: AppliedPaymentsTrackingCategoriesAppliedCreditNotesCompany - - value: >- - applied_payments,tracking_categories,applied_credit_notes,company,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriod - - value: >- - applied_payments,tracking_categories,applied_credit_notes,company,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,applied_credit_notes,company,employee - name: AppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyEmployee - - value: >- - applied_payments,tracking_categories,applied_credit_notes,company,employee,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,applied_credit_notes,company,employee,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyEmployeePaymentTerm - - value: >- - applied_payments,tracking_categories,applied_credit_notes,company,payment_term - name: AppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyPaymentTerm - - value: applied_payments,tracking_categories,applied_credit_notes,contact - name: AppliedPaymentsTrackingCategoriesAppliedCreditNotesContact - - value: >- - applied_payments,tracking_categories,applied_credit_notes,contact,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesContactAccountingPeriod - - value: >- - applied_payments,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesContactAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,applied_credit_notes,contact,company - name: AppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompany - - value: >- - applied_payments,tracking_categories,applied_credit_notes,contact,company,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriod - - value: >- - applied_payments,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,applied_credit_notes,contact,company,employee - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyEmployee - - value: >- - applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeePaymentTerm - - value: >- - applied_payments,tracking_categories,applied_credit_notes,contact,company,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyPaymentTerm - - value: >- - applied_payments,tracking_categories,applied_credit_notes,contact,employee - name: AppliedPaymentsTrackingCategoriesAppliedCreditNotesContactEmployee - - value: >- - applied_payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriod - - value: >- - applied_payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,applied_credit_notes,contact,employee,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesContactEmployeePaymentTerm - - value: >- - applied_payments,tracking_categories,applied_credit_notes,contact,payment_term - name: AppliedPaymentsTrackingCategoriesAppliedCreditNotesContactPaymentTerm - - value: applied_payments,tracking_categories,applied_credit_notes,employee - name: AppliedPaymentsTrackingCategoriesAppliedCreditNotesEmployee - - value: >- - applied_payments,tracking_categories,applied_credit_notes,employee,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriod - - value: >- - applied_payments,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,applied_credit_notes,employee,payment_term - name: AppliedPaymentsTrackingCategoriesAppliedCreditNotesEmployeePaymentTerm - - value: applied_payments,tracking_categories,applied_credit_notes,payment_term - name: AppliedPaymentsTrackingCategoriesAppliedCreditNotesPaymentTerm - - value: applied_payments,tracking_categories,applied_vendor_credits - name: AppliedPaymentsTrackingCategoriesAppliedVendorCredits - - value: >- - applied_payments,tracking_categories,applied_vendor_credits,accounting_period - name: AppliedPaymentsTrackingCategoriesAppliedVendorCreditsAccountingPeriod - - value: >- - applied_payments,tracking_categories,applied_vendor_credits,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: applied_payments,tracking_categories,applied_vendor_credits,company - name: AppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompany - - value: >- - applied_payments,tracking_categories,applied_vendor_credits,company,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - applied_payments,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,applied_vendor_credits,company,employee - name: AppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyEmployee - - value: >- - applied_payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,applied_vendor_credits,company,employee,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - applied_payments,tracking_categories,applied_vendor_credits,company,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyPaymentTerm - - value: applied_payments,tracking_categories,applied_vendor_credits,contact - name: AppliedPaymentsTrackingCategoriesAppliedVendorCreditsContact - - value: >- - applied_payments,tracking_categories,applied_vendor_credits,contact,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriod - - value: >- - applied_payments,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,applied_vendor_credits,contact,company - name: AppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompany - - value: >- - applied_payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - applied_payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee - name: >- - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployee - - value: >- - applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - applied_payments,tracking_categories,applied_vendor_credits,contact,company,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - applied_payments,tracking_categories,applied_vendor_credits,contact,employee - name: AppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactEmployee - - value: >- - applied_payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - applied_payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,applied_vendor_credits,contact,employee,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - applied_payments,tracking_categories,applied_vendor_credits,contact,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactPaymentTerm - - value: applied_payments,tracking_categories,applied_vendor_credits,employee - name: AppliedPaymentsTrackingCategoriesAppliedVendorCreditsEmployee - - value: >- - applied_payments,tracking_categories,applied_vendor_credits,employee,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - applied_payments,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,applied_vendor_credits,employee,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsEmployeePaymentTerm - - value: >- - applied_payments,tracking_categories,applied_vendor_credits,payment_term - name: AppliedPaymentsTrackingCategoriesAppliedVendorCreditsPaymentTerm - - value: applied_payments,tracking_categories,company - name: AppliedPaymentsTrackingCategoriesCompany - - value: applied_payments,tracking_categories,company,accounting_period - name: AppliedPaymentsTrackingCategoriesCompanyAccountingPeriod - - value: >- - applied_payments,tracking_categories,company,accounting_period,payment_term - name: AppliedPaymentsTrackingCategoriesCompanyAccountingPeriodPaymentTerm - - value: applied_payments,tracking_categories,company,employee - name: AppliedPaymentsTrackingCategoriesCompanyEmployee - - value: >- - applied_payments,tracking_categories,company,employee,accounting_period - name: AppliedPaymentsTrackingCategoriesCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,tracking_categories,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesCompanyEmployeeAccountingPeriodPaymentTerm - - value: applied_payments,tracking_categories,company,employee,payment_term - name: AppliedPaymentsTrackingCategoriesCompanyEmployeePaymentTerm - - value: applied_payments,tracking_categories,company,payment_term - name: AppliedPaymentsTrackingCategoriesCompanyPaymentTerm - - value: applied_payments,tracking_categories,contact - name: AppliedPaymentsTrackingCategoriesContact - - value: applied_payments,tracking_categories,contact,accounting_period - name: AppliedPaymentsTrackingCategoriesContactAccountingPeriod - - value: >- - applied_payments,tracking_categories,contact,accounting_period,payment_term - name: AppliedPaymentsTrackingCategoriesContactAccountingPeriodPaymentTerm - - value: applied_payments,tracking_categories,contact,company - name: AppliedPaymentsTrackingCategoriesContactCompany - - value: applied_payments,tracking_categories,contact,company,accounting_period - name: AppliedPaymentsTrackingCategoriesContactCompanyAccountingPeriod - - value: >- - applied_payments,tracking_categories,contact,company,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesContactCompanyAccountingPeriodPaymentTerm - - value: applied_payments,tracking_categories,contact,company,employee - name: AppliedPaymentsTrackingCategoriesContactCompanyEmployee - - value: >- - applied_payments,tracking_categories,contact,company,employee,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesContactCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,tracking_categories,contact,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,contact,company,employee,payment_term - name: AppliedPaymentsTrackingCategoriesContactCompanyEmployeePaymentTerm - - value: applied_payments,tracking_categories,contact,company,payment_term - name: AppliedPaymentsTrackingCategoriesContactCompanyPaymentTerm - - value: applied_payments,tracking_categories,contact,employee - name: AppliedPaymentsTrackingCategoriesContactEmployee - - value: >- - applied_payments,tracking_categories,contact,employee,accounting_period - name: AppliedPaymentsTrackingCategoriesContactEmployeeAccountingPeriod - - value: >- - applied_payments,tracking_categories,contact,employee,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesContactEmployeeAccountingPeriodPaymentTerm - - value: applied_payments,tracking_categories,contact,employee,payment_term - name: AppliedPaymentsTrackingCategoriesContactEmployeePaymentTerm - - value: applied_payments,tracking_categories,contact,payment_term - name: AppliedPaymentsTrackingCategoriesContactPaymentTerm - - value: applied_payments,tracking_categories,employee - name: AppliedPaymentsTrackingCategoriesEmployee - - value: applied_payments,tracking_categories,employee,accounting_period - name: AppliedPaymentsTrackingCategoriesEmployeeAccountingPeriod - - value: >- - applied_payments,tracking_categories,employee,accounting_period,payment_term - name: AppliedPaymentsTrackingCategoriesEmployeeAccountingPeriodPaymentTerm - - value: applied_payments,tracking_categories,employee,payment_term - name: AppliedPaymentsTrackingCategoriesEmployeePaymentTerm - - value: applied_payments,tracking_categories,payment_term - name: AppliedPaymentsTrackingCategoriesPaymentTerm - - value: applied_payments,tracking_categories,purchase_orders - name: AppliedPaymentsTrackingCategoriesPurchaseOrders - - value: applied_payments,tracking_categories,purchase_orders,accounting_period - name: AppliedPaymentsTrackingCategoriesPurchaseOrdersAccountingPeriod - - value: >- - applied_payments,tracking_categories,purchase_orders,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes - name: AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotes - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriod - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCredits - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompany - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployee - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeePaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContact - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriod - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompany - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployee - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeePaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployee - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeePaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployee - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeePaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_vendor_credits - name: AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCredits - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriod - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompany - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployee - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContact - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompany - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployee - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployee - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeePaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsPaymentTerm - - value: applied_payments,tracking_categories,purchase_orders,company - name: AppliedPaymentsTrackingCategoriesPurchaseOrdersCompany - - value: >- - applied_payments,tracking_categories,purchase_orders,company,accounting_period - name: AppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod - - value: >- - applied_payments,tracking_categories,purchase_orders,company,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriodPaymentTerm - - value: applied_payments,tracking_categories,purchase_orders,company,employee - name: AppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyEmployee - - value: >- - applied_payments,tracking_categories,purchase_orders,company,employee,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,company,employee,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyEmployeePaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,company,payment_term - name: AppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyPaymentTerm - - value: applied_payments,tracking_categories,purchase_orders,contact - name: AppliedPaymentsTrackingCategoriesPurchaseOrdersContact - - value: >- - applied_payments,tracking_categories,purchase_orders,contact,accounting_period - name: AppliedPaymentsTrackingCategoriesPurchaseOrdersContactAccountingPeriod - - value: >- - applied_payments,tracking_categories,purchase_orders,contact,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersContactAccountingPeriodPaymentTerm - - value: applied_payments,tracking_categories,purchase_orders,contact,company - name: AppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompany - - value: >- - applied_payments,tracking_categories,purchase_orders,contact,company,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod - - value: >- - applied_payments,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,contact,company,employee - name: AppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyEmployee - - value: >- - applied_payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,contact,company,employee,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyEmployeePaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,contact,company,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyPaymentTerm - - value: applied_payments,tracking_categories,purchase_orders,contact,employee - name: AppliedPaymentsTrackingCategoriesPurchaseOrdersContactEmployee - - value: >- - applied_payments,tracking_categories,purchase_orders,contact,employee,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriod - - value: >- - applied_payments,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,contact,employee,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersContactEmployeePaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,contact,payment_term - name: AppliedPaymentsTrackingCategoriesPurchaseOrdersContactPaymentTerm - - value: applied_payments,tracking_categories,purchase_orders,employee - name: AppliedPaymentsTrackingCategoriesPurchaseOrdersEmployee - - value: >- - applied_payments,tracking_categories,purchase_orders,employee,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriod - - value: >- - applied_payments,tracking_categories,purchase_orders,employee,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,employee,payment_term - name: AppliedPaymentsTrackingCategoriesPurchaseOrdersEmployeePaymentTerm - - value: applied_payments,tracking_categories,purchase_orders,payment_term - name: AppliedPaymentsTrackingCategoriesPurchaseOrdersPaymentTerm - - applied_vendor_credits - - value: applied_vendor_credits,accounting_period - name: AppliedVendorCreditsAccountingPeriod - - value: applied_vendor_credits,accounting_period,payment_term - name: AppliedVendorCreditsAccountingPeriodPaymentTerm - - value: applied_vendor_credits,company - name: AppliedVendorCreditsCompany - - value: applied_vendor_credits,company,accounting_period - name: AppliedVendorCreditsCompanyAccountingPeriod - - value: applied_vendor_credits,company,accounting_period,payment_term - name: AppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: applied_vendor_credits,company,employee - name: AppliedVendorCreditsCompanyEmployee - - value: applied_vendor_credits,company,employee,accounting_period - name: AppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: applied_vendor_credits,company,employee,accounting_period,payment_term - name: AppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: applied_vendor_credits,company,employee,payment_term - name: AppliedVendorCreditsCompanyEmployeePaymentTerm - - value: applied_vendor_credits,company,payment_term - name: AppliedVendorCreditsCompanyPaymentTerm - - value: applied_vendor_credits,contact - name: AppliedVendorCreditsContact - - value: applied_vendor_credits,contact,accounting_period - name: AppliedVendorCreditsContactAccountingPeriod - - value: applied_vendor_credits,contact,accounting_period,payment_term - name: AppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: applied_vendor_credits,contact,company - name: AppliedVendorCreditsContactCompany - - value: applied_vendor_credits,contact,company,accounting_period - name: AppliedVendorCreditsContactCompanyAccountingPeriod - - value: applied_vendor_credits,contact,company,accounting_period,payment_term - name: AppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: applied_vendor_credits,contact,company,employee - name: AppliedVendorCreditsContactCompanyEmployee - - value: applied_vendor_credits,contact,company,employee,accounting_period - name: AppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: AppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: applied_vendor_credits,contact,company,employee,payment_term - name: AppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: applied_vendor_credits,contact,company,payment_term - name: AppliedVendorCreditsContactCompanyPaymentTerm - - value: applied_vendor_credits,contact,employee - name: AppliedVendorCreditsContactEmployee - - value: applied_vendor_credits,contact,employee,accounting_period - name: AppliedVendorCreditsContactEmployeeAccountingPeriod - - value: applied_vendor_credits,contact,employee,accounting_period,payment_term - name: AppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: applied_vendor_credits,contact,employee,payment_term - name: AppliedVendorCreditsContactEmployeePaymentTerm - - value: applied_vendor_credits,contact,payment_term - name: AppliedVendorCreditsContactPaymentTerm - - value: applied_vendor_credits,employee - name: AppliedVendorCreditsEmployee - - value: applied_vendor_credits,employee,accounting_period - name: AppliedVendorCreditsEmployeeAccountingPeriod - - value: applied_vendor_credits,employee,accounting_period,payment_term - name: AppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: applied_vendor_credits,employee,payment_term - name: AppliedVendorCreditsEmployeePaymentTerm - - value: applied_vendor_credits,payment_term - name: AppliedVendorCreditsPaymentTerm - - company - - value: company,accounting_period - name: CompanyAccountingPeriod - - value: company,accounting_period,payment_term - name: CompanyAccountingPeriodPaymentTerm - - value: company,employee - name: CompanyEmployee - - value: company,employee,accounting_period - name: CompanyEmployeeAccountingPeriod - - value: company,employee,accounting_period,payment_term - name: CompanyEmployeeAccountingPeriodPaymentTerm - - value: company,employee,payment_term - name: CompanyEmployeePaymentTerm - - value: company,payment_term - name: CompanyPaymentTerm - - contact - - value: contact,accounting_period - name: ContactAccountingPeriod - - value: contact,accounting_period,payment_term - name: ContactAccountingPeriodPaymentTerm - - value: contact,company - name: ContactCompany - - value: contact,company,accounting_period - name: ContactCompanyAccountingPeriod - - value: contact,company,accounting_period,payment_term - name: ContactCompanyAccountingPeriodPaymentTerm - - value: contact,company,employee - name: ContactCompanyEmployee - - value: contact,company,employee,accounting_period - name: ContactCompanyEmployeeAccountingPeriod - - value: contact,company,employee,accounting_period,payment_term - name: ContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: contact,company,employee,payment_term - name: ContactCompanyEmployeePaymentTerm - - value: contact,company,payment_term - name: ContactCompanyPaymentTerm - - value: contact,employee - name: ContactEmployee - - value: contact,employee,accounting_period - name: ContactEmployeeAccountingPeriod - - value: contact,employee,accounting_period,payment_term - name: ContactEmployeeAccountingPeriodPaymentTerm - - value: contact,employee,payment_term - name: ContactEmployeePaymentTerm - - value: contact,payment_term - name: ContactPaymentTerm - - employee - - value: employee,accounting_period - name: EmployeeAccountingPeriod - - value: employee,accounting_period,payment_term - name: EmployeeAccountingPeriodPaymentTerm - - value: employee,payment_term - name: EmployeePaymentTerm - - line_items - - value: line_items,accounting_period - name: LineItemsAccountingPeriod - - value: line_items,accounting_period,payment_term - name: LineItemsAccountingPeriodPaymentTerm - - value: line_items,applied_credit_notes - name: LineItemsAppliedCreditNotes - - value: line_items,applied_credit_notes,accounting_period - name: LineItemsAppliedCreditNotesAccountingPeriod - - value: line_items,applied_credit_notes,accounting_period,payment_term - name: LineItemsAppliedCreditNotesAccountingPeriodPaymentTerm - - value: line_items,applied_credit_notes,applied_vendor_credits - name: LineItemsAppliedCreditNotesAppliedVendorCredits - - value: >- - line_items,applied_credit_notes,applied_vendor_credits,accounting_period - name: LineItemsAppliedCreditNotesAppliedVendorCreditsAccountingPeriod - - value: >- - line_items,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term - name: >- - LineItemsAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: line_items,applied_credit_notes,applied_vendor_credits,company - name: LineItemsAppliedCreditNotesAppliedVendorCreditsCompany - - value: >- - line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period - name: LineItemsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term - name: >- - LineItemsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - line_items,applied_credit_notes,applied_vendor_credits,company,employee - name: LineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployee - - value: >- - line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period - name: >- - LineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - LineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,applied_credit_notes,applied_vendor_credits,company,employee,payment_term - name: >- - LineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - line_items,applied_credit_notes,applied_vendor_credits,company,payment_term - name: LineItemsAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm - - value: line_items,applied_credit_notes,applied_vendor_credits,contact - name: LineItemsAppliedCreditNotesAppliedVendorCreditsContact - - value: >- - line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period - name: LineItemsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod - - value: >- - line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - LineItemsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: line_items,applied_credit_notes,applied_vendor_credits,contact,company - name: LineItemsAppliedCreditNotesAppliedVendorCreditsContactCompany - - value: >- - line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period - name: >- - LineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - LineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee - name: LineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee - - value: >- - line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - LineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - LineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term - name: >- - LineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - line_items,applied_credit_notes,applied_vendor_credits,contact,company,payment_term - name: >- - LineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - line_items,applied_credit_notes,applied_vendor_credits,contact,employee - name: LineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployee - - value: >- - line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period - name: >- - LineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - LineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term - name: >- - LineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - line_items,applied_credit_notes,applied_vendor_credits,contact,payment_term - name: LineItemsAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm - - value: line_items,applied_credit_notes,applied_vendor_credits,employee - name: LineItemsAppliedCreditNotesAppliedVendorCreditsEmployee - - value: >- - line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period - name: >- - LineItemsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - LineItemsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,applied_credit_notes,applied_vendor_credits,employee,payment_term - name: LineItemsAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm - - value: line_items,applied_credit_notes,applied_vendor_credits,payment_term - name: LineItemsAppliedCreditNotesAppliedVendorCreditsPaymentTerm - - value: line_items,applied_credit_notes,company - name: LineItemsAppliedCreditNotesCompany - - value: line_items,applied_credit_notes,company,accounting_period - name: LineItemsAppliedCreditNotesCompanyAccountingPeriod - - value: line_items,applied_credit_notes,company,accounting_period,payment_term - name: LineItemsAppliedCreditNotesCompanyAccountingPeriodPaymentTerm - - value: line_items,applied_credit_notes,company,employee - name: LineItemsAppliedCreditNotesCompanyEmployee - - value: line_items,applied_credit_notes,company,employee,accounting_period - name: LineItemsAppliedCreditNotesCompanyEmployeeAccountingPeriod - - value: >- - line_items,applied_credit_notes,company,employee,accounting_period,payment_term - name: LineItemsAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm - - value: line_items,applied_credit_notes,company,employee,payment_term - name: LineItemsAppliedCreditNotesCompanyEmployeePaymentTerm - - value: line_items,applied_credit_notes,company,payment_term - name: LineItemsAppliedCreditNotesCompanyPaymentTerm - - value: line_items,applied_credit_notes,contact - name: LineItemsAppliedCreditNotesContact - - value: line_items,applied_credit_notes,contact,accounting_period - name: LineItemsAppliedCreditNotesContactAccountingPeriod - - value: line_items,applied_credit_notes,contact,accounting_period,payment_term - name: LineItemsAppliedCreditNotesContactAccountingPeriodPaymentTerm - - value: line_items,applied_credit_notes,contact,company - name: LineItemsAppliedCreditNotesContactCompany - - value: line_items,applied_credit_notes,contact,company,accounting_period - name: LineItemsAppliedCreditNotesContactCompanyAccountingPeriod - - value: >- - line_items,applied_credit_notes,contact,company,accounting_period,payment_term - name: LineItemsAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm - - value: line_items,applied_credit_notes,contact,company,employee - name: LineItemsAppliedCreditNotesContactCompanyEmployee - - value: >- - line_items,applied_credit_notes,contact,company,employee,accounting_period - name: LineItemsAppliedCreditNotesContactCompanyEmployeeAccountingPeriod - - value: >- - line_items,applied_credit_notes,contact,company,employee,accounting_period,payment_term - name: >- - LineItemsAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: line_items,applied_credit_notes,contact,company,employee,payment_term - name: LineItemsAppliedCreditNotesContactCompanyEmployeePaymentTerm - - value: line_items,applied_credit_notes,contact,company,payment_term - name: LineItemsAppliedCreditNotesContactCompanyPaymentTerm - - value: line_items,applied_credit_notes,contact,employee - name: LineItemsAppliedCreditNotesContactEmployee - - value: line_items,applied_credit_notes,contact,employee,accounting_period - name: LineItemsAppliedCreditNotesContactEmployeeAccountingPeriod - - value: >- - line_items,applied_credit_notes,contact,employee,accounting_period,payment_term - name: LineItemsAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm - - value: line_items,applied_credit_notes,contact,employee,payment_term - name: LineItemsAppliedCreditNotesContactEmployeePaymentTerm - - value: line_items,applied_credit_notes,contact,payment_term - name: LineItemsAppliedCreditNotesContactPaymentTerm - - value: line_items,applied_credit_notes,employee - name: LineItemsAppliedCreditNotesEmployee - - value: line_items,applied_credit_notes,employee,accounting_period - name: LineItemsAppliedCreditNotesEmployeeAccountingPeriod - - value: >- - line_items,applied_credit_notes,employee,accounting_period,payment_term - name: LineItemsAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm - - value: line_items,applied_credit_notes,employee,payment_term - name: LineItemsAppliedCreditNotesEmployeePaymentTerm - - value: line_items,applied_credit_notes,payment_term - name: LineItemsAppliedCreditNotesPaymentTerm - - value: line_items,applied_vendor_credits - name: LineItemsAppliedVendorCredits - - value: line_items,applied_vendor_credits,accounting_period - name: LineItemsAppliedVendorCreditsAccountingPeriod - - value: line_items,applied_vendor_credits,accounting_period,payment_term - name: LineItemsAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: line_items,applied_vendor_credits,company - name: LineItemsAppliedVendorCreditsCompany - - value: line_items,applied_vendor_credits,company,accounting_period - name: LineItemsAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - line_items,applied_vendor_credits,company,accounting_period,payment_term - name: LineItemsAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: line_items,applied_vendor_credits,company,employee - name: LineItemsAppliedVendorCreditsCompanyEmployee - - value: line_items,applied_vendor_credits,company,employee,accounting_period - name: LineItemsAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - line_items,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - LineItemsAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: line_items,applied_vendor_credits,company,employee,payment_term - name: LineItemsAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: line_items,applied_vendor_credits,company,payment_term - name: LineItemsAppliedVendorCreditsCompanyPaymentTerm - - value: line_items,applied_vendor_credits,contact - name: LineItemsAppliedVendorCreditsContact - - value: line_items,applied_vendor_credits,contact,accounting_period - name: LineItemsAppliedVendorCreditsContactAccountingPeriod - - value: >- - line_items,applied_vendor_credits,contact,accounting_period,payment_term - name: LineItemsAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: line_items,applied_vendor_credits,contact,company - name: LineItemsAppliedVendorCreditsContactCompany - - value: line_items,applied_vendor_credits,contact,company,accounting_period - name: LineItemsAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - line_items,applied_vendor_credits,contact,company,accounting_period,payment_term - name: LineItemsAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: line_items,applied_vendor_credits,contact,company,employee - name: LineItemsAppliedVendorCreditsContactCompanyEmployee - - value: >- - line_items,applied_vendor_credits,contact,company,employee,accounting_period - name: LineItemsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - line_items,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - LineItemsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,applied_vendor_credits,contact,company,employee,payment_term - name: LineItemsAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: line_items,applied_vendor_credits,contact,company,payment_term - name: LineItemsAppliedVendorCreditsContactCompanyPaymentTerm - - value: line_items,applied_vendor_credits,contact,employee - name: LineItemsAppliedVendorCreditsContactEmployee - - value: line_items,applied_vendor_credits,contact,employee,accounting_period - name: LineItemsAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - line_items,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - LineItemsAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: line_items,applied_vendor_credits,contact,employee,payment_term - name: LineItemsAppliedVendorCreditsContactEmployeePaymentTerm - - value: line_items,applied_vendor_credits,contact,payment_term - name: LineItemsAppliedVendorCreditsContactPaymentTerm - - value: line_items,applied_vendor_credits,employee - name: LineItemsAppliedVendorCreditsEmployee - - value: line_items,applied_vendor_credits,employee,accounting_period - name: LineItemsAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - line_items,applied_vendor_credits,employee,accounting_period,payment_term - name: LineItemsAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: line_items,applied_vendor_credits,employee,payment_term - name: LineItemsAppliedVendorCreditsEmployeePaymentTerm - - value: line_items,applied_vendor_credits,payment_term - name: LineItemsAppliedVendorCreditsPaymentTerm - - value: line_items,company - name: LineItemsCompany - - value: line_items,company,accounting_period - name: LineItemsCompanyAccountingPeriod - - value: line_items,company,accounting_period,payment_term - name: LineItemsCompanyAccountingPeriodPaymentTerm - - value: line_items,company,employee - name: LineItemsCompanyEmployee - - value: line_items,company,employee,accounting_period - name: LineItemsCompanyEmployeeAccountingPeriod - - value: line_items,company,employee,accounting_period,payment_term - name: LineItemsCompanyEmployeeAccountingPeriodPaymentTerm - - value: line_items,company,employee,payment_term - name: LineItemsCompanyEmployeePaymentTerm - - value: line_items,company,payment_term - name: LineItemsCompanyPaymentTerm - - value: line_items,contact - name: LineItemsContact - - value: line_items,contact,accounting_period - name: LineItemsContactAccountingPeriod - - value: line_items,contact,accounting_period,payment_term - name: LineItemsContactAccountingPeriodPaymentTerm - - value: line_items,contact,company - name: LineItemsContactCompany - - value: line_items,contact,company,accounting_period - name: LineItemsContactCompanyAccountingPeriod - - value: line_items,contact,company,accounting_period,payment_term - name: LineItemsContactCompanyAccountingPeriodPaymentTerm - - value: line_items,contact,company,employee - name: LineItemsContactCompanyEmployee - - value: line_items,contact,company,employee,accounting_period - name: LineItemsContactCompanyEmployeeAccountingPeriod - - value: line_items,contact,company,employee,accounting_period,payment_term - name: LineItemsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: line_items,contact,company,employee,payment_term - name: LineItemsContactCompanyEmployeePaymentTerm - - value: line_items,contact,company,payment_term - name: LineItemsContactCompanyPaymentTerm - - value: line_items,contact,employee - name: LineItemsContactEmployee - - value: line_items,contact,employee,accounting_period - name: LineItemsContactEmployeeAccountingPeriod - - value: line_items,contact,employee,accounting_period,payment_term - name: LineItemsContactEmployeeAccountingPeriodPaymentTerm - - value: line_items,contact,employee,payment_term - name: LineItemsContactEmployeePaymentTerm - - value: line_items,contact,payment_term - name: LineItemsContactPaymentTerm - - value: line_items,employee - name: LineItemsEmployee - - value: line_items,employee,accounting_period - name: LineItemsEmployeeAccountingPeriod - - value: line_items,employee,accounting_period,payment_term - name: LineItemsEmployeeAccountingPeriodPaymentTerm - - value: line_items,employee,payment_term - name: LineItemsEmployeePaymentTerm - - value: line_items,payment_term - name: LineItemsPaymentTerm - - value: line_items,purchase_orders - name: LineItemsPurchaseOrders - - value: line_items,purchase_orders,accounting_period - name: LineItemsPurchaseOrdersAccountingPeriod - - value: line_items,purchase_orders,accounting_period,payment_term - name: LineItemsPurchaseOrdersAccountingPeriodPaymentTerm - - value: line_items,purchase_orders,applied_credit_notes - name: LineItemsPurchaseOrdersAppliedCreditNotes - - value: line_items,purchase_orders,applied_credit_notes,accounting_period - name: LineItemsPurchaseOrdersAppliedCreditNotesAccountingPeriod - - value: >- - line_items,purchase_orders,applied_credit_notes,accounting_period,payment_term - name: LineItemsPurchaseOrdersAppliedCreditNotesAccountingPeriodPaymentTerm - - value: line_items,purchase_orders,applied_credit_notes,applied_vendor_credits - name: LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCredits - - value: >- - line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod - - value: >- - line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company - name: LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany - - value: >- - line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee - - value: >- - line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm - - value: >- - line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact - name: LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact - - value: >- - line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod - - value: >- - line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany - - value: >- - line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee - - value: >- - line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee - - value: >- - line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm - - value: >- - line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee - name: LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee - - value: >- - line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm - - value: >- - line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsPaymentTerm - - value: line_items,purchase_orders,applied_credit_notes,company - name: LineItemsPurchaseOrdersAppliedCreditNotesCompany - - value: >- - line_items,purchase_orders,applied_credit_notes,company,accounting_period - name: LineItemsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod - - value: >- - line_items,purchase_orders,applied_credit_notes,company,accounting_period,payment_term - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriodPaymentTerm - - value: line_items,purchase_orders,applied_credit_notes,company,employee - name: LineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployee - - value: >- - line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod - - value: >- - line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,purchase_orders,applied_credit_notes,company,employee,payment_term - name: LineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployeePaymentTerm - - value: line_items,purchase_orders,applied_credit_notes,company,payment_term - name: LineItemsPurchaseOrdersAppliedCreditNotesCompanyPaymentTerm - - value: line_items,purchase_orders,applied_credit_notes,contact - name: LineItemsPurchaseOrdersAppliedCreditNotesContact - - value: >- - line_items,purchase_orders,applied_credit_notes,contact,accounting_period - name: LineItemsPurchaseOrdersAppliedCreditNotesContactAccountingPeriod - - value: >- - line_items,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesContactAccountingPeriodPaymentTerm - - value: line_items,purchase_orders,applied_credit_notes,contact,company - name: LineItemsPurchaseOrdersAppliedCreditNotesContactCompany - - value: >- - line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod - - value: >- - line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm - - value: >- - line_items,purchase_orders,applied_credit_notes,contact,company,employee - name: LineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployee - - value: >- - line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod - - value: >- - line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,purchase_orders,applied_credit_notes,contact,company,employee,payment_term - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeePaymentTerm - - value: >- - line_items,purchase_orders,applied_credit_notes,contact,company,payment_term - name: LineItemsPurchaseOrdersAppliedCreditNotesContactCompanyPaymentTerm - - value: line_items,purchase_orders,applied_credit_notes,contact,employee - name: LineItemsPurchaseOrdersAppliedCreditNotesContactEmployee - - value: >- - line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod - - value: >- - line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,purchase_orders,applied_credit_notes,contact,employee,payment_term - name: LineItemsPurchaseOrdersAppliedCreditNotesContactEmployeePaymentTerm - - value: line_items,purchase_orders,applied_credit_notes,contact,payment_term - name: LineItemsPurchaseOrdersAppliedCreditNotesContactPaymentTerm - - value: line_items,purchase_orders,applied_credit_notes,employee - name: LineItemsPurchaseOrdersAppliedCreditNotesEmployee - - value: >- - line_items,purchase_orders,applied_credit_notes,employee,accounting_period - name: LineItemsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod - - value: >- - line_items,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm - - value: line_items,purchase_orders,applied_credit_notes,employee,payment_term - name: LineItemsPurchaseOrdersAppliedCreditNotesEmployeePaymentTerm - - value: line_items,purchase_orders,applied_credit_notes,payment_term - name: LineItemsPurchaseOrdersAppliedCreditNotesPaymentTerm - - value: line_items,purchase_orders,applied_vendor_credits - name: LineItemsPurchaseOrdersAppliedVendorCredits - - value: line_items,purchase_orders,applied_vendor_credits,accounting_period - name: LineItemsPurchaseOrdersAppliedVendorCreditsAccountingPeriod - - value: >- - line_items,purchase_orders,applied_vendor_credits,accounting_period,payment_term - name: LineItemsPurchaseOrdersAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: line_items,purchase_orders,applied_vendor_credits,company - name: LineItemsPurchaseOrdersAppliedVendorCreditsCompany - - value: >- - line_items,purchase_orders,applied_vendor_credits,company,accounting_period - name: LineItemsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - line_items,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term - name: >- - LineItemsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: line_items,purchase_orders,applied_vendor_credits,company,employee - name: LineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployee - - value: >- - line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period - name: >- - LineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - LineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,purchase_orders,applied_vendor_credits,company,employee,payment_term - name: LineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: line_items,purchase_orders,applied_vendor_credits,company,payment_term - name: LineItemsPurchaseOrdersAppliedVendorCreditsCompanyPaymentTerm - - value: line_items,purchase_orders,applied_vendor_credits,contact - name: LineItemsPurchaseOrdersAppliedVendorCreditsContact - - value: >- - line_items,purchase_orders,applied_vendor_credits,contact,accounting_period - name: LineItemsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod - - value: >- - line_items,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - LineItemsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: line_items,purchase_orders,applied_vendor_credits,contact,company - name: LineItemsPurchaseOrdersAppliedVendorCreditsContactCompany - - value: >- - line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period - name: >- - LineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - LineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - line_items,purchase_orders,applied_vendor_credits,contact,company,employee - name: LineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee - - value: >- - line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - LineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - LineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term - name: >- - LineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - line_items,purchase_orders,applied_vendor_credits,contact,company,payment_term - name: LineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyPaymentTerm - - value: line_items,purchase_orders,applied_vendor_credits,contact,employee - name: LineItemsPurchaseOrdersAppliedVendorCreditsContactEmployee - - value: >- - line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period - name: >- - LineItemsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - LineItemsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,purchase_orders,applied_vendor_credits,contact,employee,payment_term - name: LineItemsPurchaseOrdersAppliedVendorCreditsContactEmployeePaymentTerm - - value: line_items,purchase_orders,applied_vendor_credits,contact,payment_term - name: LineItemsPurchaseOrdersAppliedVendorCreditsContactPaymentTerm - - value: line_items,purchase_orders,applied_vendor_credits,employee - name: LineItemsPurchaseOrdersAppliedVendorCreditsEmployee - - value: >- - line_items,purchase_orders,applied_vendor_credits,employee,accounting_period - name: LineItemsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - line_items,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - LineItemsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,purchase_orders,applied_vendor_credits,employee,payment_term - name: LineItemsPurchaseOrdersAppliedVendorCreditsEmployeePaymentTerm - - value: line_items,purchase_orders,applied_vendor_credits,payment_term - name: LineItemsPurchaseOrdersAppliedVendorCreditsPaymentTerm - - value: line_items,purchase_orders,company - name: LineItemsPurchaseOrdersCompany - - value: line_items,purchase_orders,company,accounting_period - name: LineItemsPurchaseOrdersCompanyAccountingPeriod - - value: line_items,purchase_orders,company,accounting_period,payment_term - name: LineItemsPurchaseOrdersCompanyAccountingPeriodPaymentTerm - - value: line_items,purchase_orders,company,employee - name: LineItemsPurchaseOrdersCompanyEmployee - - value: line_items,purchase_orders,company,employee,accounting_period - name: LineItemsPurchaseOrdersCompanyEmployeeAccountingPeriod - - value: >- - line_items,purchase_orders,company,employee,accounting_period,payment_term - name: LineItemsPurchaseOrdersCompanyEmployeeAccountingPeriodPaymentTerm - - value: line_items,purchase_orders,company,employee,payment_term - name: LineItemsPurchaseOrdersCompanyEmployeePaymentTerm - - value: line_items,purchase_orders,company,payment_term - name: LineItemsPurchaseOrdersCompanyPaymentTerm - - value: line_items,purchase_orders,contact - name: LineItemsPurchaseOrdersContact - - value: line_items,purchase_orders,contact,accounting_period - name: LineItemsPurchaseOrdersContactAccountingPeriod - - value: line_items,purchase_orders,contact,accounting_period,payment_term - name: LineItemsPurchaseOrdersContactAccountingPeriodPaymentTerm - - value: line_items,purchase_orders,contact,company - name: LineItemsPurchaseOrdersContactCompany - - value: line_items,purchase_orders,contact,company,accounting_period - name: LineItemsPurchaseOrdersContactCompanyAccountingPeriod - - value: >- - line_items,purchase_orders,contact,company,accounting_period,payment_term - name: LineItemsPurchaseOrdersContactCompanyAccountingPeriodPaymentTerm - - value: line_items,purchase_orders,contact,company,employee - name: LineItemsPurchaseOrdersContactCompanyEmployee - - value: line_items,purchase_orders,contact,company,employee,accounting_period - name: LineItemsPurchaseOrdersContactCompanyEmployeeAccountingPeriod - - value: >- - line_items,purchase_orders,contact,company,employee,accounting_period,payment_term - name: >- - LineItemsPurchaseOrdersContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: line_items,purchase_orders,contact,company,employee,payment_term - name: LineItemsPurchaseOrdersContactCompanyEmployeePaymentTerm - - value: line_items,purchase_orders,contact,company,payment_term - name: LineItemsPurchaseOrdersContactCompanyPaymentTerm - - value: line_items,purchase_orders,contact,employee - name: LineItemsPurchaseOrdersContactEmployee - - value: line_items,purchase_orders,contact,employee,accounting_period - name: LineItemsPurchaseOrdersContactEmployeeAccountingPeriod - - value: >- - line_items,purchase_orders,contact,employee,accounting_period,payment_term - name: LineItemsPurchaseOrdersContactEmployeeAccountingPeriodPaymentTerm - - value: line_items,purchase_orders,contact,employee,payment_term - name: LineItemsPurchaseOrdersContactEmployeePaymentTerm - - value: line_items,purchase_orders,contact,payment_term - name: LineItemsPurchaseOrdersContactPaymentTerm - - value: line_items,purchase_orders,employee - name: LineItemsPurchaseOrdersEmployee - - value: line_items,purchase_orders,employee,accounting_period - name: LineItemsPurchaseOrdersEmployeeAccountingPeriod - - value: line_items,purchase_orders,employee,accounting_period,payment_term - name: LineItemsPurchaseOrdersEmployeeAccountingPeriodPaymentTerm - - value: line_items,purchase_orders,employee,payment_term - name: LineItemsPurchaseOrdersEmployeePaymentTerm - - value: line_items,purchase_orders,payment_term - name: LineItemsPurchaseOrdersPaymentTerm - - value: line_items,tracking_categories - name: LineItemsTrackingCategories - - value: line_items,tracking_categories,accounting_period - name: LineItemsTrackingCategoriesAccountingPeriod - - value: line_items,tracking_categories,accounting_period,payment_term - name: LineItemsTrackingCategoriesAccountingPeriodPaymentTerm - - value: line_items,tracking_categories,applied_credit_notes - name: LineItemsTrackingCategoriesAppliedCreditNotes - - value: line_items,tracking_categories,applied_credit_notes,accounting_period - name: LineItemsTrackingCategoriesAppliedCreditNotesAccountingPeriod - - value: >- - line_items,tracking_categories,applied_credit_notes,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,applied_credit_notes,applied_vendor_credits - name: LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCredits - - value: >- - line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriod - - value: >- - line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompany - - value: >- - line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployee - - value: >- - line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm - - value: >- - line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContact - - value: >- - line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod - - value: >- - line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompany - - value: >- - line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee - - value: >- - line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployee - - value: >- - line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm - - value: >- - line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployee - - value: >- - line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm - - value: >- - line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsPaymentTerm - - value: line_items,tracking_categories,applied_credit_notes,company - name: LineItemsTrackingCategoriesAppliedCreditNotesCompany - - value: >- - line_items,tracking_categories,applied_credit_notes,company,accounting_period - name: LineItemsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriod - - value: >- - line_items,tracking_categories,applied_credit_notes,company,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriodPaymentTerm - - value: line_items,tracking_categories,applied_credit_notes,company,employee - name: LineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployee - - value: >- - line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriod - - value: >- - line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,applied_credit_notes,company,employee,payment_term - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployeePaymentTerm - - value: >- - line_items,tracking_categories,applied_credit_notes,company,payment_term - name: LineItemsTrackingCategoriesAppliedCreditNotesCompanyPaymentTerm - - value: line_items,tracking_categories,applied_credit_notes,contact - name: LineItemsTrackingCategoriesAppliedCreditNotesContact - - value: >- - line_items,tracking_categories,applied_credit_notes,contact,accounting_period - name: LineItemsTrackingCategoriesAppliedCreditNotesContactAccountingPeriod - - value: >- - line_items,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesContactAccountingPeriodPaymentTerm - - value: line_items,tracking_categories,applied_credit_notes,contact,company - name: LineItemsTrackingCategoriesAppliedCreditNotesContactCompany - - value: >- - line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriod - - value: >- - line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,applied_credit_notes,contact,company,employee - name: LineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployee - - value: >- - line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriod - - value: >- - line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,applied_credit_notes,contact,company,employee,payment_term - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeePaymentTerm - - value: >- - line_items,tracking_categories,applied_credit_notes,contact,company,payment_term - name: LineItemsTrackingCategoriesAppliedCreditNotesContactCompanyPaymentTerm - - value: line_items,tracking_categories,applied_credit_notes,contact,employee - name: LineItemsTrackingCategoriesAppliedCreditNotesContactEmployee - - value: >- - line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriod - - value: >- - line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,applied_credit_notes,contact,employee,payment_term - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesContactEmployeePaymentTerm - - value: >- - line_items,tracking_categories,applied_credit_notes,contact,payment_term - name: LineItemsTrackingCategoriesAppliedCreditNotesContactPaymentTerm - - value: line_items,tracking_categories,applied_credit_notes,employee - name: LineItemsTrackingCategoriesAppliedCreditNotesEmployee - - value: >- - line_items,tracking_categories,applied_credit_notes,employee,accounting_period - name: LineItemsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriod - - value: >- - line_items,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,applied_credit_notes,employee,payment_term - name: LineItemsTrackingCategoriesAppliedCreditNotesEmployeePaymentTerm - - value: line_items,tracking_categories,applied_credit_notes,payment_term - name: LineItemsTrackingCategoriesAppliedCreditNotesPaymentTerm - - value: line_items,tracking_categories,applied_vendor_credits - name: LineItemsTrackingCategoriesAppliedVendorCredits - - value: >- - line_items,tracking_categories,applied_vendor_credits,accounting_period - name: LineItemsTrackingCategoriesAppliedVendorCreditsAccountingPeriod - - value: >- - line_items,tracking_categories,applied_vendor_credits,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: line_items,tracking_categories,applied_vendor_credits,company - name: LineItemsTrackingCategoriesAppliedVendorCreditsCompany - - value: >- - line_items,tracking_categories,applied_vendor_credits,company,accounting_period - name: LineItemsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - line_items,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: line_items,tracking_categories,applied_vendor_credits,company,employee - name: LineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployee - - value: >- - line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period - name: >- - LineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,applied_vendor_credits,company,employee,payment_term - name: >- - LineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - line_items,tracking_categories,applied_vendor_credits,company,payment_term - name: LineItemsTrackingCategoriesAppliedVendorCreditsCompanyPaymentTerm - - value: line_items,tracking_categories,applied_vendor_credits,contact - name: LineItemsTrackingCategoriesAppliedVendorCreditsContact - - value: >- - line_items,tracking_categories,applied_vendor_credits,contact,accounting_period - name: LineItemsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriod - - value: >- - line_items,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: line_items,tracking_categories,applied_vendor_credits,contact,company - name: LineItemsTrackingCategoriesAppliedVendorCreditsContactCompany - - value: >- - line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period - name: >- - LineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,applied_vendor_credits,contact,company,employee - name: LineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployee - - value: >- - line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - LineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term - name: >- - LineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - line_items,tracking_categories,applied_vendor_credits,contact,company,payment_term - name: >- - LineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyPaymentTerm - - value: line_items,tracking_categories,applied_vendor_credits,contact,employee - name: LineItemsTrackingCategoriesAppliedVendorCreditsContactEmployee - - value: >- - line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period - name: >- - LineItemsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,applied_vendor_credits,contact,employee,payment_term - name: >- - LineItemsTrackingCategoriesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - line_items,tracking_categories,applied_vendor_credits,contact,payment_term - name: LineItemsTrackingCategoriesAppliedVendorCreditsContactPaymentTerm - - value: line_items,tracking_categories,applied_vendor_credits,employee - name: LineItemsTrackingCategoriesAppliedVendorCreditsEmployee - - value: >- - line_items,tracking_categories,applied_vendor_credits,employee,accounting_period - name: >- - LineItemsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - line_items,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,applied_vendor_credits,employee,payment_term - name: LineItemsTrackingCategoriesAppliedVendorCreditsEmployeePaymentTerm - - value: line_items,tracking_categories,applied_vendor_credits,payment_term - name: LineItemsTrackingCategoriesAppliedVendorCreditsPaymentTerm - - value: line_items,tracking_categories,company - name: LineItemsTrackingCategoriesCompany - - value: line_items,tracking_categories,company,accounting_period - name: LineItemsTrackingCategoriesCompanyAccountingPeriod - - value: line_items,tracking_categories,company,accounting_period,payment_term - name: LineItemsTrackingCategoriesCompanyAccountingPeriodPaymentTerm - - value: line_items,tracking_categories,company,employee - name: LineItemsTrackingCategoriesCompanyEmployee - - value: line_items,tracking_categories,company,employee,accounting_period - name: LineItemsTrackingCategoriesCompanyEmployeeAccountingPeriod - - value: >- - line_items,tracking_categories,company,employee,accounting_period,payment_term - name: LineItemsTrackingCategoriesCompanyEmployeeAccountingPeriodPaymentTerm - - value: line_items,tracking_categories,company,employee,payment_term - name: LineItemsTrackingCategoriesCompanyEmployeePaymentTerm - - value: line_items,tracking_categories,company,payment_term - name: LineItemsTrackingCategoriesCompanyPaymentTerm - - value: line_items,tracking_categories,contact - name: LineItemsTrackingCategoriesContact - - value: line_items,tracking_categories,contact,accounting_period - name: LineItemsTrackingCategoriesContactAccountingPeriod - - value: line_items,tracking_categories,contact,accounting_period,payment_term - name: LineItemsTrackingCategoriesContactAccountingPeriodPaymentTerm - - value: line_items,tracking_categories,contact,company - name: LineItemsTrackingCategoriesContactCompany - - value: line_items,tracking_categories,contact,company,accounting_period - name: LineItemsTrackingCategoriesContactCompanyAccountingPeriod - - value: >- - line_items,tracking_categories,contact,company,accounting_period,payment_term - name: LineItemsTrackingCategoriesContactCompanyAccountingPeriodPaymentTerm - - value: line_items,tracking_categories,contact,company,employee - name: LineItemsTrackingCategoriesContactCompanyEmployee - - value: >- - line_items,tracking_categories,contact,company,employee,accounting_period - name: LineItemsTrackingCategoriesContactCompanyEmployeeAccountingPeriod - - value: >- - line_items,tracking_categories,contact,company,employee,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: line_items,tracking_categories,contact,company,employee,payment_term - name: LineItemsTrackingCategoriesContactCompanyEmployeePaymentTerm - - value: line_items,tracking_categories,contact,company,payment_term - name: LineItemsTrackingCategoriesContactCompanyPaymentTerm - - value: line_items,tracking_categories,contact,employee - name: LineItemsTrackingCategoriesContactEmployee - - value: line_items,tracking_categories,contact,employee,accounting_period - name: LineItemsTrackingCategoriesContactEmployeeAccountingPeriod - - value: >- - line_items,tracking_categories,contact,employee,accounting_period,payment_term - name: LineItemsTrackingCategoriesContactEmployeeAccountingPeriodPaymentTerm - - value: line_items,tracking_categories,contact,employee,payment_term - name: LineItemsTrackingCategoriesContactEmployeePaymentTerm - - value: line_items,tracking_categories,contact,payment_term - name: LineItemsTrackingCategoriesContactPaymentTerm - - value: line_items,tracking_categories,employee - name: LineItemsTrackingCategoriesEmployee - - value: line_items,tracking_categories,employee,accounting_period - name: LineItemsTrackingCategoriesEmployeeAccountingPeriod - - value: line_items,tracking_categories,employee,accounting_period,payment_term - name: LineItemsTrackingCategoriesEmployeeAccountingPeriodPaymentTerm - - value: line_items,tracking_categories,employee,payment_term - name: LineItemsTrackingCategoriesEmployeePaymentTerm - - value: line_items,tracking_categories,payment_term - name: LineItemsTrackingCategoriesPaymentTerm - - value: line_items,tracking_categories,purchase_orders - name: LineItemsTrackingCategoriesPurchaseOrders - - value: line_items,tracking_categories,purchase_orders,accounting_period - name: LineItemsTrackingCategoriesPurchaseOrdersAccountingPeriod - - value: >- - line_items,tracking_categories,purchase_orders,accounting_period,payment_term - name: LineItemsTrackingCategoriesPurchaseOrdersAccountingPeriodPaymentTerm - - value: line_items,tracking_categories,purchase_orders,applied_credit_notes - name: LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotes - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriod - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCredits - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,company - name: LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompany - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployee - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeePaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,contact - name: LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContact - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriod - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompany - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployee - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeePaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployee - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeePaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,employee - name: LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployee - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeePaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,payment_term - name: LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesPaymentTerm - - value: line_items,tracking_categories,purchase_orders,applied_vendor_credits - name: LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCredits - - value: >- - line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriod - - value: >- - line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_vendor_credits,company - name: LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompany - - value: >- - line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployee - - value: >- - line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact - name: LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContact - - value: >- - line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod - - value: >- - line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompany - - value: >- - line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee - - value: >- - line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployee - - value: >- - line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee - name: LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployee - - value: >- - line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeePaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_vendor_credits,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsPaymentTerm - - value: line_items,tracking_categories,purchase_orders,company - name: LineItemsTrackingCategoriesPurchaseOrdersCompany - - value: >- - line_items,tracking_categories,purchase_orders,company,accounting_period - name: LineItemsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod - - value: >- - line_items,tracking_categories,purchase_orders,company,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriodPaymentTerm - - value: line_items,tracking_categories,purchase_orders,company,employee - name: LineItemsTrackingCategoriesPurchaseOrdersCompanyEmployee - - value: >- - line_items,tracking_categories,purchase_orders,company,employee,accounting_period - name: >- - LineItemsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriod - - value: >- - line_items,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,company,employee,payment_term - name: LineItemsTrackingCategoriesPurchaseOrdersCompanyEmployeePaymentTerm - - value: line_items,tracking_categories,purchase_orders,company,payment_term - name: LineItemsTrackingCategoriesPurchaseOrdersCompanyPaymentTerm - - value: line_items,tracking_categories,purchase_orders,contact - name: LineItemsTrackingCategoriesPurchaseOrdersContact - - value: >- - line_items,tracking_categories,purchase_orders,contact,accounting_period - name: LineItemsTrackingCategoriesPurchaseOrdersContactAccountingPeriod - - value: >- - line_items,tracking_categories,purchase_orders,contact,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersContactAccountingPeriodPaymentTerm - - value: line_items,tracking_categories,purchase_orders,contact,company - name: LineItemsTrackingCategoriesPurchaseOrdersContactCompany - - value: >- - line_items,tracking_categories,purchase_orders,contact,company,accounting_period - name: >- - LineItemsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod - - value: >- - line_items,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,contact,company,employee - name: LineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployee - - value: >- - line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period - name: >- - LineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriod - - value: >- - line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,contact,company,employee,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployeePaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,contact,company,payment_term - name: LineItemsTrackingCategoriesPurchaseOrdersContactCompanyPaymentTerm - - value: line_items,tracking_categories,purchase_orders,contact,employee - name: LineItemsTrackingCategoriesPurchaseOrdersContactEmployee - - value: >- - line_items,tracking_categories,purchase_orders,contact,employee,accounting_period - name: >- - LineItemsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriod - - value: >- - line_items,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,contact,employee,payment_term - name: LineItemsTrackingCategoriesPurchaseOrdersContactEmployeePaymentTerm - - value: line_items,tracking_categories,purchase_orders,contact,payment_term - name: LineItemsTrackingCategoriesPurchaseOrdersContactPaymentTerm - - value: line_items,tracking_categories,purchase_orders,employee - name: LineItemsTrackingCategoriesPurchaseOrdersEmployee - - value: >- - line_items,tracking_categories,purchase_orders,employee,accounting_period - name: LineItemsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriod - - value: >- - line_items,tracking_categories,purchase_orders,employee,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriodPaymentTerm - - value: line_items,tracking_categories,purchase_orders,employee,payment_term - name: LineItemsTrackingCategoriesPurchaseOrdersEmployeePaymentTerm - - value: line_items,tracking_categories,purchase_orders,payment_term - name: LineItemsTrackingCategoriesPurchaseOrdersPaymentTerm - - payment_term - - payments - - value: payments,accounting_period - name: PaymentsAccountingPeriod - - value: payments,accounting_period,payment_term - name: PaymentsAccountingPeriodPaymentTerm - - value: payments,applied_credit_notes - name: PaymentsAppliedCreditNotes - - value: payments,applied_credit_notes,accounting_period - name: PaymentsAppliedCreditNotesAccountingPeriod - - value: payments,applied_credit_notes,accounting_period,payment_term - name: PaymentsAppliedCreditNotesAccountingPeriodPaymentTerm - - value: payments,applied_credit_notes,applied_vendor_credits - name: PaymentsAppliedCreditNotesAppliedVendorCredits - - value: payments,applied_credit_notes,applied_vendor_credits,accounting_period - name: PaymentsAppliedCreditNotesAppliedVendorCreditsAccountingPeriod - - value: >- - payments,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term - name: >- - PaymentsAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: payments,applied_credit_notes,applied_vendor_credits,company - name: PaymentsAppliedCreditNotesAppliedVendorCreditsCompany - - value: >- - payments,applied_credit_notes,applied_vendor_credits,company,accounting_period - name: PaymentsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - payments,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term - name: >- - PaymentsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: payments,applied_credit_notes,applied_vendor_credits,company,employee - name: PaymentsAppliedCreditNotesAppliedVendorCreditsCompanyEmployee - - value: >- - payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period - name: >- - PaymentsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_credit_notes,applied_vendor_credits,company,employee,payment_term - name: >- - PaymentsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - payments,applied_credit_notes,applied_vendor_credits,company,payment_term - name: PaymentsAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm - - value: payments,applied_credit_notes,applied_vendor_credits,contact - name: PaymentsAppliedCreditNotesAppliedVendorCreditsContact - - value: >- - payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period - name: PaymentsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod - - value: >- - payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - PaymentsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: payments,applied_credit_notes,applied_vendor_credits,contact,company - name: PaymentsAppliedCreditNotesAppliedVendorCreditsContactCompany - - value: >- - payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period - name: >- - PaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - PaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_credit_notes,applied_vendor_credits,contact,company,employee - name: PaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee - - value: >- - payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - PaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term - name: >- - PaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - payments,applied_credit_notes,applied_vendor_credits,contact,company,payment_term - name: >- - PaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm - - value: payments,applied_credit_notes,applied_vendor_credits,contact,employee - name: PaymentsAppliedCreditNotesAppliedVendorCreditsContactEmployee - - value: >- - payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period - name: >- - PaymentsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - PaymentsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term - name: >- - PaymentsAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - payments,applied_credit_notes,applied_vendor_credits,contact,payment_term - name: PaymentsAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm - - value: payments,applied_credit_notes,applied_vendor_credits,employee - name: PaymentsAppliedCreditNotesAppliedVendorCreditsEmployee - - value: >- - payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period - name: PaymentsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - PaymentsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_credit_notes,applied_vendor_credits,employee,payment_term - name: PaymentsAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm - - value: payments,applied_credit_notes,applied_vendor_credits,payment_term - name: PaymentsAppliedCreditNotesAppliedVendorCreditsPaymentTerm - - value: payments,applied_credit_notes,company - name: PaymentsAppliedCreditNotesCompany - - value: payments,applied_credit_notes,company,accounting_period - name: PaymentsAppliedCreditNotesCompanyAccountingPeriod - - value: payments,applied_credit_notes,company,accounting_period,payment_term - name: PaymentsAppliedCreditNotesCompanyAccountingPeriodPaymentTerm - - value: payments,applied_credit_notes,company,employee - name: PaymentsAppliedCreditNotesCompanyEmployee - - value: payments,applied_credit_notes,company,employee,accounting_period - name: PaymentsAppliedCreditNotesCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_credit_notes,company,employee,accounting_period,payment_term - name: PaymentsAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm - - value: payments,applied_credit_notes,company,employee,payment_term - name: PaymentsAppliedCreditNotesCompanyEmployeePaymentTerm - - value: payments,applied_credit_notes,company,payment_term - name: PaymentsAppliedCreditNotesCompanyPaymentTerm - - value: payments,applied_credit_notes,contact - name: PaymentsAppliedCreditNotesContact - - value: payments,applied_credit_notes,contact,accounting_period - name: PaymentsAppliedCreditNotesContactAccountingPeriod - - value: payments,applied_credit_notes,contact,accounting_period,payment_term - name: PaymentsAppliedCreditNotesContactAccountingPeriodPaymentTerm - - value: payments,applied_credit_notes,contact,company - name: PaymentsAppliedCreditNotesContactCompany - - value: payments,applied_credit_notes,contact,company,accounting_period - name: PaymentsAppliedCreditNotesContactCompanyAccountingPeriod - - value: >- - payments,applied_credit_notes,contact,company,accounting_period,payment_term - name: PaymentsAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm - - value: payments,applied_credit_notes,contact,company,employee - name: PaymentsAppliedCreditNotesContactCompanyEmployee - - value: >- - payments,applied_credit_notes,contact,company,employee,accounting_period - name: PaymentsAppliedCreditNotesContactCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_credit_notes,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: payments,applied_credit_notes,contact,company,employee,payment_term - name: PaymentsAppliedCreditNotesContactCompanyEmployeePaymentTerm - - value: payments,applied_credit_notes,contact,company,payment_term - name: PaymentsAppliedCreditNotesContactCompanyPaymentTerm - - value: payments,applied_credit_notes,contact,employee - name: PaymentsAppliedCreditNotesContactEmployee - - value: payments,applied_credit_notes,contact,employee,accounting_period - name: PaymentsAppliedCreditNotesContactEmployeeAccountingPeriod - - value: >- - payments,applied_credit_notes,contact,employee,accounting_period,payment_term - name: PaymentsAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm - - value: payments,applied_credit_notes,contact,employee,payment_term - name: PaymentsAppliedCreditNotesContactEmployeePaymentTerm - - value: payments,applied_credit_notes,contact,payment_term - name: PaymentsAppliedCreditNotesContactPaymentTerm - - value: payments,applied_credit_notes,employee - name: PaymentsAppliedCreditNotesEmployee - - value: payments,applied_credit_notes,employee,accounting_period - name: PaymentsAppliedCreditNotesEmployeeAccountingPeriod - - value: payments,applied_credit_notes,employee,accounting_period,payment_term - name: PaymentsAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm - - value: payments,applied_credit_notes,employee,payment_term - name: PaymentsAppliedCreditNotesEmployeePaymentTerm - - value: payments,applied_credit_notes,payment_term - name: PaymentsAppliedCreditNotesPaymentTerm - - value: payments,applied_payments - name: PaymentsAppliedPayments - - value: payments,applied_payments,accounting_period - name: PaymentsAppliedPaymentsAccountingPeriod - - value: payments,applied_payments,accounting_period,payment_term - name: PaymentsAppliedPaymentsAccountingPeriodPaymentTerm - - value: payments,applied_payments,applied_credit_notes - name: PaymentsAppliedPaymentsAppliedCreditNotes - - value: payments,applied_payments,applied_credit_notes,accounting_period - name: PaymentsAppliedPaymentsAppliedCreditNotesAccountingPeriod - - value: >- - payments,applied_payments,applied_credit_notes,accounting_period,payment_term - name: PaymentsAppliedPaymentsAppliedCreditNotesAccountingPeriodPaymentTerm - - value: payments,applied_payments,applied_credit_notes,applied_vendor_credits - name: PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCredits - - value: >- - payments,applied_payments,applied_credit_notes,applied_vendor_credits,accounting_period - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsAccountingPeriod - - value: >- - payments,applied_payments,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,applied_credit_notes,applied_vendor_credits,company - name: PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompany - - value: >- - payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,accounting_period - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,employee - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyEmployee - - value: >- - payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,payment_term - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm - - value: >- - payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact - name: PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContact - - value: >- - payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod - - value: >- - payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompany - - value: >- - payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee - - value: >- - payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,payment_term - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactEmployee - - value: >- - payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,payment_term - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm - - value: >- - payments,applied_payments,applied_credit_notes,applied_vendor_credits,employee - name: PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsEmployee - - value: >- - payments,applied_payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - payments,applied_payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,applied_credit_notes,applied_vendor_credits,employee,payment_term - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm - - value: >- - payments,applied_payments,applied_credit_notes,applied_vendor_credits,payment_term - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsPaymentTerm - - value: payments,applied_payments,applied_credit_notes,company - name: PaymentsAppliedPaymentsAppliedCreditNotesCompany - - value: >- - payments,applied_payments,applied_credit_notes,company,accounting_period - name: PaymentsAppliedPaymentsAppliedCreditNotesCompanyAccountingPeriod - - value: >- - payments,applied_payments,applied_credit_notes,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesCompanyAccountingPeriodPaymentTerm - - value: payments,applied_payments,applied_credit_notes,company,employee - name: PaymentsAppliedPaymentsAppliedCreditNotesCompanyEmployee - - value: >- - payments,applied_payments,applied_credit_notes,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,applied_credit_notes,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,applied_credit_notes,company,employee,payment_term - name: PaymentsAppliedPaymentsAppliedCreditNotesCompanyEmployeePaymentTerm - - value: payments,applied_payments,applied_credit_notes,company,payment_term - name: PaymentsAppliedPaymentsAppliedCreditNotesCompanyPaymentTerm - - value: payments,applied_payments,applied_credit_notes,contact - name: PaymentsAppliedPaymentsAppliedCreditNotesContact - - value: >- - payments,applied_payments,applied_credit_notes,contact,accounting_period - name: PaymentsAppliedPaymentsAppliedCreditNotesContactAccountingPeriod - - value: >- - payments,applied_payments,applied_credit_notes,contact,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesContactAccountingPeriodPaymentTerm - - value: payments,applied_payments,applied_credit_notes,contact,company - name: PaymentsAppliedPaymentsAppliedCreditNotesContactCompany - - value: >- - payments,applied_payments,applied_credit_notes,contact,company,accounting_period - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesContactCompanyAccountingPeriod - - value: >- - payments,applied_payments,applied_credit_notes,contact,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,applied_credit_notes,contact,company,employee - name: PaymentsAppliedPaymentsAppliedCreditNotesContactCompanyEmployee - - value: >- - payments,applied_payments,applied_credit_notes,contact,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesContactCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,applied_credit_notes,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,applied_credit_notes,contact,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesContactCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,applied_credit_notes,contact,company,payment_term - name: PaymentsAppliedPaymentsAppliedCreditNotesContactCompanyPaymentTerm - - value: payments,applied_payments,applied_credit_notes,contact,employee - name: PaymentsAppliedPaymentsAppliedCreditNotesContactEmployee - - value: >- - payments,applied_payments,applied_credit_notes,contact,employee,accounting_period - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesContactEmployeeAccountingPeriod - - value: >- - payments,applied_payments,applied_credit_notes,contact,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,applied_credit_notes,contact,employee,payment_term - name: PaymentsAppliedPaymentsAppliedCreditNotesContactEmployeePaymentTerm - - value: payments,applied_payments,applied_credit_notes,contact,payment_term - name: PaymentsAppliedPaymentsAppliedCreditNotesContactPaymentTerm - - value: payments,applied_payments,applied_credit_notes,employee - name: PaymentsAppliedPaymentsAppliedCreditNotesEmployee - - value: >- - payments,applied_payments,applied_credit_notes,employee,accounting_period - name: PaymentsAppliedPaymentsAppliedCreditNotesEmployeeAccountingPeriod - - value: >- - payments,applied_payments,applied_credit_notes,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm - - value: payments,applied_payments,applied_credit_notes,employee,payment_term - name: PaymentsAppliedPaymentsAppliedCreditNotesEmployeePaymentTerm - - value: payments,applied_payments,applied_credit_notes,payment_term - name: PaymentsAppliedPaymentsAppliedCreditNotesPaymentTerm - - value: payments,applied_payments,applied_vendor_credits - name: PaymentsAppliedPaymentsAppliedVendorCredits - - value: payments,applied_payments,applied_vendor_credits,accounting_period - name: PaymentsAppliedPaymentsAppliedVendorCreditsAccountingPeriod - - value: >- - payments,applied_payments,applied_vendor_credits,accounting_period,payment_term - name: PaymentsAppliedPaymentsAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: payments,applied_payments,applied_vendor_credits,company - name: PaymentsAppliedPaymentsAppliedVendorCreditsCompany - - value: >- - payments,applied_payments,applied_vendor_credits,company,accounting_period - name: PaymentsAppliedPaymentsAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - payments,applied_payments,applied_vendor_credits,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: payments,applied_payments,applied_vendor_credits,company,employee - name: PaymentsAppliedPaymentsAppliedVendorCreditsCompanyEmployee - - value: >- - payments,applied_payments,applied_vendor_credits,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,applied_vendor_credits,company,employee,payment_term - name: PaymentsAppliedPaymentsAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: payments,applied_payments,applied_vendor_credits,company,payment_term - name: PaymentsAppliedPaymentsAppliedVendorCreditsCompanyPaymentTerm - - value: payments,applied_payments,applied_vendor_credits,contact - name: PaymentsAppliedPaymentsAppliedVendorCreditsContact - - value: >- - payments,applied_payments,applied_vendor_credits,contact,accounting_period - name: PaymentsAppliedPaymentsAppliedVendorCreditsContactAccountingPeriod - - value: >- - payments,applied_payments,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: payments,applied_payments,applied_vendor_credits,contact,company - name: PaymentsAppliedPaymentsAppliedVendorCreditsContactCompany - - value: >- - payments,applied_payments,applied_vendor_credits,contact,company,accounting_period - name: >- - PaymentsAppliedPaymentsAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - payments,applied_payments,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,applied_vendor_credits,contact,company,employee - name: PaymentsAppliedPaymentsAppliedVendorCreditsContactCompanyEmployee - - value: >- - payments,applied_payments,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,applied_vendor_credits,contact,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,applied_vendor_credits,contact,company,payment_term - name: PaymentsAppliedPaymentsAppliedVendorCreditsContactCompanyPaymentTerm - - value: payments,applied_payments,applied_vendor_credits,contact,employee - name: PaymentsAppliedPaymentsAppliedVendorCreditsContactEmployee - - value: >- - payments,applied_payments,applied_vendor_credits,contact,employee,accounting_period - name: >- - PaymentsAppliedPaymentsAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - payments,applied_payments,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,applied_vendor_credits,contact,employee,payment_term - name: PaymentsAppliedPaymentsAppliedVendorCreditsContactEmployeePaymentTerm - - value: payments,applied_payments,applied_vendor_credits,contact,payment_term - name: PaymentsAppliedPaymentsAppliedVendorCreditsContactPaymentTerm - - value: payments,applied_payments,applied_vendor_credits,employee - name: PaymentsAppliedPaymentsAppliedVendorCreditsEmployee - - value: >- - payments,applied_payments,applied_vendor_credits,employee,accounting_period - name: PaymentsAppliedPaymentsAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - payments,applied_payments,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: payments,applied_payments,applied_vendor_credits,employee,payment_term - name: PaymentsAppliedPaymentsAppliedVendorCreditsEmployeePaymentTerm - - value: payments,applied_payments,applied_vendor_credits,payment_term - name: PaymentsAppliedPaymentsAppliedVendorCreditsPaymentTerm - - value: payments,applied_payments,company - name: PaymentsAppliedPaymentsCompany - - value: payments,applied_payments,company,accounting_period - name: PaymentsAppliedPaymentsCompanyAccountingPeriod - - value: payments,applied_payments,company,accounting_period,payment_term - name: PaymentsAppliedPaymentsCompanyAccountingPeriodPaymentTerm - - value: payments,applied_payments,company,employee - name: PaymentsAppliedPaymentsCompanyEmployee - - value: payments,applied_payments,company,employee,accounting_period - name: PaymentsAppliedPaymentsCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,company,employee,accounting_period,payment_term - name: PaymentsAppliedPaymentsCompanyEmployeeAccountingPeriodPaymentTerm - - value: payments,applied_payments,company,employee,payment_term - name: PaymentsAppliedPaymentsCompanyEmployeePaymentTerm - - value: payments,applied_payments,company,payment_term - name: PaymentsAppliedPaymentsCompanyPaymentTerm - - value: payments,applied_payments,contact - name: PaymentsAppliedPaymentsContact - - value: payments,applied_payments,contact,accounting_period - name: PaymentsAppliedPaymentsContactAccountingPeriod - - value: payments,applied_payments,contact,accounting_period,payment_term - name: PaymentsAppliedPaymentsContactAccountingPeriodPaymentTerm - - value: payments,applied_payments,contact,company - name: PaymentsAppliedPaymentsContactCompany - - value: payments,applied_payments,contact,company,accounting_period - name: PaymentsAppliedPaymentsContactCompanyAccountingPeriod - - value: >- - payments,applied_payments,contact,company,accounting_period,payment_term - name: PaymentsAppliedPaymentsContactCompanyAccountingPeriodPaymentTerm - - value: payments,applied_payments,contact,company,employee - name: PaymentsAppliedPaymentsContactCompanyEmployee - - value: payments,applied_payments,contact,company,employee,accounting_period - name: PaymentsAppliedPaymentsContactCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: payments,applied_payments,contact,company,employee,payment_term - name: PaymentsAppliedPaymentsContactCompanyEmployeePaymentTerm - - value: payments,applied_payments,contact,company,payment_term - name: PaymentsAppliedPaymentsContactCompanyPaymentTerm - - value: payments,applied_payments,contact,employee - name: PaymentsAppliedPaymentsContactEmployee - - value: payments,applied_payments,contact,employee,accounting_period - name: PaymentsAppliedPaymentsContactEmployeeAccountingPeriod - - value: >- - payments,applied_payments,contact,employee,accounting_period,payment_term - name: PaymentsAppliedPaymentsContactEmployeeAccountingPeriodPaymentTerm - - value: payments,applied_payments,contact,employee,payment_term - name: PaymentsAppliedPaymentsContactEmployeePaymentTerm - - value: payments,applied_payments,contact,payment_term - name: PaymentsAppliedPaymentsContactPaymentTerm - - value: payments,applied_payments,employee - name: PaymentsAppliedPaymentsEmployee - - value: payments,applied_payments,employee,accounting_period - name: PaymentsAppliedPaymentsEmployeeAccountingPeriod - - value: payments,applied_payments,employee,accounting_period,payment_term - name: PaymentsAppliedPaymentsEmployeeAccountingPeriodPaymentTerm - - value: payments,applied_payments,employee,payment_term - name: PaymentsAppliedPaymentsEmployeePaymentTerm - - value: payments,applied_payments,line_items - name: PaymentsAppliedPaymentsLineItems - - value: payments,applied_payments,line_items,accounting_period - name: PaymentsAppliedPaymentsLineItemsAccountingPeriod - - value: payments,applied_payments,line_items,accounting_period,payment_term - name: PaymentsAppliedPaymentsLineItemsAccountingPeriodPaymentTerm - - value: payments,applied_payments,line_items,applied_credit_notes - name: PaymentsAppliedPaymentsLineItemsAppliedCreditNotes - - value: >- - payments,applied_payments,line_items,applied_credit_notes,accounting_period - name: PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAccountingPeriod - - value: >- - payments,applied_payments,line_items,applied_credit_notes,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits - name: PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCredits - - value: >- - payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsAccountingPeriod - - value: >- - payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompany - - value: >- - payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployee - - value: >- - payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm - - value: >- - payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContact - - value: >- - payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod - - value: >- - payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompany - - value: >- - payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee - - value: >- - payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployee - - value: >- - payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm - - value: >- - payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsEmployee - - value: >- - payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsPaymentTerm - - value: payments,applied_payments,line_items,applied_credit_notes,company - name: PaymentsAppliedPaymentsLineItemsAppliedCreditNotesCompany - - value: >- - payments,applied_payments,line_items,applied_credit_notes,company,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesCompanyAccountingPeriod - - value: >- - payments,applied_payments,line_items,applied_credit_notes,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,applied_credit_notes,company,employee - name: PaymentsAppliedPaymentsLineItemsAppliedCreditNotesCompanyEmployee - - value: >- - payments,applied_payments,line_items,applied_credit_notes,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,applied_credit_notes,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,applied_credit_notes,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,applied_credit_notes,company,payment_term - name: PaymentsAppliedPaymentsLineItemsAppliedCreditNotesCompanyPaymentTerm - - value: payments,applied_payments,line_items,applied_credit_notes,contact - name: PaymentsAppliedPaymentsLineItemsAppliedCreditNotesContact - - value: >- - payments,applied_payments,line_items,applied_credit_notes,contact,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactAccountingPeriod - - value: >- - payments,applied_payments,line_items,applied_credit_notes,contact,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,applied_credit_notes,contact,company - name: PaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactCompany - - value: >- - payments,applied_payments,line_items,applied_credit_notes,contact,company,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactCompanyAccountingPeriod - - value: >- - payments,applied_payments,line_items,applied_credit_notes,contact,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,applied_credit_notes,contact,company,employee - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactCompanyEmployee - - value: >- - payments,applied_payments,line_items,applied_credit_notes,contact,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,applied_credit_notes,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,applied_credit_notes,contact,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,applied_credit_notes,contact,company,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactCompanyPaymentTerm - - value: >- - payments,applied_payments,line_items,applied_credit_notes,contact,employee - name: PaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactEmployee - - value: >- - payments,applied_payments,line_items,applied_credit_notes,contact,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,applied_credit_notes,contact,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,applied_credit_notes,contact,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,applied_credit_notes,contact,payment_term - name: PaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactPaymentTerm - - value: payments,applied_payments,line_items,applied_credit_notes,employee - name: PaymentsAppliedPaymentsLineItemsAppliedCreditNotesEmployee - - value: >- - payments,applied_payments,line_items,applied_credit_notes,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,applied_credit_notes,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,applied_credit_notes,employee,payment_term - name: PaymentsAppliedPaymentsLineItemsAppliedCreditNotesEmployeePaymentTerm - - value: payments,applied_payments,line_items,applied_credit_notes,payment_term - name: PaymentsAppliedPaymentsLineItemsAppliedCreditNotesPaymentTerm - - value: payments,applied_payments,line_items,applied_vendor_credits - name: PaymentsAppliedPaymentsLineItemsAppliedVendorCredits - - value: >- - payments,applied_payments,line_items,applied_vendor_credits,accounting_period - name: PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsAccountingPeriod - - value: >- - payments,applied_payments,line_items,applied_vendor_credits,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: payments,applied_payments,line_items,applied_vendor_credits,company - name: PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsCompany - - value: >- - payments,applied_payments,line_items,applied_vendor_credits,company,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - payments,applied_payments,line_items,applied_vendor_credits,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,applied_vendor_credits,company,employee - name: PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsCompanyEmployee - - value: >- - payments,applied_payments,line_items,applied_vendor_credits,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,applied_vendor_credits,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,applied_vendor_credits,company,payment_term - name: PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsCompanyPaymentTerm - - value: payments,applied_payments,line_items,applied_vendor_credits,contact - name: PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContact - - value: >- - payments,applied_payments,line_items,applied_vendor_credits,contact,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactAccountingPeriod - - value: >- - payments,applied_payments,line_items,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,applied_vendor_credits,contact,company - name: PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactCompany - - value: >- - payments,applied_payments,line_items,applied_vendor_credits,contact,company,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - payments,applied_payments,line_items,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,applied_vendor_credits,contact,company,employee - name: >- - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyEmployee - - value: >- - payments,applied_payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,applied_vendor_credits,contact,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,applied_vendor_credits,contact,company,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - payments,applied_payments,line_items,applied_vendor_credits,contact,employee - name: PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactEmployee - - value: >- - payments,applied_payments,line_items,applied_vendor_credits,contact,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,applied_vendor_credits,contact,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,applied_vendor_credits,contact,payment_term - name: PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactPaymentTerm - - value: payments,applied_payments,line_items,applied_vendor_credits,employee - name: PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsEmployee - - value: >- - payments,applied_payments,line_items,applied_vendor_credits,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,applied_vendor_credits,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,applied_vendor_credits,payment_term - name: PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsPaymentTerm - - value: payments,applied_payments,line_items,company - name: PaymentsAppliedPaymentsLineItemsCompany - - value: payments,applied_payments,line_items,company,accounting_period - name: PaymentsAppliedPaymentsLineItemsCompanyAccountingPeriod - - value: >- - payments,applied_payments,line_items,company,accounting_period,payment_term - name: PaymentsAppliedPaymentsLineItemsCompanyAccountingPeriodPaymentTerm - - value: payments,applied_payments,line_items,company,employee - name: PaymentsAppliedPaymentsLineItemsCompanyEmployee - - value: >- - payments,applied_payments,line_items,company,employee,accounting_period - name: PaymentsAppliedPaymentsLineItemsCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsCompanyEmployeeAccountingPeriodPaymentTerm - - value: payments,applied_payments,line_items,company,employee,payment_term - name: PaymentsAppliedPaymentsLineItemsCompanyEmployeePaymentTerm - - value: payments,applied_payments,line_items,company,payment_term - name: PaymentsAppliedPaymentsLineItemsCompanyPaymentTerm - - value: payments,applied_payments,line_items,contact - name: PaymentsAppliedPaymentsLineItemsContact - - value: payments,applied_payments,line_items,contact,accounting_period - name: PaymentsAppliedPaymentsLineItemsContactAccountingPeriod - - value: >- - payments,applied_payments,line_items,contact,accounting_period,payment_term - name: PaymentsAppliedPaymentsLineItemsContactAccountingPeriodPaymentTerm - - value: payments,applied_payments,line_items,contact,company - name: PaymentsAppliedPaymentsLineItemsContactCompany - - value: payments,applied_payments,line_items,contact,company,accounting_period - name: PaymentsAppliedPaymentsLineItemsContactCompanyAccountingPeriod - - value: >- - payments,applied_payments,line_items,contact,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsContactCompanyAccountingPeriodPaymentTerm - - value: payments,applied_payments,line_items,contact,company,employee - name: PaymentsAppliedPaymentsLineItemsContactCompanyEmployee - - value: >- - payments,applied_payments,line_items,contact,company,employee,accounting_period - name: PaymentsAppliedPaymentsLineItemsContactCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,contact,company,employee,payment_term - name: PaymentsAppliedPaymentsLineItemsContactCompanyEmployeePaymentTerm - - value: payments,applied_payments,line_items,contact,company,payment_term - name: PaymentsAppliedPaymentsLineItemsContactCompanyPaymentTerm - - value: payments,applied_payments,line_items,contact,employee - name: PaymentsAppliedPaymentsLineItemsContactEmployee - - value: >- - payments,applied_payments,line_items,contact,employee,accounting_period - name: PaymentsAppliedPaymentsLineItemsContactEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,contact,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsContactEmployeeAccountingPeriodPaymentTerm - - value: payments,applied_payments,line_items,contact,employee,payment_term - name: PaymentsAppliedPaymentsLineItemsContactEmployeePaymentTerm - - value: payments,applied_payments,line_items,contact,payment_term - name: PaymentsAppliedPaymentsLineItemsContactPaymentTerm - - value: payments,applied_payments,line_items,employee - name: PaymentsAppliedPaymentsLineItemsEmployee - - value: payments,applied_payments,line_items,employee,accounting_period - name: PaymentsAppliedPaymentsLineItemsEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,employee,accounting_period,payment_term - name: PaymentsAppliedPaymentsLineItemsEmployeeAccountingPeriodPaymentTerm - - value: payments,applied_payments,line_items,employee,payment_term - name: PaymentsAppliedPaymentsLineItemsEmployeePaymentTerm - - value: payments,applied_payments,line_items,payment_term - name: PaymentsAppliedPaymentsLineItemsPaymentTerm - - value: payments,applied_payments,line_items,purchase_orders - name: PaymentsAppliedPaymentsLineItemsPurchaseOrders - - value: payments,applied_payments,line_items,purchase_orders,accounting_period - name: PaymentsAppliedPaymentsLineItemsPurchaseOrdersAccountingPeriod - - value: >- - payments,applied_payments,line_items,purchase_orders,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes - name: PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotes - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAccountingPeriod - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCredits - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompany - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployee - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContact - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactAccountingPeriod - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompany - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployee - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactEmployee - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,employee - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesEmployee - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_vendor_credits - name: PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCredits - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsAccountingPeriod - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompany - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployee - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContact - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompany - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployee - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,employee - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsEmployee - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsPaymentTerm - - value: payments,applied_payments,line_items,purchase_orders,company - name: PaymentsAppliedPaymentsLineItemsPurchaseOrdersCompany - - value: >- - payments,applied_payments,line_items,purchase_orders,company,accounting_period - name: PaymentsAppliedPaymentsLineItemsPurchaseOrdersCompanyAccountingPeriod - - value: >- - payments,applied_payments,line_items,purchase_orders,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersCompanyAccountingPeriodPaymentTerm - - value: payments,applied_payments,line_items,purchase_orders,company,employee - name: PaymentsAppliedPaymentsLineItemsPurchaseOrdersCompanyEmployee - - value: >- - payments,applied_payments,line_items,purchase_orders,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,purchase_orders,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,company,payment_term - name: PaymentsAppliedPaymentsLineItemsPurchaseOrdersCompanyPaymentTerm - - value: payments,applied_payments,line_items,purchase_orders,contact - name: PaymentsAppliedPaymentsLineItemsPurchaseOrdersContact - - value: >- - payments,applied_payments,line_items,purchase_orders,contact,accounting_period - name: PaymentsAppliedPaymentsLineItemsPurchaseOrdersContactAccountingPeriod - - value: >- - payments,applied_payments,line_items,purchase_orders,contact,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersContactAccountingPeriodPaymentTerm - - value: payments,applied_payments,line_items,purchase_orders,contact,company - name: PaymentsAppliedPaymentsLineItemsPurchaseOrdersContactCompany - - value: >- - payments,applied_payments,line_items,purchase_orders,contact,company,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersContactCompanyAccountingPeriod - - value: >- - payments,applied_payments,line_items,purchase_orders,contact,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,contact,company,employee - name: PaymentsAppliedPaymentsLineItemsPurchaseOrdersContactCompanyEmployee - - value: >- - payments,applied_payments,line_items,purchase_orders,contact,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersContactCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,purchase_orders,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,contact,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersContactCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,contact,company,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersContactCompanyPaymentTerm - - value: payments,applied_payments,line_items,purchase_orders,contact,employee - name: PaymentsAppliedPaymentsLineItemsPurchaseOrdersContactEmployee - - value: >- - payments,applied_payments,line_items,purchase_orders,contact,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersContactEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,purchase_orders,contact,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,contact,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersContactEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,contact,payment_term - name: PaymentsAppliedPaymentsLineItemsPurchaseOrdersContactPaymentTerm - - value: payments,applied_payments,line_items,purchase_orders,employee - name: PaymentsAppliedPaymentsLineItemsPurchaseOrdersEmployee - - value: >- - payments,applied_payments,line_items,purchase_orders,employee,accounting_period - name: PaymentsAppliedPaymentsLineItemsPurchaseOrdersEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,purchase_orders,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,employee,payment_term - name: PaymentsAppliedPaymentsLineItemsPurchaseOrdersEmployeePaymentTerm - - value: payments,applied_payments,line_items,purchase_orders,payment_term - name: PaymentsAppliedPaymentsLineItemsPurchaseOrdersPaymentTerm - - value: payments,applied_payments,line_items,tracking_categories - name: PaymentsAppliedPaymentsLineItemsTrackingCategories - - value: >- - payments,applied_payments,line_items,tracking_categories,accounting_period - name: PaymentsAppliedPaymentsLineItemsTrackingCategoriesAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes - name: PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotes - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCredits - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompany - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployee - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContact - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompany - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployee - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployee - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompany - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployee - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContact - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompany - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployee - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactEmployee - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,employee - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesEmployee - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_vendor_credits - name: PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCredits - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompany - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployee - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContact - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompany - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployee - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployee - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,employee - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsEmployee - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsPaymentTerm - - value: payments,applied_payments,line_items,tracking_categories,company - name: PaymentsAppliedPaymentsLineItemsTrackingCategoriesCompany - - value: >- - payments,applied_payments,line_items,tracking_categories,company,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesCompanyAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,company,employee - name: PaymentsAppliedPaymentsLineItemsTrackingCategoriesCompanyEmployee - - value: >- - payments,applied_payments,line_items,tracking_categories,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,company,payment_term - name: PaymentsAppliedPaymentsLineItemsTrackingCategoriesCompanyPaymentTerm - - value: payments,applied_payments,line_items,tracking_categories,contact - name: PaymentsAppliedPaymentsLineItemsTrackingCategoriesContact - - value: >- - payments,applied_payments,line_items,tracking_categories,contact,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesContactAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,contact,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesContactAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,contact,company - name: PaymentsAppliedPaymentsLineItemsTrackingCategoriesContactCompany - - value: >- - payments,applied_payments,line_items,tracking_categories,contact,company,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesContactCompanyAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,contact,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,contact,company,employee - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesContactCompanyEmployee - - value: >- - payments,applied_payments,line_items,tracking_categories,contact,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesContactCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,contact,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesContactCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,contact,company,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesContactCompanyPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,contact,employee - name: PaymentsAppliedPaymentsLineItemsTrackingCategoriesContactEmployee - - value: >- - payments,applied_payments,line_items,tracking_categories,contact,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesContactEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,contact,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,contact,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesContactEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,contact,payment_term - name: PaymentsAppliedPaymentsLineItemsTrackingCategoriesContactPaymentTerm - - value: payments,applied_payments,line_items,tracking_categories,employee - name: PaymentsAppliedPaymentsLineItemsTrackingCategoriesEmployee - - value: >- - payments,applied_payments,line_items,tracking_categories,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,employee,payment_term - name: PaymentsAppliedPaymentsLineItemsTrackingCategoriesEmployeePaymentTerm - - value: payments,applied_payments,line_items,tracking_categories,payment_term - name: PaymentsAppliedPaymentsLineItemsTrackingCategoriesPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders - name: PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrders - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotes - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCredits - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompany - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployee - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContact - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompany - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployee - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployee - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployee - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCredits - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompany - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployee - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContact - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompany - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployee - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployee - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,company - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompany - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,company,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,company,employee - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployee - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,company,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,contact - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContact - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompany - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployee - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,employee - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactEmployee - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,employee - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersEmployee - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersPaymentTerm - - value: payments,applied_payments,payment_term - name: PaymentsAppliedPaymentsPaymentTerm - - value: payments,applied_payments,purchase_orders - name: PaymentsAppliedPaymentsPurchaseOrders - - value: payments,applied_payments,purchase_orders,accounting_period - name: PaymentsAppliedPaymentsPurchaseOrdersAccountingPeriod - - value: >- - payments,applied_payments,purchase_orders,accounting_period,payment_term - name: PaymentsAppliedPaymentsPurchaseOrdersAccountingPeriodPaymentTerm - - value: payments,applied_payments,purchase_orders,applied_credit_notes - name: PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotes - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,accounting_period - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAccountingPeriod - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCredits - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsPaymentTerm - - value: payments,applied_payments,purchase_orders,applied_credit_notes,company - name: PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesCompany - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,company,accounting_period - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,company,employee - name: PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyEmployee - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,company,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyPaymentTerm - - value: payments,applied_payments,purchase_orders,applied_credit_notes,contact - name: PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContact - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,contact,accounting_period - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactAccountingPeriod - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,contact,company - name: PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompany - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,accounting_period - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,employee - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyEmployee - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyPaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,contact,employee - name: PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactEmployee - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,contact,employee,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactEmployeePaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,contact,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactPaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,employee - name: PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesEmployee - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,employee,accounting_period - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,employee,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesEmployeePaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,payment_term - name: PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesPaymentTerm - - value: payments,applied_payments,purchase_orders,applied_vendor_credits - name: PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCredits - - value: >- - payments,applied_payments,purchase_orders,applied_vendor_credits,accounting_period - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsAccountingPeriod - - value: >- - payments,applied_payments,purchase_orders,applied_vendor_credits,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_vendor_credits,company - name: PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompany - - value: >- - payments,applied_payments,purchase_orders,applied_vendor_credits,company,accounting_period - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - payments,applied_payments,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_vendor_credits,company,employee - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyEmployee - - value: >- - payments,applied_payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_vendor_credits,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_vendor_credits,company,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyPaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_vendor_credits,contact - name: PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContact - - value: >- - payments,applied_payments,purchase_orders,applied_vendor_credits,contact,accounting_period - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod - - value: >- - payments,applied_payments,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompany - - value: >- - payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee - - value: >- - payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_vendor_credits,contact,employee - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactEmployee - - value: >- - payments,applied_payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - payments,applied_payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_vendor_credits,contact,employee,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_vendor_credits,contact,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactPaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_vendor_credits,employee - name: PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsEmployee - - value: >- - payments,applied_payments,purchase_orders,applied_vendor_credits,employee,accounting_period - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - payments,applied_payments,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_vendor_credits,employee,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsEmployeePaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_vendor_credits,payment_term - name: PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsPaymentTerm - - value: payments,applied_payments,purchase_orders,company - name: PaymentsAppliedPaymentsPurchaseOrdersCompany - - value: payments,applied_payments,purchase_orders,company,accounting_period - name: PaymentsAppliedPaymentsPurchaseOrdersCompanyAccountingPeriod - - value: >- - payments,applied_payments,purchase_orders,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersCompanyAccountingPeriodPaymentTerm - - value: payments,applied_payments,purchase_orders,company,employee - name: PaymentsAppliedPaymentsPurchaseOrdersCompanyEmployee - - value: >- - payments,applied_payments,purchase_orders,company,employee,accounting_period - name: PaymentsAppliedPaymentsPurchaseOrdersCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,purchase_orders,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,purchase_orders,company,employee,payment_term - name: PaymentsAppliedPaymentsPurchaseOrdersCompanyEmployeePaymentTerm - - value: payments,applied_payments,purchase_orders,company,payment_term - name: PaymentsAppliedPaymentsPurchaseOrdersCompanyPaymentTerm - - value: payments,applied_payments,purchase_orders,contact - name: PaymentsAppliedPaymentsPurchaseOrdersContact - - value: payments,applied_payments,purchase_orders,contact,accounting_period - name: PaymentsAppliedPaymentsPurchaseOrdersContactAccountingPeriod - - value: >- - payments,applied_payments,purchase_orders,contact,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersContactAccountingPeriodPaymentTerm - - value: payments,applied_payments,purchase_orders,contact,company - name: PaymentsAppliedPaymentsPurchaseOrdersContactCompany - - value: >- - payments,applied_payments,purchase_orders,contact,company,accounting_period - name: PaymentsAppliedPaymentsPurchaseOrdersContactCompanyAccountingPeriod - - value: >- - payments,applied_payments,purchase_orders,contact,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersContactCompanyAccountingPeriodPaymentTerm - - value: payments,applied_payments,purchase_orders,contact,company,employee - name: PaymentsAppliedPaymentsPurchaseOrdersContactCompanyEmployee - - value: >- - payments,applied_payments,purchase_orders,contact,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsPurchaseOrdersContactCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,purchase_orders,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,purchase_orders,contact,company,employee,payment_term - name: PaymentsAppliedPaymentsPurchaseOrdersContactCompanyEmployeePaymentTerm - - value: payments,applied_payments,purchase_orders,contact,company,payment_term - name: PaymentsAppliedPaymentsPurchaseOrdersContactCompanyPaymentTerm - - value: payments,applied_payments,purchase_orders,contact,employee - name: PaymentsAppliedPaymentsPurchaseOrdersContactEmployee - - value: >- - payments,applied_payments,purchase_orders,contact,employee,accounting_period - name: PaymentsAppliedPaymentsPurchaseOrdersContactEmployeeAccountingPeriod - - value: >- - payments,applied_payments,purchase_orders,contact,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,purchase_orders,contact,employee,payment_term - name: PaymentsAppliedPaymentsPurchaseOrdersContactEmployeePaymentTerm - - value: payments,applied_payments,purchase_orders,contact,payment_term - name: PaymentsAppliedPaymentsPurchaseOrdersContactPaymentTerm - - value: payments,applied_payments,purchase_orders,employee - name: PaymentsAppliedPaymentsPurchaseOrdersEmployee - - value: payments,applied_payments,purchase_orders,employee,accounting_period - name: PaymentsAppliedPaymentsPurchaseOrdersEmployeeAccountingPeriod - - value: >- - payments,applied_payments,purchase_orders,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersEmployeeAccountingPeriodPaymentTerm - - value: payments,applied_payments,purchase_orders,employee,payment_term - name: PaymentsAppliedPaymentsPurchaseOrdersEmployeePaymentTerm - - value: payments,applied_payments,purchase_orders,payment_term - name: PaymentsAppliedPaymentsPurchaseOrdersPaymentTerm - - value: payments,applied_payments,tracking_categories - name: PaymentsAppliedPaymentsTrackingCategories - - value: payments,applied_payments,tracking_categories,accounting_period - name: PaymentsAppliedPaymentsTrackingCategoriesAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,accounting_period,payment_term - name: PaymentsAppliedPaymentsTrackingCategoriesAccountingPeriodPaymentTerm - - value: payments,applied_payments,tracking_categories,applied_credit_notes - name: PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotes - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCredits - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompany - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployee - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContact - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompany - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployee - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployee - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,company - name: PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesCompany - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,company,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,company,employee - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyEmployee - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,company,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,contact - name: PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContact - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,contact,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,contact,company - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompany - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,employee - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyEmployee - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,contact,employee - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactEmployee - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,contact,employee,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactEmployeePaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,contact,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,employee - name: PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesEmployee - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,employee,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,employee,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesEmployeePaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,payment_term - name: PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesPaymentTerm - - value: payments,applied_payments,tracking_categories,applied_vendor_credits - name: PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCredits - - value: >- - payments,applied_payments,tracking_categories,applied_vendor_credits,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,applied_vendor_credits,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_vendor_credits,company - name: PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompany - - value: >- - payments,applied_payments,tracking_categories,applied_vendor_credits,company,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_vendor_credits,company,employee - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyEmployee - - value: >- - payments,applied_payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_vendor_credits,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_vendor_credits,company,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_vendor_credits,contact - name: PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContact - - value: >- - payments,applied_payments,tracking_categories,applied_vendor_credits,contact,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompany - - value: >- - payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployee - - value: >- - payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_vendor_credits,contact,employee - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactEmployee - - value: >- - payments,applied_payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_vendor_credits,contact,employee,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_vendor_credits,contact,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_vendor_credits,employee - name: PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsEmployee - - value: >- - payments,applied_payments,tracking_categories,applied_vendor_credits,employee,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_vendor_credits,employee,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsEmployeePaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_vendor_credits,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsPaymentTerm - - value: payments,applied_payments,tracking_categories,company - name: PaymentsAppliedPaymentsTrackingCategoriesCompany - - value: >- - payments,applied_payments,tracking_categories,company,accounting_period - name: PaymentsAppliedPaymentsTrackingCategoriesCompanyAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesCompanyAccountingPeriodPaymentTerm - - value: payments,applied_payments,tracking_categories,company,employee - name: PaymentsAppliedPaymentsTrackingCategoriesCompanyEmployee - - value: >- - payments,applied_payments,tracking_categories,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,company,employee,payment_term - name: PaymentsAppliedPaymentsTrackingCategoriesCompanyEmployeePaymentTerm - - value: payments,applied_payments,tracking_categories,company,payment_term - name: PaymentsAppliedPaymentsTrackingCategoriesCompanyPaymentTerm - - value: payments,applied_payments,tracking_categories,contact - name: PaymentsAppliedPaymentsTrackingCategoriesContact - - value: >- - payments,applied_payments,tracking_categories,contact,accounting_period - name: PaymentsAppliedPaymentsTrackingCategoriesContactAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,contact,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesContactAccountingPeriodPaymentTerm - - value: payments,applied_payments,tracking_categories,contact,company - name: PaymentsAppliedPaymentsTrackingCategoriesContactCompany - - value: >- - payments,applied_payments,tracking_categories,contact,company,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesContactCompanyAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,contact,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesContactCompanyAccountingPeriodPaymentTerm - - value: payments,applied_payments,tracking_categories,contact,company,employee - name: PaymentsAppliedPaymentsTrackingCategoriesContactCompanyEmployee - - value: >- - payments,applied_payments,tracking_categories,contact,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesContactCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,contact,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesContactCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,tracking_categories,contact,company,payment_term - name: PaymentsAppliedPaymentsTrackingCategoriesContactCompanyPaymentTerm - - value: payments,applied_payments,tracking_categories,contact,employee - name: PaymentsAppliedPaymentsTrackingCategoriesContactEmployee - - value: >- - payments,applied_payments,tracking_categories,contact,employee,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesContactEmployeeAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,contact,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,contact,employee,payment_term - name: PaymentsAppliedPaymentsTrackingCategoriesContactEmployeePaymentTerm - - value: payments,applied_payments,tracking_categories,contact,payment_term - name: PaymentsAppliedPaymentsTrackingCategoriesContactPaymentTerm - - value: payments,applied_payments,tracking_categories,employee - name: PaymentsAppliedPaymentsTrackingCategoriesEmployee - - value: >- - payments,applied_payments,tracking_categories,employee,accounting_period - name: PaymentsAppliedPaymentsTrackingCategoriesEmployeeAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesEmployeeAccountingPeriodPaymentTerm - - value: payments,applied_payments,tracking_categories,employee,payment_term - name: PaymentsAppliedPaymentsTrackingCategoriesEmployeePaymentTerm - - value: payments,applied_payments,tracking_categories,payment_term - name: PaymentsAppliedPaymentsTrackingCategoriesPaymentTerm - - value: payments,applied_payments,tracking_categories,purchase_orders - name: PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrders - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotes - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCredits - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompany - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployee - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContact - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompany - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployee - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployee - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeePaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployee - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeePaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCredits - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompany - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployee - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContact - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompany - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployee - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployee - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeePaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsPaymentTerm - - value: payments,applied_payments,tracking_categories,purchase_orders,company - name: PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersCompany - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,company,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,company,employee - name: PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyEmployee - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,company,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyPaymentTerm - - value: payments,applied_payments,tracking_categories,purchase_orders,contact - name: PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContact - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,contact,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,contact,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,contact,company - name: PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompany - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,contact,company,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,contact,company,employee - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyEmployee - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,contact,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,contact,company,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,contact,employee - name: PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactEmployee - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,contact,employee,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,contact,employee,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactEmployeePaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,contact,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactPaymentTerm - - value: payments,applied_payments,tracking_categories,purchase_orders,employee - name: PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersEmployee - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,employee,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,employee,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersEmployeePaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,payment_term - name: PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersPaymentTerm - - value: payments,applied_vendor_credits - name: PaymentsAppliedVendorCredits - - value: payments,applied_vendor_credits,accounting_period - name: PaymentsAppliedVendorCreditsAccountingPeriod - - value: payments,applied_vendor_credits,accounting_period,payment_term - name: PaymentsAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: payments,applied_vendor_credits,company - name: PaymentsAppliedVendorCreditsCompany - - value: payments,applied_vendor_credits,company,accounting_period - name: PaymentsAppliedVendorCreditsCompanyAccountingPeriod - - value: payments,applied_vendor_credits,company,accounting_period,payment_term - name: PaymentsAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: payments,applied_vendor_credits,company,employee - name: PaymentsAppliedVendorCreditsCompanyEmployee - - value: payments,applied_vendor_credits,company,employee,accounting_period - name: PaymentsAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_vendor_credits,company,employee,accounting_period,payment_term - name: PaymentsAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: payments,applied_vendor_credits,company,employee,payment_term - name: PaymentsAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: payments,applied_vendor_credits,company,payment_term - name: PaymentsAppliedVendorCreditsCompanyPaymentTerm - - value: payments,applied_vendor_credits,contact - name: PaymentsAppliedVendorCreditsContact - - value: payments,applied_vendor_credits,contact,accounting_period - name: PaymentsAppliedVendorCreditsContactAccountingPeriod - - value: payments,applied_vendor_credits,contact,accounting_period,payment_term - name: PaymentsAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: payments,applied_vendor_credits,contact,company - name: PaymentsAppliedVendorCreditsContactCompany - - value: payments,applied_vendor_credits,contact,company,accounting_period - name: PaymentsAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - payments,applied_vendor_credits,contact,company,accounting_period,payment_term - name: PaymentsAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: payments,applied_vendor_credits,contact,company,employee - name: PaymentsAppliedVendorCreditsContactCompanyEmployee - - value: >- - payments,applied_vendor_credits,contact,company,employee,accounting_period - name: PaymentsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: payments,applied_vendor_credits,contact,company,employee,payment_term - name: PaymentsAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: payments,applied_vendor_credits,contact,company,payment_term - name: PaymentsAppliedVendorCreditsContactCompanyPaymentTerm - - value: payments,applied_vendor_credits,contact,employee - name: PaymentsAppliedVendorCreditsContactEmployee - - value: payments,applied_vendor_credits,contact,employee,accounting_period - name: PaymentsAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - payments,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: PaymentsAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: payments,applied_vendor_credits,contact,employee,payment_term - name: PaymentsAppliedVendorCreditsContactEmployeePaymentTerm - - value: payments,applied_vendor_credits,contact,payment_term - name: PaymentsAppliedVendorCreditsContactPaymentTerm - - value: payments,applied_vendor_credits,employee - name: PaymentsAppliedVendorCreditsEmployee - - value: payments,applied_vendor_credits,employee,accounting_period - name: PaymentsAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - payments,applied_vendor_credits,employee,accounting_period,payment_term - name: PaymentsAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: payments,applied_vendor_credits,employee,payment_term - name: PaymentsAppliedVendorCreditsEmployeePaymentTerm - - value: payments,applied_vendor_credits,payment_term - name: PaymentsAppliedVendorCreditsPaymentTerm - - value: payments,company - name: PaymentsCompany - - value: payments,company,accounting_period - name: PaymentsCompanyAccountingPeriod - - value: payments,company,accounting_period,payment_term - name: PaymentsCompanyAccountingPeriodPaymentTerm - - value: payments,company,employee - name: PaymentsCompanyEmployee - - value: payments,company,employee,accounting_period - name: PaymentsCompanyEmployeeAccountingPeriod - - value: payments,company,employee,accounting_period,payment_term - name: PaymentsCompanyEmployeeAccountingPeriodPaymentTerm - - value: payments,company,employee,payment_term - name: PaymentsCompanyEmployeePaymentTerm - - value: payments,company,payment_term - name: PaymentsCompanyPaymentTerm - - value: payments,contact - name: PaymentsContact - - value: payments,contact,accounting_period - name: PaymentsContactAccountingPeriod - - value: payments,contact,accounting_period,payment_term - name: PaymentsContactAccountingPeriodPaymentTerm - - value: payments,contact,company - name: PaymentsContactCompany - - value: payments,contact,company,accounting_period - name: PaymentsContactCompanyAccountingPeriod - - value: payments,contact,company,accounting_period,payment_term - name: PaymentsContactCompanyAccountingPeriodPaymentTerm - - value: payments,contact,company,employee - name: PaymentsContactCompanyEmployee - - value: payments,contact,company,employee,accounting_period - name: PaymentsContactCompanyEmployeeAccountingPeriod - - value: payments,contact,company,employee,accounting_period,payment_term - name: PaymentsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: payments,contact,company,employee,payment_term - name: PaymentsContactCompanyEmployeePaymentTerm - - value: payments,contact,company,payment_term - name: PaymentsContactCompanyPaymentTerm - - value: payments,contact,employee - name: PaymentsContactEmployee - - value: payments,contact,employee,accounting_period - name: PaymentsContactEmployeeAccountingPeriod - - value: payments,contact,employee,accounting_period,payment_term - name: PaymentsContactEmployeeAccountingPeriodPaymentTerm - - value: payments,contact,employee,payment_term - name: PaymentsContactEmployeePaymentTerm - - value: payments,contact,payment_term - name: PaymentsContactPaymentTerm - - value: payments,employee - name: PaymentsEmployee - - value: payments,employee,accounting_period - name: PaymentsEmployeeAccountingPeriod - - value: payments,employee,accounting_period,payment_term - name: PaymentsEmployeeAccountingPeriodPaymentTerm - - value: payments,employee,payment_term - name: PaymentsEmployeePaymentTerm - - value: payments,line_items - name: PaymentsLineItems - - value: payments,line_items,accounting_period - name: PaymentsLineItemsAccountingPeriod - - value: payments,line_items,accounting_period,payment_term - name: PaymentsLineItemsAccountingPeriodPaymentTerm - - value: payments,line_items,applied_credit_notes - name: PaymentsLineItemsAppliedCreditNotes - - value: payments,line_items,applied_credit_notes,accounting_period - name: PaymentsLineItemsAppliedCreditNotesAccountingPeriod - - value: >- - payments,line_items,applied_credit_notes,accounting_period,payment_term - name: PaymentsLineItemsAppliedCreditNotesAccountingPeriodPaymentTerm - - value: payments,line_items,applied_credit_notes,applied_vendor_credits - name: PaymentsLineItemsAppliedCreditNotesAppliedVendorCredits - - value: >- - payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period - name: >- - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsAccountingPeriod - - value: >- - payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term - name: >- - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - payments,line_items,applied_credit_notes,applied_vendor_credits,company - name: PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompany - - value: >- - payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period - name: >- - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term - name: >- - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee - name: PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployee - - value: >- - payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period - name: >- - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,payment_term - name: >- - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - payments,line_items,applied_credit_notes,applied_vendor_credits,company,payment_term - name: >- - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm - - value: >- - payments,line_items,applied_credit_notes,applied_vendor_credits,contact - name: PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContact - - value: >- - payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period - name: >- - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod - - value: >- - payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company - name: PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompany - - value: >- - payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period - name: >- - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee - name: >- - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee - - value: >- - payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term - name: >- - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,payment_term - name: >- - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee - name: PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployee - - value: >- - payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period - name: >- - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term - name: >- - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - payments,line_items,applied_credit_notes,applied_vendor_credits,contact,payment_term - name: >- - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm - - value: >- - payments,line_items,applied_credit_notes,applied_vendor_credits,employee - name: PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsEmployee - - value: >- - payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period - name: >- - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,applied_credit_notes,applied_vendor_credits,employee,payment_term - name: >- - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm - - value: >- - payments,line_items,applied_credit_notes,applied_vendor_credits,payment_term - name: PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsPaymentTerm - - value: payments,line_items,applied_credit_notes,company - name: PaymentsLineItemsAppliedCreditNotesCompany - - value: payments,line_items,applied_credit_notes,company,accounting_period - name: PaymentsLineItemsAppliedCreditNotesCompanyAccountingPeriod - - value: >- - payments,line_items,applied_credit_notes,company,accounting_period,payment_term - name: PaymentsLineItemsAppliedCreditNotesCompanyAccountingPeriodPaymentTerm - - value: payments,line_items,applied_credit_notes,company,employee - name: PaymentsLineItemsAppliedCreditNotesCompanyEmployee - - value: >- - payments,line_items,applied_credit_notes,company,employee,accounting_period - name: PaymentsLineItemsAppliedCreditNotesCompanyEmployeeAccountingPeriod - - value: >- - payments,line_items,applied_credit_notes,company,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm - - value: payments,line_items,applied_credit_notes,company,employee,payment_term - name: PaymentsLineItemsAppliedCreditNotesCompanyEmployeePaymentTerm - - value: payments,line_items,applied_credit_notes,company,payment_term - name: PaymentsLineItemsAppliedCreditNotesCompanyPaymentTerm - - value: payments,line_items,applied_credit_notes,contact - name: PaymentsLineItemsAppliedCreditNotesContact - - value: payments,line_items,applied_credit_notes,contact,accounting_period - name: PaymentsLineItemsAppliedCreditNotesContactAccountingPeriod - - value: >- - payments,line_items,applied_credit_notes,contact,accounting_period,payment_term - name: PaymentsLineItemsAppliedCreditNotesContactAccountingPeriodPaymentTerm - - value: payments,line_items,applied_credit_notes,contact,company - name: PaymentsLineItemsAppliedCreditNotesContactCompany - - value: >- - payments,line_items,applied_credit_notes,contact,company,accounting_period - name: PaymentsLineItemsAppliedCreditNotesContactCompanyAccountingPeriod - - value: >- - payments,line_items,applied_credit_notes,contact,company,accounting_period,payment_term - name: >- - PaymentsLineItemsAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm - - value: payments,line_items,applied_credit_notes,contact,company,employee - name: PaymentsLineItemsAppliedCreditNotesContactCompanyEmployee - - value: >- - payments,line_items,applied_credit_notes,contact,company,employee,accounting_period - name: >- - PaymentsLineItemsAppliedCreditNotesContactCompanyEmployeeAccountingPeriod - - value: >- - payments,line_items,applied_credit_notes,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,applied_credit_notes,contact,company,employee,payment_term - name: PaymentsLineItemsAppliedCreditNotesContactCompanyEmployeePaymentTerm - - value: payments,line_items,applied_credit_notes,contact,company,payment_term - name: PaymentsLineItemsAppliedCreditNotesContactCompanyPaymentTerm - - value: payments,line_items,applied_credit_notes,contact,employee - name: PaymentsLineItemsAppliedCreditNotesContactEmployee - - value: >- - payments,line_items,applied_credit_notes,contact,employee,accounting_period - name: PaymentsLineItemsAppliedCreditNotesContactEmployeeAccountingPeriod - - value: >- - payments,line_items,applied_credit_notes,contact,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm - - value: payments,line_items,applied_credit_notes,contact,employee,payment_term - name: PaymentsLineItemsAppliedCreditNotesContactEmployeePaymentTerm - - value: payments,line_items,applied_credit_notes,contact,payment_term - name: PaymentsLineItemsAppliedCreditNotesContactPaymentTerm - - value: payments,line_items,applied_credit_notes,employee - name: PaymentsLineItemsAppliedCreditNotesEmployee - - value: payments,line_items,applied_credit_notes,employee,accounting_period - name: PaymentsLineItemsAppliedCreditNotesEmployeeAccountingPeriod - - value: >- - payments,line_items,applied_credit_notes,employee,accounting_period,payment_term - name: PaymentsLineItemsAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm - - value: payments,line_items,applied_credit_notes,employee,payment_term - name: PaymentsLineItemsAppliedCreditNotesEmployeePaymentTerm - - value: payments,line_items,applied_credit_notes,payment_term - name: PaymentsLineItemsAppliedCreditNotesPaymentTerm - - value: payments,line_items,applied_vendor_credits - name: PaymentsLineItemsAppliedVendorCredits - - value: payments,line_items,applied_vendor_credits,accounting_period - name: PaymentsLineItemsAppliedVendorCreditsAccountingPeriod - - value: >- - payments,line_items,applied_vendor_credits,accounting_period,payment_term - name: PaymentsLineItemsAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: payments,line_items,applied_vendor_credits,company - name: PaymentsLineItemsAppliedVendorCreditsCompany - - value: payments,line_items,applied_vendor_credits,company,accounting_period - name: PaymentsLineItemsAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - payments,line_items,applied_vendor_credits,company,accounting_period,payment_term - name: >- - PaymentsLineItemsAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: payments,line_items,applied_vendor_credits,company,employee - name: PaymentsLineItemsAppliedVendorCreditsCompanyEmployee - - value: >- - payments,line_items,applied_vendor_credits,company,employee,accounting_period - name: PaymentsLineItemsAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - payments,line_items,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,applied_vendor_credits,company,employee,payment_term - name: PaymentsLineItemsAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: payments,line_items,applied_vendor_credits,company,payment_term - name: PaymentsLineItemsAppliedVendorCreditsCompanyPaymentTerm - - value: payments,line_items,applied_vendor_credits,contact - name: PaymentsLineItemsAppliedVendorCreditsContact - - value: payments,line_items,applied_vendor_credits,contact,accounting_period - name: PaymentsLineItemsAppliedVendorCreditsContactAccountingPeriod - - value: >- - payments,line_items,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - PaymentsLineItemsAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: payments,line_items,applied_vendor_credits,contact,company - name: PaymentsLineItemsAppliedVendorCreditsContactCompany - - value: >- - payments,line_items,applied_vendor_credits,contact,company,accounting_period - name: PaymentsLineItemsAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - payments,line_items,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - PaymentsLineItemsAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: payments,line_items,applied_vendor_credits,contact,company,employee - name: PaymentsLineItemsAppliedVendorCreditsContactCompanyEmployee - - value: >- - payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - PaymentsLineItemsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,applied_vendor_credits,contact,company,employee,payment_term - name: PaymentsLineItemsAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - payments,line_items,applied_vendor_credits,contact,company,payment_term - name: PaymentsLineItemsAppliedVendorCreditsContactCompanyPaymentTerm - - value: payments,line_items,applied_vendor_credits,contact,employee - name: PaymentsLineItemsAppliedVendorCreditsContactEmployee - - value: >- - payments,line_items,applied_vendor_credits,contact,employee,accounting_period - name: PaymentsLineItemsAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - payments,line_items,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,applied_vendor_credits,contact,employee,payment_term - name: PaymentsLineItemsAppliedVendorCreditsContactEmployeePaymentTerm - - value: payments,line_items,applied_vendor_credits,contact,payment_term - name: PaymentsLineItemsAppliedVendorCreditsContactPaymentTerm - - value: payments,line_items,applied_vendor_credits,employee - name: PaymentsLineItemsAppliedVendorCreditsEmployee - - value: payments,line_items,applied_vendor_credits,employee,accounting_period - name: PaymentsLineItemsAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - payments,line_items,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: payments,line_items,applied_vendor_credits,employee,payment_term - name: PaymentsLineItemsAppliedVendorCreditsEmployeePaymentTerm - - value: payments,line_items,applied_vendor_credits,payment_term - name: PaymentsLineItemsAppliedVendorCreditsPaymentTerm - - value: payments,line_items,company - name: PaymentsLineItemsCompany - - value: payments,line_items,company,accounting_period - name: PaymentsLineItemsCompanyAccountingPeriod - - value: payments,line_items,company,accounting_period,payment_term - name: PaymentsLineItemsCompanyAccountingPeriodPaymentTerm - - value: payments,line_items,company,employee - name: PaymentsLineItemsCompanyEmployee - - value: payments,line_items,company,employee,accounting_period - name: PaymentsLineItemsCompanyEmployeeAccountingPeriod - - value: payments,line_items,company,employee,accounting_period,payment_term - name: PaymentsLineItemsCompanyEmployeeAccountingPeriodPaymentTerm - - value: payments,line_items,company,employee,payment_term - name: PaymentsLineItemsCompanyEmployeePaymentTerm - - value: payments,line_items,company,payment_term - name: PaymentsLineItemsCompanyPaymentTerm - - value: payments,line_items,contact - name: PaymentsLineItemsContact - - value: payments,line_items,contact,accounting_period - name: PaymentsLineItemsContactAccountingPeriod - - value: payments,line_items,contact,accounting_period,payment_term - name: PaymentsLineItemsContactAccountingPeriodPaymentTerm - - value: payments,line_items,contact,company - name: PaymentsLineItemsContactCompany - - value: payments,line_items,contact,company,accounting_period - name: PaymentsLineItemsContactCompanyAccountingPeriod - - value: payments,line_items,contact,company,accounting_period,payment_term - name: PaymentsLineItemsContactCompanyAccountingPeriodPaymentTerm - - value: payments,line_items,contact,company,employee - name: PaymentsLineItemsContactCompanyEmployee - - value: payments,line_items,contact,company,employee,accounting_period - name: PaymentsLineItemsContactCompanyEmployeeAccountingPeriod - - value: >- - payments,line_items,contact,company,employee,accounting_period,payment_term - name: PaymentsLineItemsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: payments,line_items,contact,company,employee,payment_term - name: PaymentsLineItemsContactCompanyEmployeePaymentTerm - - value: payments,line_items,contact,company,payment_term - name: PaymentsLineItemsContactCompanyPaymentTerm - - value: payments,line_items,contact,employee - name: PaymentsLineItemsContactEmployee - - value: payments,line_items,contact,employee,accounting_period - name: PaymentsLineItemsContactEmployeeAccountingPeriod - - value: payments,line_items,contact,employee,accounting_period,payment_term - name: PaymentsLineItemsContactEmployeeAccountingPeriodPaymentTerm - - value: payments,line_items,contact,employee,payment_term - name: PaymentsLineItemsContactEmployeePaymentTerm - - value: payments,line_items,contact,payment_term - name: PaymentsLineItemsContactPaymentTerm - - value: payments,line_items,employee - name: PaymentsLineItemsEmployee - - value: payments,line_items,employee,accounting_period - name: PaymentsLineItemsEmployeeAccountingPeriod - - value: payments,line_items,employee,accounting_period,payment_term - name: PaymentsLineItemsEmployeeAccountingPeriodPaymentTerm - - value: payments,line_items,employee,payment_term - name: PaymentsLineItemsEmployeePaymentTerm - - value: payments,line_items,payment_term - name: PaymentsLineItemsPaymentTerm - - value: payments,line_items,purchase_orders - name: PaymentsLineItemsPurchaseOrders - - value: payments,line_items,purchase_orders,accounting_period - name: PaymentsLineItemsPurchaseOrdersAccountingPeriod - - value: payments,line_items,purchase_orders,accounting_period,payment_term - name: PaymentsLineItemsPurchaseOrdersAccountingPeriodPaymentTerm - - value: payments,line_items,purchase_orders,applied_credit_notes - name: PaymentsLineItemsPurchaseOrdersAppliedCreditNotes - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,accounting_period - name: PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAccountingPeriod - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,accounting_period,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAccountingPeriodPaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits - name: PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCredits - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsPaymentTerm - - value: payments,line_items,purchase_orders,applied_credit_notes,company - name: PaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompany - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriodPaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,company,employee - name: PaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployee - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,company,employee,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployeePaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,company,payment_term - name: PaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyPaymentTerm - - value: payments,line_items,purchase_orders,applied_credit_notes,contact - name: PaymentsLineItemsPurchaseOrdersAppliedCreditNotesContact - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactAccountingPeriod - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactAccountingPeriodPaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,contact,company - name: PaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompany - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployee - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeePaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,contact,company,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyPaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,contact,employee - name: PaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactEmployee - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,contact,employee,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactEmployeePaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,contact,payment_term - name: PaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactPaymentTerm - - value: payments,line_items,purchase_orders,applied_credit_notes,employee - name: PaymentsLineItemsPurchaseOrdersAppliedCreditNotesEmployee - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,employee,payment_term - name: PaymentsLineItemsPurchaseOrdersAppliedCreditNotesEmployeePaymentTerm - - value: payments,line_items,purchase_orders,applied_credit_notes,payment_term - name: PaymentsLineItemsPurchaseOrdersAppliedCreditNotesPaymentTerm - - value: payments,line_items,purchase_orders,applied_vendor_credits - name: PaymentsLineItemsPurchaseOrdersAppliedVendorCredits - - value: >- - payments,line_items,purchase_orders,applied_vendor_credits,accounting_period - name: PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsAccountingPeriod - - value: >- - payments,line_items,purchase_orders,applied_vendor_credits,accounting_period,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: payments,line_items,purchase_orders,applied_vendor_credits,company - name: PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompany - - value: >- - payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period - name: >- - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_vendor_credits,company,employee - name: PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployee - - value: >- - payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period - name: >- - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_vendor_credits,company,employee,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_vendor_credits,company,payment_term - name: PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyPaymentTerm - - value: payments,line_items,purchase_orders,applied_vendor_credits,contact - name: PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContact - - value: >- - payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period - name: >- - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod - - value: >- - payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_vendor_credits,contact,company - name: PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompany - - value: >- - payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period - name: >- - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee - name: >- - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee - - value: >- - payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_vendor_credits,contact,company,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_vendor_credits,contact,employee - name: PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployee - - value: >- - payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period - name: >- - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_vendor_credits,contact,payment_term - name: PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactPaymentTerm - - value: payments,line_items,purchase_orders,applied_vendor_credits,employee - name: PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsEmployee - - value: >- - payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period - name: >- - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_vendor_credits,employee,payment_term - name: PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsEmployeePaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_vendor_credits,payment_term - name: PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsPaymentTerm - - value: payments,line_items,purchase_orders,company - name: PaymentsLineItemsPurchaseOrdersCompany - - value: payments,line_items,purchase_orders,company,accounting_period - name: PaymentsLineItemsPurchaseOrdersCompanyAccountingPeriod - - value: >- - payments,line_items,purchase_orders,company,accounting_period,payment_term - name: PaymentsLineItemsPurchaseOrdersCompanyAccountingPeriodPaymentTerm - - value: payments,line_items,purchase_orders,company,employee - name: PaymentsLineItemsPurchaseOrdersCompanyEmployee - - value: payments,line_items,purchase_orders,company,employee,accounting_period - name: PaymentsLineItemsPurchaseOrdersCompanyEmployeeAccountingPeriod - - value: >- - payments,line_items,purchase_orders,company,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersCompanyEmployeeAccountingPeriodPaymentTerm - - value: payments,line_items,purchase_orders,company,employee,payment_term - name: PaymentsLineItemsPurchaseOrdersCompanyEmployeePaymentTerm - - value: payments,line_items,purchase_orders,company,payment_term - name: PaymentsLineItemsPurchaseOrdersCompanyPaymentTerm - - value: payments,line_items,purchase_orders,contact - name: PaymentsLineItemsPurchaseOrdersContact - - value: payments,line_items,purchase_orders,contact,accounting_period - name: PaymentsLineItemsPurchaseOrdersContactAccountingPeriod - - value: >- - payments,line_items,purchase_orders,contact,accounting_period,payment_term - name: PaymentsLineItemsPurchaseOrdersContactAccountingPeriodPaymentTerm - - value: payments,line_items,purchase_orders,contact,company - name: PaymentsLineItemsPurchaseOrdersContactCompany - - value: payments,line_items,purchase_orders,contact,company,accounting_period - name: PaymentsLineItemsPurchaseOrdersContactCompanyAccountingPeriod - - value: >- - payments,line_items,purchase_orders,contact,company,accounting_period,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersContactCompanyAccountingPeriodPaymentTerm - - value: payments,line_items,purchase_orders,contact,company,employee - name: PaymentsLineItemsPurchaseOrdersContactCompanyEmployee - - value: >- - payments,line_items,purchase_orders,contact,company,employee,accounting_period - name: PaymentsLineItemsPurchaseOrdersContactCompanyEmployeeAccountingPeriod - - value: >- - payments,line_items,purchase_orders,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,purchase_orders,contact,company,employee,payment_term - name: PaymentsLineItemsPurchaseOrdersContactCompanyEmployeePaymentTerm - - value: payments,line_items,purchase_orders,contact,company,payment_term - name: PaymentsLineItemsPurchaseOrdersContactCompanyPaymentTerm - - value: payments,line_items,purchase_orders,contact,employee - name: PaymentsLineItemsPurchaseOrdersContactEmployee - - value: payments,line_items,purchase_orders,contact,employee,accounting_period - name: PaymentsLineItemsPurchaseOrdersContactEmployeeAccountingPeriod - - value: >- - payments,line_items,purchase_orders,contact,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersContactEmployeeAccountingPeriodPaymentTerm - - value: payments,line_items,purchase_orders,contact,employee,payment_term - name: PaymentsLineItemsPurchaseOrdersContactEmployeePaymentTerm - - value: payments,line_items,purchase_orders,contact,payment_term - name: PaymentsLineItemsPurchaseOrdersContactPaymentTerm - - value: payments,line_items,purchase_orders,employee - name: PaymentsLineItemsPurchaseOrdersEmployee - - value: payments,line_items,purchase_orders,employee,accounting_period - name: PaymentsLineItemsPurchaseOrdersEmployeeAccountingPeriod - - value: >- - payments,line_items,purchase_orders,employee,accounting_period,payment_term - name: PaymentsLineItemsPurchaseOrdersEmployeeAccountingPeriodPaymentTerm - - value: payments,line_items,purchase_orders,employee,payment_term - name: PaymentsLineItemsPurchaseOrdersEmployeePaymentTerm - - value: payments,line_items,purchase_orders,payment_term - name: PaymentsLineItemsPurchaseOrdersPaymentTerm - - value: payments,line_items,tracking_categories - name: PaymentsLineItemsTrackingCategories - - value: payments,line_items,tracking_categories,accounting_period - name: PaymentsLineItemsTrackingCategoriesAccountingPeriod - - value: payments,line_items,tracking_categories,accounting_period,payment_term - name: PaymentsLineItemsTrackingCategoriesAccountingPeriodPaymentTerm - - value: payments,line_items,tracking_categories,applied_credit_notes - name: PaymentsLineItemsTrackingCategoriesAppliedCreditNotes - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,accounting_period - name: PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAccountingPeriod - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCredits - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriod - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompany - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployee - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContact - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompany - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployee - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployee - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsPaymentTerm - - value: payments,line_items,tracking_categories,applied_credit_notes,company - name: PaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompany - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriod - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,company,employee - name: PaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployee - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriod - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,company,employee,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployeePaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,company,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyPaymentTerm - - value: payments,line_items,tracking_categories,applied_credit_notes,contact - name: PaymentsLineItemsTrackingCategoriesAppliedCreditNotesContact - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactAccountingPeriod - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,contact,company - name: PaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompany - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriod - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployee - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriod - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeePaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,contact,company,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyPaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,contact,employee - name: PaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactEmployee - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriod - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,contact,employee,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactEmployeePaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,contact,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactPaymentTerm - - value: payments,line_items,tracking_categories,applied_credit_notes,employee - name: PaymentsLineItemsTrackingCategoriesAppliedCreditNotesEmployee - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriod - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,employee,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesEmployeePaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,payment_term - name: PaymentsLineItemsTrackingCategoriesAppliedCreditNotesPaymentTerm - - value: payments,line_items,tracking_categories,applied_vendor_credits - name: PaymentsLineItemsTrackingCategoriesAppliedVendorCredits - - value: >- - payments,line_items,tracking_categories,applied_vendor_credits,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsAccountingPeriod - - value: >- - payments,line_items,tracking_categories,applied_vendor_credits,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: payments,line_items,tracking_categories,applied_vendor_credits,company - name: PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompany - - value: >- - payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_vendor_credits,company,employee - name: PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployee - - value: >- - payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_vendor_credits,company,employee,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_vendor_credits,company,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyPaymentTerm - - value: payments,line_items,tracking_categories,applied_vendor_credits,contact - name: PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContact - - value: >- - payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriod - - value: >- - payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_vendor_credits,contact,company - name: PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompany - - value: >- - payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee - name: >- - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployee - - value: >- - payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_vendor_credits,contact,company,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_vendor_credits,contact,employee - name: PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployee - - value: >- - payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_vendor_credits,contact,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactPaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_vendor_credits,employee - name: PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsEmployee - - value: >- - payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_vendor_credits,employee,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsEmployeePaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_vendor_credits,payment_term - name: PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsPaymentTerm - - value: payments,line_items,tracking_categories,company - name: PaymentsLineItemsTrackingCategoriesCompany - - value: payments,line_items,tracking_categories,company,accounting_period - name: PaymentsLineItemsTrackingCategoriesCompanyAccountingPeriod - - value: >- - payments,line_items,tracking_categories,company,accounting_period,payment_term - name: PaymentsLineItemsTrackingCategoriesCompanyAccountingPeriodPaymentTerm - - value: payments,line_items,tracking_categories,company,employee - name: PaymentsLineItemsTrackingCategoriesCompanyEmployee - - value: >- - payments,line_items,tracking_categories,company,employee,accounting_period - name: PaymentsLineItemsTrackingCategoriesCompanyEmployeeAccountingPeriod - - value: >- - payments,line_items,tracking_categories,company,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesCompanyEmployeeAccountingPeriodPaymentTerm - - value: payments,line_items,tracking_categories,company,employee,payment_term - name: PaymentsLineItemsTrackingCategoriesCompanyEmployeePaymentTerm - - value: payments,line_items,tracking_categories,company,payment_term - name: PaymentsLineItemsTrackingCategoriesCompanyPaymentTerm - - value: payments,line_items,tracking_categories,contact - name: PaymentsLineItemsTrackingCategoriesContact - - value: payments,line_items,tracking_categories,contact,accounting_period - name: PaymentsLineItemsTrackingCategoriesContactAccountingPeriod - - value: >- - payments,line_items,tracking_categories,contact,accounting_period,payment_term - name: PaymentsLineItemsTrackingCategoriesContactAccountingPeriodPaymentTerm - - value: payments,line_items,tracking_categories,contact,company - name: PaymentsLineItemsTrackingCategoriesContactCompany - - value: >- - payments,line_items,tracking_categories,contact,company,accounting_period - name: PaymentsLineItemsTrackingCategoriesContactCompanyAccountingPeriod - - value: >- - payments,line_items,tracking_categories,contact,company,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesContactCompanyAccountingPeriodPaymentTerm - - value: payments,line_items,tracking_categories,contact,company,employee - name: PaymentsLineItemsTrackingCategoriesContactCompanyEmployee - - value: >- - payments,line_items,tracking_categories,contact,company,employee,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesContactCompanyEmployeeAccountingPeriod - - value: >- - payments,line_items,tracking_categories,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,contact,company,employee,payment_term - name: PaymentsLineItemsTrackingCategoriesContactCompanyEmployeePaymentTerm - - value: payments,line_items,tracking_categories,contact,company,payment_term - name: PaymentsLineItemsTrackingCategoriesContactCompanyPaymentTerm - - value: payments,line_items,tracking_categories,contact,employee - name: PaymentsLineItemsTrackingCategoriesContactEmployee - - value: >- - payments,line_items,tracking_categories,contact,employee,accounting_period - name: PaymentsLineItemsTrackingCategoriesContactEmployeeAccountingPeriod - - value: >- - payments,line_items,tracking_categories,contact,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesContactEmployeeAccountingPeriodPaymentTerm - - value: payments,line_items,tracking_categories,contact,employee,payment_term - name: PaymentsLineItemsTrackingCategoriesContactEmployeePaymentTerm - - value: payments,line_items,tracking_categories,contact,payment_term - name: PaymentsLineItemsTrackingCategoriesContactPaymentTerm - - value: payments,line_items,tracking_categories,employee - name: PaymentsLineItemsTrackingCategoriesEmployee - - value: payments,line_items,tracking_categories,employee,accounting_period - name: PaymentsLineItemsTrackingCategoriesEmployeeAccountingPeriod - - value: >- - payments,line_items,tracking_categories,employee,accounting_period,payment_term - name: PaymentsLineItemsTrackingCategoriesEmployeeAccountingPeriodPaymentTerm - - value: payments,line_items,tracking_categories,employee,payment_term - name: PaymentsLineItemsTrackingCategoriesEmployeePaymentTerm - - value: payments,line_items,tracking_categories,payment_term - name: PaymentsLineItemsTrackingCategoriesPaymentTerm - - value: payments,line_items,tracking_categories,purchase_orders - name: PaymentsLineItemsTrackingCategoriesPurchaseOrders - - value: >- - payments,line_items,tracking_categories,purchase_orders,accounting_period - name: PaymentsLineItemsTrackingCategoriesPurchaseOrdersAccountingPeriod - - value: >- - payments,line_items,tracking_categories,purchase_orders,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes - name: PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotes - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriod - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCredits - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompany - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployee - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeePaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContact - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriod - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompany - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployee - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeePaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployee - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeePaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployee - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeePaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits - name: PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCredits - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriod - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompany - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployee - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContact - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompany - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployee - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployee - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeePaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsPaymentTerm - - value: payments,line_items,tracking_categories,purchase_orders,company - name: PaymentsLineItemsTrackingCategoriesPurchaseOrdersCompany - - value: >- - payments,line_items,tracking_categories,purchase_orders,company,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod - - value: >- - payments,line_items,tracking_categories,purchase_orders,company,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,company,employee - name: PaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployee - - value: >- - payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriod - - value: >- - payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,company,employee,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployeePaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,company,payment_term - name: PaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyPaymentTerm - - value: payments,line_items,tracking_categories,purchase_orders,contact - name: PaymentsLineItemsTrackingCategoriesPurchaseOrdersContact - - value: >- - payments,line_items,tracking_categories,purchase_orders,contact,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersContactAccountingPeriod - - value: >- - payments,line_items,tracking_categories,purchase_orders,contact,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersContactAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,contact,company - name: PaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompany - - value: >- - payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod - - value: >- - payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,contact,company,employee - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployee - - value: >- - payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriod - - value: >- - payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,contact,company,employee,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployeePaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,contact,company,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,contact,employee - name: PaymentsLineItemsTrackingCategoriesPurchaseOrdersContactEmployee - - value: >- - payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriod - - value: >- - payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,contact,employee,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersContactEmployeePaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,contact,payment_term - name: PaymentsLineItemsTrackingCategoriesPurchaseOrdersContactPaymentTerm - - value: payments,line_items,tracking_categories,purchase_orders,employee - name: PaymentsLineItemsTrackingCategoriesPurchaseOrdersEmployee - - value: >- - payments,line_items,tracking_categories,purchase_orders,employee,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriod - - value: >- - payments,line_items,tracking_categories,purchase_orders,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,employee,payment_term - name: PaymentsLineItemsTrackingCategoriesPurchaseOrdersEmployeePaymentTerm - - value: payments,line_items,tracking_categories,purchase_orders,payment_term - name: PaymentsLineItemsTrackingCategoriesPurchaseOrdersPaymentTerm - - value: payments,payment_term - name: PaymentsPaymentTerm - - value: payments,purchase_orders - name: PaymentsPurchaseOrders - - value: payments,purchase_orders,accounting_period - name: PaymentsPurchaseOrdersAccountingPeriod - - value: payments,purchase_orders,accounting_period,payment_term - name: PaymentsPurchaseOrdersAccountingPeriodPaymentTerm - - value: payments,purchase_orders,applied_credit_notes - name: PaymentsPurchaseOrdersAppliedCreditNotes - - value: payments,purchase_orders,applied_credit_notes,accounting_period - name: PaymentsPurchaseOrdersAppliedCreditNotesAccountingPeriod - - value: >- - payments,purchase_orders,applied_credit_notes,accounting_period,payment_term - name: PaymentsPurchaseOrdersAppliedCreditNotesAccountingPeriodPaymentTerm - - value: payments,purchase_orders,applied_credit_notes,applied_vendor_credits - name: PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCredits - - value: >- - payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod - - value: >- - payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company - name: PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany - - value: >- - payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee - - value: >- - payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm - - value: >- - payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact - name: PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact - - value: >- - payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod - - value: >- - payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany - - value: >- - payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee - - value: >- - payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee - - value: >- - payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm - - value: >- - payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee - name: PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee - - value: >- - payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm - - value: >- - payments,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsPaymentTerm - - value: payments,purchase_orders,applied_credit_notes,company - name: PaymentsPurchaseOrdersAppliedCreditNotesCompany - - value: >- - payments,purchase_orders,applied_credit_notes,company,accounting_period - name: PaymentsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod - - value: >- - payments,purchase_orders,applied_credit_notes,company,accounting_period,payment_term - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriodPaymentTerm - - value: payments,purchase_orders,applied_credit_notes,company,employee - name: PaymentsPurchaseOrdersAppliedCreditNotesCompanyEmployee - - value: >- - payments,purchase_orders,applied_credit_notes,company,employee,accounting_period - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod - - value: >- - payments,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,purchase_orders,applied_credit_notes,company,employee,payment_term - name: PaymentsPurchaseOrdersAppliedCreditNotesCompanyEmployeePaymentTerm - - value: payments,purchase_orders,applied_credit_notes,company,payment_term - name: PaymentsPurchaseOrdersAppliedCreditNotesCompanyPaymentTerm - - value: payments,purchase_orders,applied_credit_notes,contact - name: PaymentsPurchaseOrdersAppliedCreditNotesContact - - value: >- - payments,purchase_orders,applied_credit_notes,contact,accounting_period - name: PaymentsPurchaseOrdersAppliedCreditNotesContactAccountingPeriod - - value: >- - payments,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesContactAccountingPeriodPaymentTerm - - value: payments,purchase_orders,applied_credit_notes,contact,company - name: PaymentsPurchaseOrdersAppliedCreditNotesContactCompany - - value: >- - payments,purchase_orders,applied_credit_notes,contact,company,accounting_period - name: PaymentsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod - - value: >- - payments,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm - - value: payments,purchase_orders,applied_credit_notes,contact,company,employee - name: PaymentsPurchaseOrdersAppliedCreditNotesContactCompanyEmployee - - value: >- - payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod - - value: >- - payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,purchase_orders,applied_credit_notes,contact,company,employee,payment_term - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeePaymentTerm - - value: >- - payments,purchase_orders,applied_credit_notes,contact,company,payment_term - name: PaymentsPurchaseOrdersAppliedCreditNotesContactCompanyPaymentTerm - - value: payments,purchase_orders,applied_credit_notes,contact,employee - name: PaymentsPurchaseOrdersAppliedCreditNotesContactEmployee - - value: >- - payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod - - value: >- - payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,purchase_orders,applied_credit_notes,contact,employee,payment_term - name: PaymentsPurchaseOrdersAppliedCreditNotesContactEmployeePaymentTerm - - value: payments,purchase_orders,applied_credit_notes,contact,payment_term - name: PaymentsPurchaseOrdersAppliedCreditNotesContactPaymentTerm - - value: payments,purchase_orders,applied_credit_notes,employee - name: PaymentsPurchaseOrdersAppliedCreditNotesEmployee - - value: >- - payments,purchase_orders,applied_credit_notes,employee,accounting_period - name: PaymentsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod - - value: >- - payments,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm - - value: payments,purchase_orders,applied_credit_notes,employee,payment_term - name: PaymentsPurchaseOrdersAppliedCreditNotesEmployeePaymentTerm - - value: payments,purchase_orders,applied_credit_notes,payment_term - name: PaymentsPurchaseOrdersAppliedCreditNotesPaymentTerm - - value: payments,purchase_orders,applied_vendor_credits - name: PaymentsPurchaseOrdersAppliedVendorCredits - - value: payments,purchase_orders,applied_vendor_credits,accounting_period - name: PaymentsPurchaseOrdersAppliedVendorCreditsAccountingPeriod - - value: >- - payments,purchase_orders,applied_vendor_credits,accounting_period,payment_term - name: PaymentsPurchaseOrdersAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: payments,purchase_orders,applied_vendor_credits,company - name: PaymentsPurchaseOrdersAppliedVendorCreditsCompany - - value: >- - payments,purchase_orders,applied_vendor_credits,company,accounting_period - name: PaymentsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - payments,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term - name: >- - PaymentsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: payments,purchase_orders,applied_vendor_credits,company,employee - name: PaymentsPurchaseOrdersAppliedVendorCreditsCompanyEmployee - - value: >- - payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period - name: >- - PaymentsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - PaymentsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,purchase_orders,applied_vendor_credits,company,employee,payment_term - name: PaymentsPurchaseOrdersAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: payments,purchase_orders,applied_vendor_credits,company,payment_term - name: PaymentsPurchaseOrdersAppliedVendorCreditsCompanyPaymentTerm - - value: payments,purchase_orders,applied_vendor_credits,contact - name: PaymentsPurchaseOrdersAppliedVendorCreditsContact - - value: >- - payments,purchase_orders,applied_vendor_credits,contact,accounting_period - name: PaymentsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod - - value: >- - payments,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - PaymentsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: payments,purchase_orders,applied_vendor_credits,contact,company - name: PaymentsPurchaseOrdersAppliedVendorCreditsContactCompany - - value: >- - payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period - name: >- - PaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - PaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,purchase_orders,applied_vendor_credits,contact,company,employee - name: PaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee - - value: >- - payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - PaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term - name: >- - PaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - payments,purchase_orders,applied_vendor_credits,contact,company,payment_term - name: PaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyPaymentTerm - - value: payments,purchase_orders,applied_vendor_credits,contact,employee - name: PaymentsPurchaseOrdersAppliedVendorCreditsContactEmployee - - value: >- - payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period - name: >- - PaymentsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - PaymentsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,purchase_orders,applied_vendor_credits,contact,employee,payment_term - name: PaymentsPurchaseOrdersAppliedVendorCreditsContactEmployeePaymentTerm - - value: payments,purchase_orders,applied_vendor_credits,contact,payment_term - name: PaymentsPurchaseOrdersAppliedVendorCreditsContactPaymentTerm - - value: payments,purchase_orders,applied_vendor_credits,employee - name: PaymentsPurchaseOrdersAppliedVendorCreditsEmployee - - value: >- - payments,purchase_orders,applied_vendor_credits,employee,accounting_period - name: PaymentsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - payments,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - PaymentsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: payments,purchase_orders,applied_vendor_credits,employee,payment_term - name: PaymentsPurchaseOrdersAppliedVendorCreditsEmployeePaymentTerm - - value: payments,purchase_orders,applied_vendor_credits,payment_term - name: PaymentsPurchaseOrdersAppliedVendorCreditsPaymentTerm - - value: payments,purchase_orders,company - name: PaymentsPurchaseOrdersCompany - - value: payments,purchase_orders,company,accounting_period - name: PaymentsPurchaseOrdersCompanyAccountingPeriod - - value: payments,purchase_orders,company,accounting_period,payment_term - name: PaymentsPurchaseOrdersCompanyAccountingPeriodPaymentTerm - - value: payments,purchase_orders,company,employee - name: PaymentsPurchaseOrdersCompanyEmployee - - value: payments,purchase_orders,company,employee,accounting_period - name: PaymentsPurchaseOrdersCompanyEmployeeAccountingPeriod - - value: >- - payments,purchase_orders,company,employee,accounting_period,payment_term - name: PaymentsPurchaseOrdersCompanyEmployeeAccountingPeriodPaymentTerm - - value: payments,purchase_orders,company,employee,payment_term - name: PaymentsPurchaseOrdersCompanyEmployeePaymentTerm - - value: payments,purchase_orders,company,payment_term - name: PaymentsPurchaseOrdersCompanyPaymentTerm - - value: payments,purchase_orders,contact - name: PaymentsPurchaseOrdersContact - - value: payments,purchase_orders,contact,accounting_period - name: PaymentsPurchaseOrdersContactAccountingPeriod - - value: payments,purchase_orders,contact,accounting_period,payment_term - name: PaymentsPurchaseOrdersContactAccountingPeriodPaymentTerm - - value: payments,purchase_orders,contact,company - name: PaymentsPurchaseOrdersContactCompany - - value: payments,purchase_orders,contact,company,accounting_period - name: PaymentsPurchaseOrdersContactCompanyAccountingPeriod - - value: >- - payments,purchase_orders,contact,company,accounting_period,payment_term - name: PaymentsPurchaseOrdersContactCompanyAccountingPeriodPaymentTerm - - value: payments,purchase_orders,contact,company,employee - name: PaymentsPurchaseOrdersContactCompanyEmployee - - value: payments,purchase_orders,contact,company,employee,accounting_period - name: PaymentsPurchaseOrdersContactCompanyEmployeeAccountingPeriod - - value: >- - payments,purchase_orders,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsPurchaseOrdersContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: payments,purchase_orders,contact,company,employee,payment_term - name: PaymentsPurchaseOrdersContactCompanyEmployeePaymentTerm - - value: payments,purchase_orders,contact,company,payment_term - name: PaymentsPurchaseOrdersContactCompanyPaymentTerm - - value: payments,purchase_orders,contact,employee - name: PaymentsPurchaseOrdersContactEmployee - - value: payments,purchase_orders,contact,employee,accounting_period - name: PaymentsPurchaseOrdersContactEmployeeAccountingPeriod - - value: >- - payments,purchase_orders,contact,employee,accounting_period,payment_term - name: PaymentsPurchaseOrdersContactEmployeeAccountingPeriodPaymentTerm - - value: payments,purchase_orders,contact,employee,payment_term - name: PaymentsPurchaseOrdersContactEmployeePaymentTerm - - value: payments,purchase_orders,contact,payment_term - name: PaymentsPurchaseOrdersContactPaymentTerm - - value: payments,purchase_orders,employee - name: PaymentsPurchaseOrdersEmployee - - value: payments,purchase_orders,employee,accounting_period - name: PaymentsPurchaseOrdersEmployeeAccountingPeriod - - value: payments,purchase_orders,employee,accounting_period,payment_term - name: PaymentsPurchaseOrdersEmployeeAccountingPeriodPaymentTerm - - value: payments,purchase_orders,employee,payment_term - name: PaymentsPurchaseOrdersEmployeePaymentTerm - - value: payments,purchase_orders,payment_term - name: PaymentsPurchaseOrdersPaymentTerm - - value: payments,tracking_categories - name: PaymentsTrackingCategories - - value: payments,tracking_categories,accounting_period - name: PaymentsTrackingCategoriesAccountingPeriod - - value: payments,tracking_categories,accounting_period,payment_term - name: PaymentsTrackingCategoriesAccountingPeriodPaymentTerm - - value: payments,tracking_categories,applied_credit_notes - name: PaymentsTrackingCategoriesAppliedCreditNotes - - value: payments,tracking_categories,applied_credit_notes,accounting_period - name: PaymentsTrackingCategoriesAppliedCreditNotesAccountingPeriod - - value: >- - payments,tracking_categories,applied_credit_notes,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,applied_credit_notes,applied_vendor_credits - name: PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCredits - - value: >- - payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriod - - value: >- - payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompany - - value: >- - payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployee - - value: >- - payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm - - value: >- - payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContact - - value: >- - payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod - - value: >- - payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompany - - value: >- - payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee - - value: >- - payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployee - - value: >- - payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm - - value: >- - payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployee - - value: >- - payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm - - value: >- - payments,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsPaymentTerm - - value: payments,tracking_categories,applied_credit_notes,company - name: PaymentsTrackingCategoriesAppliedCreditNotesCompany - - value: >- - payments,tracking_categories,applied_credit_notes,company,accounting_period - name: PaymentsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriod - - value: >- - payments,tracking_categories,applied_credit_notes,company,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriodPaymentTerm - - value: payments,tracking_categories,applied_credit_notes,company,employee - name: PaymentsTrackingCategoriesAppliedCreditNotesCompanyEmployee - - value: >- - payments,tracking_categories,applied_credit_notes,company,employee,accounting_period - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriod - - value: >- - payments,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,applied_credit_notes,company,employee,payment_term - name: PaymentsTrackingCategoriesAppliedCreditNotesCompanyEmployeePaymentTerm - - value: payments,tracking_categories,applied_credit_notes,company,payment_term - name: PaymentsTrackingCategoriesAppliedCreditNotesCompanyPaymentTerm - - value: payments,tracking_categories,applied_credit_notes,contact - name: PaymentsTrackingCategoriesAppliedCreditNotesContact - - value: >- - payments,tracking_categories,applied_credit_notes,contact,accounting_period - name: PaymentsTrackingCategoriesAppliedCreditNotesContactAccountingPeriod - - value: >- - payments,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesContactAccountingPeriodPaymentTerm - - value: payments,tracking_categories,applied_credit_notes,contact,company - name: PaymentsTrackingCategoriesAppliedCreditNotesContactCompany - - value: >- - payments,tracking_categories,applied_credit_notes,contact,company,accounting_period - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriod - - value: >- - payments,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,applied_credit_notes,contact,company,employee - name: PaymentsTrackingCategoriesAppliedCreditNotesContactCompanyEmployee - - value: >- - payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriod - - value: >- - payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,applied_credit_notes,contact,company,employee,payment_term - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeePaymentTerm - - value: >- - payments,tracking_categories,applied_credit_notes,contact,company,payment_term - name: PaymentsTrackingCategoriesAppliedCreditNotesContactCompanyPaymentTerm - - value: payments,tracking_categories,applied_credit_notes,contact,employee - name: PaymentsTrackingCategoriesAppliedCreditNotesContactEmployee - - value: >- - payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriod - - value: >- - payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,applied_credit_notes,contact,employee,payment_term - name: PaymentsTrackingCategoriesAppliedCreditNotesContactEmployeePaymentTerm - - value: payments,tracking_categories,applied_credit_notes,contact,payment_term - name: PaymentsTrackingCategoriesAppliedCreditNotesContactPaymentTerm - - value: payments,tracking_categories,applied_credit_notes,employee - name: PaymentsTrackingCategoriesAppliedCreditNotesEmployee - - value: >- - payments,tracking_categories,applied_credit_notes,employee,accounting_period - name: PaymentsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriod - - value: >- - payments,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,applied_credit_notes,employee,payment_term - name: PaymentsTrackingCategoriesAppliedCreditNotesEmployeePaymentTerm - - value: payments,tracking_categories,applied_credit_notes,payment_term - name: PaymentsTrackingCategoriesAppliedCreditNotesPaymentTerm - - value: payments,tracking_categories,applied_vendor_credits - name: PaymentsTrackingCategoriesAppliedVendorCredits - - value: payments,tracking_categories,applied_vendor_credits,accounting_period - name: PaymentsTrackingCategoriesAppliedVendorCreditsAccountingPeriod - - value: >- - payments,tracking_categories,applied_vendor_credits,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: payments,tracking_categories,applied_vendor_credits,company - name: PaymentsTrackingCategoriesAppliedVendorCreditsCompany - - value: >- - payments,tracking_categories,applied_vendor_credits,company,accounting_period - name: PaymentsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - payments,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: payments,tracking_categories,applied_vendor_credits,company,employee - name: PaymentsTrackingCategoriesAppliedVendorCreditsCompanyEmployee - - value: >- - payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period - name: >- - PaymentsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,applied_vendor_credits,company,employee,payment_term - name: >- - PaymentsTrackingCategoriesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - payments,tracking_categories,applied_vendor_credits,company,payment_term - name: PaymentsTrackingCategoriesAppliedVendorCreditsCompanyPaymentTerm - - value: payments,tracking_categories,applied_vendor_credits,contact - name: PaymentsTrackingCategoriesAppliedVendorCreditsContact - - value: >- - payments,tracking_categories,applied_vendor_credits,contact,accounting_period - name: PaymentsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriod - - value: >- - payments,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: payments,tracking_categories,applied_vendor_credits,contact,company - name: PaymentsTrackingCategoriesAppliedVendorCreditsContactCompany - - value: >- - payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period - name: >- - PaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,applied_vendor_credits,contact,company,employee - name: PaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployee - - value: >- - payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - PaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term - name: >- - PaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - payments,tracking_categories,applied_vendor_credits,contact,company,payment_term - name: >- - PaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyPaymentTerm - - value: payments,tracking_categories,applied_vendor_credits,contact,employee - name: PaymentsTrackingCategoriesAppliedVendorCreditsContactEmployee - - value: >- - payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period - name: >- - PaymentsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,applied_vendor_credits,contact,employee,payment_term - name: >- - PaymentsTrackingCategoriesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - payments,tracking_categories,applied_vendor_credits,contact,payment_term - name: PaymentsTrackingCategoriesAppliedVendorCreditsContactPaymentTerm - - value: payments,tracking_categories,applied_vendor_credits,employee - name: PaymentsTrackingCategoriesAppliedVendorCreditsEmployee - - value: >- - payments,tracking_categories,applied_vendor_credits,employee,accounting_period - name: PaymentsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - payments,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,applied_vendor_credits,employee,payment_term - name: PaymentsTrackingCategoriesAppliedVendorCreditsEmployeePaymentTerm - - value: payments,tracking_categories,applied_vendor_credits,payment_term - name: PaymentsTrackingCategoriesAppliedVendorCreditsPaymentTerm - - value: payments,tracking_categories,company - name: PaymentsTrackingCategoriesCompany - - value: payments,tracking_categories,company,accounting_period - name: PaymentsTrackingCategoriesCompanyAccountingPeriod - - value: payments,tracking_categories,company,accounting_period,payment_term - name: PaymentsTrackingCategoriesCompanyAccountingPeriodPaymentTerm - - value: payments,tracking_categories,company,employee - name: PaymentsTrackingCategoriesCompanyEmployee - - value: payments,tracking_categories,company,employee,accounting_period - name: PaymentsTrackingCategoriesCompanyEmployeeAccountingPeriod - - value: >- - payments,tracking_categories,company,employee,accounting_period,payment_term - name: PaymentsTrackingCategoriesCompanyEmployeeAccountingPeriodPaymentTerm - - value: payments,tracking_categories,company,employee,payment_term - name: PaymentsTrackingCategoriesCompanyEmployeePaymentTerm - - value: payments,tracking_categories,company,payment_term - name: PaymentsTrackingCategoriesCompanyPaymentTerm - - value: payments,tracking_categories,contact - name: PaymentsTrackingCategoriesContact - - value: payments,tracking_categories,contact,accounting_period - name: PaymentsTrackingCategoriesContactAccountingPeriod - - value: payments,tracking_categories,contact,accounting_period,payment_term - name: PaymentsTrackingCategoriesContactAccountingPeriodPaymentTerm - - value: payments,tracking_categories,contact,company - name: PaymentsTrackingCategoriesContactCompany - - value: payments,tracking_categories,contact,company,accounting_period - name: PaymentsTrackingCategoriesContactCompanyAccountingPeriod - - value: >- - payments,tracking_categories,contact,company,accounting_period,payment_term - name: PaymentsTrackingCategoriesContactCompanyAccountingPeriodPaymentTerm - - value: payments,tracking_categories,contact,company,employee - name: PaymentsTrackingCategoriesContactCompanyEmployee - - value: >- - payments,tracking_categories,contact,company,employee,accounting_period - name: PaymentsTrackingCategoriesContactCompanyEmployeeAccountingPeriod - - value: >- - payments,tracking_categories,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: payments,tracking_categories,contact,company,employee,payment_term - name: PaymentsTrackingCategoriesContactCompanyEmployeePaymentTerm - - value: payments,tracking_categories,contact,company,payment_term - name: PaymentsTrackingCategoriesContactCompanyPaymentTerm - - value: payments,tracking_categories,contact,employee - name: PaymentsTrackingCategoriesContactEmployee - - value: payments,tracking_categories,contact,employee,accounting_period - name: PaymentsTrackingCategoriesContactEmployeeAccountingPeriod - - value: >- - payments,tracking_categories,contact,employee,accounting_period,payment_term - name: PaymentsTrackingCategoriesContactEmployeeAccountingPeriodPaymentTerm - - value: payments,tracking_categories,contact,employee,payment_term - name: PaymentsTrackingCategoriesContactEmployeePaymentTerm - - value: payments,tracking_categories,contact,payment_term - name: PaymentsTrackingCategoriesContactPaymentTerm - - value: payments,tracking_categories,employee - name: PaymentsTrackingCategoriesEmployee - - value: payments,tracking_categories,employee,accounting_period - name: PaymentsTrackingCategoriesEmployeeAccountingPeriod - - value: payments,tracking_categories,employee,accounting_period,payment_term - name: PaymentsTrackingCategoriesEmployeeAccountingPeriodPaymentTerm - - value: payments,tracking_categories,employee,payment_term - name: PaymentsTrackingCategoriesEmployeePaymentTerm - - value: payments,tracking_categories,payment_term - name: PaymentsTrackingCategoriesPaymentTerm - - value: payments,tracking_categories,purchase_orders - name: PaymentsTrackingCategoriesPurchaseOrders - - value: payments,tracking_categories,purchase_orders,accounting_period - name: PaymentsTrackingCategoriesPurchaseOrdersAccountingPeriod - - value: >- - payments,tracking_categories,purchase_orders,accounting_period,payment_term - name: PaymentsTrackingCategoriesPurchaseOrdersAccountingPeriodPaymentTerm - - value: payments,tracking_categories,purchase_orders,applied_credit_notes - name: PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotes - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriod - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCredits - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsPaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,company - name: PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompany - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployee - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeePaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyPaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,contact - name: PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContact - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriod - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompany - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployee - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeePaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyPaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployee - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeePaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactPaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,employee - name: PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployee - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeePaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,payment_term - name: PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesPaymentTerm - - value: payments,tracking_categories,purchase_orders,applied_vendor_credits - name: PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCredits - - value: >- - payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriod - - value: >- - payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_vendor_credits,company - name: PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompany - - value: >- - payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployee - - value: >- - payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyPaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_vendor_credits,contact - name: PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContact - - value: >- - payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod - - value: >- - payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompany - - value: >- - payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee - - value: >- - payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployee - - value: >- - payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactPaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_vendor_credits,employee - name: PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployee - - value: >- - payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeePaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_vendor_credits,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsPaymentTerm - - value: payments,tracking_categories,purchase_orders,company - name: PaymentsTrackingCategoriesPurchaseOrdersCompany - - value: payments,tracking_categories,purchase_orders,company,accounting_period - name: PaymentsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod - - value: >- - payments,tracking_categories,purchase_orders,company,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriodPaymentTerm - - value: payments,tracking_categories,purchase_orders,company,employee - name: PaymentsTrackingCategoriesPurchaseOrdersCompanyEmployee - - value: >- - payments,tracking_categories,purchase_orders,company,employee,accounting_period - name: >- - PaymentsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriod - - value: >- - payments,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,company,employee,payment_term - name: PaymentsTrackingCategoriesPurchaseOrdersCompanyEmployeePaymentTerm - - value: payments,tracking_categories,purchase_orders,company,payment_term - name: PaymentsTrackingCategoriesPurchaseOrdersCompanyPaymentTerm - - value: payments,tracking_categories,purchase_orders,contact - name: PaymentsTrackingCategoriesPurchaseOrdersContact - - value: payments,tracking_categories,purchase_orders,contact,accounting_period - name: PaymentsTrackingCategoriesPurchaseOrdersContactAccountingPeriod - - value: >- - payments,tracking_categories,purchase_orders,contact,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersContactAccountingPeriodPaymentTerm - - value: payments,tracking_categories,purchase_orders,contact,company - name: PaymentsTrackingCategoriesPurchaseOrdersContactCompany - - value: >- - payments,tracking_categories,purchase_orders,contact,company,accounting_period - name: PaymentsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod - - value: >- - payments,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriodPaymentTerm - - value: payments,tracking_categories,purchase_orders,contact,company,employee - name: PaymentsTrackingCategoriesPurchaseOrdersContactCompanyEmployee - - value: >- - payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period - name: >- - PaymentsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriod - - value: >- - payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,contact,company,employee,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersContactCompanyEmployeePaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,contact,company,payment_term - name: PaymentsTrackingCategoriesPurchaseOrdersContactCompanyPaymentTerm - - value: payments,tracking_categories,purchase_orders,contact,employee - name: PaymentsTrackingCategoriesPurchaseOrdersContactEmployee - - value: >- - payments,tracking_categories,purchase_orders,contact,employee,accounting_period - name: >- - PaymentsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriod - - value: >- - payments,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,contact,employee,payment_term - name: PaymentsTrackingCategoriesPurchaseOrdersContactEmployeePaymentTerm - - value: payments,tracking_categories,purchase_orders,contact,payment_term - name: PaymentsTrackingCategoriesPurchaseOrdersContactPaymentTerm - - value: payments,tracking_categories,purchase_orders,employee - name: PaymentsTrackingCategoriesPurchaseOrdersEmployee - - value: >- - payments,tracking_categories,purchase_orders,employee,accounting_period - name: PaymentsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriod - - value: >- - payments,tracking_categories,purchase_orders,employee,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriodPaymentTerm - - value: payments,tracking_categories,purchase_orders,employee,payment_term - name: PaymentsTrackingCategoriesPurchaseOrdersEmployeePaymentTerm - - value: payments,tracking_categories,purchase_orders,payment_term - name: PaymentsTrackingCategoriesPurchaseOrdersPaymentTerm - - purchase_orders - - value: purchase_orders,accounting_period - name: PurchaseOrdersAccountingPeriod - - value: purchase_orders,accounting_period,payment_term - name: PurchaseOrdersAccountingPeriodPaymentTerm - - value: purchase_orders,applied_credit_notes - name: PurchaseOrdersAppliedCreditNotes - - value: purchase_orders,applied_credit_notes,accounting_period - name: PurchaseOrdersAppliedCreditNotesAccountingPeriod - - value: purchase_orders,applied_credit_notes,accounting_period,payment_term - name: PurchaseOrdersAppliedCreditNotesAccountingPeriodPaymentTerm - - value: purchase_orders,applied_credit_notes,applied_vendor_credits - name: PurchaseOrdersAppliedCreditNotesAppliedVendorCredits - - value: >- - purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period - name: PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod - - value: >- - purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term - name: >- - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: purchase_orders,applied_credit_notes,applied_vendor_credits,company - name: PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany - - value: >- - purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period - name: >- - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term - name: >- - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee - name: PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee - - value: >- - purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period - name: >- - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term - name: >- - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term - name: PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm - - value: purchase_orders,applied_credit_notes,applied_vendor_credits,contact - name: PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact - - value: >- - purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period - name: >- - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod - - value: >- - purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company - name: PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany - - value: >- - purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period - name: >- - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee - name: >- - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee - - value: >- - purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term - name: >- - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term - name: >- - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee - name: PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee - - value: >- - purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period - name: >- - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term - name: >- - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term - name: PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm - - value: purchase_orders,applied_credit_notes,applied_vendor_credits,employee - name: PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee - - value: >- - purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period - name: >- - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term - name: >- - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm - - value: >- - purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term - name: PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsPaymentTerm - - value: purchase_orders,applied_credit_notes,company - name: PurchaseOrdersAppliedCreditNotesCompany - - value: purchase_orders,applied_credit_notes,company,accounting_period - name: PurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod - - value: >- - purchase_orders,applied_credit_notes,company,accounting_period,payment_term - name: PurchaseOrdersAppliedCreditNotesCompanyAccountingPeriodPaymentTerm - - value: purchase_orders,applied_credit_notes,company,employee - name: PurchaseOrdersAppliedCreditNotesCompanyEmployee - - value: >- - purchase_orders,applied_credit_notes,company,employee,accounting_period - name: PurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod - - value: >- - purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term - name: >- - PurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm - - value: purchase_orders,applied_credit_notes,company,employee,payment_term - name: PurchaseOrdersAppliedCreditNotesCompanyEmployeePaymentTerm - - value: purchase_orders,applied_credit_notes,company,payment_term - name: PurchaseOrdersAppliedCreditNotesCompanyPaymentTerm - - value: purchase_orders,applied_credit_notes,contact - name: PurchaseOrdersAppliedCreditNotesContact - - value: purchase_orders,applied_credit_notes,contact,accounting_period - name: PurchaseOrdersAppliedCreditNotesContactAccountingPeriod - - value: >- - purchase_orders,applied_credit_notes,contact,accounting_period,payment_term - name: PurchaseOrdersAppliedCreditNotesContactAccountingPeriodPaymentTerm - - value: purchase_orders,applied_credit_notes,contact,company - name: PurchaseOrdersAppliedCreditNotesContactCompany - - value: purchase_orders,applied_credit_notes,contact,company,accounting_period - name: PurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod - - value: >- - purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term - name: >- - PurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm - - value: purchase_orders,applied_credit_notes,contact,company,employee - name: PurchaseOrdersAppliedCreditNotesContactCompanyEmployee - - value: >- - purchase_orders,applied_credit_notes,contact,company,employee,accounting_period - name: PurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod - - value: >- - purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term - name: >- - PurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - purchase_orders,applied_credit_notes,contact,company,employee,payment_term - name: PurchaseOrdersAppliedCreditNotesContactCompanyEmployeePaymentTerm - - value: purchase_orders,applied_credit_notes,contact,company,payment_term - name: PurchaseOrdersAppliedCreditNotesContactCompanyPaymentTerm - - value: purchase_orders,applied_credit_notes,contact,employee - name: PurchaseOrdersAppliedCreditNotesContactEmployee - - value: >- - purchase_orders,applied_credit_notes,contact,employee,accounting_period - name: PurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod - - value: >- - purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term - name: >- - PurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm - - value: purchase_orders,applied_credit_notes,contact,employee,payment_term - name: PurchaseOrdersAppliedCreditNotesContactEmployeePaymentTerm - - value: purchase_orders,applied_credit_notes,contact,payment_term - name: PurchaseOrdersAppliedCreditNotesContactPaymentTerm - - value: purchase_orders,applied_credit_notes,employee - name: PurchaseOrdersAppliedCreditNotesEmployee - - value: purchase_orders,applied_credit_notes,employee,accounting_period - name: PurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod - - value: >- - purchase_orders,applied_credit_notes,employee,accounting_period,payment_term - name: PurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm - - value: purchase_orders,applied_credit_notes,employee,payment_term - name: PurchaseOrdersAppliedCreditNotesEmployeePaymentTerm - - value: purchase_orders,applied_credit_notes,payment_term - name: PurchaseOrdersAppliedCreditNotesPaymentTerm - - value: purchase_orders,applied_vendor_credits - name: PurchaseOrdersAppliedVendorCredits - - value: purchase_orders,applied_vendor_credits,accounting_period - name: PurchaseOrdersAppliedVendorCreditsAccountingPeriod - - value: purchase_orders,applied_vendor_credits,accounting_period,payment_term - name: PurchaseOrdersAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: purchase_orders,applied_vendor_credits,company - name: PurchaseOrdersAppliedVendorCreditsCompany - - value: purchase_orders,applied_vendor_credits,company,accounting_period - name: PurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - purchase_orders,applied_vendor_credits,company,accounting_period,payment_term - name: PurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: purchase_orders,applied_vendor_credits,company,employee - name: PurchaseOrdersAppliedVendorCreditsCompanyEmployee - - value: >- - purchase_orders,applied_vendor_credits,company,employee,accounting_period - name: PurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - PurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: purchase_orders,applied_vendor_credits,company,employee,payment_term - name: PurchaseOrdersAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: purchase_orders,applied_vendor_credits,company,payment_term - name: PurchaseOrdersAppliedVendorCreditsCompanyPaymentTerm - - value: purchase_orders,applied_vendor_credits,contact - name: PurchaseOrdersAppliedVendorCreditsContact - - value: purchase_orders,applied_vendor_credits,contact,accounting_period - name: PurchaseOrdersAppliedVendorCreditsContactAccountingPeriod - - value: >- - purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term - name: PurchaseOrdersAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: purchase_orders,applied_vendor_credits,contact,company - name: PurchaseOrdersAppliedVendorCreditsContactCompany - - value: >- - purchase_orders,applied_vendor_credits,contact,company,accounting_period - name: PurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - PurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: purchase_orders,applied_vendor_credits,contact,company,employee - name: PurchaseOrdersAppliedVendorCreditsContactCompanyEmployee - - value: >- - purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - PurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - PurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - purchase_orders,applied_vendor_credits,contact,company,employee,payment_term - name: PurchaseOrdersAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: purchase_orders,applied_vendor_credits,contact,company,payment_term - name: PurchaseOrdersAppliedVendorCreditsContactCompanyPaymentTerm - - value: purchase_orders,applied_vendor_credits,contact,employee - name: PurchaseOrdersAppliedVendorCreditsContactEmployee - - value: >- - purchase_orders,applied_vendor_credits,contact,employee,accounting_period - name: PurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - PurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: purchase_orders,applied_vendor_credits,contact,employee,payment_term - name: PurchaseOrdersAppliedVendorCreditsContactEmployeePaymentTerm - - value: purchase_orders,applied_vendor_credits,contact,payment_term - name: PurchaseOrdersAppliedVendorCreditsContactPaymentTerm - - value: purchase_orders,applied_vendor_credits,employee - name: PurchaseOrdersAppliedVendorCreditsEmployee - - value: purchase_orders,applied_vendor_credits,employee,accounting_period - name: PurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term - name: PurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: purchase_orders,applied_vendor_credits,employee,payment_term - name: PurchaseOrdersAppliedVendorCreditsEmployeePaymentTerm - - value: purchase_orders,applied_vendor_credits,payment_term - name: PurchaseOrdersAppliedVendorCreditsPaymentTerm - - value: purchase_orders,company - name: PurchaseOrdersCompany - - value: purchase_orders,company,accounting_period - name: PurchaseOrdersCompanyAccountingPeriod - - value: purchase_orders,company,accounting_period,payment_term - name: PurchaseOrdersCompanyAccountingPeriodPaymentTerm - - value: purchase_orders,company,employee - name: PurchaseOrdersCompanyEmployee - - value: purchase_orders,company,employee,accounting_period - name: PurchaseOrdersCompanyEmployeeAccountingPeriod - - value: purchase_orders,company,employee,accounting_period,payment_term - name: PurchaseOrdersCompanyEmployeeAccountingPeriodPaymentTerm - - value: purchase_orders,company,employee,payment_term - name: PurchaseOrdersCompanyEmployeePaymentTerm - - value: purchase_orders,company,payment_term - name: PurchaseOrdersCompanyPaymentTerm - - value: purchase_orders,contact - name: PurchaseOrdersContact - - value: purchase_orders,contact,accounting_period - name: PurchaseOrdersContactAccountingPeriod - - value: purchase_orders,contact,accounting_period,payment_term - name: PurchaseOrdersContactAccountingPeriodPaymentTerm - - value: purchase_orders,contact,company - name: PurchaseOrdersContactCompany - - value: purchase_orders,contact,company,accounting_period - name: PurchaseOrdersContactCompanyAccountingPeriod - - value: purchase_orders,contact,company,accounting_period,payment_term - name: PurchaseOrdersContactCompanyAccountingPeriodPaymentTerm - - value: purchase_orders,contact,company,employee - name: PurchaseOrdersContactCompanyEmployee - - value: purchase_orders,contact,company,employee,accounting_period - name: PurchaseOrdersContactCompanyEmployeeAccountingPeriod - - value: >- - purchase_orders,contact,company,employee,accounting_period,payment_term - name: PurchaseOrdersContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: purchase_orders,contact,company,employee,payment_term - name: PurchaseOrdersContactCompanyEmployeePaymentTerm - - value: purchase_orders,contact,company,payment_term - name: PurchaseOrdersContactCompanyPaymentTerm - - value: purchase_orders,contact,employee - name: PurchaseOrdersContactEmployee - - value: purchase_orders,contact,employee,accounting_period - name: PurchaseOrdersContactEmployeeAccountingPeriod - - value: purchase_orders,contact,employee,accounting_period,payment_term - name: PurchaseOrdersContactEmployeeAccountingPeriodPaymentTerm - - value: purchase_orders,contact,employee,payment_term - name: PurchaseOrdersContactEmployeePaymentTerm - - value: purchase_orders,contact,payment_term - name: PurchaseOrdersContactPaymentTerm - - value: purchase_orders,employee - name: PurchaseOrdersEmployee - - value: purchase_orders,employee,accounting_period - name: PurchaseOrdersEmployeeAccountingPeriod - - value: purchase_orders,employee,accounting_period,payment_term - name: PurchaseOrdersEmployeeAccountingPeriodPaymentTerm - - value: purchase_orders,employee,payment_term - name: PurchaseOrdersEmployeePaymentTerm - - value: purchase_orders,payment_term - name: PurchaseOrdersPaymentTerm - - tracking_categories - - value: tracking_categories,accounting_period - name: TrackingCategoriesAccountingPeriod - - value: tracking_categories,accounting_period,payment_term - name: TrackingCategoriesAccountingPeriodPaymentTerm - - value: tracking_categories,applied_credit_notes - name: TrackingCategoriesAppliedCreditNotes - - value: tracking_categories,applied_credit_notes,accounting_period - name: TrackingCategoriesAppliedCreditNotesAccountingPeriod - - value: >- - tracking_categories,applied_credit_notes,accounting_period,payment_term - name: TrackingCategoriesAppliedCreditNotesAccountingPeriodPaymentTerm - - value: tracking_categories,applied_credit_notes,applied_vendor_credits - name: TrackingCategoriesAppliedCreditNotesAppliedVendorCredits - - value: >- - tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period - name: >- - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriod - - value: >- - tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term - name: >- - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - tracking_categories,applied_credit_notes,applied_vendor_credits,company - name: TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompany - - value: >- - tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period - name: >- - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term - name: >- - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee - name: >- - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployee - - value: >- - tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period - name: >- - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term - name: >- - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term - name: >- - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm - - value: >- - tracking_categories,applied_credit_notes,applied_vendor_credits,contact - name: TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContact - - value: >- - tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period - name: >- - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod - - value: >- - tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company - name: TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompany - - value: >- - tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period - name: >- - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee - name: >- - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee - - value: >- - tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term - name: >- - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term - name: >- - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee - name: >- - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployee - - value: >- - tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period - name: >- - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term - name: >- - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term - name: >- - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm - - value: >- - tracking_categories,applied_credit_notes,applied_vendor_credits,employee - name: TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployee - - value: >- - tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period - name: >- - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term - name: >- - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm - - value: >- - tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term - name: TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsPaymentTerm - - value: tracking_categories,applied_credit_notes,company - name: TrackingCategoriesAppliedCreditNotesCompany - - value: tracking_categories,applied_credit_notes,company,accounting_period - name: TrackingCategoriesAppliedCreditNotesCompanyAccountingPeriod - - value: >- - tracking_categories,applied_credit_notes,company,accounting_period,payment_term - name: TrackingCategoriesAppliedCreditNotesCompanyAccountingPeriodPaymentTerm - - value: tracking_categories,applied_credit_notes,company,employee - name: TrackingCategoriesAppliedCreditNotesCompanyEmployee - - value: >- - tracking_categories,applied_credit_notes,company,employee,accounting_period - name: TrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriod - - value: >- - tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term - name: >- - TrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm - - value: tracking_categories,applied_credit_notes,company,employee,payment_term - name: TrackingCategoriesAppliedCreditNotesCompanyEmployeePaymentTerm - - value: tracking_categories,applied_credit_notes,company,payment_term - name: TrackingCategoriesAppliedCreditNotesCompanyPaymentTerm - - value: tracking_categories,applied_credit_notes,contact - name: TrackingCategoriesAppliedCreditNotesContact - - value: tracking_categories,applied_credit_notes,contact,accounting_period - name: TrackingCategoriesAppliedCreditNotesContactAccountingPeriod - - value: >- - tracking_categories,applied_credit_notes,contact,accounting_period,payment_term - name: TrackingCategoriesAppliedCreditNotesContactAccountingPeriodPaymentTerm - - value: tracking_categories,applied_credit_notes,contact,company - name: TrackingCategoriesAppliedCreditNotesContactCompany - - value: >- - tracking_categories,applied_credit_notes,contact,company,accounting_period - name: TrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriod - - value: >- - tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term - name: >- - TrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm - - value: tracking_categories,applied_credit_notes,contact,company,employee - name: TrackingCategoriesAppliedCreditNotesContactCompanyEmployee - - value: >- - tracking_categories,applied_credit_notes,contact,company,employee,accounting_period - name: >- - TrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriod - - value: >- - tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term - name: >- - TrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - tracking_categories,applied_credit_notes,contact,company,employee,payment_term - name: TrackingCategoriesAppliedCreditNotesContactCompanyEmployeePaymentTerm - - value: tracking_categories,applied_credit_notes,contact,company,payment_term - name: TrackingCategoriesAppliedCreditNotesContactCompanyPaymentTerm - - value: tracking_categories,applied_credit_notes,contact,employee - name: TrackingCategoriesAppliedCreditNotesContactEmployee - - value: >- - tracking_categories,applied_credit_notes,contact,employee,accounting_period - name: TrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriod - - value: >- - tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term - name: >- - TrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm - - value: tracking_categories,applied_credit_notes,contact,employee,payment_term - name: TrackingCategoriesAppliedCreditNotesContactEmployeePaymentTerm - - value: tracking_categories,applied_credit_notes,contact,payment_term - name: TrackingCategoriesAppliedCreditNotesContactPaymentTerm - - value: tracking_categories,applied_credit_notes,employee - name: TrackingCategoriesAppliedCreditNotesEmployee - - value: tracking_categories,applied_credit_notes,employee,accounting_period - name: TrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriod - - value: >- - tracking_categories,applied_credit_notes,employee,accounting_period,payment_term - name: >- - TrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm - - value: tracking_categories,applied_credit_notes,employee,payment_term - name: TrackingCategoriesAppliedCreditNotesEmployeePaymentTerm - - value: tracking_categories,applied_credit_notes,payment_term - name: TrackingCategoriesAppliedCreditNotesPaymentTerm - - value: tracking_categories,applied_vendor_credits - name: TrackingCategoriesAppliedVendorCredits - - value: tracking_categories,applied_vendor_credits,accounting_period - name: TrackingCategoriesAppliedVendorCreditsAccountingPeriod - - value: >- - tracking_categories,applied_vendor_credits,accounting_period,payment_term - name: TrackingCategoriesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: tracking_categories,applied_vendor_credits,company - name: TrackingCategoriesAppliedVendorCreditsCompany - - value: tracking_categories,applied_vendor_credits,company,accounting_period - name: TrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - tracking_categories,applied_vendor_credits,company,accounting_period,payment_term - name: >- - TrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: tracking_categories,applied_vendor_credits,company,employee - name: TrackingCategoriesAppliedVendorCreditsCompanyEmployee - - value: >- - tracking_categories,applied_vendor_credits,company,employee,accounting_period - name: TrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - TrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - tracking_categories,applied_vendor_credits,company,employee,payment_term - name: TrackingCategoriesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: tracking_categories,applied_vendor_credits,company,payment_term - name: TrackingCategoriesAppliedVendorCreditsCompanyPaymentTerm - - value: tracking_categories,applied_vendor_credits,contact - name: TrackingCategoriesAppliedVendorCreditsContact - - value: tracking_categories,applied_vendor_credits,contact,accounting_period - name: TrackingCategoriesAppliedVendorCreditsContactAccountingPeriod - - value: >- - tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - TrackingCategoriesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: tracking_categories,applied_vendor_credits,contact,company - name: TrackingCategoriesAppliedVendorCreditsContactCompany - - value: >- - tracking_categories,applied_vendor_credits,contact,company,accounting_period - name: TrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - TrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: tracking_categories,applied_vendor_credits,contact,company,employee - name: TrackingCategoriesAppliedVendorCreditsContactCompanyEmployee - - value: >- - tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - TrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - TrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - tracking_categories,applied_vendor_credits,contact,company,employee,payment_term - name: >- - TrackingCategoriesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - tracking_categories,applied_vendor_credits,contact,company,payment_term - name: TrackingCategoriesAppliedVendorCreditsContactCompanyPaymentTerm - - value: tracking_categories,applied_vendor_credits,contact,employee - name: TrackingCategoriesAppliedVendorCreditsContactEmployee - - value: >- - tracking_categories,applied_vendor_credits,contact,employee,accounting_period - name: TrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - TrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - tracking_categories,applied_vendor_credits,contact,employee,payment_term - name: TrackingCategoriesAppliedVendorCreditsContactEmployeePaymentTerm - - value: tracking_categories,applied_vendor_credits,contact,payment_term - name: TrackingCategoriesAppliedVendorCreditsContactPaymentTerm - - value: tracking_categories,applied_vendor_credits,employee - name: TrackingCategoriesAppliedVendorCreditsEmployee - - value: tracking_categories,applied_vendor_credits,employee,accounting_period - name: TrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - TrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: tracking_categories,applied_vendor_credits,employee,payment_term - name: TrackingCategoriesAppliedVendorCreditsEmployeePaymentTerm - - value: tracking_categories,applied_vendor_credits,payment_term - name: TrackingCategoriesAppliedVendorCreditsPaymentTerm - - value: tracking_categories,company - name: TrackingCategoriesCompany - - value: tracking_categories,company,accounting_period - name: TrackingCategoriesCompanyAccountingPeriod - - value: tracking_categories,company,accounting_period,payment_term - name: TrackingCategoriesCompanyAccountingPeriodPaymentTerm - - value: tracking_categories,company,employee - name: TrackingCategoriesCompanyEmployee - - value: tracking_categories,company,employee,accounting_period - name: TrackingCategoriesCompanyEmployeeAccountingPeriod - - value: tracking_categories,company,employee,accounting_period,payment_term - name: TrackingCategoriesCompanyEmployeeAccountingPeriodPaymentTerm - - value: tracking_categories,company,employee,payment_term - name: TrackingCategoriesCompanyEmployeePaymentTerm - - value: tracking_categories,company,payment_term - name: TrackingCategoriesCompanyPaymentTerm - - value: tracking_categories,contact - name: TrackingCategoriesContact - - value: tracking_categories,contact,accounting_period - name: TrackingCategoriesContactAccountingPeriod - - value: tracking_categories,contact,accounting_period,payment_term - name: TrackingCategoriesContactAccountingPeriodPaymentTerm - - value: tracking_categories,contact,company - name: TrackingCategoriesContactCompany - - value: tracking_categories,contact,company,accounting_period - name: TrackingCategoriesContactCompanyAccountingPeriod - - value: tracking_categories,contact,company,accounting_period,payment_term - name: TrackingCategoriesContactCompanyAccountingPeriodPaymentTerm - - value: tracking_categories,contact,company,employee - name: TrackingCategoriesContactCompanyEmployee - - value: tracking_categories,contact,company,employee,accounting_period - name: TrackingCategoriesContactCompanyEmployeeAccountingPeriod - - value: >- - tracking_categories,contact,company,employee,accounting_period,payment_term - name: TrackingCategoriesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: tracking_categories,contact,company,employee,payment_term - name: TrackingCategoriesContactCompanyEmployeePaymentTerm - - value: tracking_categories,contact,company,payment_term - name: TrackingCategoriesContactCompanyPaymentTerm - - value: tracking_categories,contact,employee - name: TrackingCategoriesContactEmployee - - value: tracking_categories,contact,employee,accounting_period - name: TrackingCategoriesContactEmployeeAccountingPeriod - - value: tracking_categories,contact,employee,accounting_period,payment_term - name: TrackingCategoriesContactEmployeeAccountingPeriodPaymentTerm - - value: tracking_categories,contact,employee,payment_term - name: TrackingCategoriesContactEmployeePaymentTerm - - value: tracking_categories,contact,payment_term - name: TrackingCategoriesContactPaymentTerm - - value: tracking_categories,employee - name: TrackingCategoriesEmployee - - value: tracking_categories,employee,accounting_period - name: TrackingCategoriesEmployeeAccountingPeriod - - value: tracking_categories,employee,accounting_period,payment_term - name: TrackingCategoriesEmployeeAccountingPeriodPaymentTerm - - value: tracking_categories,employee,payment_term - name: TrackingCategoriesEmployeePaymentTerm - - value: tracking_categories,payment_term - name: TrackingCategoriesPaymentTerm - - value: tracking_categories,purchase_orders - name: TrackingCategoriesPurchaseOrders - - value: tracking_categories,purchase_orders,accounting_period - name: TrackingCategoriesPurchaseOrdersAccountingPeriod - - value: tracking_categories,purchase_orders,accounting_period,payment_term - name: TrackingCategoriesPurchaseOrdersAccountingPeriodPaymentTerm - - value: tracking_categories,purchase_orders,applied_credit_notes - name: TrackingCategoriesPurchaseOrdersAppliedCreditNotes - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,accounting_period - name: TrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriod - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriodPaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits - name: TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCredits - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsPaymentTerm - - value: tracking_categories,purchase_orders,applied_credit_notes,company - name: TrackingCategoriesPurchaseOrdersAppliedCreditNotesCompany - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriodPaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,company,employee - name: TrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployee - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeePaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,company,payment_term - name: TrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyPaymentTerm - - value: tracking_categories,purchase_orders,applied_credit_notes,contact - name: TrackingCategoriesPurchaseOrdersAppliedCreditNotesContact - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriod - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriodPaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,contact,company - name: TrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompany - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployee - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeePaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyPaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,contact,employee - name: TrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployee - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeePaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term - name: TrackingCategoriesPurchaseOrdersAppliedCreditNotesContactPaymentTerm - - value: tracking_categories,purchase_orders,applied_credit_notes,employee - name: TrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployee - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term - name: TrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeePaymentTerm - - value: tracking_categories,purchase_orders,applied_credit_notes,payment_term - name: TrackingCategoriesPurchaseOrdersAppliedCreditNotesPaymentTerm - - value: tracking_categories,purchase_orders,applied_vendor_credits - name: TrackingCategoriesPurchaseOrdersAppliedVendorCredits - - value: >- - tracking_categories,purchase_orders,applied_vendor_credits,accounting_period - name: TrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriod - - value: >- - tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: tracking_categories,purchase_orders,applied_vendor_credits,company - name: TrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompany - - value: >- - tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period - name: >- - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_vendor_credits,company,employee - name: TrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployee - - value: >- - tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period - name: >- - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term - name: TrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyPaymentTerm - - value: tracking_categories,purchase_orders,applied_vendor_credits,contact - name: TrackingCategoriesPurchaseOrdersAppliedVendorCreditsContact - - value: >- - tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period - name: >- - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod - - value: >- - tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_vendor_credits,contact,company - name: TrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompany - - value: >- - tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period - name: >- - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee - name: >- - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee - - value: >- - tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_vendor_credits,contact,employee - name: TrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployee - - value: >- - tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period - name: >- - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term - name: TrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactPaymentTerm - - value: tracking_categories,purchase_orders,applied_vendor_credits,employee - name: TrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployee - - value: >- - tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period - name: >- - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeePaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_vendor_credits,payment_term - name: TrackingCategoriesPurchaseOrdersAppliedVendorCreditsPaymentTerm - - value: tracking_categories,purchase_orders,company - name: TrackingCategoriesPurchaseOrdersCompany - - value: tracking_categories,purchase_orders,company,accounting_period - name: TrackingCategoriesPurchaseOrdersCompanyAccountingPeriod - - value: >- - tracking_categories,purchase_orders,company,accounting_period,payment_term - name: TrackingCategoriesPurchaseOrdersCompanyAccountingPeriodPaymentTerm - - value: tracking_categories,purchase_orders,company,employee - name: TrackingCategoriesPurchaseOrdersCompanyEmployee - - value: tracking_categories,purchase_orders,company,employee,accounting_period - name: TrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriod - - value: >- - tracking_categories,purchase_orders,company,employee,accounting_period,payment_term - name: >- - TrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriodPaymentTerm - - value: tracking_categories,purchase_orders,company,employee,payment_term - name: TrackingCategoriesPurchaseOrdersCompanyEmployeePaymentTerm - - value: tracking_categories,purchase_orders,company,payment_term - name: TrackingCategoriesPurchaseOrdersCompanyPaymentTerm - - value: tracking_categories,purchase_orders,contact - name: TrackingCategoriesPurchaseOrdersContact - - value: tracking_categories,purchase_orders,contact,accounting_period - name: TrackingCategoriesPurchaseOrdersContactAccountingPeriod - - value: >- - tracking_categories,purchase_orders,contact,accounting_period,payment_term - name: TrackingCategoriesPurchaseOrdersContactAccountingPeriodPaymentTerm - - value: tracking_categories,purchase_orders,contact,company - name: TrackingCategoriesPurchaseOrdersContactCompany - - value: tracking_categories,purchase_orders,contact,company,accounting_period - name: TrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod - - value: >- - tracking_categories,purchase_orders,contact,company,accounting_period,payment_term - name: >- - TrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriodPaymentTerm - - value: tracking_categories,purchase_orders,contact,company,employee - name: TrackingCategoriesPurchaseOrdersContactCompanyEmployee - - value: >- - tracking_categories,purchase_orders,contact,company,employee,accounting_period - name: TrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriod - - value: >- - tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term - name: >- - TrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - tracking_categories,purchase_orders,contact,company,employee,payment_term - name: TrackingCategoriesPurchaseOrdersContactCompanyEmployeePaymentTerm - - value: tracking_categories,purchase_orders,contact,company,payment_term - name: TrackingCategoriesPurchaseOrdersContactCompanyPaymentTerm - - value: tracking_categories,purchase_orders,contact,employee - name: TrackingCategoriesPurchaseOrdersContactEmployee - - value: tracking_categories,purchase_orders,contact,employee,accounting_period - name: TrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriod - - value: >- - tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term - name: >- - TrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriodPaymentTerm - - value: tracking_categories,purchase_orders,contact,employee,payment_term - name: TrackingCategoriesPurchaseOrdersContactEmployeePaymentTerm - - value: tracking_categories,purchase_orders,contact,payment_term - name: TrackingCategoriesPurchaseOrdersContactPaymentTerm - - value: tracking_categories,purchase_orders,employee - name: TrackingCategoriesPurchaseOrdersEmployee - - value: tracking_categories,purchase_orders,employee,accounting_period - name: TrackingCategoriesPurchaseOrdersEmployeeAccountingPeriod - - value: >- - tracking_categories,purchase_orders,employee,accounting_period,payment_term - name: TrackingCategoriesPurchaseOrdersEmployeeAccountingPeriodPaymentTerm - - value: tracking_categories,purchase_orders,employee,payment_term - name: TrackingCategoriesPurchaseOrdersEmployeePaymentTerm - - value: tracking_categories,purchase_orders,payment_term - name: TrackingCategoriesPurchaseOrdersPaymentTerm - source: - openapi: openapi/openapi.yml - InvoicesListRequestStatus: - enum: - - DRAFT - - OPEN - - PAID - - PARTIALLY_PAID - - SUBMITTED - - VOID - source: - openapi: openapi/openapi.yml - InvoicesListRequestType: - enum: - - ACCOUNTS_PAYABLE - - ACCOUNTS_RECEIVABLE - source: - openapi: openapi/openapi.yml - InvoicesRetrieveRequestExpand: - enum: - - accounting_period - - value: accounting_period,payment_term - name: AccountingPeriodPaymentTerm - - applied_credit_notes - - value: applied_credit_notes,accounting_period - name: AppliedCreditNotesAccountingPeriod - - value: applied_credit_notes,accounting_period,payment_term - name: AppliedCreditNotesAccountingPeriodPaymentTerm - - value: applied_credit_notes,applied_vendor_credits - name: AppliedCreditNotesAppliedVendorCredits - - value: applied_credit_notes,applied_vendor_credits,accounting_period - name: AppliedCreditNotesAppliedVendorCreditsAccountingPeriod - - value: >- - applied_credit_notes,applied_vendor_credits,accounting_period,payment_term - name: AppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: applied_credit_notes,applied_vendor_credits,company - name: AppliedCreditNotesAppliedVendorCreditsCompany - - value: applied_credit_notes,applied_vendor_credits,company,accounting_period - name: AppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term - name: >- - AppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: applied_credit_notes,applied_vendor_credits,company,employee - name: AppliedCreditNotesAppliedVendorCreditsCompanyEmployee - - value: >- - applied_credit_notes,applied_vendor_credits,company,employee,accounting_period - name: AppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - AppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_credit_notes,applied_vendor_credits,company,employee,payment_term - name: AppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: applied_credit_notes,applied_vendor_credits,company,payment_term - name: AppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm - - value: applied_credit_notes,applied_vendor_credits,contact - name: AppliedCreditNotesAppliedVendorCreditsContact - - value: applied_credit_notes,applied_vendor_credits,contact,accounting_period - name: AppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod - - value: >- - applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - AppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: applied_credit_notes,applied_vendor_credits,contact,company - name: AppliedCreditNotesAppliedVendorCreditsContactCompany - - value: >- - applied_credit_notes,applied_vendor_credits,contact,company,accounting_period - name: AppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - AppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: applied_credit_notes,applied_vendor_credits,contact,company,employee - name: AppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee - - value: >- - applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - AppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - AppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term - name: >- - AppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - applied_credit_notes,applied_vendor_credits,contact,company,payment_term - name: AppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm - - value: applied_credit_notes,applied_vendor_credits,contact,employee - name: AppliedCreditNotesAppliedVendorCreditsContactEmployee - - value: >- - applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period - name: AppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - AppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_credit_notes,applied_vendor_credits,contact,employee,payment_term - name: AppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm - - value: applied_credit_notes,applied_vendor_credits,contact,payment_term - name: AppliedCreditNotesAppliedVendorCreditsContactPaymentTerm - - value: applied_credit_notes,applied_vendor_credits,employee - name: AppliedCreditNotesAppliedVendorCreditsEmployee - - value: applied_credit_notes,applied_vendor_credits,employee,accounting_period - name: AppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - AppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: applied_credit_notes,applied_vendor_credits,employee,payment_term - name: AppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm - - value: applied_credit_notes,applied_vendor_credits,payment_term - name: AppliedCreditNotesAppliedVendorCreditsPaymentTerm - - value: applied_credit_notes,company - name: AppliedCreditNotesCompany - - value: applied_credit_notes,company,accounting_period - name: AppliedCreditNotesCompanyAccountingPeriod - - value: applied_credit_notes,company,accounting_period,payment_term - name: AppliedCreditNotesCompanyAccountingPeriodPaymentTerm - - value: applied_credit_notes,company,employee - name: AppliedCreditNotesCompanyEmployee - - value: applied_credit_notes,company,employee,accounting_period - name: AppliedCreditNotesCompanyEmployeeAccountingPeriod - - value: applied_credit_notes,company,employee,accounting_period,payment_term - name: AppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm - - value: applied_credit_notes,company,employee,payment_term - name: AppliedCreditNotesCompanyEmployeePaymentTerm - - value: applied_credit_notes,company,payment_term - name: AppliedCreditNotesCompanyPaymentTerm - - value: applied_credit_notes,contact - name: AppliedCreditNotesContact - - value: applied_credit_notes,contact,accounting_period - name: AppliedCreditNotesContactAccountingPeriod - - value: applied_credit_notes,contact,accounting_period,payment_term - name: AppliedCreditNotesContactAccountingPeriodPaymentTerm - - value: applied_credit_notes,contact,company - name: AppliedCreditNotesContactCompany - - value: applied_credit_notes,contact,company,accounting_period - name: AppliedCreditNotesContactCompanyAccountingPeriod - - value: applied_credit_notes,contact,company,accounting_period,payment_term - name: AppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm - - value: applied_credit_notes,contact,company,employee - name: AppliedCreditNotesContactCompanyEmployee - - value: applied_credit_notes,contact,company,employee,accounting_period - name: AppliedCreditNotesContactCompanyEmployeeAccountingPeriod - - value: >- - applied_credit_notes,contact,company,employee,accounting_period,payment_term - name: AppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: applied_credit_notes,contact,company,employee,payment_term - name: AppliedCreditNotesContactCompanyEmployeePaymentTerm - - value: applied_credit_notes,contact,company,payment_term - name: AppliedCreditNotesContactCompanyPaymentTerm - - value: applied_credit_notes,contact,employee - name: AppliedCreditNotesContactEmployee - - value: applied_credit_notes,contact,employee,accounting_period - name: AppliedCreditNotesContactEmployeeAccountingPeriod - - value: applied_credit_notes,contact,employee,accounting_period,payment_term - name: AppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm - - value: applied_credit_notes,contact,employee,payment_term - name: AppliedCreditNotesContactEmployeePaymentTerm - - value: applied_credit_notes,contact,payment_term - name: AppliedCreditNotesContactPaymentTerm - - value: applied_credit_notes,employee - name: AppliedCreditNotesEmployee - - value: applied_credit_notes,employee,accounting_period - name: AppliedCreditNotesEmployeeAccountingPeriod - - value: applied_credit_notes,employee,accounting_period,payment_term - name: AppliedCreditNotesEmployeeAccountingPeriodPaymentTerm - - value: applied_credit_notes,employee,payment_term - name: AppliedCreditNotesEmployeePaymentTerm - - value: applied_credit_notes,payment_term - name: AppliedCreditNotesPaymentTerm - - applied_payments - - value: applied_payments,accounting_period - name: AppliedPaymentsAccountingPeriod - - value: applied_payments,accounting_period,payment_term - name: AppliedPaymentsAccountingPeriodPaymentTerm - - value: applied_payments,applied_credit_notes - name: AppliedPaymentsAppliedCreditNotes - - value: applied_payments,applied_credit_notes,accounting_period - name: AppliedPaymentsAppliedCreditNotesAccountingPeriod - - value: applied_payments,applied_credit_notes,accounting_period,payment_term - name: AppliedPaymentsAppliedCreditNotesAccountingPeriodPaymentTerm - - value: applied_payments,applied_credit_notes,applied_vendor_credits - name: AppliedPaymentsAppliedCreditNotesAppliedVendorCredits - - value: >- - applied_payments,applied_credit_notes,applied_vendor_credits,accounting_period - name: AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsAccountingPeriod - - value: >- - applied_payments,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term - name: >- - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: applied_payments,applied_credit_notes,applied_vendor_credits,company - name: AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompany - - value: >- - applied_payments,applied_credit_notes,applied_vendor_credits,company,accounting_period - name: >- - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - applied_payments,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term - name: >- - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,applied_credit_notes,applied_vendor_credits,company,employee - name: AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyEmployee - - value: >- - applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period - name: >- - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,payment_term - name: >- - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - applied_payments,applied_credit_notes,applied_vendor_credits,company,payment_term - name: >- - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm - - value: applied_payments,applied_credit_notes,applied_vendor_credits,contact - name: AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContact - - value: >- - applied_payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period - name: >- - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod - - value: >- - applied_payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - applied_payments,applied_credit_notes,applied_vendor_credits,contact,company - name: AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompany - - value: >- - applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period - name: >- - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee - name: >- - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee - - value: >- - applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term - name: >- - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,payment_term - name: >- - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee - name: AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactEmployee - - value: >- - applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period - name: >- - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term - name: >- - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - applied_payments,applied_credit_notes,applied_vendor_credits,contact,payment_term - name: >- - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm - - value: applied_payments,applied_credit_notes,applied_vendor_credits,employee - name: AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsEmployee - - value: >- - applied_payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period - name: >- - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - applied_payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,applied_credit_notes,applied_vendor_credits,employee,payment_term - name: >- - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm - - value: >- - applied_payments,applied_credit_notes,applied_vendor_credits,payment_term - name: AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsPaymentTerm - - value: applied_payments,applied_credit_notes,company - name: AppliedPaymentsAppliedCreditNotesCompany - - value: applied_payments,applied_credit_notes,company,accounting_period - name: AppliedPaymentsAppliedCreditNotesCompanyAccountingPeriod - - value: >- - applied_payments,applied_credit_notes,company,accounting_period,payment_term - name: AppliedPaymentsAppliedCreditNotesCompanyAccountingPeriodPaymentTerm - - value: applied_payments,applied_credit_notes,company,employee - name: AppliedPaymentsAppliedCreditNotesCompanyEmployee - - value: >- - applied_payments,applied_credit_notes,company,employee,accounting_period - name: AppliedPaymentsAppliedCreditNotesCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,applied_credit_notes,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm - - value: applied_payments,applied_credit_notes,company,employee,payment_term - name: AppliedPaymentsAppliedCreditNotesCompanyEmployeePaymentTerm - - value: applied_payments,applied_credit_notes,company,payment_term - name: AppliedPaymentsAppliedCreditNotesCompanyPaymentTerm - - value: applied_payments,applied_credit_notes,contact - name: AppliedPaymentsAppliedCreditNotesContact - - value: applied_payments,applied_credit_notes,contact,accounting_period - name: AppliedPaymentsAppliedCreditNotesContactAccountingPeriod - - value: >- - applied_payments,applied_credit_notes,contact,accounting_period,payment_term - name: AppliedPaymentsAppliedCreditNotesContactAccountingPeriodPaymentTerm - - value: applied_payments,applied_credit_notes,contact,company - name: AppliedPaymentsAppliedCreditNotesContactCompany - - value: >- - applied_payments,applied_credit_notes,contact,company,accounting_period - name: AppliedPaymentsAppliedCreditNotesContactCompanyAccountingPeriod - - value: >- - applied_payments,applied_credit_notes,contact,company,accounting_period,payment_term - name: >- - AppliedPaymentsAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm - - value: applied_payments,applied_credit_notes,contact,company,employee - name: AppliedPaymentsAppliedCreditNotesContactCompanyEmployee - - value: >- - applied_payments,applied_credit_notes,contact,company,employee,accounting_period - name: >- - AppliedPaymentsAppliedCreditNotesContactCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,applied_credit_notes,contact,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,applied_credit_notes,contact,company,employee,payment_term - name: AppliedPaymentsAppliedCreditNotesContactCompanyEmployeePaymentTerm - - value: applied_payments,applied_credit_notes,contact,company,payment_term - name: AppliedPaymentsAppliedCreditNotesContactCompanyPaymentTerm - - value: applied_payments,applied_credit_notes,contact,employee - name: AppliedPaymentsAppliedCreditNotesContactEmployee - - value: >- - applied_payments,applied_credit_notes,contact,employee,accounting_period - name: AppliedPaymentsAppliedCreditNotesContactEmployeeAccountingPeriod - - value: >- - applied_payments,applied_credit_notes,contact,employee,accounting_period,payment_term - name: >- - AppliedPaymentsAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm - - value: applied_payments,applied_credit_notes,contact,employee,payment_term - name: AppliedPaymentsAppliedCreditNotesContactEmployeePaymentTerm - - value: applied_payments,applied_credit_notes,contact,payment_term - name: AppliedPaymentsAppliedCreditNotesContactPaymentTerm - - value: applied_payments,applied_credit_notes,employee - name: AppliedPaymentsAppliedCreditNotesEmployee - - value: applied_payments,applied_credit_notes,employee,accounting_period - name: AppliedPaymentsAppliedCreditNotesEmployeeAccountingPeriod - - value: >- - applied_payments,applied_credit_notes,employee,accounting_period,payment_term - name: AppliedPaymentsAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm - - value: applied_payments,applied_credit_notes,employee,payment_term - name: AppliedPaymentsAppliedCreditNotesEmployeePaymentTerm - - value: applied_payments,applied_credit_notes,payment_term - name: AppliedPaymentsAppliedCreditNotesPaymentTerm - - value: applied_payments,applied_vendor_credits - name: AppliedPaymentsAppliedVendorCredits - - value: applied_payments,applied_vendor_credits,accounting_period - name: AppliedPaymentsAppliedVendorCreditsAccountingPeriod - - value: applied_payments,applied_vendor_credits,accounting_period,payment_term - name: AppliedPaymentsAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: applied_payments,applied_vendor_credits,company - name: AppliedPaymentsAppliedVendorCreditsCompany - - value: applied_payments,applied_vendor_credits,company,accounting_period - name: AppliedPaymentsAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - applied_payments,applied_vendor_credits,company,accounting_period,payment_term - name: AppliedPaymentsAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: applied_payments,applied_vendor_credits,company,employee - name: AppliedPaymentsAppliedVendorCreditsCompanyEmployee - - value: >- - applied_payments,applied_vendor_credits,company,employee,accounting_period - name: AppliedPaymentsAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: applied_payments,applied_vendor_credits,company,employee,payment_term - name: AppliedPaymentsAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: applied_payments,applied_vendor_credits,company,payment_term - name: AppliedPaymentsAppliedVendorCreditsCompanyPaymentTerm - - value: applied_payments,applied_vendor_credits,contact - name: AppliedPaymentsAppliedVendorCreditsContact - - value: applied_payments,applied_vendor_credits,contact,accounting_period - name: AppliedPaymentsAppliedVendorCreditsContactAccountingPeriod - - value: >- - applied_payments,applied_vendor_credits,contact,accounting_period,payment_term - name: AppliedPaymentsAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: applied_payments,applied_vendor_credits,contact,company - name: AppliedPaymentsAppliedVendorCreditsContactCompany - - value: >- - applied_payments,applied_vendor_credits,contact,company,accounting_period - name: AppliedPaymentsAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - applied_payments,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - AppliedPaymentsAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: applied_payments,applied_vendor_credits,contact,company,employee - name: AppliedPaymentsAppliedVendorCreditsContactCompanyEmployee - - value: >- - applied_payments,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - AppliedPaymentsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,applied_vendor_credits,contact,company,employee,payment_term - name: AppliedPaymentsAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: applied_payments,applied_vendor_credits,contact,company,payment_term - name: AppliedPaymentsAppliedVendorCreditsContactCompanyPaymentTerm - - value: applied_payments,applied_vendor_credits,contact,employee - name: AppliedPaymentsAppliedVendorCreditsContactEmployee - - value: >- - applied_payments,applied_vendor_credits,contact,employee,accounting_period - name: AppliedPaymentsAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - applied_payments,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - AppliedPaymentsAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: applied_payments,applied_vendor_credits,contact,employee,payment_term - name: AppliedPaymentsAppliedVendorCreditsContactEmployeePaymentTerm - - value: applied_payments,applied_vendor_credits,contact,payment_term - name: AppliedPaymentsAppliedVendorCreditsContactPaymentTerm - - value: applied_payments,applied_vendor_credits,employee - name: AppliedPaymentsAppliedVendorCreditsEmployee - - value: applied_payments,applied_vendor_credits,employee,accounting_period - name: AppliedPaymentsAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - applied_payments,applied_vendor_credits,employee,accounting_period,payment_term - name: AppliedPaymentsAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: applied_payments,applied_vendor_credits,employee,payment_term - name: AppliedPaymentsAppliedVendorCreditsEmployeePaymentTerm - - value: applied_payments,applied_vendor_credits,payment_term - name: AppliedPaymentsAppliedVendorCreditsPaymentTerm - - value: applied_payments,company - name: AppliedPaymentsCompany - - value: applied_payments,company,accounting_period - name: AppliedPaymentsCompanyAccountingPeriod - - value: applied_payments,company,accounting_period,payment_term - name: AppliedPaymentsCompanyAccountingPeriodPaymentTerm - - value: applied_payments,company,employee - name: AppliedPaymentsCompanyEmployee - - value: applied_payments,company,employee,accounting_period - name: AppliedPaymentsCompanyEmployeeAccountingPeriod - - value: applied_payments,company,employee,accounting_period,payment_term - name: AppliedPaymentsCompanyEmployeeAccountingPeriodPaymentTerm - - value: applied_payments,company,employee,payment_term - name: AppliedPaymentsCompanyEmployeePaymentTerm - - value: applied_payments,company,payment_term - name: AppliedPaymentsCompanyPaymentTerm - - value: applied_payments,contact - name: AppliedPaymentsContact - - value: applied_payments,contact,accounting_period - name: AppliedPaymentsContactAccountingPeriod - - value: applied_payments,contact,accounting_period,payment_term - name: AppliedPaymentsContactAccountingPeriodPaymentTerm - - value: applied_payments,contact,company - name: AppliedPaymentsContactCompany - - value: applied_payments,contact,company,accounting_period - name: AppliedPaymentsContactCompanyAccountingPeriod - - value: applied_payments,contact,company,accounting_period,payment_term - name: AppliedPaymentsContactCompanyAccountingPeriodPaymentTerm - - value: applied_payments,contact,company,employee - name: AppliedPaymentsContactCompanyEmployee - - value: applied_payments,contact,company,employee,accounting_period - name: AppliedPaymentsContactCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,contact,company,employee,accounting_period,payment_term - name: AppliedPaymentsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: applied_payments,contact,company,employee,payment_term - name: AppliedPaymentsContactCompanyEmployeePaymentTerm - - value: applied_payments,contact,company,payment_term - name: AppliedPaymentsContactCompanyPaymentTerm - - value: applied_payments,contact,employee - name: AppliedPaymentsContactEmployee - - value: applied_payments,contact,employee,accounting_period - name: AppliedPaymentsContactEmployeeAccountingPeriod - - value: applied_payments,contact,employee,accounting_period,payment_term - name: AppliedPaymentsContactEmployeeAccountingPeriodPaymentTerm - - value: applied_payments,contact,employee,payment_term - name: AppliedPaymentsContactEmployeePaymentTerm - - value: applied_payments,contact,payment_term - name: AppliedPaymentsContactPaymentTerm - - value: applied_payments,employee - name: AppliedPaymentsEmployee - - value: applied_payments,employee,accounting_period - name: AppliedPaymentsEmployeeAccountingPeriod - - value: applied_payments,employee,accounting_period,payment_term - name: AppliedPaymentsEmployeeAccountingPeriodPaymentTerm - - value: applied_payments,employee,payment_term - name: AppliedPaymentsEmployeePaymentTerm - - value: applied_payments,line_items - name: AppliedPaymentsLineItems - - value: applied_payments,line_items,accounting_period - name: AppliedPaymentsLineItemsAccountingPeriod - - value: applied_payments,line_items,accounting_period,payment_term - name: AppliedPaymentsLineItemsAccountingPeriodPaymentTerm - - value: applied_payments,line_items,applied_credit_notes - name: AppliedPaymentsLineItemsAppliedCreditNotes - - value: applied_payments,line_items,applied_credit_notes,accounting_period - name: AppliedPaymentsLineItemsAppliedCreditNotesAccountingPeriod - - value: >- - applied_payments,line_items,applied_credit_notes,accounting_period,payment_term - name: AppliedPaymentsLineItemsAppliedCreditNotesAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,applied_credit_notes,applied_vendor_credits - name: AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCredits - - value: >- - applied_payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsAccountingPeriod - - value: >- - applied_payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company - name: AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompany - - value: >- - applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployee - - value: >- - applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,payment_term - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,payment_term - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm - - value: >- - applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact - name: AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContact - - value: >- - applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod - - value: >- - applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompany - - value: >- - applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee - - value: >- - applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,payment_term - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployee - - value: >- - applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,payment_term - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm - - value: >- - applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee - name: AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsEmployee - - value: >- - applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,payment_term - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm - - value: >- - applied_payments,line_items,applied_credit_notes,applied_vendor_credits,payment_term - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsPaymentTerm - - value: applied_payments,line_items,applied_credit_notes,company - name: AppliedPaymentsLineItemsAppliedCreditNotesCompany - - value: >- - applied_payments,line_items,applied_credit_notes,company,accounting_period - name: AppliedPaymentsLineItemsAppliedCreditNotesCompanyAccountingPeriod - - value: >- - applied_payments,line_items,applied_credit_notes,company,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesCompanyAccountingPeriodPaymentTerm - - value: applied_payments,line_items,applied_credit_notes,company,employee - name: AppliedPaymentsLineItemsAppliedCreditNotesCompanyEmployee - - value: >- - applied_payments,line_items,applied_credit_notes,company,employee,accounting_period - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,applied_credit_notes,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,applied_credit_notes,company,employee,payment_term - name: AppliedPaymentsLineItemsAppliedCreditNotesCompanyEmployeePaymentTerm - - value: applied_payments,line_items,applied_credit_notes,company,payment_term - name: AppliedPaymentsLineItemsAppliedCreditNotesCompanyPaymentTerm - - value: applied_payments,line_items,applied_credit_notes,contact - name: AppliedPaymentsLineItemsAppliedCreditNotesContact - - value: >- - applied_payments,line_items,applied_credit_notes,contact,accounting_period - name: AppliedPaymentsLineItemsAppliedCreditNotesContactAccountingPeriod - - value: >- - applied_payments,line_items,applied_credit_notes,contact,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesContactAccountingPeriodPaymentTerm - - value: applied_payments,line_items,applied_credit_notes,contact,company - name: AppliedPaymentsLineItemsAppliedCreditNotesContactCompany - - value: >- - applied_payments,line_items,applied_credit_notes,contact,company,accounting_period - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesContactCompanyAccountingPeriod - - value: >- - applied_payments,line_items,applied_credit_notes,contact,company,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,applied_credit_notes,contact,company,employee - name: AppliedPaymentsLineItemsAppliedCreditNotesContactCompanyEmployee - - value: >- - applied_payments,line_items,applied_credit_notes,contact,company,employee,accounting_period - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesContactCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,applied_credit_notes,contact,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,applied_credit_notes,contact,company,employee,payment_term - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesContactCompanyEmployeePaymentTerm - - value: >- - applied_payments,line_items,applied_credit_notes,contact,company,payment_term - name: AppliedPaymentsLineItemsAppliedCreditNotesContactCompanyPaymentTerm - - value: applied_payments,line_items,applied_credit_notes,contact,employee - name: AppliedPaymentsLineItemsAppliedCreditNotesContactEmployee - - value: >- - applied_payments,line_items,applied_credit_notes,contact,employee,accounting_period - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesContactEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,applied_credit_notes,contact,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,applied_credit_notes,contact,employee,payment_term - name: AppliedPaymentsLineItemsAppliedCreditNotesContactEmployeePaymentTerm - - value: applied_payments,line_items,applied_credit_notes,contact,payment_term - name: AppliedPaymentsLineItemsAppliedCreditNotesContactPaymentTerm - - value: applied_payments,line_items,applied_credit_notes,employee - name: AppliedPaymentsLineItemsAppliedCreditNotesEmployee - - value: >- - applied_payments,line_items,applied_credit_notes,employee,accounting_period - name: AppliedPaymentsLineItemsAppliedCreditNotesEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,applied_credit_notes,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm - - value: applied_payments,line_items,applied_credit_notes,employee,payment_term - name: AppliedPaymentsLineItemsAppliedCreditNotesEmployeePaymentTerm - - value: applied_payments,line_items,applied_credit_notes,payment_term - name: AppliedPaymentsLineItemsAppliedCreditNotesPaymentTerm - - value: applied_payments,line_items,applied_vendor_credits - name: AppliedPaymentsLineItemsAppliedVendorCredits - - value: applied_payments,line_items,applied_vendor_credits,accounting_period - name: AppliedPaymentsLineItemsAppliedVendorCreditsAccountingPeriod - - value: >- - applied_payments,line_items,applied_vendor_credits,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: applied_payments,line_items,applied_vendor_credits,company - name: AppliedPaymentsLineItemsAppliedVendorCreditsCompany - - value: >- - applied_payments,line_items,applied_vendor_credits,company,accounting_period - name: AppliedPaymentsLineItemsAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - applied_payments,line_items,applied_vendor_credits,company,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: applied_payments,line_items,applied_vendor_credits,company,employee - name: AppliedPaymentsLineItemsAppliedVendorCreditsCompanyEmployee - - value: >- - applied_payments,line_items,applied_vendor_credits,company,employee,accounting_period - name: >- - AppliedPaymentsLineItemsAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,applied_vendor_credits,company,employee,payment_term - name: AppliedPaymentsLineItemsAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - applied_payments,line_items,applied_vendor_credits,company,payment_term - name: AppliedPaymentsLineItemsAppliedVendorCreditsCompanyPaymentTerm - - value: applied_payments,line_items,applied_vendor_credits,contact - name: AppliedPaymentsLineItemsAppliedVendorCreditsContact - - value: >- - applied_payments,line_items,applied_vendor_credits,contact,accounting_period - name: AppliedPaymentsLineItemsAppliedVendorCreditsContactAccountingPeriod - - value: >- - applied_payments,line_items,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: applied_payments,line_items,applied_vendor_credits,contact,company - name: AppliedPaymentsLineItemsAppliedVendorCreditsContactCompany - - value: >- - applied_payments,line_items,applied_vendor_credits,contact,company,accounting_period - name: >- - AppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - applied_payments,line_items,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,applied_vendor_credits,contact,company,employee - name: AppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyEmployee - - value: >- - applied_payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - AppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,applied_vendor_credits,contact,company,employee,payment_term - name: >- - AppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - applied_payments,line_items,applied_vendor_credits,contact,company,payment_term - name: AppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyPaymentTerm - - value: applied_payments,line_items,applied_vendor_credits,contact,employee - name: AppliedPaymentsLineItemsAppliedVendorCreditsContactEmployee - - value: >- - applied_payments,line_items,applied_vendor_credits,contact,employee,accounting_period - name: >- - AppliedPaymentsLineItemsAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,applied_vendor_credits,contact,employee,payment_term - name: AppliedPaymentsLineItemsAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - applied_payments,line_items,applied_vendor_credits,contact,payment_term - name: AppliedPaymentsLineItemsAppliedVendorCreditsContactPaymentTerm - - value: applied_payments,line_items,applied_vendor_credits,employee - name: AppliedPaymentsLineItemsAppliedVendorCreditsEmployee - - value: >- - applied_payments,line_items,applied_vendor_credits,employee,accounting_period - name: AppliedPaymentsLineItemsAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,applied_vendor_credits,employee,payment_term - name: AppliedPaymentsLineItemsAppliedVendorCreditsEmployeePaymentTerm - - value: applied_payments,line_items,applied_vendor_credits,payment_term - name: AppliedPaymentsLineItemsAppliedVendorCreditsPaymentTerm - - value: applied_payments,line_items,company - name: AppliedPaymentsLineItemsCompany - - value: applied_payments,line_items,company,accounting_period - name: AppliedPaymentsLineItemsCompanyAccountingPeriod - - value: applied_payments,line_items,company,accounting_period,payment_term - name: AppliedPaymentsLineItemsCompanyAccountingPeriodPaymentTerm - - value: applied_payments,line_items,company,employee - name: AppliedPaymentsLineItemsCompanyEmployee - - value: applied_payments,line_items,company,employee,accounting_period - name: AppliedPaymentsLineItemsCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,company,employee,accounting_period,payment_term - name: AppliedPaymentsLineItemsCompanyEmployeeAccountingPeriodPaymentTerm - - value: applied_payments,line_items,company,employee,payment_term - name: AppliedPaymentsLineItemsCompanyEmployeePaymentTerm - - value: applied_payments,line_items,company,payment_term - name: AppliedPaymentsLineItemsCompanyPaymentTerm - - value: applied_payments,line_items,contact - name: AppliedPaymentsLineItemsContact - - value: applied_payments,line_items,contact,accounting_period - name: AppliedPaymentsLineItemsContactAccountingPeriod - - value: applied_payments,line_items,contact,accounting_period,payment_term - name: AppliedPaymentsLineItemsContactAccountingPeriodPaymentTerm - - value: applied_payments,line_items,contact,company - name: AppliedPaymentsLineItemsContactCompany - - value: applied_payments,line_items,contact,company,accounting_period - name: AppliedPaymentsLineItemsContactCompanyAccountingPeriod - - value: >- - applied_payments,line_items,contact,company,accounting_period,payment_term - name: AppliedPaymentsLineItemsContactCompanyAccountingPeriodPaymentTerm - - value: applied_payments,line_items,contact,company,employee - name: AppliedPaymentsLineItemsContactCompanyEmployee - - value: applied_payments,line_items,contact,company,employee,accounting_period - name: AppliedPaymentsLineItemsContactCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,contact,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: applied_payments,line_items,contact,company,employee,payment_term - name: AppliedPaymentsLineItemsContactCompanyEmployeePaymentTerm - - value: applied_payments,line_items,contact,company,payment_term - name: AppliedPaymentsLineItemsContactCompanyPaymentTerm - - value: applied_payments,line_items,contact,employee - name: AppliedPaymentsLineItemsContactEmployee - - value: applied_payments,line_items,contact,employee,accounting_period - name: AppliedPaymentsLineItemsContactEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,contact,employee,accounting_period,payment_term - name: AppliedPaymentsLineItemsContactEmployeeAccountingPeriodPaymentTerm - - value: applied_payments,line_items,contact,employee,payment_term - name: AppliedPaymentsLineItemsContactEmployeePaymentTerm - - value: applied_payments,line_items,contact,payment_term - name: AppliedPaymentsLineItemsContactPaymentTerm - - value: applied_payments,line_items,employee - name: AppliedPaymentsLineItemsEmployee - - value: applied_payments,line_items,employee,accounting_period - name: AppliedPaymentsLineItemsEmployeeAccountingPeriod - - value: applied_payments,line_items,employee,accounting_period,payment_term - name: AppliedPaymentsLineItemsEmployeeAccountingPeriodPaymentTerm - - value: applied_payments,line_items,employee,payment_term - name: AppliedPaymentsLineItemsEmployeePaymentTerm - - value: applied_payments,line_items,payment_term - name: AppliedPaymentsLineItemsPaymentTerm - - value: applied_payments,line_items,purchase_orders - name: AppliedPaymentsLineItemsPurchaseOrders - - value: applied_payments,line_items,purchase_orders,accounting_period - name: AppliedPaymentsLineItemsPurchaseOrdersAccountingPeriod - - value: >- - applied_payments,line_items,purchase_orders,accounting_period,payment_term - name: AppliedPaymentsLineItemsPurchaseOrdersAccountingPeriodPaymentTerm - - value: applied_payments,line_items,purchase_orders,applied_credit_notes - name: AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotes - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,accounting_period - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAccountingPeriod - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCredits - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsPaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,company - name: AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompany - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployee - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployeePaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,company,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyPaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,contact - name: AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContact - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactAccountingPeriod - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company - name: AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompany - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployee - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeePaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyPaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactEmployee - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactEmployeePaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,contact,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactPaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,employee - name: AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesEmployee - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,employee,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesEmployeePaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_credit_notes,payment_term - name: AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesPaymentTerm - - value: applied_payments,line_items,purchase_orders,applied_vendor_credits - name: AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCredits - - value: >- - applied_payments,line_items,purchase_orders,applied_vendor_credits,accounting_period - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsAccountingPeriod - - value: >- - applied_payments,line_items,purchase_orders,applied_vendor_credits,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_vendor_credits,company - name: AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompany - - value: >- - applied_payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - applied_payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployee - - value: >- - applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_vendor_credits,company,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyPaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_vendor_credits,contact - name: AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContact - - value: >- - applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod - - value: >- - applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompany - - value: >- - applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee - - value: >- - applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployee - - value: >- - applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactPaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_vendor_credits,employee - name: AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsEmployee - - value: >- - applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsEmployeePaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,applied_vendor_credits,payment_term - name: AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsPaymentTerm - - value: applied_payments,line_items,purchase_orders,company - name: AppliedPaymentsLineItemsPurchaseOrdersCompany - - value: applied_payments,line_items,purchase_orders,company,accounting_period - name: AppliedPaymentsLineItemsPurchaseOrdersCompanyAccountingPeriod - - value: >- - applied_payments,line_items,purchase_orders,company,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersCompanyAccountingPeriodPaymentTerm - - value: applied_payments,line_items,purchase_orders,company,employee - name: AppliedPaymentsLineItemsPurchaseOrdersCompanyEmployee - - value: >- - applied_payments,line_items,purchase_orders,company,employee,accounting_period - name: AppliedPaymentsLineItemsPurchaseOrdersCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,purchase_orders,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,company,employee,payment_term - name: AppliedPaymentsLineItemsPurchaseOrdersCompanyEmployeePaymentTerm - - value: applied_payments,line_items,purchase_orders,company,payment_term - name: AppliedPaymentsLineItemsPurchaseOrdersCompanyPaymentTerm - - value: applied_payments,line_items,purchase_orders,contact - name: AppliedPaymentsLineItemsPurchaseOrdersContact - - value: applied_payments,line_items,purchase_orders,contact,accounting_period - name: AppliedPaymentsLineItemsPurchaseOrdersContactAccountingPeriod - - value: >- - applied_payments,line_items,purchase_orders,contact,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersContactAccountingPeriodPaymentTerm - - value: applied_payments,line_items,purchase_orders,contact,company - name: AppliedPaymentsLineItemsPurchaseOrdersContactCompany - - value: >- - applied_payments,line_items,purchase_orders,contact,company,accounting_period - name: AppliedPaymentsLineItemsPurchaseOrdersContactCompanyAccountingPeriod - - value: >- - applied_payments,line_items,purchase_orders,contact,company,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersContactCompanyAccountingPeriodPaymentTerm - - value: applied_payments,line_items,purchase_orders,contact,company,employee - name: AppliedPaymentsLineItemsPurchaseOrdersContactCompanyEmployee - - value: >- - applied_payments,line_items,purchase_orders,contact,company,employee,accounting_period - name: >- - AppliedPaymentsLineItemsPurchaseOrdersContactCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,purchase_orders,contact,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,contact,company,employee,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersContactCompanyEmployeePaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,contact,company,payment_term - name: AppliedPaymentsLineItemsPurchaseOrdersContactCompanyPaymentTerm - - value: applied_payments,line_items,purchase_orders,contact,employee - name: AppliedPaymentsLineItemsPurchaseOrdersContactEmployee - - value: >- - applied_payments,line_items,purchase_orders,contact,employee,accounting_period - name: AppliedPaymentsLineItemsPurchaseOrdersContactEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,purchase_orders,contact,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersContactEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,purchase_orders,contact,employee,payment_term - name: AppliedPaymentsLineItemsPurchaseOrdersContactEmployeePaymentTerm - - value: applied_payments,line_items,purchase_orders,contact,payment_term - name: AppliedPaymentsLineItemsPurchaseOrdersContactPaymentTerm - - value: applied_payments,line_items,purchase_orders,employee - name: AppliedPaymentsLineItemsPurchaseOrdersEmployee - - value: applied_payments,line_items,purchase_orders,employee,accounting_period - name: AppliedPaymentsLineItemsPurchaseOrdersEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,purchase_orders,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsPurchaseOrdersEmployeeAccountingPeriodPaymentTerm - - value: applied_payments,line_items,purchase_orders,employee,payment_term - name: AppliedPaymentsLineItemsPurchaseOrdersEmployeePaymentTerm - - value: applied_payments,line_items,purchase_orders,payment_term - name: AppliedPaymentsLineItemsPurchaseOrdersPaymentTerm - - value: applied_payments,line_items,tracking_categories - name: AppliedPaymentsLineItemsTrackingCategories - - value: applied_payments,line_items,tracking_categories,accounting_period - name: AppliedPaymentsLineItemsTrackingCategoriesAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,accounting_period,payment_term - name: AppliedPaymentsLineItemsTrackingCategoriesAccountingPeriodPaymentTerm - - value: applied_payments,line_items,tracking_categories,applied_credit_notes - name: AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotes - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCredits - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompany - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployee - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContact - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompany - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployee - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployee - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,company - name: AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompany - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployee - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployeePaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,company,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,contact - name: AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContact - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompany - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployee - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeePaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactEmployee - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactEmployeePaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,contact,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,employee - name: AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesEmployee - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,employee,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesEmployeePaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_credit_notes,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesPaymentTerm - - value: applied_payments,line_items,tracking_categories,applied_vendor_credits - name: AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCredits - - value: >- - applied_payments,line_items,tracking_categories,applied_vendor_credits,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,applied_vendor_credits,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_vendor_credits,company - name: AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompany - - value: >- - applied_payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployee - - value: >- - applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_vendor_credits,company,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_vendor_credits,contact - name: AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContact - - value: >- - applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompany - - value: >- - applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployee - - value: >- - applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployee - - value: >- - applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_vendor_credits,employee - name: AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsEmployee - - value: >- - applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsEmployeePaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,applied_vendor_credits,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsPaymentTerm - - value: applied_payments,line_items,tracking_categories,company - name: AppliedPaymentsLineItemsTrackingCategoriesCompany - - value: >- - applied_payments,line_items,tracking_categories,company,accounting_period - name: AppliedPaymentsLineItemsTrackingCategoriesCompanyAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,company,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesCompanyAccountingPeriodPaymentTerm - - value: applied_payments,line_items,tracking_categories,company,employee - name: AppliedPaymentsLineItemsTrackingCategoriesCompanyEmployee - - value: >- - applied_payments,line_items,tracking_categories,company,employee,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,company,employee,payment_term - name: AppliedPaymentsLineItemsTrackingCategoriesCompanyEmployeePaymentTerm - - value: applied_payments,line_items,tracking_categories,company,payment_term - name: AppliedPaymentsLineItemsTrackingCategoriesCompanyPaymentTerm - - value: applied_payments,line_items,tracking_categories,contact - name: AppliedPaymentsLineItemsTrackingCategoriesContact - - value: >- - applied_payments,line_items,tracking_categories,contact,accounting_period - name: AppliedPaymentsLineItemsTrackingCategoriesContactAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,contact,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesContactAccountingPeriodPaymentTerm - - value: applied_payments,line_items,tracking_categories,contact,company - name: AppliedPaymentsLineItemsTrackingCategoriesContactCompany - - value: >- - applied_payments,line_items,tracking_categories,contact,company,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesContactCompanyAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,contact,company,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesContactCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,contact,company,employee - name: AppliedPaymentsLineItemsTrackingCategoriesContactCompanyEmployee - - value: >- - applied_payments,line_items,tracking_categories,contact,company,employee,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesContactCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,contact,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,contact,company,employee,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesContactCompanyEmployeePaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,contact,company,payment_term - name: AppliedPaymentsLineItemsTrackingCategoriesContactCompanyPaymentTerm - - value: applied_payments,line_items,tracking_categories,contact,employee - name: AppliedPaymentsLineItemsTrackingCategoriesContactEmployee - - value: >- - applied_payments,line_items,tracking_categories,contact,employee,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesContactEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,contact,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesContactEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,contact,employee,payment_term - name: AppliedPaymentsLineItemsTrackingCategoriesContactEmployeePaymentTerm - - value: applied_payments,line_items,tracking_categories,contact,payment_term - name: AppliedPaymentsLineItemsTrackingCategoriesContactPaymentTerm - - value: applied_payments,line_items,tracking_categories,employee - name: AppliedPaymentsLineItemsTrackingCategoriesEmployee - - value: >- - applied_payments,line_items,tracking_categories,employee,accounting_period - name: AppliedPaymentsLineItemsTrackingCategoriesEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesEmployeeAccountingPeriodPaymentTerm - - value: applied_payments,line_items,tracking_categories,employee,payment_term - name: AppliedPaymentsLineItemsTrackingCategoriesEmployeePaymentTerm - - value: applied_payments,line_items,tracking_categories,payment_term - name: AppliedPaymentsLineItemsTrackingCategoriesPaymentTerm - - value: applied_payments,line_items,tracking_categories,purchase_orders - name: AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrders - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotes - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCredits - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompany - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployee - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeePaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContact - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompany - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployee - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeePaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployee - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeePaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployee - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeePaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCredits - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompany - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployee - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContact - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompany - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployee - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployee - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeePaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,company - name: AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompany - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,company,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,company,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,company,employee - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployee - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,company,employee,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployeePaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,company,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,contact - name: AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContact - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,contact,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,contact,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,contact,company - name: AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompany - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployee - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployeePaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,contact,company,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,contact,employee - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactEmployee - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactEmployeePaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,contact,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,employee - name: AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersEmployee - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,employee,accounting_period - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriod - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,employee,accounting_period,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,employee,payment_term - name: >- - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersEmployeePaymentTerm - - value: >- - applied_payments,line_items,tracking_categories,purchase_orders,payment_term - name: AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersPaymentTerm - - value: applied_payments,payment_term - name: AppliedPaymentsPaymentTerm - - value: applied_payments,purchase_orders - name: AppliedPaymentsPurchaseOrders - - value: applied_payments,purchase_orders,accounting_period - name: AppliedPaymentsPurchaseOrdersAccountingPeriod - - value: applied_payments,purchase_orders,accounting_period,payment_term - name: AppliedPaymentsPurchaseOrdersAccountingPeriodPaymentTerm - - value: applied_payments,purchase_orders,applied_credit_notes - name: AppliedPaymentsPurchaseOrdersAppliedCreditNotes - - value: >- - applied_payments,purchase_orders,applied_credit_notes,accounting_period - name: AppliedPaymentsPurchaseOrdersAppliedCreditNotesAccountingPeriod - - value: >- - applied_payments,purchase_orders,applied_credit_notes,accounting_period,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAccountingPeriodPaymentTerm - - value: >- - applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits - name: AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCredits - - value: >- - applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod - - value: >- - applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany - - value: >- - applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee - - value: >- - applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm - - value: >- - applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact - - value: >- - applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod - - value: >- - applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany - - value: >- - applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee - - value: >- - applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee - - value: >- - applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm - - value: >- - applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee - - value: >- - applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm - - value: >- - applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsPaymentTerm - - value: applied_payments,purchase_orders,applied_credit_notes,company - name: AppliedPaymentsPurchaseOrdersAppliedCreditNotesCompany - - value: >- - applied_payments,purchase_orders,applied_credit_notes,company,accounting_period - name: AppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod - - value: >- - applied_payments,purchase_orders,applied_credit_notes,company,accounting_period,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriodPaymentTerm - - value: applied_payments,purchase_orders,applied_credit_notes,company,employee - name: AppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyEmployee - - value: >- - applied_payments,purchase_orders,applied_credit_notes,company,employee,accounting_period - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,purchase_orders,applied_credit_notes,company,employee,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyEmployeePaymentTerm - - value: >- - applied_payments,purchase_orders,applied_credit_notes,company,payment_term - name: AppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyPaymentTerm - - value: applied_payments,purchase_orders,applied_credit_notes,contact - name: AppliedPaymentsPurchaseOrdersAppliedCreditNotesContact - - value: >- - applied_payments,purchase_orders,applied_credit_notes,contact,accounting_period - name: AppliedPaymentsPurchaseOrdersAppliedCreditNotesContactAccountingPeriod - - value: >- - applied_payments,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesContactAccountingPeriodPaymentTerm - - value: applied_payments,purchase_orders,applied_credit_notes,contact,company - name: AppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompany - - value: >- - applied_payments,purchase_orders,applied_credit_notes,contact,company,accounting_period - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod - - value: >- - applied_payments,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,purchase_orders,applied_credit_notes,contact,company,employee - name: AppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyEmployee - - value: >- - applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeePaymentTerm - - value: >- - applied_payments,purchase_orders,applied_credit_notes,contact,company,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyPaymentTerm - - value: applied_payments,purchase_orders,applied_credit_notes,contact,employee - name: AppliedPaymentsPurchaseOrdersAppliedCreditNotesContactEmployee - - value: >- - applied_payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod - - value: >- - applied_payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,purchase_orders,applied_credit_notes,contact,employee,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesContactEmployeePaymentTerm - - value: >- - applied_payments,purchase_orders,applied_credit_notes,contact,payment_term - name: AppliedPaymentsPurchaseOrdersAppliedCreditNotesContactPaymentTerm - - value: applied_payments,purchase_orders,applied_credit_notes,employee - name: AppliedPaymentsPurchaseOrdersAppliedCreditNotesEmployee - - value: >- - applied_payments,purchase_orders,applied_credit_notes,employee,accounting_period - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod - - value: >- - applied_payments,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,purchase_orders,applied_credit_notes,employee,payment_term - name: AppliedPaymentsPurchaseOrdersAppliedCreditNotesEmployeePaymentTerm - - value: applied_payments,purchase_orders,applied_credit_notes,payment_term - name: AppliedPaymentsPurchaseOrdersAppliedCreditNotesPaymentTerm - - value: applied_payments,purchase_orders,applied_vendor_credits - name: AppliedPaymentsPurchaseOrdersAppliedVendorCredits - - value: >- - applied_payments,purchase_orders,applied_vendor_credits,accounting_period - name: AppliedPaymentsPurchaseOrdersAppliedVendorCreditsAccountingPeriod - - value: >- - applied_payments,purchase_orders,applied_vendor_credits,accounting_period,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: applied_payments,purchase_orders,applied_vendor_credits,company - name: AppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompany - - value: >- - applied_payments,purchase_orders,applied_vendor_credits,company,accounting_period - name: >- - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - applied_payments,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,purchase_orders,applied_vendor_credits,company,employee - name: AppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyEmployee - - value: >- - applied_payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period - name: >- - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,purchase_orders,applied_vendor_credits,company,employee,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - applied_payments,purchase_orders,applied_vendor_credits,company,payment_term - name: AppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyPaymentTerm - - value: applied_payments,purchase_orders,applied_vendor_credits,contact - name: AppliedPaymentsPurchaseOrdersAppliedVendorCreditsContact - - value: >- - applied_payments,purchase_orders,applied_vendor_credits,contact,accounting_period - name: >- - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod - - value: >- - applied_payments,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - applied_payments,purchase_orders,applied_vendor_credits,contact,company - name: AppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompany - - value: >- - applied_payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period - name: >- - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - applied_payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee - name: >- - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee - - value: >- - applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - applied_payments,purchase_orders,applied_vendor_credits,contact,company,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - applied_payments,purchase_orders,applied_vendor_credits,contact,employee - name: AppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactEmployee - - value: >- - applied_payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period - name: >- - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - applied_payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,purchase_orders,applied_vendor_credits,contact,employee,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - applied_payments,purchase_orders,applied_vendor_credits,contact,payment_term - name: AppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactPaymentTerm - - value: applied_payments,purchase_orders,applied_vendor_credits,employee - name: AppliedPaymentsPurchaseOrdersAppliedVendorCreditsEmployee - - value: >- - applied_payments,purchase_orders,applied_vendor_credits,employee,accounting_period - name: >- - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - applied_payments,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,purchase_orders,applied_vendor_credits,employee,payment_term - name: AppliedPaymentsPurchaseOrdersAppliedVendorCreditsEmployeePaymentTerm - - value: applied_payments,purchase_orders,applied_vendor_credits,payment_term - name: AppliedPaymentsPurchaseOrdersAppliedVendorCreditsPaymentTerm - - value: applied_payments,purchase_orders,company - name: AppliedPaymentsPurchaseOrdersCompany - - value: applied_payments,purchase_orders,company,accounting_period - name: AppliedPaymentsPurchaseOrdersCompanyAccountingPeriod - - value: >- - applied_payments,purchase_orders,company,accounting_period,payment_term - name: AppliedPaymentsPurchaseOrdersCompanyAccountingPeriodPaymentTerm - - value: applied_payments,purchase_orders,company,employee - name: AppliedPaymentsPurchaseOrdersCompanyEmployee - - value: applied_payments,purchase_orders,company,employee,accounting_period - name: AppliedPaymentsPurchaseOrdersCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,purchase_orders,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsPurchaseOrdersCompanyEmployeeAccountingPeriodPaymentTerm - - value: applied_payments,purchase_orders,company,employee,payment_term - name: AppliedPaymentsPurchaseOrdersCompanyEmployeePaymentTerm - - value: applied_payments,purchase_orders,company,payment_term - name: AppliedPaymentsPurchaseOrdersCompanyPaymentTerm - - value: applied_payments,purchase_orders,contact - name: AppliedPaymentsPurchaseOrdersContact - - value: applied_payments,purchase_orders,contact,accounting_period - name: AppliedPaymentsPurchaseOrdersContactAccountingPeriod - - value: >- - applied_payments,purchase_orders,contact,accounting_period,payment_term - name: AppliedPaymentsPurchaseOrdersContactAccountingPeriodPaymentTerm - - value: applied_payments,purchase_orders,contact,company - name: AppliedPaymentsPurchaseOrdersContactCompany - - value: applied_payments,purchase_orders,contact,company,accounting_period - name: AppliedPaymentsPurchaseOrdersContactCompanyAccountingPeriod - - value: >- - applied_payments,purchase_orders,contact,company,accounting_period,payment_term - name: AppliedPaymentsPurchaseOrdersContactCompanyAccountingPeriodPaymentTerm - - value: applied_payments,purchase_orders,contact,company,employee - name: AppliedPaymentsPurchaseOrdersContactCompanyEmployee - - value: >- - applied_payments,purchase_orders,contact,company,employee,accounting_period - name: AppliedPaymentsPurchaseOrdersContactCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,purchase_orders,contact,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsPurchaseOrdersContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: applied_payments,purchase_orders,contact,company,employee,payment_term - name: AppliedPaymentsPurchaseOrdersContactCompanyEmployeePaymentTerm - - value: applied_payments,purchase_orders,contact,company,payment_term - name: AppliedPaymentsPurchaseOrdersContactCompanyPaymentTerm - - value: applied_payments,purchase_orders,contact,employee - name: AppliedPaymentsPurchaseOrdersContactEmployee - - value: applied_payments,purchase_orders,contact,employee,accounting_period - name: AppliedPaymentsPurchaseOrdersContactEmployeeAccountingPeriod - - value: >- - applied_payments,purchase_orders,contact,employee,accounting_period,payment_term - name: >- - AppliedPaymentsPurchaseOrdersContactEmployeeAccountingPeriodPaymentTerm - - value: applied_payments,purchase_orders,contact,employee,payment_term - name: AppliedPaymentsPurchaseOrdersContactEmployeePaymentTerm - - value: applied_payments,purchase_orders,contact,payment_term - name: AppliedPaymentsPurchaseOrdersContactPaymentTerm - - value: applied_payments,purchase_orders,employee - name: AppliedPaymentsPurchaseOrdersEmployee - - value: applied_payments,purchase_orders,employee,accounting_period - name: AppliedPaymentsPurchaseOrdersEmployeeAccountingPeriod - - value: >- - applied_payments,purchase_orders,employee,accounting_period,payment_term - name: AppliedPaymentsPurchaseOrdersEmployeeAccountingPeriodPaymentTerm - - value: applied_payments,purchase_orders,employee,payment_term - name: AppliedPaymentsPurchaseOrdersEmployeePaymentTerm - - value: applied_payments,purchase_orders,payment_term - name: AppliedPaymentsPurchaseOrdersPaymentTerm - - value: applied_payments,tracking_categories - name: AppliedPaymentsTrackingCategories - - value: applied_payments,tracking_categories,accounting_period - name: AppliedPaymentsTrackingCategoriesAccountingPeriod - - value: applied_payments,tracking_categories,accounting_period,payment_term - name: AppliedPaymentsTrackingCategoriesAccountingPeriodPaymentTerm - - value: applied_payments,tracking_categories,applied_credit_notes - name: AppliedPaymentsTrackingCategoriesAppliedCreditNotes - - value: >- - applied_payments,tracking_categories,applied_credit_notes,accounting_period - name: AppliedPaymentsTrackingCategoriesAppliedCreditNotesAccountingPeriod - - value: >- - applied_payments,tracking_categories,applied_credit_notes,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCredits - - value: >- - applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriod - - value: >- - applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompany - - value: >- - applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployee - - value: >- - applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm - - value: >- - applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContact - - value: >- - applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod - - value: >- - applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompany - - value: >- - applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee - - value: >- - applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployee - - value: >- - applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm - - value: >- - applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployee - - value: >- - applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm - - value: >- - applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsPaymentTerm - - value: applied_payments,tracking_categories,applied_credit_notes,company - name: AppliedPaymentsTrackingCategoriesAppliedCreditNotesCompany - - value: >- - applied_payments,tracking_categories,applied_credit_notes,company,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriod - - value: >- - applied_payments,tracking_categories,applied_credit_notes,company,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,applied_credit_notes,company,employee - name: AppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyEmployee - - value: >- - applied_payments,tracking_categories,applied_credit_notes,company,employee,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,applied_credit_notes,company,employee,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyEmployeePaymentTerm - - value: >- - applied_payments,tracking_categories,applied_credit_notes,company,payment_term - name: AppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyPaymentTerm - - value: applied_payments,tracking_categories,applied_credit_notes,contact - name: AppliedPaymentsTrackingCategoriesAppliedCreditNotesContact - - value: >- - applied_payments,tracking_categories,applied_credit_notes,contact,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesContactAccountingPeriod - - value: >- - applied_payments,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesContactAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,applied_credit_notes,contact,company - name: AppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompany - - value: >- - applied_payments,tracking_categories,applied_credit_notes,contact,company,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriod - - value: >- - applied_payments,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,applied_credit_notes,contact,company,employee - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyEmployee - - value: >- - applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeePaymentTerm - - value: >- - applied_payments,tracking_categories,applied_credit_notes,contact,company,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyPaymentTerm - - value: >- - applied_payments,tracking_categories,applied_credit_notes,contact,employee - name: AppliedPaymentsTrackingCategoriesAppliedCreditNotesContactEmployee - - value: >- - applied_payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriod - - value: >- - applied_payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,applied_credit_notes,contact,employee,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesContactEmployeePaymentTerm - - value: >- - applied_payments,tracking_categories,applied_credit_notes,contact,payment_term - name: AppliedPaymentsTrackingCategoriesAppliedCreditNotesContactPaymentTerm - - value: applied_payments,tracking_categories,applied_credit_notes,employee - name: AppliedPaymentsTrackingCategoriesAppliedCreditNotesEmployee - - value: >- - applied_payments,tracking_categories,applied_credit_notes,employee,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriod - - value: >- - applied_payments,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,applied_credit_notes,employee,payment_term - name: AppliedPaymentsTrackingCategoriesAppliedCreditNotesEmployeePaymentTerm - - value: applied_payments,tracking_categories,applied_credit_notes,payment_term - name: AppliedPaymentsTrackingCategoriesAppliedCreditNotesPaymentTerm - - value: applied_payments,tracking_categories,applied_vendor_credits - name: AppliedPaymentsTrackingCategoriesAppliedVendorCredits - - value: >- - applied_payments,tracking_categories,applied_vendor_credits,accounting_period - name: AppliedPaymentsTrackingCategoriesAppliedVendorCreditsAccountingPeriod - - value: >- - applied_payments,tracking_categories,applied_vendor_credits,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: applied_payments,tracking_categories,applied_vendor_credits,company - name: AppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompany - - value: >- - applied_payments,tracking_categories,applied_vendor_credits,company,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - applied_payments,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,applied_vendor_credits,company,employee - name: AppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyEmployee - - value: >- - applied_payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,applied_vendor_credits,company,employee,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - applied_payments,tracking_categories,applied_vendor_credits,company,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyPaymentTerm - - value: applied_payments,tracking_categories,applied_vendor_credits,contact - name: AppliedPaymentsTrackingCategoriesAppliedVendorCreditsContact - - value: >- - applied_payments,tracking_categories,applied_vendor_credits,contact,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriod - - value: >- - applied_payments,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,applied_vendor_credits,contact,company - name: AppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompany - - value: >- - applied_payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - applied_payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee - name: >- - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployee - - value: >- - applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - applied_payments,tracking_categories,applied_vendor_credits,contact,company,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - applied_payments,tracking_categories,applied_vendor_credits,contact,employee - name: AppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactEmployee - - value: >- - applied_payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - applied_payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,applied_vendor_credits,contact,employee,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - applied_payments,tracking_categories,applied_vendor_credits,contact,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactPaymentTerm - - value: applied_payments,tracking_categories,applied_vendor_credits,employee - name: AppliedPaymentsTrackingCategoriesAppliedVendorCreditsEmployee - - value: >- - applied_payments,tracking_categories,applied_vendor_credits,employee,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - applied_payments,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,applied_vendor_credits,employee,payment_term - name: >- - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsEmployeePaymentTerm - - value: >- - applied_payments,tracking_categories,applied_vendor_credits,payment_term - name: AppliedPaymentsTrackingCategoriesAppliedVendorCreditsPaymentTerm - - value: applied_payments,tracking_categories,company - name: AppliedPaymentsTrackingCategoriesCompany - - value: applied_payments,tracking_categories,company,accounting_period - name: AppliedPaymentsTrackingCategoriesCompanyAccountingPeriod - - value: >- - applied_payments,tracking_categories,company,accounting_period,payment_term - name: AppliedPaymentsTrackingCategoriesCompanyAccountingPeriodPaymentTerm - - value: applied_payments,tracking_categories,company,employee - name: AppliedPaymentsTrackingCategoriesCompanyEmployee - - value: >- - applied_payments,tracking_categories,company,employee,accounting_period - name: AppliedPaymentsTrackingCategoriesCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,tracking_categories,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesCompanyEmployeeAccountingPeriodPaymentTerm - - value: applied_payments,tracking_categories,company,employee,payment_term - name: AppliedPaymentsTrackingCategoriesCompanyEmployeePaymentTerm - - value: applied_payments,tracking_categories,company,payment_term - name: AppliedPaymentsTrackingCategoriesCompanyPaymentTerm - - value: applied_payments,tracking_categories,contact - name: AppliedPaymentsTrackingCategoriesContact - - value: applied_payments,tracking_categories,contact,accounting_period - name: AppliedPaymentsTrackingCategoriesContactAccountingPeriod - - value: >- - applied_payments,tracking_categories,contact,accounting_period,payment_term - name: AppliedPaymentsTrackingCategoriesContactAccountingPeriodPaymentTerm - - value: applied_payments,tracking_categories,contact,company - name: AppliedPaymentsTrackingCategoriesContactCompany - - value: applied_payments,tracking_categories,contact,company,accounting_period - name: AppliedPaymentsTrackingCategoriesContactCompanyAccountingPeriod - - value: >- - applied_payments,tracking_categories,contact,company,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesContactCompanyAccountingPeriodPaymentTerm - - value: applied_payments,tracking_categories,contact,company,employee - name: AppliedPaymentsTrackingCategoriesContactCompanyEmployee - - value: >- - applied_payments,tracking_categories,contact,company,employee,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesContactCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,tracking_categories,contact,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,contact,company,employee,payment_term - name: AppliedPaymentsTrackingCategoriesContactCompanyEmployeePaymentTerm - - value: applied_payments,tracking_categories,contact,company,payment_term - name: AppliedPaymentsTrackingCategoriesContactCompanyPaymentTerm - - value: applied_payments,tracking_categories,contact,employee - name: AppliedPaymentsTrackingCategoriesContactEmployee - - value: >- - applied_payments,tracking_categories,contact,employee,accounting_period - name: AppliedPaymentsTrackingCategoriesContactEmployeeAccountingPeriod - - value: >- - applied_payments,tracking_categories,contact,employee,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesContactEmployeeAccountingPeriodPaymentTerm - - value: applied_payments,tracking_categories,contact,employee,payment_term - name: AppliedPaymentsTrackingCategoriesContactEmployeePaymentTerm - - value: applied_payments,tracking_categories,contact,payment_term - name: AppliedPaymentsTrackingCategoriesContactPaymentTerm - - value: applied_payments,tracking_categories,employee - name: AppliedPaymentsTrackingCategoriesEmployee - - value: applied_payments,tracking_categories,employee,accounting_period - name: AppliedPaymentsTrackingCategoriesEmployeeAccountingPeriod - - value: >- - applied_payments,tracking_categories,employee,accounting_period,payment_term - name: AppliedPaymentsTrackingCategoriesEmployeeAccountingPeriodPaymentTerm - - value: applied_payments,tracking_categories,employee,payment_term - name: AppliedPaymentsTrackingCategoriesEmployeePaymentTerm - - value: applied_payments,tracking_categories,payment_term - name: AppliedPaymentsTrackingCategoriesPaymentTerm - - value: applied_payments,tracking_categories,purchase_orders - name: AppliedPaymentsTrackingCategoriesPurchaseOrders - - value: applied_payments,tracking_categories,purchase_orders,accounting_period - name: AppliedPaymentsTrackingCategoriesPurchaseOrdersAccountingPeriod - - value: >- - applied_payments,tracking_categories,purchase_orders,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes - name: AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotes - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriod - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCredits - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompany - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployee - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeePaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContact - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriod - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompany - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployee - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeePaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployee - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeePaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployee - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeePaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_credit_notes,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_vendor_credits - name: AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCredits - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriod - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompany - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployee - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContact - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompany - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployee - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployee - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeePaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsPaymentTerm - - value: applied_payments,tracking_categories,purchase_orders,company - name: AppliedPaymentsTrackingCategoriesPurchaseOrdersCompany - - value: >- - applied_payments,tracking_categories,purchase_orders,company,accounting_period - name: AppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod - - value: >- - applied_payments,tracking_categories,purchase_orders,company,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriodPaymentTerm - - value: applied_payments,tracking_categories,purchase_orders,company,employee - name: AppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyEmployee - - value: >- - applied_payments,tracking_categories,purchase_orders,company,employee,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,company,employee,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyEmployeePaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,company,payment_term - name: AppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyPaymentTerm - - value: applied_payments,tracking_categories,purchase_orders,contact - name: AppliedPaymentsTrackingCategoriesPurchaseOrdersContact - - value: >- - applied_payments,tracking_categories,purchase_orders,contact,accounting_period - name: AppliedPaymentsTrackingCategoriesPurchaseOrdersContactAccountingPeriod - - value: >- - applied_payments,tracking_categories,purchase_orders,contact,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersContactAccountingPeriodPaymentTerm - - value: applied_payments,tracking_categories,purchase_orders,contact,company - name: AppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompany - - value: >- - applied_payments,tracking_categories,purchase_orders,contact,company,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod - - value: >- - applied_payments,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,contact,company,employee - name: AppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyEmployee - - value: >- - applied_payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriod - - value: >- - applied_payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,contact,company,employee,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyEmployeePaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,contact,company,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyPaymentTerm - - value: applied_payments,tracking_categories,purchase_orders,contact,employee - name: AppliedPaymentsTrackingCategoriesPurchaseOrdersContactEmployee - - value: >- - applied_payments,tracking_categories,purchase_orders,contact,employee,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriod - - value: >- - applied_payments,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,contact,employee,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersContactEmployeePaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,contact,payment_term - name: AppliedPaymentsTrackingCategoriesPurchaseOrdersContactPaymentTerm - - value: applied_payments,tracking_categories,purchase_orders,employee - name: AppliedPaymentsTrackingCategoriesPurchaseOrdersEmployee - - value: >- - applied_payments,tracking_categories,purchase_orders,employee,accounting_period - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriod - - value: >- - applied_payments,tracking_categories,purchase_orders,employee,accounting_period,payment_term - name: >- - AppliedPaymentsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriodPaymentTerm - - value: >- - applied_payments,tracking_categories,purchase_orders,employee,payment_term - name: AppliedPaymentsTrackingCategoriesPurchaseOrdersEmployeePaymentTerm - - value: applied_payments,tracking_categories,purchase_orders,payment_term - name: AppliedPaymentsTrackingCategoriesPurchaseOrdersPaymentTerm - - applied_vendor_credits - - value: applied_vendor_credits,accounting_period - name: AppliedVendorCreditsAccountingPeriod - - value: applied_vendor_credits,accounting_period,payment_term - name: AppliedVendorCreditsAccountingPeriodPaymentTerm - - value: applied_vendor_credits,company - name: AppliedVendorCreditsCompany - - value: applied_vendor_credits,company,accounting_period - name: AppliedVendorCreditsCompanyAccountingPeriod - - value: applied_vendor_credits,company,accounting_period,payment_term - name: AppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: applied_vendor_credits,company,employee - name: AppliedVendorCreditsCompanyEmployee - - value: applied_vendor_credits,company,employee,accounting_period - name: AppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: applied_vendor_credits,company,employee,accounting_period,payment_term - name: AppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: applied_vendor_credits,company,employee,payment_term - name: AppliedVendorCreditsCompanyEmployeePaymentTerm - - value: applied_vendor_credits,company,payment_term - name: AppliedVendorCreditsCompanyPaymentTerm - - value: applied_vendor_credits,contact - name: AppliedVendorCreditsContact - - value: applied_vendor_credits,contact,accounting_period - name: AppliedVendorCreditsContactAccountingPeriod - - value: applied_vendor_credits,contact,accounting_period,payment_term - name: AppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: applied_vendor_credits,contact,company - name: AppliedVendorCreditsContactCompany - - value: applied_vendor_credits,contact,company,accounting_period - name: AppliedVendorCreditsContactCompanyAccountingPeriod - - value: applied_vendor_credits,contact,company,accounting_period,payment_term - name: AppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: applied_vendor_credits,contact,company,employee - name: AppliedVendorCreditsContactCompanyEmployee - - value: applied_vendor_credits,contact,company,employee,accounting_period - name: AppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: AppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: applied_vendor_credits,contact,company,employee,payment_term - name: AppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: applied_vendor_credits,contact,company,payment_term - name: AppliedVendorCreditsContactCompanyPaymentTerm - - value: applied_vendor_credits,contact,employee - name: AppliedVendorCreditsContactEmployee - - value: applied_vendor_credits,contact,employee,accounting_period - name: AppliedVendorCreditsContactEmployeeAccountingPeriod - - value: applied_vendor_credits,contact,employee,accounting_period,payment_term - name: AppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: applied_vendor_credits,contact,employee,payment_term - name: AppliedVendorCreditsContactEmployeePaymentTerm - - value: applied_vendor_credits,contact,payment_term - name: AppliedVendorCreditsContactPaymentTerm - - value: applied_vendor_credits,employee - name: AppliedVendorCreditsEmployee - - value: applied_vendor_credits,employee,accounting_period - name: AppliedVendorCreditsEmployeeAccountingPeriod - - value: applied_vendor_credits,employee,accounting_period,payment_term - name: AppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: applied_vendor_credits,employee,payment_term - name: AppliedVendorCreditsEmployeePaymentTerm - - value: applied_vendor_credits,payment_term - name: AppliedVendorCreditsPaymentTerm - - company - - value: company,accounting_period - name: CompanyAccountingPeriod - - value: company,accounting_period,payment_term - name: CompanyAccountingPeriodPaymentTerm - - value: company,employee - name: CompanyEmployee - - value: company,employee,accounting_period - name: CompanyEmployeeAccountingPeriod - - value: company,employee,accounting_period,payment_term - name: CompanyEmployeeAccountingPeriodPaymentTerm - - value: company,employee,payment_term - name: CompanyEmployeePaymentTerm - - value: company,payment_term - name: CompanyPaymentTerm - - contact - - value: contact,accounting_period - name: ContactAccountingPeriod - - value: contact,accounting_period,payment_term - name: ContactAccountingPeriodPaymentTerm - - value: contact,company - name: ContactCompany - - value: contact,company,accounting_period - name: ContactCompanyAccountingPeriod - - value: contact,company,accounting_period,payment_term - name: ContactCompanyAccountingPeriodPaymentTerm - - value: contact,company,employee - name: ContactCompanyEmployee - - value: contact,company,employee,accounting_period - name: ContactCompanyEmployeeAccountingPeriod - - value: contact,company,employee,accounting_period,payment_term - name: ContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: contact,company,employee,payment_term - name: ContactCompanyEmployeePaymentTerm - - value: contact,company,payment_term - name: ContactCompanyPaymentTerm - - value: contact,employee - name: ContactEmployee - - value: contact,employee,accounting_period - name: ContactEmployeeAccountingPeriod - - value: contact,employee,accounting_period,payment_term - name: ContactEmployeeAccountingPeriodPaymentTerm - - value: contact,employee,payment_term - name: ContactEmployeePaymentTerm - - value: contact,payment_term - name: ContactPaymentTerm - - employee - - value: employee,accounting_period - name: EmployeeAccountingPeriod - - value: employee,accounting_period,payment_term - name: EmployeeAccountingPeriodPaymentTerm - - value: employee,payment_term - name: EmployeePaymentTerm - - line_items - - value: line_items,accounting_period - name: LineItemsAccountingPeriod - - value: line_items,accounting_period,payment_term - name: LineItemsAccountingPeriodPaymentTerm - - value: line_items,applied_credit_notes - name: LineItemsAppliedCreditNotes - - value: line_items,applied_credit_notes,accounting_period - name: LineItemsAppliedCreditNotesAccountingPeriod - - value: line_items,applied_credit_notes,accounting_period,payment_term - name: LineItemsAppliedCreditNotesAccountingPeriodPaymentTerm - - value: line_items,applied_credit_notes,applied_vendor_credits - name: LineItemsAppliedCreditNotesAppliedVendorCredits - - value: >- - line_items,applied_credit_notes,applied_vendor_credits,accounting_period - name: LineItemsAppliedCreditNotesAppliedVendorCreditsAccountingPeriod - - value: >- - line_items,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term - name: >- - LineItemsAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: line_items,applied_credit_notes,applied_vendor_credits,company - name: LineItemsAppliedCreditNotesAppliedVendorCreditsCompany - - value: >- - line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period - name: LineItemsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term - name: >- - LineItemsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - line_items,applied_credit_notes,applied_vendor_credits,company,employee - name: LineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployee - - value: >- - line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period - name: >- - LineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - LineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,applied_credit_notes,applied_vendor_credits,company,employee,payment_term - name: >- - LineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - line_items,applied_credit_notes,applied_vendor_credits,company,payment_term - name: LineItemsAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm - - value: line_items,applied_credit_notes,applied_vendor_credits,contact - name: LineItemsAppliedCreditNotesAppliedVendorCreditsContact - - value: >- - line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period - name: LineItemsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod - - value: >- - line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - LineItemsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: line_items,applied_credit_notes,applied_vendor_credits,contact,company - name: LineItemsAppliedCreditNotesAppliedVendorCreditsContactCompany - - value: >- - line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period - name: >- - LineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - LineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee - name: LineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee - - value: >- - line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - LineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - LineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term - name: >- - LineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - line_items,applied_credit_notes,applied_vendor_credits,contact,company,payment_term - name: >- - LineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - line_items,applied_credit_notes,applied_vendor_credits,contact,employee - name: LineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployee - - value: >- - line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period - name: >- - LineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - LineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term - name: >- - LineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - line_items,applied_credit_notes,applied_vendor_credits,contact,payment_term - name: LineItemsAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm - - value: line_items,applied_credit_notes,applied_vendor_credits,employee - name: LineItemsAppliedCreditNotesAppliedVendorCreditsEmployee - - value: >- - line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period - name: >- - LineItemsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - LineItemsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,applied_credit_notes,applied_vendor_credits,employee,payment_term - name: LineItemsAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm - - value: line_items,applied_credit_notes,applied_vendor_credits,payment_term - name: LineItemsAppliedCreditNotesAppliedVendorCreditsPaymentTerm - - value: line_items,applied_credit_notes,company - name: LineItemsAppliedCreditNotesCompany - - value: line_items,applied_credit_notes,company,accounting_period - name: LineItemsAppliedCreditNotesCompanyAccountingPeriod - - value: line_items,applied_credit_notes,company,accounting_period,payment_term - name: LineItemsAppliedCreditNotesCompanyAccountingPeriodPaymentTerm - - value: line_items,applied_credit_notes,company,employee - name: LineItemsAppliedCreditNotesCompanyEmployee - - value: line_items,applied_credit_notes,company,employee,accounting_period - name: LineItemsAppliedCreditNotesCompanyEmployeeAccountingPeriod - - value: >- - line_items,applied_credit_notes,company,employee,accounting_period,payment_term - name: LineItemsAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm - - value: line_items,applied_credit_notes,company,employee,payment_term - name: LineItemsAppliedCreditNotesCompanyEmployeePaymentTerm - - value: line_items,applied_credit_notes,company,payment_term - name: LineItemsAppliedCreditNotesCompanyPaymentTerm - - value: line_items,applied_credit_notes,contact - name: LineItemsAppliedCreditNotesContact - - value: line_items,applied_credit_notes,contact,accounting_period - name: LineItemsAppliedCreditNotesContactAccountingPeriod - - value: line_items,applied_credit_notes,contact,accounting_period,payment_term - name: LineItemsAppliedCreditNotesContactAccountingPeriodPaymentTerm - - value: line_items,applied_credit_notes,contact,company - name: LineItemsAppliedCreditNotesContactCompany - - value: line_items,applied_credit_notes,contact,company,accounting_period - name: LineItemsAppliedCreditNotesContactCompanyAccountingPeriod - - value: >- - line_items,applied_credit_notes,contact,company,accounting_period,payment_term - name: LineItemsAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm - - value: line_items,applied_credit_notes,contact,company,employee - name: LineItemsAppliedCreditNotesContactCompanyEmployee - - value: >- - line_items,applied_credit_notes,contact,company,employee,accounting_period - name: LineItemsAppliedCreditNotesContactCompanyEmployeeAccountingPeriod - - value: >- - line_items,applied_credit_notes,contact,company,employee,accounting_period,payment_term - name: >- - LineItemsAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: line_items,applied_credit_notes,contact,company,employee,payment_term - name: LineItemsAppliedCreditNotesContactCompanyEmployeePaymentTerm - - value: line_items,applied_credit_notes,contact,company,payment_term - name: LineItemsAppliedCreditNotesContactCompanyPaymentTerm - - value: line_items,applied_credit_notes,contact,employee - name: LineItemsAppliedCreditNotesContactEmployee - - value: line_items,applied_credit_notes,contact,employee,accounting_period - name: LineItemsAppliedCreditNotesContactEmployeeAccountingPeriod - - value: >- - line_items,applied_credit_notes,contact,employee,accounting_period,payment_term - name: LineItemsAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm - - value: line_items,applied_credit_notes,contact,employee,payment_term - name: LineItemsAppliedCreditNotesContactEmployeePaymentTerm - - value: line_items,applied_credit_notes,contact,payment_term - name: LineItemsAppliedCreditNotesContactPaymentTerm - - value: line_items,applied_credit_notes,employee - name: LineItemsAppliedCreditNotesEmployee - - value: line_items,applied_credit_notes,employee,accounting_period - name: LineItemsAppliedCreditNotesEmployeeAccountingPeriod - - value: >- - line_items,applied_credit_notes,employee,accounting_period,payment_term - name: LineItemsAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm - - value: line_items,applied_credit_notes,employee,payment_term - name: LineItemsAppliedCreditNotesEmployeePaymentTerm - - value: line_items,applied_credit_notes,payment_term - name: LineItemsAppliedCreditNotesPaymentTerm - - value: line_items,applied_vendor_credits - name: LineItemsAppliedVendorCredits - - value: line_items,applied_vendor_credits,accounting_period - name: LineItemsAppliedVendorCreditsAccountingPeriod - - value: line_items,applied_vendor_credits,accounting_period,payment_term - name: LineItemsAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: line_items,applied_vendor_credits,company - name: LineItemsAppliedVendorCreditsCompany - - value: line_items,applied_vendor_credits,company,accounting_period - name: LineItemsAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - line_items,applied_vendor_credits,company,accounting_period,payment_term - name: LineItemsAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: line_items,applied_vendor_credits,company,employee - name: LineItemsAppliedVendorCreditsCompanyEmployee - - value: line_items,applied_vendor_credits,company,employee,accounting_period - name: LineItemsAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - line_items,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - LineItemsAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: line_items,applied_vendor_credits,company,employee,payment_term - name: LineItemsAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: line_items,applied_vendor_credits,company,payment_term - name: LineItemsAppliedVendorCreditsCompanyPaymentTerm - - value: line_items,applied_vendor_credits,contact - name: LineItemsAppliedVendorCreditsContact - - value: line_items,applied_vendor_credits,contact,accounting_period - name: LineItemsAppliedVendorCreditsContactAccountingPeriod - - value: >- - line_items,applied_vendor_credits,contact,accounting_period,payment_term - name: LineItemsAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: line_items,applied_vendor_credits,contact,company - name: LineItemsAppliedVendorCreditsContactCompany - - value: line_items,applied_vendor_credits,contact,company,accounting_period - name: LineItemsAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - line_items,applied_vendor_credits,contact,company,accounting_period,payment_term - name: LineItemsAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: line_items,applied_vendor_credits,contact,company,employee - name: LineItemsAppliedVendorCreditsContactCompanyEmployee - - value: >- - line_items,applied_vendor_credits,contact,company,employee,accounting_period - name: LineItemsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - line_items,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - LineItemsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,applied_vendor_credits,contact,company,employee,payment_term - name: LineItemsAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: line_items,applied_vendor_credits,contact,company,payment_term - name: LineItemsAppliedVendorCreditsContactCompanyPaymentTerm - - value: line_items,applied_vendor_credits,contact,employee - name: LineItemsAppliedVendorCreditsContactEmployee - - value: line_items,applied_vendor_credits,contact,employee,accounting_period - name: LineItemsAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - line_items,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - LineItemsAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: line_items,applied_vendor_credits,contact,employee,payment_term - name: LineItemsAppliedVendorCreditsContactEmployeePaymentTerm - - value: line_items,applied_vendor_credits,contact,payment_term - name: LineItemsAppliedVendorCreditsContactPaymentTerm - - value: line_items,applied_vendor_credits,employee - name: LineItemsAppliedVendorCreditsEmployee - - value: line_items,applied_vendor_credits,employee,accounting_period - name: LineItemsAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - line_items,applied_vendor_credits,employee,accounting_period,payment_term - name: LineItemsAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: line_items,applied_vendor_credits,employee,payment_term - name: LineItemsAppliedVendorCreditsEmployeePaymentTerm - - value: line_items,applied_vendor_credits,payment_term - name: LineItemsAppliedVendorCreditsPaymentTerm - - value: line_items,company - name: LineItemsCompany - - value: line_items,company,accounting_period - name: LineItemsCompanyAccountingPeriod - - value: line_items,company,accounting_period,payment_term - name: LineItemsCompanyAccountingPeriodPaymentTerm - - value: line_items,company,employee - name: LineItemsCompanyEmployee - - value: line_items,company,employee,accounting_period - name: LineItemsCompanyEmployeeAccountingPeriod - - value: line_items,company,employee,accounting_period,payment_term - name: LineItemsCompanyEmployeeAccountingPeriodPaymentTerm - - value: line_items,company,employee,payment_term - name: LineItemsCompanyEmployeePaymentTerm - - value: line_items,company,payment_term - name: LineItemsCompanyPaymentTerm - - value: line_items,contact - name: LineItemsContact - - value: line_items,contact,accounting_period - name: LineItemsContactAccountingPeriod - - value: line_items,contact,accounting_period,payment_term - name: LineItemsContactAccountingPeriodPaymentTerm - - value: line_items,contact,company - name: LineItemsContactCompany - - value: line_items,contact,company,accounting_period - name: LineItemsContactCompanyAccountingPeriod - - value: line_items,contact,company,accounting_period,payment_term - name: LineItemsContactCompanyAccountingPeriodPaymentTerm - - value: line_items,contact,company,employee - name: LineItemsContactCompanyEmployee - - value: line_items,contact,company,employee,accounting_period - name: LineItemsContactCompanyEmployeeAccountingPeriod - - value: line_items,contact,company,employee,accounting_period,payment_term - name: LineItemsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: line_items,contact,company,employee,payment_term - name: LineItemsContactCompanyEmployeePaymentTerm - - value: line_items,contact,company,payment_term - name: LineItemsContactCompanyPaymentTerm - - value: line_items,contact,employee - name: LineItemsContactEmployee - - value: line_items,contact,employee,accounting_period - name: LineItemsContactEmployeeAccountingPeriod - - value: line_items,contact,employee,accounting_period,payment_term - name: LineItemsContactEmployeeAccountingPeriodPaymentTerm - - value: line_items,contact,employee,payment_term - name: LineItemsContactEmployeePaymentTerm - - value: line_items,contact,payment_term - name: LineItemsContactPaymentTerm - - value: line_items,employee - name: LineItemsEmployee - - value: line_items,employee,accounting_period - name: LineItemsEmployeeAccountingPeriod - - value: line_items,employee,accounting_period,payment_term - name: LineItemsEmployeeAccountingPeriodPaymentTerm - - value: line_items,employee,payment_term - name: LineItemsEmployeePaymentTerm - - value: line_items,payment_term - name: LineItemsPaymentTerm - - value: line_items,purchase_orders - name: LineItemsPurchaseOrders - - value: line_items,purchase_orders,accounting_period - name: LineItemsPurchaseOrdersAccountingPeriod - - value: line_items,purchase_orders,accounting_period,payment_term - name: LineItemsPurchaseOrdersAccountingPeriodPaymentTerm - - value: line_items,purchase_orders,applied_credit_notes - name: LineItemsPurchaseOrdersAppliedCreditNotes - - value: line_items,purchase_orders,applied_credit_notes,accounting_period - name: LineItemsPurchaseOrdersAppliedCreditNotesAccountingPeriod - - value: >- - line_items,purchase_orders,applied_credit_notes,accounting_period,payment_term - name: LineItemsPurchaseOrdersAppliedCreditNotesAccountingPeriodPaymentTerm - - value: line_items,purchase_orders,applied_credit_notes,applied_vendor_credits - name: LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCredits - - value: >- - line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod - - value: >- - line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company - name: LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany - - value: >- - line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee - - value: >- - line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm - - value: >- - line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact - name: LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact - - value: >- - line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod - - value: >- - line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany - - value: >- - line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee - - value: >- - line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee - - value: >- - line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm - - value: >- - line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee - name: LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee - - value: >- - line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm - - value: >- - line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsPaymentTerm - - value: line_items,purchase_orders,applied_credit_notes,company - name: LineItemsPurchaseOrdersAppliedCreditNotesCompany - - value: >- - line_items,purchase_orders,applied_credit_notes,company,accounting_period - name: LineItemsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod - - value: >- - line_items,purchase_orders,applied_credit_notes,company,accounting_period,payment_term - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriodPaymentTerm - - value: line_items,purchase_orders,applied_credit_notes,company,employee - name: LineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployee - - value: >- - line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod - - value: >- - line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,purchase_orders,applied_credit_notes,company,employee,payment_term - name: LineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployeePaymentTerm - - value: line_items,purchase_orders,applied_credit_notes,company,payment_term - name: LineItemsPurchaseOrdersAppliedCreditNotesCompanyPaymentTerm - - value: line_items,purchase_orders,applied_credit_notes,contact - name: LineItemsPurchaseOrdersAppliedCreditNotesContact - - value: >- - line_items,purchase_orders,applied_credit_notes,contact,accounting_period - name: LineItemsPurchaseOrdersAppliedCreditNotesContactAccountingPeriod - - value: >- - line_items,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesContactAccountingPeriodPaymentTerm - - value: line_items,purchase_orders,applied_credit_notes,contact,company - name: LineItemsPurchaseOrdersAppliedCreditNotesContactCompany - - value: >- - line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod - - value: >- - line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm - - value: >- - line_items,purchase_orders,applied_credit_notes,contact,company,employee - name: LineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployee - - value: >- - line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod - - value: >- - line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,purchase_orders,applied_credit_notes,contact,company,employee,payment_term - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeePaymentTerm - - value: >- - line_items,purchase_orders,applied_credit_notes,contact,company,payment_term - name: LineItemsPurchaseOrdersAppliedCreditNotesContactCompanyPaymentTerm - - value: line_items,purchase_orders,applied_credit_notes,contact,employee - name: LineItemsPurchaseOrdersAppliedCreditNotesContactEmployee - - value: >- - line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod - - value: >- - line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,purchase_orders,applied_credit_notes,contact,employee,payment_term - name: LineItemsPurchaseOrdersAppliedCreditNotesContactEmployeePaymentTerm - - value: line_items,purchase_orders,applied_credit_notes,contact,payment_term - name: LineItemsPurchaseOrdersAppliedCreditNotesContactPaymentTerm - - value: line_items,purchase_orders,applied_credit_notes,employee - name: LineItemsPurchaseOrdersAppliedCreditNotesEmployee - - value: >- - line_items,purchase_orders,applied_credit_notes,employee,accounting_period - name: LineItemsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod - - value: >- - line_items,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term - name: >- - LineItemsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm - - value: line_items,purchase_orders,applied_credit_notes,employee,payment_term - name: LineItemsPurchaseOrdersAppliedCreditNotesEmployeePaymentTerm - - value: line_items,purchase_orders,applied_credit_notes,payment_term - name: LineItemsPurchaseOrdersAppliedCreditNotesPaymentTerm - - value: line_items,purchase_orders,applied_vendor_credits - name: LineItemsPurchaseOrdersAppliedVendorCredits - - value: line_items,purchase_orders,applied_vendor_credits,accounting_period - name: LineItemsPurchaseOrdersAppliedVendorCreditsAccountingPeriod - - value: >- - line_items,purchase_orders,applied_vendor_credits,accounting_period,payment_term - name: LineItemsPurchaseOrdersAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: line_items,purchase_orders,applied_vendor_credits,company - name: LineItemsPurchaseOrdersAppliedVendorCreditsCompany - - value: >- - line_items,purchase_orders,applied_vendor_credits,company,accounting_period - name: LineItemsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - line_items,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term - name: >- - LineItemsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: line_items,purchase_orders,applied_vendor_credits,company,employee - name: LineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployee - - value: >- - line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period - name: >- - LineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - LineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,purchase_orders,applied_vendor_credits,company,employee,payment_term - name: LineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: line_items,purchase_orders,applied_vendor_credits,company,payment_term - name: LineItemsPurchaseOrdersAppliedVendorCreditsCompanyPaymentTerm - - value: line_items,purchase_orders,applied_vendor_credits,contact - name: LineItemsPurchaseOrdersAppliedVendorCreditsContact - - value: >- - line_items,purchase_orders,applied_vendor_credits,contact,accounting_period - name: LineItemsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod - - value: >- - line_items,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - LineItemsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: line_items,purchase_orders,applied_vendor_credits,contact,company - name: LineItemsPurchaseOrdersAppliedVendorCreditsContactCompany - - value: >- - line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period - name: >- - LineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - LineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - line_items,purchase_orders,applied_vendor_credits,contact,company,employee - name: LineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee - - value: >- - line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - LineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - LineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term - name: >- - LineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - line_items,purchase_orders,applied_vendor_credits,contact,company,payment_term - name: LineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyPaymentTerm - - value: line_items,purchase_orders,applied_vendor_credits,contact,employee - name: LineItemsPurchaseOrdersAppliedVendorCreditsContactEmployee - - value: >- - line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period - name: >- - LineItemsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - LineItemsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,purchase_orders,applied_vendor_credits,contact,employee,payment_term - name: LineItemsPurchaseOrdersAppliedVendorCreditsContactEmployeePaymentTerm - - value: line_items,purchase_orders,applied_vendor_credits,contact,payment_term - name: LineItemsPurchaseOrdersAppliedVendorCreditsContactPaymentTerm - - value: line_items,purchase_orders,applied_vendor_credits,employee - name: LineItemsPurchaseOrdersAppliedVendorCreditsEmployee - - value: >- - line_items,purchase_orders,applied_vendor_credits,employee,accounting_period - name: LineItemsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - line_items,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - LineItemsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,purchase_orders,applied_vendor_credits,employee,payment_term - name: LineItemsPurchaseOrdersAppliedVendorCreditsEmployeePaymentTerm - - value: line_items,purchase_orders,applied_vendor_credits,payment_term - name: LineItemsPurchaseOrdersAppliedVendorCreditsPaymentTerm - - value: line_items,purchase_orders,company - name: LineItemsPurchaseOrdersCompany - - value: line_items,purchase_orders,company,accounting_period - name: LineItemsPurchaseOrdersCompanyAccountingPeriod - - value: line_items,purchase_orders,company,accounting_period,payment_term - name: LineItemsPurchaseOrdersCompanyAccountingPeriodPaymentTerm - - value: line_items,purchase_orders,company,employee - name: LineItemsPurchaseOrdersCompanyEmployee - - value: line_items,purchase_orders,company,employee,accounting_period - name: LineItemsPurchaseOrdersCompanyEmployeeAccountingPeriod - - value: >- - line_items,purchase_orders,company,employee,accounting_period,payment_term - name: LineItemsPurchaseOrdersCompanyEmployeeAccountingPeriodPaymentTerm - - value: line_items,purchase_orders,company,employee,payment_term - name: LineItemsPurchaseOrdersCompanyEmployeePaymentTerm - - value: line_items,purchase_orders,company,payment_term - name: LineItemsPurchaseOrdersCompanyPaymentTerm - - value: line_items,purchase_orders,contact - name: LineItemsPurchaseOrdersContact - - value: line_items,purchase_orders,contact,accounting_period - name: LineItemsPurchaseOrdersContactAccountingPeriod - - value: line_items,purchase_orders,contact,accounting_period,payment_term - name: LineItemsPurchaseOrdersContactAccountingPeriodPaymentTerm - - value: line_items,purchase_orders,contact,company - name: LineItemsPurchaseOrdersContactCompany - - value: line_items,purchase_orders,contact,company,accounting_period - name: LineItemsPurchaseOrdersContactCompanyAccountingPeriod - - value: >- - line_items,purchase_orders,contact,company,accounting_period,payment_term - name: LineItemsPurchaseOrdersContactCompanyAccountingPeriodPaymentTerm - - value: line_items,purchase_orders,contact,company,employee - name: LineItemsPurchaseOrdersContactCompanyEmployee - - value: line_items,purchase_orders,contact,company,employee,accounting_period - name: LineItemsPurchaseOrdersContactCompanyEmployeeAccountingPeriod - - value: >- - line_items,purchase_orders,contact,company,employee,accounting_period,payment_term - name: >- - LineItemsPurchaseOrdersContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: line_items,purchase_orders,contact,company,employee,payment_term - name: LineItemsPurchaseOrdersContactCompanyEmployeePaymentTerm - - value: line_items,purchase_orders,contact,company,payment_term - name: LineItemsPurchaseOrdersContactCompanyPaymentTerm - - value: line_items,purchase_orders,contact,employee - name: LineItemsPurchaseOrdersContactEmployee - - value: line_items,purchase_orders,contact,employee,accounting_period - name: LineItemsPurchaseOrdersContactEmployeeAccountingPeriod - - value: >- - line_items,purchase_orders,contact,employee,accounting_period,payment_term - name: LineItemsPurchaseOrdersContactEmployeeAccountingPeriodPaymentTerm - - value: line_items,purchase_orders,contact,employee,payment_term - name: LineItemsPurchaseOrdersContactEmployeePaymentTerm - - value: line_items,purchase_orders,contact,payment_term - name: LineItemsPurchaseOrdersContactPaymentTerm - - value: line_items,purchase_orders,employee - name: LineItemsPurchaseOrdersEmployee - - value: line_items,purchase_orders,employee,accounting_period - name: LineItemsPurchaseOrdersEmployeeAccountingPeriod - - value: line_items,purchase_orders,employee,accounting_period,payment_term - name: LineItemsPurchaseOrdersEmployeeAccountingPeriodPaymentTerm - - value: line_items,purchase_orders,employee,payment_term - name: LineItemsPurchaseOrdersEmployeePaymentTerm - - value: line_items,purchase_orders,payment_term - name: LineItemsPurchaseOrdersPaymentTerm - - value: line_items,tracking_categories - name: LineItemsTrackingCategories - - value: line_items,tracking_categories,accounting_period - name: LineItemsTrackingCategoriesAccountingPeriod - - value: line_items,tracking_categories,accounting_period,payment_term - name: LineItemsTrackingCategoriesAccountingPeriodPaymentTerm - - value: line_items,tracking_categories,applied_credit_notes - name: LineItemsTrackingCategoriesAppliedCreditNotes - - value: line_items,tracking_categories,applied_credit_notes,accounting_period - name: LineItemsTrackingCategoriesAppliedCreditNotesAccountingPeriod - - value: >- - line_items,tracking_categories,applied_credit_notes,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,applied_credit_notes,applied_vendor_credits - name: LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCredits - - value: >- - line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriod - - value: >- - line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompany - - value: >- - line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployee - - value: >- - line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm - - value: >- - line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContact - - value: >- - line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod - - value: >- - line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompany - - value: >- - line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee - - value: >- - line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployee - - value: >- - line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm - - value: >- - line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployee - - value: >- - line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm - - value: >- - line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsPaymentTerm - - value: line_items,tracking_categories,applied_credit_notes,company - name: LineItemsTrackingCategoriesAppliedCreditNotesCompany - - value: >- - line_items,tracking_categories,applied_credit_notes,company,accounting_period - name: LineItemsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriod - - value: >- - line_items,tracking_categories,applied_credit_notes,company,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriodPaymentTerm - - value: line_items,tracking_categories,applied_credit_notes,company,employee - name: LineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployee - - value: >- - line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriod - - value: >- - line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,applied_credit_notes,company,employee,payment_term - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployeePaymentTerm - - value: >- - line_items,tracking_categories,applied_credit_notes,company,payment_term - name: LineItemsTrackingCategoriesAppliedCreditNotesCompanyPaymentTerm - - value: line_items,tracking_categories,applied_credit_notes,contact - name: LineItemsTrackingCategoriesAppliedCreditNotesContact - - value: >- - line_items,tracking_categories,applied_credit_notes,contact,accounting_period - name: LineItemsTrackingCategoriesAppliedCreditNotesContactAccountingPeriod - - value: >- - line_items,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesContactAccountingPeriodPaymentTerm - - value: line_items,tracking_categories,applied_credit_notes,contact,company - name: LineItemsTrackingCategoriesAppliedCreditNotesContactCompany - - value: >- - line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriod - - value: >- - line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,applied_credit_notes,contact,company,employee - name: LineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployee - - value: >- - line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriod - - value: >- - line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,applied_credit_notes,contact,company,employee,payment_term - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeePaymentTerm - - value: >- - line_items,tracking_categories,applied_credit_notes,contact,company,payment_term - name: LineItemsTrackingCategoriesAppliedCreditNotesContactCompanyPaymentTerm - - value: line_items,tracking_categories,applied_credit_notes,contact,employee - name: LineItemsTrackingCategoriesAppliedCreditNotesContactEmployee - - value: >- - line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriod - - value: >- - line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,applied_credit_notes,contact,employee,payment_term - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesContactEmployeePaymentTerm - - value: >- - line_items,tracking_categories,applied_credit_notes,contact,payment_term - name: LineItemsTrackingCategoriesAppliedCreditNotesContactPaymentTerm - - value: line_items,tracking_categories,applied_credit_notes,employee - name: LineItemsTrackingCategoriesAppliedCreditNotesEmployee - - value: >- - line_items,tracking_categories,applied_credit_notes,employee,accounting_period - name: LineItemsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriod - - value: >- - line_items,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,applied_credit_notes,employee,payment_term - name: LineItemsTrackingCategoriesAppliedCreditNotesEmployeePaymentTerm - - value: line_items,tracking_categories,applied_credit_notes,payment_term - name: LineItemsTrackingCategoriesAppliedCreditNotesPaymentTerm - - value: line_items,tracking_categories,applied_vendor_credits - name: LineItemsTrackingCategoriesAppliedVendorCredits - - value: >- - line_items,tracking_categories,applied_vendor_credits,accounting_period - name: LineItemsTrackingCategoriesAppliedVendorCreditsAccountingPeriod - - value: >- - line_items,tracking_categories,applied_vendor_credits,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: line_items,tracking_categories,applied_vendor_credits,company - name: LineItemsTrackingCategoriesAppliedVendorCreditsCompany - - value: >- - line_items,tracking_categories,applied_vendor_credits,company,accounting_period - name: LineItemsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - line_items,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: line_items,tracking_categories,applied_vendor_credits,company,employee - name: LineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployee - - value: >- - line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period - name: >- - LineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,applied_vendor_credits,company,employee,payment_term - name: >- - LineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - line_items,tracking_categories,applied_vendor_credits,company,payment_term - name: LineItemsTrackingCategoriesAppliedVendorCreditsCompanyPaymentTerm - - value: line_items,tracking_categories,applied_vendor_credits,contact - name: LineItemsTrackingCategoriesAppliedVendorCreditsContact - - value: >- - line_items,tracking_categories,applied_vendor_credits,contact,accounting_period - name: LineItemsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriod - - value: >- - line_items,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: line_items,tracking_categories,applied_vendor_credits,contact,company - name: LineItemsTrackingCategoriesAppliedVendorCreditsContactCompany - - value: >- - line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period - name: >- - LineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,applied_vendor_credits,contact,company,employee - name: LineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployee - - value: >- - line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - LineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term - name: >- - LineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - line_items,tracking_categories,applied_vendor_credits,contact,company,payment_term - name: >- - LineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyPaymentTerm - - value: line_items,tracking_categories,applied_vendor_credits,contact,employee - name: LineItemsTrackingCategoriesAppliedVendorCreditsContactEmployee - - value: >- - line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period - name: >- - LineItemsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,applied_vendor_credits,contact,employee,payment_term - name: >- - LineItemsTrackingCategoriesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - line_items,tracking_categories,applied_vendor_credits,contact,payment_term - name: LineItemsTrackingCategoriesAppliedVendorCreditsContactPaymentTerm - - value: line_items,tracking_categories,applied_vendor_credits,employee - name: LineItemsTrackingCategoriesAppliedVendorCreditsEmployee - - value: >- - line_items,tracking_categories,applied_vendor_credits,employee,accounting_period - name: >- - LineItemsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - line_items,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,applied_vendor_credits,employee,payment_term - name: LineItemsTrackingCategoriesAppliedVendorCreditsEmployeePaymentTerm - - value: line_items,tracking_categories,applied_vendor_credits,payment_term - name: LineItemsTrackingCategoriesAppliedVendorCreditsPaymentTerm - - value: line_items,tracking_categories,company - name: LineItemsTrackingCategoriesCompany - - value: line_items,tracking_categories,company,accounting_period - name: LineItemsTrackingCategoriesCompanyAccountingPeriod - - value: line_items,tracking_categories,company,accounting_period,payment_term - name: LineItemsTrackingCategoriesCompanyAccountingPeriodPaymentTerm - - value: line_items,tracking_categories,company,employee - name: LineItemsTrackingCategoriesCompanyEmployee - - value: line_items,tracking_categories,company,employee,accounting_period - name: LineItemsTrackingCategoriesCompanyEmployeeAccountingPeriod - - value: >- - line_items,tracking_categories,company,employee,accounting_period,payment_term - name: LineItemsTrackingCategoriesCompanyEmployeeAccountingPeriodPaymentTerm - - value: line_items,tracking_categories,company,employee,payment_term - name: LineItemsTrackingCategoriesCompanyEmployeePaymentTerm - - value: line_items,tracking_categories,company,payment_term - name: LineItemsTrackingCategoriesCompanyPaymentTerm - - value: line_items,tracking_categories,contact - name: LineItemsTrackingCategoriesContact - - value: line_items,tracking_categories,contact,accounting_period - name: LineItemsTrackingCategoriesContactAccountingPeriod - - value: line_items,tracking_categories,contact,accounting_period,payment_term - name: LineItemsTrackingCategoriesContactAccountingPeriodPaymentTerm - - value: line_items,tracking_categories,contact,company - name: LineItemsTrackingCategoriesContactCompany - - value: line_items,tracking_categories,contact,company,accounting_period - name: LineItemsTrackingCategoriesContactCompanyAccountingPeriod - - value: >- - line_items,tracking_categories,contact,company,accounting_period,payment_term - name: LineItemsTrackingCategoriesContactCompanyAccountingPeriodPaymentTerm - - value: line_items,tracking_categories,contact,company,employee - name: LineItemsTrackingCategoriesContactCompanyEmployee - - value: >- - line_items,tracking_categories,contact,company,employee,accounting_period - name: LineItemsTrackingCategoriesContactCompanyEmployeeAccountingPeriod - - value: >- - line_items,tracking_categories,contact,company,employee,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: line_items,tracking_categories,contact,company,employee,payment_term - name: LineItemsTrackingCategoriesContactCompanyEmployeePaymentTerm - - value: line_items,tracking_categories,contact,company,payment_term - name: LineItemsTrackingCategoriesContactCompanyPaymentTerm - - value: line_items,tracking_categories,contact,employee - name: LineItemsTrackingCategoriesContactEmployee - - value: line_items,tracking_categories,contact,employee,accounting_period - name: LineItemsTrackingCategoriesContactEmployeeAccountingPeriod - - value: >- - line_items,tracking_categories,contact,employee,accounting_period,payment_term - name: LineItemsTrackingCategoriesContactEmployeeAccountingPeriodPaymentTerm - - value: line_items,tracking_categories,contact,employee,payment_term - name: LineItemsTrackingCategoriesContactEmployeePaymentTerm - - value: line_items,tracking_categories,contact,payment_term - name: LineItemsTrackingCategoriesContactPaymentTerm - - value: line_items,tracking_categories,employee - name: LineItemsTrackingCategoriesEmployee - - value: line_items,tracking_categories,employee,accounting_period - name: LineItemsTrackingCategoriesEmployeeAccountingPeriod - - value: line_items,tracking_categories,employee,accounting_period,payment_term - name: LineItemsTrackingCategoriesEmployeeAccountingPeriodPaymentTerm - - value: line_items,tracking_categories,employee,payment_term - name: LineItemsTrackingCategoriesEmployeePaymentTerm - - value: line_items,tracking_categories,payment_term - name: LineItemsTrackingCategoriesPaymentTerm - - value: line_items,tracking_categories,purchase_orders - name: LineItemsTrackingCategoriesPurchaseOrders - - value: line_items,tracking_categories,purchase_orders,accounting_period - name: LineItemsTrackingCategoriesPurchaseOrdersAccountingPeriod - - value: >- - line_items,tracking_categories,purchase_orders,accounting_period,payment_term - name: LineItemsTrackingCategoriesPurchaseOrdersAccountingPeriodPaymentTerm - - value: line_items,tracking_categories,purchase_orders,applied_credit_notes - name: LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotes - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriod - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCredits - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,company - name: LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompany - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployee - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeePaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,contact - name: LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContact - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriod - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompany - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployee - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeePaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployee - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeePaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,employee - name: LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployee - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeePaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_credit_notes,payment_term - name: LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesPaymentTerm - - value: line_items,tracking_categories,purchase_orders,applied_vendor_credits - name: LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCredits - - value: >- - line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriod - - value: >- - line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_vendor_credits,company - name: LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompany - - value: >- - line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployee - - value: >- - line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact - name: LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContact - - value: >- - line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod - - value: >- - line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompany - - value: >- - line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee - - value: >- - line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployee - - value: >- - line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee - name: LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployee - - value: >- - line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeePaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,applied_vendor_credits,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsPaymentTerm - - value: line_items,tracking_categories,purchase_orders,company - name: LineItemsTrackingCategoriesPurchaseOrdersCompany - - value: >- - line_items,tracking_categories,purchase_orders,company,accounting_period - name: LineItemsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod - - value: >- - line_items,tracking_categories,purchase_orders,company,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriodPaymentTerm - - value: line_items,tracking_categories,purchase_orders,company,employee - name: LineItemsTrackingCategoriesPurchaseOrdersCompanyEmployee - - value: >- - line_items,tracking_categories,purchase_orders,company,employee,accounting_period - name: >- - LineItemsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriod - - value: >- - line_items,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,company,employee,payment_term - name: LineItemsTrackingCategoriesPurchaseOrdersCompanyEmployeePaymentTerm - - value: line_items,tracking_categories,purchase_orders,company,payment_term - name: LineItemsTrackingCategoriesPurchaseOrdersCompanyPaymentTerm - - value: line_items,tracking_categories,purchase_orders,contact - name: LineItemsTrackingCategoriesPurchaseOrdersContact - - value: >- - line_items,tracking_categories,purchase_orders,contact,accounting_period - name: LineItemsTrackingCategoriesPurchaseOrdersContactAccountingPeriod - - value: >- - line_items,tracking_categories,purchase_orders,contact,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersContactAccountingPeriodPaymentTerm - - value: line_items,tracking_categories,purchase_orders,contact,company - name: LineItemsTrackingCategoriesPurchaseOrdersContactCompany - - value: >- - line_items,tracking_categories,purchase_orders,contact,company,accounting_period - name: >- - LineItemsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod - - value: >- - line_items,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,contact,company,employee - name: LineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployee - - value: >- - line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period - name: >- - LineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriod - - value: >- - line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,contact,company,employee,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployeePaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,contact,company,payment_term - name: LineItemsTrackingCategoriesPurchaseOrdersContactCompanyPaymentTerm - - value: line_items,tracking_categories,purchase_orders,contact,employee - name: LineItemsTrackingCategoriesPurchaseOrdersContactEmployee - - value: >- - line_items,tracking_categories,purchase_orders,contact,employee,accounting_period - name: >- - LineItemsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriod - - value: >- - line_items,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,purchase_orders,contact,employee,payment_term - name: LineItemsTrackingCategoriesPurchaseOrdersContactEmployeePaymentTerm - - value: line_items,tracking_categories,purchase_orders,contact,payment_term - name: LineItemsTrackingCategoriesPurchaseOrdersContactPaymentTerm - - value: line_items,tracking_categories,purchase_orders,employee - name: LineItemsTrackingCategoriesPurchaseOrdersEmployee - - value: >- - line_items,tracking_categories,purchase_orders,employee,accounting_period - name: LineItemsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriod - - value: >- - line_items,tracking_categories,purchase_orders,employee,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriodPaymentTerm - - value: line_items,tracking_categories,purchase_orders,employee,payment_term - name: LineItemsTrackingCategoriesPurchaseOrdersEmployeePaymentTerm - - value: line_items,tracking_categories,purchase_orders,payment_term - name: LineItemsTrackingCategoriesPurchaseOrdersPaymentTerm - - payment_term - - payments - - value: payments,accounting_period - name: PaymentsAccountingPeriod - - value: payments,accounting_period,payment_term - name: PaymentsAccountingPeriodPaymentTerm - - value: payments,applied_credit_notes - name: PaymentsAppliedCreditNotes - - value: payments,applied_credit_notes,accounting_period - name: PaymentsAppliedCreditNotesAccountingPeriod - - value: payments,applied_credit_notes,accounting_period,payment_term - name: PaymentsAppliedCreditNotesAccountingPeriodPaymentTerm - - value: payments,applied_credit_notes,applied_vendor_credits - name: PaymentsAppliedCreditNotesAppliedVendorCredits - - value: payments,applied_credit_notes,applied_vendor_credits,accounting_period - name: PaymentsAppliedCreditNotesAppliedVendorCreditsAccountingPeriod - - value: >- - payments,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term - name: >- - PaymentsAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: payments,applied_credit_notes,applied_vendor_credits,company - name: PaymentsAppliedCreditNotesAppliedVendorCreditsCompany - - value: >- - payments,applied_credit_notes,applied_vendor_credits,company,accounting_period - name: PaymentsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - payments,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term - name: >- - PaymentsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: payments,applied_credit_notes,applied_vendor_credits,company,employee - name: PaymentsAppliedCreditNotesAppliedVendorCreditsCompanyEmployee - - value: >- - payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period - name: >- - PaymentsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_credit_notes,applied_vendor_credits,company,employee,payment_term - name: >- - PaymentsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - payments,applied_credit_notes,applied_vendor_credits,company,payment_term - name: PaymentsAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm - - value: payments,applied_credit_notes,applied_vendor_credits,contact - name: PaymentsAppliedCreditNotesAppliedVendorCreditsContact - - value: >- - payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period - name: PaymentsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod - - value: >- - payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - PaymentsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: payments,applied_credit_notes,applied_vendor_credits,contact,company - name: PaymentsAppliedCreditNotesAppliedVendorCreditsContactCompany - - value: >- - payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period - name: >- - PaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - PaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_credit_notes,applied_vendor_credits,contact,company,employee - name: PaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee - - value: >- - payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - PaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term - name: >- - PaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - payments,applied_credit_notes,applied_vendor_credits,contact,company,payment_term - name: >- - PaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm - - value: payments,applied_credit_notes,applied_vendor_credits,contact,employee - name: PaymentsAppliedCreditNotesAppliedVendorCreditsContactEmployee - - value: >- - payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period - name: >- - PaymentsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - PaymentsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term - name: >- - PaymentsAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - payments,applied_credit_notes,applied_vendor_credits,contact,payment_term - name: PaymentsAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm - - value: payments,applied_credit_notes,applied_vendor_credits,employee - name: PaymentsAppliedCreditNotesAppliedVendorCreditsEmployee - - value: >- - payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period - name: PaymentsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - PaymentsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_credit_notes,applied_vendor_credits,employee,payment_term - name: PaymentsAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm - - value: payments,applied_credit_notes,applied_vendor_credits,payment_term - name: PaymentsAppliedCreditNotesAppliedVendorCreditsPaymentTerm - - value: payments,applied_credit_notes,company - name: PaymentsAppliedCreditNotesCompany - - value: payments,applied_credit_notes,company,accounting_period - name: PaymentsAppliedCreditNotesCompanyAccountingPeriod - - value: payments,applied_credit_notes,company,accounting_period,payment_term - name: PaymentsAppliedCreditNotesCompanyAccountingPeriodPaymentTerm - - value: payments,applied_credit_notes,company,employee - name: PaymentsAppliedCreditNotesCompanyEmployee - - value: payments,applied_credit_notes,company,employee,accounting_period - name: PaymentsAppliedCreditNotesCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_credit_notes,company,employee,accounting_period,payment_term - name: PaymentsAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm - - value: payments,applied_credit_notes,company,employee,payment_term - name: PaymentsAppliedCreditNotesCompanyEmployeePaymentTerm - - value: payments,applied_credit_notes,company,payment_term - name: PaymentsAppliedCreditNotesCompanyPaymentTerm - - value: payments,applied_credit_notes,contact - name: PaymentsAppliedCreditNotesContact - - value: payments,applied_credit_notes,contact,accounting_period - name: PaymentsAppliedCreditNotesContactAccountingPeriod - - value: payments,applied_credit_notes,contact,accounting_period,payment_term - name: PaymentsAppliedCreditNotesContactAccountingPeriodPaymentTerm - - value: payments,applied_credit_notes,contact,company - name: PaymentsAppliedCreditNotesContactCompany - - value: payments,applied_credit_notes,contact,company,accounting_period - name: PaymentsAppliedCreditNotesContactCompanyAccountingPeriod - - value: >- - payments,applied_credit_notes,contact,company,accounting_period,payment_term - name: PaymentsAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm - - value: payments,applied_credit_notes,contact,company,employee - name: PaymentsAppliedCreditNotesContactCompanyEmployee - - value: >- - payments,applied_credit_notes,contact,company,employee,accounting_period - name: PaymentsAppliedCreditNotesContactCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_credit_notes,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: payments,applied_credit_notes,contact,company,employee,payment_term - name: PaymentsAppliedCreditNotesContactCompanyEmployeePaymentTerm - - value: payments,applied_credit_notes,contact,company,payment_term - name: PaymentsAppliedCreditNotesContactCompanyPaymentTerm - - value: payments,applied_credit_notes,contact,employee - name: PaymentsAppliedCreditNotesContactEmployee - - value: payments,applied_credit_notes,contact,employee,accounting_period - name: PaymentsAppliedCreditNotesContactEmployeeAccountingPeriod - - value: >- - payments,applied_credit_notes,contact,employee,accounting_period,payment_term - name: PaymentsAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm - - value: payments,applied_credit_notes,contact,employee,payment_term - name: PaymentsAppliedCreditNotesContactEmployeePaymentTerm - - value: payments,applied_credit_notes,contact,payment_term - name: PaymentsAppliedCreditNotesContactPaymentTerm - - value: payments,applied_credit_notes,employee - name: PaymentsAppliedCreditNotesEmployee - - value: payments,applied_credit_notes,employee,accounting_period - name: PaymentsAppliedCreditNotesEmployeeAccountingPeriod - - value: payments,applied_credit_notes,employee,accounting_period,payment_term - name: PaymentsAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm - - value: payments,applied_credit_notes,employee,payment_term - name: PaymentsAppliedCreditNotesEmployeePaymentTerm - - value: payments,applied_credit_notes,payment_term - name: PaymentsAppliedCreditNotesPaymentTerm - - value: payments,applied_payments - name: PaymentsAppliedPayments - - value: payments,applied_payments,accounting_period - name: PaymentsAppliedPaymentsAccountingPeriod - - value: payments,applied_payments,accounting_period,payment_term - name: PaymentsAppliedPaymentsAccountingPeriodPaymentTerm - - value: payments,applied_payments,applied_credit_notes - name: PaymentsAppliedPaymentsAppliedCreditNotes - - value: payments,applied_payments,applied_credit_notes,accounting_period - name: PaymentsAppliedPaymentsAppliedCreditNotesAccountingPeriod - - value: >- - payments,applied_payments,applied_credit_notes,accounting_period,payment_term - name: PaymentsAppliedPaymentsAppliedCreditNotesAccountingPeriodPaymentTerm - - value: payments,applied_payments,applied_credit_notes,applied_vendor_credits - name: PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCredits - - value: >- - payments,applied_payments,applied_credit_notes,applied_vendor_credits,accounting_period - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsAccountingPeriod - - value: >- - payments,applied_payments,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,applied_credit_notes,applied_vendor_credits,company - name: PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompany - - value: >- - payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,accounting_period - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,employee - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyEmployee - - value: >- - payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,payment_term - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm - - value: >- - payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact - name: PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContact - - value: >- - payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod - - value: >- - payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompany - - value: >- - payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee - - value: >- - payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,payment_term - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactEmployee - - value: >- - payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,payment_term - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm - - value: >- - payments,applied_payments,applied_credit_notes,applied_vendor_credits,employee - name: PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsEmployee - - value: >- - payments,applied_payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - payments,applied_payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,applied_credit_notes,applied_vendor_credits,employee,payment_term - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm - - value: >- - payments,applied_payments,applied_credit_notes,applied_vendor_credits,payment_term - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsPaymentTerm - - value: payments,applied_payments,applied_credit_notes,company - name: PaymentsAppliedPaymentsAppliedCreditNotesCompany - - value: >- - payments,applied_payments,applied_credit_notes,company,accounting_period - name: PaymentsAppliedPaymentsAppliedCreditNotesCompanyAccountingPeriod - - value: >- - payments,applied_payments,applied_credit_notes,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesCompanyAccountingPeriodPaymentTerm - - value: payments,applied_payments,applied_credit_notes,company,employee - name: PaymentsAppliedPaymentsAppliedCreditNotesCompanyEmployee - - value: >- - payments,applied_payments,applied_credit_notes,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,applied_credit_notes,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,applied_credit_notes,company,employee,payment_term - name: PaymentsAppliedPaymentsAppliedCreditNotesCompanyEmployeePaymentTerm - - value: payments,applied_payments,applied_credit_notes,company,payment_term - name: PaymentsAppliedPaymentsAppliedCreditNotesCompanyPaymentTerm - - value: payments,applied_payments,applied_credit_notes,contact - name: PaymentsAppliedPaymentsAppliedCreditNotesContact - - value: >- - payments,applied_payments,applied_credit_notes,contact,accounting_period - name: PaymentsAppliedPaymentsAppliedCreditNotesContactAccountingPeriod - - value: >- - payments,applied_payments,applied_credit_notes,contact,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesContactAccountingPeriodPaymentTerm - - value: payments,applied_payments,applied_credit_notes,contact,company - name: PaymentsAppliedPaymentsAppliedCreditNotesContactCompany - - value: >- - payments,applied_payments,applied_credit_notes,contact,company,accounting_period - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesContactCompanyAccountingPeriod - - value: >- - payments,applied_payments,applied_credit_notes,contact,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,applied_credit_notes,contact,company,employee - name: PaymentsAppliedPaymentsAppliedCreditNotesContactCompanyEmployee - - value: >- - payments,applied_payments,applied_credit_notes,contact,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesContactCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,applied_credit_notes,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,applied_credit_notes,contact,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesContactCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,applied_credit_notes,contact,company,payment_term - name: PaymentsAppliedPaymentsAppliedCreditNotesContactCompanyPaymentTerm - - value: payments,applied_payments,applied_credit_notes,contact,employee - name: PaymentsAppliedPaymentsAppliedCreditNotesContactEmployee - - value: >- - payments,applied_payments,applied_credit_notes,contact,employee,accounting_period - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesContactEmployeeAccountingPeriod - - value: >- - payments,applied_payments,applied_credit_notes,contact,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,applied_credit_notes,contact,employee,payment_term - name: PaymentsAppliedPaymentsAppliedCreditNotesContactEmployeePaymentTerm - - value: payments,applied_payments,applied_credit_notes,contact,payment_term - name: PaymentsAppliedPaymentsAppliedCreditNotesContactPaymentTerm - - value: payments,applied_payments,applied_credit_notes,employee - name: PaymentsAppliedPaymentsAppliedCreditNotesEmployee - - value: >- - payments,applied_payments,applied_credit_notes,employee,accounting_period - name: PaymentsAppliedPaymentsAppliedCreditNotesEmployeeAccountingPeriod - - value: >- - payments,applied_payments,applied_credit_notes,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm - - value: payments,applied_payments,applied_credit_notes,employee,payment_term - name: PaymentsAppliedPaymentsAppliedCreditNotesEmployeePaymentTerm - - value: payments,applied_payments,applied_credit_notes,payment_term - name: PaymentsAppliedPaymentsAppliedCreditNotesPaymentTerm - - value: payments,applied_payments,applied_vendor_credits - name: PaymentsAppliedPaymentsAppliedVendorCredits - - value: payments,applied_payments,applied_vendor_credits,accounting_period - name: PaymentsAppliedPaymentsAppliedVendorCreditsAccountingPeriod - - value: >- - payments,applied_payments,applied_vendor_credits,accounting_period,payment_term - name: PaymentsAppliedPaymentsAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: payments,applied_payments,applied_vendor_credits,company - name: PaymentsAppliedPaymentsAppliedVendorCreditsCompany - - value: >- - payments,applied_payments,applied_vendor_credits,company,accounting_period - name: PaymentsAppliedPaymentsAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - payments,applied_payments,applied_vendor_credits,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: payments,applied_payments,applied_vendor_credits,company,employee - name: PaymentsAppliedPaymentsAppliedVendorCreditsCompanyEmployee - - value: >- - payments,applied_payments,applied_vendor_credits,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,applied_vendor_credits,company,employee,payment_term - name: PaymentsAppliedPaymentsAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: payments,applied_payments,applied_vendor_credits,company,payment_term - name: PaymentsAppliedPaymentsAppliedVendorCreditsCompanyPaymentTerm - - value: payments,applied_payments,applied_vendor_credits,contact - name: PaymentsAppliedPaymentsAppliedVendorCreditsContact - - value: >- - payments,applied_payments,applied_vendor_credits,contact,accounting_period - name: PaymentsAppliedPaymentsAppliedVendorCreditsContactAccountingPeriod - - value: >- - payments,applied_payments,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: payments,applied_payments,applied_vendor_credits,contact,company - name: PaymentsAppliedPaymentsAppliedVendorCreditsContactCompany - - value: >- - payments,applied_payments,applied_vendor_credits,contact,company,accounting_period - name: >- - PaymentsAppliedPaymentsAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - payments,applied_payments,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,applied_vendor_credits,contact,company,employee - name: PaymentsAppliedPaymentsAppliedVendorCreditsContactCompanyEmployee - - value: >- - payments,applied_payments,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,applied_vendor_credits,contact,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,applied_vendor_credits,contact,company,payment_term - name: PaymentsAppliedPaymentsAppliedVendorCreditsContactCompanyPaymentTerm - - value: payments,applied_payments,applied_vendor_credits,contact,employee - name: PaymentsAppliedPaymentsAppliedVendorCreditsContactEmployee - - value: >- - payments,applied_payments,applied_vendor_credits,contact,employee,accounting_period - name: >- - PaymentsAppliedPaymentsAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - payments,applied_payments,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,applied_vendor_credits,contact,employee,payment_term - name: PaymentsAppliedPaymentsAppliedVendorCreditsContactEmployeePaymentTerm - - value: payments,applied_payments,applied_vendor_credits,contact,payment_term - name: PaymentsAppliedPaymentsAppliedVendorCreditsContactPaymentTerm - - value: payments,applied_payments,applied_vendor_credits,employee - name: PaymentsAppliedPaymentsAppliedVendorCreditsEmployee - - value: >- - payments,applied_payments,applied_vendor_credits,employee,accounting_period - name: PaymentsAppliedPaymentsAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - payments,applied_payments,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: payments,applied_payments,applied_vendor_credits,employee,payment_term - name: PaymentsAppliedPaymentsAppliedVendorCreditsEmployeePaymentTerm - - value: payments,applied_payments,applied_vendor_credits,payment_term - name: PaymentsAppliedPaymentsAppliedVendorCreditsPaymentTerm - - value: payments,applied_payments,company - name: PaymentsAppliedPaymentsCompany - - value: payments,applied_payments,company,accounting_period - name: PaymentsAppliedPaymentsCompanyAccountingPeriod - - value: payments,applied_payments,company,accounting_period,payment_term - name: PaymentsAppliedPaymentsCompanyAccountingPeriodPaymentTerm - - value: payments,applied_payments,company,employee - name: PaymentsAppliedPaymentsCompanyEmployee - - value: payments,applied_payments,company,employee,accounting_period - name: PaymentsAppliedPaymentsCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,company,employee,accounting_period,payment_term - name: PaymentsAppliedPaymentsCompanyEmployeeAccountingPeriodPaymentTerm - - value: payments,applied_payments,company,employee,payment_term - name: PaymentsAppliedPaymentsCompanyEmployeePaymentTerm - - value: payments,applied_payments,company,payment_term - name: PaymentsAppliedPaymentsCompanyPaymentTerm - - value: payments,applied_payments,contact - name: PaymentsAppliedPaymentsContact - - value: payments,applied_payments,contact,accounting_period - name: PaymentsAppliedPaymentsContactAccountingPeriod - - value: payments,applied_payments,contact,accounting_period,payment_term - name: PaymentsAppliedPaymentsContactAccountingPeriodPaymentTerm - - value: payments,applied_payments,contact,company - name: PaymentsAppliedPaymentsContactCompany - - value: payments,applied_payments,contact,company,accounting_period - name: PaymentsAppliedPaymentsContactCompanyAccountingPeriod - - value: >- - payments,applied_payments,contact,company,accounting_period,payment_term - name: PaymentsAppliedPaymentsContactCompanyAccountingPeriodPaymentTerm - - value: payments,applied_payments,contact,company,employee - name: PaymentsAppliedPaymentsContactCompanyEmployee - - value: payments,applied_payments,contact,company,employee,accounting_period - name: PaymentsAppliedPaymentsContactCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: payments,applied_payments,contact,company,employee,payment_term - name: PaymentsAppliedPaymentsContactCompanyEmployeePaymentTerm - - value: payments,applied_payments,contact,company,payment_term - name: PaymentsAppliedPaymentsContactCompanyPaymentTerm - - value: payments,applied_payments,contact,employee - name: PaymentsAppliedPaymentsContactEmployee - - value: payments,applied_payments,contact,employee,accounting_period - name: PaymentsAppliedPaymentsContactEmployeeAccountingPeriod - - value: >- - payments,applied_payments,contact,employee,accounting_period,payment_term - name: PaymentsAppliedPaymentsContactEmployeeAccountingPeriodPaymentTerm - - value: payments,applied_payments,contact,employee,payment_term - name: PaymentsAppliedPaymentsContactEmployeePaymentTerm - - value: payments,applied_payments,contact,payment_term - name: PaymentsAppliedPaymentsContactPaymentTerm - - value: payments,applied_payments,employee - name: PaymentsAppliedPaymentsEmployee - - value: payments,applied_payments,employee,accounting_period - name: PaymentsAppliedPaymentsEmployeeAccountingPeriod - - value: payments,applied_payments,employee,accounting_period,payment_term - name: PaymentsAppliedPaymentsEmployeeAccountingPeriodPaymentTerm - - value: payments,applied_payments,employee,payment_term - name: PaymentsAppliedPaymentsEmployeePaymentTerm - - value: payments,applied_payments,line_items - name: PaymentsAppliedPaymentsLineItems - - value: payments,applied_payments,line_items,accounting_period - name: PaymentsAppliedPaymentsLineItemsAccountingPeriod - - value: payments,applied_payments,line_items,accounting_period,payment_term - name: PaymentsAppliedPaymentsLineItemsAccountingPeriodPaymentTerm - - value: payments,applied_payments,line_items,applied_credit_notes - name: PaymentsAppliedPaymentsLineItemsAppliedCreditNotes - - value: >- - payments,applied_payments,line_items,applied_credit_notes,accounting_period - name: PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAccountingPeriod - - value: >- - payments,applied_payments,line_items,applied_credit_notes,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits - name: PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCredits - - value: >- - payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsAccountingPeriod - - value: >- - payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompany - - value: >- - payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployee - - value: >- - payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm - - value: >- - payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContact - - value: >- - payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod - - value: >- - payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompany - - value: >- - payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee - - value: >- - payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployee - - value: >- - payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm - - value: >- - payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsEmployee - - value: >- - payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsPaymentTerm - - value: payments,applied_payments,line_items,applied_credit_notes,company - name: PaymentsAppliedPaymentsLineItemsAppliedCreditNotesCompany - - value: >- - payments,applied_payments,line_items,applied_credit_notes,company,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesCompanyAccountingPeriod - - value: >- - payments,applied_payments,line_items,applied_credit_notes,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,applied_credit_notes,company,employee - name: PaymentsAppliedPaymentsLineItemsAppliedCreditNotesCompanyEmployee - - value: >- - payments,applied_payments,line_items,applied_credit_notes,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,applied_credit_notes,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,applied_credit_notes,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,applied_credit_notes,company,payment_term - name: PaymentsAppliedPaymentsLineItemsAppliedCreditNotesCompanyPaymentTerm - - value: payments,applied_payments,line_items,applied_credit_notes,contact - name: PaymentsAppliedPaymentsLineItemsAppliedCreditNotesContact - - value: >- - payments,applied_payments,line_items,applied_credit_notes,contact,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactAccountingPeriod - - value: >- - payments,applied_payments,line_items,applied_credit_notes,contact,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,applied_credit_notes,contact,company - name: PaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactCompany - - value: >- - payments,applied_payments,line_items,applied_credit_notes,contact,company,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactCompanyAccountingPeriod - - value: >- - payments,applied_payments,line_items,applied_credit_notes,contact,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,applied_credit_notes,contact,company,employee - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactCompanyEmployee - - value: >- - payments,applied_payments,line_items,applied_credit_notes,contact,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,applied_credit_notes,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,applied_credit_notes,contact,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,applied_credit_notes,contact,company,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactCompanyPaymentTerm - - value: >- - payments,applied_payments,line_items,applied_credit_notes,contact,employee - name: PaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactEmployee - - value: >- - payments,applied_payments,line_items,applied_credit_notes,contact,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,applied_credit_notes,contact,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,applied_credit_notes,contact,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,applied_credit_notes,contact,payment_term - name: PaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactPaymentTerm - - value: payments,applied_payments,line_items,applied_credit_notes,employee - name: PaymentsAppliedPaymentsLineItemsAppliedCreditNotesEmployee - - value: >- - payments,applied_payments,line_items,applied_credit_notes,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,applied_credit_notes,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,applied_credit_notes,employee,payment_term - name: PaymentsAppliedPaymentsLineItemsAppliedCreditNotesEmployeePaymentTerm - - value: payments,applied_payments,line_items,applied_credit_notes,payment_term - name: PaymentsAppliedPaymentsLineItemsAppliedCreditNotesPaymentTerm - - value: payments,applied_payments,line_items,applied_vendor_credits - name: PaymentsAppliedPaymentsLineItemsAppliedVendorCredits - - value: >- - payments,applied_payments,line_items,applied_vendor_credits,accounting_period - name: PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsAccountingPeriod - - value: >- - payments,applied_payments,line_items,applied_vendor_credits,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: payments,applied_payments,line_items,applied_vendor_credits,company - name: PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsCompany - - value: >- - payments,applied_payments,line_items,applied_vendor_credits,company,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - payments,applied_payments,line_items,applied_vendor_credits,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,applied_vendor_credits,company,employee - name: PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsCompanyEmployee - - value: >- - payments,applied_payments,line_items,applied_vendor_credits,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,applied_vendor_credits,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,applied_vendor_credits,company,payment_term - name: PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsCompanyPaymentTerm - - value: payments,applied_payments,line_items,applied_vendor_credits,contact - name: PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContact - - value: >- - payments,applied_payments,line_items,applied_vendor_credits,contact,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactAccountingPeriod - - value: >- - payments,applied_payments,line_items,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,applied_vendor_credits,contact,company - name: PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactCompany - - value: >- - payments,applied_payments,line_items,applied_vendor_credits,contact,company,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - payments,applied_payments,line_items,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,applied_vendor_credits,contact,company,employee - name: >- - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyEmployee - - value: >- - payments,applied_payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,applied_vendor_credits,contact,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,applied_vendor_credits,contact,company,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - payments,applied_payments,line_items,applied_vendor_credits,contact,employee - name: PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactEmployee - - value: >- - payments,applied_payments,line_items,applied_vendor_credits,contact,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,applied_vendor_credits,contact,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,applied_vendor_credits,contact,payment_term - name: PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactPaymentTerm - - value: payments,applied_payments,line_items,applied_vendor_credits,employee - name: PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsEmployee - - value: >- - payments,applied_payments,line_items,applied_vendor_credits,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,applied_vendor_credits,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,applied_vendor_credits,payment_term - name: PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsPaymentTerm - - value: payments,applied_payments,line_items,company - name: PaymentsAppliedPaymentsLineItemsCompany - - value: payments,applied_payments,line_items,company,accounting_period - name: PaymentsAppliedPaymentsLineItemsCompanyAccountingPeriod - - value: >- - payments,applied_payments,line_items,company,accounting_period,payment_term - name: PaymentsAppliedPaymentsLineItemsCompanyAccountingPeriodPaymentTerm - - value: payments,applied_payments,line_items,company,employee - name: PaymentsAppliedPaymentsLineItemsCompanyEmployee - - value: >- - payments,applied_payments,line_items,company,employee,accounting_period - name: PaymentsAppliedPaymentsLineItemsCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsCompanyEmployeeAccountingPeriodPaymentTerm - - value: payments,applied_payments,line_items,company,employee,payment_term - name: PaymentsAppliedPaymentsLineItemsCompanyEmployeePaymentTerm - - value: payments,applied_payments,line_items,company,payment_term - name: PaymentsAppliedPaymentsLineItemsCompanyPaymentTerm - - value: payments,applied_payments,line_items,contact - name: PaymentsAppliedPaymentsLineItemsContact - - value: payments,applied_payments,line_items,contact,accounting_period - name: PaymentsAppliedPaymentsLineItemsContactAccountingPeriod - - value: >- - payments,applied_payments,line_items,contact,accounting_period,payment_term - name: PaymentsAppliedPaymentsLineItemsContactAccountingPeriodPaymentTerm - - value: payments,applied_payments,line_items,contact,company - name: PaymentsAppliedPaymentsLineItemsContactCompany - - value: payments,applied_payments,line_items,contact,company,accounting_period - name: PaymentsAppliedPaymentsLineItemsContactCompanyAccountingPeriod - - value: >- - payments,applied_payments,line_items,contact,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsContactCompanyAccountingPeriodPaymentTerm - - value: payments,applied_payments,line_items,contact,company,employee - name: PaymentsAppliedPaymentsLineItemsContactCompanyEmployee - - value: >- - payments,applied_payments,line_items,contact,company,employee,accounting_period - name: PaymentsAppliedPaymentsLineItemsContactCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,contact,company,employee,payment_term - name: PaymentsAppliedPaymentsLineItemsContactCompanyEmployeePaymentTerm - - value: payments,applied_payments,line_items,contact,company,payment_term - name: PaymentsAppliedPaymentsLineItemsContactCompanyPaymentTerm - - value: payments,applied_payments,line_items,contact,employee - name: PaymentsAppliedPaymentsLineItemsContactEmployee - - value: >- - payments,applied_payments,line_items,contact,employee,accounting_period - name: PaymentsAppliedPaymentsLineItemsContactEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,contact,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsContactEmployeeAccountingPeriodPaymentTerm - - value: payments,applied_payments,line_items,contact,employee,payment_term - name: PaymentsAppliedPaymentsLineItemsContactEmployeePaymentTerm - - value: payments,applied_payments,line_items,contact,payment_term - name: PaymentsAppliedPaymentsLineItemsContactPaymentTerm - - value: payments,applied_payments,line_items,employee - name: PaymentsAppliedPaymentsLineItemsEmployee - - value: payments,applied_payments,line_items,employee,accounting_period - name: PaymentsAppliedPaymentsLineItemsEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,employee,accounting_period,payment_term - name: PaymentsAppliedPaymentsLineItemsEmployeeAccountingPeriodPaymentTerm - - value: payments,applied_payments,line_items,employee,payment_term - name: PaymentsAppliedPaymentsLineItemsEmployeePaymentTerm - - value: payments,applied_payments,line_items,payment_term - name: PaymentsAppliedPaymentsLineItemsPaymentTerm - - value: payments,applied_payments,line_items,purchase_orders - name: PaymentsAppliedPaymentsLineItemsPurchaseOrders - - value: payments,applied_payments,line_items,purchase_orders,accounting_period - name: PaymentsAppliedPaymentsLineItemsPurchaseOrdersAccountingPeriod - - value: >- - payments,applied_payments,line_items,purchase_orders,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes - name: PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotes - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAccountingPeriod - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCredits - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompany - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployee - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContact - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactAccountingPeriod - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompany - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployee - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactEmployee - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,employee - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesEmployee - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_credit_notes,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_vendor_credits - name: PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCredits - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsAccountingPeriod - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompany - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployee - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContact - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompany - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployee - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,employee - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsEmployee - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsPaymentTerm - - value: payments,applied_payments,line_items,purchase_orders,company - name: PaymentsAppliedPaymentsLineItemsPurchaseOrdersCompany - - value: >- - payments,applied_payments,line_items,purchase_orders,company,accounting_period - name: PaymentsAppliedPaymentsLineItemsPurchaseOrdersCompanyAccountingPeriod - - value: >- - payments,applied_payments,line_items,purchase_orders,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersCompanyAccountingPeriodPaymentTerm - - value: payments,applied_payments,line_items,purchase_orders,company,employee - name: PaymentsAppliedPaymentsLineItemsPurchaseOrdersCompanyEmployee - - value: >- - payments,applied_payments,line_items,purchase_orders,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,purchase_orders,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,company,payment_term - name: PaymentsAppliedPaymentsLineItemsPurchaseOrdersCompanyPaymentTerm - - value: payments,applied_payments,line_items,purchase_orders,contact - name: PaymentsAppliedPaymentsLineItemsPurchaseOrdersContact - - value: >- - payments,applied_payments,line_items,purchase_orders,contact,accounting_period - name: PaymentsAppliedPaymentsLineItemsPurchaseOrdersContactAccountingPeriod - - value: >- - payments,applied_payments,line_items,purchase_orders,contact,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersContactAccountingPeriodPaymentTerm - - value: payments,applied_payments,line_items,purchase_orders,contact,company - name: PaymentsAppliedPaymentsLineItemsPurchaseOrdersContactCompany - - value: >- - payments,applied_payments,line_items,purchase_orders,contact,company,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersContactCompanyAccountingPeriod - - value: >- - payments,applied_payments,line_items,purchase_orders,contact,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,contact,company,employee - name: PaymentsAppliedPaymentsLineItemsPurchaseOrdersContactCompanyEmployee - - value: >- - payments,applied_payments,line_items,purchase_orders,contact,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersContactCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,purchase_orders,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,contact,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersContactCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,contact,company,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersContactCompanyPaymentTerm - - value: payments,applied_payments,line_items,purchase_orders,contact,employee - name: PaymentsAppliedPaymentsLineItemsPurchaseOrdersContactEmployee - - value: >- - payments,applied_payments,line_items,purchase_orders,contact,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersContactEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,purchase_orders,contact,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,contact,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersContactEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,contact,payment_term - name: PaymentsAppliedPaymentsLineItemsPurchaseOrdersContactPaymentTerm - - value: payments,applied_payments,line_items,purchase_orders,employee - name: PaymentsAppliedPaymentsLineItemsPurchaseOrdersEmployee - - value: >- - payments,applied_payments,line_items,purchase_orders,employee,accounting_period - name: PaymentsAppliedPaymentsLineItemsPurchaseOrdersEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,purchase_orders,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsPurchaseOrdersEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,purchase_orders,employee,payment_term - name: PaymentsAppliedPaymentsLineItemsPurchaseOrdersEmployeePaymentTerm - - value: payments,applied_payments,line_items,purchase_orders,payment_term - name: PaymentsAppliedPaymentsLineItemsPurchaseOrdersPaymentTerm - - value: payments,applied_payments,line_items,tracking_categories - name: PaymentsAppliedPaymentsLineItemsTrackingCategories - - value: >- - payments,applied_payments,line_items,tracking_categories,accounting_period - name: PaymentsAppliedPaymentsLineItemsTrackingCategoriesAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes - name: PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotes - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCredits - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompany - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployee - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContact - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompany - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployee - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployee - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompany - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployee - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContact - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompany - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployee - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactEmployee - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,employee - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesEmployee - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_credit_notes,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_vendor_credits - name: PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCredits - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompany - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployee - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContact - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompany - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployee - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployee - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,employee - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsEmployee - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsPaymentTerm - - value: payments,applied_payments,line_items,tracking_categories,company - name: PaymentsAppliedPaymentsLineItemsTrackingCategoriesCompany - - value: >- - payments,applied_payments,line_items,tracking_categories,company,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesCompanyAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,company,employee - name: PaymentsAppliedPaymentsLineItemsTrackingCategoriesCompanyEmployee - - value: >- - payments,applied_payments,line_items,tracking_categories,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,company,payment_term - name: PaymentsAppliedPaymentsLineItemsTrackingCategoriesCompanyPaymentTerm - - value: payments,applied_payments,line_items,tracking_categories,contact - name: PaymentsAppliedPaymentsLineItemsTrackingCategoriesContact - - value: >- - payments,applied_payments,line_items,tracking_categories,contact,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesContactAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,contact,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesContactAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,contact,company - name: PaymentsAppliedPaymentsLineItemsTrackingCategoriesContactCompany - - value: >- - payments,applied_payments,line_items,tracking_categories,contact,company,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesContactCompanyAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,contact,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,contact,company,employee - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesContactCompanyEmployee - - value: >- - payments,applied_payments,line_items,tracking_categories,contact,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesContactCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,contact,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesContactCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,contact,company,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesContactCompanyPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,contact,employee - name: PaymentsAppliedPaymentsLineItemsTrackingCategoriesContactEmployee - - value: >- - payments,applied_payments,line_items,tracking_categories,contact,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesContactEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,contact,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,contact,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesContactEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,contact,payment_term - name: PaymentsAppliedPaymentsLineItemsTrackingCategoriesContactPaymentTerm - - value: payments,applied_payments,line_items,tracking_categories,employee - name: PaymentsAppliedPaymentsLineItemsTrackingCategoriesEmployee - - value: >- - payments,applied_payments,line_items,tracking_categories,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,employee,payment_term - name: PaymentsAppliedPaymentsLineItemsTrackingCategoriesEmployeePaymentTerm - - value: payments,applied_payments,line_items,tracking_categories,payment_term - name: PaymentsAppliedPaymentsLineItemsTrackingCategoriesPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders - name: PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrders - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotes - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCredits - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompany - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployee - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContact - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompany - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployee - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployee - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployee - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCredits - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompany - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployee - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContact - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompany - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployee - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployee - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,company - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompany - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,company,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,company,employee - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployee - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,company,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,contact - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContact - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompany - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployee - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,employee - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactEmployee - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,employee - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersEmployee - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,employee,accounting_period - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriod - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,employee,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersEmployeePaymentTerm - - value: >- - payments,applied_payments,line_items,tracking_categories,purchase_orders,payment_term - name: >- - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersPaymentTerm - - value: payments,applied_payments,payment_term - name: PaymentsAppliedPaymentsPaymentTerm - - value: payments,applied_payments,purchase_orders - name: PaymentsAppliedPaymentsPurchaseOrders - - value: payments,applied_payments,purchase_orders,accounting_period - name: PaymentsAppliedPaymentsPurchaseOrdersAccountingPeriod - - value: >- - payments,applied_payments,purchase_orders,accounting_period,payment_term - name: PaymentsAppliedPaymentsPurchaseOrdersAccountingPeriodPaymentTerm - - value: payments,applied_payments,purchase_orders,applied_credit_notes - name: PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotes - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,accounting_period - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAccountingPeriod - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCredits - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsPaymentTerm - - value: payments,applied_payments,purchase_orders,applied_credit_notes,company - name: PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesCompany - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,company,accounting_period - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,company,employee - name: PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyEmployee - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,company,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyPaymentTerm - - value: payments,applied_payments,purchase_orders,applied_credit_notes,contact - name: PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContact - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,contact,accounting_period - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactAccountingPeriod - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,contact,company - name: PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompany - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,accounting_period - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,employee - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyEmployee - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyPaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,contact,employee - name: PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactEmployee - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,contact,employee,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactEmployeePaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,contact,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactPaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,employee - name: PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesEmployee - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,employee,accounting_period - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,employee,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesEmployeePaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_credit_notes,payment_term - name: PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesPaymentTerm - - value: payments,applied_payments,purchase_orders,applied_vendor_credits - name: PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCredits - - value: >- - payments,applied_payments,purchase_orders,applied_vendor_credits,accounting_period - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsAccountingPeriod - - value: >- - payments,applied_payments,purchase_orders,applied_vendor_credits,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_vendor_credits,company - name: PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompany - - value: >- - payments,applied_payments,purchase_orders,applied_vendor_credits,company,accounting_period - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - payments,applied_payments,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_vendor_credits,company,employee - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyEmployee - - value: >- - payments,applied_payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_vendor_credits,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_vendor_credits,company,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyPaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_vendor_credits,contact - name: PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContact - - value: >- - payments,applied_payments,purchase_orders,applied_vendor_credits,contact,accounting_period - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod - - value: >- - payments,applied_payments,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompany - - value: >- - payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee - - value: >- - payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_vendor_credits,contact,employee - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactEmployee - - value: >- - payments,applied_payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - payments,applied_payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_vendor_credits,contact,employee,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_vendor_credits,contact,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactPaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_vendor_credits,employee - name: PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsEmployee - - value: >- - payments,applied_payments,purchase_orders,applied_vendor_credits,employee,accounting_period - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - payments,applied_payments,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_vendor_credits,employee,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsEmployeePaymentTerm - - value: >- - payments,applied_payments,purchase_orders,applied_vendor_credits,payment_term - name: PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsPaymentTerm - - value: payments,applied_payments,purchase_orders,company - name: PaymentsAppliedPaymentsPurchaseOrdersCompany - - value: payments,applied_payments,purchase_orders,company,accounting_period - name: PaymentsAppliedPaymentsPurchaseOrdersCompanyAccountingPeriod - - value: >- - payments,applied_payments,purchase_orders,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersCompanyAccountingPeriodPaymentTerm - - value: payments,applied_payments,purchase_orders,company,employee - name: PaymentsAppliedPaymentsPurchaseOrdersCompanyEmployee - - value: >- - payments,applied_payments,purchase_orders,company,employee,accounting_period - name: PaymentsAppliedPaymentsPurchaseOrdersCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,purchase_orders,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,purchase_orders,company,employee,payment_term - name: PaymentsAppliedPaymentsPurchaseOrdersCompanyEmployeePaymentTerm - - value: payments,applied_payments,purchase_orders,company,payment_term - name: PaymentsAppliedPaymentsPurchaseOrdersCompanyPaymentTerm - - value: payments,applied_payments,purchase_orders,contact - name: PaymentsAppliedPaymentsPurchaseOrdersContact - - value: payments,applied_payments,purchase_orders,contact,accounting_period - name: PaymentsAppliedPaymentsPurchaseOrdersContactAccountingPeriod - - value: >- - payments,applied_payments,purchase_orders,contact,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersContactAccountingPeriodPaymentTerm - - value: payments,applied_payments,purchase_orders,contact,company - name: PaymentsAppliedPaymentsPurchaseOrdersContactCompany - - value: >- - payments,applied_payments,purchase_orders,contact,company,accounting_period - name: PaymentsAppliedPaymentsPurchaseOrdersContactCompanyAccountingPeriod - - value: >- - payments,applied_payments,purchase_orders,contact,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersContactCompanyAccountingPeriodPaymentTerm - - value: payments,applied_payments,purchase_orders,contact,company,employee - name: PaymentsAppliedPaymentsPurchaseOrdersContactCompanyEmployee - - value: >- - payments,applied_payments,purchase_orders,contact,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsPurchaseOrdersContactCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,purchase_orders,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,purchase_orders,contact,company,employee,payment_term - name: PaymentsAppliedPaymentsPurchaseOrdersContactCompanyEmployeePaymentTerm - - value: payments,applied_payments,purchase_orders,contact,company,payment_term - name: PaymentsAppliedPaymentsPurchaseOrdersContactCompanyPaymentTerm - - value: payments,applied_payments,purchase_orders,contact,employee - name: PaymentsAppliedPaymentsPurchaseOrdersContactEmployee - - value: >- - payments,applied_payments,purchase_orders,contact,employee,accounting_period - name: PaymentsAppliedPaymentsPurchaseOrdersContactEmployeeAccountingPeriod - - value: >- - payments,applied_payments,purchase_orders,contact,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,purchase_orders,contact,employee,payment_term - name: PaymentsAppliedPaymentsPurchaseOrdersContactEmployeePaymentTerm - - value: payments,applied_payments,purchase_orders,contact,payment_term - name: PaymentsAppliedPaymentsPurchaseOrdersContactPaymentTerm - - value: payments,applied_payments,purchase_orders,employee - name: PaymentsAppliedPaymentsPurchaseOrdersEmployee - - value: payments,applied_payments,purchase_orders,employee,accounting_period - name: PaymentsAppliedPaymentsPurchaseOrdersEmployeeAccountingPeriod - - value: >- - payments,applied_payments,purchase_orders,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsPurchaseOrdersEmployeeAccountingPeriodPaymentTerm - - value: payments,applied_payments,purchase_orders,employee,payment_term - name: PaymentsAppliedPaymentsPurchaseOrdersEmployeePaymentTerm - - value: payments,applied_payments,purchase_orders,payment_term - name: PaymentsAppliedPaymentsPurchaseOrdersPaymentTerm - - value: payments,applied_payments,tracking_categories - name: PaymentsAppliedPaymentsTrackingCategories - - value: payments,applied_payments,tracking_categories,accounting_period - name: PaymentsAppliedPaymentsTrackingCategoriesAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,accounting_period,payment_term - name: PaymentsAppliedPaymentsTrackingCategoriesAccountingPeriodPaymentTerm - - value: payments,applied_payments,tracking_categories,applied_credit_notes - name: PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotes - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCredits - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompany - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployee - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContact - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompany - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployee - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployee - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,company - name: PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesCompany - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,company,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,company,employee - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyEmployee - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,company,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,contact - name: PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContact - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,contact,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,contact,company - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompany - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,employee - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyEmployee - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,contact,employee - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactEmployee - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,contact,employee,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactEmployeePaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,contact,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,employee - name: PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesEmployee - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,employee,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,employee,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesEmployeePaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_credit_notes,payment_term - name: PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesPaymentTerm - - value: payments,applied_payments,tracking_categories,applied_vendor_credits - name: PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCredits - - value: >- - payments,applied_payments,tracking_categories,applied_vendor_credits,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,applied_vendor_credits,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_vendor_credits,company - name: PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompany - - value: >- - payments,applied_payments,tracking_categories,applied_vendor_credits,company,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_vendor_credits,company,employee - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyEmployee - - value: >- - payments,applied_payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_vendor_credits,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_vendor_credits,company,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_vendor_credits,contact - name: PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContact - - value: >- - payments,applied_payments,tracking_categories,applied_vendor_credits,contact,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompany - - value: >- - payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployee - - value: >- - payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_vendor_credits,contact,employee - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactEmployee - - value: >- - payments,applied_payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_vendor_credits,contact,employee,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_vendor_credits,contact,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_vendor_credits,employee - name: PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsEmployee - - value: >- - payments,applied_payments,tracking_categories,applied_vendor_credits,employee,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_vendor_credits,employee,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsEmployeePaymentTerm - - value: >- - payments,applied_payments,tracking_categories,applied_vendor_credits,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsPaymentTerm - - value: payments,applied_payments,tracking_categories,company - name: PaymentsAppliedPaymentsTrackingCategoriesCompany - - value: >- - payments,applied_payments,tracking_categories,company,accounting_period - name: PaymentsAppliedPaymentsTrackingCategoriesCompanyAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesCompanyAccountingPeriodPaymentTerm - - value: payments,applied_payments,tracking_categories,company,employee - name: PaymentsAppliedPaymentsTrackingCategoriesCompanyEmployee - - value: >- - payments,applied_payments,tracking_categories,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,company,employee,payment_term - name: PaymentsAppliedPaymentsTrackingCategoriesCompanyEmployeePaymentTerm - - value: payments,applied_payments,tracking_categories,company,payment_term - name: PaymentsAppliedPaymentsTrackingCategoriesCompanyPaymentTerm - - value: payments,applied_payments,tracking_categories,contact - name: PaymentsAppliedPaymentsTrackingCategoriesContact - - value: >- - payments,applied_payments,tracking_categories,contact,accounting_period - name: PaymentsAppliedPaymentsTrackingCategoriesContactAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,contact,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesContactAccountingPeriodPaymentTerm - - value: payments,applied_payments,tracking_categories,contact,company - name: PaymentsAppliedPaymentsTrackingCategoriesContactCompany - - value: >- - payments,applied_payments,tracking_categories,contact,company,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesContactCompanyAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,contact,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesContactCompanyAccountingPeriodPaymentTerm - - value: payments,applied_payments,tracking_categories,contact,company,employee - name: PaymentsAppliedPaymentsTrackingCategoriesContactCompanyEmployee - - value: >- - payments,applied_payments,tracking_categories,contact,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesContactCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,contact,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesContactCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,tracking_categories,contact,company,payment_term - name: PaymentsAppliedPaymentsTrackingCategoriesContactCompanyPaymentTerm - - value: payments,applied_payments,tracking_categories,contact,employee - name: PaymentsAppliedPaymentsTrackingCategoriesContactEmployee - - value: >- - payments,applied_payments,tracking_categories,contact,employee,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesContactEmployeeAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,contact,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,contact,employee,payment_term - name: PaymentsAppliedPaymentsTrackingCategoriesContactEmployeePaymentTerm - - value: payments,applied_payments,tracking_categories,contact,payment_term - name: PaymentsAppliedPaymentsTrackingCategoriesContactPaymentTerm - - value: payments,applied_payments,tracking_categories,employee - name: PaymentsAppliedPaymentsTrackingCategoriesEmployee - - value: >- - payments,applied_payments,tracking_categories,employee,accounting_period - name: PaymentsAppliedPaymentsTrackingCategoriesEmployeeAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesEmployeeAccountingPeriodPaymentTerm - - value: payments,applied_payments,tracking_categories,employee,payment_term - name: PaymentsAppliedPaymentsTrackingCategoriesEmployeePaymentTerm - - value: payments,applied_payments,tracking_categories,payment_term - name: PaymentsAppliedPaymentsTrackingCategoriesPaymentTerm - - value: payments,applied_payments,tracking_categories,purchase_orders - name: PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrders - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotes - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCredits - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompany - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployee - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContact - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompany - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployee - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployee - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeePaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployee - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeePaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCredits - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompany - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployee - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContact - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompany - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployee - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployee - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeePaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsPaymentTerm - - value: payments,applied_payments,tracking_categories,purchase_orders,company - name: PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersCompany - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,company,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,company,employee - name: PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyEmployee - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,company,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyPaymentTerm - - value: payments,applied_payments,tracking_categories,purchase_orders,contact - name: PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContact - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,contact,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,contact,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,contact,company - name: PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompany - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,contact,company,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,contact,company,employee - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyEmployee - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,contact,company,employee,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyEmployeePaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,contact,company,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,contact,employee - name: PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactEmployee - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,contact,employee,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,contact,employee,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactEmployeePaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,contact,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactPaymentTerm - - value: payments,applied_payments,tracking_categories,purchase_orders,employee - name: PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersEmployee - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,employee,accounting_period - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriod - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,employee,accounting_period,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,employee,payment_term - name: >- - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersEmployeePaymentTerm - - value: >- - payments,applied_payments,tracking_categories,purchase_orders,payment_term - name: PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersPaymentTerm - - value: payments,applied_vendor_credits - name: PaymentsAppliedVendorCredits - - value: payments,applied_vendor_credits,accounting_period - name: PaymentsAppliedVendorCreditsAccountingPeriod - - value: payments,applied_vendor_credits,accounting_period,payment_term - name: PaymentsAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: payments,applied_vendor_credits,company - name: PaymentsAppliedVendorCreditsCompany - - value: payments,applied_vendor_credits,company,accounting_period - name: PaymentsAppliedVendorCreditsCompanyAccountingPeriod - - value: payments,applied_vendor_credits,company,accounting_period,payment_term - name: PaymentsAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: payments,applied_vendor_credits,company,employee - name: PaymentsAppliedVendorCreditsCompanyEmployee - - value: payments,applied_vendor_credits,company,employee,accounting_period - name: PaymentsAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_vendor_credits,company,employee,accounting_period,payment_term - name: PaymentsAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: payments,applied_vendor_credits,company,employee,payment_term - name: PaymentsAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: payments,applied_vendor_credits,company,payment_term - name: PaymentsAppliedVendorCreditsCompanyPaymentTerm - - value: payments,applied_vendor_credits,contact - name: PaymentsAppliedVendorCreditsContact - - value: payments,applied_vendor_credits,contact,accounting_period - name: PaymentsAppliedVendorCreditsContactAccountingPeriod - - value: payments,applied_vendor_credits,contact,accounting_period,payment_term - name: PaymentsAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: payments,applied_vendor_credits,contact,company - name: PaymentsAppliedVendorCreditsContactCompany - - value: payments,applied_vendor_credits,contact,company,accounting_period - name: PaymentsAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - payments,applied_vendor_credits,contact,company,accounting_period,payment_term - name: PaymentsAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: payments,applied_vendor_credits,contact,company,employee - name: PaymentsAppliedVendorCreditsContactCompanyEmployee - - value: >- - payments,applied_vendor_credits,contact,company,employee,accounting_period - name: PaymentsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - payments,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: payments,applied_vendor_credits,contact,company,employee,payment_term - name: PaymentsAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: payments,applied_vendor_credits,contact,company,payment_term - name: PaymentsAppliedVendorCreditsContactCompanyPaymentTerm - - value: payments,applied_vendor_credits,contact,employee - name: PaymentsAppliedVendorCreditsContactEmployee - - value: payments,applied_vendor_credits,contact,employee,accounting_period - name: PaymentsAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - payments,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: PaymentsAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: payments,applied_vendor_credits,contact,employee,payment_term - name: PaymentsAppliedVendorCreditsContactEmployeePaymentTerm - - value: payments,applied_vendor_credits,contact,payment_term - name: PaymentsAppliedVendorCreditsContactPaymentTerm - - value: payments,applied_vendor_credits,employee - name: PaymentsAppliedVendorCreditsEmployee - - value: payments,applied_vendor_credits,employee,accounting_period - name: PaymentsAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - payments,applied_vendor_credits,employee,accounting_period,payment_term - name: PaymentsAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: payments,applied_vendor_credits,employee,payment_term - name: PaymentsAppliedVendorCreditsEmployeePaymentTerm - - value: payments,applied_vendor_credits,payment_term - name: PaymentsAppliedVendorCreditsPaymentTerm - - value: payments,company - name: PaymentsCompany - - value: payments,company,accounting_period - name: PaymentsCompanyAccountingPeriod - - value: payments,company,accounting_period,payment_term - name: PaymentsCompanyAccountingPeriodPaymentTerm - - value: payments,company,employee - name: PaymentsCompanyEmployee - - value: payments,company,employee,accounting_period - name: PaymentsCompanyEmployeeAccountingPeriod - - value: payments,company,employee,accounting_period,payment_term - name: PaymentsCompanyEmployeeAccountingPeriodPaymentTerm - - value: payments,company,employee,payment_term - name: PaymentsCompanyEmployeePaymentTerm - - value: payments,company,payment_term - name: PaymentsCompanyPaymentTerm - - value: payments,contact - name: PaymentsContact - - value: payments,contact,accounting_period - name: PaymentsContactAccountingPeriod - - value: payments,contact,accounting_period,payment_term - name: PaymentsContactAccountingPeriodPaymentTerm - - value: payments,contact,company - name: PaymentsContactCompany - - value: payments,contact,company,accounting_period - name: PaymentsContactCompanyAccountingPeriod - - value: payments,contact,company,accounting_period,payment_term - name: PaymentsContactCompanyAccountingPeriodPaymentTerm - - value: payments,contact,company,employee - name: PaymentsContactCompanyEmployee - - value: payments,contact,company,employee,accounting_period - name: PaymentsContactCompanyEmployeeAccountingPeriod - - value: payments,contact,company,employee,accounting_period,payment_term - name: PaymentsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: payments,contact,company,employee,payment_term - name: PaymentsContactCompanyEmployeePaymentTerm - - value: payments,contact,company,payment_term - name: PaymentsContactCompanyPaymentTerm - - value: payments,contact,employee - name: PaymentsContactEmployee - - value: payments,contact,employee,accounting_period - name: PaymentsContactEmployeeAccountingPeriod - - value: payments,contact,employee,accounting_period,payment_term - name: PaymentsContactEmployeeAccountingPeriodPaymentTerm - - value: payments,contact,employee,payment_term - name: PaymentsContactEmployeePaymentTerm - - value: payments,contact,payment_term - name: PaymentsContactPaymentTerm - - value: payments,employee - name: PaymentsEmployee - - value: payments,employee,accounting_period - name: PaymentsEmployeeAccountingPeriod - - value: payments,employee,accounting_period,payment_term - name: PaymentsEmployeeAccountingPeriodPaymentTerm - - value: payments,employee,payment_term - name: PaymentsEmployeePaymentTerm - - value: payments,line_items - name: PaymentsLineItems - - value: payments,line_items,accounting_period - name: PaymentsLineItemsAccountingPeriod - - value: payments,line_items,accounting_period,payment_term - name: PaymentsLineItemsAccountingPeriodPaymentTerm - - value: payments,line_items,applied_credit_notes - name: PaymentsLineItemsAppliedCreditNotes - - value: payments,line_items,applied_credit_notes,accounting_period - name: PaymentsLineItemsAppliedCreditNotesAccountingPeriod - - value: >- - payments,line_items,applied_credit_notes,accounting_period,payment_term - name: PaymentsLineItemsAppliedCreditNotesAccountingPeriodPaymentTerm - - value: payments,line_items,applied_credit_notes,applied_vendor_credits - name: PaymentsLineItemsAppliedCreditNotesAppliedVendorCredits - - value: >- - payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period - name: >- - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsAccountingPeriod - - value: >- - payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term - name: >- - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - payments,line_items,applied_credit_notes,applied_vendor_credits,company - name: PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompany - - value: >- - payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period - name: >- - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term - name: >- - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee - name: PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployee - - value: >- - payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period - name: >- - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,payment_term - name: >- - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - payments,line_items,applied_credit_notes,applied_vendor_credits,company,payment_term - name: >- - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm - - value: >- - payments,line_items,applied_credit_notes,applied_vendor_credits,contact - name: PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContact - - value: >- - payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period - name: >- - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod - - value: >- - payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company - name: PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompany - - value: >- - payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period - name: >- - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee - name: >- - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee - - value: >- - payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term - name: >- - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,payment_term - name: >- - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee - name: PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployee - - value: >- - payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period - name: >- - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term - name: >- - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - payments,line_items,applied_credit_notes,applied_vendor_credits,contact,payment_term - name: >- - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm - - value: >- - payments,line_items,applied_credit_notes,applied_vendor_credits,employee - name: PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsEmployee - - value: >- - payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period - name: >- - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,applied_credit_notes,applied_vendor_credits,employee,payment_term - name: >- - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm - - value: >- - payments,line_items,applied_credit_notes,applied_vendor_credits,payment_term - name: PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsPaymentTerm - - value: payments,line_items,applied_credit_notes,company - name: PaymentsLineItemsAppliedCreditNotesCompany - - value: payments,line_items,applied_credit_notes,company,accounting_period - name: PaymentsLineItemsAppliedCreditNotesCompanyAccountingPeriod - - value: >- - payments,line_items,applied_credit_notes,company,accounting_period,payment_term - name: PaymentsLineItemsAppliedCreditNotesCompanyAccountingPeriodPaymentTerm - - value: payments,line_items,applied_credit_notes,company,employee - name: PaymentsLineItemsAppliedCreditNotesCompanyEmployee - - value: >- - payments,line_items,applied_credit_notes,company,employee,accounting_period - name: PaymentsLineItemsAppliedCreditNotesCompanyEmployeeAccountingPeriod - - value: >- - payments,line_items,applied_credit_notes,company,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm - - value: payments,line_items,applied_credit_notes,company,employee,payment_term - name: PaymentsLineItemsAppliedCreditNotesCompanyEmployeePaymentTerm - - value: payments,line_items,applied_credit_notes,company,payment_term - name: PaymentsLineItemsAppliedCreditNotesCompanyPaymentTerm - - value: payments,line_items,applied_credit_notes,contact - name: PaymentsLineItemsAppliedCreditNotesContact - - value: payments,line_items,applied_credit_notes,contact,accounting_period - name: PaymentsLineItemsAppliedCreditNotesContactAccountingPeriod - - value: >- - payments,line_items,applied_credit_notes,contact,accounting_period,payment_term - name: PaymentsLineItemsAppliedCreditNotesContactAccountingPeriodPaymentTerm - - value: payments,line_items,applied_credit_notes,contact,company - name: PaymentsLineItemsAppliedCreditNotesContactCompany - - value: >- - payments,line_items,applied_credit_notes,contact,company,accounting_period - name: PaymentsLineItemsAppliedCreditNotesContactCompanyAccountingPeriod - - value: >- - payments,line_items,applied_credit_notes,contact,company,accounting_period,payment_term - name: >- - PaymentsLineItemsAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm - - value: payments,line_items,applied_credit_notes,contact,company,employee - name: PaymentsLineItemsAppliedCreditNotesContactCompanyEmployee - - value: >- - payments,line_items,applied_credit_notes,contact,company,employee,accounting_period - name: >- - PaymentsLineItemsAppliedCreditNotesContactCompanyEmployeeAccountingPeriod - - value: >- - payments,line_items,applied_credit_notes,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,applied_credit_notes,contact,company,employee,payment_term - name: PaymentsLineItemsAppliedCreditNotesContactCompanyEmployeePaymentTerm - - value: payments,line_items,applied_credit_notes,contact,company,payment_term - name: PaymentsLineItemsAppliedCreditNotesContactCompanyPaymentTerm - - value: payments,line_items,applied_credit_notes,contact,employee - name: PaymentsLineItemsAppliedCreditNotesContactEmployee - - value: >- - payments,line_items,applied_credit_notes,contact,employee,accounting_period - name: PaymentsLineItemsAppliedCreditNotesContactEmployeeAccountingPeriod - - value: >- - payments,line_items,applied_credit_notes,contact,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm - - value: payments,line_items,applied_credit_notes,contact,employee,payment_term - name: PaymentsLineItemsAppliedCreditNotesContactEmployeePaymentTerm - - value: payments,line_items,applied_credit_notes,contact,payment_term - name: PaymentsLineItemsAppliedCreditNotesContactPaymentTerm - - value: payments,line_items,applied_credit_notes,employee - name: PaymentsLineItemsAppliedCreditNotesEmployee - - value: payments,line_items,applied_credit_notes,employee,accounting_period - name: PaymentsLineItemsAppliedCreditNotesEmployeeAccountingPeriod - - value: >- - payments,line_items,applied_credit_notes,employee,accounting_period,payment_term - name: PaymentsLineItemsAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm - - value: payments,line_items,applied_credit_notes,employee,payment_term - name: PaymentsLineItemsAppliedCreditNotesEmployeePaymentTerm - - value: payments,line_items,applied_credit_notes,payment_term - name: PaymentsLineItemsAppliedCreditNotesPaymentTerm - - value: payments,line_items,applied_vendor_credits - name: PaymentsLineItemsAppliedVendorCredits - - value: payments,line_items,applied_vendor_credits,accounting_period - name: PaymentsLineItemsAppliedVendorCreditsAccountingPeriod - - value: >- - payments,line_items,applied_vendor_credits,accounting_period,payment_term - name: PaymentsLineItemsAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: payments,line_items,applied_vendor_credits,company - name: PaymentsLineItemsAppliedVendorCreditsCompany - - value: payments,line_items,applied_vendor_credits,company,accounting_period - name: PaymentsLineItemsAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - payments,line_items,applied_vendor_credits,company,accounting_period,payment_term - name: >- - PaymentsLineItemsAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: payments,line_items,applied_vendor_credits,company,employee - name: PaymentsLineItemsAppliedVendorCreditsCompanyEmployee - - value: >- - payments,line_items,applied_vendor_credits,company,employee,accounting_period - name: PaymentsLineItemsAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - payments,line_items,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,applied_vendor_credits,company,employee,payment_term - name: PaymentsLineItemsAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: payments,line_items,applied_vendor_credits,company,payment_term - name: PaymentsLineItemsAppliedVendorCreditsCompanyPaymentTerm - - value: payments,line_items,applied_vendor_credits,contact - name: PaymentsLineItemsAppliedVendorCreditsContact - - value: payments,line_items,applied_vendor_credits,contact,accounting_period - name: PaymentsLineItemsAppliedVendorCreditsContactAccountingPeriod - - value: >- - payments,line_items,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - PaymentsLineItemsAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: payments,line_items,applied_vendor_credits,contact,company - name: PaymentsLineItemsAppliedVendorCreditsContactCompany - - value: >- - payments,line_items,applied_vendor_credits,contact,company,accounting_period - name: PaymentsLineItemsAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - payments,line_items,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - PaymentsLineItemsAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: payments,line_items,applied_vendor_credits,contact,company,employee - name: PaymentsLineItemsAppliedVendorCreditsContactCompanyEmployee - - value: >- - payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - PaymentsLineItemsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,applied_vendor_credits,contact,company,employee,payment_term - name: PaymentsLineItemsAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - payments,line_items,applied_vendor_credits,contact,company,payment_term - name: PaymentsLineItemsAppliedVendorCreditsContactCompanyPaymentTerm - - value: payments,line_items,applied_vendor_credits,contact,employee - name: PaymentsLineItemsAppliedVendorCreditsContactEmployee - - value: >- - payments,line_items,applied_vendor_credits,contact,employee,accounting_period - name: PaymentsLineItemsAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - payments,line_items,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,applied_vendor_credits,contact,employee,payment_term - name: PaymentsLineItemsAppliedVendorCreditsContactEmployeePaymentTerm - - value: payments,line_items,applied_vendor_credits,contact,payment_term - name: PaymentsLineItemsAppliedVendorCreditsContactPaymentTerm - - value: payments,line_items,applied_vendor_credits,employee - name: PaymentsLineItemsAppliedVendorCreditsEmployee - - value: payments,line_items,applied_vendor_credits,employee,accounting_period - name: PaymentsLineItemsAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - payments,line_items,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: payments,line_items,applied_vendor_credits,employee,payment_term - name: PaymentsLineItemsAppliedVendorCreditsEmployeePaymentTerm - - value: payments,line_items,applied_vendor_credits,payment_term - name: PaymentsLineItemsAppliedVendorCreditsPaymentTerm - - value: payments,line_items,company - name: PaymentsLineItemsCompany - - value: payments,line_items,company,accounting_period - name: PaymentsLineItemsCompanyAccountingPeriod - - value: payments,line_items,company,accounting_period,payment_term - name: PaymentsLineItemsCompanyAccountingPeriodPaymentTerm - - value: payments,line_items,company,employee - name: PaymentsLineItemsCompanyEmployee - - value: payments,line_items,company,employee,accounting_period - name: PaymentsLineItemsCompanyEmployeeAccountingPeriod - - value: payments,line_items,company,employee,accounting_period,payment_term - name: PaymentsLineItemsCompanyEmployeeAccountingPeriodPaymentTerm - - value: payments,line_items,company,employee,payment_term - name: PaymentsLineItemsCompanyEmployeePaymentTerm - - value: payments,line_items,company,payment_term - name: PaymentsLineItemsCompanyPaymentTerm - - value: payments,line_items,contact - name: PaymentsLineItemsContact - - value: payments,line_items,contact,accounting_period - name: PaymentsLineItemsContactAccountingPeriod - - value: payments,line_items,contact,accounting_period,payment_term - name: PaymentsLineItemsContactAccountingPeriodPaymentTerm - - value: payments,line_items,contact,company - name: PaymentsLineItemsContactCompany - - value: payments,line_items,contact,company,accounting_period - name: PaymentsLineItemsContactCompanyAccountingPeriod - - value: payments,line_items,contact,company,accounting_period,payment_term - name: PaymentsLineItemsContactCompanyAccountingPeriodPaymentTerm - - value: payments,line_items,contact,company,employee - name: PaymentsLineItemsContactCompanyEmployee - - value: payments,line_items,contact,company,employee,accounting_period - name: PaymentsLineItemsContactCompanyEmployeeAccountingPeriod - - value: >- - payments,line_items,contact,company,employee,accounting_period,payment_term - name: PaymentsLineItemsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: payments,line_items,contact,company,employee,payment_term - name: PaymentsLineItemsContactCompanyEmployeePaymentTerm - - value: payments,line_items,contact,company,payment_term - name: PaymentsLineItemsContactCompanyPaymentTerm - - value: payments,line_items,contact,employee - name: PaymentsLineItemsContactEmployee - - value: payments,line_items,contact,employee,accounting_period - name: PaymentsLineItemsContactEmployeeAccountingPeriod - - value: payments,line_items,contact,employee,accounting_period,payment_term - name: PaymentsLineItemsContactEmployeeAccountingPeriodPaymentTerm - - value: payments,line_items,contact,employee,payment_term - name: PaymentsLineItemsContactEmployeePaymentTerm - - value: payments,line_items,contact,payment_term - name: PaymentsLineItemsContactPaymentTerm - - value: payments,line_items,employee - name: PaymentsLineItemsEmployee - - value: payments,line_items,employee,accounting_period - name: PaymentsLineItemsEmployeeAccountingPeriod - - value: payments,line_items,employee,accounting_period,payment_term - name: PaymentsLineItemsEmployeeAccountingPeriodPaymentTerm - - value: payments,line_items,employee,payment_term - name: PaymentsLineItemsEmployeePaymentTerm - - value: payments,line_items,payment_term - name: PaymentsLineItemsPaymentTerm - - value: payments,line_items,purchase_orders - name: PaymentsLineItemsPurchaseOrders - - value: payments,line_items,purchase_orders,accounting_period - name: PaymentsLineItemsPurchaseOrdersAccountingPeriod - - value: payments,line_items,purchase_orders,accounting_period,payment_term - name: PaymentsLineItemsPurchaseOrdersAccountingPeriodPaymentTerm - - value: payments,line_items,purchase_orders,applied_credit_notes - name: PaymentsLineItemsPurchaseOrdersAppliedCreditNotes - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,accounting_period - name: PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAccountingPeriod - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,accounting_period,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAccountingPeriodPaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits - name: PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCredits - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsPaymentTerm - - value: payments,line_items,purchase_orders,applied_credit_notes,company - name: PaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompany - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriodPaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,company,employee - name: PaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployee - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,company,employee,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployeePaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,company,payment_term - name: PaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyPaymentTerm - - value: payments,line_items,purchase_orders,applied_credit_notes,contact - name: PaymentsLineItemsPurchaseOrdersAppliedCreditNotesContact - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactAccountingPeriod - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactAccountingPeriodPaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,contact,company - name: PaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompany - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployee - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeePaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,contact,company,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyPaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,contact,employee - name: PaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactEmployee - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,contact,employee,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactEmployeePaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,contact,payment_term - name: PaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactPaymentTerm - - value: payments,line_items,purchase_orders,applied_credit_notes,employee - name: PaymentsLineItemsPurchaseOrdersAppliedCreditNotesEmployee - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_credit_notes,employee,payment_term - name: PaymentsLineItemsPurchaseOrdersAppliedCreditNotesEmployeePaymentTerm - - value: payments,line_items,purchase_orders,applied_credit_notes,payment_term - name: PaymentsLineItemsPurchaseOrdersAppliedCreditNotesPaymentTerm - - value: payments,line_items,purchase_orders,applied_vendor_credits - name: PaymentsLineItemsPurchaseOrdersAppliedVendorCredits - - value: >- - payments,line_items,purchase_orders,applied_vendor_credits,accounting_period - name: PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsAccountingPeriod - - value: >- - payments,line_items,purchase_orders,applied_vendor_credits,accounting_period,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: payments,line_items,purchase_orders,applied_vendor_credits,company - name: PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompany - - value: >- - payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period - name: >- - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_vendor_credits,company,employee - name: PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployee - - value: >- - payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period - name: >- - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_vendor_credits,company,employee,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_vendor_credits,company,payment_term - name: PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyPaymentTerm - - value: payments,line_items,purchase_orders,applied_vendor_credits,contact - name: PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContact - - value: >- - payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period - name: >- - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod - - value: >- - payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_vendor_credits,contact,company - name: PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompany - - value: >- - payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period - name: >- - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee - name: >- - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee - - value: >- - payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_vendor_credits,contact,company,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_vendor_credits,contact,employee - name: PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployee - - value: >- - payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period - name: >- - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_vendor_credits,contact,payment_term - name: PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactPaymentTerm - - value: payments,line_items,purchase_orders,applied_vendor_credits,employee - name: PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsEmployee - - value: >- - payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period - name: >- - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_vendor_credits,employee,payment_term - name: PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsEmployeePaymentTerm - - value: >- - payments,line_items,purchase_orders,applied_vendor_credits,payment_term - name: PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsPaymentTerm - - value: payments,line_items,purchase_orders,company - name: PaymentsLineItemsPurchaseOrdersCompany - - value: payments,line_items,purchase_orders,company,accounting_period - name: PaymentsLineItemsPurchaseOrdersCompanyAccountingPeriod - - value: >- - payments,line_items,purchase_orders,company,accounting_period,payment_term - name: PaymentsLineItemsPurchaseOrdersCompanyAccountingPeriodPaymentTerm - - value: payments,line_items,purchase_orders,company,employee - name: PaymentsLineItemsPurchaseOrdersCompanyEmployee - - value: payments,line_items,purchase_orders,company,employee,accounting_period - name: PaymentsLineItemsPurchaseOrdersCompanyEmployeeAccountingPeriod - - value: >- - payments,line_items,purchase_orders,company,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersCompanyEmployeeAccountingPeriodPaymentTerm - - value: payments,line_items,purchase_orders,company,employee,payment_term - name: PaymentsLineItemsPurchaseOrdersCompanyEmployeePaymentTerm - - value: payments,line_items,purchase_orders,company,payment_term - name: PaymentsLineItemsPurchaseOrdersCompanyPaymentTerm - - value: payments,line_items,purchase_orders,contact - name: PaymentsLineItemsPurchaseOrdersContact - - value: payments,line_items,purchase_orders,contact,accounting_period - name: PaymentsLineItemsPurchaseOrdersContactAccountingPeriod - - value: >- - payments,line_items,purchase_orders,contact,accounting_period,payment_term - name: PaymentsLineItemsPurchaseOrdersContactAccountingPeriodPaymentTerm - - value: payments,line_items,purchase_orders,contact,company - name: PaymentsLineItemsPurchaseOrdersContactCompany - - value: payments,line_items,purchase_orders,contact,company,accounting_period - name: PaymentsLineItemsPurchaseOrdersContactCompanyAccountingPeriod - - value: >- - payments,line_items,purchase_orders,contact,company,accounting_period,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersContactCompanyAccountingPeriodPaymentTerm - - value: payments,line_items,purchase_orders,contact,company,employee - name: PaymentsLineItemsPurchaseOrdersContactCompanyEmployee - - value: >- - payments,line_items,purchase_orders,contact,company,employee,accounting_period - name: PaymentsLineItemsPurchaseOrdersContactCompanyEmployeeAccountingPeriod - - value: >- - payments,line_items,purchase_orders,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,purchase_orders,contact,company,employee,payment_term - name: PaymentsLineItemsPurchaseOrdersContactCompanyEmployeePaymentTerm - - value: payments,line_items,purchase_orders,contact,company,payment_term - name: PaymentsLineItemsPurchaseOrdersContactCompanyPaymentTerm - - value: payments,line_items,purchase_orders,contact,employee - name: PaymentsLineItemsPurchaseOrdersContactEmployee - - value: payments,line_items,purchase_orders,contact,employee,accounting_period - name: PaymentsLineItemsPurchaseOrdersContactEmployeeAccountingPeriod - - value: >- - payments,line_items,purchase_orders,contact,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsPurchaseOrdersContactEmployeeAccountingPeriodPaymentTerm - - value: payments,line_items,purchase_orders,contact,employee,payment_term - name: PaymentsLineItemsPurchaseOrdersContactEmployeePaymentTerm - - value: payments,line_items,purchase_orders,contact,payment_term - name: PaymentsLineItemsPurchaseOrdersContactPaymentTerm - - value: payments,line_items,purchase_orders,employee - name: PaymentsLineItemsPurchaseOrdersEmployee - - value: payments,line_items,purchase_orders,employee,accounting_period - name: PaymentsLineItemsPurchaseOrdersEmployeeAccountingPeriod - - value: >- - payments,line_items,purchase_orders,employee,accounting_period,payment_term - name: PaymentsLineItemsPurchaseOrdersEmployeeAccountingPeriodPaymentTerm - - value: payments,line_items,purchase_orders,employee,payment_term - name: PaymentsLineItemsPurchaseOrdersEmployeePaymentTerm - - value: payments,line_items,purchase_orders,payment_term - name: PaymentsLineItemsPurchaseOrdersPaymentTerm - - value: payments,line_items,tracking_categories - name: PaymentsLineItemsTrackingCategories - - value: payments,line_items,tracking_categories,accounting_period - name: PaymentsLineItemsTrackingCategoriesAccountingPeriod - - value: payments,line_items,tracking_categories,accounting_period,payment_term - name: PaymentsLineItemsTrackingCategoriesAccountingPeriodPaymentTerm - - value: payments,line_items,tracking_categories,applied_credit_notes - name: PaymentsLineItemsTrackingCategoriesAppliedCreditNotes - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,accounting_period - name: PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAccountingPeriod - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCredits - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriod - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompany - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployee - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContact - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompany - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployee - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployee - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsPaymentTerm - - value: payments,line_items,tracking_categories,applied_credit_notes,company - name: PaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompany - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriod - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,company,employee - name: PaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployee - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriod - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,company,employee,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployeePaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,company,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyPaymentTerm - - value: payments,line_items,tracking_categories,applied_credit_notes,contact - name: PaymentsLineItemsTrackingCategoriesAppliedCreditNotesContact - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactAccountingPeriod - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,contact,company - name: PaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompany - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriod - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployee - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriod - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeePaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,contact,company,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyPaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,contact,employee - name: PaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactEmployee - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriod - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,contact,employee,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactEmployeePaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,contact,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactPaymentTerm - - value: payments,line_items,tracking_categories,applied_credit_notes,employee - name: PaymentsLineItemsTrackingCategoriesAppliedCreditNotesEmployee - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriod - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,employee,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesEmployeePaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_credit_notes,payment_term - name: PaymentsLineItemsTrackingCategoriesAppliedCreditNotesPaymentTerm - - value: payments,line_items,tracking_categories,applied_vendor_credits - name: PaymentsLineItemsTrackingCategoriesAppliedVendorCredits - - value: >- - payments,line_items,tracking_categories,applied_vendor_credits,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsAccountingPeriod - - value: >- - payments,line_items,tracking_categories,applied_vendor_credits,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: payments,line_items,tracking_categories,applied_vendor_credits,company - name: PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompany - - value: >- - payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_vendor_credits,company,employee - name: PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployee - - value: >- - payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_vendor_credits,company,employee,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_vendor_credits,company,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyPaymentTerm - - value: payments,line_items,tracking_categories,applied_vendor_credits,contact - name: PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContact - - value: >- - payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriod - - value: >- - payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_vendor_credits,contact,company - name: PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompany - - value: >- - payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee - name: >- - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployee - - value: >- - payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_vendor_credits,contact,company,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_vendor_credits,contact,employee - name: PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployee - - value: >- - payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_vendor_credits,contact,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactPaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_vendor_credits,employee - name: PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsEmployee - - value: >- - payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_vendor_credits,employee,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsEmployeePaymentTerm - - value: >- - payments,line_items,tracking_categories,applied_vendor_credits,payment_term - name: PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsPaymentTerm - - value: payments,line_items,tracking_categories,company - name: PaymentsLineItemsTrackingCategoriesCompany - - value: payments,line_items,tracking_categories,company,accounting_period - name: PaymentsLineItemsTrackingCategoriesCompanyAccountingPeriod - - value: >- - payments,line_items,tracking_categories,company,accounting_period,payment_term - name: PaymentsLineItemsTrackingCategoriesCompanyAccountingPeriodPaymentTerm - - value: payments,line_items,tracking_categories,company,employee - name: PaymentsLineItemsTrackingCategoriesCompanyEmployee - - value: >- - payments,line_items,tracking_categories,company,employee,accounting_period - name: PaymentsLineItemsTrackingCategoriesCompanyEmployeeAccountingPeriod - - value: >- - payments,line_items,tracking_categories,company,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesCompanyEmployeeAccountingPeriodPaymentTerm - - value: payments,line_items,tracking_categories,company,employee,payment_term - name: PaymentsLineItemsTrackingCategoriesCompanyEmployeePaymentTerm - - value: payments,line_items,tracking_categories,company,payment_term - name: PaymentsLineItemsTrackingCategoriesCompanyPaymentTerm - - value: payments,line_items,tracking_categories,contact - name: PaymentsLineItemsTrackingCategoriesContact - - value: payments,line_items,tracking_categories,contact,accounting_period - name: PaymentsLineItemsTrackingCategoriesContactAccountingPeriod - - value: >- - payments,line_items,tracking_categories,contact,accounting_period,payment_term - name: PaymentsLineItemsTrackingCategoriesContactAccountingPeriodPaymentTerm - - value: payments,line_items,tracking_categories,contact,company - name: PaymentsLineItemsTrackingCategoriesContactCompany - - value: >- - payments,line_items,tracking_categories,contact,company,accounting_period - name: PaymentsLineItemsTrackingCategoriesContactCompanyAccountingPeriod - - value: >- - payments,line_items,tracking_categories,contact,company,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesContactCompanyAccountingPeriodPaymentTerm - - value: payments,line_items,tracking_categories,contact,company,employee - name: PaymentsLineItemsTrackingCategoriesContactCompanyEmployee - - value: >- - payments,line_items,tracking_categories,contact,company,employee,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesContactCompanyEmployeeAccountingPeriod - - value: >- - payments,line_items,tracking_categories,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,contact,company,employee,payment_term - name: PaymentsLineItemsTrackingCategoriesContactCompanyEmployeePaymentTerm - - value: payments,line_items,tracking_categories,contact,company,payment_term - name: PaymentsLineItemsTrackingCategoriesContactCompanyPaymentTerm - - value: payments,line_items,tracking_categories,contact,employee - name: PaymentsLineItemsTrackingCategoriesContactEmployee - - value: >- - payments,line_items,tracking_categories,contact,employee,accounting_period - name: PaymentsLineItemsTrackingCategoriesContactEmployeeAccountingPeriod - - value: >- - payments,line_items,tracking_categories,contact,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesContactEmployeeAccountingPeriodPaymentTerm - - value: payments,line_items,tracking_categories,contact,employee,payment_term - name: PaymentsLineItemsTrackingCategoriesContactEmployeePaymentTerm - - value: payments,line_items,tracking_categories,contact,payment_term - name: PaymentsLineItemsTrackingCategoriesContactPaymentTerm - - value: payments,line_items,tracking_categories,employee - name: PaymentsLineItemsTrackingCategoriesEmployee - - value: payments,line_items,tracking_categories,employee,accounting_period - name: PaymentsLineItemsTrackingCategoriesEmployeeAccountingPeriod - - value: >- - payments,line_items,tracking_categories,employee,accounting_period,payment_term - name: PaymentsLineItemsTrackingCategoriesEmployeeAccountingPeriodPaymentTerm - - value: payments,line_items,tracking_categories,employee,payment_term - name: PaymentsLineItemsTrackingCategoriesEmployeePaymentTerm - - value: payments,line_items,tracking_categories,payment_term - name: PaymentsLineItemsTrackingCategoriesPaymentTerm - - value: payments,line_items,tracking_categories,purchase_orders - name: PaymentsLineItemsTrackingCategoriesPurchaseOrders - - value: >- - payments,line_items,tracking_categories,purchase_orders,accounting_period - name: PaymentsLineItemsTrackingCategoriesPurchaseOrdersAccountingPeriod - - value: >- - payments,line_items,tracking_categories,purchase_orders,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes - name: PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotes - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriod - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCredits - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompany - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployee - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeePaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContact - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriod - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompany - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployee - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeePaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployee - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeePaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployee - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeePaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits - name: PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCredits - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriod - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompany - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployee - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContact - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompany - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployee - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployee - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeePaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsPaymentTerm - - value: payments,line_items,tracking_categories,purchase_orders,company - name: PaymentsLineItemsTrackingCategoriesPurchaseOrdersCompany - - value: >- - payments,line_items,tracking_categories,purchase_orders,company,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod - - value: >- - payments,line_items,tracking_categories,purchase_orders,company,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,company,employee - name: PaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployee - - value: >- - payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriod - - value: >- - payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,company,employee,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployeePaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,company,payment_term - name: PaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyPaymentTerm - - value: payments,line_items,tracking_categories,purchase_orders,contact - name: PaymentsLineItemsTrackingCategoriesPurchaseOrdersContact - - value: >- - payments,line_items,tracking_categories,purchase_orders,contact,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersContactAccountingPeriod - - value: >- - payments,line_items,tracking_categories,purchase_orders,contact,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersContactAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,contact,company - name: PaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompany - - value: >- - payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod - - value: >- - payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,contact,company,employee - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployee - - value: >- - payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriod - - value: >- - payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,contact,company,employee,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployeePaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,contact,company,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,contact,employee - name: PaymentsLineItemsTrackingCategoriesPurchaseOrdersContactEmployee - - value: >- - payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriod - - value: >- - payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,contact,employee,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersContactEmployeePaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,contact,payment_term - name: PaymentsLineItemsTrackingCategoriesPurchaseOrdersContactPaymentTerm - - value: payments,line_items,tracking_categories,purchase_orders,employee - name: PaymentsLineItemsTrackingCategoriesPurchaseOrdersEmployee - - value: >- - payments,line_items,tracking_categories,purchase_orders,employee,accounting_period - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriod - - value: >- - payments,line_items,tracking_categories,purchase_orders,employee,accounting_period,payment_term - name: >- - PaymentsLineItemsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,line_items,tracking_categories,purchase_orders,employee,payment_term - name: PaymentsLineItemsTrackingCategoriesPurchaseOrdersEmployeePaymentTerm - - value: payments,line_items,tracking_categories,purchase_orders,payment_term - name: PaymentsLineItemsTrackingCategoriesPurchaseOrdersPaymentTerm - - value: payments,payment_term - name: PaymentsPaymentTerm - - value: payments,purchase_orders - name: PaymentsPurchaseOrders - - value: payments,purchase_orders,accounting_period - name: PaymentsPurchaseOrdersAccountingPeriod - - value: payments,purchase_orders,accounting_period,payment_term - name: PaymentsPurchaseOrdersAccountingPeriodPaymentTerm - - value: payments,purchase_orders,applied_credit_notes - name: PaymentsPurchaseOrdersAppliedCreditNotes - - value: payments,purchase_orders,applied_credit_notes,accounting_period - name: PaymentsPurchaseOrdersAppliedCreditNotesAccountingPeriod - - value: >- - payments,purchase_orders,applied_credit_notes,accounting_period,payment_term - name: PaymentsPurchaseOrdersAppliedCreditNotesAccountingPeriodPaymentTerm - - value: payments,purchase_orders,applied_credit_notes,applied_vendor_credits - name: PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCredits - - value: >- - payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod - - value: >- - payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company - name: PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany - - value: >- - payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee - - value: >- - payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm - - value: >- - payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact - name: PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact - - value: >- - payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod - - value: >- - payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany - - value: >- - payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee - - value: >- - payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee - - value: >- - payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm - - value: >- - payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee - name: PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee - - value: >- - payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm - - value: >- - payments,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsPaymentTerm - - value: payments,purchase_orders,applied_credit_notes,company - name: PaymentsPurchaseOrdersAppliedCreditNotesCompany - - value: >- - payments,purchase_orders,applied_credit_notes,company,accounting_period - name: PaymentsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod - - value: >- - payments,purchase_orders,applied_credit_notes,company,accounting_period,payment_term - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriodPaymentTerm - - value: payments,purchase_orders,applied_credit_notes,company,employee - name: PaymentsPurchaseOrdersAppliedCreditNotesCompanyEmployee - - value: >- - payments,purchase_orders,applied_credit_notes,company,employee,accounting_period - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod - - value: >- - payments,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,purchase_orders,applied_credit_notes,company,employee,payment_term - name: PaymentsPurchaseOrdersAppliedCreditNotesCompanyEmployeePaymentTerm - - value: payments,purchase_orders,applied_credit_notes,company,payment_term - name: PaymentsPurchaseOrdersAppliedCreditNotesCompanyPaymentTerm - - value: payments,purchase_orders,applied_credit_notes,contact - name: PaymentsPurchaseOrdersAppliedCreditNotesContact - - value: >- - payments,purchase_orders,applied_credit_notes,contact,accounting_period - name: PaymentsPurchaseOrdersAppliedCreditNotesContactAccountingPeriod - - value: >- - payments,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesContactAccountingPeriodPaymentTerm - - value: payments,purchase_orders,applied_credit_notes,contact,company - name: PaymentsPurchaseOrdersAppliedCreditNotesContactCompany - - value: >- - payments,purchase_orders,applied_credit_notes,contact,company,accounting_period - name: PaymentsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod - - value: >- - payments,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm - - value: payments,purchase_orders,applied_credit_notes,contact,company,employee - name: PaymentsPurchaseOrdersAppliedCreditNotesContactCompanyEmployee - - value: >- - payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod - - value: >- - payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,purchase_orders,applied_credit_notes,contact,company,employee,payment_term - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeePaymentTerm - - value: >- - payments,purchase_orders,applied_credit_notes,contact,company,payment_term - name: PaymentsPurchaseOrdersAppliedCreditNotesContactCompanyPaymentTerm - - value: payments,purchase_orders,applied_credit_notes,contact,employee - name: PaymentsPurchaseOrdersAppliedCreditNotesContactEmployee - - value: >- - payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod - - value: >- - payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,purchase_orders,applied_credit_notes,contact,employee,payment_term - name: PaymentsPurchaseOrdersAppliedCreditNotesContactEmployeePaymentTerm - - value: payments,purchase_orders,applied_credit_notes,contact,payment_term - name: PaymentsPurchaseOrdersAppliedCreditNotesContactPaymentTerm - - value: payments,purchase_orders,applied_credit_notes,employee - name: PaymentsPurchaseOrdersAppliedCreditNotesEmployee - - value: >- - payments,purchase_orders,applied_credit_notes,employee,accounting_period - name: PaymentsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod - - value: >- - payments,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term - name: >- - PaymentsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm - - value: payments,purchase_orders,applied_credit_notes,employee,payment_term - name: PaymentsPurchaseOrdersAppliedCreditNotesEmployeePaymentTerm - - value: payments,purchase_orders,applied_credit_notes,payment_term - name: PaymentsPurchaseOrdersAppliedCreditNotesPaymentTerm - - value: payments,purchase_orders,applied_vendor_credits - name: PaymentsPurchaseOrdersAppliedVendorCredits - - value: payments,purchase_orders,applied_vendor_credits,accounting_period - name: PaymentsPurchaseOrdersAppliedVendorCreditsAccountingPeriod - - value: >- - payments,purchase_orders,applied_vendor_credits,accounting_period,payment_term - name: PaymentsPurchaseOrdersAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: payments,purchase_orders,applied_vendor_credits,company - name: PaymentsPurchaseOrdersAppliedVendorCreditsCompany - - value: >- - payments,purchase_orders,applied_vendor_credits,company,accounting_period - name: PaymentsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - payments,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term - name: >- - PaymentsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: payments,purchase_orders,applied_vendor_credits,company,employee - name: PaymentsPurchaseOrdersAppliedVendorCreditsCompanyEmployee - - value: >- - payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period - name: >- - PaymentsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - PaymentsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,purchase_orders,applied_vendor_credits,company,employee,payment_term - name: PaymentsPurchaseOrdersAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: payments,purchase_orders,applied_vendor_credits,company,payment_term - name: PaymentsPurchaseOrdersAppliedVendorCreditsCompanyPaymentTerm - - value: payments,purchase_orders,applied_vendor_credits,contact - name: PaymentsPurchaseOrdersAppliedVendorCreditsContact - - value: >- - payments,purchase_orders,applied_vendor_credits,contact,accounting_period - name: PaymentsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod - - value: >- - payments,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - PaymentsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: payments,purchase_orders,applied_vendor_credits,contact,company - name: PaymentsPurchaseOrdersAppliedVendorCreditsContactCompany - - value: >- - payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period - name: >- - PaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - PaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,purchase_orders,applied_vendor_credits,contact,company,employee - name: PaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee - - value: >- - payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - PaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term - name: >- - PaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - payments,purchase_orders,applied_vendor_credits,contact,company,payment_term - name: PaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyPaymentTerm - - value: payments,purchase_orders,applied_vendor_credits,contact,employee - name: PaymentsPurchaseOrdersAppliedVendorCreditsContactEmployee - - value: >- - payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period - name: >- - PaymentsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - PaymentsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,purchase_orders,applied_vendor_credits,contact,employee,payment_term - name: PaymentsPurchaseOrdersAppliedVendorCreditsContactEmployeePaymentTerm - - value: payments,purchase_orders,applied_vendor_credits,contact,payment_term - name: PaymentsPurchaseOrdersAppliedVendorCreditsContactPaymentTerm - - value: payments,purchase_orders,applied_vendor_credits,employee - name: PaymentsPurchaseOrdersAppliedVendorCreditsEmployee - - value: >- - payments,purchase_orders,applied_vendor_credits,employee,accounting_period - name: PaymentsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - payments,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - PaymentsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: payments,purchase_orders,applied_vendor_credits,employee,payment_term - name: PaymentsPurchaseOrdersAppliedVendorCreditsEmployeePaymentTerm - - value: payments,purchase_orders,applied_vendor_credits,payment_term - name: PaymentsPurchaseOrdersAppliedVendorCreditsPaymentTerm - - value: payments,purchase_orders,company - name: PaymentsPurchaseOrdersCompany - - value: payments,purchase_orders,company,accounting_period - name: PaymentsPurchaseOrdersCompanyAccountingPeriod - - value: payments,purchase_orders,company,accounting_period,payment_term - name: PaymentsPurchaseOrdersCompanyAccountingPeriodPaymentTerm - - value: payments,purchase_orders,company,employee - name: PaymentsPurchaseOrdersCompanyEmployee - - value: payments,purchase_orders,company,employee,accounting_period - name: PaymentsPurchaseOrdersCompanyEmployeeAccountingPeriod - - value: >- - payments,purchase_orders,company,employee,accounting_period,payment_term - name: PaymentsPurchaseOrdersCompanyEmployeeAccountingPeriodPaymentTerm - - value: payments,purchase_orders,company,employee,payment_term - name: PaymentsPurchaseOrdersCompanyEmployeePaymentTerm - - value: payments,purchase_orders,company,payment_term - name: PaymentsPurchaseOrdersCompanyPaymentTerm - - value: payments,purchase_orders,contact - name: PaymentsPurchaseOrdersContact - - value: payments,purchase_orders,contact,accounting_period - name: PaymentsPurchaseOrdersContactAccountingPeriod - - value: payments,purchase_orders,contact,accounting_period,payment_term - name: PaymentsPurchaseOrdersContactAccountingPeriodPaymentTerm - - value: payments,purchase_orders,contact,company - name: PaymentsPurchaseOrdersContactCompany - - value: payments,purchase_orders,contact,company,accounting_period - name: PaymentsPurchaseOrdersContactCompanyAccountingPeriod - - value: >- - payments,purchase_orders,contact,company,accounting_period,payment_term - name: PaymentsPurchaseOrdersContactCompanyAccountingPeriodPaymentTerm - - value: payments,purchase_orders,contact,company,employee - name: PaymentsPurchaseOrdersContactCompanyEmployee - - value: payments,purchase_orders,contact,company,employee,accounting_period - name: PaymentsPurchaseOrdersContactCompanyEmployeeAccountingPeriod - - value: >- - payments,purchase_orders,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsPurchaseOrdersContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: payments,purchase_orders,contact,company,employee,payment_term - name: PaymentsPurchaseOrdersContactCompanyEmployeePaymentTerm - - value: payments,purchase_orders,contact,company,payment_term - name: PaymentsPurchaseOrdersContactCompanyPaymentTerm - - value: payments,purchase_orders,contact,employee - name: PaymentsPurchaseOrdersContactEmployee - - value: payments,purchase_orders,contact,employee,accounting_period - name: PaymentsPurchaseOrdersContactEmployeeAccountingPeriod - - value: >- - payments,purchase_orders,contact,employee,accounting_period,payment_term - name: PaymentsPurchaseOrdersContactEmployeeAccountingPeriodPaymentTerm - - value: payments,purchase_orders,contact,employee,payment_term - name: PaymentsPurchaseOrdersContactEmployeePaymentTerm - - value: payments,purchase_orders,contact,payment_term - name: PaymentsPurchaseOrdersContactPaymentTerm - - value: payments,purchase_orders,employee - name: PaymentsPurchaseOrdersEmployee - - value: payments,purchase_orders,employee,accounting_period - name: PaymentsPurchaseOrdersEmployeeAccountingPeriod - - value: payments,purchase_orders,employee,accounting_period,payment_term - name: PaymentsPurchaseOrdersEmployeeAccountingPeriodPaymentTerm - - value: payments,purchase_orders,employee,payment_term - name: PaymentsPurchaseOrdersEmployeePaymentTerm - - value: payments,purchase_orders,payment_term - name: PaymentsPurchaseOrdersPaymentTerm - - value: payments,tracking_categories - name: PaymentsTrackingCategories - - value: payments,tracking_categories,accounting_period - name: PaymentsTrackingCategoriesAccountingPeriod - - value: payments,tracking_categories,accounting_period,payment_term - name: PaymentsTrackingCategoriesAccountingPeriodPaymentTerm - - value: payments,tracking_categories,applied_credit_notes - name: PaymentsTrackingCategoriesAppliedCreditNotes - - value: payments,tracking_categories,applied_credit_notes,accounting_period - name: PaymentsTrackingCategoriesAppliedCreditNotesAccountingPeriod - - value: >- - payments,tracking_categories,applied_credit_notes,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,applied_credit_notes,applied_vendor_credits - name: PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCredits - - value: >- - payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriod - - value: >- - payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompany - - value: >- - payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployee - - value: >- - payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm - - value: >- - payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContact - - value: >- - payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod - - value: >- - payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompany - - value: >- - payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee - - value: >- - payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployee - - value: >- - payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm - - value: >- - payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployee - - value: >- - payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm - - value: >- - payments,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsPaymentTerm - - value: payments,tracking_categories,applied_credit_notes,company - name: PaymentsTrackingCategoriesAppliedCreditNotesCompany - - value: >- - payments,tracking_categories,applied_credit_notes,company,accounting_period - name: PaymentsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriod - - value: >- - payments,tracking_categories,applied_credit_notes,company,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriodPaymentTerm - - value: payments,tracking_categories,applied_credit_notes,company,employee - name: PaymentsTrackingCategoriesAppliedCreditNotesCompanyEmployee - - value: >- - payments,tracking_categories,applied_credit_notes,company,employee,accounting_period - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriod - - value: >- - payments,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,applied_credit_notes,company,employee,payment_term - name: PaymentsTrackingCategoriesAppliedCreditNotesCompanyEmployeePaymentTerm - - value: payments,tracking_categories,applied_credit_notes,company,payment_term - name: PaymentsTrackingCategoriesAppliedCreditNotesCompanyPaymentTerm - - value: payments,tracking_categories,applied_credit_notes,contact - name: PaymentsTrackingCategoriesAppliedCreditNotesContact - - value: >- - payments,tracking_categories,applied_credit_notes,contact,accounting_period - name: PaymentsTrackingCategoriesAppliedCreditNotesContactAccountingPeriod - - value: >- - payments,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesContactAccountingPeriodPaymentTerm - - value: payments,tracking_categories,applied_credit_notes,contact,company - name: PaymentsTrackingCategoriesAppliedCreditNotesContactCompany - - value: >- - payments,tracking_categories,applied_credit_notes,contact,company,accounting_period - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriod - - value: >- - payments,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,applied_credit_notes,contact,company,employee - name: PaymentsTrackingCategoriesAppliedCreditNotesContactCompanyEmployee - - value: >- - payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriod - - value: >- - payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,applied_credit_notes,contact,company,employee,payment_term - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeePaymentTerm - - value: >- - payments,tracking_categories,applied_credit_notes,contact,company,payment_term - name: PaymentsTrackingCategoriesAppliedCreditNotesContactCompanyPaymentTerm - - value: payments,tracking_categories,applied_credit_notes,contact,employee - name: PaymentsTrackingCategoriesAppliedCreditNotesContactEmployee - - value: >- - payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriod - - value: >- - payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,applied_credit_notes,contact,employee,payment_term - name: PaymentsTrackingCategoriesAppliedCreditNotesContactEmployeePaymentTerm - - value: payments,tracking_categories,applied_credit_notes,contact,payment_term - name: PaymentsTrackingCategoriesAppliedCreditNotesContactPaymentTerm - - value: payments,tracking_categories,applied_credit_notes,employee - name: PaymentsTrackingCategoriesAppliedCreditNotesEmployee - - value: >- - payments,tracking_categories,applied_credit_notes,employee,accounting_period - name: PaymentsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriod - - value: >- - payments,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,applied_credit_notes,employee,payment_term - name: PaymentsTrackingCategoriesAppliedCreditNotesEmployeePaymentTerm - - value: payments,tracking_categories,applied_credit_notes,payment_term - name: PaymentsTrackingCategoriesAppliedCreditNotesPaymentTerm - - value: payments,tracking_categories,applied_vendor_credits - name: PaymentsTrackingCategoriesAppliedVendorCredits - - value: payments,tracking_categories,applied_vendor_credits,accounting_period - name: PaymentsTrackingCategoriesAppliedVendorCreditsAccountingPeriod - - value: >- - payments,tracking_categories,applied_vendor_credits,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: payments,tracking_categories,applied_vendor_credits,company - name: PaymentsTrackingCategoriesAppliedVendorCreditsCompany - - value: >- - payments,tracking_categories,applied_vendor_credits,company,accounting_period - name: PaymentsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - payments,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: payments,tracking_categories,applied_vendor_credits,company,employee - name: PaymentsTrackingCategoriesAppliedVendorCreditsCompanyEmployee - - value: >- - payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period - name: >- - PaymentsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,applied_vendor_credits,company,employee,payment_term - name: >- - PaymentsTrackingCategoriesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - payments,tracking_categories,applied_vendor_credits,company,payment_term - name: PaymentsTrackingCategoriesAppliedVendorCreditsCompanyPaymentTerm - - value: payments,tracking_categories,applied_vendor_credits,contact - name: PaymentsTrackingCategoriesAppliedVendorCreditsContact - - value: >- - payments,tracking_categories,applied_vendor_credits,contact,accounting_period - name: PaymentsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriod - - value: >- - payments,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: payments,tracking_categories,applied_vendor_credits,contact,company - name: PaymentsTrackingCategoriesAppliedVendorCreditsContactCompany - - value: >- - payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period - name: >- - PaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,applied_vendor_credits,contact,company,employee - name: PaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployee - - value: >- - payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - PaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term - name: >- - PaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - payments,tracking_categories,applied_vendor_credits,contact,company,payment_term - name: >- - PaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyPaymentTerm - - value: payments,tracking_categories,applied_vendor_credits,contact,employee - name: PaymentsTrackingCategoriesAppliedVendorCreditsContactEmployee - - value: >- - payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period - name: >- - PaymentsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,applied_vendor_credits,contact,employee,payment_term - name: >- - PaymentsTrackingCategoriesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - payments,tracking_categories,applied_vendor_credits,contact,payment_term - name: PaymentsTrackingCategoriesAppliedVendorCreditsContactPaymentTerm - - value: payments,tracking_categories,applied_vendor_credits,employee - name: PaymentsTrackingCategoriesAppliedVendorCreditsEmployee - - value: >- - payments,tracking_categories,applied_vendor_credits,employee,accounting_period - name: PaymentsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - payments,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,applied_vendor_credits,employee,payment_term - name: PaymentsTrackingCategoriesAppliedVendorCreditsEmployeePaymentTerm - - value: payments,tracking_categories,applied_vendor_credits,payment_term - name: PaymentsTrackingCategoriesAppliedVendorCreditsPaymentTerm - - value: payments,tracking_categories,company - name: PaymentsTrackingCategoriesCompany - - value: payments,tracking_categories,company,accounting_period - name: PaymentsTrackingCategoriesCompanyAccountingPeriod - - value: payments,tracking_categories,company,accounting_period,payment_term - name: PaymentsTrackingCategoriesCompanyAccountingPeriodPaymentTerm - - value: payments,tracking_categories,company,employee - name: PaymentsTrackingCategoriesCompanyEmployee - - value: payments,tracking_categories,company,employee,accounting_period - name: PaymentsTrackingCategoriesCompanyEmployeeAccountingPeriod - - value: >- - payments,tracking_categories,company,employee,accounting_period,payment_term - name: PaymentsTrackingCategoriesCompanyEmployeeAccountingPeriodPaymentTerm - - value: payments,tracking_categories,company,employee,payment_term - name: PaymentsTrackingCategoriesCompanyEmployeePaymentTerm - - value: payments,tracking_categories,company,payment_term - name: PaymentsTrackingCategoriesCompanyPaymentTerm - - value: payments,tracking_categories,contact - name: PaymentsTrackingCategoriesContact - - value: payments,tracking_categories,contact,accounting_period - name: PaymentsTrackingCategoriesContactAccountingPeriod - - value: payments,tracking_categories,contact,accounting_period,payment_term - name: PaymentsTrackingCategoriesContactAccountingPeriodPaymentTerm - - value: payments,tracking_categories,contact,company - name: PaymentsTrackingCategoriesContactCompany - - value: payments,tracking_categories,contact,company,accounting_period - name: PaymentsTrackingCategoriesContactCompanyAccountingPeriod - - value: >- - payments,tracking_categories,contact,company,accounting_period,payment_term - name: PaymentsTrackingCategoriesContactCompanyAccountingPeriodPaymentTerm - - value: payments,tracking_categories,contact,company,employee - name: PaymentsTrackingCategoriesContactCompanyEmployee - - value: >- - payments,tracking_categories,contact,company,employee,accounting_period - name: PaymentsTrackingCategoriesContactCompanyEmployeeAccountingPeriod - - value: >- - payments,tracking_categories,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: payments,tracking_categories,contact,company,employee,payment_term - name: PaymentsTrackingCategoriesContactCompanyEmployeePaymentTerm - - value: payments,tracking_categories,contact,company,payment_term - name: PaymentsTrackingCategoriesContactCompanyPaymentTerm - - value: payments,tracking_categories,contact,employee - name: PaymentsTrackingCategoriesContactEmployee - - value: payments,tracking_categories,contact,employee,accounting_period - name: PaymentsTrackingCategoriesContactEmployeeAccountingPeriod - - value: >- - payments,tracking_categories,contact,employee,accounting_period,payment_term - name: PaymentsTrackingCategoriesContactEmployeeAccountingPeriodPaymentTerm - - value: payments,tracking_categories,contact,employee,payment_term - name: PaymentsTrackingCategoriesContactEmployeePaymentTerm - - value: payments,tracking_categories,contact,payment_term - name: PaymentsTrackingCategoriesContactPaymentTerm - - value: payments,tracking_categories,employee - name: PaymentsTrackingCategoriesEmployee - - value: payments,tracking_categories,employee,accounting_period - name: PaymentsTrackingCategoriesEmployeeAccountingPeriod - - value: payments,tracking_categories,employee,accounting_period,payment_term - name: PaymentsTrackingCategoriesEmployeeAccountingPeriodPaymentTerm - - value: payments,tracking_categories,employee,payment_term - name: PaymentsTrackingCategoriesEmployeePaymentTerm - - value: payments,tracking_categories,payment_term - name: PaymentsTrackingCategoriesPaymentTerm - - value: payments,tracking_categories,purchase_orders - name: PaymentsTrackingCategoriesPurchaseOrders - - value: payments,tracking_categories,purchase_orders,accounting_period - name: PaymentsTrackingCategoriesPurchaseOrdersAccountingPeriod - - value: >- - payments,tracking_categories,purchase_orders,accounting_period,payment_term - name: PaymentsTrackingCategoriesPurchaseOrdersAccountingPeriodPaymentTerm - - value: payments,tracking_categories,purchase_orders,applied_credit_notes - name: PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotes - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriod - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCredits - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsPaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,company - name: PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompany - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployee - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeePaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyPaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,contact - name: PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContact - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriod - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompany - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployee - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeePaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyPaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployee - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeePaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactPaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,employee - name: PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployee - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeePaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_credit_notes,payment_term - name: PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesPaymentTerm - - value: payments,tracking_categories,purchase_orders,applied_vendor_credits - name: PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCredits - - value: >- - payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriod - - value: >- - payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_vendor_credits,company - name: PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompany - - value: >- - payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployee - - value: >- - payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyPaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_vendor_credits,contact - name: PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContact - - value: >- - payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod - - value: >- - payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompany - - value: >- - payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee - - value: >- - payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployee - - value: >- - payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactPaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_vendor_credits,employee - name: PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployee - - value: >- - payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeePaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,applied_vendor_credits,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsPaymentTerm - - value: payments,tracking_categories,purchase_orders,company - name: PaymentsTrackingCategoriesPurchaseOrdersCompany - - value: payments,tracking_categories,purchase_orders,company,accounting_period - name: PaymentsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod - - value: >- - payments,tracking_categories,purchase_orders,company,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriodPaymentTerm - - value: payments,tracking_categories,purchase_orders,company,employee - name: PaymentsTrackingCategoriesPurchaseOrdersCompanyEmployee - - value: >- - payments,tracking_categories,purchase_orders,company,employee,accounting_period - name: >- - PaymentsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriod - - value: >- - payments,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,company,employee,payment_term - name: PaymentsTrackingCategoriesPurchaseOrdersCompanyEmployeePaymentTerm - - value: payments,tracking_categories,purchase_orders,company,payment_term - name: PaymentsTrackingCategoriesPurchaseOrdersCompanyPaymentTerm - - value: payments,tracking_categories,purchase_orders,contact - name: PaymentsTrackingCategoriesPurchaseOrdersContact - - value: payments,tracking_categories,purchase_orders,contact,accounting_period - name: PaymentsTrackingCategoriesPurchaseOrdersContactAccountingPeriod - - value: >- - payments,tracking_categories,purchase_orders,contact,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersContactAccountingPeriodPaymentTerm - - value: payments,tracking_categories,purchase_orders,contact,company - name: PaymentsTrackingCategoriesPurchaseOrdersContactCompany - - value: >- - payments,tracking_categories,purchase_orders,contact,company,accounting_period - name: PaymentsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod - - value: >- - payments,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriodPaymentTerm - - value: payments,tracking_categories,purchase_orders,contact,company,employee - name: PaymentsTrackingCategoriesPurchaseOrdersContactCompanyEmployee - - value: >- - payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period - name: >- - PaymentsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriod - - value: >- - payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,contact,company,employee,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersContactCompanyEmployeePaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,contact,company,payment_term - name: PaymentsTrackingCategoriesPurchaseOrdersContactCompanyPaymentTerm - - value: payments,tracking_categories,purchase_orders,contact,employee - name: PaymentsTrackingCategoriesPurchaseOrdersContactEmployee - - value: >- - payments,tracking_categories,purchase_orders,contact,employee,accounting_period - name: >- - PaymentsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriod - - value: >- - payments,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriodPaymentTerm - - value: >- - payments,tracking_categories,purchase_orders,contact,employee,payment_term - name: PaymentsTrackingCategoriesPurchaseOrdersContactEmployeePaymentTerm - - value: payments,tracking_categories,purchase_orders,contact,payment_term - name: PaymentsTrackingCategoriesPurchaseOrdersContactPaymentTerm - - value: payments,tracking_categories,purchase_orders,employee - name: PaymentsTrackingCategoriesPurchaseOrdersEmployee - - value: >- - payments,tracking_categories,purchase_orders,employee,accounting_period - name: PaymentsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriod - - value: >- - payments,tracking_categories,purchase_orders,employee,accounting_period,payment_term - name: >- - PaymentsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriodPaymentTerm - - value: payments,tracking_categories,purchase_orders,employee,payment_term - name: PaymentsTrackingCategoriesPurchaseOrdersEmployeePaymentTerm - - value: payments,tracking_categories,purchase_orders,payment_term - name: PaymentsTrackingCategoriesPurchaseOrdersPaymentTerm - - purchase_orders - - value: purchase_orders,accounting_period - name: PurchaseOrdersAccountingPeriod - - value: purchase_orders,accounting_period,payment_term - name: PurchaseOrdersAccountingPeriodPaymentTerm - - value: purchase_orders,applied_credit_notes - name: PurchaseOrdersAppliedCreditNotes - - value: purchase_orders,applied_credit_notes,accounting_period - name: PurchaseOrdersAppliedCreditNotesAccountingPeriod - - value: purchase_orders,applied_credit_notes,accounting_period,payment_term - name: PurchaseOrdersAppliedCreditNotesAccountingPeriodPaymentTerm - - value: purchase_orders,applied_credit_notes,applied_vendor_credits - name: PurchaseOrdersAppliedCreditNotesAppliedVendorCredits - - value: >- - purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period - name: PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod - - value: >- - purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term - name: >- - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: purchase_orders,applied_credit_notes,applied_vendor_credits,company - name: PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany - - value: >- - purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period - name: >- - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term - name: >- - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee - name: PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee - - value: >- - purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period - name: >- - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term - name: >- - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term - name: PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm - - value: purchase_orders,applied_credit_notes,applied_vendor_credits,contact - name: PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact - - value: >- - purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period - name: >- - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod - - value: >- - purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company - name: PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany - - value: >- - purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period - name: >- - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee - name: >- - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee - - value: >- - purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term - name: >- - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term - name: >- - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee - name: PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee - - value: >- - purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period - name: >- - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term - name: >- - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term - name: PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm - - value: purchase_orders,applied_credit_notes,applied_vendor_credits,employee - name: PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee - - value: >- - purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period - name: >- - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term - name: >- - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm - - value: >- - purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term - name: PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsPaymentTerm - - value: purchase_orders,applied_credit_notes,company - name: PurchaseOrdersAppliedCreditNotesCompany - - value: purchase_orders,applied_credit_notes,company,accounting_period - name: PurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod - - value: >- - purchase_orders,applied_credit_notes,company,accounting_period,payment_term - name: PurchaseOrdersAppliedCreditNotesCompanyAccountingPeriodPaymentTerm - - value: purchase_orders,applied_credit_notes,company,employee - name: PurchaseOrdersAppliedCreditNotesCompanyEmployee - - value: >- - purchase_orders,applied_credit_notes,company,employee,accounting_period - name: PurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod - - value: >- - purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term - name: >- - PurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm - - value: purchase_orders,applied_credit_notes,company,employee,payment_term - name: PurchaseOrdersAppliedCreditNotesCompanyEmployeePaymentTerm - - value: purchase_orders,applied_credit_notes,company,payment_term - name: PurchaseOrdersAppliedCreditNotesCompanyPaymentTerm - - value: purchase_orders,applied_credit_notes,contact - name: PurchaseOrdersAppliedCreditNotesContact - - value: purchase_orders,applied_credit_notes,contact,accounting_period - name: PurchaseOrdersAppliedCreditNotesContactAccountingPeriod - - value: >- - purchase_orders,applied_credit_notes,contact,accounting_period,payment_term - name: PurchaseOrdersAppliedCreditNotesContactAccountingPeriodPaymentTerm - - value: purchase_orders,applied_credit_notes,contact,company - name: PurchaseOrdersAppliedCreditNotesContactCompany - - value: purchase_orders,applied_credit_notes,contact,company,accounting_period - name: PurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod - - value: >- - purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term - name: >- - PurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm - - value: purchase_orders,applied_credit_notes,contact,company,employee - name: PurchaseOrdersAppliedCreditNotesContactCompanyEmployee - - value: >- - purchase_orders,applied_credit_notes,contact,company,employee,accounting_period - name: PurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod - - value: >- - purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term - name: >- - PurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - purchase_orders,applied_credit_notes,contact,company,employee,payment_term - name: PurchaseOrdersAppliedCreditNotesContactCompanyEmployeePaymentTerm - - value: purchase_orders,applied_credit_notes,contact,company,payment_term - name: PurchaseOrdersAppliedCreditNotesContactCompanyPaymentTerm - - value: purchase_orders,applied_credit_notes,contact,employee - name: PurchaseOrdersAppliedCreditNotesContactEmployee - - value: >- - purchase_orders,applied_credit_notes,contact,employee,accounting_period - name: PurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod - - value: >- - purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term - name: >- - PurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm - - value: purchase_orders,applied_credit_notes,contact,employee,payment_term - name: PurchaseOrdersAppliedCreditNotesContactEmployeePaymentTerm - - value: purchase_orders,applied_credit_notes,contact,payment_term - name: PurchaseOrdersAppliedCreditNotesContactPaymentTerm - - value: purchase_orders,applied_credit_notes,employee - name: PurchaseOrdersAppliedCreditNotesEmployee - - value: purchase_orders,applied_credit_notes,employee,accounting_period - name: PurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod - - value: >- - purchase_orders,applied_credit_notes,employee,accounting_period,payment_term - name: PurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm - - value: purchase_orders,applied_credit_notes,employee,payment_term - name: PurchaseOrdersAppliedCreditNotesEmployeePaymentTerm - - value: purchase_orders,applied_credit_notes,payment_term - name: PurchaseOrdersAppliedCreditNotesPaymentTerm - - value: purchase_orders,applied_vendor_credits - name: PurchaseOrdersAppliedVendorCredits - - value: purchase_orders,applied_vendor_credits,accounting_period - name: PurchaseOrdersAppliedVendorCreditsAccountingPeriod - - value: purchase_orders,applied_vendor_credits,accounting_period,payment_term - name: PurchaseOrdersAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: purchase_orders,applied_vendor_credits,company - name: PurchaseOrdersAppliedVendorCreditsCompany - - value: purchase_orders,applied_vendor_credits,company,accounting_period - name: PurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - purchase_orders,applied_vendor_credits,company,accounting_period,payment_term - name: PurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: purchase_orders,applied_vendor_credits,company,employee - name: PurchaseOrdersAppliedVendorCreditsCompanyEmployee - - value: >- - purchase_orders,applied_vendor_credits,company,employee,accounting_period - name: PurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - PurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: purchase_orders,applied_vendor_credits,company,employee,payment_term - name: PurchaseOrdersAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: purchase_orders,applied_vendor_credits,company,payment_term - name: PurchaseOrdersAppliedVendorCreditsCompanyPaymentTerm - - value: purchase_orders,applied_vendor_credits,contact - name: PurchaseOrdersAppliedVendorCreditsContact - - value: purchase_orders,applied_vendor_credits,contact,accounting_period - name: PurchaseOrdersAppliedVendorCreditsContactAccountingPeriod - - value: >- - purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term - name: PurchaseOrdersAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: purchase_orders,applied_vendor_credits,contact,company - name: PurchaseOrdersAppliedVendorCreditsContactCompany - - value: >- - purchase_orders,applied_vendor_credits,contact,company,accounting_period - name: PurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - PurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: purchase_orders,applied_vendor_credits,contact,company,employee - name: PurchaseOrdersAppliedVendorCreditsContactCompanyEmployee - - value: >- - purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - PurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - PurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - purchase_orders,applied_vendor_credits,contact,company,employee,payment_term - name: PurchaseOrdersAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: purchase_orders,applied_vendor_credits,contact,company,payment_term - name: PurchaseOrdersAppliedVendorCreditsContactCompanyPaymentTerm - - value: purchase_orders,applied_vendor_credits,contact,employee - name: PurchaseOrdersAppliedVendorCreditsContactEmployee - - value: >- - purchase_orders,applied_vendor_credits,contact,employee,accounting_period - name: PurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - PurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: purchase_orders,applied_vendor_credits,contact,employee,payment_term - name: PurchaseOrdersAppliedVendorCreditsContactEmployeePaymentTerm - - value: purchase_orders,applied_vendor_credits,contact,payment_term - name: PurchaseOrdersAppliedVendorCreditsContactPaymentTerm - - value: purchase_orders,applied_vendor_credits,employee - name: PurchaseOrdersAppliedVendorCreditsEmployee - - value: purchase_orders,applied_vendor_credits,employee,accounting_period - name: PurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term - name: PurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: purchase_orders,applied_vendor_credits,employee,payment_term - name: PurchaseOrdersAppliedVendorCreditsEmployeePaymentTerm - - value: purchase_orders,applied_vendor_credits,payment_term - name: PurchaseOrdersAppliedVendorCreditsPaymentTerm - - value: purchase_orders,company - name: PurchaseOrdersCompany - - value: purchase_orders,company,accounting_period - name: PurchaseOrdersCompanyAccountingPeriod - - value: purchase_orders,company,accounting_period,payment_term - name: PurchaseOrdersCompanyAccountingPeriodPaymentTerm - - value: purchase_orders,company,employee - name: PurchaseOrdersCompanyEmployee - - value: purchase_orders,company,employee,accounting_period - name: PurchaseOrdersCompanyEmployeeAccountingPeriod - - value: purchase_orders,company,employee,accounting_period,payment_term - name: PurchaseOrdersCompanyEmployeeAccountingPeriodPaymentTerm - - value: purchase_orders,company,employee,payment_term - name: PurchaseOrdersCompanyEmployeePaymentTerm - - value: purchase_orders,company,payment_term - name: PurchaseOrdersCompanyPaymentTerm - - value: purchase_orders,contact - name: PurchaseOrdersContact - - value: purchase_orders,contact,accounting_period - name: PurchaseOrdersContactAccountingPeriod - - value: purchase_orders,contact,accounting_period,payment_term - name: PurchaseOrdersContactAccountingPeriodPaymentTerm - - value: purchase_orders,contact,company - name: PurchaseOrdersContactCompany - - value: purchase_orders,contact,company,accounting_period - name: PurchaseOrdersContactCompanyAccountingPeriod - - value: purchase_orders,contact,company,accounting_period,payment_term - name: PurchaseOrdersContactCompanyAccountingPeriodPaymentTerm - - value: purchase_orders,contact,company,employee - name: PurchaseOrdersContactCompanyEmployee - - value: purchase_orders,contact,company,employee,accounting_period - name: PurchaseOrdersContactCompanyEmployeeAccountingPeriod - - value: >- - purchase_orders,contact,company,employee,accounting_period,payment_term - name: PurchaseOrdersContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: purchase_orders,contact,company,employee,payment_term - name: PurchaseOrdersContactCompanyEmployeePaymentTerm - - value: purchase_orders,contact,company,payment_term - name: PurchaseOrdersContactCompanyPaymentTerm - - value: purchase_orders,contact,employee - name: PurchaseOrdersContactEmployee - - value: purchase_orders,contact,employee,accounting_period - name: PurchaseOrdersContactEmployeeAccountingPeriod - - value: purchase_orders,contact,employee,accounting_period,payment_term - name: PurchaseOrdersContactEmployeeAccountingPeriodPaymentTerm - - value: purchase_orders,contact,employee,payment_term - name: PurchaseOrdersContactEmployeePaymentTerm - - value: purchase_orders,contact,payment_term - name: PurchaseOrdersContactPaymentTerm - - value: purchase_orders,employee - name: PurchaseOrdersEmployee - - value: purchase_orders,employee,accounting_period - name: PurchaseOrdersEmployeeAccountingPeriod - - value: purchase_orders,employee,accounting_period,payment_term - name: PurchaseOrdersEmployeeAccountingPeriodPaymentTerm - - value: purchase_orders,employee,payment_term - name: PurchaseOrdersEmployeePaymentTerm - - value: purchase_orders,payment_term - name: PurchaseOrdersPaymentTerm - - tracking_categories - - value: tracking_categories,accounting_period - name: TrackingCategoriesAccountingPeriod - - value: tracking_categories,accounting_period,payment_term - name: TrackingCategoriesAccountingPeriodPaymentTerm - - value: tracking_categories,applied_credit_notes - name: TrackingCategoriesAppliedCreditNotes - - value: tracking_categories,applied_credit_notes,accounting_period - name: TrackingCategoriesAppliedCreditNotesAccountingPeriod - - value: >- - tracking_categories,applied_credit_notes,accounting_period,payment_term - name: TrackingCategoriesAppliedCreditNotesAccountingPeriodPaymentTerm - - value: tracking_categories,applied_credit_notes,applied_vendor_credits - name: TrackingCategoriesAppliedCreditNotesAppliedVendorCredits - - value: >- - tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period - name: >- - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriod - - value: >- - tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term - name: >- - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - tracking_categories,applied_credit_notes,applied_vendor_credits,company - name: TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompany - - value: >- - tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period - name: >- - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term - name: >- - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee - name: >- - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployee - - value: >- - tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period - name: >- - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term - name: >- - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term - name: >- - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm - - value: >- - tracking_categories,applied_credit_notes,applied_vendor_credits,contact - name: TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContact - - value: >- - tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period - name: >- - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod - - value: >- - tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company - name: TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompany - - value: >- - tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period - name: >- - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee - name: >- - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee - - value: >- - tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term - name: >- - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term - name: >- - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee - name: >- - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployee - - value: >- - tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period - name: >- - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term - name: >- - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term - name: >- - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm - - value: >- - tracking_categories,applied_credit_notes,applied_vendor_credits,employee - name: TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployee - - value: >- - tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period - name: >- - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term - name: >- - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm - - value: >- - tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term - name: TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsPaymentTerm - - value: tracking_categories,applied_credit_notes,company - name: TrackingCategoriesAppliedCreditNotesCompany - - value: tracking_categories,applied_credit_notes,company,accounting_period - name: TrackingCategoriesAppliedCreditNotesCompanyAccountingPeriod - - value: >- - tracking_categories,applied_credit_notes,company,accounting_period,payment_term - name: TrackingCategoriesAppliedCreditNotesCompanyAccountingPeriodPaymentTerm - - value: tracking_categories,applied_credit_notes,company,employee - name: TrackingCategoriesAppliedCreditNotesCompanyEmployee - - value: >- - tracking_categories,applied_credit_notes,company,employee,accounting_period - name: TrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriod - - value: >- - tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term - name: >- - TrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm - - value: tracking_categories,applied_credit_notes,company,employee,payment_term - name: TrackingCategoriesAppliedCreditNotesCompanyEmployeePaymentTerm - - value: tracking_categories,applied_credit_notes,company,payment_term - name: TrackingCategoriesAppliedCreditNotesCompanyPaymentTerm - - value: tracking_categories,applied_credit_notes,contact - name: TrackingCategoriesAppliedCreditNotesContact - - value: tracking_categories,applied_credit_notes,contact,accounting_period - name: TrackingCategoriesAppliedCreditNotesContactAccountingPeriod - - value: >- - tracking_categories,applied_credit_notes,contact,accounting_period,payment_term - name: TrackingCategoriesAppliedCreditNotesContactAccountingPeriodPaymentTerm - - value: tracking_categories,applied_credit_notes,contact,company - name: TrackingCategoriesAppliedCreditNotesContactCompany - - value: >- - tracking_categories,applied_credit_notes,contact,company,accounting_period - name: TrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriod - - value: >- - tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term - name: >- - TrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm - - value: tracking_categories,applied_credit_notes,contact,company,employee - name: TrackingCategoriesAppliedCreditNotesContactCompanyEmployee - - value: >- - tracking_categories,applied_credit_notes,contact,company,employee,accounting_period - name: >- - TrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriod - - value: >- - tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term - name: >- - TrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - tracking_categories,applied_credit_notes,contact,company,employee,payment_term - name: TrackingCategoriesAppliedCreditNotesContactCompanyEmployeePaymentTerm - - value: tracking_categories,applied_credit_notes,contact,company,payment_term - name: TrackingCategoriesAppliedCreditNotesContactCompanyPaymentTerm - - value: tracking_categories,applied_credit_notes,contact,employee - name: TrackingCategoriesAppliedCreditNotesContactEmployee - - value: >- - tracking_categories,applied_credit_notes,contact,employee,accounting_period - name: TrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriod - - value: >- - tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term - name: >- - TrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm - - value: tracking_categories,applied_credit_notes,contact,employee,payment_term - name: TrackingCategoriesAppliedCreditNotesContactEmployeePaymentTerm - - value: tracking_categories,applied_credit_notes,contact,payment_term - name: TrackingCategoriesAppliedCreditNotesContactPaymentTerm - - value: tracking_categories,applied_credit_notes,employee - name: TrackingCategoriesAppliedCreditNotesEmployee - - value: tracking_categories,applied_credit_notes,employee,accounting_period - name: TrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriod - - value: >- - tracking_categories,applied_credit_notes,employee,accounting_period,payment_term - name: >- - TrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm - - value: tracking_categories,applied_credit_notes,employee,payment_term - name: TrackingCategoriesAppliedCreditNotesEmployeePaymentTerm - - value: tracking_categories,applied_credit_notes,payment_term - name: TrackingCategoriesAppliedCreditNotesPaymentTerm - - value: tracking_categories,applied_vendor_credits - name: TrackingCategoriesAppliedVendorCredits - - value: tracking_categories,applied_vendor_credits,accounting_period - name: TrackingCategoriesAppliedVendorCreditsAccountingPeriod - - value: >- - tracking_categories,applied_vendor_credits,accounting_period,payment_term - name: TrackingCategoriesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: tracking_categories,applied_vendor_credits,company - name: TrackingCategoriesAppliedVendorCreditsCompany - - value: tracking_categories,applied_vendor_credits,company,accounting_period - name: TrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - tracking_categories,applied_vendor_credits,company,accounting_period,payment_term - name: >- - TrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: tracking_categories,applied_vendor_credits,company,employee - name: TrackingCategoriesAppliedVendorCreditsCompanyEmployee - - value: >- - tracking_categories,applied_vendor_credits,company,employee,accounting_period - name: TrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - TrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - tracking_categories,applied_vendor_credits,company,employee,payment_term - name: TrackingCategoriesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: tracking_categories,applied_vendor_credits,company,payment_term - name: TrackingCategoriesAppliedVendorCreditsCompanyPaymentTerm - - value: tracking_categories,applied_vendor_credits,contact - name: TrackingCategoriesAppliedVendorCreditsContact - - value: tracking_categories,applied_vendor_credits,contact,accounting_period - name: TrackingCategoriesAppliedVendorCreditsContactAccountingPeriod - - value: >- - tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - TrackingCategoriesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: tracking_categories,applied_vendor_credits,contact,company - name: TrackingCategoriesAppliedVendorCreditsContactCompany - - value: >- - tracking_categories,applied_vendor_credits,contact,company,accounting_period - name: TrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - TrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: tracking_categories,applied_vendor_credits,contact,company,employee - name: TrackingCategoriesAppliedVendorCreditsContactCompanyEmployee - - value: >- - tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - TrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - TrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - tracking_categories,applied_vendor_credits,contact,company,employee,payment_term - name: >- - TrackingCategoriesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - tracking_categories,applied_vendor_credits,contact,company,payment_term - name: TrackingCategoriesAppliedVendorCreditsContactCompanyPaymentTerm - - value: tracking_categories,applied_vendor_credits,contact,employee - name: TrackingCategoriesAppliedVendorCreditsContactEmployee - - value: >- - tracking_categories,applied_vendor_credits,contact,employee,accounting_period - name: TrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - TrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - tracking_categories,applied_vendor_credits,contact,employee,payment_term - name: TrackingCategoriesAppliedVendorCreditsContactEmployeePaymentTerm - - value: tracking_categories,applied_vendor_credits,contact,payment_term - name: TrackingCategoriesAppliedVendorCreditsContactPaymentTerm - - value: tracking_categories,applied_vendor_credits,employee - name: TrackingCategoriesAppliedVendorCreditsEmployee - - value: tracking_categories,applied_vendor_credits,employee,accounting_period - name: TrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - TrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: tracking_categories,applied_vendor_credits,employee,payment_term - name: TrackingCategoriesAppliedVendorCreditsEmployeePaymentTerm - - value: tracking_categories,applied_vendor_credits,payment_term - name: TrackingCategoriesAppliedVendorCreditsPaymentTerm - - value: tracking_categories,company - name: TrackingCategoriesCompany - - value: tracking_categories,company,accounting_period - name: TrackingCategoriesCompanyAccountingPeriod - - value: tracking_categories,company,accounting_period,payment_term - name: TrackingCategoriesCompanyAccountingPeriodPaymentTerm - - value: tracking_categories,company,employee - name: TrackingCategoriesCompanyEmployee - - value: tracking_categories,company,employee,accounting_period - name: TrackingCategoriesCompanyEmployeeAccountingPeriod - - value: tracking_categories,company,employee,accounting_period,payment_term - name: TrackingCategoriesCompanyEmployeeAccountingPeriodPaymentTerm - - value: tracking_categories,company,employee,payment_term - name: TrackingCategoriesCompanyEmployeePaymentTerm - - value: tracking_categories,company,payment_term - name: TrackingCategoriesCompanyPaymentTerm - - value: tracking_categories,contact - name: TrackingCategoriesContact - - value: tracking_categories,contact,accounting_period - name: TrackingCategoriesContactAccountingPeriod - - value: tracking_categories,contact,accounting_period,payment_term - name: TrackingCategoriesContactAccountingPeriodPaymentTerm - - value: tracking_categories,contact,company - name: TrackingCategoriesContactCompany - - value: tracking_categories,contact,company,accounting_period - name: TrackingCategoriesContactCompanyAccountingPeriod - - value: tracking_categories,contact,company,accounting_period,payment_term - name: TrackingCategoriesContactCompanyAccountingPeriodPaymentTerm - - value: tracking_categories,contact,company,employee - name: TrackingCategoriesContactCompanyEmployee - - value: tracking_categories,contact,company,employee,accounting_period - name: TrackingCategoriesContactCompanyEmployeeAccountingPeriod - - value: >- - tracking_categories,contact,company,employee,accounting_period,payment_term - name: TrackingCategoriesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: tracking_categories,contact,company,employee,payment_term - name: TrackingCategoriesContactCompanyEmployeePaymentTerm - - value: tracking_categories,contact,company,payment_term - name: TrackingCategoriesContactCompanyPaymentTerm - - value: tracking_categories,contact,employee - name: TrackingCategoriesContactEmployee - - value: tracking_categories,contact,employee,accounting_period - name: TrackingCategoriesContactEmployeeAccountingPeriod - - value: tracking_categories,contact,employee,accounting_period,payment_term - name: TrackingCategoriesContactEmployeeAccountingPeriodPaymentTerm - - value: tracking_categories,contact,employee,payment_term - name: TrackingCategoriesContactEmployeePaymentTerm - - value: tracking_categories,contact,payment_term - name: TrackingCategoriesContactPaymentTerm - - value: tracking_categories,employee - name: TrackingCategoriesEmployee - - value: tracking_categories,employee,accounting_period - name: TrackingCategoriesEmployeeAccountingPeriod - - value: tracking_categories,employee,accounting_period,payment_term - name: TrackingCategoriesEmployeeAccountingPeriodPaymentTerm - - value: tracking_categories,employee,payment_term - name: TrackingCategoriesEmployeePaymentTerm - - value: tracking_categories,payment_term - name: TrackingCategoriesPaymentTerm - - value: tracking_categories,purchase_orders - name: TrackingCategoriesPurchaseOrders - - value: tracking_categories,purchase_orders,accounting_period - name: TrackingCategoriesPurchaseOrdersAccountingPeriod - - value: tracking_categories,purchase_orders,accounting_period,payment_term - name: TrackingCategoriesPurchaseOrdersAccountingPeriodPaymentTerm - - value: tracking_categories,purchase_orders,applied_credit_notes - name: TrackingCategoriesPurchaseOrdersAppliedCreditNotes - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,accounting_period - name: TrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriod - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriodPaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits - name: TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCredits - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsPaymentTerm - - value: tracking_categories,purchase_orders,applied_credit_notes,company - name: TrackingCategoriesPurchaseOrdersAppliedCreditNotesCompany - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriodPaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,company,employee - name: TrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployee - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeePaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,company,payment_term - name: TrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyPaymentTerm - - value: tracking_categories,purchase_orders,applied_credit_notes,contact - name: TrackingCategoriesPurchaseOrdersAppliedCreditNotesContact - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriod - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriodPaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,contact,company - name: TrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompany - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployee - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeePaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyPaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,contact,employee - name: TrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployee - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeePaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term - name: TrackingCategoriesPurchaseOrdersAppliedCreditNotesContactPaymentTerm - - value: tracking_categories,purchase_orders,applied_credit_notes,employee - name: TrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployee - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term - name: TrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeePaymentTerm - - value: tracking_categories,purchase_orders,applied_credit_notes,payment_term - name: TrackingCategoriesPurchaseOrdersAppliedCreditNotesPaymentTerm - - value: tracking_categories,purchase_orders,applied_vendor_credits - name: TrackingCategoriesPurchaseOrdersAppliedVendorCredits - - value: >- - tracking_categories,purchase_orders,applied_vendor_credits,accounting_period - name: TrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriod - - value: >- - tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriodPaymentTerm - - value: tracking_categories,purchase_orders,applied_vendor_credits,company - name: TrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompany - - value: >- - tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period - name: >- - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod - - value: >- - tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_vendor_credits,company,employee - name: TrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployee - - value: >- - tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period - name: >- - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod - - value: >- - tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeePaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term - name: TrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyPaymentTerm - - value: tracking_categories,purchase_orders,applied_vendor_credits,contact - name: TrackingCategoriesPurchaseOrdersAppliedVendorCreditsContact - - value: >- - tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period - name: >- - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod - - value: >- - tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriodPaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_vendor_credits,contact,company - name: TrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompany - - value: >- - tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period - name: >- - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod - - value: >- - tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee - name: >- - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee - - value: >- - tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period - name: >- - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod - - value: >- - tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeePaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyPaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_vendor_credits,contact,employee - name: TrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployee - - value: >- - tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period - name: >- - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod - - value: >- - tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeePaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term - name: TrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactPaymentTerm - - value: tracking_categories,purchase_orders,applied_vendor_credits,employee - name: TrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployee - - value: >- - tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period - name: >- - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod - - value: >- - tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term - name: >- - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeePaymentTerm - - value: >- - tracking_categories,purchase_orders,applied_vendor_credits,payment_term - name: TrackingCategoriesPurchaseOrdersAppliedVendorCreditsPaymentTerm - - value: tracking_categories,purchase_orders,company - name: TrackingCategoriesPurchaseOrdersCompany - - value: tracking_categories,purchase_orders,company,accounting_period - name: TrackingCategoriesPurchaseOrdersCompanyAccountingPeriod - - value: >- - tracking_categories,purchase_orders,company,accounting_period,payment_term - name: TrackingCategoriesPurchaseOrdersCompanyAccountingPeriodPaymentTerm - - value: tracking_categories,purchase_orders,company,employee - name: TrackingCategoriesPurchaseOrdersCompanyEmployee - - value: tracking_categories,purchase_orders,company,employee,accounting_period - name: TrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriod - - value: >- - tracking_categories,purchase_orders,company,employee,accounting_period,payment_term - name: >- - TrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriodPaymentTerm - - value: tracking_categories,purchase_orders,company,employee,payment_term - name: TrackingCategoriesPurchaseOrdersCompanyEmployeePaymentTerm - - value: tracking_categories,purchase_orders,company,payment_term - name: TrackingCategoriesPurchaseOrdersCompanyPaymentTerm - - value: tracking_categories,purchase_orders,contact - name: TrackingCategoriesPurchaseOrdersContact - - value: tracking_categories,purchase_orders,contact,accounting_period - name: TrackingCategoriesPurchaseOrdersContactAccountingPeriod - - value: >- - tracking_categories,purchase_orders,contact,accounting_period,payment_term - name: TrackingCategoriesPurchaseOrdersContactAccountingPeriodPaymentTerm - - value: tracking_categories,purchase_orders,contact,company - name: TrackingCategoriesPurchaseOrdersContactCompany - - value: tracking_categories,purchase_orders,contact,company,accounting_period - name: TrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod - - value: >- - tracking_categories,purchase_orders,contact,company,accounting_period,payment_term - name: >- - TrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriodPaymentTerm - - value: tracking_categories,purchase_orders,contact,company,employee - name: TrackingCategoriesPurchaseOrdersContactCompanyEmployee - - value: >- - tracking_categories,purchase_orders,contact,company,employee,accounting_period - name: TrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriod - - value: >- - tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term - name: >- - TrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriodPaymentTerm - - value: >- - tracking_categories,purchase_orders,contact,company,employee,payment_term - name: TrackingCategoriesPurchaseOrdersContactCompanyEmployeePaymentTerm - - value: tracking_categories,purchase_orders,contact,company,payment_term - name: TrackingCategoriesPurchaseOrdersContactCompanyPaymentTerm - - value: tracking_categories,purchase_orders,contact,employee - name: TrackingCategoriesPurchaseOrdersContactEmployee - - value: tracking_categories,purchase_orders,contact,employee,accounting_period - name: TrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriod - - value: >- - tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term - name: >- - TrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriodPaymentTerm - - value: tracking_categories,purchase_orders,contact,employee,payment_term - name: TrackingCategoriesPurchaseOrdersContactEmployeePaymentTerm - - value: tracking_categories,purchase_orders,contact,payment_term - name: TrackingCategoriesPurchaseOrdersContactPaymentTerm - - value: tracking_categories,purchase_orders,employee - name: TrackingCategoriesPurchaseOrdersEmployee - - value: tracking_categories,purchase_orders,employee,accounting_period - name: TrackingCategoriesPurchaseOrdersEmployeeAccountingPeriod - - value: >- - tracking_categories,purchase_orders,employee,accounting_period,payment_term - name: TrackingCategoriesPurchaseOrdersEmployeeAccountingPeriodPaymentTerm - - value: tracking_categories,purchase_orders,employee,payment_term - name: TrackingCategoriesPurchaseOrdersEmployeePaymentTerm - - value: tracking_categories,purchase_orders,payment_term - name: TrackingCategoriesPurchaseOrdersPaymentTerm - source: - openapi: openapi/openapi.yml -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /accounting/v1/invoices - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `Invoice` objects. - source: - openapi: openapi/openapi.yml - request: - name: InvoicesListRequest - query-parameters: - company_id: - type: optional - docs: If provided, will only return invoices for this company. - contact_id: - type: optional - docs: If provided, will only return invoices for this contact. - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_remote_fields: - type: optional - docs: >- - Whether to include all remote fields, including fields that Merge - did not map to common models, in a normalized format. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - issue_date_after: - type: optional - docs: If provided, will only return objects created after this datetime. - issue_date_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - number: - type: optional - docs: If provided, will only return Invoices with this number. - page_size: - type: optional - docs: Number of results to return per page. - remote_fields: - type: optional> - docs: Deprecated. Use show_enum_origins. - remote_id: - type: optional - docs: The API provider's ID for the given object. - show_enum_origins: - type: optional> - docs: >- - A comma separated list of enum field names for which you'd like - the original values to be returned, instead of Merge's normalized - enum values. [Learn - more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - status: - type: optional - docs: |- - If provided, will only return Invoices with this status. - - * `PAID` - PAID - * `DRAFT` - DRAFT - * `SUBMITTED` - SUBMITTED - * `PARTIALLY_PAID` - PARTIALLY_PAID - * `OPEN` - OPEN - * `VOID` - VOID - type: - type: optional - docs: |- - If provided, will only return Invoices with this type. - - * `ACCOUNTS_RECEIVABLE` - ACCOUNTS_RECEIVABLE - * `ACCOUNTS_PAYABLE` - ACCOUNTS_PAYABLE - response: - docs: '' - type: root.PaginatedInvoiceList - status-code: 200 - examples: - - query-parameters: - company_id: company_id - contact_id: contact_id - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - expand: accounting_period - include_deleted_data: true - include_remote_data: true - include_remote_fields: true - include_shell_data: true - issue_date_after: '2024-01-15T09:30:00Z' - issue_date_before: '2024-01-15T09:30:00Z' - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - number: number - page_size: 1 - remote_fields: type - remote_id: remote_id - show_enum_origins: type - status: DRAFT - type: ACCOUNTS_PAYABLE - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: 9871b4a9-f5d2-4f3b-a66b-dfedbed42c46 - remote_id: '990110' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - type: ACCOUNTS_RECEIVABLE - contact: contact - number: AIQ12546 - issue_date: '2020-03-31T00:00:00Z' - due_date: '2020-04-15T00:00:00Z' - paid_on_date: '2020-04-01T00:00:00Z' - memo: Weekly Payment - company: company - employee: employee - currency: XUA - exchange_rate: '2.9' - payment_term: payment_term - total_discount: 1.1 - sub_total: 100 - status: PAID - total_tax_amount: 5 - total_amount: 105 - balance: 105 - remote_updated_at: '2020-04-01T00:00:00Z' - tracking_categories: - - 7dc5ca17-d311-44cd-9ce0-333080367a18 - - 6aa0700c-48e1-4c4a-8162-02e6a582df05 - - 8c933d61-8f5b-4360-ac0c-c9dc87bee763 - accounting_period: accounting_period - purchase_orders: - - e7378d8f-3992-4c2a-8417-ebdc4f2bfeb7 - - dd70ca2f-b120-46fa-889a-9604037f45fd - - 889b281d-739c-4759-95b8-0aedb3947131 - payments: - - b26fd49a-cbae-470a-a8f8-bcbc119e0390 - applied_payments: - - 9017594e-dc33-4113-a5d2-b0f928e34fdd - line_items: - - id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4 - remote_id: '8765432' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - description: Pickleball lessons - unit_price: 50 - quantity: 1 - total_amount: 50 - employee: 7442f0d5-722d-45bd-b807-6e38489d37fe - project: 22e65a5d-2df5-4e6e-884a-e538d0339000 - contact: 908934-49j9-093f-0989-908923908 - currency: USD - exchange_rate: '2.9' - item: 5b3c1341-a20f-4e51-b72c-f3830a16c97b - account: cd0f32d4-a493-11ec-b909-0242ac120002 - tax_rate: a12e7c20-1922-9df7-s75n-edfeewnn7384 - tracking_categories: - - b38c59b0-a9d7-4740-b1ee-5436c6751e3d - - 9b840d2-686a-465a-8a8e-7b028498f8e4 - - a47e11b6-c73b-4a0c-be31-130fc48177fa - company: 595c8f97-2ac4-45b7-b000-41bdf43240b5 - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - applied_credit_notes: - - remote_id: '088899' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - credit_note: 5b3c1341-a20f-4e51-b72c-f3830a16c97b - applied_date: '2020-03-31T00:00:00Z' - applied_amount: '2.9' - applied_vendor_credits: - - remote_id: '088899' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - vendor_credit: 5b3c1341-a20f-4e51-b72c-f3830a16c97b - applied_date: '2020-03-31T00:00:00Z' - applied_amount: '2.9' - inclusive_of_tax: true - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /actions - data: - - Varies by platform - remote_fields: - - remote_field_class: remote_field_class - value: string - create: - path: /accounting/v1/invoices - method: POST - auth: - - tokenAuth: [] - docs: |- - Creates an `Invoice` object with the given values. - Including a `PurchaseOrder` id in the `purchase_orders` property will generate an Accounts Payable Invoice from the specified Purchase Order(s). - - source: - openapi: openapi/openapi.yml - request: - name: InvoiceEndpointRequest - query-parameters: - is_debug_mode: - type: optional - docs: >- - Whether to include debug fields (such as log file links) in the - response. - run_async: - type: optional - docs: Whether or not third-party updates should be run asynchronously. - body: - properties: - model: root.InvoiceRequest - content-type: application/json - response: - docs: '' - type: root.InvoiceResponse - status-code: 201 - examples: - - query-parameters: - is_debug_mode: true - run_async: true - headers: - X-Account-Token: X-Account-Token - request: - model: {} - response: - body: - model: - id: 9871b4a9-f5d2-4f3b-a66b-dfedbed42c46 - remote_id: '990110' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - type: ACCOUNTS_RECEIVABLE - contact: contact - number: AIQ12546 - issue_date: '2020-03-31T00:00:00Z' - due_date: '2020-04-15T00:00:00Z' - paid_on_date: '2020-04-01T00:00:00Z' - memo: Weekly Payment - company: company - employee: employee - currency: XUA - exchange_rate: '2.9' - payment_term: payment_term - total_discount: 1.1 - sub_total: 100 - status: PAID - total_tax_amount: 5 - total_amount: 105 - balance: 105 - remote_updated_at: '2020-04-01T00:00:00Z' - tracking_categories: - - 7dc5ca17-d311-44cd-9ce0-333080367a18 - - 6aa0700c-48e1-4c4a-8162-02e6a582df05 - - 8c933d61-8f5b-4360-ac0c-c9dc87bee763 - accounting_period: accounting_period - purchase_orders: - - e7378d8f-3992-4c2a-8417-ebdc4f2bfeb7 - - dd70ca2f-b120-46fa-889a-9604037f45fd - - 889b281d-739c-4759-95b8-0aedb3947131 - payments: - - b26fd49a-cbae-470a-a8f8-bcbc119e0390 - applied_payments: - - 9017594e-dc33-4113-a5d2-b0f928e34fdd - line_items: - - id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4 - remote_id: '8765432' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - description: Pickleball lessons - unit_price: 50 - quantity: 1 - total_amount: 50 - employee: 7442f0d5-722d-45bd-b807-6e38489d37fe - project: 22e65a5d-2df5-4e6e-884a-e538d0339000 - contact: 908934-49j9-093f-0989-908923908 - currency: USD - exchange_rate: '2.9' - item: 5b3c1341-a20f-4e51-b72c-f3830a16c97b - account: cd0f32d4-a493-11ec-b909-0242ac120002 - tax_rate: a12e7c20-1922-9df7-s75n-edfeewnn7384 - tracking_categories: - - b38c59b0-a9d7-4740-b1ee-5436c6751e3d - - 9b840d2-686a-465a-8a8e-7b028498f8e4 - - a47e11b6-c73b-4a0c-be31-130fc48177fa - company: 595c8f97-2ac4-45b7-b000-41bdf43240b5 - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - applied_credit_notes: - - remote_id: '088899' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - credit_note: 5b3c1341-a20f-4e51-b72c-f3830a16c97b - applied_date: '2020-03-31T00:00:00Z' - applied_amount: '2.9' - applied_vendor_credits: - - remote_id: '088899' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - vendor_credit: 5b3c1341-a20f-4e51-b72c-f3830a16c97b - applied_date: '2020-03-31T00:00:00Z' - applied_amount: '2.9' - inclusive_of_tax: true - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /actions - data: - - Varies by platform - remote_fields: - - remote_field_class: remote_field_class - value: string - warnings: - - source: - pointer: pointer - title: Unrecognized Field - detail: An unrecognized field, age, was passed in with request data. - problem_type: UNRECOGNIZED_FIELD - errors: - - source: - pointer: pointer - title: Missing Required Field - detail: custom_fields is a required field on model. - problem_type: MISSING_REQUIRED_FIELD - logs: - - log_id: 99433219-8017-4acd-bb3c-ceb23d663832 - dashboard_view: >- - https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832 - log_summary: - url: www.exampleintegration.com/api/v1/exampleapi - method: POST - status_code: 200 - retrieve: - path: /accounting/v1/invoices/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns an `Invoice` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: InvoicesRetrieveRequest - query-parameters: - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_remote_fields: - type: optional - docs: >- - Whether to include all remote fields, including fields that Merge - did not map to common models, in a normalized format. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - remote_fields: - type: optional> - docs: Deprecated. Use show_enum_origins. - show_enum_origins: - type: optional> - docs: >- - A comma separated list of enum field names for which you'd like - the original values to be returned, instead of Merge's normalized - enum values. [Learn - more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - response: - docs: '' - type: root.Invoice - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - expand: accounting_period - include_remote_data: true - include_remote_fields: true - include_shell_data: true - remote_fields: type - show_enum_origins: type - headers: - X-Account-Token: X-Account-Token - response: - body: - id: 9871b4a9-f5d2-4f3b-a66b-dfedbed42c46 - remote_id: '990110' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - type: ACCOUNTS_RECEIVABLE - contact: contact - number: AIQ12546 - issue_date: '2020-03-31T00:00:00Z' - due_date: '2020-04-15T00:00:00Z' - paid_on_date: '2020-04-01T00:00:00Z' - memo: Weekly Payment - company: company - employee: employee - currency: XUA - exchange_rate: '2.9' - payment_term: payment_term - total_discount: 1.1 - sub_total: 100 - status: PAID - total_tax_amount: 5 - total_amount: 105 - balance: 105 - remote_updated_at: '2020-04-01T00:00:00Z' - tracking_categories: - - 7dc5ca17-d311-44cd-9ce0-333080367a18 - - 6aa0700c-48e1-4c4a-8162-02e6a582df05 - - 8c933d61-8f5b-4360-ac0c-c9dc87bee763 - accounting_period: accounting_period - purchase_orders: - - e7378d8f-3992-4c2a-8417-ebdc4f2bfeb7 - - dd70ca2f-b120-46fa-889a-9604037f45fd - - 889b281d-739c-4759-95b8-0aedb3947131 - payments: - - b26fd49a-cbae-470a-a8f8-bcbc119e0390 - applied_payments: - - 9017594e-dc33-4113-a5d2-b0f928e34fdd - line_items: - - id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4 - remote_id: '8765432' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - description: Pickleball lessons - unit_price: 50 - quantity: 1 - total_amount: 50 - employee: 7442f0d5-722d-45bd-b807-6e38489d37fe - project: 22e65a5d-2df5-4e6e-884a-e538d0339000 - contact: 908934-49j9-093f-0989-908923908 - currency: USD - exchange_rate: '2.9' - item: 5b3c1341-a20f-4e51-b72c-f3830a16c97b - account: cd0f32d4-a493-11ec-b909-0242ac120002 - tax_rate: a12e7c20-1922-9df7-s75n-edfeewnn7384 - tracking_categories: - - b38c59b0-a9d7-4740-b1ee-5436c6751e3d - - 9b840d2-686a-465a-8a8e-7b028498f8e4 - - a47e11b6-c73b-4a0c-be31-130fc48177fa - company: 595c8f97-2ac4-45b7-b000-41bdf43240b5 - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_fields: - - remote_field_class: remote_field_class - value: string - applied_credit_notes: - - remote_id: '088899' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - credit_note: 5b3c1341-a20f-4e51-b72c-f3830a16c97b - applied_date: '2020-03-31T00:00:00Z' - applied_amount: '2.9' - remote_was_deleted: true - applied_vendor_credits: - - remote_id: '088899' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - vendor_credit: 5b3c1341-a20f-4e51-b72c-f3830a16c97b - applied_date: '2020-03-31T00:00:00Z' - applied_amount: '2.9' - remote_was_deleted: true - inclusive_of_tax: true - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /actions - data: - - Varies by platform - remote_fields: - - remote_field_class: remote_field_class - value: string - partialUpdate: - path: /accounting/v1/invoices/{id} - method: PATCH - auth: - - tokenAuth: [] - docs: Updates an `Invoice` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: PatchedInvoiceEndpointRequest - query-parameters: - is_debug_mode: - type: optional - docs: >- - Whether to include debug fields (such as log file links) in the - response. - run_async: - type: optional - docs: Whether or not third-party updates should be run asynchronously. - body: - properties: - model: root.InvoiceRequest - content-type: application/json - response: - docs: '' - type: root.InvoiceResponse - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - is_debug_mode: true - run_async: true - headers: - X-Account-Token: X-Account-Token - request: - model: {} - response: - body: - model: - id: 9871b4a9-f5d2-4f3b-a66b-dfedbed42c46 - remote_id: '990110' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - type: ACCOUNTS_RECEIVABLE - contact: contact - number: AIQ12546 - issue_date: '2020-03-31T00:00:00Z' - due_date: '2020-04-15T00:00:00Z' - paid_on_date: '2020-04-01T00:00:00Z' - memo: Weekly Payment - company: company - employee: employee - currency: XUA - exchange_rate: '2.9' - payment_term: payment_term - total_discount: 1.1 - sub_total: 100 - status: PAID - total_tax_amount: 5 - total_amount: 105 - balance: 105 - remote_updated_at: '2020-04-01T00:00:00Z' - tracking_categories: - - 7dc5ca17-d311-44cd-9ce0-333080367a18 - - 6aa0700c-48e1-4c4a-8162-02e6a582df05 - - 8c933d61-8f5b-4360-ac0c-c9dc87bee763 - accounting_period: accounting_period - purchase_orders: - - e7378d8f-3992-4c2a-8417-ebdc4f2bfeb7 - - dd70ca2f-b120-46fa-889a-9604037f45fd - - 889b281d-739c-4759-95b8-0aedb3947131 - payments: - - b26fd49a-cbae-470a-a8f8-bcbc119e0390 - applied_payments: - - 9017594e-dc33-4113-a5d2-b0f928e34fdd - line_items: - - id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4 - remote_id: '8765432' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - description: Pickleball lessons - unit_price: 50 - quantity: 1 - total_amount: 50 - employee: 7442f0d5-722d-45bd-b807-6e38489d37fe - project: 22e65a5d-2df5-4e6e-884a-e538d0339000 - contact: 908934-49j9-093f-0989-908923908 - currency: USD - exchange_rate: '2.9' - item: 5b3c1341-a20f-4e51-b72c-f3830a16c97b - account: cd0f32d4-a493-11ec-b909-0242ac120002 - tax_rate: a12e7c20-1922-9df7-s75n-edfeewnn7384 - tracking_categories: - - b38c59b0-a9d7-4740-b1ee-5436c6751e3d - - 9b840d2-686a-465a-8a8e-7b028498f8e4 - - a47e11b6-c73b-4a0c-be31-130fc48177fa - company: 595c8f97-2ac4-45b7-b000-41bdf43240b5 - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - applied_credit_notes: - - remote_id: '088899' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - credit_note: 5b3c1341-a20f-4e51-b72c-f3830a16c97b - applied_date: '2020-03-31T00:00:00Z' - applied_amount: '2.9' - applied_vendor_credits: - - remote_id: '088899' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - vendor_credit: 5b3c1341-a20f-4e51-b72c-f3830a16c97b - applied_date: '2020-03-31T00:00:00Z' - applied_amount: '2.9' - inclusive_of_tax: true - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /actions - data: - - Varies by platform - remote_fields: - - remote_field_class: remote_field_class - value: string - warnings: - - source: - pointer: pointer - title: Unrecognized Field - detail: An unrecognized field, age, was passed in with request data. - problem_type: UNRECOGNIZED_FIELD - errors: - - source: - pointer: pointer - title: Missing Required Field - detail: custom_fields is a required field on model. - problem_type: MISSING_REQUIRED_FIELD - logs: - - log_id: 99433219-8017-4acd-bb3c-ceb23d663832 - dashboard_view: >- - https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832 - log_summary: - url: www.exampleintegration.com/api/v1/exampleapi - method: POST - status_code: 200 - lineItemsRemoteFieldClassesList: - path: /accounting/v1/invoices/line-items/remote-field-classes - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `RemoteFieldClass` objects. - source: - openapi: openapi/openapi.yml - request: - name: InvoicesLineItemsRemoteFieldClassesListRequest - query-parameters: - cursor: - type: optional - docs: The pagination cursor value. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - is_common_model_field: - type: optional - docs: >- - If provided, will only return remote field classes with this - is_common_model_field value - is_custom: - type: optional - docs: >- - If provided, will only return remote fields classes with this - is_custom value - page_size: - type: optional - docs: Number of results to return per page. - response: - docs: '' - type: root.PaginatedRemoteFieldClassList - status-code: 200 - examples: - - query-parameters: - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - include_deleted_data: true - include_remote_data: true - include_shell_data: true - is_common_model_field: true - is_custom: true - page_size: 1 - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: id - display_name: display_name - remote_key_name: remote_key_name - description: description - is_custom: true - is_common_model_field: true - is_required: true - field_type: string - field_format: string - field_choices: - - field_choices - metaPatchRetrieve: - path: /accounting/v1/invoices/meta/patch/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns metadata for `Invoice` PATCHs. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - response: - docs: '' - type: root.MetaResponse - status-code: 200 - examples: - - path-parameters: - id: id - headers: - X-Account-Token: X-Account-Token - response: - body: - request_schema: - type: object - properties: - model: - type: object - required: - - last_name - - first_name - - merge_categories - - new_york_city_neighborhood - - favorite_tv_shows - - favorite_watch - properties: - email_addresses: - type: array - items: - type: object - properties: - value: - type: string - title: value - email_address_type: - type: string - title: email_address_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: email_addresses - description: Array of email_addresses objects - urls: - type: array - items: - type: object - properties: - value: - type: string - title: value - url_type: - type: string - title: url_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: urls - description: Array of urls objects - first_name: - type: string - title: first_name - description: The first name. - last_name: - type: string - title: last_name - description: The last name. - phone_numbers: - type: array - items: - type: object - properties: - value: - type: string - title: value - phone_number_type: - type: string - title: phone_number_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: phone_numbers - description: Array of phone_numbers objects - tags: - type: array - items: - type: string - format: uuid - title: tags - description: Array of tags names - attachments: - type: array - items: - type: object - properties: - id: - type: string - title: id - file_url: - type: string - title: file_url - file_name: - type: string - title: file_name - attachment_type: - type: string - title: attachment_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: attachments - description: 'Array of attachments objects ' - merge_categories: - type: array - categories: - type: string - enum: - - HRIS - - ATS - - Accounting - - Ticketing - - File Storage - - CRM - - Marketing Automation - enum_information: - - value: HRIS - description: Merge HRIS Category - - value: ATS - description: Merge ATS Category - - value: Accounting - description: Merge Accounting Category - - value: Ticketing - description: Merge Ticketing Category - - value: File Storage - description: Merge File Storage Category - - value: CRM - description: Merge CRM Category - - value: Marketing Automation - description: Merge Marketing Automation Category - title: Merge Categories - description: Array of Merge's Unified API Categories - new_york_city_neighborhood: - type: string - title: Borough - description: One of the 5 Boroughs of New York City - favorite_tv_shows: - type: array - items: - type: string - format: uuid - title: Favorite TV Shows - description: Array of TV Show objects on merge.tv_shows - favorite_watch: - type: string - title: Favorite Watch - description: Favorite watch of all time - remote_field_classes: - key: value - status: - linked_account_status: linked_account_status - can_make_request: true - has_conditional_params: true - has_required_linked_account_params: true - metaPostRetrieve: - path: /accounting/v1/invoices/meta/post - method: GET - auth: - - tokenAuth: [] - docs: Returns metadata for `Invoice` POSTs. - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: root.MetaResponse - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - request_schema: - type: object - properties: - model: - type: object - required: - - last_name - - first_name - - merge_categories - - new_york_city_neighborhood - - favorite_tv_shows - - favorite_watch - properties: - email_addresses: - type: array - items: - type: object - properties: - value: - type: string - title: value - email_address_type: - type: string - title: email_address_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: email_addresses - description: Array of email_addresses objects - urls: - type: array - items: - type: object - properties: - value: - type: string - title: value - url_type: - type: string - title: url_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: urls - description: Array of urls objects - first_name: - type: string - title: first_name - description: The first name. - last_name: - type: string - title: last_name - description: The last name. - phone_numbers: - type: array - items: - type: object - properties: - value: - type: string - title: value - phone_number_type: - type: string - title: phone_number_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: phone_numbers - description: Array of phone_numbers objects - tags: - type: array - items: - type: string - format: uuid - title: tags - description: Array of tags names - attachments: - type: array - items: - type: object - properties: - id: - type: string - title: id - file_url: - type: string - title: file_url - file_name: - type: string - title: file_name - attachment_type: - type: string - title: attachment_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: attachments - description: 'Array of attachments objects ' - merge_categories: - type: array - categories: - type: string - enum: - - HRIS - - ATS - - Accounting - - Ticketing - - File Storage - - CRM - - Marketing Automation - enum_information: - - value: HRIS - description: Merge HRIS Category - - value: ATS - description: Merge ATS Category - - value: Accounting - description: Merge Accounting Category - - value: Ticketing - description: Merge Ticketing Category - - value: File Storage - description: Merge File Storage Category - - value: CRM - description: Merge CRM Category - - value: Marketing Automation - description: Merge Marketing Automation Category - title: Merge Categories - description: Array of Merge's Unified API Categories - new_york_city_neighborhood: - type: string - title: Borough - description: One of the 5 Boroughs of New York City - favorite_tv_shows: - type: array - items: - type: string - format: uuid - title: Favorite TV Shows - description: Array of TV Show objects on merge.tv_shows - favorite_watch: - type: string - title: Favorite Watch - description: Favorite watch of all time - remote_field_classes: - key: value - status: - linked_account_status: linked_account_status - can_make_request: true - has_conditional_params: true - has_required_linked_account_params: true - remoteFieldClassesList: - path: /accounting/v1/invoices/remote-field-classes - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `RemoteFieldClass` objects. - source: - openapi: openapi/openapi.yml - request: - name: InvoicesRemoteFieldClassesListRequest - query-parameters: - cursor: - type: optional - docs: The pagination cursor value. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - is_common_model_field: - type: optional - docs: >- - If provided, will only return remote field classes with this - is_common_model_field value - is_custom: - type: optional - docs: >- - If provided, will only return remote fields classes with this - is_custom value - page_size: - type: optional - docs: Number of results to return per page. - response: - docs: '' - type: root.PaginatedRemoteFieldClassList - status-code: 200 - examples: - - query-parameters: - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - include_deleted_data: true - include_remote_data: true - include_shell_data: true - is_common_model_field: true - is_custom: true - page_size: 1 - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: id - display_name: display_name - remote_key_name: remote_key_name - description: description - is_custom: true - is_common_model_field: true - is_required: true - field_type: string - field_format: string - field_choices: - - field_choices - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/accounting/issues.yml b/.mock/definition/accounting/issues.yml deleted file mode 100644 index db618fd8..00000000 --- a/.mock/definition/accounting/issues.yml +++ /dev/null @@ -1,150 +0,0 @@ -types: - IssuesListRequestStatus: - enum: - - ONGOING - - RESOLVED - source: - openapi: openapi/openapi.yml -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /accounting/v1/issues - method: GET - auth: - - tokenAuth: [] - docs: Gets all issues for Organization. - source: - openapi: openapi/openapi.yml - request: - name: IssuesListRequest - query-parameters: - account_token: optional - cursor: - type: optional - docs: The pagination cursor value. - end_date: - type: optional - docs: >- - If included, will only include issues whose most recent action - occurred before this time - end_user_organization_name: optional - first_incident_time_after: - type: optional - docs: >- - If provided, will only return issues whose first incident time was - after this datetime. - first_incident_time_before: - type: optional - docs: >- - If provided, will only return issues whose first incident time was - before this datetime. - include_muted: - type: optional - docs: If true, will include muted issues - integration_name: optional - last_incident_time_after: - type: optional - docs: >- - If provided, will only return issues whose last incident time was - after this datetime. - last_incident_time_before: - type: optional - docs: >- - If provided, will only return issues whose last incident time was - before this datetime. - linked_account_id: - type: optional - docs: >- - If provided, will only include issues pertaining to the linked - account passed in. - page_size: - type: optional - docs: Number of results to return per page. - start_date: - type: optional - docs: >- - If included, will only include issues whose most recent action - occurred after this time - status: - type: optional - docs: |- - Status of the issue. Options: ('ONGOING', 'RESOLVED') - - * `ONGOING` - ONGOING - * `RESOLVED` - RESOLVED - response: - docs: '' - type: root.PaginatedIssueList - status-code: 200 - examples: - - query-parameters: - account_token: account_token - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - end_date: end_date - end_user_organization_name: end_user_organization_name - first_incident_time_after: '2024-01-15T09:30:00Z' - first_incident_time_before: '2024-01-15T09:30:00Z' - include_muted: include_muted - integration_name: integration_name - last_incident_time_after: '2024-01-15T09:30:00Z' - last_incident_time_before: '2024-01-15T09:30:00Z' - linked_account_id: linked_account_id - page_size: 1 - start_date: start_date - status: ONGOING - headers: - X-Account-Token: '[object Object]' - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - status: ONGOING - error_description: Missing Permissions - end_user: - key: value - first_incident_time: '2022-12-05T16:19:15Z' - last_incident_time: '2022-12-05T16:19:15Z' - is_muted: true - error_details: - - Missing employee permissions. - - Missing time off permissions. - retrieve: - path: /accounting/v1/issues/{id} - method: GET - auth: - - tokenAuth: [] - docs: Get a specific issue. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - response: - docs: '' - type: root.Issue - status-code: 200 - examples: - - path-parameters: - id: id - headers: - X-Account-Token: '[object Object]' - response: - body: - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - status: ONGOING - error_description: Missing Permissions - end_user: - key: value - first_incident_time: '2022-12-05T16:19:15Z' - last_incident_time: '2022-12-05T16:19:15Z' - is_muted: true - error_details: - - Missing employee permissions. - - Missing time off permissions. - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/accounting/items.yml b/.mock/definition/accounting/items.yml deleted file mode 100644 index 00b46665..00000000 --- a/.mock/definition/accounting/items.yml +++ /dev/null @@ -1,885 +0,0 @@ -types: - ItemsListRequestExpand: - enum: - - company - - value: company,purchase_tax_rate - name: CompanyPurchaseTaxRate - - value: company,sales_tax_rate - name: CompanySalesTaxRate - - value: company,sales_tax_rate,purchase_tax_rate - name: CompanySalesTaxRatePurchaseTaxRate - - purchase_account - - value: purchase_account,company - name: PurchaseAccountCompany - - value: purchase_account,company,purchase_tax_rate - name: PurchaseAccountCompanyPurchaseTaxRate - - value: purchase_account,company,sales_tax_rate - name: PurchaseAccountCompanySalesTaxRate - - value: purchase_account,company,sales_tax_rate,purchase_tax_rate - name: PurchaseAccountCompanySalesTaxRatePurchaseTaxRate - - value: purchase_account,purchase_tax_rate - name: PurchaseAccountPurchaseTaxRate - - value: purchase_account,sales_account - name: PurchaseAccountSalesAccount - - value: purchase_account,sales_account,company - name: PurchaseAccountSalesAccountCompany - - value: purchase_account,sales_account,company,purchase_tax_rate - name: PurchaseAccountSalesAccountCompanyPurchaseTaxRate - - value: purchase_account,sales_account,company,sales_tax_rate - name: PurchaseAccountSalesAccountCompanySalesTaxRate - - value: >- - purchase_account,sales_account,company,sales_tax_rate,purchase_tax_rate - name: PurchaseAccountSalesAccountCompanySalesTaxRatePurchaseTaxRate - - value: purchase_account,sales_account,purchase_tax_rate - name: PurchaseAccountSalesAccountPurchaseTaxRate - - value: purchase_account,sales_account,sales_tax_rate - name: PurchaseAccountSalesAccountSalesTaxRate - - value: purchase_account,sales_account,sales_tax_rate,purchase_tax_rate - name: PurchaseAccountSalesAccountSalesTaxRatePurchaseTaxRate - - value: purchase_account,sales_tax_rate - name: PurchaseAccountSalesTaxRate - - value: purchase_account,sales_tax_rate,purchase_tax_rate - name: PurchaseAccountSalesTaxRatePurchaseTaxRate - - purchase_tax_rate - - sales_account - - value: sales_account,company - name: SalesAccountCompany - - value: sales_account,company,purchase_tax_rate - name: SalesAccountCompanyPurchaseTaxRate - - value: sales_account,company,sales_tax_rate - name: SalesAccountCompanySalesTaxRate - - value: sales_account,company,sales_tax_rate,purchase_tax_rate - name: SalesAccountCompanySalesTaxRatePurchaseTaxRate - - value: sales_account,purchase_tax_rate - name: SalesAccountPurchaseTaxRate - - value: sales_account,sales_tax_rate - name: SalesAccountSalesTaxRate - - value: sales_account,sales_tax_rate,purchase_tax_rate - name: SalesAccountSalesTaxRatePurchaseTaxRate - - sales_tax_rate - - value: sales_tax_rate,purchase_tax_rate - name: SalesTaxRatePurchaseTaxRate - source: - openapi: openapi/openapi.yml - ItemsRetrieveRequestExpand: - enum: - - company - - value: company,purchase_tax_rate - name: CompanyPurchaseTaxRate - - value: company,sales_tax_rate - name: CompanySalesTaxRate - - value: company,sales_tax_rate,purchase_tax_rate - name: CompanySalesTaxRatePurchaseTaxRate - - purchase_account - - value: purchase_account,company - name: PurchaseAccountCompany - - value: purchase_account,company,purchase_tax_rate - name: PurchaseAccountCompanyPurchaseTaxRate - - value: purchase_account,company,sales_tax_rate - name: PurchaseAccountCompanySalesTaxRate - - value: purchase_account,company,sales_tax_rate,purchase_tax_rate - name: PurchaseAccountCompanySalesTaxRatePurchaseTaxRate - - value: purchase_account,purchase_tax_rate - name: PurchaseAccountPurchaseTaxRate - - value: purchase_account,sales_account - name: PurchaseAccountSalesAccount - - value: purchase_account,sales_account,company - name: PurchaseAccountSalesAccountCompany - - value: purchase_account,sales_account,company,purchase_tax_rate - name: PurchaseAccountSalesAccountCompanyPurchaseTaxRate - - value: purchase_account,sales_account,company,sales_tax_rate - name: PurchaseAccountSalesAccountCompanySalesTaxRate - - value: >- - purchase_account,sales_account,company,sales_tax_rate,purchase_tax_rate - name: PurchaseAccountSalesAccountCompanySalesTaxRatePurchaseTaxRate - - value: purchase_account,sales_account,purchase_tax_rate - name: PurchaseAccountSalesAccountPurchaseTaxRate - - value: purchase_account,sales_account,sales_tax_rate - name: PurchaseAccountSalesAccountSalesTaxRate - - value: purchase_account,sales_account,sales_tax_rate,purchase_tax_rate - name: PurchaseAccountSalesAccountSalesTaxRatePurchaseTaxRate - - value: purchase_account,sales_tax_rate - name: PurchaseAccountSalesTaxRate - - value: purchase_account,sales_tax_rate,purchase_tax_rate - name: PurchaseAccountSalesTaxRatePurchaseTaxRate - - purchase_tax_rate - - sales_account - - value: sales_account,company - name: SalesAccountCompany - - value: sales_account,company,purchase_tax_rate - name: SalesAccountCompanyPurchaseTaxRate - - value: sales_account,company,sales_tax_rate - name: SalesAccountCompanySalesTaxRate - - value: sales_account,company,sales_tax_rate,purchase_tax_rate - name: SalesAccountCompanySalesTaxRatePurchaseTaxRate - - value: sales_account,purchase_tax_rate - name: SalesAccountPurchaseTaxRate - - value: sales_account,sales_tax_rate - name: SalesAccountSalesTaxRate - - value: sales_account,sales_tax_rate,purchase_tax_rate - name: SalesAccountSalesTaxRatePurchaseTaxRate - - sales_tax_rate - - value: sales_tax_rate,purchase_tax_rate - name: SalesTaxRatePurchaseTaxRate - source: - openapi: openapi/openapi.yml -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /accounting/v1/items - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `Item` objects. - source: - openapi: openapi/openapi.yml - request: - name: ItemsListRequest - query-parameters: - company_id: - type: optional - docs: If provided, will only return items for this company. - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - page_size: - type: optional - docs: Number of results to return per page. - remote_fields: - type: optional> - docs: Deprecated. Use show_enum_origins. - remote_id: - type: optional - docs: The API provider's ID for the given object. - show_enum_origins: - type: optional> - docs: >- - A comma separated list of enum field names for which you'd like - the original values to be returned, instead of Merge's normalized - enum values. [Learn - more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - response: - docs: '' - type: root.PaginatedItemList - status-code: 200 - examples: - - query-parameters: - company_id: company_id - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - expand: company - include_deleted_data: true - include_remote_data: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - page_size: 1 - remote_fields: status - remote_id: remote_id - show_enum_origins: status - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: d2f972d0-2526-434b-9409-4c3b468e08f0 - remote_id: '12374' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Pickleball Paddle - status: ACTIVE - type: INVENTORY - unit_price: 10 - purchase_price: 25 - purchase_account: purchase_account - sales_account: sales_account - company: company - purchase_tax_rate: purchase_tax_rate - sales_tax_rate: sales_tax_rate - remote_updated_at: '2020-03-31T00:00:00Z' - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /actions - data: - - Varies by platform - create: - path: /accounting/v1/items - method: POST - auth: - - tokenAuth: [] - docs: Creates an `Item` object with the given values. - source: - openapi: openapi/openapi.yml - request: - name: ItemEndpointRequest - query-parameters: - is_debug_mode: - type: optional - docs: >- - Whether to include debug fields (such as log file links) in the - response. - run_async: - type: optional - docs: Whether or not third-party updates should be run asynchronously. - body: - properties: - model: root.ItemRequestRequest - content-type: application/json - response: - docs: '' - type: root.ItemResponse - status-code: 201 - examples: - - query-parameters: - is_debug_mode: true - run_async: true - headers: - X-Account-Token: X-Account-Token - request: - model: {} - response: - body: - model: - id: d2f972d0-2526-434b-9409-4c3b468e08f0 - remote_id: '12374' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Pickleball Paddle - status: ACTIVE - type: INVENTORY - unit_price: 10 - purchase_price: 25 - purchase_account: purchase_account - sales_account: sales_account - company: company - purchase_tax_rate: purchase_tax_rate - sales_tax_rate: sales_tax_rate - remote_updated_at: '2020-03-31T00:00:00Z' - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /actions - data: - - Varies by platform - warnings: - - source: - pointer: pointer - title: Unrecognized Field - detail: An unrecognized field, age, was passed in with request data. - problem_type: UNRECOGNIZED_FIELD - errors: - - source: - pointer: pointer - title: Missing Required Field - detail: custom_fields is a required field on model. - problem_type: MISSING_REQUIRED_FIELD - logs: - - log_id: 99433219-8017-4acd-bb3c-ceb23d663832 - dashboard_view: >- - https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832 - log_summary: - url: www.exampleintegration.com/api/v1/exampleapi - method: POST - status_code: 200 - retrieve: - path: /accounting/v1/items/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns an `Item` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: ItemsRetrieveRequest - query-parameters: - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - remote_fields: - type: optional> - docs: Deprecated. Use show_enum_origins. - show_enum_origins: - type: optional> - docs: >- - A comma separated list of enum field names for which you'd like - the original values to be returned, instead of Merge's normalized - enum values. [Learn - more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - response: - docs: '' - type: root.Item - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - expand: company - include_remote_data: true - include_shell_data: true - remote_fields: status - show_enum_origins: status - headers: - X-Account-Token: X-Account-Token - response: - body: - id: d2f972d0-2526-434b-9409-4c3b468e08f0 - remote_id: '12374' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Pickleball Paddle - status: ACTIVE - type: INVENTORY - unit_price: 10 - purchase_price: 25 - purchase_account: purchase_account - sales_account: sales_account - company: company - purchase_tax_rate: purchase_tax_rate - sales_tax_rate: sales_tax_rate - remote_updated_at: '2020-03-31T00:00:00Z' - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /actions - data: - - Varies by platform - partialUpdate: - path: /accounting/v1/items/{id} - method: PATCH - auth: - - tokenAuth: [] - docs: Updates an `Item` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: PatchedItemEndpointRequest - query-parameters: - is_debug_mode: - type: optional - docs: >- - Whether to include debug fields (such as log file links) in the - response. - run_async: - type: optional - docs: Whether or not third-party updates should be run asynchronously. - body: - properties: - model: root.PatchedItemRequestRequest - content-type: application/json - response: - docs: '' - type: root.ItemResponse - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - is_debug_mode: true - run_async: true - headers: - X-Account-Token: X-Account-Token - request: - model: {} - response: - body: - model: - id: d2f972d0-2526-434b-9409-4c3b468e08f0 - remote_id: '12374' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Pickleball Paddle - status: ACTIVE - type: INVENTORY - unit_price: 10 - purchase_price: 25 - purchase_account: purchase_account - sales_account: sales_account - company: company - purchase_tax_rate: purchase_tax_rate - sales_tax_rate: sales_tax_rate - remote_updated_at: '2020-03-31T00:00:00Z' - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /actions - data: - - Varies by platform - warnings: - - source: - pointer: pointer - title: Unrecognized Field - detail: An unrecognized field, age, was passed in with request data. - problem_type: UNRECOGNIZED_FIELD - errors: - - source: - pointer: pointer - title: Missing Required Field - detail: custom_fields is a required field on model. - problem_type: MISSING_REQUIRED_FIELD - logs: - - log_id: 99433219-8017-4acd-bb3c-ceb23d663832 - dashboard_view: >- - https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832 - log_summary: - url: www.exampleintegration.com/api/v1/exampleapi - method: POST - status_code: 200 - metaPatchRetrieve: - path: /accounting/v1/items/meta/patch/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns metadata for `Item` PATCHs. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - response: - docs: '' - type: root.MetaResponse - status-code: 200 - examples: - - path-parameters: - id: id - headers: - X-Account-Token: X-Account-Token - response: - body: - request_schema: - type: object - properties: - model: - type: object - required: - - last_name - - first_name - - merge_categories - - new_york_city_neighborhood - - favorite_tv_shows - - favorite_watch - properties: - email_addresses: - type: array - items: - type: object - properties: - value: - type: string - title: value - email_address_type: - type: string - title: email_address_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: email_addresses - description: Array of email_addresses objects - urls: - type: array - items: - type: object - properties: - value: - type: string - title: value - url_type: - type: string - title: url_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: urls - description: Array of urls objects - first_name: - type: string - title: first_name - description: The first name. - last_name: - type: string - title: last_name - description: The last name. - phone_numbers: - type: array - items: - type: object - properties: - value: - type: string - title: value - phone_number_type: - type: string - title: phone_number_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: phone_numbers - description: Array of phone_numbers objects - tags: - type: array - items: - type: string - format: uuid - title: tags - description: Array of tags names - attachments: - type: array - items: - type: object - properties: - id: - type: string - title: id - file_url: - type: string - title: file_url - file_name: - type: string - title: file_name - attachment_type: - type: string - title: attachment_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: attachments - description: 'Array of attachments objects ' - merge_categories: - type: array - categories: - type: string - enum: - - HRIS - - ATS - - Accounting - - Ticketing - - File Storage - - CRM - - Marketing Automation - enum_information: - - value: HRIS - description: Merge HRIS Category - - value: ATS - description: Merge ATS Category - - value: Accounting - description: Merge Accounting Category - - value: Ticketing - description: Merge Ticketing Category - - value: File Storage - description: Merge File Storage Category - - value: CRM - description: Merge CRM Category - - value: Marketing Automation - description: Merge Marketing Automation Category - title: Merge Categories - description: Array of Merge's Unified API Categories - new_york_city_neighborhood: - type: string - title: Borough - description: One of the 5 Boroughs of New York City - favorite_tv_shows: - type: array - items: - type: string - format: uuid - title: Favorite TV Shows - description: Array of TV Show objects on merge.tv_shows - favorite_watch: - type: string - title: Favorite Watch - description: Favorite watch of all time - remote_field_classes: - key: value - status: - linked_account_status: linked_account_status - can_make_request: true - has_conditional_params: true - has_required_linked_account_params: true - metaPostRetrieve: - path: /accounting/v1/items/meta/post - method: GET - auth: - - tokenAuth: [] - docs: Returns metadata for `Item` POSTs. - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: root.MetaResponse - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - request_schema: - type: object - properties: - model: - type: object - required: - - last_name - - first_name - - merge_categories - - new_york_city_neighborhood - - favorite_tv_shows - - favorite_watch - properties: - email_addresses: - type: array - items: - type: object - properties: - value: - type: string - title: value - email_address_type: - type: string - title: email_address_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: email_addresses - description: Array of email_addresses objects - urls: - type: array - items: - type: object - properties: - value: - type: string - title: value - url_type: - type: string - title: url_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: urls - description: Array of urls objects - first_name: - type: string - title: first_name - description: The first name. - last_name: - type: string - title: last_name - description: The last name. - phone_numbers: - type: array - items: - type: object - properties: - value: - type: string - title: value - phone_number_type: - type: string - title: phone_number_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: phone_numbers - description: Array of phone_numbers objects - tags: - type: array - items: - type: string - format: uuid - title: tags - description: Array of tags names - attachments: - type: array - items: - type: object - properties: - id: - type: string - title: id - file_url: - type: string - title: file_url - file_name: - type: string - title: file_name - attachment_type: - type: string - title: attachment_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: attachments - description: 'Array of attachments objects ' - merge_categories: - type: array - categories: - type: string - enum: - - HRIS - - ATS - - Accounting - - Ticketing - - File Storage - - CRM - - Marketing Automation - enum_information: - - value: HRIS - description: Merge HRIS Category - - value: ATS - description: Merge ATS Category - - value: Accounting - description: Merge Accounting Category - - value: Ticketing - description: Merge Ticketing Category - - value: File Storage - description: Merge File Storage Category - - value: CRM - description: Merge CRM Category - - value: Marketing Automation - description: Merge Marketing Automation Category - title: Merge Categories - description: Array of Merge's Unified API Categories - new_york_city_neighborhood: - type: string - title: Borough - description: One of the 5 Boroughs of New York City - favorite_tv_shows: - type: array - items: - type: string - format: uuid - title: Favorite TV Shows - description: Array of TV Show objects on merge.tv_shows - favorite_watch: - type: string - title: Favorite Watch - description: Favorite watch of all time - remote_field_classes: - key: value - status: - linked_account_status: linked_account_status - can_make_request: true - has_conditional_params: true - has_required_linked_account_params: true - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/accounting/journalEntries.yml b/.mock/definition/accounting/journalEntries.yml deleted file mode 100644 index 6c823fe1..00000000 --- a/.mock/definition/accounting/journalEntries.yml +++ /dev/null @@ -1,1034 +0,0 @@ -types: - JournalEntriesListRequestExpand: - enum: - - accounting_period - - applied_payments - - value: applied_payments,accounting_period - name: AppliedPaymentsAccountingPeriod - - value: applied_payments,company - name: AppliedPaymentsCompany - - value: applied_payments,company,accounting_period - name: AppliedPaymentsCompanyAccountingPeriod - - value: applied_payments,tracking_categories - name: AppliedPaymentsTrackingCategories - - value: applied_payments,tracking_categories,accounting_period - name: AppliedPaymentsTrackingCategoriesAccountingPeriod - - value: applied_payments,tracking_categories,company - name: AppliedPaymentsTrackingCategoriesCompany - - value: applied_payments,tracking_categories,company,accounting_period - name: AppliedPaymentsTrackingCategoriesCompanyAccountingPeriod - - company - - value: company,accounting_period - name: CompanyAccountingPeriod - - lines - - value: lines,accounting_period - name: LinesAccountingPeriod - - value: lines,applied_payments - name: LinesAppliedPayments - - value: lines,applied_payments,accounting_period - name: LinesAppliedPaymentsAccountingPeriod - - value: lines,applied_payments,company - name: LinesAppliedPaymentsCompany - - value: lines,applied_payments,company,accounting_period - name: LinesAppliedPaymentsCompanyAccountingPeriod - - value: lines,applied_payments,tracking_categories - name: LinesAppliedPaymentsTrackingCategories - - value: lines,applied_payments,tracking_categories,accounting_period - name: LinesAppliedPaymentsTrackingCategoriesAccountingPeriod - - value: lines,applied_payments,tracking_categories,company - name: LinesAppliedPaymentsTrackingCategoriesCompany - - value: lines,applied_payments,tracking_categories,company,accounting_period - name: LinesAppliedPaymentsTrackingCategoriesCompanyAccountingPeriod - - value: lines,company - name: LinesCompany - - value: lines,company,accounting_period - name: LinesCompanyAccountingPeriod - - value: lines,payments - name: LinesPayments - - value: lines,payments,accounting_period - name: LinesPaymentsAccountingPeriod - - value: lines,payments,applied_payments - name: LinesPaymentsAppliedPayments - - value: lines,payments,applied_payments,accounting_period - name: LinesPaymentsAppliedPaymentsAccountingPeriod - - value: lines,payments,applied_payments,company - name: LinesPaymentsAppliedPaymentsCompany - - value: lines,payments,applied_payments,company,accounting_period - name: LinesPaymentsAppliedPaymentsCompanyAccountingPeriod - - value: lines,payments,applied_payments,tracking_categories - name: LinesPaymentsAppliedPaymentsTrackingCategories - - value: lines,payments,applied_payments,tracking_categories,accounting_period - name: LinesPaymentsAppliedPaymentsTrackingCategoriesAccountingPeriod - - value: lines,payments,applied_payments,tracking_categories,company - name: LinesPaymentsAppliedPaymentsTrackingCategoriesCompany - - value: >- - lines,payments,applied_payments,tracking_categories,company,accounting_period - name: LinesPaymentsAppliedPaymentsTrackingCategoriesCompanyAccountingPeriod - - value: lines,payments,company - name: LinesPaymentsCompany - - value: lines,payments,company,accounting_period - name: LinesPaymentsCompanyAccountingPeriod - - value: lines,payments,tracking_categories - name: LinesPaymentsTrackingCategories - - value: lines,payments,tracking_categories,accounting_period - name: LinesPaymentsTrackingCategoriesAccountingPeriod - - value: lines,payments,tracking_categories,company - name: LinesPaymentsTrackingCategoriesCompany - - value: lines,payments,tracking_categories,company,accounting_period - name: LinesPaymentsTrackingCategoriesCompanyAccountingPeriod - - value: lines,tracking_categories - name: LinesTrackingCategories - - value: lines,tracking_categories,accounting_period - name: LinesTrackingCategoriesAccountingPeriod - - value: lines,tracking_categories,company - name: LinesTrackingCategoriesCompany - - value: lines,tracking_categories,company,accounting_period - name: LinesTrackingCategoriesCompanyAccountingPeriod - - payments - - value: payments,accounting_period - name: PaymentsAccountingPeriod - - value: payments,applied_payments - name: PaymentsAppliedPayments - - value: payments,applied_payments,accounting_period - name: PaymentsAppliedPaymentsAccountingPeriod - - value: payments,applied_payments,company - name: PaymentsAppliedPaymentsCompany - - value: payments,applied_payments,company,accounting_period - name: PaymentsAppliedPaymentsCompanyAccountingPeriod - - value: payments,applied_payments,tracking_categories - name: PaymentsAppliedPaymentsTrackingCategories - - value: payments,applied_payments,tracking_categories,accounting_period - name: PaymentsAppliedPaymentsTrackingCategoriesAccountingPeriod - - value: payments,applied_payments,tracking_categories,company - name: PaymentsAppliedPaymentsTrackingCategoriesCompany - - value: >- - payments,applied_payments,tracking_categories,company,accounting_period - name: PaymentsAppliedPaymentsTrackingCategoriesCompanyAccountingPeriod - - value: payments,company - name: PaymentsCompany - - value: payments,company,accounting_period - name: PaymentsCompanyAccountingPeriod - - value: payments,tracking_categories - name: PaymentsTrackingCategories - - value: payments,tracking_categories,accounting_period - name: PaymentsTrackingCategoriesAccountingPeriod - - value: payments,tracking_categories,company - name: PaymentsTrackingCategoriesCompany - - value: payments,tracking_categories,company,accounting_period - name: PaymentsTrackingCategoriesCompanyAccountingPeriod - - tracking_categories - - value: tracking_categories,accounting_period - name: TrackingCategoriesAccountingPeriod - - value: tracking_categories,company - name: TrackingCategoriesCompany - - value: tracking_categories,company,accounting_period - name: TrackingCategoriesCompanyAccountingPeriod - source: - openapi: openapi/openapi.yml - JournalEntriesRetrieveRequestExpand: - enum: - - accounting_period - - applied_payments - - value: applied_payments,accounting_period - name: AppliedPaymentsAccountingPeriod - - value: applied_payments,company - name: AppliedPaymentsCompany - - value: applied_payments,company,accounting_period - name: AppliedPaymentsCompanyAccountingPeriod - - value: applied_payments,tracking_categories - name: AppliedPaymentsTrackingCategories - - value: applied_payments,tracking_categories,accounting_period - name: AppliedPaymentsTrackingCategoriesAccountingPeriod - - value: applied_payments,tracking_categories,company - name: AppliedPaymentsTrackingCategoriesCompany - - value: applied_payments,tracking_categories,company,accounting_period - name: AppliedPaymentsTrackingCategoriesCompanyAccountingPeriod - - company - - value: company,accounting_period - name: CompanyAccountingPeriod - - lines - - value: lines,accounting_period - name: LinesAccountingPeriod - - value: lines,applied_payments - name: LinesAppliedPayments - - value: lines,applied_payments,accounting_period - name: LinesAppliedPaymentsAccountingPeriod - - value: lines,applied_payments,company - name: LinesAppliedPaymentsCompany - - value: lines,applied_payments,company,accounting_period - name: LinesAppliedPaymentsCompanyAccountingPeriod - - value: lines,applied_payments,tracking_categories - name: LinesAppliedPaymentsTrackingCategories - - value: lines,applied_payments,tracking_categories,accounting_period - name: LinesAppliedPaymentsTrackingCategoriesAccountingPeriod - - value: lines,applied_payments,tracking_categories,company - name: LinesAppliedPaymentsTrackingCategoriesCompany - - value: lines,applied_payments,tracking_categories,company,accounting_period - name: LinesAppliedPaymentsTrackingCategoriesCompanyAccountingPeriod - - value: lines,company - name: LinesCompany - - value: lines,company,accounting_period - name: LinesCompanyAccountingPeriod - - value: lines,payments - name: LinesPayments - - value: lines,payments,accounting_period - name: LinesPaymentsAccountingPeriod - - value: lines,payments,applied_payments - name: LinesPaymentsAppliedPayments - - value: lines,payments,applied_payments,accounting_period - name: LinesPaymentsAppliedPaymentsAccountingPeriod - - value: lines,payments,applied_payments,company - name: LinesPaymentsAppliedPaymentsCompany - - value: lines,payments,applied_payments,company,accounting_period - name: LinesPaymentsAppliedPaymentsCompanyAccountingPeriod - - value: lines,payments,applied_payments,tracking_categories - name: LinesPaymentsAppliedPaymentsTrackingCategories - - value: lines,payments,applied_payments,tracking_categories,accounting_period - name: LinesPaymentsAppliedPaymentsTrackingCategoriesAccountingPeriod - - value: lines,payments,applied_payments,tracking_categories,company - name: LinesPaymentsAppliedPaymentsTrackingCategoriesCompany - - value: >- - lines,payments,applied_payments,tracking_categories,company,accounting_period - name: LinesPaymentsAppliedPaymentsTrackingCategoriesCompanyAccountingPeriod - - value: lines,payments,company - name: LinesPaymentsCompany - - value: lines,payments,company,accounting_period - name: LinesPaymentsCompanyAccountingPeriod - - value: lines,payments,tracking_categories - name: LinesPaymentsTrackingCategories - - value: lines,payments,tracking_categories,accounting_period - name: LinesPaymentsTrackingCategoriesAccountingPeriod - - value: lines,payments,tracking_categories,company - name: LinesPaymentsTrackingCategoriesCompany - - value: lines,payments,tracking_categories,company,accounting_period - name: LinesPaymentsTrackingCategoriesCompanyAccountingPeriod - - value: lines,tracking_categories - name: LinesTrackingCategories - - value: lines,tracking_categories,accounting_period - name: LinesTrackingCategoriesAccountingPeriod - - value: lines,tracking_categories,company - name: LinesTrackingCategoriesCompany - - value: lines,tracking_categories,company,accounting_period - name: LinesTrackingCategoriesCompanyAccountingPeriod - - payments - - value: payments,accounting_period - name: PaymentsAccountingPeriod - - value: payments,applied_payments - name: PaymentsAppliedPayments - - value: payments,applied_payments,accounting_period - name: PaymentsAppliedPaymentsAccountingPeriod - - value: payments,applied_payments,company - name: PaymentsAppliedPaymentsCompany - - value: payments,applied_payments,company,accounting_period - name: PaymentsAppliedPaymentsCompanyAccountingPeriod - - value: payments,applied_payments,tracking_categories - name: PaymentsAppliedPaymentsTrackingCategories - - value: payments,applied_payments,tracking_categories,accounting_period - name: PaymentsAppliedPaymentsTrackingCategoriesAccountingPeriod - - value: payments,applied_payments,tracking_categories,company - name: PaymentsAppliedPaymentsTrackingCategoriesCompany - - value: >- - payments,applied_payments,tracking_categories,company,accounting_period - name: PaymentsAppliedPaymentsTrackingCategoriesCompanyAccountingPeriod - - value: payments,company - name: PaymentsCompany - - value: payments,company,accounting_period - name: PaymentsCompanyAccountingPeriod - - value: payments,tracking_categories - name: PaymentsTrackingCategories - - value: payments,tracking_categories,accounting_period - name: PaymentsTrackingCategoriesAccountingPeriod - - value: payments,tracking_categories,company - name: PaymentsTrackingCategoriesCompany - - value: payments,tracking_categories,company,accounting_period - name: PaymentsTrackingCategoriesCompanyAccountingPeriod - - tracking_categories - - value: tracking_categories,accounting_period - name: TrackingCategoriesAccountingPeriod - - value: tracking_categories,company - name: TrackingCategoriesCompany - - value: tracking_categories,company,accounting_period - name: TrackingCategoriesCompanyAccountingPeriod - source: - openapi: openapi/openapi.yml -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /accounting/v1/journal-entries - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `JournalEntry` objects. - source: - openapi: openapi/openapi.yml - request: - name: JournalEntriesListRequest - query-parameters: - company_id: - type: optional - docs: If provided, will only return journal entries for this company. - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_remote_fields: - type: optional - docs: >- - Whether to include all remote fields, including fields that Merge - did not map to common models, in a normalized format. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - page_size: - type: optional - docs: Number of results to return per page. - remote_id: - type: optional - docs: The API provider's ID for the given object. - transaction_date_after: - type: optional - docs: If provided, will only return objects created after this datetime. - transaction_date_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - response: - docs: '' - type: root.PaginatedJournalEntryList - status-code: 200 - examples: - - query-parameters: - company_id: company_id - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - expand: accounting_period - include_deleted_data: true - include_remote_data: true - include_remote_fields: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - page_size: 1 - remote_id: remote_id - transaction_date_after: '2024-01-15T09:30:00Z' - transaction_date_before: '2024-01-15T09:30:00Z' - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4 - remote_id: '088899' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - transaction_date: '2020-03-31T00:00:00Z' - payments: - - b26fd49a-cbae-470a-a8f8-bcbc119e0390 - applied_payments: - - 4311155d-f236-4a5d-9e0f-1cb167e38f95 - memo: Weekly Payment - currency: XUA - exchange_rate: '2.9' - company: company - inclusive_of_tax: true - lines: - - id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4 - remote_id: '121222' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - account: 9d892439-5fab-4dbb-8bd8-34f7f96c7912 - net_amount: 25.54 - tracking_categories: - - d25d609b-945f-4762-b55a-1c8fb220c43c - - 9b840d2-686a-465a-8a8e-7b028498f8e4 - - a47e11b6-c73b-4a0c-be31-130fc48177fa - company: 595c8f97-2ac4-45b7-b000-41bdf43240b5 - employee: 123c8r35-5kf5-12x5-r833-99bwf35210b5 - project: 22e65a5d-2df5-4e6e-884a-e538d0339000 - contact: d2d5ea3c-b032-11ec-b909-0242ac120002 - tax_rate: a12e7c20-1922-9df7-s75n-edfeewnn7384 - description: Cash payment for lunch - exchange_rate: '2.9' - remote_was_deleted: false - - id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4 - remote_id: '121223' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - account: f963f34d-3d2f-4f77-b557-cf36bc7e6498 - net_amount: 10 - tracking_categories: - - d25d609b-945f-4762-b55a-1c8fb220c43c - - 9b840d2-686a-465a-8a8e-7b028498f8e4 - - a47e11b6-c73b-4a0c-be31-130fc48177fa - company: 595c8f97-2ac4-45b7-b000-41bdf43240b5 - employee: 123c8r35-5kf5-12x5-r833-99bwf35210b5 - contact: d2d5ea3c-b032-11ec-b909-0242ac120002 - tax_rate: a12e7c20-1922-9df7-s75n-edfeewnn7384 - description: Cash payment for lunch - exchange_rate: '2.9' - journal_number: '42' - tracking_categories: - - b38c59b0-a9d7-4740-b1ee-5436c6751e3d - - 9b840d2-686a-465a-8a8e-7b028498f8e4 - - a47e11b6-c73b-4a0c-be31-130fc48177fa - remote_was_deleted: true - posting_status: UNPOSTED - accounting_period: accounting_period - remote_created_at: '2020-03-31T00:00:00Z' - remote_updated_at: '2020-03-31T00:00:00Z' - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /actions - data: - - Varies by platform - remote_fields: - - remote_field_class: remote_field_class - value: string - create: - path: /accounting/v1/journal-entries - method: POST - auth: - - tokenAuth: [] - docs: Creates a `JournalEntry` object with the given values. - source: - openapi: openapi/openapi.yml - request: - name: JournalEntryEndpointRequest - query-parameters: - is_debug_mode: - type: optional - docs: >- - Whether to include debug fields (such as log file links) in the - response. - run_async: - type: optional - docs: Whether or not third-party updates should be run asynchronously. - body: - properties: - model: root.JournalEntryRequest - content-type: application/json - response: - docs: '' - type: root.JournalEntryResponse - status-code: 201 - examples: - - query-parameters: - is_debug_mode: true - run_async: true - headers: - X-Account-Token: X-Account-Token - request: - model: {} - response: - body: - model: - id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4 - remote_id: '088899' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - transaction_date: '2020-03-31T00:00:00Z' - payments: - - b26fd49a-cbae-470a-a8f8-bcbc119e0390 - applied_payments: - - 4311155d-f236-4a5d-9e0f-1cb167e38f95 - memo: Weekly Payment - currency: XUA - exchange_rate: '2.9' - company: company - inclusive_of_tax: true - lines: - - id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4 - remote_id: '121222' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - account: 9d892439-5fab-4dbb-8bd8-34f7f96c7912 - net_amount: 25.54 - tracking_categories: - - d25d609b-945f-4762-b55a-1c8fb220c43c - - 9b840d2-686a-465a-8a8e-7b028498f8e4 - - a47e11b6-c73b-4a0c-be31-130fc48177fa - company: 595c8f97-2ac4-45b7-b000-41bdf43240b5 - employee: 123c8r35-5kf5-12x5-r833-99bwf35210b5 - project: 22e65a5d-2df5-4e6e-884a-e538d0339000 - contact: d2d5ea3c-b032-11ec-b909-0242ac120002 - tax_rate: a12e7c20-1922-9df7-s75n-edfeewnn7384 - description: Cash payment for lunch - exchange_rate: '2.9' - remote_was_deleted: false - - id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4 - remote_id: '121223' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - account: f963f34d-3d2f-4f77-b557-cf36bc7e6498 - net_amount: 10 - tracking_categories: - - d25d609b-945f-4762-b55a-1c8fb220c43c - - 9b840d2-686a-465a-8a8e-7b028498f8e4 - - a47e11b6-c73b-4a0c-be31-130fc48177fa - company: 595c8f97-2ac4-45b7-b000-41bdf43240b5 - employee: 123c8r35-5kf5-12x5-r833-99bwf35210b5 - contact: d2d5ea3c-b032-11ec-b909-0242ac120002 - tax_rate: a12e7c20-1922-9df7-s75n-edfeewnn7384 - description: Cash payment for lunch - exchange_rate: '2.9' - journal_number: '42' - tracking_categories: - - b38c59b0-a9d7-4740-b1ee-5436c6751e3d - - 9b840d2-686a-465a-8a8e-7b028498f8e4 - - a47e11b6-c73b-4a0c-be31-130fc48177fa - remote_was_deleted: true - posting_status: UNPOSTED - accounting_period: accounting_period - remote_created_at: '2020-03-31T00:00:00Z' - remote_updated_at: '2020-03-31T00:00:00Z' - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /actions - data: - - Varies by platform - remote_fields: - - remote_field_class: remote_field_class - value: string - warnings: - - source: - pointer: pointer - title: Unrecognized Field - detail: An unrecognized field, age, was passed in with request data. - problem_type: UNRECOGNIZED_FIELD - errors: - - source: - pointer: pointer - title: Missing Required Field - detail: custom_fields is a required field on model. - problem_type: MISSING_REQUIRED_FIELD - logs: - - log_id: 99433219-8017-4acd-bb3c-ceb23d663832 - dashboard_view: >- - https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832 - log_summary: - url: www.exampleintegration.com/api/v1/exampleapi - method: POST - status_code: 200 - retrieve: - path: /accounting/v1/journal-entries/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns a `JournalEntry` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: JournalEntriesRetrieveRequest - query-parameters: - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_remote_fields: - type: optional - docs: >- - Whether to include all remote fields, including fields that Merge - did not map to common models, in a normalized format. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - response: - docs: '' - type: root.JournalEntry - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - expand: accounting_period - include_remote_data: true - include_remote_fields: true - include_shell_data: true - headers: - X-Account-Token: X-Account-Token - response: - body: - id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4 - remote_id: '088899' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - transaction_date: '2020-03-31T00:00:00Z' - payments: - - b26fd49a-cbae-470a-a8f8-bcbc119e0390 - applied_payments: - - 4311155d-f236-4a5d-9e0f-1cb167e38f95 - memo: Weekly Payment - currency: XUA - exchange_rate: '2.9' - company: company - inclusive_of_tax: true - lines: - - id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4 - remote_id: '121222' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - account: 9d892439-5fab-4dbb-8bd8-34f7f96c7912 - net_amount: 25.54 - tracking_categories: - - d25d609b-945f-4762-b55a-1c8fb220c43c - - 9b840d2-686a-465a-8a8e-7b028498f8e4 - - a47e11b6-c73b-4a0c-be31-130fc48177fa - currency: XUA - company: 595c8f97-2ac4-45b7-b000-41bdf43240b5 - employee: 123c8r35-5kf5-12x5-r833-99bwf35210b5 - project: 22e65a5d-2df5-4e6e-884a-e538d0339000 - contact: d2d5ea3c-b032-11ec-b909-0242ac120002 - tax_rate: a12e7c20-1922-9df7-s75n-edfeewnn7384 - description: Cash payment for lunch - exchange_rate: '2.9' - remote_was_deleted: false - remote_fields: - - remote_field_class: remote_field_class - value: string - - id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4 - remote_id: '121223' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - account: f963f34d-3d2f-4f77-b557-cf36bc7e6498 - net_amount: 10 - tracking_categories: - - d25d609b-945f-4762-b55a-1c8fb220c43c - - 9b840d2-686a-465a-8a8e-7b028498f8e4 - - a47e11b6-c73b-4a0c-be31-130fc48177fa - currency: XUA - company: 595c8f97-2ac4-45b7-b000-41bdf43240b5 - employee: 123c8r35-5kf5-12x5-r833-99bwf35210b5 - project: project - contact: d2d5ea3c-b032-11ec-b909-0242ac120002 - tax_rate: a12e7c20-1922-9df7-s75n-edfeewnn7384 - description: Cash payment for lunch - exchange_rate: '2.9' - remote_was_deleted: true - remote_fields: - - remote_field_class: remote_field_class - value: string - journal_number: '42' - tracking_categories: - - b38c59b0-a9d7-4740-b1ee-5436c6751e3d - - 9b840d2-686a-465a-8a8e-7b028498f8e4 - - a47e11b6-c73b-4a0c-be31-130fc48177fa - remote_was_deleted: true - posting_status: UNPOSTED - accounting_period: accounting_period - remote_created_at: '2020-03-31T00:00:00Z' - remote_updated_at: '2020-03-31T00:00:00Z' - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /actions - data: - - Varies by platform - remote_fields: - - remote_field_class: remote_field_class - value: string - linesRemoteFieldClassesList: - path: /accounting/v1/journal-entries/lines/remote-field-classes - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `RemoteFieldClass` objects. - source: - openapi: openapi/openapi.yml - request: - name: JournalEntriesLinesRemoteFieldClassesListRequest - query-parameters: - cursor: - type: optional - docs: The pagination cursor value. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - is_common_model_field: - type: optional - docs: >- - If provided, will only return remote field classes with this - is_common_model_field value - is_custom: - type: optional - docs: >- - If provided, will only return remote fields classes with this - is_custom value - page_size: - type: optional - docs: Number of results to return per page. - response: - docs: '' - type: root.PaginatedRemoteFieldClassList - status-code: 200 - examples: - - query-parameters: - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - include_deleted_data: true - include_remote_data: true - include_shell_data: true - is_common_model_field: true - is_custom: true - page_size: 1 - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: id - display_name: display_name - remote_key_name: remote_key_name - description: description - is_custom: true - is_common_model_field: true - is_required: true - field_type: string - field_format: string - field_choices: - - field_choices - metaPostRetrieve: - path: /accounting/v1/journal-entries/meta/post - method: GET - auth: - - tokenAuth: [] - docs: Returns metadata for `JournalEntry` POSTs. - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: root.MetaResponse - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - request_schema: - type: object - properties: - model: - type: object - required: - - last_name - - first_name - - merge_categories - - new_york_city_neighborhood - - favorite_tv_shows - - favorite_watch - properties: - email_addresses: - type: array - items: - type: object - properties: - value: - type: string - title: value - email_address_type: - type: string - title: email_address_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: email_addresses - description: Array of email_addresses objects - urls: - type: array - items: - type: object - properties: - value: - type: string - title: value - url_type: - type: string - title: url_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: urls - description: Array of urls objects - first_name: - type: string - title: first_name - description: The first name. - last_name: - type: string - title: last_name - description: The last name. - phone_numbers: - type: array - items: - type: object - properties: - value: - type: string - title: value - phone_number_type: - type: string - title: phone_number_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: phone_numbers - description: Array of phone_numbers objects - tags: - type: array - items: - type: string - format: uuid - title: tags - description: Array of tags names - attachments: - type: array - items: - type: object - properties: - id: - type: string - title: id - file_url: - type: string - title: file_url - file_name: - type: string - title: file_name - attachment_type: - type: string - title: attachment_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: attachments - description: 'Array of attachments objects ' - merge_categories: - type: array - categories: - type: string - enum: - - HRIS - - ATS - - Accounting - - Ticketing - - File Storage - - CRM - - Marketing Automation - enum_information: - - value: HRIS - description: Merge HRIS Category - - value: ATS - description: Merge ATS Category - - value: Accounting - description: Merge Accounting Category - - value: Ticketing - description: Merge Ticketing Category - - value: File Storage - description: Merge File Storage Category - - value: CRM - description: Merge CRM Category - - value: Marketing Automation - description: Merge Marketing Automation Category - title: Merge Categories - description: Array of Merge's Unified API Categories - new_york_city_neighborhood: - type: string - title: Borough - description: One of the 5 Boroughs of New York City - favorite_tv_shows: - type: array - items: - type: string - format: uuid - title: Favorite TV Shows - description: Array of TV Show objects on merge.tv_shows - favorite_watch: - type: string - title: Favorite Watch - description: Favorite watch of all time - remote_field_classes: - key: value - status: - linked_account_status: linked_account_status - can_make_request: true - has_conditional_params: true - has_required_linked_account_params: true - remoteFieldClassesList: - path: /accounting/v1/journal-entries/remote-field-classes - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `RemoteFieldClass` objects. - source: - openapi: openapi/openapi.yml - request: - name: JournalEntriesRemoteFieldClassesListRequest - query-parameters: - cursor: - type: optional - docs: The pagination cursor value. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - is_common_model_field: - type: optional - docs: >- - If provided, will only return remote field classes with this - is_common_model_field value - is_custom: - type: optional - docs: >- - If provided, will only return remote fields classes with this - is_custom value - page_size: - type: optional - docs: Number of results to return per page. - response: - docs: '' - type: root.PaginatedRemoteFieldClassList - status-code: 200 - examples: - - query-parameters: - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - include_deleted_data: true - include_remote_data: true - include_shell_data: true - is_common_model_field: true - is_custom: true - page_size: 1 - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: id - display_name: display_name - remote_key_name: remote_key_name - description: description - is_custom: true - is_common_model_field: true - is_required: true - field_type: string - field_format: string - field_choices: - - field_choices - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/accounting/linkToken.yml b/.mock/definition/accounting/linkToken.yml deleted file mode 100644 index 0772db0f..00000000 --- a/.mock/definition/accounting/linkToken.yml +++ /dev/null @@ -1,155 +0,0 @@ -imports: - root: __package__.yml -types: - EndUserDetailsRequestLanguage: - discriminated: false - docs: >- - The following subset of IETF language tags can be used to configure - localization. - - - * `en` - en - - * `de` - de - union: - - root.LanguageEnum - - string - source: - openapi: openapi/openapi.yml - inline: true -service: - auth: false - base-path: '' - endpoints: - create: - path: /accounting/v1/link-token - method: POST - auth: - - tokenAuth: [] - docs: Creates a link token to be used when linking a new end user. - source: - openapi: openapi/openapi.yml - request: - name: EndUserDetailsRequest - body: - properties: - end_user_email_address: - type: string - docs: >- - Your end user's email address. This is purely for identification - purposes - setting this value will not cause any emails to be - sent. - validation: - minLength: 1 - maxLength: 100 - end_user_organization_name: - type: string - docs: Your end user's organization. - validation: - minLength: 1 - maxLength: 100 - end_user_origin_id: - type: string - docs: >- - This unique identifier typically represents the ID for your end - user in your product's database. This value must be distinct - from other Linked Accounts' unique identifiers. - validation: - minLength: 1 - maxLength: 100 - categories: - docs: The integration categories to show in Merge Link. - type: list - integration: - type: optional - docs: >- - The slug of a specific pre-selected integration for this linking - flow token. For examples of slugs, see - https://docs.merge.dev/guides/merge-link/single-integration/. - validation: - minLength: 1 - link_expiry_mins: - type: optional - docs: >- - An integer number of minutes between [30, 720 or 10080 if for a - Magic Link URL] for how long this token is valid. Defaults to - 30. - default: 30 - validation: - min: 30 - max: 10080 - should_create_magic_link_url: - type: optional - docs: >- - Whether to generate a Magic Link URL. Defaults to false. For - more information on Magic Link, see - https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. - default: false - hide_admin_magic_link: - type: optional - docs: >- - Whether to generate a Magic Link URL on the Admin Needed screen - during the linking flow. Defaults to false. For more information - on Magic Link, see - https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. - default: false - common_models: - type: optional> - docs: >- - An array of objects to specify the models and fields that will - be disabled for a given Linked Account. Each object uses - model_id, enabled_actions, and disabled_fields to specify the - model, method, and fields that are scoped for a given Linked - Account. - category_common_model_scopes: - type: >- - optional>>> - docs: >- - When creating a Link Token, you can set permissions for Common - Models that will apply to the account that is going to be - linked. Any model or field not specified in link token payload - will default to existing settings. - language: - type: optional - docs: >- - The following subset of IETF language tags can be used to - configure localization. - - - * `en` - en - - * `de` - de - are_syncs_disabled: - type: optional - docs: >- - The boolean that indicates whether initial, periodic, and force - syncs will be disabled. - default: false - integration_specific_config: - type: optional> - docs: >- - A JSON object containing integration-specific configuration - options. - content-type: application/json - response: - docs: '' - type: root.LinkToken - status-code: 200 - examples: - - headers: - X-Account-Token: '[object Object]' - request: - end_user_email_address: example@gmail.com - end_user_organization_name: Test Organization - end_user_origin_id: '12345' - categories: - - hris - - ats - response: - body: - link_token: necdP7FtdASl1fQwm62be2_dM4wBG8_GactqoUV0 - integration_name: Lever - magic_link_url: https://link.merge.dev/asdfjkl12345jsndfgi2i83n - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/accounting/linkedAccounts.yml b/.mock/definition/accounting/linkedAccounts.yml deleted file mode 100644 index 561db84a..00000000 --- a/.mock/definition/accounting/linkedAccounts.yml +++ /dev/null @@ -1,167 +0,0 @@ -types: - LinkedAccountsListRequestCategory: - enum: - - accounting - - ats - - crm - - filestorage - - hris - - mktg - - ticketing - source: - openapi: openapi/openapi.yml -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /accounting/v1/linked-accounts - method: GET - auth: - - tokenAuth: [] - docs: List linked accounts for your organization. - source: - openapi: openapi/openapi.yml - request: - name: LinkedAccountsListRequest - query-parameters: - category: - type: optional - docs: >- - Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, - `mktg`, `ticketing` - - - * `hris` - hris - - * `ats` - ats - - * `accounting` - accounting - - * `ticketing` - ticketing - - * `crm` - crm - - * `mktg` - mktg - - * `filestorage` - filestorage - cursor: - type: optional - docs: The pagination cursor value. - end_user_email_address: - type: optional - docs: >- - If provided, will only return linked accounts associated with the - given email address. - end_user_organization_name: - type: optional - docs: >- - If provided, will only return linked accounts associated with the - given organization name. - end_user_origin_id: - type: optional - docs: >- - If provided, will only return linked accounts associated with the - given origin ID. - end_user_origin_ids: - type: optional - docs: >- - Comma-separated list of EndUser origin IDs, making it possible to - specify multiple EndUsers at once. - id: - type: optional - validation: - format: uuid - ids: - type: optional - docs: >- - Comma-separated list of LinkedAccount IDs, making it possible to - specify multiple LinkedAccounts at once. - include_duplicates: - type: optional - docs: >- - If `true`, will include complete production duplicates of the - account specified by the `id` query parameter in the response. - `id` must be for a complete production linked account. - integration_name: - type: optional - docs: >- - If provided, will only return linked accounts associated with the - given integration name. - is_test_account: - type: optional - docs: >- - If included, will only include test linked accounts. If not - included, will only include non-test linked accounts. - page_size: - type: optional - docs: Number of results to return per page. - status: - type: optional - docs: >- - Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, - `RELINK_NEEDED` - response: - docs: '' - type: root.PaginatedAccountDetailsAndActionsList - status-code: 200 - examples: - - query-parameters: - category: accounting - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - end_user_email_address: end_user_email_address - end_user_organization_name: end_user_organization_name - end_user_origin_id: end_user_origin_id - end_user_origin_ids: end_user_origin_ids - id: id - ids: ids - include_duplicates: true - integration_name: integration_name - is_test_account: is_test_account - page_size: 1 - status: status - headers: - X-Account-Token: '[object Object]' - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: e59b1821-f85c-4e28-a6b3-1804156f3563 - category: hris - status: COMPLETE - status_detail: Invalid login credentials - end_user_origin_id: 3ac95cde-6c7f-4eef-afec-be710b42308d - end_user_organization_name: Foo Bar, LLC - end_user_email_address: hradmin@foobar.dev - subdomain: foobar - webhook_listener_url: >- - https://api.merge.dev/api/integrations/webhook-listener/7fc3mee0UW8ecV4 - is_duplicate: true - integration: - name: name - categories: - - hris - color: color - slug: slug - passthrough_available: true - available_model_operations: - - model_name: Candidate - available_operations: - - FETCH - - CREATE - required_post_parameters: - - remote_user_id - supported_fields: - - first_name - - last_name - - company - - title - account_type: PRODUCTION - completed_at: '2024-08-26T20:11:19Z' - integration_specific_fields: - integration_specific_field: Varies by platform - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/accounting/passthrough.yml b/.mock/definition/accounting/passthrough.yml deleted file mode 100644 index bd4b2a6a..00000000 --- a/.mock/definition/accounting/passthrough.yml +++ /dev/null @@ -1,46 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - create: - path: /accounting/v1/passthrough - method: POST - auth: - - tokenAuth: [] - docs: Pull data from an endpoint not currently supported by Merge. - source: - openapi: openapi/openapi.yml - request: - body: root.DataPassthroughRequest - content-type: application/json - response: - docs: '' - type: root.RemoteResponse - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - request: - method: GET - path: /scooters - response: - body: - method: GET - path: /scooters - status: 200 - response: - scooters: - - company: Lime - model: Gen 2.5 - - company: Bird - model: Bird Zero - response_headers: - X-Page-Token: value - response_type: JSON - headers: - EXTRA-HEADER: value - Authorization: - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/accounting/paymentMethods.yml b/.mock/definition/accounting/paymentMethods.yml deleted file mode 100644 index ecea7f83..00000000 --- a/.mock/definition/accounting/paymentMethods.yml +++ /dev/null @@ -1,132 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /accounting/v1/payment-methods - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `PaymentMethod` objects. - source: - openapi: openapi/openapi.yml - request: - name: PaymentMethodsListRequest - query-parameters: - cursor: - type: optional - docs: The pagination cursor value. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - page_size: - type: optional - docs: Number of results to return per page. - response: - docs: '' - type: root.PaginatedPaymentMethodList - status-code: 200 - examples: - - query-parameters: - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - include_deleted_data: true - include_remote_data: true - include_shell_data: true - page_size: 1 - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4 - remote_id: '088899' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - method_type: CREDIT_CARD - name: John Smith's Credit Card - is_active: true - remote_updated_at: '2021-09-15T00:00:00Z' - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /actions - data: - - Varies by platform - retrieve: - path: /accounting/v1/payment-methods/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns a `PaymentMethod` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: PaymentMethodsRetrieveRequest - query-parameters: - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - response: - docs: '' - type: root.PaymentMethod - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - include_remote_data: true - include_shell_data: true - headers: - X-Account-Token: X-Account-Token - response: - body: - id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4 - remote_id: '088899' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - method_type: CREDIT_CARD - name: John Smith's Credit Card - is_active: true - remote_updated_at: '2021-09-15T00:00:00Z' - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /actions - data: - - Varies by platform - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/accounting/paymentTerms.yml b/.mock/definition/accounting/paymentTerms.yml deleted file mode 100644 index 7659b91a..00000000 --- a/.mock/definition/accounting/paymentTerms.yml +++ /dev/null @@ -1,148 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /accounting/v1/payment-terms - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `PaymentTerm` objects. - source: - openapi: openapi/openapi.yml - request: - name: PaymentTermsListRequest - query-parameters: - cursor: - type: optional - docs: The pagination cursor value. - expand: - type: optional> - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - page_size: - type: optional - docs: Number of results to return per page. - response: - docs: '' - type: root.PaginatedPaymentTermList - status-code: 200 - examples: - - query-parameters: - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - expand: company - include_deleted_data: true - include_remote_data: true - include_shell_data: true - page_size: 1 - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4 - remote_id: '088899' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Net 30 - is_active: true - company: company - days_until_due: 30 - discount_days: 15 - remote_last_modified_at: '2024-10-16T00:00:00Z' - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /actions - data: - - Varies by platform - retrieve: - path: /accounting/v1/payment-terms/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns a `PaymentTerm` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: PaymentTermsRetrieveRequest - query-parameters: - expand: - type: optional> - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - response: - docs: '' - type: root.PaymentTerm - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - expand: company - include_remote_data: true - include_shell_data: true - headers: - X-Account-Token: X-Account-Token - response: - body: - id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4 - remote_id: '088899' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Net 30 - is_active: true - company: company - days_until_due: 30 - discount_days: 15 - remote_last_modified_at: '2024-10-16T00:00:00Z' - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /actions - data: - - Varies by platform - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/accounting/payments.yml b/.mock/definition/accounting/payments.yml deleted file mode 100644 index df550c47..00000000 --- a/.mock/definition/accounting/payments.yml +++ /dev/null @@ -1,1547 +0,0 @@ -types: - PaymentsListRequestExpand: - enum: - - account - - value: account,accounting_period - name: AccountAccountingPeriod - - value: account,accounting_period,payment_method - name: AccountAccountingPeriodPaymentMethod - - value: account,company - name: AccountCompany - - value: account,company,accounting_period - name: AccountCompanyAccountingPeriod - - value: account,company,accounting_period,payment_method - name: AccountCompanyAccountingPeriodPaymentMethod - - value: account,company,payment_method - name: AccountCompanyPaymentMethod - - value: account,payment_method - name: AccountPaymentMethod - - accounting_period - - value: accounting_period,payment_method - name: AccountingPeriodPaymentMethod - - applied_to_lines - - value: applied_to_lines,account - name: AppliedToLinesAccount - - value: applied_to_lines,account,accounting_period - name: AppliedToLinesAccountAccountingPeriod - - value: applied_to_lines,account,accounting_period,payment_method - name: AppliedToLinesAccountAccountingPeriodPaymentMethod - - value: applied_to_lines,account,company - name: AppliedToLinesAccountCompany - - value: applied_to_lines,account,company,accounting_period - name: AppliedToLinesAccountCompanyAccountingPeriod - - value: applied_to_lines,account,company,accounting_period,payment_method - name: AppliedToLinesAccountCompanyAccountingPeriodPaymentMethod - - value: applied_to_lines,account,company,payment_method - name: AppliedToLinesAccountCompanyPaymentMethod - - value: applied_to_lines,account,payment_method - name: AppliedToLinesAccountPaymentMethod - - value: applied_to_lines,accounting_period - name: AppliedToLinesAccountingPeriod - - value: applied_to_lines,accounting_period,payment_method - name: AppliedToLinesAccountingPeriodPaymentMethod - - value: applied_to_lines,company - name: AppliedToLinesCompany - - value: applied_to_lines,company,accounting_period - name: AppliedToLinesCompanyAccountingPeriod - - value: applied_to_lines,company,accounting_period,payment_method - name: AppliedToLinesCompanyAccountingPeriodPaymentMethod - - value: applied_to_lines,company,payment_method - name: AppliedToLinesCompanyPaymentMethod - - value: applied_to_lines,contact - name: AppliedToLinesContact - - value: applied_to_lines,contact,account - name: AppliedToLinesContactAccount - - value: applied_to_lines,contact,account,accounting_period - name: AppliedToLinesContactAccountAccountingPeriod - - value: applied_to_lines,contact,account,accounting_period,payment_method - name: AppliedToLinesContactAccountAccountingPeriodPaymentMethod - - value: applied_to_lines,contact,account,company - name: AppliedToLinesContactAccountCompany - - value: applied_to_lines,contact,account,company,accounting_period - name: AppliedToLinesContactAccountCompanyAccountingPeriod - - value: >- - applied_to_lines,contact,account,company,accounting_period,payment_method - name: AppliedToLinesContactAccountCompanyAccountingPeriodPaymentMethod - - value: applied_to_lines,contact,account,company,payment_method - name: AppliedToLinesContactAccountCompanyPaymentMethod - - value: applied_to_lines,contact,account,payment_method - name: AppliedToLinesContactAccountPaymentMethod - - value: applied_to_lines,contact,accounting_period - name: AppliedToLinesContactAccountingPeriod - - value: applied_to_lines,contact,accounting_period,payment_method - name: AppliedToLinesContactAccountingPeriodPaymentMethod - - value: applied_to_lines,contact,company - name: AppliedToLinesContactCompany - - value: applied_to_lines,contact,company,accounting_period - name: AppliedToLinesContactCompanyAccountingPeriod - - value: applied_to_lines,contact,company,accounting_period,payment_method - name: AppliedToLinesContactCompanyAccountingPeriodPaymentMethod - - value: applied_to_lines,contact,company,payment_method - name: AppliedToLinesContactCompanyPaymentMethod - - value: applied_to_lines,contact,payment_method - name: AppliedToLinesContactPaymentMethod - - value: applied_to_lines,payment_method - name: AppliedToLinesPaymentMethod - - company - - value: company,accounting_period - name: CompanyAccountingPeriod - - value: company,accounting_period,payment_method - name: CompanyAccountingPeriodPaymentMethod - - value: company,payment_method - name: CompanyPaymentMethod - - contact - - value: contact,account - name: ContactAccount - - value: contact,account,accounting_period - name: ContactAccountAccountingPeriod - - value: contact,account,accounting_period,payment_method - name: ContactAccountAccountingPeriodPaymentMethod - - value: contact,account,company - name: ContactAccountCompany - - value: contact,account,company,accounting_period - name: ContactAccountCompanyAccountingPeriod - - value: contact,account,company,accounting_period,payment_method - name: ContactAccountCompanyAccountingPeriodPaymentMethod - - value: contact,account,company,payment_method - name: ContactAccountCompanyPaymentMethod - - value: contact,account,payment_method - name: ContactAccountPaymentMethod - - value: contact,accounting_period - name: ContactAccountingPeriod - - value: contact,accounting_period,payment_method - name: ContactAccountingPeriodPaymentMethod - - value: contact,company - name: ContactCompany - - value: contact,company,accounting_period - name: ContactCompanyAccountingPeriod - - value: contact,company,accounting_period,payment_method - name: ContactCompanyAccountingPeriodPaymentMethod - - value: contact,company,payment_method - name: ContactCompanyPaymentMethod - - value: contact,payment_method - name: ContactPaymentMethod - - payment_method - - tracking_categories - - value: tracking_categories,account - name: TrackingCategoriesAccount - - value: tracking_categories,account,accounting_period - name: TrackingCategoriesAccountAccountingPeriod - - value: tracking_categories,account,accounting_period,payment_method - name: TrackingCategoriesAccountAccountingPeriodPaymentMethod - - value: tracking_categories,account,company - name: TrackingCategoriesAccountCompany - - value: tracking_categories,account,company,accounting_period - name: TrackingCategoriesAccountCompanyAccountingPeriod - - value: tracking_categories,account,company,accounting_period,payment_method - name: TrackingCategoriesAccountCompanyAccountingPeriodPaymentMethod - - value: tracking_categories,account,company,payment_method - name: TrackingCategoriesAccountCompanyPaymentMethod - - value: tracking_categories,account,payment_method - name: TrackingCategoriesAccountPaymentMethod - - value: tracking_categories,accounting_period - name: TrackingCategoriesAccountingPeriod - - value: tracking_categories,accounting_period,payment_method - name: TrackingCategoriesAccountingPeriodPaymentMethod - - value: tracking_categories,applied_to_lines - name: TrackingCategoriesAppliedToLines - - value: tracking_categories,applied_to_lines,account - name: TrackingCategoriesAppliedToLinesAccount - - value: tracking_categories,applied_to_lines,account,accounting_period - name: TrackingCategoriesAppliedToLinesAccountAccountingPeriod - - value: >- - tracking_categories,applied_to_lines,account,accounting_period,payment_method - name: TrackingCategoriesAppliedToLinesAccountAccountingPeriodPaymentMethod - - value: tracking_categories,applied_to_lines,account,company - name: TrackingCategoriesAppliedToLinesAccountCompany - - value: tracking_categories,applied_to_lines,account,company,accounting_period - name: TrackingCategoriesAppliedToLinesAccountCompanyAccountingPeriod - - value: >- - tracking_categories,applied_to_lines,account,company,accounting_period,payment_method - name: >- - TrackingCategoriesAppliedToLinesAccountCompanyAccountingPeriodPaymentMethod - - value: tracking_categories,applied_to_lines,account,company,payment_method - name: TrackingCategoriesAppliedToLinesAccountCompanyPaymentMethod - - value: tracking_categories,applied_to_lines,account,payment_method - name: TrackingCategoriesAppliedToLinesAccountPaymentMethod - - value: tracking_categories,applied_to_lines,accounting_period - name: TrackingCategoriesAppliedToLinesAccountingPeriod - - value: tracking_categories,applied_to_lines,accounting_period,payment_method - name: TrackingCategoriesAppliedToLinesAccountingPeriodPaymentMethod - - value: tracking_categories,applied_to_lines,company - name: TrackingCategoriesAppliedToLinesCompany - - value: tracking_categories,applied_to_lines,company,accounting_period - name: TrackingCategoriesAppliedToLinesCompanyAccountingPeriod - - value: >- - tracking_categories,applied_to_lines,company,accounting_period,payment_method - name: TrackingCategoriesAppliedToLinesCompanyAccountingPeriodPaymentMethod - - value: tracking_categories,applied_to_lines,company,payment_method - name: TrackingCategoriesAppliedToLinesCompanyPaymentMethod - - value: tracking_categories,applied_to_lines,contact - name: TrackingCategoriesAppliedToLinesContact - - value: tracking_categories,applied_to_lines,contact,account - name: TrackingCategoriesAppliedToLinesContactAccount - - value: tracking_categories,applied_to_lines,contact,account,accounting_period - name: TrackingCategoriesAppliedToLinesContactAccountAccountingPeriod - - value: >- - tracking_categories,applied_to_lines,contact,account,accounting_period,payment_method - name: >- - TrackingCategoriesAppliedToLinesContactAccountAccountingPeriodPaymentMethod - - value: tracking_categories,applied_to_lines,contact,account,company - name: TrackingCategoriesAppliedToLinesContactAccountCompany - - value: >- - tracking_categories,applied_to_lines,contact,account,company,accounting_period - name: TrackingCategoriesAppliedToLinesContactAccountCompanyAccountingPeriod - - value: >- - tracking_categories,applied_to_lines,contact,account,company,accounting_period,payment_method - name: >- - TrackingCategoriesAppliedToLinesContactAccountCompanyAccountingPeriodPaymentMethod - - value: >- - tracking_categories,applied_to_lines,contact,account,company,payment_method - name: TrackingCategoriesAppliedToLinesContactAccountCompanyPaymentMethod - - value: tracking_categories,applied_to_lines,contact,account,payment_method - name: TrackingCategoriesAppliedToLinesContactAccountPaymentMethod - - value: tracking_categories,applied_to_lines,contact,accounting_period - name: TrackingCategoriesAppliedToLinesContactAccountingPeriod - - value: >- - tracking_categories,applied_to_lines,contact,accounting_period,payment_method - name: TrackingCategoriesAppliedToLinesContactAccountingPeriodPaymentMethod - - value: tracking_categories,applied_to_lines,contact,company - name: TrackingCategoriesAppliedToLinesContactCompany - - value: tracking_categories,applied_to_lines,contact,company,accounting_period - name: TrackingCategoriesAppliedToLinesContactCompanyAccountingPeriod - - value: >- - tracking_categories,applied_to_lines,contact,company,accounting_period,payment_method - name: >- - TrackingCategoriesAppliedToLinesContactCompanyAccountingPeriodPaymentMethod - - value: tracking_categories,applied_to_lines,contact,company,payment_method - name: TrackingCategoriesAppliedToLinesContactCompanyPaymentMethod - - value: tracking_categories,applied_to_lines,contact,payment_method - name: TrackingCategoriesAppliedToLinesContactPaymentMethod - - value: tracking_categories,applied_to_lines,payment_method - name: TrackingCategoriesAppliedToLinesPaymentMethod - - value: tracking_categories,company - name: TrackingCategoriesCompany - - value: tracking_categories,company,accounting_period - name: TrackingCategoriesCompanyAccountingPeriod - - value: tracking_categories,company,accounting_period,payment_method - name: TrackingCategoriesCompanyAccountingPeriodPaymentMethod - - value: tracking_categories,company,payment_method - name: TrackingCategoriesCompanyPaymentMethod - - value: tracking_categories,contact - name: TrackingCategoriesContact - - value: tracking_categories,contact,account - name: TrackingCategoriesContactAccount - - value: tracking_categories,contact,account,accounting_period - name: TrackingCategoriesContactAccountAccountingPeriod - - value: tracking_categories,contact,account,accounting_period,payment_method - name: TrackingCategoriesContactAccountAccountingPeriodPaymentMethod - - value: tracking_categories,contact,account,company - name: TrackingCategoriesContactAccountCompany - - value: tracking_categories,contact,account,company,accounting_period - name: TrackingCategoriesContactAccountCompanyAccountingPeriod - - value: >- - tracking_categories,contact,account,company,accounting_period,payment_method - name: TrackingCategoriesContactAccountCompanyAccountingPeriodPaymentMethod - - value: tracking_categories,contact,account,company,payment_method - name: TrackingCategoriesContactAccountCompanyPaymentMethod - - value: tracking_categories,contact,account,payment_method - name: TrackingCategoriesContactAccountPaymentMethod - - value: tracking_categories,contact,accounting_period - name: TrackingCategoriesContactAccountingPeriod - - value: tracking_categories,contact,accounting_period,payment_method - name: TrackingCategoriesContactAccountingPeriodPaymentMethod - - value: tracking_categories,contact,company - name: TrackingCategoriesContactCompany - - value: tracking_categories,contact,company,accounting_period - name: TrackingCategoriesContactCompanyAccountingPeriod - - value: tracking_categories,contact,company,accounting_period,payment_method - name: TrackingCategoriesContactCompanyAccountingPeriodPaymentMethod - - value: tracking_categories,contact,company,payment_method - name: TrackingCategoriesContactCompanyPaymentMethod - - value: tracking_categories,contact,payment_method - name: TrackingCategoriesContactPaymentMethod - - value: tracking_categories,payment_method - name: TrackingCategoriesPaymentMethod - source: - openapi: openapi/openapi.yml - PaymentsRetrieveRequestExpand: - enum: - - account - - value: account,accounting_period - name: AccountAccountingPeriod - - value: account,accounting_period,payment_method - name: AccountAccountingPeriodPaymentMethod - - value: account,company - name: AccountCompany - - value: account,company,accounting_period - name: AccountCompanyAccountingPeriod - - value: account,company,accounting_period,payment_method - name: AccountCompanyAccountingPeriodPaymentMethod - - value: account,company,payment_method - name: AccountCompanyPaymentMethod - - value: account,payment_method - name: AccountPaymentMethod - - accounting_period - - value: accounting_period,payment_method - name: AccountingPeriodPaymentMethod - - applied_to_lines - - value: applied_to_lines,account - name: AppliedToLinesAccount - - value: applied_to_lines,account,accounting_period - name: AppliedToLinesAccountAccountingPeriod - - value: applied_to_lines,account,accounting_period,payment_method - name: AppliedToLinesAccountAccountingPeriodPaymentMethod - - value: applied_to_lines,account,company - name: AppliedToLinesAccountCompany - - value: applied_to_lines,account,company,accounting_period - name: AppliedToLinesAccountCompanyAccountingPeriod - - value: applied_to_lines,account,company,accounting_period,payment_method - name: AppliedToLinesAccountCompanyAccountingPeriodPaymentMethod - - value: applied_to_lines,account,company,payment_method - name: AppliedToLinesAccountCompanyPaymentMethod - - value: applied_to_lines,account,payment_method - name: AppliedToLinesAccountPaymentMethod - - value: applied_to_lines,accounting_period - name: AppliedToLinesAccountingPeriod - - value: applied_to_lines,accounting_period,payment_method - name: AppliedToLinesAccountingPeriodPaymentMethod - - value: applied_to_lines,company - name: AppliedToLinesCompany - - value: applied_to_lines,company,accounting_period - name: AppliedToLinesCompanyAccountingPeriod - - value: applied_to_lines,company,accounting_period,payment_method - name: AppliedToLinesCompanyAccountingPeriodPaymentMethod - - value: applied_to_lines,company,payment_method - name: AppliedToLinesCompanyPaymentMethod - - value: applied_to_lines,contact - name: AppliedToLinesContact - - value: applied_to_lines,contact,account - name: AppliedToLinesContactAccount - - value: applied_to_lines,contact,account,accounting_period - name: AppliedToLinesContactAccountAccountingPeriod - - value: applied_to_lines,contact,account,accounting_period,payment_method - name: AppliedToLinesContactAccountAccountingPeriodPaymentMethod - - value: applied_to_lines,contact,account,company - name: AppliedToLinesContactAccountCompany - - value: applied_to_lines,contact,account,company,accounting_period - name: AppliedToLinesContactAccountCompanyAccountingPeriod - - value: >- - applied_to_lines,contact,account,company,accounting_period,payment_method - name: AppliedToLinesContactAccountCompanyAccountingPeriodPaymentMethod - - value: applied_to_lines,contact,account,company,payment_method - name: AppliedToLinesContactAccountCompanyPaymentMethod - - value: applied_to_lines,contact,account,payment_method - name: AppliedToLinesContactAccountPaymentMethod - - value: applied_to_lines,contact,accounting_period - name: AppliedToLinesContactAccountingPeriod - - value: applied_to_lines,contact,accounting_period,payment_method - name: AppliedToLinesContactAccountingPeriodPaymentMethod - - value: applied_to_lines,contact,company - name: AppliedToLinesContactCompany - - value: applied_to_lines,contact,company,accounting_period - name: AppliedToLinesContactCompanyAccountingPeriod - - value: applied_to_lines,contact,company,accounting_period,payment_method - name: AppliedToLinesContactCompanyAccountingPeriodPaymentMethod - - value: applied_to_lines,contact,company,payment_method - name: AppliedToLinesContactCompanyPaymentMethod - - value: applied_to_lines,contact,payment_method - name: AppliedToLinesContactPaymentMethod - - value: applied_to_lines,payment_method - name: AppliedToLinesPaymentMethod - - company - - value: company,accounting_period - name: CompanyAccountingPeriod - - value: company,accounting_period,payment_method - name: CompanyAccountingPeriodPaymentMethod - - value: company,payment_method - name: CompanyPaymentMethod - - contact - - value: contact,account - name: ContactAccount - - value: contact,account,accounting_period - name: ContactAccountAccountingPeriod - - value: contact,account,accounting_period,payment_method - name: ContactAccountAccountingPeriodPaymentMethod - - value: contact,account,company - name: ContactAccountCompany - - value: contact,account,company,accounting_period - name: ContactAccountCompanyAccountingPeriod - - value: contact,account,company,accounting_period,payment_method - name: ContactAccountCompanyAccountingPeriodPaymentMethod - - value: contact,account,company,payment_method - name: ContactAccountCompanyPaymentMethod - - value: contact,account,payment_method - name: ContactAccountPaymentMethod - - value: contact,accounting_period - name: ContactAccountingPeriod - - value: contact,accounting_period,payment_method - name: ContactAccountingPeriodPaymentMethod - - value: contact,company - name: ContactCompany - - value: contact,company,accounting_period - name: ContactCompanyAccountingPeriod - - value: contact,company,accounting_period,payment_method - name: ContactCompanyAccountingPeriodPaymentMethod - - value: contact,company,payment_method - name: ContactCompanyPaymentMethod - - value: contact,payment_method - name: ContactPaymentMethod - - payment_method - - tracking_categories - - value: tracking_categories,account - name: TrackingCategoriesAccount - - value: tracking_categories,account,accounting_period - name: TrackingCategoriesAccountAccountingPeriod - - value: tracking_categories,account,accounting_period,payment_method - name: TrackingCategoriesAccountAccountingPeriodPaymentMethod - - value: tracking_categories,account,company - name: TrackingCategoriesAccountCompany - - value: tracking_categories,account,company,accounting_period - name: TrackingCategoriesAccountCompanyAccountingPeriod - - value: tracking_categories,account,company,accounting_period,payment_method - name: TrackingCategoriesAccountCompanyAccountingPeriodPaymentMethod - - value: tracking_categories,account,company,payment_method - name: TrackingCategoriesAccountCompanyPaymentMethod - - value: tracking_categories,account,payment_method - name: TrackingCategoriesAccountPaymentMethod - - value: tracking_categories,accounting_period - name: TrackingCategoriesAccountingPeriod - - value: tracking_categories,accounting_period,payment_method - name: TrackingCategoriesAccountingPeriodPaymentMethod - - value: tracking_categories,applied_to_lines - name: TrackingCategoriesAppliedToLines - - value: tracking_categories,applied_to_lines,account - name: TrackingCategoriesAppliedToLinesAccount - - value: tracking_categories,applied_to_lines,account,accounting_period - name: TrackingCategoriesAppliedToLinesAccountAccountingPeriod - - value: >- - tracking_categories,applied_to_lines,account,accounting_period,payment_method - name: TrackingCategoriesAppliedToLinesAccountAccountingPeriodPaymentMethod - - value: tracking_categories,applied_to_lines,account,company - name: TrackingCategoriesAppliedToLinesAccountCompany - - value: tracking_categories,applied_to_lines,account,company,accounting_period - name: TrackingCategoriesAppliedToLinesAccountCompanyAccountingPeriod - - value: >- - tracking_categories,applied_to_lines,account,company,accounting_period,payment_method - name: >- - TrackingCategoriesAppliedToLinesAccountCompanyAccountingPeriodPaymentMethod - - value: tracking_categories,applied_to_lines,account,company,payment_method - name: TrackingCategoriesAppliedToLinesAccountCompanyPaymentMethod - - value: tracking_categories,applied_to_lines,account,payment_method - name: TrackingCategoriesAppliedToLinesAccountPaymentMethod - - value: tracking_categories,applied_to_lines,accounting_period - name: TrackingCategoriesAppliedToLinesAccountingPeriod - - value: tracking_categories,applied_to_lines,accounting_period,payment_method - name: TrackingCategoriesAppliedToLinesAccountingPeriodPaymentMethod - - value: tracking_categories,applied_to_lines,company - name: TrackingCategoriesAppliedToLinesCompany - - value: tracking_categories,applied_to_lines,company,accounting_period - name: TrackingCategoriesAppliedToLinesCompanyAccountingPeriod - - value: >- - tracking_categories,applied_to_lines,company,accounting_period,payment_method - name: TrackingCategoriesAppliedToLinesCompanyAccountingPeriodPaymentMethod - - value: tracking_categories,applied_to_lines,company,payment_method - name: TrackingCategoriesAppliedToLinesCompanyPaymentMethod - - value: tracking_categories,applied_to_lines,contact - name: TrackingCategoriesAppliedToLinesContact - - value: tracking_categories,applied_to_lines,contact,account - name: TrackingCategoriesAppliedToLinesContactAccount - - value: tracking_categories,applied_to_lines,contact,account,accounting_period - name: TrackingCategoriesAppliedToLinesContactAccountAccountingPeriod - - value: >- - tracking_categories,applied_to_lines,contact,account,accounting_period,payment_method - name: >- - TrackingCategoriesAppliedToLinesContactAccountAccountingPeriodPaymentMethod - - value: tracking_categories,applied_to_lines,contact,account,company - name: TrackingCategoriesAppliedToLinesContactAccountCompany - - value: >- - tracking_categories,applied_to_lines,contact,account,company,accounting_period - name: TrackingCategoriesAppliedToLinesContactAccountCompanyAccountingPeriod - - value: >- - tracking_categories,applied_to_lines,contact,account,company,accounting_period,payment_method - name: >- - TrackingCategoriesAppliedToLinesContactAccountCompanyAccountingPeriodPaymentMethod - - value: >- - tracking_categories,applied_to_lines,contact,account,company,payment_method - name: TrackingCategoriesAppliedToLinesContactAccountCompanyPaymentMethod - - value: tracking_categories,applied_to_lines,contact,account,payment_method - name: TrackingCategoriesAppliedToLinesContactAccountPaymentMethod - - value: tracking_categories,applied_to_lines,contact,accounting_period - name: TrackingCategoriesAppliedToLinesContactAccountingPeriod - - value: >- - tracking_categories,applied_to_lines,contact,accounting_period,payment_method - name: TrackingCategoriesAppliedToLinesContactAccountingPeriodPaymentMethod - - value: tracking_categories,applied_to_lines,contact,company - name: TrackingCategoriesAppliedToLinesContactCompany - - value: tracking_categories,applied_to_lines,contact,company,accounting_period - name: TrackingCategoriesAppliedToLinesContactCompanyAccountingPeriod - - value: >- - tracking_categories,applied_to_lines,contact,company,accounting_period,payment_method - name: >- - TrackingCategoriesAppliedToLinesContactCompanyAccountingPeriodPaymentMethod - - value: tracking_categories,applied_to_lines,contact,company,payment_method - name: TrackingCategoriesAppliedToLinesContactCompanyPaymentMethod - - value: tracking_categories,applied_to_lines,contact,payment_method - name: TrackingCategoriesAppliedToLinesContactPaymentMethod - - value: tracking_categories,applied_to_lines,payment_method - name: TrackingCategoriesAppliedToLinesPaymentMethod - - value: tracking_categories,company - name: TrackingCategoriesCompany - - value: tracking_categories,company,accounting_period - name: TrackingCategoriesCompanyAccountingPeriod - - value: tracking_categories,company,accounting_period,payment_method - name: TrackingCategoriesCompanyAccountingPeriodPaymentMethod - - value: tracking_categories,company,payment_method - name: TrackingCategoriesCompanyPaymentMethod - - value: tracking_categories,contact - name: TrackingCategoriesContact - - value: tracking_categories,contact,account - name: TrackingCategoriesContactAccount - - value: tracking_categories,contact,account,accounting_period - name: TrackingCategoriesContactAccountAccountingPeriod - - value: tracking_categories,contact,account,accounting_period,payment_method - name: TrackingCategoriesContactAccountAccountingPeriodPaymentMethod - - value: tracking_categories,contact,account,company - name: TrackingCategoriesContactAccountCompany - - value: tracking_categories,contact,account,company,accounting_period - name: TrackingCategoriesContactAccountCompanyAccountingPeriod - - value: >- - tracking_categories,contact,account,company,accounting_period,payment_method - name: TrackingCategoriesContactAccountCompanyAccountingPeriodPaymentMethod - - value: tracking_categories,contact,account,company,payment_method - name: TrackingCategoriesContactAccountCompanyPaymentMethod - - value: tracking_categories,contact,account,payment_method - name: TrackingCategoriesContactAccountPaymentMethod - - value: tracking_categories,contact,accounting_period - name: TrackingCategoriesContactAccountingPeriod - - value: tracking_categories,contact,accounting_period,payment_method - name: TrackingCategoriesContactAccountingPeriodPaymentMethod - - value: tracking_categories,contact,company - name: TrackingCategoriesContactCompany - - value: tracking_categories,contact,company,accounting_period - name: TrackingCategoriesContactCompanyAccountingPeriod - - value: tracking_categories,contact,company,accounting_period,payment_method - name: TrackingCategoriesContactCompanyAccountingPeriodPaymentMethod - - value: tracking_categories,contact,company,payment_method - name: TrackingCategoriesContactCompanyPaymentMethod - - value: tracking_categories,contact,payment_method - name: TrackingCategoriesContactPaymentMethod - - value: tracking_categories,payment_method - name: TrackingCategoriesPaymentMethod - source: - openapi: openapi/openapi.yml -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /accounting/v1/payments - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `Payment` objects. - source: - openapi: openapi/openapi.yml - request: - name: PaymentsListRequest - query-parameters: - account_id: - type: optional - docs: If provided, will only return payments for this account. - company_id: - type: optional - docs: If provided, will only return payments for this company. - contact_id: - type: optional - docs: If provided, will only return payments for this contact. - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_remote_fields: - type: optional - docs: >- - Whether to include all remote fields, including fields that Merge - did not map to common models, in a normalized format. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - page_size: - type: optional - docs: Number of results to return per page. - remote_id: - type: optional - docs: The API provider's ID for the given object. - transaction_date_after: - type: optional - docs: If provided, will only return objects created after this datetime. - transaction_date_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - response: - docs: '' - type: root.PaginatedPaymentList - status-code: 200 - examples: - - query-parameters: - account_id: account_id - company_id: company_id - contact_id: contact_id - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - expand: account - include_deleted_data: true - include_remote_data: true - include_remote_fields: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - page_size: 1 - remote_id: remote_id - transaction_date_after: '2024-01-15T09:30:00Z' - transaction_date_before: '2024-01-15T09:30:00Z' - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: b26fd49a-cbae-470a-a8f8-bcbc119e0390 - remote_id: '987300' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - transaction_date: '2020-03-31T00:00:00Z' - contact: contact - account: account - payment_method: payment_method - currency: XUA - exchange_rate: '2.9' - company: company - total_amount: 50 - type: ACCOUNTS_PAYABLE - tracking_categories: - - b38c59b0-a9d7-4740-b1ee-5436c6751e3d - - 9b840d2-686a-465a-8a8e-7b028498f8e4 - - a47e11b6-c73b-4a0c-be31-130fc48177fa - accounting_period: accounting_period - applied_to_lines: - - id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4 - remote_id: '234' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - applied_amount: '25' - applied_date: '2020-03-31T00:00:00Z' - related_object_id: a47e11b6-c73b-4a0c-be31-130fc48177fa - related_object_type: INVOICE - - id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4 - remote_id: '235' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - applied_amount: '25' - applied_date: '2020-03-31T00:00:00Z' - related_object_id: 9b96a886-29a5-452b-8733-2a1e03497cf4 - related_object_type: CREDIT_NOTE - remote_updated_at: '2020-03-31T00:00:00Z' - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /actions - data: - - Varies by platform - remote_fields: - - remote_field_class: remote_field_class - value: string - create: - path: /accounting/v1/payments - method: POST - auth: - - tokenAuth: [] - docs: Creates a `Payment` object with the given values. - source: - openapi: openapi/openapi.yml - request: - name: PaymentEndpointRequest - query-parameters: - is_debug_mode: - type: optional - docs: >- - Whether to include debug fields (such as log file links) in the - response. - run_async: - type: optional - docs: Whether or not third-party updates should be run asynchronously. - body: - properties: - model: root.PaymentRequest - content-type: application/json - response: - docs: '' - type: root.PaymentResponse - status-code: 201 - examples: - - query-parameters: - is_debug_mode: true - run_async: true - headers: - X-Account-Token: X-Account-Token - request: - model: {} - response: - body: - model: - id: b26fd49a-cbae-470a-a8f8-bcbc119e0390 - remote_id: '987300' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - transaction_date: '2020-03-31T00:00:00Z' - contact: contact - account: account - payment_method: payment_method - currency: XUA - exchange_rate: '2.9' - company: company - total_amount: 50 - type: ACCOUNTS_PAYABLE - tracking_categories: - - b38c59b0-a9d7-4740-b1ee-5436c6751e3d - - 9b840d2-686a-465a-8a8e-7b028498f8e4 - - a47e11b6-c73b-4a0c-be31-130fc48177fa - accounting_period: accounting_period - applied_to_lines: - - id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4 - remote_id: '234' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - applied_amount: '25' - applied_date: '2020-03-31T00:00:00Z' - related_object_id: a47e11b6-c73b-4a0c-be31-130fc48177fa - related_object_type: INVOICE - - id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4 - remote_id: '235' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - applied_amount: '25' - applied_date: '2020-03-31T00:00:00Z' - related_object_id: 9b96a886-29a5-452b-8733-2a1e03497cf4 - related_object_type: CREDIT_NOTE - remote_updated_at: '2020-03-31T00:00:00Z' - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /actions - data: - - Varies by platform - remote_fields: - - remote_field_class: remote_field_class - value: string - warnings: - - source: - pointer: pointer - title: Unrecognized Field - detail: An unrecognized field, age, was passed in with request data. - problem_type: UNRECOGNIZED_FIELD - errors: - - source: - pointer: pointer - title: Missing Required Field - detail: custom_fields is a required field on model. - problem_type: MISSING_REQUIRED_FIELD - logs: - - log_id: 99433219-8017-4acd-bb3c-ceb23d663832 - dashboard_view: >- - https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832 - log_summary: - url: www.exampleintegration.com/api/v1/exampleapi - method: POST - status_code: 200 - retrieve: - path: /accounting/v1/payments/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns a `Payment` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: PaymentsRetrieveRequest - query-parameters: - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_remote_fields: - type: optional - docs: >- - Whether to include all remote fields, including fields that Merge - did not map to common models, in a normalized format. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - response: - docs: '' - type: root.Payment - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - expand: account - include_remote_data: true - include_remote_fields: true - include_shell_data: true - headers: - X-Account-Token: X-Account-Token - response: - body: - id: b26fd49a-cbae-470a-a8f8-bcbc119e0390 - remote_id: '987300' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - transaction_date: '2020-03-31T00:00:00Z' - contact: contact - account: account - payment_method: payment_method - currency: XUA - exchange_rate: '2.9' - company: company - total_amount: 50 - type: ACCOUNTS_PAYABLE - tracking_categories: - - b38c59b0-a9d7-4740-b1ee-5436c6751e3d - - 9b840d2-686a-465a-8a8e-7b028498f8e4 - - a47e11b6-c73b-4a0c-be31-130fc48177fa - accounting_period: accounting_period - applied_to_lines: - - id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4 - remote_id: '234' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - applied_amount: '25' - applied_date: '2020-03-31T00:00:00Z' - related_object_id: a47e11b6-c73b-4a0c-be31-130fc48177fa - related_object_type: INVOICE - - id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4 - remote_id: '235' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - applied_amount: '25' - applied_date: '2020-03-31T00:00:00Z' - related_object_id: 9b96a886-29a5-452b-8733-2a1e03497cf4 - related_object_type: CREDIT_NOTE - remote_updated_at: '2020-03-31T00:00:00Z' - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /actions - data: - - Varies by platform - remote_fields: - - remote_field_class: remote_field_class - value: string - partialUpdate: - path: /accounting/v1/payments/{id} - method: PATCH - auth: - - tokenAuth: [] - docs: Updates a `Payment` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: PatchedPaymentEndpointRequest - query-parameters: - is_debug_mode: - type: optional - docs: >- - Whether to include debug fields (such as log file links) in the - response. - run_async: - type: optional - docs: Whether or not third-party updates should be run asynchronously. - body: - properties: - model: root.PatchedPaymentRequest - content-type: application/json - response: - docs: '' - type: root.PaymentResponse - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - is_debug_mode: true - run_async: true - headers: - X-Account-Token: X-Account-Token - request: - model: {} - response: - body: - model: - id: b26fd49a-cbae-470a-a8f8-bcbc119e0390 - remote_id: '987300' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - transaction_date: '2020-03-31T00:00:00Z' - contact: contact - account: account - payment_method: payment_method - currency: XUA - exchange_rate: '2.9' - company: company - total_amount: 50 - type: ACCOUNTS_PAYABLE - tracking_categories: - - b38c59b0-a9d7-4740-b1ee-5436c6751e3d - - 9b840d2-686a-465a-8a8e-7b028498f8e4 - - a47e11b6-c73b-4a0c-be31-130fc48177fa - accounting_period: accounting_period - applied_to_lines: - - id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4 - remote_id: '234' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - applied_amount: '25' - applied_date: '2020-03-31T00:00:00Z' - related_object_id: a47e11b6-c73b-4a0c-be31-130fc48177fa - related_object_type: INVOICE - - id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4 - remote_id: '235' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - applied_amount: '25' - applied_date: '2020-03-31T00:00:00Z' - related_object_id: 9b96a886-29a5-452b-8733-2a1e03497cf4 - related_object_type: CREDIT_NOTE - remote_updated_at: '2020-03-31T00:00:00Z' - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /actions - data: - - Varies by platform - remote_fields: - - remote_field_class: remote_field_class - value: string - warnings: - - source: - pointer: pointer - title: Unrecognized Field - detail: An unrecognized field, age, was passed in with request data. - problem_type: UNRECOGNIZED_FIELD - errors: - - source: - pointer: pointer - title: Missing Required Field - detail: custom_fields is a required field on model. - problem_type: MISSING_REQUIRED_FIELD - logs: - - log_id: 99433219-8017-4acd-bb3c-ceb23d663832 - dashboard_view: >- - https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832 - log_summary: - url: www.exampleintegration.com/api/v1/exampleapi - method: POST - status_code: 200 - lineItemsRemoteFieldClassesList: - path: /accounting/v1/payments/line-items/remote-field-classes - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `RemoteFieldClass` objects. - source: - openapi: openapi/openapi.yml - request: - name: PaymentsLineItemsRemoteFieldClassesListRequest - query-parameters: - cursor: - type: optional - docs: The pagination cursor value. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - is_common_model_field: - type: optional - docs: >- - If provided, will only return remote field classes with this - is_common_model_field value - is_custom: - type: optional - docs: >- - If provided, will only return remote fields classes with this - is_custom value - page_size: - type: optional - docs: Number of results to return per page. - response: - docs: '' - type: root.PaginatedRemoteFieldClassList - status-code: 200 - examples: - - query-parameters: - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - include_deleted_data: true - include_remote_data: true - include_shell_data: true - is_common_model_field: true - is_custom: true - page_size: 1 - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: id - display_name: display_name - remote_key_name: remote_key_name - description: description - is_custom: true - is_common_model_field: true - is_required: true - field_type: string - field_format: string - field_choices: - - field_choices - metaPatchRetrieve: - path: /accounting/v1/payments/meta/patch/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns metadata for `Payment` PATCHs. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - response: - docs: '' - type: root.MetaResponse - status-code: 200 - examples: - - path-parameters: - id: id - headers: - X-Account-Token: X-Account-Token - response: - body: - request_schema: - type: object - properties: - model: - type: object - required: - - last_name - - first_name - - merge_categories - - new_york_city_neighborhood - - favorite_tv_shows - - favorite_watch - properties: - email_addresses: - type: array - items: - type: object - properties: - value: - type: string - title: value - email_address_type: - type: string - title: email_address_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: email_addresses - description: Array of email_addresses objects - urls: - type: array - items: - type: object - properties: - value: - type: string - title: value - url_type: - type: string - title: url_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: urls - description: Array of urls objects - first_name: - type: string - title: first_name - description: The first name. - last_name: - type: string - title: last_name - description: The last name. - phone_numbers: - type: array - items: - type: object - properties: - value: - type: string - title: value - phone_number_type: - type: string - title: phone_number_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: phone_numbers - description: Array of phone_numbers objects - tags: - type: array - items: - type: string - format: uuid - title: tags - description: Array of tags names - attachments: - type: array - items: - type: object - properties: - id: - type: string - title: id - file_url: - type: string - title: file_url - file_name: - type: string - title: file_name - attachment_type: - type: string - title: attachment_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: attachments - description: 'Array of attachments objects ' - merge_categories: - type: array - categories: - type: string - enum: - - HRIS - - ATS - - Accounting - - Ticketing - - File Storage - - CRM - - Marketing Automation - enum_information: - - value: HRIS - description: Merge HRIS Category - - value: ATS - description: Merge ATS Category - - value: Accounting - description: Merge Accounting Category - - value: Ticketing - description: Merge Ticketing Category - - value: File Storage - description: Merge File Storage Category - - value: CRM - description: Merge CRM Category - - value: Marketing Automation - description: Merge Marketing Automation Category - title: Merge Categories - description: Array of Merge's Unified API Categories - new_york_city_neighborhood: - type: string - title: Borough - description: One of the 5 Boroughs of New York City - favorite_tv_shows: - type: array - items: - type: string - format: uuid - title: Favorite TV Shows - description: Array of TV Show objects on merge.tv_shows - favorite_watch: - type: string - title: Favorite Watch - description: Favorite watch of all time - remote_field_classes: - key: value - status: - linked_account_status: linked_account_status - can_make_request: true - has_conditional_params: true - has_required_linked_account_params: true - metaPostRetrieve: - path: /accounting/v1/payments/meta/post - method: GET - auth: - - tokenAuth: [] - docs: Returns metadata for `Payment` POSTs. - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: root.MetaResponse - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - request_schema: - type: object - properties: - model: - type: object - required: - - last_name - - first_name - - merge_categories - - new_york_city_neighborhood - - favorite_tv_shows - - favorite_watch - properties: - email_addresses: - type: array - items: - type: object - properties: - value: - type: string - title: value - email_address_type: - type: string - title: email_address_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: email_addresses - description: Array of email_addresses objects - urls: - type: array - items: - type: object - properties: - value: - type: string - title: value - url_type: - type: string - title: url_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: urls - description: Array of urls objects - first_name: - type: string - title: first_name - description: The first name. - last_name: - type: string - title: last_name - description: The last name. - phone_numbers: - type: array - items: - type: object - properties: - value: - type: string - title: value - phone_number_type: - type: string - title: phone_number_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: phone_numbers - description: Array of phone_numbers objects - tags: - type: array - items: - type: string - format: uuid - title: tags - description: Array of tags names - attachments: - type: array - items: - type: object - properties: - id: - type: string - title: id - file_url: - type: string - title: file_url - file_name: - type: string - title: file_name - attachment_type: - type: string - title: attachment_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: attachments - description: 'Array of attachments objects ' - merge_categories: - type: array - categories: - type: string - enum: - - HRIS - - ATS - - Accounting - - Ticketing - - File Storage - - CRM - - Marketing Automation - enum_information: - - value: HRIS - description: Merge HRIS Category - - value: ATS - description: Merge ATS Category - - value: Accounting - description: Merge Accounting Category - - value: Ticketing - description: Merge Ticketing Category - - value: File Storage - description: Merge File Storage Category - - value: CRM - description: Merge CRM Category - - value: Marketing Automation - description: Merge Marketing Automation Category - title: Merge Categories - description: Array of Merge's Unified API Categories - new_york_city_neighborhood: - type: string - title: Borough - description: One of the 5 Boroughs of New York City - favorite_tv_shows: - type: array - items: - type: string - format: uuid - title: Favorite TV Shows - description: Array of TV Show objects on merge.tv_shows - favorite_watch: - type: string - title: Favorite Watch - description: Favorite watch of all time - remote_field_classes: - key: value - status: - linked_account_status: linked_account_status - can_make_request: true - has_conditional_params: true - has_required_linked_account_params: true - remoteFieldClassesList: - path: /accounting/v1/payments/remote-field-classes - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `RemoteFieldClass` objects. - source: - openapi: openapi/openapi.yml - request: - name: PaymentsRemoteFieldClassesListRequest - query-parameters: - cursor: - type: optional - docs: The pagination cursor value. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - is_common_model_field: - type: optional - docs: >- - If provided, will only return remote field classes with this - is_common_model_field value - is_custom: - type: optional - docs: >- - If provided, will only return remote fields classes with this - is_custom value - page_size: - type: optional - docs: Number of results to return per page. - response: - docs: '' - type: root.PaginatedRemoteFieldClassList - status-code: 200 - examples: - - query-parameters: - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - include_deleted_data: true - include_remote_data: true - include_shell_data: true - is_common_model_field: true - is_custom: true - page_size: 1 - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: id - display_name: display_name - remote_key_name: remote_key_name - description: description - is_custom: true - is_common_model_field: true - is_required: true - field_type: string - field_format: string - field_choices: - - field_choices - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/accounting/phoneNumbers.yml b/.mock/definition/accounting/phoneNumbers.yml deleted file mode 100644 index 9bb476ce..00000000 --- a/.mock/definition/accounting/phoneNumbers.yml +++ /dev/null @@ -1,49 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - retrieve: - path: /accounting/v1/phone-numbers/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns an `AccountingPhoneNumber` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: PhoneNumbersRetrieveRequest - query-parameters: - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - response: - docs: '' - type: root.AccountingPhoneNumber - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - include_remote_data: true - include_shell_data: true - headers: - X-Account-Token: X-Account-Token - response: - body: - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - number: '+3198675309' - type: Mobile - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/accounting/projects.yml b/.mock/definition/accounting/projects.yml deleted file mode 100644 index bc5566aa..00000000 --- a/.mock/definition/accounting/projects.yml +++ /dev/null @@ -1,191 +0,0 @@ -types: - ProjectsListRequestExpand: - enum: - - company - - value: company,contact - name: CompanyContact - - contact - source: - openapi: openapi/openapi.yml - ProjectsRetrieveRequestExpand: - enum: - - company - - value: company,contact - name: CompanyContact - - contact - source: - openapi: openapi/openapi.yml -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /accounting/v1/projects - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `Project` objects. - source: - openapi: openapi/openapi.yml - request: - name: ProjectsListRequest - query-parameters: - company_id: - type: optional - docs: If provided, will only return projects for this company. - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - page_size: - type: optional - docs: Number of results to return per page. - remote_id: - type: optional - docs: The API provider's ID for the given object. - response: - docs: '' - type: root.PaginatedProjectList - status-code: 200 - examples: - - query-parameters: - company_id: company_id - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - expand: company - include_deleted_data: true - include_remote_data: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - page_size: 1 - remote_id: remote_id - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4 - remote_id: '088899' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Permissions Mapping - is_active: true - company: company - contact: contact - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /actions - data: - - Varies by platform - retrieve: - path: /accounting/v1/projects/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns a `Project` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: ProjectsRetrieveRequest - query-parameters: - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - response: - docs: '' - type: root.Project - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - expand: company - include_remote_data: true - include_shell_data: true - headers: - X-Account-Token: X-Account-Token - response: - body: - id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4 - remote_id: '088899' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Permissions Mapping - is_active: true - company: company - contact: contact - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /actions - data: - - Varies by platform - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/accounting/purchaseOrders.yml b/.mock/definition/accounting/purchaseOrders.yml deleted file mode 100644 index aa3a21be..00000000 --- a/.mock/definition/accounting/purchaseOrders.yml +++ /dev/null @@ -1,1356 +0,0 @@ -types: - PurchaseOrdersListRequestExpand: - enum: - - accounting_period - - value: accounting_period,payment_term - name: AccountingPeriodPaymentTerm - - company - - value: company,accounting_period - name: CompanyAccountingPeriod - - value: company,accounting_period,payment_term - name: CompanyAccountingPeriodPaymentTerm - - value: company,payment_term - name: CompanyPaymentTerm - - delivery_address - - value: delivery_address,accounting_period - name: DeliveryAddressAccountingPeriod - - value: delivery_address,accounting_period,payment_term - name: DeliveryAddressAccountingPeriodPaymentTerm - - value: delivery_address,company - name: DeliveryAddressCompany - - value: delivery_address,company,accounting_period - name: DeliveryAddressCompanyAccountingPeriod - - value: delivery_address,company,accounting_period,payment_term - name: DeliveryAddressCompanyAccountingPeriodPaymentTerm - - value: delivery_address,company,payment_term - name: DeliveryAddressCompanyPaymentTerm - - value: delivery_address,payment_term - name: DeliveryAddressPaymentTerm - - value: delivery_address,vendor - name: DeliveryAddressVendor - - value: delivery_address,vendor,accounting_period - name: DeliveryAddressVendorAccountingPeriod - - value: delivery_address,vendor,accounting_period,payment_term - name: DeliveryAddressVendorAccountingPeriodPaymentTerm - - value: delivery_address,vendor,company - name: DeliveryAddressVendorCompany - - value: delivery_address,vendor,company,accounting_period - name: DeliveryAddressVendorCompanyAccountingPeriod - - value: delivery_address,vendor,company,accounting_period,payment_term - name: DeliveryAddressVendorCompanyAccountingPeriodPaymentTerm - - value: delivery_address,vendor,company,payment_term - name: DeliveryAddressVendorCompanyPaymentTerm - - value: delivery_address,vendor,payment_term - name: DeliveryAddressVendorPaymentTerm - - line_items - - value: line_items,accounting_period - name: LineItemsAccountingPeriod - - value: line_items,accounting_period,payment_term - name: LineItemsAccountingPeriodPaymentTerm - - value: line_items,company - name: LineItemsCompany - - value: line_items,company,accounting_period - name: LineItemsCompanyAccountingPeriod - - value: line_items,company,accounting_period,payment_term - name: LineItemsCompanyAccountingPeriodPaymentTerm - - value: line_items,company,payment_term - name: LineItemsCompanyPaymentTerm - - value: line_items,delivery_address - name: LineItemsDeliveryAddress - - value: line_items,delivery_address,accounting_period - name: LineItemsDeliveryAddressAccountingPeriod - - value: line_items,delivery_address,accounting_period,payment_term - name: LineItemsDeliveryAddressAccountingPeriodPaymentTerm - - value: line_items,delivery_address,company - name: LineItemsDeliveryAddressCompany - - value: line_items,delivery_address,company,accounting_period - name: LineItemsDeliveryAddressCompanyAccountingPeriod - - value: line_items,delivery_address,company,accounting_period,payment_term - name: LineItemsDeliveryAddressCompanyAccountingPeriodPaymentTerm - - value: line_items,delivery_address,company,payment_term - name: LineItemsDeliveryAddressCompanyPaymentTerm - - value: line_items,delivery_address,payment_term - name: LineItemsDeliveryAddressPaymentTerm - - value: line_items,delivery_address,vendor - name: LineItemsDeliveryAddressVendor - - value: line_items,delivery_address,vendor,accounting_period - name: LineItemsDeliveryAddressVendorAccountingPeriod - - value: line_items,delivery_address,vendor,accounting_period,payment_term - name: LineItemsDeliveryAddressVendorAccountingPeriodPaymentTerm - - value: line_items,delivery_address,vendor,company - name: LineItemsDeliveryAddressVendorCompany - - value: line_items,delivery_address,vendor,company,accounting_period - name: LineItemsDeliveryAddressVendorCompanyAccountingPeriod - - value: >- - line_items,delivery_address,vendor,company,accounting_period,payment_term - name: LineItemsDeliveryAddressVendorCompanyAccountingPeriodPaymentTerm - - value: line_items,delivery_address,vendor,company,payment_term - name: LineItemsDeliveryAddressVendorCompanyPaymentTerm - - value: line_items,delivery_address,vendor,payment_term - name: LineItemsDeliveryAddressVendorPaymentTerm - - value: line_items,payment_term - name: LineItemsPaymentTerm - - value: line_items,tracking_categories - name: LineItemsTrackingCategories - - value: line_items,tracking_categories,accounting_period - name: LineItemsTrackingCategoriesAccountingPeriod - - value: line_items,tracking_categories,accounting_period,payment_term - name: LineItemsTrackingCategoriesAccountingPeriodPaymentTerm - - value: line_items,tracking_categories,company - name: LineItemsTrackingCategoriesCompany - - value: line_items,tracking_categories,company,accounting_period - name: LineItemsTrackingCategoriesCompanyAccountingPeriod - - value: line_items,tracking_categories,company,accounting_period,payment_term - name: LineItemsTrackingCategoriesCompanyAccountingPeriodPaymentTerm - - value: line_items,tracking_categories,company,payment_term - name: LineItemsTrackingCategoriesCompanyPaymentTerm - - value: line_items,tracking_categories,delivery_address - name: LineItemsTrackingCategoriesDeliveryAddress - - value: line_items,tracking_categories,delivery_address,accounting_period - name: LineItemsTrackingCategoriesDeliveryAddressAccountingPeriod - - value: >- - line_items,tracking_categories,delivery_address,accounting_period,payment_term - name: LineItemsTrackingCategoriesDeliveryAddressAccountingPeriodPaymentTerm - - value: line_items,tracking_categories,delivery_address,company - name: LineItemsTrackingCategoriesDeliveryAddressCompany - - value: >- - line_items,tracking_categories,delivery_address,company,accounting_period - name: LineItemsTrackingCategoriesDeliveryAddressCompanyAccountingPeriod - - value: >- - line_items,tracking_categories,delivery_address,company,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesDeliveryAddressCompanyAccountingPeriodPaymentTerm - - value: line_items,tracking_categories,delivery_address,company,payment_term - name: LineItemsTrackingCategoriesDeliveryAddressCompanyPaymentTerm - - value: line_items,tracking_categories,delivery_address,payment_term - name: LineItemsTrackingCategoriesDeliveryAddressPaymentTerm - - value: line_items,tracking_categories,delivery_address,vendor - name: LineItemsTrackingCategoriesDeliveryAddressVendor - - value: >- - line_items,tracking_categories,delivery_address,vendor,accounting_period - name: LineItemsTrackingCategoriesDeliveryAddressVendorAccountingPeriod - - value: >- - line_items,tracking_categories,delivery_address,vendor,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesDeliveryAddressVendorAccountingPeriodPaymentTerm - - value: line_items,tracking_categories,delivery_address,vendor,company - name: LineItemsTrackingCategoriesDeliveryAddressVendorCompany - - value: >- - line_items,tracking_categories,delivery_address,vendor,company,accounting_period - name: >- - LineItemsTrackingCategoriesDeliveryAddressVendorCompanyAccountingPeriod - - value: >- - line_items,tracking_categories,delivery_address,vendor,company,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesDeliveryAddressVendorCompanyAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,delivery_address,vendor,company,payment_term - name: LineItemsTrackingCategoriesDeliveryAddressVendorCompanyPaymentTerm - - value: line_items,tracking_categories,delivery_address,vendor,payment_term - name: LineItemsTrackingCategoriesDeliveryAddressVendorPaymentTerm - - value: line_items,tracking_categories,payment_term - name: LineItemsTrackingCategoriesPaymentTerm - - value: line_items,tracking_categories,vendor - name: LineItemsTrackingCategoriesVendor - - value: line_items,tracking_categories,vendor,accounting_period - name: LineItemsTrackingCategoriesVendorAccountingPeriod - - value: line_items,tracking_categories,vendor,accounting_period,payment_term - name: LineItemsTrackingCategoriesVendorAccountingPeriodPaymentTerm - - value: line_items,tracking_categories,vendor,company - name: LineItemsTrackingCategoriesVendorCompany - - value: line_items,tracking_categories,vendor,company,accounting_period - name: LineItemsTrackingCategoriesVendorCompanyAccountingPeriod - - value: >- - line_items,tracking_categories,vendor,company,accounting_period,payment_term - name: LineItemsTrackingCategoriesVendorCompanyAccountingPeriodPaymentTerm - - value: line_items,tracking_categories,vendor,company,payment_term - name: LineItemsTrackingCategoriesVendorCompanyPaymentTerm - - value: line_items,tracking_categories,vendor,payment_term - name: LineItemsTrackingCategoriesVendorPaymentTerm - - value: line_items,vendor - name: LineItemsVendor - - value: line_items,vendor,accounting_period - name: LineItemsVendorAccountingPeriod - - value: line_items,vendor,accounting_period,payment_term - name: LineItemsVendorAccountingPeriodPaymentTerm - - value: line_items,vendor,company - name: LineItemsVendorCompany - - value: line_items,vendor,company,accounting_period - name: LineItemsVendorCompanyAccountingPeriod - - value: line_items,vendor,company,accounting_period,payment_term - name: LineItemsVendorCompanyAccountingPeriodPaymentTerm - - value: line_items,vendor,company,payment_term - name: LineItemsVendorCompanyPaymentTerm - - value: line_items,vendor,payment_term - name: LineItemsVendorPaymentTerm - - payment_term - - tracking_categories - - value: tracking_categories,accounting_period - name: TrackingCategoriesAccountingPeriod - - value: tracking_categories,accounting_period,payment_term - name: TrackingCategoriesAccountingPeriodPaymentTerm - - value: tracking_categories,company - name: TrackingCategoriesCompany - - value: tracking_categories,company,accounting_period - name: TrackingCategoriesCompanyAccountingPeriod - - value: tracking_categories,company,accounting_period,payment_term - name: TrackingCategoriesCompanyAccountingPeriodPaymentTerm - - value: tracking_categories,company,payment_term - name: TrackingCategoriesCompanyPaymentTerm - - value: tracking_categories,delivery_address - name: TrackingCategoriesDeliveryAddress - - value: tracking_categories,delivery_address,accounting_period - name: TrackingCategoriesDeliveryAddressAccountingPeriod - - value: tracking_categories,delivery_address,accounting_period,payment_term - name: TrackingCategoriesDeliveryAddressAccountingPeriodPaymentTerm - - value: tracking_categories,delivery_address,company - name: TrackingCategoriesDeliveryAddressCompany - - value: tracking_categories,delivery_address,company,accounting_period - name: TrackingCategoriesDeliveryAddressCompanyAccountingPeriod - - value: >- - tracking_categories,delivery_address,company,accounting_period,payment_term - name: TrackingCategoriesDeliveryAddressCompanyAccountingPeriodPaymentTerm - - value: tracking_categories,delivery_address,company,payment_term - name: TrackingCategoriesDeliveryAddressCompanyPaymentTerm - - value: tracking_categories,delivery_address,payment_term - name: TrackingCategoriesDeliveryAddressPaymentTerm - - value: tracking_categories,delivery_address,vendor - name: TrackingCategoriesDeliveryAddressVendor - - value: tracking_categories,delivery_address,vendor,accounting_period - name: TrackingCategoriesDeliveryAddressVendorAccountingPeriod - - value: >- - tracking_categories,delivery_address,vendor,accounting_period,payment_term - name: TrackingCategoriesDeliveryAddressVendorAccountingPeriodPaymentTerm - - value: tracking_categories,delivery_address,vendor,company - name: TrackingCategoriesDeliveryAddressVendorCompany - - value: tracking_categories,delivery_address,vendor,company,accounting_period - name: TrackingCategoriesDeliveryAddressVendorCompanyAccountingPeriod - - value: >- - tracking_categories,delivery_address,vendor,company,accounting_period,payment_term - name: >- - TrackingCategoriesDeliveryAddressVendorCompanyAccountingPeriodPaymentTerm - - value: tracking_categories,delivery_address,vendor,company,payment_term - name: TrackingCategoriesDeliveryAddressVendorCompanyPaymentTerm - - value: tracking_categories,delivery_address,vendor,payment_term - name: TrackingCategoriesDeliveryAddressVendorPaymentTerm - - value: tracking_categories,payment_term - name: TrackingCategoriesPaymentTerm - - value: tracking_categories,vendor - name: TrackingCategoriesVendor - - value: tracking_categories,vendor,accounting_period - name: TrackingCategoriesVendorAccountingPeriod - - value: tracking_categories,vendor,accounting_period,payment_term - name: TrackingCategoriesVendorAccountingPeriodPaymentTerm - - value: tracking_categories,vendor,company - name: TrackingCategoriesVendorCompany - - value: tracking_categories,vendor,company,accounting_period - name: TrackingCategoriesVendorCompanyAccountingPeriod - - value: tracking_categories,vendor,company,accounting_period,payment_term - name: TrackingCategoriesVendorCompanyAccountingPeriodPaymentTerm - - value: tracking_categories,vendor,company,payment_term - name: TrackingCategoriesVendorCompanyPaymentTerm - - value: tracking_categories,vendor,payment_term - name: TrackingCategoriesVendorPaymentTerm - - vendor - - value: vendor,accounting_period - name: VendorAccountingPeriod - - value: vendor,accounting_period,payment_term - name: VendorAccountingPeriodPaymentTerm - - value: vendor,company - name: VendorCompany - - value: vendor,company,accounting_period - name: VendorCompanyAccountingPeriod - - value: vendor,company,accounting_period,payment_term - name: VendorCompanyAccountingPeriodPaymentTerm - - value: vendor,company,payment_term - name: VendorCompanyPaymentTerm - - value: vendor,payment_term - name: VendorPaymentTerm - source: - openapi: openapi/openapi.yml - PurchaseOrdersRetrieveRequestExpand: - enum: - - accounting_period - - value: accounting_period,payment_term - name: AccountingPeriodPaymentTerm - - company - - value: company,accounting_period - name: CompanyAccountingPeriod - - value: company,accounting_period,payment_term - name: CompanyAccountingPeriodPaymentTerm - - value: company,payment_term - name: CompanyPaymentTerm - - delivery_address - - value: delivery_address,accounting_period - name: DeliveryAddressAccountingPeriod - - value: delivery_address,accounting_period,payment_term - name: DeliveryAddressAccountingPeriodPaymentTerm - - value: delivery_address,company - name: DeliveryAddressCompany - - value: delivery_address,company,accounting_period - name: DeliveryAddressCompanyAccountingPeriod - - value: delivery_address,company,accounting_period,payment_term - name: DeliveryAddressCompanyAccountingPeriodPaymentTerm - - value: delivery_address,company,payment_term - name: DeliveryAddressCompanyPaymentTerm - - value: delivery_address,payment_term - name: DeliveryAddressPaymentTerm - - value: delivery_address,vendor - name: DeliveryAddressVendor - - value: delivery_address,vendor,accounting_period - name: DeliveryAddressVendorAccountingPeriod - - value: delivery_address,vendor,accounting_period,payment_term - name: DeliveryAddressVendorAccountingPeriodPaymentTerm - - value: delivery_address,vendor,company - name: DeliveryAddressVendorCompany - - value: delivery_address,vendor,company,accounting_period - name: DeliveryAddressVendorCompanyAccountingPeriod - - value: delivery_address,vendor,company,accounting_period,payment_term - name: DeliveryAddressVendorCompanyAccountingPeriodPaymentTerm - - value: delivery_address,vendor,company,payment_term - name: DeliveryAddressVendorCompanyPaymentTerm - - value: delivery_address,vendor,payment_term - name: DeliveryAddressVendorPaymentTerm - - line_items - - value: line_items,accounting_period - name: LineItemsAccountingPeriod - - value: line_items,accounting_period,payment_term - name: LineItemsAccountingPeriodPaymentTerm - - value: line_items,company - name: LineItemsCompany - - value: line_items,company,accounting_period - name: LineItemsCompanyAccountingPeriod - - value: line_items,company,accounting_period,payment_term - name: LineItemsCompanyAccountingPeriodPaymentTerm - - value: line_items,company,payment_term - name: LineItemsCompanyPaymentTerm - - value: line_items,delivery_address - name: LineItemsDeliveryAddress - - value: line_items,delivery_address,accounting_period - name: LineItemsDeliveryAddressAccountingPeriod - - value: line_items,delivery_address,accounting_period,payment_term - name: LineItemsDeliveryAddressAccountingPeriodPaymentTerm - - value: line_items,delivery_address,company - name: LineItemsDeliveryAddressCompany - - value: line_items,delivery_address,company,accounting_period - name: LineItemsDeliveryAddressCompanyAccountingPeriod - - value: line_items,delivery_address,company,accounting_period,payment_term - name: LineItemsDeliveryAddressCompanyAccountingPeriodPaymentTerm - - value: line_items,delivery_address,company,payment_term - name: LineItemsDeliveryAddressCompanyPaymentTerm - - value: line_items,delivery_address,payment_term - name: LineItemsDeliveryAddressPaymentTerm - - value: line_items,delivery_address,vendor - name: LineItemsDeliveryAddressVendor - - value: line_items,delivery_address,vendor,accounting_period - name: LineItemsDeliveryAddressVendorAccountingPeriod - - value: line_items,delivery_address,vendor,accounting_period,payment_term - name: LineItemsDeliveryAddressVendorAccountingPeriodPaymentTerm - - value: line_items,delivery_address,vendor,company - name: LineItemsDeliveryAddressVendorCompany - - value: line_items,delivery_address,vendor,company,accounting_period - name: LineItemsDeliveryAddressVendorCompanyAccountingPeriod - - value: >- - line_items,delivery_address,vendor,company,accounting_period,payment_term - name: LineItemsDeliveryAddressVendorCompanyAccountingPeriodPaymentTerm - - value: line_items,delivery_address,vendor,company,payment_term - name: LineItemsDeliveryAddressVendorCompanyPaymentTerm - - value: line_items,delivery_address,vendor,payment_term - name: LineItemsDeliveryAddressVendorPaymentTerm - - value: line_items,payment_term - name: LineItemsPaymentTerm - - value: line_items,tracking_categories - name: LineItemsTrackingCategories - - value: line_items,tracking_categories,accounting_period - name: LineItemsTrackingCategoriesAccountingPeriod - - value: line_items,tracking_categories,accounting_period,payment_term - name: LineItemsTrackingCategoriesAccountingPeriodPaymentTerm - - value: line_items,tracking_categories,company - name: LineItemsTrackingCategoriesCompany - - value: line_items,tracking_categories,company,accounting_period - name: LineItemsTrackingCategoriesCompanyAccountingPeriod - - value: line_items,tracking_categories,company,accounting_period,payment_term - name: LineItemsTrackingCategoriesCompanyAccountingPeriodPaymentTerm - - value: line_items,tracking_categories,company,payment_term - name: LineItemsTrackingCategoriesCompanyPaymentTerm - - value: line_items,tracking_categories,delivery_address - name: LineItemsTrackingCategoriesDeliveryAddress - - value: line_items,tracking_categories,delivery_address,accounting_period - name: LineItemsTrackingCategoriesDeliveryAddressAccountingPeriod - - value: >- - line_items,tracking_categories,delivery_address,accounting_period,payment_term - name: LineItemsTrackingCategoriesDeliveryAddressAccountingPeriodPaymentTerm - - value: line_items,tracking_categories,delivery_address,company - name: LineItemsTrackingCategoriesDeliveryAddressCompany - - value: >- - line_items,tracking_categories,delivery_address,company,accounting_period - name: LineItemsTrackingCategoriesDeliveryAddressCompanyAccountingPeriod - - value: >- - line_items,tracking_categories,delivery_address,company,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesDeliveryAddressCompanyAccountingPeriodPaymentTerm - - value: line_items,tracking_categories,delivery_address,company,payment_term - name: LineItemsTrackingCategoriesDeliveryAddressCompanyPaymentTerm - - value: line_items,tracking_categories,delivery_address,payment_term - name: LineItemsTrackingCategoriesDeliveryAddressPaymentTerm - - value: line_items,tracking_categories,delivery_address,vendor - name: LineItemsTrackingCategoriesDeliveryAddressVendor - - value: >- - line_items,tracking_categories,delivery_address,vendor,accounting_period - name: LineItemsTrackingCategoriesDeliveryAddressVendorAccountingPeriod - - value: >- - line_items,tracking_categories,delivery_address,vendor,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesDeliveryAddressVendorAccountingPeriodPaymentTerm - - value: line_items,tracking_categories,delivery_address,vendor,company - name: LineItemsTrackingCategoriesDeliveryAddressVendorCompany - - value: >- - line_items,tracking_categories,delivery_address,vendor,company,accounting_period - name: >- - LineItemsTrackingCategoriesDeliveryAddressVendorCompanyAccountingPeriod - - value: >- - line_items,tracking_categories,delivery_address,vendor,company,accounting_period,payment_term - name: >- - LineItemsTrackingCategoriesDeliveryAddressVendorCompanyAccountingPeriodPaymentTerm - - value: >- - line_items,tracking_categories,delivery_address,vendor,company,payment_term - name: LineItemsTrackingCategoriesDeliveryAddressVendorCompanyPaymentTerm - - value: line_items,tracking_categories,delivery_address,vendor,payment_term - name: LineItemsTrackingCategoriesDeliveryAddressVendorPaymentTerm - - value: line_items,tracking_categories,payment_term - name: LineItemsTrackingCategoriesPaymentTerm - - value: line_items,tracking_categories,vendor - name: LineItemsTrackingCategoriesVendor - - value: line_items,tracking_categories,vendor,accounting_period - name: LineItemsTrackingCategoriesVendorAccountingPeriod - - value: line_items,tracking_categories,vendor,accounting_period,payment_term - name: LineItemsTrackingCategoriesVendorAccountingPeriodPaymentTerm - - value: line_items,tracking_categories,vendor,company - name: LineItemsTrackingCategoriesVendorCompany - - value: line_items,tracking_categories,vendor,company,accounting_period - name: LineItemsTrackingCategoriesVendorCompanyAccountingPeriod - - value: >- - line_items,tracking_categories,vendor,company,accounting_period,payment_term - name: LineItemsTrackingCategoriesVendorCompanyAccountingPeriodPaymentTerm - - value: line_items,tracking_categories,vendor,company,payment_term - name: LineItemsTrackingCategoriesVendorCompanyPaymentTerm - - value: line_items,tracking_categories,vendor,payment_term - name: LineItemsTrackingCategoriesVendorPaymentTerm - - value: line_items,vendor - name: LineItemsVendor - - value: line_items,vendor,accounting_period - name: LineItemsVendorAccountingPeriod - - value: line_items,vendor,accounting_period,payment_term - name: LineItemsVendorAccountingPeriodPaymentTerm - - value: line_items,vendor,company - name: LineItemsVendorCompany - - value: line_items,vendor,company,accounting_period - name: LineItemsVendorCompanyAccountingPeriod - - value: line_items,vendor,company,accounting_period,payment_term - name: LineItemsVendorCompanyAccountingPeriodPaymentTerm - - value: line_items,vendor,company,payment_term - name: LineItemsVendorCompanyPaymentTerm - - value: line_items,vendor,payment_term - name: LineItemsVendorPaymentTerm - - payment_term - - tracking_categories - - value: tracking_categories,accounting_period - name: TrackingCategoriesAccountingPeriod - - value: tracking_categories,accounting_period,payment_term - name: TrackingCategoriesAccountingPeriodPaymentTerm - - value: tracking_categories,company - name: TrackingCategoriesCompany - - value: tracking_categories,company,accounting_period - name: TrackingCategoriesCompanyAccountingPeriod - - value: tracking_categories,company,accounting_period,payment_term - name: TrackingCategoriesCompanyAccountingPeriodPaymentTerm - - value: tracking_categories,company,payment_term - name: TrackingCategoriesCompanyPaymentTerm - - value: tracking_categories,delivery_address - name: TrackingCategoriesDeliveryAddress - - value: tracking_categories,delivery_address,accounting_period - name: TrackingCategoriesDeliveryAddressAccountingPeriod - - value: tracking_categories,delivery_address,accounting_period,payment_term - name: TrackingCategoriesDeliveryAddressAccountingPeriodPaymentTerm - - value: tracking_categories,delivery_address,company - name: TrackingCategoriesDeliveryAddressCompany - - value: tracking_categories,delivery_address,company,accounting_period - name: TrackingCategoriesDeliveryAddressCompanyAccountingPeriod - - value: >- - tracking_categories,delivery_address,company,accounting_period,payment_term - name: TrackingCategoriesDeliveryAddressCompanyAccountingPeriodPaymentTerm - - value: tracking_categories,delivery_address,company,payment_term - name: TrackingCategoriesDeliveryAddressCompanyPaymentTerm - - value: tracking_categories,delivery_address,payment_term - name: TrackingCategoriesDeliveryAddressPaymentTerm - - value: tracking_categories,delivery_address,vendor - name: TrackingCategoriesDeliveryAddressVendor - - value: tracking_categories,delivery_address,vendor,accounting_period - name: TrackingCategoriesDeliveryAddressVendorAccountingPeriod - - value: >- - tracking_categories,delivery_address,vendor,accounting_period,payment_term - name: TrackingCategoriesDeliveryAddressVendorAccountingPeriodPaymentTerm - - value: tracking_categories,delivery_address,vendor,company - name: TrackingCategoriesDeliveryAddressVendorCompany - - value: tracking_categories,delivery_address,vendor,company,accounting_period - name: TrackingCategoriesDeliveryAddressVendorCompanyAccountingPeriod - - value: >- - tracking_categories,delivery_address,vendor,company,accounting_period,payment_term - name: >- - TrackingCategoriesDeliveryAddressVendorCompanyAccountingPeriodPaymentTerm - - value: tracking_categories,delivery_address,vendor,company,payment_term - name: TrackingCategoriesDeliveryAddressVendorCompanyPaymentTerm - - value: tracking_categories,delivery_address,vendor,payment_term - name: TrackingCategoriesDeliveryAddressVendorPaymentTerm - - value: tracking_categories,payment_term - name: TrackingCategoriesPaymentTerm - - value: tracking_categories,vendor - name: TrackingCategoriesVendor - - value: tracking_categories,vendor,accounting_period - name: TrackingCategoriesVendorAccountingPeriod - - value: tracking_categories,vendor,accounting_period,payment_term - name: TrackingCategoriesVendorAccountingPeriodPaymentTerm - - value: tracking_categories,vendor,company - name: TrackingCategoriesVendorCompany - - value: tracking_categories,vendor,company,accounting_period - name: TrackingCategoriesVendorCompanyAccountingPeriod - - value: tracking_categories,vendor,company,accounting_period,payment_term - name: TrackingCategoriesVendorCompanyAccountingPeriodPaymentTerm - - value: tracking_categories,vendor,company,payment_term - name: TrackingCategoriesVendorCompanyPaymentTerm - - value: tracking_categories,vendor,payment_term - name: TrackingCategoriesVendorPaymentTerm - - vendor - - value: vendor,accounting_period - name: VendorAccountingPeriod - - value: vendor,accounting_period,payment_term - name: VendorAccountingPeriodPaymentTerm - - value: vendor,company - name: VendorCompany - - value: vendor,company,accounting_period - name: VendorCompanyAccountingPeriod - - value: vendor,company,accounting_period,payment_term - name: VendorCompanyAccountingPeriodPaymentTerm - - value: vendor,company,payment_term - name: VendorCompanyPaymentTerm - - value: vendor,payment_term - name: VendorPaymentTerm - source: - openapi: openapi/openapi.yml -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /accounting/v1/purchase-orders - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `PurchaseOrder` objects. - source: - openapi: openapi/openapi.yml - request: - name: PurchaseOrdersListRequest - query-parameters: - company_id: - type: optional - docs: If provided, will only return purchase orders for this company. - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_remote_fields: - type: optional - docs: >- - Whether to include all remote fields, including fields that Merge - did not map to common models, in a normalized format. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - issue_date_after: - type: optional - docs: If provided, will only return objects created after this datetime. - issue_date_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - page_size: - type: optional - docs: Number of results to return per page. - remote_fields: - type: optional> - docs: Deprecated. Use show_enum_origins. - remote_id: - type: optional - docs: The API provider's ID for the given object. - show_enum_origins: - type: optional> - docs: >- - A comma separated list of enum field names for which you'd like - the original values to be returned, instead of Merge's normalized - enum values. [Learn - more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - response: - docs: '' - type: root.PaginatedPurchaseOrderList - status-code: 200 - examples: - - query-parameters: - company_id: company_id - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - expand: accounting_period - include_deleted_data: true - include_remote_data: true - include_remote_fields: true - include_shell_data: true - issue_date_after: '2024-01-15T09:30:00Z' - issue_date_before: '2024-01-15T09:30:00Z' - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - page_size: 1 - remote_fields: status - remote_id: remote_id - show_enum_origins: status - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: 0048ea5b-911e-4dff-9364-92070dea62ff - remote_id: '239741' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - status: DRAFT - issue_date: '2020-03-31T00:00:00Z' - purchase_order_number: PO1234 - delivery_date: '2020-04-15T00:00:00Z' - delivery_address: delivery_address - customer: 3e442c5d-8f51-4103-b5c9-dcee39c30a08 - vendor: vendor - memo: private note - company: company - total_amount: 260 - currency: XUA - exchange_rate: '2.9' - payment_term: payment_term - line_items: - - id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4 - remote_id: '121222' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - description: Pickleball paddles - unit_price: 25 - quantity: 10 - item: 0958cbc6-6040-430a-848e-aafacbadf4ae - tracking_categories: - - f1214c24-2702-4617-b74b-3ddecfc0d384 - - 9b840d2-686a-465a-8a8e-7b028498f8e4 - - a47e11b6-c73b-4a0c-be31-130fc48177fa - tax_amount: tax_amount - total_line_amount: total_line_amount - currency: USD - tax_rate: a12e7c20-1922-9df7-s75n-edfeewnn7384 - exchange_rate: '2.9' - company: 595c8f97-2ac4-45b7-b000-41bdf43240b5 - remote_was_deleted: false - - id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4 - remote_id: '121222' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - description: Pickleball Balls - unit_price: 1 - quantity: 10 - item: 249c9faa-3045-4a31-953b-8f22d3613301 - tracking_categories: - - f1214c24-2702-4617-b74b-3ddecfc0d384 - - 9b840d2-686a-465a-8a8e-7b028498f8e4 - - a47e11b6-c73b-4a0c-be31-130fc48177fa - tax_amount: tax_amount - total_line_amount: total_line_amount - tax_rate: a12e7c20-1922-9df7-s75n-edfeewnn7384 - exchange_rate: '2.9' - company: 595c8f97-2ac4-45b7-b000-41bdf43240b5 - inclusive_of_tax: true - tracking_categories: - - b38c59b0-a9d7-4740-b1ee-5436c6751e3d - - 9b840d2-686a-465a-8a8e-7b028498f8e4 - - a47e11b6-c73b-4a0c-be31-130fc48177fa - accounting_period: accounting_period - remote_created_at: '2020-03-31T00:00:00Z' - remote_updated_at: '2020-03-31T00:00:00Z' - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /actions - data: - - Varies by platform - remote_fields: - - remote_field_class: remote_field_class - value: string - create: - path: /accounting/v1/purchase-orders - method: POST - auth: - - tokenAuth: [] - docs: Creates a `PurchaseOrder` object with the given values. - source: - openapi: openapi/openapi.yml - request: - name: PurchaseOrderEndpointRequest - query-parameters: - is_debug_mode: - type: optional - docs: >- - Whether to include debug fields (such as log file links) in the - response. - run_async: - type: optional - docs: Whether or not third-party updates should be run asynchronously. - body: - properties: - model: root.PurchaseOrderRequest - content-type: application/json - response: - docs: '' - type: root.PurchaseOrderResponse - status-code: 201 - examples: - - query-parameters: - is_debug_mode: true - run_async: true - headers: - X-Account-Token: X-Account-Token - request: - model: {} - response: - body: - model: - id: 0048ea5b-911e-4dff-9364-92070dea62ff - remote_id: '239741' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - status: DRAFT - issue_date: '2020-03-31T00:00:00Z' - purchase_order_number: PO1234 - delivery_date: '2020-04-15T00:00:00Z' - delivery_address: delivery_address - customer: 3e442c5d-8f51-4103-b5c9-dcee39c30a08 - vendor: vendor - memo: private note - company: company - total_amount: 260 - currency: XUA - exchange_rate: '2.9' - payment_term: payment_term - line_items: - - id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4 - remote_id: '121222' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - description: Pickleball paddles - unit_price: 25 - quantity: 10 - item: 0958cbc6-6040-430a-848e-aafacbadf4ae - tracking_categories: - - f1214c24-2702-4617-b74b-3ddecfc0d384 - - 9b840d2-686a-465a-8a8e-7b028498f8e4 - - a47e11b6-c73b-4a0c-be31-130fc48177fa - tax_amount: tax_amount - total_line_amount: total_line_amount - currency: USD - tax_rate: a12e7c20-1922-9df7-s75n-edfeewnn7384 - exchange_rate: '2.9' - company: 595c8f97-2ac4-45b7-b000-41bdf43240b5 - remote_was_deleted: false - - id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4 - remote_id: '121222' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - description: Pickleball Balls - unit_price: 1 - quantity: 10 - item: 249c9faa-3045-4a31-953b-8f22d3613301 - tracking_categories: - - f1214c24-2702-4617-b74b-3ddecfc0d384 - - 9b840d2-686a-465a-8a8e-7b028498f8e4 - - a47e11b6-c73b-4a0c-be31-130fc48177fa - tax_amount: tax_amount - total_line_amount: total_line_amount - tax_rate: a12e7c20-1922-9df7-s75n-edfeewnn7384 - exchange_rate: '2.9' - company: 595c8f97-2ac4-45b7-b000-41bdf43240b5 - inclusive_of_tax: true - tracking_categories: - - b38c59b0-a9d7-4740-b1ee-5436c6751e3d - - 9b840d2-686a-465a-8a8e-7b028498f8e4 - - a47e11b6-c73b-4a0c-be31-130fc48177fa - accounting_period: accounting_period - remote_created_at: '2020-03-31T00:00:00Z' - remote_updated_at: '2020-03-31T00:00:00Z' - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /actions - data: - - Varies by platform - remote_fields: - - remote_field_class: remote_field_class - value: string - warnings: - - source: - pointer: pointer - title: Unrecognized Field - detail: An unrecognized field, age, was passed in with request data. - problem_type: UNRECOGNIZED_FIELD - errors: - - source: - pointer: pointer - title: Missing Required Field - detail: custom_fields is a required field on model. - problem_type: MISSING_REQUIRED_FIELD - logs: - - log_id: 99433219-8017-4acd-bb3c-ceb23d663832 - dashboard_view: >- - https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832 - log_summary: - url: www.exampleintegration.com/api/v1/exampleapi - method: POST - status_code: 200 - retrieve: - path: /accounting/v1/purchase-orders/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns a `PurchaseOrder` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: PurchaseOrdersRetrieveRequest - query-parameters: - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_remote_fields: - type: optional - docs: >- - Whether to include all remote fields, including fields that Merge - did not map to common models, in a normalized format. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - remote_fields: - type: optional> - docs: Deprecated. Use show_enum_origins. - show_enum_origins: - type: optional> - docs: >- - A comma separated list of enum field names for which you'd like - the original values to be returned, instead of Merge's normalized - enum values. [Learn - more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - response: - docs: '' - type: root.PurchaseOrder - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - expand: accounting_period - include_remote_data: true - include_remote_fields: true - include_shell_data: true - remote_fields: status - show_enum_origins: status - headers: - X-Account-Token: X-Account-Token - response: - body: - id: 0048ea5b-911e-4dff-9364-92070dea62ff - remote_id: '239741' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - status: DRAFT - issue_date: '2020-03-31T00:00:00Z' - purchase_order_number: PO1234 - delivery_date: '2020-04-15T00:00:00Z' - delivery_address: delivery_address - customer: 3e442c5d-8f51-4103-b5c9-dcee39c30a08 - vendor: vendor - memo: private note - company: company - total_amount: 260 - currency: XUA - exchange_rate: '2.9' - payment_term: payment_term - line_items: - - id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4 - remote_id: '121222' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - description: Pickleball paddles - unit_price: 25 - quantity: 10 - item: 0958cbc6-6040-430a-848e-aafacbadf4ae - account: account - tracking_categories: - - f1214c24-2702-4617-b74b-3ddecfc0d384 - - 9b840d2-686a-465a-8a8e-7b028498f8e4 - - a47e11b6-c73b-4a0c-be31-130fc48177fa - tax_amount: tax_amount - total_line_amount: total_line_amount - currency: USD - tax_rate: a12e7c20-1922-9df7-s75n-edfeewnn7384 - exchange_rate: '2.9' - company: 595c8f97-2ac4-45b7-b000-41bdf43240b5 - remote_was_deleted: false - remote_fields: - - remote_field_class: remote_field_class - value: string - - id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4 - remote_id: '121222' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - description: Pickleball Balls - unit_price: 1 - quantity: 10 - item: 249c9faa-3045-4a31-953b-8f22d3613301 - account: account - tracking_categories: - - f1214c24-2702-4617-b74b-3ddecfc0d384 - - 9b840d2-686a-465a-8a8e-7b028498f8e4 - - a47e11b6-c73b-4a0c-be31-130fc48177fa - tax_amount: tax_amount - total_line_amount: total_line_amount - currency: XUA - tax_rate: a12e7c20-1922-9df7-s75n-edfeewnn7384 - exchange_rate: '2.9' - company: 595c8f97-2ac4-45b7-b000-41bdf43240b5 - remote_was_deleted: true - remote_fields: - - remote_field_class: remote_field_class - value: string - inclusive_of_tax: true - tracking_categories: - - b38c59b0-a9d7-4740-b1ee-5436c6751e3d - - 9b840d2-686a-465a-8a8e-7b028498f8e4 - - a47e11b6-c73b-4a0c-be31-130fc48177fa - accounting_period: accounting_period - remote_created_at: '2020-03-31T00:00:00Z' - remote_updated_at: '2020-03-31T00:00:00Z' - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /actions - data: - - Varies by platform - remote_fields: - - remote_field_class: remote_field_class - value: string - lineItemsRemoteFieldClassesList: - path: /accounting/v1/purchase-orders/line-items/remote-field-classes - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `RemoteFieldClass` objects. - source: - openapi: openapi/openapi.yml - request: - name: PurchaseOrdersLineItemsRemoteFieldClassesListRequest - query-parameters: - cursor: - type: optional - docs: The pagination cursor value. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - is_common_model_field: - type: optional - docs: >- - If provided, will only return remote field classes with this - is_common_model_field value - is_custom: - type: optional - docs: >- - If provided, will only return remote fields classes with this - is_custom value - page_size: - type: optional - docs: Number of results to return per page. - response: - docs: '' - type: root.PaginatedRemoteFieldClassList - status-code: 200 - examples: - - query-parameters: - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - include_deleted_data: true - include_remote_data: true - include_shell_data: true - is_common_model_field: true - is_custom: true - page_size: 1 - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: id - display_name: display_name - remote_key_name: remote_key_name - description: description - is_custom: true - is_common_model_field: true - is_required: true - field_type: string - field_format: string - field_choices: - - field_choices - metaPostRetrieve: - path: /accounting/v1/purchase-orders/meta/post - method: GET - auth: - - tokenAuth: [] - docs: Returns metadata for `PurchaseOrder` POSTs. - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: root.MetaResponse - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - request_schema: - type: object - properties: - model: - type: object - required: - - last_name - - first_name - - merge_categories - - new_york_city_neighborhood - - favorite_tv_shows - - favorite_watch - properties: - email_addresses: - type: array - items: - type: object - properties: - value: - type: string - title: value - email_address_type: - type: string - title: email_address_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: email_addresses - description: Array of email_addresses objects - urls: - type: array - items: - type: object - properties: - value: - type: string - title: value - url_type: - type: string - title: url_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: urls - description: Array of urls objects - first_name: - type: string - title: first_name - description: The first name. - last_name: - type: string - title: last_name - description: The last name. - phone_numbers: - type: array - items: - type: object - properties: - value: - type: string - title: value - phone_number_type: - type: string - title: phone_number_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: phone_numbers - description: Array of phone_numbers objects - tags: - type: array - items: - type: string - format: uuid - title: tags - description: Array of tags names - attachments: - type: array - items: - type: object - properties: - id: - type: string - title: id - file_url: - type: string - title: file_url - file_name: - type: string - title: file_name - attachment_type: - type: string - title: attachment_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: attachments - description: 'Array of attachments objects ' - merge_categories: - type: array - categories: - type: string - enum: - - HRIS - - ATS - - Accounting - - Ticketing - - File Storage - - CRM - - Marketing Automation - enum_information: - - value: HRIS - description: Merge HRIS Category - - value: ATS - description: Merge ATS Category - - value: Accounting - description: Merge Accounting Category - - value: Ticketing - description: Merge Ticketing Category - - value: File Storage - description: Merge File Storage Category - - value: CRM - description: Merge CRM Category - - value: Marketing Automation - description: Merge Marketing Automation Category - title: Merge Categories - description: Array of Merge's Unified API Categories - new_york_city_neighborhood: - type: string - title: Borough - description: One of the 5 Boroughs of New York City - favorite_tv_shows: - type: array - items: - type: string - format: uuid - title: Favorite TV Shows - description: Array of TV Show objects on merge.tv_shows - favorite_watch: - type: string - title: Favorite Watch - description: Favorite watch of all time - remote_field_classes: - key: value - status: - linked_account_status: linked_account_status - can_make_request: true - has_conditional_params: true - has_required_linked_account_params: true - remoteFieldClassesList: - path: /accounting/v1/purchase-orders/remote-field-classes - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `RemoteFieldClass` objects. - source: - openapi: openapi/openapi.yml - request: - name: PurchaseOrdersRemoteFieldClassesListRequest - query-parameters: - cursor: - type: optional - docs: The pagination cursor value. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - is_common_model_field: - type: optional - docs: >- - If provided, will only return remote field classes with this - is_common_model_field value - is_custom: - type: optional - docs: >- - If provided, will only return remote fields classes with this - is_custom value - page_size: - type: optional - docs: Number of results to return per page. - response: - docs: '' - type: root.PaginatedRemoteFieldClassList - status-code: 200 - examples: - - query-parameters: - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - include_deleted_data: true - include_remote_data: true - include_shell_data: true - is_common_model_field: true - is_custom: true - page_size: 1 - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: id - display_name: display_name - remote_key_name: remote_key_name - description: description - is_custom: true - is_common_model_field: true - is_required: true - field_type: string - field_format: string - field_choices: - - field_choices - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/accounting/regenerateKey.yml b/.mock/definition/accounting/regenerateKey.yml deleted file mode 100644 index c9b7d9bd..00000000 --- a/.mock/definition/accounting/regenerateKey.yml +++ /dev/null @@ -1,39 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - create: - path: /accounting/v1/regenerate-key - method: POST - auth: - - tokenAuth: [] - docs: Exchange remote keys. - source: - openapi: openapi/openapi.yml - request: - name: RemoteKeyForRegenerationRequest - body: - properties: - name: - type: string - docs: The name of the remote key - validation: - minLength: 1 - content-type: application/json - response: - docs: '' - type: root.RemoteKey - status-code: 200 - examples: - - headers: - X-Account-Token: '[object Object]' - request: - name: Remote Deployment Key 1 - response: - body: - name: Remote Deployment Key 1 - key: hXY57W0g0WkdRHjCaPvwijK63fwfN-o_Wh7f30SLTq_uPCOLo-WFcA - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/accounting/scopes.yml b/.mock/definition/accounting/scopes.yml deleted file mode 100644 index d5c89507..00000000 --- a/.mock/definition/accounting/scopes.yml +++ /dev/null @@ -1,167 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - default_scopes_retrieve: - path: /accounting/v1/default-scopes - method: GET - auth: - - tokenAuth: [] - docs: >- - Get the default permissions for Merge Common Models and fields across - all Linked Accounts of a given category. [Learn - more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: root.CommonModelScopeApi - status-code: 200 - examples: - - headers: - X-Account-Token: '[object Object]' - response: - body: - common_models: - - model_name: Employee - model_permissions: - READ: - is_enabled: true - WRITE: - is_enabled: false - field_permissions: - enabled_fields: - - avatar - - created_at - - custom_fields - - date_of_birth - - first_name - - gender - - remote_created_at - - remote_data - disabled_fields: - - company - - employments - - groups - - home_location - - manager - - work_location - linked_account_scopes_retrieve: - path: /accounting/v1/linked-account-scopes - method: GET - auth: - - tokenAuth: [] - docs: >- - Get all available permissions for Merge Common Models and fields for a - single Linked Account. [Learn - more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: root.CommonModelScopeApi - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - common_models: - - model_name: Employee - model_permissions: - READ: - is_enabled: true - WRITE: - is_enabled: false - field_permissions: - enabled_fields: - - avatar - - created_at - - custom_fields - - date_of_birth - - first_name - - gender - - remote_created_at - - remote_data - disabled_fields: - - company - - employments - - groups - - home_location - - manager - - work_location - linked_account_scopes_create: - path: /accounting/v1/linked-account-scopes - method: POST - auth: - - tokenAuth: [] - docs: >- - Update permissions for any Common Model or field for a single Linked - Account. Any Scopes not set in this POST request will inherit the - default Scopes. [Learn - more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes) - source: - openapi: openapi/openapi.yml - request: - name: LinkedAccountCommonModelScopeDeserializerRequest - body: - properties: - common_models: - docs: The common models you want to update the scopes for - type: list - content-type: application/json - response: - docs: '' - type: root.CommonModelScopeApi - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - request: - common_models: - - model_name: Employee - model_permissions: - READ: - is_enabled: true - WRITE: - is_enabled: false - field_permissions: - enabled_fields: - - avatar - - home_location - disabled_fields: - - work_location - - model_name: Benefit - model_permissions: - WRITE: - is_enabled: false - response: - body: - common_models: - - model_name: Employee - model_permissions: - READ: - is_enabled: true - WRITE: - is_enabled: false - field_permissions: - enabled_fields: - - avatar - - created_at - - custom_fields - - date_of_birth - - first_name - - gender - - remote_created_at - - remote_data - disabled_fields: - - company - - employments - - groups - - home_location - - manager - - work_location - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/accounting/syncStatus.yml b/.mock/definition/accounting/syncStatus.yml deleted file mode 100644 index 7bcade2e..00000000 --- a/.mock/definition/accounting/syncStatus.yml +++ /dev/null @@ -1,60 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /accounting/v1/sync-status - method: GET - auth: - - tokenAuth: [] - docs: >- - Get sync status for the current sync and the most recently finished - sync. `last_sync_start` represents the most recent time any sync began. - `last_sync_finished` represents the most recent time any sync completed. - These timestamps may correspond to different sync instances which may - result in a sync start time being later than a separate sync completed - time. To ensure you are retrieving the latest available data reference - the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. - Possible values for `status` and `last_sync_result` are `DISABLED`, - `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more - about sync status in our [Help - Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). - source: - openapi: openapi/openapi.yml - request: - name: SyncStatusListRequest - query-parameters: - cursor: - type: optional - docs: The pagination cursor value. - page_size: - type: optional - docs: Number of results to return per page. - response: - docs: '' - type: root.PaginatedSyncStatusList - status-code: 200 - examples: - - query-parameters: - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - page_size: 1 - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - model_name: Invoice - model_id: accounting.Invoices - last_sync_start: '2021-03-30T19:44:18Z' - next_sync_start: '2021-03-30T20:44:18Z' - last_sync_result: SYNCING - last_sync_finished: '2021-03-30T19:55:18Z' - status: SYNCING - is_initial_sync: true - selective_sync_configurations_usage: IN_NEXT_SYNC - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/accounting/taxRates.yml b/.mock/definition/accounting/taxRates.yml deleted file mode 100644 index e7ee060c..00000000 --- a/.mock/definition/accounting/taxRates.yml +++ /dev/null @@ -1,207 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /accounting/v1/tax-rates - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `TaxRate` objects. - source: - openapi: openapi/openapi.yml - request: - name: TaxRatesListRequest - query-parameters: - company_id: - type: optional - docs: If provided, will only return tax rates for this company. - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - expand: - type: optional> - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - name: - type: optional - docs: If provided, will only return TaxRates with this name. - page_size: - type: optional - docs: Number of results to return per page. - remote_id: - type: optional - docs: The API provider's ID for the given object. - response: - docs: '' - type: root.PaginatedTaxRateList - status-code: 200 - examples: - - query-parameters: - company_id: company_id - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - expand: company - include_deleted_data: true - include_remote_data: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - name: name - page_size: 1 - remote_id: remote_id - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: b82302de-852e-4e60-b050-edf9da3b7c02 - remote_id: '039111' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - company: company - code: '890' - name: State tax rate - description: Sales Tax - status: ACTIVE - country: US - total_tax_rate: 15 - effective_tax_rate: 15 - tax_components: - - id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4 - remote_id: '039111' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Drink Tax Component - rate: rate - is_compound: true - component_type: SALES - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /actions - data: - - Varies by platform - retrieve: - path: /accounting/v1/tax-rates/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns a `TaxRate` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: TaxRatesRetrieveRequest - query-parameters: - expand: - type: optional> - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - response: - docs: '' - type: root.TaxRate - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - expand: company - include_remote_data: true - include_shell_data: true - headers: - X-Account-Token: X-Account-Token - response: - body: - id: b82302de-852e-4e60-b050-edf9da3b7c02 - remote_id: '039111' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - company: company - code: '890' - name: State tax rate - description: Sales Tax - status: ACTIVE - country: US - total_tax_rate: 15 - effective_tax_rate: 15 - tax_components: - - id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4 - remote_id: '039111' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Drink Tax Component - rate: rate - is_compound: true - component_type: SALES - remote_was_deleted: true - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /actions - data: - - Varies by platform - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/accounting/trackingCategories.yml b/.mock/definition/accounting/trackingCategories.yml deleted file mode 100644 index 4c3ee839..00000000 --- a/.mock/definition/accounting/trackingCategories.yml +++ /dev/null @@ -1,227 +0,0 @@ -types: - TrackingCategoriesListRequestCategoryType: - enum: - - value: '' - name: EMPTY - - CLASS - - DEPARTMENT - source: - openapi: openapi/openapi.yml - TrackingCategoriesListRequestStatus: - enum: - - value: '' - name: EMPTY - - ACTIVE - - ARCHIVED - source: - openapi: openapi/openapi.yml -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /accounting/v1/tracking-categories - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `TrackingCategory` objects. - source: - openapi: openapi/openapi.yml - request: - name: TrackingCategoriesListRequest - query-parameters: - category_type: - type: optional - docs: If provided, will only return tracking categories with this type. - company_id: - type: optional - docs: >- - If provided, will only return tracking categories for this - company. - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - expand: - type: optional> - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - name: - type: optional - docs: If provided, will only return tracking categories with this name. - page_size: - type: optional - docs: Number of results to return per page. - remote_fields: - type: optional> - docs: Deprecated. Use show_enum_origins. - remote_id: - type: optional - docs: The API provider's ID for the given object. - show_enum_origins: - type: optional> - docs: >- - A comma separated list of enum field names for which you'd like - the original values to be returned, instead of Merge's normalized - enum values. [Learn - more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - status: - type: optional - docs: >- - If provided, will only return tracking categories with this - status. - response: - docs: '' - type: root.PaginatedTrackingCategoryList - status-code: 200 - examples: - - query-parameters: - category_type: '' - company_id: company_id - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - expand: company - include_deleted_data: true - include_remote_data: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - name: name - page_size: 1 - remote_fields: status - remote_id: remote_id - show_enum_origins: status - status: '' - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4 - remote_id: '948201' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Marketing Department - status: ACTIVE - category_type: CLASS - parent_category: d25d609b-945f-4762-b55a-1c8fb220c43c - company: company - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - retrieve: - path: /accounting/v1/tracking-categories/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns a `TrackingCategory` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: TrackingCategoriesRetrieveRequest - query-parameters: - expand: - type: optional> - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - remote_fields: - type: optional> - docs: Deprecated. Use show_enum_origins. - show_enum_origins: - type: optional> - docs: >- - A comma separated list of enum field names for which you'd like - the original values to be returned, instead of Merge's normalized - enum values. [Learn - more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - response: - docs: '' - type: root.TrackingCategory - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - expand: company - include_remote_data: true - include_shell_data: true - remote_fields: status - show_enum_origins: status - headers: - X-Account-Token: X-Account-Token - response: - body: - id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4 - remote_id: '948201' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Marketing Department - status: ACTIVE - category_type: CLASS - parent_category: d25d609b-945f-4762-b55a-1c8fb220c43c - company: company - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/accounting/transactions.yml b/.mock/definition/accounting/transactions.yml deleted file mode 100644 index 7b572615..00000000 --- a/.mock/definition/accounting/transactions.yml +++ /dev/null @@ -1,537 +0,0 @@ -types: - TransactionsListRequestExpand: - enum: - - account - - value: account,accounting_period - name: AccountAccountingPeriod - - value: account,company - name: AccountCompany - - value: account,company,accounting_period - name: AccountCompanyAccountingPeriod - - accounting_period - - company - - value: company,accounting_period - name: CompanyAccountingPeriod - - contact - - value: contact,account - name: ContactAccount - - value: contact,account,accounting_period - name: ContactAccountAccountingPeriod - - value: contact,account,company - name: ContactAccountCompany - - value: contact,account,company,accounting_period - name: ContactAccountCompanyAccountingPeriod - - value: contact,accounting_period - name: ContactAccountingPeriod - - value: contact,company - name: ContactCompany - - value: contact,company,accounting_period - name: ContactCompanyAccountingPeriod - - line_items - - value: line_items,account - name: LineItemsAccount - - value: line_items,account,accounting_period - name: LineItemsAccountAccountingPeriod - - value: line_items,account,company - name: LineItemsAccountCompany - - value: line_items,account,company,accounting_period - name: LineItemsAccountCompanyAccountingPeriod - - value: line_items,accounting_period - name: LineItemsAccountingPeriod - - value: line_items,company - name: LineItemsCompany - - value: line_items,company,accounting_period - name: LineItemsCompanyAccountingPeriod - - value: line_items,contact - name: LineItemsContact - - value: line_items,contact,account - name: LineItemsContactAccount - - value: line_items,contact,account,accounting_period - name: LineItemsContactAccountAccountingPeriod - - value: line_items,contact,account,company - name: LineItemsContactAccountCompany - - value: line_items,contact,account,company,accounting_period - name: LineItemsContactAccountCompanyAccountingPeriod - - value: line_items,contact,accounting_period - name: LineItemsContactAccountingPeriod - - value: line_items,contact,company - name: LineItemsContactCompany - - value: line_items,contact,company,accounting_period - name: LineItemsContactCompanyAccountingPeriod - - value: line_items,tracking_categories - name: LineItemsTrackingCategories - - value: line_items,tracking_categories,account - name: LineItemsTrackingCategoriesAccount - - value: line_items,tracking_categories,account,accounting_period - name: LineItemsTrackingCategoriesAccountAccountingPeriod - - value: line_items,tracking_categories,account,company - name: LineItemsTrackingCategoriesAccountCompany - - value: line_items,tracking_categories,account,company,accounting_period - name: LineItemsTrackingCategoriesAccountCompanyAccountingPeriod - - value: line_items,tracking_categories,accounting_period - name: LineItemsTrackingCategoriesAccountingPeriod - - value: line_items,tracking_categories,company - name: LineItemsTrackingCategoriesCompany - - value: line_items,tracking_categories,company,accounting_period - name: LineItemsTrackingCategoriesCompanyAccountingPeriod - - value: line_items,tracking_categories,contact - name: LineItemsTrackingCategoriesContact - - value: line_items,tracking_categories,contact,account - name: LineItemsTrackingCategoriesContactAccount - - value: line_items,tracking_categories,contact,account,accounting_period - name: LineItemsTrackingCategoriesContactAccountAccountingPeriod - - value: line_items,tracking_categories,contact,account,company - name: LineItemsTrackingCategoriesContactAccountCompany - - value: >- - line_items,tracking_categories,contact,account,company,accounting_period - name: LineItemsTrackingCategoriesContactAccountCompanyAccountingPeriod - - value: line_items,tracking_categories,contact,accounting_period - name: LineItemsTrackingCategoriesContactAccountingPeriod - - value: line_items,tracking_categories,contact,company - name: LineItemsTrackingCategoriesContactCompany - - value: line_items,tracking_categories,contact,company,accounting_period - name: LineItemsTrackingCategoriesContactCompanyAccountingPeriod - - tracking_categories - - value: tracking_categories,account - name: TrackingCategoriesAccount - - value: tracking_categories,account,accounting_period - name: TrackingCategoriesAccountAccountingPeriod - - value: tracking_categories,account,company - name: TrackingCategoriesAccountCompany - - value: tracking_categories,account,company,accounting_period - name: TrackingCategoriesAccountCompanyAccountingPeriod - - value: tracking_categories,accounting_period - name: TrackingCategoriesAccountingPeriod - - value: tracking_categories,company - name: TrackingCategoriesCompany - - value: tracking_categories,company,accounting_period - name: TrackingCategoriesCompanyAccountingPeriod - - value: tracking_categories,contact - name: TrackingCategoriesContact - - value: tracking_categories,contact,account - name: TrackingCategoriesContactAccount - - value: tracking_categories,contact,account,accounting_period - name: TrackingCategoriesContactAccountAccountingPeriod - - value: tracking_categories,contact,account,company - name: TrackingCategoriesContactAccountCompany - - value: tracking_categories,contact,account,company,accounting_period - name: TrackingCategoriesContactAccountCompanyAccountingPeriod - - value: tracking_categories,contact,accounting_period - name: TrackingCategoriesContactAccountingPeriod - - value: tracking_categories,contact,company - name: TrackingCategoriesContactCompany - - value: tracking_categories,contact,company,accounting_period - name: TrackingCategoriesContactCompanyAccountingPeriod - source: - openapi: openapi/openapi.yml - TransactionsRetrieveRequestExpand: - enum: - - account - - value: account,accounting_period - name: AccountAccountingPeriod - - value: account,company - name: AccountCompany - - value: account,company,accounting_period - name: AccountCompanyAccountingPeriod - - accounting_period - - company - - value: company,accounting_period - name: CompanyAccountingPeriod - - contact - - value: contact,account - name: ContactAccount - - value: contact,account,accounting_period - name: ContactAccountAccountingPeriod - - value: contact,account,company - name: ContactAccountCompany - - value: contact,account,company,accounting_period - name: ContactAccountCompanyAccountingPeriod - - value: contact,accounting_period - name: ContactAccountingPeriod - - value: contact,company - name: ContactCompany - - value: contact,company,accounting_period - name: ContactCompanyAccountingPeriod - - line_items - - value: line_items,account - name: LineItemsAccount - - value: line_items,account,accounting_period - name: LineItemsAccountAccountingPeriod - - value: line_items,account,company - name: LineItemsAccountCompany - - value: line_items,account,company,accounting_period - name: LineItemsAccountCompanyAccountingPeriod - - value: line_items,accounting_period - name: LineItemsAccountingPeriod - - value: line_items,company - name: LineItemsCompany - - value: line_items,company,accounting_period - name: LineItemsCompanyAccountingPeriod - - value: line_items,contact - name: LineItemsContact - - value: line_items,contact,account - name: LineItemsContactAccount - - value: line_items,contact,account,accounting_period - name: LineItemsContactAccountAccountingPeriod - - value: line_items,contact,account,company - name: LineItemsContactAccountCompany - - value: line_items,contact,account,company,accounting_period - name: LineItemsContactAccountCompanyAccountingPeriod - - value: line_items,contact,accounting_period - name: LineItemsContactAccountingPeriod - - value: line_items,contact,company - name: LineItemsContactCompany - - value: line_items,contact,company,accounting_period - name: LineItemsContactCompanyAccountingPeriod - - value: line_items,tracking_categories - name: LineItemsTrackingCategories - - value: line_items,tracking_categories,account - name: LineItemsTrackingCategoriesAccount - - value: line_items,tracking_categories,account,accounting_period - name: LineItemsTrackingCategoriesAccountAccountingPeriod - - value: line_items,tracking_categories,account,company - name: LineItemsTrackingCategoriesAccountCompany - - value: line_items,tracking_categories,account,company,accounting_period - name: LineItemsTrackingCategoriesAccountCompanyAccountingPeriod - - value: line_items,tracking_categories,accounting_period - name: LineItemsTrackingCategoriesAccountingPeriod - - value: line_items,tracking_categories,company - name: LineItemsTrackingCategoriesCompany - - value: line_items,tracking_categories,company,accounting_period - name: LineItemsTrackingCategoriesCompanyAccountingPeriod - - value: line_items,tracking_categories,contact - name: LineItemsTrackingCategoriesContact - - value: line_items,tracking_categories,contact,account - name: LineItemsTrackingCategoriesContactAccount - - value: line_items,tracking_categories,contact,account,accounting_period - name: LineItemsTrackingCategoriesContactAccountAccountingPeriod - - value: line_items,tracking_categories,contact,account,company - name: LineItemsTrackingCategoriesContactAccountCompany - - value: >- - line_items,tracking_categories,contact,account,company,accounting_period - name: LineItemsTrackingCategoriesContactAccountCompanyAccountingPeriod - - value: line_items,tracking_categories,contact,accounting_period - name: LineItemsTrackingCategoriesContactAccountingPeriod - - value: line_items,tracking_categories,contact,company - name: LineItemsTrackingCategoriesContactCompany - - value: line_items,tracking_categories,contact,company,accounting_period - name: LineItemsTrackingCategoriesContactCompanyAccountingPeriod - - tracking_categories - - value: tracking_categories,account - name: TrackingCategoriesAccount - - value: tracking_categories,account,accounting_period - name: TrackingCategoriesAccountAccountingPeriod - - value: tracking_categories,account,company - name: TrackingCategoriesAccountCompany - - value: tracking_categories,account,company,accounting_period - name: TrackingCategoriesAccountCompanyAccountingPeriod - - value: tracking_categories,accounting_period - name: TrackingCategoriesAccountingPeriod - - value: tracking_categories,company - name: TrackingCategoriesCompany - - value: tracking_categories,company,accounting_period - name: TrackingCategoriesCompanyAccountingPeriod - - value: tracking_categories,contact - name: TrackingCategoriesContact - - value: tracking_categories,contact,account - name: TrackingCategoriesContactAccount - - value: tracking_categories,contact,account,accounting_period - name: TrackingCategoriesContactAccountAccountingPeriod - - value: tracking_categories,contact,account,company - name: TrackingCategoriesContactAccountCompany - - value: tracking_categories,contact,account,company,accounting_period - name: TrackingCategoriesContactAccountCompanyAccountingPeriod - - value: tracking_categories,contact,accounting_period - name: TrackingCategoriesContactAccountingPeriod - - value: tracking_categories,contact,company - name: TrackingCategoriesContactCompany - - value: tracking_categories,contact,company,accounting_period - name: TrackingCategoriesContactCompanyAccountingPeriod - source: - openapi: openapi/openapi.yml -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /accounting/v1/transactions - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `Transaction` objects. - source: - openapi: openapi/openapi.yml - request: - name: TransactionsListRequest - query-parameters: - company_id: - type: optional - docs: >- - If provided, will only return accounting transactions for this - company. - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - page_size: - type: optional - docs: Number of results to return per page. - remote_id: - type: optional - docs: The API provider's ID for the given object. - transaction_date_after: - type: optional - docs: If provided, will only return objects created after this datetime. - transaction_date_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - response: - docs: '' - type: root.PaginatedTransactionList - status-code: 200 - examples: - - query-parameters: - company_id: company_id - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - expand: account - include_deleted_data: true - include_remote_data: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - page_size: 1 - remote_id: remote_id - transaction_date_after: '2024-01-15T09:30:00Z' - transaction_date_before: '2024-01-15T09:30:00Z' - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: 0048ea5b-911e-4dff-9364-92070dea62ff - remote_id: '239741' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - transaction_type: estimate - number: '122' - transaction_date: '2020-03-31T00:00:00Z' - account: account - contact: contact - inclusive_of_tax: true - total_amount: total_amount - currency: XUA - exchange_rate: '2.9' - company: 595c8f97-2ac4-45b7-b000-41bdf43240b5 - tracking_categories: - - b38c59b0-a9d7-4740-b1ee-5436c6751e3d - - 9b840d2-686a-465a-8a8e-7b028498f8e4 - - a47e11b6-c73b-4a0c-be31-130fc48177fa - line_items: - - id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4 - remote_id: '121222' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - memo: Pickleball paddles - unit_price: '25.0' - quantity: '10.0' - item: 0958cbc6-6040-430a-848e-aafacbadf4ae - account: 2b38c085-2620-4269-b5ec-75dd9095ed2c - tracking_categories: - - f1214c24-2702-4617-b74b-3ddecfc0d384 - - 9b840d2-686a-465a-8a8e-7b028498f8e4 - - a47e11b6-c73b-4a0c-be31-130fc48177fa - total_line_amount: total_line_amount - tax_rate: a12e7c20-1922-9df7-s75n-edfeewnn7384 - currency: USD - exchange_rate: '2.9' - company: 595c8f97-2ac4-45b7-b000-41bdf43240b5 - remote_was_deleted: false - - id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4 - remote_id: '121222' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - memo: Pickleball balls - unit_price: '25.0' - quantity: '10.0' - item: 249c9faa-3045-4a31-953b-8f22d3613301 - account: 3e442c5d-8f51-4103-b5c9-dcee39c30a08 - tracking_categories: - - f1214c24-2702-4617-b74b-3ddecfc0d384 - - 9b840d2-686a-465a-8a8e-7b028498f8e4 - - a47e11b6-c73b-4a0c-be31-130fc48177fa - total_line_amount: total_line_amount - tax_rate: a12e7c20-1922-9df7-s75n-edfeewnn7384 - exchange_rate: '2.9' - company: 595c8f97-2ac4-45b7-b000-41bdf43240b5 - remote_was_deleted: true - accounting_period: accounting_period - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /actions - data: - - Varies by platform - retrieve: - path: /accounting/v1/transactions/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns a `Transaction` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: TransactionsRetrieveRequest - query-parameters: - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - response: - docs: '' - type: root.Transaction - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - expand: account - include_remote_data: true - include_shell_data: true - headers: - X-Account-Token: X-Account-Token - response: - body: - id: 0048ea5b-911e-4dff-9364-92070dea62ff - remote_id: '239741' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - transaction_type: estimate - number: '122' - transaction_date: '2020-03-31T00:00:00Z' - account: account - contact: contact - inclusive_of_tax: true - total_amount: total_amount - currency: XUA - exchange_rate: '2.9' - company: 595c8f97-2ac4-45b7-b000-41bdf43240b5 - tracking_categories: - - b38c59b0-a9d7-4740-b1ee-5436c6751e3d - - 9b840d2-686a-465a-8a8e-7b028498f8e4 - - a47e11b6-c73b-4a0c-be31-130fc48177fa - line_items: - - id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4 - remote_id: '121222' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - memo: Pickleball paddles - unit_price: '25.0' - quantity: '10.0' - item: 0958cbc6-6040-430a-848e-aafacbadf4ae - account: 2b38c085-2620-4269-b5ec-75dd9095ed2c - tracking_categories: - - f1214c24-2702-4617-b74b-3ddecfc0d384 - - 9b840d2-686a-465a-8a8e-7b028498f8e4 - - a47e11b6-c73b-4a0c-be31-130fc48177fa - total_line_amount: total_line_amount - tax_rate: a12e7c20-1922-9df7-s75n-edfeewnn7384 - currency: USD - exchange_rate: '2.9' - company: 595c8f97-2ac4-45b7-b000-41bdf43240b5 - remote_was_deleted: false - - id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4 - remote_id: '121222' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - memo: Pickleball balls - unit_price: '25.0' - quantity: '10.0' - item: 249c9faa-3045-4a31-953b-8f22d3613301 - account: 3e442c5d-8f51-4103-b5c9-dcee39c30a08 - tracking_categories: - - f1214c24-2702-4617-b74b-3ddecfc0d384 - - 9b840d2-686a-465a-8a8e-7b028498f8e4 - - a47e11b6-c73b-4a0c-be31-130fc48177fa - total_line_amount: total_line_amount - tax_rate: a12e7c20-1922-9df7-s75n-edfeewnn7384 - currency: XUA - exchange_rate: '2.9' - company: 595c8f97-2ac4-45b7-b000-41bdf43240b5 - remote_was_deleted: true - remote_was_deleted: true - accounting_period: accounting_period - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /actions - data: - - Varies by platform - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/accounting/vendorCredits.yml b/.mock/definition/accounting/vendorCredits.yml deleted file mode 100644 index a6969c9c..00000000 --- a/.mock/definition/accounting/vendorCredits.yml +++ /dev/null @@ -1,719 +0,0 @@ -types: - VendorCreditsListRequestExpand: - enum: - - accounting_period - - company - - value: company,accounting_period - name: CompanyAccountingPeriod - - lines - - value: lines,accounting_period - name: LinesAccountingPeriod - - value: lines,company - name: LinesCompany - - value: lines,company,accounting_period - name: LinesCompanyAccountingPeriod - - value: lines,tracking_categories - name: LinesTrackingCategories - - value: lines,tracking_categories,accounting_period - name: LinesTrackingCategoriesAccountingPeriod - - value: lines,tracking_categories,company - name: LinesTrackingCategoriesCompany - - value: lines,tracking_categories,company,accounting_period - name: LinesTrackingCategoriesCompanyAccountingPeriod - - value: lines,tracking_categories,vendor - name: LinesTrackingCategoriesVendor - - value: lines,tracking_categories,vendor,accounting_period - name: LinesTrackingCategoriesVendorAccountingPeriod - - value: lines,tracking_categories,vendor,company - name: LinesTrackingCategoriesVendorCompany - - value: lines,tracking_categories,vendor,company,accounting_period - name: LinesTrackingCategoriesVendorCompanyAccountingPeriod - - value: lines,vendor - name: LinesVendor - - value: lines,vendor,accounting_period - name: LinesVendorAccountingPeriod - - value: lines,vendor,company - name: LinesVendorCompany - - value: lines,vendor,company,accounting_period - name: LinesVendorCompanyAccountingPeriod - - tracking_categories - - value: tracking_categories,accounting_period - name: TrackingCategoriesAccountingPeriod - - value: tracking_categories,company - name: TrackingCategoriesCompany - - value: tracking_categories,company,accounting_period - name: TrackingCategoriesCompanyAccountingPeriod - - value: tracking_categories,vendor - name: TrackingCategoriesVendor - - value: tracking_categories,vendor,accounting_period - name: TrackingCategoriesVendorAccountingPeriod - - value: tracking_categories,vendor,company - name: TrackingCategoriesVendorCompany - - value: tracking_categories,vendor,company,accounting_period - name: TrackingCategoriesVendorCompanyAccountingPeriod - - vendor - - value: vendor,accounting_period - name: VendorAccountingPeriod - - value: vendor,company - name: VendorCompany - - value: vendor,company,accounting_period - name: VendorCompanyAccountingPeriod - source: - openapi: openapi/openapi.yml - VendorCreditsRetrieveRequestExpand: - enum: - - accounting_period - - company - - value: company,accounting_period - name: CompanyAccountingPeriod - - lines - - value: lines,accounting_period - name: LinesAccountingPeriod - - value: lines,company - name: LinesCompany - - value: lines,company,accounting_period - name: LinesCompanyAccountingPeriod - - value: lines,tracking_categories - name: LinesTrackingCategories - - value: lines,tracking_categories,accounting_period - name: LinesTrackingCategoriesAccountingPeriod - - value: lines,tracking_categories,company - name: LinesTrackingCategoriesCompany - - value: lines,tracking_categories,company,accounting_period - name: LinesTrackingCategoriesCompanyAccountingPeriod - - value: lines,tracking_categories,vendor - name: LinesTrackingCategoriesVendor - - value: lines,tracking_categories,vendor,accounting_period - name: LinesTrackingCategoriesVendorAccountingPeriod - - value: lines,tracking_categories,vendor,company - name: LinesTrackingCategoriesVendorCompany - - value: lines,tracking_categories,vendor,company,accounting_period - name: LinesTrackingCategoriesVendorCompanyAccountingPeriod - - value: lines,vendor - name: LinesVendor - - value: lines,vendor,accounting_period - name: LinesVendorAccountingPeriod - - value: lines,vendor,company - name: LinesVendorCompany - - value: lines,vendor,company,accounting_period - name: LinesVendorCompanyAccountingPeriod - - tracking_categories - - value: tracking_categories,accounting_period - name: TrackingCategoriesAccountingPeriod - - value: tracking_categories,company - name: TrackingCategoriesCompany - - value: tracking_categories,company,accounting_period - name: TrackingCategoriesCompanyAccountingPeriod - - value: tracking_categories,vendor - name: TrackingCategoriesVendor - - value: tracking_categories,vendor,accounting_period - name: TrackingCategoriesVendorAccountingPeriod - - value: tracking_categories,vendor,company - name: TrackingCategoriesVendorCompany - - value: tracking_categories,vendor,company,accounting_period - name: TrackingCategoriesVendorCompanyAccountingPeriod - - vendor - - value: vendor,accounting_period - name: VendorAccountingPeriod - - value: vendor,company - name: VendorCompany - - value: vendor,company,accounting_period - name: VendorCompanyAccountingPeriod - source: - openapi: openapi/openapi.yml -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /accounting/v1/vendor-credits - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `VendorCredit` objects. - source: - openapi: openapi/openapi.yml - request: - name: VendorCreditsListRequest - query-parameters: - company_id: - type: optional - docs: If provided, will only return vendor credits for this company. - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - page_size: - type: optional - docs: Number of results to return per page. - remote_id: - type: optional - docs: The API provider's ID for the given object. - transaction_date_after: - type: optional - docs: If provided, will only return objects created after this datetime. - transaction_date_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - response: - docs: '' - type: root.PaginatedVendorCreditList - status-code: 200 - examples: - - query-parameters: - company_id: company_id - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - expand: accounting_period - include_deleted_data: true - include_remote_data: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - page_size: 1 - remote_id: remote_id - transaction_date_after: '2024-01-15T09:30:00Z' - transaction_date_before: '2024-01-15T09:30:00Z' - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4 - remote_id: '088899' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - number: '6' - transaction_date: '2020-03-31T00:00:00Z' - vendor: vendor - total_amount: 10000 - currency: XUA - exchange_rate: '2.9' - inclusive_of_tax: true - company: company - lines: - - id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4 - remote_id: '121222' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - net_amount: 25.54 - tracking_categories: - - b38c59b0-a9d7-4740-b1ee-5436c6751e3d - - 9b840d2-686a-465a-8a8e-7b028498f8e4 - - a47e11b6-c73b-4a0c-be31-130fc48177fa - description: Gifted Merge Credit - account: 9d892439-5fab-4dbb-8bd8-34f7f96c7912 - company: 595c8f97-2ac4-45b7-b000-41bdf43240b5 - project: 22e65a5d-2df5-4e6e-884a-e538d0339000 - contact: 908934-49j9-093f-0989-908923908 - tax_rate: a12e7c20-1922-9df7-s75n-edfeewnn7384 - exchange_rate: '2.9' - remote_was_deleted: false - - id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4 - remote_id: '121223' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - net_amount: 10 - tracking_categories: - - b38c59b0-a9d7-4740-b1ee-5436c6751e3d - - 9b840d2-686a-465a-8a8e-7b028498f8e4 - - a47e11b6-c73b-4a0c-be31-130fc48177fa - description: Refund for overpayment - account: 9d892439-5fab-4dbb-8bd8-34f7f96c7912 - company: 595c8f97-2ac4-45b7-b000-41bdf43240b5 - tax_rate: a12e7c20-1922-9df7-s75n-edfeewnn7384 - exchange_rate: '2.9' - tracking_categories: - - b38c59b0-a9d7-4740-b1ee-5436c6751e3d - - 9b840d2-686a-465a-8a8e-7b028498f8e4 - - a47e11b6-c73b-4a0c-be31-130fc48177fa - applied_to_lines: - - remote_id: '088899' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - invoice: 5b3c1341-a20f-4e51-b72c-f3830a16c97b - applied_date: '2020-03-31T00:00:00Z' - applied_amount: '2.9' - remote_was_deleted: true - accounting_period: accounting_period - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /actions - data: - - Varies by platform - create: - path: /accounting/v1/vendor-credits - method: POST - auth: - - tokenAuth: [] - docs: Creates a `VendorCredit` object with the given values. - source: - openapi: openapi/openapi.yml - request: - name: VendorCreditEndpointRequest - query-parameters: - is_debug_mode: - type: optional - docs: >- - Whether to include debug fields (such as log file links) in the - response. - run_async: - type: optional - docs: Whether or not third-party updates should be run asynchronously. - body: - properties: - model: root.VendorCreditRequest - content-type: application/json - response: - docs: '' - type: root.VendorCreditResponse - status-code: 201 - examples: - - query-parameters: - is_debug_mode: true - run_async: true - headers: - X-Account-Token: X-Account-Token - request: - model: {} - response: - body: - model: - id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4 - remote_id: '088899' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - number: '6' - transaction_date: '2020-03-31T00:00:00Z' - vendor: vendor - total_amount: 10000 - currency: XUA - exchange_rate: '2.9' - inclusive_of_tax: true - company: company - lines: - - id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4 - remote_id: '121222' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - net_amount: 25.54 - tracking_categories: - - b38c59b0-a9d7-4740-b1ee-5436c6751e3d - - 9b840d2-686a-465a-8a8e-7b028498f8e4 - - a47e11b6-c73b-4a0c-be31-130fc48177fa - description: Gifted Merge Credit - account: 9d892439-5fab-4dbb-8bd8-34f7f96c7912 - company: 595c8f97-2ac4-45b7-b000-41bdf43240b5 - project: 22e65a5d-2df5-4e6e-884a-e538d0339000 - contact: 908934-49j9-093f-0989-908923908 - tax_rate: a12e7c20-1922-9df7-s75n-edfeewnn7384 - exchange_rate: '2.9' - remote_was_deleted: false - - id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4 - remote_id: '121223' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - net_amount: 10 - tracking_categories: - - b38c59b0-a9d7-4740-b1ee-5436c6751e3d - - 9b840d2-686a-465a-8a8e-7b028498f8e4 - - a47e11b6-c73b-4a0c-be31-130fc48177fa - description: Refund for overpayment - account: 9d892439-5fab-4dbb-8bd8-34f7f96c7912 - company: 595c8f97-2ac4-45b7-b000-41bdf43240b5 - tax_rate: a12e7c20-1922-9df7-s75n-edfeewnn7384 - exchange_rate: '2.9' - tracking_categories: - - b38c59b0-a9d7-4740-b1ee-5436c6751e3d - - 9b840d2-686a-465a-8a8e-7b028498f8e4 - - a47e11b6-c73b-4a0c-be31-130fc48177fa - applied_to_lines: - - remote_id: '088899' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - invoice: 5b3c1341-a20f-4e51-b72c-f3830a16c97b - applied_date: '2020-03-31T00:00:00Z' - applied_amount: '2.9' - remote_was_deleted: true - accounting_period: accounting_period - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /actions - data: - - Varies by platform - warnings: - - source: - pointer: pointer - title: Unrecognized Field - detail: An unrecognized field, age, was passed in with request data. - problem_type: UNRECOGNIZED_FIELD - errors: - - source: - pointer: pointer - title: Missing Required Field - detail: custom_fields is a required field on model. - problem_type: MISSING_REQUIRED_FIELD - logs: - - log_id: 99433219-8017-4acd-bb3c-ceb23d663832 - dashboard_view: >- - https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832 - log_summary: - url: www.exampleintegration.com/api/v1/exampleapi - method: POST - status_code: 200 - retrieve: - path: /accounting/v1/vendor-credits/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns a `VendorCredit` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: VendorCreditsRetrieveRequest - query-parameters: - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - response: - docs: '' - type: root.VendorCredit - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - expand: accounting_period - include_remote_data: true - include_shell_data: true - headers: - X-Account-Token: X-Account-Token - response: - body: - id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4 - remote_id: '088899' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - number: '6' - transaction_date: '2020-03-31T00:00:00Z' - vendor: vendor - total_amount: 10000 - currency: XUA - exchange_rate: '2.9' - inclusive_of_tax: true - company: company - lines: - - id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4 - remote_id: '121222' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - net_amount: 25.54 - tracking_categories: - - b38c59b0-a9d7-4740-b1ee-5436c6751e3d - - 9b840d2-686a-465a-8a8e-7b028498f8e4 - - a47e11b6-c73b-4a0c-be31-130fc48177fa - description: Gifted Merge Credit - account: 9d892439-5fab-4dbb-8bd8-34f7f96c7912 - company: 595c8f97-2ac4-45b7-b000-41bdf43240b5 - project: 22e65a5d-2df5-4e6e-884a-e538d0339000 - contact: 908934-49j9-093f-0989-908923908 - tax_rate: a12e7c20-1922-9df7-s75n-edfeewnn7384 - exchange_rate: '2.9' - remote_was_deleted: false - - id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4 - remote_id: '121223' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - net_amount: 10 - tracking_categories: - - b38c59b0-a9d7-4740-b1ee-5436c6751e3d - - 9b840d2-686a-465a-8a8e-7b028498f8e4 - - a47e11b6-c73b-4a0c-be31-130fc48177fa - description: Refund for overpayment - account: 9d892439-5fab-4dbb-8bd8-34f7f96c7912 - company: 595c8f97-2ac4-45b7-b000-41bdf43240b5 - project: project - contact: contact - tax_rate: a12e7c20-1922-9df7-s75n-edfeewnn7384 - exchange_rate: '2.9' - remote_was_deleted: true - tracking_categories: - - b38c59b0-a9d7-4740-b1ee-5436c6751e3d - - 9b840d2-686a-465a-8a8e-7b028498f8e4 - - a47e11b6-c73b-4a0c-be31-130fc48177fa - applied_to_lines: - - remote_id: '088899' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - invoice: 5b3c1341-a20f-4e51-b72c-f3830a16c97b - applied_date: '2020-03-31T00:00:00Z' - applied_amount: '2.9' - remote_was_deleted: true - remote_was_deleted: true - accounting_period: accounting_period - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /actions - data: - - Varies by platform - metaPostRetrieve: - path: /accounting/v1/vendor-credits/meta/post - method: GET - auth: - - tokenAuth: [] - docs: Returns metadata for `VendorCredit` POSTs. - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: root.MetaResponse - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - request_schema: - type: object - properties: - model: - type: object - required: - - last_name - - first_name - - merge_categories - - new_york_city_neighborhood - - favorite_tv_shows - - favorite_watch - properties: - email_addresses: - type: array - items: - type: object - properties: - value: - type: string - title: value - email_address_type: - type: string - title: email_address_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: email_addresses - description: Array of email_addresses objects - urls: - type: array - items: - type: object - properties: - value: - type: string - title: value - url_type: - type: string - title: url_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: urls - description: Array of urls objects - first_name: - type: string - title: first_name - description: The first name. - last_name: - type: string - title: last_name - description: The last name. - phone_numbers: - type: array - items: - type: object - properties: - value: - type: string - title: value - phone_number_type: - type: string - title: phone_number_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: phone_numbers - description: Array of phone_numbers objects - tags: - type: array - items: - type: string - format: uuid - title: tags - description: Array of tags names - attachments: - type: array - items: - type: object - properties: - id: - type: string - title: id - file_url: - type: string - title: file_url - file_name: - type: string - title: file_name - attachment_type: - type: string - title: attachment_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: attachments - description: 'Array of attachments objects ' - merge_categories: - type: array - categories: - type: string - enum: - - HRIS - - ATS - - Accounting - - Ticketing - - File Storage - - CRM - - Marketing Automation - enum_information: - - value: HRIS - description: Merge HRIS Category - - value: ATS - description: Merge ATS Category - - value: Accounting - description: Merge Accounting Category - - value: Ticketing - description: Merge Ticketing Category - - value: File Storage - description: Merge File Storage Category - - value: CRM - description: Merge CRM Category - - value: Marketing Automation - description: Merge Marketing Automation Category - title: Merge Categories - description: Array of Merge's Unified API Categories - new_york_city_neighborhood: - type: string - title: Borough - description: One of the 5 Boroughs of New York City - favorite_tv_shows: - type: array - items: - type: string - format: uuid - title: Favorite TV Shows - description: Array of TV Show objects on merge.tv_shows - favorite_watch: - type: string - title: Favorite Watch - description: Favorite watch of all time - remote_field_classes: - key: value - status: - linked_account_status: linked_account_status - can_make_request: true - has_conditional_params: true - has_required_linked_account_params: true - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/accounting/webhookReceivers.yml b/.mock/definition/accounting/webhookReceivers.yml deleted file mode 100644 index c1ded67c..00000000 --- a/.mock/definition/accounting/webhookReceivers.yml +++ /dev/null @@ -1,65 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /accounting/v1/webhook-receivers - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `WebhookReceiver` objects. - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: list - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - - event: event - is_active: true - key: key - create: - path: /accounting/v1/webhook-receivers - method: POST - auth: - - tokenAuth: [] - docs: Creates a `WebhookReceiver` object with the given values. - source: - openapi: openapi/openapi.yml - request: - name: WebhookReceiverRequest - body: - properties: - event: - type: string - validation: - minLength: 1 - is_active: boolean - key: - type: optional - validation: - minLength: 1 - content-type: application/json - response: - docs: '' - type: root.WebhookReceiver - status-code: 201 - examples: - - headers: - X-Account-Token: X-Account-Token - request: - event: event - is_active: true - response: - body: - event: event - is_active: true - key: key - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/api.yml b/.mock/definition/api.yml deleted file mode 100644 index 6e83d157..00000000 --- a/.mock/definition/api.yml +++ /dev/null @@ -1,20 +0,0 @@ -name: api -error-discrimination: - strategy: status-code -display-name: Merge -default-environment: Production -environments: - Production: https://api.merge.dev/api - Sandbox: https://api-sandbox.merge.dev/api - ProductionEu: https://api-eu.merge.dev/api -auth: BearerAuthScheme -auth-schemes: - BearerAuthScheme: - scheme: bearer - token: - name: api_key -headers: - X-Account-Token: - type: optional - docs: Token identifying the end user. - name: accountToken diff --git a/.mock/definition/ats/__package__.yml b/.mock/definition/ats/__package__.yml deleted file mode 100644 index 7b2174d2..00000000 --- a/.mock/definition/ats/__package__.yml +++ /dev/null @@ -1,4734 +0,0 @@ -types: - AccessRoleEnum: - enum: - - SUPER_ADMIN - - ADMIN - - TEAM_MEMBER - - LIMITED_TEAM_MEMBER - - INTERVIEWER - docs: |- - * `SUPER_ADMIN` - SUPER_ADMIN - * `ADMIN` - ADMIN - * `TEAM_MEMBER` - TEAM_MEMBER - * `LIMITED_TEAM_MEMBER` - LIMITED_TEAM_MEMBER - * `INTERVIEWER` - INTERVIEWER - source: - openapi: openapi/openapi.yml - AccountDetailsCategory: - discriminated: false - union: - - CategoryEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - AccountDetails: - properties: - id: - type: optional - validation: - format: uuid - access: read-only - integration: - type: optional - access: read-only - integration_slug: - type: optional - access: read-only - category: optional - end_user_origin_id: - type: optional - access: read-only - end_user_organization_name: - type: optional - access: read-only - end_user_email_address: - type: optional - validation: - format: email - access: read-only - status: - type: optional - access: read-only - webhook_listener_url: - type: optional - validation: - format: uri - access: read-only - is_duplicate: - type: optional - docs: >- - Whether a Production Linked Account's credentials match another - existing Production Linked Account. This field is `null` for Test - Linked Accounts, incomplete Production Linked Accounts, and ignored - duplicate Production Linked Account sets. - access: read-only - account_type: - type: optional - access: read-only - completed_at: - type: optional - docs: The time at which account completes the linking flow. - source: - openapi: openapi/openapi.yml - AccountDetailsAndActionsCategory: - discriminated: false - union: - - CategoryEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - AccountDetailsAndActionsStatus: - discriminated: false - union: - - AccountDetailsAndActionsStatusEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - AccountDetailsAndActions: - docs: >- - # The LinkedAccount Object - - ### Description - - The `LinkedAccount` object is used to represent an end user's link with a - specific integration. - - - ### Usage Example - - View a list of your organization's `LinkedAccount` objects. - properties: - id: string - category: optional - status: AccountDetailsAndActionsStatus - status_detail: optional - end_user_origin_id: optional - end_user_organization_name: string - end_user_email_address: string - subdomain: - type: optional - docs: The tenant or domain the customer has provided access to. - webhook_listener_url: string - is_duplicate: - type: optional - docs: >- - Whether a Production Linked Account's credentials match another - existing Production Linked Account. This field is `null` for Test - Linked Accounts, incomplete Production Linked Accounts, and ignored - duplicate Production Linked Account sets. - integration: optional - account_type: string - completed_at: datetime - integration_specific_fields: optional> - source: - openapi: openapi/openapi.yml - AccountDetailsAndActionsIntegration: - properties: - name: string - categories: list - image: optional - square_image: optional - color: string - slug: string - passthrough_available: boolean - available_model_operations: optional> - source: - openapi: openapi/openapi.yml - AccountDetailsAndActionsStatusEnum: - enum: - - COMPLETE - - INCOMPLETE - - RELINK_NEEDED - - IDLE - docs: |- - * `COMPLETE` - COMPLETE - * `INCOMPLETE` - INCOMPLETE - * `RELINK_NEEDED` - RELINK_NEEDED - * `IDLE` - IDLE - source: - openapi: openapi/openapi.yml - AccountIntegration: - properties: - name: - type: string - docs: Company name. - abbreviated_name: - type: optional - docs: >- - Optional. This shortened name appears in places with limited space, - usually in conjunction with the platform's logo (e.g., Merge Link - menu).

Example: Workforce Now (in lieu of ADP Workforce - Now), SuccessFactors (in lieu of SAP SuccessFactors) - categories: - type: optional> - docs: >- - Category or categories this integration belongs to. Multiple - categories should be comma separated, i.e. [ats, hris]. - access: read-only - image: - type: optional - docs: Company logo in rectangular shape. - validation: - format: uri - square_image: - type: optional - docs: Company logo in square shape. - validation: - format: uri - color: - type: optional - docs: >- - The color of this integration used for buttons and text throughout the - app and landing pages. Choose a darker, saturated color. - validation: - pattern: ^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$ - maxLength: 18 - slug: - type: optional - access: read-only - api_endpoints_to_documentation_urls: - type: optional> - docs: >- - Mapping of API endpoints to documentation urls for support. Example: - {'GET': [['/common-model-scopes', - 'https://docs.merge.dev/accounting/common-model-scopes/#common_model_scopes_retrieve'],['/common-model-actions', - 'https://docs.merge.dev/accounting/common-model-actions/#common_model_actions_retrieve']], - 'POST': []} - webhook_setup_guide_url: - type: optional - docs: >- - Setup guide URL for third party webhook creation. Exposed in Merge - Docs. - category_beta_status: - type: optional> - docs: Category or categories this integration is in beta status for. - access: read-only - source: - openapi: openapi/openapi.yml - AccountToken: - properties: - account_token: string - integration: AccountIntegration - id: string - source: - openapi: openapi/openapi.yml - ActivityUser: - discriminated: false - docs: The user that performed the action. - union: - - type: string - validation: - format: uuid - - RemoteUser - source: - openapi: openapi/openapi.yml - inline: true - ActivityActivityType: - discriminated: false - docs: |- - The activity's type. - - * `NOTE` - NOTE - * `EMAIL` - EMAIL - * `OTHER` - OTHER - union: - - ActivityTypeEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - ActivityVisibility: - discriminated: false - docs: |- - The activity's visibility. - - * `ADMIN_ONLY` - ADMIN_ONLY - * `PUBLIC` - PUBLIC - * `PRIVATE` - PRIVATE - union: - - VisibilityEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - Activity: - docs: >- - # The Activity Object - - ### Description - - The `Activity` object is used to represent an activity for a candidate - performed by a user. - - ### Usage Example - - Fetch from the `LIST Activities` endpoint and filter by `ID` to show all - activities. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - user: - type: optional - docs: The user that performed the action. - remote_created_at: - type: optional - docs: When the third party's activity was created. - activity_type: - type: optional - docs: |- - The activity's type. - - * `NOTE` - NOTE - * `EMAIL` - EMAIL - * `OTHER` - OTHER - subject: - type: optional - docs: The activity's subject. - body: - type: optional - docs: The activity's body. - visibility: - type: optional - docs: |- - The activity's visibility. - - * `ADMIN_ONLY` - ADMIN_ONLY - * `PUBLIC` - PUBLIC - * `PRIVATE` - PRIVATE - candidate: - type: optional - validation: - format: uuid - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - ActivityRequestUser: - discriminated: false - docs: The user that performed the action. - union: - - type: string - validation: - format: uuid - - RemoteUser - source: - openapi: openapi/openapi.yml - inline: true - ActivityRequestActivityType: - discriminated: false - docs: |- - The activity's type. - - * `NOTE` - NOTE - * `EMAIL` - EMAIL - * `OTHER` - OTHER - union: - - ActivityTypeEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - ActivityRequestVisibility: - discriminated: false - docs: |- - The activity's visibility. - - * `ADMIN_ONLY` - ADMIN_ONLY - * `PUBLIC` - PUBLIC - * `PRIVATE` - PRIVATE - union: - - VisibilityEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - ActivityRequest: - docs: >- - # The Activity Object - - ### Description - - The `Activity` object is used to represent an activity for a candidate - performed by a user. - - ### Usage Example - - Fetch from the `LIST Activities` endpoint and filter by `ID` to show all - activities. - properties: - user: - type: optional - docs: The user that performed the action. - activity_type: - type: optional - docs: |- - The activity's type. - - * `NOTE` - NOTE - * `EMAIL` - EMAIL - * `OTHER` - OTHER - subject: - type: optional - docs: The activity's subject. - body: - type: optional - docs: The activity's body. - visibility: - type: optional - docs: |- - The activity's visibility. - - * `ADMIN_ONLY` - ADMIN_ONLY - * `PUBLIC` - PUBLIC - * `PRIVATE` - PRIVATE - candidate: - type: optional - validation: - format: uuid - integration_params: - type: optional> - access: write-only - linked_account_params: - type: optional> - access: write-only - source: - openapi: openapi/openapi.yml - ActivityResponse: - properties: - model: Activity - warnings: list - errors: list - logs: optional> - source: - openapi: openapi/openapi.yml - ActivityTypeEnum: - enum: - - NOTE - - EMAIL - - OTHER - docs: |- - * `NOTE` - NOTE - * `EMAIL` - EMAIL - * `OTHER` - OTHER - source: - openapi: openapi/openapi.yml - AdvancedMetadata: - properties: - id: - type: string - validation: - format: uuid - display_name: optional - description: optional - is_required: optional - is_custom: optional - field_choices: optional> - source: - openapi: openapi/openapi.yml - ApplicationCandidate: - discriminated: false - docs: The candidate applying. - union: - - type: string - validation: - format: uuid - - Candidate - source: - openapi: openapi/openapi.yml - inline: true - ApplicationJob: - discriminated: false - docs: The job being applied for. - union: - - type: string - validation: - format: uuid - - Job - source: - openapi: openapi/openapi.yml - inline: true - ApplicationOffersItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - Offer - source: - openapi: openapi/openapi.yml - inline: true - ApplicationCreditedTo: - discriminated: false - docs: The user credited for this application. - union: - - type: string - validation: - format: uuid - - RemoteUser - source: - openapi: openapi/openapi.yml - inline: true - ApplicationScreeningQuestionAnswersItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - ScreeningQuestionAnswer - source: - openapi: openapi/openapi.yml - inline: true - ApplicationCurrentStage: - discriminated: false - docs: The application's current stage. - union: - - type: string - validation: - format: uuid - - JobInterviewStage - source: - openapi: openapi/openapi.yml - inline: true - ApplicationRejectReason: - discriminated: false - docs: The application's reason for rejection. - union: - - type: string - validation: - format: uuid - - RejectReason - source: - openapi: openapi/openapi.yml - inline: true - Application: - docs: >- - # The Application Object - - ### Description - - The Application Object is used to represent a candidate's journey through - a particular Job's recruiting process. If a Candidate applies for multiple - Jobs, there will be a separate Application for each Job if the third-party - integration allows it. - - - ### Usage Example - - Fetch from the `LIST Applications` endpoint and filter by `ID` to show all - applications. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - candidate: - type: optional - docs: The candidate applying. - job: - type: optional - docs: The job being applied for. - applied_at: - type: optional - docs: When the application was submitted. - rejected_at: - type: optional - docs: When the application was rejected. - offers: optional>> - source: - type: optional - docs: The application's source. - credited_to: - type: optional - docs: The user credited for this application. - screening_question_answers: optional> - current_stage: - type: optional - docs: The application's current stage. - reject_reason: - type: optional - docs: The application's reason for rejection. - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - ApplicationRequestCandidate: - discriminated: false - docs: The candidate applying. - union: - - type: string - validation: - format: uuid - - Candidate - source: - openapi: openapi/openapi.yml - inline: true - ApplicationRequestJob: - discriminated: false - docs: The job being applied for. - union: - - type: string - validation: - format: uuid - - Job - source: - openapi: openapi/openapi.yml - inline: true - ApplicationRequestOffersItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - Offer - source: - openapi: openapi/openapi.yml - inline: true - ApplicationRequestCreditedTo: - discriminated: false - docs: The user credited for this application. - union: - - type: string - validation: - format: uuid - - RemoteUser - source: - openapi: openapi/openapi.yml - inline: true - ApplicationRequestScreeningQuestionAnswersItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - ScreeningQuestionAnswerRequest - source: - openapi: openapi/openapi.yml - inline: true - ApplicationRequestCurrentStage: - discriminated: false - docs: The application's current stage. - union: - - type: string - validation: - format: uuid - - JobInterviewStage - source: - openapi: openapi/openapi.yml - inline: true - ApplicationRequestRejectReason: - discriminated: false - docs: The application's reason for rejection. - union: - - type: string - validation: - format: uuid - - RejectReason - source: - openapi: openapi/openapi.yml - inline: true - ApplicationRequest: - docs: >- - # The Application Object - - ### Description - - The Application Object is used to represent a candidate's journey through - a particular Job's recruiting process. If a Candidate applies for multiple - Jobs, there will be a separate Application for each Job if the third-party - integration allows it. - - - ### Usage Example - - Fetch from the `LIST Applications` endpoint and filter by `ID` to show all - applications. - properties: - candidate: - type: optional - docs: The candidate applying. - job: - type: optional - docs: The job being applied for. - applied_at: - type: optional - docs: When the application was submitted. - rejected_at: - type: optional - docs: When the application was rejected. - offers: optional>> - source: - type: optional - docs: The application's source. - credited_to: - type: optional - docs: The user credited for this application. - screening_question_answers: optional> - current_stage: - type: optional - docs: The application's current stage. - reject_reason: - type: optional - docs: The application's reason for rejection. - remote_template_id: - type: optional - validation: - minLength: 1 - access: write-only - integration_params: - type: optional> - access: write-only - linked_account_params: - type: optional> - access: write-only - source: - openapi: openapi/openapi.yml - ApplicationResponse: - properties: - model: Application - warnings: list - errors: list - logs: optional> - source: - openapi: openapi/openapi.yml - AsyncPassthroughReciept: - properties: - async_passthrough_receipt_id: - type: string - validation: - format: uuid - source: - openapi: openapi/openapi.yml - AttachmentAttachmentType: - discriminated: false - docs: |- - The attachment's type. - - * `RESUME` - RESUME - * `COVER_LETTER` - COVER_LETTER - * `OFFER_LETTER` - OFFER_LETTER - * `OTHER` - OTHER - union: - - AttachmentTypeEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - Attachment: - docs: >- - # The Attachment Object - - ### Description - - The `Attachment` object is used to represent a file attached to a - candidate. - - ### Usage Example - - Fetch from the `LIST Attachments` endpoint and view attachments accessible - by a company. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - file_name: - type: optional - docs: The attachment's name. - file_url: - type: optional - docs: The attachment's url. - validation: - format: uri - maxLength: 2000 - candidate: - type: optional - docs: '' - validation: - format: uuid - attachment_type: - type: optional - docs: |- - The attachment's type. - - * `RESUME` - RESUME - * `COVER_LETTER` - COVER_LETTER - * `OFFER_LETTER` - OFFER_LETTER - * `OTHER` - OTHER - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - AttachmentRequestAttachmentType: - discriminated: false - docs: |- - The attachment's type. - - * `RESUME` - RESUME - * `COVER_LETTER` - COVER_LETTER - * `OFFER_LETTER` - OFFER_LETTER - * `OTHER` - OTHER - union: - - AttachmentTypeEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - AttachmentRequest: - docs: >- - # The Attachment Object - - ### Description - - The `Attachment` object is used to represent a file attached to a - candidate. - - ### Usage Example - - Fetch from the `LIST Attachments` endpoint and view attachments accessible - by a company. - properties: - file_name: - type: optional - docs: The attachment's name. - file_url: - type: optional - docs: The attachment's url. - validation: - format: uri - maxLength: 2000 - candidate: - type: optional - docs: '' - validation: - format: uuid - attachment_type: - type: optional - docs: |- - The attachment's type. - - * `RESUME` - RESUME - * `COVER_LETTER` - COVER_LETTER - * `OFFER_LETTER` - OFFER_LETTER - * `OTHER` - OTHER - integration_params: - type: optional> - access: write-only - linked_account_params: - type: optional> - access: write-only - source: - openapi: openapi/openapi.yml - AttachmentResponse: - properties: - model: Attachment - warnings: list - errors: list - logs: optional> - source: - openapi: openapi/openapi.yml - AttachmentTypeEnum: - enum: - - RESUME - - COVER_LETTER - - OFFER_LETTER - - OTHER - docs: |- - * `RESUME` - RESUME - * `COVER_LETTER` - COVER_LETTER - * `OFFER_LETTER` - OFFER_LETTER - * `OTHER` - OTHER - source: - openapi: openapi/openapi.yml - AuditLogEventRole: - discriminated: false - docs: >- - Designates the role of the user (or SYSTEM/API if action not taken by a - user) at the time of this Event occurring. - - - * `ADMIN` - ADMIN - - * `DEVELOPER` - DEVELOPER - - * `MEMBER` - MEMBER - - * `API` - API - - * `SYSTEM` - SYSTEM - - * `MERGE_TEAM` - MERGE_TEAM - union: - - RoleEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - AuditLogEventEventType: - discriminated: false - docs: >- - Designates the type of event that occurred. - - - * `CREATED_REMOTE_PRODUCTION_API_KEY` - CREATED_REMOTE_PRODUCTION_API_KEY - - * `DELETED_REMOTE_PRODUCTION_API_KEY` - DELETED_REMOTE_PRODUCTION_API_KEY - - * `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY - - * `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY - - * `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY - - * `REGENERATED_WEBHOOK_SIGNATURE` - REGENERATED_WEBHOOK_SIGNATURE - - * `INVITED_USER` - INVITED_USER - - * `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED - - * `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED - - * `DELETED_LINKED_ACCOUNT` - DELETED_LINKED_ACCOUNT - - * `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT` - - DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT - - * `CREATED_DESTINATION` - CREATED_DESTINATION - - * `DELETED_DESTINATION` - DELETED_DESTINATION - - * `CHANGED_DESTINATION` - CHANGED_DESTINATION - - * `CHANGED_SCOPES` - CHANGED_SCOPES - - * `CHANGED_PERSONAL_INFORMATION` - CHANGED_PERSONAL_INFORMATION - - * `CHANGED_ORGANIZATION_SETTINGS` - CHANGED_ORGANIZATION_SETTINGS - - * `ENABLED_INTEGRATION` - ENABLED_INTEGRATION - - * `DISABLED_INTEGRATION` - DISABLED_INTEGRATION - - * `ENABLED_CATEGORY` - ENABLED_CATEGORY - - * `DISABLED_CATEGORY` - DISABLED_CATEGORY - - * `CHANGED_PASSWORD` - CHANGED_PASSWORD - - * `RESET_PASSWORD` - RESET_PASSWORD - - * `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - - * `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - - * `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - - * `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - - * `CREATED_INTEGRATION_WIDE_FIELD_MAPPING` - - CREATED_INTEGRATION_WIDE_FIELD_MAPPING - - * `CREATED_LINKED_ACCOUNT_FIELD_MAPPING` - - CREATED_LINKED_ACCOUNT_FIELD_MAPPING - - * `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING` - - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING - - * `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING - - * `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - - DELETED_INTEGRATION_WIDE_FIELD_MAPPING - - * `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - - DELETED_LINKED_ACCOUNT_FIELD_MAPPING - - * `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - - CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - * `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - - CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - * `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - - DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - * `FORCED_LINKED_ACCOUNT_RESYNC` - FORCED_LINKED_ACCOUNT_RESYNC - - * `MUTED_ISSUE` - MUTED_ISSUE - - * `GENERATED_MAGIC_LINK` - GENERATED_MAGIC_LINK - - * `ENABLED_MERGE_WEBHOOK` - ENABLED_MERGE_WEBHOOK - - * `DISABLED_MERGE_WEBHOOK` - DISABLED_MERGE_WEBHOOK - - * `MERGE_WEBHOOK_TARGET_CHANGED` - MERGE_WEBHOOK_TARGET_CHANGED - - * `END_USER_CREDENTIALS_ACCESSED` - END_USER_CREDENTIALS_ACCESSED - union: - - EventTypeEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - AuditLogEvent: - properties: - id: - type: optional - validation: - format: uuid - access: read-only - user_name: - type: optional - docs: The User's full name at the time of this Event occurring. - validation: - maxLength: 200 - user_email: - type: optional - docs: The User's email at the time of this Event occurring. - validation: - format: email - maxLength: 254 - role: - type: AuditLogEventRole - docs: >- - Designates the role of the user (or SYSTEM/API if action not taken by - a user) at the time of this Event occurring. - - - * `ADMIN` - ADMIN - - * `DEVELOPER` - DEVELOPER - - * `MEMBER` - MEMBER - - * `API` - API - - * `SYSTEM` - SYSTEM - - * `MERGE_TEAM` - MERGE_TEAM - ip_address: - type: string - validation: - maxLength: 45 - event_type: - type: AuditLogEventEventType - docs: >- - Designates the type of event that occurred. - - - * `CREATED_REMOTE_PRODUCTION_API_KEY` - - CREATED_REMOTE_PRODUCTION_API_KEY - - * `DELETED_REMOTE_PRODUCTION_API_KEY` - - DELETED_REMOTE_PRODUCTION_API_KEY - - * `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY - - * `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY - - * `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY - - * `REGENERATED_WEBHOOK_SIGNATURE` - REGENERATED_WEBHOOK_SIGNATURE - - * `INVITED_USER` - INVITED_USER - - * `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED - - * `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED - - * `DELETED_LINKED_ACCOUNT` - DELETED_LINKED_ACCOUNT - - * `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT` - - DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT - - * `CREATED_DESTINATION` - CREATED_DESTINATION - - * `DELETED_DESTINATION` - DELETED_DESTINATION - - * `CHANGED_DESTINATION` - CHANGED_DESTINATION - - * `CHANGED_SCOPES` - CHANGED_SCOPES - - * `CHANGED_PERSONAL_INFORMATION` - CHANGED_PERSONAL_INFORMATION - - * `CHANGED_ORGANIZATION_SETTINGS` - CHANGED_ORGANIZATION_SETTINGS - - * `ENABLED_INTEGRATION` - ENABLED_INTEGRATION - - * `DISABLED_INTEGRATION` - DISABLED_INTEGRATION - - * `ENABLED_CATEGORY` - ENABLED_CATEGORY - - * `DISABLED_CATEGORY` - DISABLED_CATEGORY - - * `CHANGED_PASSWORD` - CHANGED_PASSWORD - - * `RESET_PASSWORD` - RESET_PASSWORD - - * `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - - * `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - - * `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - - * `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - - * `CREATED_INTEGRATION_WIDE_FIELD_MAPPING` - - CREATED_INTEGRATION_WIDE_FIELD_MAPPING - - * `CREATED_LINKED_ACCOUNT_FIELD_MAPPING` - - CREATED_LINKED_ACCOUNT_FIELD_MAPPING - - * `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING` - - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING - - * `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING - - * `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - - DELETED_INTEGRATION_WIDE_FIELD_MAPPING - - * `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - - DELETED_LINKED_ACCOUNT_FIELD_MAPPING - - * `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - - CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - * `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - - CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - * `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - - DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - * `FORCED_LINKED_ACCOUNT_RESYNC` - FORCED_LINKED_ACCOUNT_RESYNC - - * `MUTED_ISSUE` - MUTED_ISSUE - - * `GENERATED_MAGIC_LINK` - GENERATED_MAGIC_LINK - - * `ENABLED_MERGE_WEBHOOK` - ENABLED_MERGE_WEBHOOK - - * `DISABLED_MERGE_WEBHOOK` - DISABLED_MERGE_WEBHOOK - - * `MERGE_WEBHOOK_TARGET_CHANGED` - MERGE_WEBHOOK_TARGET_CHANGED - - * `END_USER_CREDENTIALS_ACCESSED` - END_USER_CREDENTIALS_ACCESSED - event_description: string - created_at: - type: optional - access: read-only - source: - openapi: openapi/openapi.yml - AvailableActions: - docs: >- - # The AvailableActions Object - - ### Description - - The `Activity` object is used to see all available model/operation - combinations for an integration. - - - ### Usage Example - - Fetch all the actions available for the `Zenefits` integration. - properties: - integration: AccountIntegration - passthrough_available: boolean - available_model_operations: optional> - source: - openapi: openapi/openapi.yml - CandidateApplicationsItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - Application - source: - openapi: openapi/openapi.yml - inline: true - CandidateAttachmentsItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - Attachment - source: - openapi: openapi/openapi.yml - inline: true - Candidate: - docs: >- - # The Candidate Object - - ### Description - - The `Candidate` object is used to represent profile information about a - given Candidate. Because it is specific to a Candidate, this information - stays constant across applications. - - ### Usage Example - - Fetch from the `LIST Candidates` endpoint and filter by `ID` to show all - candidates. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - first_name: - type: optional - docs: The candidate's first name. - last_name: - type: optional - docs: The candidate's last name. - company: - type: optional - docs: The candidate's current company. - title: - type: optional - docs: The candidate's current title. - remote_created_at: - type: optional - docs: When the third party's candidate was created. - remote_updated_at: - type: optional - docs: When the third party's candidate was updated. - last_interaction_at: - type: optional - docs: When the most recent interaction with the candidate occurred. - is_private: - type: optional - docs: Whether or not the candidate is private. - can_email: - type: optional - docs: Whether or not the candidate can be emailed. - locations: - type: optional>> - docs: The candidate's locations. - phone_numbers: optional> - email_addresses: optional> - urls: optional> - tags: - type: optional>> - docs: Array of `Tag` names as strings. - applications: - type: optional>> - docs: Array of `Application` object IDs. - attachments: - type: optional>> - docs: Array of `Attachment` object IDs. - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - CandidateRequestApplicationsItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - Application - source: - openapi: openapi/openapi.yml - inline: true - CandidateRequestAttachmentsItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - Attachment - source: - openapi: openapi/openapi.yml - inline: true - CandidateRequest: - docs: >- - # The Candidate Object - - ### Description - - The `Candidate` object is used to represent profile information about a - given Candidate. Because it is specific to a Candidate, this information - stays constant across applications. - - ### Usage Example - - Fetch from the `LIST Candidates` endpoint and filter by `ID` to show all - candidates. - properties: - first_name: - type: optional - docs: The candidate's first name. - last_name: - type: optional - docs: The candidate's last name. - company: - type: optional - docs: The candidate's current company. - title: - type: optional - docs: The candidate's current title. - last_interaction_at: - type: optional - docs: When the most recent interaction with the candidate occurred. - is_private: - type: optional - docs: Whether or not the candidate is private. - can_email: - type: optional - docs: Whether or not the candidate can be emailed. - locations: - type: optional>> - docs: The candidate's locations. - phone_numbers: optional> - email_addresses: optional> - urls: optional> - tags: - type: optional>> - docs: Array of `Tag` names as strings. - applications: - type: optional>> - docs: Array of `Application` object IDs. - attachments: - type: optional>> - docs: Array of `Attachment` object IDs. - remote_template_id: - type: optional - validation: - minLength: 1 - access: write-only - integration_params: - type: optional> - access: write-only - linked_account_params: - type: optional> - access: write-only - source: - openapi: openapi/openapi.yml - CandidateResponse: - properties: - model: Candidate - warnings: list - errors: list - logs: optional> - source: - openapi: openapi/openapi.yml - CategoriesEnum: - enum: - - hris - - ats - - accounting - - ticketing - - crm - - mktg - - filestorage - docs: |- - * `hris` - hris - * `ats` - ats - * `accounting` - accounting - * `ticketing` - ticketing - * `crm` - crm - * `mktg` - mktg - * `filestorage` - filestorage - source: - openapi: openapi/openapi.yml - CategoryEnum: - enum: - - hris - - ats - - accounting - - ticketing - - crm - - mktg - - filestorage - docs: |- - * `hris` - hris - * `ats` - ats - * `accounting` - accounting - * `ticketing` - ticketing - * `crm` - crm - * `mktg` - mktg - * `filestorage` - filestorage - source: - openapi: openapi/openapi.yml - CommonModelScopeApi: - properties: - common_models: - docs: The common models you want to update the scopes for - type: list - source: - openapi: openapi/openapi.yml - CommonModelScopesBodyRequest: - properties: - model_id: - type: string - validation: - minLength: 1 - enabled_actions: list - disabled_fields: list - source: - openapi: openapi/openapi.yml - DataPassthroughRequest: - docs: >- - # The DataPassthrough Object - - ### Description - - The `DataPassthrough` object is used to send information to an - otherwise-unsupported third-party endpoint. - - - ### Usage Example - - Create a `DataPassthrough` to get team hierarchies from your Rippling - integration. - properties: - method: MethodEnum - path: - type: string - docs: The path of the request in the third party's platform. - validation: - minLength: 1 - base_url_override: - type: optional - docs: An optional override of the third party's base url for the request. - validation: - minLength: 1 - data: - type: optional - docs: >- - The data with the request. You must include a `request_format` - parameter matching the data's format - validation: - minLength: 1 - multipart_form_data: - type: optional> - docs: >- - Pass an array of `MultipartFormField` objects in here instead of using - the `data` param if `request_format` is set to `MULTIPART`. - headers: - type: optional> - docs: >- - The headers to use for the request (Merge will handle the account's - authorization headers). `Content-Type` header is required for - passthrough. Choose content type corresponding to expected format of - receiving server. - request_format: optional - normalize_response: - type: optional - docs: >- - Optional. If true, the response will always be an object of the form - `{"type": T, "value": ...}` where `T` will be one of `string, boolean, - number, null, array, object`. - source: - openapi: openapi/openapi.yml - DebugModeLog: - properties: - log_id: string - dashboard_view: string - log_summary: DebugModelLogSummary - source: - openapi: openapi/openapi.yml - DebugModelLogSummary: - properties: - url: string - method: string - status_code: integer - source: - openapi: openapi/openapi.yml - Department: - docs: >- - # The Department Object - - ### Description - - The `Department` object is used to represent a department within a - company. - - ### Usage Example - - Fetch from the `LIST Departments` endpoint and view the departments within - a company. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - name: - type: optional - docs: The department's name. - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - DisabilityStatusEnum: - enum: - - YES_I_HAVE_A_DISABILITY_OR_PREVIOUSLY_HAD_A_DISABILITY - - NO_I_DONT_HAVE_A_DISABILITY - - I_DONT_WISH_TO_ANSWER - docs: >- - * `YES_I_HAVE_A_DISABILITY_OR_PREVIOUSLY_HAD_A_DISABILITY` - - YES_I_HAVE_A_DISABILITY_OR_PREVIOUSLY_HAD_A_DISABILITY - - * `NO_I_DONT_HAVE_A_DISABILITY` - NO_I_DONT_HAVE_A_DISABILITY - - * `I_DONT_WISH_TO_ANSWER` - I_DONT_WISH_TO_ANSWER - source: - openapi: openapi/openapi.yml - EeocCandidate: - discriminated: false - docs: The candidate being represented. - union: - - type: string - validation: - format: uuid - - Candidate - source: - openapi: openapi/openapi.yml - inline: true - EeocRace: - discriminated: false - docs: >- - The candidate's race. - - - * `AMERICAN_INDIAN_OR_ALASKAN_NATIVE` - AMERICAN_INDIAN_OR_ALASKAN_NATIVE - - * `ASIAN` - ASIAN - - * `BLACK_OR_AFRICAN_AMERICAN` - BLACK_OR_AFRICAN_AMERICAN - - * `HISPANIC_OR_LATINO` - HISPANIC_OR_LATINO - - * `WHITE` - WHITE - - * `NATIVE_HAWAIIAN_OR_OTHER_PACIFIC_ISLANDER` - - NATIVE_HAWAIIAN_OR_OTHER_PACIFIC_ISLANDER - - * `TWO_OR_MORE_RACES` - TWO_OR_MORE_RACES - - * `DECLINE_TO_SELF_IDENTIFY` - DECLINE_TO_SELF_IDENTIFY - union: - - RaceEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - EeocGender: - discriminated: false - docs: |- - The candidate's gender. - - * `MALE` - MALE - * `FEMALE` - FEMALE - * `NON-BINARY` - NON-BINARY - * `OTHER` - OTHER - * `DECLINE_TO_SELF_IDENTIFY` - DECLINE_TO_SELF_IDENTIFY - union: - - GenderEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - EeocVeteranStatus: - discriminated: false - docs: >- - The candidate's veteran status. - - - * `I_AM_NOT_A_PROTECTED_VETERAN` - I_AM_NOT_A_PROTECTED_VETERAN - - * - `I_IDENTIFY_AS_ONE_OR_MORE_OF_THE_CLASSIFICATIONS_OF_A_PROTECTED_VETERAN` - - I_IDENTIFY_AS_ONE_OR_MORE_OF_THE_CLASSIFICATIONS_OF_A_PROTECTED_VETERAN - - * `I_DONT_WISH_TO_ANSWER` - I_DONT_WISH_TO_ANSWER - union: - - VeteranStatusEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - EeocDisabilityStatus: - discriminated: false - docs: >- - The candidate's disability status. - - - * `YES_I_HAVE_A_DISABILITY_OR_PREVIOUSLY_HAD_A_DISABILITY` - - YES_I_HAVE_A_DISABILITY_OR_PREVIOUSLY_HAD_A_DISABILITY - - * `NO_I_DONT_HAVE_A_DISABILITY` - NO_I_DONT_HAVE_A_DISABILITY - - * `I_DONT_WISH_TO_ANSWER` - I_DONT_WISH_TO_ANSWER - union: - - DisabilityStatusEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - Eeoc: - docs: >- - # The EEOC Object - - ### Description - - The `EEOC` object is used to represent the Equal Employment Opportunity - Commission information for a candidate (race, gender, veteran status, - disability status). - - ### Usage Example - - Fetch from the `LIST EEOCs` endpoint and filter by `candidate` to show all - EEOC information for a candidate. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - candidate: - type: optional - docs: The candidate being represented. - submitted_at: - type: optional - docs: When the information was submitted. - race: - type: optional - docs: >- - The candidate's race. - - - * `AMERICAN_INDIAN_OR_ALASKAN_NATIVE` - - AMERICAN_INDIAN_OR_ALASKAN_NATIVE - - * `ASIAN` - ASIAN - - * `BLACK_OR_AFRICAN_AMERICAN` - BLACK_OR_AFRICAN_AMERICAN - - * `HISPANIC_OR_LATINO` - HISPANIC_OR_LATINO - - * `WHITE` - WHITE - - * `NATIVE_HAWAIIAN_OR_OTHER_PACIFIC_ISLANDER` - - NATIVE_HAWAIIAN_OR_OTHER_PACIFIC_ISLANDER - - * `TWO_OR_MORE_RACES` - TWO_OR_MORE_RACES - - * `DECLINE_TO_SELF_IDENTIFY` - DECLINE_TO_SELF_IDENTIFY - gender: - type: optional - docs: |- - The candidate's gender. - - * `MALE` - MALE - * `FEMALE` - FEMALE - * `NON-BINARY` - NON-BINARY - * `OTHER` - OTHER - * `DECLINE_TO_SELF_IDENTIFY` - DECLINE_TO_SELF_IDENTIFY - veteran_status: - type: optional - docs: >- - The candidate's veteran status. - - - * `I_AM_NOT_A_PROTECTED_VETERAN` - I_AM_NOT_A_PROTECTED_VETERAN - - * - `I_IDENTIFY_AS_ONE_OR_MORE_OF_THE_CLASSIFICATIONS_OF_A_PROTECTED_VETERAN` - - - I_IDENTIFY_AS_ONE_OR_MORE_OF_THE_CLASSIFICATIONS_OF_A_PROTECTED_VETERAN - - * `I_DONT_WISH_TO_ANSWER` - I_DONT_WISH_TO_ANSWER - disability_status: - type: optional - docs: >- - The candidate's disability status. - - - * `YES_I_HAVE_A_DISABILITY_OR_PREVIOUSLY_HAD_A_DISABILITY` - - YES_I_HAVE_A_DISABILITY_OR_PREVIOUSLY_HAD_A_DISABILITY - - * `NO_I_DONT_HAVE_A_DISABILITY` - NO_I_DONT_HAVE_A_DISABILITY - - * `I_DONT_WISH_TO_ANSWER` - I_DONT_WISH_TO_ANSWER - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - EmailAddressEmailAddressType: - discriminated: false - docs: |- - The type of email address. - - * `PERSONAL` - PERSONAL - * `WORK` - WORK - * `OTHER` - OTHER - union: - - EmailAddressTypeEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - EmailAddress: - docs: >- - # The EmailAddress Object - - ### Description - - The `EmailAddress` object is used to represent a candidate's email - address. - - ### Usage Example - - Fetch from the `GET Candidate` endpoint and view their email addresses. - properties: - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - value: - type: optional - docs: The email address. - validation: - format: email - maxLength: 254 - email_address_type: - type: optional - docs: |- - The type of email address. - - * `PERSONAL` - PERSONAL - * `WORK` - WORK - * `OTHER` - OTHER - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - source: - openapi: openapi/openapi.yml - EmailAddressRequestEmailAddressType: - discriminated: false - docs: |- - The type of email address. - - * `PERSONAL` - PERSONAL - * `WORK` - WORK - * `OTHER` - OTHER - union: - - EmailAddressTypeEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - EmailAddressRequest: - docs: >- - # The EmailAddress Object - - ### Description - - The `EmailAddress` object is used to represent a candidate's email - address. - - ### Usage Example - - Fetch from the `GET Candidate` endpoint and view their email addresses. - properties: - value: - type: optional - docs: The email address. - validation: - format: email - maxLength: 254 - email_address_type: - type: optional - docs: |- - The type of email address. - - * `PERSONAL` - PERSONAL - * `WORK` - WORK - * `OTHER` - OTHER - integration_params: - type: optional> - access: write-only - linked_account_params: - type: optional> - access: write-only - source: - openapi: openapi/openapi.yml - EmailAddressTypeEnum: - enum: - - PERSONAL - - WORK - - OTHER - docs: |- - * `PERSONAL` - PERSONAL - * `WORK` - WORK - * `OTHER` - OTHER - source: - openapi: openapi/openapi.yml - EnabledActionsEnum: - enum: - - READ - - WRITE - docs: |- - * `READ` - READ - * `WRITE` - WRITE - source: - openapi: openapi/openapi.yml - EncodingEnum: - enum: - - RAW - - BASE64 - - GZIP_BASE64 - docs: |- - * `RAW` - RAW - * `BASE64` - BASE64 - * `GZIP_BASE64` - GZIP_BASE64 - source: - openapi: openapi/openapi.yml - ErrorValidationProblem: - properties: - source: optional - title: string - detail: string - problem_type: string - source: - openapi: openapi/openapi.yml - EventTypeEnum: - enum: - - CREATED_REMOTE_PRODUCTION_API_KEY - - DELETED_REMOTE_PRODUCTION_API_KEY - - CREATED_TEST_API_KEY - - DELETED_TEST_API_KEY - - REGENERATED_PRODUCTION_API_KEY - - REGENERATED_WEBHOOK_SIGNATURE - - INVITED_USER - - TWO_FACTOR_AUTH_ENABLED - - TWO_FACTOR_AUTH_DISABLED - - DELETED_LINKED_ACCOUNT - - DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT - - CREATED_DESTINATION - - DELETED_DESTINATION - - CHANGED_DESTINATION - - CHANGED_SCOPES - - CHANGED_PERSONAL_INFORMATION - - CHANGED_ORGANIZATION_SETTINGS - - ENABLED_INTEGRATION - - DISABLED_INTEGRATION - - ENABLED_CATEGORY - - DISABLED_CATEGORY - - CHANGED_PASSWORD - - RESET_PASSWORD - - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - - CREATED_INTEGRATION_WIDE_FIELD_MAPPING - - CREATED_LINKED_ACCOUNT_FIELD_MAPPING - - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING - - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING - - DELETED_INTEGRATION_WIDE_FIELD_MAPPING - - DELETED_LINKED_ACCOUNT_FIELD_MAPPING - - CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - FORCED_LINKED_ACCOUNT_RESYNC - - MUTED_ISSUE - - GENERATED_MAGIC_LINK - - ENABLED_MERGE_WEBHOOK - - DISABLED_MERGE_WEBHOOK - - MERGE_WEBHOOK_TARGET_CHANGED - - END_USER_CREDENTIALS_ACCESSED - docs: >- - * `CREATED_REMOTE_PRODUCTION_API_KEY` - CREATED_REMOTE_PRODUCTION_API_KEY - - * `DELETED_REMOTE_PRODUCTION_API_KEY` - DELETED_REMOTE_PRODUCTION_API_KEY - - * `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY - - * `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY - - * `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY - - * `REGENERATED_WEBHOOK_SIGNATURE` - REGENERATED_WEBHOOK_SIGNATURE - - * `INVITED_USER` - INVITED_USER - - * `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED - - * `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED - - * `DELETED_LINKED_ACCOUNT` - DELETED_LINKED_ACCOUNT - - * `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT` - - DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT - - * `CREATED_DESTINATION` - CREATED_DESTINATION - - * `DELETED_DESTINATION` - DELETED_DESTINATION - - * `CHANGED_DESTINATION` - CHANGED_DESTINATION - - * `CHANGED_SCOPES` - CHANGED_SCOPES - - * `CHANGED_PERSONAL_INFORMATION` - CHANGED_PERSONAL_INFORMATION - - * `CHANGED_ORGANIZATION_SETTINGS` - CHANGED_ORGANIZATION_SETTINGS - - * `ENABLED_INTEGRATION` - ENABLED_INTEGRATION - - * `DISABLED_INTEGRATION` - DISABLED_INTEGRATION - - * `ENABLED_CATEGORY` - ENABLED_CATEGORY - - * `DISABLED_CATEGORY` - DISABLED_CATEGORY - - * `CHANGED_PASSWORD` - CHANGED_PASSWORD - - * `RESET_PASSWORD` - RESET_PASSWORD - - * `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - - * `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - - * `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - - * `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - - * `CREATED_INTEGRATION_WIDE_FIELD_MAPPING` - - CREATED_INTEGRATION_WIDE_FIELD_MAPPING - - * `CREATED_LINKED_ACCOUNT_FIELD_MAPPING` - - CREATED_LINKED_ACCOUNT_FIELD_MAPPING - - * `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING` - - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING - - * `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING - - * `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - - DELETED_INTEGRATION_WIDE_FIELD_MAPPING - - * `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - - DELETED_LINKED_ACCOUNT_FIELD_MAPPING - - * `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - - CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - * `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - - CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - * `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - - DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - * `FORCED_LINKED_ACCOUNT_RESYNC` - FORCED_LINKED_ACCOUNT_RESYNC - - * `MUTED_ISSUE` - MUTED_ISSUE - - * `GENERATED_MAGIC_LINK` - GENERATED_MAGIC_LINK - - * `ENABLED_MERGE_WEBHOOK` - ENABLED_MERGE_WEBHOOK - - * `DISABLED_MERGE_WEBHOOK` - DISABLED_MERGE_WEBHOOK - - * `MERGE_WEBHOOK_TARGET_CHANGED` - MERGE_WEBHOOK_TARGET_CHANGED - - * `END_USER_CREDENTIALS_ACCESSED` - END_USER_CREDENTIALS_ACCESSED - source: - openapi: openapi/openapi.yml - ExternalTargetFieldApi: - properties: - name: - type: optional - access: read-only - description: - type: optional - access: read-only - is_mapped: - type: optional - access: read-only - source: - openapi: openapi/openapi.yml - ExternalTargetFieldApiResponse: - properties: - Activity: optional> - Application: optional> - Attachment: optional> - Candidate: optional> - Department: optional> - EEOC: optional> - ScheduledInterview: optional> - Job: optional> - JobPosting: optional> - JobInterviewStage: optional> - Offer: optional> - Office: optional> - RejectReason: optional> - Scorecard: optional> - Tag: optional> - RemoteUser: optional> - source: - openapi: openapi/openapi.yml - FieldMappingApiInstanceTargetField: - properties: - name: string - description: string - is_organization_wide: boolean - source: - openapi: openapi/openapi.yml - inline: true - FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo: - properties: - method: optional - url_path: optional - field_traversal_path: optional> - source: - openapi: openapi/openapi.yml - inline: true - FieldMappingApiInstanceRemoteField: - properties: - remote_key_name: optional - schema: optional> - remote_endpoint_info: FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo - source: - openapi: openapi/openapi.yml - inline: true - FieldMappingApiInstance: - properties: - id: - type: optional - validation: - format: uuid - access: read-only - is_integration_wide: - type: optional - access: read-only - target_field: - type: optional - access: read-only - remote_field: - type: optional - access: read-only - source: - openapi: openapi/openapi.yml - FieldMappingApiInstanceResponse: - properties: - Activity: optional> - Application: optional> - Attachment: optional> - Candidate: optional> - Department: optional> - EEOC: optional> - ScheduledInterview: optional> - Job: optional> - JobPosting: optional> - JobInterviewStage: optional> - Offer: optional> - Office: optional> - RejectReason: optional> - Scorecard: optional> - Tag: optional> - RemoteUser: optional> - source: - openapi: openapi/openapi.yml - FieldMappingInstanceResponse: - properties: - model: FieldMappingApiInstance - warnings: list - errors: list - logs: optional> - source: - openapi: openapi/openapi.yml - FieldPermissionDeserializer: - properties: - enabled_fields: optional> - disabled_fields: optional> - source: - openapi: openapi/openapi.yml - FieldPermissionDeserializerRequest: - properties: - enabled_fields: optional> - disabled_fields: optional> - source: - openapi: openapi/openapi.yml - GenderEnum: - enum: - - MALE - - FEMALE - - value: NON-BINARY - name: NonBinary - - OTHER - - DECLINE_TO_SELF_IDENTIFY - docs: |- - * `MALE` - MALE - * `FEMALE` - FEMALE - * `NON-BINARY` - NON-BINARY - * `OTHER` - OTHER - * `DECLINE_TO_SELF_IDENTIFY` - DECLINE_TO_SELF_IDENTIFY - source: - openapi: openapi/openapi.yml - IndividualCommonModelScopeDeserializer: - properties: - model_name: string - model_permissions: optional> - field_permissions: optional - source: - openapi: openapi/openapi.yml - IndividualCommonModelScopeDeserializerRequest: - properties: - model_name: - type: string - validation: - minLength: 1 - model_permissions: optional> - field_permissions: optional - source: - openapi: openapi/openapi.yml - IssueStatus: - discriminated: false - docs: |- - Status of the issue. Options: ('ONGOING', 'RESOLVED') - - * `ONGOING` - ONGOING - * `RESOLVED` - RESOLVED - union: - - IssueStatusEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - Issue: - properties: - id: - type: optional - validation: - format: uuid - access: read-only - status: - type: optional - docs: |- - Status of the issue. Options: ('ONGOING', 'RESOLVED') - - * `ONGOING` - ONGOING - * `RESOLVED` - RESOLVED - error_description: string - end_user: - type: optional> - access: read-only - first_incident_time: optional - last_incident_time: optional - is_muted: - type: optional - access: read-only - error_details: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - IssueStatusEnum: - enum: - - ONGOING - - RESOLVED - docs: |- - * `ONGOING` - ONGOING - * `RESOLVED` - RESOLVED - source: - openapi: openapi/openapi.yml - JobStatus: - discriminated: false - docs: |- - The job's status. - - * `OPEN` - OPEN - * `CLOSED` - CLOSED - * `DRAFT` - DRAFT - * `ARCHIVED` - ARCHIVED - * `PENDING` - PENDING - union: - - JobStatusEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - JobType: - discriminated: false - docs: |- - The job's type. - - * `POSTING` - POSTING - * `REQUISITION` - REQUISITION - * `PROFILE` - PROFILE - union: - - JobTypeEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - JobDepartmentsItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - Department - source: - openapi: openapi/openapi.yml - inline: true - JobOfficesItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - Office - source: - openapi: openapi/openapi.yml - inline: true - JobHiringManagersItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - RemoteUser - source: - openapi: openapi/openapi.yml - inline: true - JobRecruitersItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - RemoteUser - source: - openapi: openapi/openapi.yml - inline: true - Job: - docs: >- - # The Job Object - - ### Description - - The `Job` object can be used to track any jobs that are currently or will - be open/closed for applications. - - ### Usage Example - - Fetch from the `LIST Jobs` endpoint to show all job postings. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - name: - type: optional - docs: The job's name. - description: - type: optional - docs: The job's description. - code: - type: optional - docs: >- - The job's code. Typically an additional identifier used to reference - the particular job that is displayed on the ATS. - status: - type: optional - docs: |- - The job's status. - - * `OPEN` - OPEN - * `CLOSED` - CLOSED - * `DRAFT` - DRAFT - * `ARCHIVED` - ARCHIVED - * `PENDING` - PENDING - type: - type: optional - docs: |- - The job's type. - - * `POSTING` - POSTING - * `REQUISITION` - REQUISITION - * `PROFILE` - PROFILE - job_postings: - type: optional>> - docs: IDs of `JobPosting` objects that serve as job postings for this `Job`. - job_posting_urls: optional> - remote_created_at: - type: optional - docs: When the third party's job was created. - remote_updated_at: - type: optional - docs: When the third party's job was updated. - confidential: - type: optional - docs: Whether the job is confidential. - departments: - type: optional>> - docs: IDs of `Department` objects for this `Job`. - offices: - type: optional>> - docs: IDs of `Office` objects for this `Job`. - hiring_managers: - type: optional>> - docs: >- - IDs of `RemoteUser` objects that serve as hiring managers for this - `Job`. - recruiters: - type: optional>> - docs: IDs of `RemoteUser` objects that serve as recruiters for this `Job`. - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - JobInterviewStageJob: - discriminated: false - docs: >- - This field is populated only if the stage is specific to a particular job. - If the stage is generic, this field will not be populated. - union: - - type: string - validation: - format: uuid - - Job - source: - openapi: openapi/openapi.yml - inline: true - JobInterviewStage: - docs: >- - # The JobInterviewStage Object - - ### Description - - The `JobInterviewStage` object is used to represent a particular - recruiting stage for an `Application`. A given `Application` typically has - the `JobInterviewStage` object represented in the current_stage field. - - ### Usage Example - - Fetch from the `LIST JobInterviewStages` endpoint and view the job - interview stages used by a company. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - name: - type: optional - docs: >- - Standard stage names are offered by ATS systems but can be modified by - users. - job: - type: optional - docs: >- - This field is populated only if the stage is specific to a particular - job. If the stage is generic, this field will not be populated. - stage_order: - type: optional - docs: >- - The stage’s order, with the lowest values ordered first. If the - third-party does not return details on the order of stages, this field - will not be populated. - validation: - min: -2147483648 - max: 2147483647 - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - JobPostingJobPostingUrlsItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - Url - source: - openapi: openapi/openapi.yml - inline: true - JobPostingJob: - discriminated: false - docs: ID of `Job` object for this `JobPosting`. - union: - - type: string - validation: - format: uuid - - Job - source: - openapi: openapi/openapi.yml - inline: true - JobPostingStatus: - discriminated: false - docs: |- - The job posting's status. - - * `PUBLISHED` - PUBLISHED - * `CLOSED` - CLOSED - * `DRAFT` - DRAFT - * `INTERNAL` - INTERNAL - * `PENDING` - PENDING - union: - - JobPostingStatusEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - JobPosting: - docs: >- - # The JobPosting Object - - ### Description - - The `JobPosting` object represents an external announcement on a job board - created by an organization to attract qualified candidates to apply for a - specific `Job` opening - - ### Usage Example - - Fetch from the `LIST JobPostings` endpoint to show all job postings. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - title: - type: optional - docs: The job posting’s title. - job_posting_urls: - type: optional> - docs: >- - The Url object is used to represent hyperlinks for a candidate to - apply to a given job. - job: - type: optional - docs: ID of `Job` object for this `JobPosting`. - status: - type: optional - docs: |- - The job posting's status. - - * `PUBLISHED` - PUBLISHED - * `CLOSED` - CLOSED - * `DRAFT` - DRAFT - * `INTERNAL` - INTERNAL - * `PENDING` - PENDING - content: - type: optional - docs: The job posting’s content. - remote_created_at: - type: optional - docs: When the third party's job posting was created. - remote_updated_at: - type: optional - docs: When the third party's job posting was updated. - is_internal: - type: optional - docs: Indicates whether the job posting is internal or external. - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - JobPostingStatusEnum: - enum: - - PUBLISHED - - CLOSED - - DRAFT - - INTERNAL - - PENDING - docs: |- - * `PUBLISHED` - PUBLISHED - * `CLOSED` - CLOSED - * `DRAFT` - DRAFT - * `INTERNAL` - INTERNAL - * `PENDING` - PENDING - source: - openapi: openapi/openapi.yml - JobStatusEnum: - enum: - - OPEN - - CLOSED - - DRAFT - - ARCHIVED - - PENDING - docs: |- - * `OPEN` - OPEN - * `CLOSED` - CLOSED - * `DRAFT` - DRAFT - * `ARCHIVED` - ARCHIVED - * `PENDING` - PENDING - source: - openapi: openapi/openapi.yml - JobTypeEnum: - enum: - - POSTING - - REQUISITION - - PROFILE - docs: |- - * `POSTING` - POSTING - * `REQUISITION` - REQUISITION - * `PROFILE` - PROFILE - source: - openapi: openapi/openapi.yml - LanguageEnum: - enum: - - en - - de - docs: |- - * `en` - en - * `de` - de - source: - openapi: openapi/openapi.yml - LastSyncResultEnum: - enum: - - SYNCING - - DONE - - FAILED - - DISABLED - - PAUSED - - PARTIALLY_SYNCED - docs: |- - * `SYNCING` - SYNCING - * `DONE` - DONE - * `FAILED` - FAILED - * `DISABLED` - DISABLED - * `PAUSED` - PAUSED - * `PARTIALLY_SYNCED` - PARTIALLY_SYNCED - source: - openapi: openapi/openapi.yml - LinkToken: - properties: - link_token: string - integration_name: optional - magic_link_url: optional - source: - openapi: openapi/openapi.yml - LinkedAccountStatus: - properties: - linked_account_status: string - can_make_request: boolean - source: - openapi: openapi/openapi.yml - MetaResponse: - properties: - request_schema: map - remote_field_classes: optional> - status: optional - has_conditional_params: boolean - has_required_linked_account_params: boolean - source: - openapi: openapi/openapi.yml - MethodEnum: - enum: - - GET - - OPTIONS - - HEAD - - POST - - PUT - - PATCH - - DELETE - docs: |- - * `GET` - GET - * `OPTIONS` - OPTIONS - * `HEAD` - HEAD - * `POST` - POST - * `PUT` - PUT - * `PATCH` - PATCH - * `DELETE` - DELETE - source: - openapi: openapi/openapi.yml - ModelOperation: - docs: >- - # The ModelOperation Object - - ### Description - - The `ModelOperation` object is used to represent the operations that are - currently supported for a given model. - - - ### Usage Example - - View what operations are supported for the `Candidate` endpoint. - properties: - model_name: string - available_operations: list - required_post_parameters: list - supported_fields: list - source: - openapi: openapi/openapi.yml - ModelPermissionDeserializer: - properties: - is_enabled: optional - source: - openapi: openapi/openapi.yml - ModelPermissionDeserializerRequest: - properties: - is_enabled: optional - source: - openapi: openapi/openapi.yml - MultipartFormFieldRequestEncoding: - discriminated: false - docs: |- - The encoding of the value of `data`. Defaults to `RAW` if not defined. - - * `RAW` - RAW - * `BASE64` - BASE64 - * `GZIP_BASE64` - GZIP_BASE64 - union: - - EncodingEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - MultipartFormFieldRequest: - docs: >- - # The MultipartFormField Object - - ### Description - - The `MultipartFormField` object is used to represent fields in an HTTP - request using `multipart/form-data`. - - - ### Usage Example - - Create a `MultipartFormField` to define a multipart form entry. - properties: - name: - type: string - docs: The name of the form field - validation: - minLength: 1 - data: - type: string - docs: The data for the form field. - validation: - minLength: 1 - encoding: - type: optional - docs: |- - The encoding of the value of `data`. Defaults to `RAW` if not defined. - - * `RAW` - RAW - * `BASE64` - BASE64 - * `GZIP_BASE64` - GZIP_BASE64 - file_name: - type: optional - docs: The file name of the form field, if the field is for a file. - validation: - minLength: 1 - content_type: - type: optional - docs: The MIME type of the file, if the field is for a file. - validation: - minLength: 1 - source: - openapi: openapi/openapi.yml - OfferApplication: - discriminated: false - docs: The application who is receiving the offer. - union: - - type: string - validation: - format: uuid - - Application - source: - openapi: openapi/openapi.yml - inline: true - OfferCreator: - discriminated: false - docs: The user who created the offer. - union: - - type: string - validation: - format: uuid - - RemoteUser - source: - openapi: openapi/openapi.yml - inline: true - OfferStatus: - discriminated: false - docs: |- - The offer's status. - - * `DRAFT` - DRAFT - * `APPROVAL-SENT` - APPROVAL-SENT - * `APPROVED` - APPROVED - * `SENT` - SENT - * `SENT-MANUALLY` - SENT-MANUALLY - * `OPENED` - OPENED - * `DENIED` - DENIED - * `SIGNED` - SIGNED - * `DEPRECATED` - DEPRECATED - union: - - OfferStatusEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - Offer: - docs: >- - # The Offer Object - - ### Description - - The `Offer` object is used to represent an offer for a candidate's - application specific to a job. - - ### Usage Example - - Fetch from the `LIST Offers` endpoint and filter by `ID` to show all - offers. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - application: - type: optional - docs: The application who is receiving the offer. - creator: - type: optional - docs: The user who created the offer. - remote_created_at: - type: optional - docs: When the third party's offer was created. - closed_at: - type: optional - docs: When the offer was closed. - sent_at: - type: optional - docs: When the offer was sent. - start_date: - type: optional - docs: The employment start date on the offer. - status: - type: optional - docs: |- - The offer's status. - - * `DRAFT` - DRAFT - * `APPROVAL-SENT` - APPROVAL-SENT - * `APPROVED` - APPROVED - * `SENT` - SENT - * `SENT-MANUALLY` - SENT-MANUALLY - * `OPENED` - OPENED - * `DENIED` - DENIED - * `SIGNED` - SIGNED - * `DEPRECATED` - DEPRECATED - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - OfferStatusEnum: - enum: - - DRAFT - - value: APPROVAL-SENT - name: ApprovalSent - - APPROVED - - SENT - - value: SENT-MANUALLY - name: SentManually - - OPENED - - DENIED - - SIGNED - - DEPRECATED - docs: |- - * `DRAFT` - DRAFT - * `APPROVAL-SENT` - APPROVAL-SENT - * `APPROVED` - APPROVED - * `SENT` - SENT - * `SENT-MANUALLY` - SENT-MANUALLY - * `OPENED` - OPENED - * `DENIED` - DENIED - * `SIGNED` - SIGNED - * `DEPRECATED` - DEPRECATED - source: - openapi: openapi/openapi.yml - Office: - docs: >- - # The Office Object - - ### Description - - The `Office` object is used to represent an office within a company. A - given `Job` has the `Office` ID in its offices field. - - ### Usage Example - - Fetch from the `LIST Offices` endpoint and view the offices within a - company. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - name: - type: optional - docs: The office's name. - location: - type: optional - docs: The office's location. - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - OverallRecommendationEnum: - enum: - - DEFINITELY_NO - - 'NO' - - 'YES' - - STRONG_YES - - NO_DECISION - docs: |- - * `DEFINITELY_NO` - DEFINITELY_NO - * `NO` - NO - * `YES` - YES - * `STRONG_YES` - STRONG_YES - * `NO_DECISION` - NO_DECISION - source: - openapi: openapi/openapi.yml - PaginatedAccountDetailsAndActionsList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedActivityList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedApplicationList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedAttachmentList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedAuditLogEventList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedCandidateList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedDepartmentList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedEeocList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedIssueList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedJobInterviewStageList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedJobList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedJobPostingList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedOfferList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedOfficeList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedRejectReasonList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedRemoteUserList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedScheduledInterviewList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedScorecardList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedScreeningQuestionList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedSyncStatusList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedTagList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PatchedCandidateRequest: - docs: >- - # The Candidate Object - - ### Description - - The `Candidate` object is used to represent profile information about a - given Candidate. Because it is specific to a Candidate, this information - stays constant across applications. - - ### Usage Example - - Fetch from the `LIST Candidates` endpoint and filter by `ID` to show all - candidates. - properties: - first_name: - type: optional - docs: The candidate's first name. - last_name: - type: optional - docs: The candidate's last name. - company: - type: optional - docs: The candidate's current company. - title: - type: optional - docs: The candidate's current title. - last_interaction_at: - type: optional - docs: When the most recent interaction with the candidate occurred. - is_private: - type: optional - docs: Whether or not the candidate is private. - can_email: - type: optional - docs: Whether or not the candidate can be emailed. - locations: - type: optional>> - docs: The candidate's locations. - phone_numbers: optional> - email_addresses: optional> - urls: optional> - tags: - type: optional>> - docs: Array of `Tag` names as strings. - applications: - type: optional>> - docs: Array of `Application` object IDs. - attachments: - type: optional>> - docs: Array of `Attachment` object IDs. - remote_template_id: - type: optional - validation: - minLength: 1 - access: write-only - integration_params: - type: optional> - access: write-only - linked_account_params: - type: optional> - access: write-only - source: - openapi: openapi/openapi.yml - PhoneNumberPhoneNumberType: - discriminated: false - docs: |- - The type of phone number. - - * `HOME` - HOME - * `WORK` - WORK - * `MOBILE` - MOBILE - * `SKYPE` - SKYPE - * `OTHER` - OTHER - union: - - PhoneNumberTypeEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - PhoneNumber: - docs: |- - # The PhoneNumber Object - ### Description - The `PhoneNumber` object is used to represent a candidate's phone number. - ### Usage Example - Fetch from the `GET Candidate` endpoint and view their phone numbers. - properties: - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - value: - type: optional - docs: The phone number. - phone_number_type: - type: optional - docs: |- - The type of phone number. - - * `HOME` - HOME - * `WORK` - WORK - * `MOBILE` - MOBILE - * `SKYPE` - SKYPE - * `OTHER` - OTHER - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - source: - openapi: openapi/openapi.yml - PhoneNumberRequestPhoneNumberType: - discriminated: false - docs: |- - The type of phone number. - - * `HOME` - HOME - * `WORK` - WORK - * `MOBILE` - MOBILE - * `SKYPE` - SKYPE - * `OTHER` - OTHER - union: - - PhoneNumberTypeEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - PhoneNumberRequest: - docs: |- - # The PhoneNumber Object - ### Description - The `PhoneNumber` object is used to represent a candidate's phone number. - ### Usage Example - Fetch from the `GET Candidate` endpoint and view their phone numbers. - properties: - value: - type: optional - docs: The phone number. - phone_number_type: - type: optional - docs: |- - The type of phone number. - - * `HOME` - HOME - * `WORK` - WORK - * `MOBILE` - MOBILE - * `SKYPE` - SKYPE - * `OTHER` - OTHER - integration_params: - type: optional> - access: write-only - linked_account_params: - type: optional> - access: write-only - source: - openapi: openapi/openapi.yml - PhoneNumberTypeEnum: - enum: - - HOME - - WORK - - MOBILE - - SKYPE - - OTHER - docs: |- - * `HOME` - HOME - * `WORK` - WORK - * `MOBILE` - MOBILE - * `SKYPE` - SKYPE - * `OTHER` - OTHER - source: - openapi: openapi/openapi.yml - RaceEnum: - enum: - - AMERICAN_INDIAN_OR_ALASKAN_NATIVE - - ASIAN - - BLACK_OR_AFRICAN_AMERICAN - - HISPANIC_OR_LATINO - - WHITE - - NATIVE_HAWAIIAN_OR_OTHER_PACIFIC_ISLANDER - - TWO_OR_MORE_RACES - - DECLINE_TO_SELF_IDENTIFY - docs: >- - * `AMERICAN_INDIAN_OR_ALASKAN_NATIVE` - AMERICAN_INDIAN_OR_ALASKAN_NATIVE - - * `ASIAN` - ASIAN - - * `BLACK_OR_AFRICAN_AMERICAN` - BLACK_OR_AFRICAN_AMERICAN - - * `HISPANIC_OR_LATINO` - HISPANIC_OR_LATINO - - * `WHITE` - WHITE - - * `NATIVE_HAWAIIAN_OR_OTHER_PACIFIC_ISLANDER` - - NATIVE_HAWAIIAN_OR_OTHER_PACIFIC_ISLANDER - - * `TWO_OR_MORE_RACES` - TWO_OR_MORE_RACES - - * `DECLINE_TO_SELF_IDENTIFY` - DECLINE_TO_SELF_IDENTIFY - source: - openapi: openapi/openapi.yml - ReasonEnum: - enum: - - GENERAL_CUSTOMER_REQUEST - - GDPR - - OTHER - docs: |- - * `GENERAL_CUSTOMER_REQUEST` - GENERAL_CUSTOMER_REQUEST - * `GDPR` - GDPR - * `OTHER` - OTHER - source: - openapi: openapi/openapi.yml - RejectReason: - docs: >- - # The RejectReason Object - - ### Description - - The `RejectReason` object is used to represent a reason for rejecting an - application. These can typically be configured within an ATS system. - - ### Usage Example - - Fetch from the `LIST RejectReasons` endpoint and filter by `ID` to show - all reasons. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - name: - type: optional - docs: The rejection reason’s name. - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - RemoteData: - docs: >- - # The RemoteData Object - - ### Description - - The `RemoteData` object is used to represent the full data pulled from the - third-party API for an object. - - - ### Usage Example - - TODO - properties: - path: - type: string - docs: The third-party API path that is being called. - data: - type: optional - docs: >- - The data returned from the third-party for this object in its - original, unnormalized format. - access: read-only - source: - openapi: openapi/openapi.yml - RemoteEndpointInfo: - properties: - method: string - url_path: string - field_traversal_path: list - source: - openapi: openapi/openapi.yml - RemoteFieldApiCoverage: - discriminated: false - union: - - integer - - double - source: - openapi: openapi/openapi.yml - inline: true - RemoteFieldApi: - properties: - schema: map - remote_key_name: string - remote_endpoint_info: RemoteEndpointInfo - example_values: optional> - advanced_metadata: optional - coverage: - type: optional - access: read-only - source: - openapi: openapi/openapi.yml - RemoteFieldApiResponse: - properties: - Activity: optional> - Application: optional> - Attachment: optional> - Candidate: optional> - Department: optional> - EEOC: optional> - ScheduledInterview: optional> - Job: optional> - JobPosting: optional> - JobInterviewStage: optional> - Offer: optional> - Office: optional> - RejectReason: optional> - Scorecard: optional> - Tag: optional> - RemoteUser: optional> - source: - openapi: openapi/openapi.yml - RemoteKey: - docs: >- - # The RemoteKey Object - - ### Description - - The `RemoteKey` object is used to represent a request for a new remote - key. - - - ### Usage Example - - Post a `GenerateRemoteKey` to receive a new `RemoteKey`. - properties: - name: string - key: string - source: - openapi: openapi/openapi.yml - RemoteResponseResponseType: - discriminated: false - union: - - ResponseTypeEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - RemoteResponse: - docs: >- - # The RemoteResponse Object - - ### Description - - The `RemoteResponse` object is used to represent information returned from - a third-party endpoint. - - - ### Usage Example - - View the `RemoteResponse` returned from your `DataPassthrough`. - properties: - method: string - path: string - status: integer - response: unknown - response_headers: optional> - response_type: optional - headers: optional> - source: - openapi: openapi/openapi.yml - RemoteUserAccessRole: - discriminated: false - docs: |- - The user's role. - - * `SUPER_ADMIN` - SUPER_ADMIN - * `ADMIN` - ADMIN - * `TEAM_MEMBER` - TEAM_MEMBER - * `LIMITED_TEAM_MEMBER` - LIMITED_TEAM_MEMBER - * `INTERVIEWER` - INTERVIEWER - union: - - AccessRoleEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - RemoteUser: - docs: >- - # The RemoteUser Object - - ### Description - - The `RemoteUser` object is used to represent a user with a login to the - ATS system. - - ### Usage Example - - Fetch from the `LIST RemoteUsers` endpoint to show all users for a third - party. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - first_name: - type: optional - docs: The user's first name. - last_name: - type: optional - docs: The user's last name. - email: - type: optional - docs: The user's email. - validation: - format: email - maxLength: 254 - disabled: - type: optional - docs: Whether the user's account had been disabled. - remote_created_at: - type: optional - docs: When the third party's user was created. - access_role: - type: optional - docs: |- - The user's role. - - * `SUPER_ADMIN` - SUPER_ADMIN - * `ADMIN` - ADMIN - * `TEAM_MEMBER` - TEAM_MEMBER - * `LIMITED_TEAM_MEMBER` - LIMITED_TEAM_MEMBER - * `INTERVIEWER` - INTERVIEWER - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - RequestFormatEnum: - enum: - - JSON - - XML - - MULTIPART - docs: |- - * `JSON` - JSON - * `XML` - XML - * `MULTIPART` - MULTIPART - source: - openapi: openapi/openapi.yml - ResponseTypeEnum: - enum: - - JSON - - BASE64_GZIP - docs: |- - * `JSON` - JSON - * `BASE64_GZIP` - BASE64_GZIP - source: - openapi: openapi/openapi.yml - RoleEnum: - enum: - - ADMIN - - DEVELOPER - - MEMBER - - API - - SYSTEM - - MERGE_TEAM - docs: |- - * `ADMIN` - ADMIN - * `DEVELOPER` - DEVELOPER - * `MEMBER` - MEMBER - * `API` - API - * `SYSTEM` - SYSTEM - * `MERGE_TEAM` - MERGE_TEAM - source: - openapi: openapi/openapi.yml - ScheduledInterviewApplication: - discriminated: false - docs: The application being interviewed. - union: - - type: string - validation: - format: uuid - - Application - source: - openapi: openapi/openapi.yml - inline: true - ScheduledInterviewJobInterviewStage: - discriminated: false - docs: The stage of the interview. - union: - - type: string - validation: - format: uuid - - JobInterviewStage - source: - openapi: openapi/openapi.yml - inline: true - ScheduledInterviewOrganizer: - discriminated: false - docs: The user organizing the interview. - union: - - type: string - validation: - format: uuid - - RemoteUser - source: - openapi: openapi/openapi.yml - inline: true - ScheduledInterviewInterviewersItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - RemoteUser - source: - openapi: openapi/openapi.yml - inline: true - ScheduledInterviewStatus: - discriminated: false - docs: |- - The interview's status. - - * `SCHEDULED` - SCHEDULED - * `AWAITING_FEEDBACK` - AWAITING_FEEDBACK - * `COMPLETE` - COMPLETE - union: - - ScheduledInterviewStatusEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - ScheduledInterview: - docs: >- - # The ScheduledInterview Object - - ### Description - - The `ScheduledInterview` object is used to represent a scheduled interview - for a given candidate’s application to a job. An `Application` can have - multiple `ScheduledInterview`s depending on the particular hiring process. - - ### Usage Example - - Fetch from the `LIST ScheduledInterviews` endpoint and filter by - `interviewers` to show all office locations. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - application: - type: optional - docs: The application being interviewed. - job_interview_stage: - type: optional - docs: The stage of the interview. - organizer: - type: optional - docs: The user organizing the interview. - interviewers: - type: optional>> - docs: Array of `RemoteUser` IDs. - location: - type: optional - docs: The interview's location. - start_at: - type: optional - docs: When the interview was started. - end_at: - type: optional - docs: When the interview was ended. - remote_created_at: - type: optional - docs: When the third party's interview was created. - remote_updated_at: - type: optional - docs: When the third party's interview was updated. - status: - type: optional - docs: |- - The interview's status. - - * `SCHEDULED` - SCHEDULED - * `AWAITING_FEEDBACK` - AWAITING_FEEDBACK - * `COMPLETE` - COMPLETE - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - ScheduledInterviewRequestApplication: - discriminated: false - docs: The application being interviewed. - union: - - type: string - validation: - format: uuid - - Application - source: - openapi: openapi/openapi.yml - inline: true - ScheduledInterviewRequestJobInterviewStage: - discriminated: false - docs: The stage of the interview. - union: - - type: string - validation: - format: uuid - - JobInterviewStage - source: - openapi: openapi/openapi.yml - inline: true - ScheduledInterviewRequestOrganizer: - discriminated: false - docs: The user organizing the interview. - union: - - type: string - validation: - format: uuid - - RemoteUser - source: - openapi: openapi/openapi.yml - inline: true - ScheduledInterviewRequestInterviewersItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - RemoteUser - source: - openapi: openapi/openapi.yml - inline: true - ScheduledInterviewRequestStatus: - discriminated: false - docs: |- - The interview's status. - - * `SCHEDULED` - SCHEDULED - * `AWAITING_FEEDBACK` - AWAITING_FEEDBACK - * `COMPLETE` - COMPLETE - union: - - ScheduledInterviewStatusEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - ScheduledInterviewRequest: - docs: >- - # The ScheduledInterview Object - - ### Description - - The `ScheduledInterview` object is used to represent a scheduled interview - for a given candidate’s application to a job. An `Application` can have - multiple `ScheduledInterview`s depending on the particular hiring process. - - ### Usage Example - - Fetch from the `LIST ScheduledInterviews` endpoint and filter by - `interviewers` to show all office locations. - properties: - application: - type: optional - docs: The application being interviewed. - job_interview_stage: - type: optional - docs: The stage of the interview. - organizer: - type: optional - docs: The user organizing the interview. - interviewers: - type: optional>> - docs: Array of `RemoteUser` IDs. - location: - type: optional - docs: The interview's location. - start_at: - type: optional - docs: When the interview was started. - end_at: - type: optional - docs: When the interview was ended. - status: - type: optional - docs: |- - The interview's status. - - * `SCHEDULED` - SCHEDULED - * `AWAITING_FEEDBACK` - AWAITING_FEEDBACK - * `COMPLETE` - COMPLETE - integration_params: - type: optional> - access: write-only - linked_account_params: - type: optional> - access: write-only - source: - openapi: openapi/openapi.yml - ScheduledInterviewResponse: - properties: - model: ScheduledInterview - warnings: list - errors: list - logs: optional> - source: - openapi: openapi/openapi.yml - ScheduledInterviewStatusEnum: - enum: - - SCHEDULED - - AWAITING_FEEDBACK - - COMPLETE - docs: |- - * `SCHEDULED` - SCHEDULED - * `AWAITING_FEEDBACK` - AWAITING_FEEDBACK - * `COMPLETE` - COMPLETE - source: - openapi: openapi/openapi.yml - ScorecardApplication: - discriminated: false - docs: The application being scored. - union: - - type: string - validation: - format: uuid - - Application - source: - openapi: openapi/openapi.yml - inline: true - ScorecardInterview: - discriminated: false - docs: The interview being scored. - union: - - type: string - validation: - format: uuid - - ScheduledInterview - source: - openapi: openapi/openapi.yml - inline: true - ScorecardInterviewer: - discriminated: false - docs: The interviewer doing the scoring. - union: - - type: string - validation: - format: uuid - - RemoteUser - source: - openapi: openapi/openapi.yml - inline: true - ScorecardOverallRecommendation: - discriminated: false - docs: |- - The inteviewer's recommendation. - - * `DEFINITELY_NO` - DEFINITELY_NO - * `NO` - NO - * `YES` - YES - * `STRONG_YES` - STRONG_YES - * `NO_DECISION` - NO_DECISION - union: - - OverallRecommendationEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - Scorecard: - docs: >- - # The Scorecard Object - - ### Description - - The `Scorecard` object is used to represent an interviewer's candidate - recommendation based on a particular interview. - - ### Usage Example - - Fetch from the `LIST Scorecards` endpoint and filter by `application` to - show all scorecard for an applicant. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - application: - type: optional - docs: The application being scored. - interview: - type: optional - docs: The interview being scored. - interviewer: - type: optional - docs: The interviewer doing the scoring. - remote_created_at: - type: optional - docs: When the third party's scorecard was created. - submitted_at: - type: optional - docs: When the scorecard was submitted. - overall_recommendation: - type: optional - docs: |- - The inteviewer's recommendation. - - * `DEFINITELY_NO` - DEFINITELY_NO - * `NO` - NO - * `YES` - YES - * `STRONG_YES` - STRONG_YES - * `NO_DECISION` - NO_DECISION - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - ScreeningQuestionJob: - discriminated: false - docs: The job associated with the screening question. - union: - - type: string - validation: - format: uuid - - Job - source: - openapi: openapi/openapi.yml - inline: true - ScreeningQuestionType: - discriminated: false - docs: |- - The data type for the screening question. - - * `DATE` - DATE - * `FILE` - FILE - * `SINGLE_SELECT` - SINGLE_SELECT - * `MULTI_SELECT` - MULTI_SELECT - * `SINGLE_LINE_TEXT` - SINGLE_LINE_TEXT - * `MULTI_LINE_TEXT` - MULTI_LINE_TEXT - * `NUMERIC` - NUMERIC - * `BOOLEAN` - BOOLEAN - union: - - ScreeningQuestionTypeEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - ScreeningQuestion: - docs: >- - # The ScreeningQuestion Object - - ### Description - - The `ScreeningQuestion` object is used to represent questions asked to - screen candidates for a job. - - - ### Usage Example - - TODO - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - job: - type: optional - docs: The job associated with the screening question. - description: - type: optional - docs: The description of the screening question - validation: - maxLength: 500 - title: - type: optional - docs: The title of the screening question - validation: - maxLength: 2500 - type: - type: optional - docs: |- - The data type for the screening question. - - * `DATE` - DATE - * `FILE` - FILE - * `SINGLE_SELECT` - SINGLE_SELECT - * `MULTI_SELECT` - MULTI_SELECT - * `SINGLE_LINE_TEXT` - SINGLE_LINE_TEXT - * `MULTI_LINE_TEXT` - MULTI_LINE_TEXT - * `NUMERIC` - NUMERIC - * `BOOLEAN` - BOOLEAN - required: - type: optional - docs: Whether or not the screening question is required. - options: optional> - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - source: - openapi: openapi/openapi.yml - ScreeningQuestionAnswerQuestion: - discriminated: false - docs: >- - The screening question associated with the candidate’s answer. To - determine the data type of the answer, you can expand on the screening - question by adding `screening_question_answers.question` to the `expand` - query parameter. - union: - - type: string - validation: - format: uuid - - ScreeningQuestion - source: - openapi: openapi/openapi.yml - inline: true - ScreeningQuestionAnswer: - docs: >- - # The ScreeningQuestionAnswer Object - - ### Description - - The `ScreeningQuestionAnswer` object is used to represent candidate - responses to a screening question, for a specific application. - - - ### Usage Example - - TODO - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - question: - type: optional - docs: >- - The screening question associated with the candidate’s answer. To - determine the data type of the answer, you can expand on the screening - question by adding `screening_question_answers.question` to the - `expand` query parameter. - answer: - type: optional - docs: The candidate’s response to the screening question. - validation: - maxLength: 10000 - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - source: - openapi: openapi/openapi.yml - ScreeningQuestionAnswerRequestQuestion: - discriminated: false - docs: >- - The screening question associated with the candidate’s answer. To - determine the data type of the answer, you can expand on the screening - question by adding `screening_question_answers.question` to the `expand` - query parameter. - union: - - type: string - validation: - format: uuid - - ScreeningQuestion - source: - openapi: openapi/openapi.yml - inline: true - ScreeningQuestionAnswerRequest: - docs: >- - # The ScreeningQuestionAnswer Object - - ### Description - - The `ScreeningQuestionAnswer` object is used to represent candidate - responses to a screening question, for a specific application. - - - ### Usage Example - - TODO - properties: - remote_id: - type: optional - docs: The third-party API ID of the matching object. - question: - type: optional - docs: >- - The screening question associated with the candidate’s answer. To - determine the data type of the answer, you can expand on the screening - question by adding `screening_question_answers.question` to the - `expand` query parameter. - answer: - type: optional - docs: The candidate’s response to the screening question. - validation: - maxLength: 10000 - integration_params: - type: optional> - access: write-only - linked_account_params: - type: optional> - access: write-only - source: - openapi: openapi/openapi.yml - ScreeningQuestionOption: - docs: >- - # The ScreeningQuestionOption Object - - ### Description - - The `ScreeningQuestionOption` object is used to represent options for a - `ScreeningQuestion` object - - - ### Usage Example - - TODO - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - label: - type: optional - docs: Available response options - validation: - maxLength: 300 - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - source: - openapi: openapi/openapi.yml - ScreeningQuestionTypeEnum: - enum: - - DATE - - FILE - - SINGLE_SELECT - - MULTI_SELECT - - SINGLE_LINE_TEXT - - MULTI_LINE_TEXT - - NUMERIC - - BOOLEAN - docs: |- - * `DATE` - DATE - * `FILE` - FILE - * `SINGLE_SELECT` - SINGLE_SELECT - * `MULTI_SELECT` - MULTI_SELECT - * `SINGLE_LINE_TEXT` - SINGLE_LINE_TEXT - * `MULTI_LINE_TEXT` - MULTI_LINE_TEXT - * `NUMERIC` - NUMERIC - * `BOOLEAN` - BOOLEAN - source: - openapi: openapi/openapi.yml - SelectiveSyncConfigurationsUsageEnum: - enum: - - IN_NEXT_SYNC - - IN_LAST_SYNC - docs: |- - * `IN_NEXT_SYNC` - IN_NEXT_SYNC - * `IN_LAST_SYNC` - IN_LAST_SYNC - source: - openapi: openapi/openapi.yml - StatusFd5Enum: - enum: - - SYNCING - - DONE - - FAILED - - DISABLED - - PAUSED - - PARTIALLY_SYNCED - docs: |- - * `SYNCING` - SYNCING - * `DONE` - DONE - * `FAILED` - FAILED - * `DISABLED` - DISABLED - * `PAUSED` - PAUSED - * `PARTIALLY_SYNCED` - PARTIALLY_SYNCED - source: - openapi: openapi/openapi.yml - SyncStatusLastSyncResult: - discriminated: false - union: - - LastSyncResultEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - SyncStatusStatus: - discriminated: false - union: - - StatusFd5Enum - - string - source: - openapi: openapi/openapi.yml - inline: true - SyncStatus: - docs: >- - # The SyncStatus Object - - ### Description - - The `SyncStatus` object is used to represent the syncing state of an - account - - - ### Usage Example - - View the `SyncStatus` for an account to see how recently its models were - synced. - properties: - model_name: string - model_id: string - last_sync_start: optional - next_sync_start: optional - last_sync_result: optional - last_sync_finished: optional - status: SyncStatusStatus - is_initial_sync: boolean - selective_sync_configurations_usage: optional - source: - openapi: openapi/openapi.yml - Tag: - docs: >- - # The Tag Object - - ### Description - - The `Tag` object is used to represent a tag for a candidate. - - ### Usage Example - - Fetch from the `LIST Tags` endpoint and view the tags used within a - company. - properties: - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - name: - type: optional - docs: The tag's name. - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - field_mappings: - type: optional> - access: read-only - remote_data: optional>>> - source: - openapi: openapi/openapi.yml - UrlUrlType: - discriminated: false - docs: |- - The type of site. - - * `PERSONAL` - PERSONAL - * `COMPANY` - COMPANY - * `PORTFOLIO` - PORTFOLIO - * `BLOG` - BLOG - * `SOCIAL_MEDIA` - SOCIAL_MEDIA - * `OTHER` - OTHER - * `JOB_POSTING` - JOB_POSTING - union: - - UrlTypeEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - Url: - docs: >- - # The Url Object - - ### Description - - The `Url` object is used to represent hyperlinks associated with the - parent model. - - ### Usage Example - - Fetch from the `GET Candidate` endpoint and view their website urls. - properties: - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - value: - type: optional - docs: The site's url. - validation: - format: uri - maxLength: 2000 - url_type: - type: optional - docs: |- - The type of site. - - * `PERSONAL` - PERSONAL - * `COMPANY` - COMPANY - * `PORTFOLIO` - PORTFOLIO - * `BLOG` - BLOG - * `SOCIAL_MEDIA` - SOCIAL_MEDIA - * `OTHER` - OTHER - * `JOB_POSTING` - JOB_POSTING - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - source: - openapi: openapi/openapi.yml - UrlRequestUrlType: - discriminated: false - docs: |- - The type of site. - - * `PERSONAL` - PERSONAL - * `COMPANY` - COMPANY - * `PORTFOLIO` - PORTFOLIO - * `BLOG` - BLOG - * `SOCIAL_MEDIA` - SOCIAL_MEDIA - * `OTHER` - OTHER - * `JOB_POSTING` - JOB_POSTING - union: - - UrlTypeEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - UrlRequest: - docs: >- - # The Url Object - - ### Description - - The `Url` object is used to represent hyperlinks associated with the - parent model. - - ### Usage Example - - Fetch from the `GET Candidate` endpoint and view their website urls. - properties: - value: - type: optional - docs: The site's url. - validation: - format: uri - maxLength: 2000 - url_type: - type: optional - docs: |- - The type of site. - - * `PERSONAL` - PERSONAL - * `COMPANY` - COMPANY - * `PORTFOLIO` - PORTFOLIO - * `BLOG` - BLOG - * `SOCIAL_MEDIA` - SOCIAL_MEDIA - * `OTHER` - OTHER - * `JOB_POSTING` - JOB_POSTING - integration_params: - type: optional> - access: write-only - linked_account_params: - type: optional> - access: write-only - source: - openapi: openapi/openapi.yml - UrlTypeEnum: - enum: - - PERSONAL - - COMPANY - - PORTFOLIO - - BLOG - - SOCIAL_MEDIA - - OTHER - - JOB_POSTING - docs: |- - * `PERSONAL` - PERSONAL - * `COMPANY` - COMPANY - * `PORTFOLIO` - PORTFOLIO - * `BLOG` - BLOG - * `SOCIAL_MEDIA` - SOCIAL_MEDIA - * `OTHER` - OTHER - * `JOB_POSTING` - JOB_POSTING - source: - openapi: openapi/openapi.yml - ValidationProblemSource: - properties: - pointer: string - source: - openapi: openapi/openapi.yml - VeteranStatusEnum: - enum: - - I_AM_NOT_A_PROTECTED_VETERAN - - I_IDENTIFY_AS_ONE_OR_MORE_OF_THE_CLASSIFICATIONS_OF_A_PROTECTED_VETERAN - - I_DONT_WISH_TO_ANSWER - docs: >- - * `I_AM_NOT_A_PROTECTED_VETERAN` - I_AM_NOT_A_PROTECTED_VETERAN - - * - `I_IDENTIFY_AS_ONE_OR_MORE_OF_THE_CLASSIFICATIONS_OF_A_PROTECTED_VETERAN` - - I_IDENTIFY_AS_ONE_OR_MORE_OF_THE_CLASSIFICATIONS_OF_A_PROTECTED_VETERAN - - * `I_DONT_WISH_TO_ANSWER` - I_DONT_WISH_TO_ANSWER - source: - openapi: openapi/openapi.yml - VisibilityEnum: - enum: - - ADMIN_ONLY - - PUBLIC - - PRIVATE - docs: |- - * `ADMIN_ONLY` - ADMIN_ONLY - * `PUBLIC` - PUBLIC - * `PRIVATE` - PRIVATE - source: - openapi: openapi/openapi.yml - WarningValidationProblem: - properties: - source: optional - title: string - detail: string - problem_type: string - source: - openapi: openapi/openapi.yml - WebhookReceiver: - properties: - event: string - is_active: boolean - key: optional - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/ats/accountDetails.yml b/.mock/definition/ats/accountDetails.yml deleted file mode 100644 index 9426b764..00000000 --- a/.mock/definition/ats/accountDetails.yml +++ /dev/null @@ -1,38 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - retrieve: - path: /ats/v1/account-details - method: GET - auth: - - tokenAuth: [] - docs: Get details for a linked account. - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: root.AccountDetails - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - id: 0496d4c2-42e6-4072-80b3-7b69bfdc76fd - integration: BambooHR - integration_slug: bamboohr - category: hris - end_user_origin_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - end_user_organization_name: Waystar Royco - end_user_email_address: kendall.roy@waystar-royco.com - status: COMPLETE - webhook_listener_url: >- - https://api.merge.dev/api/integrations/webhook-listener/7fc3mee0UW8ecV4 - is_duplicate: true - account_type: PRODUCTION - completed_at: '2024-08-26T20:11:19Z' - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/ats/accountToken.yml b/.mock/definition/ats/accountToken.yml deleted file mode 100644 index 0e6f0c37..00000000 --- a/.mock/definition/ats/accountToken.yml +++ /dev/null @@ -1,47 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - retrieve: - path: /ats/v1/account-token/{public_token} - method: GET - auth: - - tokenAuth: [] - docs: >- - Returns the account token for the end user with the provided public - token. - source: - openapi: openapi/openapi.yml - path-parameters: - public_token: string - response: - docs: '' - type: root.AccountToken - status-code: 200 - examples: - - path-parameters: - public_token: public_token - headers: - X-Account-Token: '[object Object]' - response: - body: - account_token: T9klMDQrcHdm9jrtHuOS2Nf06BIHwMNjpPXPMB - integration: - name: name - abbreviated_name: abbreviated_name - categories: - - hris - image: image - square_image: square_image - color: color - slug: slug - api_endpoints_to_documentation_urls: - key: value - webhook_setup_guide_url: webhook_setup_guide_url - category_beta_status: - key: value - id: 0496d4c2-42e6-4072-80b3-7b69bfdc76fd - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/ats/activities.yml b/.mock/definition/ats/activities.yml deleted file mode 100644 index d81536c1..00000000 --- a/.mock/definition/ats/activities.yml +++ /dev/null @@ -1,506 +0,0 @@ -types: - ActivitiesListRequestRemoteFields: - enum: - - activity_type - - value: activity_type,visibility - name: ActivityTypeVisibility - - visibility - source: - openapi: openapi/openapi.yml - ActivitiesListRequestShowEnumOrigins: - enum: - - activity_type - - value: activity_type,visibility - name: ActivityTypeVisibility - - visibility - source: - openapi: openapi/openapi.yml - ActivitiesRetrieveRequestRemoteFields: - enum: - - activity_type - - value: activity_type,visibility - name: ActivityTypeVisibility - - visibility - source: - openapi: openapi/openapi.yml - ActivitiesRetrieveRequestShowEnumOrigins: - enum: - - activity_type - - value: activity_type,visibility - name: ActivityTypeVisibility - - visibility - source: - openapi: openapi/openapi.yml -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /ats/v1/activities - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `Activity` objects. - source: - openapi: openapi/openapi.yml - request: - name: ActivitiesListRequest - query-parameters: - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - expand: - type: optional> - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - page_size: - type: optional - docs: Number of results to return per page. - remote_fields: - type: optional - docs: Deprecated. Use show_enum_origins. - remote_id: - type: optional - docs: The API provider's ID for the given object. - show_enum_origins: - type: optional - docs: >- - A comma separated list of enum field names for which you'd like - the original values to be returned, instead of Merge's normalized - enum values. [Learn - more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - user_id: - type: optional - docs: If provided, will only return activities done by this user. - response: - docs: '' - type: root.PaginatedActivityList - status-code: 200 - examples: - - query-parameters: - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - expand: user - include_deleted_data: true - include_remote_data: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - page_size: 1 - remote_fields: activity_type - remote_id: remote_id - show_enum_origins: activity_type - user_id: user_id - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4 - remote_id: '198123' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - user: user - remote_created_at: '2021-10-15T00:00:00Z' - activity_type: NOTE - subject: Gil Feig's interview - body: Candidate loves integrations! - visibility: ADMIN_ONLY - candidate: 550e8400-e29b-41d4-a716-446655440000 - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /actions - data: - - Varies by platform - create: - path: /ats/v1/activities - method: POST - auth: - - tokenAuth: [] - docs: Creates an `Activity` object with the given values. - source: - openapi: openapi/openapi.yml - request: - name: ActivityEndpointRequest - query-parameters: - is_debug_mode: - type: optional - docs: >- - Whether to include debug fields (such as log file links) in the - response. - run_async: - type: optional - docs: Whether or not third-party updates should be run asynchronously. - body: - properties: - model: root.ActivityRequest - remote_user_id: string - content-type: application/json - response: - docs: '' - type: root.ActivityResponse - status-code: 201 - examples: - - query-parameters: - is_debug_mode: true - run_async: true - headers: - X-Account-Token: X-Account-Token - request: - model: {} - remote_user_id: remote_user_id - response: - body: - model: - id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4 - remote_id: '198123' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - user: user - remote_created_at: '2021-10-15T00:00:00Z' - activity_type: NOTE - subject: Gil Feig's interview - body: Candidate loves integrations! - visibility: ADMIN_ONLY - candidate: 550e8400-e29b-41d4-a716-446655440000 - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /actions - data: - - Varies by platform - warnings: - - source: - pointer: pointer - title: Unrecognized Field - detail: An unrecognized field, age, was passed in with request data. - problem_type: UNRECOGNIZED_FIELD - errors: - - source: - pointer: pointer - title: Missing Required Field - detail: custom_fields is a required field on model. - problem_type: MISSING_REQUIRED_FIELD - logs: - - log_id: 99433219-8017-4acd-bb3c-ceb23d663832 - dashboard_view: >- - https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832 - log_summary: - url: www.exampleintegration.com/api/v1/exampleapi - method: POST - status_code: 200 - retrieve: - path: /ats/v1/activities/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns an `Activity` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: ActivitiesRetrieveRequest - query-parameters: - expand: - type: optional> - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - remote_fields: - type: optional - docs: Deprecated. Use show_enum_origins. - show_enum_origins: - type: optional - docs: >- - A comma separated list of enum field names for which you'd like - the original values to be returned, instead of Merge's normalized - enum values. [Learn - more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - response: - docs: '' - type: root.Activity - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - expand: user - include_remote_data: true - include_shell_data: true - remote_fields: activity_type - show_enum_origins: activity_type - headers: - X-Account-Token: X-Account-Token - response: - body: - id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4 - remote_id: '198123' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - user: user - remote_created_at: '2021-10-15T00:00:00Z' - activity_type: NOTE - subject: Gil Feig's interview - body: Candidate loves integrations! - visibility: ADMIN_ONLY - candidate: 550e8400-e29b-41d4-a716-446655440000 - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /actions - data: - - Varies by platform - metaPostRetrieve: - path: /ats/v1/activities/meta/post - method: GET - auth: - - tokenAuth: [] - docs: Returns metadata for `Activity` POSTs. - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: root.MetaResponse - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - request_schema: - type: object - properties: - model: - type: object - required: - - last_name - - first_name - - merge_categories - - new_york_city_neighborhood - - favorite_tv_shows - - favorite_watch - properties: - email_addresses: - type: array - items: - type: object - properties: - value: - type: string - title: value - email_address_type: - type: string - title: email_address_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: email_addresses - description: Array of email_addresses objects - urls: - type: array - items: - type: object - properties: - value: - type: string - title: value - url_type: - type: string - title: url_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: urls - description: Array of urls objects - first_name: - type: string - title: first_name - description: The first name. - last_name: - type: string - title: last_name - description: The last name. - phone_numbers: - type: array - items: - type: object - properties: - value: - type: string - title: value - phone_number_type: - type: string - title: phone_number_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: phone_numbers - description: Array of phone_numbers objects - tags: - type: array - items: - type: string - format: uuid - title: tags - description: Array of tags names - attachments: - type: array - items: - type: object - properties: - id: - type: string - title: id - file_url: - type: string - title: file_url - file_name: - type: string - title: file_name - attachment_type: - type: string - title: attachment_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: attachments - description: 'Array of attachments objects ' - merge_categories: - type: array - categories: - type: string - enum: - - HRIS - - ATS - - Accounting - - Ticketing - - File Storage - - CRM - - Marketing Automation - enum_information: - - value: HRIS - description: Merge HRIS Category - - value: ATS - description: Merge ATS Category - - value: Accounting - description: Merge Accounting Category - - value: Ticketing - description: Merge Ticketing Category - - value: File Storage - description: Merge File Storage Category - - value: CRM - description: Merge CRM Category - - value: Marketing Automation - description: Merge Marketing Automation Category - title: Merge Categories - description: Array of Merge's Unified API Categories - new_york_city_neighborhood: - type: string - title: Borough - description: One of the 5 Boroughs of New York City - favorite_tv_shows: - type: array - items: - type: string - format: uuid - title: Favorite TV Shows - description: Array of TV Show objects on merge.tv_shows - favorite_watch: - type: string - title: Favorite Watch - description: Favorite watch of all time - remote_field_classes: - key: value - status: - linked_account_status: linked_account_status - can_make_request: true - has_conditional_params: true - has_required_linked_account_params: true - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/ats/applications.yml b/.mock/definition/ats/applications.yml deleted file mode 100644 index a54cd377..00000000 --- a/.mock/definition/ats/applications.yml +++ /dev/null @@ -1,1943 +0,0 @@ -types: - ApplicationsListRequestExpand: - enum: - - candidate - - value: candidate,credited_to - name: CandidateCreditedTo - - value: candidate,credited_to,current_stage - name: CandidateCreditedToCurrentStage - - value: candidate,credited_to,current_stage,reject_reason - name: CandidateCreditedToCurrentStageRejectReason - - value: candidate,credited_to,reject_reason - name: CandidateCreditedToRejectReason - - value: candidate,current_stage - name: CandidateCurrentStage - - value: candidate,current_stage,reject_reason - name: CandidateCurrentStageRejectReason - - value: candidate,job - name: CandidateJob - - value: candidate,job,credited_to - name: CandidateJobCreditedTo - - value: candidate,job,credited_to,current_stage - name: CandidateJobCreditedToCurrentStage - - value: candidate,job,credited_to,current_stage,reject_reason - name: CandidateJobCreditedToCurrentStageRejectReason - - value: candidate,job,credited_to,reject_reason - name: CandidateJobCreditedToRejectReason - - value: candidate,job,current_stage - name: CandidateJobCurrentStage - - value: candidate,job,current_stage,reject_reason - name: CandidateJobCurrentStageRejectReason - - value: candidate,job,reject_reason - name: CandidateJobRejectReason - - value: candidate,reject_reason - name: CandidateRejectReason - - credited_to - - value: credited_to,current_stage - name: CreditedToCurrentStage - - value: credited_to,current_stage,reject_reason - name: CreditedToCurrentStageRejectReason - - value: credited_to,reject_reason - name: CreditedToRejectReason - - current_stage - - value: current_stage,reject_reason - name: CurrentStageRejectReason - - job - - value: job,credited_to - name: JobCreditedTo - - value: job,credited_to,current_stage - name: JobCreditedToCurrentStage - - value: job,credited_to,current_stage,reject_reason - name: JobCreditedToCurrentStageRejectReason - - value: job,credited_to,reject_reason - name: JobCreditedToRejectReason - - value: job,current_stage - name: JobCurrentStage - - value: job,current_stage,reject_reason - name: JobCurrentStageRejectReason - - value: job,reject_reason - name: JobRejectReason - - offers - - value: offers,candidate - name: OffersCandidate - - value: offers,candidate,credited_to - name: OffersCandidateCreditedTo - - value: offers,candidate,credited_to,current_stage - name: OffersCandidateCreditedToCurrentStage - - value: offers,candidate,credited_to,current_stage,reject_reason - name: OffersCandidateCreditedToCurrentStageRejectReason - - value: offers,candidate,credited_to,reject_reason - name: OffersCandidateCreditedToRejectReason - - value: offers,candidate,current_stage - name: OffersCandidateCurrentStage - - value: offers,candidate,current_stage,reject_reason - name: OffersCandidateCurrentStageRejectReason - - value: offers,candidate,job - name: OffersCandidateJob - - value: offers,candidate,job,credited_to - name: OffersCandidateJobCreditedTo - - value: offers,candidate,job,credited_to,current_stage - name: OffersCandidateJobCreditedToCurrentStage - - value: offers,candidate,job,credited_to,current_stage,reject_reason - name: OffersCandidateJobCreditedToCurrentStageRejectReason - - value: offers,candidate,job,credited_to,reject_reason - name: OffersCandidateJobCreditedToRejectReason - - value: offers,candidate,job,current_stage - name: OffersCandidateJobCurrentStage - - value: offers,candidate,job,current_stage,reject_reason - name: OffersCandidateJobCurrentStageRejectReason - - value: offers,candidate,job,reject_reason - name: OffersCandidateJobRejectReason - - value: offers,candidate,reject_reason - name: OffersCandidateRejectReason - - value: offers,credited_to - name: OffersCreditedTo - - value: offers,credited_to,current_stage - name: OffersCreditedToCurrentStage - - value: offers,credited_to,current_stage,reject_reason - name: OffersCreditedToCurrentStageRejectReason - - value: offers,credited_to,reject_reason - name: OffersCreditedToRejectReason - - value: offers,current_stage - name: OffersCurrentStage - - value: offers,current_stage,reject_reason - name: OffersCurrentStageRejectReason - - value: offers,job - name: OffersJob - - value: offers,job,credited_to - name: OffersJobCreditedTo - - value: offers,job,credited_to,current_stage - name: OffersJobCreditedToCurrentStage - - value: offers,job,credited_to,current_stage,reject_reason - name: OffersJobCreditedToCurrentStageRejectReason - - value: offers,job,credited_to,reject_reason - name: OffersJobCreditedToRejectReason - - value: offers,job,current_stage - name: OffersJobCurrentStage - - value: offers,job,current_stage,reject_reason - name: OffersJobCurrentStageRejectReason - - value: offers,job,reject_reason - name: OffersJobRejectReason - - value: offers,reject_reason - name: OffersRejectReason - - value: offers,screening_question_answers - name: OffersScreeningQuestionAnswers - - value: offers,screening_question_answers,candidate - name: OffersScreeningQuestionAnswersCandidate - - value: offers,screening_question_answers,candidate,credited_to - name: OffersScreeningQuestionAnswersCandidateCreditedTo - - value: offers,screening_question_answers,candidate,credited_to,current_stage - name: OffersScreeningQuestionAnswersCandidateCreditedToCurrentStage - - value: >- - offers,screening_question_answers,candidate,credited_to,current_stage,reject_reason - name: >- - OffersScreeningQuestionAnswersCandidateCreditedToCurrentStageRejectReason - - value: offers,screening_question_answers,candidate,credited_to,reject_reason - name: OffersScreeningQuestionAnswersCandidateCreditedToRejectReason - - value: offers,screening_question_answers,candidate,current_stage - name: OffersScreeningQuestionAnswersCandidateCurrentStage - - value: >- - offers,screening_question_answers,candidate,current_stage,reject_reason - name: OffersScreeningQuestionAnswersCandidateCurrentStageRejectReason - - value: offers,screening_question_answers,candidate,job - name: OffersScreeningQuestionAnswersCandidateJob - - value: offers,screening_question_answers,candidate,job,credited_to - name: OffersScreeningQuestionAnswersCandidateJobCreditedTo - - value: >- - offers,screening_question_answers,candidate,job,credited_to,current_stage - name: OffersScreeningQuestionAnswersCandidateJobCreditedToCurrentStage - - value: >- - offers,screening_question_answers,candidate,job,credited_to,current_stage,reject_reason - name: >- - OffersScreeningQuestionAnswersCandidateJobCreditedToCurrentStageRejectReason - - value: >- - offers,screening_question_answers,candidate,job,credited_to,reject_reason - name: OffersScreeningQuestionAnswersCandidateJobCreditedToRejectReason - - value: offers,screening_question_answers,candidate,job,current_stage - name: OffersScreeningQuestionAnswersCandidateJobCurrentStage - - value: >- - offers,screening_question_answers,candidate,job,current_stage,reject_reason - name: OffersScreeningQuestionAnswersCandidateJobCurrentStageRejectReason - - value: offers,screening_question_answers,candidate,job,reject_reason - name: OffersScreeningQuestionAnswersCandidateJobRejectReason - - value: offers,screening_question_answers,candidate,reject_reason - name: OffersScreeningQuestionAnswersCandidateRejectReason - - value: offers,screening_question_answers,credited_to - name: OffersScreeningQuestionAnswersCreditedTo - - value: offers,screening_question_answers,credited_to,current_stage - name: OffersScreeningQuestionAnswersCreditedToCurrentStage - - value: >- - offers,screening_question_answers,credited_to,current_stage,reject_reason - name: OffersScreeningQuestionAnswersCreditedToCurrentStageRejectReason - - value: offers,screening_question_answers,credited_to,reject_reason - name: OffersScreeningQuestionAnswersCreditedToRejectReason - - value: offers,screening_question_answers,current_stage - name: OffersScreeningQuestionAnswersCurrentStage - - value: offers,screening_question_answers,current_stage,reject_reason - name: OffersScreeningQuestionAnswersCurrentStageRejectReason - - value: offers,screening_question_answers,job - name: OffersScreeningQuestionAnswersJob - - value: offers,screening_question_answers,job,credited_to - name: OffersScreeningQuestionAnswersJobCreditedTo - - value: offers,screening_question_answers,job,credited_to,current_stage - name: OffersScreeningQuestionAnswersJobCreditedToCurrentStage - - value: >- - offers,screening_question_answers,job,credited_to,current_stage,reject_reason - name: OffersScreeningQuestionAnswersJobCreditedToCurrentStageRejectReason - - value: offers,screening_question_answers,job,credited_to,reject_reason - name: OffersScreeningQuestionAnswersJobCreditedToRejectReason - - value: offers,screening_question_answers,job,current_stage - name: OffersScreeningQuestionAnswersJobCurrentStage - - value: offers,screening_question_answers,job,current_stage,reject_reason - name: OffersScreeningQuestionAnswersJobCurrentStageRejectReason - - value: offers,screening_question_answers,job,reject_reason - name: OffersScreeningQuestionAnswersJobRejectReason - - value: offers,screening_question_answers,reject_reason - name: OffersScreeningQuestionAnswersRejectReason - - value: offers,screening_question_answers,screening_question_answers.question - name: OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestion - - value: >- - offers,screening_question_answers,screening_question_answers.question,candidate - name: >- - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidate - - value: >- - offers,screening_question_answers,screening_question_answers.question,candidate,credited_to - name: >- - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateCreditedTo - - value: >- - offers,screening_question_answers,screening_question_answers.question,candidate,credited_to,current_stage - name: >- - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateCreditedToCurrentStage - - value: >- - offers,screening_question_answers,screening_question_answers.question,candidate,credited_to,current_stage,reject_reason - name: >- - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateCreditedToCurrentStageRejectReason - - value: >- - offers,screening_question_answers,screening_question_answers.question,candidate,credited_to,reject_reason - name: >- - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateCreditedToRejectReason - - value: >- - offers,screening_question_answers,screening_question_answers.question,candidate,current_stage - name: >- - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateCurrentStage - - value: >- - offers,screening_question_answers,screening_question_answers.question,candidate,current_stage,reject_reason - name: >- - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateCurrentStageRejectReason - - value: >- - offers,screening_question_answers,screening_question_answers.question,candidate,job - name: >- - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateJob - - value: >- - offers,screening_question_answers,screening_question_answers.question,candidate,job,credited_to - name: >- - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateJobCreditedTo - - value: >- - offers,screening_question_answers,screening_question_answers.question,candidate,job,credited_to,current_stage - name: >- - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateJobCreditedToCurrentStage - - value: >- - offers,screening_question_answers,screening_question_answers.question,candidate,job,credited_to,current_stage,reject_reason - name: >- - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateJobCreditedToCurrentStageRejectReason - - value: >- - offers,screening_question_answers,screening_question_answers.question,candidate,job,credited_to,reject_reason - name: >- - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateJobCreditedToRejectReason - - value: >- - offers,screening_question_answers,screening_question_answers.question,candidate,job,current_stage - name: >- - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateJobCurrentStage - - value: >- - offers,screening_question_answers,screening_question_answers.question,candidate,job,current_stage,reject_reason - name: >- - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateJobCurrentStageRejectReason - - value: >- - offers,screening_question_answers,screening_question_answers.question,candidate,job,reject_reason - name: >- - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateJobRejectReason - - value: >- - offers,screening_question_answers,screening_question_answers.question,candidate,reject_reason - name: >- - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateRejectReason - - value: >- - offers,screening_question_answers,screening_question_answers.question,credited_to - name: >- - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCreditedTo - - value: >- - offers,screening_question_answers,screening_question_answers.question,credited_to,current_stage - name: >- - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCreditedToCurrentStage - - value: >- - offers,screening_question_answers,screening_question_answers.question,credited_to,current_stage,reject_reason - name: >- - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCreditedToCurrentStageRejectReason - - value: >- - offers,screening_question_answers,screening_question_answers.question,credited_to,reject_reason - name: >- - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCreditedToRejectReason - - value: >- - offers,screening_question_answers,screening_question_answers.question,current_stage - name: >- - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCurrentStage - - value: >- - offers,screening_question_answers,screening_question_answers.question,current_stage,reject_reason - name: >- - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCurrentStageRejectReason - - value: >- - offers,screening_question_answers,screening_question_answers.question,job - name: OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionJob - - value: >- - offers,screening_question_answers,screening_question_answers.question,job,credited_to - name: >- - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionJobCreditedTo - - value: >- - offers,screening_question_answers,screening_question_answers.question,job,credited_to,current_stage - name: >- - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionJobCreditedToCurrentStage - - value: >- - offers,screening_question_answers,screening_question_answers.question,job,credited_to,current_stage,reject_reason - name: >- - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionJobCreditedToCurrentStageRejectReason - - value: >- - offers,screening_question_answers,screening_question_answers.question,job,credited_to,reject_reason - name: >- - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionJobCreditedToRejectReason - - value: >- - offers,screening_question_answers,screening_question_answers.question,job,current_stage - name: >- - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionJobCurrentStage - - value: >- - offers,screening_question_answers,screening_question_answers.question,job,current_stage,reject_reason - name: >- - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionJobCurrentStageRejectReason - - value: >- - offers,screening_question_answers,screening_question_answers.question,job,reject_reason - name: >- - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionJobRejectReason - - value: >- - offers,screening_question_answers,screening_question_answers.question,reject_reason - name: >- - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionRejectReason - - value: offers,screening_question_answers.question - name: OffersScreeningQuestionAnswersQuestion - - value: offers,screening_question_answers.question,candidate - name: OffersScreeningQuestionAnswersQuestionCandidate - - value: offers,screening_question_answers.question,candidate,credited_to - name: OffersScreeningQuestionAnswersQuestionCandidateCreditedTo - - value: >- - offers,screening_question_answers.question,candidate,credited_to,current_stage - name: OffersScreeningQuestionAnswersQuestionCandidateCreditedToCurrentStage - - value: >- - offers,screening_question_answers.question,candidate,credited_to,current_stage,reject_reason - name: >- - OffersScreeningQuestionAnswersQuestionCandidateCreditedToCurrentStageRejectReason - - value: >- - offers,screening_question_answers.question,candidate,credited_to,reject_reason - name: OffersScreeningQuestionAnswersQuestionCandidateCreditedToRejectReason - - value: offers,screening_question_answers.question,candidate,current_stage - name: OffersScreeningQuestionAnswersQuestionCandidateCurrentStage - - value: >- - offers,screening_question_answers.question,candidate,current_stage,reject_reason - name: >- - OffersScreeningQuestionAnswersQuestionCandidateCurrentStageRejectReason - - value: offers,screening_question_answers.question,candidate,job - name: OffersScreeningQuestionAnswersQuestionCandidateJob - - value: offers,screening_question_answers.question,candidate,job,credited_to - name: OffersScreeningQuestionAnswersQuestionCandidateJobCreditedTo - - value: >- - offers,screening_question_answers.question,candidate,job,credited_to,current_stage - name: >- - OffersScreeningQuestionAnswersQuestionCandidateJobCreditedToCurrentStage - - value: >- - offers,screening_question_answers.question,candidate,job,credited_to,current_stage,reject_reason - name: >- - OffersScreeningQuestionAnswersQuestionCandidateJobCreditedToCurrentStageRejectReason - - value: >- - offers,screening_question_answers.question,candidate,job,credited_to,reject_reason - name: >- - OffersScreeningQuestionAnswersQuestionCandidateJobCreditedToRejectReason - - value: offers,screening_question_answers.question,candidate,job,current_stage - name: OffersScreeningQuestionAnswersQuestionCandidateJobCurrentStage - - value: >- - offers,screening_question_answers.question,candidate,job,current_stage,reject_reason - name: >- - OffersScreeningQuestionAnswersQuestionCandidateJobCurrentStageRejectReason - - value: offers,screening_question_answers.question,candidate,job,reject_reason - name: OffersScreeningQuestionAnswersQuestionCandidateJobRejectReason - - value: offers,screening_question_answers.question,candidate,reject_reason - name: OffersScreeningQuestionAnswersQuestionCandidateRejectReason - - value: offers,screening_question_answers.question,credited_to - name: OffersScreeningQuestionAnswersQuestionCreditedTo - - value: offers,screening_question_answers.question,credited_to,current_stage - name: OffersScreeningQuestionAnswersQuestionCreditedToCurrentStage - - value: >- - offers,screening_question_answers.question,credited_to,current_stage,reject_reason - name: >- - OffersScreeningQuestionAnswersQuestionCreditedToCurrentStageRejectReason - - value: offers,screening_question_answers.question,credited_to,reject_reason - name: OffersScreeningQuestionAnswersQuestionCreditedToRejectReason - - value: offers,screening_question_answers.question,current_stage - name: OffersScreeningQuestionAnswersQuestionCurrentStage - - value: offers,screening_question_answers.question,current_stage,reject_reason - name: OffersScreeningQuestionAnswersQuestionCurrentStageRejectReason - - value: offers,screening_question_answers.question,job - name: OffersScreeningQuestionAnswersQuestionJob - - value: offers,screening_question_answers.question,job,credited_to - name: OffersScreeningQuestionAnswersQuestionJobCreditedTo - - value: >- - offers,screening_question_answers.question,job,credited_to,current_stage - name: OffersScreeningQuestionAnswersQuestionJobCreditedToCurrentStage - - value: >- - offers,screening_question_answers.question,job,credited_to,current_stage,reject_reason - name: >- - OffersScreeningQuestionAnswersQuestionJobCreditedToCurrentStageRejectReason - - value: >- - offers,screening_question_answers.question,job,credited_to,reject_reason - name: OffersScreeningQuestionAnswersQuestionJobCreditedToRejectReason - - value: offers,screening_question_answers.question,job,current_stage - name: OffersScreeningQuestionAnswersQuestionJobCurrentStage - - value: >- - offers,screening_question_answers.question,job,current_stage,reject_reason - name: OffersScreeningQuestionAnswersQuestionJobCurrentStageRejectReason - - value: offers,screening_question_answers.question,job,reject_reason - name: OffersScreeningQuestionAnswersQuestionJobRejectReason - - value: offers,screening_question_answers.question,reject_reason - name: OffersScreeningQuestionAnswersQuestionRejectReason - - reject_reason - - screening_question_answers - - value: screening_question_answers,candidate - name: ScreeningQuestionAnswersCandidate - - value: screening_question_answers,candidate,credited_to - name: ScreeningQuestionAnswersCandidateCreditedTo - - value: screening_question_answers,candidate,credited_to,current_stage - name: ScreeningQuestionAnswersCandidateCreditedToCurrentStage - - value: >- - screening_question_answers,candidate,credited_to,current_stage,reject_reason - name: ScreeningQuestionAnswersCandidateCreditedToCurrentStageRejectReason - - value: screening_question_answers,candidate,credited_to,reject_reason - name: ScreeningQuestionAnswersCandidateCreditedToRejectReason - - value: screening_question_answers,candidate,current_stage - name: ScreeningQuestionAnswersCandidateCurrentStage - - value: screening_question_answers,candidate,current_stage,reject_reason - name: ScreeningQuestionAnswersCandidateCurrentStageRejectReason - - value: screening_question_answers,candidate,job - name: ScreeningQuestionAnswersCandidateJob - - value: screening_question_answers,candidate,job,credited_to - name: ScreeningQuestionAnswersCandidateJobCreditedTo - - value: screening_question_answers,candidate,job,credited_to,current_stage - name: ScreeningQuestionAnswersCandidateJobCreditedToCurrentStage - - value: >- - screening_question_answers,candidate,job,credited_to,current_stage,reject_reason - name: ScreeningQuestionAnswersCandidateJobCreditedToCurrentStageRejectReason - - value: screening_question_answers,candidate,job,credited_to,reject_reason - name: ScreeningQuestionAnswersCandidateJobCreditedToRejectReason - - value: screening_question_answers,candidate,job,current_stage - name: ScreeningQuestionAnswersCandidateJobCurrentStage - - value: screening_question_answers,candidate,job,current_stage,reject_reason - name: ScreeningQuestionAnswersCandidateJobCurrentStageRejectReason - - value: screening_question_answers,candidate,job,reject_reason - name: ScreeningQuestionAnswersCandidateJobRejectReason - - value: screening_question_answers,candidate,reject_reason - name: ScreeningQuestionAnswersCandidateRejectReason - - value: screening_question_answers,credited_to - name: ScreeningQuestionAnswersCreditedTo - - value: screening_question_answers,credited_to,current_stage - name: ScreeningQuestionAnswersCreditedToCurrentStage - - value: screening_question_answers,credited_to,current_stage,reject_reason - name: ScreeningQuestionAnswersCreditedToCurrentStageRejectReason - - value: screening_question_answers,credited_to,reject_reason - name: ScreeningQuestionAnswersCreditedToRejectReason - - value: screening_question_answers,current_stage - name: ScreeningQuestionAnswersCurrentStage - - value: screening_question_answers,current_stage,reject_reason - name: ScreeningQuestionAnswersCurrentStageRejectReason - - value: screening_question_answers,job - name: ScreeningQuestionAnswersJob - - value: screening_question_answers,job,credited_to - name: ScreeningQuestionAnswersJobCreditedTo - - value: screening_question_answers,job,credited_to,current_stage - name: ScreeningQuestionAnswersJobCreditedToCurrentStage - - value: screening_question_answers,job,credited_to,current_stage,reject_reason - name: ScreeningQuestionAnswersJobCreditedToCurrentStageRejectReason - - value: screening_question_answers,job,credited_to,reject_reason - name: ScreeningQuestionAnswersJobCreditedToRejectReason - - value: screening_question_answers,job,current_stage - name: ScreeningQuestionAnswersJobCurrentStage - - value: screening_question_answers,job,current_stage,reject_reason - name: ScreeningQuestionAnswersJobCurrentStageRejectReason - - value: screening_question_answers,job,reject_reason - name: ScreeningQuestionAnswersJobRejectReason - - value: screening_question_answers,reject_reason - name: ScreeningQuestionAnswersRejectReason - - value: screening_question_answers,screening_question_answers.question - name: ScreeningQuestionAnswersScreeningQuestionAnswersQuestion - - value: >- - screening_question_answers,screening_question_answers.question,candidate - name: ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidate - - value: >- - screening_question_answers,screening_question_answers.question,candidate,credited_to - name: >- - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateCreditedTo - - value: >- - screening_question_answers,screening_question_answers.question,candidate,credited_to,current_stage - name: >- - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateCreditedToCurrentStage - - value: >- - screening_question_answers,screening_question_answers.question,candidate,credited_to,current_stage,reject_reason - name: >- - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateCreditedToCurrentStageRejectReason - - value: >- - screening_question_answers,screening_question_answers.question,candidate,credited_to,reject_reason - name: >- - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateCreditedToRejectReason - - value: >- - screening_question_answers,screening_question_answers.question,candidate,current_stage - name: >- - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateCurrentStage - - value: >- - screening_question_answers,screening_question_answers.question,candidate,current_stage,reject_reason - name: >- - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateCurrentStageRejectReason - - value: >- - screening_question_answers,screening_question_answers.question,candidate,job - name: ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateJob - - value: >- - screening_question_answers,screening_question_answers.question,candidate,job,credited_to - name: >- - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateJobCreditedTo - - value: >- - screening_question_answers,screening_question_answers.question,candidate,job,credited_to,current_stage - name: >- - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateJobCreditedToCurrentStage - - value: >- - screening_question_answers,screening_question_answers.question,candidate,job,credited_to,current_stage,reject_reason - name: >- - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateJobCreditedToCurrentStageRejectReason - - value: >- - screening_question_answers,screening_question_answers.question,candidate,job,credited_to,reject_reason - name: >- - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateJobCreditedToRejectReason - - value: >- - screening_question_answers,screening_question_answers.question,candidate,job,current_stage - name: >- - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateJobCurrentStage - - value: >- - screening_question_answers,screening_question_answers.question,candidate,job,current_stage,reject_reason - name: >- - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateJobCurrentStageRejectReason - - value: >- - screening_question_answers,screening_question_answers.question,candidate,job,reject_reason - name: >- - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateJobRejectReason - - value: >- - screening_question_answers,screening_question_answers.question,candidate,reject_reason - name: >- - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateRejectReason - - value: >- - screening_question_answers,screening_question_answers.question,credited_to - name: ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCreditedTo - - value: >- - screening_question_answers,screening_question_answers.question,credited_to,current_stage - name: >- - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCreditedToCurrentStage - - value: >- - screening_question_answers,screening_question_answers.question,credited_to,current_stage,reject_reason - name: >- - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCreditedToCurrentStageRejectReason - - value: >- - screening_question_answers,screening_question_answers.question,credited_to,reject_reason - name: >- - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCreditedToRejectReason - - value: >- - screening_question_answers,screening_question_answers.question,current_stage - name: ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCurrentStage - - value: >- - screening_question_answers,screening_question_answers.question,current_stage,reject_reason - name: >- - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCurrentStageRejectReason - - value: screening_question_answers,screening_question_answers.question,job - name: ScreeningQuestionAnswersScreeningQuestionAnswersQuestionJob - - value: >- - screening_question_answers,screening_question_answers.question,job,credited_to - name: ScreeningQuestionAnswersScreeningQuestionAnswersQuestionJobCreditedTo - - value: >- - screening_question_answers,screening_question_answers.question,job,credited_to,current_stage - name: >- - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionJobCreditedToCurrentStage - - value: >- - screening_question_answers,screening_question_answers.question,job,credited_to,current_stage,reject_reason - name: >- - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionJobCreditedToCurrentStageRejectReason - - value: >- - screening_question_answers,screening_question_answers.question,job,credited_to,reject_reason - name: >- - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionJobCreditedToRejectReason - - value: >- - screening_question_answers,screening_question_answers.question,job,current_stage - name: >- - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionJobCurrentStage - - value: >- - screening_question_answers,screening_question_answers.question,job,current_stage,reject_reason - name: >- - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionJobCurrentStageRejectReason - - value: >- - screening_question_answers,screening_question_answers.question,job,reject_reason - name: >- - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionJobRejectReason - - value: >- - screening_question_answers,screening_question_answers.question,reject_reason - name: ScreeningQuestionAnswersScreeningQuestionAnswersQuestionRejectReason - - value: screening_question_answers.question - name: ScreeningQuestionAnswersQuestion - - value: screening_question_answers.question,candidate - name: ScreeningQuestionAnswersQuestionCandidate - - value: screening_question_answers.question,candidate,credited_to - name: ScreeningQuestionAnswersQuestionCandidateCreditedTo - - value: >- - screening_question_answers.question,candidate,credited_to,current_stage - name: ScreeningQuestionAnswersQuestionCandidateCreditedToCurrentStage - - value: >- - screening_question_answers.question,candidate,credited_to,current_stage,reject_reason - name: >- - ScreeningQuestionAnswersQuestionCandidateCreditedToCurrentStageRejectReason - - value: >- - screening_question_answers.question,candidate,credited_to,reject_reason - name: ScreeningQuestionAnswersQuestionCandidateCreditedToRejectReason - - value: screening_question_answers.question,candidate,current_stage - name: ScreeningQuestionAnswersQuestionCandidateCurrentStage - - value: >- - screening_question_answers.question,candidate,current_stage,reject_reason - name: ScreeningQuestionAnswersQuestionCandidateCurrentStageRejectReason - - value: screening_question_answers.question,candidate,job - name: ScreeningQuestionAnswersQuestionCandidateJob - - value: screening_question_answers.question,candidate,job,credited_to - name: ScreeningQuestionAnswersQuestionCandidateJobCreditedTo - - value: >- - screening_question_answers.question,candidate,job,credited_to,current_stage - name: ScreeningQuestionAnswersQuestionCandidateJobCreditedToCurrentStage - - value: >- - screening_question_answers.question,candidate,job,credited_to,current_stage,reject_reason - name: >- - ScreeningQuestionAnswersQuestionCandidateJobCreditedToCurrentStageRejectReason - - value: >- - screening_question_answers.question,candidate,job,credited_to,reject_reason - name: ScreeningQuestionAnswersQuestionCandidateJobCreditedToRejectReason - - value: screening_question_answers.question,candidate,job,current_stage - name: ScreeningQuestionAnswersQuestionCandidateJobCurrentStage - - value: >- - screening_question_answers.question,candidate,job,current_stage,reject_reason - name: ScreeningQuestionAnswersQuestionCandidateJobCurrentStageRejectReason - - value: screening_question_answers.question,candidate,job,reject_reason - name: ScreeningQuestionAnswersQuestionCandidateJobRejectReason - - value: screening_question_answers.question,candidate,reject_reason - name: ScreeningQuestionAnswersQuestionCandidateRejectReason - - value: screening_question_answers.question,credited_to - name: ScreeningQuestionAnswersQuestionCreditedTo - - value: screening_question_answers.question,credited_to,current_stage - name: ScreeningQuestionAnswersQuestionCreditedToCurrentStage - - value: >- - screening_question_answers.question,credited_to,current_stage,reject_reason - name: ScreeningQuestionAnswersQuestionCreditedToCurrentStageRejectReason - - value: screening_question_answers.question,credited_to,reject_reason - name: ScreeningQuestionAnswersQuestionCreditedToRejectReason - - value: screening_question_answers.question,current_stage - name: ScreeningQuestionAnswersQuestionCurrentStage - - value: screening_question_answers.question,current_stage,reject_reason - name: ScreeningQuestionAnswersQuestionCurrentStageRejectReason - - value: screening_question_answers.question,job - name: ScreeningQuestionAnswersQuestionJob - - value: screening_question_answers.question,job,credited_to - name: ScreeningQuestionAnswersQuestionJobCreditedTo - - value: screening_question_answers.question,job,credited_to,current_stage - name: ScreeningQuestionAnswersQuestionJobCreditedToCurrentStage - - value: >- - screening_question_answers.question,job,credited_to,current_stage,reject_reason - name: ScreeningQuestionAnswersQuestionJobCreditedToCurrentStageRejectReason - - value: screening_question_answers.question,job,credited_to,reject_reason - name: ScreeningQuestionAnswersQuestionJobCreditedToRejectReason - - value: screening_question_answers.question,job,current_stage - name: ScreeningQuestionAnswersQuestionJobCurrentStage - - value: screening_question_answers.question,job,current_stage,reject_reason - name: ScreeningQuestionAnswersQuestionJobCurrentStageRejectReason - - value: screening_question_answers.question,job,reject_reason - name: ScreeningQuestionAnswersQuestionJobRejectReason - - value: screening_question_answers.question,reject_reason - name: ScreeningQuestionAnswersQuestionRejectReason - source: - openapi: openapi/openapi.yml - ApplicationsRetrieveRequestExpand: - enum: - - candidate - - value: candidate,credited_to - name: CandidateCreditedTo - - value: candidate,credited_to,current_stage - name: CandidateCreditedToCurrentStage - - value: candidate,credited_to,current_stage,reject_reason - name: CandidateCreditedToCurrentStageRejectReason - - value: candidate,credited_to,reject_reason - name: CandidateCreditedToRejectReason - - value: candidate,current_stage - name: CandidateCurrentStage - - value: candidate,current_stage,reject_reason - name: CandidateCurrentStageRejectReason - - value: candidate,job - name: CandidateJob - - value: candidate,job,credited_to - name: CandidateJobCreditedTo - - value: candidate,job,credited_to,current_stage - name: CandidateJobCreditedToCurrentStage - - value: candidate,job,credited_to,current_stage,reject_reason - name: CandidateJobCreditedToCurrentStageRejectReason - - value: candidate,job,credited_to,reject_reason - name: CandidateJobCreditedToRejectReason - - value: candidate,job,current_stage - name: CandidateJobCurrentStage - - value: candidate,job,current_stage,reject_reason - name: CandidateJobCurrentStageRejectReason - - value: candidate,job,reject_reason - name: CandidateJobRejectReason - - value: candidate,reject_reason - name: CandidateRejectReason - - credited_to - - value: credited_to,current_stage - name: CreditedToCurrentStage - - value: credited_to,current_stage,reject_reason - name: CreditedToCurrentStageRejectReason - - value: credited_to,reject_reason - name: CreditedToRejectReason - - current_stage - - value: current_stage,reject_reason - name: CurrentStageRejectReason - - job - - value: job,credited_to - name: JobCreditedTo - - value: job,credited_to,current_stage - name: JobCreditedToCurrentStage - - value: job,credited_to,current_stage,reject_reason - name: JobCreditedToCurrentStageRejectReason - - value: job,credited_to,reject_reason - name: JobCreditedToRejectReason - - value: job,current_stage - name: JobCurrentStage - - value: job,current_stage,reject_reason - name: JobCurrentStageRejectReason - - value: job,reject_reason - name: JobRejectReason - - offers - - value: offers,candidate - name: OffersCandidate - - value: offers,candidate,credited_to - name: OffersCandidateCreditedTo - - value: offers,candidate,credited_to,current_stage - name: OffersCandidateCreditedToCurrentStage - - value: offers,candidate,credited_to,current_stage,reject_reason - name: OffersCandidateCreditedToCurrentStageRejectReason - - value: offers,candidate,credited_to,reject_reason - name: OffersCandidateCreditedToRejectReason - - value: offers,candidate,current_stage - name: OffersCandidateCurrentStage - - value: offers,candidate,current_stage,reject_reason - name: OffersCandidateCurrentStageRejectReason - - value: offers,candidate,job - name: OffersCandidateJob - - value: offers,candidate,job,credited_to - name: OffersCandidateJobCreditedTo - - value: offers,candidate,job,credited_to,current_stage - name: OffersCandidateJobCreditedToCurrentStage - - value: offers,candidate,job,credited_to,current_stage,reject_reason - name: OffersCandidateJobCreditedToCurrentStageRejectReason - - value: offers,candidate,job,credited_to,reject_reason - name: OffersCandidateJobCreditedToRejectReason - - value: offers,candidate,job,current_stage - name: OffersCandidateJobCurrentStage - - value: offers,candidate,job,current_stage,reject_reason - name: OffersCandidateJobCurrentStageRejectReason - - value: offers,candidate,job,reject_reason - name: OffersCandidateJobRejectReason - - value: offers,candidate,reject_reason - name: OffersCandidateRejectReason - - value: offers,credited_to - name: OffersCreditedTo - - value: offers,credited_to,current_stage - name: OffersCreditedToCurrentStage - - value: offers,credited_to,current_stage,reject_reason - name: OffersCreditedToCurrentStageRejectReason - - value: offers,credited_to,reject_reason - name: OffersCreditedToRejectReason - - value: offers,current_stage - name: OffersCurrentStage - - value: offers,current_stage,reject_reason - name: OffersCurrentStageRejectReason - - value: offers,job - name: OffersJob - - value: offers,job,credited_to - name: OffersJobCreditedTo - - value: offers,job,credited_to,current_stage - name: OffersJobCreditedToCurrentStage - - value: offers,job,credited_to,current_stage,reject_reason - name: OffersJobCreditedToCurrentStageRejectReason - - value: offers,job,credited_to,reject_reason - name: OffersJobCreditedToRejectReason - - value: offers,job,current_stage - name: OffersJobCurrentStage - - value: offers,job,current_stage,reject_reason - name: OffersJobCurrentStageRejectReason - - value: offers,job,reject_reason - name: OffersJobRejectReason - - value: offers,reject_reason - name: OffersRejectReason - - value: offers,screening_question_answers - name: OffersScreeningQuestionAnswers - - value: offers,screening_question_answers,candidate - name: OffersScreeningQuestionAnswersCandidate - - value: offers,screening_question_answers,candidate,credited_to - name: OffersScreeningQuestionAnswersCandidateCreditedTo - - value: offers,screening_question_answers,candidate,credited_to,current_stage - name: OffersScreeningQuestionAnswersCandidateCreditedToCurrentStage - - value: >- - offers,screening_question_answers,candidate,credited_to,current_stage,reject_reason - name: >- - OffersScreeningQuestionAnswersCandidateCreditedToCurrentStageRejectReason - - value: offers,screening_question_answers,candidate,credited_to,reject_reason - name: OffersScreeningQuestionAnswersCandidateCreditedToRejectReason - - value: offers,screening_question_answers,candidate,current_stage - name: OffersScreeningQuestionAnswersCandidateCurrentStage - - value: >- - offers,screening_question_answers,candidate,current_stage,reject_reason - name: OffersScreeningQuestionAnswersCandidateCurrentStageRejectReason - - value: offers,screening_question_answers,candidate,job - name: OffersScreeningQuestionAnswersCandidateJob - - value: offers,screening_question_answers,candidate,job,credited_to - name: OffersScreeningQuestionAnswersCandidateJobCreditedTo - - value: >- - offers,screening_question_answers,candidate,job,credited_to,current_stage - name: OffersScreeningQuestionAnswersCandidateJobCreditedToCurrentStage - - value: >- - offers,screening_question_answers,candidate,job,credited_to,current_stage,reject_reason - name: >- - OffersScreeningQuestionAnswersCandidateJobCreditedToCurrentStageRejectReason - - value: >- - offers,screening_question_answers,candidate,job,credited_to,reject_reason - name: OffersScreeningQuestionAnswersCandidateJobCreditedToRejectReason - - value: offers,screening_question_answers,candidate,job,current_stage - name: OffersScreeningQuestionAnswersCandidateJobCurrentStage - - value: >- - offers,screening_question_answers,candidate,job,current_stage,reject_reason - name: OffersScreeningQuestionAnswersCandidateJobCurrentStageRejectReason - - value: offers,screening_question_answers,candidate,job,reject_reason - name: OffersScreeningQuestionAnswersCandidateJobRejectReason - - value: offers,screening_question_answers,candidate,reject_reason - name: OffersScreeningQuestionAnswersCandidateRejectReason - - value: offers,screening_question_answers,credited_to - name: OffersScreeningQuestionAnswersCreditedTo - - value: offers,screening_question_answers,credited_to,current_stage - name: OffersScreeningQuestionAnswersCreditedToCurrentStage - - value: >- - offers,screening_question_answers,credited_to,current_stage,reject_reason - name: OffersScreeningQuestionAnswersCreditedToCurrentStageRejectReason - - value: offers,screening_question_answers,credited_to,reject_reason - name: OffersScreeningQuestionAnswersCreditedToRejectReason - - value: offers,screening_question_answers,current_stage - name: OffersScreeningQuestionAnswersCurrentStage - - value: offers,screening_question_answers,current_stage,reject_reason - name: OffersScreeningQuestionAnswersCurrentStageRejectReason - - value: offers,screening_question_answers,job - name: OffersScreeningQuestionAnswersJob - - value: offers,screening_question_answers,job,credited_to - name: OffersScreeningQuestionAnswersJobCreditedTo - - value: offers,screening_question_answers,job,credited_to,current_stage - name: OffersScreeningQuestionAnswersJobCreditedToCurrentStage - - value: >- - offers,screening_question_answers,job,credited_to,current_stage,reject_reason - name: OffersScreeningQuestionAnswersJobCreditedToCurrentStageRejectReason - - value: offers,screening_question_answers,job,credited_to,reject_reason - name: OffersScreeningQuestionAnswersJobCreditedToRejectReason - - value: offers,screening_question_answers,job,current_stage - name: OffersScreeningQuestionAnswersJobCurrentStage - - value: offers,screening_question_answers,job,current_stage,reject_reason - name: OffersScreeningQuestionAnswersJobCurrentStageRejectReason - - value: offers,screening_question_answers,job,reject_reason - name: OffersScreeningQuestionAnswersJobRejectReason - - value: offers,screening_question_answers,reject_reason - name: OffersScreeningQuestionAnswersRejectReason - - value: offers,screening_question_answers,screening_question_answers.question - name: OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestion - - value: >- - offers,screening_question_answers,screening_question_answers.question,candidate - name: >- - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidate - - value: >- - offers,screening_question_answers,screening_question_answers.question,candidate,credited_to - name: >- - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateCreditedTo - - value: >- - offers,screening_question_answers,screening_question_answers.question,candidate,credited_to,current_stage - name: >- - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateCreditedToCurrentStage - - value: >- - offers,screening_question_answers,screening_question_answers.question,candidate,credited_to,current_stage,reject_reason - name: >- - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateCreditedToCurrentStageRejectReason - - value: >- - offers,screening_question_answers,screening_question_answers.question,candidate,credited_to,reject_reason - name: >- - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateCreditedToRejectReason - - value: >- - offers,screening_question_answers,screening_question_answers.question,candidate,current_stage - name: >- - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateCurrentStage - - value: >- - offers,screening_question_answers,screening_question_answers.question,candidate,current_stage,reject_reason - name: >- - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateCurrentStageRejectReason - - value: >- - offers,screening_question_answers,screening_question_answers.question,candidate,job - name: >- - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateJob - - value: >- - offers,screening_question_answers,screening_question_answers.question,candidate,job,credited_to - name: >- - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateJobCreditedTo - - value: >- - offers,screening_question_answers,screening_question_answers.question,candidate,job,credited_to,current_stage - name: >- - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateJobCreditedToCurrentStage - - value: >- - offers,screening_question_answers,screening_question_answers.question,candidate,job,credited_to,current_stage,reject_reason - name: >- - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateJobCreditedToCurrentStageRejectReason - - value: >- - offers,screening_question_answers,screening_question_answers.question,candidate,job,credited_to,reject_reason - name: >- - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateJobCreditedToRejectReason - - value: >- - offers,screening_question_answers,screening_question_answers.question,candidate,job,current_stage - name: >- - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateJobCurrentStage - - value: >- - offers,screening_question_answers,screening_question_answers.question,candidate,job,current_stage,reject_reason - name: >- - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateJobCurrentStageRejectReason - - value: >- - offers,screening_question_answers,screening_question_answers.question,candidate,job,reject_reason - name: >- - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateJobRejectReason - - value: >- - offers,screening_question_answers,screening_question_answers.question,candidate,reject_reason - name: >- - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateRejectReason - - value: >- - offers,screening_question_answers,screening_question_answers.question,credited_to - name: >- - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCreditedTo - - value: >- - offers,screening_question_answers,screening_question_answers.question,credited_to,current_stage - name: >- - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCreditedToCurrentStage - - value: >- - offers,screening_question_answers,screening_question_answers.question,credited_to,current_stage,reject_reason - name: >- - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCreditedToCurrentStageRejectReason - - value: >- - offers,screening_question_answers,screening_question_answers.question,credited_to,reject_reason - name: >- - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCreditedToRejectReason - - value: >- - offers,screening_question_answers,screening_question_answers.question,current_stage - name: >- - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCurrentStage - - value: >- - offers,screening_question_answers,screening_question_answers.question,current_stage,reject_reason - name: >- - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCurrentStageRejectReason - - value: >- - offers,screening_question_answers,screening_question_answers.question,job - name: OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionJob - - value: >- - offers,screening_question_answers,screening_question_answers.question,job,credited_to - name: >- - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionJobCreditedTo - - value: >- - offers,screening_question_answers,screening_question_answers.question,job,credited_to,current_stage - name: >- - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionJobCreditedToCurrentStage - - value: >- - offers,screening_question_answers,screening_question_answers.question,job,credited_to,current_stage,reject_reason - name: >- - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionJobCreditedToCurrentStageRejectReason - - value: >- - offers,screening_question_answers,screening_question_answers.question,job,credited_to,reject_reason - name: >- - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionJobCreditedToRejectReason - - value: >- - offers,screening_question_answers,screening_question_answers.question,job,current_stage - name: >- - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionJobCurrentStage - - value: >- - offers,screening_question_answers,screening_question_answers.question,job,current_stage,reject_reason - name: >- - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionJobCurrentStageRejectReason - - value: >- - offers,screening_question_answers,screening_question_answers.question,job,reject_reason - name: >- - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionJobRejectReason - - value: >- - offers,screening_question_answers,screening_question_answers.question,reject_reason - name: >- - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionRejectReason - - value: offers,screening_question_answers.question - name: OffersScreeningQuestionAnswersQuestion - - value: offers,screening_question_answers.question,candidate - name: OffersScreeningQuestionAnswersQuestionCandidate - - value: offers,screening_question_answers.question,candidate,credited_to - name: OffersScreeningQuestionAnswersQuestionCandidateCreditedTo - - value: >- - offers,screening_question_answers.question,candidate,credited_to,current_stage - name: OffersScreeningQuestionAnswersQuestionCandidateCreditedToCurrentStage - - value: >- - offers,screening_question_answers.question,candidate,credited_to,current_stage,reject_reason - name: >- - OffersScreeningQuestionAnswersQuestionCandidateCreditedToCurrentStageRejectReason - - value: >- - offers,screening_question_answers.question,candidate,credited_to,reject_reason - name: OffersScreeningQuestionAnswersQuestionCandidateCreditedToRejectReason - - value: offers,screening_question_answers.question,candidate,current_stage - name: OffersScreeningQuestionAnswersQuestionCandidateCurrentStage - - value: >- - offers,screening_question_answers.question,candidate,current_stage,reject_reason - name: >- - OffersScreeningQuestionAnswersQuestionCandidateCurrentStageRejectReason - - value: offers,screening_question_answers.question,candidate,job - name: OffersScreeningQuestionAnswersQuestionCandidateJob - - value: offers,screening_question_answers.question,candidate,job,credited_to - name: OffersScreeningQuestionAnswersQuestionCandidateJobCreditedTo - - value: >- - offers,screening_question_answers.question,candidate,job,credited_to,current_stage - name: >- - OffersScreeningQuestionAnswersQuestionCandidateJobCreditedToCurrentStage - - value: >- - offers,screening_question_answers.question,candidate,job,credited_to,current_stage,reject_reason - name: >- - OffersScreeningQuestionAnswersQuestionCandidateJobCreditedToCurrentStageRejectReason - - value: >- - offers,screening_question_answers.question,candidate,job,credited_to,reject_reason - name: >- - OffersScreeningQuestionAnswersQuestionCandidateJobCreditedToRejectReason - - value: offers,screening_question_answers.question,candidate,job,current_stage - name: OffersScreeningQuestionAnswersQuestionCandidateJobCurrentStage - - value: >- - offers,screening_question_answers.question,candidate,job,current_stage,reject_reason - name: >- - OffersScreeningQuestionAnswersQuestionCandidateJobCurrentStageRejectReason - - value: offers,screening_question_answers.question,candidate,job,reject_reason - name: OffersScreeningQuestionAnswersQuestionCandidateJobRejectReason - - value: offers,screening_question_answers.question,candidate,reject_reason - name: OffersScreeningQuestionAnswersQuestionCandidateRejectReason - - value: offers,screening_question_answers.question,credited_to - name: OffersScreeningQuestionAnswersQuestionCreditedTo - - value: offers,screening_question_answers.question,credited_to,current_stage - name: OffersScreeningQuestionAnswersQuestionCreditedToCurrentStage - - value: >- - offers,screening_question_answers.question,credited_to,current_stage,reject_reason - name: >- - OffersScreeningQuestionAnswersQuestionCreditedToCurrentStageRejectReason - - value: offers,screening_question_answers.question,credited_to,reject_reason - name: OffersScreeningQuestionAnswersQuestionCreditedToRejectReason - - value: offers,screening_question_answers.question,current_stage - name: OffersScreeningQuestionAnswersQuestionCurrentStage - - value: offers,screening_question_answers.question,current_stage,reject_reason - name: OffersScreeningQuestionAnswersQuestionCurrentStageRejectReason - - value: offers,screening_question_answers.question,job - name: OffersScreeningQuestionAnswersQuestionJob - - value: offers,screening_question_answers.question,job,credited_to - name: OffersScreeningQuestionAnswersQuestionJobCreditedTo - - value: >- - offers,screening_question_answers.question,job,credited_to,current_stage - name: OffersScreeningQuestionAnswersQuestionJobCreditedToCurrentStage - - value: >- - offers,screening_question_answers.question,job,credited_to,current_stage,reject_reason - name: >- - OffersScreeningQuestionAnswersQuestionJobCreditedToCurrentStageRejectReason - - value: >- - offers,screening_question_answers.question,job,credited_to,reject_reason - name: OffersScreeningQuestionAnswersQuestionJobCreditedToRejectReason - - value: offers,screening_question_answers.question,job,current_stage - name: OffersScreeningQuestionAnswersQuestionJobCurrentStage - - value: >- - offers,screening_question_answers.question,job,current_stage,reject_reason - name: OffersScreeningQuestionAnswersQuestionJobCurrentStageRejectReason - - value: offers,screening_question_answers.question,job,reject_reason - name: OffersScreeningQuestionAnswersQuestionJobRejectReason - - value: offers,screening_question_answers.question,reject_reason - name: OffersScreeningQuestionAnswersQuestionRejectReason - - reject_reason - - screening_question_answers - - value: screening_question_answers,candidate - name: ScreeningQuestionAnswersCandidate - - value: screening_question_answers,candidate,credited_to - name: ScreeningQuestionAnswersCandidateCreditedTo - - value: screening_question_answers,candidate,credited_to,current_stage - name: ScreeningQuestionAnswersCandidateCreditedToCurrentStage - - value: >- - screening_question_answers,candidate,credited_to,current_stage,reject_reason - name: ScreeningQuestionAnswersCandidateCreditedToCurrentStageRejectReason - - value: screening_question_answers,candidate,credited_to,reject_reason - name: ScreeningQuestionAnswersCandidateCreditedToRejectReason - - value: screening_question_answers,candidate,current_stage - name: ScreeningQuestionAnswersCandidateCurrentStage - - value: screening_question_answers,candidate,current_stage,reject_reason - name: ScreeningQuestionAnswersCandidateCurrentStageRejectReason - - value: screening_question_answers,candidate,job - name: ScreeningQuestionAnswersCandidateJob - - value: screening_question_answers,candidate,job,credited_to - name: ScreeningQuestionAnswersCandidateJobCreditedTo - - value: screening_question_answers,candidate,job,credited_to,current_stage - name: ScreeningQuestionAnswersCandidateJobCreditedToCurrentStage - - value: >- - screening_question_answers,candidate,job,credited_to,current_stage,reject_reason - name: ScreeningQuestionAnswersCandidateJobCreditedToCurrentStageRejectReason - - value: screening_question_answers,candidate,job,credited_to,reject_reason - name: ScreeningQuestionAnswersCandidateJobCreditedToRejectReason - - value: screening_question_answers,candidate,job,current_stage - name: ScreeningQuestionAnswersCandidateJobCurrentStage - - value: screening_question_answers,candidate,job,current_stage,reject_reason - name: ScreeningQuestionAnswersCandidateJobCurrentStageRejectReason - - value: screening_question_answers,candidate,job,reject_reason - name: ScreeningQuestionAnswersCandidateJobRejectReason - - value: screening_question_answers,candidate,reject_reason - name: ScreeningQuestionAnswersCandidateRejectReason - - value: screening_question_answers,credited_to - name: ScreeningQuestionAnswersCreditedTo - - value: screening_question_answers,credited_to,current_stage - name: ScreeningQuestionAnswersCreditedToCurrentStage - - value: screening_question_answers,credited_to,current_stage,reject_reason - name: ScreeningQuestionAnswersCreditedToCurrentStageRejectReason - - value: screening_question_answers,credited_to,reject_reason - name: ScreeningQuestionAnswersCreditedToRejectReason - - value: screening_question_answers,current_stage - name: ScreeningQuestionAnswersCurrentStage - - value: screening_question_answers,current_stage,reject_reason - name: ScreeningQuestionAnswersCurrentStageRejectReason - - value: screening_question_answers,job - name: ScreeningQuestionAnswersJob - - value: screening_question_answers,job,credited_to - name: ScreeningQuestionAnswersJobCreditedTo - - value: screening_question_answers,job,credited_to,current_stage - name: ScreeningQuestionAnswersJobCreditedToCurrentStage - - value: screening_question_answers,job,credited_to,current_stage,reject_reason - name: ScreeningQuestionAnswersJobCreditedToCurrentStageRejectReason - - value: screening_question_answers,job,credited_to,reject_reason - name: ScreeningQuestionAnswersJobCreditedToRejectReason - - value: screening_question_answers,job,current_stage - name: ScreeningQuestionAnswersJobCurrentStage - - value: screening_question_answers,job,current_stage,reject_reason - name: ScreeningQuestionAnswersJobCurrentStageRejectReason - - value: screening_question_answers,job,reject_reason - name: ScreeningQuestionAnswersJobRejectReason - - value: screening_question_answers,reject_reason - name: ScreeningQuestionAnswersRejectReason - - value: screening_question_answers,screening_question_answers.question - name: ScreeningQuestionAnswersScreeningQuestionAnswersQuestion - - value: >- - screening_question_answers,screening_question_answers.question,candidate - name: ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidate - - value: >- - screening_question_answers,screening_question_answers.question,candidate,credited_to - name: >- - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateCreditedTo - - value: >- - screening_question_answers,screening_question_answers.question,candidate,credited_to,current_stage - name: >- - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateCreditedToCurrentStage - - value: >- - screening_question_answers,screening_question_answers.question,candidate,credited_to,current_stage,reject_reason - name: >- - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateCreditedToCurrentStageRejectReason - - value: >- - screening_question_answers,screening_question_answers.question,candidate,credited_to,reject_reason - name: >- - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateCreditedToRejectReason - - value: >- - screening_question_answers,screening_question_answers.question,candidate,current_stage - name: >- - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateCurrentStage - - value: >- - screening_question_answers,screening_question_answers.question,candidate,current_stage,reject_reason - name: >- - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateCurrentStageRejectReason - - value: >- - screening_question_answers,screening_question_answers.question,candidate,job - name: ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateJob - - value: >- - screening_question_answers,screening_question_answers.question,candidate,job,credited_to - name: >- - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateJobCreditedTo - - value: >- - screening_question_answers,screening_question_answers.question,candidate,job,credited_to,current_stage - name: >- - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateJobCreditedToCurrentStage - - value: >- - screening_question_answers,screening_question_answers.question,candidate,job,credited_to,current_stage,reject_reason - name: >- - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateJobCreditedToCurrentStageRejectReason - - value: >- - screening_question_answers,screening_question_answers.question,candidate,job,credited_to,reject_reason - name: >- - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateJobCreditedToRejectReason - - value: >- - screening_question_answers,screening_question_answers.question,candidate,job,current_stage - name: >- - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateJobCurrentStage - - value: >- - screening_question_answers,screening_question_answers.question,candidate,job,current_stage,reject_reason - name: >- - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateJobCurrentStageRejectReason - - value: >- - screening_question_answers,screening_question_answers.question,candidate,job,reject_reason - name: >- - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateJobRejectReason - - value: >- - screening_question_answers,screening_question_answers.question,candidate,reject_reason - name: >- - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateRejectReason - - value: >- - screening_question_answers,screening_question_answers.question,credited_to - name: ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCreditedTo - - value: >- - screening_question_answers,screening_question_answers.question,credited_to,current_stage - name: >- - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCreditedToCurrentStage - - value: >- - screening_question_answers,screening_question_answers.question,credited_to,current_stage,reject_reason - name: >- - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCreditedToCurrentStageRejectReason - - value: >- - screening_question_answers,screening_question_answers.question,credited_to,reject_reason - name: >- - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCreditedToRejectReason - - value: >- - screening_question_answers,screening_question_answers.question,current_stage - name: ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCurrentStage - - value: >- - screening_question_answers,screening_question_answers.question,current_stage,reject_reason - name: >- - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCurrentStageRejectReason - - value: screening_question_answers,screening_question_answers.question,job - name: ScreeningQuestionAnswersScreeningQuestionAnswersQuestionJob - - value: >- - screening_question_answers,screening_question_answers.question,job,credited_to - name: ScreeningQuestionAnswersScreeningQuestionAnswersQuestionJobCreditedTo - - value: >- - screening_question_answers,screening_question_answers.question,job,credited_to,current_stage - name: >- - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionJobCreditedToCurrentStage - - value: >- - screening_question_answers,screening_question_answers.question,job,credited_to,current_stage,reject_reason - name: >- - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionJobCreditedToCurrentStageRejectReason - - value: >- - screening_question_answers,screening_question_answers.question,job,credited_to,reject_reason - name: >- - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionJobCreditedToRejectReason - - value: >- - screening_question_answers,screening_question_answers.question,job,current_stage - name: >- - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionJobCurrentStage - - value: >- - screening_question_answers,screening_question_answers.question,job,current_stage,reject_reason - name: >- - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionJobCurrentStageRejectReason - - value: >- - screening_question_answers,screening_question_answers.question,job,reject_reason - name: >- - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionJobRejectReason - - value: >- - screening_question_answers,screening_question_answers.question,reject_reason - name: ScreeningQuestionAnswersScreeningQuestionAnswersQuestionRejectReason - - value: screening_question_answers.question - name: ScreeningQuestionAnswersQuestion - - value: screening_question_answers.question,candidate - name: ScreeningQuestionAnswersQuestionCandidate - - value: screening_question_answers.question,candidate,credited_to - name: ScreeningQuestionAnswersQuestionCandidateCreditedTo - - value: >- - screening_question_answers.question,candidate,credited_to,current_stage - name: ScreeningQuestionAnswersQuestionCandidateCreditedToCurrentStage - - value: >- - screening_question_answers.question,candidate,credited_to,current_stage,reject_reason - name: >- - ScreeningQuestionAnswersQuestionCandidateCreditedToCurrentStageRejectReason - - value: >- - screening_question_answers.question,candidate,credited_to,reject_reason - name: ScreeningQuestionAnswersQuestionCandidateCreditedToRejectReason - - value: screening_question_answers.question,candidate,current_stage - name: ScreeningQuestionAnswersQuestionCandidateCurrentStage - - value: >- - screening_question_answers.question,candidate,current_stage,reject_reason - name: ScreeningQuestionAnswersQuestionCandidateCurrentStageRejectReason - - value: screening_question_answers.question,candidate,job - name: ScreeningQuestionAnswersQuestionCandidateJob - - value: screening_question_answers.question,candidate,job,credited_to - name: ScreeningQuestionAnswersQuestionCandidateJobCreditedTo - - value: >- - screening_question_answers.question,candidate,job,credited_to,current_stage - name: ScreeningQuestionAnswersQuestionCandidateJobCreditedToCurrentStage - - value: >- - screening_question_answers.question,candidate,job,credited_to,current_stage,reject_reason - name: >- - ScreeningQuestionAnswersQuestionCandidateJobCreditedToCurrentStageRejectReason - - value: >- - screening_question_answers.question,candidate,job,credited_to,reject_reason - name: ScreeningQuestionAnswersQuestionCandidateJobCreditedToRejectReason - - value: screening_question_answers.question,candidate,job,current_stage - name: ScreeningQuestionAnswersQuestionCandidateJobCurrentStage - - value: >- - screening_question_answers.question,candidate,job,current_stage,reject_reason - name: ScreeningQuestionAnswersQuestionCandidateJobCurrentStageRejectReason - - value: screening_question_answers.question,candidate,job,reject_reason - name: ScreeningQuestionAnswersQuestionCandidateJobRejectReason - - value: screening_question_answers.question,candidate,reject_reason - name: ScreeningQuestionAnswersQuestionCandidateRejectReason - - value: screening_question_answers.question,credited_to - name: ScreeningQuestionAnswersQuestionCreditedTo - - value: screening_question_answers.question,credited_to,current_stage - name: ScreeningQuestionAnswersQuestionCreditedToCurrentStage - - value: >- - screening_question_answers.question,credited_to,current_stage,reject_reason - name: ScreeningQuestionAnswersQuestionCreditedToCurrentStageRejectReason - - value: screening_question_answers.question,credited_to,reject_reason - name: ScreeningQuestionAnswersQuestionCreditedToRejectReason - - value: screening_question_answers.question,current_stage - name: ScreeningQuestionAnswersQuestionCurrentStage - - value: screening_question_answers.question,current_stage,reject_reason - name: ScreeningQuestionAnswersQuestionCurrentStageRejectReason - - value: screening_question_answers.question,job - name: ScreeningQuestionAnswersQuestionJob - - value: screening_question_answers.question,job,credited_to - name: ScreeningQuestionAnswersQuestionJobCreditedTo - - value: screening_question_answers.question,job,credited_to,current_stage - name: ScreeningQuestionAnswersQuestionJobCreditedToCurrentStage - - value: >- - screening_question_answers.question,job,credited_to,current_stage,reject_reason - name: ScreeningQuestionAnswersQuestionJobCreditedToCurrentStageRejectReason - - value: screening_question_answers.question,job,credited_to,reject_reason - name: ScreeningQuestionAnswersQuestionJobCreditedToRejectReason - - value: screening_question_answers.question,job,current_stage - name: ScreeningQuestionAnswersQuestionJobCurrentStage - - value: screening_question_answers.question,job,current_stage,reject_reason - name: ScreeningQuestionAnswersQuestionJobCurrentStageRejectReason - - value: screening_question_answers.question,job,reject_reason - name: ScreeningQuestionAnswersQuestionJobRejectReason - - value: screening_question_answers.question,reject_reason - name: ScreeningQuestionAnswersQuestionRejectReason - source: - openapi: openapi/openapi.yml -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /ats/v1/applications - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `Application` objects. - source: - openapi: openapi/openapi.yml - request: - name: ApplicationsListRequest - query-parameters: - candidate_id: - type: optional - docs: If provided, will only return applications for this candidate. - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - credited_to_id: - type: optional - docs: If provided, will only return applications credited to this user. - current_stage_id: - type: optional - docs: >- - If provided, will only return applications at this interview - stage. - cursor: - type: optional - docs: The pagination cursor value. - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - job_id: - type: optional - docs: If provided, will only return applications for this job. - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - page_size: - type: optional - docs: Number of results to return per page. - reject_reason_id: - type: optional - docs: >- - If provided, will only return applications with this reject - reason. - remote_id: - type: optional - docs: The API provider's ID for the given object. - source: - type: optional - docs: If provided, will only return applications with this source. - response: - docs: '' - type: root.PaginatedApplicationList - status-code: 200 - examples: - - query-parameters: - candidate_id: candidate_id - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - credited_to_id: credited_to_id - current_stage_id: current_stage_id - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - expand: candidate - include_deleted_data: true - include_remote_data: true - include_shell_data: true - job_id: job_id - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - page_size: 1 - reject_reason_id: reject_reason_id - remote_id: remote_id - source: source - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: 92e8a369-fffe-430d-b93a-f7e8a16563f1 - remote_id: '98796' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - candidate: candidate - job: job - applied_at: '2021-10-15T00:00:00Z' - rejected_at: '2021-11-15T00:00:00Z' - offers: - - e9b5c11d-c588-468e-8567-cd6992e42b62 - source: Campus recruiting event - credited_to: credited_to - screening_question_answers: - - screening_question_answers - - screening_question_answers - current_stage: current_stage - reject_reason: reject_reason - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /candidacies - data: - - Varies by platform - create: - path: /ats/v1/applications - method: POST - auth: - - tokenAuth: [] - docs: > - Creates an `Application` object with the given values. - - For certain integrations, but not all, our API detects duplicate - candidates and will associate applications with existing records in the - third-party. New candidates are created and automatically linked to the - application. - - - See our [Help Center - article](https://help.merge.dev/en/articles/10012366-updates-to-post-applications-oct-2024) - for detailed support per integration. - source: - openapi: openapi/openapi.yml - request: - name: ApplicationEndpointRequest - query-parameters: - is_debug_mode: - type: optional - docs: >- - Whether to include debug fields (such as log file links) in the - response. - run_async: - type: optional - docs: Whether or not third-party updates should be run asynchronously. - body: - properties: - model: root.ApplicationRequest - remote_user_id: string - content-type: application/json - response: - docs: '' - type: root.ApplicationResponse - status-code: 201 - examples: - - query-parameters: - is_debug_mode: true - run_async: true - headers: - X-Account-Token: X-Account-Token - request: - model: {} - remote_user_id: remote_user_id - response: - body: - model: - id: 92e8a369-fffe-430d-b93a-f7e8a16563f1 - remote_id: '98796' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - candidate: candidate - job: job - applied_at: '2021-10-15T00:00:00Z' - rejected_at: '2021-11-15T00:00:00Z' - offers: - - e9b5c11d-c588-468e-8567-cd6992e42b62 - source: Campus recruiting event - credited_to: credited_to - screening_question_answers: - - screening_question_answers - - screening_question_answers - current_stage: current_stage - reject_reason: reject_reason - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /candidacies - data: - - Varies by platform - warnings: - - source: - pointer: pointer - title: Unrecognized Field - detail: An unrecognized field, age, was passed in with request data. - problem_type: UNRECOGNIZED_FIELD - errors: - - source: - pointer: pointer - title: Missing Required Field - detail: custom_fields is a required field on model. - problem_type: MISSING_REQUIRED_FIELD - logs: - - log_id: 99433219-8017-4acd-bb3c-ceb23d663832 - dashboard_view: >- - https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832 - log_summary: - url: www.exampleintegration.com/api/v1/exampleapi - method: POST - status_code: 200 - retrieve: - path: /ats/v1/applications/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns an `Application` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: ApplicationsRetrieveRequest - query-parameters: - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - response: - docs: '' - type: root.Application - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - expand: candidate - include_remote_data: true - include_shell_data: true - headers: - X-Account-Token: X-Account-Token - response: - body: - id: 92e8a369-fffe-430d-b93a-f7e8a16563f1 - remote_id: '98796' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - candidate: candidate - job: job - applied_at: '2021-10-15T00:00:00Z' - rejected_at: '2021-11-15T00:00:00Z' - offers: - - e9b5c11d-c588-468e-8567-cd6992e42b62 - source: Campus recruiting event - credited_to: credited_to - screening_question_answers: - - screening_question_answers - - screening_question_answers - current_stage: current_stage - reject_reason: reject_reason - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /candidacies - data: - - Varies by platform - changeStageCreate: - path: /ats/v1/applications/{id}/change-stage - method: POST - auth: - - tokenAuth: [] - docs: Updates the `current_stage` field of an `Application` object - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: UpdateApplicationStageRequest - query-parameters: - is_debug_mode: - type: optional - docs: >- - Whether to include debug fields (such as log file links) in the - response. - run_async: - type: optional - docs: Whether or not third-party updates should be run asynchronously. - body: - properties: - job_interview_stage: - type: optional - docs: The interview stage to move the application to. - validation: - format: uuid - remote_user_id: - type: optional - validation: - minLength: 1 - content-type: application/json - response: - docs: '' - type: root.ApplicationResponse - status-code: 201 - examples: - - path-parameters: - id: id - query-parameters: - is_debug_mode: true - run_async: true - headers: - X-Account-Token: X-Account-Token - request: {} - response: - body: - model: - id: 92e8a369-fffe-430d-b93a-f7e8a16563f1 - remote_id: '98796' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - candidate: candidate - job: job - applied_at: '2021-10-15T00:00:00Z' - rejected_at: '2021-11-15T00:00:00Z' - offers: - - e9b5c11d-c588-468e-8567-cd6992e42b62 - source: Campus recruiting event - credited_to: credited_to - screening_question_answers: - - screening_question_answers - - screening_question_answers - current_stage: current_stage - reject_reason: reject_reason - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /candidacies - data: - - Varies by platform - warnings: - - source: - pointer: pointer - title: Unrecognized Field - detail: An unrecognized field, age, was passed in with request data. - problem_type: UNRECOGNIZED_FIELD - errors: - - source: - pointer: pointer - title: Missing Required Field - detail: custom_fields is a required field on model. - problem_type: MISSING_REQUIRED_FIELD - logs: - - log_id: 99433219-8017-4acd-bb3c-ceb23d663832 - dashboard_view: >- - https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832 - log_summary: - url: www.exampleintegration.com/api/v1/exampleapi - method: POST - status_code: 200 - metaPostRetrieve: - path: /ats/v1/applications/meta/post - method: GET - auth: - - tokenAuth: [] - docs: Returns metadata for `Application` POSTs. - source: - openapi: openapi/openapi.yml - request: - name: ApplicationsMetaPostRetrieveRequest - query-parameters: - application_remote_template_id: - type: optional - docs: >- - The template ID associated with the nested application in the - request. - response: - docs: '' - type: root.MetaResponse - status-code: 200 - examples: - - query-parameters: - application_remote_template_id: application_remote_template_id - headers: - X-Account-Token: X-Account-Token - response: - body: - request_schema: - type: object - properties: - model: - type: object - required: - - last_name - - first_name - - merge_categories - - new_york_city_neighborhood - - favorite_tv_shows - - favorite_watch - properties: - email_addresses: - type: array - items: - type: object - properties: - value: - type: string - title: value - email_address_type: - type: string - title: email_address_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: email_addresses - description: Array of email_addresses objects - urls: - type: array - items: - type: object - properties: - value: - type: string - title: value - url_type: - type: string - title: url_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: urls - description: Array of urls objects - first_name: - type: string - title: first_name - description: The first name. - last_name: - type: string - title: last_name - description: The last name. - phone_numbers: - type: array - items: - type: object - properties: - value: - type: string - title: value - phone_number_type: - type: string - title: phone_number_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: phone_numbers - description: Array of phone_numbers objects - tags: - type: array - items: - type: string - format: uuid - title: tags - description: Array of tags names - attachments: - type: array - items: - type: object - properties: - id: - type: string - title: id - file_url: - type: string - title: file_url - file_name: - type: string - title: file_name - attachment_type: - type: string - title: attachment_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: attachments - description: 'Array of attachments objects ' - merge_categories: - type: array - categories: - type: string - enum: - - HRIS - - ATS - - Accounting - - Ticketing - - File Storage - - CRM - - Marketing Automation - enum_information: - - value: HRIS - description: Merge HRIS Category - - value: ATS - description: Merge ATS Category - - value: Accounting - description: Merge Accounting Category - - value: Ticketing - description: Merge Ticketing Category - - value: File Storage - description: Merge File Storage Category - - value: CRM - description: Merge CRM Category - - value: Marketing Automation - description: Merge Marketing Automation Category - title: Merge Categories - description: Array of Merge's Unified API Categories - new_york_city_neighborhood: - type: string - title: Borough - description: One of the 5 Boroughs of New York City - favorite_tv_shows: - type: array - items: - type: string - format: uuid - title: Favorite TV Shows - description: Array of TV Show objects on merge.tv_shows - favorite_watch: - type: string - title: Favorite Watch - description: Favorite watch of all time - remote_field_classes: - key: value - status: - linked_account_status: linked_account_status - can_make_request: true - has_conditional_params: true - has_required_linked_account_params: true - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/ats/asyncPassthrough.yml b/.mock/definition/ats/asyncPassthrough.yml deleted file mode 100644 index 07d63611..00000000 --- a/.mock/definition/ats/asyncPassthrough.yml +++ /dev/null @@ -1,78 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - create: - path: /ats/v1/async-passthrough - method: POST - auth: - - tokenAuth: [] - docs: >- - Asynchronously pull data from an endpoint not currently supported by - Merge. - source: - openapi: openapi/openapi.yml - request: - body: root.DataPassthroughRequest - content-type: application/json - response: - docs: '' - type: root.AsyncPassthroughReciept - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - request: - method: GET - path: /scooters - response: - body: - async_passthrough_receipt_id: fd29020f-2695-445e-922e-dcd5e81903fd - retrieve: - path: /ats/v1/async-passthrough/{async_passthrough_receipt_id} - method: GET - auth: - - tokenAuth: [] - docs: Retrieves data from earlier async-passthrough POST request - source: - openapi: openapi/openapi.yml - path-parameters: - async_passthrough_receipt_id: string - response: - docs: '' - type: AsyncPassthroughRetrieveResponse - status-code: 200 - examples: - - path-parameters: - async_passthrough_receipt_id: async_passthrough_receipt_id - headers: - X-Account-Token: X-Account-Token - response: - body: - method: GET - path: /scooters - status: 200 - response: - scooters: - - company: Lime - model: Gen 2.5 - - company: Bird - model: Bird Zero - response_headers: - X-Page-Token: value - response_type: JSON - headers: - EXTRA-HEADER: value - Authorization: - source: - openapi: openapi/openapi.yml -types: - AsyncPassthroughRetrieveResponse: - discriminated: false - union: - - root.RemoteResponse - - string - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/ats/attachments.yml b/.mock/definition/ats/attachments.yml deleted file mode 100644 index 95cde4bb..00000000 --- a/.mock/definition/ats/attachments.yml +++ /dev/null @@ -1,464 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /ats/v1/attachments - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `Attachment` objects. - source: - openapi: openapi/openapi.yml - request: - name: AttachmentsListRequest - query-parameters: - candidate_id: - type: optional - docs: If provided, will only return attachments for this candidate. - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - expand: - type: optional> - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - page_size: - type: optional - docs: Number of results to return per page. - remote_fields: - type: optional> - docs: Deprecated. Use show_enum_origins. - remote_id: - type: optional - docs: The API provider's ID for the given object. - show_enum_origins: - type: optional> - docs: >- - A comma separated list of enum field names for which you'd like - the original values to be returned, instead of Merge's normalized - enum values. [Learn - more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - response: - docs: '' - type: root.PaginatedAttachmentList - status-code: 200 - examples: - - query-parameters: - candidate_id: candidate_id - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - expand: candidate - include_deleted_data: true - include_remote_data: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - page_size: 1 - remote_fields: attachment_type - remote_id: remote_id - show_enum_origins: attachment_type - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: c640b80b-fac9-409f-aa19-1f9221aec445 - remote_id: '11167' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - file_name: Candidate Resume - file_url: http://alturl.com/p749b - candidate: 2872ba14-4084-492b-be96-e5eee6fc33ef - attachment_type: RESUME - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /attachments - data: - - Varies by platform - create: - path: /ats/v1/attachments - method: POST - auth: - - tokenAuth: [] - docs: Creates an `Attachment` object with the given values. - source: - openapi: openapi/openapi.yml - request: - name: AttachmentEndpointRequest - query-parameters: - is_debug_mode: - type: optional - docs: >- - Whether to include debug fields (such as log file links) in the - response. - run_async: - type: optional - docs: Whether or not third-party updates should be run asynchronously. - body: - properties: - model: root.AttachmentRequest - remote_user_id: string - content-type: application/json - response: - docs: '' - type: root.AttachmentResponse - status-code: 201 - examples: - - query-parameters: - is_debug_mode: true - run_async: true - headers: - X-Account-Token: X-Account-Token - request: - model: {} - remote_user_id: remote_user_id - response: - body: - model: - id: c640b80b-fac9-409f-aa19-1f9221aec445 - remote_id: '11167' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - file_name: Candidate Resume - file_url: http://alturl.com/p749b - candidate: 2872ba14-4084-492b-be96-e5eee6fc33ef - attachment_type: RESUME - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /attachments - data: - - Varies by platform - warnings: - - source: - pointer: pointer - title: Unrecognized Field - detail: An unrecognized field, age, was passed in with request data. - problem_type: UNRECOGNIZED_FIELD - errors: - - source: - pointer: pointer - title: Missing Required Field - detail: custom_fields is a required field on model. - problem_type: MISSING_REQUIRED_FIELD - logs: - - log_id: 99433219-8017-4acd-bb3c-ceb23d663832 - dashboard_view: >- - https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832 - log_summary: - url: www.exampleintegration.com/api/v1/exampleapi - method: POST - status_code: 200 - retrieve: - path: /ats/v1/attachments/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns an `Attachment` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: AttachmentsRetrieveRequest - query-parameters: - expand: - type: optional> - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - remote_fields: - type: optional> - docs: Deprecated. Use show_enum_origins. - show_enum_origins: - type: optional> - docs: >- - A comma separated list of enum field names for which you'd like - the original values to be returned, instead of Merge's normalized - enum values. [Learn - more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - response: - docs: '' - type: root.Attachment - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - expand: candidate - include_remote_data: true - include_shell_data: true - remote_fields: attachment_type - show_enum_origins: attachment_type - headers: - X-Account-Token: X-Account-Token - response: - body: - id: c640b80b-fac9-409f-aa19-1f9221aec445 - remote_id: '11167' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - file_name: Candidate Resume - file_url: http://alturl.com/p749b - candidate: 2872ba14-4084-492b-be96-e5eee6fc33ef - attachment_type: RESUME - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /attachments - data: - - Varies by platform - metaPostRetrieve: - path: /ats/v1/attachments/meta/post - method: GET - auth: - - tokenAuth: [] - docs: Returns metadata for `Attachment` POSTs. - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: root.MetaResponse - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - request_schema: - type: object - properties: - model: - type: object - required: - - last_name - - first_name - - merge_categories - - new_york_city_neighborhood - - favorite_tv_shows - - favorite_watch - properties: - email_addresses: - type: array - items: - type: object - properties: - value: - type: string - title: value - email_address_type: - type: string - title: email_address_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: email_addresses - description: Array of email_addresses objects - urls: - type: array - items: - type: object - properties: - value: - type: string - title: value - url_type: - type: string - title: url_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: urls - description: Array of urls objects - first_name: - type: string - title: first_name - description: The first name. - last_name: - type: string - title: last_name - description: The last name. - phone_numbers: - type: array - items: - type: object - properties: - value: - type: string - title: value - phone_number_type: - type: string - title: phone_number_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: phone_numbers - description: Array of phone_numbers objects - tags: - type: array - items: - type: string - format: uuid - title: tags - description: Array of tags names - attachments: - type: array - items: - type: object - properties: - id: - type: string - title: id - file_url: - type: string - title: file_url - file_name: - type: string - title: file_name - attachment_type: - type: string - title: attachment_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: attachments - description: 'Array of attachments objects ' - merge_categories: - type: array - categories: - type: string - enum: - - HRIS - - ATS - - Accounting - - Ticketing - - File Storage - - CRM - - Marketing Automation - enum_information: - - value: HRIS - description: Merge HRIS Category - - value: ATS - description: Merge ATS Category - - value: Accounting - description: Merge Accounting Category - - value: Ticketing - description: Merge Ticketing Category - - value: File Storage - description: Merge File Storage Category - - value: CRM - description: Merge CRM Category - - value: Marketing Automation - description: Merge Marketing Automation Category - title: Merge Categories - description: Array of Merge's Unified API Categories - new_york_city_neighborhood: - type: string - title: Borough - description: One of the 5 Boroughs of New York City - favorite_tv_shows: - type: array - items: - type: string - format: uuid - title: Favorite TV Shows - description: Array of TV Show objects on merge.tv_shows - favorite_watch: - type: string - title: Favorite Watch - description: Favorite watch of all time - remote_field_classes: - key: value - status: - linked_account_status: linked_account_status - can_make_request: true - has_conditional_params: true - has_required_linked_account_params: true - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/ats/auditTrail.yml b/.mock/definition/ats/auditTrail.yml deleted file mode 100644 index 95a9228d..00000000 --- a/.mock/definition/ats/auditTrail.yml +++ /dev/null @@ -1,104 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /ats/v1/audit-trail - method: GET - auth: - - tokenAuth: [] - docs: Gets a list of audit trail events. - source: - openapi: openapi/openapi.yml - request: - name: AuditTrailListRequest - query-parameters: - cursor: - type: optional - docs: The pagination cursor value. - end_date: - type: optional - docs: >- - If included, will only include audit trail events that occurred - before this time - event_type: - type: optional - docs: >- - If included, will only include events with the given event type. - Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, - `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, - `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, - `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, - `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, - `DELETED_LINKED_ACCOUNT`, - `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, - `CREATED_DESTINATION`, `DELETED_DESTINATION`, - `CHANGED_DESTINATION`, `CHANGED_SCOPES`, - `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, - `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, - `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, - `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, - `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, - `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, - `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, - `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, - `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, - `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, - `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, - `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, - `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, - `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, - `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, - `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, - `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, - `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, - `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, - `END_USER_CREDENTIALS_ACCESSED` - page_size: - type: optional - docs: Number of results to return per page. - start_date: - type: optional - docs: >- - If included, will only include audit trail events that occurred - after this time - user_email: - type: optional - docs: >- - If provided, this will return events associated with the specified - user email. Please note that the email address reflects the user's - email at the time of the event, and may not be their current - email. - response: - docs: '' - type: root.PaginatedAuditLogEventList - status-code: 200 - examples: - - query-parameters: - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - end_date: end_date - event_type: event_type - page_size: 1 - start_date: start_date - user_email: user_email - headers: - X-Account-Token: '[object Object]' - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: b5ceea2a-7171-47ce-8090-165cfce5572c - user_name: Gil Feig - user_email: hello@merge.dev - role: ADMIN - ip_address: 192.0.2.123 - event_type: CREATED_REMOTE_PRODUCTION_API_KEY - event_description: >- - Organization-wide Scopes for model hris.Employee updated - from Read to Read+Write - created_at: '2024-01-15T09:30:00Z' - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/ats/availableActions.yml b/.mock/definition/ats/availableActions.yml deleted file mode 100644 index ec10eae5..00000000 --- a/.mock/definition/ats/availableActions.yml +++ /dev/null @@ -1,52 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - retrieve: - path: /ats/v1/available-actions - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of models and actions available for an account. - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: root.AvailableActions - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - integration: - name: name - abbreviated_name: abbreviated_name - categories: - - hris - image: image - square_image: square_image - color: color - slug: slug - api_endpoints_to_documentation_urls: - key: value - webhook_setup_guide_url: webhook_setup_guide_url - category_beta_status: - key: value - passthrough_available: true - available_model_operations: - - model_name: Candidate - available_operations: - - FETCH - - CREATE - required_post_parameters: - - remote_user_id - supported_fields: - - first_name - - last_name - - company - - title - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/ats/candidates.yml b/.mock/definition/ats/candidates.yml deleted file mode 100644 index 07b5bb14..00000000 --- a/.mock/definition/ats/candidates.yml +++ /dev/null @@ -1,916 +0,0 @@ -types: - CandidatesListRequestExpand: - enum: - - applications - - value: applications,attachments - name: ApplicationsAttachments - - attachments - source: - openapi: openapi/openapi.yml - CandidatesRetrieveRequestExpand: - enum: - - applications - - value: applications,attachments - name: ApplicationsAttachments - - attachments - source: - openapi: openapi/openapi.yml - IgnoreCommonModelRequestReason: - discriminated: false - union: - - root.ReasonEnum - - string - source: - openapi: openapi/openapi.yml - inline: true -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /ats/v1/candidates - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `Candidate` objects. - source: - openapi: openapi/openapi.yml - request: - name: CandidatesListRequest - query-parameters: - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - email_addresses: - type: optional - docs: >- - If provided, will only return candidates with these email - addresses; multiple addresses can be separated by commas. - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - first_name: - type: optional - docs: If provided, will only return candidates with this first name. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - last_name: - type: optional - docs: If provided, will only return candidates with this last name. - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - page_size: - type: optional - docs: Number of results to return per page. - remote_id: - type: optional - docs: The API provider's ID for the given object. - tags: - type: optional - docs: >- - If provided, will only return candidates with these tags; multiple - tags can be separated by commas. - response: - docs: '' - type: root.PaginatedCandidateList - status-code: 200 - examples: - - query-parameters: - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - email_addresses: email_addresses - expand: applications - first_name: first_name - include_deleted_data: true - include_remote_data: true - include_shell_data: true - last_name: last_name - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - page_size: 1 - remote_id: remote_id - tags: tags - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: 521b18c2-4d01-4297-b451-19858d07c133 - remote_id: '21198' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - first_name: Gil - last_name: Feig - company: Columbia Dining App. - title: Software Engineer - remote_created_at: '2021-10-15T00:00:00Z' - remote_updated_at: '2021-10-16T00:00:00Z' - last_interaction_at: '2021-10-17T00:00:00Z' - is_private: true - can_email: true - locations: - - San Francisco - - New York - - Miami - phone_numbers: - - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - value: '+1234567890' - phone_number_type: MOBILE - email_addresses: - - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - value: hello@merge.dev - email_address_type: PERSONAL - urls: - - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - value: http://alturl.com/p749b - url_type: BLOG - tags: - - High-Priority - applications: - - 29eb9867-ce2a-403f-b8ce-f2844b89f078 - - b4d08e5c-de00-4d64-a29f-66addac9af99 - - 4ff877d2-fb3e-4a5b-a7a5-168ddf2ffa56 - attachments: - - bea08964-32b4-4a20-8bb4-2612ba09de1d - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /candidates - data: - - Varies by platform - create: - path: /ats/v1/candidates - method: POST - auth: - - tokenAuth: [] - docs: Creates a `Candidate` object with the given values. - source: - openapi: openapi/openapi.yml - request: - name: CandidateEndpointRequest - query-parameters: - is_debug_mode: - type: optional - docs: >- - Whether to include debug fields (such as log file links) in the - response. - run_async: - type: optional - docs: Whether or not third-party updates should be run asynchronously. - body: - properties: - model: root.CandidateRequest - remote_user_id: string - content-type: application/json - response: - docs: '' - type: root.CandidateResponse - status-code: 201 - examples: - - query-parameters: - is_debug_mode: true - run_async: true - headers: - X-Account-Token: X-Account-Token - request: - model: {} - remote_user_id: remote_user_id - response: - body: - model: - id: 521b18c2-4d01-4297-b451-19858d07c133 - remote_id: '21198' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - first_name: Gil - last_name: Feig - company: Columbia Dining App. - title: Software Engineer - remote_created_at: '2021-10-15T00:00:00Z' - remote_updated_at: '2021-10-16T00:00:00Z' - last_interaction_at: '2021-10-17T00:00:00Z' - is_private: true - can_email: true - locations: - - San Francisco - - New York - - Miami - phone_numbers: - - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - value: '+1234567890' - phone_number_type: MOBILE - email_addresses: - - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - value: hello@merge.dev - email_address_type: PERSONAL - urls: - - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - value: http://alturl.com/p749b - url_type: BLOG - tags: - - High-Priority - applications: - - 29eb9867-ce2a-403f-b8ce-f2844b89f078 - - b4d08e5c-de00-4d64-a29f-66addac9af99 - - 4ff877d2-fb3e-4a5b-a7a5-168ddf2ffa56 - attachments: - - bea08964-32b4-4a20-8bb4-2612ba09de1d - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /candidates - data: - - Varies by platform - warnings: - - source: - pointer: pointer - title: Unrecognized Field - detail: An unrecognized field, age, was passed in with request data. - problem_type: UNRECOGNIZED_FIELD - errors: - - source: - pointer: pointer - title: Missing Required Field - detail: custom_fields is a required field on model. - problem_type: MISSING_REQUIRED_FIELD - logs: - - log_id: 99433219-8017-4acd-bb3c-ceb23d663832 - dashboard_view: >- - https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832 - log_summary: - url: www.exampleintegration.com/api/v1/exampleapi - method: POST - status_code: 200 - retrieve: - path: /ats/v1/candidates/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns a `Candidate` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: CandidatesRetrieveRequest - query-parameters: - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - response: - docs: '' - type: root.Candidate - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - expand: applications - include_remote_data: true - include_shell_data: true - headers: - X-Account-Token: X-Account-Token - response: - body: - id: 521b18c2-4d01-4297-b451-19858d07c133 - remote_id: '21198' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - first_name: Gil - last_name: Feig - company: Columbia Dining App. - title: Software Engineer - remote_created_at: '2021-10-15T00:00:00Z' - remote_updated_at: '2021-10-16T00:00:00Z' - last_interaction_at: '2021-10-17T00:00:00Z' - is_private: true - can_email: true - locations: - - San Francisco - - New York - - Miami - phone_numbers: - - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - value: '+1234567890' - phone_number_type: MOBILE - remote_was_deleted: true - email_addresses: - - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - value: hello@merge.dev - email_address_type: PERSONAL - remote_was_deleted: true - urls: - - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - value: http://alturl.com/p749b - url_type: BLOG - remote_was_deleted: true - tags: - - High-Priority - applications: - - 29eb9867-ce2a-403f-b8ce-f2844b89f078 - - b4d08e5c-de00-4d64-a29f-66addac9af99 - - 4ff877d2-fb3e-4a5b-a7a5-168ddf2ffa56 - attachments: - - bea08964-32b4-4a20-8bb4-2612ba09de1d - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /candidates - data: - - Varies by platform - partialUpdate: - path: /ats/v1/candidates/{id} - method: PATCH - auth: - - tokenAuth: [] - docs: Updates a `Candidate` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: PatchedCandidateEndpointRequest - query-parameters: - is_debug_mode: - type: optional - docs: >- - Whether to include debug fields (such as log file links) in the - response. - run_async: - type: optional - docs: Whether or not third-party updates should be run asynchronously. - body: - properties: - model: root.PatchedCandidateRequest - remote_user_id: string - content-type: application/json - response: - docs: '' - type: root.CandidateResponse - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - is_debug_mode: true - run_async: true - headers: - X-Account-Token: X-Account-Token - request: - model: {} - remote_user_id: remote_user_id - response: - body: - model: - id: 521b18c2-4d01-4297-b451-19858d07c133 - remote_id: '21198' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - first_name: Gil - last_name: Feig - company: Columbia Dining App. - title: Software Engineer - remote_created_at: '2021-10-15T00:00:00Z' - remote_updated_at: '2021-10-16T00:00:00Z' - last_interaction_at: '2021-10-17T00:00:00Z' - is_private: true - can_email: true - locations: - - San Francisco - - New York - - Miami - phone_numbers: - - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - value: '+1234567890' - phone_number_type: MOBILE - email_addresses: - - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - value: hello@merge.dev - email_address_type: PERSONAL - urls: - - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - value: http://alturl.com/p749b - url_type: BLOG - tags: - - High-Priority - applications: - - 29eb9867-ce2a-403f-b8ce-f2844b89f078 - - b4d08e5c-de00-4d64-a29f-66addac9af99 - - 4ff877d2-fb3e-4a5b-a7a5-168ddf2ffa56 - attachments: - - bea08964-32b4-4a20-8bb4-2612ba09de1d - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /candidates - data: - - Varies by platform - warnings: - - source: - pointer: pointer - title: Unrecognized Field - detail: An unrecognized field, age, was passed in with request data. - problem_type: UNRECOGNIZED_FIELD - errors: - - source: - pointer: pointer - title: Missing Required Field - detail: custom_fields is a required field on model. - problem_type: MISSING_REQUIRED_FIELD - logs: - - log_id: 99433219-8017-4acd-bb3c-ceb23d663832 - dashboard_view: >- - https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832 - log_summary: - url: www.exampleintegration.com/api/v1/exampleapi - method: POST - status_code: 200 - ignoreCreate: - path: /ats/v1/candidates/ignore/{model_id} - method: POST - auth: - - tokenAuth: [] - docs: >- - Ignores a specific row based on the `model_id` in the url. These records - will have their properties set to null, and will not be updated in - future syncs. The "reason" and "message" fields in the request body will - be stored for audit purposes. - source: - openapi: openapi/openapi.yml - path-parameters: - model_id: string - request: - name: IgnoreCommonModelRequest - body: - properties: - reason: IgnoreCommonModelRequestReason - message: - type: optional - validation: - minLength: 1 - maxLength: 256 - content-type: application/json - examples: - - path-parameters: - model_id: model_id - headers: - X-Account-Token: X-Account-Token - request: - reason: GENERAL_CUSTOMER_REQUEST - metaPatchRetrieve: - path: /ats/v1/candidates/meta/patch/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns metadata for `Candidate` PATCHs. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - response: - docs: '' - type: root.MetaResponse - status-code: 200 - examples: - - path-parameters: - id: id - headers: - X-Account-Token: X-Account-Token - response: - body: - request_schema: - type: object - properties: - model: - type: object - required: - - last_name - - first_name - - merge_categories - - new_york_city_neighborhood - - favorite_tv_shows - - favorite_watch - properties: - email_addresses: - type: array - items: - type: object - properties: - value: - type: string - title: value - email_address_type: - type: string - title: email_address_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: email_addresses - description: Array of email_addresses objects - urls: - type: array - items: - type: object - properties: - value: - type: string - title: value - url_type: - type: string - title: url_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: urls - description: Array of urls objects - first_name: - type: string - title: first_name - description: The first name. - last_name: - type: string - title: last_name - description: The last name. - phone_numbers: - type: array - items: - type: object - properties: - value: - type: string - title: value - phone_number_type: - type: string - title: phone_number_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: phone_numbers - description: Array of phone_numbers objects - tags: - type: array - items: - type: string - format: uuid - title: tags - description: Array of tags names - attachments: - type: array - items: - type: object - properties: - id: - type: string - title: id - file_url: - type: string - title: file_url - file_name: - type: string - title: file_name - attachment_type: - type: string - title: attachment_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: attachments - description: 'Array of attachments objects ' - merge_categories: - type: array - categories: - type: string - enum: - - HRIS - - ATS - - Accounting - - Ticketing - - File Storage - - CRM - - Marketing Automation - enum_information: - - value: HRIS - description: Merge HRIS Category - - value: ATS - description: Merge ATS Category - - value: Accounting - description: Merge Accounting Category - - value: Ticketing - description: Merge Ticketing Category - - value: File Storage - description: Merge File Storage Category - - value: CRM - description: Merge CRM Category - - value: Marketing Automation - description: Merge Marketing Automation Category - title: Merge Categories - description: Array of Merge's Unified API Categories - new_york_city_neighborhood: - type: string - title: Borough - description: One of the 5 Boroughs of New York City - favorite_tv_shows: - type: array - items: - type: string - format: uuid - title: Favorite TV Shows - description: Array of TV Show objects on merge.tv_shows - favorite_watch: - type: string - title: Favorite Watch - description: Favorite watch of all time - remote_field_classes: - key: value - status: - linked_account_status: linked_account_status - can_make_request: true - has_conditional_params: true - has_required_linked_account_params: true - metaPostRetrieve: - path: /ats/v1/candidates/meta/post - method: GET - auth: - - tokenAuth: [] - docs: Returns metadata for `Candidate` POSTs. - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: root.MetaResponse - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - request_schema: - type: object - properties: - model: - type: object - required: - - last_name - - first_name - - merge_categories - - new_york_city_neighborhood - - favorite_tv_shows - - favorite_watch - properties: - email_addresses: - type: array - items: - type: object - properties: - value: - type: string - title: value - email_address_type: - type: string - title: email_address_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: email_addresses - description: Array of email_addresses objects - urls: - type: array - items: - type: object - properties: - value: - type: string - title: value - url_type: - type: string - title: url_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: urls - description: Array of urls objects - first_name: - type: string - title: first_name - description: The first name. - last_name: - type: string - title: last_name - description: The last name. - phone_numbers: - type: array - items: - type: object - properties: - value: - type: string - title: value - phone_number_type: - type: string - title: phone_number_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: phone_numbers - description: Array of phone_numbers objects - tags: - type: array - items: - type: string - format: uuid - title: tags - description: Array of tags names - attachments: - type: array - items: - type: object - properties: - id: - type: string - title: id - file_url: - type: string - title: file_url - file_name: - type: string - title: file_name - attachment_type: - type: string - title: attachment_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: attachments - description: 'Array of attachments objects ' - merge_categories: - type: array - categories: - type: string - enum: - - HRIS - - ATS - - Accounting - - Ticketing - - File Storage - - CRM - - Marketing Automation - enum_information: - - value: HRIS - description: Merge HRIS Category - - value: ATS - description: Merge ATS Category - - value: Accounting - description: Merge Accounting Category - - value: Ticketing - description: Merge Ticketing Category - - value: File Storage - description: Merge File Storage Category - - value: CRM - description: Merge CRM Category - - value: Marketing Automation - description: Merge Marketing Automation Category - title: Merge Categories - description: Array of Merge's Unified API Categories - new_york_city_neighborhood: - type: string - title: Borough - description: One of the 5 Boroughs of New York City - favorite_tv_shows: - type: array - items: - type: string - format: uuid - title: Favorite TV Shows - description: Array of TV Show objects on merge.tv_shows - favorite_watch: - type: string - title: Favorite Watch - description: Favorite watch of all time - remote_field_classes: - key: value - status: - linked_account_status: linked_account_status - can_make_request: true - has_conditional_params: true - has_required_linked_account_params: true - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/ats/deleteAccount.yml b/.mock/definition/ats/deleteAccount.yml deleted file mode 100644 index 9c0d80ec..00000000 --- a/.mock/definition/ats/deleteAccount.yml +++ /dev/null @@ -1,17 +0,0 @@ -service: - auth: false - base-path: '' - endpoints: - delete: - path: /ats/v1/delete-account - method: POST - auth: - - tokenAuth: [] - docs: Delete a linked account. - source: - openapi: openapi/openapi.yml - examples: - - headers: - X-Account-Token: X-Account-Token - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/ats/departments.yml b/.mock/definition/ats/departments.yml deleted file mode 100644 index 7a09ebf7..00000000 --- a/.mock/definition/ats/departments.yml +++ /dev/null @@ -1,154 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /ats/v1/departments - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `Department` objects. - source: - openapi: openapi/openapi.yml - request: - name: DepartmentsListRequest - query-parameters: - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - page_size: - type: optional - docs: Number of results to return per page. - remote_id: - type: optional - docs: The API provider's ID for the given object. - response: - docs: '' - type: root.PaginatedDepartmentList - status-code: 200 - examples: - - query-parameters: - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - include_deleted_data: true - include_remote_data: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - page_size: 1 - remote_id: remote_id - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: 5b3c1341-a20f-4e51-b72c-f3830a16c97b - remote_id: '23456' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Engineering - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /departments - data: - - Varies by platform - retrieve: - path: /ats/v1/departments/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns a `Department` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: DepartmentsRetrieveRequest - query-parameters: - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - response: - docs: '' - type: root.Department - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - include_remote_data: true - include_shell_data: true - headers: - X-Account-Token: X-Account-Token - response: - body: - id: 5b3c1341-a20f-4e51-b72c-f3830a16c97b - remote_id: '23456' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Engineering - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /departments - data: - - Varies by platform - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/ats/eeocs.yml b/.mock/definition/ats/eeocs.yml deleted file mode 100644 index 3359cffc..00000000 --- a/.mock/definition/ats/eeocs.yml +++ /dev/null @@ -1,325 +0,0 @@ -types: - EeocsListRequestRemoteFields: - enum: - - disability_status - - value: disability_status,gender - name: DisabilityStatusGender - - value: disability_status,gender,race - name: DisabilityStatusGenderRace - - value: disability_status,gender,race,veteran_status - name: DisabilityStatusGenderRaceVeteranStatus - - value: disability_status,gender,veteran_status - name: DisabilityStatusGenderVeteranStatus - - value: disability_status,race - name: DisabilityStatusRace - - value: disability_status,race,veteran_status - name: DisabilityStatusRaceVeteranStatus - - value: disability_status,veteran_status - name: DisabilityStatusVeteranStatus - - gender - - value: gender,race - name: GenderRace - - value: gender,race,veteran_status - name: GenderRaceVeteranStatus - - value: gender,veteran_status - name: GenderVeteranStatus - - race - - value: race,veteran_status - name: RaceVeteranStatus - - veteran_status - source: - openapi: openapi/openapi.yml - EeocsListRequestShowEnumOrigins: - enum: - - disability_status - - value: disability_status,gender - name: DisabilityStatusGender - - value: disability_status,gender,race - name: DisabilityStatusGenderRace - - value: disability_status,gender,race,veteran_status - name: DisabilityStatusGenderRaceVeteranStatus - - value: disability_status,gender,veteran_status - name: DisabilityStatusGenderVeteranStatus - - value: disability_status,race - name: DisabilityStatusRace - - value: disability_status,race,veteran_status - name: DisabilityStatusRaceVeteranStatus - - value: disability_status,veteran_status - name: DisabilityStatusVeteranStatus - - gender - - value: gender,race - name: GenderRace - - value: gender,race,veteran_status - name: GenderRaceVeteranStatus - - value: gender,veteran_status - name: GenderVeteranStatus - - race - - value: race,veteran_status - name: RaceVeteranStatus - - veteran_status - source: - openapi: openapi/openapi.yml - EeocsRetrieveRequestRemoteFields: - enum: - - disability_status - - value: disability_status,gender - name: DisabilityStatusGender - - value: disability_status,gender,race - name: DisabilityStatusGenderRace - - value: disability_status,gender,race,veteran_status - name: DisabilityStatusGenderRaceVeteranStatus - - value: disability_status,gender,veteran_status - name: DisabilityStatusGenderVeteranStatus - - value: disability_status,race - name: DisabilityStatusRace - - value: disability_status,race,veteran_status - name: DisabilityStatusRaceVeteranStatus - - value: disability_status,veteran_status - name: DisabilityStatusVeteranStatus - - gender - - value: gender,race - name: GenderRace - - value: gender,race,veteran_status - name: GenderRaceVeteranStatus - - value: gender,veteran_status - name: GenderVeteranStatus - - race - - value: race,veteran_status - name: RaceVeteranStatus - - veteran_status - source: - openapi: openapi/openapi.yml - EeocsRetrieveRequestShowEnumOrigins: - enum: - - disability_status - - value: disability_status,gender - name: DisabilityStatusGender - - value: disability_status,gender,race - name: DisabilityStatusGenderRace - - value: disability_status,gender,race,veteran_status - name: DisabilityStatusGenderRaceVeteranStatus - - value: disability_status,gender,veteran_status - name: DisabilityStatusGenderVeteranStatus - - value: disability_status,race - name: DisabilityStatusRace - - value: disability_status,race,veteran_status - name: DisabilityStatusRaceVeteranStatus - - value: disability_status,veteran_status - name: DisabilityStatusVeteranStatus - - gender - - value: gender,race - name: GenderRace - - value: gender,race,veteran_status - name: GenderRaceVeteranStatus - - value: gender,veteran_status - name: GenderVeteranStatus - - race - - value: race,veteran_status - name: RaceVeteranStatus - - veteran_status - source: - openapi: openapi/openapi.yml -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /ats/v1/eeocs - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `EEOC` objects. - source: - openapi: openapi/openapi.yml - request: - name: EeocsListRequest - query-parameters: - candidate_id: - type: optional - docs: If provided, will only return EEOC info for this candidate. - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - expand: - type: optional> - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - page_size: - type: optional - docs: Number of results to return per page. - remote_fields: - type: optional - docs: Deprecated. Use show_enum_origins. - remote_id: - type: optional - docs: The API provider's ID for the given object. - show_enum_origins: - type: optional - docs: >- - A comma separated list of enum field names for which you'd like - the original values to be returned, instead of Merge's normalized - enum values. [Learn - more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - response: - docs: '' - type: root.PaginatedEeocList - status-code: 200 - examples: - - query-parameters: - candidate_id: candidate_id - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - expand: candidate - include_deleted_data: true - include_remote_data: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - page_size: 1 - remote_fields: disability_status - remote_id: remote_id - show_enum_origins: disability_status - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: f7dd7b4f-237e-4772-8bd4-3246384c6c58 - remote_id: '76' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - candidate: candidate - submitted_at: '2021-10-15T00:00:00Z' - race: AMERICAN_INDIAN_OR_ALASKAN_NATIVE - gender: MALE - veteran_status: I_AM_NOT_A_PROTECTED_VETERAN - disability_status: YES_I_HAVE_A_DISABILITY_OR_PREVIOUSLY_HAD_A_DISABILITY - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /eeoc - data: - - Varies by platform - retrieve: - path: /ats/v1/eeocs/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns an `EEOC` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: EeocsRetrieveRequest - query-parameters: - expand: - type: optional> - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - remote_fields: - type: optional - docs: Deprecated. Use show_enum_origins. - show_enum_origins: - type: optional - docs: >- - A comma separated list of enum field names for which you'd like - the original values to be returned, instead of Merge's normalized - enum values. [Learn - more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - response: - docs: '' - type: root.Eeoc - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - expand: candidate - include_remote_data: true - include_shell_data: true - remote_fields: disability_status - show_enum_origins: disability_status - headers: - X-Account-Token: X-Account-Token - response: - body: - id: f7dd7b4f-237e-4772-8bd4-3246384c6c58 - remote_id: '76' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - candidate: candidate - submitted_at: '2021-10-15T00:00:00Z' - race: AMERICAN_INDIAN_OR_ALASKAN_NATIVE - gender: MALE - veteran_status: I_AM_NOT_A_PROTECTED_VETERAN - disability_status: YES_I_HAVE_A_DISABILITY_OR_PREVIOUSLY_HAD_A_DISABILITY - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /eeoc - data: - - Varies by platform - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/ats/fieldMapping.yml b/.mock/definition/ats/fieldMapping.yml deleted file mode 100644 index 772cee31..00000000 --- a/.mock/definition/ats/fieldMapping.yml +++ /dev/null @@ -1,911 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - field_mappings_retrieve: - path: /ats/v1/field-mappings - method: GET - auth: - - tokenAuth: [] - docs: >- - Get all Field Mappings for this Linked Account. Field Mappings are - mappings between third-party Remote Fields and user defined Merge - fields. [Learn - more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). - source: - openapi: openapi/openapi.yml - request: - name: FieldMappingsRetrieveRequest - query-parameters: - exclude_remote_field_metadata: - type: optional - docs: >- - If `true`, remote fields metadata is excluded from each field - mapping instance (i.e. `remote_fields.remote_key_name` and - `remote_fields.schema` will be null). This will increase the speed - of the request since these fields require some calculations. - response: - docs: '' - type: root.FieldMappingApiInstanceResponse - status-code: 200 - examples: - - query-parameters: - exclude_remote_field_metadata: true - headers: - X-Account-Token: X-Account-Token - response: - body: - Activity: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - Application: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - Attachment: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - Candidate: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - Department: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - EEOC: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - ScheduledInterview: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - Job: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - JobPosting: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - JobInterviewStage: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - Offer: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - Office: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - RejectReason: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - Scorecard: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - Tag: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - RemoteUser: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - field_mappings_create: - path: /ats/v1/field-mappings - method: POST - auth: - - tokenAuth: [] - docs: >- - Create new Field Mappings that will be available after the next - scheduled sync. This will cause the next sync for this Linked Account to - sync **ALL** data from start. - source: - openapi: openapi/openapi.yml - request: - name: CreateFieldMappingRequest - query-parameters: - exclude_remote_field_metadata: - type: optional - docs: >- - If `true`, remote fields metadata is excluded from each field - mapping instance (i.e. `remote_fields.remote_key_name` and - `remote_fields.schema` will be null). This will increase the speed - of the request since these fields require some calculations. - body: - properties: - target_field_name: - type: string - docs: >- - The name of the target field you want this remote field to map - to. - validation: - minLength: 1 - target_field_description: - type: string - docs: >- - The description of the target field you want this remote field - to map to. - validation: - minLength: 1 - remote_field_traversal_path: - docs: >- - The field traversal path of the remote field listed when you hit - the GET /remote-fields endpoint. - type: list - remote_method: - type: string - docs: >- - The method of the remote endpoint where the remote field is - coming from. - validation: - minLength: 1 - remote_url_path: - type: string - docs: >- - The path of the remote endpoint where the remote field is coming - from. - validation: - minLength: 1 - common_model_name: - type: string - docs: >- - The name of the Common Model that the remote field corresponds - to in a given category. - validation: - minLength: 1 - content-type: application/json - response: - docs: '' - type: root.FieldMappingInstanceResponse - status-code: 201 - examples: - - query-parameters: - exclude_remote_field_metadata: true - headers: - X-Account-Token: X-Account-Token - request: - target_field_name: example_target_field_name - target_field_description: this is a example description of the target field - remote_field_traversal_path: - - example_remote_field - remote_method: GET - remote_url_path: /example-url-path - common_model_name: ExampleCommonModel - response: - body: - model: - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - warnings: - - source: - pointer: pointer - title: Unrecognized Field - detail: An unrecognized field, age, was passed in with request data. - problem_type: UNRECOGNIZED_FIELD - errors: - - source: - pointer: pointer - title: Missing Required Field - detail: custom_fields is a required field on model. - problem_type: MISSING_REQUIRED_FIELD - logs: - - log_id: 99433219-8017-4acd-bb3c-ceb23d663832 - dashboard_view: >- - https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832 - log_summary: - url: www.exampleintegration.com/api/v1/exampleapi - method: POST - status_code: 200 - field_mappings_destroy: - path: /ats/v1/field-mappings/{field_mapping_id} - method: DELETE - auth: - - tokenAuth: [] - docs: >- - Deletes Field Mappings for a Linked Account. All data related to this - Field Mapping will be deleted and these changes will be reflected after - the next scheduled sync. This will cause the next sync for this Linked - Account to sync **ALL** data from start. - source: - openapi: openapi/openapi.yml - path-parameters: - field_mapping_id: string - response: - docs: '' - type: root.FieldMappingInstanceResponse - status-code: 204 - examples: - - path-parameters: - field_mapping_id: field_mapping_id - headers: - X-Account-Token: X-Account-Token - response: - body: - model: - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - warnings: - - source: - pointer: pointer - title: Unrecognized Field - detail: An unrecognized field, age, was passed in with request data. - problem_type: UNRECOGNIZED_FIELD - errors: - - source: - pointer: pointer - title: Missing Required Field - detail: custom_fields is a required field on model. - problem_type: MISSING_REQUIRED_FIELD - logs: - - log_id: 99433219-8017-4acd-bb3c-ceb23d663832 - dashboard_view: >- - https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832 - log_summary: - url: www.exampleintegration.com/api/v1/exampleapi - method: POST - status_code: 200 - field_mappings_partial_update: - path: /ats/v1/field-mappings/{field_mapping_id} - method: PATCH - auth: - - tokenAuth: [] - docs: >- - Create or update existing Field Mappings for a Linked Account. Changes - will be reflected after the next scheduled sync. This will cause the - next sync for this Linked Account to sync **ALL** data from start. - source: - openapi: openapi/openapi.yml - path-parameters: - field_mapping_id: string - request: - name: PatchedEditFieldMappingRequest - body: - properties: - remote_field_traversal_path: - type: optional> - docs: >- - The field traversal path of the remote field listed when you hit - the GET /remote-fields endpoint. - remote_method: - type: optional - docs: >- - The method of the remote endpoint where the remote field is - coming from. - validation: - minLength: 1 - remote_url_path: - type: optional - docs: >- - The path of the remote endpoint where the remote field is coming - from. - validation: - minLength: 1 - content-type: application/json - response: - docs: '' - type: root.FieldMappingInstanceResponse - status-code: 200 - examples: - - path-parameters: - field_mapping_id: field_mapping_id - headers: - X-Account-Token: X-Account-Token - request: {} - response: - body: - model: - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - warnings: - - source: - pointer: pointer - title: Unrecognized Field - detail: An unrecognized field, age, was passed in with request data. - problem_type: UNRECOGNIZED_FIELD - errors: - - source: - pointer: pointer - title: Missing Required Field - detail: custom_fields is a required field on model. - problem_type: MISSING_REQUIRED_FIELD - logs: - - log_id: 99433219-8017-4acd-bb3c-ceb23d663832 - dashboard_view: >- - https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832 - log_summary: - url: www.exampleintegration.com/api/v1/exampleapi - method: POST - status_code: 200 - remote_fields_retrieve: - path: /ats/v1/remote-fields - method: GET - auth: - - tokenAuth: [] - docs: >- - Get all remote fields for a Linked Account. Remote fields are - third-party fields that are accessible after initial sync if remote_data - is enabled. You can use remote fields to override existing Merge fields - or map a new Merge field. [Learn - more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). - source: - openapi: openapi/openapi.yml - request: - name: RemoteFieldsRetrieveRequest - query-parameters: - common_models: - type: optional - docs: >- - A comma seperated list of Common Model names. If included, will - only return Remote Fields for those Common Models. - include_example_values: - type: optional - docs: >- - If true, will include example values, where available, for remote - fields in the 3rd party platform. These examples come from active - data from your customers. - response: - docs: '' - type: root.RemoteFieldApiResponse - status-code: 200 - examples: - - query-parameters: - common_models: common_models - include_example_values: include_example_values - headers: - X-Account-Token: X-Account-Token - response: - body: - Activity: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - Application: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - Attachment: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - Candidate: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - Department: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - EEOC: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - ScheduledInterview: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - Job: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - JobPosting: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - JobInterviewStage: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - Offer: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - Office: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - RejectReason: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - Scorecard: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - Tag: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - RemoteUser: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - target_fields_retrieve: - path: /ats/v1/target-fields - method: GET - auth: - - tokenAuth: [] - docs: >- - Get all organization-wide Target Fields, this will not include any - Linked Account specific Target Fields. Organization-wide Target Fields - are additional fields appended to the Merge Common Model for all Linked - Accounts in a category. [Learn - more](https://docs.merge.dev/supplemental-data/field-mappings/target-fields/). - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: root.ExternalTargetFieldApiResponse - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - Activity: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - Application: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - Attachment: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - Candidate: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - Department: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - EEOC: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - ScheduledInterview: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - Job: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - JobPosting: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - JobInterviewStage: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - Offer: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - Office: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - RejectReason: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - Scorecard: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - Tag: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - RemoteUser: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/ats/forceResync.yml b/.mock/definition/ats/forceResync.yml deleted file mode 100644 index 406b93df..00000000 --- a/.mock/definition/ats/forceResync.yml +++ /dev/null @@ -1,39 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - sync_status_resync_create: - path: /ats/v1/sync-status/resync - method: POST - auth: - - tokenAuth: [] - docs: >- - Force re-sync of all models. This endpoint is available for monthly, - quarterly, and highest sync frequency customers on the Professional or - Enterprise plans. Doing so will consume a sync credit for the relevant - linked account. Force re-syncs can also be triggered manually in the - Merge Dashboard and is available for all customers. - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: list - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - - model_name: Candidate - model_id: ats.Candidate - last_sync_start: '2021-03-30T19:44:18Z' - next_sync_start: '2021-03-30T20:44:18Z' - last_sync_result: SYNCING - last_sync_finished: '2021-03-30T19:55:18Z' - status: SYNCING - is_initial_sync: true - selective_sync_configurations_usage: IN_NEXT_SYNC - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/ats/generateKey.yml b/.mock/definition/ats/generateKey.yml deleted file mode 100644 index b1517ad3..00000000 --- a/.mock/definition/ats/generateKey.yml +++ /dev/null @@ -1,39 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - create: - path: /ats/v1/generate-key - method: POST - auth: - - tokenAuth: [] - docs: Create a remote key. - source: - openapi: openapi/openapi.yml - request: - name: GenerateRemoteKeyRequest - body: - properties: - name: - type: string - docs: The name of the remote key - validation: - minLength: 1 - content-type: application/json - response: - docs: '' - type: root.RemoteKey - status-code: 200 - examples: - - headers: - X-Account-Token: '[object Object]' - request: - name: Remote Deployment Key 1 - response: - body: - name: Remote Deployment Key 1 - key: hXY57W0g0WkdRHjCaPvwijK63fwfN-o_Wh7f30SLTq_uPCOLo-WFcA - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/ats/interviews.yml b/.mock/definition/ats/interviews.yml deleted file mode 100644 index 95d002e2..00000000 --- a/.mock/definition/ats/interviews.yml +++ /dev/null @@ -1,561 +0,0 @@ -types: - InterviewsListRequestExpand: - enum: - - application - - value: application,job_interview_stage - name: ApplicationJobInterviewStage - - interviewers - - value: interviewers,application - name: InterviewersApplication - - value: interviewers,application,job_interview_stage - name: InterviewersApplicationJobInterviewStage - - value: interviewers,job_interview_stage - name: InterviewersJobInterviewStage - - value: interviewers,organizer - name: InterviewersOrganizer - - value: interviewers,organizer,application - name: InterviewersOrganizerApplication - - value: interviewers,organizer,application,job_interview_stage - name: InterviewersOrganizerApplicationJobInterviewStage - - value: interviewers,organizer,job_interview_stage - name: InterviewersOrganizerJobInterviewStage - - job_interview_stage - - organizer - - value: organizer,application - name: OrganizerApplication - - value: organizer,application,job_interview_stage - name: OrganizerApplicationJobInterviewStage - - value: organizer,job_interview_stage - name: OrganizerJobInterviewStage - source: - openapi: openapi/openapi.yml - InterviewsRetrieveRequestExpand: - enum: - - application - - value: application,job_interview_stage - name: ApplicationJobInterviewStage - - interviewers - - value: interviewers,application - name: InterviewersApplication - - value: interviewers,application,job_interview_stage - name: InterviewersApplicationJobInterviewStage - - value: interviewers,job_interview_stage - name: InterviewersJobInterviewStage - - value: interviewers,organizer - name: InterviewersOrganizer - - value: interviewers,organizer,application - name: InterviewersOrganizerApplication - - value: interviewers,organizer,application,job_interview_stage - name: InterviewersOrganizerApplicationJobInterviewStage - - value: interviewers,organizer,job_interview_stage - name: InterviewersOrganizerJobInterviewStage - - job_interview_stage - - organizer - - value: organizer,application - name: OrganizerApplication - - value: organizer,application,job_interview_stage - name: OrganizerApplicationJobInterviewStage - - value: organizer,job_interview_stage - name: OrganizerJobInterviewStage - source: - openapi: openapi/openapi.yml -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /ats/v1/interviews - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `ScheduledInterview` objects. - source: - openapi: openapi/openapi.yml - request: - name: InterviewsListRequest - query-parameters: - application_id: - type: optional - docs: If provided, will only return interviews for this application. - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - job_id: - type: optional - docs: If provided, wll only return interviews organized for this job. - job_interview_stage_id: - type: optional - docs: If provided, will only return interviews at this stage. - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - organizer_id: - type: optional - docs: If provided, will only return interviews organized by this user. - page_size: - type: optional - docs: Number of results to return per page. - remote_fields: - type: optional> - docs: Deprecated. Use show_enum_origins. - remote_id: - type: optional - docs: The API provider's ID for the given object. - show_enum_origins: - type: optional> - docs: >- - A comma separated list of enum field names for which you'd like - the original values to be returned, instead of Merge's normalized - enum values. [Learn - more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - response: - docs: '' - type: root.PaginatedScheduledInterviewList - status-code: 200 - examples: - - query-parameters: - application_id: application_id - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - expand: application - include_deleted_data: true - include_remote_data: true - include_shell_data: true - job_id: job_id - job_interview_stage_id: job_interview_stage_id - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - organizer_id: organizer_id - page_size: 1 - remote_fields: status - remote_id: remote_id - show_enum_origins: status - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: b8faf072-98b9-4445-8a9a-6b4950efca19 - remote_id: '3' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - application: application - job_interview_stage: job_interview_stage - organizer: organizer - interviewers: - - f9813dd5-e70b-484c-91d8-00acd6065b07 - - 89a86fcf-d540-4e6b-ac3d-ce07c4ec9b3c - location: Embarcadero Center 2 - start_at: '2021-10-15T00:00:00Z' - end_at: '2021-10-15T02:00:00Z' - remote_created_at: '2021-10-15T00:00:00Z' - remote_updated_at: '2021-10-15T00:00:00Z' - status: SCHEDULED - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /interviews - data: - - Varies by platform - create: - path: /ats/v1/interviews - method: POST - auth: - - tokenAuth: [] - docs: Creates a `ScheduledInterview` object with the given values. - source: - openapi: openapi/openapi.yml - request: - name: ScheduledInterviewEndpointRequest - query-parameters: - is_debug_mode: - type: optional - docs: >- - Whether to include debug fields (such as log file links) in the - response. - run_async: - type: optional - docs: Whether or not third-party updates should be run asynchronously. - body: - properties: - model: root.ScheduledInterviewRequest - remote_user_id: string - content-type: application/json - response: - docs: '' - type: root.ScheduledInterviewResponse - status-code: 201 - examples: - - query-parameters: - is_debug_mode: true - run_async: true - headers: - X-Account-Token: X-Account-Token - request: - model: {} - remote_user_id: remote_user_id - response: - body: - model: - id: b8faf072-98b9-4445-8a9a-6b4950efca19 - remote_id: '3' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - application: application - job_interview_stage: job_interview_stage - organizer: organizer - interviewers: - - f9813dd5-e70b-484c-91d8-00acd6065b07 - - 89a86fcf-d540-4e6b-ac3d-ce07c4ec9b3c - location: Embarcadero Center 2 - start_at: '2021-10-15T00:00:00Z' - end_at: '2021-10-15T02:00:00Z' - remote_created_at: '2021-10-15T00:00:00Z' - remote_updated_at: '2021-10-15T00:00:00Z' - status: SCHEDULED - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /interviews - data: - - Varies by platform - warnings: - - source: - pointer: pointer - title: Unrecognized Field - detail: An unrecognized field, age, was passed in with request data. - problem_type: UNRECOGNIZED_FIELD - errors: - - source: - pointer: pointer - title: Missing Required Field - detail: custom_fields is a required field on model. - problem_type: MISSING_REQUIRED_FIELD - logs: - - log_id: 99433219-8017-4acd-bb3c-ceb23d663832 - dashboard_view: >- - https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832 - log_summary: - url: www.exampleintegration.com/api/v1/exampleapi - method: POST - status_code: 200 - retrieve: - path: /ats/v1/interviews/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns a `ScheduledInterview` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: InterviewsRetrieveRequest - query-parameters: - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - remote_fields: - type: optional> - docs: Deprecated. Use show_enum_origins. - show_enum_origins: - type: optional> - docs: >- - A comma separated list of enum field names for which you'd like - the original values to be returned, instead of Merge's normalized - enum values. [Learn - more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - response: - docs: '' - type: root.ScheduledInterview - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - expand: application - include_remote_data: true - include_shell_data: true - remote_fields: status - show_enum_origins: status - headers: - X-Account-Token: X-Account-Token - response: - body: - id: b8faf072-98b9-4445-8a9a-6b4950efca19 - remote_id: '3' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - application: application - job_interview_stage: job_interview_stage - organizer: organizer - interviewers: - - f9813dd5-e70b-484c-91d8-00acd6065b07 - - 89a86fcf-d540-4e6b-ac3d-ce07c4ec9b3c - location: Embarcadero Center 2 - start_at: '2021-10-15T00:00:00Z' - end_at: '2021-10-15T02:00:00Z' - remote_created_at: '2021-10-15T00:00:00Z' - remote_updated_at: '2021-10-15T00:00:00Z' - status: SCHEDULED - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /interviews - data: - - Varies by platform - metaPostRetrieve: - path: /ats/v1/interviews/meta/post - method: GET - auth: - - tokenAuth: [] - docs: Returns metadata for `ScheduledInterview` POSTs. - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: root.MetaResponse - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - request_schema: - type: object - properties: - model: - type: object - required: - - last_name - - first_name - - merge_categories - - new_york_city_neighborhood - - favorite_tv_shows - - favorite_watch - properties: - email_addresses: - type: array - items: - type: object - properties: - value: - type: string - title: value - email_address_type: - type: string - title: email_address_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: email_addresses - description: Array of email_addresses objects - urls: - type: array - items: - type: object - properties: - value: - type: string - title: value - url_type: - type: string - title: url_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: urls - description: Array of urls objects - first_name: - type: string - title: first_name - description: The first name. - last_name: - type: string - title: last_name - description: The last name. - phone_numbers: - type: array - items: - type: object - properties: - value: - type: string - title: value - phone_number_type: - type: string - title: phone_number_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: phone_numbers - description: Array of phone_numbers objects - tags: - type: array - items: - type: string - format: uuid - title: tags - description: Array of tags names - attachments: - type: array - items: - type: object - properties: - id: - type: string - title: id - file_url: - type: string - title: file_url - file_name: - type: string - title: file_name - attachment_type: - type: string - title: attachment_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: attachments - description: 'Array of attachments objects ' - merge_categories: - type: array - categories: - type: string - enum: - - HRIS - - ATS - - Accounting - - Ticketing - - File Storage - - CRM - - Marketing Automation - enum_information: - - value: HRIS - description: Merge HRIS Category - - value: ATS - description: Merge ATS Category - - value: Accounting - description: Merge Accounting Category - - value: Ticketing - description: Merge Ticketing Category - - value: File Storage - description: Merge File Storage Category - - value: CRM - description: Merge CRM Category - - value: Marketing Automation - description: Merge Marketing Automation Category - title: Merge Categories - description: Array of Merge's Unified API Categories - new_york_city_neighborhood: - type: string - title: Borough - description: One of the 5 Boroughs of New York City - favorite_tv_shows: - type: array - items: - type: string - format: uuid - title: Favorite TV Shows - description: Array of TV Show objects on merge.tv_shows - favorite_watch: - type: string - title: Favorite Watch - description: Favorite watch of all time - remote_field_classes: - key: value - status: - linked_account_status: linked_account_status - can_make_request: true - has_conditional_params: true - has_required_linked_account_params: true - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/ats/issues.yml b/.mock/definition/ats/issues.yml deleted file mode 100644 index fed0895a..00000000 --- a/.mock/definition/ats/issues.yml +++ /dev/null @@ -1,150 +0,0 @@ -types: - IssuesListRequestStatus: - enum: - - ONGOING - - RESOLVED - source: - openapi: openapi/openapi.yml -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /ats/v1/issues - method: GET - auth: - - tokenAuth: [] - docs: Gets all issues for Organization. - source: - openapi: openapi/openapi.yml - request: - name: IssuesListRequest - query-parameters: - account_token: optional - cursor: - type: optional - docs: The pagination cursor value. - end_date: - type: optional - docs: >- - If included, will only include issues whose most recent action - occurred before this time - end_user_organization_name: optional - first_incident_time_after: - type: optional - docs: >- - If provided, will only return issues whose first incident time was - after this datetime. - first_incident_time_before: - type: optional - docs: >- - If provided, will only return issues whose first incident time was - before this datetime. - include_muted: - type: optional - docs: If true, will include muted issues - integration_name: optional - last_incident_time_after: - type: optional - docs: >- - If provided, will only return issues whose last incident time was - after this datetime. - last_incident_time_before: - type: optional - docs: >- - If provided, will only return issues whose last incident time was - before this datetime. - linked_account_id: - type: optional - docs: >- - If provided, will only include issues pertaining to the linked - account passed in. - page_size: - type: optional - docs: Number of results to return per page. - start_date: - type: optional - docs: >- - If included, will only include issues whose most recent action - occurred after this time - status: - type: optional - docs: |- - Status of the issue. Options: ('ONGOING', 'RESOLVED') - - * `ONGOING` - ONGOING - * `RESOLVED` - RESOLVED - response: - docs: '' - type: root.PaginatedIssueList - status-code: 200 - examples: - - query-parameters: - account_token: account_token - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - end_date: end_date - end_user_organization_name: end_user_organization_name - first_incident_time_after: '2024-01-15T09:30:00Z' - first_incident_time_before: '2024-01-15T09:30:00Z' - include_muted: include_muted - integration_name: integration_name - last_incident_time_after: '2024-01-15T09:30:00Z' - last_incident_time_before: '2024-01-15T09:30:00Z' - linked_account_id: linked_account_id - page_size: 1 - start_date: start_date - status: ONGOING - headers: - X-Account-Token: '[object Object]' - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - status: ONGOING - error_description: Missing Permissions - end_user: - key: value - first_incident_time: '2022-12-05T16:19:15Z' - last_incident_time: '2022-12-05T16:19:15Z' - is_muted: true - error_details: - - Missing employee permissions. - - Missing time off permissions. - retrieve: - path: /ats/v1/issues/{id} - method: GET - auth: - - tokenAuth: [] - docs: Get a specific issue. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - response: - docs: '' - type: root.Issue - status-code: 200 - examples: - - path-parameters: - id: id - headers: - X-Account-Token: '[object Object]' - response: - body: - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - status: ONGOING - error_description: Missing Permissions - end_user: - key: value - first_incident_time: '2022-12-05T16:19:15Z' - last_incident_time: '2022-12-05T16:19:15Z' - is_muted: true - error_details: - - Missing employee permissions. - - Missing time off permissions. - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/ats/jobInterviewStages.yml b/.mock/definition/ats/jobInterviewStages.yml deleted file mode 100644 index 37a16498..00000000 --- a/.mock/definition/ats/jobInterviewStages.yml +++ /dev/null @@ -1,174 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /ats/v1/job-interview-stages - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `JobInterviewStage` objects. - source: - openapi: openapi/openapi.yml - request: - name: JobInterviewStagesListRequest - query-parameters: - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - expand: - type: optional> - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - job_id: - type: optional - docs: If provided, will only return interview stages for this job. - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - page_size: - type: optional - docs: Number of results to return per page. - remote_id: - type: optional - docs: The API provider's ID for the given object. - response: - docs: '' - type: root.PaginatedJobInterviewStageList - status-code: 200 - examples: - - query-parameters: - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - expand: job - include_deleted_data: true - include_remote_data: true - include_shell_data: true - job_id: job_id - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - page_size: 1 - remote_id: remote_id - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: f9813dd5-e70b-484c-91d8-00acd6065b07 - remote_id: '876556788' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Phone Screen - job: job - stage_order: 2 - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /interview-stages - data: - - Varies by platform - retrieve: - path: /ats/v1/job-interview-stages/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns a `JobInterviewStage` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: JobInterviewStagesRetrieveRequest - query-parameters: - expand: - type: optional> - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - response: - docs: '' - type: root.JobInterviewStage - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - expand: job - include_remote_data: true - include_shell_data: true - headers: - X-Account-Token: X-Account-Token - response: - body: - id: f9813dd5-e70b-484c-91d8-00acd6065b07 - remote_id: '876556788' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Phone Screen - job: job - stage_order: 2 - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /interview-stages - data: - - Varies by platform - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/ats/jobPostings.yml b/.mock/definition/ats/jobPostings.yml deleted file mode 100644 index 7870d4ab..00000000 --- a/.mock/definition/ats/jobPostings.yml +++ /dev/null @@ -1,216 +0,0 @@ -types: - JobPostingsListRequestStatus: - enum: - - CLOSED - - DRAFT - - INTERNAL - - PENDING - - PUBLISHED - source: - openapi: openapi/openapi.yml -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /ats/v1/job-postings - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `JobPosting` objects. - source: - openapi: openapi/openapi.yml - request: - name: JobPostingsListRequest - query-parameters: - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - expand: - type: optional> - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - page_size: - type: optional - docs: Number of results to return per page. - remote_id: - type: optional - docs: The API provider's ID for the given object. - status: - type: optional - docs: >- - If provided, will only return Job Postings with this status. - Options: ('PUBLISHED', 'CLOSED', 'DRAFT', 'INTERNAL', 'PENDING') - - - * `PUBLISHED` - PUBLISHED - - * `CLOSED` - CLOSED - - * `DRAFT` - DRAFT - - * `INTERNAL` - INTERNAL - - * `PENDING` - PENDING - response: - docs: '' - type: root.PaginatedJobPostingList - status-code: 200 - examples: - - query-parameters: - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - expand: job - include_deleted_data: true - include_remote_data: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - page_size: 1 - remote_id: remote_id - status: CLOSED - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: 156a2bef-57e5-4def-8ed2-7c41bd9a554t - remote_id: '1341324' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - title: Platform - NYC - job_posting_urls: - - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - value: https://merge.dev/careers - url_type: JOB_POSTING - job: job - status: PUBLISHED - content: Apply at https://merge.dev/careers - remote_created_at: '2021-10-15T00:00:00Z' - remote_updated_at: '2021-10-16T00:00:00Z' - is_internal: true - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /positions - data: - - Varies by platform - retrieve: - path: /ats/v1/job-postings/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns a `JobPosting` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: JobPostingsRetrieveRequest - query-parameters: - expand: - type: optional> - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - response: - docs: '' - type: root.JobPosting - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - expand: job - include_remote_data: true - include_shell_data: true - headers: - X-Account-Token: X-Account-Token - response: - body: - id: 156a2bef-57e5-4def-8ed2-7c41bd9a554t - remote_id: '1341324' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - title: Platform - NYC - job_posting_urls: - - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - value: https://merge.dev/careers - url_type: JOB_POSTING - remote_was_deleted: true - job: job - status: PUBLISHED - content: Apply at https://merge.dev/careers - remote_created_at: '2021-10-15T00:00:00Z' - remote_updated_at: '2021-10-16T00:00:00Z' - is_internal: true - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /positions - data: - - Varies by platform - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/ats/jobs.yml b/.mock/definition/ats/jobs.yml deleted file mode 100644 index 82601ff7..00000000 --- a/.mock/definition/ats/jobs.yml +++ /dev/null @@ -1,490 +0,0 @@ -types: - JobsListRequestExpand: - enum: - - departments - - value: departments,hiring_managers - name: DepartmentsHiringManagers - - value: departments,hiring_managers,job_postings - name: DepartmentsHiringManagersJobPostings - - value: departments,hiring_managers,job_postings,recruiters - name: DepartmentsHiringManagersJobPostingsRecruiters - - value: departments,hiring_managers,recruiters - name: DepartmentsHiringManagersRecruiters - - value: departments,job_postings - name: DepartmentsJobPostings - - value: departments,job_postings,recruiters - name: DepartmentsJobPostingsRecruiters - - value: departments,offices - name: DepartmentsOffices - - value: departments,offices,hiring_managers - name: DepartmentsOfficesHiringManagers - - value: departments,offices,hiring_managers,job_postings - name: DepartmentsOfficesHiringManagersJobPostings - - value: departments,offices,hiring_managers,job_postings,recruiters - name: DepartmentsOfficesHiringManagersJobPostingsRecruiters - - value: departments,offices,hiring_managers,recruiters - name: DepartmentsOfficesHiringManagersRecruiters - - value: departments,offices,job_postings - name: DepartmentsOfficesJobPostings - - value: departments,offices,job_postings,recruiters - name: DepartmentsOfficesJobPostingsRecruiters - - value: departments,offices,recruiters - name: DepartmentsOfficesRecruiters - - value: departments,recruiters - name: DepartmentsRecruiters - - hiring_managers - - value: hiring_managers,job_postings - name: HiringManagersJobPostings - - value: hiring_managers,job_postings,recruiters - name: HiringManagersJobPostingsRecruiters - - value: hiring_managers,recruiters - name: HiringManagersRecruiters - - job_postings - - value: job_postings,recruiters - name: JobPostingsRecruiters - - offices - - value: offices,hiring_managers - name: OfficesHiringManagers - - value: offices,hiring_managers,job_postings - name: OfficesHiringManagersJobPostings - - value: offices,hiring_managers,job_postings,recruiters - name: OfficesHiringManagersJobPostingsRecruiters - - value: offices,hiring_managers,recruiters - name: OfficesHiringManagersRecruiters - - value: offices,job_postings - name: OfficesJobPostings - - value: offices,job_postings,recruiters - name: OfficesJobPostingsRecruiters - - value: offices,recruiters - name: OfficesRecruiters - - recruiters - source: - openapi: openapi/openapi.yml - JobsListRequestStatus: - enum: - - ARCHIVED - - CLOSED - - DRAFT - - OPEN - - PENDING - source: - openapi: openapi/openapi.yml - JobsRetrieveRequestExpand: - enum: - - departments - - value: departments,hiring_managers - name: DepartmentsHiringManagers - - value: departments,hiring_managers,job_postings - name: DepartmentsHiringManagersJobPostings - - value: departments,hiring_managers,job_postings,recruiters - name: DepartmentsHiringManagersJobPostingsRecruiters - - value: departments,hiring_managers,recruiters - name: DepartmentsHiringManagersRecruiters - - value: departments,job_postings - name: DepartmentsJobPostings - - value: departments,job_postings,recruiters - name: DepartmentsJobPostingsRecruiters - - value: departments,offices - name: DepartmentsOffices - - value: departments,offices,hiring_managers - name: DepartmentsOfficesHiringManagers - - value: departments,offices,hiring_managers,job_postings - name: DepartmentsOfficesHiringManagersJobPostings - - value: departments,offices,hiring_managers,job_postings,recruiters - name: DepartmentsOfficesHiringManagersJobPostingsRecruiters - - value: departments,offices,hiring_managers,recruiters - name: DepartmentsOfficesHiringManagersRecruiters - - value: departments,offices,job_postings - name: DepartmentsOfficesJobPostings - - value: departments,offices,job_postings,recruiters - name: DepartmentsOfficesJobPostingsRecruiters - - value: departments,offices,recruiters - name: DepartmentsOfficesRecruiters - - value: departments,recruiters - name: DepartmentsRecruiters - - hiring_managers - - value: hiring_managers,job_postings - name: HiringManagersJobPostings - - value: hiring_managers,job_postings,recruiters - name: HiringManagersJobPostingsRecruiters - - value: hiring_managers,recruiters - name: HiringManagersRecruiters - - job_postings - - value: job_postings,recruiters - name: JobPostingsRecruiters - - offices - - value: offices,hiring_managers - name: OfficesHiringManagers - - value: offices,hiring_managers,job_postings - name: OfficesHiringManagersJobPostings - - value: offices,hiring_managers,job_postings,recruiters - name: OfficesHiringManagersJobPostingsRecruiters - - value: offices,hiring_managers,recruiters - name: OfficesHiringManagersRecruiters - - value: offices,job_postings - name: OfficesJobPostings - - value: offices,job_postings,recruiters - name: OfficesJobPostingsRecruiters - - value: offices,recruiters - name: OfficesRecruiters - - recruiters - source: - openapi: openapi/openapi.yml - JobsScreeningQuestionsListRequestExpand: - enum: - - job - - options - - value: options,job - name: OptionsJob - source: - openapi: openapi/openapi.yml -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /ats/v1/jobs - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `Job` objects. - source: - openapi: openapi/openapi.yml - request: - name: JobsListRequest - query-parameters: - code: - type: optional - docs: If provided, will only return jobs with this code. - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - offices: - type: optional - docs: >- - If provided, will only return jobs for this office; multiple - offices can be separated by commas. - page_size: - type: optional - docs: Number of results to return per page. - remote_fields: - type: optional> - docs: Deprecated. Use show_enum_origins. - remote_id: - type: optional - docs: The API provider's ID for the given object. - show_enum_origins: - type: optional> - docs: >- - A comma separated list of enum field names for which you'd like - the original values to be returned, instead of Merge's normalized - enum values. [Learn - more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - status: - type: optional - docs: >- - If provided, will only return jobs with this status. Options: - ('OPEN', 'CLOSED', 'DRAFT', 'ARCHIVED', 'PENDING') - - - * `OPEN` - OPEN - - * `CLOSED` - CLOSED - - * `DRAFT` - DRAFT - - * `ARCHIVED` - ARCHIVED - - * `PENDING` - PENDING - response: - docs: '' - type: root.PaginatedJobList - status-code: 200 - examples: - - query-parameters: - code: code - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - expand: departments - include_deleted_data: true - include_remote_data: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - offices: offices - page_size: 1 - remote_fields: status - remote_id: remote_id - show_enum_origins: status - status: ARCHIVED - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: 022a2bef-57e5-4def-8ed2-7c41bd9a5ed8 - remote_id: '8765432' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Software Engineer (Merge is actually hiring btw) - description: >- - If you're reading this documentation, you might be a good - fit for Merge! - code: C0025 - status: OPEN - type: POSTING - job_postings: - - 2r3c1341-a20f-4e51-b72c-f3830a16c97b - - 543ed912-33ec-444e-a215-8d71cc42fc12 - job_posting_urls: - - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - value: https://merge.dev/careers - url_type: JOB_POSTING - remote_created_at: '2021-10-15T00:00:00Z' - remote_updated_at: '2021-10-16T00:00:00Z' - confidential: true - departments: - - 5b3c1341-a20f-4e51-b72c-f3830a16c97b - - d6e687d6-0c36-48a1-8114-35324b5cb38f - offices: - - 9871b4a9-f5d2-4f3b-a66b-dfedbed42c46 - hiring_managers: - - 787ed912-33ec-444e-a215-8d71cc42fc12 - recruiters: - - 787ed912-33ec-444e-a215-8d71cc42fc12 - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /positions - data: - - Varies by platform - retrieve: - path: /ats/v1/jobs/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns a `Job` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: JobsRetrieveRequest - query-parameters: - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - remote_fields: - type: optional> - docs: Deprecated. Use show_enum_origins. - show_enum_origins: - type: optional> - docs: >- - A comma separated list of enum field names for which you'd like - the original values to be returned, instead of Merge's normalized - enum values. [Learn - more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - response: - docs: '' - type: root.Job - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - expand: departments - include_remote_data: true - include_shell_data: true - remote_fields: status - show_enum_origins: status - headers: - X-Account-Token: X-Account-Token - response: - body: - id: 022a2bef-57e5-4def-8ed2-7c41bd9a5ed8 - remote_id: '8765432' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Software Engineer (Merge is actually hiring btw) - description: >- - If you're reading this documentation, you might be a good fit - for Merge! - code: C0025 - status: OPEN - type: POSTING - job_postings: - - 2r3c1341-a20f-4e51-b72c-f3830a16c97b - - 543ed912-33ec-444e-a215-8d71cc42fc12 - job_posting_urls: - - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - value: https://merge.dev/careers - url_type: JOB_POSTING - remote_was_deleted: true - remote_created_at: '2021-10-15T00:00:00Z' - remote_updated_at: '2021-10-16T00:00:00Z' - confidential: true - departments: - - 5b3c1341-a20f-4e51-b72c-f3830a16c97b - - d6e687d6-0c36-48a1-8114-35324b5cb38f - offices: - - 9871b4a9-f5d2-4f3b-a66b-dfedbed42c46 - hiring_managers: - - 787ed912-33ec-444e-a215-8d71cc42fc12 - recruiters: - - 787ed912-33ec-444e-a215-8d71cc42fc12 - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /positions - data: - - Varies by platform - screeningQuestionsList: - path: /ats/v1/jobs/{job_id}/screening-questions - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `ScreeningQuestion` objects. - source: - openapi: openapi/openapi.yml - path-parameters: - job_id: string - request: - name: JobsScreeningQuestionsListRequest - query-parameters: - cursor: - type: optional - docs: The pagination cursor value. - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - page_size: - type: optional - docs: Number of results to return per page. - response: - docs: '' - type: root.PaginatedScreeningQuestionList - status-code: 200 - examples: - - path-parameters: - job_id: job_id - query-parameters: - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - expand: job - include_deleted_data: true - include_remote_data: true - include_shell_data: true - page_size: 1 - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: 0238cbc6-6040-430a-848e-aaiehfhdbadf4ae - remote_id: '23729392' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - job: job - description: >- - Are you currently authorized to work for any employer in the - country outlined for this role? - title: Work Authorisation - type: DATE - required: true - options: - - remote_id: '19281' - label: I am currently authorised - - remote_id: '38372' - label: I am currently not eligible - remote_was_deleted: true - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/ats/linkToken.yml b/.mock/definition/ats/linkToken.yml deleted file mode 100644 index 41074ef9..00000000 --- a/.mock/definition/ats/linkToken.yml +++ /dev/null @@ -1,155 +0,0 @@ -imports: - root: __package__.yml -types: - EndUserDetailsRequestLanguage: - discriminated: false - docs: >- - The following subset of IETF language tags can be used to configure - localization. - - - * `en` - en - - * `de` - de - union: - - root.LanguageEnum - - string - source: - openapi: openapi/openapi.yml - inline: true -service: - auth: false - base-path: '' - endpoints: - create: - path: /ats/v1/link-token - method: POST - auth: - - tokenAuth: [] - docs: Creates a link token to be used when linking a new end user. - source: - openapi: openapi/openapi.yml - request: - name: EndUserDetailsRequest - body: - properties: - end_user_email_address: - type: string - docs: >- - Your end user's email address. This is purely for identification - purposes - setting this value will not cause any emails to be - sent. - validation: - minLength: 1 - maxLength: 100 - end_user_organization_name: - type: string - docs: Your end user's organization. - validation: - minLength: 1 - maxLength: 100 - end_user_origin_id: - type: string - docs: >- - This unique identifier typically represents the ID for your end - user in your product's database. This value must be distinct - from other Linked Accounts' unique identifiers. - validation: - minLength: 1 - maxLength: 100 - categories: - docs: The integration categories to show in Merge Link. - type: list - integration: - type: optional - docs: >- - The slug of a specific pre-selected integration for this linking - flow token. For examples of slugs, see - https://docs.merge.dev/guides/merge-link/single-integration/. - validation: - minLength: 1 - link_expiry_mins: - type: optional - docs: >- - An integer number of minutes between [30, 720 or 10080 if for a - Magic Link URL] for how long this token is valid. Defaults to - 30. - default: 30 - validation: - min: 30 - max: 10080 - should_create_magic_link_url: - type: optional - docs: >- - Whether to generate a Magic Link URL. Defaults to false. For - more information on Magic Link, see - https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. - default: false - hide_admin_magic_link: - type: optional - docs: >- - Whether to generate a Magic Link URL on the Admin Needed screen - during the linking flow. Defaults to false. For more information - on Magic Link, see - https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. - default: false - common_models: - type: optional> - docs: >- - An array of objects to specify the models and fields that will - be disabled for a given Linked Account. Each object uses - model_id, enabled_actions, and disabled_fields to specify the - model, method, and fields that are scoped for a given Linked - Account. - category_common_model_scopes: - type: >- - optional>>> - docs: >- - When creating a Link Token, you can set permissions for Common - Models that will apply to the account that is going to be - linked. Any model or field not specified in link token payload - will default to existing settings. - language: - type: optional - docs: >- - The following subset of IETF language tags can be used to - configure localization. - - - * `en` - en - - * `de` - de - are_syncs_disabled: - type: optional - docs: >- - The boolean that indicates whether initial, periodic, and force - syncs will be disabled. - default: false - integration_specific_config: - type: optional> - docs: >- - A JSON object containing integration-specific configuration - options. - content-type: application/json - response: - docs: '' - type: root.LinkToken - status-code: 200 - examples: - - headers: - X-Account-Token: '[object Object]' - request: - end_user_email_address: example@gmail.com - end_user_organization_name: Test Organization - end_user_origin_id: '12345' - categories: - - hris - - ats - response: - body: - link_token: necdP7FtdASl1fQwm62be2_dM4wBG8_GactqoUV0 - integration_name: Lever - magic_link_url: https://link.merge.dev/asdfjkl12345jsndfgi2i83n - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/ats/linkedAccounts.yml b/.mock/definition/ats/linkedAccounts.yml deleted file mode 100644 index 3d4de11c..00000000 --- a/.mock/definition/ats/linkedAccounts.yml +++ /dev/null @@ -1,167 +0,0 @@ -types: - LinkedAccountsListRequestCategory: - enum: - - accounting - - ats - - crm - - filestorage - - hris - - mktg - - ticketing - source: - openapi: openapi/openapi.yml -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /ats/v1/linked-accounts - method: GET - auth: - - tokenAuth: [] - docs: List linked accounts for your organization. - source: - openapi: openapi/openapi.yml - request: - name: LinkedAccountsListRequest - query-parameters: - category: - type: optional - docs: >- - Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, - `mktg`, `ticketing` - - - * `hris` - hris - - * `ats` - ats - - * `accounting` - accounting - - * `ticketing` - ticketing - - * `crm` - crm - - * `mktg` - mktg - - * `filestorage` - filestorage - cursor: - type: optional - docs: The pagination cursor value. - end_user_email_address: - type: optional - docs: >- - If provided, will only return linked accounts associated with the - given email address. - end_user_organization_name: - type: optional - docs: >- - If provided, will only return linked accounts associated with the - given organization name. - end_user_origin_id: - type: optional - docs: >- - If provided, will only return linked accounts associated with the - given origin ID. - end_user_origin_ids: - type: optional - docs: >- - Comma-separated list of EndUser origin IDs, making it possible to - specify multiple EndUsers at once. - id: - type: optional - validation: - format: uuid - ids: - type: optional - docs: >- - Comma-separated list of LinkedAccount IDs, making it possible to - specify multiple LinkedAccounts at once. - include_duplicates: - type: optional - docs: >- - If `true`, will include complete production duplicates of the - account specified by the `id` query parameter in the response. - `id` must be for a complete production linked account. - integration_name: - type: optional - docs: >- - If provided, will only return linked accounts associated with the - given integration name. - is_test_account: - type: optional - docs: >- - If included, will only include test linked accounts. If not - included, will only include non-test linked accounts. - page_size: - type: optional - docs: Number of results to return per page. - status: - type: optional - docs: >- - Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, - `RELINK_NEEDED` - response: - docs: '' - type: root.PaginatedAccountDetailsAndActionsList - status-code: 200 - examples: - - query-parameters: - category: accounting - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - end_user_email_address: end_user_email_address - end_user_organization_name: end_user_organization_name - end_user_origin_id: end_user_origin_id - end_user_origin_ids: end_user_origin_ids - id: id - ids: ids - include_duplicates: true - integration_name: integration_name - is_test_account: is_test_account - page_size: 1 - status: status - headers: - X-Account-Token: '[object Object]' - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: e59b1821-f85c-4e28-a6b3-1804156f3563 - category: hris - status: COMPLETE - status_detail: Invalid login credentials - end_user_origin_id: 3ac95cde-6c7f-4eef-afec-be710b42308d - end_user_organization_name: Foo Bar, LLC - end_user_email_address: hradmin@foobar.dev - subdomain: foobar - webhook_listener_url: >- - https://api.merge.dev/api/integrations/webhook-listener/7fc3mee0UW8ecV4 - is_duplicate: true - integration: - name: name - categories: - - hris - color: color - slug: slug - passthrough_available: true - available_model_operations: - - model_name: Candidate - available_operations: - - FETCH - - CREATE - required_post_parameters: - - remote_user_id - supported_fields: - - first_name - - last_name - - company - - title - account_type: PRODUCTION - completed_at: '2024-08-26T20:11:19Z' - integration_specific_fields: - integration_specific_field: Varies by platform - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/ats/offers.yml b/.mock/definition/ats/offers.yml deleted file mode 100644 index ff7f228d..00000000 --- a/.mock/definition/ats/offers.yml +++ /dev/null @@ -1,227 +0,0 @@ -types: - OffersListRequestExpand: - enum: - - application - - value: application,creator - name: ApplicationCreator - - creator - source: - openapi: openapi/openapi.yml - OffersRetrieveRequestExpand: - enum: - - application - - value: application,creator - name: ApplicationCreator - - creator - source: - openapi: openapi/openapi.yml -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /ats/v1/offers - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `Offer` objects. - source: - openapi: openapi/openapi.yml - request: - name: OffersListRequest - query-parameters: - application_id: - type: optional - docs: If provided, will only return offers for this application. - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - creator_id: - type: optional - docs: If provided, will only return offers created by this user. - cursor: - type: optional - docs: The pagination cursor value. - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - page_size: - type: optional - docs: Number of results to return per page. - remote_fields: - type: optional> - docs: Deprecated. Use show_enum_origins. - remote_id: - type: optional - docs: The API provider's ID for the given object. - show_enum_origins: - type: optional> - docs: >- - A comma separated list of enum field names for which you'd like - the original values to be returned, instead of Merge's normalized - enum values. [Learn - more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - response: - docs: '' - type: root.PaginatedOfferList - status-code: 200 - examples: - - query-parameters: - application_id: application_id - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - creator_id: creator_id - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - expand: application - include_deleted_data: true - include_remote_data: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - page_size: 1 - remote_fields: status - remote_id: remote_id - show_enum_origins: status - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: dd85625c-6a59-446f-a317-6de64d83bae7 - remote_id: '9876' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - application: application - creator: creator - remote_created_at: '2021-10-15T00:00:00Z' - closed_at: '2021-10-16T00:00:00Z' - sent_at: '2021-10-15T00:00:00Z' - start_date: '2021-11-15T00:00:00Z' - status: DRAFT - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /offers - data: - - Varies by platform - retrieve: - path: /ats/v1/offers/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns an `Offer` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: OffersRetrieveRequest - query-parameters: - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - remote_fields: - type: optional> - docs: Deprecated. Use show_enum_origins. - show_enum_origins: - type: optional> - docs: >- - A comma separated list of enum field names for which you'd like - the original values to be returned, instead of Merge's normalized - enum values. [Learn - more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - response: - docs: '' - type: root.Offer - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - expand: application - include_remote_data: true - include_shell_data: true - remote_fields: status - show_enum_origins: status - headers: - X-Account-Token: X-Account-Token - response: - body: - id: dd85625c-6a59-446f-a317-6de64d83bae7 - remote_id: '9876' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - application: application - creator: creator - remote_created_at: '2021-10-15T00:00:00Z' - closed_at: '2021-10-16T00:00:00Z' - sent_at: '2021-10-15T00:00:00Z' - start_date: '2021-11-15T00:00:00Z' - status: DRAFT - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /offers - data: - - Varies by platform - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/ats/offices.yml b/.mock/definition/ats/offices.yml deleted file mode 100644 index fd1815b8..00000000 --- a/.mock/definition/ats/offices.yml +++ /dev/null @@ -1,156 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /ats/v1/offices - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `Office` objects. - source: - openapi: openapi/openapi.yml - request: - name: OfficesListRequest - query-parameters: - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - page_size: - type: optional - docs: Number of results to return per page. - remote_id: - type: optional - docs: The API provider's ID for the given object. - response: - docs: '' - type: root.PaginatedOfficeList - status-code: 200 - examples: - - query-parameters: - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - include_deleted_data: true - include_remote_data: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - page_size: 1 - remote_id: remote_id - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: 9871b4a9-f5d2-4f3b-a66b-dfedbed42c46 - remote_id: '876556788' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: SF Office - location: Embarcadero Center 2 - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /locations - data: - - Varies by platform - retrieve: - path: /ats/v1/offices/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns an `Office` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: OfficesRetrieveRequest - query-parameters: - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - response: - docs: '' - type: root.Office - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - include_remote_data: true - include_shell_data: true - headers: - X-Account-Token: X-Account-Token - response: - body: - id: 9871b4a9-f5d2-4f3b-a66b-dfedbed42c46 - remote_id: '876556788' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: SF Office - location: Embarcadero Center 2 - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /locations - data: - - Varies by platform - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/ats/passthrough.yml b/.mock/definition/ats/passthrough.yml deleted file mode 100644 index 4a196e46..00000000 --- a/.mock/definition/ats/passthrough.yml +++ /dev/null @@ -1,46 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - create: - path: /ats/v1/passthrough - method: POST - auth: - - tokenAuth: [] - docs: Pull data from an endpoint not currently supported by Merge. - source: - openapi: openapi/openapi.yml - request: - body: root.DataPassthroughRequest - content-type: application/json - response: - docs: '' - type: root.RemoteResponse - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - request: - method: GET - path: /scooters - response: - body: - method: GET - path: /scooters - status: 200 - response: - scooters: - - company: Lime - model: Gen 2.5 - - company: Bird - model: Bird Zero - response_headers: - X-Page-Token: value - response_type: JSON - headers: - EXTRA-HEADER: value - Authorization: - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/ats/regenerateKey.yml b/.mock/definition/ats/regenerateKey.yml deleted file mode 100644 index a69ee1fb..00000000 --- a/.mock/definition/ats/regenerateKey.yml +++ /dev/null @@ -1,39 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - create: - path: /ats/v1/regenerate-key - method: POST - auth: - - tokenAuth: [] - docs: Exchange remote keys. - source: - openapi: openapi/openapi.yml - request: - name: RemoteKeyForRegenerationRequest - body: - properties: - name: - type: string - docs: The name of the remote key - validation: - minLength: 1 - content-type: application/json - response: - docs: '' - type: root.RemoteKey - status-code: 200 - examples: - - headers: - X-Account-Token: '[object Object]' - request: - name: Remote Deployment Key 1 - response: - body: - name: Remote Deployment Key 1 - key: hXY57W0g0WkdRHjCaPvwijK63fwfN-o_Wh7f30SLTq_uPCOLo-WFcA - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/ats/rejectReasons.yml b/.mock/definition/ats/rejectReasons.yml deleted file mode 100644 index 38a95e61..00000000 --- a/.mock/definition/ats/rejectReasons.yml +++ /dev/null @@ -1,154 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /ats/v1/reject-reasons - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `RejectReason` objects. - source: - openapi: openapi/openapi.yml - request: - name: RejectReasonsListRequest - query-parameters: - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - page_size: - type: optional - docs: Number of results to return per page. - remote_id: - type: optional - docs: The API provider's ID for the given object. - response: - docs: '' - type: root.PaginatedRejectReasonList - status-code: 200 - examples: - - query-parameters: - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - include_deleted_data: true - include_remote_data: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - page_size: 1 - remote_id: remote_id - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: 8be99a4a-f8d4-4339-bf1e-30eac970e217 - remote_id: '876556788' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Not passionate enough about APIs. - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /rejection-reasons - data: - - Varies by platform - retrieve: - path: /ats/v1/reject-reasons/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns a `RejectReason` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: RejectReasonsRetrieveRequest - query-parameters: - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - response: - docs: '' - type: root.RejectReason - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - include_remote_data: true - include_shell_data: true - headers: - X-Account-Token: X-Account-Token - response: - body: - id: 8be99a4a-f8d4-4339-bf1e-30eac970e217 - remote_id: '876556788' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Not passionate enough about APIs. - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /rejection-reasons - data: - - Varies by platform - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/ats/scopes.yml b/.mock/definition/ats/scopes.yml deleted file mode 100644 index 57249fbd..00000000 --- a/.mock/definition/ats/scopes.yml +++ /dev/null @@ -1,167 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - default_scopes_retrieve: - path: /ats/v1/default-scopes - method: GET - auth: - - tokenAuth: [] - docs: >- - Get the default permissions for Merge Common Models and fields across - all Linked Accounts of a given category. [Learn - more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: root.CommonModelScopeApi - status-code: 200 - examples: - - headers: - X-Account-Token: '[object Object]' - response: - body: - common_models: - - model_name: Employee - model_permissions: - READ: - is_enabled: true - WRITE: - is_enabled: false - field_permissions: - enabled_fields: - - avatar - - created_at - - custom_fields - - date_of_birth - - first_name - - gender - - remote_created_at - - remote_data - disabled_fields: - - company - - employments - - groups - - home_location - - manager - - work_location - linked_account_scopes_retrieve: - path: /ats/v1/linked-account-scopes - method: GET - auth: - - tokenAuth: [] - docs: >- - Get all available permissions for Merge Common Models and fields for a - single Linked Account. [Learn - more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: root.CommonModelScopeApi - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - common_models: - - model_name: Employee - model_permissions: - READ: - is_enabled: true - WRITE: - is_enabled: false - field_permissions: - enabled_fields: - - avatar - - created_at - - custom_fields - - date_of_birth - - first_name - - gender - - remote_created_at - - remote_data - disabled_fields: - - company - - employments - - groups - - home_location - - manager - - work_location - linked_account_scopes_create: - path: /ats/v1/linked-account-scopes - method: POST - auth: - - tokenAuth: [] - docs: >- - Update permissions for any Common Model or field for a single Linked - Account. Any Scopes not set in this POST request will inherit the - default Scopes. [Learn - more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes) - source: - openapi: openapi/openapi.yml - request: - name: LinkedAccountCommonModelScopeDeserializerRequest - body: - properties: - common_models: - docs: The common models you want to update the scopes for - type: list - content-type: application/json - response: - docs: '' - type: root.CommonModelScopeApi - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - request: - common_models: - - model_name: Employee - model_permissions: - READ: - is_enabled: true - WRITE: - is_enabled: false - field_permissions: - enabled_fields: - - avatar - - home_location - disabled_fields: - - work_location - - model_name: Benefit - model_permissions: - WRITE: - is_enabled: false - response: - body: - common_models: - - model_name: Employee - model_permissions: - READ: - is_enabled: true - WRITE: - is_enabled: false - field_permissions: - enabled_fields: - - avatar - - created_at - - custom_fields - - date_of_birth - - first_name - - gender - - remote_created_at - - remote_data - disabled_fields: - - company - - employments - - groups - - home_location - - manager - - work_location - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/ats/scorecards.yml b/.mock/definition/ats/scorecards.yml deleted file mode 100644 index 1d2753eb..00000000 --- a/.mock/definition/ats/scorecards.yml +++ /dev/null @@ -1,243 +0,0 @@ -types: - ScorecardsListRequestExpand: - enum: - - application - - value: application,interview - name: ApplicationInterview - - value: application,interview,interviewer - name: ApplicationInterviewInterviewer - - value: application,interviewer - name: ApplicationInterviewer - - interview - - value: interview,interviewer - name: InterviewInterviewer - - interviewer - source: - openapi: openapi/openapi.yml - ScorecardsRetrieveRequestExpand: - enum: - - application - - value: application,interview - name: ApplicationInterview - - value: application,interview,interviewer - name: ApplicationInterviewInterviewer - - value: application,interviewer - name: ApplicationInterviewer - - interview - - value: interview,interviewer - name: InterviewInterviewer - - interviewer - source: - openapi: openapi/openapi.yml -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /ats/v1/scorecards - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `Scorecard` objects. - source: - openapi: openapi/openapi.yml - request: - name: ScorecardsListRequest - query-parameters: - application_id: - type: optional - docs: If provided, will only return scorecards for this application. - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - interview_id: - type: optional - docs: If provided, will only return scorecards for this interview. - interviewer_id: - type: optional - docs: If provided, will only return scorecards for this interviewer. - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - page_size: - type: optional - docs: Number of results to return per page. - remote_fields: - type: optional> - docs: Deprecated. Use show_enum_origins. - remote_id: - type: optional - docs: The API provider's ID for the given object. - show_enum_origins: - type: optional> - docs: >- - A comma separated list of enum field names for which you'd like - the original values to be returned, instead of Merge's normalized - enum values. [Learn - more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - response: - docs: '' - type: root.PaginatedScorecardList - status-code: 200 - examples: - - query-parameters: - application_id: application_id - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - expand: application - include_deleted_data: true - include_remote_data: true - include_shell_data: true - interview_id: interview_id - interviewer_id: interviewer_id - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - page_size: 1 - remote_fields: overall_recommendation - remote_id: remote_id - show_enum_origins: overall_recommendation - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: 3eab2f17-eeb1-450d-97f0-029d8be1e06f - remote_id: '22234' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - application: application - interview: interview - interviewer: interviewer - remote_created_at: '2021-10-15T00:00:00Z' - submitted_at: '2021-10-15T00:00:00Z' - overall_recommendation: DEFINITELY_NO - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /ratings - data: - - Varies by platform - retrieve: - path: /ats/v1/scorecards/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns a `Scorecard` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: ScorecardsRetrieveRequest - query-parameters: - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - remote_fields: - type: optional> - docs: Deprecated. Use show_enum_origins. - show_enum_origins: - type: optional> - docs: >- - A comma separated list of enum field names for which you'd like - the original values to be returned, instead of Merge's normalized - enum values. [Learn - more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - response: - docs: '' - type: root.Scorecard - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - expand: application - include_remote_data: true - include_shell_data: true - remote_fields: overall_recommendation - show_enum_origins: overall_recommendation - headers: - X-Account-Token: X-Account-Token - response: - body: - id: 3eab2f17-eeb1-450d-97f0-029d8be1e06f - remote_id: '22234' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - application: application - interview: interview - interviewer: interviewer - remote_created_at: '2021-10-15T00:00:00Z' - submitted_at: '2021-10-15T00:00:00Z' - overall_recommendation: DEFINITELY_NO - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /ratings - data: - - Varies by platform - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/ats/syncStatus.yml b/.mock/definition/ats/syncStatus.yml deleted file mode 100644 index 3f953418..00000000 --- a/.mock/definition/ats/syncStatus.yml +++ /dev/null @@ -1,60 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /ats/v1/sync-status - method: GET - auth: - - tokenAuth: [] - docs: >- - Get sync status for the current sync and the most recently finished - sync. `last_sync_start` represents the most recent time any sync began. - `last_sync_finished` represents the most recent time any sync completed. - These timestamps may correspond to different sync instances which may - result in a sync start time being later than a separate sync completed - time. To ensure you are retrieving the latest available data reference - the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. - Possible values for `status` and `last_sync_result` are `DISABLED`, - `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more - about sync status in our [Help - Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). - source: - openapi: openapi/openapi.yml - request: - name: SyncStatusListRequest - query-parameters: - cursor: - type: optional - docs: The pagination cursor value. - page_size: - type: optional - docs: Number of results to return per page. - response: - docs: '' - type: root.PaginatedSyncStatusList - status-code: 200 - examples: - - query-parameters: - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - page_size: 1 - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - model_name: Candidate - model_id: ats.Candidate - last_sync_start: '2021-03-30T19:44:18Z' - next_sync_start: '2021-03-30T20:44:18Z' - last_sync_result: SYNCING - last_sync_finished: '2021-03-30T19:55:18Z' - status: SYNCING - is_initial_sync: true - selective_sync_configurations_usage: IN_NEXT_SYNC - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/ats/tags.yml b/.mock/definition/ats/tags.yml deleted file mode 100644 index c40208f8..00000000 --- a/.mock/definition/ats/tags.yml +++ /dev/null @@ -1,101 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /ats/v1/tags - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `Tag` objects. - source: - openapi: openapi/openapi.yml - request: - name: TagsListRequest - query-parameters: - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - page_size: - type: optional - docs: Number of results to return per page. - remote_id: - type: optional - docs: The API provider's ID for the given object. - response: - docs: '' - type: root.PaginatedTagList - status-code: 200 - examples: - - query-parameters: - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - include_deleted_data: true - include_remote_data: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - page_size: 1 - remote_id: remote_id - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - remote_id: '4567' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: High-Priority - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /tags - data: - - Varies by platform - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/ats/users.yml b/.mock/definition/ats/users.yml deleted file mode 100644 index 3e7e6662..00000000 --- a/.mock/definition/ats/users.yml +++ /dev/null @@ -1,196 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /ats/v1/users - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `RemoteUser` objects. - source: - openapi: openapi/openapi.yml - request: - name: UsersListRequest - query-parameters: - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - email: - type: optional - docs: >- - If provided, will only return remote users with the given email - address - validation: - format: email - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - page_size: - type: optional - docs: Number of results to return per page. - remote_fields: - type: optional> - docs: Deprecated. Use show_enum_origins. - remote_id: - type: optional - docs: The API provider's ID for the given object. - show_enum_origins: - type: optional> - docs: >- - A comma separated list of enum field names for which you'd like - the original values to be returned, instead of Merge's normalized - enum values. [Learn - more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - response: - docs: '' - type: root.PaginatedRemoteUserList - status-code: 200 - examples: - - query-parameters: - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - email: email - include_deleted_data: true - include_remote_data: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - page_size: 1 - remote_fields: access_role - remote_id: remote_id - show_enum_origins: access_role - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: b82302de-852e-4e60-b050-edf9da3b7c02 - remote_id: '344321' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - first_name: Shensi - last_name: Ding - email: hello@merge.dev - disabled: true - remote_created_at: '2020-11-10T00:00:00Z' - access_role: SUPER_ADMIN - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /users - data: - - Varies by platform - retrieve: - path: /ats/v1/users/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns a `RemoteUser` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: UsersRetrieveRequest - query-parameters: - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - remote_fields: - type: optional> - docs: Deprecated. Use show_enum_origins. - show_enum_origins: - type: optional> - docs: >- - A comma separated list of enum field names for which you'd like - the original values to be returned, instead of Merge's normalized - enum values. [Learn - more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - response: - docs: '' - type: root.RemoteUser - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - include_remote_data: true - include_shell_data: true - remote_fields: access_role - show_enum_origins: access_role - headers: - X-Account-Token: X-Account-Token - response: - body: - id: b82302de-852e-4e60-b050-edf9da3b7c02 - remote_id: '344321' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - first_name: Shensi - last_name: Ding - email: hello@merge.dev - disabled: true - remote_created_at: '2020-11-10T00:00:00Z' - access_role: SUPER_ADMIN - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /users - data: - - Varies by platform - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/ats/webhookReceivers.yml b/.mock/definition/ats/webhookReceivers.yml deleted file mode 100644 index efaac1ef..00000000 --- a/.mock/definition/ats/webhookReceivers.yml +++ /dev/null @@ -1,65 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /ats/v1/webhook-receivers - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `WebhookReceiver` objects. - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: list - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - - event: event - is_active: true - key: key - create: - path: /ats/v1/webhook-receivers - method: POST - auth: - - tokenAuth: [] - docs: Creates a `WebhookReceiver` object with the given values. - source: - openapi: openapi/openapi.yml - request: - name: WebhookReceiverRequest - body: - properties: - event: - type: string - validation: - minLength: 1 - is_active: boolean - key: - type: optional - validation: - minLength: 1 - content-type: application/json - response: - docs: '' - type: root.WebhookReceiver - status-code: 201 - examples: - - headers: - X-Account-Token: X-Account-Token - request: - event: event - is_active: true - response: - body: - event: event - is_active: true - key: key - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/chat/__package__.yml b/.mock/definition/chat/__package__.yml deleted file mode 100644 index e0d72bf5..00000000 --- a/.mock/definition/chat/__package__.yml +++ /dev/null @@ -1,1832 +0,0 @@ -types: - AccountDetailsCategory: - discriminated: false - union: - - CategoryEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - AccountDetails: - properties: - id: - type: optional - validation: - format: uuid - access: read-only - integration: - type: optional - access: read-only - integration_slug: - type: optional - access: read-only - category: optional - end_user_origin_id: - type: optional - access: read-only - end_user_organization_name: - type: optional - access: read-only - end_user_email_address: - type: optional - validation: - format: email - access: read-only - status: - type: optional - access: read-only - webhook_listener_url: - type: optional - validation: - format: uri - access: read-only - is_duplicate: - type: optional - docs: >- - Whether a Production Linked Account's credentials match another - existing Production Linked Account. This field is `null` for Test - Linked Accounts, incomplete Production Linked Accounts, and ignored - duplicate Production Linked Account sets. - access: read-only - account_type: - type: optional - access: read-only - completed_at: - type: optional - docs: The time at which account completes the linking flow. - source: - openapi: openapi/openapi.yml - AccountDetailsAndActionsCategory: - discriminated: false - union: - - CategoryEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - AccountDetailsAndActionsStatus: - discriminated: false - union: - - AccountDetailsAndActionsStatusEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - AccountDetailsAndActions: - docs: >- - # The LinkedAccount Object - - ### Description - - The `LinkedAccount` object is used to represent an end user's link with a - specific integration. - - - ### Usage Example - - View a list of your organization's `LinkedAccount` objects. - properties: - id: string - category: optional - status: AccountDetailsAndActionsStatus - status_detail: optional - end_user_origin_id: optional - end_user_organization_name: string - end_user_email_address: string - subdomain: - type: optional - docs: The tenant or domain the customer has provided access to. - webhook_listener_url: string - is_duplicate: - type: optional - docs: >- - Whether a Production Linked Account's credentials match another - existing Production Linked Account. This field is `null` for Test - Linked Accounts, incomplete Production Linked Accounts, and ignored - duplicate Production Linked Account sets. - integration: optional - account_type: string - completed_at: datetime - integration_specific_fields: optional> - source: - openapi: openapi/openapi.yml - AccountDetailsAndActionsIntegration: - properties: - name: string - categories: list - image: optional - square_image: optional - color: string - slug: string - passthrough_available: boolean - available_model_operations: optional> - source: - openapi: openapi/openapi.yml - AccountDetailsAndActionsStatusEnum: - enum: - - COMPLETE - - INCOMPLETE - - RELINK_NEEDED - - IDLE - docs: |- - * `COMPLETE` - COMPLETE - * `INCOMPLETE` - INCOMPLETE - * `RELINK_NEEDED` - RELINK_NEEDED - * `IDLE` - IDLE - source: - openapi: openapi/openapi.yml - AccountIntegration: - properties: - name: - type: string - docs: Company name. - abbreviated_name: - type: optional - docs: >- - Optional. This shortened name appears in places with limited space, - usually in conjunction with the platform's logo (e.g., Merge Link - menu).

Example: Workforce Now (in lieu of ADP Workforce - Now), SuccessFactors (in lieu of SAP SuccessFactors) - categories: - type: optional> - docs: >- - Category or categories this integration belongs to. Multiple - categories should be comma separated, i.e. [ats, hris]. - access: read-only - image: - type: optional - docs: Company logo in rectangular shape. - validation: - format: uri - square_image: - type: optional - docs: Company logo in square shape. - validation: - format: uri - color: - type: optional - docs: >- - The color of this integration used for buttons and text throughout the - app and landing pages. Choose a darker, saturated color. - validation: - pattern: ^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$ - maxLength: 18 - slug: - type: optional - access: read-only - api_endpoints_to_documentation_urls: - type: optional> - docs: >- - Mapping of API endpoints to documentation urls for support. Example: - {'GET': [['/common-model-scopes', - 'https://docs.merge.dev/accounting/common-model-scopes/#common_model_scopes_retrieve'],['/common-model-actions', - 'https://docs.merge.dev/accounting/common-model-actions/#common_model_actions_retrieve']], - 'POST': []} - webhook_setup_guide_url: - type: optional - docs: >- - Setup guide URL for third party webhook creation. Exposed in Merge - Docs. - category_beta_status: - type: optional> - docs: Category or categories this integration is in beta status for. - access: read-only - source: - openapi: openapi/openapi.yml - AccountToken: - properties: - account_token: string - integration: AccountIntegration - id: string - source: - openapi: openapi/openapi.yml - AdvancedMetadata: - properties: - id: - type: string - validation: - format: uuid - display_name: optional - description: optional - is_required: optional - is_custom: optional - field_choices: optional> - source: - openapi: openapi/openapi.yml - AsyncPassthroughReciept: - properties: - async_passthrough_receipt_id: - type: string - validation: - format: uuid - source: - openapi: openapi/openapi.yml - AuditLogEventRole: - discriminated: false - docs: >- - Designates the role of the user (or SYSTEM/API if action not taken by a - user) at the time of this Event occurring. - - - * `ADMIN` - ADMIN - - * `DEVELOPER` - DEVELOPER - - * `MEMBER` - MEMBER - - * `API` - API - - * `SYSTEM` - SYSTEM - - * `MERGE_TEAM` - MERGE_TEAM - union: - - RoleEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - AuditLogEventEventType: - discriminated: false - docs: >- - Designates the type of event that occurred. - - - * `CREATED_REMOTE_PRODUCTION_API_KEY` - CREATED_REMOTE_PRODUCTION_API_KEY - - * `DELETED_REMOTE_PRODUCTION_API_KEY` - DELETED_REMOTE_PRODUCTION_API_KEY - - * `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY - - * `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY - - * `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY - - * `REGENERATED_WEBHOOK_SIGNATURE` - REGENERATED_WEBHOOK_SIGNATURE - - * `INVITED_USER` - INVITED_USER - - * `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED - - * `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED - - * `DELETED_LINKED_ACCOUNT` - DELETED_LINKED_ACCOUNT - - * `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT` - - DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT - - * `CREATED_DESTINATION` - CREATED_DESTINATION - - * `DELETED_DESTINATION` - DELETED_DESTINATION - - * `CHANGED_DESTINATION` - CHANGED_DESTINATION - - * `CHANGED_SCOPES` - CHANGED_SCOPES - - * `CHANGED_PERSONAL_INFORMATION` - CHANGED_PERSONAL_INFORMATION - - * `CHANGED_ORGANIZATION_SETTINGS` - CHANGED_ORGANIZATION_SETTINGS - - * `ENABLED_INTEGRATION` - ENABLED_INTEGRATION - - * `DISABLED_INTEGRATION` - DISABLED_INTEGRATION - - * `ENABLED_CATEGORY` - ENABLED_CATEGORY - - * `DISABLED_CATEGORY` - DISABLED_CATEGORY - - * `CHANGED_PASSWORD` - CHANGED_PASSWORD - - * `RESET_PASSWORD` - RESET_PASSWORD - - * `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - - * `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - - * `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - - * `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - - * `CREATED_INTEGRATION_WIDE_FIELD_MAPPING` - - CREATED_INTEGRATION_WIDE_FIELD_MAPPING - - * `CREATED_LINKED_ACCOUNT_FIELD_MAPPING` - - CREATED_LINKED_ACCOUNT_FIELD_MAPPING - - * `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING` - - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING - - * `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING - - * `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - - DELETED_INTEGRATION_WIDE_FIELD_MAPPING - - * `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - - DELETED_LINKED_ACCOUNT_FIELD_MAPPING - - * `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - - CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - * `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - - CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - * `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - - DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - * `FORCED_LINKED_ACCOUNT_RESYNC` - FORCED_LINKED_ACCOUNT_RESYNC - - * `MUTED_ISSUE` - MUTED_ISSUE - - * `GENERATED_MAGIC_LINK` - GENERATED_MAGIC_LINK - - * `ENABLED_MERGE_WEBHOOK` - ENABLED_MERGE_WEBHOOK - - * `DISABLED_MERGE_WEBHOOK` - DISABLED_MERGE_WEBHOOK - - * `MERGE_WEBHOOK_TARGET_CHANGED` - MERGE_WEBHOOK_TARGET_CHANGED - - * `END_USER_CREDENTIALS_ACCESSED` - END_USER_CREDENTIALS_ACCESSED - union: - - EventTypeEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - AuditLogEvent: - properties: - id: - type: optional - validation: - format: uuid - access: read-only - user_name: - type: optional - docs: The User's full name at the time of this Event occurring. - validation: - maxLength: 200 - user_email: - type: optional - docs: The User's email at the time of this Event occurring. - validation: - format: email - maxLength: 254 - role: - type: AuditLogEventRole - docs: >- - Designates the role of the user (or SYSTEM/API if action not taken by - a user) at the time of this Event occurring. - - - * `ADMIN` - ADMIN - - * `DEVELOPER` - DEVELOPER - - * `MEMBER` - MEMBER - - * `API` - API - - * `SYSTEM` - SYSTEM - - * `MERGE_TEAM` - MERGE_TEAM - ip_address: - type: string - validation: - maxLength: 45 - event_type: - type: AuditLogEventEventType - docs: >- - Designates the type of event that occurred. - - - * `CREATED_REMOTE_PRODUCTION_API_KEY` - - CREATED_REMOTE_PRODUCTION_API_KEY - - * `DELETED_REMOTE_PRODUCTION_API_KEY` - - DELETED_REMOTE_PRODUCTION_API_KEY - - * `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY - - * `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY - - * `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY - - * `REGENERATED_WEBHOOK_SIGNATURE` - REGENERATED_WEBHOOK_SIGNATURE - - * `INVITED_USER` - INVITED_USER - - * `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED - - * `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED - - * `DELETED_LINKED_ACCOUNT` - DELETED_LINKED_ACCOUNT - - * `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT` - - DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT - - * `CREATED_DESTINATION` - CREATED_DESTINATION - - * `DELETED_DESTINATION` - DELETED_DESTINATION - - * `CHANGED_DESTINATION` - CHANGED_DESTINATION - - * `CHANGED_SCOPES` - CHANGED_SCOPES - - * `CHANGED_PERSONAL_INFORMATION` - CHANGED_PERSONAL_INFORMATION - - * `CHANGED_ORGANIZATION_SETTINGS` - CHANGED_ORGANIZATION_SETTINGS - - * `ENABLED_INTEGRATION` - ENABLED_INTEGRATION - - * `DISABLED_INTEGRATION` - DISABLED_INTEGRATION - - * `ENABLED_CATEGORY` - ENABLED_CATEGORY - - * `DISABLED_CATEGORY` - DISABLED_CATEGORY - - * `CHANGED_PASSWORD` - CHANGED_PASSWORD - - * `RESET_PASSWORD` - RESET_PASSWORD - - * `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - - * `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - - * `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - - * `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - - * `CREATED_INTEGRATION_WIDE_FIELD_MAPPING` - - CREATED_INTEGRATION_WIDE_FIELD_MAPPING - - * `CREATED_LINKED_ACCOUNT_FIELD_MAPPING` - - CREATED_LINKED_ACCOUNT_FIELD_MAPPING - - * `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING` - - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING - - * `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING - - * `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - - DELETED_INTEGRATION_WIDE_FIELD_MAPPING - - * `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - - DELETED_LINKED_ACCOUNT_FIELD_MAPPING - - * `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - - CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - * `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - - CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - * `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - - DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - * `FORCED_LINKED_ACCOUNT_RESYNC` - FORCED_LINKED_ACCOUNT_RESYNC - - * `MUTED_ISSUE` - MUTED_ISSUE - - * `GENERATED_MAGIC_LINK` - GENERATED_MAGIC_LINK - - * `ENABLED_MERGE_WEBHOOK` - ENABLED_MERGE_WEBHOOK - - * `DISABLED_MERGE_WEBHOOK` - DISABLED_MERGE_WEBHOOK - - * `MERGE_WEBHOOK_TARGET_CHANGED` - MERGE_WEBHOOK_TARGET_CHANGED - - * `END_USER_CREDENTIALS_ACCESSED` - END_USER_CREDENTIALS_ACCESSED - event_description: string - created_at: - type: optional - access: read-only - source: - openapi: openapi/openapi.yml - AvailableActions: - docs: >- - # The AvailableActions Object - - ### Description - - The `Activity` object is used to see all available model/operation - combinations for an integration. - - - ### Usage Example - - Fetch all the actions available for the `Zenefits` integration. - properties: - integration: AccountIntegration - passthrough_available: boolean - available_model_operations: optional> - source: - openapi: openapi/openapi.yml - CategoriesEnum: - enum: - - hris - - ats - - accounting - - ticketing - - crm - - mktg - - filestorage - - knowledgebase - docs: |- - * `hris` - hris - * `ats` - ats - * `accounting` - accounting - * `ticketing` - ticketing - * `crm` - crm - * `mktg` - mktg - * `filestorage` - filestorage - * `knowledgebase` - knowledgebase - source: - openapi: openapi/openapi.yml - CategoryEnum: - enum: - - hris - - ats - - accounting - - ticketing - - crm - - mktg - - filestorage - - knowledgebase - docs: |- - * `hris` - hris - * `ats` - ats - * `accounting` - accounting - * `ticketing` - ticketing - * `crm` - crm - * `mktg` - mktg - * `filestorage` - filestorage - * `knowledgebase` - knowledgebase - source: - openapi: openapi/openapi.yml - CommonModelScopeApi: - properties: - common_models: - docs: The common models you want to update the scopes for - type: list - source: - openapi: openapi/openapi.yml - CommonModelScopesBodyRequest: - properties: - model_id: - type: string - validation: - minLength: 1 - enabled_actions: list - disabled_fields: list - source: - openapi: openapi/openapi.yml - CompletedAccountInitialScreenEnum: - type: literal<"SELECTIVE_SYNC"> - docs: '* `SELECTIVE_SYNC` - SELECTIVE_SYNC' - ConversationType: - discriminated: false - docs: |- - The type of the conversation. - - * `PRIVATE_INTERNAL` - PRIVATE_INTERNAL - * `PRIVATE_EXTERNAL` - PRIVATE_EXTERNAL - * `PUBLIC_INTERNAL` - PUBLIC_INTERNAL - * `PUBLIC_EXTERNAL` - PUBLIC_EXTERNAL - union: - - TypeEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - Conversation: - docs: >- - # The Conversation Object - - ### Description - - The `Conversation` object is used to represent a conversation within the - Chat account. - - - ### Usage Example - - Fetch from the `GET /api/chat/v1/conversations` endpoint and view their - conversations. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - name: - type: optional - docs: The name of the conversation - validation: - maxLength: 80 - description: - type: optional - docs: The description of the conversation. - url: - type: optional - docs: The url of the conversation. - validation: - format: uri - maxLength: 2000 - type: - type: optional - docs: |- - The type of the conversation. - - * `PRIVATE_INTERNAL` - PRIVATE_INTERNAL - * `PRIVATE_EXTERNAL` - PRIVATE_EXTERNAL - * `PUBLIC_INTERNAL` - PUBLIC_INTERNAL - * `PUBLIC_EXTERNAL` - PUBLIC_EXTERNAL - members: optional>> - remote_created_at: - type: optional - docs: When the third party's conversation was created. - remote_updated_at: - type: optional - docs: When the third party's conversation was updated. - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - DataPassthroughRequestMethod: - discriminated: false - union: - - MethodEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - DataPassthroughRequestRequestFormat: - discriminated: false - union: - - RequestFormatEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - DataPassthroughRequest: - docs: >- - # The DataPassthrough Object - - ### Description - - The `DataPassthrough` object is used to send information to an - otherwise-unsupported third-party endpoint. - - - ### Usage Example - - Create a `DataPassthrough` to get team hierarchies from your Rippling - integration. - properties: - method: DataPassthroughRequestMethod - path: - type: string - docs: The path of the request in the third party's platform. - validation: - minLength: 1 - base_url_override: - type: optional - docs: An optional override of the third party's base url for the request. - validation: - minLength: 1 - data: - type: optional - docs: >- - The data with the request. You must include a `request_format` - parameter matching the data's format - validation: - minLength: 1 - multipart_form_data: - type: optional> - docs: >- - Pass an array of `MultipartFormField` objects in here instead of using - the `data` param if `request_format` is set to `MULTIPART`. - headers: - type: optional> - docs: >- - The headers to use for the request (Merge will handle the account's - authorization headers). `Content-Type` header is required for - passthrough. Choose content type corresponding to expected format of - receiving server. - request_format: optional - normalize_response: - type: optional - docs: >- - Optional. If true, the response will always be an object of the form - `{"type": T, "value": ...}` where `T` will be one of `string, boolean, - number, null, array, object`. - source: - openapi: openapi/openapi.yml - DebugModeLog: - properties: - log_id: string - dashboard_view: string - log_summary: DebugModelLogSummary - source: - openapi: openapi/openapi.yml - DebugModelLogSummary: - properties: - url: string - method: string - status_code: integer - source: - openapi: openapi/openapi.yml - EnabledActionsEnum: - enum: - - READ - - WRITE - docs: |- - * `READ` - READ - * `WRITE` - WRITE - source: - openapi: openapi/openapi.yml - EncodingEnum: - enum: - - RAW - - BASE64 - - GZIP_BASE64 - docs: |- - * `RAW` - RAW - * `BASE64` - BASE64 - * `GZIP_BASE64` - GZIP_BASE64 - source: - openapi: openapi/openapi.yml - ErrorValidationProblem: - properties: - source: optional - title: string - detail: string - problem_type: string - block_merge_link: optional - source: - openapi: openapi/openapi.yml - EventTypeEnum: - enum: - - CREATED_REMOTE_PRODUCTION_API_KEY - - DELETED_REMOTE_PRODUCTION_API_KEY - - CREATED_TEST_API_KEY - - DELETED_TEST_API_KEY - - REGENERATED_PRODUCTION_API_KEY - - REGENERATED_WEBHOOK_SIGNATURE - - INVITED_USER - - TWO_FACTOR_AUTH_ENABLED - - TWO_FACTOR_AUTH_DISABLED - - DELETED_LINKED_ACCOUNT - - DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT - - CREATED_DESTINATION - - DELETED_DESTINATION - - CHANGED_DESTINATION - - CHANGED_SCOPES - - CHANGED_PERSONAL_INFORMATION - - CHANGED_ORGANIZATION_SETTINGS - - ENABLED_INTEGRATION - - DISABLED_INTEGRATION - - ENABLED_CATEGORY - - DISABLED_CATEGORY - - CHANGED_PASSWORD - - RESET_PASSWORD - - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - - CREATED_INTEGRATION_WIDE_FIELD_MAPPING - - CREATED_LINKED_ACCOUNT_FIELD_MAPPING - - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING - - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING - - DELETED_INTEGRATION_WIDE_FIELD_MAPPING - - DELETED_LINKED_ACCOUNT_FIELD_MAPPING - - CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - FORCED_LINKED_ACCOUNT_RESYNC - - MUTED_ISSUE - - GENERATED_MAGIC_LINK - - ENABLED_MERGE_WEBHOOK - - DISABLED_MERGE_WEBHOOK - - MERGE_WEBHOOK_TARGET_CHANGED - - END_USER_CREDENTIALS_ACCESSED - docs: >- - * `CREATED_REMOTE_PRODUCTION_API_KEY` - CREATED_REMOTE_PRODUCTION_API_KEY - - * `DELETED_REMOTE_PRODUCTION_API_KEY` - DELETED_REMOTE_PRODUCTION_API_KEY - - * `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY - - * `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY - - * `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY - - * `REGENERATED_WEBHOOK_SIGNATURE` - REGENERATED_WEBHOOK_SIGNATURE - - * `INVITED_USER` - INVITED_USER - - * `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED - - * `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED - - * `DELETED_LINKED_ACCOUNT` - DELETED_LINKED_ACCOUNT - - * `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT` - - DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT - - * `CREATED_DESTINATION` - CREATED_DESTINATION - - * `DELETED_DESTINATION` - DELETED_DESTINATION - - * `CHANGED_DESTINATION` - CHANGED_DESTINATION - - * `CHANGED_SCOPES` - CHANGED_SCOPES - - * `CHANGED_PERSONAL_INFORMATION` - CHANGED_PERSONAL_INFORMATION - - * `CHANGED_ORGANIZATION_SETTINGS` - CHANGED_ORGANIZATION_SETTINGS - - * `ENABLED_INTEGRATION` - ENABLED_INTEGRATION - - * `DISABLED_INTEGRATION` - DISABLED_INTEGRATION - - * `ENABLED_CATEGORY` - ENABLED_CATEGORY - - * `DISABLED_CATEGORY` - DISABLED_CATEGORY - - * `CHANGED_PASSWORD` - CHANGED_PASSWORD - - * `RESET_PASSWORD` - RESET_PASSWORD - - * `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - - * `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - - * `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - - * `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - - * `CREATED_INTEGRATION_WIDE_FIELD_MAPPING` - - CREATED_INTEGRATION_WIDE_FIELD_MAPPING - - * `CREATED_LINKED_ACCOUNT_FIELD_MAPPING` - - CREATED_LINKED_ACCOUNT_FIELD_MAPPING - - * `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING` - - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING - - * `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING - - * `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - - DELETED_INTEGRATION_WIDE_FIELD_MAPPING - - * `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - - DELETED_LINKED_ACCOUNT_FIELD_MAPPING - - * `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - - CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - * `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - - CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - * `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - - DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - * `FORCED_LINKED_ACCOUNT_RESYNC` - FORCED_LINKED_ACCOUNT_RESYNC - - * `MUTED_ISSUE` - MUTED_ISSUE - - * `GENERATED_MAGIC_LINK` - GENERATED_MAGIC_LINK - - * `ENABLED_MERGE_WEBHOOK` - ENABLED_MERGE_WEBHOOK - - * `DISABLED_MERGE_WEBHOOK` - DISABLED_MERGE_WEBHOOK - - * `MERGE_WEBHOOK_TARGET_CHANGED` - MERGE_WEBHOOK_TARGET_CHANGED - - * `END_USER_CREDENTIALS_ACCESSED` - END_USER_CREDENTIALS_ACCESSED - source: - openapi: openapi/openapi.yml - ExternalTargetFieldApi: - properties: - name: - type: optional - access: read-only - description: - type: optional - access: read-only - is_mapped: - type: optional - access: read-only - source: - openapi: openapi/openapi.yml - ExternalTargetFieldApiResponse: - properties: - User: optional> - Group: optional> - Conversation: optional> - Member: optional> - source: - openapi: openapi/openapi.yml - FieldMappingApiInstanceTargetField: - properties: - name: string - description: string - is_organization_wide: boolean - source: - openapi: openapi/openapi.yml - inline: true - FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo: - properties: - method: optional - url_path: optional - field_traversal_path: optional> - source: - openapi: openapi/openapi.yml - inline: true - FieldMappingApiInstanceRemoteField: - properties: - remote_key_name: optional - schema: optional> - remote_endpoint_info: FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo - source: - openapi: openapi/openapi.yml - inline: true - FieldMappingApiInstance: - properties: - id: - type: optional - validation: - format: uuid - access: read-only - is_integration_wide: - type: optional - access: read-only - target_field: - type: optional - access: read-only - remote_field: - type: optional - access: read-only - jmes_path: - type: optional - access: read-only - source: - openapi: openapi/openapi.yml - FieldMappingApiInstanceResponse: - properties: - User: optional> - Group: optional> - Conversation: optional> - Member: optional> - source: - openapi: openapi/openapi.yml - FieldMappingInstanceResponse: - properties: - model: FieldMappingApiInstance - warnings: list - errors: list - logs: optional> - source: - openapi: openapi/openapi.yml - FieldPermissionDeserializer: - properties: - enabled_fields: optional> - disabled_fields: optional> - source: - openapi: openapi/openapi.yml - FieldPermissionDeserializerRequest: - properties: - enabled_fields: optional> - disabled_fields: optional> - source: - openapi: openapi/openapi.yml - Group: - docs: |- - # The Group Object - ### Description - The `Group` object is used to represent any subset of `Users`. - ### Usage Example - Fetch from the `GET /api/chat/v1/groups` endpoint and view their groups. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - name: - type: optional - docs: The name of the Group - validation: - maxLength: 254 - users: optional>> - remote_created_at: - type: optional - docs: When the third party's group was created. - remote_updated_at: - type: optional - docs: When the third party's group was updated. - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - IndividualCommonModelScopeDeserializer: - properties: - model_name: string - model_permissions: optional> - field_permissions: optional - source: - openapi: openapi/openapi.yml - IndividualCommonModelScopeDeserializerRequest: - properties: - model_name: - type: string - validation: - minLength: 1 - model_permissions: optional> - field_permissions: optional - source: - openapi: openapi/openapi.yml - IssueStatus: - discriminated: false - docs: |- - Status of the issue. Options: ('ONGOING', 'RESOLVED') - - * `ONGOING` - ONGOING - * `RESOLVED` - RESOLVED - union: - - IssueStatusEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - Issue: - properties: - id: - type: optional - validation: - format: uuid - access: read-only - status: - type: optional - docs: |- - Status of the issue. Options: ('ONGOING', 'RESOLVED') - - * `ONGOING` - ONGOING - * `RESOLVED` - RESOLVED - error_description: string - end_user: - type: optional> - access: read-only - first_incident_time: optional - last_incident_time: optional - is_muted: - type: optional - access: read-only - error_details: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - IssueStatusEnum: - enum: - - ONGOING - - RESOLVED - docs: |- - * `ONGOING` - ONGOING - * `RESOLVED` - RESOLVED - source: - openapi: openapi/openapi.yml - LanguageEnum: - enum: - - en - - de - docs: |- - * `en` - en - * `de` - de - source: - openapi: openapi/openapi.yml - LastSyncResultEnum: - enum: - - SYNCING - - DONE - - FAILED - - DISABLED - - PAUSED - - PARTIALLY_SYNCED - docs: |- - * `SYNCING` - SYNCING - * `DONE` - DONE - * `FAILED` - FAILED - * `DISABLED` - DISABLED - * `PAUSED` - PAUSED - * `PARTIALLY_SYNCED` - PARTIALLY_SYNCED - source: - openapi: openapi/openapi.yml - LinkToken: - properties: - link_token: string - integration_name: optional - magic_link_url: optional - source: - openapi: openapi/openapi.yml - Member: - docs: |- - # The Member Object - ### Description - The `Member` object is used to represent a member within the Chat account. - - ### Usage Example - Fetch from the `GET /api/chat/v1/members` endpoint and view their members. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - user: - type: optional - docs: >- - The user that is a member of the conversation. Only populated if the - member is a user. - validation: - format: uuid - group: - type: optional - docs: >- - The group that is a member of the conversation. Only populated if the - member is a group. - validation: - format: uuid - remote_created_at: - type: optional - docs: When the third party's conversation was created. - remote_updated_at: - type: optional - docs: When the third party's conversation was updated. - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - Message: - docs: >- - # The Message Object - - ### Description - - The `Message` object is used to represent a message within the Chat - account. - - ### Usage Example - - Fetch from the `GET /api/chat/v1/messages` endpoint and view their - message. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - user_id: - type: optional - docs: The user that sent the message. - validation: - format: uuid - conversation_id: - type: optional - docs: The conversation this message belongs to. - validation: - format: uuid - body: - type: optional - docs: The body of the message. - subject_line: - type: optional - docs: The subject line of the message. - root_message_id: - type: optional - docs: The root message this message belongs to. - validation: - format: uuid - url: - type: optional - docs: The url of the message. - validation: - format: uri - maxLength: 500 - remote_created_at: - type: optional - docs: When the third party's conversation was created. - remote_updated_at: - type: optional - docs: When the third party's conversation was updated. - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - source: - openapi: openapi/openapi.yml - MethodEnum: - enum: - - GET - - OPTIONS - - HEAD - - POST - - PUT - - PATCH - - DELETE - docs: |- - * `GET` - GET - * `OPTIONS` - OPTIONS - * `HEAD` - HEAD - * `POST` - POST - * `PUT` - PUT - * `PATCH` - PATCH - * `DELETE` - DELETE - source: - openapi: openapi/openapi.yml - ModelOperation: - docs: >- - # The ModelOperation Object - - ### Description - - The `ModelOperation` object is used to represent the operations that are - currently supported for a given model. - - - ### Usage Example - - View what operations are supported for the `Candidate` endpoint. - properties: - model_name: string - available_operations: list - required_post_parameters: list - supported_fields: list - source: - openapi: openapi/openapi.yml - ModelPermissionDeserializer: - properties: - is_enabled: optional - source: - openapi: openapi/openapi.yml - ModelPermissionDeserializerRequest: - properties: - is_enabled: optional - source: - openapi: openapi/openapi.yml - MultipartFormFieldRequestEncoding: - discriminated: false - docs: |- - The encoding of the value of `data`. Defaults to `RAW` if not defined. - - * `RAW` - RAW - * `BASE64` - BASE64 - * `GZIP_BASE64` - GZIP_BASE64 - union: - - EncodingEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - MultipartFormFieldRequest: - docs: >- - # The MultipartFormField Object - - ### Description - - The `MultipartFormField` object is used to represent fields in an HTTP - request using `multipart/form-data`. - - - ### Usage Example - - Create a `MultipartFormField` to define a multipart form entry. - properties: - name: - type: string - docs: The name of the form field - validation: - minLength: 1 - data: - type: string - docs: The data for the form field. - validation: - minLength: 1 - encoding: - type: optional - docs: |- - The encoding of the value of `data`. Defaults to `RAW` if not defined. - - * `RAW` - RAW - * `BASE64` - BASE64 - * `GZIP_BASE64` - GZIP_BASE64 - file_name: - type: optional - docs: The file name of the form field, if the field is for a file. - validation: - minLength: 1 - content_type: - type: optional - docs: The MIME type of the file, if the field is for a file. - validation: - minLength: 1 - source: - openapi: openapi/openapi.yml - PaginatedAccountDetailsAndActionsList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedAuditLogEventList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedConversationList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedGroupList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedIssueList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedMemberList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedMessageList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedSyncStatusList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedUserList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - RemoteData: - docs: >- - # The RemoteData Object - - ### Description - - The `RemoteData` object is used to represent the full data pulled from the - third-party API for an object. - - - ### Usage Example - - TODO - properties: - path: - type: string - docs: The third-party API path that is being called. - data: - type: optional - docs: >- - The data returned from the third-party for this object in its - original, unnormalized format. - access: read-only - source: - openapi: openapi/openapi.yml - RemoteEndpointInfo: - properties: - method: string - url_path: string - field_traversal_path: list - source: - openapi: openapi/openapi.yml - RemoteFieldApiAdvancedMetadata: - discriminated: false - union: - - AdvancedMetadata - - string - source: - openapi: openapi/openapi.yml - inline: true - RemoteFieldApiCoverage: - discriminated: false - union: - - integer - - double - source: - openapi: openapi/openapi.yml - inline: true - RemoteFieldApi: - properties: - schema: map - remote_key_name: string - remote_endpoint_info: RemoteEndpointInfo - example_values: optional> - advanced_metadata: optional - coverage: - type: optional - access: read-only - source: - openapi: openapi/openapi.yml - RemoteFieldApiResponse: - properties: - User: optional> - Group: optional> - Conversation: optional> - Member: optional> - source: - openapi: openapi/openapi.yml - RemoteKey: - docs: >- - # The RemoteKey Object - - ### Description - - The `RemoteKey` object is used to represent a request for a new remote - key. - - - ### Usage Example - - Post a `GenerateRemoteKey` to receive a new `RemoteKey`. - properties: - name: string - key: string - source: - openapi: openapi/openapi.yml - RemoteResponseResponseType: - discriminated: false - union: - - ResponseTypeEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - RemoteResponse: - docs: >- - # The RemoteResponse Object - - ### Description - - The `RemoteResponse` object is used to represent information returned from - a third-party endpoint. - - - ### Usage Example - - View the `RemoteResponse` returned from your `DataPassthrough`. - properties: - method: string - path: string - status: integer - response: unknown - response_headers: optional> - response_type: optional - headers: optional> - source: - openapi: openapi/openapi.yml - RequestFormatEnum: - enum: - - JSON - - XML - - MULTIPART - docs: |- - * `JSON` - JSON - * `XML` - XML - * `MULTIPART` - MULTIPART - source: - openapi: openapi/openapi.yml - ResponseTypeEnum: - enum: - - JSON - - BASE64_GZIP - docs: |- - * `JSON` - JSON - * `BASE64_GZIP` - BASE64_GZIP - source: - openapi: openapi/openapi.yml - RoleEnum: - enum: - - ADMIN - - DEVELOPER - - MEMBER - - API - - SYSTEM - - MERGE_TEAM - docs: |- - * `ADMIN` - ADMIN - * `DEVELOPER` - DEVELOPER - * `MEMBER` - MEMBER - * `API` - API - * `SYSTEM` - SYSTEM - * `MERGE_TEAM` - MERGE_TEAM - source: - openapi: openapi/openapi.yml - SelectiveSyncConfigurationsUsageEnum: - enum: - - IN_NEXT_SYNC - - IN_LAST_SYNC - docs: |- - * `IN_NEXT_SYNC` - IN_NEXT_SYNC - * `IN_LAST_SYNC` - IN_LAST_SYNC - source: - openapi: openapi/openapi.yml - StatusFd5Enum: - enum: - - SYNCING - - DONE - - FAILED - - DISABLED - - PAUSED - - PARTIALLY_SYNCED - docs: |- - * `SYNCING` - SYNCING - * `DONE` - DONE - * `FAILED` - FAILED - * `DISABLED` - DISABLED - * `PAUSED` - PAUSED - * `PARTIALLY_SYNCED` - PARTIALLY_SYNCED - source: - openapi: openapi/openapi.yml - SyncStatusLastSyncResult: - discriminated: false - union: - - LastSyncResultEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - SyncStatusStatus: - discriminated: false - union: - - StatusFd5Enum - - string - source: - openapi: openapi/openapi.yml - inline: true - SyncStatus: - docs: >- - # The SyncStatus Object - - ### Description - - The `SyncStatus` object is used to represent the syncing state of an - account - - - ### Usage Example - - View the `SyncStatus` for an account to see how recently its models were - synced. - properties: - model_name: string - model_id: string - last_sync_start: optional - next_sync_start: optional - last_sync_result: optional - last_sync_finished: optional - status: SyncStatusStatus - is_initial_sync: boolean - selective_sync_configurations_usage: optional - source: - openapi: openapi/openapi.yml - TypeEnum: - enum: - - PRIVATE_INTERNAL - - PRIVATE_EXTERNAL - - PUBLIC_INTERNAL - - PUBLIC_EXTERNAL - docs: |- - * `PRIVATE_INTERNAL` - PRIVATE_INTERNAL - * `PRIVATE_EXTERNAL` - PRIVATE_EXTERNAL - * `PUBLIC_INTERNAL` - PUBLIC_INTERNAL - * `PUBLIC_EXTERNAL` - PUBLIC_EXTERNAL - source: - openapi: openapi/openapi.yml - User: - docs: |- - # The User Object - ### Description - The `User` object is used to represent a user within the Chat account. - - ### Usage Example - Fetch from the `GET /api/chat/v1/users` endpoint and view their users. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - username: - type: optional - docs: Username or handle - validation: - maxLength: 254 - display_name: - type: optional - docs: Full name or display name - validation: - maxLength: 254 - first_name: - type: optional - docs: The user's first name - validation: - maxLength: 254 - last_name: - type: optional - docs: The user's last name - validation: - maxLength: 254 - is_bot: - type: optional - docs: Returns true if the user is a bot - groups: optional>> - avatar: - type: optional - docs: The user's avatar image - validation: - format: uri - maxLength: 2000 - remote_created_at: - type: optional - docs: When the third party's user was created. - remote_updated_at: - type: optional - docs: When the third party's user was updated. - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - ValidationProblemSource: - properties: - pointer: string - source: - openapi: openapi/openapi.yml - WarningValidationProblem: - properties: - source: optional - title: string - detail: string - problem_type: string - block_merge_link: optional - source: - openapi: openapi/openapi.yml - WebhookReceiver: - properties: - event: string - is_active: boolean - key: optional - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/chat/accountDetails.yml b/.mock/definition/chat/accountDetails.yml deleted file mode 100644 index da7d6585..00000000 --- a/.mock/definition/chat/accountDetails.yml +++ /dev/null @@ -1,38 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - retrieve: - path: /chat/v1/account-details - method: GET - auth: - - tokenAuth: [] - docs: Get details for a linked account. - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: root.AccountDetails - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - id: 0496d4c2-42e6-4072-80b3-7b69bfdc76fd - integration: BambooHR - integration_slug: bamboohr - category: hris - end_user_origin_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - end_user_organization_name: Waystar Royco - end_user_email_address: kendall.roy@waystar-royco.com - status: COMPLETE - webhook_listener_url: >- - https://api.merge.dev/api/integrations/webhook-listener/7fc3mee0UW8ecV4 - is_duplicate: true - account_type: PRODUCTION - completed_at: '2024-08-26T20:11:19Z' - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/chat/accountToken.yml b/.mock/definition/chat/accountToken.yml deleted file mode 100644 index a42d768e..00000000 --- a/.mock/definition/chat/accountToken.yml +++ /dev/null @@ -1,47 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - retrieve: - path: /chat/v1/account-token/{public_token} - method: GET - auth: - - tokenAuth: [] - docs: >- - Returns the account token for the end user with the provided public - token. - source: - openapi: openapi/openapi.yml - path-parameters: - public_token: string - response: - docs: '' - type: root.AccountToken - status-code: 200 - examples: - - path-parameters: - public_token: public_token - headers: - X-Account-Token: '[object Object]' - response: - body: - account_token: T9klMDQrcHdm9jrtHuOS2Nf06BIHwMNjpPXPMB - integration: - name: name - abbreviated_name: abbreviated_name - categories: - - hris - image: image - square_image: square_image - color: color - slug: slug - api_endpoints_to_documentation_urls: - key: value - webhook_setup_guide_url: webhook_setup_guide_url - category_beta_status: - key: value - id: 0496d4c2-42e6-4072-80b3-7b69bfdc76fd - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/chat/asyncPassthrough.yml b/.mock/definition/chat/asyncPassthrough.yml deleted file mode 100644 index 22ada60f..00000000 --- a/.mock/definition/chat/asyncPassthrough.yml +++ /dev/null @@ -1,78 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - create: - path: /chat/v1/async-passthrough - method: POST - auth: - - tokenAuth: [] - docs: >- - Asynchronously pull data from an endpoint not currently supported by - Merge. - source: - openapi: openapi/openapi.yml - request: - body: root.DataPassthroughRequest - content-type: application/json - response: - docs: '' - type: root.AsyncPassthroughReciept - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - request: - method: GET - path: /scooters - response: - body: - async_passthrough_receipt_id: fd29020f-2695-445e-922e-dcd5e81903fd - retrieve: - path: /chat/v1/async-passthrough/{async_passthrough_receipt_id} - method: GET - auth: - - tokenAuth: [] - docs: Retrieves data from earlier async-passthrough POST request - source: - openapi: openapi/openapi.yml - path-parameters: - async_passthrough_receipt_id: string - response: - docs: '' - type: AsyncPassthroughRetrieveResponse - status-code: 200 - examples: - - path-parameters: - async_passthrough_receipt_id: async_passthrough_receipt_id - headers: - X-Account-Token: X-Account-Token - response: - body: - method: GET - path: /scooters - status: 200 - response: - scooters: - - company: Lime - model: Gen 2.5 - - company: Bird - model: Bird Zero - response_headers: - X-Page-Token: value - response_type: JSON - headers: - EXTRA-HEADER: value - Authorization: - source: - openapi: openapi/openapi.yml -types: - AsyncPassthroughRetrieveResponse: - discriminated: false - union: - - root.RemoteResponse - - string - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/chat/auditTrail.yml b/.mock/definition/chat/auditTrail.yml deleted file mode 100644 index da2e97f9..00000000 --- a/.mock/definition/chat/auditTrail.yml +++ /dev/null @@ -1,104 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /chat/v1/audit-trail - method: GET - auth: - - tokenAuth: [] - docs: Gets a list of audit trail events. - source: - openapi: openapi/openapi.yml - request: - name: AuditTrailListRequest - query-parameters: - cursor: - type: optional - docs: The pagination cursor value. - end_date: - type: optional - docs: >- - If included, will only include audit trail events that occurred - before this time - event_type: - type: optional - docs: >- - If included, will only include events with the given event type. - Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, - `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, - `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, - `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, - `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, - `DELETED_LINKED_ACCOUNT`, - `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, - `CREATED_DESTINATION`, `DELETED_DESTINATION`, - `CHANGED_DESTINATION`, `CHANGED_SCOPES`, - `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, - `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, - `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, - `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, - `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, - `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, - `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, - `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, - `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, - `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, - `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, - `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, - `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, - `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, - `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, - `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, - `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, - `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, - `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, - `END_USER_CREDENTIALS_ACCESSED` - page_size: - type: optional - docs: Number of results to return per page. The maximum limit is 100. - start_date: - type: optional - docs: >- - If included, will only include audit trail events that occurred - after this time - user_email: - type: optional - docs: >- - If provided, this will return events associated with the specified - user email. Please note that the email address reflects the user's - email at the time of the event, and may not be their current - email. - response: - docs: '' - type: root.PaginatedAuditLogEventList - status-code: 200 - examples: - - query-parameters: - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - end_date: end_date - event_type: event_type - page_size: 1 - start_date: start_date - user_email: user_email - headers: - X-Account-Token: '[object Object]' - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: b5ceea2a-7171-47ce-8090-165cfce5572c - user_name: Gil Feig - user_email: hello@merge.dev - role: ADMIN - ip_address: 192.0.2.123 - event_type: CREATED_REMOTE_PRODUCTION_API_KEY - event_description: >- - Organization-wide Scopes for model hris.Employee updated - from Read to Read+Write - created_at: '2024-01-15T09:30:00Z' - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/chat/availableActions.yml b/.mock/definition/chat/availableActions.yml deleted file mode 100644 index 81e859f7..00000000 --- a/.mock/definition/chat/availableActions.yml +++ /dev/null @@ -1,52 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - retrieve: - path: /chat/v1/available-actions - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of models and actions available for an account. - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: root.AvailableActions - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - integration: - name: name - abbreviated_name: abbreviated_name - categories: - - hris - image: image - square_image: square_image - color: color - slug: slug - api_endpoints_to_documentation_urls: - key: value - webhook_setup_guide_url: webhook_setup_guide_url - category_beta_status: - key: value - passthrough_available: true - available_model_operations: - - model_name: Candidate - available_operations: - - FETCH - - CREATE - required_post_parameters: - - remote_user_id - supported_fields: - - first_name - - last_name - - company - - title - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/chat/conversations.yml b/.mock/definition/chat/conversations.yml deleted file mode 100644 index 8a8ebc9b..00000000 --- a/.mock/definition/chat/conversations.yml +++ /dev/null @@ -1,270 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /chat/v1/conversations - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `Conversation` objects. - source: - openapi: openapi/openapi.yml - request: - name: ConversationsListRequest - query-parameters: - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - expand: - type: optional> - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - page_size: - type: optional - docs: Number of results to return per page. The maximum limit is 100. - remote_id: - type: optional - docs: The API provider's ID for the given object. - response: - docs: '' - type: root.PaginatedConversationList - status-code: 200 - examples: - - query-parameters: - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - expand: members - include_deleted_data: true - include_remote_data: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - page_size: 1 - remote_id: remote_id - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: c2f2d8a4-9f7a-4e2b-8e2f-123456789abc - remote_id: conv-001 - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: General Discussion - description: A channel for general chat. - url: https://example.com/conversations/conv-001 - type: PRIVATE_INTERNAL - members: - - null - remote_created_at: '2021-09-15T00:00:00Z' - remote_updated_at: '2021-09-16T00:00:00Z' - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /conversations - data: - platform_specific: example - membersList: - path: /chat/v1/conversations/{conversation_id}/members - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `Member` objects. - source: - openapi: openapi/openapi.yml - path-parameters: - conversation_id: string - request: - name: ConversationsMembersListRequest - query-parameters: - cursor: - type: optional - docs: The pagination cursor value. - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - page_size: - type: optional - docs: Number of results to return per page. The maximum limit is 100. - response: - docs: '' - type: root.PaginatedMemberList - status-code: 200 - examples: - - path-parameters: - conversation_id: conversation_id - query-parameters: - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - expand: group - include_deleted_data: true - include_remote_data: true - include_shell_data: true - page_size: 1 - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: m1f2d8a4-9f7a-4e2b-8e2f-123456789abc - remote_id: mem-001 - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - user: a1234567-89ab-cdef-0123-456789abcdef - group: group - remote_created_at: '2021-09-15T00:00:00Z' - remote_updated_at: '2021-09-16T00:00:00Z' - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /members - data: - platform_specific: example - retrieve: - path: /chat/v1/conversations/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns a `Conversation` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: ConversationsRetrieveRequest - query-parameters: - expand: - type: optional> - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - response: - docs: '' - type: root.Conversation - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - expand: members - include_remote_data: true - include_shell_data: true - headers: - X-Account-Token: X-Account-Token - response: - body: - id: c2f2d8a4-9f7a-4e2b-8e2f-123456789abc - remote_id: conv-001 - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: General Discussion - description: A channel for general chat. - url: https://example.com/conversations/conv-001 - type: PRIVATE_INTERNAL - members: - - members - remote_created_at: '2021-09-15T00:00:00Z' - remote_updated_at: '2021-09-16T00:00:00Z' - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /conversations - data: - platform_specific: example - source: - openapi: openapi/openapi.yml -types: - ConversationsMembersListRequestExpand: - enum: - - group - - user - - value: user,group - name: UserGroup - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/chat/deleteAccount.yml b/.mock/definition/chat/deleteAccount.yml deleted file mode 100644 index ec128034..00000000 --- a/.mock/definition/chat/deleteAccount.yml +++ /dev/null @@ -1,17 +0,0 @@ -service: - auth: false - base-path: '' - endpoints: - delete: - path: /chat/v1/delete-account - method: POST - auth: - - tokenAuth: [] - docs: Delete a linked account. - source: - openapi: openapi/openapi.yml - examples: - - headers: - X-Account-Token: X-Account-Token - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/chat/fieldMapping.yml b/.mock/definition/chat/fieldMapping.yml deleted file mode 100644 index 65836017..00000000 --- a/.mock/definition/chat/fieldMapping.yml +++ /dev/null @@ -1,530 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - field_mappings_retrieve: - path: /chat/v1/field-mappings - method: GET - auth: - - tokenAuth: [] - docs: >- - Get all Field Mappings for this Linked Account. Field Mappings are - mappings between third-party Remote Fields and user defined Merge - fields. [Learn - more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). - source: - openapi: openapi/openapi.yml - request: - name: FieldMappingsRetrieveRequest - query-parameters: - exclude_remote_field_metadata: - type: optional - docs: >- - If `true`, remote fields metadata is excluded from each field - mapping instance (i.e. `remote_fields.remote_key_name` and - `remote_fields.schema` will be null). This will increase the speed - of the request since these fields require some calculations. - response: - docs: '' - type: root.FieldMappingApiInstanceResponse - status-code: 200 - examples: - - query-parameters: - exclude_remote_field_metadata: true - headers: - X-Account-Token: X-Account-Token - response: - body: - User: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - jmes_path: '[0].example_jmes_path' - Group: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - jmes_path: '[0].example_jmes_path' - Conversation: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - jmes_path: '[0].example_jmes_path' - Member: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - jmes_path: '[0].example_jmes_path' - field_mappings_create: - path: /chat/v1/field-mappings - method: POST - auth: - - tokenAuth: [] - docs: >- - Create new Field Mappings that will be available after the next - scheduled sync. This will cause the next sync for this Linked Account to - sync **ALL** data from start. - source: - openapi: openapi/openapi.yml - request: - name: CreateFieldMappingRequest - query-parameters: - exclude_remote_field_metadata: - type: optional - docs: >- - If `true`, remote fields metadata is excluded from each field - mapping instance (i.e. `remote_fields.remote_key_name` and - `remote_fields.schema` will be null). This will increase the speed - of the request since these fields require some calculations. - body: - properties: - target_field_name: - type: string - docs: >- - The name of the target field you want this remote field to map - to. - validation: - minLength: 1 - target_field_description: - type: string - docs: >- - The description of the target field you want this remote field - to map to. - validation: - minLength: 1 - remote_field_traversal_path: - docs: >- - The field traversal path of the remote field listed when you hit - the GET /remote-fields endpoint. - type: list - remote_method: - type: string - docs: >- - The method of the remote endpoint where the remote field is - coming from. - validation: - minLength: 1 - remote_url_path: - type: string - docs: >- - The path of the remote endpoint where the remote field is coming - from. - validation: - minLength: 1 - common_model_name: - type: string - docs: >- - The name of the Common Model that the remote field corresponds - to in a given category. - validation: - minLength: 1 - jmes_path: - type: optional - docs: >- - JMES path to specify json query expression to be used on field - mapping. - validation: - minLength: 1 - content-type: application/json - response: - docs: '' - type: root.FieldMappingInstanceResponse - status-code: 201 - examples: - - query-parameters: - exclude_remote_field_metadata: true - headers: - X-Account-Token: X-Account-Token - request: - target_field_name: example_target_field_name - target_field_description: this is a example description of the target field - remote_field_traversal_path: - - example_remote_field - remote_method: GET - remote_url_path: /example-url-path - common_model_name: ExampleCommonModel - response: - body: - model: - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - jmes_path: '[0].example_jmes_path' - warnings: - - source: - pointer: pointer - title: Unrecognized Field - detail: An unrecognized field, age, was passed in with request data. - problem_type: UNRECOGNIZED_FIELD - block_merge_link: true - errors: - - source: - pointer: pointer - title: Missing Required Field - detail: custom_fields is a required field on model. - problem_type: MISSING_REQUIRED_FIELD - block_merge_link: true - logs: - - log_id: 99433219-8017-4acd-bb3c-ceb23d663832 - dashboard_view: >- - https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832 - log_summary: - url: www.exampleintegration.com/api/v1/exampleapi - method: POST - status_code: 200 - field_mappings_destroy: - path: /chat/v1/field-mappings/{field_mapping_id} - method: DELETE - auth: - - tokenAuth: [] - docs: >- - Deletes Field Mappings for a Linked Account. All data related to this - Field Mapping will be deleted and these changes will be reflected after - the next scheduled sync. This will cause the next sync for this Linked - Account to sync **ALL** data from start. - source: - openapi: openapi/openapi.yml - path-parameters: - field_mapping_id: string - response: - docs: '' - type: root.FieldMappingInstanceResponse - status-code: 204 - examples: - - path-parameters: - field_mapping_id: field_mapping_id - headers: - X-Account-Token: X-Account-Token - response: - body: - model: - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - jmes_path: '[0].example_jmes_path' - warnings: - - source: - pointer: pointer - title: Unrecognized Field - detail: An unrecognized field, age, was passed in with request data. - problem_type: UNRECOGNIZED_FIELD - block_merge_link: true - errors: - - source: - pointer: pointer - title: Missing Required Field - detail: custom_fields is a required field on model. - problem_type: MISSING_REQUIRED_FIELD - block_merge_link: true - logs: - - log_id: 99433219-8017-4acd-bb3c-ceb23d663832 - dashboard_view: >- - https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832 - log_summary: - url: www.exampleintegration.com/api/v1/exampleapi - method: POST - status_code: 200 - field_mappings_partial_update: - path: /chat/v1/field-mappings/{field_mapping_id} - method: PATCH - auth: - - tokenAuth: [] - docs: >- - Create or update existing Field Mappings for a Linked Account. Changes - will be reflected after the next scheduled sync. This will cause the - next sync for this Linked Account to sync **ALL** data from start. - source: - openapi: openapi/openapi.yml - path-parameters: - field_mapping_id: string - request: - name: PatchedEditFieldMappingRequest - body: - properties: - remote_field_traversal_path: - type: optional> - docs: >- - The field traversal path of the remote field listed when you hit - the GET /remote-fields endpoint. - remote_method: - type: optional - docs: >- - The method of the remote endpoint where the remote field is - coming from. - validation: - minLength: 1 - remote_url_path: - type: optional - docs: >- - The path of the remote endpoint where the remote field is coming - from. - validation: - minLength: 1 - jmes_path: - type: optional - docs: >- - JMES path to specify json query expression to be used on field - mapping. - validation: - minLength: 1 - content-type: application/json - response: - docs: '' - type: root.FieldMappingInstanceResponse - status-code: 200 - examples: - - path-parameters: - field_mapping_id: field_mapping_id - headers: - X-Account-Token: X-Account-Token - request: {} - response: - body: - model: - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - jmes_path: '[0].example_jmes_path' - warnings: - - source: - pointer: pointer - title: Unrecognized Field - detail: An unrecognized field, age, was passed in with request data. - problem_type: UNRECOGNIZED_FIELD - block_merge_link: true - errors: - - source: - pointer: pointer - title: Missing Required Field - detail: custom_fields is a required field on model. - problem_type: MISSING_REQUIRED_FIELD - block_merge_link: true - logs: - - log_id: 99433219-8017-4acd-bb3c-ceb23d663832 - dashboard_view: >- - https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832 - log_summary: - url: www.exampleintegration.com/api/v1/exampleapi - method: POST - status_code: 200 - remote_fields_retrieve: - path: /chat/v1/remote-fields - method: GET - auth: - - tokenAuth: [] - docs: >- - Get all remote fields for a Linked Account. Remote fields are - third-party fields that are accessible after initial sync if remote_data - is enabled. You can use remote fields to override existing Merge fields - or map a new Merge field. [Learn - more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). - source: - openapi: openapi/openapi.yml - request: - name: RemoteFieldsRetrieveRequest - query-parameters: - common_models: - type: optional - docs: >- - A comma seperated list of Common Model names. If included, will - only return Remote Fields for those Common Models. - include_example_values: - type: optional - docs: >- - If true, will include example values, where available, for remote - fields in the 3rd party platform. These examples come from active - data from your customers. - response: - docs: '' - type: root.RemoteFieldApiResponse - status-code: 200 - examples: - - query-parameters: - common_models: common_models - include_example_values: include_example_values - headers: - X-Account-Token: X-Account-Token - response: - body: - User: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - Group: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - Conversation: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - Member: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - target_fields_retrieve: - path: /chat/v1/target-fields - method: GET - auth: - - tokenAuth: [] - docs: >- - Get all organization-wide Target Fields, this will not include any - Linked Account specific Target Fields. Organization-wide Target Fields - are additional fields appended to the Merge Common Model for all Linked - Accounts in a category. [Learn - more](https://docs.merge.dev/supplemental-data/field-mappings/target-fields/). - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: root.ExternalTargetFieldApiResponse - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - User: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - Group: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - Conversation: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - Member: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/chat/forceResync.yml b/.mock/definition/chat/forceResync.yml deleted file mode 100644 index 9a539742..00000000 --- a/.mock/definition/chat/forceResync.yml +++ /dev/null @@ -1,39 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - sync_status_resync_create: - path: /chat/v1/sync-status/resync - method: POST - auth: - - tokenAuth: [] - docs: >- - Force re-sync of all models. This endpoint is available for monthly, - quarterly, and highest sync frequency customers on the Professional or - Enterprise plans. Doing so will consume a sync credit for the relevant - linked account. Force re-syncs can also be triggered manually in the - Merge Dashboard and is available for all customers. - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: list - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - - model_name: Candidate - model_id: ats.Candidate - last_sync_start: '2021-03-30T19:44:18Z' - next_sync_start: '2021-03-30T20:44:18Z' - last_sync_result: SYNCING - last_sync_finished: '2021-03-30T19:55:18Z' - status: SYNCING - is_initial_sync: true - selective_sync_configurations_usage: IN_NEXT_SYNC - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/chat/generateKey.yml b/.mock/definition/chat/generateKey.yml deleted file mode 100644 index 6747c305..00000000 --- a/.mock/definition/chat/generateKey.yml +++ /dev/null @@ -1,39 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - create: - path: /chat/v1/generate-key - method: POST - auth: - - tokenAuth: [] - docs: Create a remote key. - source: - openapi: openapi/openapi.yml - request: - name: GenerateRemoteKeyRequest - body: - properties: - name: - type: string - docs: The name of the remote key - validation: - minLength: 1 - content-type: application/json - response: - docs: '' - type: root.RemoteKey - status-code: 200 - examples: - - headers: - X-Account-Token: '[object Object]' - request: - name: Remote Deployment Key 1 - response: - body: - name: Remote Deployment Key 1 - key: hXY57W0g0WkdRHjCaPvwijK63fwfN-o_Wh7f30SLTq_uPCOLo-WFcA - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/chat/groups.yml b/.mock/definition/chat/groups.yml deleted file mode 100644 index da1425a1..00000000 --- a/.mock/definition/chat/groups.yml +++ /dev/null @@ -1,174 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /chat/v1/groups - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `Group` objects. - source: - openapi: openapi/openapi.yml - request: - name: GroupsListRequest - query-parameters: - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - expand: - type: optional> - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - page_size: - type: optional - docs: Number of results to return per page. The maximum limit is 100. - remote_id: - type: optional - docs: The API provider's ID for the given object. - response: - docs: '' - type: root.PaginatedGroupList - status-code: 200 - examples: - - query-parameters: - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - expand: users - include_deleted_data: true - include_remote_data: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - page_size: 1 - remote_id: remote_id - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: c1f2d8a4-9f7a-4e2b-8e2f-123456789abc - remote_id: '121222' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Engineering - users: - - users - remote_created_at: '2021-09-15T00:00:00Z' - remote_updated_at: '2021-09-16T00:00:00Z' - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /groups - data: - platform_specific: example - retrieve: - path: /chat/v1/groups/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns a `Group` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: GroupsRetrieveRequest - query-parameters: - expand: - type: optional> - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - response: - docs: '' - type: root.Group - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - expand: users - include_remote_data: true - include_shell_data: true - headers: - X-Account-Token: X-Account-Token - response: - body: - id: c1f2d8a4-9f7a-4e2b-8e2f-123456789abc - remote_id: '121222' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Engineering - users: - - users - remote_created_at: '2021-09-15T00:00:00Z' - remote_updated_at: '2021-09-16T00:00:00Z' - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /groups - data: - platform_specific: example - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/chat/issues.yml b/.mock/definition/chat/issues.yml deleted file mode 100644 index 321fdc1d..00000000 --- a/.mock/definition/chat/issues.yml +++ /dev/null @@ -1,150 +0,0 @@ -types: - IssuesListRequestStatus: - enum: - - ONGOING - - RESOLVED - source: - openapi: openapi/openapi.yml -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /chat/v1/issues - method: GET - auth: - - tokenAuth: [] - docs: Gets all issues for Organization. - source: - openapi: openapi/openapi.yml - request: - name: IssuesListRequest - query-parameters: - account_token: optional - cursor: - type: optional - docs: The pagination cursor value. - end_date: - type: optional - docs: >- - If included, will only include issues whose most recent action - occurred before this time - end_user_organization_name: optional - first_incident_time_after: - type: optional - docs: >- - If provided, will only return issues whose first incident time was - after this datetime. - first_incident_time_before: - type: optional - docs: >- - If provided, will only return issues whose first incident time was - before this datetime. - include_muted: - type: optional - docs: If true, will include muted issues - integration_name: optional - last_incident_time_after: - type: optional - docs: >- - If provided, will only return issues whose last incident time was - after this datetime. - last_incident_time_before: - type: optional - docs: >- - If provided, will only return issues whose last incident time was - before this datetime. - linked_account_id: - type: optional - docs: >- - If provided, will only include issues pertaining to the linked - account passed in. - page_size: - type: optional - docs: Number of results to return per page. The maximum limit is 100. - start_date: - type: optional - docs: >- - If included, will only include issues whose most recent action - occurred after this time - status: - type: optional - docs: |- - Status of the issue. Options: ('ONGOING', 'RESOLVED') - - * `ONGOING` - ONGOING - * `RESOLVED` - RESOLVED - response: - docs: '' - type: root.PaginatedIssueList - status-code: 200 - examples: - - query-parameters: - account_token: account_token - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - end_date: end_date - end_user_organization_name: end_user_organization_name - first_incident_time_after: '2024-01-15T09:30:00Z' - first_incident_time_before: '2024-01-15T09:30:00Z' - include_muted: include_muted - integration_name: integration_name - last_incident_time_after: '2024-01-15T09:30:00Z' - last_incident_time_before: '2024-01-15T09:30:00Z' - linked_account_id: linked_account_id - page_size: 1 - start_date: start_date - status: ONGOING - headers: - X-Account-Token: '[object Object]' - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - status: ONGOING - error_description: Missing Permissions - end_user: - key: value - first_incident_time: '2022-12-05T16:19:15Z' - last_incident_time: '2022-12-05T16:19:15Z' - is_muted: true - error_details: - - Missing employee permissions. - - Missing time off permissions. - retrieve: - path: /chat/v1/issues/{id} - method: GET - auth: - - tokenAuth: [] - docs: Get a specific issue. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - response: - docs: '' - type: root.Issue - status-code: 200 - examples: - - path-parameters: - id: id - headers: - X-Account-Token: '[object Object]' - response: - body: - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - status: ONGOING - error_description: Missing Permissions - end_user: - key: value - first_incident_time: '2022-12-05T16:19:15Z' - last_incident_time: '2022-12-05T16:19:15Z' - is_muted: true - error_details: - - Missing employee permissions. - - Missing time off permissions. - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/chat/linkToken.yml b/.mock/definition/chat/linkToken.yml deleted file mode 100644 index f4084f63..00000000 --- a/.mock/definition/chat/linkToken.yml +++ /dev/null @@ -1,179 +0,0 @@ -imports: - root: __package__.yml -types: - EndUserDetailsRequestLanguage: - discriminated: false - docs: >- - The following subset of IETF language tags can be used to configure - localization. - - - * `en` - en - - * `de` - de - union: - - root.LanguageEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - EndUserDetailsRequestCompletedAccountInitialScreen: - discriminated: false - docs: >- - When creating a Link token, you can specifiy the initial screen of Linking - Flow for a completed Linked Account. - - - * `SELECTIVE_SYNC` - SELECTIVE_SYNC - union: - - root.CompletedAccountInitialScreenEnum - - string - source: - openapi: openapi/openapi.yml - inline: true -service: - auth: false - base-path: '' - endpoints: - create: - path: /chat/v1/link-token - method: POST - auth: - - tokenAuth: [] - docs: >- - Creates a link token to be used when linking a new end user. The link - token expires after single use. - source: - openapi: openapi/openapi.yml - request: - name: EndUserDetailsRequest - body: - properties: - end_user_email_address: - type: string - docs: >- - Your end user's email address. This is purely for identification - purposes - setting this value will not cause any emails to be - sent. - validation: - minLength: 1 - maxLength: 100 - end_user_organization_name: - type: string - docs: Your end user's organization. - validation: - minLength: 1 - maxLength: 100 - end_user_origin_id: - type: string - docs: >- - This unique identifier typically represents the ID for your end - user in your product's database. This value must be distinct - from other Linked Accounts' unique identifiers. - validation: - minLength: 1 - maxLength: 100 - categories: - docs: The integration categories to show in Merge Link. - type: list - integration: - type: optional - docs: >- - The slug of a specific pre-selected integration for this linking - flow token. For examples of slugs, see - https://docs.merge.dev/guides/merge-link/single-integration/. - validation: - minLength: 1 - link_expiry_mins: - type: optional - docs: >- - An integer number of minutes between [30, 720 or 10080 if for a - Magic Link URL] for how long this token is valid. Defaults to - 30. - default: 30 - validation: - min: 30 - max: 10080 - should_create_magic_link_url: - type: optional - docs: >- - Whether to generate a Magic Link URL. Defaults to false. For - more information on Magic Link, see - https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. - default: false - hide_admin_magic_link: - type: optional - docs: >- - Whether to generate a Magic Link URL on the Admin Needed screen - during the linking flow. Defaults to false. For more information - on Magic Link, see - https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. - default: false - common_models: - type: optional> - docs: >- - An array of objects to specify the models and fields that will - be disabled for a given Linked Account. Each object uses - model_id, enabled_actions, and disabled_fields to specify the - model, method, and fields that are scoped for a given Linked - Account. - category_common_model_scopes: - type: >- - optional>>> - docs: >- - When creating a Link Token, you can set permissions for Common - Models that will apply to the account that is going to be - linked. Any model or field not specified in link token payload - will default to existing settings. - language: - type: optional - docs: >- - The following subset of IETF language tags can be used to - configure localization. - - - * `en` - en - - * `de` - de - are_syncs_disabled: - type: optional - docs: >- - The boolean that indicates whether initial, periodic, and force - syncs will be disabled. - default: false - integration_specific_config: - type: optional> - docs: >- - A JSON object containing integration-specific configuration - options. - completed_account_initial_screen: - type: optional - docs: >- - When creating a Link token, you can specifiy the initial screen - of Linking Flow for a completed Linked Account. - - - * `SELECTIVE_SYNC` - SELECTIVE_SYNC - content-type: application/json - response: - docs: '' - type: root.LinkToken - status-code: 200 - examples: - - headers: - X-Account-Token: '[object Object]' - request: - end_user_email_address: example@gmail.com - end_user_organization_name: Test Organization - end_user_origin_id: '12345' - categories: - - hris - - ats - response: - body: - link_token: necdP7FtdASl1fQwm62be2_dM4wBG8_GactqoUV0 - integration_name: Lever - magic_link_url: https://link.merge.dev/asdfjkl12345jsndfgi2i83n - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/chat/linkedAccounts.yml b/.mock/definition/chat/linkedAccounts.yml deleted file mode 100644 index 710478c4..00000000 --- a/.mock/definition/chat/linkedAccounts.yml +++ /dev/null @@ -1,173 +0,0 @@ -types: - LinkedAccountsListRequestCategory: - enum: - - accounting - - ats - - chat - - crm - - filestorage - - hris - - knowledgebase - - mktg - - ticketing - source: - openapi: openapi/openapi.yml -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /chat/v1/linked-accounts - method: GET - auth: - - tokenAuth: [] - docs: List linked accounts for your organization. - source: - openapi: openapi/openapi.yml - request: - name: LinkedAccountsListRequest - query-parameters: - category: - type: optional - docs: >- - Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, - `knowledgebase`, `mktg`, `ticketing` - - - * `hris` - hris - - * `ats` - ats - - * `accounting` - accounting - - * `ticketing` - ticketing - - * `crm` - crm - - * `mktg` - mktg - - * `filestorage` - filestorage - - * `knowledgebase` - knowledgebase - - * `chat` - chat - cursor: - type: optional - docs: The pagination cursor value. - end_user_email_address: - type: optional - docs: >- - If provided, will only return linked accounts associated with the - given email address. - end_user_organization_name: - type: optional - docs: >- - If provided, will only return linked accounts associated with the - given organization name. - end_user_origin_id: - type: optional - docs: >- - If provided, will only return linked accounts associated with the - given origin ID. - end_user_origin_ids: - type: optional - docs: >- - Comma-separated list of EndUser origin IDs, making it possible to - specify multiple EndUsers at once. - id: - type: optional - validation: - format: uuid - ids: - type: optional - docs: >- - Comma-separated list of LinkedAccount IDs, making it possible to - specify multiple LinkedAccounts at once. - include_duplicates: - type: optional - docs: >- - If `true`, will include complete production duplicates of the - account specified by the `id` query parameter in the response. - `id` must be for a complete production linked account. - integration_name: - type: optional - docs: >- - If provided, will only return linked accounts associated with the - given integration name. - is_test_account: - type: optional - docs: >- - If included, will only include test linked accounts. If not - included, will only include non-test linked accounts. - page_size: - type: optional - docs: Number of results to return per page. The maximum limit is 100. - status: - type: optional - docs: >- - Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, - `RELINK_NEEDED` - response: - docs: '' - type: root.PaginatedAccountDetailsAndActionsList - status-code: 200 - examples: - - query-parameters: - category: accounting - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - end_user_email_address: end_user_email_address - end_user_organization_name: end_user_organization_name - end_user_origin_id: end_user_origin_id - end_user_origin_ids: end_user_origin_ids - id: id - ids: ids - include_duplicates: true - integration_name: integration_name - is_test_account: is_test_account - page_size: 1 - status: status - headers: - X-Account-Token: '[object Object]' - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: e59b1821-f85c-4e28-a6b3-1804156f3563 - category: hris - status: COMPLETE - status_detail: Invalid login credentials - end_user_origin_id: 3ac95cde-6c7f-4eef-afec-be710b42308d - end_user_organization_name: Foo Bar, LLC - end_user_email_address: hradmin@foobar.dev - subdomain: foobar - webhook_listener_url: >- - https://api.merge.dev/api/integrations/webhook-listener/7fc3mee0UW8ecV4 - is_duplicate: true - integration: - name: name - categories: - - hris - color: color - slug: slug - passthrough_available: true - available_model_operations: - - model_name: Candidate - available_operations: - - FETCH - - CREATE - required_post_parameters: - - remote_user_id - supported_fields: - - first_name - - last_name - - company - - title - account_type: PRODUCTION - completed_at: '2024-08-26T20:11:19Z' - integration_specific_fields: - integration_specific_field: Varies by platform - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/chat/messages.yml b/.mock/definition/chat/messages.yml deleted file mode 100644 index acf1a202..00000000 --- a/.mock/definition/chat/messages.yml +++ /dev/null @@ -1,261 +0,0 @@ -types: - MessagesListRequestOrderBy: - enum: - - value: '-remote_created_at' - name: RemoteCreatedAtDescending - - value: remote_created_at - name: RemoteCreatedAtAscending - source: - openapi: openapi/openapi.yml - MessagesRepliesListRequestOrderBy: - enum: - - value: '-remote_created_at' - name: RemoteCreatedAtDescending - - value: remote_created_at - name: RemoteCreatedAtAscending - source: - openapi: openapi/openapi.yml -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /chat/v1/messages - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `Message` objects. - source: - openapi: openapi/openapi.yml - request: - name: MessagesListRequest - query-parameters: - conversation_id: - type: optional - docs: Filter messages by conversation ID. - validation: - format: uuid - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - order_by: - type: optional - docs: >- - Overrides the default ordering for this endpoint. Possible values - include: remote_created_at, -remote_created_at. - page_size: - type: optional - docs: Number of results to return per page. The maximum limit is 100. - remote_id: - type: optional - docs: The API provider's ID for the given object. - root_message: - type: optional - docs: >- - If provided as 'true', will only return root messages (messages - without a parent message). - response: - docs: '' - type: root.PaginatedMessageList - status-code: 200 - examples: - - query-parameters: - conversation_id: conversation_id - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - include_deleted_data: true - include_remote_data: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - order_by: '-remote_created_at' - page_size: 1 - remote_id: remote_id - root_message: root_message - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: m1f2d8a4-9f7a-4e2b-8e2f-123456789abc - remote_id: mem-001 - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - user_id: a1234567-89ab-cdef-0123-456789abcdef - conversation_id: a1234567-89ab-cdef-0123-456789abcdef - body: Hello World - subject_line: Hello World - root_message_id: a1234567-89ab-cdef-0123-456789abcdef - url: https://example.com/messages/mem-001 - remote_created_at: '2021-09-15T00:00:00Z' - remote_updated_at: '2021-09-16T00:00:00Z' - remote_was_deleted: true - retrieve: - path: /chat/v1/messages/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns a `Message` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: MessagesRetrieveRequest - query-parameters: - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - response: - docs: '' - type: root.Message - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - include_remote_data: true - include_shell_data: true - headers: - X-Account-Token: X-Account-Token - response: - body: - id: m1f2d8a4-9f7a-4e2b-8e2f-123456789abc - remote_id: mem-001 - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - user_id: a1234567-89ab-cdef-0123-456789abcdef - conversation_id: a1234567-89ab-cdef-0123-456789abcdef - body: Hello World - subject_line: Hello World - root_message_id: a1234567-89ab-cdef-0123-456789abcdef - url: https://example.com/messages/mem-001 - remote_created_at: '2021-09-15T00:00:00Z' - remote_updated_at: '2021-09-16T00:00:00Z' - remote_was_deleted: true - repliesList: - path: /chat/v1/messages/{message_id}/replies - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `Message` objects. - source: - openapi: openapi/openapi.yml - path-parameters: - message_id: string - request: - name: MessagesRepliesListRequest - query-parameters: - cursor: - type: optional - docs: The pagination cursor value. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - order_by: - type: optional - docs: >- - Overrides the default ordering for this endpoint. Possible values - include: remote_created_at, -remote_created_at. - page_size: - type: optional - docs: Number of results to return per page. The maximum limit is 100. - response: - docs: '' - type: root.PaginatedMessageList - status-code: 200 - examples: - - path-parameters: - message_id: message_id - query-parameters: - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - include_deleted_data: true - include_remote_data: true - include_shell_data: true - order_by: '-remote_created_at' - page_size: 1 - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: m1f2d8a4-9f7a-4e2b-8e2f-123456789abc - remote_id: mem-001 - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - user_id: a1234567-89ab-cdef-0123-456789abcdef - conversation_id: a1234567-89ab-cdef-0123-456789abcdef - body: Hello World - subject_line: Hello World - root_message_id: a1234567-89ab-cdef-0123-456789abcdef - url: https://example.com/messages/mem-001 - remote_created_at: '2021-09-15T00:00:00Z' - remote_updated_at: '2021-09-16T00:00:00Z' - remote_was_deleted: true - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/chat/passthrough.yml b/.mock/definition/chat/passthrough.yml deleted file mode 100644 index ae7ea1ed..00000000 --- a/.mock/definition/chat/passthrough.yml +++ /dev/null @@ -1,46 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - create: - path: /chat/v1/passthrough - method: POST - auth: - - tokenAuth: [] - docs: Pull data from an endpoint not currently supported by Merge. - source: - openapi: openapi/openapi.yml - request: - body: root.DataPassthroughRequest - content-type: application/json - response: - docs: '' - type: root.RemoteResponse - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - request: - method: GET - path: /scooters - response: - body: - method: GET - path: /scooters - status: 200 - response: - scooters: - - company: Lime - model: Gen 2.5 - - company: Bird - model: Bird Zero - response_headers: - X-Page-Token: value - response_type: JSON - headers: - EXTRA-HEADER: value - Authorization: - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/chat/regenerateKey.yml b/.mock/definition/chat/regenerateKey.yml deleted file mode 100644 index 2e39c1a7..00000000 --- a/.mock/definition/chat/regenerateKey.yml +++ /dev/null @@ -1,39 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - create: - path: /chat/v1/regenerate-key - method: POST - auth: - - tokenAuth: [] - docs: Exchange remote keys. - source: - openapi: openapi/openapi.yml - request: - name: RemoteKeyForRegenerationRequest - body: - properties: - name: - type: string - docs: The name of the remote key - validation: - minLength: 1 - content-type: application/json - response: - docs: '' - type: root.RemoteKey - status-code: 200 - examples: - - headers: - X-Account-Token: '[object Object]' - request: - name: Remote Deployment Key 1 - response: - body: - name: Remote Deployment Key 1 - key: hXY57W0g0WkdRHjCaPvwijK63fwfN-o_Wh7f30SLTq_uPCOLo-WFcA - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/chat/scopes.yml b/.mock/definition/chat/scopes.yml deleted file mode 100644 index 3f2b2c22..00000000 --- a/.mock/definition/chat/scopes.yml +++ /dev/null @@ -1,167 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - default_scopes_retrieve: - path: /chat/v1/default-scopes - method: GET - auth: - - tokenAuth: [] - docs: >- - Get the default permissions for Merge Common Models and fields across - all Linked Accounts of a given category. [Learn - more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: root.CommonModelScopeApi - status-code: 200 - examples: - - headers: - X-Account-Token: '[object Object]' - response: - body: - common_models: - - model_name: Employee - model_permissions: - READ: - is_enabled: true - WRITE: - is_enabled: false - field_permissions: - enabled_fields: - - avatar - - created_at - - custom_fields - - date_of_birth - - first_name - - gender - - remote_created_at - - remote_data - disabled_fields: - - company - - employments - - groups - - home_location - - manager - - work_location - linked_account_scopes_retrieve: - path: /chat/v1/linked-account-scopes - method: GET - auth: - - tokenAuth: [] - docs: >- - Get all available permissions for Merge Common Models and fields for a - single Linked Account. [Learn - more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: root.CommonModelScopeApi - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - common_models: - - model_name: Employee - model_permissions: - READ: - is_enabled: true - WRITE: - is_enabled: false - field_permissions: - enabled_fields: - - avatar - - created_at - - custom_fields - - date_of_birth - - first_name - - gender - - remote_created_at - - remote_data - disabled_fields: - - company - - employments - - groups - - home_location - - manager - - work_location - linked_account_scopes_create: - path: /chat/v1/linked-account-scopes - method: POST - auth: - - tokenAuth: [] - docs: >- - Update permissions for any Common Model or field for a single Linked - Account. Any Scopes not set in this POST request will inherit the - default Scopes. [Learn - more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes) - source: - openapi: openapi/openapi.yml - request: - name: LinkedAccountCommonModelScopeDeserializerRequest - body: - properties: - common_models: - docs: The common models you want to update the scopes for - type: list - content-type: application/json - response: - docs: '' - type: root.CommonModelScopeApi - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - request: - common_models: - - model_name: Employee - model_permissions: - READ: - is_enabled: true - WRITE: - is_enabled: false - field_permissions: - enabled_fields: - - avatar - - home_location - disabled_fields: - - work_location - - model_name: Benefit - model_permissions: - WRITE: - is_enabled: false - response: - body: - common_models: - - model_name: Employee - model_permissions: - READ: - is_enabled: true - WRITE: - is_enabled: false - field_permissions: - enabled_fields: - - avatar - - created_at - - custom_fields - - date_of_birth - - first_name - - gender - - remote_created_at - - remote_data - disabled_fields: - - company - - employments - - groups - - home_location - - manager - - work_location - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/chat/syncStatus.yml b/.mock/definition/chat/syncStatus.yml deleted file mode 100644 index caff545c..00000000 --- a/.mock/definition/chat/syncStatus.yml +++ /dev/null @@ -1,60 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /chat/v1/sync-status - method: GET - auth: - - tokenAuth: [] - docs: >- - Get sync status for the current sync and the most recently finished - sync. `last_sync_start` represents the most recent time any sync began. - `last_sync_finished` represents the most recent time any sync completed. - These timestamps may correspond to different sync instances which may - result in a sync start time being later than a separate sync completed - time. To ensure you are retrieving the latest available data reference - the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. - Possible values for `status` and `last_sync_result` are `DISABLED`, - `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more - about sync status in our [Help - Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). - source: - openapi: openapi/openapi.yml - request: - name: SyncStatusListRequest - query-parameters: - cursor: - type: optional - docs: The pagination cursor value. - page_size: - type: optional - docs: Number of results to return per page. The maximum limit is 100. - response: - docs: '' - type: root.PaginatedSyncStatusList - status-code: 200 - examples: - - query-parameters: - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - page_size: 1 - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - model_name: Candidate - model_id: ats.Candidate - last_sync_start: '2021-03-30T19:44:18Z' - next_sync_start: '2021-03-30T20:44:18Z' - last_sync_result: SYNCING - last_sync_finished: '2021-03-30T19:55:18Z' - status: SYNCING - is_initial_sync: true - selective_sync_configurations_usage: IN_NEXT_SYNC - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/chat/users.yml b/.mock/definition/chat/users.yml deleted file mode 100644 index 843f74e6..00000000 --- a/.mock/definition/chat/users.yml +++ /dev/null @@ -1,184 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /chat/v1/users - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `User` objects. - source: - openapi: openapi/openapi.yml - request: - name: UsersListRequest - query-parameters: - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - expand: - type: optional> - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - page_size: - type: optional - docs: Number of results to return per page. The maximum limit is 100. - remote_id: - type: optional - docs: The API provider's ID for the given object. - response: - docs: '' - type: root.PaginatedUserList - status-code: 200 - examples: - - query-parameters: - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - expand: groups - include_deleted_data: true - include_remote_data: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - page_size: 1 - remote_id: remote_id - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: a1234567-89ab-cdef-0123-456789abcdef - remote_id: '77431241242' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - username: alice - display_name: Alice Smith - first_name: Alice - last_name: Smith - is_bot: true - groups: - - groups - avatar: https://merge.dev/user_profile_pic.png - remote_created_at: '2021-09-15T00:00:00Z' - remote_updated_at: '2021-09-16T00:00:00Z' - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /users - data: - platform_specific: example - retrieve: - path: /chat/v1/users/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns a `User` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: UsersRetrieveRequest - query-parameters: - expand: - type: optional> - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - response: - docs: '' - type: root.User - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - expand: groups - include_remote_data: true - include_shell_data: true - headers: - X-Account-Token: X-Account-Token - response: - body: - id: a1234567-89ab-cdef-0123-456789abcdef - remote_id: '77431241242' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - username: alice - display_name: Alice Smith - first_name: Alice - last_name: Smith - is_bot: true - groups: - - groups - avatar: https://merge.dev/user_profile_pic.png - remote_created_at: '2021-09-15T00:00:00Z' - remote_updated_at: '2021-09-16T00:00:00Z' - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /users - data: - platform_specific: example - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/chat/webhookReceivers.yml b/.mock/definition/chat/webhookReceivers.yml deleted file mode 100644 index 202bfb88..00000000 --- a/.mock/definition/chat/webhookReceivers.yml +++ /dev/null @@ -1,65 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /chat/v1/webhook-receivers - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `WebhookReceiver` objects. - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: list - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - - event: event - is_active: true - key: key - create: - path: /chat/v1/webhook-receivers - method: POST - auth: - - tokenAuth: [] - docs: Creates a `WebhookReceiver` object with the given values. - source: - openapi: openapi/openapi.yml - request: - name: WebhookReceiverRequest - body: - properties: - event: - type: string - validation: - minLength: 1 - is_active: boolean - key: - type: optional - validation: - minLength: 1 - content-type: application/json - response: - docs: '' - type: root.WebhookReceiver - status-code: 201 - examples: - - headers: - X-Account-Token: X-Account-Token - request: - event: event - is_active: true - response: - body: - event: event - is_active: true - key: key - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/crm/__package__.yml b/.mock/definition/crm/__package__.yml deleted file mode 100644 index c2f1308b..00000000 --- a/.mock/definition/crm/__package__.yml +++ /dev/null @@ -1,5745 +0,0 @@ -types: - AccountOwner: - discriminated: false - docs: The account's owner. - union: - - type: string - validation: - format: uuid - - User - source: - openapi: openapi/openapi.yml - inline: true - Account: - docs: |- - # The Account Object - ### Description - The `Account` object is used to represent a company in a CRM system. - ### Usage Example - TODO - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - owner: - type: optional - docs: The account's owner. - name: - type: optional - docs: The account's name. - description: - type: optional - docs: The account's description. - industry: - type: optional - docs: The account's industry. - website: - type: optional - docs: The account's website. - validation: - format: uri - maxLength: 2000 - number_of_employees: - type: optional - docs: The account's number of employees. - validation: - min: -2147483648 - max: 2147483647 - addresses: optional> - phone_numbers: - type: optional> - access: read-only - last_activity_at: - type: optional - docs: >- - The last date (either most recent or furthest in the future) of when - an activity occurs in an account. - remote_updated_at: - type: optional - docs: >- - When the CRM system account data was last modified by a user with a - login. - remote_created_at: - type: optional - docs: When the third party's account was created. - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - remote_fields: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - AccountDetailsCategory: - discriminated: false - union: - - CategoryEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - AccountDetails: - properties: - id: - type: optional - validation: - format: uuid - access: read-only - integration: - type: optional - access: read-only - integration_slug: - type: optional - access: read-only - category: optional - end_user_origin_id: - type: optional - access: read-only - end_user_organization_name: - type: optional - access: read-only - end_user_email_address: - type: optional - validation: - format: email - access: read-only - status: - type: optional - access: read-only - webhook_listener_url: - type: optional - validation: - format: uri - access: read-only - is_duplicate: - type: optional - docs: >- - Whether a Production Linked Account's credentials match another - existing Production Linked Account. This field is `null` for Test - Linked Accounts, incomplete Production Linked Accounts, and ignored - duplicate Production Linked Account sets. - access: read-only - account_type: - type: optional - access: read-only - completed_at: - type: optional - docs: The time at which account completes the linking flow. - source: - openapi: openapi/openapi.yml - AccountDetailsAndActionsCategory: - discriminated: false - union: - - CategoryEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - AccountDetailsAndActionsStatus: - discriminated: false - union: - - AccountDetailsAndActionsStatusEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - AccountDetailsAndActions: - docs: >- - # The LinkedAccount Object - - ### Description - - The `LinkedAccount` object is used to represent an end user's link with a - specific integration. - - - ### Usage Example - - View a list of your organization's `LinkedAccount` objects. - properties: - id: string - category: optional - status: AccountDetailsAndActionsStatus - status_detail: optional - end_user_origin_id: optional - end_user_organization_name: string - end_user_email_address: string - subdomain: - type: optional - docs: The tenant or domain the customer has provided access to. - webhook_listener_url: string - is_duplicate: - type: optional - docs: >- - Whether a Production Linked Account's credentials match another - existing Production Linked Account. This field is `null` for Test - Linked Accounts, incomplete Production Linked Accounts, and ignored - duplicate Production Linked Account sets. - integration: optional - account_type: string - completed_at: datetime - source: - openapi: openapi/openapi.yml - AccountDetailsAndActionsIntegration: - properties: - name: string - categories: list - image: optional - square_image: optional - color: string - slug: string - passthrough_available: boolean - available_model_operations: optional> - source: - openapi: openapi/openapi.yml - AccountDetailsAndActionsStatusEnum: - enum: - - COMPLETE - - INCOMPLETE - - RELINK_NEEDED - - IDLE - docs: |- - * `COMPLETE` - COMPLETE - * `INCOMPLETE` - INCOMPLETE - * `RELINK_NEEDED` - RELINK_NEEDED - * `IDLE` - IDLE - source: - openapi: openapi/openapi.yml - AccountIntegration: - properties: - name: - type: string - docs: Company name. - abbreviated_name: - type: optional - docs: >- - Optional. This shortened name appears in places with limited space, - usually in conjunction with the platform's logo (e.g., Merge Link - menu).

Example: Workforce Now (in lieu of ADP Workforce - Now), SuccessFactors (in lieu of SAP SuccessFactors) - categories: - type: optional> - docs: >- - Category or categories this integration belongs to. Multiple - categories should be comma separated, i.e. [ats, hris]. - access: read-only - image: - type: optional - docs: Company logo in rectangular shape. - validation: - format: uri - square_image: - type: optional - docs: Company logo in square shape. - validation: - format: uri - color: - type: optional - docs: >- - The color of this integration used for buttons and text throughout the - app and landing pages. Choose a darker, saturated color. - validation: - pattern: ^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$ - maxLength: 18 - slug: - type: optional - access: read-only - api_endpoints_to_documentation_urls: - type: optional> - docs: >- - Mapping of API endpoints to documentation urls for support. Example: - {'GET': [['/common-model-scopes', - 'https://docs.merge.dev/accounting/common-model-scopes/#common_model_scopes_retrieve'],['/common-model-actions', - 'https://docs.merge.dev/accounting/common-model-actions/#common_model_actions_retrieve']], - 'POST': []} - webhook_setup_guide_url: - type: optional - docs: >- - Setup guide URL for third party webhook creation. Exposed in Merge - Docs. - category_beta_status: - type: optional> - docs: Category or categories this integration is in beta status for. - access: read-only - source: - openapi: openapi/openapi.yml - AccountRequestOwner: - discriminated: false - docs: The account's owner. - union: - - type: string - validation: - format: uuid - - User - source: - openapi: openapi/openapi.yml - inline: true - AccountRequest: - docs: |- - # The Account Object - ### Description - The `Account` object is used to represent a company in a CRM system. - ### Usage Example - TODO - properties: - owner: - type: optional - docs: The account's owner. - name: - type: optional - docs: The account's name. - description: - type: optional - docs: The account's description. - industry: - type: optional - docs: The account's industry. - website: - type: optional - docs: The account's website. - validation: - format: uri - maxLength: 2000 - number_of_employees: - type: optional - docs: The account's number of employees. - validation: - min: -2147483648 - max: 2147483647 - addresses: optional> - last_activity_at: - type: optional - docs: >- - The last date (either most recent or furthest in the future) of when - an activity occurs in an account. - integration_params: - type: optional> - access: write-only - linked_account_params: - type: optional> - access: write-only - remote_fields: - type: optional> - access: write-only - source: - openapi: openapi/openapi.yml - AccountToken: - properties: - account_token: string - integration: AccountIntegration - id: string - source: - openapi: openapi/openapi.yml - ActivityTypeEnum: - enum: - - CALL - - MEETING - - EMAIL - docs: |- - * `CALL` - CALL - * `MEETING` - MEETING - * `EMAIL` - EMAIL - source: - openapi: openapi/openapi.yml - AddressCountry: - discriminated: false - docs: |- - The address's country. - - * `AF` - Afghanistan - * `AX` - Åland Islands - * `AL` - Albania - * `DZ` - Algeria - * `AS` - American Samoa - * `AD` - Andorra - * `AO` - Angola - * `AI` - Anguilla - * `AQ` - Antarctica - * `AG` - Antigua and Barbuda - * `AR` - Argentina - * `AM` - Armenia - * `AW` - Aruba - * `AU` - Australia - * `AT` - Austria - * `AZ` - Azerbaijan - * `BS` - Bahamas - * `BH` - Bahrain - * `BD` - Bangladesh - * `BB` - Barbados - * `BY` - Belarus - * `BE` - Belgium - * `BZ` - Belize - * `BJ` - Benin - * `BM` - Bermuda - * `BT` - Bhutan - * `BO` - Bolivia - * `BQ` - Bonaire, Sint Eustatius and Saba - * `BA` - Bosnia and Herzegovina - * `BW` - Botswana - * `BV` - Bouvet Island - * `BR` - Brazil - * `IO` - British Indian Ocean Territory - * `BN` - Brunei - * `BG` - Bulgaria - * `BF` - Burkina Faso - * `BI` - Burundi - * `CV` - Cabo Verde - * `KH` - Cambodia - * `CM` - Cameroon - * `CA` - Canada - * `KY` - Cayman Islands - * `CF` - Central African Republic - * `TD` - Chad - * `CL` - Chile - * `CN` - China - * `CX` - Christmas Island - * `CC` - Cocos (Keeling) Islands - * `CO` - Colombia - * `KM` - Comoros - * `CG` - Congo - * `CD` - Congo (the Democratic Republic of the) - * `CK` - Cook Islands - * `CR` - Costa Rica - * `CI` - Côte d'Ivoire - * `HR` - Croatia - * `CU` - Cuba - * `CW` - Curaçao - * `CY` - Cyprus - * `CZ` - Czechia - * `DK` - Denmark - * `DJ` - Djibouti - * `DM` - Dominica - * `DO` - Dominican Republic - * `EC` - Ecuador - * `EG` - Egypt - * `SV` - El Salvador - * `GQ` - Equatorial Guinea - * `ER` - Eritrea - * `EE` - Estonia - * `SZ` - Eswatini - * `ET` - Ethiopia - * `FK` - Falkland Islands (Malvinas) - * `FO` - Faroe Islands - * `FJ` - Fiji - * `FI` - Finland - * `FR` - France - * `GF` - French Guiana - * `PF` - French Polynesia - * `TF` - French Southern Territories - * `GA` - Gabon - * `GM` - Gambia - * `GE` - Georgia - * `DE` - Germany - * `GH` - Ghana - * `GI` - Gibraltar - * `GR` - Greece - * `GL` - Greenland - * `GD` - Grenada - * `GP` - Guadeloupe - * `GU` - Guam - * `GT` - Guatemala - * `GG` - Guernsey - * `GN` - Guinea - * `GW` - Guinea-Bissau - * `GY` - Guyana - * `HT` - Haiti - * `HM` - Heard Island and McDonald Islands - * `VA` - Holy See - * `HN` - Honduras - * `HK` - Hong Kong - * `HU` - Hungary - * `IS` - Iceland - * `IN` - India - * `ID` - Indonesia - * `IR` - Iran - * `IQ` - Iraq - * `IE` - Ireland - * `IM` - Isle of Man - * `IL` - Israel - * `IT` - Italy - * `JM` - Jamaica - * `JP` - Japan - * `JE` - Jersey - * `JO` - Jordan - * `KZ` - Kazakhstan - * `KE` - Kenya - * `KI` - Kiribati - * `KW` - Kuwait - * `KG` - Kyrgyzstan - * `LA` - Laos - * `LV` - Latvia - * `LB` - Lebanon - * `LS` - Lesotho - * `LR` - Liberia - * `LY` - Libya - * `LI` - Liechtenstein - * `LT` - Lithuania - * `LU` - Luxembourg - * `MO` - Macao - * `MG` - Madagascar - * `MW` - Malawi - * `MY` - Malaysia - * `MV` - Maldives - * `ML` - Mali - * `MT` - Malta - * `MH` - Marshall Islands - * `MQ` - Martinique - * `MR` - Mauritania - * `MU` - Mauritius - * `YT` - Mayotte - * `MX` - Mexico - * `FM` - Micronesia (Federated States of) - * `MD` - Moldova - * `MC` - Monaco - * `MN` - Mongolia - * `ME` - Montenegro - * `MS` - Montserrat - * `MA` - Morocco - * `MZ` - Mozambique - * `MM` - Myanmar - * `NA` - Namibia - * `NR` - Nauru - * `NP` - Nepal - * `NL` - Netherlands - * `NC` - New Caledonia - * `NZ` - New Zealand - * `NI` - Nicaragua - * `NE` - Niger - * `NG` - Nigeria - * `NU` - Niue - * `NF` - Norfolk Island - * `KP` - North Korea - * `MK` - North Macedonia - * `MP` - Northern Mariana Islands - * `NO` - Norway - * `OM` - Oman - * `PK` - Pakistan - * `PW` - Palau - * `PS` - Palestine, State of - * `PA` - Panama - * `PG` - Papua New Guinea - * `PY` - Paraguay - * `PE` - Peru - * `PH` - Philippines - * `PN` - Pitcairn - * `PL` - Poland - * `PT` - Portugal - * `PR` - Puerto Rico - * `QA` - Qatar - * `RE` - Réunion - * `RO` - Romania - * `RU` - Russia - * `RW` - Rwanda - * `BL` - Saint Barthélemy - * `SH` - Saint Helena, Ascension and Tristan da Cunha - * `KN` - Saint Kitts and Nevis - * `LC` - Saint Lucia - * `MF` - Saint Martin (French part) - * `PM` - Saint Pierre and Miquelon - * `VC` - Saint Vincent and the Grenadines - * `WS` - Samoa - * `SM` - San Marino - * `ST` - Sao Tome and Principe - * `SA` - Saudi Arabia - * `SN` - Senegal - * `RS` - Serbia - * `SC` - Seychelles - * `SL` - Sierra Leone - * `SG` - Singapore - * `SX` - Sint Maarten (Dutch part) - * `SK` - Slovakia - * `SI` - Slovenia - * `SB` - Solomon Islands - * `SO` - Somalia - * `ZA` - South Africa - * `GS` - South Georgia and the South Sandwich Islands - * `KR` - South Korea - * `SS` - South Sudan - * `ES` - Spain - * `LK` - Sri Lanka - * `SD` - Sudan - * `SR` - Suriname - * `SJ` - Svalbard and Jan Mayen - * `SE` - Sweden - * `CH` - Switzerland - * `SY` - Syria - * `TW` - Taiwan - * `TJ` - Tajikistan - * `TZ` - Tanzania - * `TH` - Thailand - * `TL` - Timor-Leste - * `TG` - Togo - * `TK` - Tokelau - * `TO` - Tonga - * `TT` - Trinidad and Tobago - * `TN` - Tunisia - * `TR` - Turkey - * `TM` - Turkmenistan - * `TC` - Turks and Caicos Islands - * `TV` - Tuvalu - * `UG` - Uganda - * `UA` - Ukraine - * `AE` - United Arab Emirates - * `GB` - United Kingdom - * `UM` - United States Minor Outlying Islands - * `US` - United States of America - * `UY` - Uruguay - * `UZ` - Uzbekistan - * `VU` - Vanuatu - * `VE` - Venezuela - * `VN` - Vietnam - * `VG` - Virgin Islands (British) - * `VI` - Virgin Islands (U.S.) - * `WF` - Wallis and Futuna - * `EH` - Western Sahara - * `YE` - Yemen - * `ZM` - Zambia - * `ZW` - Zimbabwe - union: - - CountryEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - AddressAddressType: - discriminated: false - docs: |- - The address type. - - * `BILLING` - BILLING - * `SHIPPING` - SHIPPING - union: - - AddressTypeEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - Address: - docs: |- - # The Address Object - ### Description - The `Address` object is used to represent an entity's address. - ### Usage Example - TODO - properties: - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - street_1: - type: optional - docs: Line 1 of the address's street. - street_2: - type: optional - docs: Line 2 of the address's street. - city: - type: optional - docs: The address's city. - state: - type: optional - docs: The address's state. - postal_code: - type: optional - docs: The address's postal code. - country: - type: optional - docs: |- - The address's country. - - * `AF` - Afghanistan - * `AX` - Åland Islands - * `AL` - Albania - * `DZ` - Algeria - * `AS` - American Samoa - * `AD` - Andorra - * `AO` - Angola - * `AI` - Anguilla - * `AQ` - Antarctica - * `AG` - Antigua and Barbuda - * `AR` - Argentina - * `AM` - Armenia - * `AW` - Aruba - * `AU` - Australia - * `AT` - Austria - * `AZ` - Azerbaijan - * `BS` - Bahamas - * `BH` - Bahrain - * `BD` - Bangladesh - * `BB` - Barbados - * `BY` - Belarus - * `BE` - Belgium - * `BZ` - Belize - * `BJ` - Benin - * `BM` - Bermuda - * `BT` - Bhutan - * `BO` - Bolivia - * `BQ` - Bonaire, Sint Eustatius and Saba - * `BA` - Bosnia and Herzegovina - * `BW` - Botswana - * `BV` - Bouvet Island - * `BR` - Brazil - * `IO` - British Indian Ocean Territory - * `BN` - Brunei - * `BG` - Bulgaria - * `BF` - Burkina Faso - * `BI` - Burundi - * `CV` - Cabo Verde - * `KH` - Cambodia - * `CM` - Cameroon - * `CA` - Canada - * `KY` - Cayman Islands - * `CF` - Central African Republic - * `TD` - Chad - * `CL` - Chile - * `CN` - China - * `CX` - Christmas Island - * `CC` - Cocos (Keeling) Islands - * `CO` - Colombia - * `KM` - Comoros - * `CG` - Congo - * `CD` - Congo (the Democratic Republic of the) - * `CK` - Cook Islands - * `CR` - Costa Rica - * `CI` - Côte d'Ivoire - * `HR` - Croatia - * `CU` - Cuba - * `CW` - Curaçao - * `CY` - Cyprus - * `CZ` - Czechia - * `DK` - Denmark - * `DJ` - Djibouti - * `DM` - Dominica - * `DO` - Dominican Republic - * `EC` - Ecuador - * `EG` - Egypt - * `SV` - El Salvador - * `GQ` - Equatorial Guinea - * `ER` - Eritrea - * `EE` - Estonia - * `SZ` - Eswatini - * `ET` - Ethiopia - * `FK` - Falkland Islands (Malvinas) - * `FO` - Faroe Islands - * `FJ` - Fiji - * `FI` - Finland - * `FR` - France - * `GF` - French Guiana - * `PF` - French Polynesia - * `TF` - French Southern Territories - * `GA` - Gabon - * `GM` - Gambia - * `GE` - Georgia - * `DE` - Germany - * `GH` - Ghana - * `GI` - Gibraltar - * `GR` - Greece - * `GL` - Greenland - * `GD` - Grenada - * `GP` - Guadeloupe - * `GU` - Guam - * `GT` - Guatemala - * `GG` - Guernsey - * `GN` - Guinea - * `GW` - Guinea-Bissau - * `GY` - Guyana - * `HT` - Haiti - * `HM` - Heard Island and McDonald Islands - * `VA` - Holy See - * `HN` - Honduras - * `HK` - Hong Kong - * `HU` - Hungary - * `IS` - Iceland - * `IN` - India - * `ID` - Indonesia - * `IR` - Iran - * `IQ` - Iraq - * `IE` - Ireland - * `IM` - Isle of Man - * `IL` - Israel - * `IT` - Italy - * `JM` - Jamaica - * `JP` - Japan - * `JE` - Jersey - * `JO` - Jordan - * `KZ` - Kazakhstan - * `KE` - Kenya - * `KI` - Kiribati - * `KW` - Kuwait - * `KG` - Kyrgyzstan - * `LA` - Laos - * `LV` - Latvia - * `LB` - Lebanon - * `LS` - Lesotho - * `LR` - Liberia - * `LY` - Libya - * `LI` - Liechtenstein - * `LT` - Lithuania - * `LU` - Luxembourg - * `MO` - Macao - * `MG` - Madagascar - * `MW` - Malawi - * `MY` - Malaysia - * `MV` - Maldives - * `ML` - Mali - * `MT` - Malta - * `MH` - Marshall Islands - * `MQ` - Martinique - * `MR` - Mauritania - * `MU` - Mauritius - * `YT` - Mayotte - * `MX` - Mexico - * `FM` - Micronesia (Federated States of) - * `MD` - Moldova - * `MC` - Monaco - * `MN` - Mongolia - * `ME` - Montenegro - * `MS` - Montserrat - * `MA` - Morocco - * `MZ` - Mozambique - * `MM` - Myanmar - * `NA` - Namibia - * `NR` - Nauru - * `NP` - Nepal - * `NL` - Netherlands - * `NC` - New Caledonia - * `NZ` - New Zealand - * `NI` - Nicaragua - * `NE` - Niger - * `NG` - Nigeria - * `NU` - Niue - * `NF` - Norfolk Island - * `KP` - North Korea - * `MK` - North Macedonia - * `MP` - Northern Mariana Islands - * `NO` - Norway - * `OM` - Oman - * `PK` - Pakistan - * `PW` - Palau - * `PS` - Palestine, State of - * `PA` - Panama - * `PG` - Papua New Guinea - * `PY` - Paraguay - * `PE` - Peru - * `PH` - Philippines - * `PN` - Pitcairn - * `PL` - Poland - * `PT` - Portugal - * `PR` - Puerto Rico - * `QA` - Qatar - * `RE` - Réunion - * `RO` - Romania - * `RU` - Russia - * `RW` - Rwanda - * `BL` - Saint Barthélemy - * `SH` - Saint Helena, Ascension and Tristan da Cunha - * `KN` - Saint Kitts and Nevis - * `LC` - Saint Lucia - * `MF` - Saint Martin (French part) - * `PM` - Saint Pierre and Miquelon - * `VC` - Saint Vincent and the Grenadines - * `WS` - Samoa - * `SM` - San Marino - * `ST` - Sao Tome and Principe - * `SA` - Saudi Arabia - * `SN` - Senegal - * `RS` - Serbia - * `SC` - Seychelles - * `SL` - Sierra Leone - * `SG` - Singapore - * `SX` - Sint Maarten (Dutch part) - * `SK` - Slovakia - * `SI` - Slovenia - * `SB` - Solomon Islands - * `SO` - Somalia - * `ZA` - South Africa - * `GS` - South Georgia and the South Sandwich Islands - * `KR` - South Korea - * `SS` - South Sudan - * `ES` - Spain - * `LK` - Sri Lanka - * `SD` - Sudan - * `SR` - Suriname - * `SJ` - Svalbard and Jan Mayen - * `SE` - Sweden - * `CH` - Switzerland - * `SY` - Syria - * `TW` - Taiwan - * `TJ` - Tajikistan - * `TZ` - Tanzania - * `TH` - Thailand - * `TL` - Timor-Leste - * `TG` - Togo - * `TK` - Tokelau - * `TO` - Tonga - * `TT` - Trinidad and Tobago - * `TN` - Tunisia - * `TR` - Turkey - * `TM` - Turkmenistan - * `TC` - Turks and Caicos Islands - * `TV` - Tuvalu - * `UG` - Uganda - * `UA` - Ukraine - * `AE` - United Arab Emirates - * `GB` - United Kingdom - * `UM` - United States Minor Outlying Islands - * `US` - United States of America - * `UY` - Uruguay - * `UZ` - Uzbekistan - * `VU` - Vanuatu - * `VE` - Venezuela - * `VN` - Vietnam - * `VG` - Virgin Islands (British) - * `VI` - Virgin Islands (U.S.) - * `WF` - Wallis and Futuna - * `EH` - Western Sahara - * `YE` - Yemen - * `ZM` - Zambia - * `ZW` - Zimbabwe - address_type: - type: optional - docs: |- - The address type. - - * `BILLING` - BILLING - * `SHIPPING` - SHIPPING - source: - openapi: openapi/openapi.yml - AddressRequestCountry: - discriminated: false - docs: |- - The address's country. - - * `AF` - Afghanistan - * `AX` - Åland Islands - * `AL` - Albania - * `DZ` - Algeria - * `AS` - American Samoa - * `AD` - Andorra - * `AO` - Angola - * `AI` - Anguilla - * `AQ` - Antarctica - * `AG` - Antigua and Barbuda - * `AR` - Argentina - * `AM` - Armenia - * `AW` - Aruba - * `AU` - Australia - * `AT` - Austria - * `AZ` - Azerbaijan - * `BS` - Bahamas - * `BH` - Bahrain - * `BD` - Bangladesh - * `BB` - Barbados - * `BY` - Belarus - * `BE` - Belgium - * `BZ` - Belize - * `BJ` - Benin - * `BM` - Bermuda - * `BT` - Bhutan - * `BO` - Bolivia - * `BQ` - Bonaire, Sint Eustatius and Saba - * `BA` - Bosnia and Herzegovina - * `BW` - Botswana - * `BV` - Bouvet Island - * `BR` - Brazil - * `IO` - British Indian Ocean Territory - * `BN` - Brunei - * `BG` - Bulgaria - * `BF` - Burkina Faso - * `BI` - Burundi - * `CV` - Cabo Verde - * `KH` - Cambodia - * `CM` - Cameroon - * `CA` - Canada - * `KY` - Cayman Islands - * `CF` - Central African Republic - * `TD` - Chad - * `CL` - Chile - * `CN` - China - * `CX` - Christmas Island - * `CC` - Cocos (Keeling) Islands - * `CO` - Colombia - * `KM` - Comoros - * `CG` - Congo - * `CD` - Congo (the Democratic Republic of the) - * `CK` - Cook Islands - * `CR` - Costa Rica - * `CI` - Côte d'Ivoire - * `HR` - Croatia - * `CU` - Cuba - * `CW` - Curaçao - * `CY` - Cyprus - * `CZ` - Czechia - * `DK` - Denmark - * `DJ` - Djibouti - * `DM` - Dominica - * `DO` - Dominican Republic - * `EC` - Ecuador - * `EG` - Egypt - * `SV` - El Salvador - * `GQ` - Equatorial Guinea - * `ER` - Eritrea - * `EE` - Estonia - * `SZ` - Eswatini - * `ET` - Ethiopia - * `FK` - Falkland Islands (Malvinas) - * `FO` - Faroe Islands - * `FJ` - Fiji - * `FI` - Finland - * `FR` - France - * `GF` - French Guiana - * `PF` - French Polynesia - * `TF` - French Southern Territories - * `GA` - Gabon - * `GM` - Gambia - * `GE` - Georgia - * `DE` - Germany - * `GH` - Ghana - * `GI` - Gibraltar - * `GR` - Greece - * `GL` - Greenland - * `GD` - Grenada - * `GP` - Guadeloupe - * `GU` - Guam - * `GT` - Guatemala - * `GG` - Guernsey - * `GN` - Guinea - * `GW` - Guinea-Bissau - * `GY` - Guyana - * `HT` - Haiti - * `HM` - Heard Island and McDonald Islands - * `VA` - Holy See - * `HN` - Honduras - * `HK` - Hong Kong - * `HU` - Hungary - * `IS` - Iceland - * `IN` - India - * `ID` - Indonesia - * `IR` - Iran - * `IQ` - Iraq - * `IE` - Ireland - * `IM` - Isle of Man - * `IL` - Israel - * `IT` - Italy - * `JM` - Jamaica - * `JP` - Japan - * `JE` - Jersey - * `JO` - Jordan - * `KZ` - Kazakhstan - * `KE` - Kenya - * `KI` - Kiribati - * `KW` - Kuwait - * `KG` - Kyrgyzstan - * `LA` - Laos - * `LV` - Latvia - * `LB` - Lebanon - * `LS` - Lesotho - * `LR` - Liberia - * `LY` - Libya - * `LI` - Liechtenstein - * `LT` - Lithuania - * `LU` - Luxembourg - * `MO` - Macao - * `MG` - Madagascar - * `MW` - Malawi - * `MY` - Malaysia - * `MV` - Maldives - * `ML` - Mali - * `MT` - Malta - * `MH` - Marshall Islands - * `MQ` - Martinique - * `MR` - Mauritania - * `MU` - Mauritius - * `YT` - Mayotte - * `MX` - Mexico - * `FM` - Micronesia (Federated States of) - * `MD` - Moldova - * `MC` - Monaco - * `MN` - Mongolia - * `ME` - Montenegro - * `MS` - Montserrat - * `MA` - Morocco - * `MZ` - Mozambique - * `MM` - Myanmar - * `NA` - Namibia - * `NR` - Nauru - * `NP` - Nepal - * `NL` - Netherlands - * `NC` - New Caledonia - * `NZ` - New Zealand - * `NI` - Nicaragua - * `NE` - Niger - * `NG` - Nigeria - * `NU` - Niue - * `NF` - Norfolk Island - * `KP` - North Korea - * `MK` - North Macedonia - * `MP` - Northern Mariana Islands - * `NO` - Norway - * `OM` - Oman - * `PK` - Pakistan - * `PW` - Palau - * `PS` - Palestine, State of - * `PA` - Panama - * `PG` - Papua New Guinea - * `PY` - Paraguay - * `PE` - Peru - * `PH` - Philippines - * `PN` - Pitcairn - * `PL` - Poland - * `PT` - Portugal - * `PR` - Puerto Rico - * `QA` - Qatar - * `RE` - Réunion - * `RO` - Romania - * `RU` - Russia - * `RW` - Rwanda - * `BL` - Saint Barthélemy - * `SH` - Saint Helena, Ascension and Tristan da Cunha - * `KN` - Saint Kitts and Nevis - * `LC` - Saint Lucia - * `MF` - Saint Martin (French part) - * `PM` - Saint Pierre and Miquelon - * `VC` - Saint Vincent and the Grenadines - * `WS` - Samoa - * `SM` - San Marino - * `ST` - Sao Tome and Principe - * `SA` - Saudi Arabia - * `SN` - Senegal - * `RS` - Serbia - * `SC` - Seychelles - * `SL` - Sierra Leone - * `SG` - Singapore - * `SX` - Sint Maarten (Dutch part) - * `SK` - Slovakia - * `SI` - Slovenia - * `SB` - Solomon Islands - * `SO` - Somalia - * `ZA` - South Africa - * `GS` - South Georgia and the South Sandwich Islands - * `KR` - South Korea - * `SS` - South Sudan - * `ES` - Spain - * `LK` - Sri Lanka - * `SD` - Sudan - * `SR` - Suriname - * `SJ` - Svalbard and Jan Mayen - * `SE` - Sweden - * `CH` - Switzerland - * `SY` - Syria - * `TW` - Taiwan - * `TJ` - Tajikistan - * `TZ` - Tanzania - * `TH` - Thailand - * `TL` - Timor-Leste - * `TG` - Togo - * `TK` - Tokelau - * `TO` - Tonga - * `TT` - Trinidad and Tobago - * `TN` - Tunisia - * `TR` - Turkey - * `TM` - Turkmenistan - * `TC` - Turks and Caicos Islands - * `TV` - Tuvalu - * `UG` - Uganda - * `UA` - Ukraine - * `AE` - United Arab Emirates - * `GB` - United Kingdom - * `UM` - United States Minor Outlying Islands - * `US` - United States of America - * `UY` - Uruguay - * `UZ` - Uzbekistan - * `VU` - Vanuatu - * `VE` - Venezuela - * `VN` - Vietnam - * `VG` - Virgin Islands (British) - * `VI` - Virgin Islands (U.S.) - * `WF` - Wallis and Futuna - * `EH` - Western Sahara - * `YE` - Yemen - * `ZM` - Zambia - * `ZW` - Zimbabwe - union: - - CountryEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - AddressRequestAddressType: - discriminated: false - docs: |- - The address type. - - * `BILLING` - BILLING - * `SHIPPING` - SHIPPING - union: - - AddressTypeEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - AddressRequest: - docs: |- - # The Address Object - ### Description - The `Address` object is used to represent an entity's address. - ### Usage Example - TODO - properties: - street_1: - type: optional - docs: Line 1 of the address's street. - street_2: - type: optional - docs: Line 2 of the address's street. - city: - type: optional - docs: The address's city. - state: - type: optional - docs: The address's state. - postal_code: - type: optional - docs: The address's postal code. - country: - type: optional - docs: |- - The address's country. - - * `AF` - Afghanistan - * `AX` - Åland Islands - * `AL` - Albania - * `DZ` - Algeria - * `AS` - American Samoa - * `AD` - Andorra - * `AO` - Angola - * `AI` - Anguilla - * `AQ` - Antarctica - * `AG` - Antigua and Barbuda - * `AR` - Argentina - * `AM` - Armenia - * `AW` - Aruba - * `AU` - Australia - * `AT` - Austria - * `AZ` - Azerbaijan - * `BS` - Bahamas - * `BH` - Bahrain - * `BD` - Bangladesh - * `BB` - Barbados - * `BY` - Belarus - * `BE` - Belgium - * `BZ` - Belize - * `BJ` - Benin - * `BM` - Bermuda - * `BT` - Bhutan - * `BO` - Bolivia - * `BQ` - Bonaire, Sint Eustatius and Saba - * `BA` - Bosnia and Herzegovina - * `BW` - Botswana - * `BV` - Bouvet Island - * `BR` - Brazil - * `IO` - British Indian Ocean Territory - * `BN` - Brunei - * `BG` - Bulgaria - * `BF` - Burkina Faso - * `BI` - Burundi - * `CV` - Cabo Verde - * `KH` - Cambodia - * `CM` - Cameroon - * `CA` - Canada - * `KY` - Cayman Islands - * `CF` - Central African Republic - * `TD` - Chad - * `CL` - Chile - * `CN` - China - * `CX` - Christmas Island - * `CC` - Cocos (Keeling) Islands - * `CO` - Colombia - * `KM` - Comoros - * `CG` - Congo - * `CD` - Congo (the Democratic Republic of the) - * `CK` - Cook Islands - * `CR` - Costa Rica - * `CI` - Côte d'Ivoire - * `HR` - Croatia - * `CU` - Cuba - * `CW` - Curaçao - * `CY` - Cyprus - * `CZ` - Czechia - * `DK` - Denmark - * `DJ` - Djibouti - * `DM` - Dominica - * `DO` - Dominican Republic - * `EC` - Ecuador - * `EG` - Egypt - * `SV` - El Salvador - * `GQ` - Equatorial Guinea - * `ER` - Eritrea - * `EE` - Estonia - * `SZ` - Eswatini - * `ET` - Ethiopia - * `FK` - Falkland Islands (Malvinas) - * `FO` - Faroe Islands - * `FJ` - Fiji - * `FI` - Finland - * `FR` - France - * `GF` - French Guiana - * `PF` - French Polynesia - * `TF` - French Southern Territories - * `GA` - Gabon - * `GM` - Gambia - * `GE` - Georgia - * `DE` - Germany - * `GH` - Ghana - * `GI` - Gibraltar - * `GR` - Greece - * `GL` - Greenland - * `GD` - Grenada - * `GP` - Guadeloupe - * `GU` - Guam - * `GT` - Guatemala - * `GG` - Guernsey - * `GN` - Guinea - * `GW` - Guinea-Bissau - * `GY` - Guyana - * `HT` - Haiti - * `HM` - Heard Island and McDonald Islands - * `VA` - Holy See - * `HN` - Honduras - * `HK` - Hong Kong - * `HU` - Hungary - * `IS` - Iceland - * `IN` - India - * `ID` - Indonesia - * `IR` - Iran - * `IQ` - Iraq - * `IE` - Ireland - * `IM` - Isle of Man - * `IL` - Israel - * `IT` - Italy - * `JM` - Jamaica - * `JP` - Japan - * `JE` - Jersey - * `JO` - Jordan - * `KZ` - Kazakhstan - * `KE` - Kenya - * `KI` - Kiribati - * `KW` - Kuwait - * `KG` - Kyrgyzstan - * `LA` - Laos - * `LV` - Latvia - * `LB` - Lebanon - * `LS` - Lesotho - * `LR` - Liberia - * `LY` - Libya - * `LI` - Liechtenstein - * `LT` - Lithuania - * `LU` - Luxembourg - * `MO` - Macao - * `MG` - Madagascar - * `MW` - Malawi - * `MY` - Malaysia - * `MV` - Maldives - * `ML` - Mali - * `MT` - Malta - * `MH` - Marshall Islands - * `MQ` - Martinique - * `MR` - Mauritania - * `MU` - Mauritius - * `YT` - Mayotte - * `MX` - Mexico - * `FM` - Micronesia (Federated States of) - * `MD` - Moldova - * `MC` - Monaco - * `MN` - Mongolia - * `ME` - Montenegro - * `MS` - Montserrat - * `MA` - Morocco - * `MZ` - Mozambique - * `MM` - Myanmar - * `NA` - Namibia - * `NR` - Nauru - * `NP` - Nepal - * `NL` - Netherlands - * `NC` - New Caledonia - * `NZ` - New Zealand - * `NI` - Nicaragua - * `NE` - Niger - * `NG` - Nigeria - * `NU` - Niue - * `NF` - Norfolk Island - * `KP` - North Korea - * `MK` - North Macedonia - * `MP` - Northern Mariana Islands - * `NO` - Norway - * `OM` - Oman - * `PK` - Pakistan - * `PW` - Palau - * `PS` - Palestine, State of - * `PA` - Panama - * `PG` - Papua New Guinea - * `PY` - Paraguay - * `PE` - Peru - * `PH` - Philippines - * `PN` - Pitcairn - * `PL` - Poland - * `PT` - Portugal - * `PR` - Puerto Rico - * `QA` - Qatar - * `RE` - Réunion - * `RO` - Romania - * `RU` - Russia - * `RW` - Rwanda - * `BL` - Saint Barthélemy - * `SH` - Saint Helena, Ascension and Tristan da Cunha - * `KN` - Saint Kitts and Nevis - * `LC` - Saint Lucia - * `MF` - Saint Martin (French part) - * `PM` - Saint Pierre and Miquelon - * `VC` - Saint Vincent and the Grenadines - * `WS` - Samoa - * `SM` - San Marino - * `ST` - Sao Tome and Principe - * `SA` - Saudi Arabia - * `SN` - Senegal - * `RS` - Serbia - * `SC` - Seychelles - * `SL` - Sierra Leone - * `SG` - Singapore - * `SX` - Sint Maarten (Dutch part) - * `SK` - Slovakia - * `SI` - Slovenia - * `SB` - Solomon Islands - * `SO` - Somalia - * `ZA` - South Africa - * `GS` - South Georgia and the South Sandwich Islands - * `KR` - South Korea - * `SS` - South Sudan - * `ES` - Spain - * `LK` - Sri Lanka - * `SD` - Sudan - * `SR` - Suriname - * `SJ` - Svalbard and Jan Mayen - * `SE` - Sweden - * `CH` - Switzerland - * `SY` - Syria - * `TW` - Taiwan - * `TJ` - Tajikistan - * `TZ` - Tanzania - * `TH` - Thailand - * `TL` - Timor-Leste - * `TG` - Togo - * `TK` - Tokelau - * `TO` - Tonga - * `TT` - Trinidad and Tobago - * `TN` - Tunisia - * `TR` - Turkey - * `TM` - Turkmenistan - * `TC` - Turks and Caicos Islands - * `TV` - Tuvalu - * `UG` - Uganda - * `UA` - Ukraine - * `AE` - United Arab Emirates - * `GB` - United Kingdom - * `UM` - United States Minor Outlying Islands - * `US` - United States of America - * `UY` - Uruguay - * `UZ` - Uzbekistan - * `VU` - Vanuatu - * `VE` - Venezuela - * `VN` - Vietnam - * `VG` - Virgin Islands (British) - * `VI` - Virgin Islands (U.S.) - * `WF` - Wallis and Futuna - * `EH` - Western Sahara - * `YE` - Yemen - * `ZM` - Zambia - * `ZW` - Zimbabwe - address_type: - type: optional - docs: |- - The address type. - - * `BILLING` - BILLING - * `SHIPPING` - SHIPPING - integration_params: - type: optional> - access: write-only - linked_account_params: - type: optional> - access: write-only - source: - openapi: openapi/openapi.yml - AddressTypeEnum: - enum: - - BILLING - - SHIPPING - docs: |- - * `BILLING` - BILLING - * `SHIPPING` - SHIPPING - source: - openapi: openapi/openapi.yml - AdvancedMetadata: - properties: - id: - type: string - validation: - format: uuid - display_name: optional - description: optional - is_required: optional - is_custom: optional - field_choices: optional> - source: - openapi: openapi/openapi.yml - AssociationAssociationType: - discriminated: false - docs: The association type the association belongs to. - union: - - type: string - validation: - format: uuid - - AssociationType - source: - openapi: openapi/openapi.yml - inline: true - Association: - docs: |- - # The Association Object - ### Description - The `Association` record refers to an instance of an Association Type. - ### Usage Example - TODO - properties: - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - source_object: - type: optional - validation: - format: uuid - access: read-only - target_object: - type: optional - validation: - format: uuid - access: read-only - association_type: - type: optional - docs: The association type the association belongs to. - source: - openapi: openapi/openapi.yml - AssociationSubType: - properties: - id: - type: optional - access: read-only - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - origin_type: - type: optional - access: read-only - source: - openapi: openapi/openapi.yml - AssociationTypeCardinality: - discriminated: false - union: - - CardinalityEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - AssociationType: - docs: >- - # The AssociationType Object - - ### Description - - The `Association Type` object represents the relationship between two - objects. - - ### Usage Example - - TODO - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - source_object_class: - type: optional> - docs: >- - The class of the source object (Custom Object or Common Model) for the - association type. - access: read-only - target_object_classes: - type: optional> - access: read-only - remote_key_name: optional - display_name: optional - cardinality: optional - is_required: optional - source: - openapi: openapi/openapi.yml - AssociationTypeRequestRequest: - properties: - source_object_class: ObjectClassDescriptionRequest - target_object_classes: list - remote_key_name: - type: string - validation: - minLength: 1 - display_name: - type: optional - validation: - minLength: 1 - cardinality: optional - is_required: - type: optional - default: false - source: - openapi: openapi/openapi.yml - AsyncPassthroughReciept: - properties: - async_passthrough_receipt_id: - type: string - validation: - format: uuid - source: - openapi: openapi/openapi.yml - AuditLogEventRole: - discriminated: false - docs: >- - Designates the role of the user (or SYSTEM/API if action not taken by a - user) at the time of this Event occurring. - - - * `ADMIN` - ADMIN - - * `DEVELOPER` - DEVELOPER - - * `MEMBER` - MEMBER - - * `API` - API - - * `SYSTEM` - SYSTEM - - * `MERGE_TEAM` - MERGE_TEAM - union: - - RoleEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - AuditLogEventEventType: - discriminated: false - docs: >- - Designates the type of event that occurred. - - - * `CREATED_REMOTE_PRODUCTION_API_KEY` - CREATED_REMOTE_PRODUCTION_API_KEY - - * `DELETED_REMOTE_PRODUCTION_API_KEY` - DELETED_REMOTE_PRODUCTION_API_KEY - - * `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY - - * `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY - - * `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY - - * `REGENERATED_WEBHOOK_SIGNATURE` - REGENERATED_WEBHOOK_SIGNATURE - - * `INVITED_USER` - INVITED_USER - - * `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED - - * `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED - - * `DELETED_LINKED_ACCOUNT` - DELETED_LINKED_ACCOUNT - - * `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT` - - DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT - - * `CREATED_DESTINATION` - CREATED_DESTINATION - - * `DELETED_DESTINATION` - DELETED_DESTINATION - - * `CHANGED_DESTINATION` - CHANGED_DESTINATION - - * `CHANGED_SCOPES` - CHANGED_SCOPES - - * `CHANGED_PERSONAL_INFORMATION` - CHANGED_PERSONAL_INFORMATION - - * `CHANGED_ORGANIZATION_SETTINGS` - CHANGED_ORGANIZATION_SETTINGS - - * `ENABLED_INTEGRATION` - ENABLED_INTEGRATION - - * `DISABLED_INTEGRATION` - DISABLED_INTEGRATION - - * `ENABLED_CATEGORY` - ENABLED_CATEGORY - - * `DISABLED_CATEGORY` - DISABLED_CATEGORY - - * `CHANGED_PASSWORD` - CHANGED_PASSWORD - - * `RESET_PASSWORD` - RESET_PASSWORD - - * `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - - * `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - - * `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - - * `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - - * `CREATED_INTEGRATION_WIDE_FIELD_MAPPING` - - CREATED_INTEGRATION_WIDE_FIELD_MAPPING - - * `CREATED_LINKED_ACCOUNT_FIELD_MAPPING` - - CREATED_LINKED_ACCOUNT_FIELD_MAPPING - - * `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING` - - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING - - * `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING - - * `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - - DELETED_INTEGRATION_WIDE_FIELD_MAPPING - - * `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - - DELETED_LINKED_ACCOUNT_FIELD_MAPPING - - * `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - - CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - * `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - - CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - * `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - - DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - * `FORCED_LINKED_ACCOUNT_RESYNC` - FORCED_LINKED_ACCOUNT_RESYNC - - * `MUTED_ISSUE` - MUTED_ISSUE - - * `GENERATED_MAGIC_LINK` - GENERATED_MAGIC_LINK - - * `ENABLED_MERGE_WEBHOOK` - ENABLED_MERGE_WEBHOOK - - * `DISABLED_MERGE_WEBHOOK` - DISABLED_MERGE_WEBHOOK - - * `MERGE_WEBHOOK_TARGET_CHANGED` - MERGE_WEBHOOK_TARGET_CHANGED - - * `END_USER_CREDENTIALS_ACCESSED` - END_USER_CREDENTIALS_ACCESSED - union: - - EventTypeEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - AuditLogEvent: - properties: - id: - type: optional - validation: - format: uuid - access: read-only - user_name: - type: optional - docs: The User's full name at the time of this Event occurring. - validation: - maxLength: 200 - user_email: - type: optional - docs: The User's email at the time of this Event occurring. - validation: - format: email - maxLength: 254 - role: - type: AuditLogEventRole - docs: >- - Designates the role of the user (or SYSTEM/API if action not taken by - a user) at the time of this Event occurring. - - - * `ADMIN` - ADMIN - - * `DEVELOPER` - DEVELOPER - - * `MEMBER` - MEMBER - - * `API` - API - - * `SYSTEM` - SYSTEM - - * `MERGE_TEAM` - MERGE_TEAM - ip_address: - type: string - validation: - maxLength: 45 - event_type: - type: AuditLogEventEventType - docs: >- - Designates the type of event that occurred. - - - * `CREATED_REMOTE_PRODUCTION_API_KEY` - - CREATED_REMOTE_PRODUCTION_API_KEY - - * `DELETED_REMOTE_PRODUCTION_API_KEY` - - DELETED_REMOTE_PRODUCTION_API_KEY - - * `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY - - * `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY - - * `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY - - * `REGENERATED_WEBHOOK_SIGNATURE` - REGENERATED_WEBHOOK_SIGNATURE - - * `INVITED_USER` - INVITED_USER - - * `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED - - * `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED - - * `DELETED_LINKED_ACCOUNT` - DELETED_LINKED_ACCOUNT - - * `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT` - - DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT - - * `CREATED_DESTINATION` - CREATED_DESTINATION - - * `DELETED_DESTINATION` - DELETED_DESTINATION - - * `CHANGED_DESTINATION` - CHANGED_DESTINATION - - * `CHANGED_SCOPES` - CHANGED_SCOPES - - * `CHANGED_PERSONAL_INFORMATION` - CHANGED_PERSONAL_INFORMATION - - * `CHANGED_ORGANIZATION_SETTINGS` - CHANGED_ORGANIZATION_SETTINGS - - * `ENABLED_INTEGRATION` - ENABLED_INTEGRATION - - * `DISABLED_INTEGRATION` - DISABLED_INTEGRATION - - * `ENABLED_CATEGORY` - ENABLED_CATEGORY - - * `DISABLED_CATEGORY` - DISABLED_CATEGORY - - * `CHANGED_PASSWORD` - CHANGED_PASSWORD - - * `RESET_PASSWORD` - RESET_PASSWORD - - * `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - - * `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - - * `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - - * `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - - * `CREATED_INTEGRATION_WIDE_FIELD_MAPPING` - - CREATED_INTEGRATION_WIDE_FIELD_MAPPING - - * `CREATED_LINKED_ACCOUNT_FIELD_MAPPING` - - CREATED_LINKED_ACCOUNT_FIELD_MAPPING - - * `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING` - - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING - - * `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING - - * `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - - DELETED_INTEGRATION_WIDE_FIELD_MAPPING - - * `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - - DELETED_LINKED_ACCOUNT_FIELD_MAPPING - - * `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - - CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - * `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - - CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - * `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - - DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - * `FORCED_LINKED_ACCOUNT_RESYNC` - FORCED_LINKED_ACCOUNT_RESYNC - - * `MUTED_ISSUE` - MUTED_ISSUE - - * `GENERATED_MAGIC_LINK` - GENERATED_MAGIC_LINK - - * `ENABLED_MERGE_WEBHOOK` - ENABLED_MERGE_WEBHOOK - - * `DISABLED_MERGE_WEBHOOK` - DISABLED_MERGE_WEBHOOK - - * `MERGE_WEBHOOK_TARGET_CHANGED` - MERGE_WEBHOOK_TARGET_CHANGED - - * `END_USER_CREDENTIALS_ACCESSED` - END_USER_CREDENTIALS_ACCESSED - event_description: string - created_at: - type: optional - access: read-only - source: - openapi: openapi/openapi.yml - AvailableActions: - docs: >- - # The AvailableActions Object - - ### Description - - The `Activity` object is used to see all available model/operation - combinations for an integration. - - - ### Usage Example - - Fetch all the actions available for the `Zenefits` integration. - properties: - integration: AccountIntegration - passthrough_available: boolean - available_model_operations: optional> - source: - openapi: openapi/openapi.yml - CrmAccountResponse: - properties: - model: Account - warnings: list - errors: list - logs: optional> - source: - openapi: openapi/openapi.yml - CrmAssociationTypeResponse: - properties: - model: AssociationType - warnings: list - errors: list - logs: optional> - source: - openapi: openapi/openapi.yml - CrmContactResponse: - properties: - model: Contact - warnings: list - errors: list - logs: optional> - source: - openapi: openapi/openapi.yml - CrmCustomObjectResponse: - properties: - model: CustomObject - warnings: list - errors: list - logs: optional> - source: - openapi: openapi/openapi.yml - CardinalityEnum: - enum: - - ONE_TO_ONE - - MANY_TO_ONE - - MANY_TO_MANY - - ONE_TO_MANY - docs: |- - * `ONE_TO_ONE` - ONE_TO_ONE - * `MANY_TO_ONE` - MANY_TO_ONE - * `MANY_TO_MANY` - MANY_TO_MANY - * `ONE_TO_MANY` - ONE_TO_MANY - source: - openapi: openapi/openapi.yml - CategoriesEnum: - enum: - - hris - - ats - - accounting - - ticketing - - crm - - mktg - - filestorage - docs: |- - * `hris` - hris - * `ats` - ats - * `accounting` - accounting - * `ticketing` - ticketing - * `crm` - crm - * `mktg` - mktg - * `filestorage` - filestorage - source: - openapi: openapi/openapi.yml - CategoryEnum: - enum: - - hris - - ats - - accounting - - ticketing - - crm - - mktg - - filestorage - docs: |- - * `hris` - hris - * `ats` - ats - * `accounting` - accounting - * `ticketing` - ticketing - * `crm` - crm - * `mktg` - mktg - * `filestorage` - filestorage - source: - openapi: openapi/openapi.yml - CommonModelScopeApi: - properties: - common_models: - docs: The common models you want to update the scopes for - type: list - source: - openapi: openapi/openapi.yml - CommonModelScopesBodyRequest: - properties: - model_id: - type: string - validation: - minLength: 1 - enabled_actions: list - disabled_fields: list - source: - openapi: openapi/openapi.yml - ContactAccount: - discriminated: false - docs: The contact's account. - union: - - type: string - validation: - format: uuid - - Account - source: - openapi: openapi/openapi.yml - inline: true - ContactOwner: - discriminated: false - docs: The contact's owner. - union: - - type: string - validation: - format: uuid - - User - source: - openapi: openapi/openapi.yml - inline: true - Contact: - docs: >- - # The Contact Object - - ### Description - - The `Contact` object is used to represent an existing point of contact at - a company in a CRM system. - - ### Usage Example - - TODO - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - first_name: - type: optional - docs: The contact's first name. - last_name: - type: optional - docs: The contact's last name. - account: - type: optional - docs: The contact's account. - owner: - type: optional - docs: The contact's owner. - addresses: optional> - email_addresses: optional> - phone_numbers: optional> - last_activity_at: - type: optional - docs: When the contact's last activity occurred. - remote_created_at: - type: optional - docs: When the third party's contact was created. - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - remote_fields: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - ContactRequestAccount: - discriminated: false - docs: The contact's account. - union: - - type: string - validation: - format: uuid - - Account - source: - openapi: openapi/openapi.yml - inline: true - ContactRequestOwner: - discriminated: false - docs: The contact's owner. - union: - - type: string - validation: - format: uuid - - User - source: - openapi: openapi/openapi.yml - inline: true - ContactRequest: - docs: >- - # The Contact Object - - ### Description - - The `Contact` object is used to represent an existing point of contact at - a company in a CRM system. - - ### Usage Example - - TODO - properties: - first_name: - type: optional - docs: The contact's first name. - last_name: - type: optional - docs: The contact's last name. - account: - type: optional - docs: The contact's account. - owner: - type: optional - docs: The contact's owner. - addresses: optional> - email_addresses: optional> - phone_numbers: optional> - last_activity_at: - type: optional - docs: When the contact's last activity occurred. - integration_params: - type: optional> - access: write-only - linked_account_params: - type: optional> - access: write-only - remote_fields: - type: optional> - access: write-only - source: - openapi: openapi/openapi.yml - CountryEnum: - enum: - - AF - - AX - - AL - - DZ - - AS - - AD - - AO - - AI - - AQ - - AG - - AR - - AM - - AW - - AU - - AT - - AZ - - BS - - BH - - BD - - BB - - BY - - BE - - BZ - - BJ - - BM - - BT - - BO - - BQ - - BA - - BW - - BV - - BR - - IO - - BN - - BG - - BF - - BI - - CV - - KH - - CM - - CA - - KY - - CF - - TD - - CL - - CN - - CX - - CC - - CO - - KM - - CG - - CD - - CK - - CR - - CI - - HR - - CU - - CW - - CY - - CZ - - DK - - DJ - - DM - - DO - - EC - - EG - - SV - - GQ - - ER - - EE - - SZ - - ET - - FK - - FO - - FJ - - FI - - FR - - GF - - PF - - TF - - GA - - GM - - GE - - DE - - GH - - GI - - GR - - GL - - GD - - GP - - GU - - GT - - GG - - GN - - GW - - GY - - HT - - HM - - VA - - HN - - HK - - HU - - IS - - IN - - ID - - IR - - IQ - - IE - - IM - - IL - - IT - - JM - - JP - - JE - - JO - - KZ - - KE - - KI - - KW - - KG - - LA - - LV - - LB - - LS - - LR - - LY - - LI - - LT - - LU - - MO - - MG - - MW - - MY - - MV - - ML - - MT - - MH - - MQ - - MR - - MU - - YT - - MX - - FM - - MD - - MC - - MN - - ME - - MS - - MA - - MZ - - MM - - NA - - NR - - NP - - NL - - NC - - NZ - - NI - - NE - - NG - - NU - - NF - - KP - - MK - - MP - - 'NO' - - OM - - PK - - PW - - PS - - PA - - PG - - PY - - PE - - PH - - PN - - PL - - PT - - PR - - QA - - RE - - RO - - RU - - RW - - BL - - SH - - KN - - LC - - MF - - PM - - VC - - WS - - SM - - ST - - SA - - SN - - RS - - SC - - SL - - SG - - SX - - SK - - SI - - SB - - SO - - ZA - - GS - - KR - - SS - - ES - - LK - - SD - - SR - - SJ - - SE - - CH - - SY - - TW - - TJ - - TZ - - TH - - TL - - TG - - TK - - TO - - TT - - TN - - TR - - TM - - TC - - TV - - UG - - UA - - AE - - GB - - UM - - US - - UY - - UZ - - VU - - VE - - VN - - VG - - VI - - WF - - EH - - YE - - ZM - - ZW - docs: |- - * `AF` - Afghanistan - * `AX` - Åland Islands - * `AL` - Albania - * `DZ` - Algeria - * `AS` - American Samoa - * `AD` - Andorra - * `AO` - Angola - * `AI` - Anguilla - * `AQ` - Antarctica - * `AG` - Antigua and Barbuda - * `AR` - Argentina - * `AM` - Armenia - * `AW` - Aruba - * `AU` - Australia - * `AT` - Austria - * `AZ` - Azerbaijan - * `BS` - Bahamas - * `BH` - Bahrain - * `BD` - Bangladesh - * `BB` - Barbados - * `BY` - Belarus - * `BE` - Belgium - * `BZ` - Belize - * `BJ` - Benin - * `BM` - Bermuda - * `BT` - Bhutan - * `BO` - Bolivia - * `BQ` - Bonaire, Sint Eustatius and Saba - * `BA` - Bosnia and Herzegovina - * `BW` - Botswana - * `BV` - Bouvet Island - * `BR` - Brazil - * `IO` - British Indian Ocean Territory - * `BN` - Brunei - * `BG` - Bulgaria - * `BF` - Burkina Faso - * `BI` - Burundi - * `CV` - Cabo Verde - * `KH` - Cambodia - * `CM` - Cameroon - * `CA` - Canada - * `KY` - Cayman Islands - * `CF` - Central African Republic - * `TD` - Chad - * `CL` - Chile - * `CN` - China - * `CX` - Christmas Island - * `CC` - Cocos (Keeling) Islands - * `CO` - Colombia - * `KM` - Comoros - * `CG` - Congo - * `CD` - Congo (the Democratic Republic of the) - * `CK` - Cook Islands - * `CR` - Costa Rica - * `CI` - Côte d'Ivoire - * `HR` - Croatia - * `CU` - Cuba - * `CW` - Curaçao - * `CY` - Cyprus - * `CZ` - Czechia - * `DK` - Denmark - * `DJ` - Djibouti - * `DM` - Dominica - * `DO` - Dominican Republic - * `EC` - Ecuador - * `EG` - Egypt - * `SV` - El Salvador - * `GQ` - Equatorial Guinea - * `ER` - Eritrea - * `EE` - Estonia - * `SZ` - Eswatini - * `ET` - Ethiopia - * `FK` - Falkland Islands (Malvinas) - * `FO` - Faroe Islands - * `FJ` - Fiji - * `FI` - Finland - * `FR` - France - * `GF` - French Guiana - * `PF` - French Polynesia - * `TF` - French Southern Territories - * `GA` - Gabon - * `GM` - Gambia - * `GE` - Georgia - * `DE` - Germany - * `GH` - Ghana - * `GI` - Gibraltar - * `GR` - Greece - * `GL` - Greenland - * `GD` - Grenada - * `GP` - Guadeloupe - * `GU` - Guam - * `GT` - Guatemala - * `GG` - Guernsey - * `GN` - Guinea - * `GW` - Guinea-Bissau - * `GY` - Guyana - * `HT` - Haiti - * `HM` - Heard Island and McDonald Islands - * `VA` - Holy See - * `HN` - Honduras - * `HK` - Hong Kong - * `HU` - Hungary - * `IS` - Iceland - * `IN` - India - * `ID` - Indonesia - * `IR` - Iran - * `IQ` - Iraq - * `IE` - Ireland - * `IM` - Isle of Man - * `IL` - Israel - * `IT` - Italy - * `JM` - Jamaica - * `JP` - Japan - * `JE` - Jersey - * `JO` - Jordan - * `KZ` - Kazakhstan - * `KE` - Kenya - * `KI` - Kiribati - * `KW` - Kuwait - * `KG` - Kyrgyzstan - * `LA` - Laos - * `LV` - Latvia - * `LB` - Lebanon - * `LS` - Lesotho - * `LR` - Liberia - * `LY` - Libya - * `LI` - Liechtenstein - * `LT` - Lithuania - * `LU` - Luxembourg - * `MO` - Macao - * `MG` - Madagascar - * `MW` - Malawi - * `MY` - Malaysia - * `MV` - Maldives - * `ML` - Mali - * `MT` - Malta - * `MH` - Marshall Islands - * `MQ` - Martinique - * `MR` - Mauritania - * `MU` - Mauritius - * `YT` - Mayotte - * `MX` - Mexico - * `FM` - Micronesia (Federated States of) - * `MD` - Moldova - * `MC` - Monaco - * `MN` - Mongolia - * `ME` - Montenegro - * `MS` - Montserrat - * `MA` - Morocco - * `MZ` - Mozambique - * `MM` - Myanmar - * `NA` - Namibia - * `NR` - Nauru - * `NP` - Nepal - * `NL` - Netherlands - * `NC` - New Caledonia - * `NZ` - New Zealand - * `NI` - Nicaragua - * `NE` - Niger - * `NG` - Nigeria - * `NU` - Niue - * `NF` - Norfolk Island - * `KP` - North Korea - * `MK` - North Macedonia - * `MP` - Northern Mariana Islands - * `NO` - Norway - * `OM` - Oman - * `PK` - Pakistan - * `PW` - Palau - * `PS` - Palestine, State of - * `PA` - Panama - * `PG` - Papua New Guinea - * `PY` - Paraguay - * `PE` - Peru - * `PH` - Philippines - * `PN` - Pitcairn - * `PL` - Poland - * `PT` - Portugal - * `PR` - Puerto Rico - * `QA` - Qatar - * `RE` - Réunion - * `RO` - Romania - * `RU` - Russia - * `RW` - Rwanda - * `BL` - Saint Barthélemy - * `SH` - Saint Helena, Ascension and Tristan da Cunha - * `KN` - Saint Kitts and Nevis - * `LC` - Saint Lucia - * `MF` - Saint Martin (French part) - * `PM` - Saint Pierre and Miquelon - * `VC` - Saint Vincent and the Grenadines - * `WS` - Samoa - * `SM` - San Marino - * `ST` - Sao Tome and Principe - * `SA` - Saudi Arabia - * `SN` - Senegal - * `RS` - Serbia - * `SC` - Seychelles - * `SL` - Sierra Leone - * `SG` - Singapore - * `SX` - Sint Maarten (Dutch part) - * `SK` - Slovakia - * `SI` - Slovenia - * `SB` - Solomon Islands - * `SO` - Somalia - * `ZA` - South Africa - * `GS` - South Georgia and the South Sandwich Islands - * `KR` - South Korea - * `SS` - South Sudan - * `ES` - Spain - * `LK` - Sri Lanka - * `SD` - Sudan - * `SR` - Suriname - * `SJ` - Svalbard and Jan Mayen - * `SE` - Sweden - * `CH` - Switzerland - * `SY` - Syria - * `TW` - Taiwan - * `TJ` - Tajikistan - * `TZ` - Tanzania - * `TH` - Thailand - * `TL` - Timor-Leste - * `TG` - Togo - * `TK` - Tokelau - * `TO` - Tonga - * `TT` - Trinidad and Tobago - * `TN` - Tunisia - * `TR` - Turkey - * `TM` - Turkmenistan - * `TC` - Turks and Caicos Islands - * `TV` - Tuvalu - * `UG` - Uganda - * `UA` - Ukraine - * `AE` - United Arab Emirates - * `GB` - United Kingdom - * `UM` - United States Minor Outlying Islands - * `US` - United States of America - * `UY` - Uruguay - * `UZ` - Uzbekistan - * `VU` - Vanuatu - * `VE` - Venezuela - * `VN` - Vietnam - * `VG` - Virgin Islands (British) - * `VI` - Virgin Islands (U.S.) - * `WF` - Wallis and Futuna - * `EH` - Western Sahara - * `YE` - Yemen - * `ZM` - Zambia - * `ZW` - Zimbabwe - source: - openapi: openapi/openapi.yml - CustomObject: - docs: |- - # The CustomObject Object - ### Description - The `Custom Object` record refers to an instance of a Custom Object Class. - ### Usage Example - TODO - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - object_class: - type: optional - docs: The custom object class the custom object record belongs to. - validation: - format: uuid - fields: - type: optional> - docs: The fields and values contained within the custom object record. - access: read-only - remote_fields: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - CustomObjectClass: - docs: >- - # The Custom Object Class Object - - ### Description - - The `Custom Object Class` object is used to represent a Custom Object - Schema in the remote system. - - ### Usage Example - - TODO - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - access: read-only - modified_at: - type: optional - access: read-only - name: - type: optional - docs: The custom object class's name. - description: - type: optional - docs: The custom object class's description. - labels: - type: optional>> - docs: The custom object class's singular and plural labels. - access: read-only - fields: - type: optional> - access: read-only - association_types: - type: optional>> - docs: >- - The types of associations with other models that the custom object - class can have. - access: read-only - source: - openapi: openapi/openapi.yml - CustomObjectRequest: - properties: - fields: map - integration_params: - type: optional> - access: write-only - linked_account_params: - type: optional> - access: write-only - source: - openapi: openapi/openapi.yml - DataPassthroughRequest: - docs: >- - # The DataPassthrough Object - - ### Description - - The `DataPassthrough` object is used to send information to an - otherwise-unsupported third-party endpoint. - - - ### Usage Example - - Create a `DataPassthrough` to get team hierarchies from your Rippling - integration. - properties: - method: MethodEnum - path: - type: string - docs: The path of the request in the third party's platform. - validation: - minLength: 1 - base_url_override: - type: optional - docs: An optional override of the third party's base url for the request. - validation: - minLength: 1 - data: - type: optional - docs: >- - The data with the request. You must include a `request_format` - parameter matching the data's format - validation: - minLength: 1 - multipart_form_data: - type: optional> - docs: >- - Pass an array of `MultipartFormField` objects in here instead of using - the `data` param if `request_format` is set to `MULTIPART`. - headers: - type: optional> - docs: >- - The headers to use for the request (Merge will handle the account's - authorization headers). `Content-Type` header is required for - passthrough. Choose content type corresponding to expected format of - receiving server. - request_format: optional - normalize_response: - type: optional - docs: >- - Optional. If true, the response will always be an object of the form - `{"type": T, "value": ...}` where `T` will be one of `string, boolean, - number, null, array, object`. - source: - openapi: openapi/openapi.yml - DebugModeLog: - properties: - log_id: string - dashboard_view: string - log_summary: DebugModelLogSummary - source: - openapi: openapi/openapi.yml - DebugModelLogSummary: - properties: - url: string - method: string - status_code: integer - source: - openapi: openapi/openapi.yml - DirectionEnum: - enum: - - INBOUND - - OUTBOUND - docs: |- - * `INBOUND` - INBOUND - * `OUTBOUND` - OUTBOUND - source: - openapi: openapi/openapi.yml - EmailAddress: - docs: |- - # The EmailAddress Object - ### Description - The `EmailAddress` object is used to represent an entity's email address. - ### Usage Example - Fetch from the `GET Contact` endpoint and view their email addresses. - properties: - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - email_address: - type: optional - docs: The email address. - email_address_type: - type: optional - docs: The email address's type. - source: - openapi: openapi/openapi.yml - EmailAddressRequest: - docs: |- - # The EmailAddress Object - ### Description - The `EmailAddress` object is used to represent an entity's email address. - ### Usage Example - Fetch from the `GET Contact` endpoint and view their email addresses. - properties: - email_address: - type: optional - docs: The email address. - email_address_type: - type: optional - docs: The email address's type. - integration_params: - type: optional> - access: write-only - linked_account_params: - type: optional> - access: write-only - source: - openapi: openapi/openapi.yml - EnabledActionsEnum: - enum: - - READ - - WRITE - docs: |- - * `READ` - READ - * `WRITE` - WRITE - source: - openapi: openapi/openapi.yml - EncodingEnum: - enum: - - RAW - - BASE64 - - GZIP_BASE64 - docs: |- - * `RAW` - RAW - * `BASE64` - BASE64 - * `GZIP_BASE64` - GZIP_BASE64 - source: - openapi: openapi/openapi.yml - EngagementOwner: - discriminated: false - docs: The engagement's owner. - union: - - type: string - validation: - format: uuid - - User - source: - openapi: openapi/openapi.yml - inline: true - EngagementDirection: - discriminated: false - docs: |- - The engagement's direction. - - * `INBOUND` - INBOUND - * `OUTBOUND` - OUTBOUND - union: - - DirectionEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - EngagementEngagementType: - discriminated: false - docs: The engagement type of the engagement. - union: - - type: string - validation: - format: uuid - - EngagementType - source: - openapi: openapi/openapi.yml - inline: true - EngagementAccount: - discriminated: false - docs: The account of the engagement. - union: - - type: string - validation: - format: uuid - - Account - source: - openapi: openapi/openapi.yml - inline: true - EngagementContactsItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - Contact - source: - openapi: openapi/openapi.yml - inline: true - Engagement: - docs: >- - # The Engagement Object - - ### Description - - The `Engagement` object is used to represent an interaction noted in a CRM - system. - - ### Usage Example - - TODO - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - owner: - type: optional - docs: The engagement's owner. - content: - type: optional - docs: The engagement's content. - subject: - type: optional - docs: The engagement's subject. - direction: - type: optional - docs: |- - The engagement's direction. - - * `INBOUND` - INBOUND - * `OUTBOUND` - OUTBOUND - engagement_type: - type: optional - docs: The engagement type of the engagement. - start_time: - type: optional - docs: The time at which the engagement started. - end_time: - type: optional - docs: The time at which the engagement ended. - account: - type: optional - docs: The account of the engagement. - contacts: optional>> - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - remote_fields: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - EngagementRequestOwner: - discriminated: false - docs: The engagement's owner. - union: - - type: string - validation: - format: uuid - - User - source: - openapi: openapi/openapi.yml - inline: true - EngagementRequestDirection: - discriminated: false - docs: |- - The engagement's direction. - - * `INBOUND` - INBOUND - * `OUTBOUND` - OUTBOUND - union: - - DirectionEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - EngagementRequestEngagementType: - discriminated: false - docs: The engagement type of the engagement. - union: - - type: string - validation: - format: uuid - - EngagementType - source: - openapi: openapi/openapi.yml - inline: true - EngagementRequestAccount: - discriminated: false - docs: The account of the engagement. - union: - - type: string - validation: - format: uuid - - Account - source: - openapi: openapi/openapi.yml - inline: true - EngagementRequestContactsItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - Contact - source: - openapi: openapi/openapi.yml - inline: true - EngagementRequest: - docs: >- - # The Engagement Object - - ### Description - - The `Engagement` object is used to represent an interaction noted in a CRM - system. - - ### Usage Example - - TODO - properties: - owner: - type: optional - docs: The engagement's owner. - content: - type: optional - docs: The engagement's content. - subject: - type: optional - docs: The engagement's subject. - direction: - type: optional - docs: |- - The engagement's direction. - - * `INBOUND` - INBOUND - * `OUTBOUND` - OUTBOUND - engagement_type: - type: optional - docs: The engagement type of the engagement. - start_time: - type: optional - docs: The time at which the engagement started. - end_time: - type: optional - docs: The time at which the engagement ended. - account: - type: optional - docs: The account of the engagement. - contacts: optional>> - integration_params: - type: optional> - access: write-only - linked_account_params: - type: optional> - access: write-only - remote_fields: - type: optional> - access: write-only - source: - openapi: openapi/openapi.yml - EngagementResponse: - properties: - model: Engagement - warnings: list - errors: list - logs: optional> - source: - openapi: openapi/openapi.yml - EngagementTypeActivityType: - discriminated: false - docs: |- - The engagement type's activity type. - - * `CALL` - CALL - * `MEETING` - MEETING - * `EMAIL` - EMAIL - union: - - ActivityTypeEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - EngagementType: - docs: >- - # The Engagement Type Object - - ### Description - - The `Engagement Type` object is used to represent an interaction activity. - A given `Engagement` typically has an `Engagement Type` object represented - in the engagement_type field. - - ### Usage Example - - TODO - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - activity_type: - type: optional - docs: |- - The engagement type's activity type. - - * `CALL` - CALL - * `MEETING` - MEETING - * `EMAIL` - EMAIL - name: - type: optional - docs: The engagement type's name. - remote_fields: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - ErrorValidationProblem: - properties: - source: optional - title: string - detail: string - problem_type: string - source: - openapi: openapi/openapi.yml - EventTypeEnum: - enum: - - CREATED_REMOTE_PRODUCTION_API_KEY - - DELETED_REMOTE_PRODUCTION_API_KEY - - CREATED_TEST_API_KEY - - DELETED_TEST_API_KEY - - REGENERATED_PRODUCTION_API_KEY - - REGENERATED_WEBHOOK_SIGNATURE - - INVITED_USER - - TWO_FACTOR_AUTH_ENABLED - - TWO_FACTOR_AUTH_DISABLED - - DELETED_LINKED_ACCOUNT - - DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT - - CREATED_DESTINATION - - DELETED_DESTINATION - - CHANGED_DESTINATION - - CHANGED_SCOPES - - CHANGED_PERSONAL_INFORMATION - - CHANGED_ORGANIZATION_SETTINGS - - ENABLED_INTEGRATION - - DISABLED_INTEGRATION - - ENABLED_CATEGORY - - DISABLED_CATEGORY - - CHANGED_PASSWORD - - RESET_PASSWORD - - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - - CREATED_INTEGRATION_WIDE_FIELD_MAPPING - - CREATED_LINKED_ACCOUNT_FIELD_MAPPING - - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING - - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING - - DELETED_INTEGRATION_WIDE_FIELD_MAPPING - - DELETED_LINKED_ACCOUNT_FIELD_MAPPING - - CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - FORCED_LINKED_ACCOUNT_RESYNC - - MUTED_ISSUE - - GENERATED_MAGIC_LINK - - ENABLED_MERGE_WEBHOOK - - DISABLED_MERGE_WEBHOOK - - MERGE_WEBHOOK_TARGET_CHANGED - - END_USER_CREDENTIALS_ACCESSED - docs: >- - * `CREATED_REMOTE_PRODUCTION_API_KEY` - CREATED_REMOTE_PRODUCTION_API_KEY - - * `DELETED_REMOTE_PRODUCTION_API_KEY` - DELETED_REMOTE_PRODUCTION_API_KEY - - * `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY - - * `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY - - * `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY - - * `REGENERATED_WEBHOOK_SIGNATURE` - REGENERATED_WEBHOOK_SIGNATURE - - * `INVITED_USER` - INVITED_USER - - * `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED - - * `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED - - * `DELETED_LINKED_ACCOUNT` - DELETED_LINKED_ACCOUNT - - * `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT` - - DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT - - * `CREATED_DESTINATION` - CREATED_DESTINATION - - * `DELETED_DESTINATION` - DELETED_DESTINATION - - * `CHANGED_DESTINATION` - CHANGED_DESTINATION - - * `CHANGED_SCOPES` - CHANGED_SCOPES - - * `CHANGED_PERSONAL_INFORMATION` - CHANGED_PERSONAL_INFORMATION - - * `CHANGED_ORGANIZATION_SETTINGS` - CHANGED_ORGANIZATION_SETTINGS - - * `ENABLED_INTEGRATION` - ENABLED_INTEGRATION - - * `DISABLED_INTEGRATION` - DISABLED_INTEGRATION - - * `ENABLED_CATEGORY` - ENABLED_CATEGORY - - * `DISABLED_CATEGORY` - DISABLED_CATEGORY - - * `CHANGED_PASSWORD` - CHANGED_PASSWORD - - * `RESET_PASSWORD` - RESET_PASSWORD - - * `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - - * `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - - * `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - - * `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - - * `CREATED_INTEGRATION_WIDE_FIELD_MAPPING` - - CREATED_INTEGRATION_WIDE_FIELD_MAPPING - - * `CREATED_LINKED_ACCOUNT_FIELD_MAPPING` - - CREATED_LINKED_ACCOUNT_FIELD_MAPPING - - * `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING` - - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING - - * `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING - - * `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - - DELETED_INTEGRATION_WIDE_FIELD_MAPPING - - * `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - - DELETED_LINKED_ACCOUNT_FIELD_MAPPING - - * `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - - CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - * `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - - CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - * `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - - DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - * `FORCED_LINKED_ACCOUNT_RESYNC` - FORCED_LINKED_ACCOUNT_RESYNC - - * `MUTED_ISSUE` - MUTED_ISSUE - - * `GENERATED_MAGIC_LINK` - GENERATED_MAGIC_LINK - - * `ENABLED_MERGE_WEBHOOK` - ENABLED_MERGE_WEBHOOK - - * `DISABLED_MERGE_WEBHOOK` - DISABLED_MERGE_WEBHOOK - - * `MERGE_WEBHOOK_TARGET_CHANGED` - MERGE_WEBHOOK_TARGET_CHANGED - - * `END_USER_CREDENTIALS_ACCESSED` - END_USER_CREDENTIALS_ACCESSED - source: - openapi: openapi/openapi.yml - ExternalTargetFieldApi: - properties: - name: - type: optional - access: read-only - description: - type: optional - access: read-only - is_mapped: - type: optional - access: read-only - source: - openapi: openapi/openapi.yml - ExternalTargetFieldApiResponse: - properties: - Account: optional> - Contact: optional> - Lead: optional> - Note: optional> - Opportunity: optional> - Stage: optional> - User: optional> - Task: optional> - Engagement: optional> - source: - openapi: openapi/openapi.yml - FieldFormatEnum: - enum: - - string - - number - - date - - datetime - - bool - - list - docs: |- - * `string` - string - * `number` - number - * `date` - date - * `datetime` - datetime - * `bool` - bool - * `list` - list - source: - openapi: openapi/openapi.yml - FieldMappingApiInstanceTargetField: - properties: - name: string - description: string - is_organization_wide: boolean - source: - openapi: openapi/openapi.yml - inline: true - FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo: - properties: - method: optional - url_path: optional - field_traversal_path: optional> - source: - openapi: openapi/openapi.yml - inline: true - FieldMappingApiInstanceRemoteField: - properties: - remote_key_name: optional - schema: optional> - remote_endpoint_info: FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo - source: - openapi: openapi/openapi.yml - inline: true - FieldMappingApiInstance: - properties: - id: - type: optional - validation: - format: uuid - access: read-only - is_integration_wide: - type: optional - access: read-only - target_field: - type: optional - access: read-only - remote_field: - type: optional - access: read-only - source: - openapi: openapi/openapi.yml - FieldMappingApiInstanceResponse: - properties: - Account: optional> - Contact: optional> - Lead: optional> - Note: optional> - Opportunity: optional> - Stage: optional> - User: optional> - Task: optional> - Engagement: optional> - source: - openapi: openapi/openapi.yml - FieldMappingInstanceResponse: - properties: - model: FieldMappingApiInstance - warnings: list - errors: list - logs: optional> - source: - openapi: openapi/openapi.yml - FieldPermissionDeserializer: - properties: - enabled_fields: optional> - disabled_fields: optional> - source: - openapi: openapi/openapi.yml - FieldPermissionDeserializerRequest: - properties: - enabled_fields: optional> - disabled_fields: optional> - source: - openapi: openapi/openapi.yml - FieldTypeEnum: - enum: - - string - - number - - date - - datetime - - bool - - list - docs: |- - * `string` - string - * `number` - number - * `date` - date - * `datetime` - datetime - * `bool` - bool - * `list` - list - source: - openapi: openapi/openapi.yml - IgnoreCommonModelRequestReason: - discriminated: false - union: - - ReasonEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - IgnoreCommonModelRequest: - properties: - reason: IgnoreCommonModelRequestReason - message: - type: optional - validation: - minLength: 1 - maxLength: 256 - source: - openapi: openapi/openapi.yml - IndividualCommonModelScopeDeserializer: - properties: - model_name: string - model_permissions: optional> - field_permissions: optional - source: - openapi: openapi/openapi.yml - IndividualCommonModelScopeDeserializerRequest: - properties: - model_name: - type: string - validation: - minLength: 1 - model_permissions: optional> - field_permissions: optional - source: - openapi: openapi/openapi.yml - IssueStatus: - discriminated: false - docs: |- - Status of the issue. Options: ('ONGOING', 'RESOLVED') - - * `ONGOING` - ONGOING - * `RESOLVED` - RESOLVED - union: - - IssueStatusEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - Issue: - properties: - id: - type: optional - validation: - format: uuid - access: read-only - status: - type: optional - docs: |- - Status of the issue. Options: ('ONGOING', 'RESOLVED') - - * `ONGOING` - ONGOING - * `RESOLVED` - RESOLVED - error_description: string - end_user: - type: optional> - access: read-only - first_incident_time: optional - last_incident_time: optional - is_muted: - type: optional - access: read-only - error_details: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - IssueStatusEnum: - enum: - - ONGOING - - RESOLVED - docs: |- - * `ONGOING` - ONGOING - * `RESOLVED` - RESOLVED - source: - openapi: openapi/openapi.yml - ItemFormatEnum: - enum: - - string - - number - - date - - datetime - - bool - - list - docs: |- - * `string` - uuid - * `number` - url - * `date` - email - * `datetime` - phone - * `bool` - currency - * `list` - decimal - source: - openapi: openapi/openapi.yml - ItemSchema: - properties: - item_type: optional - item_format: optional - item_choices: optional> - source: - openapi: openapi/openapi.yml - ItemTypeEnum: - enum: - - string - - number - - date - - datetime - - bool - - list - docs: |- - * `string` - string - * `number` - number - * `date` - date - * `datetime` - datetime - * `bool` - bool - * `list` - list - source: - openapi: openapi/openapi.yml - LanguageEnum: - enum: - - en - - de - docs: |- - * `en` - en - * `de` - de - source: - openapi: openapi/openapi.yml - LastSyncResultEnum: - enum: - - SYNCING - - DONE - - FAILED - - DISABLED - - PAUSED - - PARTIALLY_SYNCED - docs: |- - * `SYNCING` - SYNCING - * `DONE` - DONE - * `FAILED` - FAILED - * `DISABLED` - DISABLED - * `PAUSED` - PAUSED - * `PARTIALLY_SYNCED` - PARTIALLY_SYNCED - source: - openapi: openapi/openapi.yml - LeadOwner: - discriminated: false - docs: The lead's owner. - union: - - type: string - validation: - format: uuid - - User - source: - openapi: openapi/openapi.yml - inline: true - LeadConvertedContact: - discriminated: false - docs: The contact of the converted lead. - union: - - type: string - validation: - format: uuid - - Contact - source: - openapi: openapi/openapi.yml - inline: true - LeadConvertedAccount: - discriminated: false - docs: The account of the converted lead. - union: - - type: string - validation: - format: uuid - - Account - source: - openapi: openapi/openapi.yml - inline: true - Lead: - docs: >- - # The Lead Object - - ### Description - - The `Lead` object is used to represent an individual who is a potential - customer. - - ### Usage Example - - TODO - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - owner: - type: optional - docs: The lead's owner. - lead_source: - type: optional - docs: The lead's source. - title: - type: optional - docs: The lead's title. - company: - type: optional - docs: The lead's company. - first_name: - type: optional - docs: The lead's first name. - last_name: - type: optional - docs: The lead's last name. - addresses: - type: optional> - access: read-only - email_addresses: - type: optional> - access: read-only - phone_numbers: - type: optional> - access: read-only - remote_updated_at: - type: optional - docs: When the third party's lead was updated. - remote_created_at: - type: optional - docs: When the third party's lead was created. - converted_date: - type: optional - docs: When the lead was converted. - converted_contact: - type: optional - docs: The contact of the converted lead. - converted_account: - type: optional - docs: The account of the converted lead. - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - remote_fields: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - LeadRequestOwner: - discriminated: false - docs: The lead's owner. - union: - - type: string - validation: - format: uuid - - User - source: - openapi: openapi/openapi.yml - inline: true - LeadRequestConvertedContact: - discriminated: false - docs: The contact of the converted lead. - union: - - type: string - validation: - format: uuid - - Contact - source: - openapi: openapi/openapi.yml - inline: true - LeadRequestConvertedAccount: - discriminated: false - docs: The account of the converted lead. - union: - - type: string - validation: - format: uuid - - Account - source: - openapi: openapi/openapi.yml - inline: true - LeadRequest: - docs: >- - # The Lead Object - - ### Description - - The `Lead` object is used to represent an individual who is a potential - customer. - - ### Usage Example - - TODO - properties: - owner: - type: optional - docs: The lead's owner. - lead_source: - type: optional - docs: The lead's source. - title: - type: optional - docs: The lead's title. - company: - type: optional - docs: The lead's company. - first_name: - type: optional - docs: The lead's first name. - last_name: - type: optional - docs: The lead's last name. - addresses: optional> - email_addresses: optional> - phone_numbers: optional> - converted_date: - type: optional - docs: When the lead was converted. - converted_contact: - type: optional - docs: The contact of the converted lead. - converted_account: - type: optional - docs: The account of the converted lead. - integration_params: - type: optional> - access: write-only - linked_account_params: - type: optional> - access: write-only - remote_fields: - type: optional> - access: write-only - source: - openapi: openapi/openapi.yml - LeadResponse: - properties: - model: Lead - warnings: list - errors: list - logs: optional> - source: - openapi: openapi/openapi.yml - LinkToken: - properties: - link_token: string - integration_name: optional - magic_link_url: optional - source: - openapi: openapi/openapi.yml - LinkedAccountStatus: - properties: - linked_account_status: string - can_make_request: boolean - source: - openapi: openapi/openapi.yml - MetaResponse: - properties: - request_schema: map - remote_field_classes: optional> - status: optional - has_conditional_params: boolean - has_required_linked_account_params: boolean - source: - openapi: openapi/openapi.yml - MethodEnum: - enum: - - GET - - OPTIONS - - HEAD - - POST - - PUT - - PATCH - - DELETE - docs: |- - * `GET` - GET - * `OPTIONS` - OPTIONS - * `HEAD` - HEAD - * `POST` - POST - * `PUT` - PUT - * `PATCH` - PATCH - * `DELETE` - DELETE - source: - openapi: openapi/openapi.yml - ModelOperation: - docs: >- - # The ModelOperation Object - - ### Description - - The `ModelOperation` object is used to represent the operations that are - currently supported for a given model. - - - ### Usage Example - - View what operations are supported for the `Candidate` endpoint. - properties: - model_name: string - available_operations: list - required_post_parameters: list - supported_fields: list - source: - openapi: openapi/openapi.yml - ModelPermissionDeserializer: - properties: - is_enabled: optional - source: - openapi: openapi/openapi.yml - ModelPermissionDeserializerRequest: - properties: - is_enabled: optional - source: - openapi: openapi/openapi.yml - MultipartFormFieldRequestEncoding: - discriminated: false - docs: |- - The encoding of the value of `data`. Defaults to `RAW` if not defined. - - * `RAW` - RAW - * `BASE64` - BASE64 - * `GZIP_BASE64` - GZIP_BASE64 - union: - - EncodingEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - MultipartFormFieldRequest: - docs: >- - # The MultipartFormField Object - - ### Description - - The `MultipartFormField` object is used to represent fields in an HTTP - request using `multipart/form-data`. - - - ### Usage Example - - Create a `MultipartFormField` to define a multipart form entry. - properties: - name: - type: string - docs: The name of the form field - validation: - minLength: 1 - data: - type: string - docs: The data for the form field. - validation: - minLength: 1 - encoding: - type: optional - docs: |- - The encoding of the value of `data`. Defaults to `RAW` if not defined. - - * `RAW` - RAW - * `BASE64` - BASE64 - * `GZIP_BASE64` - GZIP_BASE64 - file_name: - type: optional - docs: The file name of the form field, if the field is for a file. - validation: - minLength: 1 - content_type: - type: optional - docs: The MIME type of the file, if the field is for a file. - validation: - minLength: 1 - source: - openapi: openapi/openapi.yml - NoteOwner: - discriminated: false - docs: The note's owner. - union: - - type: string - validation: - format: uuid - - User - source: - openapi: openapi/openapi.yml - inline: true - NoteContact: - discriminated: false - docs: The note's contact. - union: - - type: string - validation: - format: uuid - - Contact - source: - openapi: openapi/openapi.yml - inline: true - NoteAccount: - discriminated: false - docs: The note's account. - union: - - type: string - validation: - format: uuid - - Account - source: - openapi: openapi/openapi.yml - inline: true - NoteOpportunity: - discriminated: false - docs: The note's opportunity. - union: - - type: string - validation: - format: uuid - - Opportunity - source: - openapi: openapi/openapi.yml - inline: true - Note: - docs: |- - # The Note Object - ### Description - The `Note` object is used to represent a note on another object. - ### Usage Example - TODO - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - owner: - type: optional - docs: The note's owner. - content: - type: optional - docs: The note's content. - contact: - type: optional - docs: The note's contact. - account: - type: optional - docs: The note's account. - opportunity: - type: optional - docs: The note's opportunity. - remote_updated_at: - type: optional - docs: When the third party's lead was updated. - remote_created_at: - type: optional - docs: When the third party's lead was created. - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - remote_fields: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - NoteRequestOwner: - discriminated: false - docs: The note's owner. - union: - - type: string - validation: - format: uuid - - User - source: - openapi: openapi/openapi.yml - inline: true - NoteRequestContact: - discriminated: false - docs: The note's contact. - union: - - type: string - validation: - format: uuid - - Contact - source: - openapi: openapi/openapi.yml - inline: true - NoteRequestAccount: - discriminated: false - docs: The note's account. - union: - - type: string - validation: - format: uuid - - Account - source: - openapi: openapi/openapi.yml - inline: true - NoteRequestOpportunity: - discriminated: false - docs: The note's opportunity. - union: - - type: string - validation: - format: uuid - - Opportunity - source: - openapi: openapi/openapi.yml - inline: true - NoteRequest: - docs: |- - # The Note Object - ### Description - The `Note` object is used to represent a note on another object. - ### Usage Example - TODO - properties: - owner: - type: optional - docs: The note's owner. - content: - type: optional - docs: The note's content. - contact: - type: optional - docs: The note's contact. - account: - type: optional - docs: The note's account. - opportunity: - type: optional - docs: The note's opportunity. - integration_params: - type: optional> - access: write-only - linked_account_params: - type: optional> - access: write-only - remote_fields: - type: optional> - access: write-only - source: - openapi: openapi/openapi.yml - NoteResponse: - properties: - model: Note - warnings: list - errors: list - logs: optional> - source: - openapi: openapi/openapi.yml - ObjectClassDescriptionRequest: - properties: - id: - type: string - validation: - minLength: 1 - origin_type: OriginTypeEnum - source: - openapi: openapi/openapi.yml - OpportunityOwner: - discriminated: false - docs: The opportunity's owner. - union: - - type: string - validation: - format: uuid - - User - source: - openapi: openapi/openapi.yml - inline: true - OpportunityAccount: - discriminated: false - docs: The account of the opportunity. - union: - - type: string - validation: - format: uuid - - Account - source: - openapi: openapi/openapi.yml - inline: true - OpportunityStage: - discriminated: false - docs: The stage of the opportunity. - union: - - type: string - validation: - format: uuid - - Stage - source: - openapi: openapi/openapi.yml - inline: true - OpportunityStatus: - discriminated: false - docs: |- - The opportunity's status. - - * `OPEN` - OPEN - * `WON` - WON - * `LOST` - LOST - union: - - OpportunityStatusEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - Opportunity: - docs: >- - # The Opportunity Object - - ### Description - - The `Opportunity` object is used to represent a deal opportunity in a CRM - system. - - ### Usage Example - - TODO - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - name: - type: optional - docs: The opportunity's name. - description: - type: optional - docs: The opportunity's description. - amount: - type: optional - docs: The opportunity's amount. - validation: - min: -2147483648 - max: 2147483647 - owner: - type: optional - docs: The opportunity's owner. - account: - type: optional - docs: The account of the opportunity. - stage: - type: optional - docs: The stage of the opportunity. - status: - type: optional - docs: |- - The opportunity's status. - - * `OPEN` - OPEN - * `WON` - WON - * `LOST` - LOST - last_activity_at: - type: optional - docs: When the opportunity's last activity occurred. - close_date: - type: optional - docs: When the opportunity was closed. - remote_created_at: - type: optional - docs: When the third party's opportunity was created. - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - remote_fields: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - OpportunityRequestOwner: - discriminated: false - docs: The opportunity's owner. - union: - - type: string - validation: - format: uuid - - User - source: - openapi: openapi/openapi.yml - inline: true - OpportunityRequestAccount: - discriminated: false - docs: The account of the opportunity. - union: - - type: string - validation: - format: uuid - - Account - source: - openapi: openapi/openapi.yml - inline: true - OpportunityRequestStage: - discriminated: false - docs: The stage of the opportunity. - union: - - type: string - validation: - format: uuid - - Stage - source: - openapi: openapi/openapi.yml - inline: true - OpportunityRequestStatus: - discriminated: false - docs: |- - The opportunity's status. - - * `OPEN` - OPEN - * `WON` - WON - * `LOST` - LOST - union: - - OpportunityStatusEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - OpportunityRequest: - docs: >- - # The Opportunity Object - - ### Description - - The `Opportunity` object is used to represent a deal opportunity in a CRM - system. - - ### Usage Example - - TODO - properties: - name: - type: optional - docs: The opportunity's name. - description: - type: optional - docs: The opportunity's description. - amount: - type: optional - docs: The opportunity's amount. - validation: - min: -2147483648 - max: 2147483647 - owner: - type: optional - docs: The opportunity's owner. - account: - type: optional - docs: The account of the opportunity. - stage: - type: optional - docs: The stage of the opportunity. - status: - type: optional - docs: |- - The opportunity's status. - - * `OPEN` - OPEN - * `WON` - WON - * `LOST` - LOST - last_activity_at: - type: optional - docs: When the opportunity's last activity occurred. - close_date: - type: optional - docs: When the opportunity was closed. - integration_params: - type: optional> - access: write-only - linked_account_params: - type: optional> - access: write-only - remote_fields: - type: optional> - access: write-only - source: - openapi: openapi/openapi.yml - OpportunityResponse: - properties: - model: Opportunity - warnings: list - errors: list - logs: optional> - source: - openapi: openapi/openapi.yml - OpportunityStatusEnum: - enum: - - OPEN - - WON - - LOST - docs: |- - * `OPEN` - OPEN - * `WON` - WON - * `LOST` - LOST - source: - openapi: openapi/openapi.yml - OriginTypeEnum: - enum: - - CUSTOM_OBJECT - - COMMON_MODEL - - REMOTE_ONLY_MODEL - docs: |- - * `CUSTOM_OBJECT` - CUSTOM_OBJECT - * `COMMON_MODEL` - COMMON_MODEL - * `REMOTE_ONLY_MODEL` - REMOTE_ONLY_MODEL - source: - openapi: openapi/openapi.yml - PaginatedAccountDetailsAndActionsList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedAccountList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedAssociationList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedAssociationTypeList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedAuditLogEventList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedContactList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedCustomObjectClassList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedCustomObjectList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedEngagementList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedEngagementTypeList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedIssueList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedLeadList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedNoteList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedOpportunityList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedRemoteFieldClassList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedStageList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedSyncStatusList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedTaskList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedUserList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PatchedAccountRequest: - docs: |- - # The Account Object - ### Description - The `Account` object is used to represent a company in a CRM system. - ### Usage Example - TODO - properties: - owner: - type: optional - docs: The account's owner. - validation: - format: uuid - name: - type: optional - docs: The account's name. - description: - type: optional - docs: The account's description. - industry: - type: optional - docs: The account's industry. - website: - type: optional - docs: The account's website. - validation: - format: uri - maxLength: 2000 - number_of_employees: - type: optional - docs: The account's number of employees. - validation: - min: -2147483648 - max: 2147483647 - addresses: optional> - last_activity_at: - type: optional - docs: >- - The last date (either most recent or furthest in the future) of when - an activity occurs in an account. - integration_params: - type: optional> - access: write-only - linked_account_params: - type: optional> - access: write-only - remote_fields: - type: optional> - access: write-only - source: - openapi: openapi/openapi.yml - PatchedContactRequestOwner: - discriminated: false - docs: The contact's owner. - union: - - type: string - validation: - format: uuid - - User - source: - openapi: openapi/openapi.yml - inline: true - PatchedContactRequest: - docs: >- - # The Contact Object - - ### Description - - The `Contact` object is used to represent an existing point of contact at - a company in a CRM system. - - ### Usage Example - - TODO - properties: - first_name: - type: optional - docs: The contact's first name. - last_name: - type: optional - docs: The contact's last name. - account: - type: optional - docs: The contact's account. - validation: - format: uuid - owner: - type: optional - docs: The contact's owner. - addresses: optional> - email_addresses: optional> - phone_numbers: optional> - last_activity_at: - type: optional - docs: When the contact's last activity occurred. - integration_params: - type: optional> - access: write-only - linked_account_params: - type: optional> - access: write-only - remote_fields: - type: optional> - access: write-only - source: - openapi: openapi/openapi.yml - PatchedEngagementRequestDirection: - discriminated: false - docs: |- - The engagement's direction. - - * `INBOUND` - INBOUND - * `OUTBOUND` - OUTBOUND - union: - - DirectionEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - PatchedEngagementRequest: - docs: >- - # The Engagement Object - - ### Description - - The `Engagement` object is used to represent an interaction noted in a CRM - system. - - ### Usage Example - - TODO - properties: - owner: - type: optional - docs: The engagement's owner. - validation: - format: uuid - content: - type: optional - docs: The engagement's content. - subject: - type: optional - docs: The engagement's subject. - direction: - type: optional - docs: |- - The engagement's direction. - - * `INBOUND` - INBOUND - * `OUTBOUND` - OUTBOUND - engagement_type: - type: optional - docs: The engagement type of the engagement. - validation: - format: uuid - start_time: - type: optional - docs: The time at which the engagement started. - end_time: - type: optional - docs: The time at which the engagement ended. - account: - type: optional - docs: The account of the engagement. - validation: - format: uuid - contacts: optional>> - integration_params: - type: optional> - access: write-only - linked_account_params: - type: optional> - access: write-only - remote_fields: - type: optional> - access: write-only - source: - openapi: openapi/openapi.yml - PatchedOpportunityRequestStatus: - discriminated: false - docs: |- - The opportunity's status. - - * `OPEN` - OPEN - * `WON` - WON - * `LOST` - LOST - union: - - OpportunityStatusEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - PatchedOpportunityRequest: - docs: >- - # The Opportunity Object - - ### Description - - The `Opportunity` object is used to represent a deal opportunity in a CRM - system. - - ### Usage Example - - TODO - properties: - name: - type: optional - docs: The opportunity's name. - description: - type: optional - docs: The opportunity's description. - amount: - type: optional - docs: The opportunity's amount. - validation: - min: -2147483648 - max: 2147483647 - owner: - type: optional - docs: The opportunity's owner. - validation: - format: uuid - account: - type: optional - docs: The account of the opportunity. - validation: - format: uuid - stage: - type: optional - docs: The stage of the opportunity. - validation: - format: uuid - status: - type: optional - docs: |- - The opportunity's status. - - * `OPEN` - OPEN - * `WON` - WON - * `LOST` - LOST - last_activity_at: - type: optional - docs: When the opportunity's last activity occurred. - close_date: - type: optional - docs: When the opportunity was closed. - integration_params: - type: optional> - access: write-only - linked_account_params: - type: optional> - access: write-only - remote_fields: - type: optional> - access: write-only - source: - openapi: openapi/openapi.yml - PatchedTaskRequestStatus: - discriminated: false - docs: |- - The task's status. - - * `OPEN` - OPEN - * `CLOSED` - CLOSED - union: - - TaskStatusEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - PatchedTaskRequest: - docs: |- - # The Task Object - ### Description - The `Task` object is used to represent a task, such as a to-do item. - ### Usage Example - TODO - properties: - subject: - type: optional - docs: The task's subject. - content: - type: optional - docs: The task's content. - owner: - type: optional - docs: The task's owner. - validation: - format: uuid - account: - type: optional - docs: The task's account. - validation: - format: uuid - opportunity: - type: optional - docs: The task's opportunity. - validation: - format: uuid - completed_date: - type: optional - docs: When the task is completed. - due_date: - type: optional - docs: When the task is due. - status: - type: optional - docs: |- - The task's status. - - * `OPEN` - OPEN - * `CLOSED` - CLOSED - integration_params: - type: optional> - access: write-only - linked_account_params: - type: optional> - access: write-only - remote_fields: - type: optional> - access: write-only - source: - openapi: openapi/openapi.yml - PhoneNumber: - docs: |- - # The PhoneNumber Object - ### Description - The `PhoneNumber` object is used to represent an entity's phone number. - ### Usage Example - Fetch from the `GET Contact` endpoint and view their phone numbers. - properties: - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - phone_number: - type: optional - docs: The phone number. - phone_number_type: - type: optional - docs: The phone number's type. - source: - openapi: openapi/openapi.yml - PhoneNumberRequest: - docs: |- - # The PhoneNumber Object - ### Description - The `PhoneNumber` object is used to represent an entity's phone number. - ### Usage Example - Fetch from the `GET Contact` endpoint and view their phone numbers. - properties: - phone_number: - type: optional - docs: The phone number. - phone_number_type: - type: optional - docs: The phone number's type. - integration_params: - type: optional> - access: write-only - linked_account_params: - type: optional> - access: write-only - source: - openapi: openapi/openapi.yml - ReasonEnum: - enum: - - GENERAL_CUSTOMER_REQUEST - - GDPR - - OTHER - docs: |- - * `GENERAL_CUSTOMER_REQUEST` - GENERAL_CUSTOMER_REQUEST - * `GDPR` - GDPR - * `OTHER` - OTHER - source: - openapi: openapi/openapi.yml - RemoteData: - docs: >- - # The RemoteData Object - - ### Description - - The `RemoteData` object is used to represent the full data pulled from the - third-party API for an object. - - - ### Usage Example - - TODO - properties: - path: - type: string - docs: The third-party API path that is being called. - data: - type: optional - docs: >- - The data returned from the third-party for this object in its - original, unnormalized format. - access: read-only - source: - openapi: openapi/openapi.yml - RemoteEndpointInfo: - properties: - method: string - url_path: string - field_traversal_path: list - source: - openapi: openapi/openapi.yml - RemoteFieldRemoteFieldClass: - discriminated: false - union: - - string - - RemoteFieldClass - source: - openapi: openapi/openapi.yml - inline: true - RemoteField: - properties: - remote_field_class: RemoteFieldRemoteFieldClass - value: optional - source: - openapi: openapi/openapi.yml - RemoteFieldApiCoverage: - discriminated: false - union: - - integer - - double - source: - openapi: openapi/openapi.yml - inline: true - RemoteFieldApi: - properties: - schema: map - remote_key_name: string - remote_endpoint_info: RemoteEndpointInfo - example_values: optional> - advanced_metadata: optional - coverage: - type: optional - access: read-only - source: - openapi: openapi/openapi.yml - RemoteFieldApiResponse: - properties: - Account: optional> - Contact: optional> - Lead: optional> - Note: optional> - Opportunity: optional> - Stage: optional> - User: optional> - Task: optional> - Engagement: optional> - source: - openapi: openapi/openapi.yml - RemoteFieldClassFieldType: - discriminated: false - union: - - FieldTypeEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - RemoteFieldClassFieldFormat: - discriminated: false - union: - - FieldFormatEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - RemoteFieldClassFieldChoicesItem: - properties: - value: optional - display_name: optional - source: - openapi: openapi/openapi.yml - inline: true - RemoteFieldClass: - properties: - id: optional - display_name: optional - remote_key_name: optional - description: optional - is_custom: optional - is_common_model_field: optional - is_required: optional - field_type: optional - field_format: optional - field_choices: optional> - item_schema: optional - source: - openapi: openapi/openapi.yml - RemoteFieldClassForCustomObjectClassFieldType: - discriminated: false - union: - - FieldTypeEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - RemoteFieldClassForCustomObjectClassFieldFormat: - discriminated: false - union: - - FieldFormatEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - RemoteFieldClassForCustomObjectClassFieldChoicesItem: - properties: - value: optional - display_name: optional - source: - openapi: openapi/openapi.yml - inline: true - RemoteFieldClassForCustomObjectClassItemSchema: - properties: - item_type: optional - item_format: optional - item_choices: optional>> - source: - openapi: openapi/openapi.yml - inline: true - RemoteFieldClassForCustomObjectClass: - properties: - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - display_name: optional - remote_key_name: optional - description: optional - is_required: optional - field_type: - type: optional - access: read-only - field_format: - type: optional - access: read-only - field_choices: - type: optional> - access: read-only - item_schema: - type: optional - access: read-only - source: - openapi: openapi/openapi.yml - RemoteFieldRequestRemoteFieldClass: - discriminated: false - union: - - type: string - validation: - format: uuid - - RemoteFieldClass - source: - openapi: openapi/openapi.yml - inline: true - RemoteFieldRequest: - properties: - remote_field_class: RemoteFieldRequestRemoteFieldClass - value: optional - source: - openapi: openapi/openapi.yml - RemoteKey: - docs: >- - # The RemoteKey Object - - ### Description - - The `RemoteKey` object is used to represent a request for a new remote - key. - - - ### Usage Example - - Post a `GenerateRemoteKey` to receive a new `RemoteKey`. - properties: - name: string - key: string - source: - openapi: openapi/openapi.yml - RemoteResponse: - docs: >- - # The RemoteResponse Object - - ### Description - - The `RemoteResponse` object is used to represent information returned from - a third-party endpoint. - - - ### Usage Example - - View the `RemoteResponse` returned from your `DataPassthrough`. - properties: - method: string - path: string - status: integer - response: unknown - response_headers: optional> - response_type: optional - headers: optional> - source: - openapi: openapi/openapi.yml - RequestFormatEnum: - enum: - - JSON - - XML - - MULTIPART - docs: |- - * `JSON` - JSON - * `XML` - XML - * `MULTIPART` - MULTIPART - source: - openapi: openapi/openapi.yml - ResponseTypeEnum: - enum: - - JSON - - BASE64_GZIP - docs: |- - * `JSON` - JSON - * `BASE64_GZIP` - BASE64_GZIP - source: - openapi: openapi/openapi.yml - RoleEnum: - enum: - - ADMIN - - DEVELOPER - - MEMBER - - API - - SYSTEM - - MERGE_TEAM - docs: |- - * `ADMIN` - ADMIN - * `DEVELOPER` - DEVELOPER - * `MEMBER` - MEMBER - * `API` - API - * `SYSTEM` - SYSTEM - * `MERGE_TEAM` - MERGE_TEAM - source: - openapi: openapi/openapi.yml - SelectiveSyncConfigurationsUsageEnum: - enum: - - IN_NEXT_SYNC - - IN_LAST_SYNC - docs: |- - * `IN_NEXT_SYNC` - IN_NEXT_SYNC - * `IN_LAST_SYNC` - IN_LAST_SYNC - source: - openapi: openapi/openapi.yml - Stage: - docs: |- - # The Stage Object - ### Description - The `Stage` object is used to represent the stage of an opportunity. - ### Usage Example - TODO - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - name: - type: optional - docs: The stage's name. - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - remote_fields: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - StatusFd5Enum: - enum: - - SYNCING - - DONE - - FAILED - - DISABLED - - PAUSED - - PARTIALLY_SYNCED - docs: |- - * `SYNCING` - SYNCING - * `DONE` - DONE - * `FAILED` - FAILED - * `DISABLED` - DISABLED - * `PAUSED` - PAUSED - * `PARTIALLY_SYNCED` - PARTIALLY_SYNCED - source: - openapi: openapi/openapi.yml - SyncStatusLastSyncResult: - discriminated: false - union: - - LastSyncResultEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - SyncStatusStatus: - discriminated: false - union: - - StatusFd5Enum - - string - source: - openapi: openapi/openapi.yml - inline: true - SyncStatus: - docs: >- - # The SyncStatus Object - - ### Description - - The `SyncStatus` object is used to represent the syncing state of an - account - - - ### Usage Example - - View the `SyncStatus` for an account to see how recently its models were - synced. - properties: - model_name: string - model_id: string - last_sync_start: optional - next_sync_start: optional - last_sync_result: optional - last_sync_finished: optional - status: SyncStatusStatus - is_initial_sync: boolean - selective_sync_configurations_usage: optional - source: - openapi: openapi/openapi.yml - TaskOwner: - discriminated: false - docs: The task's owner. - union: - - type: string - validation: - format: uuid - - User - source: - openapi: openapi/openapi.yml - inline: true - TaskAccount: - discriminated: false - docs: The task's account. - union: - - type: string - validation: - format: uuid - - Account - source: - openapi: openapi/openapi.yml - inline: true - TaskOpportunity: - discriminated: false - docs: The task's opportunity. - union: - - type: string - validation: - format: uuid - - Opportunity - source: - openapi: openapi/openapi.yml - inline: true - TaskStatus: - discriminated: false - docs: |- - The task's status. - - * `OPEN` - OPEN - * `CLOSED` - CLOSED - union: - - TaskStatusEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - Task: - docs: |- - # The Task Object - ### Description - The `Task` object is used to represent a task, such as a to-do item. - ### Usage Example - TODO - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - subject: - type: optional - docs: The task's subject. - content: - type: optional - docs: The task's content. - owner: - type: optional - docs: The task's owner. - account: - type: optional - docs: The task's account. - opportunity: - type: optional - docs: The task's opportunity. - completed_date: - type: optional - docs: When the task is completed. - due_date: - type: optional - docs: When the task is due. - status: - type: optional - docs: |- - The task's status. - - * `OPEN` - OPEN - * `CLOSED` - CLOSED - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - remote_fields: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - TaskRequestOwner: - discriminated: false - docs: The task's owner. - union: - - type: string - validation: - format: uuid - - User - source: - openapi: openapi/openapi.yml - inline: true - TaskRequestAccount: - discriminated: false - docs: The task's account. - union: - - type: string - validation: - format: uuid - - Account - source: - openapi: openapi/openapi.yml - inline: true - TaskRequestOpportunity: - discriminated: false - docs: The task's opportunity. - union: - - type: string - validation: - format: uuid - - Opportunity - source: - openapi: openapi/openapi.yml - inline: true - TaskRequestStatus: - discriminated: false - docs: |- - The task's status. - - * `OPEN` - OPEN - * `CLOSED` - CLOSED - union: - - TaskStatusEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - TaskRequest: - docs: |- - # The Task Object - ### Description - The `Task` object is used to represent a task, such as a to-do item. - ### Usage Example - TODO - properties: - subject: - type: optional - docs: The task's subject. - content: - type: optional - docs: The task's content. - owner: - type: optional - docs: The task's owner. - account: - type: optional - docs: The task's account. - opportunity: - type: optional - docs: The task's opportunity. - completed_date: - type: optional - docs: When the task is completed. - due_date: - type: optional - docs: When the task is due. - status: - type: optional - docs: |- - The task's status. - - * `OPEN` - OPEN - * `CLOSED` - CLOSED - integration_params: - type: optional> - access: write-only - linked_account_params: - type: optional> - access: write-only - remote_fields: - type: optional> - access: write-only - source: - openapi: openapi/openapi.yml - TaskResponse: - properties: - model: Task - warnings: list - errors: list - logs: optional> - source: - openapi: openapi/openapi.yml - TaskStatusEnum: - enum: - - OPEN - - CLOSED - docs: |- - * `OPEN` - OPEN - * `CLOSED` - CLOSED - source: - openapi: openapi/openapi.yml - User: - docs: >- - # The User Object - - ### Description - - The `User` object is used to represent a user with a login to the CRM - system. - - ### Usage Example - - TODO - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - name: - type: optional - docs: The user's name. - email: - type: optional - docs: The user's email address. - is_active: - type: optional - docs: Whether or not the user is active. - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - remote_fields: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - ValidationProblemSource: - properties: - pointer: string - source: - openapi: openapi/openapi.yml - WarningValidationProblem: - properties: - source: optional - title: string - detail: string - problem_type: string - source: - openapi: openapi/openapi.yml - WebhookReceiver: - properties: - event: string - is_active: boolean - key: optional - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/crm/accountDetails.yml b/.mock/definition/crm/accountDetails.yml deleted file mode 100644 index 23aefe1d..00000000 --- a/.mock/definition/crm/accountDetails.yml +++ /dev/null @@ -1,38 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - retrieve: - path: /crm/v1/account-details - method: GET - auth: - - tokenAuth: [] - docs: Get details for a linked account. - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: root.AccountDetails - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - id: 0496d4c2-42e6-4072-80b3-7b69bfdc76fd - integration: BambooHR - integration_slug: bamboohr - category: hris - end_user_origin_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - end_user_organization_name: Waystar Royco - end_user_email_address: kendall.roy@waystar-royco.com - status: COMPLETE - webhook_listener_url: >- - https://api.merge.dev/api/integrations/webhook-listener/7fc3mee0UW8ecV4 - is_duplicate: true - account_type: PRODUCTION - completed_at: '2024-08-26T20:11:19Z' - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/crm/accountToken.yml b/.mock/definition/crm/accountToken.yml deleted file mode 100644 index 502ad970..00000000 --- a/.mock/definition/crm/accountToken.yml +++ /dev/null @@ -1,47 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - retrieve: - path: /crm/v1/account-token/{public_token} - method: GET - auth: - - tokenAuth: [] - docs: >- - Returns the account token for the end user with the provided public - token. - source: - openapi: openapi/openapi.yml - path-parameters: - public_token: string - response: - docs: '' - type: root.AccountToken - status-code: 200 - examples: - - path-parameters: - public_token: public_token - headers: - X-Account-Token: '[object Object]' - response: - body: - account_token: T9klMDQrcHdm9jrtHuOS2Nf06BIHwMNjpPXPMB - integration: - name: name - abbreviated_name: abbreviated_name - categories: - - hris - image: image - square_image: square_image - color: color - slug: slug - api_endpoints_to_documentation_urls: - key: value - webhook_setup_guide_url: webhook_setup_guide_url - category_beta_status: - key: value - id: 0496d4c2-42e6-4072-80b3-7b69bfdc76fd - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/crm/accounts.yml b/.mock/definition/crm/accounts.yml deleted file mode 100644 index 08a87f07..00000000 --- a/.mock/definition/crm/accounts.yml +++ /dev/null @@ -1,898 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /crm/v1/accounts - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `Account` objects. - source: - openapi: openapi/openapi.yml - request: - name: AccountsListRequest - query-parameters: - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - expand: - type: optional> - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_remote_fields: - type: optional - docs: >- - Whether to include all remote fields, including fields that Merge - did not map to common models, in a normalized format. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - name: - type: optional - docs: If provided, will only return accounts with this name. - owner_id: - type: optional - docs: If provided, will only return accounts with this owner. - page_size: - type: optional - docs: Number of results to return per page. - remote_id: - type: optional - docs: The API provider's ID for the given object. - response: - docs: '' - type: root.PaginatedAccountList - status-code: 200 - examples: - - query-parameters: - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - expand: owner - include_deleted_data: true - include_remote_data: true - include_remote_fields: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - name: name - owner_id: owner_id - page_size: 1 - remote_id: remote_id - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: 0958cbc6-6040-430a-848e-aafacbadf4ae - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - owner: owner - name: Merge API - description: One API for all integrations - industry: API's - website: https://merge.dev/ - number_of_employees: 276000 - addresses: - - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - street_1: 50 Bowling Green Dr - street_2: Golden Gate Park - city: San Francisco - state: CA - postal_code: '94122' - country: US - address_type: Shipping - phone_numbers: - - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - phone_number: '+16788879833' - phone_number_type: Mobile - last_activity_at: '2022-02-10T00:00:00Z' - remote_updated_at: '2022-01-09T00:00:00Z' - remote_created_at: '2021-11-10T00:00:00Z' - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /accounts - data: - - Varies by platform - remote_fields: - - remote_field_class: remote_field_class - value: string - create: - path: /crm/v1/accounts - method: POST - auth: - - tokenAuth: [] - docs: Creates an `Account` object with the given values. - source: - openapi: openapi/openapi.yml - request: - name: CrmAccountEndpointRequest - query-parameters: - is_debug_mode: - type: optional - docs: >- - Whether to include debug fields (such as log file links) in the - response. - run_async: - type: optional - docs: Whether or not third-party updates should be run asynchronously. - body: - properties: - model: root.AccountRequest - content-type: application/json - response: - docs: '' - type: root.CrmAccountResponse - status-code: 201 - examples: - - query-parameters: - is_debug_mode: true - run_async: true - headers: - X-Account-Token: X-Account-Token - request: - model: {} - response: - body: - model: - id: 0958cbc6-6040-430a-848e-aafacbadf4ae - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - owner: owner - name: Merge API - description: One API for all integrations - industry: API's - website: https://merge.dev/ - number_of_employees: 276000 - addresses: - - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - street_1: 50 Bowling Green Dr - street_2: Golden Gate Park - city: San Francisco - state: CA - postal_code: '94122' - country: US - address_type: Shipping - phone_numbers: - - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - phone_number: '+16788879833' - phone_number_type: Mobile - last_activity_at: '2022-02-10T00:00:00Z' - remote_updated_at: '2022-01-09T00:00:00Z' - remote_created_at: '2021-11-10T00:00:00Z' - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /accounts - data: - - Varies by platform - remote_fields: - - remote_field_class: remote_field_class - value: string - warnings: - - source: - pointer: pointer - title: Unrecognized Field - detail: An unrecognized field, age, was passed in with request data. - problem_type: UNRECOGNIZED_FIELD - errors: - - source: - pointer: pointer - title: Missing Required Field - detail: custom_fields is a required field on model. - problem_type: MISSING_REQUIRED_FIELD - logs: - - log_id: 99433219-8017-4acd-bb3c-ceb23d663832 - dashboard_view: >- - https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832 - log_summary: - url: www.exampleintegration.com/api/v1/exampleapi - method: POST - status_code: 200 - retrieve: - path: /crm/v1/accounts/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns an `Account` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: AccountsRetrieveRequest - query-parameters: - expand: - type: optional> - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_remote_fields: - type: optional - docs: >- - Whether to include all remote fields, including fields that Merge - did not map to common models, in a normalized format. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - response: - docs: '' - type: root.Account - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - expand: owner - include_remote_data: true - include_remote_fields: true - include_shell_data: true - headers: - X-Account-Token: X-Account-Token - response: - body: - id: 0958cbc6-6040-430a-848e-aafacbadf4ae - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - owner: owner - name: Merge API - description: One API for all integrations - industry: API's - website: https://merge.dev/ - number_of_employees: 276000 - addresses: - - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - street_1: 50 Bowling Green Dr - street_2: Golden Gate Park - city: San Francisco - state: CA - postal_code: '94122' - country: US - address_type: Shipping - phone_numbers: - - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - phone_number: '+16788879833' - phone_number_type: Mobile - last_activity_at: '2022-02-10T00:00:00Z' - remote_updated_at: '2022-01-09T00:00:00Z' - remote_created_at: '2021-11-10T00:00:00Z' - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /accounts - data: - - Varies by platform - remote_fields: - - remote_field_class: remote_field_class - value: string - partialUpdate: - path: /crm/v1/accounts/{id} - method: PATCH - auth: - - tokenAuth: [] - docs: Updates an `Account` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: PatchedCrmAccountEndpointRequest - query-parameters: - is_debug_mode: - type: optional - docs: >- - Whether to include debug fields (such as log file links) in the - response. - run_async: - type: optional - docs: Whether or not third-party updates should be run asynchronously. - body: - properties: - model: root.PatchedAccountRequest - content-type: application/json - response: - docs: '' - type: root.CrmAccountResponse - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - is_debug_mode: true - run_async: true - headers: - X-Account-Token: X-Account-Token - request: - model: {} - response: - body: - model: - id: 0958cbc6-6040-430a-848e-aafacbadf4ae - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - owner: owner - name: Merge API - description: One API for all integrations - industry: API's - website: https://merge.dev/ - number_of_employees: 276000 - addresses: - - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - street_1: 50 Bowling Green Dr - street_2: Golden Gate Park - city: San Francisco - state: CA - postal_code: '94122' - country: US - address_type: Shipping - phone_numbers: - - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - phone_number: '+16788879833' - phone_number_type: Mobile - last_activity_at: '2022-02-10T00:00:00Z' - remote_updated_at: '2022-01-09T00:00:00Z' - remote_created_at: '2021-11-10T00:00:00Z' - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /accounts - data: - - Varies by platform - remote_fields: - - remote_field_class: remote_field_class - value: string - warnings: - - source: - pointer: pointer - title: Unrecognized Field - detail: An unrecognized field, age, was passed in with request data. - problem_type: UNRECOGNIZED_FIELD - errors: - - source: - pointer: pointer - title: Missing Required Field - detail: custom_fields is a required field on model. - problem_type: MISSING_REQUIRED_FIELD - logs: - - log_id: 99433219-8017-4acd-bb3c-ceb23d663832 - dashboard_view: >- - https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832 - log_summary: - url: www.exampleintegration.com/api/v1/exampleapi - method: POST - status_code: 200 - metaPatchRetrieve: - path: /crm/v1/accounts/meta/patch/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns metadata for `CRMAccount` PATCHs. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - response: - docs: '' - type: root.MetaResponse - status-code: 200 - examples: - - path-parameters: - id: id - headers: - X-Account-Token: X-Account-Token - response: - body: - request_schema: - type: object - properties: - model: - type: object - required: - - last_name - - first_name - - merge_categories - - new_york_city_neighborhood - - favorite_tv_shows - - favorite_watch - properties: - email_addresses: - type: array - items: - type: object - properties: - value: - type: string - title: value - email_address_type: - type: string - title: email_address_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: email_addresses - description: Array of email_addresses objects - urls: - type: array - items: - type: object - properties: - value: - type: string - title: value - url_type: - type: string - title: url_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: urls - description: Array of urls objects - first_name: - type: string - title: first_name - description: The first name. - last_name: - type: string - title: last_name - description: The last name. - phone_numbers: - type: array - items: - type: object - properties: - value: - type: string - title: value - phone_number_type: - type: string - title: phone_number_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: phone_numbers - description: Array of phone_numbers objects - tags: - type: array - items: - type: string - format: uuid - title: tags - description: Array of tags names - attachments: - type: array - items: - type: object - properties: - id: - type: string - title: id - file_url: - type: string - title: file_url - file_name: - type: string - title: file_name - attachment_type: - type: string - title: attachment_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: attachments - description: 'Array of attachments objects ' - merge_categories: - type: array - categories: - type: string - enum: - - HRIS - - ATS - - Accounting - - Ticketing - - File Storage - - CRM - - Marketing Automation - enum_information: - - value: HRIS - description: Merge HRIS Category - - value: ATS - description: Merge ATS Category - - value: Accounting - description: Merge Accounting Category - - value: Ticketing - description: Merge Ticketing Category - - value: File Storage - description: Merge File Storage Category - - value: CRM - description: Merge CRM Category - - value: Marketing Automation - description: Merge Marketing Automation Category - title: Merge Categories - description: Array of Merge's Unified API Categories - new_york_city_neighborhood: - type: string - title: Borough - description: One of the 5 Boroughs of New York City - favorite_tv_shows: - type: array - items: - type: string - format: uuid - title: Favorite TV Shows - description: Array of TV Show objects on merge.tv_shows - favorite_watch: - type: string - title: Favorite Watch - description: Favorite watch of all time - remote_field_classes: - key: value - status: - linked_account_status: linked_account_status - can_make_request: true - has_conditional_params: true - has_required_linked_account_params: true - metaPostRetrieve: - path: /crm/v1/accounts/meta/post - method: GET - auth: - - tokenAuth: [] - docs: Returns metadata for `CRMAccount` POSTs. - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: root.MetaResponse - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - request_schema: - type: object - properties: - model: - type: object - required: - - last_name - - first_name - - merge_categories - - new_york_city_neighborhood - - favorite_tv_shows - - favorite_watch - properties: - email_addresses: - type: array - items: - type: object - properties: - value: - type: string - title: value - email_address_type: - type: string - title: email_address_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: email_addresses - description: Array of email_addresses objects - urls: - type: array - items: - type: object - properties: - value: - type: string - title: value - url_type: - type: string - title: url_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: urls - description: Array of urls objects - first_name: - type: string - title: first_name - description: The first name. - last_name: - type: string - title: last_name - description: The last name. - phone_numbers: - type: array - items: - type: object - properties: - value: - type: string - title: value - phone_number_type: - type: string - title: phone_number_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: phone_numbers - description: Array of phone_numbers objects - tags: - type: array - items: - type: string - format: uuid - title: tags - description: Array of tags names - attachments: - type: array - items: - type: object - properties: - id: - type: string - title: id - file_url: - type: string - title: file_url - file_name: - type: string - title: file_name - attachment_type: - type: string - title: attachment_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: attachments - description: 'Array of attachments objects ' - merge_categories: - type: array - categories: - type: string - enum: - - HRIS - - ATS - - Accounting - - Ticketing - - File Storage - - CRM - - Marketing Automation - enum_information: - - value: HRIS - description: Merge HRIS Category - - value: ATS - description: Merge ATS Category - - value: Accounting - description: Merge Accounting Category - - value: Ticketing - description: Merge Ticketing Category - - value: File Storage - description: Merge File Storage Category - - value: CRM - description: Merge CRM Category - - value: Marketing Automation - description: Merge Marketing Automation Category - title: Merge Categories - description: Array of Merge's Unified API Categories - new_york_city_neighborhood: - type: string - title: Borough - description: One of the 5 Boroughs of New York City - favorite_tv_shows: - type: array - items: - type: string - format: uuid - title: Favorite TV Shows - description: Array of TV Show objects on merge.tv_shows - favorite_watch: - type: string - title: Favorite Watch - description: Favorite watch of all time - remote_field_classes: - key: value - status: - linked_account_status: linked_account_status - can_make_request: true - has_conditional_params: true - has_required_linked_account_params: true - remoteFieldClassesList: - path: /crm/v1/accounts/remote-field-classes - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `RemoteFieldClass` objects. - source: - openapi: openapi/openapi.yml - request: - name: AccountsRemoteFieldClassesListRequest - query-parameters: - cursor: - type: optional - docs: The pagination cursor value. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_remote_fields: - type: optional - docs: >- - Whether to include all remote fields, including fields that Merge - did not map to common models, in a normalized format. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - is_common_model_field: - type: optional - docs: >- - If provided, will only return remote field classes with this - is_common_model_field value - is_custom: - type: optional - docs: >- - If provided, will only return remote fields classes with this - is_custom value - page_size: - type: optional - docs: Number of results to return per page. - response: - docs: '' - type: root.PaginatedRemoteFieldClassList - status-code: 200 - examples: - - query-parameters: - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - include_deleted_data: true - include_remote_data: true - include_remote_fields: true - include_shell_data: true - is_common_model_field: true - is_custom: true - page_size: 1 - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: id - display_name: display_name - remote_key_name: remote_key_name - description: description - is_custom: true - is_common_model_field: true - is_required: true - field_type: string - field_format: string - field_choices: - - {} - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/crm/associationTypes.yml b/.mock/definition/crm/associationTypes.yml deleted file mode 100644 index d10ec92b..00000000 --- a/.mock/definition/crm/associationTypes.yml +++ /dev/null @@ -1,447 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - custom_object_classes_association_types_list: - path: /crm/v1/custom-object-classes/{custom_object_class_id}/association-types - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `AssociationType` objects. - source: - openapi: openapi/openapi.yml - path-parameters: - custom_object_class_id: string - request: - name: CustomObjectClassesAssociationTypesListRequest - query-parameters: - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - expand: - type: optional> - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - page_size: - type: optional - docs: Number of results to return per page. - remote_id: - type: optional - docs: The API provider's ID for the given object. - response: - docs: '' - type: root.PaginatedAssociationTypeList - status-code: 200 - examples: - - path-parameters: - custom_object_class_id: custom_object_class_id - query-parameters: - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - expand: target_object_classes - include_deleted_data: true - include_remote_data: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - page_size: 1 - remote_id: remote_id - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: 5bb73c32-3c6c-4757-ab7d-7d3540a1be31 - remote_id: '93' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - source_object_class: - id: ff1ff4cb-a66b-47dc-8e2a-50388049e602 - origin_type: CUSTOM_OBJECT - target_object_classes: - - id: Opportunity - origin_type: COMMON_MODEL - remote_key_name: order_to_opportunity - display_name: Order to Opportunity - cardinality: ONE_TO_ONE - is_required: true - custom_object_classes_association_types_create: - path: /crm/v1/custom-object-classes/{custom_object_class_id}/association-types - method: POST - auth: - - tokenAuth: [] - docs: Creates an `AssociationType` object with the given values. - source: - openapi: openapi/openapi.yml - path-parameters: - custom_object_class_id: string - request: - name: CrmAssociationTypeEndpointRequest - query-parameters: - is_debug_mode: - type: optional - docs: >- - Whether to include debug fields (such as log file links) in the - response. - run_async: - type: optional - docs: Whether or not third-party updates should be run asynchronously. - body: - properties: - model: root.AssociationTypeRequestRequest - content-type: application/json - response: - docs: '' - type: root.CrmAssociationTypeResponse - status-code: 201 - examples: - - path-parameters: - custom_object_class_id: custom_object_class_id - query-parameters: - is_debug_mode: true - run_async: true - headers: - X-Account-Token: X-Account-Token - request: - model: - source_object_class: - id: id - origin_type: CUSTOM_OBJECT - target_object_classes: - - id: id - origin_type: CUSTOM_OBJECT - remote_key_name: remote_key_name - response: - body: - model: - id: 5bb73c32-3c6c-4757-ab7d-7d3540a1be31 - remote_id: '93' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - source_object_class: - id: ff1ff4cb-a66b-47dc-8e2a-50388049e602 - origin_type: CUSTOM_OBJECT - target_object_classes: - - id: Opportunity - origin_type: COMMON_MODEL - remote_key_name: order_to_opportunity - display_name: Order to Opportunity - cardinality: ONE_TO_ONE - is_required: true - warnings: - - source: - pointer: pointer - title: Unrecognized Field - detail: An unrecognized field, age, was passed in with request data. - problem_type: UNRECOGNIZED_FIELD - errors: - - source: - pointer: pointer - title: Missing Required Field - detail: custom_fields is a required field on model. - problem_type: MISSING_REQUIRED_FIELD - logs: - - log_id: 99433219-8017-4acd-bb3c-ceb23d663832 - dashboard_view: >- - https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832 - log_summary: - url: www.exampleintegration.com/api/v1/exampleapi - method: POST - status_code: 200 - custom_object_classes_association_types_retrieve: - path: >- - /crm/v1/custom-object-classes/{custom_object_class_id}/association-types/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns an `AssociationType` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - custom_object_class_id: string - id: string - request: - name: CustomObjectClassesAssociationTypesRetrieveRequest - query-parameters: - expand: - type: optional> - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - response: - docs: '' - type: root.AssociationType - status-code: 200 - examples: - - path-parameters: - custom_object_class_id: custom_object_class_id - id: id - query-parameters: - expand: target_object_classes - include_remote_data: true - include_shell_data: true - headers: - X-Account-Token: X-Account-Token - response: - body: - id: 5bb73c32-3c6c-4757-ab7d-7d3540a1be31 - remote_id: '93' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - source_object_class: - id: ff1ff4cb-a66b-47dc-8e2a-50388049e602 - origin_type: CUSTOM_OBJECT - target_object_classes: - - id: Opportunity - created_at: '2024-01-15T09:30:00Z' - modified_at: '2024-01-15T09:30:00Z' - origin_type: COMMON_MODEL - remote_key_name: order_to_opportunity - display_name: Order to Opportunity - cardinality: ONE_TO_ONE - is_required: true - custom_object_classes_association_types_meta_post_retrieve: - path: >- - /crm/v1/custom-object-classes/{custom_object_class_id}/association-types/meta/post - method: GET - auth: - - tokenAuth: [] - docs: Returns metadata for `CRMAssociationType` POSTs. - source: - openapi: openapi/openapi.yml - path-parameters: - custom_object_class_id: string - response: - docs: '' - type: root.MetaResponse - status-code: 200 - examples: - - path-parameters: - custom_object_class_id: custom_object_class_id - headers: - X-Account-Token: X-Account-Token - response: - body: - request_schema: - type: object - properties: - model: - type: object - required: - - last_name - - first_name - - merge_categories - - new_york_city_neighborhood - - favorite_tv_shows - - favorite_watch - properties: - email_addresses: - type: array - items: - type: object - properties: - value: - type: string - title: value - email_address_type: - type: string - title: email_address_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: email_addresses - description: Array of email_addresses objects - urls: - type: array - items: - type: object - properties: - value: - type: string - title: value - url_type: - type: string - title: url_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: urls - description: Array of urls objects - first_name: - type: string - title: first_name - description: The first name. - last_name: - type: string - title: last_name - description: The last name. - phone_numbers: - type: array - items: - type: object - properties: - value: - type: string - title: value - phone_number_type: - type: string - title: phone_number_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: phone_numbers - description: Array of phone_numbers objects - tags: - type: array - items: - type: string - format: uuid - title: tags - description: Array of tags names - attachments: - type: array - items: - type: object - properties: - id: - type: string - title: id - file_url: - type: string - title: file_url - file_name: - type: string - title: file_name - attachment_type: - type: string - title: attachment_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: attachments - description: 'Array of attachments objects ' - merge_categories: - type: array - categories: - type: string - enum: - - HRIS - - ATS - - Accounting - - Ticketing - - File Storage - - CRM - - Marketing Automation - enum_information: - - value: HRIS - description: Merge HRIS Category - - value: ATS - description: Merge ATS Category - - value: Accounting - description: Merge Accounting Category - - value: Ticketing - description: Merge Ticketing Category - - value: File Storage - description: Merge File Storage Category - - value: CRM - description: Merge CRM Category - - value: Marketing Automation - description: Merge Marketing Automation Category - title: Merge Categories - description: Array of Merge's Unified API Categories - new_york_city_neighborhood: - type: string - title: Borough - description: One of the 5 Boroughs of New York City - favorite_tv_shows: - type: array - items: - type: string - format: uuid - title: Favorite TV Shows - description: Array of TV Show objects on merge.tv_shows - favorite_watch: - type: string - title: Favorite Watch - description: Favorite watch of all time - remote_field_classes: - key: value - status: - linked_account_status: linked_account_status - can_make_request: true - has_conditional_params: true - has_required_linked_account_params: true - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/crm/associations.yml b/.mock/definition/crm/associations.yml deleted file mode 100644 index 65ff619c..00000000 --- a/.mock/definition/crm/associations.yml +++ /dev/null @@ -1,162 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - custom_object_classes_custom_objects_associations_list: - path: >- - /crm/v1/custom-object-classes/{custom_object_class_id}/custom-objects/{object_id}/associations - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `Association` objects. - source: - openapi: openapi/openapi.yml - path-parameters: - custom_object_class_id: string - object_id: string - request: - name: CustomObjectClassesCustomObjectsAssociationsListRequest - query-parameters: - association_type_id: - type: optional - docs: >- - If provided, will only return opportunities with this - association_type. - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - expand: - type: optional> - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - page_size: - type: optional - docs: Number of results to return per page. - remote_id: - type: optional - docs: The API provider's ID for the given object. - response: - docs: '' - type: root.PaginatedAssociationList - status-code: 200 - examples: - - path-parameters: - custom_object_class_id: custom_object_class_id - object_id: object_id - query-parameters: - association_type_id: association_type_id - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - expand: association_type - include_deleted_data: true - include_remote_data: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - page_size: 1 - remote_id: remote_id - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - source_object: a8f5d29f-4e50-473f-8f12-27128ffcd37a - target_object: da0b1963-be70-469c-9f8c-06a81d0fe759 - association_type: association_type - custom_object_classes_custom_objects_associations_update: - path: >- - /crm/v1/custom-object-classes/{source_class_id}/custom-objects/{source_object_id}/associations/{target_class_id}/{target_object_id}/{association_type_id} - method: PUT - auth: - - tokenAuth: [] - docs: >- - Creates an Association between `source_object_id` and `target_object_id` - of type `association_type_id`. - source: - openapi: openapi/openapi.yml - path-parameters: - source_class_id: string - source_object_id: string - target_class_id: string - target_object_id: string - association_type_id: string - request: - name: CustomObjectClassesCustomObjectsAssociationsUpdateRequest - query-parameters: - is_debug_mode: - type: optional - docs: >- - Whether to include debug fields (such as log file links) in the - response. - run_async: - type: optional - docs: Whether or not third-party updates should be run asynchronously. - response: - docs: '' - type: root.Association - status-code: 200 - examples: - - path-parameters: - source_class_id: source_class_id - source_object_id: source_object_id - target_class_id: target_class_id - target_object_id: target_object_id - association_type_id: association_type_id - query-parameters: - is_debug_mode: true - run_async: true - headers: - X-Account-Token: X-Account-Token - response: - body: - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - source_object: a8f5d29f-4e50-473f-8f12-27128ffcd37a - target_object: da0b1963-be70-469c-9f8c-06a81d0fe759 - association_type: association_type - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/crm/asyncPassthrough.yml b/.mock/definition/crm/asyncPassthrough.yml deleted file mode 100644 index 1fc93cd5..00000000 --- a/.mock/definition/crm/asyncPassthrough.yml +++ /dev/null @@ -1,78 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - create: - path: /crm/v1/async-passthrough - method: POST - auth: - - tokenAuth: [] - docs: >- - Asynchronously pull data from an endpoint not currently supported by - Merge. - source: - openapi: openapi/openapi.yml - request: - body: root.DataPassthroughRequest - content-type: application/json - response: - docs: '' - type: root.AsyncPassthroughReciept - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - request: - method: GET - path: /scooters - response: - body: - async_passthrough_receipt_id: fd29020f-2695-445e-922e-dcd5e81903fd - retrieve: - path: /crm/v1/async-passthrough/{async_passthrough_receipt_id} - method: GET - auth: - - tokenAuth: [] - docs: Retrieves data from earlier async-passthrough POST request - source: - openapi: openapi/openapi.yml - path-parameters: - async_passthrough_receipt_id: string - response: - docs: '' - type: AsyncPassthroughRetrieveResponse - status-code: 200 - examples: - - path-parameters: - async_passthrough_receipt_id: async_passthrough_receipt_id - headers: - X-Account-Token: X-Account-Token - response: - body: - method: GET - path: /scooters - status: 200 - response: - scooters: - - company: Lime - model: Gen 2.5 - - company: Bird - model: Bird Zero - response_headers: - X-Page-Token: value - response_type: JSON - headers: - EXTRA-HEADER: value - Authorization: - source: - openapi: openapi/openapi.yml -types: - AsyncPassthroughRetrieveResponse: - discriminated: false - union: - - root.RemoteResponse - - string - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/crm/auditTrail.yml b/.mock/definition/crm/auditTrail.yml deleted file mode 100644 index 66ae0d31..00000000 --- a/.mock/definition/crm/auditTrail.yml +++ /dev/null @@ -1,104 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /crm/v1/audit-trail - method: GET - auth: - - tokenAuth: [] - docs: Gets a list of audit trail events. - source: - openapi: openapi/openapi.yml - request: - name: AuditTrailListRequest - query-parameters: - cursor: - type: optional - docs: The pagination cursor value. - end_date: - type: optional - docs: >- - If included, will only include audit trail events that occurred - before this time - event_type: - type: optional - docs: >- - If included, will only include events with the given event type. - Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, - `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, - `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, - `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, - `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, - `DELETED_LINKED_ACCOUNT`, - `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, - `CREATED_DESTINATION`, `DELETED_DESTINATION`, - `CHANGED_DESTINATION`, `CHANGED_SCOPES`, - `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, - `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, - `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, - `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, - `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, - `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, - `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, - `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, - `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, - `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, - `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, - `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, - `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, - `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, - `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, - `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, - `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, - `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, - `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, - `END_USER_CREDENTIALS_ACCESSED` - page_size: - type: optional - docs: Number of results to return per page. - start_date: - type: optional - docs: >- - If included, will only include audit trail events that occurred - after this time - user_email: - type: optional - docs: >- - If provided, this will return events associated with the specified - user email. Please note that the email address reflects the user's - email at the time of the event, and may not be their current - email. - response: - docs: '' - type: root.PaginatedAuditLogEventList - status-code: 200 - examples: - - query-parameters: - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - end_date: end_date - event_type: event_type - page_size: 1 - start_date: start_date - user_email: user_email - headers: - X-Account-Token: '[object Object]' - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: b5ceea2a-7171-47ce-8090-165cfce5572c - user_name: Gil Feig - user_email: hello@merge.dev - role: ADMIN - ip_address: 192.0.2.123 - event_type: CREATED_REMOTE_PRODUCTION_API_KEY - event_description: >- - Organization-wide Scopes for model hris.Employee updated - from Read to Read+Write - created_at: '2024-01-15T09:30:00Z' - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/crm/availableActions.yml b/.mock/definition/crm/availableActions.yml deleted file mode 100644 index 47b05a6b..00000000 --- a/.mock/definition/crm/availableActions.yml +++ /dev/null @@ -1,52 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - retrieve: - path: /crm/v1/available-actions - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of models and actions available for an account. - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: root.AvailableActions - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - integration: - name: name - abbreviated_name: abbreviated_name - categories: - - hris - image: image - square_image: square_image - color: color - slug: slug - api_endpoints_to_documentation_urls: - key: value - webhook_setup_guide_url: webhook_setup_guide_url - category_beta_status: - key: value - passthrough_available: true - available_model_operations: - - model_name: Candidate - available_operations: - - FETCH - - CREATE - required_post_parameters: - - remote_user_id - supported_fields: - - first_name - - last_name - - company - - title - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/crm/contacts.yml b/.mock/definition/crm/contacts.yml deleted file mode 100644 index f2af6958..00000000 --- a/.mock/definition/crm/contacts.yml +++ /dev/null @@ -1,955 +0,0 @@ -types: - ContactsListRequestExpand: - enum: - - account - - value: account,owner - name: AccountOwner - - owner - source: - openapi: openapi/openapi.yml - ContactsRetrieveRequestExpand: - enum: - - account - - value: account,owner - name: AccountOwner - - owner - source: - openapi: openapi/openapi.yml -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /crm/v1/contacts - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `Contact` objects. - source: - openapi: openapi/openapi.yml - request: - name: ContactsListRequest - query-parameters: - account_id: - type: optional - docs: If provided, will only return contacts with this account. - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - email_addresses: - type: optional - docs: >- - If provided, will only return contacts matching the email - addresses; multiple email_addresses can be separated by commas. - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_remote_fields: - type: optional - docs: >- - Whether to include all remote fields, including fields that Merge - did not map to common models, in a normalized format. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - page_size: - type: optional - docs: Number of results to return per page. - phone_numbers: - type: optional - docs: >- - If provided, will only return contacts matching the phone numbers; - multiple phone numbers can be separated by commas. - remote_id: - type: optional - docs: The API provider's ID for the given object. - response: - docs: '' - type: root.PaginatedContactList - status-code: 200 - examples: - - query-parameters: - account_id: account_id - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - email_addresses: email_addresses - expand: account - include_deleted_data: true - include_remote_data: true - include_remote_fields: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - page_size: 1 - phone_numbers: phone_numbers - remote_id: remote_id - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: 550e8400-e29b-41d4-a716-446655440000 - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - first_name: Gil - last_name: Feig - account: account - owner: owner - addresses: - - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - street_1: 50 Bowling Green Dr - street_2: Golden Gate Park - city: San Francisco - state: CA - postal_code: '94122' - country: US - address_type: Shipping - email_addresses: - - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - email_address: hello@merge.dev - email_address_type: Work - phone_numbers: - - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - phone_number: '+13785579223' - phone_number_type: Mobile - last_activity_at: '2022-02-10T00:00:00Z' - remote_created_at: '2021-11-10T00:00:00Z' - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /contacts - data: - - Varies by platform - remote_fields: - - remote_field_class: remote_field_class - value: string - create: - path: /crm/v1/contacts - method: POST - auth: - - tokenAuth: [] - docs: Creates a `Contact` object with the given values. - source: - openapi: openapi/openapi.yml - request: - name: CrmContactEndpointRequest - query-parameters: - is_debug_mode: - type: optional - docs: >- - Whether to include debug fields (such as log file links) in the - response. - run_async: - type: optional - docs: Whether or not third-party updates should be run asynchronously. - body: - properties: - model: root.ContactRequest - content-type: application/json - response: - docs: '' - type: root.CrmContactResponse - status-code: 201 - examples: - - query-parameters: - is_debug_mode: true - run_async: true - headers: - X-Account-Token: X-Account-Token - request: - model: {} - response: - body: - model: - id: 550e8400-e29b-41d4-a716-446655440000 - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - first_name: Gil - last_name: Feig - account: account - owner: owner - addresses: - - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - street_1: 50 Bowling Green Dr - street_2: Golden Gate Park - city: San Francisco - state: CA - postal_code: '94122' - country: US - address_type: Shipping - email_addresses: - - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - email_address: hello@merge.dev - email_address_type: Work - phone_numbers: - - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - phone_number: '+13785579223' - phone_number_type: Mobile - last_activity_at: '2022-02-10T00:00:00Z' - remote_created_at: '2021-11-10T00:00:00Z' - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /contacts - data: - - Varies by platform - remote_fields: - - remote_field_class: remote_field_class - value: string - warnings: - - source: - pointer: pointer - title: Unrecognized Field - detail: An unrecognized field, age, was passed in with request data. - problem_type: UNRECOGNIZED_FIELD - errors: - - source: - pointer: pointer - title: Missing Required Field - detail: custom_fields is a required field on model. - problem_type: MISSING_REQUIRED_FIELD - logs: - - log_id: 99433219-8017-4acd-bb3c-ceb23d663832 - dashboard_view: >- - https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832 - log_summary: - url: www.exampleintegration.com/api/v1/exampleapi - method: POST - status_code: 200 - retrieve: - path: /crm/v1/contacts/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns a `Contact` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: ContactsRetrieveRequest - query-parameters: - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_remote_fields: - type: optional - docs: >- - Whether to include all remote fields, including fields that Merge - did not map to common models, in a normalized format. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - response: - docs: '' - type: root.Contact - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - expand: account - include_remote_data: true - include_remote_fields: true - include_shell_data: true - headers: - X-Account-Token: X-Account-Token - response: - body: - id: 550e8400-e29b-41d4-a716-446655440000 - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - first_name: Gil - last_name: Feig - account: account - owner: owner - addresses: - - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - street_1: 50 Bowling Green Dr - street_2: Golden Gate Park - city: San Francisco - state: CA - postal_code: '94122' - country: US - address_type: Shipping - email_addresses: - - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - email_address: hello@merge.dev - email_address_type: Work - phone_numbers: - - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - phone_number: '+13785579223' - phone_number_type: Mobile - last_activity_at: '2022-02-10T00:00:00Z' - remote_created_at: '2021-11-10T00:00:00Z' - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /contacts - data: - - Varies by platform - remote_fields: - - remote_field_class: remote_field_class - value: string - partialUpdate: - path: /crm/v1/contacts/{id} - method: PATCH - auth: - - tokenAuth: [] - docs: Updates a `Contact` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: PatchedCrmContactEndpointRequest - query-parameters: - is_debug_mode: - type: optional - docs: >- - Whether to include debug fields (such as log file links) in the - response. - run_async: - type: optional - docs: Whether or not third-party updates should be run asynchronously. - body: - properties: - model: root.PatchedContactRequest - content-type: application/json - response: - docs: '' - type: root.CrmContactResponse - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - is_debug_mode: true - run_async: true - headers: - X-Account-Token: X-Account-Token - request: - model: {} - response: - body: - model: - id: 550e8400-e29b-41d4-a716-446655440000 - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - first_name: Gil - last_name: Feig - account: account - owner: owner - addresses: - - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - street_1: 50 Bowling Green Dr - street_2: Golden Gate Park - city: San Francisco - state: CA - postal_code: '94122' - country: US - address_type: Shipping - email_addresses: - - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - email_address: hello@merge.dev - email_address_type: Work - phone_numbers: - - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - phone_number: '+13785579223' - phone_number_type: Mobile - last_activity_at: '2022-02-10T00:00:00Z' - remote_created_at: '2021-11-10T00:00:00Z' - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /contacts - data: - - Varies by platform - remote_fields: - - remote_field_class: remote_field_class - value: string - warnings: - - source: - pointer: pointer - title: Unrecognized Field - detail: An unrecognized field, age, was passed in with request data. - problem_type: UNRECOGNIZED_FIELD - errors: - - source: - pointer: pointer - title: Missing Required Field - detail: custom_fields is a required field on model. - problem_type: MISSING_REQUIRED_FIELD - logs: - - log_id: 99433219-8017-4acd-bb3c-ceb23d663832 - dashboard_view: >- - https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832 - log_summary: - url: www.exampleintegration.com/api/v1/exampleapi - method: POST - status_code: 200 - ignoreCreate: - path: /crm/v1/contacts/ignore/{model_id} - method: POST - auth: - - tokenAuth: [] - docs: >- - Ignores a specific row based on the `model_id` in the url. These records - will have their properties set to null, and will not be updated in - future syncs. The "reason" and "message" fields in the request body will - be stored for audit purposes. - source: - openapi: openapi/openapi.yml - path-parameters: - model_id: string - request: - body: root.IgnoreCommonModelRequest - content-type: application/json - examples: - - path-parameters: - model_id: model_id - headers: - X-Account-Token: X-Account-Token - request: - reason: GENERAL_CUSTOMER_REQUEST - metaPatchRetrieve: - path: /crm/v1/contacts/meta/patch/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns metadata for `CRMContact` PATCHs. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - response: - docs: '' - type: root.MetaResponse - status-code: 200 - examples: - - path-parameters: - id: id - headers: - X-Account-Token: X-Account-Token - response: - body: - request_schema: - type: object - properties: - model: - type: object - required: - - last_name - - first_name - - merge_categories - - new_york_city_neighborhood - - favorite_tv_shows - - favorite_watch - properties: - email_addresses: - type: array - items: - type: object - properties: - value: - type: string - title: value - email_address_type: - type: string - title: email_address_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: email_addresses - description: Array of email_addresses objects - urls: - type: array - items: - type: object - properties: - value: - type: string - title: value - url_type: - type: string - title: url_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: urls - description: Array of urls objects - first_name: - type: string - title: first_name - description: The first name. - last_name: - type: string - title: last_name - description: The last name. - phone_numbers: - type: array - items: - type: object - properties: - value: - type: string - title: value - phone_number_type: - type: string - title: phone_number_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: phone_numbers - description: Array of phone_numbers objects - tags: - type: array - items: - type: string - format: uuid - title: tags - description: Array of tags names - attachments: - type: array - items: - type: object - properties: - id: - type: string - title: id - file_url: - type: string - title: file_url - file_name: - type: string - title: file_name - attachment_type: - type: string - title: attachment_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: attachments - description: 'Array of attachments objects ' - merge_categories: - type: array - categories: - type: string - enum: - - HRIS - - ATS - - Accounting - - Ticketing - - File Storage - - CRM - - Marketing Automation - enum_information: - - value: HRIS - description: Merge HRIS Category - - value: ATS - description: Merge ATS Category - - value: Accounting - description: Merge Accounting Category - - value: Ticketing - description: Merge Ticketing Category - - value: File Storage - description: Merge File Storage Category - - value: CRM - description: Merge CRM Category - - value: Marketing Automation - description: Merge Marketing Automation Category - title: Merge Categories - description: Array of Merge's Unified API Categories - new_york_city_neighborhood: - type: string - title: Borough - description: One of the 5 Boroughs of New York City - favorite_tv_shows: - type: array - items: - type: string - format: uuid - title: Favorite TV Shows - description: Array of TV Show objects on merge.tv_shows - favorite_watch: - type: string - title: Favorite Watch - description: Favorite watch of all time - remote_field_classes: - key: value - status: - linked_account_status: linked_account_status - can_make_request: true - has_conditional_params: true - has_required_linked_account_params: true - metaPostRetrieve: - path: /crm/v1/contacts/meta/post - method: GET - auth: - - tokenAuth: [] - docs: Returns metadata for `CRMContact` POSTs. - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: root.MetaResponse - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - request_schema: - type: object - properties: - model: - type: object - required: - - last_name - - first_name - - merge_categories - - new_york_city_neighborhood - - favorite_tv_shows - - favorite_watch - properties: - email_addresses: - type: array - items: - type: object - properties: - value: - type: string - title: value - email_address_type: - type: string - title: email_address_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: email_addresses - description: Array of email_addresses objects - urls: - type: array - items: - type: object - properties: - value: - type: string - title: value - url_type: - type: string - title: url_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: urls - description: Array of urls objects - first_name: - type: string - title: first_name - description: The first name. - last_name: - type: string - title: last_name - description: The last name. - phone_numbers: - type: array - items: - type: object - properties: - value: - type: string - title: value - phone_number_type: - type: string - title: phone_number_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: phone_numbers - description: Array of phone_numbers objects - tags: - type: array - items: - type: string - format: uuid - title: tags - description: Array of tags names - attachments: - type: array - items: - type: object - properties: - id: - type: string - title: id - file_url: - type: string - title: file_url - file_name: - type: string - title: file_name - attachment_type: - type: string - title: attachment_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: attachments - description: 'Array of attachments objects ' - merge_categories: - type: array - categories: - type: string - enum: - - HRIS - - ATS - - Accounting - - Ticketing - - File Storage - - CRM - - Marketing Automation - enum_information: - - value: HRIS - description: Merge HRIS Category - - value: ATS - description: Merge ATS Category - - value: Accounting - description: Merge Accounting Category - - value: Ticketing - description: Merge Ticketing Category - - value: File Storage - description: Merge File Storage Category - - value: CRM - description: Merge CRM Category - - value: Marketing Automation - description: Merge Marketing Automation Category - title: Merge Categories - description: Array of Merge's Unified API Categories - new_york_city_neighborhood: - type: string - title: Borough - description: One of the 5 Boroughs of New York City - favorite_tv_shows: - type: array - items: - type: string - format: uuid - title: Favorite TV Shows - description: Array of TV Show objects on merge.tv_shows - favorite_watch: - type: string - title: Favorite Watch - description: Favorite watch of all time - remote_field_classes: - key: value - status: - linked_account_status: linked_account_status - can_make_request: true - has_conditional_params: true - has_required_linked_account_params: true - remoteFieldClassesList: - path: /crm/v1/contacts/remote-field-classes - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `RemoteFieldClass` objects. - source: - openapi: openapi/openapi.yml - request: - name: ContactsRemoteFieldClassesListRequest - query-parameters: - cursor: - type: optional - docs: The pagination cursor value. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_remote_fields: - type: optional - docs: >- - Whether to include all remote fields, including fields that Merge - did not map to common models, in a normalized format. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - is_common_model_field: - type: optional - docs: >- - If provided, will only return remote field classes with this - is_common_model_field value - is_custom: - type: optional - docs: >- - If provided, will only return remote fields classes with this - is_custom value - page_size: - type: optional - docs: Number of results to return per page. - response: - docs: '' - type: root.PaginatedRemoteFieldClassList - status-code: 200 - examples: - - query-parameters: - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - include_deleted_data: true - include_remote_data: true - include_remote_fields: true - include_shell_data: true - is_common_model_field: true - is_custom: true - page_size: 1 - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: id - display_name: display_name - remote_key_name: remote_key_name - description: description - is_custom: true - is_common_model_field: true - is_required: true - field_type: string - field_format: string - field_choices: - - {} - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/crm/customObjectClasses.yml b/.mock/definition/crm/customObjectClasses.yml deleted file mode 100644 index 72d6df87..00000000 --- a/.mock/definition/crm/customObjectClasses.yml +++ /dev/null @@ -1,236 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /crm/v1/custom-object-classes - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `CustomObjectClass` objects. - source: - openapi: openapi/openapi.yml - request: - name: CustomObjectClassesListRequest - query-parameters: - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - expand: - type: optional> - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - page_size: - type: optional - docs: Number of results to return per page. - remote_id: - type: optional - docs: The API provider's ID for the given object. - response: - docs: '' - type: root.PaginatedCustomObjectClassList - status-code: 200 - examples: - - query-parameters: - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - expand: fields - include_deleted_data: true - include_remote_data: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - page_size: 1 - remote_id: remote_id - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: ff1ff4cb-a66b-47dc-8e2a-50388049e602 - remote_id: '9579977' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: order - description: Order object - labels: - singular: Order - plural: Orders - fields: - - display_name: Order ID - remote_key_name: order_id - description: The unique ID for the order. - is_required: true - field_type: string - field_format: string - field_choices: - - {} - item_schema: - item_type: null - item_format: null - item_choices: null - - display_name: Order Quantity - remote_key_name: order_quantity - description: The number of items ordered. - is_required: true - field_type: number - field_format: number - field_choices: - - {} - item_schema: - item_type: null - item_format: null - item_choices: null - - display_name: Customer Type - remote_key_name: customer_type - description: The type of customer. - is_required: true - field_type: string - field_format: enumeration - field_choices: - - {} - - {} - association_types: - - key: value - retrieve: - path: /crm/v1/custom-object-classes/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns a `CustomObjectClass` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: CustomObjectClassesRetrieveRequest - query-parameters: - expand: - type: optional> - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - response: - docs: '' - type: root.CustomObjectClass - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - expand: fields - include_remote_data: true - include_shell_data: true - headers: - X-Account-Token: X-Account-Token - response: - body: - id: ff1ff4cb-a66b-47dc-8e2a-50388049e602 - remote_id: '9579977' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: order - description: Order object - labels: - singular: Order - plural: Orders - fields: - - created_at: '2024-01-15T09:30:00Z' - modified_at: '2024-01-15T09:30:00Z' - display_name: Order ID - remote_key_name: order_id - description: The unique ID for the order. - is_required: true - field_type: string - field_format: string - field_choices: - - {} - item_schema: - item_type: null - item_format: null - item_choices: null - - created_at: '2024-01-15T09:30:00Z' - modified_at: '2024-01-15T09:30:00Z' - display_name: Order Quantity - remote_key_name: order_quantity - description: The number of items ordered. - is_required: true - field_type: number - field_format: number - field_choices: - - {} - item_schema: - item_type: null - item_format: null - item_choices: null - - created_at: '2024-01-15T09:30:00Z' - modified_at: '2024-01-15T09:30:00Z' - display_name: Customer Type - remote_key_name: customer_type - description: The type of customer. - is_required: true - field_type: string - field_format: enumeration - field_choices: - - {} - - {} - item_schema: - item_type: null - item_format: null - item_choices: null - association_types: - - key: value - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/crm/customObjects.yml b/.mock/definition/crm/customObjects.yml deleted file mode 100644 index b5e0d29c..00000000 --- a/.mock/definition/crm/customObjects.yml +++ /dev/null @@ -1,516 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - custom_object_classes_custom_objects_list: - path: /crm/v1/custom-object-classes/{custom_object_class_id}/custom-objects - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `CustomObject` objects. - source: - openapi: openapi/openapi.yml - path-parameters: - custom_object_class_id: string - request: - name: CustomObjectClassesCustomObjectsListRequest - query-parameters: - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_remote_fields: - type: optional - docs: >- - Whether to include all remote fields, including fields that Merge - did not map to common models, in a normalized format. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - page_size: - type: optional - docs: Number of results to return per page. - remote_id: - type: optional - docs: The API provider's ID for the given object. - response: - docs: '' - type: root.PaginatedCustomObjectList - status-code: 200 - examples: - - path-parameters: - custom_object_class_id: custom_object_class_id - query-parameters: - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - include_deleted_data: true - include_remote_data: true - include_remote_fields: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - page_size: 1 - remote_id: remote_id - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: da0b1963-be70-469c-9f8c-06a81d0fe759 - remote_id: '4183634295' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - object_class: ff1ff4cb-a66b-47dc-8e2a-50388049e602 - fields: - order_id: '4183634295' - order_quantity: 50 - customer_type: Returning - remote_fields: - - remote_field_class: remote_field_class - value: string - custom_object_classes_custom_objects_create: - path: /crm/v1/custom-object-classes/{custom_object_class_id}/custom-objects - method: POST - auth: - - tokenAuth: [] - docs: Creates a `CustomObject` object with the given values. - source: - openapi: openapi/openapi.yml - path-parameters: - custom_object_class_id: string - request: - name: CrmCustomObjectEndpointRequest - query-parameters: - is_debug_mode: - type: optional - docs: >- - Whether to include debug fields (such as log file links) in the - response. - run_async: - type: optional - docs: Whether or not third-party updates should be run asynchronously. - body: - properties: - model: root.CustomObjectRequest - content-type: application/json - response: - docs: '' - type: root.CrmCustomObjectResponse - status-code: 201 - examples: - - path-parameters: - custom_object_class_id: custom_object_class_id - query-parameters: - is_debug_mode: true - run_async: true - headers: - X-Account-Token: X-Account-Token - request: - model: - fields: - test_field: hello - response: - body: - model: - id: da0b1963-be70-469c-9f8c-06a81d0fe759 - remote_id: '4183634295' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - object_class: ff1ff4cb-a66b-47dc-8e2a-50388049e602 - fields: - order_id: '4183634295' - order_quantity: 50 - customer_type: Returning - remote_fields: - - remote_field_class: remote_field_class - value: string - warnings: - - source: - pointer: pointer - title: Unrecognized Field - detail: An unrecognized field, age, was passed in with request data. - problem_type: UNRECOGNIZED_FIELD - errors: - - source: - pointer: pointer - title: Missing Required Field - detail: custom_fields is a required field on model. - problem_type: MISSING_REQUIRED_FIELD - logs: - - log_id: 99433219-8017-4acd-bb3c-ceb23d663832 - dashboard_view: >- - https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832 - log_summary: - url: www.exampleintegration.com/api/v1/exampleapi - method: POST - status_code: 200 - custom_object_classes_custom_objects_retrieve: - path: >- - /crm/v1/custom-object-classes/{custom_object_class_id}/custom-objects/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns a `CustomObject` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - custom_object_class_id: string - id: string - request: - name: CustomObjectClassesCustomObjectsRetrieveRequest - query-parameters: - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_remote_fields: - type: optional - docs: >- - Whether to include all remote fields, including fields that Merge - did not map to common models, in a normalized format. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - response: - docs: '' - type: root.CustomObject - status-code: 200 - examples: - - path-parameters: - custom_object_class_id: custom_object_class_id - id: id - query-parameters: - include_remote_data: true - include_remote_fields: true - include_shell_data: true - headers: - X-Account-Token: X-Account-Token - response: - body: - id: da0b1963-be70-469c-9f8c-06a81d0fe759 - remote_id: '4183634295' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - object_class: ff1ff4cb-a66b-47dc-8e2a-50388049e602 - fields: - order_id: '4183634295' - order_quantity: 50 - customer_type: Returning - remote_fields: - - remote_field_class: remote_field_class - value: string - custom_object_classes_custom_objects_meta_post_retrieve: - path: >- - /crm/v1/custom-object-classes/{custom_object_class_id}/custom-objects/meta/post - method: GET - auth: - - tokenAuth: [] - docs: Returns metadata for `CRMCustomObject` POSTs. - source: - openapi: openapi/openapi.yml - path-parameters: - custom_object_class_id: string - response: - docs: '' - type: root.MetaResponse - status-code: 200 - examples: - - path-parameters: - custom_object_class_id: custom_object_class_id - headers: - X-Account-Token: X-Account-Token - response: - body: - request_schema: - type: object - properties: - model: - type: object - required: - - last_name - - first_name - - merge_categories - - new_york_city_neighborhood - - favorite_tv_shows - - favorite_watch - properties: - email_addresses: - type: array - items: - type: object - properties: - value: - type: string - title: value - email_address_type: - type: string - title: email_address_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: email_addresses - description: Array of email_addresses objects - urls: - type: array - items: - type: object - properties: - value: - type: string - title: value - url_type: - type: string - title: url_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: urls - description: Array of urls objects - first_name: - type: string - title: first_name - description: The first name. - last_name: - type: string - title: last_name - description: The last name. - phone_numbers: - type: array - items: - type: object - properties: - value: - type: string - title: value - phone_number_type: - type: string - title: phone_number_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: phone_numbers - description: Array of phone_numbers objects - tags: - type: array - items: - type: string - format: uuid - title: tags - description: Array of tags names - attachments: - type: array - items: - type: object - properties: - id: - type: string - title: id - file_url: - type: string - title: file_url - file_name: - type: string - title: file_name - attachment_type: - type: string - title: attachment_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: attachments - description: 'Array of attachments objects ' - merge_categories: - type: array - categories: - type: string - enum: - - HRIS - - ATS - - Accounting - - Ticketing - - File Storage - - CRM - - Marketing Automation - enum_information: - - value: HRIS - description: Merge HRIS Category - - value: ATS - description: Merge ATS Category - - value: Accounting - description: Merge Accounting Category - - value: Ticketing - description: Merge Ticketing Category - - value: File Storage - description: Merge File Storage Category - - value: CRM - description: Merge CRM Category - - value: Marketing Automation - description: Merge Marketing Automation Category - title: Merge Categories - description: Array of Merge's Unified API Categories - new_york_city_neighborhood: - type: string - title: Borough - description: One of the 5 Boroughs of New York City - favorite_tv_shows: - type: array - items: - type: string - format: uuid - title: Favorite TV Shows - description: Array of TV Show objects on merge.tv_shows - favorite_watch: - type: string - title: Favorite Watch - description: Favorite watch of all time - remote_field_classes: - key: value - status: - linked_account_status: linked_account_status - can_make_request: true - has_conditional_params: true - has_required_linked_account_params: true - custom_object_classes_custom_objects_remote_field_classes_list: - path: /crm/v1/custom-object-classes/custom-objects/remote-field-classes - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `RemoteFieldClass` objects. - source: - openapi: openapi/openapi.yml - request: - name: CustomObjectClassesCustomObjectsRemoteFieldClassesListRequest - query-parameters: - cursor: - type: optional - docs: The pagination cursor value. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_remote_fields: - type: optional - docs: >- - Whether to include all remote fields, including fields that Merge - did not map to common models, in a normalized format. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - is_common_model_field: - type: optional - docs: >- - If provided, will only return remote field classes with this - is_common_model_field value - is_custom: - type: optional - docs: >- - If provided, will only return remote fields classes with this - is_custom value - page_size: - type: optional - docs: Number of results to return per page. - response: - docs: '' - type: root.PaginatedRemoteFieldClassList - status-code: 200 - examples: - - query-parameters: - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - include_deleted_data: true - include_remote_data: true - include_remote_fields: true - include_shell_data: true - is_common_model_field: true - is_custom: true - page_size: 1 - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: id - display_name: display_name - remote_key_name: remote_key_name - description: description - is_custom: true - is_common_model_field: true - is_required: true - field_type: string - field_format: string - field_choices: - - {} - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/crm/deleteAccount.yml b/.mock/definition/crm/deleteAccount.yml deleted file mode 100644 index 21ae6d44..00000000 --- a/.mock/definition/crm/deleteAccount.yml +++ /dev/null @@ -1,17 +0,0 @@ -service: - auth: false - base-path: '' - endpoints: - delete: - path: /crm/v1/delete-account - method: POST - auth: - - tokenAuth: [] - docs: Delete a linked account. - source: - openapi: openapi/openapi.yml - examples: - - headers: - X-Account-Token: X-Account-Token - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/crm/engagementTypes.yml b/.mock/definition/crm/engagementTypes.yml deleted file mode 100644 index 25273d46..00000000 --- a/.mock/definition/crm/engagementTypes.yml +++ /dev/null @@ -1,236 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /crm/v1/engagement-types - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `EngagementType` objects. - source: - openapi: openapi/openapi.yml - request: - name: EngagementTypesListRequest - query-parameters: - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_remote_fields: - type: optional - docs: >- - Whether to include all remote fields, including fields that Merge - did not map to common models, in a normalized format. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - page_size: - type: optional - docs: Number of results to return per page. - remote_id: - type: optional - docs: The API provider's ID for the given object. - response: - docs: '' - type: root.PaginatedEngagementTypeList - status-code: 200 - examples: - - query-parameters: - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - include_deleted_data: true - include_remote_data: true - include_remote_fields: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - page_size: 1 - remote_id: remote_id - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: 550e8400-e29b-41d4-a716-446655440000 - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - activity_type: CALL - name: First Call - remote_fields: - - remote_field_class: remote_field_class - value: string - retrieve: - path: /crm/v1/engagement-types/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns an `EngagementType` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: EngagementTypesRetrieveRequest - query-parameters: - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_remote_fields: - type: optional - docs: >- - Whether to include all remote fields, including fields that Merge - did not map to common models, in a normalized format. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - response: - docs: '' - type: root.EngagementType - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - include_remote_data: true - include_remote_fields: true - include_shell_data: true - headers: - X-Account-Token: X-Account-Token - response: - body: - id: 550e8400-e29b-41d4-a716-446655440000 - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - activity_type: CALL - name: First Call - remote_fields: - - remote_field_class: remote_field_class - value: string - remoteFieldClassesList: - path: /crm/v1/engagement-types/remote-field-classes - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `RemoteFieldClass` objects. - source: - openapi: openapi/openapi.yml - request: - name: EngagementTypesRemoteFieldClassesListRequest - query-parameters: - cursor: - type: optional - docs: The pagination cursor value. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_remote_fields: - type: optional - docs: >- - Whether to include all remote fields, including fields that Merge - did not map to common models, in a normalized format. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - is_common_model_field: - type: optional - docs: >- - If provided, will only return remote field classes with this - is_common_model_field value - is_custom: - type: optional - docs: >- - If provided, will only return remote fields classes with this - is_custom value - page_size: - type: optional - docs: Number of results to return per page. - response: - docs: '' - type: root.PaginatedRemoteFieldClassList - status-code: 200 - examples: - - query-parameters: - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - include_deleted_data: true - include_remote_data: true - include_remote_fields: true - include_shell_data: true - is_common_model_field: true - is_custom: true - page_size: 1 - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: id - display_name: display_name - remote_key_name: remote_key_name - description: description - is_custom: true - is_common_model_field: true - is_required: true - field_type: string - field_format: string - field_choices: - - {} - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/crm/engagements.yml b/.mock/definition/crm/engagements.yml deleted file mode 100644 index 14eb0b84..00000000 --- a/.mock/definition/crm/engagements.yml +++ /dev/null @@ -1,907 +0,0 @@ -types: - EngagementsListRequestExpand: - enum: - - account - - value: account,engagement_type - name: AccountEngagementType - - contacts - - value: contacts,account - name: ContactsAccount - - value: contacts,account,engagement_type - name: ContactsAccountEngagementType - - value: contacts,engagement_type - name: ContactsEngagementType - - value: contacts,owner - name: ContactsOwner - - value: contacts,owner,account - name: ContactsOwnerAccount - - value: contacts,owner,account,engagement_type - name: ContactsOwnerAccountEngagementType - - value: contacts,owner,engagement_type - name: ContactsOwnerEngagementType - - engagement_type - - owner - - value: owner,account - name: OwnerAccount - - value: owner,account,engagement_type - name: OwnerAccountEngagementType - - value: owner,engagement_type - name: OwnerEngagementType - source: - openapi: openapi/openapi.yml - EngagementsRetrieveRequestExpand: - enum: - - account - - value: account,engagement_type - name: AccountEngagementType - - contacts - - value: contacts,account - name: ContactsAccount - - value: contacts,account,engagement_type - name: ContactsAccountEngagementType - - value: contacts,engagement_type - name: ContactsEngagementType - - value: contacts,owner - name: ContactsOwner - - value: contacts,owner,account - name: ContactsOwnerAccount - - value: contacts,owner,account,engagement_type - name: ContactsOwnerAccountEngagementType - - value: contacts,owner,engagement_type - name: ContactsOwnerEngagementType - - engagement_type - - owner - - value: owner,account - name: OwnerAccount - - value: owner,account,engagement_type - name: OwnerAccountEngagementType - - value: owner,engagement_type - name: OwnerEngagementType - source: - openapi: openapi/openapi.yml -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /crm/v1/engagements - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `Engagement` objects. - source: - openapi: openapi/openapi.yml - request: - name: EngagementsListRequest - query-parameters: - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_remote_fields: - type: optional - docs: >- - Whether to include all remote fields, including fields that Merge - did not map to common models, in a normalized format. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - page_size: - type: optional - docs: Number of results to return per page. - remote_id: - type: optional - docs: The API provider's ID for the given object. - started_after: - type: optional - docs: >- - If provided, will only return engagements started after this - datetime. - started_before: - type: optional - docs: >- - If provided, will only return engagements started before this - datetime. - response: - docs: '' - type: root.PaginatedEngagementList - status-code: 200 - examples: - - query-parameters: - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - expand: account - include_deleted_data: true - include_remote_data: true - include_remote_fields: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - page_size: 1 - remote_id: remote_id - started_after: '2024-01-15T09:30:00Z' - started_before: '2024-01-15T09:30:00Z' - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: 550e8400-e29b-41d4-a716-446655440000 - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - owner: owner - content: Call for negotiation - subject: Call from customer - direction: INBOUND - engagement_type: engagement_type - start_time: '2022-02-10T00:00:00Z' - end_time: '2022-02-10T00:05:00Z' - account: account - contacts: - - a7c55bc6-2940-c80a-848e-bbfacbfdf4fg - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /engagements - data: - - Varies by platform - remote_fields: - - remote_field_class: remote_field_class - value: string - create: - path: /crm/v1/engagements - method: POST - auth: - - tokenAuth: [] - docs: Creates an `Engagement` object with the given values. - source: - openapi: openapi/openapi.yml - request: - name: EngagementEndpointRequest - query-parameters: - is_debug_mode: - type: optional - docs: >- - Whether to include debug fields (such as log file links) in the - response. - run_async: - type: optional - docs: Whether or not third-party updates should be run asynchronously. - body: - properties: - model: root.EngagementRequest - content-type: application/json - response: - docs: '' - type: root.EngagementResponse - status-code: 201 - examples: - - query-parameters: - is_debug_mode: true - run_async: true - headers: - X-Account-Token: X-Account-Token - request: - model: {} - response: - body: - model: - id: 550e8400-e29b-41d4-a716-446655440000 - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - owner: owner - content: Call for negotiation - subject: Call from customer - direction: INBOUND - engagement_type: engagement_type - start_time: '2022-02-10T00:00:00Z' - end_time: '2022-02-10T00:05:00Z' - account: account - contacts: - - a7c55bc6-2940-c80a-848e-bbfacbfdf4fg - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /engagements - data: - - Varies by platform - remote_fields: - - remote_field_class: remote_field_class - value: string - warnings: - - source: - pointer: pointer - title: Unrecognized Field - detail: An unrecognized field, age, was passed in with request data. - problem_type: UNRECOGNIZED_FIELD - errors: - - source: - pointer: pointer - title: Missing Required Field - detail: custom_fields is a required field on model. - problem_type: MISSING_REQUIRED_FIELD - logs: - - log_id: 99433219-8017-4acd-bb3c-ceb23d663832 - dashboard_view: >- - https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832 - log_summary: - url: www.exampleintegration.com/api/v1/exampleapi - method: POST - status_code: 200 - retrieve: - path: /crm/v1/engagements/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns an `Engagement` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: EngagementsRetrieveRequest - query-parameters: - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_remote_fields: - type: optional - docs: >- - Whether to include all remote fields, including fields that Merge - did not map to common models, in a normalized format. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - response: - docs: '' - type: root.Engagement - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - expand: account - include_remote_data: true - include_remote_fields: true - include_shell_data: true - headers: - X-Account-Token: X-Account-Token - response: - body: - id: 550e8400-e29b-41d4-a716-446655440000 - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - owner: owner - content: Call for negotiation - subject: Call from customer - direction: INBOUND - engagement_type: engagement_type - start_time: '2022-02-10T00:00:00Z' - end_time: '2022-02-10T00:05:00Z' - account: account - contacts: - - a7c55bc6-2940-c80a-848e-bbfacbfdf4fg - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /engagements - data: - - Varies by platform - remote_fields: - - remote_field_class: remote_field_class - value: string - partialUpdate: - path: /crm/v1/engagements/{id} - method: PATCH - auth: - - tokenAuth: [] - docs: Updates an `Engagement` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: PatchedEngagementEndpointRequest - query-parameters: - is_debug_mode: - type: optional - docs: >- - Whether to include debug fields (such as log file links) in the - response. - run_async: - type: optional - docs: Whether or not third-party updates should be run asynchronously. - body: - properties: - model: root.PatchedEngagementRequest - content-type: application/json - response: - docs: '' - type: root.EngagementResponse - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - is_debug_mode: true - run_async: true - headers: - X-Account-Token: X-Account-Token - request: - model: {} - response: - body: - model: - id: 550e8400-e29b-41d4-a716-446655440000 - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - owner: owner - content: Call for negotiation - subject: Call from customer - direction: INBOUND - engagement_type: engagement_type - start_time: '2022-02-10T00:00:00Z' - end_time: '2022-02-10T00:05:00Z' - account: account - contacts: - - a7c55bc6-2940-c80a-848e-bbfacbfdf4fg - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /engagements - data: - - Varies by platform - remote_fields: - - remote_field_class: remote_field_class - value: string - warnings: - - source: - pointer: pointer - title: Unrecognized Field - detail: An unrecognized field, age, was passed in with request data. - problem_type: UNRECOGNIZED_FIELD - errors: - - source: - pointer: pointer - title: Missing Required Field - detail: custom_fields is a required field on model. - problem_type: MISSING_REQUIRED_FIELD - logs: - - log_id: 99433219-8017-4acd-bb3c-ceb23d663832 - dashboard_view: >- - https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832 - log_summary: - url: www.exampleintegration.com/api/v1/exampleapi - method: POST - status_code: 200 - metaPatchRetrieve: - path: /crm/v1/engagements/meta/patch/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns metadata for `Engagement` PATCHs. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - response: - docs: '' - type: root.MetaResponse - status-code: 200 - examples: - - path-parameters: - id: id - headers: - X-Account-Token: X-Account-Token - response: - body: - request_schema: - type: object - properties: - model: - type: object - required: - - last_name - - first_name - - merge_categories - - new_york_city_neighborhood - - favorite_tv_shows - - favorite_watch - properties: - email_addresses: - type: array - items: - type: object - properties: - value: - type: string - title: value - email_address_type: - type: string - title: email_address_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: email_addresses - description: Array of email_addresses objects - urls: - type: array - items: - type: object - properties: - value: - type: string - title: value - url_type: - type: string - title: url_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: urls - description: Array of urls objects - first_name: - type: string - title: first_name - description: The first name. - last_name: - type: string - title: last_name - description: The last name. - phone_numbers: - type: array - items: - type: object - properties: - value: - type: string - title: value - phone_number_type: - type: string - title: phone_number_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: phone_numbers - description: Array of phone_numbers objects - tags: - type: array - items: - type: string - format: uuid - title: tags - description: Array of tags names - attachments: - type: array - items: - type: object - properties: - id: - type: string - title: id - file_url: - type: string - title: file_url - file_name: - type: string - title: file_name - attachment_type: - type: string - title: attachment_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: attachments - description: 'Array of attachments objects ' - merge_categories: - type: array - categories: - type: string - enum: - - HRIS - - ATS - - Accounting - - Ticketing - - File Storage - - CRM - - Marketing Automation - enum_information: - - value: HRIS - description: Merge HRIS Category - - value: ATS - description: Merge ATS Category - - value: Accounting - description: Merge Accounting Category - - value: Ticketing - description: Merge Ticketing Category - - value: File Storage - description: Merge File Storage Category - - value: CRM - description: Merge CRM Category - - value: Marketing Automation - description: Merge Marketing Automation Category - title: Merge Categories - description: Array of Merge's Unified API Categories - new_york_city_neighborhood: - type: string - title: Borough - description: One of the 5 Boroughs of New York City - favorite_tv_shows: - type: array - items: - type: string - format: uuid - title: Favorite TV Shows - description: Array of TV Show objects on merge.tv_shows - favorite_watch: - type: string - title: Favorite Watch - description: Favorite watch of all time - remote_field_classes: - key: value - status: - linked_account_status: linked_account_status - can_make_request: true - has_conditional_params: true - has_required_linked_account_params: true - metaPostRetrieve: - path: /crm/v1/engagements/meta/post - method: GET - auth: - - tokenAuth: [] - docs: Returns metadata for `Engagement` POSTs. - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: root.MetaResponse - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - request_schema: - type: object - properties: - model: - type: object - required: - - last_name - - first_name - - merge_categories - - new_york_city_neighborhood - - favorite_tv_shows - - favorite_watch - properties: - email_addresses: - type: array - items: - type: object - properties: - value: - type: string - title: value - email_address_type: - type: string - title: email_address_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: email_addresses - description: Array of email_addresses objects - urls: - type: array - items: - type: object - properties: - value: - type: string - title: value - url_type: - type: string - title: url_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: urls - description: Array of urls objects - first_name: - type: string - title: first_name - description: The first name. - last_name: - type: string - title: last_name - description: The last name. - phone_numbers: - type: array - items: - type: object - properties: - value: - type: string - title: value - phone_number_type: - type: string - title: phone_number_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: phone_numbers - description: Array of phone_numbers objects - tags: - type: array - items: - type: string - format: uuid - title: tags - description: Array of tags names - attachments: - type: array - items: - type: object - properties: - id: - type: string - title: id - file_url: - type: string - title: file_url - file_name: - type: string - title: file_name - attachment_type: - type: string - title: attachment_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: attachments - description: 'Array of attachments objects ' - merge_categories: - type: array - categories: - type: string - enum: - - HRIS - - ATS - - Accounting - - Ticketing - - File Storage - - CRM - - Marketing Automation - enum_information: - - value: HRIS - description: Merge HRIS Category - - value: ATS - description: Merge ATS Category - - value: Accounting - description: Merge Accounting Category - - value: Ticketing - description: Merge Ticketing Category - - value: File Storage - description: Merge File Storage Category - - value: CRM - description: Merge CRM Category - - value: Marketing Automation - description: Merge Marketing Automation Category - title: Merge Categories - description: Array of Merge's Unified API Categories - new_york_city_neighborhood: - type: string - title: Borough - description: One of the 5 Boroughs of New York City - favorite_tv_shows: - type: array - items: - type: string - format: uuid - title: Favorite TV Shows - description: Array of TV Show objects on merge.tv_shows - favorite_watch: - type: string - title: Favorite Watch - description: Favorite watch of all time - remote_field_classes: - key: value - status: - linked_account_status: linked_account_status - can_make_request: true - has_conditional_params: true - has_required_linked_account_params: true - remoteFieldClassesList: - path: /crm/v1/engagements/remote-field-classes - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `RemoteFieldClass` objects. - source: - openapi: openapi/openapi.yml - request: - name: EngagementsRemoteFieldClassesListRequest - query-parameters: - cursor: - type: optional - docs: The pagination cursor value. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_remote_fields: - type: optional - docs: >- - Whether to include all remote fields, including fields that Merge - did not map to common models, in a normalized format. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - is_common_model_field: - type: optional - docs: >- - If provided, will only return remote field classes with this - is_common_model_field value - is_custom: - type: optional - docs: >- - If provided, will only return remote fields classes with this - is_custom value - page_size: - type: optional - docs: Number of results to return per page. - response: - docs: '' - type: root.PaginatedRemoteFieldClassList - status-code: 200 - examples: - - query-parameters: - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - include_deleted_data: true - include_remote_data: true - include_remote_fields: true - include_shell_data: true - is_common_model_field: true - is_custom: true - page_size: 1 - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: id - display_name: display_name - remote_key_name: remote_key_name - description: description - is_custom: true - is_common_model_field: true - is_required: true - field_type: string - field_format: string - field_choices: - - {} - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/crm/fieldMapping.yml b/.mock/definition/crm/fieldMapping.yml deleted file mode 100644 index ed9ccb2f..00000000 --- a/.mock/definition/crm/fieldMapping.yml +++ /dev/null @@ -1,673 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - field_mappings_retrieve: - path: /crm/v1/field-mappings - method: GET - auth: - - tokenAuth: [] - docs: >- - Get all Field Mappings for this Linked Account. Field Mappings are - mappings between third-party Remote Fields and user defined Merge - fields. [Learn - more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). - source: - openapi: openapi/openapi.yml - request: - name: FieldMappingsRetrieveRequest - query-parameters: - exclude_remote_field_metadata: - type: optional - docs: >- - If `true`, remote fields metadata is excluded from each field - mapping instance (i.e. `remote_fields.remote_key_name` and - `remote_fields.schema` will be null). This will increase the speed - of the request since these fields require some calculations. - response: - docs: '' - type: root.FieldMappingApiInstanceResponse - status-code: 200 - examples: - - query-parameters: - exclude_remote_field_metadata: true - headers: - X-Account-Token: X-Account-Token - response: - body: - Account: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - Contact: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - Lead: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - Note: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - Opportunity: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - Stage: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - User: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - Task: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - Engagement: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - field_mappings_create: - path: /crm/v1/field-mappings - method: POST - auth: - - tokenAuth: [] - docs: >- - Create new Field Mappings that will be available after the next - scheduled sync. This will cause the next sync for this Linked Account to - sync **ALL** data from start. - source: - openapi: openapi/openapi.yml - request: - name: CreateFieldMappingRequest - query-parameters: - exclude_remote_field_metadata: - type: optional - docs: >- - If `true`, remote fields metadata is excluded from each field - mapping instance (i.e. `remote_fields.remote_key_name` and - `remote_fields.schema` will be null). This will increase the speed - of the request since these fields require some calculations. - body: - properties: - target_field_name: - type: string - docs: >- - The name of the target field you want this remote field to map - to. - validation: - minLength: 1 - target_field_description: - type: string - docs: >- - The description of the target field you want this remote field - to map to. - validation: - minLength: 1 - remote_field_traversal_path: - docs: >- - The field traversal path of the remote field listed when you hit - the GET /remote-fields endpoint. - type: list - remote_method: - type: string - docs: >- - The method of the remote endpoint where the remote field is - coming from. - validation: - minLength: 1 - remote_url_path: - type: string - docs: >- - The path of the remote endpoint where the remote field is coming - from. - validation: - minLength: 1 - common_model_name: - type: string - docs: >- - The name of the Common Model that the remote field corresponds - to in a given category. - validation: - minLength: 1 - content-type: application/json - response: - docs: '' - type: root.FieldMappingInstanceResponse - status-code: 201 - examples: - - query-parameters: - exclude_remote_field_metadata: true - headers: - X-Account-Token: X-Account-Token - request: - target_field_name: example_target_field_name - target_field_description: this is a example description of the target field - remote_field_traversal_path: - - example_remote_field - remote_method: GET - remote_url_path: /example-url-path - common_model_name: ExampleCommonModel - response: - body: - model: - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - warnings: - - source: - pointer: pointer - title: Unrecognized Field - detail: An unrecognized field, age, was passed in with request data. - problem_type: UNRECOGNIZED_FIELD - errors: - - source: - pointer: pointer - title: Missing Required Field - detail: custom_fields is a required field on model. - problem_type: MISSING_REQUIRED_FIELD - logs: - - log_id: 99433219-8017-4acd-bb3c-ceb23d663832 - dashboard_view: >- - https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832 - log_summary: - url: www.exampleintegration.com/api/v1/exampleapi - method: POST - status_code: 200 - field_mappings_destroy: - path: /crm/v1/field-mappings/{field_mapping_id} - method: DELETE - auth: - - tokenAuth: [] - docs: >- - Deletes Field Mappings for a Linked Account. All data related to this - Field Mapping will be deleted and these changes will be reflected after - the next scheduled sync. This will cause the next sync for this Linked - Account to sync **ALL** data from start. - source: - openapi: openapi/openapi.yml - path-parameters: - field_mapping_id: string - response: - docs: '' - type: root.FieldMappingInstanceResponse - status-code: 204 - examples: - - path-parameters: - field_mapping_id: field_mapping_id - headers: - X-Account-Token: X-Account-Token - response: - body: - model: - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - warnings: - - source: - pointer: pointer - title: Unrecognized Field - detail: An unrecognized field, age, was passed in with request data. - problem_type: UNRECOGNIZED_FIELD - errors: - - source: - pointer: pointer - title: Missing Required Field - detail: custom_fields is a required field on model. - problem_type: MISSING_REQUIRED_FIELD - logs: - - log_id: 99433219-8017-4acd-bb3c-ceb23d663832 - dashboard_view: >- - https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832 - log_summary: - url: www.exampleintegration.com/api/v1/exampleapi - method: POST - status_code: 200 - field_mappings_partial_update: - path: /crm/v1/field-mappings/{field_mapping_id} - method: PATCH - auth: - - tokenAuth: [] - docs: >- - Create or update existing Field Mappings for a Linked Account. Changes - will be reflected after the next scheduled sync. This will cause the - next sync for this Linked Account to sync **ALL** data from start. - source: - openapi: openapi/openapi.yml - path-parameters: - field_mapping_id: string - request: - name: PatchedEditFieldMappingRequest - body: - properties: - remote_field_traversal_path: - type: optional> - docs: >- - The field traversal path of the remote field listed when you hit - the GET /remote-fields endpoint. - remote_method: - type: optional - docs: >- - The method of the remote endpoint where the remote field is - coming from. - validation: - minLength: 1 - remote_url_path: - type: optional - docs: >- - The path of the remote endpoint where the remote field is coming - from. - validation: - minLength: 1 - content-type: application/json - response: - docs: '' - type: root.FieldMappingInstanceResponse - status-code: 200 - examples: - - path-parameters: - field_mapping_id: field_mapping_id - headers: - X-Account-Token: X-Account-Token - request: {} - response: - body: - model: - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - warnings: - - source: - pointer: pointer - title: Unrecognized Field - detail: An unrecognized field, age, was passed in with request data. - problem_type: UNRECOGNIZED_FIELD - errors: - - source: - pointer: pointer - title: Missing Required Field - detail: custom_fields is a required field on model. - problem_type: MISSING_REQUIRED_FIELD - logs: - - log_id: 99433219-8017-4acd-bb3c-ceb23d663832 - dashboard_view: >- - https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832 - log_summary: - url: www.exampleintegration.com/api/v1/exampleapi - method: POST - status_code: 200 - remote_fields_retrieve: - path: /crm/v1/remote-fields - method: GET - auth: - - tokenAuth: [] - docs: >- - Get all remote fields for a Linked Account. Remote fields are - third-party fields that are accessible after initial sync if remote_data - is enabled. You can use remote fields to override existing Merge fields - or map a new Merge field. [Learn - more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). - source: - openapi: openapi/openapi.yml - request: - name: RemoteFieldsRetrieveRequest - query-parameters: - common_models: - type: optional - docs: >- - A comma seperated list of Common Model names. If included, will - only return Remote Fields for those Common Models. - include_example_values: - type: optional - docs: >- - If true, will include example values, where available, for remote - fields in the 3rd party platform. These examples come from active - data from your customers. - response: - docs: '' - type: root.RemoteFieldApiResponse - status-code: 200 - examples: - - query-parameters: - common_models: common_models - include_example_values: include_example_values - headers: - X-Account-Token: X-Account-Token - response: - body: - Account: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - Contact: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - Lead: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - Note: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - Opportunity: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - Stage: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - User: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - Task: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - Engagement: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - target_fields_retrieve: - path: /crm/v1/target-fields - method: GET - auth: - - tokenAuth: [] - docs: >- - Get all organization-wide Target Fields, this will not include any - Linked Account specific Target Fields. Organization-wide Target Fields - are additional fields appended to the Merge Common Model for all Linked - Accounts in a category. [Learn - more](https://docs.merge.dev/supplemental-data/field-mappings/target-fields/). - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: root.ExternalTargetFieldApiResponse - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - Account: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - Contact: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - Lead: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - Note: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - Opportunity: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - Stage: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - User: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - Task: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - Engagement: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/crm/forceResync.yml b/.mock/definition/crm/forceResync.yml deleted file mode 100644 index a3e43359..00000000 --- a/.mock/definition/crm/forceResync.yml +++ /dev/null @@ -1,39 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - sync_status_resync_create: - path: /crm/v1/sync-status/resync - method: POST - auth: - - tokenAuth: [] - docs: >- - Force re-sync of all models. This endpoint is available for monthly, - quarterly, and highest sync frequency customers on the Professional or - Enterprise plans. Doing so will consume a sync credit for the relevant - linked account. Force re-syncs can also be triggered manually in the - Merge Dashboard and is available for all customers. - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: list - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - - model_name: Account - model_id: crm.Account - last_sync_start: '2021-03-30T19:44:18Z' - next_sync_start: '2021-03-30T20:44:18Z' - last_sync_result: SYNCING - last_sync_finished: '2021-03-30T19:55:18Z' - status: SYNCING - is_initial_sync: true - selective_sync_configurations_usage: IN_NEXT_SYNC - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/crm/generateKey.yml b/.mock/definition/crm/generateKey.yml deleted file mode 100644 index 6102dccd..00000000 --- a/.mock/definition/crm/generateKey.yml +++ /dev/null @@ -1,39 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - create: - path: /crm/v1/generate-key - method: POST - auth: - - tokenAuth: [] - docs: Create a remote key. - source: - openapi: openapi/openapi.yml - request: - name: GenerateRemoteKeyRequest - body: - properties: - name: - type: string - docs: The name of the remote key - validation: - minLength: 1 - content-type: application/json - response: - docs: '' - type: root.RemoteKey - status-code: 200 - examples: - - headers: - X-Account-Token: '[object Object]' - request: - name: Remote Deployment Key 1 - response: - body: - name: Remote Deployment Key 1 - key: hXY57W0g0WkdRHjCaPvwijK63fwfN-o_Wh7f30SLTq_uPCOLo-WFcA - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/crm/issues.yml b/.mock/definition/crm/issues.yml deleted file mode 100644 index 8bd83561..00000000 --- a/.mock/definition/crm/issues.yml +++ /dev/null @@ -1,150 +0,0 @@ -types: - IssuesListRequestStatus: - enum: - - ONGOING - - RESOLVED - source: - openapi: openapi/openapi.yml -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /crm/v1/issues - method: GET - auth: - - tokenAuth: [] - docs: Gets all issues for Organization. - source: - openapi: openapi/openapi.yml - request: - name: IssuesListRequest - query-parameters: - account_token: optional - cursor: - type: optional - docs: The pagination cursor value. - end_date: - type: optional - docs: >- - If included, will only include issues whose most recent action - occurred before this time - end_user_organization_name: optional - first_incident_time_after: - type: optional - docs: >- - If provided, will only return issues whose first incident time was - after this datetime. - first_incident_time_before: - type: optional - docs: >- - If provided, will only return issues whose first incident time was - before this datetime. - include_muted: - type: optional - docs: If true, will include muted issues - integration_name: optional - last_incident_time_after: - type: optional - docs: >- - If provided, will only return issues whose last incident time was - after this datetime. - last_incident_time_before: - type: optional - docs: >- - If provided, will only return issues whose last incident time was - before this datetime. - linked_account_id: - type: optional - docs: >- - If provided, will only include issues pertaining to the linked - account passed in. - page_size: - type: optional - docs: Number of results to return per page. - start_date: - type: optional - docs: >- - If included, will only include issues whose most recent action - occurred after this time - status: - type: optional - docs: |- - Status of the issue. Options: ('ONGOING', 'RESOLVED') - - * `ONGOING` - ONGOING - * `RESOLVED` - RESOLVED - response: - docs: '' - type: root.PaginatedIssueList - status-code: 200 - examples: - - query-parameters: - account_token: account_token - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - end_date: end_date - end_user_organization_name: end_user_organization_name - first_incident_time_after: '2024-01-15T09:30:00Z' - first_incident_time_before: '2024-01-15T09:30:00Z' - include_muted: include_muted - integration_name: integration_name - last_incident_time_after: '2024-01-15T09:30:00Z' - last_incident_time_before: '2024-01-15T09:30:00Z' - linked_account_id: linked_account_id - page_size: 1 - start_date: start_date - status: ONGOING - headers: - X-Account-Token: '[object Object]' - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - status: ONGOING - error_description: Missing Permissions - end_user: - key: value - first_incident_time: '2022-12-05T16:19:15Z' - last_incident_time: '2022-12-05T16:19:15Z' - is_muted: true - error_details: - - Missing employee permissions. - - Missing time off permissions. - retrieve: - path: /crm/v1/issues/{id} - method: GET - auth: - - tokenAuth: [] - docs: Get a specific issue. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - response: - docs: '' - type: root.Issue - status-code: 200 - examples: - - path-parameters: - id: id - headers: - X-Account-Token: '[object Object]' - response: - body: - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - status: ONGOING - error_description: Missing Permissions - end_user: - key: value - first_incident_time: '2022-12-05T16:19:15Z' - last_incident_time: '2022-12-05T16:19:15Z' - is_muted: true - error_details: - - Missing employee permissions. - - Missing time off permissions. - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/crm/leads.yml b/.mock/definition/crm/leads.yml deleted file mode 100644 index 6b81c6e5..00000000 --- a/.mock/definition/crm/leads.yml +++ /dev/null @@ -1,673 +0,0 @@ -types: - LeadsListRequestExpand: - enum: - - converted_account - - converted_contact - - value: converted_contact,converted_account - name: ConvertedContactConvertedAccount - - owner - - value: owner,converted_account - name: OwnerConvertedAccount - - value: owner,converted_contact - name: OwnerConvertedContact - - value: owner,converted_contact,converted_account - name: OwnerConvertedContactConvertedAccount - source: - openapi: openapi/openapi.yml - LeadsRetrieveRequestExpand: - enum: - - converted_account - - converted_contact - - value: converted_contact,converted_account - name: ConvertedContactConvertedAccount - - owner - - value: owner,converted_account - name: OwnerConvertedAccount - - value: owner,converted_contact - name: OwnerConvertedContact - - value: owner,converted_contact,converted_account - name: OwnerConvertedContactConvertedAccount - source: - openapi: openapi/openapi.yml -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /crm/v1/leads - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `Lead` objects. - source: - openapi: openapi/openapi.yml - request: - name: LeadsListRequest - query-parameters: - converted_account_id: - type: optional - docs: If provided, will only return leads with this account. - converted_contact_id: - type: optional - docs: If provided, will only return leads with this contact. - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - email_addresses: - type: optional - docs: >- - If provided, will only return contacts matching the email - addresses; multiple email_addresses can be separated by commas. - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_remote_fields: - type: optional - docs: >- - Whether to include all remote fields, including fields that Merge - did not map to common models, in a normalized format. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - owner_id: - type: optional - docs: If provided, will only return leads with this owner. - page_size: - type: optional - docs: Number of results to return per page. - phone_numbers: - type: optional - docs: >- - If provided, will only return contacts matching the phone numbers; - multiple phone numbers can be separated by commas. - remote_id: - type: optional - docs: The API provider's ID for the given object. - response: - docs: '' - type: root.PaginatedLeadList - status-code: 200 - examples: - - query-parameters: - converted_account_id: converted_account_id - converted_contact_id: converted_contact_id - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - email_addresses: email_addresses - expand: converted_account - include_deleted_data: true - include_remote_data: true - include_remote_fields: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - owner_id: owner_id - page_size: 1 - phone_numbers: phone_numbers - remote_id: remote_id - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: 550e8400-e29b-41d4-a716-446655440000 - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - owner: owner - lead_source: API Blogger - title: Co-Founder - company: Merge API - first_name: Gil - last_name: Feig - addresses: - - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - street_1: 50 Bowling Green Dr - street_2: Golden Gate Park - city: San Francisco - state: CA - postal_code: '94122' - country: US - address_type: Shipping - email_addresses: - - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - email_address: hello@merge.dev - email_address_type: Work - phone_numbers: - - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - phone_number: '+16789932455' - phone_number_type: Mobile - remote_updated_at: '2022-02-10T00:00:00Z' - remote_created_at: '2021-11-10T00:00:00Z' - converted_date: '2022-03-10T00:00:00Z' - converted_contact: converted_contact - converted_account: converted_account - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /leads - data: - - Varies by platform - remote_fields: - - remote_field_class: remote_field_class - value: string - create: - path: /crm/v1/leads - method: POST - auth: - - tokenAuth: [] - docs: Creates a `Lead` object with the given values. - source: - openapi: openapi/openapi.yml - request: - name: LeadEndpointRequest - query-parameters: - is_debug_mode: - type: optional - docs: >- - Whether to include debug fields (such as log file links) in the - response. - run_async: - type: optional - docs: Whether or not third-party updates should be run asynchronously. - body: - properties: - model: root.LeadRequest - content-type: application/json - response: - docs: '' - type: root.LeadResponse - status-code: 201 - examples: - - query-parameters: - is_debug_mode: true - run_async: true - headers: - X-Account-Token: X-Account-Token - request: - model: {} - response: - body: - model: - id: 550e8400-e29b-41d4-a716-446655440000 - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - owner: owner - lead_source: API Blogger - title: Co-Founder - company: Merge API - first_name: Gil - last_name: Feig - addresses: - - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - street_1: 50 Bowling Green Dr - street_2: Golden Gate Park - city: San Francisco - state: CA - postal_code: '94122' - country: US - address_type: Shipping - email_addresses: - - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - email_address: hello@merge.dev - email_address_type: Work - phone_numbers: - - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - phone_number: '+16789932455' - phone_number_type: Mobile - remote_updated_at: '2022-02-10T00:00:00Z' - remote_created_at: '2021-11-10T00:00:00Z' - converted_date: '2022-03-10T00:00:00Z' - converted_contact: converted_contact - converted_account: converted_account - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /leads - data: - - Varies by platform - remote_fields: - - remote_field_class: remote_field_class - value: string - warnings: - - source: - pointer: pointer - title: Unrecognized Field - detail: An unrecognized field, age, was passed in with request data. - problem_type: UNRECOGNIZED_FIELD - errors: - - source: - pointer: pointer - title: Missing Required Field - detail: custom_fields is a required field on model. - problem_type: MISSING_REQUIRED_FIELD - logs: - - log_id: 99433219-8017-4acd-bb3c-ceb23d663832 - dashboard_view: >- - https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832 - log_summary: - url: www.exampleintegration.com/api/v1/exampleapi - method: POST - status_code: 200 - retrieve: - path: /crm/v1/leads/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns a `Lead` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: LeadsRetrieveRequest - query-parameters: - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_remote_fields: - type: optional - docs: >- - Whether to include all remote fields, including fields that Merge - did not map to common models, in a normalized format. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - response: - docs: '' - type: root.Lead - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - expand: converted_account - include_remote_data: true - include_remote_fields: true - include_shell_data: true - headers: - X-Account-Token: X-Account-Token - response: - body: - id: 550e8400-e29b-41d4-a716-446655440000 - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - owner: owner - lead_source: API Blogger - title: Co-Founder - company: Merge API - first_name: Gil - last_name: Feig - addresses: - - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - street_1: 50 Bowling Green Dr - street_2: Golden Gate Park - city: San Francisco - state: CA - postal_code: '94122' - country: US - address_type: Shipping - email_addresses: - - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - email_address: hello@merge.dev - email_address_type: Work - phone_numbers: - - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - phone_number: '+16789932455' - phone_number_type: Mobile - remote_updated_at: '2022-02-10T00:00:00Z' - remote_created_at: '2021-11-10T00:00:00Z' - converted_date: '2022-03-10T00:00:00Z' - converted_contact: converted_contact - converted_account: converted_account - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /leads - data: - - Varies by platform - remote_fields: - - remote_field_class: remote_field_class - value: string - metaPostRetrieve: - path: /crm/v1/leads/meta/post - method: GET - auth: - - tokenAuth: [] - docs: Returns metadata for `Lead` POSTs. - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: root.MetaResponse - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - request_schema: - type: object - properties: - model: - type: object - required: - - last_name - - first_name - - merge_categories - - new_york_city_neighborhood - - favorite_tv_shows - - favorite_watch - properties: - email_addresses: - type: array - items: - type: object - properties: - value: - type: string - title: value - email_address_type: - type: string - title: email_address_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: email_addresses - description: Array of email_addresses objects - urls: - type: array - items: - type: object - properties: - value: - type: string - title: value - url_type: - type: string - title: url_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: urls - description: Array of urls objects - first_name: - type: string - title: first_name - description: The first name. - last_name: - type: string - title: last_name - description: The last name. - phone_numbers: - type: array - items: - type: object - properties: - value: - type: string - title: value - phone_number_type: - type: string - title: phone_number_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: phone_numbers - description: Array of phone_numbers objects - tags: - type: array - items: - type: string - format: uuid - title: tags - description: Array of tags names - attachments: - type: array - items: - type: object - properties: - id: - type: string - title: id - file_url: - type: string - title: file_url - file_name: - type: string - title: file_name - attachment_type: - type: string - title: attachment_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: attachments - description: 'Array of attachments objects ' - merge_categories: - type: array - categories: - type: string - enum: - - HRIS - - ATS - - Accounting - - Ticketing - - File Storage - - CRM - - Marketing Automation - enum_information: - - value: HRIS - description: Merge HRIS Category - - value: ATS - description: Merge ATS Category - - value: Accounting - description: Merge Accounting Category - - value: Ticketing - description: Merge Ticketing Category - - value: File Storage - description: Merge File Storage Category - - value: CRM - description: Merge CRM Category - - value: Marketing Automation - description: Merge Marketing Automation Category - title: Merge Categories - description: Array of Merge's Unified API Categories - new_york_city_neighborhood: - type: string - title: Borough - description: One of the 5 Boroughs of New York City - favorite_tv_shows: - type: array - items: - type: string - format: uuid - title: Favorite TV Shows - description: Array of TV Show objects on merge.tv_shows - favorite_watch: - type: string - title: Favorite Watch - description: Favorite watch of all time - remote_field_classes: - key: value - status: - linked_account_status: linked_account_status - can_make_request: true - has_conditional_params: true - has_required_linked_account_params: true - remoteFieldClassesList: - path: /crm/v1/leads/remote-field-classes - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `RemoteFieldClass` objects. - source: - openapi: openapi/openapi.yml - request: - name: LeadsRemoteFieldClassesListRequest - query-parameters: - cursor: - type: optional - docs: The pagination cursor value. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_remote_fields: - type: optional - docs: >- - Whether to include all remote fields, including fields that Merge - did not map to common models, in a normalized format. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - is_common_model_field: - type: optional - docs: >- - If provided, will only return remote field classes with this - is_common_model_field value - is_custom: - type: optional - docs: >- - If provided, will only return remote fields classes with this - is_custom value - page_size: - type: optional - docs: Number of results to return per page. - response: - docs: '' - type: root.PaginatedRemoteFieldClassList - status-code: 200 - examples: - - query-parameters: - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - include_deleted_data: true - include_remote_data: true - include_remote_fields: true - include_shell_data: true - is_common_model_field: true - is_custom: true - page_size: 1 - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: id - display_name: display_name - remote_key_name: remote_key_name - description: description - is_custom: true - is_common_model_field: true - is_required: true - field_type: string - field_format: string - field_choices: - - {} - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/crm/linkToken.yml b/.mock/definition/crm/linkToken.yml deleted file mode 100644 index 814bf71f..00000000 --- a/.mock/definition/crm/linkToken.yml +++ /dev/null @@ -1,155 +0,0 @@ -imports: - root: __package__.yml -types: - EndUserDetailsRequestLanguage: - discriminated: false - docs: >- - The following subset of IETF language tags can be used to configure - localization. - - - * `en` - en - - * `de` - de - union: - - root.LanguageEnum - - string - source: - openapi: openapi/openapi.yml - inline: true -service: - auth: false - base-path: '' - endpoints: - create: - path: /crm/v1/link-token - method: POST - auth: - - tokenAuth: [] - docs: Creates a link token to be used when linking a new end user. - source: - openapi: openapi/openapi.yml - request: - name: EndUserDetailsRequest - body: - properties: - end_user_email_address: - type: string - docs: >- - Your end user's email address. This is purely for identification - purposes - setting this value will not cause any emails to be - sent. - validation: - minLength: 1 - maxLength: 100 - end_user_organization_name: - type: string - docs: Your end user's organization. - validation: - minLength: 1 - maxLength: 100 - end_user_origin_id: - type: string - docs: >- - This unique identifier typically represents the ID for your end - user in your product's database. This value must be distinct - from other Linked Accounts' unique identifiers. - validation: - minLength: 1 - maxLength: 100 - categories: - docs: The integration categories to show in Merge Link. - type: list - integration: - type: optional - docs: >- - The slug of a specific pre-selected integration for this linking - flow token. For examples of slugs, see - https://docs.merge.dev/guides/merge-link/single-integration/. - validation: - minLength: 1 - link_expiry_mins: - type: optional - docs: >- - An integer number of minutes between [30, 720 or 10080 if for a - Magic Link URL] for how long this token is valid. Defaults to - 30. - default: 30 - validation: - min: 30 - max: 10080 - should_create_magic_link_url: - type: optional - docs: >- - Whether to generate a Magic Link URL. Defaults to false. For - more information on Magic Link, see - https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. - default: false - hide_admin_magic_link: - type: optional - docs: >- - Whether to generate a Magic Link URL on the Admin Needed screen - during the linking flow. Defaults to false. For more information - on Magic Link, see - https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. - default: false - common_models: - type: optional> - docs: >- - An array of objects to specify the models and fields that will - be disabled for a given Linked Account. Each object uses - model_id, enabled_actions, and disabled_fields to specify the - model, method, and fields that are scoped for a given Linked - Account. - category_common_model_scopes: - type: >- - optional>>> - docs: >- - When creating a Link Token, you can set permissions for Common - Models that will apply to the account that is going to be - linked. Any model or field not specified in link token payload - will default to existing settings. - language: - type: optional - docs: >- - The following subset of IETF language tags can be used to - configure localization. - - - * `en` - en - - * `de` - de - are_syncs_disabled: - type: optional - docs: >- - The boolean that indicates whether initial, periodic, and force - syncs will be disabled. - default: false - integration_specific_config: - type: optional> - docs: >- - A JSON object containing integration-specific configuration - options. - content-type: application/json - response: - docs: '' - type: root.LinkToken - status-code: 200 - examples: - - headers: - X-Account-Token: '[object Object]' - request: - end_user_email_address: example@gmail.com - end_user_organization_name: Test Organization - end_user_origin_id: '12345' - categories: - - hris - - ats - response: - body: - link_token: necdP7FtdASl1fQwm62be2_dM4wBG8_GactqoUV0 - integration_name: Lever - magic_link_url: https://link.merge.dev/asdfjkl12345jsndfgi2i83n - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/crm/linkedAccounts.yml b/.mock/definition/crm/linkedAccounts.yml deleted file mode 100644 index ecfef7c0..00000000 --- a/.mock/definition/crm/linkedAccounts.yml +++ /dev/null @@ -1,165 +0,0 @@ -types: - LinkedAccountsListRequestCategory: - enum: - - accounting - - ats - - crm - - filestorage - - hris - - mktg - - ticketing - source: - openapi: openapi/openapi.yml -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /crm/v1/linked-accounts - method: GET - auth: - - tokenAuth: [] - docs: List linked accounts for your organization. - source: - openapi: openapi/openapi.yml - request: - name: LinkedAccountsListRequest - query-parameters: - category: - type: optional - docs: >- - Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, - `mktg`, `ticketing` - - - * `hris` - hris - - * `ats` - ats - - * `accounting` - accounting - - * `ticketing` - ticketing - - * `crm` - crm - - * `mktg` - mktg - - * `filestorage` - filestorage - cursor: - type: optional - docs: The pagination cursor value. - end_user_email_address: - type: optional - docs: >- - If provided, will only return linked accounts associated with the - given email address. - end_user_organization_name: - type: optional - docs: >- - If provided, will only return linked accounts associated with the - given organization name. - end_user_origin_id: - type: optional - docs: >- - If provided, will only return linked accounts associated with the - given origin ID. - end_user_origin_ids: - type: optional - docs: >- - Comma-separated list of EndUser origin IDs, making it possible to - specify multiple EndUsers at once. - id: - type: optional - validation: - format: uuid - ids: - type: optional - docs: >- - Comma-separated list of LinkedAccount IDs, making it possible to - specify multiple LinkedAccounts at once. - include_duplicates: - type: optional - docs: >- - If `true`, will include complete production duplicates of the - account specified by the `id` query parameter in the response. - `id` must be for a complete production linked account. - integration_name: - type: optional - docs: >- - If provided, will only return linked accounts associated with the - given integration name. - is_test_account: - type: optional - docs: >- - If included, will only include test linked accounts. If not - included, will only include non-test linked accounts. - page_size: - type: optional - docs: Number of results to return per page. - status: - type: optional - docs: >- - Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, - `RELINK_NEEDED` - response: - docs: '' - type: root.PaginatedAccountDetailsAndActionsList - status-code: 200 - examples: - - query-parameters: - category: accounting - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - end_user_email_address: end_user_email_address - end_user_organization_name: end_user_organization_name - end_user_origin_id: end_user_origin_id - end_user_origin_ids: end_user_origin_ids - id: id - ids: ids - include_duplicates: true - integration_name: integration_name - is_test_account: is_test_account - page_size: 1 - status: status - headers: - X-Account-Token: '[object Object]' - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: e59b1821-f85c-4e28-a6b3-1804156f3563 - category: hris - status: COMPLETE - status_detail: Invalid login credentials - end_user_origin_id: 3ac95cde-6c7f-4eef-afec-be710b42308d - end_user_organization_name: Foo Bar, LLC - end_user_email_address: hradmin@foobar.dev - subdomain: foobar - webhook_listener_url: >- - https://api.merge.dev/api/integrations/webhook-listener/7fc3mee0UW8ecV4 - is_duplicate: true - integration: - name: name - categories: - - hris - color: color - slug: slug - passthrough_available: true - available_model_operations: - - model_name: Candidate - available_operations: - - FETCH - - CREATE - required_post_parameters: - - remote_user_id - supported_fields: - - first_name - - last_name - - company - - title - account_type: PRODUCTION - completed_at: '2024-08-26T20:11:19Z' - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/crm/notes.yml b/.mock/definition/crm/notes.yml deleted file mode 100644 index 3d915d48..00000000 --- a/.mock/definition/crm/notes.yml +++ /dev/null @@ -1,623 +0,0 @@ -types: - NotesListRequestExpand: - enum: - - account - - value: account,opportunity - name: AccountOpportunity - - contact - - value: contact,account - name: ContactAccount - - value: contact,account,opportunity - name: ContactAccountOpportunity - - value: contact,opportunity - name: ContactOpportunity - - opportunity - - owner - - value: owner,account - name: OwnerAccount - - value: owner,account,opportunity - name: OwnerAccountOpportunity - - value: owner,contact - name: OwnerContact - - value: owner,contact,account - name: OwnerContactAccount - - value: owner,contact,account,opportunity - name: OwnerContactAccountOpportunity - - value: owner,contact,opportunity - name: OwnerContactOpportunity - - value: owner,opportunity - name: OwnerOpportunity - source: - openapi: openapi/openapi.yml - NotesRetrieveRequestExpand: - enum: - - account - - value: account,opportunity - name: AccountOpportunity - - contact - - value: contact,account - name: ContactAccount - - value: contact,account,opportunity - name: ContactAccountOpportunity - - value: contact,opportunity - name: ContactOpportunity - - opportunity - - owner - - value: owner,account - name: OwnerAccount - - value: owner,account,opportunity - name: OwnerAccountOpportunity - - value: owner,contact - name: OwnerContact - - value: owner,contact,account - name: OwnerContactAccount - - value: owner,contact,account,opportunity - name: OwnerContactAccountOpportunity - - value: owner,contact,opportunity - name: OwnerContactOpportunity - - value: owner,opportunity - name: OwnerOpportunity - source: - openapi: openapi/openapi.yml -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /crm/v1/notes - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `Note` objects. - source: - openapi: openapi/openapi.yml - request: - name: NotesListRequest - query-parameters: - account_id: - type: optional - docs: If provided, will only return notes with this account. - contact_id: - type: optional - docs: If provided, will only return notes with this contact. - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_remote_fields: - type: optional - docs: >- - Whether to include all remote fields, including fields that Merge - did not map to common models, in a normalized format. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - opportunity_id: - type: optional - docs: If provided, will only return notes with this opportunity. - owner_id: - type: optional - docs: If provided, will only return notes with this owner. - page_size: - type: optional - docs: Number of results to return per page. - remote_id: - type: optional - docs: The API provider's ID for the given object. - response: - docs: '' - type: root.PaginatedNoteList - status-code: 200 - examples: - - query-parameters: - account_id: account_id - contact_id: contact_id - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - expand: account - include_deleted_data: true - include_remote_data: true - include_remote_fields: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - opportunity_id: opportunity_id - owner_id: owner_id - page_size: 1 - remote_id: remote_id - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: 550e8400-e29b-41d4-a716-446655440000 - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - owner: owner - content: Merge is hiring! - contact: contact - account: account - opportunity: opportunity - remote_updated_at: '2022-02-10T00:00:00Z' - remote_created_at: '2021-11-10T00:00:00Z' - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /notes - data: - - Varies by platform - remote_fields: - - remote_field_class: remote_field_class - value: string - create: - path: /crm/v1/notes - method: POST - auth: - - tokenAuth: [] - docs: Creates a `Note` object with the given values. - source: - openapi: openapi/openapi.yml - request: - name: NoteEndpointRequest - query-parameters: - is_debug_mode: - type: optional - docs: >- - Whether to include debug fields (such as log file links) in the - response. - run_async: - type: optional - docs: Whether or not third-party updates should be run asynchronously. - body: - properties: - model: root.NoteRequest - content-type: application/json - response: - docs: '' - type: root.NoteResponse - status-code: 201 - examples: - - query-parameters: - is_debug_mode: true - run_async: true - headers: - X-Account-Token: X-Account-Token - request: - model: {} - response: - body: - model: - id: 550e8400-e29b-41d4-a716-446655440000 - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - owner: owner - content: Merge is hiring! - contact: contact - account: account - opportunity: opportunity - remote_updated_at: '2022-02-10T00:00:00Z' - remote_created_at: '2021-11-10T00:00:00Z' - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /notes - data: - - Varies by platform - remote_fields: - - remote_field_class: remote_field_class - value: string - warnings: - - source: - pointer: pointer - title: Unrecognized Field - detail: An unrecognized field, age, was passed in with request data. - problem_type: UNRECOGNIZED_FIELD - errors: - - source: - pointer: pointer - title: Missing Required Field - detail: custom_fields is a required field on model. - problem_type: MISSING_REQUIRED_FIELD - logs: - - log_id: 99433219-8017-4acd-bb3c-ceb23d663832 - dashboard_view: >- - https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832 - log_summary: - url: www.exampleintegration.com/api/v1/exampleapi - method: POST - status_code: 200 - retrieve: - path: /crm/v1/notes/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns a `Note` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: NotesRetrieveRequest - query-parameters: - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_remote_fields: - type: optional - docs: >- - Whether to include all remote fields, including fields that Merge - did not map to common models, in a normalized format. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - response: - docs: '' - type: root.Note - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - expand: account - include_remote_data: true - include_remote_fields: true - include_shell_data: true - headers: - X-Account-Token: X-Account-Token - response: - body: - id: 550e8400-e29b-41d4-a716-446655440000 - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - owner: owner - content: Merge is hiring! - contact: contact - account: account - opportunity: opportunity - remote_updated_at: '2022-02-10T00:00:00Z' - remote_created_at: '2021-11-10T00:00:00Z' - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /notes - data: - - Varies by platform - remote_fields: - - remote_field_class: remote_field_class - value: string - metaPostRetrieve: - path: /crm/v1/notes/meta/post - method: GET - auth: - - tokenAuth: [] - docs: Returns metadata for `Note` POSTs. - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: root.MetaResponse - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - request_schema: - type: object - properties: - model: - type: object - required: - - last_name - - first_name - - merge_categories - - new_york_city_neighborhood - - favorite_tv_shows - - favorite_watch - properties: - email_addresses: - type: array - items: - type: object - properties: - value: - type: string - title: value - email_address_type: - type: string - title: email_address_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: email_addresses - description: Array of email_addresses objects - urls: - type: array - items: - type: object - properties: - value: - type: string - title: value - url_type: - type: string - title: url_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: urls - description: Array of urls objects - first_name: - type: string - title: first_name - description: The first name. - last_name: - type: string - title: last_name - description: The last name. - phone_numbers: - type: array - items: - type: object - properties: - value: - type: string - title: value - phone_number_type: - type: string - title: phone_number_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: phone_numbers - description: Array of phone_numbers objects - tags: - type: array - items: - type: string - format: uuid - title: tags - description: Array of tags names - attachments: - type: array - items: - type: object - properties: - id: - type: string - title: id - file_url: - type: string - title: file_url - file_name: - type: string - title: file_name - attachment_type: - type: string - title: attachment_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: attachments - description: 'Array of attachments objects ' - merge_categories: - type: array - categories: - type: string - enum: - - HRIS - - ATS - - Accounting - - Ticketing - - File Storage - - CRM - - Marketing Automation - enum_information: - - value: HRIS - description: Merge HRIS Category - - value: ATS - description: Merge ATS Category - - value: Accounting - description: Merge Accounting Category - - value: Ticketing - description: Merge Ticketing Category - - value: File Storage - description: Merge File Storage Category - - value: CRM - description: Merge CRM Category - - value: Marketing Automation - description: Merge Marketing Automation Category - title: Merge Categories - description: Array of Merge's Unified API Categories - new_york_city_neighborhood: - type: string - title: Borough - description: One of the 5 Boroughs of New York City - favorite_tv_shows: - type: array - items: - type: string - format: uuid - title: Favorite TV Shows - description: Array of TV Show objects on merge.tv_shows - favorite_watch: - type: string - title: Favorite Watch - description: Favorite watch of all time - remote_field_classes: - key: value - status: - linked_account_status: linked_account_status - can_make_request: true - has_conditional_params: true - has_required_linked_account_params: true - remoteFieldClassesList: - path: /crm/v1/notes/remote-field-classes - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `RemoteFieldClass` objects. - source: - openapi: openapi/openapi.yml - request: - name: NotesRemoteFieldClassesListRequest - query-parameters: - cursor: - type: optional - docs: The pagination cursor value. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_remote_fields: - type: optional - docs: >- - Whether to include all remote fields, including fields that Merge - did not map to common models, in a normalized format. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - is_common_model_field: - type: optional - docs: >- - If provided, will only return remote field classes with this - is_common_model_field value - is_custom: - type: optional - docs: >- - If provided, will only return remote fields classes with this - is_custom value - page_size: - type: optional - docs: Number of results to return per page. - response: - docs: '' - type: root.PaginatedRemoteFieldClassList - status-code: 200 - examples: - - query-parameters: - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - include_deleted_data: true - include_remote_data: true - include_remote_fields: true - include_shell_data: true - is_common_model_field: true - is_custom: true - page_size: 1 - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: id - display_name: display_name - remote_key_name: remote_key_name - description: description - is_custom: true - is_common_model_field: true - is_required: true - field_type: string - field_format: string - field_choices: - - {} - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/crm/opportunities.yml b/.mock/definition/crm/opportunities.yml deleted file mode 100644 index 35678301..00000000 --- a/.mock/definition/crm/opportunities.yml +++ /dev/null @@ -1,927 +0,0 @@ -types: - OpportunitiesListRequestExpand: - enum: - - account - - owner - - value: owner,account - name: OwnerAccount - - value: owner,stage - name: OwnerStage - - value: owner,stage,account - name: OwnerStageAccount - - stage - - value: stage,account - name: StageAccount - source: - openapi: openapi/openapi.yml - OpportunitiesListRequestStatus: - enum: - - LOST - - OPEN - - WON - source: - openapi: openapi/openapi.yml - OpportunitiesRetrieveRequestExpand: - enum: - - account - - owner - - value: owner,account - name: OwnerAccount - - value: owner,stage - name: OwnerStage - - value: owner,stage,account - name: OwnerStageAccount - - stage - - value: stage,account - name: StageAccount - source: - openapi: openapi/openapi.yml -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /crm/v1/opportunities - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `Opportunity` objects. - source: - openapi: openapi/openapi.yml - request: - name: OpportunitiesListRequest - query-parameters: - account_id: - type: optional - docs: If provided, will only return opportunities with this account. - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_remote_fields: - type: optional - docs: >- - Whether to include all remote fields, including fields that Merge - did not map to common models, in a normalized format. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - owner_id: - type: optional - docs: If provided, will only return opportunities with this owner. - page_size: - type: optional - docs: Number of results to return per page. - remote_created_after: - type: optional - docs: >- - If provided, will only return opportunities created in the third - party platform after this datetime. - remote_fields: - type: optional> - docs: Deprecated. Use show_enum_origins. - remote_id: - type: optional - docs: The API provider's ID for the given object. - show_enum_origins: - type: optional> - docs: >- - A comma separated list of enum field names for which you'd like - the original values to be returned, instead of Merge's normalized - enum values. [Learn - more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - stage_id: - type: optional - docs: If provided, will only return opportunities with this stage. - status: - type: optional - docs: >- - If provided, will only return opportunities with this status. - Options: ('OPEN', 'WON', 'LOST') - - - * `OPEN` - OPEN - - * `WON` - WON - - * `LOST` - LOST - response: - docs: '' - type: root.PaginatedOpportunityList - status-code: 200 - examples: - - query-parameters: - account_id: account_id - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - expand: account - include_deleted_data: true - include_remote_data: true - include_remote_fields: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - owner_id: owner_id - page_size: 1 - remote_created_after: '2024-01-15T09:30:00Z' - remote_fields: status - remote_id: remote_id - show_enum_origins: status - stage_id: stage_id - status: LOST - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: 550e8400-e29b-41d4-a716-446655440000 - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Needs Integrations - description: Needs a Unified API for Integrations! - amount: 100000 - owner: owner - account: account - stage: stage - status: OPEN - last_activity_at: '2022-02-10T00:00:00Z' - close_date: '2022-02-10T00:00:00Z' - remote_created_at: '2021-11-10T00:00:00Z' - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /opportunities - data: - - Varies by platform - remote_fields: - - remote_field_class: remote_field_class - value: string - create: - path: /crm/v1/opportunities - method: POST - auth: - - tokenAuth: [] - docs: Creates an `Opportunity` object with the given values. - source: - openapi: openapi/openapi.yml - request: - name: OpportunityEndpointRequest - query-parameters: - is_debug_mode: - type: optional - docs: >- - Whether to include debug fields (such as log file links) in the - response. - run_async: - type: optional - docs: Whether or not third-party updates should be run asynchronously. - body: - properties: - model: root.OpportunityRequest - content-type: application/json - response: - docs: '' - type: root.OpportunityResponse - status-code: 201 - examples: - - query-parameters: - is_debug_mode: true - run_async: true - headers: - X-Account-Token: X-Account-Token - request: - model: {} - response: - body: - model: - id: 550e8400-e29b-41d4-a716-446655440000 - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Needs Integrations - description: Needs a Unified API for Integrations! - amount: 100000 - owner: owner - account: account - stage: stage - status: OPEN - last_activity_at: '2022-02-10T00:00:00Z' - close_date: '2022-02-10T00:00:00Z' - remote_created_at: '2021-11-10T00:00:00Z' - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /opportunities - data: - - Varies by platform - remote_fields: - - remote_field_class: remote_field_class - value: string - warnings: - - source: - pointer: pointer - title: Unrecognized Field - detail: An unrecognized field, age, was passed in with request data. - problem_type: UNRECOGNIZED_FIELD - errors: - - source: - pointer: pointer - title: Missing Required Field - detail: custom_fields is a required field on model. - problem_type: MISSING_REQUIRED_FIELD - logs: - - log_id: 99433219-8017-4acd-bb3c-ceb23d663832 - dashboard_view: >- - https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832 - log_summary: - url: www.exampleintegration.com/api/v1/exampleapi - method: POST - status_code: 200 - retrieve: - path: /crm/v1/opportunities/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns an `Opportunity` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: OpportunitiesRetrieveRequest - query-parameters: - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_remote_fields: - type: optional - docs: >- - Whether to include all remote fields, including fields that Merge - did not map to common models, in a normalized format. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - remote_fields: - type: optional> - docs: Deprecated. Use show_enum_origins. - show_enum_origins: - type: optional> - docs: >- - A comma separated list of enum field names for which you'd like - the original values to be returned, instead of Merge's normalized - enum values. [Learn - more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - response: - docs: '' - type: root.Opportunity - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - expand: account - include_remote_data: true - include_remote_fields: true - include_shell_data: true - remote_fields: status - show_enum_origins: status - headers: - X-Account-Token: X-Account-Token - response: - body: - id: 550e8400-e29b-41d4-a716-446655440000 - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Needs Integrations - description: Needs a Unified API for Integrations! - amount: 100000 - owner: owner - account: account - stage: stage - status: OPEN - last_activity_at: '2022-02-10T00:00:00Z' - close_date: '2022-02-10T00:00:00Z' - remote_created_at: '2021-11-10T00:00:00Z' - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /opportunities - data: - - Varies by platform - remote_fields: - - remote_field_class: remote_field_class - value: string - partialUpdate: - path: /crm/v1/opportunities/{id} - method: PATCH - auth: - - tokenAuth: [] - docs: Updates an `Opportunity` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: PatchedOpportunityEndpointRequest - query-parameters: - is_debug_mode: - type: optional - docs: >- - Whether to include debug fields (such as log file links) in the - response. - run_async: - type: optional - docs: Whether or not third-party updates should be run asynchronously. - body: - properties: - model: root.PatchedOpportunityRequest - content-type: application/json - response: - docs: '' - type: root.OpportunityResponse - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - is_debug_mode: true - run_async: true - headers: - X-Account-Token: X-Account-Token - request: - model: {} - response: - body: - model: - id: 550e8400-e29b-41d4-a716-446655440000 - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Needs Integrations - description: Needs a Unified API for Integrations! - amount: 100000 - owner: owner - account: account - stage: stage - status: OPEN - last_activity_at: '2022-02-10T00:00:00Z' - close_date: '2022-02-10T00:00:00Z' - remote_created_at: '2021-11-10T00:00:00Z' - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /opportunities - data: - - Varies by platform - remote_fields: - - remote_field_class: remote_field_class - value: string - warnings: - - source: - pointer: pointer - title: Unrecognized Field - detail: An unrecognized field, age, was passed in with request data. - problem_type: UNRECOGNIZED_FIELD - errors: - - source: - pointer: pointer - title: Missing Required Field - detail: custom_fields is a required field on model. - problem_type: MISSING_REQUIRED_FIELD - logs: - - log_id: 99433219-8017-4acd-bb3c-ceb23d663832 - dashboard_view: >- - https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832 - log_summary: - url: www.exampleintegration.com/api/v1/exampleapi - method: POST - status_code: 200 - metaPatchRetrieve: - path: /crm/v1/opportunities/meta/patch/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns metadata for `Opportunity` PATCHs. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - response: - docs: '' - type: root.MetaResponse - status-code: 200 - examples: - - path-parameters: - id: id - headers: - X-Account-Token: X-Account-Token - response: - body: - request_schema: - type: object - properties: - model: - type: object - required: - - last_name - - first_name - - merge_categories - - new_york_city_neighborhood - - favorite_tv_shows - - favorite_watch - properties: - email_addresses: - type: array - items: - type: object - properties: - value: - type: string - title: value - email_address_type: - type: string - title: email_address_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: email_addresses - description: Array of email_addresses objects - urls: - type: array - items: - type: object - properties: - value: - type: string - title: value - url_type: - type: string - title: url_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: urls - description: Array of urls objects - first_name: - type: string - title: first_name - description: The first name. - last_name: - type: string - title: last_name - description: The last name. - phone_numbers: - type: array - items: - type: object - properties: - value: - type: string - title: value - phone_number_type: - type: string - title: phone_number_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: phone_numbers - description: Array of phone_numbers objects - tags: - type: array - items: - type: string - format: uuid - title: tags - description: Array of tags names - attachments: - type: array - items: - type: object - properties: - id: - type: string - title: id - file_url: - type: string - title: file_url - file_name: - type: string - title: file_name - attachment_type: - type: string - title: attachment_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: attachments - description: 'Array of attachments objects ' - merge_categories: - type: array - categories: - type: string - enum: - - HRIS - - ATS - - Accounting - - Ticketing - - File Storage - - CRM - - Marketing Automation - enum_information: - - value: HRIS - description: Merge HRIS Category - - value: ATS - description: Merge ATS Category - - value: Accounting - description: Merge Accounting Category - - value: Ticketing - description: Merge Ticketing Category - - value: File Storage - description: Merge File Storage Category - - value: CRM - description: Merge CRM Category - - value: Marketing Automation - description: Merge Marketing Automation Category - title: Merge Categories - description: Array of Merge's Unified API Categories - new_york_city_neighborhood: - type: string - title: Borough - description: One of the 5 Boroughs of New York City - favorite_tv_shows: - type: array - items: - type: string - format: uuid - title: Favorite TV Shows - description: Array of TV Show objects on merge.tv_shows - favorite_watch: - type: string - title: Favorite Watch - description: Favorite watch of all time - remote_field_classes: - key: value - status: - linked_account_status: linked_account_status - can_make_request: true - has_conditional_params: true - has_required_linked_account_params: true - metaPostRetrieve: - path: /crm/v1/opportunities/meta/post - method: GET - auth: - - tokenAuth: [] - docs: Returns metadata for `Opportunity` POSTs. - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: root.MetaResponse - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - request_schema: - type: object - properties: - model: - type: object - required: - - last_name - - first_name - - merge_categories - - new_york_city_neighborhood - - favorite_tv_shows - - favorite_watch - properties: - email_addresses: - type: array - items: - type: object - properties: - value: - type: string - title: value - email_address_type: - type: string - title: email_address_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: email_addresses - description: Array of email_addresses objects - urls: - type: array - items: - type: object - properties: - value: - type: string - title: value - url_type: - type: string - title: url_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: urls - description: Array of urls objects - first_name: - type: string - title: first_name - description: The first name. - last_name: - type: string - title: last_name - description: The last name. - phone_numbers: - type: array - items: - type: object - properties: - value: - type: string - title: value - phone_number_type: - type: string - title: phone_number_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: phone_numbers - description: Array of phone_numbers objects - tags: - type: array - items: - type: string - format: uuid - title: tags - description: Array of tags names - attachments: - type: array - items: - type: object - properties: - id: - type: string - title: id - file_url: - type: string - title: file_url - file_name: - type: string - title: file_name - attachment_type: - type: string - title: attachment_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: attachments - description: 'Array of attachments objects ' - merge_categories: - type: array - categories: - type: string - enum: - - HRIS - - ATS - - Accounting - - Ticketing - - File Storage - - CRM - - Marketing Automation - enum_information: - - value: HRIS - description: Merge HRIS Category - - value: ATS - description: Merge ATS Category - - value: Accounting - description: Merge Accounting Category - - value: Ticketing - description: Merge Ticketing Category - - value: File Storage - description: Merge File Storage Category - - value: CRM - description: Merge CRM Category - - value: Marketing Automation - description: Merge Marketing Automation Category - title: Merge Categories - description: Array of Merge's Unified API Categories - new_york_city_neighborhood: - type: string - title: Borough - description: One of the 5 Boroughs of New York City - favorite_tv_shows: - type: array - items: - type: string - format: uuid - title: Favorite TV Shows - description: Array of TV Show objects on merge.tv_shows - favorite_watch: - type: string - title: Favorite Watch - description: Favorite watch of all time - remote_field_classes: - key: value - status: - linked_account_status: linked_account_status - can_make_request: true - has_conditional_params: true - has_required_linked_account_params: true - remoteFieldClassesList: - path: /crm/v1/opportunities/remote-field-classes - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `RemoteFieldClass` objects. - source: - openapi: openapi/openapi.yml - request: - name: OpportunitiesRemoteFieldClassesListRequest - query-parameters: - cursor: - type: optional - docs: The pagination cursor value. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_remote_fields: - type: optional - docs: >- - Whether to include all remote fields, including fields that Merge - did not map to common models, in a normalized format. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - is_common_model_field: - type: optional - docs: >- - If provided, will only return remote field classes with this - is_common_model_field value - is_custom: - type: optional - docs: >- - If provided, will only return remote fields classes with this - is_custom value - page_size: - type: optional - docs: Number of results to return per page. - response: - docs: '' - type: root.PaginatedRemoteFieldClassList - status-code: 200 - examples: - - query-parameters: - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - include_deleted_data: true - include_remote_data: true - include_remote_fields: true - include_shell_data: true - is_common_model_field: true - is_custom: true - page_size: 1 - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: id - display_name: display_name - remote_key_name: remote_key_name - description: description - is_custom: true - is_common_model_field: true - is_required: true - field_type: string - field_format: string - field_choices: - - {} - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/crm/passthrough.yml b/.mock/definition/crm/passthrough.yml deleted file mode 100644 index ed00b557..00000000 --- a/.mock/definition/crm/passthrough.yml +++ /dev/null @@ -1,46 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - create: - path: /crm/v1/passthrough - method: POST - auth: - - tokenAuth: [] - docs: Pull data from an endpoint not currently supported by Merge. - source: - openapi: openapi/openapi.yml - request: - body: root.DataPassthroughRequest - content-type: application/json - response: - docs: '' - type: root.RemoteResponse - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - request: - method: GET - path: /scooters - response: - body: - method: GET - path: /scooters - status: 200 - response: - scooters: - - company: Lime - model: Gen 2.5 - - company: Bird - model: Bird Zero - response_headers: - X-Page-Token: value - response_type: JSON - headers: - EXTRA-HEADER: value - Authorization: - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/crm/regenerateKey.yml b/.mock/definition/crm/regenerateKey.yml deleted file mode 100644 index ff185eb4..00000000 --- a/.mock/definition/crm/regenerateKey.yml +++ /dev/null @@ -1,39 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - create: - path: /crm/v1/regenerate-key - method: POST - auth: - - tokenAuth: [] - docs: Exchange remote keys. - source: - openapi: openapi/openapi.yml - request: - name: RemoteKeyForRegenerationRequest - body: - properties: - name: - type: string - docs: The name of the remote key - validation: - minLength: 1 - content-type: application/json - response: - docs: '' - type: root.RemoteKey - status-code: 200 - examples: - - headers: - X-Account-Token: '[object Object]' - request: - name: Remote Deployment Key 1 - response: - body: - name: Remote Deployment Key 1 - key: hXY57W0g0WkdRHjCaPvwijK63fwfN-o_Wh7f30SLTq_uPCOLo-WFcA - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/crm/scopes.yml b/.mock/definition/crm/scopes.yml deleted file mode 100644 index 212f7889..00000000 --- a/.mock/definition/crm/scopes.yml +++ /dev/null @@ -1,167 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - default_scopes_retrieve: - path: /crm/v1/default-scopes - method: GET - auth: - - tokenAuth: [] - docs: >- - Get the default permissions for Merge Common Models and fields across - all Linked Accounts of a given category. [Learn - more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: root.CommonModelScopeApi - status-code: 200 - examples: - - headers: - X-Account-Token: '[object Object]' - response: - body: - common_models: - - model_name: Employee - model_permissions: - READ: - is_enabled: true - WRITE: - is_enabled: false - field_permissions: - enabled_fields: - - avatar - - created_at - - custom_fields - - date_of_birth - - first_name - - gender - - remote_created_at - - remote_data - disabled_fields: - - company - - employments - - groups - - home_location - - manager - - work_location - linked_account_scopes_retrieve: - path: /crm/v1/linked-account-scopes - method: GET - auth: - - tokenAuth: [] - docs: >- - Get all available permissions for Merge Common Models and fields for a - single Linked Account. [Learn - more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: root.CommonModelScopeApi - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - common_models: - - model_name: Employee - model_permissions: - READ: - is_enabled: true - WRITE: - is_enabled: false - field_permissions: - enabled_fields: - - avatar - - created_at - - custom_fields - - date_of_birth - - first_name - - gender - - remote_created_at - - remote_data - disabled_fields: - - company - - employments - - groups - - home_location - - manager - - work_location - linked_account_scopes_create: - path: /crm/v1/linked-account-scopes - method: POST - auth: - - tokenAuth: [] - docs: >- - Update permissions for any Common Model or field for a single Linked - Account. Any Scopes not set in this POST request will inherit the - default Scopes. [Learn - more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes) - source: - openapi: openapi/openapi.yml - request: - name: LinkedAccountCommonModelScopeDeserializerRequest - body: - properties: - common_models: - docs: The common models you want to update the scopes for - type: list - content-type: application/json - response: - docs: '' - type: root.CommonModelScopeApi - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - request: - common_models: - - model_name: Employee - model_permissions: - READ: - is_enabled: true - WRITE: - is_enabled: false - field_permissions: - enabled_fields: - - avatar - - home_location - disabled_fields: - - work_location - - model_name: Benefit - model_permissions: - WRITE: - is_enabled: false - response: - body: - common_models: - - model_name: Employee - model_permissions: - READ: - is_enabled: true - WRITE: - is_enabled: false - field_permissions: - enabled_fields: - - avatar - - created_at - - custom_fields - - date_of_birth - - first_name - - gender - - remote_created_at - - remote_data - disabled_fields: - - company - - employments - - groups - - home_location - - manager - - work_location - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/crm/stages.yml b/.mock/definition/crm/stages.yml deleted file mode 100644 index 9485966f..00000000 --- a/.mock/definition/crm/stages.yml +++ /dev/null @@ -1,254 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /crm/v1/stages - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `Stage` objects. - source: - openapi: openapi/openapi.yml - request: - name: StagesListRequest - query-parameters: - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_remote_fields: - type: optional - docs: >- - Whether to include all remote fields, including fields that Merge - did not map to common models, in a normalized format. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - page_size: - type: optional - docs: Number of results to return per page. - remote_id: - type: optional - docs: The API provider's ID for the given object. - response: - docs: '' - type: root.PaginatedStageList - status-code: 200 - examples: - - query-parameters: - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - include_deleted_data: true - include_remote_data: true - include_remote_fields: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - page_size: 1 - remote_id: remote_id - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: 0358cbc6-2040-430a-848e-aafacbadf3aa - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Closed Won - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /stages - data: - - Varies by platform - remote_fields: - - remote_field_class: remote_field_class - value: string - retrieve: - path: /crm/v1/stages/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns a `Stage` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: StagesRetrieveRequest - query-parameters: - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_remote_fields: - type: optional - docs: >- - Whether to include all remote fields, including fields that Merge - did not map to common models, in a normalized format. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - response: - docs: '' - type: root.Stage - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - include_remote_data: true - include_remote_fields: true - include_shell_data: true - headers: - X-Account-Token: X-Account-Token - response: - body: - id: 0358cbc6-2040-430a-848e-aafacbadf3aa - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Closed Won - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /stages - data: - - Varies by platform - remote_fields: - - remote_field_class: remote_field_class - value: string - remoteFieldClassesList: - path: /crm/v1/stages/remote-field-classes - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `RemoteFieldClass` objects. - source: - openapi: openapi/openapi.yml - request: - name: StagesRemoteFieldClassesListRequest - query-parameters: - cursor: - type: optional - docs: The pagination cursor value. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_remote_fields: - type: optional - docs: >- - Whether to include all remote fields, including fields that Merge - did not map to common models, in a normalized format. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - is_common_model_field: - type: optional - docs: >- - If provided, will only return remote field classes with this - is_common_model_field value - is_custom: - type: optional - docs: >- - If provided, will only return remote fields classes with this - is_custom value - page_size: - type: optional - docs: Number of results to return per page. - response: - docs: '' - type: root.PaginatedRemoteFieldClassList - status-code: 200 - examples: - - query-parameters: - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - include_deleted_data: true - include_remote_data: true - include_remote_fields: true - include_shell_data: true - is_common_model_field: true - is_custom: true - page_size: 1 - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: id - display_name: display_name - remote_key_name: remote_key_name - description: description - is_custom: true - is_common_model_field: true - is_required: true - field_type: string - field_format: string - field_choices: - - {} - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/crm/syncStatus.yml b/.mock/definition/crm/syncStatus.yml deleted file mode 100644 index 8e6349e1..00000000 --- a/.mock/definition/crm/syncStatus.yml +++ /dev/null @@ -1,60 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /crm/v1/sync-status - method: GET - auth: - - tokenAuth: [] - docs: >- - Get sync status for the current sync and the most recently finished - sync. `last_sync_start` represents the most recent time any sync began. - `last_sync_finished` represents the most recent time any sync completed. - These timestamps may correspond to different sync instances which may - result in a sync start time being later than a separate sync completed - time. To ensure you are retrieving the latest available data reference - the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. - Possible values for `status` and `last_sync_result` are `DISABLED`, - `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more - about sync status in our [Help - Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). - source: - openapi: openapi/openapi.yml - request: - name: SyncStatusListRequest - query-parameters: - cursor: - type: optional - docs: The pagination cursor value. - page_size: - type: optional - docs: Number of results to return per page. - response: - docs: '' - type: root.PaginatedSyncStatusList - status-code: 200 - examples: - - query-parameters: - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - page_size: 1 - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - model_name: Account - model_id: crm.Account - last_sync_start: '2021-03-30T19:44:18Z' - next_sync_start: '2021-03-30T20:44:18Z' - last_sync_result: SYNCING - last_sync_finished: '2021-03-30T19:55:18Z' - status: SYNCING - is_initial_sync: true - selective_sync_configurations_usage: IN_NEXT_SYNC - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/crm/tasks.yml b/.mock/definition/crm/tasks.yml deleted file mode 100644 index 0f9f55fb..00000000 --- a/.mock/definition/crm/tasks.yml +++ /dev/null @@ -1,857 +0,0 @@ -types: - TasksListRequestExpand: - enum: - - account - - value: account,opportunity - name: AccountOpportunity - - opportunity - - owner - - value: owner,account - name: OwnerAccount - - value: owner,account,opportunity - name: OwnerAccountOpportunity - - value: owner,opportunity - name: OwnerOpportunity - source: - openapi: openapi/openapi.yml - TasksRetrieveRequestExpand: - enum: - - account - - value: account,opportunity - name: AccountOpportunity - - opportunity - - owner - - value: owner,account - name: OwnerAccount - - value: owner,account,opportunity - name: OwnerAccountOpportunity - - value: owner,opportunity - name: OwnerOpportunity - source: - openapi: openapi/openapi.yml -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /crm/v1/tasks - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `Task` objects. - source: - openapi: openapi/openapi.yml - request: - name: TasksListRequest - query-parameters: - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_remote_fields: - type: optional - docs: >- - Whether to include all remote fields, including fields that Merge - did not map to common models, in a normalized format. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - page_size: - type: optional - docs: Number of results to return per page. - remote_id: - type: optional - docs: The API provider's ID for the given object. - response: - docs: '' - type: root.PaginatedTaskList - status-code: 200 - examples: - - query-parameters: - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - expand: account - include_deleted_data: true - include_remote_data: true - include_remote_fields: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - page_size: 1 - remote_id: remote_id - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: 550e8400-e29b-41d4-a716-446655440000 - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - subject: Contact about Integration Strategy - content: Follow up to see whether they need integrations - owner: owner - account: account - opportunity: opportunity - completed_date: '2022-02-11T00:00:00Z' - due_date: '2022-02-10T00:00:00Z' - status: OPEN - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /tasks - data: - - Varies by platform - remote_fields: - - remote_field_class: remote_field_class - value: string - create: - path: /crm/v1/tasks - method: POST - auth: - - tokenAuth: [] - docs: Creates a `Task` object with the given values. - source: - openapi: openapi/openapi.yml - request: - name: TaskEndpointRequest - query-parameters: - is_debug_mode: - type: optional - docs: >- - Whether to include debug fields (such as log file links) in the - response. - run_async: - type: optional - docs: Whether or not third-party updates should be run asynchronously. - body: - properties: - model: root.TaskRequest - content-type: application/json - response: - docs: '' - type: root.TaskResponse - status-code: 201 - examples: - - query-parameters: - is_debug_mode: true - run_async: true - headers: - X-Account-Token: X-Account-Token - request: - model: {} - response: - body: - model: - id: 550e8400-e29b-41d4-a716-446655440000 - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - subject: Contact about Integration Strategy - content: Follow up to see whether they need integrations - owner: owner - account: account - opportunity: opportunity - completed_date: '2022-02-11T00:00:00Z' - due_date: '2022-02-10T00:00:00Z' - status: OPEN - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /tasks - data: - - Varies by platform - remote_fields: - - remote_field_class: remote_field_class - value: string - warnings: - - source: - pointer: pointer - title: Unrecognized Field - detail: An unrecognized field, age, was passed in with request data. - problem_type: UNRECOGNIZED_FIELD - errors: - - source: - pointer: pointer - title: Missing Required Field - detail: custom_fields is a required field on model. - problem_type: MISSING_REQUIRED_FIELD - logs: - - log_id: 99433219-8017-4acd-bb3c-ceb23d663832 - dashboard_view: >- - https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832 - log_summary: - url: www.exampleintegration.com/api/v1/exampleapi - method: POST - status_code: 200 - retrieve: - path: /crm/v1/tasks/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns a `Task` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: TasksRetrieveRequest - query-parameters: - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_remote_fields: - type: optional - docs: >- - Whether to include all remote fields, including fields that Merge - did not map to common models, in a normalized format. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - response: - docs: '' - type: root.Task - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - expand: account - include_remote_data: true - include_remote_fields: true - include_shell_data: true - headers: - X-Account-Token: X-Account-Token - response: - body: - id: 550e8400-e29b-41d4-a716-446655440000 - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - subject: Contact about Integration Strategy - content: Follow up to see whether they need integrations - owner: owner - account: account - opportunity: opportunity - completed_date: '2022-02-11T00:00:00Z' - due_date: '2022-02-10T00:00:00Z' - status: OPEN - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /tasks - data: - - Varies by platform - remote_fields: - - remote_field_class: remote_field_class - value: string - partialUpdate: - path: /crm/v1/tasks/{id} - method: PATCH - auth: - - tokenAuth: [] - docs: Updates a `Task` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: PatchedTaskEndpointRequest - query-parameters: - is_debug_mode: - type: optional - docs: >- - Whether to include debug fields (such as log file links) in the - response. - run_async: - type: optional - docs: Whether or not third-party updates should be run asynchronously. - body: - properties: - model: root.PatchedTaskRequest - content-type: application/json - response: - docs: '' - type: root.TaskResponse - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - is_debug_mode: true - run_async: true - headers: - X-Account-Token: X-Account-Token - request: - model: {} - response: - body: - model: - id: 550e8400-e29b-41d4-a716-446655440000 - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - subject: Contact about Integration Strategy - content: Follow up to see whether they need integrations - owner: owner - account: account - opportunity: opportunity - completed_date: '2022-02-11T00:00:00Z' - due_date: '2022-02-10T00:00:00Z' - status: OPEN - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /tasks - data: - - Varies by platform - remote_fields: - - remote_field_class: remote_field_class - value: string - warnings: - - source: - pointer: pointer - title: Unrecognized Field - detail: An unrecognized field, age, was passed in with request data. - problem_type: UNRECOGNIZED_FIELD - errors: - - source: - pointer: pointer - title: Missing Required Field - detail: custom_fields is a required field on model. - problem_type: MISSING_REQUIRED_FIELD - logs: - - log_id: 99433219-8017-4acd-bb3c-ceb23d663832 - dashboard_view: >- - https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832 - log_summary: - url: www.exampleintegration.com/api/v1/exampleapi - method: POST - status_code: 200 - metaPatchRetrieve: - path: /crm/v1/tasks/meta/patch/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns metadata for `Task` PATCHs. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - response: - docs: '' - type: root.MetaResponse - status-code: 200 - examples: - - path-parameters: - id: id - headers: - X-Account-Token: X-Account-Token - response: - body: - request_schema: - type: object - properties: - model: - type: object - required: - - last_name - - first_name - - merge_categories - - new_york_city_neighborhood - - favorite_tv_shows - - favorite_watch - properties: - email_addresses: - type: array - items: - type: object - properties: - value: - type: string - title: value - email_address_type: - type: string - title: email_address_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: email_addresses - description: Array of email_addresses objects - urls: - type: array - items: - type: object - properties: - value: - type: string - title: value - url_type: - type: string - title: url_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: urls - description: Array of urls objects - first_name: - type: string - title: first_name - description: The first name. - last_name: - type: string - title: last_name - description: The last name. - phone_numbers: - type: array - items: - type: object - properties: - value: - type: string - title: value - phone_number_type: - type: string - title: phone_number_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: phone_numbers - description: Array of phone_numbers objects - tags: - type: array - items: - type: string - format: uuid - title: tags - description: Array of tags names - attachments: - type: array - items: - type: object - properties: - id: - type: string - title: id - file_url: - type: string - title: file_url - file_name: - type: string - title: file_name - attachment_type: - type: string - title: attachment_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: attachments - description: 'Array of attachments objects ' - merge_categories: - type: array - categories: - type: string - enum: - - HRIS - - ATS - - Accounting - - Ticketing - - File Storage - - CRM - - Marketing Automation - enum_information: - - value: HRIS - description: Merge HRIS Category - - value: ATS - description: Merge ATS Category - - value: Accounting - description: Merge Accounting Category - - value: Ticketing - description: Merge Ticketing Category - - value: File Storage - description: Merge File Storage Category - - value: CRM - description: Merge CRM Category - - value: Marketing Automation - description: Merge Marketing Automation Category - title: Merge Categories - description: Array of Merge's Unified API Categories - new_york_city_neighborhood: - type: string - title: Borough - description: One of the 5 Boroughs of New York City - favorite_tv_shows: - type: array - items: - type: string - format: uuid - title: Favorite TV Shows - description: Array of TV Show objects on merge.tv_shows - favorite_watch: - type: string - title: Favorite Watch - description: Favorite watch of all time - remote_field_classes: - key: value - status: - linked_account_status: linked_account_status - can_make_request: true - has_conditional_params: true - has_required_linked_account_params: true - metaPostRetrieve: - path: /crm/v1/tasks/meta/post - method: GET - auth: - - tokenAuth: [] - docs: Returns metadata for `Task` POSTs. - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: root.MetaResponse - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - request_schema: - type: object - properties: - model: - type: object - required: - - last_name - - first_name - - merge_categories - - new_york_city_neighborhood - - favorite_tv_shows - - favorite_watch - properties: - email_addresses: - type: array - items: - type: object - properties: - value: - type: string - title: value - email_address_type: - type: string - title: email_address_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: email_addresses - description: Array of email_addresses objects - urls: - type: array - items: - type: object - properties: - value: - type: string - title: value - url_type: - type: string - title: url_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: urls - description: Array of urls objects - first_name: - type: string - title: first_name - description: The first name. - last_name: - type: string - title: last_name - description: The last name. - phone_numbers: - type: array - items: - type: object - properties: - value: - type: string - title: value - phone_number_type: - type: string - title: phone_number_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: phone_numbers - description: Array of phone_numbers objects - tags: - type: array - items: - type: string - format: uuid - title: tags - description: Array of tags names - attachments: - type: array - items: - type: object - properties: - id: - type: string - title: id - file_url: - type: string - title: file_url - file_name: - type: string - title: file_name - attachment_type: - type: string - title: attachment_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: attachments - description: 'Array of attachments objects ' - merge_categories: - type: array - categories: - type: string - enum: - - HRIS - - ATS - - Accounting - - Ticketing - - File Storage - - CRM - - Marketing Automation - enum_information: - - value: HRIS - description: Merge HRIS Category - - value: ATS - description: Merge ATS Category - - value: Accounting - description: Merge Accounting Category - - value: Ticketing - description: Merge Ticketing Category - - value: File Storage - description: Merge File Storage Category - - value: CRM - description: Merge CRM Category - - value: Marketing Automation - description: Merge Marketing Automation Category - title: Merge Categories - description: Array of Merge's Unified API Categories - new_york_city_neighborhood: - type: string - title: Borough - description: One of the 5 Boroughs of New York City - favorite_tv_shows: - type: array - items: - type: string - format: uuid - title: Favorite TV Shows - description: Array of TV Show objects on merge.tv_shows - favorite_watch: - type: string - title: Favorite Watch - description: Favorite watch of all time - remote_field_classes: - key: value - status: - linked_account_status: linked_account_status - can_make_request: true - has_conditional_params: true - has_required_linked_account_params: true - remoteFieldClassesList: - path: /crm/v1/tasks/remote-field-classes - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `RemoteFieldClass` objects. - source: - openapi: openapi/openapi.yml - request: - name: TasksRemoteFieldClassesListRequest - query-parameters: - cursor: - type: optional - docs: The pagination cursor value. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_remote_fields: - type: optional - docs: >- - Whether to include all remote fields, including fields that Merge - did not map to common models, in a normalized format. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - is_common_model_field: - type: optional - docs: >- - If provided, will only return remote field classes with this - is_common_model_field value - is_custom: - type: optional - docs: >- - If provided, will only return remote fields classes with this - is_custom value - page_size: - type: optional - docs: Number of results to return per page. - response: - docs: '' - type: root.PaginatedRemoteFieldClassList - status-code: 200 - examples: - - query-parameters: - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - include_deleted_data: true - include_remote_data: true - include_remote_fields: true - include_shell_data: true - is_common_model_field: true - is_custom: true - page_size: 1 - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: id - display_name: display_name - remote_key_name: remote_key_name - description: description - is_custom: true - is_common_model_field: true - is_required: true - field_type: string - field_format: string - field_choices: - - {} - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/crm/users.yml b/.mock/definition/crm/users.yml deleted file mode 100644 index 81fc4641..00000000 --- a/.mock/definition/crm/users.yml +++ /dev/null @@ -1,286 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /crm/v1/users - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `User` objects. - source: - openapi: openapi/openapi.yml - request: - name: UsersListRequest - query-parameters: - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - email: - type: optional - docs: If provided, will only return users with this email. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_remote_fields: - type: optional - docs: >- - Whether to include all remote fields, including fields that Merge - did not map to common models, in a normalized format. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - page_size: - type: optional - docs: Number of results to return per page. - remote_id: - type: optional - docs: The API provider's ID for the given object. - response: - docs: '' - type: root.PaginatedUserList - status-code: 200 - examples: - - query-parameters: - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - email: email - include_deleted_data: true - include_remote_data: true - include_remote_fields: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - page_size: 1 - remote_id: remote_id - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: 0358cbc6-2040-430a-848e-aafacbadf3aa - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Gil Feig - email: merge_is_hiring@merge.dev - is_active: true - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /users - data: - - Varies by platform - remote_fields: - - remote_field_class: remote_field_class - value: string - retrieve: - path: /crm/v1/users/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns a `User` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: UsersRetrieveRequest - query-parameters: - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_remote_fields: - type: optional - docs: >- - Whether to include all remote fields, including fields that Merge - did not map to common models, in a normalized format. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - response: - docs: '' - type: root.User - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - include_remote_data: true - include_remote_fields: true - include_shell_data: true - headers: - X-Account-Token: X-Account-Token - response: - body: - id: 0358cbc6-2040-430a-848e-aafacbadf3aa - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Gil Feig - email: merge_is_hiring@merge.dev - is_active: true - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /users - data: - - Varies by platform - remote_fields: - - remote_field_class: remote_field_class - value: string - ignoreCreate: - path: /crm/v1/users/ignore/{model_id} - method: POST - auth: - - tokenAuth: [] - docs: >- - Ignores a specific row based on the `model_id` in the url. These records - will have their properties set to null, and will not be updated in - future syncs. The "reason" and "message" fields in the request body will - be stored for audit purposes. - source: - openapi: openapi/openapi.yml - path-parameters: - model_id: string - request: - body: root.IgnoreCommonModelRequest - content-type: application/json - examples: - - path-parameters: - model_id: model_id - headers: - X-Account-Token: X-Account-Token - request: - reason: GENERAL_CUSTOMER_REQUEST - remoteFieldClassesList: - path: /crm/v1/users/remote-field-classes - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `RemoteFieldClass` objects. - source: - openapi: openapi/openapi.yml - request: - name: UsersRemoteFieldClassesListRequest - query-parameters: - cursor: - type: optional - docs: The pagination cursor value. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_remote_fields: - type: optional - docs: >- - Whether to include all remote fields, including fields that Merge - did not map to common models, in a normalized format. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - is_common_model_field: - type: optional - docs: >- - If provided, will only return remote field classes with this - is_common_model_field value - is_custom: - type: optional - docs: >- - If provided, will only return remote fields classes with this - is_custom value - page_size: - type: optional - docs: Number of results to return per page. - response: - docs: '' - type: root.PaginatedRemoteFieldClassList - status-code: 200 - examples: - - query-parameters: - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - include_deleted_data: true - include_remote_data: true - include_remote_fields: true - include_shell_data: true - is_common_model_field: true - is_custom: true - page_size: 1 - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: id - display_name: display_name - remote_key_name: remote_key_name - description: description - is_custom: true - is_common_model_field: true - is_required: true - field_type: string - field_format: string - field_choices: - - {} - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/crm/webhookReceivers.yml b/.mock/definition/crm/webhookReceivers.yml deleted file mode 100644 index 38b51e05..00000000 --- a/.mock/definition/crm/webhookReceivers.yml +++ /dev/null @@ -1,65 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /crm/v1/webhook-receivers - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `WebhookReceiver` objects. - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: list - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - - event: event - is_active: true - key: key - create: - path: /crm/v1/webhook-receivers - method: POST - auth: - - tokenAuth: [] - docs: Creates a `WebhookReceiver` object with the given values. - source: - openapi: openapi/openapi.yml - request: - name: WebhookReceiverRequest - body: - properties: - event: - type: string - validation: - minLength: 1 - is_active: boolean - key: - type: optional - validation: - minLength: 1 - content-type: application/json - response: - docs: '' - type: root.WebhookReceiver - status-code: 201 - examples: - - headers: - X-Account-Token: X-Account-Token - request: - event: event - is_active: true - response: - body: - event: event - is_active: true - key: key - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/filestorage/__package__.yml b/.mock/definition/filestorage/__package__.yml deleted file mode 100644 index 762ddb92..00000000 --- a/.mock/definition/filestorage/__package__.yml +++ /dev/null @@ -1,2368 +0,0 @@ -types: - AccountDetails: - properties: - id: - type: optional - validation: - format: uuid - access: read-only - integration: - type: optional - access: read-only - integration_slug: - type: optional - access: read-only - category: optional - end_user_origin_id: - type: optional - access: read-only - end_user_organization_name: - type: optional - access: read-only - end_user_email_address: - type: optional - validation: - format: email - access: read-only - status: - type: optional - access: read-only - webhook_listener_url: - type: optional - validation: - format: uri - access: read-only - is_duplicate: - type: optional - docs: >- - Whether a Production Linked Account's credentials match another - existing Production Linked Account. This field is `null` for Test - Linked Accounts, incomplete Production Linked Accounts, and ignored - duplicate Production Linked Account sets. - access: read-only - account_type: - type: optional - access: read-only - completed_at: - type: optional - docs: The time at which account completes the linking flow. - source: - openapi: openapi/openapi.yml - AccountDetailsAndActions: - docs: >- - # The LinkedAccount Object - - ### Description - - The `LinkedAccount` object is used to represent an end user's link with a - specific integration. - - - ### Usage Example - - View a list of your organization's `LinkedAccount` objects. - properties: - id: string - category: optional - status: AccountDetailsAndActionsStatusEnum - status_detail: optional - end_user_origin_id: optional - end_user_organization_name: string - end_user_email_address: string - subdomain: - type: optional - docs: The tenant or domain the customer has provided access to. - webhook_listener_url: string - is_duplicate: - type: optional - docs: >- - Whether a Production Linked Account's credentials match another - existing Production Linked Account. This field is `null` for Test - Linked Accounts, incomplete Production Linked Accounts, and ignored - duplicate Production Linked Account sets. - integration: optional - account_type: string - completed_at: datetime - integration_specific_fields: optional> - source: - openapi: openapi/openapi.yml - AccountDetailsAndActionsIntegration: - properties: - name: string - categories: list - image: optional - square_image: optional - color: string - slug: string - passthrough_available: boolean - available_model_operations: optional> - source: - openapi: openapi/openapi.yml - AccountDetailsAndActionsStatusEnum: - enum: - - COMPLETE - - INCOMPLETE - - RELINK_NEEDED - - IDLE - docs: |- - * `COMPLETE` - COMPLETE - * `INCOMPLETE` - INCOMPLETE - * `RELINK_NEEDED` - RELINK_NEEDED - * `IDLE` - IDLE - source: - openapi: openapi/openapi.yml - AccountIntegration: - properties: - name: - type: string - docs: Company name. - abbreviated_name: - type: optional - docs: >- - Optional. This shortened name appears in places with limited space, - usually in conjunction with the platform's logo (e.g., Merge Link - menu).

Example: Workforce Now (in lieu of ADP Workforce - Now), SuccessFactors (in lieu of SAP SuccessFactors) - categories: - type: optional> - docs: >- - Category or categories this integration belongs to. Multiple - categories should be comma separated, i.e. [ats, hris]. - access: read-only - image: - type: optional - docs: Company logo in rectangular shape. - validation: - format: uri - square_image: - type: optional - docs: Company logo in square shape. - validation: - format: uri - color: - type: optional - docs: >- - The color of this integration used for buttons and text throughout the - app and landing pages. Choose a darker, saturated color. - validation: - pattern: ^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$ - maxLength: 18 - slug: - type: optional - access: read-only - api_endpoints_to_documentation_urls: - type: optional> - docs: >- - Mapping of API endpoints to documentation urls for support. Example: - {'GET': [['/common-model-scopes', - 'https://docs.merge.dev/accounting/common-model-scopes/#common_model_scopes_retrieve'],['/common-model-actions', - 'https://docs.merge.dev/accounting/common-model-actions/#common_model_actions_retrieve']], - 'POST': []} - webhook_setup_guide_url: - type: optional - docs: >- - Setup guide URL for third party webhook creation. Exposed in Merge - Docs. - category_beta_status: - type: optional> - docs: Category or categories this integration is in beta status for. - access: read-only - source: - openapi: openapi/openapi.yml - AccountToken: - properties: - account_token: string - integration: AccountIntegration - id: string - source: - openapi: openapi/openapi.yml - AdvancedMetadata: - properties: - id: - type: string - validation: - format: uuid - display_name: optional - description: optional - is_required: optional - is_custom: optional - field_choices: optional> - source: - openapi: openapi/openapi.yml - AsyncPassthroughReciept: - properties: - async_passthrough_receipt_id: - type: string - validation: - format: uuid - source: - openapi: openapi/openapi.yml - AuditLogEventRole: - discriminated: false - docs: >- - Designates the role of the user (or SYSTEM/API if action not taken by a - user) at the time of this Event occurring. - - - * `ADMIN` - ADMIN - - * `DEVELOPER` - DEVELOPER - - * `MEMBER` - MEMBER - - * `API` - API - - * `SYSTEM` - SYSTEM - - * `MERGE_TEAM` - MERGE_TEAM - union: - - RoleEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - AuditLogEventEventType: - discriminated: false - docs: >- - Designates the type of event that occurred. - - - * `CREATED_REMOTE_PRODUCTION_API_KEY` - CREATED_REMOTE_PRODUCTION_API_KEY - - * `DELETED_REMOTE_PRODUCTION_API_KEY` - DELETED_REMOTE_PRODUCTION_API_KEY - - * `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY - - * `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY - - * `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY - - * `REGENERATED_WEBHOOK_SIGNATURE` - REGENERATED_WEBHOOK_SIGNATURE - - * `INVITED_USER` - INVITED_USER - - * `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED - - * `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED - - * `DELETED_LINKED_ACCOUNT` - DELETED_LINKED_ACCOUNT - - * `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT` - - DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT - - * `CREATED_DESTINATION` - CREATED_DESTINATION - - * `DELETED_DESTINATION` - DELETED_DESTINATION - - * `CHANGED_DESTINATION` - CHANGED_DESTINATION - - * `CHANGED_SCOPES` - CHANGED_SCOPES - - * `CHANGED_PERSONAL_INFORMATION` - CHANGED_PERSONAL_INFORMATION - - * `CHANGED_ORGANIZATION_SETTINGS` - CHANGED_ORGANIZATION_SETTINGS - - * `ENABLED_INTEGRATION` - ENABLED_INTEGRATION - - * `DISABLED_INTEGRATION` - DISABLED_INTEGRATION - - * `ENABLED_CATEGORY` - ENABLED_CATEGORY - - * `DISABLED_CATEGORY` - DISABLED_CATEGORY - - * `CHANGED_PASSWORD` - CHANGED_PASSWORD - - * `RESET_PASSWORD` - RESET_PASSWORD - - * `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - - * `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - - * `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - - * `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - - * `CREATED_INTEGRATION_WIDE_FIELD_MAPPING` - - CREATED_INTEGRATION_WIDE_FIELD_MAPPING - - * `CREATED_LINKED_ACCOUNT_FIELD_MAPPING` - - CREATED_LINKED_ACCOUNT_FIELD_MAPPING - - * `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING` - - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING - - * `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING - - * `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - - DELETED_INTEGRATION_WIDE_FIELD_MAPPING - - * `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - - DELETED_LINKED_ACCOUNT_FIELD_MAPPING - - * `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - - CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - * `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - - CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - * `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - - DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - * `FORCED_LINKED_ACCOUNT_RESYNC` - FORCED_LINKED_ACCOUNT_RESYNC - - * `MUTED_ISSUE` - MUTED_ISSUE - - * `GENERATED_MAGIC_LINK` - GENERATED_MAGIC_LINK - - * `ENABLED_MERGE_WEBHOOK` - ENABLED_MERGE_WEBHOOK - - * `DISABLED_MERGE_WEBHOOK` - DISABLED_MERGE_WEBHOOK - - * `MERGE_WEBHOOK_TARGET_CHANGED` - MERGE_WEBHOOK_TARGET_CHANGED - - * `END_USER_CREDENTIALS_ACCESSED` - END_USER_CREDENTIALS_ACCESSED - union: - - EventTypeEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - AuditLogEvent: - properties: - id: - type: optional - validation: - format: uuid - access: read-only - user_name: - type: optional - docs: The User's full name at the time of this Event occurring. - validation: - maxLength: 200 - user_email: - type: optional - docs: The User's email at the time of this Event occurring. - validation: - format: email - maxLength: 254 - role: - type: AuditLogEventRole - docs: >- - Designates the role of the user (or SYSTEM/API if action not taken by - a user) at the time of this Event occurring. - - - * `ADMIN` - ADMIN - - * `DEVELOPER` - DEVELOPER - - * `MEMBER` - MEMBER - - * `API` - API - - * `SYSTEM` - SYSTEM - - * `MERGE_TEAM` - MERGE_TEAM - ip_address: - type: string - validation: - maxLength: 45 - event_type: - type: AuditLogEventEventType - docs: >- - Designates the type of event that occurred. - - - * `CREATED_REMOTE_PRODUCTION_API_KEY` - - CREATED_REMOTE_PRODUCTION_API_KEY - - * `DELETED_REMOTE_PRODUCTION_API_KEY` - - DELETED_REMOTE_PRODUCTION_API_KEY - - * `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY - - * `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY - - * `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY - - * `REGENERATED_WEBHOOK_SIGNATURE` - REGENERATED_WEBHOOK_SIGNATURE - - * `INVITED_USER` - INVITED_USER - - * `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED - - * `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED - - * `DELETED_LINKED_ACCOUNT` - DELETED_LINKED_ACCOUNT - - * `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT` - - DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT - - * `CREATED_DESTINATION` - CREATED_DESTINATION - - * `DELETED_DESTINATION` - DELETED_DESTINATION - - * `CHANGED_DESTINATION` - CHANGED_DESTINATION - - * `CHANGED_SCOPES` - CHANGED_SCOPES - - * `CHANGED_PERSONAL_INFORMATION` - CHANGED_PERSONAL_INFORMATION - - * `CHANGED_ORGANIZATION_SETTINGS` - CHANGED_ORGANIZATION_SETTINGS - - * `ENABLED_INTEGRATION` - ENABLED_INTEGRATION - - * `DISABLED_INTEGRATION` - DISABLED_INTEGRATION - - * `ENABLED_CATEGORY` - ENABLED_CATEGORY - - * `DISABLED_CATEGORY` - DISABLED_CATEGORY - - * `CHANGED_PASSWORD` - CHANGED_PASSWORD - - * `RESET_PASSWORD` - RESET_PASSWORD - - * `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - - * `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - - * `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - - * `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - - * `CREATED_INTEGRATION_WIDE_FIELD_MAPPING` - - CREATED_INTEGRATION_WIDE_FIELD_MAPPING - - * `CREATED_LINKED_ACCOUNT_FIELD_MAPPING` - - CREATED_LINKED_ACCOUNT_FIELD_MAPPING - - * `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING` - - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING - - * `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING - - * `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - - DELETED_INTEGRATION_WIDE_FIELD_MAPPING - - * `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - - DELETED_LINKED_ACCOUNT_FIELD_MAPPING - - * `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - - CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - * `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - - CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - * `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - - DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - * `FORCED_LINKED_ACCOUNT_RESYNC` - FORCED_LINKED_ACCOUNT_RESYNC - - * `MUTED_ISSUE` - MUTED_ISSUE - - * `GENERATED_MAGIC_LINK` - GENERATED_MAGIC_LINK - - * `ENABLED_MERGE_WEBHOOK` - ENABLED_MERGE_WEBHOOK - - * `DISABLED_MERGE_WEBHOOK` - DISABLED_MERGE_WEBHOOK - - * `MERGE_WEBHOOK_TARGET_CHANGED` - MERGE_WEBHOOK_TARGET_CHANGED - - * `END_USER_CREDENTIALS_ACCESSED` - END_USER_CREDENTIALS_ACCESSED - event_description: string - created_at: - type: optional - access: read-only - source: - openapi: openapi/openapi.yml - AvailableActions: - docs: >- - # The AvailableActions Object - - ### Description - - The `Activity` object is used to see all available model/operation - combinations for an integration. - - - ### Usage Example - - Fetch all the actions available for the `Zenefits` integration. - properties: - integration: AccountIntegration - passthrough_available: boolean - available_model_operations: optional> - source: - openapi: openapi/openapi.yml - CategoriesEnum: - enum: - - hris - - ats - - accounting - - ticketing - - crm - - mktg - - filestorage - docs: |- - * `hris` - hris - * `ats` - ats - * `accounting` - accounting - * `ticketing` - ticketing - * `crm` - crm - * `mktg` - mktg - * `filestorage` - filestorage - source: - openapi: openapi/openapi.yml - CategoryEnum: - enum: - - hris - - ats - - accounting - - ticketing - - crm - - mktg - - filestorage - docs: |- - * `hris` - hris - * `ats` - ats - * `accounting` - accounting - * `ticketing` - ticketing - * `crm` - crm - * `mktg` - mktg - * `filestorage` - filestorage - source: - openapi: openapi/openapi.yml - CommonModelScopeApi: - properties: - common_models: - docs: The common models you want to update the scopes for - type: list - source: - openapi: openapi/openapi.yml - CommonModelScopesBodyRequest: - properties: - model_id: - type: string - validation: - minLength: 1 - enabled_actions: list - disabled_fields: list - source: - openapi: openapi/openapi.yml - DataPassthroughRequest: - docs: >- - # The DataPassthrough Object - - ### Description - - The `DataPassthrough` object is used to send information to an - otherwise-unsupported third-party endpoint. - - - ### Usage Example - - Create a `DataPassthrough` to get team hierarchies from your Rippling - integration. - properties: - method: MethodEnum - path: - type: string - docs: The path of the request in the third party's platform. - validation: - minLength: 1 - base_url_override: - type: optional - docs: An optional override of the third party's base url for the request. - validation: - minLength: 1 - data: - type: optional - docs: >- - The data with the request. You must include a `request_format` - parameter matching the data's format - validation: - minLength: 1 - multipart_form_data: - type: optional> - docs: >- - Pass an array of `MultipartFormField` objects in here instead of using - the `data` param if `request_format` is set to `MULTIPART`. - headers: - type: optional> - docs: >- - The headers to use for the request (Merge will handle the account's - authorization headers). `Content-Type` header is required for - passthrough. Choose content type corresponding to expected format of - receiving server. - request_format: optional - normalize_response: - type: optional - docs: >- - Optional. If true, the response will always be an object of the form - `{"type": T, "value": ...}` where `T` will be one of `string, boolean, - number, null, array, object`. - source: - openapi: openapi/openapi.yml - DebugModeLog: - properties: - log_id: string - dashboard_view: string - log_summary: DebugModelLogSummary - source: - openapi: openapi/openapi.yml - DebugModelLogSummary: - properties: - url: string - method: string - status_code: integer - source: - openapi: openapi/openapi.yml - DownloadRequestMeta: - properties: - id: string - url: string - method: string - headers: map - source: - openapi: openapi/openapi.yml - Drive: - docs: >- - # The Drive Object - - ### Description - - The `Drive` object is used to represent a drive that contains the folders - and files in the user's workspace. - - ### Usage Example - - Fetch from the `GET /api/filestorage/v1/drives` endpoint and view their - drives. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - name: - type: optional - docs: The drive's name. - validation: - maxLength: 254 - remote_created_at: - type: optional - docs: When the third party's drive was created. - drive_url: - type: optional - docs: The drive's url. - validation: - maxLength: 2000 - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - EnabledActionsEnum: - enum: - - READ - - WRITE - docs: |- - * `READ` - READ - * `WRITE` - WRITE - source: - openapi: openapi/openapi.yml - EncodingEnum: - enum: - - RAW - - BASE64 - - GZIP_BASE64 - docs: |- - * `RAW` - RAW - * `BASE64` - BASE64 - * `GZIP_BASE64` - GZIP_BASE64 - source: - openapi: openapi/openapi.yml - ErrorValidationProblem: - properties: - source: optional - title: string - detail: string - problem_type: string - source: - openapi: openapi/openapi.yml - EventTypeEnum: - enum: - - CREATED_REMOTE_PRODUCTION_API_KEY - - DELETED_REMOTE_PRODUCTION_API_KEY - - CREATED_TEST_API_KEY - - DELETED_TEST_API_KEY - - REGENERATED_PRODUCTION_API_KEY - - REGENERATED_WEBHOOK_SIGNATURE - - INVITED_USER - - TWO_FACTOR_AUTH_ENABLED - - TWO_FACTOR_AUTH_DISABLED - - DELETED_LINKED_ACCOUNT - - DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT - - CREATED_DESTINATION - - DELETED_DESTINATION - - CHANGED_DESTINATION - - CHANGED_SCOPES - - CHANGED_PERSONAL_INFORMATION - - CHANGED_ORGANIZATION_SETTINGS - - ENABLED_INTEGRATION - - DISABLED_INTEGRATION - - ENABLED_CATEGORY - - DISABLED_CATEGORY - - CHANGED_PASSWORD - - RESET_PASSWORD - - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - - CREATED_INTEGRATION_WIDE_FIELD_MAPPING - - CREATED_LINKED_ACCOUNT_FIELD_MAPPING - - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING - - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING - - DELETED_INTEGRATION_WIDE_FIELD_MAPPING - - DELETED_LINKED_ACCOUNT_FIELD_MAPPING - - CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - FORCED_LINKED_ACCOUNT_RESYNC - - MUTED_ISSUE - - GENERATED_MAGIC_LINK - - ENABLED_MERGE_WEBHOOK - - DISABLED_MERGE_WEBHOOK - - MERGE_WEBHOOK_TARGET_CHANGED - - END_USER_CREDENTIALS_ACCESSED - docs: >- - * `CREATED_REMOTE_PRODUCTION_API_KEY` - CREATED_REMOTE_PRODUCTION_API_KEY - - * `DELETED_REMOTE_PRODUCTION_API_KEY` - DELETED_REMOTE_PRODUCTION_API_KEY - - * `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY - - * `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY - - * `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY - - * `REGENERATED_WEBHOOK_SIGNATURE` - REGENERATED_WEBHOOK_SIGNATURE - - * `INVITED_USER` - INVITED_USER - - * `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED - - * `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED - - * `DELETED_LINKED_ACCOUNT` - DELETED_LINKED_ACCOUNT - - * `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT` - - DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT - - * `CREATED_DESTINATION` - CREATED_DESTINATION - - * `DELETED_DESTINATION` - DELETED_DESTINATION - - * `CHANGED_DESTINATION` - CHANGED_DESTINATION - - * `CHANGED_SCOPES` - CHANGED_SCOPES - - * `CHANGED_PERSONAL_INFORMATION` - CHANGED_PERSONAL_INFORMATION - - * `CHANGED_ORGANIZATION_SETTINGS` - CHANGED_ORGANIZATION_SETTINGS - - * `ENABLED_INTEGRATION` - ENABLED_INTEGRATION - - * `DISABLED_INTEGRATION` - DISABLED_INTEGRATION - - * `ENABLED_CATEGORY` - ENABLED_CATEGORY - - * `DISABLED_CATEGORY` - DISABLED_CATEGORY - - * `CHANGED_PASSWORD` - CHANGED_PASSWORD - - * `RESET_PASSWORD` - RESET_PASSWORD - - * `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - - * `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - - * `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - - * `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - - * `CREATED_INTEGRATION_WIDE_FIELD_MAPPING` - - CREATED_INTEGRATION_WIDE_FIELD_MAPPING - - * `CREATED_LINKED_ACCOUNT_FIELD_MAPPING` - - CREATED_LINKED_ACCOUNT_FIELD_MAPPING - - * `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING` - - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING - - * `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING - - * `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - - DELETED_INTEGRATION_WIDE_FIELD_MAPPING - - * `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - - DELETED_LINKED_ACCOUNT_FIELD_MAPPING - - * `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - - CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - * `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - - CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - * `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - - DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - * `FORCED_LINKED_ACCOUNT_RESYNC` - FORCED_LINKED_ACCOUNT_RESYNC - - * `MUTED_ISSUE` - MUTED_ISSUE - - * `GENERATED_MAGIC_LINK` - GENERATED_MAGIC_LINK - - * `ENABLED_MERGE_WEBHOOK` - ENABLED_MERGE_WEBHOOK - - * `DISABLED_MERGE_WEBHOOK` - DISABLED_MERGE_WEBHOOK - - * `MERGE_WEBHOOK_TARGET_CHANGED` - MERGE_WEBHOOK_TARGET_CHANGED - - * `END_USER_CREDENTIALS_ACCESSED` - END_USER_CREDENTIALS_ACCESSED - source: - openapi: openapi/openapi.yml - ExternalTargetFieldApi: - properties: - name: - type: optional - access: read-only - description: - type: optional - access: read-only - is_mapped: - type: optional - access: read-only - source: - openapi: openapi/openapi.yml - ExternalTargetFieldApiResponse: - properties: - File: optional> - Folder: optional> - Drive: optional> - Group: optional> - User: optional> - source: - openapi: openapi/openapi.yml - FieldMappingApiInstanceTargetField: - properties: - name: string - description: string - is_organization_wide: boolean - source: - openapi: openapi/openapi.yml - inline: true - FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo: - properties: - method: optional - url_path: optional - field_traversal_path: optional> - source: - openapi: openapi/openapi.yml - inline: true - FieldMappingApiInstanceRemoteField: - properties: - remote_key_name: optional - schema: optional> - remote_endpoint_info: FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo - source: - openapi: openapi/openapi.yml - inline: true - FieldMappingApiInstance: - properties: - id: - type: optional - validation: - format: uuid - access: read-only - is_integration_wide: - type: optional - access: read-only - target_field: - type: optional - access: read-only - remote_field: - type: optional - access: read-only - source: - openapi: openapi/openapi.yml - FieldMappingApiInstanceResponse: - properties: - File: optional> - Folder: optional> - Drive: optional> - Group: optional> - User: optional> - source: - openapi: openapi/openapi.yml - FieldMappingInstanceResponse: - properties: - model: FieldMappingApiInstance - warnings: list - errors: list - logs: optional> - source: - openapi: openapi/openapi.yml - FieldPermissionDeserializer: - properties: - enabled_fields: optional> - disabled_fields: optional> - source: - openapi: openapi/openapi.yml - FieldPermissionDeserializerRequest: - properties: - enabled_fields: optional> - disabled_fields: optional> - source: - openapi: openapi/openapi.yml - FileFolder: - discriminated: false - docs: The folder that the file belongs to. - union: - - type: string - validation: - format: uuid - - Folder - source: - openapi: openapi/openapi.yml - inline: true - FilePermissionsItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - Permission - source: - openapi: openapi/openapi.yml - inline: true - FilePermissions: - discriminated: false - docs: >- - The Permission object is used to represent a user's or group's access to a - File or Folder. Permissions are unexpanded by default. Use the query param - `expand=permissions` to see more details under `GET /files`. - union: - - type: string - validation: - format: uuid - - Permission - - list - source: - openapi: openapi/openapi.yml - inline: true - FileDrive: - discriminated: false - docs: The drive that the file belongs to. - union: - - type: string - validation: - format: uuid - - Drive - source: - openapi: openapi/openapi.yml - inline: true - File: - docs: >- - # The File Object - - ### Description - - The `File` object is used to represent a file in the workspace. The Object - typically exists under a folder or drive, if it exists. - - ### Usage Example - - Fetch from the `GET /api/filestorage/v1/files` endpoint and view their - files. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - name: - type: optional - docs: The file's name. - validation: - maxLength: 254 - file_url: - type: optional - docs: The URL to access the file. - validation: - maxLength: 2000 - file_thumbnail_url: - type: optional - docs: >- - The URL that produces a thumbnail preview of the file. Typically an - image. - validation: - maxLength: 2000 - size: - type: optional - docs: The file's size, in bytes. - mime_type: - type: optional - docs: The file's mime type. - validation: - maxLength: 128 - description: - type: optional - docs: The file's description. - validation: - maxLength: 2000 - folder: - type: optional - docs: The folder that the file belongs to. - checksum: - type: optional> - docs: >- - This field stores file checksum data. 'type' indicates the algorithm - (e.g. crc_32, sha1, sha256, quickXor, or md5), and 'content_hash' is - the unique hash used to verify file integrity and detect alterations. - permissions: - type: optional - docs: >- - The Permission object is used to represent a user's or group's access - to a File or Folder. Permissions are unexpanded by default. Use the - query param `expand=permissions` to see more details under `GET - /files`. - drive: - type: optional - docs: The drive that the file belongs to. - remote_created_at: - type: optional - docs: When the third party's file was created. - remote_updated_at: - type: optional - docs: When the third party's file was updated. - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - FileRequestFolder: - discriminated: false - docs: The folder that the file belongs to. - union: - - type: string - validation: - format: uuid - - Folder - source: - openapi: openapi/openapi.yml - inline: true - FileRequestPermissionsItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - PermissionRequest - source: - openapi: openapi/openapi.yml - inline: true - FileRequestPermissions: - discriminated: false - docs: >- - The Permission object is used to represent a user's or group's access to a - File or Folder. Permissions are unexpanded by default. Use the query param - `expand=permissions` to see more details under `GET /files`. - union: - - type: string - validation: - format: uuid - - PermissionRequest - - list - source: - openapi: openapi/openapi.yml - inline: true - FileRequestDrive: - discriminated: false - docs: The drive that the file belongs to. - union: - - type: string - validation: - format: uuid - - Drive - source: - openapi: openapi/openapi.yml - inline: true - FileRequest: - docs: >- - # The File Object - - ### Description - - The `File` object is used to represent a file in the workspace. The Object - typically exists under a folder or drive, if it exists. - - ### Usage Example - - Fetch from the `GET /api/filestorage/v1/files` endpoint and view their - files. - properties: - name: - type: optional - docs: The file's name. - validation: - maxLength: 254 - file_url: - type: optional - docs: The URL to access the file. - validation: - maxLength: 2000 - file_thumbnail_url: - type: optional - docs: >- - The URL that produces a thumbnail preview of the file. Typically an - image. - validation: - maxLength: 2000 - size: - type: optional - docs: The file's size, in bytes. - mime_type: - type: optional - docs: The file's mime type. - validation: - maxLength: 128 - description: - type: optional - docs: The file's description. - validation: - maxLength: 2000 - folder: - type: optional - docs: The folder that the file belongs to. - checksum: - type: optional> - docs: >- - This field stores file checksum data. 'type' indicates the algorithm - (e.g. crc_32, sha1, sha256, quickXor, or md5), and 'content_hash' is - the unique hash used to verify file integrity and detect alterations. - permissions: - type: optional - docs: >- - The Permission object is used to represent a user's or group's access - to a File or Folder. Permissions are unexpanded by default. Use the - query param `expand=permissions` to see more details under `GET - /files`. - drive: - type: optional - docs: The drive that the file belongs to. - integration_params: - type: optional> - access: write-only - linked_account_params: - type: optional> - access: write-only - source: - openapi: openapi/openapi.yml - FileStorageFileResponse: - properties: - model: File - warnings: list - errors: list - logs: optional> - source: - openapi: openapi/openapi.yml - FileStorageFolderResponse: - properties: - model: Folder - warnings: list - errors: list - logs: optional> - source: - openapi: openapi/openapi.yml - FolderParentFolder: - discriminated: false - docs: The folder that the folder belongs to. - union: - - type: string - validation: - format: uuid - - Folder - source: - openapi: openapi/openapi.yml - inline: true - FolderDrive: - discriminated: false - docs: The drive that the folder belongs to. - union: - - type: string - validation: - format: uuid - - Drive - source: - openapi: openapi/openapi.yml - inline: true - FolderPermissionsItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - Permission - source: - openapi: openapi/openapi.yml - inline: true - FolderPermissions: - discriminated: false - docs: >- - The Permission object is used to represent a user's or group's access to a - File or Folder. Permissions are unexpanded by default. Use the query param - `expand=permissions` to see more details under `GET /folders`. - union: - - type: string - validation: - format: uuid - - Permission - - list - source: - openapi: openapi/openapi.yml - inline: true - Folder: - docs: >- - # The Folder Object - - ### Description - - The `Folder` object is used to represent a collection of files and/or - folders in the workspace. Could be within a drive, if it exists. - - ### Usage Example - - Fetch from the `GET /api/filestorage/v1/folders` endpoint and view their - folders. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - name: - type: optional - docs: The folder's name. - validation: - maxLength: 254 - folder_url: - type: optional - docs: The URL to access the folder. - validation: - maxLength: 2000 - size: - type: optional - docs: The folder's size, in bytes. - description: - type: optional - docs: The folder's description. - validation: - maxLength: 2000 - parent_folder: - type: optional - docs: The folder that the folder belongs to. - drive: - type: optional - docs: The drive that the folder belongs to. - permissions: - type: optional - docs: >- - The Permission object is used to represent a user's or group's access - to a File or Folder. Permissions are unexpanded by default. Use the - query param `expand=permissions` to see more details under `GET - /folders`. - remote_created_at: - type: optional - docs: When the third party's folder was created. - remote_updated_at: - type: optional - docs: When the third party's folder was updated. - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - FolderRequestParentFolder: - discriminated: false - docs: The folder that the folder belongs to. - union: - - type: string - validation: - format: uuid - - Folder - source: - openapi: openapi/openapi.yml - inline: true - FolderRequestDrive: - discriminated: false - docs: The drive that the folder belongs to. - union: - - type: string - validation: - format: uuid - - Drive - source: - openapi: openapi/openapi.yml - inline: true - FolderRequestPermissionsItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - PermissionRequest - source: - openapi: openapi/openapi.yml - inline: true - FolderRequestPermissions: - discriminated: false - docs: >- - The Permission object is used to represent a user's or group's access to a - File or Folder. Permissions are unexpanded by default. Use the query param - `expand=permissions` to see more details under `GET /folders`. - union: - - type: string - validation: - format: uuid - - PermissionRequest - - list - source: - openapi: openapi/openapi.yml - inline: true - FolderRequest: - docs: >- - # The Folder Object - - ### Description - - The `Folder` object is used to represent a collection of files and/or - folders in the workspace. Could be within a drive, if it exists. - - ### Usage Example - - Fetch from the `GET /api/filestorage/v1/folders` endpoint and view their - folders. - properties: - name: - type: optional - docs: The folder's name. - validation: - maxLength: 254 - folder_url: - type: optional - docs: The URL to access the folder. - validation: - maxLength: 2000 - size: - type: optional - docs: The folder's size, in bytes. - description: - type: optional - docs: The folder's description. - validation: - maxLength: 2000 - parent_folder: - type: optional - docs: The folder that the folder belongs to. - drive: - type: optional - docs: The drive that the folder belongs to. - permissions: - type: optional - docs: >- - The Permission object is used to represent a user's or group's access - to a File or Folder. Permissions are unexpanded by default. Use the - query param `expand=permissions` to see more details under `GET - /folders`. - integration_params: - type: optional> - access: write-only - linked_account_params: - type: optional> - access: write-only - source: - openapi: openapi/openapi.yml - GroupChildGroupsItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - Group - source: - openapi: openapi/openapi.yml - inline: true - Group: - docs: >- - # The Group Object - - ### Description - - The `Group` object is used to represent any subset of `Users`. This can - extend to company domains as well. - - ### Usage Example - - Fetch from the `GET /api/filestorage/v1/groups` endpoint and view their - groups. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - name: - type: optional - docs: The group's name. - validation: - maxLength: 254 - users: - docs: >- - The users that belong in the group. If null, this typically means it's - either a domain or the third-party platform does not surface this - information. - type: list - child_groups: - type: optional> - docs: Groups that inherit the permissions of the parent group. - access: read-only - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - IndividualCommonModelScopeDeserializer: - properties: - model_name: string - model_permissions: optional> - field_permissions: optional - source: - openapi: openapi/openapi.yml - IndividualCommonModelScopeDeserializerRequest: - properties: - model_name: - type: string - validation: - minLength: 1 - model_permissions: optional> - field_permissions: optional - source: - openapi: openapi/openapi.yml - IssueStatus: - discriminated: false - docs: |- - Status of the issue. Options: ('ONGOING', 'RESOLVED') - - * `ONGOING` - ONGOING - * `RESOLVED` - RESOLVED - union: - - IssueStatusEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - Issue: - properties: - id: - type: optional - validation: - format: uuid - access: read-only - status: - type: optional - docs: |- - Status of the issue. Options: ('ONGOING', 'RESOLVED') - - * `ONGOING` - ONGOING - * `RESOLVED` - RESOLVED - error_description: string - end_user: - type: optional> - access: read-only - first_incident_time: optional - last_incident_time: optional - is_muted: - type: optional - access: read-only - error_details: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - IssueStatusEnum: - enum: - - ONGOING - - RESOLVED - docs: |- - * `ONGOING` - ONGOING - * `RESOLVED` - RESOLVED - source: - openapi: openapi/openapi.yml - LanguageEnum: - enum: - - en - - de - docs: |- - * `en` - en - * `de` - de - source: - openapi: openapi/openapi.yml - LastSyncResultEnum: - enum: - - SYNCING - - DONE - - FAILED - - DISABLED - - PAUSED - - PARTIALLY_SYNCED - docs: |- - * `SYNCING` - SYNCING - * `DONE` - DONE - * `FAILED` - FAILED - * `DISABLED` - DISABLED - * `PAUSED` - PAUSED - * `PARTIALLY_SYNCED` - PARTIALLY_SYNCED - source: - openapi: openapi/openapi.yml - LinkToken: - properties: - link_token: string - integration_name: optional - magic_link_url: optional - source: - openapi: openapi/openapi.yml - LinkedAccountStatus: - properties: - linked_account_status: string - can_make_request: boolean - source: - openapi: openapi/openapi.yml - MetaResponse: - properties: - request_schema: map - remote_field_classes: optional> - status: optional - has_conditional_params: boolean - has_required_linked_account_params: boolean - source: - openapi: openapi/openapi.yml - MethodEnum: - enum: - - GET - - OPTIONS - - HEAD - - POST - - PUT - - PATCH - - DELETE - docs: |- - * `GET` - GET - * `OPTIONS` - OPTIONS - * `HEAD` - HEAD - * `POST` - POST - * `PUT` - PUT - * `PATCH` - PATCH - * `DELETE` - DELETE - source: - openapi: openapi/openapi.yml - ModelOperation: - docs: >- - # The ModelOperation Object - - ### Description - - The `ModelOperation` object is used to represent the operations that are - currently supported for a given model. - - - ### Usage Example - - View what operations are supported for the `Candidate` endpoint. - properties: - model_name: string - available_operations: list - required_post_parameters: list - supported_fields: list - source: - openapi: openapi/openapi.yml - ModelPermissionDeserializer: - properties: - is_enabled: optional - source: - openapi: openapi/openapi.yml - ModelPermissionDeserializerRequest: - properties: - is_enabled: optional - source: - openapi: openapi/openapi.yml - MultipartFormFieldRequestEncoding: - discriminated: false - docs: |- - The encoding of the value of `data`. Defaults to `RAW` if not defined. - - * `RAW` - RAW - * `BASE64` - BASE64 - * `GZIP_BASE64` - GZIP_BASE64 - union: - - EncodingEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - MultipartFormFieldRequest: - docs: >- - # The MultipartFormField Object - - ### Description - - The `MultipartFormField` object is used to represent fields in an HTTP - request using `multipart/form-data`. - - - ### Usage Example - - Create a `MultipartFormField` to define a multipart form entry. - properties: - name: - type: string - docs: The name of the form field - validation: - minLength: 1 - data: - type: string - docs: The data for the form field. - validation: - minLength: 1 - encoding: - type: optional - docs: |- - The encoding of the value of `data`. Defaults to `RAW` if not defined. - - * `RAW` - RAW - * `BASE64` - BASE64 - * `GZIP_BASE64` - GZIP_BASE64 - file_name: - type: optional - docs: The file name of the form field, if the field is for a file. - validation: - minLength: 1 - content_type: - type: optional - docs: The MIME type of the file, if the field is for a file. - validation: - minLength: 1 - source: - openapi: openapi/openapi.yml - PaginatedAccountDetailsAndActionsList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedAuditLogEventList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedDownloadRequestMetaList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedDriveList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedFileList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedFolderList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedGroupList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedIssueList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedSyncStatusList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedUserList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PermissionUser: - discriminated: false - docs: >- - The user that is granted this permission. This will only be populated if - the type is `USER`. - union: - - type: string - validation: - format: uuid - - User - source: - openapi: openapi/openapi.yml - inline: true - PermissionGroup: - discriminated: false - docs: >- - The group that is granted this permission. This will only be populated if - the type is `GROUP`. - union: - - type: string - validation: - format: uuid - - Group - source: - openapi: openapi/openapi.yml - inline: true - PermissionType: - discriminated: false - docs: |- - Denotes what type of people have access to the file. - - * `USER` - USER - * `GROUP` - GROUP - * `COMPANY` - COMPANY - * `ANYONE` - ANYONE - union: - - TypeEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - PermissionRolesItem: - discriminated: false - docs: |- - The permissions that the user or group has for the File or Folder. - - * `READ` - READ - * `WRITE` - WRITE - * `OWNER` - OWNER - union: - - RolesEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - Permission: - docs: >- - # The Permission Object - - ### Description - - The Permission object is used to represent a user's or group's access to a - File or Folder. Permissions are unexpanded by default. - - - ### Usage Example - - Fetch from the `GET Files` or `GET Folders` endpoint. Permissions are - unexpanded by default. Use the query param `expand=permissions` to see - more details. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - user: - type: optional - docs: >- - The user that is granted this permission. This will only be populated - if the type is `USER`. - group: - type: optional - docs: >- - The group that is granted this permission. This will only be populated - if the type is `GROUP`. - type: - type: optional - docs: |- - Denotes what type of people have access to the file. - - * `USER` - USER - * `GROUP` - GROUP - * `COMPANY` - COMPANY - * `ANYONE` - ANYONE - roles: - type: optional>> - docs: >- - The permissions that the user or group has for the File or Folder. It - is possible for a user or group to have multiple roles, such as - viewing & uploading. Possible values include: `READ`, `WRITE`, - `OWNER`. In cases where there is no clear mapping, the original value - passed through will be returned. - source: - openapi: openapi/openapi.yml - PermissionRequestUser: - discriminated: false - docs: >- - The user that is granted this permission. This will only be populated if - the type is `USER`. - union: - - type: string - validation: - format: uuid - - User - source: - openapi: openapi/openapi.yml - inline: true - PermissionRequestGroup: - discriminated: false - docs: >- - The group that is granted this permission. This will only be populated if - the type is `GROUP`. - union: - - type: string - validation: - format: uuid - - Group - source: - openapi: openapi/openapi.yml - inline: true - PermissionRequestType: - discriminated: false - docs: |- - Denotes what type of people have access to the file. - - * `USER` - USER - * `GROUP` - GROUP - * `COMPANY` - COMPANY - * `ANYONE` - ANYONE - union: - - TypeEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - PermissionRequestRolesItem: - discriminated: false - docs: |- - The permissions that the user or group has for the File or Folder. - - * `READ` - READ - * `WRITE` - WRITE - * `OWNER` - OWNER - union: - - RolesEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - PermissionRequest: - docs: >- - # The Permission Object - - ### Description - - The Permission object is used to represent a user's or group's access to a - File or Folder. Permissions are unexpanded by default. - - - ### Usage Example - - Fetch from the `GET Files` or `GET Folders` endpoint. Permissions are - unexpanded by default. Use the query param `expand=permissions` to see - more details. - properties: - remote_id: - type: optional - docs: The third-party API ID of the matching object. - user: - type: optional - docs: >- - The user that is granted this permission. This will only be populated - if the type is `USER`. - group: - type: optional - docs: >- - The group that is granted this permission. This will only be populated - if the type is `GROUP`. - type: - type: optional - docs: |- - Denotes what type of people have access to the file. - - * `USER` - USER - * `GROUP` - GROUP - * `COMPANY` - COMPANY - * `ANYONE` - ANYONE - roles: - type: optional>> - docs: >- - The permissions that the user or group has for the File or Folder. It - is possible for a user or group to have multiple roles, such as - viewing & uploading. Possible values include: `READ`, `WRITE`, - `OWNER`. In cases where there is no clear mapping, the original value - passed through will be returned. - integration_params: - type: optional> - access: write-only - linked_account_params: - type: optional> - access: write-only - source: - openapi: openapi/openapi.yml - RemoteData: - docs: >- - # The RemoteData Object - - ### Description - - The `RemoteData` object is used to represent the full data pulled from the - third-party API for an object. - - - ### Usage Example - - TODO - properties: - path: - type: string - docs: The third-party API path that is being called. - data: - type: optional - docs: >- - The data returned from the third-party for this object in its - original, unnormalized format. - access: read-only - source: - openapi: openapi/openapi.yml - RemoteEndpointInfo: - properties: - method: string - url_path: string - field_traversal_path: list - source: - openapi: openapi/openapi.yml - RemoteFieldApiCoverage: - discriminated: false - union: - - integer - - double - source: - openapi: openapi/openapi.yml - inline: true - RemoteFieldApi: - properties: - schema: map - remote_key_name: string - remote_endpoint_info: RemoteEndpointInfo - example_values: optional> - advanced_metadata: optional - coverage: - type: optional - access: read-only - source: - openapi: openapi/openapi.yml - RemoteFieldApiResponse: - properties: - File: optional> - Folder: optional> - Drive: optional> - Group: optional> - User: optional> - source: - openapi: openapi/openapi.yml - RemoteKey: - docs: >- - # The RemoteKey Object - - ### Description - - The `RemoteKey` object is used to represent a request for a new remote - key. - - - ### Usage Example - - Post a `GenerateRemoteKey` to receive a new `RemoteKey`. - properties: - name: string - key: string - source: - openapi: openapi/openapi.yml - RemoteResponse: - docs: >- - # The RemoteResponse Object - - ### Description - - The `RemoteResponse` object is used to represent information returned from - a third-party endpoint. - - - ### Usage Example - - View the `RemoteResponse` returned from your `DataPassthrough`. - properties: - method: string - path: string - status: integer - response: unknown - response_headers: optional> - response_type: optional - headers: optional> - source: - openapi: openapi/openapi.yml - RequestFormatEnum: - enum: - - JSON - - XML - - MULTIPART - docs: |- - * `JSON` - JSON - * `XML` - XML - * `MULTIPART` - MULTIPART - source: - openapi: openapi/openapi.yml - ResponseTypeEnum: - enum: - - JSON - - BASE64_GZIP - docs: |- - * `JSON` - JSON - * `BASE64_GZIP` - BASE64_GZIP - source: - openapi: openapi/openapi.yml - RoleEnum: - enum: - - ADMIN - - DEVELOPER - - MEMBER - - API - - SYSTEM - - MERGE_TEAM - docs: |- - * `ADMIN` - ADMIN - * `DEVELOPER` - DEVELOPER - * `MEMBER` - MEMBER - * `API` - API - * `SYSTEM` - SYSTEM - * `MERGE_TEAM` - MERGE_TEAM - source: - openapi: openapi/openapi.yml - RolesEnum: - enum: - - READ - - WRITE - - OWNER - docs: |- - * `READ` - READ - * `WRITE` - WRITE - * `OWNER` - OWNER - source: - openapi: openapi/openapi.yml - SelectiveSyncConfigurationsUsageEnum: - enum: - - IN_NEXT_SYNC - - IN_LAST_SYNC - docs: |- - * `IN_NEXT_SYNC` - IN_NEXT_SYNC - * `IN_LAST_SYNC` - IN_LAST_SYNC - source: - openapi: openapi/openapi.yml - StatusFd5Enum: - enum: - - SYNCING - - DONE - - FAILED - - DISABLED - - PAUSED - - PARTIALLY_SYNCED - docs: |- - * `SYNCING` - SYNCING - * `DONE` - DONE - * `FAILED` - FAILED - * `DISABLED` - DISABLED - * `PAUSED` - PAUSED - * `PARTIALLY_SYNCED` - PARTIALLY_SYNCED - source: - openapi: openapi/openapi.yml - SyncStatusLastSyncResult: - discriminated: false - union: - - LastSyncResultEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - SyncStatus: - docs: >- - # The SyncStatus Object - - ### Description - - The `SyncStatus` object is used to represent the syncing state of an - account - - - ### Usage Example - - View the `SyncStatus` for an account to see how recently its models were - synced. - properties: - model_name: string - model_id: string - last_sync_start: optional - next_sync_start: optional - last_sync_result: optional - last_sync_finished: optional - status: StatusFd5Enum - is_initial_sync: boolean - selective_sync_configurations_usage: optional - source: - openapi: openapi/openapi.yml - TypeEnum: - enum: - - USER - - GROUP - - COMPANY - - ANYONE - docs: |- - * `USER` - USER - * `GROUP` - GROUP - * `COMPANY` - COMPANY - * `ANYONE` - ANYONE - source: - openapi: openapi/openapi.yml - User: - docs: >- - # The User Object - - ### Description - - The `User` object is used to represent a user within the File Storage - account. - - ### Usage Example - - Fetch from the `GET /api/filestorage/v1/users` endpoint and view their - users. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - name: - type: optional - docs: The user's name. - validation: - maxLength: 254 - email_address: - type: optional - docs: >- - The user's email address. This is typically used to identify a user - across linked accounts. - validation: - maxLength: 2000 - is_me: - type: optional - docs: Whether the user is the one who linked this account. - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - ValidationProblemSource: - properties: - pointer: string - source: - openapi: openapi/openapi.yml - WarningValidationProblem: - properties: - source: optional - title: string - detail: string - problem_type: string - source: - openapi: openapi/openapi.yml - WebhookReceiver: - properties: - event: string - is_active: boolean - key: optional - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/filestorage/accountDetails.yml b/.mock/definition/filestorage/accountDetails.yml deleted file mode 100644 index 8ea27e0c..00000000 --- a/.mock/definition/filestorage/accountDetails.yml +++ /dev/null @@ -1,38 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - retrieve: - path: /filestorage/v1/account-details - method: GET - auth: - - tokenAuth: [] - docs: Get details for a linked account. - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: root.AccountDetails - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - id: 0496d4c2-42e6-4072-80b3-7b69bfdc76fd - integration: BambooHR - integration_slug: bamboohr - category: hris - end_user_origin_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - end_user_organization_name: Waystar Royco - end_user_email_address: kendall.roy@waystar-royco.com - status: COMPLETE - webhook_listener_url: >- - https://api.merge.dev/api/integrations/webhook-listener/7fc3mee0UW8ecV4 - is_duplicate: true - account_type: PRODUCTION - completed_at: '2024-08-26T20:11:19Z' - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/filestorage/accountToken.yml b/.mock/definition/filestorage/accountToken.yml deleted file mode 100644 index 83bf005a..00000000 --- a/.mock/definition/filestorage/accountToken.yml +++ /dev/null @@ -1,47 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - retrieve: - path: /filestorage/v1/account-token/{public_token} - method: GET - auth: - - tokenAuth: [] - docs: >- - Returns the account token for the end user with the provided public - token. - source: - openapi: openapi/openapi.yml - path-parameters: - public_token: string - response: - docs: '' - type: root.AccountToken - status-code: 200 - examples: - - path-parameters: - public_token: public_token - headers: - X-Account-Token: '[object Object]' - response: - body: - account_token: T9klMDQrcHdm9jrtHuOS2Nf06BIHwMNjpPXPMB - integration: - name: name - abbreviated_name: abbreviated_name - categories: - - hris - image: image - square_image: square_image - color: color - slug: slug - api_endpoints_to_documentation_urls: - key: value - webhook_setup_guide_url: webhook_setup_guide_url - category_beta_status: - key: value - id: 0496d4c2-42e6-4072-80b3-7b69bfdc76fd - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/filestorage/asyncPassthrough.yml b/.mock/definition/filestorage/asyncPassthrough.yml deleted file mode 100644 index e718c89d..00000000 --- a/.mock/definition/filestorage/asyncPassthrough.yml +++ /dev/null @@ -1,78 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - create: - path: /filestorage/v1/async-passthrough - method: POST - auth: - - tokenAuth: [] - docs: >- - Asynchronously pull data from an endpoint not currently supported by - Merge. - source: - openapi: openapi/openapi.yml - request: - body: root.DataPassthroughRequest - content-type: application/json - response: - docs: '' - type: root.AsyncPassthroughReciept - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - request: - method: GET - path: /scooters - response: - body: - async_passthrough_receipt_id: fd29020f-2695-445e-922e-dcd5e81903fd - retrieve: - path: /filestorage/v1/async-passthrough/{async_passthrough_receipt_id} - method: GET - auth: - - tokenAuth: [] - docs: Retrieves data from earlier async-passthrough POST request - source: - openapi: openapi/openapi.yml - path-parameters: - async_passthrough_receipt_id: string - response: - docs: '' - type: AsyncPassthroughRetrieveResponse - status-code: 200 - examples: - - path-parameters: - async_passthrough_receipt_id: async_passthrough_receipt_id - headers: - X-Account-Token: X-Account-Token - response: - body: - method: GET - path: /scooters - status: 200 - response: - scooters: - - company: Lime - model: Gen 2.5 - - company: Bird - model: Bird Zero - response_headers: - X-Page-Token: value - response_type: JSON - headers: - EXTRA-HEADER: value - Authorization: - source: - openapi: openapi/openapi.yml -types: - AsyncPassthroughRetrieveResponse: - discriminated: false - union: - - root.RemoteResponse - - string - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/filestorage/auditTrail.yml b/.mock/definition/filestorage/auditTrail.yml deleted file mode 100644 index 6b4801b7..00000000 --- a/.mock/definition/filestorage/auditTrail.yml +++ /dev/null @@ -1,104 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /filestorage/v1/audit-trail - method: GET - auth: - - tokenAuth: [] - docs: Gets a list of audit trail events. - source: - openapi: openapi/openapi.yml - request: - name: AuditTrailListRequest - query-parameters: - cursor: - type: optional - docs: The pagination cursor value. - end_date: - type: optional - docs: >- - If included, will only include audit trail events that occurred - before this time - event_type: - type: optional - docs: >- - If included, will only include events with the given event type. - Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, - `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, - `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, - `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, - `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, - `DELETED_LINKED_ACCOUNT`, - `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, - `CREATED_DESTINATION`, `DELETED_DESTINATION`, - `CHANGED_DESTINATION`, `CHANGED_SCOPES`, - `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, - `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, - `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, - `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, - `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, - `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, - `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, - `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, - `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, - `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, - `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, - `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, - `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, - `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, - `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, - `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, - `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, - `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, - `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, - `END_USER_CREDENTIALS_ACCESSED` - page_size: - type: optional - docs: Number of results to return per page. - start_date: - type: optional - docs: >- - If included, will only include audit trail events that occurred - after this time - user_email: - type: optional - docs: >- - If provided, this will return events associated with the specified - user email. Please note that the email address reflects the user's - email at the time of the event, and may not be their current - email. - response: - docs: '' - type: root.PaginatedAuditLogEventList - status-code: 200 - examples: - - query-parameters: - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - end_date: end_date - event_type: event_type - page_size: 1 - start_date: start_date - user_email: user_email - headers: - X-Account-Token: '[object Object]' - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: b5ceea2a-7171-47ce-8090-165cfce5572c - user_name: Gil Feig - user_email: hello@merge.dev - role: ADMIN - ip_address: 192.0.2.123 - event_type: CREATED_REMOTE_PRODUCTION_API_KEY - event_description: >- - Organization-wide Scopes for model hris.Employee updated - from Read to Read+Write - created_at: '2024-01-15T09:30:00Z' - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/filestorage/availableActions.yml b/.mock/definition/filestorage/availableActions.yml deleted file mode 100644 index e6be99ad..00000000 --- a/.mock/definition/filestorage/availableActions.yml +++ /dev/null @@ -1,52 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - retrieve: - path: /filestorage/v1/available-actions - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of models and actions available for an account. - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: root.AvailableActions - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - integration: - name: name - abbreviated_name: abbreviated_name - categories: - - hris - image: image - square_image: square_image - color: color - slug: slug - api_endpoints_to_documentation_urls: - key: value - webhook_setup_guide_url: webhook_setup_guide_url - category_beta_status: - key: value - passthrough_available: true - available_model_operations: - - model_name: Candidate - available_operations: - - FETCH - - CREATE - required_post_parameters: - - remote_user_id - supported_fields: - - first_name - - last_name - - company - - title - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/filestorage/deleteAccount.yml b/.mock/definition/filestorage/deleteAccount.yml deleted file mode 100644 index eb9eeb78..00000000 --- a/.mock/definition/filestorage/deleteAccount.yml +++ /dev/null @@ -1,17 +0,0 @@ -service: - auth: false - base-path: '' - endpoints: - delete: - path: /filestorage/v1/delete-account - method: POST - auth: - - tokenAuth: [] - docs: Delete a linked account. - source: - openapi: openapi/openapi.yml - examples: - - headers: - X-Account-Token: X-Account-Token - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/filestorage/drives.yml b/.mock/definition/filestorage/drives.yml deleted file mode 100644 index 3c8f5209..00000000 --- a/.mock/definition/filestorage/drives.yml +++ /dev/null @@ -1,164 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /filestorage/v1/drives - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `Drive` objects. - source: - openapi: openapi/openapi.yml - request: - name: DrivesListRequest - query-parameters: - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - name: - type: optional - docs: >- - If provided, will only return drives with this name. This performs - an exact match. - page_size: - type: optional - docs: Number of results to return per page. - remote_id: - type: optional - docs: The API provider's ID for the given object. - response: - docs: '' - type: root.PaginatedDriveList - status-code: 200 - examples: - - query-parameters: - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - include_deleted_data: true - include_remote_data: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - name: name - page_size: 1 - remote_id: remote_id - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: f9e3d315-d6c2-458e-85c4-fa773d6ff4a6 - remote_id: '2039348' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: My Drive - remote_created_at: '2024-01-15T09:30:00Z' - drive_url: https://drive.com/drives/2039349 - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /drives - data: - - Varies by platform - retrieve: - path: /filestorage/v1/drives/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns a `Drive` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: DrivesRetrieveRequest - query-parameters: - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - response: - docs: '' - type: root.Drive - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - include_remote_data: true - include_shell_data: true - headers: - X-Account-Token: X-Account-Token - response: - body: - id: f9e3d315-d6c2-458e-85c4-fa773d6ff4a6 - remote_id: '2039348' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: My Drive - remote_created_at: '2024-01-15T09:30:00Z' - drive_url: https://drive.com/drives/2039349 - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /drives - data: - - Varies by platform - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/filestorage/fieldMapping.yml b/.mock/definition/filestorage/fieldMapping.yml deleted file mode 100644 index 68f88d84..00000000 --- a/.mock/definition/filestorage/fieldMapping.yml +++ /dev/null @@ -1,537 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - field_mappings_retrieve: - path: /filestorage/v1/field-mappings - method: GET - auth: - - tokenAuth: [] - docs: >- - Get all Field Mappings for this Linked Account. Field Mappings are - mappings between third-party Remote Fields and user defined Merge - fields. [Learn - more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). - source: - openapi: openapi/openapi.yml - request: - name: FieldMappingsRetrieveRequest - query-parameters: - exclude_remote_field_metadata: - type: optional - docs: >- - If `true`, remote fields metadata is excluded from each field - mapping instance (i.e. `remote_fields.remote_key_name` and - `remote_fields.schema` will be null). This will increase the speed - of the request since these fields require some calculations. - response: - docs: '' - type: root.FieldMappingApiInstanceResponse - status-code: 200 - examples: - - query-parameters: - exclude_remote_field_metadata: true - headers: - X-Account-Token: X-Account-Token - response: - body: - File: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - Folder: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - Drive: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - Group: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - User: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - field_mappings_create: - path: /filestorage/v1/field-mappings - method: POST - auth: - - tokenAuth: [] - docs: >- - Create new Field Mappings that will be available after the next - scheduled sync. This will cause the next sync for this Linked Account to - sync **ALL** data from start. - source: - openapi: openapi/openapi.yml - request: - name: CreateFieldMappingRequest - query-parameters: - exclude_remote_field_metadata: - type: optional - docs: >- - If `true`, remote fields metadata is excluded from each field - mapping instance (i.e. `remote_fields.remote_key_name` and - `remote_fields.schema` will be null). This will increase the speed - of the request since these fields require some calculations. - body: - properties: - target_field_name: - type: string - docs: >- - The name of the target field you want this remote field to map - to. - validation: - minLength: 1 - target_field_description: - type: string - docs: >- - The description of the target field you want this remote field - to map to. - validation: - minLength: 1 - remote_field_traversal_path: - docs: >- - The field traversal path of the remote field listed when you hit - the GET /remote-fields endpoint. - type: list - remote_method: - type: string - docs: >- - The method of the remote endpoint where the remote field is - coming from. - validation: - minLength: 1 - remote_url_path: - type: string - docs: >- - The path of the remote endpoint where the remote field is coming - from. - validation: - minLength: 1 - common_model_name: - type: string - docs: >- - The name of the Common Model that the remote field corresponds - to in a given category. - validation: - minLength: 1 - content-type: application/json - response: - docs: '' - type: root.FieldMappingInstanceResponse - status-code: 201 - examples: - - query-parameters: - exclude_remote_field_metadata: true - headers: - X-Account-Token: X-Account-Token - request: - target_field_name: example_target_field_name - target_field_description: this is a example description of the target field - remote_field_traversal_path: - - example_remote_field - remote_method: GET - remote_url_path: /example-url-path - common_model_name: ExampleCommonModel - response: - body: - model: - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - warnings: - - source: - pointer: pointer - title: Unrecognized Field - detail: An unrecognized field, age, was passed in with request data. - problem_type: UNRECOGNIZED_FIELD - errors: - - source: - pointer: pointer - title: Missing Required Field - detail: custom_fields is a required field on model. - problem_type: MISSING_REQUIRED_FIELD - logs: - - log_id: 99433219-8017-4acd-bb3c-ceb23d663832 - dashboard_view: >- - https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832 - log_summary: - url: www.exampleintegration.com/api/v1/exampleapi - method: POST - status_code: 200 - field_mappings_destroy: - path: /filestorage/v1/field-mappings/{field_mapping_id} - method: DELETE - auth: - - tokenAuth: [] - docs: >- - Deletes Field Mappings for a Linked Account. All data related to this - Field Mapping will be deleted and these changes will be reflected after - the next scheduled sync. This will cause the next sync for this Linked - Account to sync **ALL** data from start. - source: - openapi: openapi/openapi.yml - path-parameters: - field_mapping_id: string - response: - docs: '' - type: root.FieldMappingInstanceResponse - status-code: 204 - examples: - - path-parameters: - field_mapping_id: field_mapping_id - headers: - X-Account-Token: X-Account-Token - response: - body: - model: - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - warnings: - - source: - pointer: pointer - title: Unrecognized Field - detail: An unrecognized field, age, was passed in with request data. - problem_type: UNRECOGNIZED_FIELD - errors: - - source: - pointer: pointer - title: Missing Required Field - detail: custom_fields is a required field on model. - problem_type: MISSING_REQUIRED_FIELD - logs: - - log_id: 99433219-8017-4acd-bb3c-ceb23d663832 - dashboard_view: >- - https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832 - log_summary: - url: www.exampleintegration.com/api/v1/exampleapi - method: POST - status_code: 200 - field_mappings_partial_update: - path: /filestorage/v1/field-mappings/{field_mapping_id} - method: PATCH - auth: - - tokenAuth: [] - docs: >- - Create or update existing Field Mappings for a Linked Account. Changes - will be reflected after the next scheduled sync. This will cause the - next sync for this Linked Account to sync **ALL** data from start. - source: - openapi: openapi/openapi.yml - path-parameters: - field_mapping_id: string - request: - name: PatchedEditFieldMappingRequest - body: - properties: - remote_field_traversal_path: - type: optional> - docs: >- - The field traversal path of the remote field listed when you hit - the GET /remote-fields endpoint. - remote_method: - type: optional - docs: >- - The method of the remote endpoint where the remote field is - coming from. - validation: - minLength: 1 - remote_url_path: - type: optional - docs: >- - The path of the remote endpoint where the remote field is coming - from. - validation: - minLength: 1 - content-type: application/json - response: - docs: '' - type: root.FieldMappingInstanceResponse - status-code: 200 - examples: - - path-parameters: - field_mapping_id: field_mapping_id - headers: - X-Account-Token: X-Account-Token - request: {} - response: - body: - model: - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - warnings: - - source: - pointer: pointer - title: Unrecognized Field - detail: An unrecognized field, age, was passed in with request data. - problem_type: UNRECOGNIZED_FIELD - errors: - - source: - pointer: pointer - title: Missing Required Field - detail: custom_fields is a required field on model. - problem_type: MISSING_REQUIRED_FIELD - logs: - - log_id: 99433219-8017-4acd-bb3c-ceb23d663832 - dashboard_view: >- - https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832 - log_summary: - url: www.exampleintegration.com/api/v1/exampleapi - method: POST - status_code: 200 - remote_fields_retrieve: - path: /filestorage/v1/remote-fields - method: GET - auth: - - tokenAuth: [] - docs: >- - Get all remote fields for a Linked Account. Remote fields are - third-party fields that are accessible after initial sync if remote_data - is enabled. You can use remote fields to override existing Merge fields - or map a new Merge field. [Learn - more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). - source: - openapi: openapi/openapi.yml - request: - name: RemoteFieldsRetrieveRequest - query-parameters: - common_models: - type: optional - docs: >- - A comma seperated list of Common Model names. If included, will - only return Remote Fields for those Common Models. - include_example_values: - type: optional - docs: >- - If true, will include example values, where available, for remote - fields in the 3rd party platform. These examples come from active - data from your customers. - response: - docs: '' - type: root.RemoteFieldApiResponse - status-code: 200 - examples: - - query-parameters: - common_models: common_models - include_example_values: include_example_values - headers: - X-Account-Token: X-Account-Token - response: - body: - File: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - Folder: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - Drive: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - Group: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - User: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - target_fields_retrieve: - path: /filestorage/v1/target-fields - method: GET - auth: - - tokenAuth: [] - docs: >- - Get all organization-wide Target Fields, this will not include any - Linked Account specific Target Fields. Organization-wide Target Fields - are additional fields appended to the Merge Common Model for all Linked - Accounts in a category. [Learn - more](https://docs.merge.dev/supplemental-data/field-mappings/target-fields/). - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: root.ExternalTargetFieldApiResponse - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - File: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - Folder: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - Drive: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - Group: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - User: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/filestorage/files.yml b/.mock/definition/filestorage/files.yml deleted file mode 100644 index c8289181..00000000 --- a/.mock/definition/filestorage/files.yml +++ /dev/null @@ -1,739 +0,0 @@ -types: - FilesListRequestExpand: - enum: - - drive - - folder - - value: folder,drive - name: FolderDrive - - permissions - - value: permissions,drive - name: PermissionsDrive - - value: permissions,folder - name: PermissionsFolder - - value: permissions,folder,drive - name: PermissionsFolderDrive - source: - openapi: openapi/openapi.yml - FilesListRequestOrderBy: - enum: - - value: '-created_at' - name: CreatedAtDescending - - value: '-modified_at' - name: ModifiedAtDescending - - value: created_at - name: CreatedAtAscending - - value: modified_at - name: ModifiedAtAscending - source: - openapi: openapi/openapi.yml - FilesRetrieveRequestExpand: - enum: - - drive - - folder - - value: folder,drive - name: FolderDrive - - permissions - - value: permissions,drive - name: PermissionsDrive - - value: permissions,folder - name: PermissionsFolder - - value: permissions,folder,drive - name: PermissionsFolderDrive - source: - openapi: openapi/openapi.yml - FilesDownloadRequestMetaListRequestOrderBy: - enum: - - value: '-created_at' - name: CreatedAtDescending - - value: '-modified_at' - name: ModifiedAtDescending - - value: created_at - name: CreatedAtAscending - - value: modified_at - name: ModifiedAtAscending - source: - openapi: openapi/openapi.yml -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /filestorage/v1/files - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `File` objects. - source: - openapi: openapi/openapi.yml - request: - name: FilesListRequest - query-parameters: - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - drive_id: - type: optional - docs: >- - Specifying a drive id returns only the files in that drive. - Specifying null returns only the files outside the top-level - drive. - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - folder_id: - type: optional - docs: >- - Specifying a folder id returns only the files in that folder. - Specifying null returns only the files in root directory. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - mime_type: - type: optional - docs: >- - If provided, will only return files with these mime_types. - Multiple values can be separated by commas. - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - name: - type: optional - docs: >- - If provided, will only return files with this name. This performs - an exact match. - order_by: - type: optional - docs: >- - Overrides the default ordering for this endpoint. Possible values - include: created_at, -created_at, modified_at, -modified_at. - page_size: - type: optional - docs: Number of results to return per page. - remote_created_after: - type: optional - docs: >- - If provided, will only return files created in the third party - platform after this datetime. - remote_created_before: - type: optional - docs: >- - If provided, will only return files created in the third party - platform before this datetime. - remote_id: - type: optional - docs: The API provider's ID for the given object. - response: - docs: '' - type: root.PaginatedFileList - status-code: 200 - examples: - - query-parameters: - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - drive_id: drive_id - expand: drive - folder_id: folder_id - include_deleted_data: true - include_remote_data: true - include_shell_data: true - mime_type: mime_type - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - name: name - order_by: '-created_at' - page_size: 1 - remote_created_after: '2024-01-15T09:30:00Z' - remote_created_before: '2024-01-15T09:30:00Z' - remote_id: remote_id - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: 45ce474c-dhcj-43a6-754r-629f799f7d68 - remote_id: '12' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: merge_file_storage_launch.docx - file_url: https://drive.com/1234 - file_thumbnail_url: https://drive.com/1234/thumbnail.png - size: 254 - mime_type: >- - application/vnd.openxmlformats-officedocument.wordprocessingml.document - description: >- - Use common model scopes to redact data returned in Merge's - Common Models! - folder: folder - checksum: - type: sha256 - content_hash: >- - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 - permissions: permissions - drive: drive - remote_created_at: '2022-02-02T00:00:00Z' - remote_updated_at: '2022-02-03T00:00:00Z' - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /files - data: - - Varies by platform - create: - path: /filestorage/v1/files - method: POST - auth: - - tokenAuth: [] - docs: Creates a `File` object with the given values. - source: - openapi: openapi/openapi.yml - request: - name: FileStorageFileEndpointRequest - query-parameters: - is_debug_mode: - type: optional - docs: >- - Whether to include debug fields (such as log file links) in the - response. - run_async: - type: optional - docs: Whether or not third-party updates should be run asynchronously. - body: - properties: - model: root.FileRequest - content-type: application/json - response: - docs: '' - type: root.FileStorageFileResponse - status-code: 201 - examples: - - query-parameters: - is_debug_mode: true - run_async: true - headers: - X-Account-Token: X-Account-Token - request: - model: {} - response: - body: - model: - id: 45ce474c-dhcj-43a6-754r-629f799f7d68 - remote_id: '12' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: merge_file_storage_launch.docx - file_url: https://drive.com/1234 - file_thumbnail_url: https://drive.com/1234/thumbnail.png - size: 254 - mime_type: >- - application/vnd.openxmlformats-officedocument.wordprocessingml.document - description: >- - Use common model scopes to redact data returned in Merge's - Common Models! - folder: folder - checksum: - type: sha256 - content_hash: >- - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 - permissions: permissions - drive: drive - remote_created_at: '2022-02-02T00:00:00Z' - remote_updated_at: '2022-02-03T00:00:00Z' - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /files - data: - - Varies by platform - warnings: - - source: - pointer: pointer - title: Unrecognized Field - detail: An unrecognized field, age, was passed in with request data. - problem_type: UNRECOGNIZED_FIELD - errors: - - source: - pointer: pointer - title: Missing Required Field - detail: custom_fields is a required field on model. - problem_type: MISSING_REQUIRED_FIELD - logs: - - log_id: 99433219-8017-4acd-bb3c-ceb23d663832 - dashboard_view: >- - https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832 - log_summary: - url: www.exampleintegration.com/api/v1/exampleapi - method: POST - status_code: 200 - retrieve: - path: /filestorage/v1/files/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns a `File` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: FilesRetrieveRequest - query-parameters: - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - response: - docs: '' - type: root.File - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - expand: drive - include_remote_data: true - include_shell_data: true - headers: - X-Account-Token: X-Account-Token - response: - body: - id: 45ce474c-dhcj-43a6-754r-629f799f7d68 - remote_id: '12' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: merge_file_storage_launch.docx - file_url: https://drive.com/1234 - file_thumbnail_url: https://drive.com/1234/thumbnail.png - size: 254 - mime_type: >- - application/vnd.openxmlformats-officedocument.wordprocessingml.document - description: >- - Use common model scopes to redact data returned in Merge's - Common Models! - folder: folder - checksum: - type: sha256 - content_hash: >- - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 - permissions: permissions - drive: drive - remote_created_at: '2022-02-02T00:00:00Z' - remote_updated_at: '2022-02-03T00:00:00Z' - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /files - data: - - Varies by platform - downloadRetrieve: - path: /filestorage/v1/files/{id}/download - method: GET - auth: - - tokenAuth: [] - docs: Returns the `File` content with the given `id` as a stream of bytes. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: FilesDownloadRetrieveRequest - query-parameters: - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - mime_type: - type: optional - docs: >- - If provided, specifies the export format of the file to be - downloaded. For information on supported export formats, please - refer to our export format help center article. - response: - docs: '' - type: file - status-code: 200 - downloadRequestMetaRetrieve: - path: /filestorage/v1/files/{id}/download/request-meta - method: GET - auth: - - tokenAuth: [] - docs: >- - Returns metadata to construct an authenticated file download request for - a singular file, allowing you to download file directly from the - third-party. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: FilesDownloadRequestMetaRetrieveRequest - query-parameters: - mime_type: - type: optional - docs: >- - If provided, specifies the export format of the file to be - downloaded. For information on supported export formats, please - refer to our export format help center article. - response: - docs: '' - type: root.DownloadRequestMeta - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - mime_type: mime_type - headers: - X-Account-Token: X-Account-Token - response: - body: - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - url: https://www.googleapis.com/drive/v3/files/234?alt=media - method: GET - headers: - Authorization: Bearer 1234 - downloadRequestMetaList: - path: /filestorage/v1/files/download/request-meta - method: GET - auth: - - tokenAuth: [] - docs: >- - Returns metadata to construct authenticated file download requests, - allowing you to download files directly from the third-party. - source: - openapi: openapi/openapi.yml - request: - name: FilesDownloadRequestMetaListRequest - query-parameters: - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - ids: - type: optional - allow-multiple: true - docs: >- - If provided, will only return objects with the given IDs. - Comma-separated list of strings. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - mime_types: - type: optional - docs: >- - A comma-separated list of preferred MIME types in order of - priority. If supported by the third-party provider, the file(s) - will be returned in the first supported MIME type from the list. - The default MIME type is PDF. To see supported MIME types by file - type, refer to our export format help center article. - modified_after: - type: optional - docs: >- - If provided, will only return objects modified after this - datetime. - modified_before: - type: optional - docs: >- - If provided, will only return objects modified before this - datetime. - order_by: - type: optional - docs: >- - Overrides the default ordering for this endpoint. Possible values - include: created_at, -created_at, modified_at, -modified_at. - page_size: - type: optional - docs: Number of results to return per page. - response: - docs: '' - type: root.PaginatedDownloadRequestMetaList - status-code: 200 - examples: - - query-parameters: - created_after: created_after - created_before: created_before - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - include_deleted_data: true - mime_types: mime_types - modified_after: modified_after - modified_before: modified_before - order_by: '-created_at' - page_size: 1 - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - url: https://www.googleapis.com/drive/v3/files/234?alt=media - method: GET - headers: - Authorization: Bearer 1234 - metaPostRetrieve: - path: /filestorage/v1/files/meta/post - method: GET - auth: - - tokenAuth: [] - docs: Returns metadata for `FileStorageFile` POSTs. - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: root.MetaResponse - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - request_schema: - type: object - properties: - model: - type: object - required: - - last_name - - first_name - - merge_categories - - new_york_city_neighborhood - - favorite_tv_shows - - favorite_watch - properties: - email_addresses: - type: array - items: - type: object - properties: - value: - type: string - title: value - email_address_type: - type: string - title: email_address_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: email_addresses - description: Array of email_addresses objects - urls: - type: array - items: - type: object - properties: - value: - type: string - title: value - url_type: - type: string - title: url_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: urls - description: Array of urls objects - first_name: - type: string - title: first_name - description: The first name. - last_name: - type: string - title: last_name - description: The last name. - phone_numbers: - type: array - items: - type: object - properties: - value: - type: string - title: value - phone_number_type: - type: string - title: phone_number_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: phone_numbers - description: Array of phone_numbers objects - tags: - type: array - items: - type: string - format: uuid - title: tags - description: Array of tags names - attachments: - type: array - items: - type: object - properties: - id: - type: string - title: id - file_url: - type: string - title: file_url - file_name: - type: string - title: file_name - attachment_type: - type: string - title: attachment_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: attachments - description: 'Array of attachments objects ' - merge_categories: - type: array - categories: - type: string - enum: - - HRIS - - ATS - - Accounting - - Ticketing - - File Storage - - CRM - - Marketing Automation - enum_information: - - value: HRIS - description: Merge HRIS Category - - value: ATS - description: Merge ATS Category - - value: Accounting - description: Merge Accounting Category - - value: Ticketing - description: Merge Ticketing Category - - value: File Storage - description: Merge File Storage Category - - value: CRM - description: Merge CRM Category - - value: Marketing Automation - description: Merge Marketing Automation Category - title: Merge Categories - description: Array of Merge's Unified API Categories - new_york_city_neighborhood: - type: string - title: Borough - description: One of the 5 Boroughs of New York City - favorite_tv_shows: - type: array - items: - type: string - format: uuid - title: Favorite TV Shows - description: Array of TV Show objects on merge.tv_shows - favorite_watch: - type: string - title: Favorite Watch - description: Favorite watch of all time - remote_field_classes: - key: value - status: - linked_account_status: linked_account_status - can_make_request: true - has_conditional_params: true - has_required_linked_account_params: true - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/filestorage/folders.yml b/.mock/definition/filestorage/folders.yml deleted file mode 100644 index 6fadb73f..00000000 --- a/.mock/definition/filestorage/folders.yml +++ /dev/null @@ -1,496 +0,0 @@ -types: - FoldersListRequestExpand: - enum: - - drive - - parent_folder - - value: parent_folder,drive - name: ParentFolderDrive - - permissions - - value: permissions,drive - name: PermissionsDrive - - value: permissions,parent_folder - name: PermissionsParentFolder - - value: permissions,parent_folder,drive - name: PermissionsParentFolderDrive - source: - openapi: openapi/openapi.yml - FoldersRetrieveRequestExpand: - enum: - - drive - - parent_folder - - value: parent_folder,drive - name: ParentFolderDrive - - permissions - - value: permissions,drive - name: PermissionsDrive - - value: permissions,parent_folder - name: PermissionsParentFolder - - value: permissions,parent_folder,drive - name: PermissionsParentFolderDrive - source: - openapi: openapi/openapi.yml -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /filestorage/v1/folders - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `Folder` objects. - source: - openapi: openapi/openapi.yml - request: - name: FoldersListRequest - query-parameters: - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - drive_id: - type: optional - docs: If provided, will only return folders in this drive. - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - name: - type: optional - docs: >- - If provided, will only return folders with this name. This - performs an exact match. - page_size: - type: optional - docs: Number of results to return per page. - parent_folder_id: - type: optional - docs: >- - If provided, will only return folders in this parent folder. If - null, will return folders in root directory. - remote_id: - type: optional - docs: The API provider's ID for the given object. - response: - docs: '' - type: root.PaginatedFolderList - status-code: 200 - examples: - - query-parameters: - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - drive_id: drive_id - expand: drive - include_deleted_data: true - include_remote_data: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - name: name - page_size: 1 - parent_folder_id: parent_folder_id - remote_id: remote_id - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: e021f7a7-74fc-4487-8e12-14180c92d3b7 - remote_id: '14' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: R&D - folder_url: https://drive.com/1234 - size: 2738000 - description: All things R&D related at Merge! - parent_folder: parent_folder - drive: drive - permissions: permissions - remote_created_at: '2024-02-02T00:00:00Z' - remote_updated_at: '2024-06-10T00:00:00Z' - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /folders - data: - - Varies by platform - create: - path: /filestorage/v1/folders - method: POST - auth: - - tokenAuth: [] - docs: Creates a `Folder` object with the given values. - source: - openapi: openapi/openapi.yml - request: - name: FileStorageFolderEndpointRequest - query-parameters: - is_debug_mode: - type: optional - docs: >- - Whether to include debug fields (such as log file links) in the - response. - run_async: - type: optional - docs: Whether or not third-party updates should be run asynchronously. - body: - properties: - model: root.FolderRequest - content-type: application/json - response: - docs: '' - type: root.FileStorageFolderResponse - status-code: 201 - examples: - - query-parameters: - is_debug_mode: true - run_async: true - headers: - X-Account-Token: X-Account-Token - request: - model: {} - response: - body: - model: - id: e021f7a7-74fc-4487-8e12-14180c92d3b7 - remote_id: '14' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: R&D - folder_url: https://drive.com/1234 - size: 2738000 - description: All things R&D related at Merge! - parent_folder: parent_folder - drive: drive - permissions: permissions - remote_created_at: '2024-02-02T00:00:00Z' - remote_updated_at: '2024-06-10T00:00:00Z' - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /folders - data: - - Varies by platform - warnings: - - source: - pointer: pointer - title: Unrecognized Field - detail: An unrecognized field, age, was passed in with request data. - problem_type: UNRECOGNIZED_FIELD - errors: - - source: - pointer: pointer - title: Missing Required Field - detail: custom_fields is a required field on model. - problem_type: MISSING_REQUIRED_FIELD - logs: - - log_id: 99433219-8017-4acd-bb3c-ceb23d663832 - dashboard_view: >- - https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832 - log_summary: - url: www.exampleintegration.com/api/v1/exampleapi - method: POST - status_code: 200 - retrieve: - path: /filestorage/v1/folders/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns a `Folder` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: FoldersRetrieveRequest - query-parameters: - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - response: - docs: '' - type: root.Folder - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - expand: drive - include_remote_data: true - include_shell_data: true - headers: - X-Account-Token: X-Account-Token - response: - body: - id: e021f7a7-74fc-4487-8e12-14180c92d3b7 - remote_id: '14' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: R&D - folder_url: https://drive.com/1234 - size: 2738000 - description: All things R&D related at Merge! - parent_folder: parent_folder - drive: drive - permissions: permissions - remote_created_at: '2024-02-02T00:00:00Z' - remote_updated_at: '2024-06-10T00:00:00Z' - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /folders - data: - - Varies by platform - metaPostRetrieve: - path: /filestorage/v1/folders/meta/post - method: GET - auth: - - tokenAuth: [] - docs: Returns metadata for `FileStorageFolder` POSTs. - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: root.MetaResponse - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - request_schema: - type: object - properties: - model: - type: object - required: - - last_name - - first_name - - merge_categories - - new_york_city_neighborhood - - favorite_tv_shows - - favorite_watch - properties: - email_addresses: - type: array - items: - type: object - properties: - value: - type: string - title: value - email_address_type: - type: string - title: email_address_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: email_addresses - description: Array of email_addresses objects - urls: - type: array - items: - type: object - properties: - value: - type: string - title: value - url_type: - type: string - title: url_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: urls - description: Array of urls objects - first_name: - type: string - title: first_name - description: The first name. - last_name: - type: string - title: last_name - description: The last name. - phone_numbers: - type: array - items: - type: object - properties: - value: - type: string - title: value - phone_number_type: - type: string - title: phone_number_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: phone_numbers - description: Array of phone_numbers objects - tags: - type: array - items: - type: string - format: uuid - title: tags - description: Array of tags names - attachments: - type: array - items: - type: object - properties: - id: - type: string - title: id - file_url: - type: string - title: file_url - file_name: - type: string - title: file_name - attachment_type: - type: string - title: attachment_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: attachments - description: 'Array of attachments objects ' - merge_categories: - type: array - categories: - type: string - enum: - - HRIS - - ATS - - Accounting - - Ticketing - - File Storage - - CRM - - Marketing Automation - enum_information: - - value: HRIS - description: Merge HRIS Category - - value: ATS - description: Merge ATS Category - - value: Accounting - description: Merge Accounting Category - - value: Ticketing - description: Merge Ticketing Category - - value: File Storage - description: Merge File Storage Category - - value: CRM - description: Merge CRM Category - - value: Marketing Automation - description: Merge Marketing Automation Category - title: Merge Categories - description: Array of Merge's Unified API Categories - new_york_city_neighborhood: - type: string - title: Borough - description: One of the 5 Boroughs of New York City - favorite_tv_shows: - type: array - items: - type: string - format: uuid - title: Favorite TV Shows - description: Array of TV Show objects on merge.tv_shows - favorite_watch: - type: string - title: Favorite Watch - description: Favorite watch of all time - remote_field_classes: - key: value - status: - linked_account_status: linked_account_status - can_make_request: true - has_conditional_params: true - has_required_linked_account_params: true - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/filestorage/forceResync.yml b/.mock/definition/filestorage/forceResync.yml deleted file mode 100644 index 6a46c7b9..00000000 --- a/.mock/definition/filestorage/forceResync.yml +++ /dev/null @@ -1,39 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - sync_status_resync_create: - path: /filestorage/v1/sync-status/resync - method: POST - auth: - - tokenAuth: [] - docs: >- - Force re-sync of all models. This endpoint is available for monthly, - quarterly, and highest sync frequency customers on the Professional or - Enterprise plans. Doing so will consume a sync credit for the relevant - linked account. Force re-syncs can also be triggered manually in the - Merge Dashboard and is available for all customers. - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: list - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - - model_name: File - model_id: filestorage.FileStorageFile - last_sync_start: '2021-03-30T19:44:18Z' - next_sync_start: '2021-03-30T20:44:18Z' - last_sync_result: SYNCING - last_sync_finished: '2021-03-30T19:55:18Z' - status: SYNCING - is_initial_sync: true - selective_sync_configurations_usage: IN_NEXT_SYNC - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/filestorage/generateKey.yml b/.mock/definition/filestorage/generateKey.yml deleted file mode 100644 index c2a08d9b..00000000 --- a/.mock/definition/filestorage/generateKey.yml +++ /dev/null @@ -1,39 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - create: - path: /filestorage/v1/generate-key - method: POST - auth: - - tokenAuth: [] - docs: Create a remote key. - source: - openapi: openapi/openapi.yml - request: - name: GenerateRemoteKeyRequest - body: - properties: - name: - type: string - docs: The name of the remote key - validation: - minLength: 1 - content-type: application/json - response: - docs: '' - type: root.RemoteKey - status-code: 200 - examples: - - headers: - X-Account-Token: '[object Object]' - request: - name: Remote Deployment Key 1 - response: - body: - name: Remote Deployment Key 1 - key: hXY57W0g0WkdRHjCaPvwijK63fwfN-o_Wh7f30SLTq_uPCOLo-WFcA - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/filestorage/groups.yml b/.mock/definition/filestorage/groups.yml deleted file mode 100644 index e50af5bb..00000000 --- a/.mock/definition/filestorage/groups.yml +++ /dev/null @@ -1,174 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /filestorage/v1/groups - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `Group` objects. - source: - openapi: openapi/openapi.yml - request: - name: GroupsListRequest - query-parameters: - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - expand: - type: optional> - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - page_size: - type: optional - docs: Number of results to return per page. - remote_id: - type: optional - docs: The API provider's ID for the given object. - response: - docs: '' - type: root.PaginatedGroupList - status-code: 200 - examples: - - query-parameters: - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - expand: child_groups - include_deleted_data: true - include_remote_data: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - page_size: 1 - remote_id: remote_id - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: 5624aceb-0ea2-4864-ba08-354ac56b9884 - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Administrators - users: - - 6e93361b-8ae7-444b-bfa2-71206cbbee24 - child_groups: - - a1f90b3c-633d-404e-a696-05cd54808676 - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /groups - data: - - Varies by platform - retrieve: - path: /filestorage/v1/groups/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns a `Group` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: GroupsRetrieveRequest - query-parameters: - expand: - type: optional> - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - response: - docs: '' - type: root.Group - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - expand: child_groups - include_remote_data: true - include_shell_data: true - headers: - X-Account-Token: X-Account-Token - response: - body: - id: 5624aceb-0ea2-4864-ba08-354ac56b9884 - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Administrators - users: - - 6e93361b-8ae7-444b-bfa2-71206cbbee24 - child_groups: - - a1f90b3c-633d-404e-a696-05cd54808676 - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /groups - data: - - Varies by platform - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/filestorage/issues.yml b/.mock/definition/filestorage/issues.yml deleted file mode 100644 index 1c1129eb..00000000 --- a/.mock/definition/filestorage/issues.yml +++ /dev/null @@ -1,150 +0,0 @@ -types: - IssuesListRequestStatus: - enum: - - ONGOING - - RESOLVED - source: - openapi: openapi/openapi.yml -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /filestorage/v1/issues - method: GET - auth: - - tokenAuth: [] - docs: Gets all issues for Organization. - source: - openapi: openapi/openapi.yml - request: - name: IssuesListRequest - query-parameters: - account_token: optional - cursor: - type: optional - docs: The pagination cursor value. - end_date: - type: optional - docs: >- - If included, will only include issues whose most recent action - occurred before this time - end_user_organization_name: optional - first_incident_time_after: - type: optional - docs: >- - If provided, will only return issues whose first incident time was - after this datetime. - first_incident_time_before: - type: optional - docs: >- - If provided, will only return issues whose first incident time was - before this datetime. - include_muted: - type: optional - docs: If true, will include muted issues - integration_name: optional - last_incident_time_after: - type: optional - docs: >- - If provided, will only return issues whose last incident time was - after this datetime. - last_incident_time_before: - type: optional - docs: >- - If provided, will only return issues whose last incident time was - before this datetime. - linked_account_id: - type: optional - docs: >- - If provided, will only include issues pertaining to the linked - account passed in. - page_size: - type: optional - docs: Number of results to return per page. - start_date: - type: optional - docs: >- - If included, will only include issues whose most recent action - occurred after this time - status: - type: optional - docs: |- - Status of the issue. Options: ('ONGOING', 'RESOLVED') - - * `ONGOING` - ONGOING - * `RESOLVED` - RESOLVED - response: - docs: '' - type: root.PaginatedIssueList - status-code: 200 - examples: - - query-parameters: - account_token: account_token - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - end_date: end_date - end_user_organization_name: end_user_organization_name - first_incident_time_after: '2024-01-15T09:30:00Z' - first_incident_time_before: '2024-01-15T09:30:00Z' - include_muted: include_muted - integration_name: integration_name - last_incident_time_after: '2024-01-15T09:30:00Z' - last_incident_time_before: '2024-01-15T09:30:00Z' - linked_account_id: linked_account_id - page_size: 1 - start_date: start_date - status: ONGOING - headers: - X-Account-Token: '[object Object]' - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - status: ONGOING - error_description: Missing Permissions - end_user: - key: value - first_incident_time: '2022-12-05T16:19:15Z' - last_incident_time: '2022-12-05T16:19:15Z' - is_muted: true - error_details: - - Missing employee permissions. - - Missing time off permissions. - retrieve: - path: /filestorage/v1/issues/{id} - method: GET - auth: - - tokenAuth: [] - docs: Get a specific issue. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - response: - docs: '' - type: root.Issue - status-code: 200 - examples: - - path-parameters: - id: id - headers: - X-Account-Token: '[object Object]' - response: - body: - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - status: ONGOING - error_description: Missing Permissions - end_user: - key: value - first_incident_time: '2022-12-05T16:19:15Z' - last_incident_time: '2022-12-05T16:19:15Z' - is_muted: true - error_details: - - Missing employee permissions. - - Missing time off permissions. - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/filestorage/linkToken.yml b/.mock/definition/filestorage/linkToken.yml deleted file mode 100644 index 545dde39..00000000 --- a/.mock/definition/filestorage/linkToken.yml +++ /dev/null @@ -1,138 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - create: - path: /filestorage/v1/link-token - method: POST - auth: - - tokenAuth: [] - docs: Creates a link token to be used when linking a new end user. - source: - openapi: openapi/openapi.yml - request: - name: EndUserDetailsRequest - body: - properties: - end_user_email_address: - type: string - docs: >- - Your end user's email address. This is purely for identification - purposes - setting this value will not cause any emails to be - sent. - validation: - minLength: 1 - maxLength: 100 - end_user_organization_name: - type: string - docs: Your end user's organization. - validation: - minLength: 1 - maxLength: 100 - end_user_origin_id: - type: string - docs: >- - This unique identifier typically represents the ID for your end - user in your product's database. This value must be distinct - from other Linked Accounts' unique identifiers. - validation: - minLength: 1 - maxLength: 100 - categories: - docs: The integration categories to show in Merge Link. - type: list - integration: - type: optional - docs: >- - The slug of a specific pre-selected integration for this linking - flow token. For examples of slugs, see - https://docs.merge.dev/guides/merge-link/single-integration/. - validation: - minLength: 1 - link_expiry_mins: - type: optional - docs: >- - An integer number of minutes between [30, 720 or 10080 if for a - Magic Link URL] for how long this token is valid. Defaults to - 30. - default: 30 - validation: - min: 30 - max: 10080 - should_create_magic_link_url: - type: optional - docs: >- - Whether to generate a Magic Link URL. Defaults to false. For - more information on Magic Link, see - https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. - default: false - hide_admin_magic_link: - type: optional - docs: >- - Whether to generate a Magic Link URL on the Admin Needed screen - during the linking flow. Defaults to false. For more information - on Magic Link, see - https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. - default: false - common_models: - type: optional> - docs: >- - An array of objects to specify the models and fields that will - be disabled for a given Linked Account. Each object uses - model_id, enabled_actions, and disabled_fields to specify the - model, method, and fields that are scoped for a given Linked - Account. - category_common_model_scopes: - type: >- - optional>>> - docs: >- - When creating a Link Token, you can set permissions for Common - Models that will apply to the account that is going to be - linked. Any model or field not specified in link token payload - will default to existing settings. - language: - type: optional - docs: >- - The following subset of IETF language tags can be used to - configure localization. - - - * `en` - en - - * `de` - de - are_syncs_disabled: - type: optional - docs: >- - The boolean that indicates whether initial, periodic, and force - syncs will be disabled. - default: false - integration_specific_config: - type: optional> - docs: >- - A JSON object containing integration-specific configuration - options. - content-type: application/json - response: - docs: '' - type: root.LinkToken - status-code: 200 - examples: - - headers: - X-Account-Token: '[object Object]' - request: - end_user_email_address: example@gmail.com - end_user_organization_name: Test Organization - end_user_origin_id: '12345' - categories: - - hris - - ats - response: - body: - link_token: necdP7FtdASl1fQwm62be2_dM4wBG8_GactqoUV0 - integration_name: Lever - magic_link_url: https://link.merge.dev/asdfjkl12345jsndfgi2i83n - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/filestorage/linkedAccounts.yml b/.mock/definition/filestorage/linkedAccounts.yml deleted file mode 100644 index a8c4c6ee..00000000 --- a/.mock/definition/filestorage/linkedAccounts.yml +++ /dev/null @@ -1,167 +0,0 @@ -types: - LinkedAccountsListRequestCategory: - enum: - - accounting - - ats - - crm - - filestorage - - hris - - mktg - - ticketing - source: - openapi: openapi/openapi.yml -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /filestorage/v1/linked-accounts - method: GET - auth: - - tokenAuth: [] - docs: List linked accounts for your organization. - source: - openapi: openapi/openapi.yml - request: - name: LinkedAccountsListRequest - query-parameters: - category: - type: optional - docs: >- - Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, - `mktg`, `ticketing` - - - * `hris` - hris - - * `ats` - ats - - * `accounting` - accounting - - * `ticketing` - ticketing - - * `crm` - crm - - * `mktg` - mktg - - * `filestorage` - filestorage - cursor: - type: optional - docs: The pagination cursor value. - end_user_email_address: - type: optional - docs: >- - If provided, will only return linked accounts associated with the - given email address. - end_user_organization_name: - type: optional - docs: >- - If provided, will only return linked accounts associated with the - given organization name. - end_user_origin_id: - type: optional - docs: >- - If provided, will only return linked accounts associated with the - given origin ID. - end_user_origin_ids: - type: optional - docs: >- - Comma-separated list of EndUser origin IDs, making it possible to - specify multiple EndUsers at once. - id: - type: optional - validation: - format: uuid - ids: - type: optional - docs: >- - Comma-separated list of LinkedAccount IDs, making it possible to - specify multiple LinkedAccounts at once. - include_duplicates: - type: optional - docs: >- - If `true`, will include complete production duplicates of the - account specified by the `id` query parameter in the response. - `id` must be for a complete production linked account. - integration_name: - type: optional - docs: >- - If provided, will only return linked accounts associated with the - given integration name. - is_test_account: - type: optional - docs: >- - If included, will only include test linked accounts. If not - included, will only include non-test linked accounts. - page_size: - type: optional - docs: Number of results to return per page. - status: - type: optional - docs: >- - Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, - `RELINK_NEEDED` - response: - docs: '' - type: root.PaginatedAccountDetailsAndActionsList - status-code: 200 - examples: - - query-parameters: - category: accounting - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - end_user_email_address: end_user_email_address - end_user_organization_name: end_user_organization_name - end_user_origin_id: end_user_origin_id - end_user_origin_ids: end_user_origin_ids - id: id - ids: ids - include_duplicates: true - integration_name: integration_name - is_test_account: is_test_account - page_size: 1 - status: status - headers: - X-Account-Token: '[object Object]' - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: e59b1821-f85c-4e28-a6b3-1804156f3563 - category: hris - status: COMPLETE - status_detail: Invalid login credentials - end_user_origin_id: 3ac95cde-6c7f-4eef-afec-be710b42308d - end_user_organization_name: Foo Bar, LLC - end_user_email_address: hradmin@foobar.dev - subdomain: foobar - webhook_listener_url: >- - https://api.merge.dev/api/integrations/webhook-listener/7fc3mee0UW8ecV4 - is_duplicate: true - integration: - name: name - categories: - - hris - color: color - slug: slug - passthrough_available: true - available_model_operations: - - model_name: Candidate - available_operations: - - FETCH - - CREATE - required_post_parameters: - - remote_user_id - supported_fields: - - first_name - - last_name - - company - - title - account_type: PRODUCTION - completed_at: '2024-08-26T20:11:19Z' - integration_specific_fields: - integration_specific_field: Varies by platform - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/filestorage/passthrough.yml b/.mock/definition/filestorage/passthrough.yml deleted file mode 100644 index 664c7c6b..00000000 --- a/.mock/definition/filestorage/passthrough.yml +++ /dev/null @@ -1,46 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - create: - path: /filestorage/v1/passthrough - method: POST - auth: - - tokenAuth: [] - docs: Pull data from an endpoint not currently supported by Merge. - source: - openapi: openapi/openapi.yml - request: - body: root.DataPassthroughRequest - content-type: application/json - response: - docs: '' - type: root.RemoteResponse - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - request: - method: GET - path: /scooters - response: - body: - method: GET - path: /scooters - status: 200 - response: - scooters: - - company: Lime - model: Gen 2.5 - - company: Bird - model: Bird Zero - response_headers: - X-Page-Token: value - response_type: JSON - headers: - EXTRA-HEADER: value - Authorization: - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/filestorage/regenerateKey.yml b/.mock/definition/filestorage/regenerateKey.yml deleted file mode 100644 index ea98ac99..00000000 --- a/.mock/definition/filestorage/regenerateKey.yml +++ /dev/null @@ -1,39 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - create: - path: /filestorage/v1/regenerate-key - method: POST - auth: - - tokenAuth: [] - docs: Exchange remote keys. - source: - openapi: openapi/openapi.yml - request: - name: RemoteKeyForRegenerationRequest - body: - properties: - name: - type: string - docs: The name of the remote key - validation: - minLength: 1 - content-type: application/json - response: - docs: '' - type: root.RemoteKey - status-code: 200 - examples: - - headers: - X-Account-Token: '[object Object]' - request: - name: Remote Deployment Key 1 - response: - body: - name: Remote Deployment Key 1 - key: hXY57W0g0WkdRHjCaPvwijK63fwfN-o_Wh7f30SLTq_uPCOLo-WFcA - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/filestorage/scopes.yml b/.mock/definition/filestorage/scopes.yml deleted file mode 100644 index 3c5b4483..00000000 --- a/.mock/definition/filestorage/scopes.yml +++ /dev/null @@ -1,167 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - default_scopes_retrieve: - path: /filestorage/v1/default-scopes - method: GET - auth: - - tokenAuth: [] - docs: >- - Get the default permissions for Merge Common Models and fields across - all Linked Accounts of a given category. [Learn - more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: root.CommonModelScopeApi - status-code: 200 - examples: - - headers: - X-Account-Token: '[object Object]' - response: - body: - common_models: - - model_name: Employee - model_permissions: - READ: - is_enabled: true - WRITE: - is_enabled: false - field_permissions: - enabled_fields: - - avatar - - created_at - - custom_fields - - date_of_birth - - first_name - - gender - - remote_created_at - - remote_data - disabled_fields: - - company - - employments - - groups - - home_location - - manager - - work_location - linked_account_scopes_retrieve: - path: /filestorage/v1/linked-account-scopes - method: GET - auth: - - tokenAuth: [] - docs: >- - Get all available permissions for Merge Common Models and fields for a - single Linked Account. [Learn - more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: root.CommonModelScopeApi - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - common_models: - - model_name: Employee - model_permissions: - READ: - is_enabled: true - WRITE: - is_enabled: false - field_permissions: - enabled_fields: - - avatar - - created_at - - custom_fields - - date_of_birth - - first_name - - gender - - remote_created_at - - remote_data - disabled_fields: - - company - - employments - - groups - - home_location - - manager - - work_location - linked_account_scopes_create: - path: /filestorage/v1/linked-account-scopes - method: POST - auth: - - tokenAuth: [] - docs: >- - Update permissions for any Common Model or field for a single Linked - Account. Any Scopes not set in this POST request will inherit the - default Scopes. [Learn - more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes) - source: - openapi: openapi/openapi.yml - request: - name: LinkedAccountCommonModelScopeDeserializerRequest - body: - properties: - common_models: - docs: The common models you want to update the scopes for - type: list - content-type: application/json - response: - docs: '' - type: root.CommonModelScopeApi - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - request: - common_models: - - model_name: Employee - model_permissions: - READ: - is_enabled: true - WRITE: - is_enabled: false - field_permissions: - enabled_fields: - - avatar - - home_location - disabled_fields: - - work_location - - model_name: Benefit - model_permissions: - WRITE: - is_enabled: false - response: - body: - common_models: - - model_name: Employee - model_permissions: - READ: - is_enabled: true - WRITE: - is_enabled: false - field_permissions: - enabled_fields: - - avatar - - created_at - - custom_fields - - date_of_birth - - first_name - - gender - - remote_created_at - - remote_data - disabled_fields: - - company - - employments - - groups - - home_location - - manager - - work_location - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/filestorage/syncStatus.yml b/.mock/definition/filestorage/syncStatus.yml deleted file mode 100644 index 636862fc..00000000 --- a/.mock/definition/filestorage/syncStatus.yml +++ /dev/null @@ -1,60 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /filestorage/v1/sync-status - method: GET - auth: - - tokenAuth: [] - docs: >- - Get sync status for the current sync and the most recently finished - sync. `last_sync_start` represents the most recent time any sync began. - `last_sync_finished` represents the most recent time any sync completed. - These timestamps may correspond to different sync instances which may - result in a sync start time being later than a separate sync completed - time. To ensure you are retrieving the latest available data reference - the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. - Possible values for `status` and `last_sync_result` are `DISABLED`, - `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more - about sync status in our [Help - Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). - source: - openapi: openapi/openapi.yml - request: - name: SyncStatusListRequest - query-parameters: - cursor: - type: optional - docs: The pagination cursor value. - page_size: - type: optional - docs: Number of results to return per page. - response: - docs: '' - type: root.PaginatedSyncStatusList - status-code: 200 - examples: - - query-parameters: - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - page_size: 1 - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - model_name: File - model_id: filestorage.FileStorageFile - last_sync_start: '2021-03-30T19:44:18Z' - next_sync_start: '2021-03-30T20:44:18Z' - last_sync_result: SYNCING - last_sync_finished: '2021-03-30T19:55:18Z' - status: SYNCING - is_initial_sync: true - selective_sync_configurations_usage: IN_NEXT_SYNC - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/filestorage/users.yml b/.mock/definition/filestorage/users.yml deleted file mode 100644 index 907ac0c2..00000000 --- a/.mock/definition/filestorage/users.yml +++ /dev/null @@ -1,162 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /filestorage/v1/users - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `User` objects. - source: - openapi: openapi/openapi.yml - request: - name: UsersListRequest - query-parameters: - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - is_me: - type: optional - docs: If provided, will only return the user object for requestor. - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - page_size: - type: optional - docs: Number of results to return per page. - remote_id: - type: optional - docs: The API provider's ID for the given object. - response: - docs: '' - type: root.PaginatedUserList - status-code: 200 - examples: - - query-parameters: - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - include_deleted_data: true - include_remote_data: true - include_shell_data: true - is_me: is_me - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - page_size: 1 - remote_id: remote_id - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: 83902e75-4362-4803-b76c-a7d6be292cbd - remote_id: '2039349' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Gil Feig - email_address: hello@merge.dev - is_me: true - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /users - data: - - Varies by platform - retrieve: - path: /filestorage/v1/users/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns a `User` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: UsersRetrieveRequest - query-parameters: - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - response: - docs: '' - type: root.User - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - include_remote_data: true - include_shell_data: true - headers: - X-Account-Token: X-Account-Token - response: - body: - id: 83902e75-4362-4803-b76c-a7d6be292cbd - remote_id: '2039349' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Gil Feig - email_address: hello@merge.dev - is_me: true - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /users - data: - - Varies by platform - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/filestorage/webhookReceivers.yml b/.mock/definition/filestorage/webhookReceivers.yml deleted file mode 100644 index 3173552d..00000000 --- a/.mock/definition/filestorage/webhookReceivers.yml +++ /dev/null @@ -1,65 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /filestorage/v1/webhook-receivers - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `WebhookReceiver` objects. - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: list - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - - event: event - is_active: true - key: key - create: - path: /filestorage/v1/webhook-receivers - method: POST - auth: - - tokenAuth: [] - docs: Creates a `WebhookReceiver` object with the given values. - source: - openapi: openapi/openapi.yml - request: - name: WebhookReceiverRequest - body: - properties: - event: - type: string - validation: - minLength: 1 - is_active: boolean - key: - type: optional - validation: - minLength: 1 - content-type: application/json - response: - docs: '' - type: root.WebhookReceiver - status-code: 201 - examples: - - headers: - X-Account-Token: X-Account-Token - request: - event: event - is_active: true - response: - body: - event: event - is_active: true - key: key - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/hris/__package__.yml b/.mock/definition/hris/__package__.yml deleted file mode 100644 index 20f040eb..00000000 --- a/.mock/definition/hris/__package__.yml +++ /dev/null @@ -1,7708 +0,0 @@ -types: - AccountDetailsCategory: - discriminated: false - union: - - CategoryEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - AccountDetails: - properties: - id: - type: optional - validation: - format: uuid - access: read-only - integration: - type: optional - access: read-only - integration_slug: - type: optional - access: read-only - category: optional - end_user_origin_id: - type: optional - access: read-only - end_user_organization_name: - type: optional - access: read-only - end_user_email_address: - type: optional - validation: - format: email - access: read-only - status: - type: optional - access: read-only - webhook_listener_url: - type: optional - validation: - format: uri - access: read-only - is_duplicate: - type: optional - docs: >- - Whether a Production Linked Account's credentials match another - existing Production Linked Account. This field is `null` for Test - Linked Accounts, incomplete Production Linked Accounts, and ignored - duplicate Production Linked Account sets. - access: read-only - account_type: - type: optional - access: read-only - completed_at: - type: optional - docs: The time at which account completes the linking flow. - source: - openapi: openapi/openapi.yml - AccountDetailsAndActionsCategory: - discriminated: false - union: - - CategoryEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - AccountDetailsAndActionsStatus: - discriminated: false - union: - - AccountDetailsAndActionsStatusEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - AccountDetailsAndActions: - docs: >- - # The LinkedAccount Object - - ### Description - - The `LinkedAccount` object is used to represent an end user's link with a - specific integration. - - - ### Usage Example - - View a list of your organization's `LinkedAccount` objects. - properties: - id: string - category: optional - status: AccountDetailsAndActionsStatus - status_detail: optional - end_user_origin_id: optional - end_user_organization_name: string - end_user_email_address: string - subdomain: - type: optional - docs: The tenant or domain the customer has provided access to. - webhook_listener_url: string - is_duplicate: - type: optional - docs: >- - Whether a Production Linked Account's credentials match another - existing Production Linked Account. This field is `null` for Test - Linked Accounts, incomplete Production Linked Accounts, and ignored - duplicate Production Linked Account sets. - integration: optional - account_type: string - completed_at: datetime - integration_specific_fields: optional> - source: - openapi: openapi/openapi.yml - AccountDetailsAndActionsIntegration: - properties: - name: string - categories: list - image: optional - square_image: optional - color: string - slug: string - passthrough_available: boolean - available_model_operations: optional> - source: - openapi: openapi/openapi.yml - AccountDetailsAndActionsStatusEnum: - enum: - - COMPLETE - - INCOMPLETE - - RELINK_NEEDED - - IDLE - docs: |- - * `COMPLETE` - COMPLETE - * `INCOMPLETE` - INCOMPLETE - * `RELINK_NEEDED` - RELINK_NEEDED - * `IDLE` - IDLE - source: - openapi: openapi/openapi.yml - AccountIntegration: - properties: - name: - type: string - docs: Company name. - abbreviated_name: - type: optional - docs: >- - Optional. This shortened name appears in places with limited space, - usually in conjunction with the platform's logo (e.g., Merge Link - menu).

Example: Workforce Now (in lieu of ADP Workforce - Now), SuccessFactors (in lieu of SAP SuccessFactors) - categories: - type: optional> - docs: >- - Category or categories this integration belongs to. Multiple - categories should be comma separated, i.e. [ats, hris]. - access: read-only - image: - type: optional - docs: Company logo in rectangular shape. - validation: - format: uri - square_image: - type: optional - docs: Company logo in square shape. - validation: - format: uri - color: - type: optional - docs: >- - The color of this integration used for buttons and text throughout the - app and landing pages. Choose a darker, saturated color. - validation: - pattern: ^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$ - maxLength: 18 - slug: - type: optional - access: read-only - api_endpoints_to_documentation_urls: - type: optional> - docs: >- - Mapping of API endpoints to documentation urls for support. Example: - {'GET': [['/common-model-scopes', - 'https://docs.merge.dev/accounting/common-model-scopes/#common_model_scopes_retrieve'],['/common-model-actions', - 'https://docs.merge.dev/accounting/common-model-actions/#common_model_actions_retrieve']], - 'POST': []} - webhook_setup_guide_url: - type: optional - docs: >- - Setup guide URL for third party webhook creation. Exposed in Merge - Docs. - category_beta_status: - type: optional> - docs: Category or categories this integration is in beta status for. - access: read-only - source: - openapi: openapi/openapi.yml - AccountToken: - properties: - account_token: string - integration: AccountIntegration - id: string - source: - openapi: openapi/openapi.yml - AccountTypeEnum: - enum: - - SAVINGS - - CHECKING - docs: |- - * `SAVINGS` - SAVINGS - * `CHECKING` - CHECKING - source: - openapi: openapi/openapi.yml - AdvancedMetadata: - properties: - id: - type: string - validation: - format: uuid - display_name: optional - description: optional - is_required: optional - is_custom: optional - field_choices: optional> - source: - openapi: openapi/openapi.yml - AsyncPassthroughReciept: - properties: - async_passthrough_receipt_id: - type: string - validation: - format: uuid - source: - openapi: openapi/openapi.yml - AuditLogEventRole: - discriminated: false - docs: >- - Designates the role of the user (or SYSTEM/API if action not taken by a - user) at the time of this Event occurring. - - - * `ADMIN` - ADMIN - - * `DEVELOPER` - DEVELOPER - - * `MEMBER` - MEMBER - - * `API` - API - - * `SYSTEM` - SYSTEM - - * `MERGE_TEAM` - MERGE_TEAM - union: - - RoleEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - AuditLogEventEventType: - discriminated: false - docs: >- - Designates the type of event that occurred. - - - * `CREATED_REMOTE_PRODUCTION_API_KEY` - CREATED_REMOTE_PRODUCTION_API_KEY - - * `DELETED_REMOTE_PRODUCTION_API_KEY` - DELETED_REMOTE_PRODUCTION_API_KEY - - * `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY - - * `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY - - * `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY - - * `REGENERATED_WEBHOOK_SIGNATURE` - REGENERATED_WEBHOOK_SIGNATURE - - * `INVITED_USER` - INVITED_USER - - * `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED - - * `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED - - * `DELETED_LINKED_ACCOUNT` - DELETED_LINKED_ACCOUNT - - * `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT` - - DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT - - * `CREATED_DESTINATION` - CREATED_DESTINATION - - * `DELETED_DESTINATION` - DELETED_DESTINATION - - * `CHANGED_DESTINATION` - CHANGED_DESTINATION - - * `CHANGED_SCOPES` - CHANGED_SCOPES - - * `CHANGED_PERSONAL_INFORMATION` - CHANGED_PERSONAL_INFORMATION - - * `CHANGED_ORGANIZATION_SETTINGS` - CHANGED_ORGANIZATION_SETTINGS - - * `ENABLED_INTEGRATION` - ENABLED_INTEGRATION - - * `DISABLED_INTEGRATION` - DISABLED_INTEGRATION - - * `ENABLED_CATEGORY` - ENABLED_CATEGORY - - * `DISABLED_CATEGORY` - DISABLED_CATEGORY - - * `CHANGED_PASSWORD` - CHANGED_PASSWORD - - * `RESET_PASSWORD` - RESET_PASSWORD - - * `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - - * `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - - * `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - - * `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - - * `CREATED_INTEGRATION_WIDE_FIELD_MAPPING` - - CREATED_INTEGRATION_WIDE_FIELD_MAPPING - - * `CREATED_LINKED_ACCOUNT_FIELD_MAPPING` - - CREATED_LINKED_ACCOUNT_FIELD_MAPPING - - * `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING` - - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING - - * `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING - - * `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - - DELETED_INTEGRATION_WIDE_FIELD_MAPPING - - * `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - - DELETED_LINKED_ACCOUNT_FIELD_MAPPING - - * `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - - CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - * `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - - CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - * `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - - DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - * `FORCED_LINKED_ACCOUNT_RESYNC` - FORCED_LINKED_ACCOUNT_RESYNC - - * `MUTED_ISSUE` - MUTED_ISSUE - - * `GENERATED_MAGIC_LINK` - GENERATED_MAGIC_LINK - - * `ENABLED_MERGE_WEBHOOK` - ENABLED_MERGE_WEBHOOK - - * `DISABLED_MERGE_WEBHOOK` - DISABLED_MERGE_WEBHOOK - - * `MERGE_WEBHOOK_TARGET_CHANGED` - MERGE_WEBHOOK_TARGET_CHANGED - - * `END_USER_CREDENTIALS_ACCESSED` - END_USER_CREDENTIALS_ACCESSED - union: - - EventTypeEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - AuditLogEvent: - properties: - id: - type: optional - validation: - format: uuid - access: read-only - user_name: - type: optional - docs: The User's full name at the time of this Event occurring. - validation: - maxLength: 200 - user_email: - type: optional - docs: The User's email at the time of this Event occurring. - validation: - format: email - maxLength: 254 - role: - type: AuditLogEventRole - docs: >- - Designates the role of the user (or SYSTEM/API if action not taken by - a user) at the time of this Event occurring. - - - * `ADMIN` - ADMIN - - * `DEVELOPER` - DEVELOPER - - * `MEMBER` - MEMBER - - * `API` - API - - * `SYSTEM` - SYSTEM - - * `MERGE_TEAM` - MERGE_TEAM - ip_address: - type: string - validation: - maxLength: 45 - event_type: - type: AuditLogEventEventType - docs: >- - Designates the type of event that occurred. - - - * `CREATED_REMOTE_PRODUCTION_API_KEY` - - CREATED_REMOTE_PRODUCTION_API_KEY - - * `DELETED_REMOTE_PRODUCTION_API_KEY` - - DELETED_REMOTE_PRODUCTION_API_KEY - - * `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY - - * `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY - - * `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY - - * `REGENERATED_WEBHOOK_SIGNATURE` - REGENERATED_WEBHOOK_SIGNATURE - - * `INVITED_USER` - INVITED_USER - - * `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED - - * `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED - - * `DELETED_LINKED_ACCOUNT` - DELETED_LINKED_ACCOUNT - - * `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT` - - DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT - - * `CREATED_DESTINATION` - CREATED_DESTINATION - - * `DELETED_DESTINATION` - DELETED_DESTINATION - - * `CHANGED_DESTINATION` - CHANGED_DESTINATION - - * `CHANGED_SCOPES` - CHANGED_SCOPES - - * `CHANGED_PERSONAL_INFORMATION` - CHANGED_PERSONAL_INFORMATION - - * `CHANGED_ORGANIZATION_SETTINGS` - CHANGED_ORGANIZATION_SETTINGS - - * `ENABLED_INTEGRATION` - ENABLED_INTEGRATION - - * `DISABLED_INTEGRATION` - DISABLED_INTEGRATION - - * `ENABLED_CATEGORY` - ENABLED_CATEGORY - - * `DISABLED_CATEGORY` - DISABLED_CATEGORY - - * `CHANGED_PASSWORD` - CHANGED_PASSWORD - - * `RESET_PASSWORD` - RESET_PASSWORD - - * `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - - * `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - - * `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - - * `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - - * `CREATED_INTEGRATION_WIDE_FIELD_MAPPING` - - CREATED_INTEGRATION_WIDE_FIELD_MAPPING - - * `CREATED_LINKED_ACCOUNT_FIELD_MAPPING` - - CREATED_LINKED_ACCOUNT_FIELD_MAPPING - - * `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING` - - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING - - * `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING - - * `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - - DELETED_INTEGRATION_WIDE_FIELD_MAPPING - - * `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - - DELETED_LINKED_ACCOUNT_FIELD_MAPPING - - * `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - - CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - * `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - - CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - * `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - - DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - * `FORCED_LINKED_ACCOUNT_RESYNC` - FORCED_LINKED_ACCOUNT_RESYNC - - * `MUTED_ISSUE` - MUTED_ISSUE - - * `GENERATED_MAGIC_LINK` - GENERATED_MAGIC_LINK - - * `ENABLED_MERGE_WEBHOOK` - ENABLED_MERGE_WEBHOOK - - * `DISABLED_MERGE_WEBHOOK` - DISABLED_MERGE_WEBHOOK - - * `MERGE_WEBHOOK_TARGET_CHANGED` - MERGE_WEBHOOK_TARGET_CHANGED - - * `END_USER_CREDENTIALS_ACCESSED` - END_USER_CREDENTIALS_ACCESSED - event_description: string - created_at: - type: optional - access: read-only - source: - openapi: openapi/openapi.yml - AvailableActions: - docs: >- - # The AvailableActions Object - - ### Description - - The `Activity` object is used to see all available model/operation - combinations for an integration. - - - ### Usage Example - - Fetch all the actions available for the `Zenefits` integration. - properties: - integration: AccountIntegration - passthrough_available: boolean - available_model_operations: optional> - source: - openapi: openapi/openapi.yml - BankInfoEmployee: - discriminated: false - docs: The employee with this bank account. - union: - - type: string - validation: - format: uuid - - Employee - source: - openapi: openapi/openapi.yml - inline: true - BankInfoAccountType: - discriminated: false - docs: |- - The bank account type - - * `SAVINGS` - SAVINGS - * `CHECKING` - CHECKING - union: - - AccountTypeEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - BankInfo: - docs: >- - # The BankInfo Object - - ### Description - - The `BankInfo` object is used to represent the Bank Account information - for an Employee. - - - ### Usage Example - - Fetch from the `LIST BankInfo` endpoint and filter by `ID` to show all - bank information. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - employee: - type: optional - docs: The employee with this bank account. - account_number: - type: optional - docs: The account number. - validation: - maxLength: 100 - routing_number: - type: optional - docs: The routing number. - bank_name: - type: optional - docs: The bank name. - account_type: - type: optional - docs: |- - The bank account type - - * `SAVINGS` - SAVINGS - * `CHECKING` - CHECKING - remote_created_at: - type: optional - docs: When the matching bank object was created in the third party system. - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - BenefitEmployee: - discriminated: false - docs: The employee on the plan. - union: - - type: string - validation: - format: uuid - - Employee - source: - openapi: openapi/openapi.yml - inline: true - Benefit: - docs: >- - # The Benefit Object - - ### Description - - The `Benefit` object is used to represent a benefit that an employee has - enrolled in. - - - ### Usage Example - - Fetch from the `LIST Benefits` endpoint and filter by `ID` to show all - benefits. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - employee: - type: optional - docs: The employee on the plan. - provider_name: - type: optional - docs: The name of the benefit provider. - benefit_plan_type: - type: optional - docs: The type of benefit plan - availability: deprecated - employee_contribution: - type: optional - docs: The employee's contribution. - company_contribution: - type: optional - docs: The company's contribution. - start_date: - type: optional - docs: The day and time the benefit started. - end_date: - type: optional - docs: The day and time the benefit ended. - employer_benefit: - type: optional - docs: The employer benefit plan the employee is enrolled in. - validation: - format: uuid - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - BenefitPlanTypeEnum: - enum: - - MEDICAL - - HEALTH_SAVINGS - - INSURANCE - - RETIREMENT - - OTHER - docs: |- - * `MEDICAL` - MEDICAL - * `HEALTH_SAVINGS` - HEALTH_SAVINGS - * `INSURANCE` - INSURANCE - * `RETIREMENT` - RETIREMENT - * `OTHER` - OTHER - source: - openapi: openapi/openapi.yml - CategoriesEnum: - enum: - - hris - - ats - - accounting - - ticketing - - crm - - mktg - - filestorage - docs: |- - * `hris` - hris - * `ats` - ats - * `accounting` - accounting - * `ticketing` - ticketing - * `crm` - crm - * `mktg` - mktg - * `filestorage` - filestorage - source: - openapi: openapi/openapi.yml - CategoryEnum: - enum: - - hris - - ats - - accounting - - ticketing - - crm - - mktg - - filestorage - docs: |- - * `hris` - hris - * `ats` - ats - * `accounting` - accounting - * `ticketing` - ticketing - * `crm` - crm - * `mktg` - mktg - * `filestorage` - filestorage - source: - openapi: openapi/openapi.yml - CommonModelScopeApi: - properties: - common_models: - docs: The common models you want to update the scopes for - type: list - source: - openapi: openapi/openapi.yml - CommonModelScopesBodyRequest: - properties: - model_id: - type: string - validation: - minLength: 1 - enabled_actions: list - disabled_fields: list - source: - openapi: openapi/openapi.yml - Company: - docs: >- - # The Company Object - - ### Description - - The `Company` object is used to represent a company within the HRIS / - Payroll system. - - - ### Usage Example - - Fetch from the `LIST Companies` endpoint and filter by `ID` to show all - companies. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - legal_name: - type: optional - docs: The company's legal name. - display_name: - type: optional - docs: The company's display name. - eins: - type: optional>> - docs: The company's Employer Identification Numbers. - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - CompletedAccountInitialScreenEnum: - type: literal<"SELECTIVE_SYNC"> - docs: '* `SELECTIVE_SYNC` - SELECTIVE_SYNC' - CountryEnum: - enum: - - AF - - AX - - AL - - DZ - - AS - - AD - - AO - - AI - - AQ - - AG - - AR - - AM - - AW - - AU - - AT - - AZ - - BS - - BH - - BD - - BB - - BY - - BE - - BZ - - BJ - - BM - - BT - - BO - - BQ - - BA - - BW - - BV - - BR - - IO - - BN - - BG - - BF - - BI - - CV - - KH - - CM - - CA - - KY - - CF - - TD - - CL - - CN - - CX - - CC - - CO - - KM - - CG - - CD - - CK - - CR - - CI - - HR - - CU - - CW - - CY - - CZ - - DK - - DJ - - DM - - DO - - EC - - EG - - SV - - GQ - - ER - - EE - - SZ - - ET - - FK - - FO - - FJ - - FI - - FR - - GF - - PF - - TF - - GA - - GM - - GE - - DE - - GH - - GI - - GR - - GL - - GD - - GP - - GU - - GT - - GG - - GN - - GW - - GY - - HT - - HM - - VA - - HN - - HK - - HU - - IS - - IN - - ID - - IR - - IQ - - IE - - IM - - IL - - IT - - JM - - JP - - JE - - JO - - KZ - - KE - - KI - - KW - - KG - - LA - - LV - - LB - - LS - - LR - - LY - - LI - - LT - - LU - - MO - - MG - - MW - - MY - - MV - - ML - - MT - - MH - - MQ - - MR - - MU - - YT - - MX - - FM - - MD - - MC - - MN - - ME - - MS - - MA - - MZ - - MM - - NA - - NR - - NP - - NL - - NC - - NZ - - NI - - NE - - NG - - NU - - NF - - KP - - MK - - MP - - 'NO' - - OM - - PK - - PW - - PS - - PA - - PG - - PY - - PE - - PH - - PN - - PL - - PT - - PR - - QA - - RE - - RO - - RU - - RW - - BL - - SH - - KN - - LC - - MF - - PM - - VC - - WS - - SM - - ST - - SA - - SN - - RS - - SC - - SL - - SG - - SX - - SK - - SI - - SB - - SO - - ZA - - GS - - KR - - SS - - ES - - LK - - SD - - SR - - SJ - - SE - - CH - - SY - - TW - - TJ - - TZ - - TH - - TL - - TG - - TK - - TO - - TT - - TN - - TR - - TM - - TC - - TV - - UG - - UA - - AE - - GB - - UM - - US - - UY - - UZ - - VU - - VE - - VN - - VG - - VI - - WF - - EH - - YE - - ZM - - ZW - docs: |- - * `AF` - Afghanistan - * `AX` - Åland Islands - * `AL` - Albania - * `DZ` - Algeria - * `AS` - American Samoa - * `AD` - Andorra - * `AO` - Angola - * `AI` - Anguilla - * `AQ` - Antarctica - * `AG` - Antigua and Barbuda - * `AR` - Argentina - * `AM` - Armenia - * `AW` - Aruba - * `AU` - Australia - * `AT` - Austria - * `AZ` - Azerbaijan - * `BS` - Bahamas - * `BH` - Bahrain - * `BD` - Bangladesh - * `BB` - Barbados - * `BY` - Belarus - * `BE` - Belgium - * `BZ` - Belize - * `BJ` - Benin - * `BM` - Bermuda - * `BT` - Bhutan - * `BO` - Bolivia - * `BQ` - Bonaire, Sint Eustatius and Saba - * `BA` - Bosnia and Herzegovina - * `BW` - Botswana - * `BV` - Bouvet Island - * `BR` - Brazil - * `IO` - British Indian Ocean Territory - * `BN` - Brunei - * `BG` - Bulgaria - * `BF` - Burkina Faso - * `BI` - Burundi - * `CV` - Cabo Verde - * `KH` - Cambodia - * `CM` - Cameroon - * `CA` - Canada - * `KY` - Cayman Islands - * `CF` - Central African Republic - * `TD` - Chad - * `CL` - Chile - * `CN` - China - * `CX` - Christmas Island - * `CC` - Cocos (Keeling) Islands - * `CO` - Colombia - * `KM` - Comoros - * `CG` - Congo - * `CD` - Congo (the Democratic Republic of the) - * `CK` - Cook Islands - * `CR` - Costa Rica - * `CI` - Côte d'Ivoire - * `HR` - Croatia - * `CU` - Cuba - * `CW` - Curaçao - * `CY` - Cyprus - * `CZ` - Czechia - * `DK` - Denmark - * `DJ` - Djibouti - * `DM` - Dominica - * `DO` - Dominican Republic - * `EC` - Ecuador - * `EG` - Egypt - * `SV` - El Salvador - * `GQ` - Equatorial Guinea - * `ER` - Eritrea - * `EE` - Estonia - * `SZ` - Eswatini - * `ET` - Ethiopia - * `FK` - Falkland Islands (Malvinas) - * `FO` - Faroe Islands - * `FJ` - Fiji - * `FI` - Finland - * `FR` - France - * `GF` - French Guiana - * `PF` - French Polynesia - * `TF` - French Southern Territories - * `GA` - Gabon - * `GM` - Gambia - * `GE` - Georgia - * `DE` - Germany - * `GH` - Ghana - * `GI` - Gibraltar - * `GR` - Greece - * `GL` - Greenland - * `GD` - Grenada - * `GP` - Guadeloupe - * `GU` - Guam - * `GT` - Guatemala - * `GG` - Guernsey - * `GN` - Guinea - * `GW` - Guinea-Bissau - * `GY` - Guyana - * `HT` - Haiti - * `HM` - Heard Island and McDonald Islands - * `VA` - Holy See - * `HN` - Honduras - * `HK` - Hong Kong - * `HU` - Hungary - * `IS` - Iceland - * `IN` - India - * `ID` - Indonesia - * `IR` - Iran - * `IQ` - Iraq - * `IE` - Ireland - * `IM` - Isle of Man - * `IL` - Israel - * `IT` - Italy - * `JM` - Jamaica - * `JP` - Japan - * `JE` - Jersey - * `JO` - Jordan - * `KZ` - Kazakhstan - * `KE` - Kenya - * `KI` - Kiribati - * `KW` - Kuwait - * `KG` - Kyrgyzstan - * `LA` - Laos - * `LV` - Latvia - * `LB` - Lebanon - * `LS` - Lesotho - * `LR` - Liberia - * `LY` - Libya - * `LI` - Liechtenstein - * `LT` - Lithuania - * `LU` - Luxembourg - * `MO` - Macao - * `MG` - Madagascar - * `MW` - Malawi - * `MY` - Malaysia - * `MV` - Maldives - * `ML` - Mali - * `MT` - Malta - * `MH` - Marshall Islands - * `MQ` - Martinique - * `MR` - Mauritania - * `MU` - Mauritius - * `YT` - Mayotte - * `MX` - Mexico - * `FM` - Micronesia (Federated States of) - * `MD` - Moldova - * `MC` - Monaco - * `MN` - Mongolia - * `ME` - Montenegro - * `MS` - Montserrat - * `MA` - Morocco - * `MZ` - Mozambique - * `MM` - Myanmar - * `NA` - Namibia - * `NR` - Nauru - * `NP` - Nepal - * `NL` - Netherlands - * `NC` - New Caledonia - * `NZ` - New Zealand - * `NI` - Nicaragua - * `NE` - Niger - * `NG` - Nigeria - * `NU` - Niue - * `NF` - Norfolk Island - * `KP` - North Korea - * `MK` - North Macedonia - * `MP` - Northern Mariana Islands - * `NO` - Norway - * `OM` - Oman - * `PK` - Pakistan - * `PW` - Palau - * `PS` - Palestine, State of - * `PA` - Panama - * `PG` - Papua New Guinea - * `PY` - Paraguay - * `PE` - Peru - * `PH` - Philippines - * `PN` - Pitcairn - * `PL` - Poland - * `PT` - Portugal - * `PR` - Puerto Rico - * `QA` - Qatar - * `RE` - Réunion - * `RO` - Romania - * `RU` - Russia - * `RW` - Rwanda - * `BL` - Saint Barthélemy - * `SH` - Saint Helena, Ascension and Tristan da Cunha - * `KN` - Saint Kitts and Nevis - * `LC` - Saint Lucia - * `MF` - Saint Martin (French part) - * `PM` - Saint Pierre and Miquelon - * `VC` - Saint Vincent and the Grenadines - * `WS` - Samoa - * `SM` - San Marino - * `ST` - Sao Tome and Principe - * `SA` - Saudi Arabia - * `SN` - Senegal - * `RS` - Serbia - * `SC` - Seychelles - * `SL` - Sierra Leone - * `SG` - Singapore - * `SX` - Sint Maarten (Dutch part) - * `SK` - Slovakia - * `SI` - Slovenia - * `SB` - Solomon Islands - * `SO` - Somalia - * `ZA` - South Africa - * `GS` - South Georgia and the South Sandwich Islands - * `KR` - South Korea - * `SS` - South Sudan - * `ES` - Spain - * `LK` - Sri Lanka - * `SD` - Sudan - * `SR` - Suriname - * `SJ` - Svalbard and Jan Mayen - * `SE` - Sweden - * `CH` - Switzerland - * `SY` - Syria - * `TW` - Taiwan - * `TJ` - Tajikistan - * `TZ` - Tanzania - * `TH` - Thailand - * `TL` - Timor-Leste - * `TG` - Togo - * `TK` - Tokelau - * `TO` - Tonga - * `TT` - Trinidad and Tobago - * `TN` - Tunisia - * `TR` - Turkey - * `TM` - Turkmenistan - * `TC` - Turks and Caicos Islands - * `TV` - Tuvalu - * `UG` - Uganda - * `UA` - Ukraine - * `AE` - United Arab Emirates - * `GB` - United Kingdom - * `UM` - United States Minor Outlying Islands - * `US` - United States of America - * `UY` - Uruguay - * `UZ` - Uzbekistan - * `VU` - Vanuatu - * `VE` - Venezuela - * `VN` - Vietnam - * `VG` - Virgin Islands (British) - * `VI` - Virgin Islands (U.S.) - * `WF` - Wallis and Futuna - * `EH` - Western Sahara - * `YE` - Yemen - * `ZM` - Zambia - * `ZW` - Zimbabwe - source: - openapi: openapi/openapi.yml - DataPassthroughRequest: - docs: >- - # The DataPassthrough Object - - ### Description - - The `DataPassthrough` object is used to send information to an - otherwise-unsupported third-party endpoint. - - - ### Usage Example - - Create a `DataPassthrough` to get team hierarchies from your Rippling - integration. - properties: - method: MethodEnum - path: - type: string - docs: The path of the request in the third party's platform. - validation: - minLength: 1 - base_url_override: - type: optional - docs: An optional override of the third party's base url for the request. - validation: - minLength: 1 - data: - type: optional - docs: >- - The data with the request. You must include a `request_format` - parameter matching the data's format - validation: - minLength: 1 - multipart_form_data: - type: optional> - docs: >- - Pass an array of `MultipartFormField` objects in here instead of using - the `data` param if `request_format` is set to `MULTIPART`. - headers: - type: optional> - docs: >- - The headers to use for the request (Merge will handle the account's - authorization headers). `Content-Type` header is required for - passthrough. Choose content type corresponding to expected format of - receiving server. - request_format: optional - normalize_response: - type: optional - docs: >- - Optional. If true, the response will always be an object of the form - `{"type": T, "value": ...}` where `T` will be one of `string, boolean, - number, null, array, object`. - source: - openapi: openapi/openapi.yml - DebugModeLog: - properties: - log_id: string - dashboard_view: string - log_summary: DebugModelLogSummary - source: - openapi: openapi/openapi.yml - DebugModelLogSummary: - properties: - url: string - method: string - status_code: integer - source: - openapi: openapi/openapi.yml - Deduction: - docs: >- - # The Deduction Object - - ### Description - - The `Deduction` object is used to represent an array of the wages withheld - from total earnings for the purpose of paying taxes. - - - ### Usage Example - - Fetch from the `LIST Deductions` endpoint and filter by `ID` to show all - deductions. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - employee_payroll_run: - type: optional - validation: - format: uuid - name: - type: optional - docs: The deduction's name. - employee_deduction: - type: optional - docs: >- - The amount of money that is withheld from an employee's gross pay by - the employee. - company_deduction: - type: optional - docs: >- - The amount of money that is withheld on behalf of an employee by the - company. - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - DependentRelationship: - discriminated: false - docs: |- - The dependent's relationship to the employee. - - * `CHILD` - CHILD - * `SPOUSE` - SPOUSE - * `DOMESTIC_PARTNER` - DOMESTIC_PARTNER - union: - - RelationshipEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - DependentGender: - discriminated: false - docs: |- - The dependent's gender. - - * `MALE` - MALE - * `FEMALE` - FEMALE - * `NON-BINARY` - NON-BINARY - * `OTHER` - OTHER - * `PREFER_NOT_TO_DISCLOSE` - PREFER_NOT_TO_DISCLOSE - union: - - GenderEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - Dependent: - docs: >- - # The Dependent Object - - ### Description - - The `Dependent` object is used to represent a dependent (e.g. child, - spouse, domestic partner, etc) of an `Employee` - - - ### Usage Example - - Fetch from the `LIST Dependents` endpoint and filter by `ID` to show all - dependents. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - first_name: - type: optional - docs: The dependents's first name. - validation: - maxLength: 60 - middle_name: - type: optional - docs: The dependents's middle name. - validation: - maxLength: 60 - last_name: - type: optional - docs: The dependents's last name. - validation: - maxLength: 60 - relationship: - type: optional - docs: |- - The dependent's relationship to the employee. - - * `CHILD` - CHILD - * `SPOUSE` - SPOUSE - * `DOMESTIC_PARTNER` - DOMESTIC_PARTNER - employee: - type: optional - docs: The employee this person is a dependent of. - validation: - format: uuid - date_of_birth: - type: optional - docs: The dependent's date of birth. - gender: - type: optional - docs: |- - The dependent's gender. - - * `MALE` - MALE - * `FEMALE` - FEMALE - * `NON-BINARY` - NON-BINARY - * `OTHER` - OTHER - * `PREFER_NOT_TO_DISCLOSE` - PREFER_NOT_TO_DISCLOSE - phone_number: - type: optional - docs: The dependent's phone number. - validation: - maxLength: 50 - home_location: - type: optional - docs: The dependents's home address. - validation: - format: uuid - is_student: - type: optional - docs: Whether or not the dependent is a student - ssn: - type: optional - docs: The dependents's social security number. - validation: - maxLength: 50 - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - EarningType: - discriminated: false - docs: |- - The type of earning. - - * `SALARY` - SALARY - * `REIMBURSEMENT` - REIMBURSEMENT - * `OVERTIME` - OVERTIME - * `BONUS` - BONUS - union: - - EarningTypeEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - Earning: - docs: >- - # The Earning Object - - ### Description - - The `Earning` object is used to represent an array of different - compensations that an employee receives within specific wage categories. - - - ### Usage Example - - Fetch from the `LIST Earnings` endpoint and filter by `ID` to show all - earnings. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - employee_payroll_run: - type: optional - validation: - format: uuid - amount: - type: optional - docs: The amount earned. - type: - type: optional - docs: |- - The type of earning. - - * `SALARY` - SALARY - * `REIMBURSEMENT` - REIMBURSEMENT - * `OVERTIME` - OVERTIME - * `BONUS` - BONUS - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - EarningTypeEnum: - enum: - - SALARY - - REIMBURSEMENT - - OVERTIME - - BONUS - docs: |- - * `SALARY` - SALARY - * `REIMBURSEMENT` - REIMBURSEMENT - * `OVERTIME` - OVERTIME - * `BONUS` - BONUS - source: - openapi: openapi/openapi.yml - EmployeeCompany: - discriminated: false - docs: The ID of the employee's company. - union: - - type: string - validation: - format: uuid - - Company - source: - openapi: openapi/openapi.yml - inline: true - EmployeeGroupsItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - Group - source: - openapi: openapi/openapi.yml - inline: true - EmployeeEmploymentsItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - Employment - source: - openapi: openapi/openapi.yml - inline: true - EmployeeHomeLocation: - discriminated: false - docs: The employee's home address. - union: - - type: string - validation: - format: uuid - - Location - source: - openapi: openapi/openapi.yml - inline: true - EmployeeWorkLocation: - discriminated: false - docs: The employee's work address. - union: - - type: string - validation: - format: uuid - - Location - source: - openapi: openapi/openapi.yml - inline: true - EmployeeManager: - discriminated: false - docs: The employee ID of the employee's manager. - union: - - type: string - validation: - format: uuid - - Employee - source: - openapi: openapi/openapi.yml - inline: true - EmployeeTeam: - discriminated: false - docs: The employee's team. - union: - - type: string - validation: - format: uuid - - Team - source: - openapi: openapi/openapi.yml - inline: true - EmployeePayGroup: - discriminated: false - docs: The employee's pay group - union: - - type: string - validation: - format: uuid - - PayGroup - source: - openapi: openapi/openapi.yml - inline: true - EmployeeGender: - discriminated: false - docs: |- - The employee's gender. - - * `MALE` - MALE - * `FEMALE` - FEMALE - * `NON-BINARY` - NON-BINARY - * `OTHER` - OTHER - * `PREFER_NOT_TO_DISCLOSE` - PREFER_NOT_TO_DISCLOSE - union: - - GenderEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - EmployeeEthnicity: - discriminated: false - docs: >- - The employee's ethnicity. - - - * `AMERICAN_INDIAN_OR_ALASKA_NATIVE` - AMERICAN_INDIAN_OR_ALASKA_NATIVE - - * `ASIAN_OR_INDIAN_SUBCONTINENT` - ASIAN_OR_INDIAN_SUBCONTINENT - - * `BLACK_OR_AFRICAN_AMERICAN` - BLACK_OR_AFRICAN_AMERICAN - - * `HISPANIC_OR_LATINO` - HISPANIC_OR_LATINO - - * `NATIVE_HAWAIIAN_OR_OTHER_PACIFIC_ISLANDER` - - NATIVE_HAWAIIAN_OR_OTHER_PACIFIC_ISLANDER - - * `TWO_OR_MORE_RACES` - TWO_OR_MORE_RACES - - * `WHITE` - WHITE - - * `PREFER_NOT_TO_DISCLOSE` - PREFER_NOT_TO_DISCLOSE - union: - - EthnicityEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - EmployeeMaritalStatus: - discriminated: false - docs: >- - The employee's filing status as related to marital status. - - - * `SINGLE` - SINGLE - - * `MARRIED_FILING_JOINTLY` - MARRIED_FILING_JOINTLY - - * `MARRIED_FILING_SEPARATELY` - MARRIED_FILING_SEPARATELY - - * `HEAD_OF_HOUSEHOLD` - HEAD_OF_HOUSEHOLD - - * `QUALIFYING_WIDOW_OR_WIDOWER_WITH_DEPENDENT_CHILD` - - QUALIFYING_WIDOW_OR_WIDOWER_WITH_DEPENDENT_CHILD - union: - - MaritalStatusEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - EmployeeEmploymentStatus: - discriminated: false - docs: |- - The employment status of the employee. - - * `ACTIVE` - ACTIVE - * `PENDING` - PENDING - * `INACTIVE` - INACTIVE - union: - - EmploymentStatusEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - Employee: - docs: >- - # The Employee Object - - ### Description - - The `Employee` object is used to represent any person who has been - employed by a company. By default, it returns all employees. To filter for - only active employees, set the `employment_status` query parameter to - `ACTIVE`. - - - ### Usage Example - - Fetch from the `LIST Employee` endpoint and filter by `ID` to show all - employees. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - employee_number: - type: optional - docs: >- - The employee's number that appears in the third-party integration's - UI. - company: - type: optional - docs: The ID of the employee's company. - first_name: - type: optional - docs: The employee's first name. - last_name: - type: optional - docs: The employee's last name. - preferred_name: - type: optional - docs: The employee's preferred first name. - display_full_name: - type: optional - docs: >- - The employee's full name, to use for display purposes. If a preferred - first name is available, the full name will include the preferred - first name. - username: - type: optional - docs: The employee's username that appears in the remote UI. - groups: optional>> - work_email: - type: optional - docs: The employee's work email. - validation: - format: email - maxLength: 254 - personal_email: - type: optional - docs: The employee's personal email. - validation: - format: email - maxLength: 254 - mobile_phone_number: - type: optional - docs: The employee's mobile phone number. - employments: - type: optional>> - docs: Array of `Employment` IDs for this Employee. - home_location: - type: optional - docs: The employee's home address. - work_location: - type: optional - docs: The employee's work address. - manager: - type: optional - docs: The employee ID of the employee's manager. - team: - type: optional - docs: The employee's team. - availability: deprecated - pay_group: - type: optional - docs: The employee's pay group - ssn: - type: optional - docs: The employee's social security number. - validation: - maxLength: 100 - gender: - type: optional - docs: |- - The employee's gender. - - * `MALE` - MALE - * `FEMALE` - FEMALE - * `NON-BINARY` - NON-BINARY - * `OTHER` - OTHER - * `PREFER_NOT_TO_DISCLOSE` - PREFER_NOT_TO_DISCLOSE - ethnicity: - type: optional - docs: >- - The employee's ethnicity. - - - * `AMERICAN_INDIAN_OR_ALASKA_NATIVE` - - AMERICAN_INDIAN_OR_ALASKA_NATIVE - - * `ASIAN_OR_INDIAN_SUBCONTINENT` - ASIAN_OR_INDIAN_SUBCONTINENT - - * `BLACK_OR_AFRICAN_AMERICAN` - BLACK_OR_AFRICAN_AMERICAN - - * `HISPANIC_OR_LATINO` - HISPANIC_OR_LATINO - - * `NATIVE_HAWAIIAN_OR_OTHER_PACIFIC_ISLANDER` - - NATIVE_HAWAIIAN_OR_OTHER_PACIFIC_ISLANDER - - * `TWO_OR_MORE_RACES` - TWO_OR_MORE_RACES - - * `WHITE` - WHITE - - * `PREFER_NOT_TO_DISCLOSE` - PREFER_NOT_TO_DISCLOSE - marital_status: - type: optional - docs: >- - The employee's filing status as related to marital status. - - - * `SINGLE` - SINGLE - - * `MARRIED_FILING_JOINTLY` - MARRIED_FILING_JOINTLY - - * `MARRIED_FILING_SEPARATELY` - MARRIED_FILING_SEPARATELY - - * `HEAD_OF_HOUSEHOLD` - HEAD_OF_HOUSEHOLD - - * `QUALIFYING_WIDOW_OR_WIDOWER_WITH_DEPENDENT_CHILD` - - QUALIFYING_WIDOW_OR_WIDOWER_WITH_DEPENDENT_CHILD - date_of_birth: - type: optional - docs: The employee's date of birth. - hire_date: - type: optional - docs: >- - The date that the employee was hired, usually the day that an offer - letter is signed. If an employee has multiple hire dates from previous - employments, this represents the most recent hire date. Note: If - you're looking for the employee's start date, refer to the start_date - field. - availability: deprecated - start_date: - type: optional - docs: >- - The date that the employee started working. If an employee was - rehired, the most recent start date will be returned. - remote_created_at: - type: optional - docs: When the third party's employee was created. - employment_status: - type: optional - docs: |- - The employment status of the employee. - - * `ACTIVE` - ACTIVE - * `PENDING` - PENDING - * `INACTIVE` - INACTIVE - termination_date: - type: optional - docs: The employee's termination date. - avatar: - type: optional - docs: The URL of the employee's avatar image. - validation: - format: uri - maxLength: 2000 - custom_fields: - type: optional> - docs: Custom fields configured for a given model. - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - EmployeePayrollRunEmployee: - discriminated: false - docs: The employee whose payroll is being run. - union: - - type: string - validation: - format: uuid - - Employee - source: - openapi: openapi/openapi.yml - inline: true - EmployeePayrollRunPayrollRun: - discriminated: false - docs: The payroll being run. - union: - - type: string - validation: - format: uuid - - PayrollRun - source: - openapi: openapi/openapi.yml - inline: true - EmployeePayrollRun: - docs: >- - # The EmployeePayrollRun Object - - ### Description - - The `EmployeePayrollRun` object is used to represent an employee's pay - statement for a specific payroll run. - - - ### Usage Example - - Fetch from the `LIST EmployeePayrollRun` endpoint and filter by `ID` to - show all employee payroll runs. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - employee: - type: optional - docs: The employee whose payroll is being run. - payroll_run: - type: optional - docs: The payroll being run. - gross_pay: - type: optional - docs: >- - The total earnings throughout a given period for an employee before - any deductions are made. - net_pay: - type: optional - docs: >- - The take-home pay throughout a given period for an employee after - deductions are made. - start_date: - type: optional - docs: The day and time the payroll run started. - end_date: - type: optional - docs: The day and time the payroll run ended. - check_date: - type: optional - docs: The day and time the payroll run was checked. - earnings: - type: optional> - access: read-only - deductions: - type: optional> - access: read-only - taxes: - type: optional> - access: read-only - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - EmployeeRequestCompany: - discriminated: false - docs: The ID of the employee's company. - union: - - type: string - validation: - format: uuid - - Company - source: - openapi: openapi/openapi.yml - inline: true - EmployeeRequestGroupsItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - Group - source: - openapi: openapi/openapi.yml - inline: true - EmployeeRequestEmploymentsItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - Employment - source: - openapi: openapi/openapi.yml - inline: true - EmployeeRequestHomeLocation: - discriminated: false - docs: The employee's home address. - union: - - type: string - validation: - format: uuid - - Location - source: - openapi: openapi/openapi.yml - inline: true - EmployeeRequestWorkLocation: - discriminated: false - docs: The employee's work address. - union: - - type: string - validation: - format: uuid - - Location - source: - openapi: openapi/openapi.yml - inline: true - EmployeeRequestManager: - discriminated: false - docs: The employee ID of the employee's manager. - union: - - type: string - validation: - format: uuid - - Employee - source: - openapi: openapi/openapi.yml - inline: true - EmployeeRequestTeam: - discriminated: false - docs: The employee's team. - union: - - type: string - validation: - format: uuid - - Team - source: - openapi: openapi/openapi.yml - inline: true - EmployeeRequestPayGroup: - discriminated: false - docs: The employee's pay group - union: - - type: string - validation: - format: uuid - - PayGroup - source: - openapi: openapi/openapi.yml - inline: true - EmployeeRequestGender: - discriminated: false - docs: |- - The employee's gender. - - * `MALE` - MALE - * `FEMALE` - FEMALE - * `NON-BINARY` - NON-BINARY - * `OTHER` - OTHER - * `PREFER_NOT_TO_DISCLOSE` - PREFER_NOT_TO_DISCLOSE - union: - - GenderEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - EmployeeRequestEthnicity: - discriminated: false - docs: >- - The employee's ethnicity. - - - * `AMERICAN_INDIAN_OR_ALASKA_NATIVE` - AMERICAN_INDIAN_OR_ALASKA_NATIVE - - * `ASIAN_OR_INDIAN_SUBCONTINENT` - ASIAN_OR_INDIAN_SUBCONTINENT - - * `BLACK_OR_AFRICAN_AMERICAN` - BLACK_OR_AFRICAN_AMERICAN - - * `HISPANIC_OR_LATINO` - HISPANIC_OR_LATINO - - * `NATIVE_HAWAIIAN_OR_OTHER_PACIFIC_ISLANDER` - - NATIVE_HAWAIIAN_OR_OTHER_PACIFIC_ISLANDER - - * `TWO_OR_MORE_RACES` - TWO_OR_MORE_RACES - - * `WHITE` - WHITE - - * `PREFER_NOT_TO_DISCLOSE` - PREFER_NOT_TO_DISCLOSE - union: - - EthnicityEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - EmployeeRequestMaritalStatus: - discriminated: false - docs: >- - The employee's filing status as related to marital status. - - - * `SINGLE` - SINGLE - - * `MARRIED_FILING_JOINTLY` - MARRIED_FILING_JOINTLY - - * `MARRIED_FILING_SEPARATELY` - MARRIED_FILING_SEPARATELY - - * `HEAD_OF_HOUSEHOLD` - HEAD_OF_HOUSEHOLD - - * `QUALIFYING_WIDOW_OR_WIDOWER_WITH_DEPENDENT_CHILD` - - QUALIFYING_WIDOW_OR_WIDOWER_WITH_DEPENDENT_CHILD - union: - - MaritalStatusEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - EmployeeRequestEmploymentStatus: - discriminated: false - docs: |- - The employment status of the employee. - - * `ACTIVE` - ACTIVE - * `PENDING` - PENDING - * `INACTIVE` - INACTIVE - union: - - EmploymentStatusEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - EmployeeRequest: - docs: >- - # The Employee Object - - ### Description - - The `Employee` object is used to represent any person who has been - employed by a company. By default, it returns all employees. To filter for - only active employees, set the `employment_status` query parameter to - `ACTIVE`. - - - ### Usage Example - - Fetch from the `LIST Employee` endpoint and filter by `ID` to show all - employees. - properties: - employee_number: - type: optional - docs: >- - The employee's number that appears in the third-party integration's - UI. - company: - type: optional - docs: The ID of the employee's company. - first_name: - type: optional - docs: The employee's first name. - last_name: - type: optional - docs: The employee's last name. - preferred_name: - type: optional - docs: The employee's preferred first name. - display_full_name: - type: optional - docs: >- - The employee's full name, to use for display purposes. If a preferred - first name is available, the full name will include the preferred - first name. - username: - type: optional - docs: The employee's username that appears in the remote UI. - groups: optional>> - work_email: - type: optional - docs: The employee's work email. - validation: - format: email - maxLength: 254 - personal_email: - type: optional - docs: The employee's personal email. - validation: - format: email - maxLength: 254 - mobile_phone_number: - type: optional - docs: The employee's mobile phone number. - employments: - type: optional>> - docs: Array of `Employment` IDs for this Employee. - home_location: - type: optional - docs: The employee's home address. - work_location: - type: optional - docs: The employee's work address. - manager: - type: optional - docs: The employee ID of the employee's manager. - team: - type: optional - docs: The employee's team. - availability: deprecated - pay_group: - type: optional - docs: The employee's pay group - ssn: - type: optional - docs: The employee's social security number. - validation: - maxLength: 100 - gender: - type: optional - docs: |- - The employee's gender. - - * `MALE` - MALE - * `FEMALE` - FEMALE - * `NON-BINARY` - NON-BINARY - * `OTHER` - OTHER - * `PREFER_NOT_TO_DISCLOSE` - PREFER_NOT_TO_DISCLOSE - ethnicity: - type: optional - docs: >- - The employee's ethnicity. - - - * `AMERICAN_INDIAN_OR_ALASKA_NATIVE` - - AMERICAN_INDIAN_OR_ALASKA_NATIVE - - * `ASIAN_OR_INDIAN_SUBCONTINENT` - ASIAN_OR_INDIAN_SUBCONTINENT - - * `BLACK_OR_AFRICAN_AMERICAN` - BLACK_OR_AFRICAN_AMERICAN - - * `HISPANIC_OR_LATINO` - HISPANIC_OR_LATINO - - * `NATIVE_HAWAIIAN_OR_OTHER_PACIFIC_ISLANDER` - - NATIVE_HAWAIIAN_OR_OTHER_PACIFIC_ISLANDER - - * `TWO_OR_MORE_RACES` - TWO_OR_MORE_RACES - - * `WHITE` - WHITE - - * `PREFER_NOT_TO_DISCLOSE` - PREFER_NOT_TO_DISCLOSE - marital_status: - type: optional - docs: >- - The employee's filing status as related to marital status. - - - * `SINGLE` - SINGLE - - * `MARRIED_FILING_JOINTLY` - MARRIED_FILING_JOINTLY - - * `MARRIED_FILING_SEPARATELY` - MARRIED_FILING_SEPARATELY - - * `HEAD_OF_HOUSEHOLD` - HEAD_OF_HOUSEHOLD - - * `QUALIFYING_WIDOW_OR_WIDOWER_WITH_DEPENDENT_CHILD` - - QUALIFYING_WIDOW_OR_WIDOWER_WITH_DEPENDENT_CHILD - date_of_birth: - type: optional - docs: The employee's date of birth. - hire_date: - type: optional - docs: >- - The date that the employee was hired, usually the day that an offer - letter is signed. If an employee has multiple hire dates from previous - employments, this represents the most recent hire date. Note: If - you're looking for the employee's start date, refer to the start_date - field. - availability: deprecated - start_date: - type: optional - docs: >- - The date that the employee started working. If an employee was - rehired, the most recent start date will be returned. - employment_status: - type: optional - docs: |- - The employment status of the employee. - - * `ACTIVE` - ACTIVE - * `PENDING` - PENDING - * `INACTIVE` - INACTIVE - termination_date: - type: optional - docs: The employee's termination date. - avatar: - type: optional - docs: The URL of the employee's avatar image. - validation: - format: uri - maxLength: 2000 - integration_params: - type: optional> - access: write-only - linked_account_params: - type: optional> - access: write-only - source: - openapi: openapi/openapi.yml - EmployeeResponse: - properties: - model: Employee - warnings: list - errors: list - logs: optional> - source: - openapi: openapi/openapi.yml - EmployerBenefitBenefitPlanType: - discriminated: false - docs: |- - The type of benefit plan. - - * `MEDICAL` - MEDICAL - * `HEALTH_SAVINGS` - HEALTH_SAVINGS - * `INSURANCE` - INSURANCE - * `RETIREMENT` - RETIREMENT - * `OTHER` - OTHER - union: - - BenefitPlanTypeEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - EmployerBenefit: - docs: >- - # The EmployerBenefit Object - - ### Description - - The `Employer Benefit` object is used to represent a benefit plan offered - by a company. - - - ### Usage Example - - Fetch from the `LIST EmployerBenefits` endpoint and filter by `ID` to show - all EmployerBenefits. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - benefit_plan_type: - type: optional - docs: |- - The type of benefit plan. - - * `MEDICAL` - MEDICAL - * `HEALTH_SAVINGS` - HEALTH_SAVINGS - * `INSURANCE` - INSURANCE - * `RETIREMENT` - RETIREMENT - * `OTHER` - OTHER - name: - type: optional - docs: The employer benefit's name - typically the carrier or network name. - validation: - maxLength: 200 - description: - type: optional - docs: The employer benefit's description. - validation: - maxLength: 2000 - deduction_code: - type: optional - docs: The employer benefit's deduction code. - validation: - maxLength: 60 - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - EmploymentEmployee: - discriminated: false - docs: The employee holding this position. - union: - - type: string - validation: - format: uuid - - Employee - source: - openapi: openapi/openapi.yml - inline: true - EmploymentPayPeriod: - discriminated: false - docs: |- - The time period this pay rate encompasses. - - * `HOUR` - HOUR - * `DAY` - DAY - * `WEEK` - WEEK - * `EVERY_TWO_WEEKS` - EVERY_TWO_WEEKS - * `SEMIMONTHLY` - SEMIMONTHLY - * `MONTH` - MONTH - * `QUARTER` - QUARTER - * `EVERY_SIX_MONTHS` - EVERY_SIX_MONTHS - * `YEAR` - YEAR - union: - - PayPeriodEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - EmploymentPayFrequency: - discriminated: false - docs: |- - The position's pay frequency. - - * `WEEKLY` - WEEKLY - * `BIWEEKLY` - BIWEEKLY - * `MONTHLY` - MONTHLY - * `QUARTERLY` - QUARTERLY - * `SEMIANNUALLY` - SEMIANNUALLY - * `ANNUALLY` - ANNUALLY - * `THIRTEEN-MONTHLY` - THIRTEEN-MONTHLY - * `PRO_RATA` - PRO_RATA - * `SEMIMONTHLY` - SEMIMONTHLY - union: - - PayFrequencyEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - EmploymentPayCurrency: - discriminated: false - docs: >- - The position's currency code. - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - union: - - PayCurrencyEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - EmploymentPayGroup: - discriminated: false - docs: The employment's pay group - union: - - type: string - validation: - format: uuid - - PayGroup - source: - openapi: openapi/openapi.yml - inline: true - EmploymentFlsaStatus: - discriminated: false - docs: |- - The position's FLSA status. - - * `EXEMPT` - EXEMPT - * `SALARIED_NONEXEMPT` - SALARIED_NONEXEMPT - * `NONEXEMPT` - NONEXEMPT - * `OWNER` - OWNER - union: - - FlsaStatusEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - EmploymentEmploymentType: - discriminated: false - docs: |- - The position's type of employment. - - * `FULL_TIME` - FULL_TIME - * `PART_TIME` - PART_TIME - * `INTERN` - INTERN - * `CONTRACTOR` - CONTRACTOR - * `FREELANCE` - FREELANCE - union: - - EmploymentTypeEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - Employment: - docs: >- - # The Employment Object - - ### Description - - The `Employment` object is used to represent a job position at a company. - - - If an integration supports historical tracking of employments, it will be - reflected in the data. If not, a new `Employment` object will be created - whenever there is a change in job title or pay. The `effective_date` field - should be used to order `Employment` objects, with the most recent date - corresponding to the latest employment record for an employee. - - - ### Usage Example - - Fetch from the `LIST Employments` endpoint and filter by `ID` to show all - employees. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - employee: - type: optional - docs: The employee holding this position. - job_title: - type: optional - docs: The position's title. - pay_rate: - type: optional - docs: The position's pay rate. - pay_period: - type: optional - docs: |- - The time period this pay rate encompasses. - - * `HOUR` - HOUR - * `DAY` - DAY - * `WEEK` - WEEK - * `EVERY_TWO_WEEKS` - EVERY_TWO_WEEKS - * `SEMIMONTHLY` - SEMIMONTHLY - * `MONTH` - MONTH - * `QUARTER` - QUARTER - * `EVERY_SIX_MONTHS` - EVERY_SIX_MONTHS - * `YEAR` - YEAR - pay_frequency: - type: optional - docs: |- - The position's pay frequency. - - * `WEEKLY` - WEEKLY - * `BIWEEKLY` - BIWEEKLY - * `MONTHLY` - MONTHLY - * `QUARTERLY` - QUARTERLY - * `SEMIANNUALLY` - SEMIANNUALLY - * `ANNUALLY` - ANNUALLY - * `THIRTEEN-MONTHLY` - THIRTEEN-MONTHLY - * `PRO_RATA` - PRO_RATA - * `SEMIMONTHLY` - SEMIMONTHLY - pay_currency: - type: optional - docs: >- - The position's currency code. - - - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - pay_group: - type: optional - docs: The employment's pay group - flsa_status: - type: optional - docs: |- - The position's FLSA status. - - * `EXEMPT` - EXEMPT - * `SALARIED_NONEXEMPT` - SALARIED_NONEXEMPT - * `NONEXEMPT` - NONEXEMPT - * `OWNER` - OWNER - effective_date: - type: optional - docs: The position's effective date. - employment_type: - type: optional - docs: |- - The position's type of employment. - - * `FULL_TIME` - FULL_TIME - * `PART_TIME` - PART_TIME - * `INTERN` - INTERN - * `CONTRACTOR` - CONTRACTOR - * `FREELANCE` - FREELANCE - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - EmploymentStatusEnum: - enum: - - ACTIVE - - PENDING - - INACTIVE - docs: |- - * `ACTIVE` - ACTIVE - * `PENDING` - PENDING - * `INACTIVE` - INACTIVE - source: - openapi: openapi/openapi.yml - EmploymentTypeEnum: - enum: - - FULL_TIME - - PART_TIME - - INTERN - - CONTRACTOR - - FREELANCE - docs: |- - * `FULL_TIME` - FULL_TIME - * `PART_TIME` - PART_TIME - * `INTERN` - INTERN - * `CONTRACTOR` - CONTRACTOR - * `FREELANCE` - FREELANCE - source: - openapi: openapi/openapi.yml - EnabledActionsEnum: - enum: - - READ - - WRITE - docs: |- - * `READ` - READ - * `WRITE` - WRITE - source: - openapi: openapi/openapi.yml - EncodingEnum: - enum: - - RAW - - BASE64 - - GZIP_BASE64 - docs: |- - * `RAW` - RAW - * `BASE64` - BASE64 - * `GZIP_BASE64` - GZIP_BASE64 - source: - openapi: openapi/openapi.yml - ErrorValidationProblem: - properties: - source: optional - title: string - detail: string - problem_type: string - source: - openapi: openapi/openapi.yml - EthnicityEnum: - enum: - - AMERICAN_INDIAN_OR_ALASKA_NATIVE - - ASIAN_OR_INDIAN_SUBCONTINENT - - BLACK_OR_AFRICAN_AMERICAN - - HISPANIC_OR_LATINO - - NATIVE_HAWAIIAN_OR_OTHER_PACIFIC_ISLANDER - - TWO_OR_MORE_RACES - - WHITE - - PREFER_NOT_TO_DISCLOSE - docs: >- - * `AMERICAN_INDIAN_OR_ALASKA_NATIVE` - AMERICAN_INDIAN_OR_ALASKA_NATIVE - - * `ASIAN_OR_INDIAN_SUBCONTINENT` - ASIAN_OR_INDIAN_SUBCONTINENT - - * `BLACK_OR_AFRICAN_AMERICAN` - BLACK_OR_AFRICAN_AMERICAN - - * `HISPANIC_OR_LATINO` - HISPANIC_OR_LATINO - - * `NATIVE_HAWAIIAN_OR_OTHER_PACIFIC_ISLANDER` - - NATIVE_HAWAIIAN_OR_OTHER_PACIFIC_ISLANDER - - * `TWO_OR_MORE_RACES` - TWO_OR_MORE_RACES - - * `WHITE` - WHITE - - * `PREFER_NOT_TO_DISCLOSE` - PREFER_NOT_TO_DISCLOSE - source: - openapi: openapi/openapi.yml - EventTypeEnum: - enum: - - CREATED_REMOTE_PRODUCTION_API_KEY - - DELETED_REMOTE_PRODUCTION_API_KEY - - CREATED_TEST_API_KEY - - DELETED_TEST_API_KEY - - REGENERATED_PRODUCTION_API_KEY - - REGENERATED_WEBHOOK_SIGNATURE - - INVITED_USER - - TWO_FACTOR_AUTH_ENABLED - - TWO_FACTOR_AUTH_DISABLED - - DELETED_LINKED_ACCOUNT - - DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT - - CREATED_DESTINATION - - DELETED_DESTINATION - - CHANGED_DESTINATION - - CHANGED_SCOPES - - CHANGED_PERSONAL_INFORMATION - - CHANGED_ORGANIZATION_SETTINGS - - ENABLED_INTEGRATION - - DISABLED_INTEGRATION - - ENABLED_CATEGORY - - DISABLED_CATEGORY - - CHANGED_PASSWORD - - RESET_PASSWORD - - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - - CREATED_INTEGRATION_WIDE_FIELD_MAPPING - - CREATED_LINKED_ACCOUNT_FIELD_MAPPING - - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING - - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING - - DELETED_INTEGRATION_WIDE_FIELD_MAPPING - - DELETED_LINKED_ACCOUNT_FIELD_MAPPING - - CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - FORCED_LINKED_ACCOUNT_RESYNC - - MUTED_ISSUE - - GENERATED_MAGIC_LINK - - ENABLED_MERGE_WEBHOOK - - DISABLED_MERGE_WEBHOOK - - MERGE_WEBHOOK_TARGET_CHANGED - - END_USER_CREDENTIALS_ACCESSED - docs: >- - * `CREATED_REMOTE_PRODUCTION_API_KEY` - CREATED_REMOTE_PRODUCTION_API_KEY - - * `DELETED_REMOTE_PRODUCTION_API_KEY` - DELETED_REMOTE_PRODUCTION_API_KEY - - * `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY - - * `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY - - * `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY - - * `REGENERATED_WEBHOOK_SIGNATURE` - REGENERATED_WEBHOOK_SIGNATURE - - * `INVITED_USER` - INVITED_USER - - * `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED - - * `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED - - * `DELETED_LINKED_ACCOUNT` - DELETED_LINKED_ACCOUNT - - * `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT` - - DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT - - * `CREATED_DESTINATION` - CREATED_DESTINATION - - * `DELETED_DESTINATION` - DELETED_DESTINATION - - * `CHANGED_DESTINATION` - CHANGED_DESTINATION - - * `CHANGED_SCOPES` - CHANGED_SCOPES - - * `CHANGED_PERSONAL_INFORMATION` - CHANGED_PERSONAL_INFORMATION - - * `CHANGED_ORGANIZATION_SETTINGS` - CHANGED_ORGANIZATION_SETTINGS - - * `ENABLED_INTEGRATION` - ENABLED_INTEGRATION - - * `DISABLED_INTEGRATION` - DISABLED_INTEGRATION - - * `ENABLED_CATEGORY` - ENABLED_CATEGORY - - * `DISABLED_CATEGORY` - DISABLED_CATEGORY - - * `CHANGED_PASSWORD` - CHANGED_PASSWORD - - * `RESET_PASSWORD` - RESET_PASSWORD - - * `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - - * `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - - * `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - - * `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - - * `CREATED_INTEGRATION_WIDE_FIELD_MAPPING` - - CREATED_INTEGRATION_WIDE_FIELD_MAPPING - - * `CREATED_LINKED_ACCOUNT_FIELD_MAPPING` - - CREATED_LINKED_ACCOUNT_FIELD_MAPPING - - * `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING` - - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING - - * `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING - - * `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - - DELETED_INTEGRATION_WIDE_FIELD_MAPPING - - * `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - - DELETED_LINKED_ACCOUNT_FIELD_MAPPING - - * `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - - CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - * `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - - CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - * `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - - DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - * `FORCED_LINKED_ACCOUNT_RESYNC` - FORCED_LINKED_ACCOUNT_RESYNC - - * `MUTED_ISSUE` - MUTED_ISSUE - - * `GENERATED_MAGIC_LINK` - GENERATED_MAGIC_LINK - - * `ENABLED_MERGE_WEBHOOK` - ENABLED_MERGE_WEBHOOK - - * `DISABLED_MERGE_WEBHOOK` - DISABLED_MERGE_WEBHOOK - - * `MERGE_WEBHOOK_TARGET_CHANGED` - MERGE_WEBHOOK_TARGET_CHANGED - - * `END_USER_CREDENTIALS_ACCESSED` - END_USER_CREDENTIALS_ACCESSED - source: - openapi: openapi/openapi.yml - ExternalTargetFieldApi: - properties: - name: - type: optional - access: read-only - description: - type: optional - access: read-only - is_mapped: - type: optional - access: read-only - source: - openapi: openapi/openapi.yml - ExternalTargetFieldApiResponse: - properties: - Benefit: optional> - EmployerBenefit: optional> - Company: optional> - EmployeePayrollRun: optional> - Employee: optional> - Employment: optional> - Location: optional> - PayrollRun: optional> - Team: optional> - TimeOff: optional> - TimeOffBalance: optional> - BankInfo: optional> - PayGroup: optional> - Group: optional> - Dependent: optional> - TimesheetEntry: optional> - source: - openapi: openapi/openapi.yml - FieldMappingApiInstanceTargetField: - properties: - name: string - description: string - is_organization_wide: boolean - source: - openapi: openapi/openapi.yml - inline: true - FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo: - properties: - method: optional - url_path: optional - field_traversal_path: optional> - source: - openapi: openapi/openapi.yml - inline: true - FieldMappingApiInstanceRemoteField: - properties: - remote_key_name: optional - schema: optional> - remote_endpoint_info: FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo - source: - openapi: openapi/openapi.yml - inline: true - FieldMappingApiInstance: - properties: - id: - type: optional - validation: - format: uuid - access: read-only - is_integration_wide: - type: optional - access: read-only - target_field: - type: optional - access: read-only - remote_field: - type: optional - access: read-only - jmes_path: - type: optional - access: read-only - source: - openapi: openapi/openapi.yml - FieldMappingApiInstanceResponse: - properties: - Benefit: optional> - EmployerBenefit: optional> - Company: optional> - EmployeePayrollRun: optional> - Employee: optional> - Employment: optional> - Location: optional> - PayrollRun: optional> - Team: optional> - TimeOff: optional> - TimeOffBalance: optional> - BankInfo: optional> - PayGroup: optional> - Group: optional> - Dependent: optional> - TimesheetEntry: optional> - source: - openapi: openapi/openapi.yml - FieldMappingInstanceResponse: - properties: - model: FieldMappingApiInstance - warnings: list - errors: list - logs: optional> - source: - openapi: openapi/openapi.yml - FieldPermissionDeserializer: - properties: - enabled_fields: optional> - disabled_fields: optional> - source: - openapi: openapi/openapi.yml - FieldPermissionDeserializerRequest: - properties: - enabled_fields: optional> - disabled_fields: optional> - source: - openapi: openapi/openapi.yml - FlsaStatusEnum: - enum: - - EXEMPT - - SALARIED_NONEXEMPT - - NONEXEMPT - - OWNER - docs: |- - * `EXEMPT` - EXEMPT - * `SALARIED_NONEXEMPT` - SALARIED_NONEXEMPT - * `NONEXEMPT` - NONEXEMPT - * `OWNER` - OWNER - source: - openapi: openapi/openapi.yml - GenderEnum: - enum: - - MALE - - FEMALE - - value: NON-BINARY - name: NonBinary - - OTHER - - PREFER_NOT_TO_DISCLOSE - docs: |- - * `MALE` - MALE - * `FEMALE` - FEMALE - * `NON-BINARY` - NON-BINARY - * `OTHER` - OTHER - * `PREFER_NOT_TO_DISCLOSE` - PREFER_NOT_TO_DISCLOSE - source: - openapi: openapi/openapi.yml - GroupType: - discriminated: false - docs: |- - The Group type returned directly from the third-party. - - * `TEAM` - TEAM - * `DEPARTMENT` - DEPARTMENT - * `COST_CENTER` - COST_CENTER - * `BUSINESS_UNIT` - BUSINESS_UNIT - * `GROUP` - GROUP - union: - - GroupTypeEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - Group: - docs: >- - # The Group Object - - ### Description - - The `Group` object is used to represent any subset of employees across, - for example, `DEPARTMENT` or `TEAM`. Employees can be in multiple Groups. - - - ### Usage Example - - Fetch from the `LIST Employee` endpoint and expand groups to view an - employee's groups. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - parent_group: - type: optional - docs: The parent group for this group. - validation: - format: uuid - name: - type: optional - docs: The group name. - type: - type: optional - docs: |- - The Group type returned directly from the third-party. - - * `TEAM` - TEAM - * `DEPARTMENT` - DEPARTMENT - * `COST_CENTER` - COST_CENTER - * `BUSINESS_UNIT` - BUSINESS_UNIT - * `GROUP` - GROUP - is_commonly_used_as_team: - type: optional - docs: >- - Indicates whether the Group refers to a team in the third party - platform. Note that this is an opinionated view based on how Merge - observes most organizations representing teams in each third party - platform. If your customer uses a platform different from most, there - is a chance this will not be correct. - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - GroupTypeEnum: - enum: - - TEAM - - DEPARTMENT - - COST_CENTER - - BUSINESS_UNIT - - GROUP - docs: |- - * `TEAM` - TEAM - * `DEPARTMENT` - DEPARTMENT - * `COST_CENTER` - COST_CENTER - * `BUSINESS_UNIT` - BUSINESS_UNIT - * `GROUP` - GROUP - source: - openapi: openapi/openapi.yml - IndividualCommonModelScopeDeserializer: - properties: - model_name: string - model_permissions: optional> - field_permissions: optional - source: - openapi: openapi/openapi.yml - IndividualCommonModelScopeDeserializerRequest: - properties: - model_name: - type: string - validation: - minLength: 1 - model_permissions: optional> - field_permissions: optional - source: - openapi: openapi/openapi.yml - IssueStatus: - discriminated: false - docs: |- - Status of the issue. Options: ('ONGOING', 'RESOLVED') - - * `ONGOING` - ONGOING - * `RESOLVED` - RESOLVED - union: - - IssueStatusEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - Issue: - properties: - id: - type: optional - validation: - format: uuid - access: read-only - status: - type: optional - docs: |- - Status of the issue. Options: ('ONGOING', 'RESOLVED') - - * `ONGOING` - ONGOING - * `RESOLVED` - RESOLVED - error_description: string - end_user: - type: optional> - access: read-only - first_incident_time: optional - last_incident_time: optional - is_muted: - type: optional - access: read-only - error_details: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - IssueStatusEnum: - enum: - - ONGOING - - RESOLVED - docs: |- - * `ONGOING` - ONGOING - * `RESOLVED` - RESOLVED - source: - openapi: openapi/openapi.yml - LanguageEnum: - enum: - - en - - de - docs: |- - * `en` - en - * `de` - de - source: - openapi: openapi/openapi.yml - LastSyncResultEnum: - enum: - - SYNCING - - DONE - - FAILED - - DISABLED - - PAUSED - - PARTIALLY_SYNCED - docs: |- - * `SYNCING` - SYNCING - * `DONE` - DONE - * `FAILED` - FAILED - * `DISABLED` - DISABLED - * `PAUSED` - PAUSED - * `PARTIALLY_SYNCED` - PARTIALLY_SYNCED - source: - openapi: openapi/openapi.yml - LinkToken: - properties: - link_token: string - integration_name: optional - magic_link_url: optional - source: - openapi: openapi/openapi.yml - LinkedAccountStatus: - properties: - linked_account_status: string - can_make_request: boolean - source: - openapi: openapi/openapi.yml - LocationCountry: - discriminated: false - docs: |- - The location's country. - - * `AF` - Afghanistan - * `AX` - Åland Islands - * `AL` - Albania - * `DZ` - Algeria - * `AS` - American Samoa - * `AD` - Andorra - * `AO` - Angola - * `AI` - Anguilla - * `AQ` - Antarctica - * `AG` - Antigua and Barbuda - * `AR` - Argentina - * `AM` - Armenia - * `AW` - Aruba - * `AU` - Australia - * `AT` - Austria - * `AZ` - Azerbaijan - * `BS` - Bahamas - * `BH` - Bahrain - * `BD` - Bangladesh - * `BB` - Barbados - * `BY` - Belarus - * `BE` - Belgium - * `BZ` - Belize - * `BJ` - Benin - * `BM` - Bermuda - * `BT` - Bhutan - * `BO` - Bolivia - * `BQ` - Bonaire, Sint Eustatius and Saba - * `BA` - Bosnia and Herzegovina - * `BW` - Botswana - * `BV` - Bouvet Island - * `BR` - Brazil - * `IO` - British Indian Ocean Territory - * `BN` - Brunei - * `BG` - Bulgaria - * `BF` - Burkina Faso - * `BI` - Burundi - * `CV` - Cabo Verde - * `KH` - Cambodia - * `CM` - Cameroon - * `CA` - Canada - * `KY` - Cayman Islands - * `CF` - Central African Republic - * `TD` - Chad - * `CL` - Chile - * `CN` - China - * `CX` - Christmas Island - * `CC` - Cocos (Keeling) Islands - * `CO` - Colombia - * `KM` - Comoros - * `CG` - Congo - * `CD` - Congo (the Democratic Republic of the) - * `CK` - Cook Islands - * `CR` - Costa Rica - * `CI` - Côte d'Ivoire - * `HR` - Croatia - * `CU` - Cuba - * `CW` - Curaçao - * `CY` - Cyprus - * `CZ` - Czechia - * `DK` - Denmark - * `DJ` - Djibouti - * `DM` - Dominica - * `DO` - Dominican Republic - * `EC` - Ecuador - * `EG` - Egypt - * `SV` - El Salvador - * `GQ` - Equatorial Guinea - * `ER` - Eritrea - * `EE` - Estonia - * `SZ` - Eswatini - * `ET` - Ethiopia - * `FK` - Falkland Islands (Malvinas) - * `FO` - Faroe Islands - * `FJ` - Fiji - * `FI` - Finland - * `FR` - France - * `GF` - French Guiana - * `PF` - French Polynesia - * `TF` - French Southern Territories - * `GA` - Gabon - * `GM` - Gambia - * `GE` - Georgia - * `DE` - Germany - * `GH` - Ghana - * `GI` - Gibraltar - * `GR` - Greece - * `GL` - Greenland - * `GD` - Grenada - * `GP` - Guadeloupe - * `GU` - Guam - * `GT` - Guatemala - * `GG` - Guernsey - * `GN` - Guinea - * `GW` - Guinea-Bissau - * `GY` - Guyana - * `HT` - Haiti - * `HM` - Heard Island and McDonald Islands - * `VA` - Holy See - * `HN` - Honduras - * `HK` - Hong Kong - * `HU` - Hungary - * `IS` - Iceland - * `IN` - India - * `ID` - Indonesia - * `IR` - Iran - * `IQ` - Iraq - * `IE` - Ireland - * `IM` - Isle of Man - * `IL` - Israel - * `IT` - Italy - * `JM` - Jamaica - * `JP` - Japan - * `JE` - Jersey - * `JO` - Jordan - * `KZ` - Kazakhstan - * `KE` - Kenya - * `KI` - Kiribati - * `KW` - Kuwait - * `KG` - Kyrgyzstan - * `LA` - Laos - * `LV` - Latvia - * `LB` - Lebanon - * `LS` - Lesotho - * `LR` - Liberia - * `LY` - Libya - * `LI` - Liechtenstein - * `LT` - Lithuania - * `LU` - Luxembourg - * `MO` - Macao - * `MG` - Madagascar - * `MW` - Malawi - * `MY` - Malaysia - * `MV` - Maldives - * `ML` - Mali - * `MT` - Malta - * `MH` - Marshall Islands - * `MQ` - Martinique - * `MR` - Mauritania - * `MU` - Mauritius - * `YT` - Mayotte - * `MX` - Mexico - * `FM` - Micronesia (Federated States of) - * `MD` - Moldova - * `MC` - Monaco - * `MN` - Mongolia - * `ME` - Montenegro - * `MS` - Montserrat - * `MA` - Morocco - * `MZ` - Mozambique - * `MM` - Myanmar - * `NA` - Namibia - * `NR` - Nauru - * `NP` - Nepal - * `NL` - Netherlands - * `NC` - New Caledonia - * `NZ` - New Zealand - * `NI` - Nicaragua - * `NE` - Niger - * `NG` - Nigeria - * `NU` - Niue - * `NF` - Norfolk Island - * `KP` - North Korea - * `MK` - North Macedonia - * `MP` - Northern Mariana Islands - * `NO` - Norway - * `OM` - Oman - * `PK` - Pakistan - * `PW` - Palau - * `PS` - Palestine, State of - * `PA` - Panama - * `PG` - Papua New Guinea - * `PY` - Paraguay - * `PE` - Peru - * `PH` - Philippines - * `PN` - Pitcairn - * `PL` - Poland - * `PT` - Portugal - * `PR` - Puerto Rico - * `QA` - Qatar - * `RE` - Réunion - * `RO` - Romania - * `RU` - Russia - * `RW` - Rwanda - * `BL` - Saint Barthélemy - * `SH` - Saint Helena, Ascension and Tristan da Cunha - * `KN` - Saint Kitts and Nevis - * `LC` - Saint Lucia - * `MF` - Saint Martin (French part) - * `PM` - Saint Pierre and Miquelon - * `VC` - Saint Vincent and the Grenadines - * `WS` - Samoa - * `SM` - San Marino - * `ST` - Sao Tome and Principe - * `SA` - Saudi Arabia - * `SN` - Senegal - * `RS` - Serbia - * `SC` - Seychelles - * `SL` - Sierra Leone - * `SG` - Singapore - * `SX` - Sint Maarten (Dutch part) - * `SK` - Slovakia - * `SI` - Slovenia - * `SB` - Solomon Islands - * `SO` - Somalia - * `ZA` - South Africa - * `GS` - South Georgia and the South Sandwich Islands - * `KR` - South Korea - * `SS` - South Sudan - * `ES` - Spain - * `LK` - Sri Lanka - * `SD` - Sudan - * `SR` - Suriname - * `SJ` - Svalbard and Jan Mayen - * `SE` - Sweden - * `CH` - Switzerland - * `SY` - Syria - * `TW` - Taiwan - * `TJ` - Tajikistan - * `TZ` - Tanzania - * `TH` - Thailand - * `TL` - Timor-Leste - * `TG` - Togo - * `TK` - Tokelau - * `TO` - Tonga - * `TT` - Trinidad and Tobago - * `TN` - Tunisia - * `TR` - Turkey - * `TM` - Turkmenistan - * `TC` - Turks and Caicos Islands - * `TV` - Tuvalu - * `UG` - Uganda - * `UA` - Ukraine - * `AE` - United Arab Emirates - * `GB` - United Kingdom - * `UM` - United States Minor Outlying Islands - * `US` - United States of America - * `UY` - Uruguay - * `UZ` - Uzbekistan - * `VU` - Vanuatu - * `VE` - Venezuela - * `VN` - Vietnam - * `VG` - Virgin Islands (British) - * `VI` - Virgin Islands (U.S.) - * `WF` - Wallis and Futuna - * `EH` - Western Sahara - * `YE` - Yemen - * `ZM` - Zambia - * `ZW` - Zimbabwe - union: - - CountryEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - LocationLocationType: - discriminated: false - docs: |- - The location's type. Can be either WORK or HOME - - * `HOME` - HOME - * `WORK` - WORK - union: - - LocationTypeEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - Location: - docs: >- - # The Location Object - - ### Description - - The `Location` object is used to represent an address that can be - associated with an employee. - - - ### Usage Example - - Fetch from the `LIST Locations` endpoint and filter by `ID` to show all - office locations. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - name: - type: optional - docs: The location's name. - phone_number: - type: optional - docs: The location's phone number. - street_1: - type: optional - docs: Line 1 of the location's street address. - street_2: - type: optional - docs: Line 2 of the location's street address. - city: - type: optional - docs: The location's city. - state: - type: optional - docs: The location's state. Represents a region if outside of the US. - zip_code: - type: optional - docs: The location's zip code or postal code. - country: - type: optional - docs: |- - The location's country. - - * `AF` - Afghanistan - * `AX` - Åland Islands - * `AL` - Albania - * `DZ` - Algeria - * `AS` - American Samoa - * `AD` - Andorra - * `AO` - Angola - * `AI` - Anguilla - * `AQ` - Antarctica - * `AG` - Antigua and Barbuda - * `AR` - Argentina - * `AM` - Armenia - * `AW` - Aruba - * `AU` - Australia - * `AT` - Austria - * `AZ` - Azerbaijan - * `BS` - Bahamas - * `BH` - Bahrain - * `BD` - Bangladesh - * `BB` - Barbados - * `BY` - Belarus - * `BE` - Belgium - * `BZ` - Belize - * `BJ` - Benin - * `BM` - Bermuda - * `BT` - Bhutan - * `BO` - Bolivia - * `BQ` - Bonaire, Sint Eustatius and Saba - * `BA` - Bosnia and Herzegovina - * `BW` - Botswana - * `BV` - Bouvet Island - * `BR` - Brazil - * `IO` - British Indian Ocean Territory - * `BN` - Brunei - * `BG` - Bulgaria - * `BF` - Burkina Faso - * `BI` - Burundi - * `CV` - Cabo Verde - * `KH` - Cambodia - * `CM` - Cameroon - * `CA` - Canada - * `KY` - Cayman Islands - * `CF` - Central African Republic - * `TD` - Chad - * `CL` - Chile - * `CN` - China - * `CX` - Christmas Island - * `CC` - Cocos (Keeling) Islands - * `CO` - Colombia - * `KM` - Comoros - * `CG` - Congo - * `CD` - Congo (the Democratic Republic of the) - * `CK` - Cook Islands - * `CR` - Costa Rica - * `CI` - Côte d'Ivoire - * `HR` - Croatia - * `CU` - Cuba - * `CW` - Curaçao - * `CY` - Cyprus - * `CZ` - Czechia - * `DK` - Denmark - * `DJ` - Djibouti - * `DM` - Dominica - * `DO` - Dominican Republic - * `EC` - Ecuador - * `EG` - Egypt - * `SV` - El Salvador - * `GQ` - Equatorial Guinea - * `ER` - Eritrea - * `EE` - Estonia - * `SZ` - Eswatini - * `ET` - Ethiopia - * `FK` - Falkland Islands (Malvinas) - * `FO` - Faroe Islands - * `FJ` - Fiji - * `FI` - Finland - * `FR` - France - * `GF` - French Guiana - * `PF` - French Polynesia - * `TF` - French Southern Territories - * `GA` - Gabon - * `GM` - Gambia - * `GE` - Georgia - * `DE` - Germany - * `GH` - Ghana - * `GI` - Gibraltar - * `GR` - Greece - * `GL` - Greenland - * `GD` - Grenada - * `GP` - Guadeloupe - * `GU` - Guam - * `GT` - Guatemala - * `GG` - Guernsey - * `GN` - Guinea - * `GW` - Guinea-Bissau - * `GY` - Guyana - * `HT` - Haiti - * `HM` - Heard Island and McDonald Islands - * `VA` - Holy See - * `HN` - Honduras - * `HK` - Hong Kong - * `HU` - Hungary - * `IS` - Iceland - * `IN` - India - * `ID` - Indonesia - * `IR` - Iran - * `IQ` - Iraq - * `IE` - Ireland - * `IM` - Isle of Man - * `IL` - Israel - * `IT` - Italy - * `JM` - Jamaica - * `JP` - Japan - * `JE` - Jersey - * `JO` - Jordan - * `KZ` - Kazakhstan - * `KE` - Kenya - * `KI` - Kiribati - * `KW` - Kuwait - * `KG` - Kyrgyzstan - * `LA` - Laos - * `LV` - Latvia - * `LB` - Lebanon - * `LS` - Lesotho - * `LR` - Liberia - * `LY` - Libya - * `LI` - Liechtenstein - * `LT` - Lithuania - * `LU` - Luxembourg - * `MO` - Macao - * `MG` - Madagascar - * `MW` - Malawi - * `MY` - Malaysia - * `MV` - Maldives - * `ML` - Mali - * `MT` - Malta - * `MH` - Marshall Islands - * `MQ` - Martinique - * `MR` - Mauritania - * `MU` - Mauritius - * `YT` - Mayotte - * `MX` - Mexico - * `FM` - Micronesia (Federated States of) - * `MD` - Moldova - * `MC` - Monaco - * `MN` - Mongolia - * `ME` - Montenegro - * `MS` - Montserrat - * `MA` - Morocco - * `MZ` - Mozambique - * `MM` - Myanmar - * `NA` - Namibia - * `NR` - Nauru - * `NP` - Nepal - * `NL` - Netherlands - * `NC` - New Caledonia - * `NZ` - New Zealand - * `NI` - Nicaragua - * `NE` - Niger - * `NG` - Nigeria - * `NU` - Niue - * `NF` - Norfolk Island - * `KP` - North Korea - * `MK` - North Macedonia - * `MP` - Northern Mariana Islands - * `NO` - Norway - * `OM` - Oman - * `PK` - Pakistan - * `PW` - Palau - * `PS` - Palestine, State of - * `PA` - Panama - * `PG` - Papua New Guinea - * `PY` - Paraguay - * `PE` - Peru - * `PH` - Philippines - * `PN` - Pitcairn - * `PL` - Poland - * `PT` - Portugal - * `PR` - Puerto Rico - * `QA` - Qatar - * `RE` - Réunion - * `RO` - Romania - * `RU` - Russia - * `RW` - Rwanda - * `BL` - Saint Barthélemy - * `SH` - Saint Helena, Ascension and Tristan da Cunha - * `KN` - Saint Kitts and Nevis - * `LC` - Saint Lucia - * `MF` - Saint Martin (French part) - * `PM` - Saint Pierre and Miquelon - * `VC` - Saint Vincent and the Grenadines - * `WS` - Samoa - * `SM` - San Marino - * `ST` - Sao Tome and Principe - * `SA` - Saudi Arabia - * `SN` - Senegal - * `RS` - Serbia - * `SC` - Seychelles - * `SL` - Sierra Leone - * `SG` - Singapore - * `SX` - Sint Maarten (Dutch part) - * `SK` - Slovakia - * `SI` - Slovenia - * `SB` - Solomon Islands - * `SO` - Somalia - * `ZA` - South Africa - * `GS` - South Georgia and the South Sandwich Islands - * `KR` - South Korea - * `SS` - South Sudan - * `ES` - Spain - * `LK` - Sri Lanka - * `SD` - Sudan - * `SR` - Suriname - * `SJ` - Svalbard and Jan Mayen - * `SE` - Sweden - * `CH` - Switzerland - * `SY` - Syria - * `TW` - Taiwan - * `TJ` - Tajikistan - * `TZ` - Tanzania - * `TH` - Thailand - * `TL` - Timor-Leste - * `TG` - Togo - * `TK` - Tokelau - * `TO` - Tonga - * `TT` - Trinidad and Tobago - * `TN` - Tunisia - * `TR` - Turkey - * `TM` - Turkmenistan - * `TC` - Turks and Caicos Islands - * `TV` - Tuvalu - * `UG` - Uganda - * `UA` - Ukraine - * `AE` - United Arab Emirates - * `GB` - United Kingdom - * `UM` - United States Minor Outlying Islands - * `US` - United States of America - * `UY` - Uruguay - * `UZ` - Uzbekistan - * `VU` - Vanuatu - * `VE` - Venezuela - * `VN` - Vietnam - * `VG` - Virgin Islands (British) - * `VI` - Virgin Islands (U.S.) - * `WF` - Wallis and Futuna - * `EH` - Western Sahara - * `YE` - Yemen - * `ZM` - Zambia - * `ZW` - Zimbabwe - location_type: - type: optional - docs: |- - The location's type. Can be either WORK or HOME - - * `HOME` - HOME - * `WORK` - WORK - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - LocationTypeEnum: - enum: - - HOME - - WORK - docs: |- - * `HOME` - HOME - * `WORK` - WORK - source: - openapi: openapi/openapi.yml - MaritalStatusEnum: - enum: - - SINGLE - - MARRIED_FILING_JOINTLY - - MARRIED_FILING_SEPARATELY - - HEAD_OF_HOUSEHOLD - - QUALIFYING_WIDOW_OR_WIDOWER_WITH_DEPENDENT_CHILD - docs: >- - * `SINGLE` - SINGLE - - * `MARRIED_FILING_JOINTLY` - MARRIED_FILING_JOINTLY - - * `MARRIED_FILING_SEPARATELY` - MARRIED_FILING_SEPARATELY - - * `HEAD_OF_HOUSEHOLD` - HEAD_OF_HOUSEHOLD - - * `QUALIFYING_WIDOW_OR_WIDOWER_WITH_DEPENDENT_CHILD` - - QUALIFYING_WIDOW_OR_WIDOWER_WITH_DEPENDENT_CHILD - source: - openapi: openapi/openapi.yml - MetaResponse: - properties: - request_schema: map - remote_field_classes: optional> - status: optional - has_conditional_params: boolean - has_required_linked_account_params: boolean - source: - openapi: openapi/openapi.yml - MethodEnum: - enum: - - GET - - OPTIONS - - HEAD - - POST - - PUT - - PATCH - - DELETE - docs: |- - * `GET` - GET - * `OPTIONS` - OPTIONS - * `HEAD` - HEAD - * `POST` - POST - * `PUT` - PUT - * `PATCH` - PATCH - * `DELETE` - DELETE - source: - openapi: openapi/openapi.yml - ModelOperation: - docs: >- - # The ModelOperation Object - - ### Description - - The `ModelOperation` object is used to represent the operations that are - currently supported for a given model. - - - ### Usage Example - - View what operations are supported for the `Candidate` endpoint. - properties: - model_name: string - available_operations: list - required_post_parameters: list - supported_fields: list - source: - openapi: openapi/openapi.yml - ModelPermissionDeserializer: - properties: - is_enabled: optional - source: - openapi: openapi/openapi.yml - ModelPermissionDeserializerRequest: - properties: - is_enabled: optional - source: - openapi: openapi/openapi.yml - MultipartFormFieldRequestEncoding: - discriminated: false - docs: |- - The encoding of the value of `data`. Defaults to `RAW` if not defined. - - * `RAW` - RAW - * `BASE64` - BASE64 - * `GZIP_BASE64` - GZIP_BASE64 - union: - - EncodingEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - MultipartFormFieldRequest: - docs: >- - # The MultipartFormField Object - - ### Description - - The `MultipartFormField` object is used to represent fields in an HTTP - request using `multipart/form-data`. - - - ### Usage Example - - Create a `MultipartFormField` to define a multipart form entry. - properties: - name: - type: string - docs: The name of the form field - validation: - minLength: 1 - data: - type: string - docs: The data for the form field. - validation: - minLength: 1 - encoding: - type: optional - docs: |- - The encoding of the value of `data`. Defaults to `RAW` if not defined. - - * `RAW` - RAW - * `BASE64` - BASE64 - * `GZIP_BASE64` - GZIP_BASE64 - file_name: - type: optional - docs: The file name of the form field, if the field is for a file. - validation: - minLength: 1 - content_type: - type: optional - docs: The MIME type of the file, if the field is for a file. - validation: - minLength: 1 - source: - openapi: openapi/openapi.yml - PaginatedAccountDetailsAndActionsList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedAuditLogEventList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedBankInfoList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedBenefitList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedCompanyList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedDependentList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedEmployeeList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedEmployeePayrollRunList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedEmployerBenefitList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedEmploymentList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedGroupList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedIssueList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedLocationList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedPayGroupList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedPayrollRunList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedSyncStatusList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedTeamList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedTimeOffBalanceList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedTimeOffList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedTimesheetEntryList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PayCurrencyEnum: - enum: - - XUA - - AFN - - AFA - - ALL - - ALK - - DZD - - ADP - - AOA - - AOK - - AON - - AOR - - ARA - - ARS - - ARM - - ARP - - ARL - - AMD - - AWG - - AUD - - ATS - - AZN - - AZM - - BSD - - BHD - - BDT - - BBD - - BYN - - BYB - - BYR - - BEF - - BEC - - BEL - - BZD - - BMD - - BTN - - BOB - - BOL - - BOV - - BOP - - BAM - - BAD - - BAN - - BWP - - BRC - - BRZ - - BRE - - BRR - - BRN - - BRB - - BRL - - GBP - - BND - - BGL - - BGN - - BGO - - BGM - - BUK - - BIF - - XPF - - KHR - - CAD - - CVE - - KYD - - XAF - - CLE - - CLP - - CLF - - CNX - - CNY - - CNH - - COP - - COU - - KMF - - CDF - - CRC - - HRD - - HRK - - CUC - - CUP - - CYP - - CZK - - CSK - - DKK - - DJF - - DOP - - NLG - - XCD - - DDM - - ECS - - ECV - - EGP - - GQE - - ERN - - EEK - - ETB - - EUR - - XBA - - XEU - - XBB - - XBC - - XBD - - FKP - - FJD - - FIM - - FRF - - XFO - - XFU - - GMD - - GEK - - GEL - - DEM - - GHS - - GHC - - GIP - - XAU - - GRD - - GTQ - - GWP - - GNF - - GNS - - GYD - - HTG - - HNL - - HKD - - HUF - - IMP - - ISK - - ISJ - - INR - - IDR - - IRR - - IQD - - IEP - - ILS - - ILP - - ILR - - ITL - - JMD - - JPY - - JOD - - KZT - - KES - - KWD - - KGS - - LAK - - LVL - - LVR - - LBP - - LSL - - LRD - - LYD - - LTL - - LTT - - LUL - - LUC - - LUF - - MOP - - MKD - - MKN - - MGA - - MGF - - MWK - - MYR - - MVR - - MVP - - MLF - - MTL - - MTP - - MRU - - MRO - - MUR - - MXV - - MXN - - MXP - - MDC - - MDL - - MCF - - MNT - - MAD - - MAF - - MZE - - MZN - - MZM - - MMK - - NAD - - NPR - - ANG - - TWD - - NZD - - NIO - - NIC - - NGN - - KPW - - NOK - - OMR - - PKR - - XPD - - PAB - - PGK - - PYG - - PEI - - PEN - - PES - - PHP - - XPT - - PLN - - PLZ - - PTE - - GWE - - QAR - - XRE - - RHD - - RON - - ROL - - RUB - - RUR - - RWF - - SVC - - WST - - SAR - - RSD - - CSD - - SCR - - SLL - - XAG - - SGD - - SKK - - SIT - - SBD - - SOS - - ZAR - - ZAL - - KRH - - KRW - - KRO - - SSP - - SUR - - ESP - - ESA - - ESB - - XDR - - LKR - - SHP - - XSU - - SDD - - SDG - - SDP - - SRD - - SRG - - SZL - - SEK - - CHF - - SYP - - STN - - STD - - TVD - - TJR - - TJS - - TZS - - XTS - - THB - - XXX - - TPE - - TOP - - TTD - - TND - - TRY - - TRL - - TMT - - TMM - - USD - - USN - - USS - - UGX - - UGS - - UAH - - UAK - - AED - - UYW - - UYU - - UYP - - UYI - - UZS - - VUV - - VES - - VEB - - VEF - - VND - - VNN - - CHE - - CHW - - XOF - - YDD - - YER - - YUN - - YUD - - YUM - - YUR - - ZWN - - ZRN - - ZRZ - - ZMW - - ZMK - - ZWD - - ZWR - - ZWL - docs: >- - * `XUA` - ADB Unit of Account - - * `AFN` - Afghan Afghani - - * `AFA` - Afghan Afghani (1927–2002) - - * `ALL` - Albanian Lek - - * `ALK` - Albanian Lek (1946–1965) - - * `DZD` - Algerian Dinar - - * `ADP` - Andorran Peseta - - * `AOA` - Angolan Kwanza - - * `AOK` - Angolan Kwanza (1977–1991) - - * `AON` - Angolan New Kwanza (1990–2000) - - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - - * `ARA` - Argentine Austral - - * `ARS` - Argentine Peso - - * `ARM` - Argentine Peso (1881–1970) - - * `ARP` - Argentine Peso (1983–1985) - - * `ARL` - Argentine Peso Ley (1970–1983) - - * `AMD` - Armenian Dram - - * `AWG` - Aruban Florin - - * `AUD` - Australian Dollar - - * `ATS` - Austrian Schilling - - * `AZN` - Azerbaijani Manat - - * `AZM` - Azerbaijani Manat (1993–2006) - - * `BSD` - Bahamian Dollar - - * `BHD` - Bahraini Dinar - - * `BDT` - Bangladeshi Taka - - * `BBD` - Barbadian Dollar - - * `BYN` - Belarusian Ruble - - * `BYB` - Belarusian Ruble (1994–1999) - - * `BYR` - Belarusian Ruble (2000–2016) - - * `BEF` - Belgian Franc - - * `BEC` - Belgian Franc (convertible) - - * `BEL` - Belgian Franc (financial) - - * `BZD` - Belize Dollar - - * `BMD` - Bermudan Dollar - - * `BTN` - Bhutanese Ngultrum - - * `BOB` - Bolivian Boliviano - - * `BOL` - Bolivian Boliviano (1863–1963) - - * `BOV` - Bolivian Mvdol - - * `BOP` - Bolivian Peso - - * `BAM` - Bosnia-Herzegovina Convertible Mark - - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - - * `BWP` - Botswanan Pula - - * `BRC` - Brazilian Cruzado (1986–1989) - - * `BRZ` - Brazilian Cruzeiro (1942–1967) - - * `BRE` - Brazilian Cruzeiro (1990–1993) - - * `BRR` - Brazilian Cruzeiro (1993–1994) - - * `BRN` - Brazilian New Cruzado (1989–1990) - - * `BRB` - Brazilian New Cruzeiro (1967–1986) - - * `BRL` - Brazilian Real - - * `GBP` - British Pound - - * `BND` - Brunei Dollar - - * `BGL` - Bulgarian Hard Lev - - * `BGN` - Bulgarian Lev - - * `BGO` - Bulgarian Lev (1879–1952) - - * `BGM` - Bulgarian Socialist Lev - - * `BUK` - Burmese Kyat - - * `BIF` - Burundian Franc - - * `XPF` - CFP Franc - - * `KHR` - Cambodian Riel - - * `CAD` - Canadian Dollar - - * `CVE` - Cape Verdean Escudo - - * `KYD` - Cayman Islands Dollar - - * `XAF` - Central African CFA Franc - - * `CLE` - Chilean Escudo - - * `CLP` - Chilean Peso - - * `CLF` - Chilean Unit of Account (UF) - - * `CNX` - Chinese People’s Bank Dollar - - * `CNY` - Chinese Yuan - - * `CNH` - Chinese Yuan (offshore) - - * `COP` - Colombian Peso - - * `COU` - Colombian Real Value Unit - - * `KMF` - Comorian Franc - - * `CDF` - Congolese Franc - - * `CRC` - Costa Rican Colón - - * `HRD` - Croatian Dinar - - * `HRK` - Croatian Kuna - - * `CUC` - Cuban Convertible Peso - - * `CUP` - Cuban Peso - - * `CYP` - Cypriot Pound - - * `CZK` - Czech Koruna - - * `CSK` - Czechoslovak Hard Koruna - - * `DKK` - Danish Krone - - * `DJF` - Djiboutian Franc - - * `DOP` - Dominican Peso - - * `NLG` - Dutch Guilder - - * `XCD` - East Caribbean Dollar - - * `DDM` - East German Mark - - * `ECS` - Ecuadorian Sucre - - * `ECV` - Ecuadorian Unit of Constant Value - - * `EGP` - Egyptian Pound - - * `GQE` - Equatorial Guinean Ekwele - - * `ERN` - Eritrean Nakfa - - * `EEK` - Estonian Kroon - - * `ETB` - Ethiopian Birr - - * `EUR` - Euro - - * `XBA` - European Composite Unit - - * `XEU` - European Currency Unit - - * `XBB` - European Monetary Unit - - * `XBC` - European Unit of Account (XBC) - - * `XBD` - European Unit of Account (XBD) - - * `FKP` - Falkland Islands Pound - - * `FJD` - Fijian Dollar - - * `FIM` - Finnish Markka - - * `FRF` - French Franc - - * `XFO` - French Gold Franc - - * `XFU` - French UIC-Franc - - * `GMD` - Gambian Dalasi - - * `GEK` - Georgian Kupon Larit - - * `GEL` - Georgian Lari - - * `DEM` - German Mark - - * `GHS` - Ghanaian Cedi - - * `GHC` - Ghanaian Cedi (1979–2007) - - * `GIP` - Gibraltar Pound - - * `XAU` - Gold - - * `GRD` - Greek Drachma - - * `GTQ` - Guatemalan Quetzal - - * `GWP` - Guinea-Bissau Peso - - * `GNF` - Guinean Franc - - * `GNS` - Guinean Syli - - * `GYD` - Guyanaese Dollar - - * `HTG` - Haitian Gourde - - * `HNL` - Honduran Lempira - - * `HKD` - Hong Kong Dollar - - * `HUF` - Hungarian Forint - - * `IMP` - IMP - - * `ISK` - Icelandic Króna - - * `ISJ` - Icelandic Króna (1918–1981) - - * `INR` - Indian Rupee - - * `IDR` - Indonesian Rupiah - - * `IRR` - Iranian Rial - - * `IQD` - Iraqi Dinar - - * `IEP` - Irish Pound - - * `ILS` - Israeli New Shekel - - * `ILP` - Israeli Pound - - * `ILR` - Israeli Shekel (1980–1985) - - * `ITL` - Italian Lira - - * `JMD` - Jamaican Dollar - - * `JPY` - Japanese Yen - - * `JOD` - Jordanian Dinar - - * `KZT` - Kazakhstani Tenge - - * `KES` - Kenyan Shilling - - * `KWD` - Kuwaiti Dinar - - * `KGS` - Kyrgystani Som - - * `LAK` - Laotian Kip - - * `LVL` - Latvian Lats - - * `LVR` - Latvian Ruble - - * `LBP` - Lebanese Pound - - * `LSL` - Lesotho Loti - - * `LRD` - Liberian Dollar - - * `LYD` - Libyan Dinar - - * `LTL` - Lithuanian Litas - - * `LTT` - Lithuanian Talonas - - * `LUL` - Luxembourg Financial Franc - - * `LUC` - Luxembourgian Convertible Franc - - * `LUF` - Luxembourgian Franc - - * `MOP` - Macanese Pataca - - * `MKD` - Macedonian Denar - - * `MKN` - Macedonian Denar (1992–1993) - - * `MGA` - Malagasy Ariary - - * `MGF` - Malagasy Franc - - * `MWK` - Malawian Kwacha - - * `MYR` - Malaysian Ringgit - - * `MVR` - Maldivian Rufiyaa - - * `MVP` - Maldivian Rupee (1947–1981) - - * `MLF` - Malian Franc - - * `MTL` - Maltese Lira - - * `MTP` - Maltese Pound - - * `MRU` - Mauritanian Ouguiya - - * `MRO` - Mauritanian Ouguiya (1973–2017) - - * `MUR` - Mauritian Rupee - - * `MXV` - Mexican Investment Unit - - * `MXN` - Mexican Peso - - * `MXP` - Mexican Silver Peso (1861–1992) - - * `MDC` - Moldovan Cupon - - * `MDL` - Moldovan Leu - - * `MCF` - Monegasque Franc - - * `MNT` - Mongolian Tugrik - - * `MAD` - Moroccan Dirham - - * `MAF` - Moroccan Franc - - * `MZE` - Mozambican Escudo - - * `MZN` - Mozambican Metical - - * `MZM` - Mozambican Metical (1980–2006) - - * `MMK` - Myanmar Kyat - - * `NAD` - Namibian Dollar - - * `NPR` - Nepalese Rupee - - * `ANG` - Netherlands Antillean Guilder - - * `TWD` - New Taiwan Dollar - - * `NZD` - New Zealand Dollar - - * `NIO` - Nicaraguan Córdoba - - * `NIC` - Nicaraguan Córdoba (1988–1991) - - * `NGN` - Nigerian Naira - - * `KPW` - North Korean Won - - * `NOK` - Norwegian Krone - - * `OMR` - Omani Rial - - * `PKR` - Pakistani Rupee - - * `XPD` - Palladium - - * `PAB` - Panamanian Balboa - - * `PGK` - Papua New Guinean Kina - - * `PYG` - Paraguayan Guarani - - * `PEI` - Peruvian Inti - - * `PEN` - Peruvian Sol - - * `PES` - Peruvian Sol (1863–1965) - - * `PHP` - Philippine Peso - - * `XPT` - Platinum - - * `PLN` - Polish Zloty - - * `PLZ` - Polish Zloty (1950–1995) - - * `PTE` - Portuguese Escudo - - * `GWE` - Portuguese Guinea Escudo - - * `QAR` - Qatari Rial - - * `XRE` - RINET Funds - - * `RHD` - Rhodesian Dollar - - * `RON` - Romanian Leu - - * `ROL` - Romanian Leu (1952–2006) - - * `RUB` - Russian Ruble - - * `RUR` - Russian Ruble (1991–1998) - - * `RWF` - Rwandan Franc - - * `SVC` - Salvadoran Colón - - * `WST` - Samoan Tala - - * `SAR` - Saudi Riyal - - * `RSD` - Serbian Dinar - - * `CSD` - Serbian Dinar (2002–2006) - - * `SCR` - Seychellois Rupee - - * `SLL` - Sierra Leonean Leone - - * `XAG` - Silver - - * `SGD` - Singapore Dollar - - * `SKK` - Slovak Koruna - - * `SIT` - Slovenian Tolar - - * `SBD` - Solomon Islands Dollar - - * `SOS` - Somali Shilling - - * `ZAR` - South African Rand - - * `ZAL` - South African Rand (financial) - - * `KRH` - South Korean Hwan (1953–1962) - - * `KRW` - South Korean Won - - * `KRO` - South Korean Won (1945–1953) - - * `SSP` - South Sudanese Pound - - * `SUR` - Soviet Rouble - - * `ESP` - Spanish Peseta - - * `ESA` - Spanish Peseta (A account) - - * `ESB` - Spanish Peseta (convertible account) - - * `XDR` - Special Drawing Rights - - * `LKR` - Sri Lankan Rupee - - * `SHP` - St. Helena Pound - - * `XSU` - Sucre - - * `SDD` - Sudanese Dinar (1992–2007) - - * `SDG` - Sudanese Pound - - * `SDP` - Sudanese Pound (1957–1998) - - * `SRD` - Surinamese Dollar - - * `SRG` - Surinamese Guilder - - * `SZL` - Swazi Lilangeni - - * `SEK` - Swedish Krona - - * `CHF` - Swiss Franc - - * `SYP` - Syrian Pound - - * `STN` - São Tomé & Príncipe Dobra - - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - - * `TVD` - TVD - - * `TJR` - Tajikistani Ruble - - * `TJS` - Tajikistani Somoni - - * `TZS` - Tanzanian Shilling - - * `XTS` - Testing Currency Code - - * `THB` - Thai Baht - - * `XXX` - The codes assigned for transactions where no currency is - involved - - * `TPE` - Timorese Escudo - - * `TOP` - Tongan Paʻanga - - * `TTD` - Trinidad & Tobago Dollar - - * `TND` - Tunisian Dinar - - * `TRY` - Turkish Lira - - * `TRL` - Turkish Lira (1922–2005) - - * `TMT` - Turkmenistani Manat - - * `TMM` - Turkmenistani Manat (1993–2009) - - * `USD` - US Dollar - - * `USN` - US Dollar (Next day) - - * `USS` - US Dollar (Same day) - - * `UGX` - Ugandan Shilling - - * `UGS` - Ugandan Shilling (1966–1987) - - * `UAH` - Ukrainian Hryvnia - - * `UAK` - Ukrainian Karbovanets - - * `AED` - United Arab Emirates Dirham - - * `UYW` - Uruguayan Nominal Wage Index Unit - - * `UYU` - Uruguayan Peso - - * `UYP` - Uruguayan Peso (1975–1993) - - * `UYI` - Uruguayan Peso (Indexed Units) - - * `UZS` - Uzbekistani Som - - * `VUV` - Vanuatu Vatu - - * `VES` - Venezuelan Bolívar - - * `VEB` - Venezuelan Bolívar (1871–2008) - - * `VEF` - Venezuelan Bolívar (2008–2018) - - * `VND` - Vietnamese Dong - - * `VNN` - Vietnamese Dong (1978–1985) - - * `CHE` - WIR Euro - - * `CHW` - WIR Franc - - * `XOF` - West African CFA Franc - - * `YDD` - Yemeni Dinar - - * `YER` - Yemeni Rial - - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - - * `YUM` - Yugoslavian New Dinar (1994–2002) - - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - - * `ZWN` - ZWN - - * `ZRN` - Zairean New Zaire (1993–1998) - - * `ZRZ` - Zairean Zaire (1971–1993) - - * `ZMW` - Zambian Kwacha - - * `ZMK` - Zambian Kwacha (1968–2012) - - * `ZWD` - Zimbabwean Dollar (1980–2008) - - * `ZWR` - Zimbabwean Dollar (2008) - - * `ZWL` - Zimbabwean Dollar (2009) - source: - openapi: openapi/openapi.yml - PayFrequencyEnum: - enum: - - WEEKLY - - BIWEEKLY - - MONTHLY - - QUARTERLY - - SEMIANNUALLY - - ANNUALLY - - value: THIRTEEN-MONTHLY - name: ThirteenMonthly - - PRO_RATA - - SEMIMONTHLY - docs: |- - * `WEEKLY` - WEEKLY - * `BIWEEKLY` - BIWEEKLY - * `MONTHLY` - MONTHLY - * `QUARTERLY` - QUARTERLY - * `SEMIANNUALLY` - SEMIANNUALLY - * `ANNUALLY` - ANNUALLY - * `THIRTEEN-MONTHLY` - THIRTEEN-MONTHLY - * `PRO_RATA` - PRO_RATA - * `SEMIMONTHLY` - SEMIMONTHLY - source: - openapi: openapi/openapi.yml - PayGroup: - docs: >- - # The PayGroup Object - - ### Description - - The `PayGroup` object is used to represent a subset of employees that are - put together for payroll processing purposes. - - - ### Usage Example - - Fetch from the `LIST PayGroup` endpoint and filter by `ID` to show all pay - group information. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - pay_group_name: - type: optional - docs: The pay group name. - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - PayPeriodEnum: - enum: - - HOUR - - DAY - - WEEK - - EVERY_TWO_WEEKS - - SEMIMONTHLY - - MONTH - - QUARTER - - EVERY_SIX_MONTHS - - YEAR - docs: |- - * `HOUR` - HOUR - * `DAY` - DAY - * `WEEK` - WEEK - * `EVERY_TWO_WEEKS` - EVERY_TWO_WEEKS - * `SEMIMONTHLY` - SEMIMONTHLY - * `MONTH` - MONTH - * `QUARTER` - QUARTER - * `EVERY_SIX_MONTHS` - EVERY_SIX_MONTHS - * `YEAR` - YEAR - source: - openapi: openapi/openapi.yml - PayrollRunRunState: - discriminated: false - docs: |- - The state of the payroll run - - * `PAID` - PAID - * `DRAFT` - DRAFT - * `APPROVED` - APPROVED - * `FAILED` - FAILED - * `CLOSED` - CLOSED - union: - - RunStateEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - PayrollRunRunType: - discriminated: false - docs: |- - The type of the payroll run - - * `REGULAR` - REGULAR - * `OFF_CYCLE` - OFF_CYCLE - * `CORRECTION` - CORRECTION - * `TERMINATION` - TERMINATION - * `SIGN_ON_BONUS` - SIGN_ON_BONUS - union: - - RunTypeEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - PayrollRun: - docs: >- - # The PayrollRun Object - - ### Description - - The `PayrollRun` object is used to represent a group of pay statements for - a specific pay schedule. - - - ### Usage Example - - Fetch from the `LIST PayrollRuns` endpoint and filter by `ID` to show all - payroll runs. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - run_state: - type: optional - docs: |- - The state of the payroll run - - * `PAID` - PAID - * `DRAFT` - DRAFT - * `APPROVED` - APPROVED - * `FAILED` - FAILED - * `CLOSED` - CLOSED - run_type: - type: optional - docs: |- - The type of the payroll run - - * `REGULAR` - REGULAR - * `OFF_CYCLE` - OFF_CYCLE - * `CORRECTION` - CORRECTION - * `TERMINATION` - TERMINATION - * `SIGN_ON_BONUS` - SIGN_ON_BONUS - start_date: - type: optional - docs: The day and time the payroll run started. - end_date: - type: optional - docs: The day and time the payroll run ended. - check_date: - type: optional - docs: The day and time the payroll run was checked. - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - PolicyTypeEnum: - enum: - - VACATION - - SICK - - PERSONAL - - JURY_DUTY - - VOLUNTEER - - BEREAVEMENT - docs: |- - * `VACATION` - VACATION - * `SICK` - SICK - * `PERSONAL` - PERSONAL - * `JURY_DUTY` - JURY_DUTY - * `VOLUNTEER` - VOLUNTEER - * `BEREAVEMENT` - BEREAVEMENT - source: - openapi: openapi/openapi.yml - ReasonEnum: - enum: - - GENERAL_CUSTOMER_REQUEST - - GDPR - - OTHER - docs: |- - * `GENERAL_CUSTOMER_REQUEST` - GENERAL_CUSTOMER_REQUEST - * `GDPR` - GDPR - * `OTHER` - OTHER - source: - openapi: openapi/openapi.yml - RelationshipEnum: - enum: - - CHILD - - SPOUSE - - DOMESTIC_PARTNER - docs: |- - * `CHILD` - CHILD - * `SPOUSE` - SPOUSE - * `DOMESTIC_PARTNER` - DOMESTIC_PARTNER - source: - openapi: openapi/openapi.yml - RemoteData: - docs: >- - # The RemoteData Object - - ### Description - - The `RemoteData` object is used to represent the full data pulled from the - third-party API for an object. - - - ### Usage Example - - TODO - properties: - path: - type: string - docs: The third-party API path that is being called. - data: - type: optional - docs: >- - The data returned from the third-party for this object in its - original, unnormalized format. - access: read-only - source: - openapi: openapi/openapi.yml - RemoteEndpointInfo: - properties: - method: string - url_path: string - field_traversal_path: list - source: - openapi: openapi/openapi.yml - RemoteFieldApiCoverage: - discriminated: false - union: - - integer - - double - source: - openapi: openapi/openapi.yml - inline: true - RemoteFieldApi: - properties: - schema: map - remote_key_name: string - remote_endpoint_info: RemoteEndpointInfo - example_values: optional> - advanced_metadata: optional - coverage: - type: optional - access: read-only - source: - openapi: openapi/openapi.yml - RemoteFieldApiResponse: - properties: - Benefit: optional> - EmployerBenefit: optional> - Company: optional> - EmployeePayrollRun: optional> - Employee: optional> - Employment: optional> - Location: optional> - PayrollRun: optional> - Team: optional> - TimeOff: optional> - TimeOffBalance: optional> - BankInfo: optional> - PayGroup: optional> - Group: optional> - Dependent: optional> - TimesheetEntry: optional> - source: - openapi: openapi/openapi.yml - RemoteKey: - docs: >- - # The RemoteKey Object - - ### Description - - The `RemoteKey` object is used to represent a request for a new remote - key. - - - ### Usage Example - - Post a `GenerateRemoteKey` to receive a new `RemoteKey`. - properties: - name: string - key: string - source: - openapi: openapi/openapi.yml - RemoteResponseResponseType: - discriminated: false - union: - - ResponseTypeEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - RemoteResponse: - docs: >- - # The RemoteResponse Object - - ### Description - - The `RemoteResponse` object is used to represent information returned from - a third-party endpoint. - - - ### Usage Example - - View the `RemoteResponse` returned from your `DataPassthrough`. - properties: - method: string - path: string - status: integer - response: unknown - response_headers: optional> - response_type: optional - headers: optional> - source: - openapi: openapi/openapi.yml - RequestFormatEnum: - enum: - - JSON - - XML - - MULTIPART - docs: |- - * `JSON` - JSON - * `XML` - XML - * `MULTIPART` - MULTIPART - source: - openapi: openapi/openapi.yml - RequestTypeEnum: - enum: - - VACATION - - SICK - - PERSONAL - - JURY_DUTY - - VOLUNTEER - - BEREAVEMENT - docs: |- - * `VACATION` - VACATION - * `SICK` - SICK - * `PERSONAL` - PERSONAL - * `JURY_DUTY` - JURY_DUTY - * `VOLUNTEER` - VOLUNTEER - * `BEREAVEMENT` - BEREAVEMENT - source: - openapi: openapi/openapi.yml - ResponseTypeEnum: - enum: - - JSON - - BASE64_GZIP - docs: |- - * `JSON` - JSON - * `BASE64_GZIP` - BASE64_GZIP - source: - openapi: openapi/openapi.yml - RoleEnum: - enum: - - ADMIN - - DEVELOPER - - MEMBER - - API - - SYSTEM - - MERGE_TEAM - docs: |- - * `ADMIN` - ADMIN - * `DEVELOPER` - DEVELOPER - * `MEMBER` - MEMBER - * `API` - API - * `SYSTEM` - SYSTEM - * `MERGE_TEAM` - MERGE_TEAM - source: - openapi: openapi/openapi.yml - RunStateEnum: - enum: - - PAID - - DRAFT - - APPROVED - - FAILED - - CLOSED - docs: |- - * `PAID` - PAID - * `DRAFT` - DRAFT - * `APPROVED` - APPROVED - * `FAILED` - FAILED - * `CLOSED` - CLOSED - source: - openapi: openapi/openapi.yml - RunTypeEnum: - enum: - - REGULAR - - OFF_CYCLE - - CORRECTION - - TERMINATION - - SIGN_ON_BONUS - docs: |- - * `REGULAR` - REGULAR - * `OFF_CYCLE` - OFF_CYCLE - * `CORRECTION` - CORRECTION - * `TERMINATION` - TERMINATION - * `SIGN_ON_BONUS` - SIGN_ON_BONUS - source: - openapi: openapi/openapi.yml - SelectiveSyncConfigurationsUsageEnum: - enum: - - IN_NEXT_SYNC - - IN_LAST_SYNC - docs: |- - * `IN_NEXT_SYNC` - IN_NEXT_SYNC - * `IN_LAST_SYNC` - IN_LAST_SYNC - source: - openapi: openapi/openapi.yml - StatusFd5Enum: - enum: - - SYNCING - - DONE - - FAILED - - DISABLED - - PAUSED - - PARTIALLY_SYNCED - docs: |- - * `SYNCING` - SYNCING - * `DONE` - DONE - * `FAILED` - FAILED - * `DISABLED` - DISABLED - * `PAUSED` - PAUSED - * `PARTIALLY_SYNCED` - PARTIALLY_SYNCED - source: - openapi: openapi/openapi.yml - SyncStatusLastSyncResult: - discriminated: false - union: - - LastSyncResultEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - SyncStatus: - docs: >- - # The SyncStatus Object - - ### Description - - The `SyncStatus` object is used to represent the syncing state of an - account - - - ### Usage Example - - View the `SyncStatus` for an account to see how recently its models were - synced. - properties: - model_name: string - model_id: string - last_sync_start: optional - next_sync_start: optional - last_sync_result: optional - last_sync_finished: optional - status: StatusFd5Enum - is_initial_sync: boolean - selective_sync_configurations_usage: optional - source: - openapi: openapi/openapi.yml - Tax: - docs: >- - # The Tax Object - - ### Description - - The `Tax` object is used to represent an array of the tax deductions for a - given employee's payroll run. - - - ### Usage Example - - Fetch from the `LIST Taxes` endpoint and filter by `ID` to show all taxes. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - employee_payroll_run: - type: optional - validation: - format: uuid - name: - type: optional - docs: The tax's name. - amount: - type: optional - docs: The tax amount. - employer_tax: - type: optional - docs: Whether or not the employer is responsible for paying the tax. - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - TeamParentTeam: - discriminated: false - docs: The team's parent team. - union: - - type: string - validation: - format: uuid - - Team - source: - openapi: openapi/openapi.yml - inline: true - Team: - docs: >- - # The Team Object - - ### Description - - The `Team` object is used to represent a subdivision of the company, - usually a department. Each employee will be grouped into one specific - Team. - - - ### Usage Example - - If you're building a way to filter by `Team`, you'd hit the `GET Teams` - endpoint to fetch the `Teams`, and then use the `ID` of the team your user - selects to filter the `GET Employees` endpoint. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - name: - type: optional - docs: The team's name. - parent_team: - type: optional - docs: The team's parent team. - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - TimeOffEmployee: - discriminated: false - docs: The employee requesting time off. - union: - - type: string - validation: - format: uuid - - Employee - source: - openapi: openapi/openapi.yml - inline: true - TimeOffApprover: - discriminated: false - docs: >- - The Merge ID of the employee with the ability to approve the time off - request. - union: - - type: string - validation: - format: uuid - - Employee - source: - openapi: openapi/openapi.yml - inline: true - TimeOffStatus: - discriminated: false - docs: |- - The status of this time off request. - - * `REQUESTED` - REQUESTED - * `APPROVED` - APPROVED - * `DECLINED` - DECLINED - * `CANCELLED` - CANCELLED - * `DELETED` - DELETED - union: - - TimeOffStatusEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - TimeOffUnits: - discriminated: false - docs: >- - The measurement that the third-party integration uses to count time - requested. - - - * `HOURS` - HOURS - - * `DAYS` - DAYS - union: - - UnitsEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - TimeOffRequestType: - discriminated: false - docs: |- - The type of time off request. - - * `VACATION` - VACATION - * `SICK` - SICK - * `PERSONAL` - PERSONAL - * `JURY_DUTY` - JURY_DUTY - * `VOLUNTEER` - VOLUNTEER - * `BEREAVEMENT` - BEREAVEMENT - union: - - RequestTypeEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - TimeOff: - docs: >- - # The TimeOff Object - - ### Description - - The `TimeOff` object is used to represent all employees' Time Off entries. - - - ### Usage Example - - Fetch from the `LIST TimeOffs` endpoint and filter by `ID` to show all - time off requests. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - employee: - type: optional - docs: The employee requesting time off. - approver: - type: optional - docs: >- - The Merge ID of the employee with the ability to approve the time off - request. - status: - type: optional - docs: |- - The status of this time off request. - - * `REQUESTED` - REQUESTED - * `APPROVED` - APPROVED - * `DECLINED` - DECLINED - * `CANCELLED` - CANCELLED - * `DELETED` - DELETED - employee_note: - type: optional - docs: The employee note for this time off request. - units: - type: optional - docs: >- - The measurement that the third-party integration uses to count time - requested. - - - * `HOURS` - HOURS - - * `DAYS` - DAYS - amount: - type: optional - docs: The time off quantity measured by the prescribed “units”. - request_type: - type: optional - docs: |- - The type of time off request. - - * `VACATION` - VACATION - * `SICK` - SICK - * `PERSONAL` - PERSONAL - * `JURY_DUTY` - JURY_DUTY - * `VOLUNTEER` - VOLUNTEER - * `BEREAVEMENT` - BEREAVEMENT - start_time: - type: optional - docs: The day and time of the start of the time requested off. - end_time: - type: optional - docs: The day and time of the end of the time requested off. - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - TimeOffBalanceEmployee: - discriminated: false - docs: The employee the balance belongs to. - union: - - type: string - validation: - format: uuid - - Employee - source: - openapi: openapi/openapi.yml - inline: true - TimeOffBalancePolicyType: - discriminated: false - docs: |- - The policy type of this time off balance. - - * `VACATION` - VACATION - * `SICK` - SICK - * `PERSONAL` - PERSONAL - * `JURY_DUTY` - JURY_DUTY - * `VOLUNTEER` - VOLUNTEER - * `BEREAVEMENT` - BEREAVEMENT - union: - - PolicyTypeEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - TimeOffBalance: - docs: >- - # The TimeOffBalance Object - - ### Description - - The `TimeOffBalance` object is used to represent current balances for an - employee's Time Off plan. - - - ### Usage Example - - Fetch from the `LIST TimeOffBalances` endpoint and filter by `ID` to show - all time off balances. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - employee: - type: optional - docs: The employee the balance belongs to. - balance: - type: optional - docs: >- - The current remaining PTO balance, measured in hours. For integrations - that return this value in days, Merge multiplies by 8 to calculate - hours. - used: - type: optional - docs: >- - The amount of PTO used in terms of hours. For integrations that return - this value in days, Merge multiplies by 8 to calculate hours. - policy_type: - type: optional - docs: |- - The policy type of this time off balance. - - * `VACATION` - VACATION - * `SICK` - SICK - * `PERSONAL` - PERSONAL - * `JURY_DUTY` - JURY_DUTY - * `VOLUNTEER` - VOLUNTEER - * `BEREAVEMENT` - BEREAVEMENT - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - TimeOffRequestEmployee: - discriminated: false - docs: The employee requesting time off. - union: - - type: string - validation: - format: uuid - - Employee - source: - openapi: openapi/openapi.yml - inline: true - TimeOffRequestApprover: - discriminated: false - docs: >- - The Merge ID of the employee with the ability to approve the time off - request. - union: - - type: string - validation: - format: uuid - - Employee - source: - openapi: openapi/openapi.yml - inline: true - TimeOffRequestStatus: - discriminated: false - docs: |- - The status of this time off request. - - * `REQUESTED` - REQUESTED - * `APPROVED` - APPROVED - * `DECLINED` - DECLINED - * `CANCELLED` - CANCELLED - * `DELETED` - DELETED - union: - - TimeOffStatusEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - TimeOffRequestUnits: - discriminated: false - docs: >- - The measurement that the third-party integration uses to count time - requested. - - - * `HOURS` - HOURS - - * `DAYS` - DAYS - union: - - UnitsEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - TimeOffRequestRequestType: - discriminated: false - docs: |- - The type of time off request. - - * `VACATION` - VACATION - * `SICK` - SICK - * `PERSONAL` - PERSONAL - * `JURY_DUTY` - JURY_DUTY - * `VOLUNTEER` - VOLUNTEER - * `BEREAVEMENT` - BEREAVEMENT - union: - - RequestTypeEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - TimeOffRequest: - docs: >- - # The TimeOff Object - - ### Description - - The `TimeOff` object is used to represent all employees' Time Off entries. - - - ### Usage Example - - Fetch from the `LIST TimeOffs` endpoint and filter by `ID` to show all - time off requests. - properties: - employee: - type: optional - docs: The employee requesting time off. - approver: - type: optional - docs: >- - The Merge ID of the employee with the ability to approve the time off - request. - status: - type: optional - docs: |- - The status of this time off request. - - * `REQUESTED` - REQUESTED - * `APPROVED` - APPROVED - * `DECLINED` - DECLINED - * `CANCELLED` - CANCELLED - * `DELETED` - DELETED - employee_note: - type: optional - docs: The employee note for this time off request. - units: - type: optional - docs: >- - The measurement that the third-party integration uses to count time - requested. - - - * `HOURS` - HOURS - - * `DAYS` - DAYS - amount: - type: optional - docs: The time off quantity measured by the prescribed “units”. - request_type: - type: optional - docs: |- - The type of time off request. - - * `VACATION` - VACATION - * `SICK` - SICK - * `PERSONAL` - PERSONAL - * `JURY_DUTY` - JURY_DUTY - * `VOLUNTEER` - VOLUNTEER - * `BEREAVEMENT` - BEREAVEMENT - start_time: - type: optional - docs: The day and time of the start of the time requested off. - end_time: - type: optional - docs: The day and time of the end of the time requested off. - integration_params: - type: optional> - access: write-only - linked_account_params: - type: optional> - access: write-only - source: - openapi: openapi/openapi.yml - TimeOffResponse: - properties: - model: TimeOff - warnings: list - errors: list - logs: optional> - source: - openapi: openapi/openapi.yml - TimeOffStatusEnum: - enum: - - REQUESTED - - APPROVED - - DECLINED - - CANCELLED - - DELETED - docs: |- - * `REQUESTED` - REQUESTED - * `APPROVED` - APPROVED - * `DECLINED` - DECLINED - * `CANCELLED` - CANCELLED - * `DELETED` - DELETED - source: - openapi: openapi/openapi.yml - TimesheetEntryEmployee: - discriminated: false - docs: The employee the timesheet entry is for. - union: - - type: string - validation: - format: uuid - - Employee - source: - openapi: openapi/openapi.yml - inline: true - TimesheetEntry: - docs: >- - # The Timesheet Entry Object - - ### Description - - The `Timesheet Entry` object is used to track coverage for hours worked by - an 'Employee'. - - - - ### Usage Example - - GET and POST Timesheet Entries - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - employee: - type: optional - docs: The employee the timesheet entry is for. - hours_worked: - type: optional - docs: The number of hours logged by the employee. - start_time: - type: optional - docs: The time at which the employee started work. - end_time: - type: optional - docs: The time at which the employee ended work. - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - TimesheetEntryRequestEmployee: - discriminated: false - docs: The employee the timesheet entry is for. - union: - - type: string - validation: - format: uuid - - Employee - source: - openapi: openapi/openapi.yml - inline: true - TimesheetEntryRequest: - docs: >- - # The Timesheet Entry Object - - ### Description - - The `Timesheet Entry` object is used to track coverage for hours worked by - an 'Employee'. - - - - ### Usage Example - - GET and POST Timesheet Entries - properties: - employee: - type: optional - docs: The employee the timesheet entry is for. - hours_worked: - type: optional - docs: The number of hours logged by the employee. - start_time: - type: optional - docs: The time at which the employee started work. - end_time: - type: optional - docs: The time at which the employee ended work. - integration_params: - type: optional> - access: write-only - linked_account_params: - type: optional> - access: write-only - source: - openapi: openapi/openapi.yml - TimesheetEntryResponse: - properties: - model: TimesheetEntry - warnings: list - errors: list - logs: optional> - source: - openapi: openapi/openapi.yml - UnitsEnum: - enum: - - HOURS - - DAYS - docs: |- - * `HOURS` - HOURS - * `DAYS` - DAYS - source: - openapi: openapi/openapi.yml - ValidationProblemSource: - properties: - pointer: string - source: - openapi: openapi/openapi.yml - WarningValidationProblem: - properties: - source: optional - title: string - detail: string - problem_type: string - source: - openapi: openapi/openapi.yml - WebhookReceiver: - properties: - event: string - is_active: boolean - key: optional - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/hris/accountDetails.yml b/.mock/definition/hris/accountDetails.yml deleted file mode 100644 index 633c7600..00000000 --- a/.mock/definition/hris/accountDetails.yml +++ /dev/null @@ -1,38 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - retrieve: - path: /hris/v1/account-details - method: GET - auth: - - tokenAuth: [] - docs: Get details for a linked account. - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: root.AccountDetails - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - id: 0496d4c2-42e6-4072-80b3-7b69bfdc76fd - integration: BambooHR - integration_slug: bamboohr - category: hris - end_user_origin_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - end_user_organization_name: Waystar Royco - end_user_email_address: kendall.roy@waystar-royco.com - status: COMPLETE - webhook_listener_url: >- - https://api.merge.dev/api/integrations/webhook-listener/7fc3mee0UW8ecV4 - is_duplicate: true - account_type: PRODUCTION - completed_at: '2024-08-26T20:11:19Z' - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/hris/accountToken.yml b/.mock/definition/hris/accountToken.yml deleted file mode 100644 index ac90a13e..00000000 --- a/.mock/definition/hris/accountToken.yml +++ /dev/null @@ -1,47 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - retrieve: - path: /hris/v1/account-token/{public_token} - method: GET - auth: - - tokenAuth: [] - docs: >- - Returns the account token for the end user with the provided public - token. - source: - openapi: openapi/openapi.yml - path-parameters: - public_token: string - response: - docs: '' - type: root.AccountToken - status-code: 200 - examples: - - path-parameters: - public_token: public_token - headers: - X-Account-Token: '[object Object]' - response: - body: - account_token: T9klMDQrcHdm9jrtHuOS2Nf06BIHwMNjpPXPMB - integration: - name: name - abbreviated_name: abbreviated_name - categories: - - hris - image: image - square_image: square_image - color: color - slug: slug - api_endpoints_to_documentation_urls: - key: value - webhook_setup_guide_url: webhook_setup_guide_url - category_beta_status: - key: value - id: 0496d4c2-42e6-4072-80b3-7b69bfdc76fd - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/hris/asyncPassthrough.yml b/.mock/definition/hris/asyncPassthrough.yml deleted file mode 100644 index a7579b75..00000000 --- a/.mock/definition/hris/asyncPassthrough.yml +++ /dev/null @@ -1,78 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - create: - path: /hris/v1/async-passthrough - method: POST - auth: - - tokenAuth: [] - docs: >- - Asynchronously pull data from an endpoint not currently supported by - Merge. - source: - openapi: openapi/openapi.yml - request: - body: root.DataPassthroughRequest - content-type: application/json - response: - docs: '' - type: root.AsyncPassthroughReciept - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - request: - method: GET - path: /scooters - response: - body: - async_passthrough_receipt_id: fd29020f-2695-445e-922e-dcd5e81903fd - retrieve: - path: /hris/v1/async-passthrough/{async_passthrough_receipt_id} - method: GET - auth: - - tokenAuth: [] - docs: Retrieves data from earlier async-passthrough POST request - source: - openapi: openapi/openapi.yml - path-parameters: - async_passthrough_receipt_id: string - response: - docs: '' - type: AsyncPassthroughRetrieveResponse - status-code: 200 - examples: - - path-parameters: - async_passthrough_receipt_id: async_passthrough_receipt_id - headers: - X-Account-Token: X-Account-Token - response: - body: - method: GET - path: /scooters - status: 200 - response: - scooters: - - company: Lime - model: Gen 2.5 - - company: Bird - model: Bird Zero - response_headers: - X-Page-Token: value - response_type: JSON - headers: - EXTRA-HEADER: value - Authorization: - source: - openapi: openapi/openapi.yml -types: - AsyncPassthroughRetrieveResponse: - discriminated: false - union: - - root.RemoteResponse - - string - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/hris/auditTrail.yml b/.mock/definition/hris/auditTrail.yml deleted file mode 100644 index 153cf6f4..00000000 --- a/.mock/definition/hris/auditTrail.yml +++ /dev/null @@ -1,104 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /hris/v1/audit-trail - method: GET - auth: - - tokenAuth: [] - docs: Gets a list of audit trail events. - source: - openapi: openapi/openapi.yml - request: - name: AuditTrailListRequest - query-parameters: - cursor: - type: optional - docs: The pagination cursor value. - end_date: - type: optional - docs: >- - If included, will only include audit trail events that occurred - before this time - event_type: - type: optional - docs: >- - If included, will only include events with the given event type. - Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, - `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, - `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, - `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, - `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, - `DELETED_LINKED_ACCOUNT`, - `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, - `CREATED_DESTINATION`, `DELETED_DESTINATION`, - `CHANGED_DESTINATION`, `CHANGED_SCOPES`, - `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, - `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, - `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, - `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, - `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, - `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, - `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, - `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, - `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, - `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, - `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, - `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, - `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, - `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, - `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, - `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, - `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, - `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, - `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, - `END_USER_CREDENTIALS_ACCESSED` - page_size: - type: optional - docs: Number of results to return per page. - start_date: - type: optional - docs: >- - If included, will only include audit trail events that occurred - after this time - user_email: - type: optional - docs: >- - If provided, this will return events associated with the specified - user email. Please note that the email address reflects the user's - email at the time of the event, and may not be their current - email. - response: - docs: '' - type: root.PaginatedAuditLogEventList - status-code: 200 - examples: - - query-parameters: - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - end_date: end_date - event_type: event_type - page_size: 1 - start_date: start_date - user_email: user_email - headers: - X-Account-Token: '[object Object]' - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: b5ceea2a-7171-47ce-8090-165cfce5572c - user_name: Gil Feig - user_email: hello@merge.dev - role: ADMIN - ip_address: 192.0.2.123 - event_type: CREATED_REMOTE_PRODUCTION_API_KEY - event_description: >- - Organization-wide Scopes for model hris.Employee updated - from Read to Read+Write - created_at: '2024-01-15T09:30:00Z' - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/hris/availableActions.yml b/.mock/definition/hris/availableActions.yml deleted file mode 100644 index f486ef90..00000000 --- a/.mock/definition/hris/availableActions.yml +++ /dev/null @@ -1,52 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - retrieve: - path: /hris/v1/available-actions - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of models and actions available for an account. - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: root.AvailableActions - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - integration: - name: name - abbreviated_name: abbreviated_name - categories: - - hris - image: image - square_image: square_image - color: color - slug: slug - api_endpoints_to_documentation_urls: - key: value - webhook_setup_guide_url: webhook_setup_guide_url - category_beta_status: - key: value - passthrough_available: true - available_model_operations: - - model_name: Candidate - available_operations: - - FETCH - - CREATE - required_post_parameters: - - remote_user_id - supported_fields: - - first_name - - last_name - - company - - title - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/hris/bankInfo.yml b/.mock/definition/hris/bankInfo.yml deleted file mode 100644 index c4dc4653..00000000 --- a/.mock/definition/hris/bankInfo.yml +++ /dev/null @@ -1,240 +0,0 @@ -types: - BankInfoListRequestAccountType: - enum: - - CHECKING - - SAVINGS - source: - openapi: openapi/openapi.yml - BankInfoListRequestOrderBy: - enum: - - value: '-remote_created_at' - name: RemoteCreatedAtDescending - - value: remote_created_at - name: RemoteCreatedAtAscending - source: - openapi: openapi/openapi.yml -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /hris/v1/bank-info - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `BankInfo` objects. - source: - openapi: openapi/openapi.yml - request: - name: BankInfoListRequest - query-parameters: - account_type: - type: optional - docs: >- - If provided, will only return BankInfo's with this account type. - Options: ('SAVINGS', 'CHECKING') - - - * `SAVINGS` - SAVINGS - - * `CHECKING` - CHECKING - bank_name: - type: optional - docs: If provided, will only return BankInfo's with this bank name. - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - employee_id: - type: optional - docs: If provided, will only return bank accounts for this employee. - expand: - type: optional> - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - order_by: - type: optional - docs: >- - Overrides the default ordering for this endpoint. Possible values - include: remote_created_at, -remote_created_at. - page_size: - type: optional - docs: Number of results to return per page. The maximum limit is 100. - remote_fields: - type: optional> - docs: Deprecated. Use show_enum_origins. - remote_id: - type: optional - docs: The API provider's ID for the given object. - show_enum_origins: - type: optional> - docs: >- - A comma separated list of enum field names for which you'd like - the original values to be returned, instead of Merge's normalized - enum values. [Learn - more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - response: - docs: '' - type: root.PaginatedBankInfoList - status-code: 200 - examples: - - query-parameters: - account_type: CHECKING - bank_name: bank_name - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - employee_id: employee_id - expand: employee - include_deleted_data: true - include_remote_data: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - order_by: '-remote_created_at' - page_size: 1 - remote_fields: account_type - remote_id: remote_id - show_enum_origins: account_type - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: fd1e0fb5-8f92-4ec9-9f32-179cf732867d - remote_id: '123234' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - employee: employee - account_number: '439291590' - routing_number: '089690059' - bank_name: Chase - account_type: SAVINGS - remote_created_at: '2021-12-06T10:11:26Z' - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /bank-info - data: - - Varies by platform - retrieve: - path: /hris/v1/bank-info/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns a `BankInfo` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: BankInfoRetrieveRequest - query-parameters: - expand: - type: optional> - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - remote_fields: - type: optional> - docs: Deprecated. Use show_enum_origins. - show_enum_origins: - type: optional> - docs: >- - A comma separated list of enum field names for which you'd like - the original values to be returned, instead of Merge's normalized - enum values. [Learn - more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - response: - docs: '' - type: root.BankInfo - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - expand: employee - include_remote_data: true - include_shell_data: true - remote_fields: account_type - show_enum_origins: account_type - headers: - X-Account-Token: X-Account-Token - response: - body: - id: fd1e0fb5-8f92-4ec9-9f32-179cf732867d - remote_id: '123234' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - employee: employee - account_number: '439291590' - routing_number: '089690059' - bank_name: Chase - account_type: SAVINGS - remote_created_at: '2021-12-06T10:11:26Z' - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /bank-info - data: - - Varies by platform - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/hris/benefits.yml b/.mock/definition/hris/benefits.yml deleted file mode 100644 index 37cf5f21..00000000 --- a/.mock/definition/hris/benefits.yml +++ /dev/null @@ -1,184 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /hris/v1/benefits - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `Benefit` objects. - source: - openapi: openapi/openapi.yml - request: - name: BenefitsListRequest - query-parameters: - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - employee_id: - type: optional - docs: >- - If provided, will return the benefits associated with the - employee. - expand: - type: optional> - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - page_size: - type: optional - docs: Number of results to return per page. The maximum limit is 100. - remote_id: - type: optional - docs: The API provider's ID for the given object. - response: - docs: '' - type: root.PaginatedBenefitList - status-code: 200 - examples: - - query-parameters: - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - employee_id: employee_id - expand: employee - include_deleted_data: true - include_remote_data: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - page_size: 1 - remote_id: remote_id - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: 3fe5ae7a-f1ba-4529-b7af-84e86dc6d232 - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - employee: employee - provider_name: Blue Shield of California - employee_contribution: 23.65 - company_contribution: 150 - start_date: '2020-11-15T00:59:25Z' - end_date: '2021-10-15T00:23:25Z' - employer_benefit: 025fjlc6-6000-430a-848e-aafacbadf4fe - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /benefits - data: - - Varies by platform - retrieve: - path: /hris/v1/benefits/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns a `Benefit` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: BenefitsRetrieveRequest - query-parameters: - expand: - type: optional> - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - response: - docs: '' - type: root.Benefit - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - expand: employee - include_remote_data: true - include_shell_data: true - headers: - X-Account-Token: X-Account-Token - response: - body: - id: 3fe5ae7a-f1ba-4529-b7af-84e86dc6d232 - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - employee: employee - provider_name: Blue Shield of California - employee_contribution: 23.65 - company_contribution: 150 - start_date: '2020-11-15T00:59:25Z' - end_date: '2021-10-15T00:23:25Z' - employer_benefit: 025fjlc6-6000-430a-848e-aafacbadf4fe - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /benefits - data: - - Varies by platform - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/hris/companies.yml b/.mock/definition/hris/companies.yml deleted file mode 100644 index 952c18e7..00000000 --- a/.mock/definition/hris/companies.yml +++ /dev/null @@ -1,164 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /hris/v1/companies - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `Company` objects. - source: - openapi: openapi/openapi.yml - request: - name: CompaniesListRequest - query-parameters: - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - page_size: - type: optional - docs: Number of results to return per page. The maximum limit is 100. - remote_id: - type: optional - docs: The API provider's ID for the given object. - response: - docs: '' - type: root.PaginatedCompanyList - status-code: 200 - examples: - - query-parameters: - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - include_deleted_data: true - include_remote_data: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - page_size: 1 - remote_id: remote_id - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: 1b998423-db0a-4037-a4cf-f79c60cb67b3 - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - legal_name: Waystar Royco, Inc. - display_name: Waystar Royco - eins: - - 12-3456789 - - 12-3451111 - - 11-0011000 - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /companies - data: - - Varies by platform - retrieve: - path: /hris/v1/companies/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns a `Company` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: CompaniesRetrieveRequest - query-parameters: - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - response: - docs: '' - type: root.Company - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - include_remote_data: true - include_shell_data: true - headers: - X-Account-Token: X-Account-Token - response: - body: - id: 1b998423-db0a-4037-a4cf-f79c60cb67b3 - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - legal_name: Waystar Royco, Inc. - display_name: Waystar Royco - eins: - - 12-3456789 - - 12-3451111 - - 11-0011000 - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /companies - data: - - Varies by platform - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/hris/deleteAccount.yml b/.mock/definition/hris/deleteAccount.yml deleted file mode 100644 index 7f8e7934..00000000 --- a/.mock/definition/hris/deleteAccount.yml +++ /dev/null @@ -1,17 +0,0 @@ -service: - auth: false - base-path: '' - endpoints: - delete: - path: /hris/v1/delete-account - method: POST - auth: - - tokenAuth: [] - docs: Delete a linked account. - source: - openapi: openapi/openapi.yml - examples: - - headers: - X-Account-Token: X-Account-Token - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/hris/dependents.yml b/.mock/definition/hris/dependents.yml deleted file mode 100644 index fd6bc666..00000000 --- a/.mock/definition/hris/dependents.yml +++ /dev/null @@ -1,190 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /hris/v1/dependents - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `Dependent` objects. - source: - openapi: openapi/openapi.yml - request: - name: DependentsListRequest - query-parameters: - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - employee_id: - type: optional - docs: If provided, will only return dependents for this employee. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_sensitive_fields: - type: optional - docs: >- - Whether to include sensitive fields (such as social security - numbers) in the response. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - page_size: - type: optional - docs: Number of results to return per page. The maximum limit is 100. - remote_id: - type: optional - docs: The API provider's ID for the given object. - response: - docs: '' - type: root.PaginatedDependentList - status-code: 200 - examples: - - query-parameters: - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - employee_id: employee_id - include_deleted_data: true - include_remote_data: true - include_sensitive_fields: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - page_size: 1 - remote_id: remote_id - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: 025fjlc6-6000-430a-848e-aafacbadf4fe - remote_id: '19202940' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - first_name: Greg - middle_name: A - last_name: Hirsch - relationship: CHILD - employee: 0958cbc6-6040-430a-848e-aafacbadf4ae - date_of_birth: '1990-11-10T00:00:00Z' - gender: MALE - phone_number: '+1234567890' - home_location: d2f972d0-2526-434b-9409-4c3b468e08f0 - is_student: true - ssn: '1234567890' - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /dependent - data: - - Varies by platform - retrieve: - path: /hris/v1/dependents/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns a `Dependent` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: DependentsRetrieveRequest - query-parameters: - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_sensitive_fields: - type: optional - docs: >- - Whether to include sensitive fields (such as social security - numbers) in the response. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - response: - docs: '' - type: root.Dependent - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - include_remote_data: true - include_sensitive_fields: true - include_shell_data: true - headers: - X-Account-Token: X-Account-Token - response: - body: - id: 025fjlc6-6000-430a-848e-aafacbadf4fe - remote_id: '19202940' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - first_name: Greg - middle_name: A - last_name: Hirsch - relationship: CHILD - employee: 0958cbc6-6040-430a-848e-aafacbadf4ae - date_of_birth: '1990-11-10T00:00:00Z' - gender: MALE - phone_number: '+1234567890' - home_location: d2f972d0-2526-434b-9409-4c3b468e08f0 - is_student: true - ssn: '1234567890' - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /dependent - data: - - Varies by platform - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/hris/employeePayrollRuns.yml b/.mock/definition/hris/employeePayrollRuns.yml deleted file mode 100644 index 60958af7..00000000 --- a/.mock/definition/hris/employeePayrollRuns.yml +++ /dev/null @@ -1,361 +0,0 @@ -types: - EmployeePayrollRunsListRequestExpand: - enum: - - employee - - value: employee,payroll_run - name: EmployeePayrollRun - - payroll_run - source: - openapi: openapi/openapi.yml - EmployeePayrollRunsRetrieveRequestExpand: - enum: - - employee - - value: employee,payroll_run - name: EmployeePayrollRun - - payroll_run - source: - openapi: openapi/openapi.yml -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /hris/v1/employee-payroll-runs - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `EmployeePayrollRun` objects. - source: - openapi: openapi/openapi.yml - request: - name: EmployeePayrollRunsListRequest - query-parameters: - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - employee_id: - type: optional - docs: >- - If provided, will only return employee payroll runs for this - employee. - ended_after: - type: optional - docs: >- - If provided, will only return employee payroll runs ended after - this datetime. - ended_before: - type: optional - docs: >- - If provided, will only return employee payroll runs ended before - this datetime. - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - page_size: - type: optional - docs: Number of results to return per page. The maximum limit is 100. - payroll_run_id: - type: optional - docs: >- - If provided, will only return employee payroll runs for this - employee. - remote_id: - type: optional - docs: The API provider's ID for the given object. - started_after: - type: optional - docs: >- - If provided, will only return employee payroll runs started after - this datetime. - started_before: - type: optional - docs: >- - If provided, will only return employee payroll runs started before - this datetime. - response: - docs: '' - type: root.PaginatedEmployeePayrollRunList - status-code: 200 - examples: - - query-parameters: - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - employee_id: employee_id - ended_after: '2024-01-15T09:30:00Z' - ended_before: '2024-01-15T09:30:00Z' - expand: employee - include_deleted_data: true - include_remote_data: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - page_size: 1 - payroll_run_id: payroll_run_id - remote_id: remote_id - started_after: '2024-01-15T09:30:00Z' - started_before: '2024-01-15T09:30:00Z' - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: fb8c55b6-1cb8-4b4c-9fb6-17924231619d - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - employee: employee - payroll_run: payroll_run - gross_pay: 1342.67 - net_pay: 865.78 - start_date: '2020-11-08T00:00:00Z' - end_date: '2020-11-09T00:00:00Z' - check_date: '2020-11-10T00:00:00Z' - earnings: - - id: babbced6-3a81-4775-8da2-490dc6385259 - remote_id: '52802' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - employee_payroll_run: 35347df1-95e7-46e2-93cc-66f1191edca5 - amount: 1002.34 - type: SALARY - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - - id: babbced6-3a81-4775-8da2-490dc6385259 - remote_id: '52802' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - employee_payroll_run: 35347df1-95e7-46e2-93cc-66f1191edca5 - amount: 8342.34 - type: OVERTIME - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - deductions: - - id: 5fd439fc-1b64-4755-b275-64918936c365 - remote_id: '93478612' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - employee_payroll_run: 35347df1-95e7-46e2-93cc-66f1191edca5 - name: Social Security - employee_deduction: 34.54 - company_deduction: 78.78 - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /payroll-deduction - data: - - Varies by platform - taxes: - - id: e3a825fd-c38d-4095-a717-df98c4cb9ebc - remote_id: '26806834' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - employee_payroll_run: 35347df1-95e7-46e2-93cc-66f1191edca5 - name: California State Income Tax - amount: 100.25 - employer_tax: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /employee-payroll - data: - - Varies by platform - retrieve: - path: /hris/v1/employee-payroll-runs/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns an `EmployeePayrollRun` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: EmployeePayrollRunsRetrieveRequest - query-parameters: - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - response: - docs: '' - type: root.EmployeePayrollRun - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - expand: employee - include_remote_data: true - include_shell_data: true - headers: - X-Account-Token: X-Account-Token - response: - body: - id: fb8c55b6-1cb8-4b4c-9fb6-17924231619d - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - employee: employee - payroll_run: payroll_run - gross_pay: 1342.67 - net_pay: 865.78 - start_date: '2020-11-08T00:00:00Z' - end_date: '2020-11-09T00:00:00Z' - check_date: '2020-11-10T00:00:00Z' - earnings: - - id: babbced6-3a81-4775-8da2-490dc6385259 - remote_id: '52802' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - employee_payroll_run: 35347df1-95e7-46e2-93cc-66f1191edca5 - amount: 1002.34 - type: SALARY - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /platform-endpoint - data: - - Varies by platform - - id: babbced6-3a81-4775-8da2-490dc6385259 - remote_id: '52802' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - employee_payroll_run: 35347df1-95e7-46e2-93cc-66f1191edca5 - amount: 8342.34 - type: OVERTIME - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /platform-endpoint - data: - - Varies by platform - deductions: - - id: 5fd439fc-1b64-4755-b275-64918936c365 - remote_id: '93478612' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - employee_payroll_run: 35347df1-95e7-46e2-93cc-66f1191edca5 - name: Social Security - employee_deduction: 34.54 - company_deduction: 78.78 - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /payroll-deduction - data: - - Varies by platform - taxes: - - id: e3a825fd-c38d-4095-a717-df98c4cb9ebc - remote_id: '26806834' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - employee_payroll_run: 35347df1-95e7-46e2-93cc-66f1191edca5 - name: California State Income Tax - amount: 100.25 - employer_tax: true - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /platform-endpoint - data: - - Varies by platform - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /employee-payroll - data: - - Varies by platform - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/hris/employees.yml b/.mock/definition/hris/employees.yml deleted file mode 100644 index fff5dc2f..00000000 --- a/.mock/definition/hris/employees.yml +++ /dev/null @@ -1,1839 +0,0 @@ -types: - EmployeesListRequestEmploymentStatus: - enum: - - ACTIVE - - INACTIVE - - PENDING - source: - openapi: openapi/openapi.yml - EmployeesListRequestExpand: - enum: - - company - - value: company,pay_group - name: CompanyPayGroup - - employments - - value: employments,company - name: EmploymentsCompany - - value: employments,company,pay_group - name: EmploymentsCompanyPayGroup - - value: employments,groups - name: EmploymentsGroups - - value: employments,groups,company - name: EmploymentsGroupsCompany - - value: employments,groups,company,pay_group - name: EmploymentsGroupsCompanyPayGroup - - value: employments,groups,home_location - name: EmploymentsGroupsHomeLocation - - value: employments,groups,home_location,company - name: EmploymentsGroupsHomeLocationCompany - - value: employments,groups,home_location,company,pay_group - name: EmploymentsGroupsHomeLocationCompanyPayGroup - - value: employments,groups,home_location,manager - name: EmploymentsGroupsHomeLocationManager - - value: employments,groups,home_location,manager,company - name: EmploymentsGroupsHomeLocationManagerCompany - - value: employments,groups,home_location,manager,company,pay_group - name: EmploymentsGroupsHomeLocationManagerCompanyPayGroup - - value: employments,groups,home_location,manager,pay_group - name: EmploymentsGroupsHomeLocationManagerPayGroup - - value: employments,groups,home_location,manager,team - name: EmploymentsGroupsHomeLocationManagerTeam - - value: employments,groups,home_location,manager,team,company - name: EmploymentsGroupsHomeLocationManagerTeamCompany - - value: employments,groups,home_location,manager,team,company,pay_group - name: EmploymentsGroupsHomeLocationManagerTeamCompanyPayGroup - - value: employments,groups,home_location,manager,team,pay_group - name: EmploymentsGroupsHomeLocationManagerTeamPayGroup - - value: employments,groups,home_location,pay_group - name: EmploymentsGroupsHomeLocationPayGroup - - value: employments,groups,home_location,team - name: EmploymentsGroupsHomeLocationTeam - - value: employments,groups,home_location,team,company - name: EmploymentsGroupsHomeLocationTeamCompany - - value: employments,groups,home_location,team,company,pay_group - name: EmploymentsGroupsHomeLocationTeamCompanyPayGroup - - value: employments,groups,home_location,team,pay_group - name: EmploymentsGroupsHomeLocationTeamPayGroup - - value: employments,groups,home_location,work_location - name: EmploymentsGroupsHomeLocationWorkLocation - - value: employments,groups,home_location,work_location,company - name: EmploymentsGroupsHomeLocationWorkLocationCompany - - value: employments,groups,home_location,work_location,company,pay_group - name: EmploymentsGroupsHomeLocationWorkLocationCompanyPayGroup - - value: employments,groups,home_location,work_location,manager - name: EmploymentsGroupsHomeLocationWorkLocationManager - - value: employments,groups,home_location,work_location,manager,company - name: EmploymentsGroupsHomeLocationWorkLocationManagerCompany - - value: >- - employments,groups,home_location,work_location,manager,company,pay_group - name: EmploymentsGroupsHomeLocationWorkLocationManagerCompanyPayGroup - - value: employments,groups,home_location,work_location,manager,pay_group - name: EmploymentsGroupsHomeLocationWorkLocationManagerPayGroup - - value: employments,groups,home_location,work_location,manager,team - name: EmploymentsGroupsHomeLocationWorkLocationManagerTeam - - value: employments,groups,home_location,work_location,manager,team,company - name: EmploymentsGroupsHomeLocationWorkLocationManagerTeamCompany - - value: >- - employments,groups,home_location,work_location,manager,team,company,pay_group - name: EmploymentsGroupsHomeLocationWorkLocationManagerTeamCompanyPayGroup - - value: employments,groups,home_location,work_location,manager,team,pay_group - name: EmploymentsGroupsHomeLocationWorkLocationManagerTeamPayGroup - - value: employments,groups,home_location,work_location,pay_group - name: EmploymentsGroupsHomeLocationWorkLocationPayGroup - - value: employments,groups,home_location,work_location,team - name: EmploymentsGroupsHomeLocationWorkLocationTeam - - value: employments,groups,home_location,work_location,team,company - name: EmploymentsGroupsHomeLocationWorkLocationTeamCompany - - value: employments,groups,home_location,work_location,team,company,pay_group - name: EmploymentsGroupsHomeLocationWorkLocationTeamCompanyPayGroup - - value: employments,groups,home_location,work_location,team,pay_group - name: EmploymentsGroupsHomeLocationWorkLocationTeamPayGroup - - value: employments,groups,manager - name: EmploymentsGroupsManager - - value: employments,groups,manager,company - name: EmploymentsGroupsManagerCompany - - value: employments,groups,manager,company,pay_group - name: EmploymentsGroupsManagerCompanyPayGroup - - value: employments,groups,manager,pay_group - name: EmploymentsGroupsManagerPayGroup - - value: employments,groups,manager,team - name: EmploymentsGroupsManagerTeam - - value: employments,groups,manager,team,company - name: EmploymentsGroupsManagerTeamCompany - - value: employments,groups,manager,team,company,pay_group - name: EmploymentsGroupsManagerTeamCompanyPayGroup - - value: employments,groups,manager,team,pay_group - name: EmploymentsGroupsManagerTeamPayGroup - - value: employments,groups,pay_group - name: EmploymentsGroupsPayGroup - - value: employments,groups,team - name: EmploymentsGroupsTeam - - value: employments,groups,team,company - name: EmploymentsGroupsTeamCompany - - value: employments,groups,team,company,pay_group - name: EmploymentsGroupsTeamCompanyPayGroup - - value: employments,groups,team,pay_group - name: EmploymentsGroupsTeamPayGroup - - value: employments,groups,work_location - name: EmploymentsGroupsWorkLocation - - value: employments,groups,work_location,company - name: EmploymentsGroupsWorkLocationCompany - - value: employments,groups,work_location,company,pay_group - name: EmploymentsGroupsWorkLocationCompanyPayGroup - - value: employments,groups,work_location,manager - name: EmploymentsGroupsWorkLocationManager - - value: employments,groups,work_location,manager,company - name: EmploymentsGroupsWorkLocationManagerCompany - - value: employments,groups,work_location,manager,company,pay_group - name: EmploymentsGroupsWorkLocationManagerCompanyPayGroup - - value: employments,groups,work_location,manager,pay_group - name: EmploymentsGroupsWorkLocationManagerPayGroup - - value: employments,groups,work_location,manager,team - name: EmploymentsGroupsWorkLocationManagerTeam - - value: employments,groups,work_location,manager,team,company - name: EmploymentsGroupsWorkLocationManagerTeamCompany - - value: employments,groups,work_location,manager,team,company,pay_group - name: EmploymentsGroupsWorkLocationManagerTeamCompanyPayGroup - - value: employments,groups,work_location,manager,team,pay_group - name: EmploymentsGroupsWorkLocationManagerTeamPayGroup - - value: employments,groups,work_location,pay_group - name: EmploymentsGroupsWorkLocationPayGroup - - value: employments,groups,work_location,team - name: EmploymentsGroupsWorkLocationTeam - - value: employments,groups,work_location,team,company - name: EmploymentsGroupsWorkLocationTeamCompany - - value: employments,groups,work_location,team,company,pay_group - name: EmploymentsGroupsWorkLocationTeamCompanyPayGroup - - value: employments,groups,work_location,team,pay_group - name: EmploymentsGroupsWorkLocationTeamPayGroup - - value: employments,home_location - name: EmploymentsHomeLocation - - value: employments,home_location,company - name: EmploymentsHomeLocationCompany - - value: employments,home_location,company,pay_group - name: EmploymentsHomeLocationCompanyPayGroup - - value: employments,home_location,manager - name: EmploymentsHomeLocationManager - - value: employments,home_location,manager,company - name: EmploymentsHomeLocationManagerCompany - - value: employments,home_location,manager,company,pay_group - name: EmploymentsHomeLocationManagerCompanyPayGroup - - value: employments,home_location,manager,pay_group - name: EmploymentsHomeLocationManagerPayGroup - - value: employments,home_location,manager,team - name: EmploymentsHomeLocationManagerTeam - - value: employments,home_location,manager,team,company - name: EmploymentsHomeLocationManagerTeamCompany - - value: employments,home_location,manager,team,company,pay_group - name: EmploymentsHomeLocationManagerTeamCompanyPayGroup - - value: employments,home_location,manager,team,pay_group - name: EmploymentsHomeLocationManagerTeamPayGroup - - value: employments,home_location,pay_group - name: EmploymentsHomeLocationPayGroup - - value: employments,home_location,team - name: EmploymentsHomeLocationTeam - - value: employments,home_location,team,company - name: EmploymentsHomeLocationTeamCompany - - value: employments,home_location,team,company,pay_group - name: EmploymentsHomeLocationTeamCompanyPayGroup - - value: employments,home_location,team,pay_group - name: EmploymentsHomeLocationTeamPayGroup - - value: employments,home_location,work_location - name: EmploymentsHomeLocationWorkLocation - - value: employments,home_location,work_location,company - name: EmploymentsHomeLocationWorkLocationCompany - - value: employments,home_location,work_location,company,pay_group - name: EmploymentsHomeLocationWorkLocationCompanyPayGroup - - value: employments,home_location,work_location,manager - name: EmploymentsHomeLocationWorkLocationManager - - value: employments,home_location,work_location,manager,company - name: EmploymentsHomeLocationWorkLocationManagerCompany - - value: employments,home_location,work_location,manager,company,pay_group - name: EmploymentsHomeLocationWorkLocationManagerCompanyPayGroup - - value: employments,home_location,work_location,manager,pay_group - name: EmploymentsHomeLocationWorkLocationManagerPayGroup - - value: employments,home_location,work_location,manager,team - name: EmploymentsHomeLocationWorkLocationManagerTeam - - value: employments,home_location,work_location,manager,team,company - name: EmploymentsHomeLocationWorkLocationManagerTeamCompany - - value: employments,home_location,work_location,manager,team,company,pay_group - name: EmploymentsHomeLocationWorkLocationManagerTeamCompanyPayGroup - - value: employments,home_location,work_location,manager,team,pay_group - name: EmploymentsHomeLocationWorkLocationManagerTeamPayGroup - - value: employments,home_location,work_location,pay_group - name: EmploymentsHomeLocationWorkLocationPayGroup - - value: employments,home_location,work_location,team - name: EmploymentsHomeLocationWorkLocationTeam - - value: employments,home_location,work_location,team,company - name: EmploymentsHomeLocationWorkLocationTeamCompany - - value: employments,home_location,work_location,team,company,pay_group - name: EmploymentsHomeLocationWorkLocationTeamCompanyPayGroup - - value: employments,home_location,work_location,team,pay_group - name: EmploymentsHomeLocationWorkLocationTeamPayGroup - - value: employments,manager - name: EmploymentsManager - - value: employments,manager,company - name: EmploymentsManagerCompany - - value: employments,manager,company,pay_group - name: EmploymentsManagerCompanyPayGroup - - value: employments,manager,pay_group - name: EmploymentsManagerPayGroup - - value: employments,manager,team - name: EmploymentsManagerTeam - - value: employments,manager,team,company - name: EmploymentsManagerTeamCompany - - value: employments,manager,team,company,pay_group - name: EmploymentsManagerTeamCompanyPayGroup - - value: employments,manager,team,pay_group - name: EmploymentsManagerTeamPayGroup - - value: employments,pay_group - name: EmploymentsPayGroup - - value: employments,team - name: EmploymentsTeam - - value: employments,team,company - name: EmploymentsTeamCompany - - value: employments,team,company,pay_group - name: EmploymentsTeamCompanyPayGroup - - value: employments,team,pay_group - name: EmploymentsTeamPayGroup - - value: employments,work_location - name: EmploymentsWorkLocation - - value: employments,work_location,company - name: EmploymentsWorkLocationCompany - - value: employments,work_location,company,pay_group - name: EmploymentsWorkLocationCompanyPayGroup - - value: employments,work_location,manager - name: EmploymentsWorkLocationManager - - value: employments,work_location,manager,company - name: EmploymentsWorkLocationManagerCompany - - value: employments,work_location,manager,company,pay_group - name: EmploymentsWorkLocationManagerCompanyPayGroup - - value: employments,work_location,manager,pay_group - name: EmploymentsWorkLocationManagerPayGroup - - value: employments,work_location,manager,team - name: EmploymentsWorkLocationManagerTeam - - value: employments,work_location,manager,team,company - name: EmploymentsWorkLocationManagerTeamCompany - - value: employments,work_location,manager,team,company,pay_group - name: EmploymentsWorkLocationManagerTeamCompanyPayGroup - - value: employments,work_location,manager,team,pay_group - name: EmploymentsWorkLocationManagerTeamPayGroup - - value: employments,work_location,pay_group - name: EmploymentsWorkLocationPayGroup - - value: employments,work_location,team - name: EmploymentsWorkLocationTeam - - value: employments,work_location,team,company - name: EmploymentsWorkLocationTeamCompany - - value: employments,work_location,team,company,pay_group - name: EmploymentsWorkLocationTeamCompanyPayGroup - - value: employments,work_location,team,pay_group - name: EmploymentsWorkLocationTeamPayGroup - - groups - - value: groups,company - name: GroupsCompany - - value: groups,company,pay_group - name: GroupsCompanyPayGroup - - value: groups,home_location - name: GroupsHomeLocation - - value: groups,home_location,company - name: GroupsHomeLocationCompany - - value: groups,home_location,company,pay_group - name: GroupsHomeLocationCompanyPayGroup - - value: groups,home_location,manager - name: GroupsHomeLocationManager - - value: groups,home_location,manager,company - name: GroupsHomeLocationManagerCompany - - value: groups,home_location,manager,company,pay_group - name: GroupsHomeLocationManagerCompanyPayGroup - - value: groups,home_location,manager,pay_group - name: GroupsHomeLocationManagerPayGroup - - value: groups,home_location,manager,team - name: GroupsHomeLocationManagerTeam - - value: groups,home_location,manager,team,company - name: GroupsHomeLocationManagerTeamCompany - - value: groups,home_location,manager,team,company,pay_group - name: GroupsHomeLocationManagerTeamCompanyPayGroup - - value: groups,home_location,manager,team,pay_group - name: GroupsHomeLocationManagerTeamPayGroup - - value: groups,home_location,pay_group - name: GroupsHomeLocationPayGroup - - value: groups,home_location,team - name: GroupsHomeLocationTeam - - value: groups,home_location,team,company - name: GroupsHomeLocationTeamCompany - - value: groups,home_location,team,company,pay_group - name: GroupsHomeLocationTeamCompanyPayGroup - - value: groups,home_location,team,pay_group - name: GroupsHomeLocationTeamPayGroup - - value: groups,home_location,work_location - name: GroupsHomeLocationWorkLocation - - value: groups,home_location,work_location,company - name: GroupsHomeLocationWorkLocationCompany - - value: groups,home_location,work_location,company,pay_group - name: GroupsHomeLocationWorkLocationCompanyPayGroup - - value: groups,home_location,work_location,manager - name: GroupsHomeLocationWorkLocationManager - - value: groups,home_location,work_location,manager,company - name: GroupsHomeLocationWorkLocationManagerCompany - - value: groups,home_location,work_location,manager,company,pay_group - name: GroupsHomeLocationWorkLocationManagerCompanyPayGroup - - value: groups,home_location,work_location,manager,pay_group - name: GroupsHomeLocationWorkLocationManagerPayGroup - - value: groups,home_location,work_location,manager,team - name: GroupsHomeLocationWorkLocationManagerTeam - - value: groups,home_location,work_location,manager,team,company - name: GroupsHomeLocationWorkLocationManagerTeamCompany - - value: groups,home_location,work_location,manager,team,company,pay_group - name: GroupsHomeLocationWorkLocationManagerTeamCompanyPayGroup - - value: groups,home_location,work_location,manager,team,pay_group - name: GroupsHomeLocationWorkLocationManagerTeamPayGroup - - value: groups,home_location,work_location,pay_group - name: GroupsHomeLocationWorkLocationPayGroup - - value: groups,home_location,work_location,team - name: GroupsHomeLocationWorkLocationTeam - - value: groups,home_location,work_location,team,company - name: GroupsHomeLocationWorkLocationTeamCompany - - value: groups,home_location,work_location,team,company,pay_group - name: GroupsHomeLocationWorkLocationTeamCompanyPayGroup - - value: groups,home_location,work_location,team,pay_group - name: GroupsHomeLocationWorkLocationTeamPayGroup - - value: groups,manager - name: GroupsManager - - value: groups,manager,company - name: GroupsManagerCompany - - value: groups,manager,company,pay_group - name: GroupsManagerCompanyPayGroup - - value: groups,manager,pay_group - name: GroupsManagerPayGroup - - value: groups,manager,team - name: GroupsManagerTeam - - value: groups,manager,team,company - name: GroupsManagerTeamCompany - - value: groups,manager,team,company,pay_group - name: GroupsManagerTeamCompanyPayGroup - - value: groups,manager,team,pay_group - name: GroupsManagerTeamPayGroup - - value: groups,pay_group - name: GroupsPayGroup - - value: groups,team - name: GroupsTeam - - value: groups,team,company - name: GroupsTeamCompany - - value: groups,team,company,pay_group - name: GroupsTeamCompanyPayGroup - - value: groups,team,pay_group - name: GroupsTeamPayGroup - - value: groups,work_location - name: GroupsWorkLocation - - value: groups,work_location,company - name: GroupsWorkLocationCompany - - value: groups,work_location,company,pay_group - name: GroupsWorkLocationCompanyPayGroup - - value: groups,work_location,manager - name: GroupsWorkLocationManager - - value: groups,work_location,manager,company - name: GroupsWorkLocationManagerCompany - - value: groups,work_location,manager,company,pay_group - name: GroupsWorkLocationManagerCompanyPayGroup - - value: groups,work_location,manager,pay_group - name: GroupsWorkLocationManagerPayGroup - - value: groups,work_location,manager,team - name: GroupsWorkLocationManagerTeam - - value: groups,work_location,manager,team,company - name: GroupsWorkLocationManagerTeamCompany - - value: groups,work_location,manager,team,company,pay_group - name: GroupsWorkLocationManagerTeamCompanyPayGroup - - value: groups,work_location,manager,team,pay_group - name: GroupsWorkLocationManagerTeamPayGroup - - value: groups,work_location,pay_group - name: GroupsWorkLocationPayGroup - - value: groups,work_location,team - name: GroupsWorkLocationTeam - - value: groups,work_location,team,company - name: GroupsWorkLocationTeamCompany - - value: groups,work_location,team,company,pay_group - name: GroupsWorkLocationTeamCompanyPayGroup - - value: groups,work_location,team,pay_group - name: GroupsWorkLocationTeamPayGroup - - home_location - - value: home_location,company - name: HomeLocationCompany - - value: home_location,company,pay_group - name: HomeLocationCompanyPayGroup - - value: home_location,manager - name: HomeLocationManager - - value: home_location,manager,company - name: HomeLocationManagerCompany - - value: home_location,manager,company,pay_group - name: HomeLocationManagerCompanyPayGroup - - value: home_location,manager,pay_group - name: HomeLocationManagerPayGroup - - value: home_location,manager,team - name: HomeLocationManagerTeam - - value: home_location,manager,team,company - name: HomeLocationManagerTeamCompany - - value: home_location,manager,team,company,pay_group - name: HomeLocationManagerTeamCompanyPayGroup - - value: home_location,manager,team,pay_group - name: HomeLocationManagerTeamPayGroup - - value: home_location,pay_group - name: HomeLocationPayGroup - - value: home_location,team - name: HomeLocationTeam - - value: home_location,team,company - name: HomeLocationTeamCompany - - value: home_location,team,company,pay_group - name: HomeLocationTeamCompanyPayGroup - - value: home_location,team,pay_group - name: HomeLocationTeamPayGroup - - value: home_location,work_location - name: HomeLocationWorkLocation - - value: home_location,work_location,company - name: HomeLocationWorkLocationCompany - - value: home_location,work_location,company,pay_group - name: HomeLocationWorkLocationCompanyPayGroup - - value: home_location,work_location,manager - name: HomeLocationWorkLocationManager - - value: home_location,work_location,manager,company - name: HomeLocationWorkLocationManagerCompany - - value: home_location,work_location,manager,company,pay_group - name: HomeLocationWorkLocationManagerCompanyPayGroup - - value: home_location,work_location,manager,pay_group - name: HomeLocationWorkLocationManagerPayGroup - - value: home_location,work_location,manager,team - name: HomeLocationWorkLocationManagerTeam - - value: home_location,work_location,manager,team,company - name: HomeLocationWorkLocationManagerTeamCompany - - value: home_location,work_location,manager,team,company,pay_group - name: HomeLocationWorkLocationManagerTeamCompanyPayGroup - - value: home_location,work_location,manager,team,pay_group - name: HomeLocationWorkLocationManagerTeamPayGroup - - value: home_location,work_location,pay_group - name: HomeLocationWorkLocationPayGroup - - value: home_location,work_location,team - name: HomeLocationWorkLocationTeam - - value: home_location,work_location,team,company - name: HomeLocationWorkLocationTeamCompany - - value: home_location,work_location,team,company,pay_group - name: HomeLocationWorkLocationTeamCompanyPayGroup - - value: home_location,work_location,team,pay_group - name: HomeLocationWorkLocationTeamPayGroup - - manager - - value: manager,company - name: ManagerCompany - - value: manager,company,pay_group - name: ManagerCompanyPayGroup - - value: manager,pay_group - name: ManagerPayGroup - - value: manager,team - name: ManagerTeam - - value: manager,team,company - name: ManagerTeamCompany - - value: manager,team,company,pay_group - name: ManagerTeamCompanyPayGroup - - value: manager,team,pay_group - name: ManagerTeamPayGroup - - pay_group - - team - - value: team,company - name: TeamCompany - - value: team,company,pay_group - name: TeamCompanyPayGroup - - value: team,pay_group - name: TeamPayGroup - - work_location - - value: work_location,company - name: WorkLocationCompany - - value: work_location,company,pay_group - name: WorkLocationCompanyPayGroup - - value: work_location,manager - name: WorkLocationManager - - value: work_location,manager,company - name: WorkLocationManagerCompany - - value: work_location,manager,company,pay_group - name: WorkLocationManagerCompanyPayGroup - - value: work_location,manager,pay_group - name: WorkLocationManagerPayGroup - - value: work_location,manager,team - name: WorkLocationManagerTeam - - value: work_location,manager,team,company - name: WorkLocationManagerTeamCompany - - value: work_location,manager,team,company,pay_group - name: WorkLocationManagerTeamCompanyPayGroup - - value: work_location,manager,team,pay_group - name: WorkLocationManagerTeamPayGroup - - value: work_location,pay_group - name: WorkLocationPayGroup - - value: work_location,team - name: WorkLocationTeam - - value: work_location,team,company - name: WorkLocationTeamCompany - - value: work_location,team,company,pay_group - name: WorkLocationTeamCompanyPayGroup - - value: work_location,team,pay_group - name: WorkLocationTeamPayGroup - source: - openapi: openapi/openapi.yml - EmployeesListRequestRemoteFields: - enum: - - employment_status - - value: employment_status,ethnicity - name: EmploymentStatusEthnicity - - value: employment_status,ethnicity,gender - name: EmploymentStatusEthnicityGender - - value: employment_status,ethnicity,gender,marital_status - name: EmploymentStatusEthnicityGenderMaritalStatus - - value: employment_status,ethnicity,marital_status - name: EmploymentStatusEthnicityMaritalStatus - - value: employment_status,gender - name: EmploymentStatusGender - - value: employment_status,gender,marital_status - name: EmploymentStatusGenderMaritalStatus - - value: employment_status,marital_status - name: EmploymentStatusMaritalStatus - - ethnicity - - value: ethnicity,gender - name: EthnicityGender - - value: ethnicity,gender,marital_status - name: EthnicityGenderMaritalStatus - - value: ethnicity,marital_status - name: EthnicityMaritalStatus - - gender - - value: gender,marital_status - name: GenderMaritalStatus - - marital_status - source: - openapi: openapi/openapi.yml - EmployeesListRequestShowEnumOrigins: - enum: - - employment_status - - value: employment_status,ethnicity - name: EmploymentStatusEthnicity - - value: employment_status,ethnicity,gender - name: EmploymentStatusEthnicityGender - - value: employment_status,ethnicity,gender,marital_status - name: EmploymentStatusEthnicityGenderMaritalStatus - - value: employment_status,ethnicity,marital_status - name: EmploymentStatusEthnicityMaritalStatus - - value: employment_status,gender - name: EmploymentStatusGender - - value: employment_status,gender,marital_status - name: EmploymentStatusGenderMaritalStatus - - value: employment_status,marital_status - name: EmploymentStatusMaritalStatus - - ethnicity - - value: ethnicity,gender - name: EthnicityGender - - value: ethnicity,gender,marital_status - name: EthnicityGenderMaritalStatus - - value: ethnicity,marital_status - name: EthnicityMaritalStatus - - gender - - value: gender,marital_status - name: GenderMaritalStatus - - marital_status - source: - openapi: openapi/openapi.yml - EmployeesRetrieveRequestExpand: - enum: - - company - - value: company,pay_group - name: CompanyPayGroup - - employments - - value: employments,company - name: EmploymentsCompany - - value: employments,company,pay_group - name: EmploymentsCompanyPayGroup - - value: employments,groups - name: EmploymentsGroups - - value: employments,groups,company - name: EmploymentsGroupsCompany - - value: employments,groups,company,pay_group - name: EmploymentsGroupsCompanyPayGroup - - value: employments,groups,home_location - name: EmploymentsGroupsHomeLocation - - value: employments,groups,home_location,company - name: EmploymentsGroupsHomeLocationCompany - - value: employments,groups,home_location,company,pay_group - name: EmploymentsGroupsHomeLocationCompanyPayGroup - - value: employments,groups,home_location,manager - name: EmploymentsGroupsHomeLocationManager - - value: employments,groups,home_location,manager,company - name: EmploymentsGroupsHomeLocationManagerCompany - - value: employments,groups,home_location,manager,company,pay_group - name: EmploymentsGroupsHomeLocationManagerCompanyPayGroup - - value: employments,groups,home_location,manager,pay_group - name: EmploymentsGroupsHomeLocationManagerPayGroup - - value: employments,groups,home_location,manager,team - name: EmploymentsGroupsHomeLocationManagerTeam - - value: employments,groups,home_location,manager,team,company - name: EmploymentsGroupsHomeLocationManagerTeamCompany - - value: employments,groups,home_location,manager,team,company,pay_group - name: EmploymentsGroupsHomeLocationManagerTeamCompanyPayGroup - - value: employments,groups,home_location,manager,team,pay_group - name: EmploymentsGroupsHomeLocationManagerTeamPayGroup - - value: employments,groups,home_location,pay_group - name: EmploymentsGroupsHomeLocationPayGroup - - value: employments,groups,home_location,team - name: EmploymentsGroupsHomeLocationTeam - - value: employments,groups,home_location,team,company - name: EmploymentsGroupsHomeLocationTeamCompany - - value: employments,groups,home_location,team,company,pay_group - name: EmploymentsGroupsHomeLocationTeamCompanyPayGroup - - value: employments,groups,home_location,team,pay_group - name: EmploymentsGroupsHomeLocationTeamPayGroup - - value: employments,groups,home_location,work_location - name: EmploymentsGroupsHomeLocationWorkLocation - - value: employments,groups,home_location,work_location,company - name: EmploymentsGroupsHomeLocationWorkLocationCompany - - value: employments,groups,home_location,work_location,company,pay_group - name: EmploymentsGroupsHomeLocationWorkLocationCompanyPayGroup - - value: employments,groups,home_location,work_location,manager - name: EmploymentsGroupsHomeLocationWorkLocationManager - - value: employments,groups,home_location,work_location,manager,company - name: EmploymentsGroupsHomeLocationWorkLocationManagerCompany - - value: >- - employments,groups,home_location,work_location,manager,company,pay_group - name: EmploymentsGroupsHomeLocationWorkLocationManagerCompanyPayGroup - - value: employments,groups,home_location,work_location,manager,pay_group - name: EmploymentsGroupsHomeLocationWorkLocationManagerPayGroup - - value: employments,groups,home_location,work_location,manager,team - name: EmploymentsGroupsHomeLocationWorkLocationManagerTeam - - value: employments,groups,home_location,work_location,manager,team,company - name: EmploymentsGroupsHomeLocationWorkLocationManagerTeamCompany - - value: >- - employments,groups,home_location,work_location,manager,team,company,pay_group - name: EmploymentsGroupsHomeLocationWorkLocationManagerTeamCompanyPayGroup - - value: employments,groups,home_location,work_location,manager,team,pay_group - name: EmploymentsGroupsHomeLocationWorkLocationManagerTeamPayGroup - - value: employments,groups,home_location,work_location,pay_group - name: EmploymentsGroupsHomeLocationWorkLocationPayGroup - - value: employments,groups,home_location,work_location,team - name: EmploymentsGroupsHomeLocationWorkLocationTeam - - value: employments,groups,home_location,work_location,team,company - name: EmploymentsGroupsHomeLocationWorkLocationTeamCompany - - value: employments,groups,home_location,work_location,team,company,pay_group - name: EmploymentsGroupsHomeLocationWorkLocationTeamCompanyPayGroup - - value: employments,groups,home_location,work_location,team,pay_group - name: EmploymentsGroupsHomeLocationWorkLocationTeamPayGroup - - value: employments,groups,manager - name: EmploymentsGroupsManager - - value: employments,groups,manager,company - name: EmploymentsGroupsManagerCompany - - value: employments,groups,manager,company,pay_group - name: EmploymentsGroupsManagerCompanyPayGroup - - value: employments,groups,manager,pay_group - name: EmploymentsGroupsManagerPayGroup - - value: employments,groups,manager,team - name: EmploymentsGroupsManagerTeam - - value: employments,groups,manager,team,company - name: EmploymentsGroupsManagerTeamCompany - - value: employments,groups,manager,team,company,pay_group - name: EmploymentsGroupsManagerTeamCompanyPayGroup - - value: employments,groups,manager,team,pay_group - name: EmploymentsGroupsManagerTeamPayGroup - - value: employments,groups,pay_group - name: EmploymentsGroupsPayGroup - - value: employments,groups,team - name: EmploymentsGroupsTeam - - value: employments,groups,team,company - name: EmploymentsGroupsTeamCompany - - value: employments,groups,team,company,pay_group - name: EmploymentsGroupsTeamCompanyPayGroup - - value: employments,groups,team,pay_group - name: EmploymentsGroupsTeamPayGroup - - value: employments,groups,work_location - name: EmploymentsGroupsWorkLocation - - value: employments,groups,work_location,company - name: EmploymentsGroupsWorkLocationCompany - - value: employments,groups,work_location,company,pay_group - name: EmploymentsGroupsWorkLocationCompanyPayGroup - - value: employments,groups,work_location,manager - name: EmploymentsGroupsWorkLocationManager - - value: employments,groups,work_location,manager,company - name: EmploymentsGroupsWorkLocationManagerCompany - - value: employments,groups,work_location,manager,company,pay_group - name: EmploymentsGroupsWorkLocationManagerCompanyPayGroup - - value: employments,groups,work_location,manager,pay_group - name: EmploymentsGroupsWorkLocationManagerPayGroup - - value: employments,groups,work_location,manager,team - name: EmploymentsGroupsWorkLocationManagerTeam - - value: employments,groups,work_location,manager,team,company - name: EmploymentsGroupsWorkLocationManagerTeamCompany - - value: employments,groups,work_location,manager,team,company,pay_group - name: EmploymentsGroupsWorkLocationManagerTeamCompanyPayGroup - - value: employments,groups,work_location,manager,team,pay_group - name: EmploymentsGroupsWorkLocationManagerTeamPayGroup - - value: employments,groups,work_location,pay_group - name: EmploymentsGroupsWorkLocationPayGroup - - value: employments,groups,work_location,team - name: EmploymentsGroupsWorkLocationTeam - - value: employments,groups,work_location,team,company - name: EmploymentsGroupsWorkLocationTeamCompany - - value: employments,groups,work_location,team,company,pay_group - name: EmploymentsGroupsWorkLocationTeamCompanyPayGroup - - value: employments,groups,work_location,team,pay_group - name: EmploymentsGroupsWorkLocationTeamPayGroup - - value: employments,home_location - name: EmploymentsHomeLocation - - value: employments,home_location,company - name: EmploymentsHomeLocationCompany - - value: employments,home_location,company,pay_group - name: EmploymentsHomeLocationCompanyPayGroup - - value: employments,home_location,manager - name: EmploymentsHomeLocationManager - - value: employments,home_location,manager,company - name: EmploymentsHomeLocationManagerCompany - - value: employments,home_location,manager,company,pay_group - name: EmploymentsHomeLocationManagerCompanyPayGroup - - value: employments,home_location,manager,pay_group - name: EmploymentsHomeLocationManagerPayGroup - - value: employments,home_location,manager,team - name: EmploymentsHomeLocationManagerTeam - - value: employments,home_location,manager,team,company - name: EmploymentsHomeLocationManagerTeamCompany - - value: employments,home_location,manager,team,company,pay_group - name: EmploymentsHomeLocationManagerTeamCompanyPayGroup - - value: employments,home_location,manager,team,pay_group - name: EmploymentsHomeLocationManagerTeamPayGroup - - value: employments,home_location,pay_group - name: EmploymentsHomeLocationPayGroup - - value: employments,home_location,team - name: EmploymentsHomeLocationTeam - - value: employments,home_location,team,company - name: EmploymentsHomeLocationTeamCompany - - value: employments,home_location,team,company,pay_group - name: EmploymentsHomeLocationTeamCompanyPayGroup - - value: employments,home_location,team,pay_group - name: EmploymentsHomeLocationTeamPayGroup - - value: employments,home_location,work_location - name: EmploymentsHomeLocationWorkLocation - - value: employments,home_location,work_location,company - name: EmploymentsHomeLocationWorkLocationCompany - - value: employments,home_location,work_location,company,pay_group - name: EmploymentsHomeLocationWorkLocationCompanyPayGroup - - value: employments,home_location,work_location,manager - name: EmploymentsHomeLocationWorkLocationManager - - value: employments,home_location,work_location,manager,company - name: EmploymentsHomeLocationWorkLocationManagerCompany - - value: employments,home_location,work_location,manager,company,pay_group - name: EmploymentsHomeLocationWorkLocationManagerCompanyPayGroup - - value: employments,home_location,work_location,manager,pay_group - name: EmploymentsHomeLocationWorkLocationManagerPayGroup - - value: employments,home_location,work_location,manager,team - name: EmploymentsHomeLocationWorkLocationManagerTeam - - value: employments,home_location,work_location,manager,team,company - name: EmploymentsHomeLocationWorkLocationManagerTeamCompany - - value: employments,home_location,work_location,manager,team,company,pay_group - name: EmploymentsHomeLocationWorkLocationManagerTeamCompanyPayGroup - - value: employments,home_location,work_location,manager,team,pay_group - name: EmploymentsHomeLocationWorkLocationManagerTeamPayGroup - - value: employments,home_location,work_location,pay_group - name: EmploymentsHomeLocationWorkLocationPayGroup - - value: employments,home_location,work_location,team - name: EmploymentsHomeLocationWorkLocationTeam - - value: employments,home_location,work_location,team,company - name: EmploymentsHomeLocationWorkLocationTeamCompany - - value: employments,home_location,work_location,team,company,pay_group - name: EmploymentsHomeLocationWorkLocationTeamCompanyPayGroup - - value: employments,home_location,work_location,team,pay_group - name: EmploymentsHomeLocationWorkLocationTeamPayGroup - - value: employments,manager - name: EmploymentsManager - - value: employments,manager,company - name: EmploymentsManagerCompany - - value: employments,manager,company,pay_group - name: EmploymentsManagerCompanyPayGroup - - value: employments,manager,pay_group - name: EmploymentsManagerPayGroup - - value: employments,manager,team - name: EmploymentsManagerTeam - - value: employments,manager,team,company - name: EmploymentsManagerTeamCompany - - value: employments,manager,team,company,pay_group - name: EmploymentsManagerTeamCompanyPayGroup - - value: employments,manager,team,pay_group - name: EmploymentsManagerTeamPayGroup - - value: employments,pay_group - name: EmploymentsPayGroup - - value: employments,team - name: EmploymentsTeam - - value: employments,team,company - name: EmploymentsTeamCompany - - value: employments,team,company,pay_group - name: EmploymentsTeamCompanyPayGroup - - value: employments,team,pay_group - name: EmploymentsTeamPayGroup - - value: employments,work_location - name: EmploymentsWorkLocation - - value: employments,work_location,company - name: EmploymentsWorkLocationCompany - - value: employments,work_location,company,pay_group - name: EmploymentsWorkLocationCompanyPayGroup - - value: employments,work_location,manager - name: EmploymentsWorkLocationManager - - value: employments,work_location,manager,company - name: EmploymentsWorkLocationManagerCompany - - value: employments,work_location,manager,company,pay_group - name: EmploymentsWorkLocationManagerCompanyPayGroup - - value: employments,work_location,manager,pay_group - name: EmploymentsWorkLocationManagerPayGroup - - value: employments,work_location,manager,team - name: EmploymentsWorkLocationManagerTeam - - value: employments,work_location,manager,team,company - name: EmploymentsWorkLocationManagerTeamCompany - - value: employments,work_location,manager,team,company,pay_group - name: EmploymentsWorkLocationManagerTeamCompanyPayGroup - - value: employments,work_location,manager,team,pay_group - name: EmploymentsWorkLocationManagerTeamPayGroup - - value: employments,work_location,pay_group - name: EmploymentsWorkLocationPayGroup - - value: employments,work_location,team - name: EmploymentsWorkLocationTeam - - value: employments,work_location,team,company - name: EmploymentsWorkLocationTeamCompany - - value: employments,work_location,team,company,pay_group - name: EmploymentsWorkLocationTeamCompanyPayGroup - - value: employments,work_location,team,pay_group - name: EmploymentsWorkLocationTeamPayGroup - - groups - - value: groups,company - name: GroupsCompany - - value: groups,company,pay_group - name: GroupsCompanyPayGroup - - value: groups,home_location - name: GroupsHomeLocation - - value: groups,home_location,company - name: GroupsHomeLocationCompany - - value: groups,home_location,company,pay_group - name: GroupsHomeLocationCompanyPayGroup - - value: groups,home_location,manager - name: GroupsHomeLocationManager - - value: groups,home_location,manager,company - name: GroupsHomeLocationManagerCompany - - value: groups,home_location,manager,company,pay_group - name: GroupsHomeLocationManagerCompanyPayGroup - - value: groups,home_location,manager,pay_group - name: GroupsHomeLocationManagerPayGroup - - value: groups,home_location,manager,team - name: GroupsHomeLocationManagerTeam - - value: groups,home_location,manager,team,company - name: GroupsHomeLocationManagerTeamCompany - - value: groups,home_location,manager,team,company,pay_group - name: GroupsHomeLocationManagerTeamCompanyPayGroup - - value: groups,home_location,manager,team,pay_group - name: GroupsHomeLocationManagerTeamPayGroup - - value: groups,home_location,pay_group - name: GroupsHomeLocationPayGroup - - value: groups,home_location,team - name: GroupsHomeLocationTeam - - value: groups,home_location,team,company - name: GroupsHomeLocationTeamCompany - - value: groups,home_location,team,company,pay_group - name: GroupsHomeLocationTeamCompanyPayGroup - - value: groups,home_location,team,pay_group - name: GroupsHomeLocationTeamPayGroup - - value: groups,home_location,work_location - name: GroupsHomeLocationWorkLocation - - value: groups,home_location,work_location,company - name: GroupsHomeLocationWorkLocationCompany - - value: groups,home_location,work_location,company,pay_group - name: GroupsHomeLocationWorkLocationCompanyPayGroup - - value: groups,home_location,work_location,manager - name: GroupsHomeLocationWorkLocationManager - - value: groups,home_location,work_location,manager,company - name: GroupsHomeLocationWorkLocationManagerCompany - - value: groups,home_location,work_location,manager,company,pay_group - name: GroupsHomeLocationWorkLocationManagerCompanyPayGroup - - value: groups,home_location,work_location,manager,pay_group - name: GroupsHomeLocationWorkLocationManagerPayGroup - - value: groups,home_location,work_location,manager,team - name: GroupsHomeLocationWorkLocationManagerTeam - - value: groups,home_location,work_location,manager,team,company - name: GroupsHomeLocationWorkLocationManagerTeamCompany - - value: groups,home_location,work_location,manager,team,company,pay_group - name: GroupsHomeLocationWorkLocationManagerTeamCompanyPayGroup - - value: groups,home_location,work_location,manager,team,pay_group - name: GroupsHomeLocationWorkLocationManagerTeamPayGroup - - value: groups,home_location,work_location,pay_group - name: GroupsHomeLocationWorkLocationPayGroup - - value: groups,home_location,work_location,team - name: GroupsHomeLocationWorkLocationTeam - - value: groups,home_location,work_location,team,company - name: GroupsHomeLocationWorkLocationTeamCompany - - value: groups,home_location,work_location,team,company,pay_group - name: GroupsHomeLocationWorkLocationTeamCompanyPayGroup - - value: groups,home_location,work_location,team,pay_group - name: GroupsHomeLocationWorkLocationTeamPayGroup - - value: groups,manager - name: GroupsManager - - value: groups,manager,company - name: GroupsManagerCompany - - value: groups,manager,company,pay_group - name: GroupsManagerCompanyPayGroup - - value: groups,manager,pay_group - name: GroupsManagerPayGroup - - value: groups,manager,team - name: GroupsManagerTeam - - value: groups,manager,team,company - name: GroupsManagerTeamCompany - - value: groups,manager,team,company,pay_group - name: GroupsManagerTeamCompanyPayGroup - - value: groups,manager,team,pay_group - name: GroupsManagerTeamPayGroup - - value: groups,pay_group - name: GroupsPayGroup - - value: groups,team - name: GroupsTeam - - value: groups,team,company - name: GroupsTeamCompany - - value: groups,team,company,pay_group - name: GroupsTeamCompanyPayGroup - - value: groups,team,pay_group - name: GroupsTeamPayGroup - - value: groups,work_location - name: GroupsWorkLocation - - value: groups,work_location,company - name: GroupsWorkLocationCompany - - value: groups,work_location,company,pay_group - name: GroupsWorkLocationCompanyPayGroup - - value: groups,work_location,manager - name: GroupsWorkLocationManager - - value: groups,work_location,manager,company - name: GroupsWorkLocationManagerCompany - - value: groups,work_location,manager,company,pay_group - name: GroupsWorkLocationManagerCompanyPayGroup - - value: groups,work_location,manager,pay_group - name: GroupsWorkLocationManagerPayGroup - - value: groups,work_location,manager,team - name: GroupsWorkLocationManagerTeam - - value: groups,work_location,manager,team,company - name: GroupsWorkLocationManagerTeamCompany - - value: groups,work_location,manager,team,company,pay_group - name: GroupsWorkLocationManagerTeamCompanyPayGroup - - value: groups,work_location,manager,team,pay_group - name: GroupsWorkLocationManagerTeamPayGroup - - value: groups,work_location,pay_group - name: GroupsWorkLocationPayGroup - - value: groups,work_location,team - name: GroupsWorkLocationTeam - - value: groups,work_location,team,company - name: GroupsWorkLocationTeamCompany - - value: groups,work_location,team,company,pay_group - name: GroupsWorkLocationTeamCompanyPayGroup - - value: groups,work_location,team,pay_group - name: GroupsWorkLocationTeamPayGroup - - home_location - - value: home_location,company - name: HomeLocationCompany - - value: home_location,company,pay_group - name: HomeLocationCompanyPayGroup - - value: home_location,manager - name: HomeLocationManager - - value: home_location,manager,company - name: HomeLocationManagerCompany - - value: home_location,manager,company,pay_group - name: HomeLocationManagerCompanyPayGroup - - value: home_location,manager,pay_group - name: HomeLocationManagerPayGroup - - value: home_location,manager,team - name: HomeLocationManagerTeam - - value: home_location,manager,team,company - name: HomeLocationManagerTeamCompany - - value: home_location,manager,team,company,pay_group - name: HomeLocationManagerTeamCompanyPayGroup - - value: home_location,manager,team,pay_group - name: HomeLocationManagerTeamPayGroup - - value: home_location,pay_group - name: HomeLocationPayGroup - - value: home_location,team - name: HomeLocationTeam - - value: home_location,team,company - name: HomeLocationTeamCompany - - value: home_location,team,company,pay_group - name: HomeLocationTeamCompanyPayGroup - - value: home_location,team,pay_group - name: HomeLocationTeamPayGroup - - value: home_location,work_location - name: HomeLocationWorkLocation - - value: home_location,work_location,company - name: HomeLocationWorkLocationCompany - - value: home_location,work_location,company,pay_group - name: HomeLocationWorkLocationCompanyPayGroup - - value: home_location,work_location,manager - name: HomeLocationWorkLocationManager - - value: home_location,work_location,manager,company - name: HomeLocationWorkLocationManagerCompany - - value: home_location,work_location,manager,company,pay_group - name: HomeLocationWorkLocationManagerCompanyPayGroup - - value: home_location,work_location,manager,pay_group - name: HomeLocationWorkLocationManagerPayGroup - - value: home_location,work_location,manager,team - name: HomeLocationWorkLocationManagerTeam - - value: home_location,work_location,manager,team,company - name: HomeLocationWorkLocationManagerTeamCompany - - value: home_location,work_location,manager,team,company,pay_group - name: HomeLocationWorkLocationManagerTeamCompanyPayGroup - - value: home_location,work_location,manager,team,pay_group - name: HomeLocationWorkLocationManagerTeamPayGroup - - value: home_location,work_location,pay_group - name: HomeLocationWorkLocationPayGroup - - value: home_location,work_location,team - name: HomeLocationWorkLocationTeam - - value: home_location,work_location,team,company - name: HomeLocationWorkLocationTeamCompany - - value: home_location,work_location,team,company,pay_group - name: HomeLocationWorkLocationTeamCompanyPayGroup - - value: home_location,work_location,team,pay_group - name: HomeLocationWorkLocationTeamPayGroup - - manager - - value: manager,company - name: ManagerCompany - - value: manager,company,pay_group - name: ManagerCompanyPayGroup - - value: manager,pay_group - name: ManagerPayGroup - - value: manager,team - name: ManagerTeam - - value: manager,team,company - name: ManagerTeamCompany - - value: manager,team,company,pay_group - name: ManagerTeamCompanyPayGroup - - value: manager,team,pay_group - name: ManagerTeamPayGroup - - pay_group - - team - - value: team,company - name: TeamCompany - - value: team,company,pay_group - name: TeamCompanyPayGroup - - value: team,pay_group - name: TeamPayGroup - - work_location - - value: work_location,company - name: WorkLocationCompany - - value: work_location,company,pay_group - name: WorkLocationCompanyPayGroup - - value: work_location,manager - name: WorkLocationManager - - value: work_location,manager,company - name: WorkLocationManagerCompany - - value: work_location,manager,company,pay_group - name: WorkLocationManagerCompanyPayGroup - - value: work_location,manager,pay_group - name: WorkLocationManagerPayGroup - - value: work_location,manager,team - name: WorkLocationManagerTeam - - value: work_location,manager,team,company - name: WorkLocationManagerTeamCompany - - value: work_location,manager,team,company,pay_group - name: WorkLocationManagerTeamCompanyPayGroup - - value: work_location,manager,team,pay_group - name: WorkLocationManagerTeamPayGroup - - value: work_location,pay_group - name: WorkLocationPayGroup - - value: work_location,team - name: WorkLocationTeam - - value: work_location,team,company - name: WorkLocationTeamCompany - - value: work_location,team,company,pay_group - name: WorkLocationTeamCompanyPayGroup - - value: work_location,team,pay_group - name: WorkLocationTeamPayGroup - source: - openapi: openapi/openapi.yml - EmployeesRetrieveRequestRemoteFields: - enum: - - employment_status - - value: employment_status,ethnicity - name: EmploymentStatusEthnicity - - value: employment_status,ethnicity,gender - name: EmploymentStatusEthnicityGender - - value: employment_status,ethnicity,gender,marital_status - name: EmploymentStatusEthnicityGenderMaritalStatus - - value: employment_status,ethnicity,marital_status - name: EmploymentStatusEthnicityMaritalStatus - - value: employment_status,gender - name: EmploymentStatusGender - - value: employment_status,gender,marital_status - name: EmploymentStatusGenderMaritalStatus - - value: employment_status,marital_status - name: EmploymentStatusMaritalStatus - - ethnicity - - value: ethnicity,gender - name: EthnicityGender - - value: ethnicity,gender,marital_status - name: EthnicityGenderMaritalStatus - - value: ethnicity,marital_status - name: EthnicityMaritalStatus - - gender - - value: gender,marital_status - name: GenderMaritalStatus - - marital_status - source: - openapi: openapi/openapi.yml - EmployeesRetrieveRequestShowEnumOrigins: - enum: - - employment_status - - value: employment_status,ethnicity - name: EmploymentStatusEthnicity - - value: employment_status,ethnicity,gender - name: EmploymentStatusEthnicityGender - - value: employment_status,ethnicity,gender,marital_status - name: EmploymentStatusEthnicityGenderMaritalStatus - - value: employment_status,ethnicity,marital_status - name: EmploymentStatusEthnicityMaritalStatus - - value: employment_status,gender - name: EmploymentStatusGender - - value: employment_status,gender,marital_status - name: EmploymentStatusGenderMaritalStatus - - value: employment_status,marital_status - name: EmploymentStatusMaritalStatus - - ethnicity - - value: ethnicity,gender - name: EthnicityGender - - value: ethnicity,gender,marital_status - name: EthnicityGenderMaritalStatus - - value: ethnicity,marital_status - name: EthnicityMaritalStatus - - gender - - value: gender,marital_status - name: GenderMaritalStatus - - marital_status - source: - openapi: openapi/openapi.yml - IgnoreCommonModelRequestReason: - discriminated: false - union: - - root.ReasonEnum - - string - source: - openapi: openapi/openapi.yml - inline: true -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /hris/v1/employees - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `Employee` objects. - source: - openapi: openapi/openapi.yml - request: - name: EmployeesListRequest - query-parameters: - company_id: - type: optional - docs: If provided, will only return employees for this company. - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - display_full_name: - type: optional - docs: If provided, will only return employees with this display name. - employee_number: - type: optional - docs: If provided, will only return employees with this employee number. - employment_status: - type: optional - docs: >- - If provided, will only return employees with this employment - status. - - - * `ACTIVE` - ACTIVE - - * `PENDING` - PENDING - - * `INACTIVE` - INACTIVE - employment_type: - type: optional - docs: >- - If provided, will only return employees that have an employment of - the specified employment type. - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - first_name: - type: optional - docs: If provided, will only return employees with this first name. - groups: - type: optional - docs: >- - If provided, will only return employees matching the group ids; - multiple groups can be separated by commas. - home_location_id: - type: optional - docs: If provided, will only return employees for this home location. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_sensitive_fields: - type: optional - docs: >- - Whether to include sensitive fields (such as social security - numbers) in the response. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - job_title: - type: optional - docs: >- - If provided, will only return employees that have an employment of - the specified job title. - last_name: - type: optional - docs: If provided, will only return employees with this last name. - manager_id: - type: optional - docs: If provided, will only return employees for this manager. - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - page_size: - type: optional - docs: Number of results to return per page. - pay_group_id: - type: optional - docs: If provided, will only return employees for this pay group - personal_email: - type: optional - docs: If provided, will only return Employees with this personal email - validation: - format: email - remote_fields: - type: optional - docs: Deprecated. Use show_enum_origins. - remote_id: - type: optional - docs: The API provider's ID for the given object. - show_enum_origins: - type: optional - docs: >- - A comma separated list of enum field names for which you'd like - the original values to be returned, instead of Merge's normalized - enum values. [Learn - more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - started_after: - type: optional - docs: >- - If provided, will only return employees that started after this - datetime. - started_before: - type: optional - docs: >- - If provided, will only return employees that started before this - datetime. - team_id: - type: optional - docs: If provided, will only return employees for this team. - terminated_after: - type: optional - docs: >- - If provided, will only return employees that were terminated after - this datetime. - terminated_before: - type: optional - docs: >- - If provided, will only return employees that were terminated - before this datetime. - work_email: - type: optional - docs: If provided, will only return Employees with this work email - validation: - format: email - work_location_id: - type: optional - docs: If provided, will only return employees for this location. - response: - docs: '' - type: root.PaginatedEmployeeList - status-code: 200 - examples: - - query-parameters: - company_id: company_id - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - display_full_name: display_full_name - employee_number: employee_number - employment_status: ACTIVE - employment_type: employment_type - expand: company - first_name: first_name - groups: groups - home_location_id: home_location_id - include_deleted_data: true - include_remote_data: true - include_sensitive_fields: true - include_shell_data: true - job_title: job_title - last_name: last_name - manager_id: manager_id - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - page_size: 1 - pay_group_id: pay_group_id - personal_email: personal_email - remote_fields: employment_status - remote_id: remote_id - show_enum_origins: employment_status - started_after: '2024-01-15T09:30:00Z' - started_before: '2024-01-15T09:30:00Z' - team_id: team_id - terminated_after: '2024-01-15T09:30:00Z' - terminated_before: '2024-01-15T09:30:00Z' - work_email: work_email - work_location_id: work_location_id - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: 0958cbc6-6040-430a-848e-aafacbadf4ae - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - employee_number: '2' - company: company - first_name: Greg - last_name: Hirsch - preferred_name: Greg the egg - display_full_name: Cousin Greg Hirsch - username: cousingreg - groups: - - 21a54124-397f-494d-985e-3c5b330b8a68 - work_email: greg@merge.dev - personal_email: greg@gmail.com - mobile_phone_number: '+1234567890' - employments: - - 17a54124-287f-494d-965e-3c5b330c9a68 - home_location: home_location - work_location: work_location - manager: manager - pay_group: pay_group - ssn: '1234567890' - gender: MALE - ethnicity: AMERICAN_INDIAN_OR_ALASKA_NATIVE - marital_status: SINGLE - date_of_birth: '1990-11-10T00:00:00Z' - start_date: '2020-10-11T00:00:00Z' - remote_created_at: '2020-10-11T00:00:00Z' - employment_status: ACTIVE - termination_date: '2021-10-12T00:00:00Z' - avatar: http://alturl.com/h2h8m - custom_fields: - key: value - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /people - data: - - Varies by platform - create: - path: /hris/v1/employees - method: POST - auth: - - tokenAuth: [] - docs: Creates an `Employee` object with the given values. - source: - openapi: openapi/openapi.yml - request: - name: EmployeeEndpointRequest - query-parameters: - is_debug_mode: - type: optional - docs: >- - Whether to include debug fields (such as log file links) in the - response. - run_async: - type: optional - docs: Whether or not third-party updates should be run asynchronously. - body: - properties: - model: root.EmployeeRequest - content-type: application/json - response: - docs: '' - type: root.EmployeeResponse - status-code: 201 - examples: - - query-parameters: - is_debug_mode: true - run_async: true - headers: - X-Account-Token: X-Account-Token - request: - model: {} - response: - body: - model: - id: 0958cbc6-6040-430a-848e-aafacbadf4ae - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - employee_number: '2' - company: company - first_name: Greg - last_name: Hirsch - preferred_name: Greg the egg - display_full_name: Cousin Greg Hirsch - username: cousingreg - groups: - - 21a54124-397f-494d-985e-3c5b330b8a68 - work_email: greg@merge.dev - personal_email: greg@gmail.com - mobile_phone_number: '+1234567890' - employments: - - 17a54124-287f-494d-965e-3c5b330c9a68 - home_location: home_location - work_location: work_location - manager: manager - pay_group: pay_group - ssn: '1234567890' - gender: MALE - ethnicity: AMERICAN_INDIAN_OR_ALASKA_NATIVE - marital_status: SINGLE - date_of_birth: '1990-11-10T00:00:00Z' - start_date: '2020-10-11T00:00:00Z' - remote_created_at: '2020-10-11T00:00:00Z' - employment_status: ACTIVE - termination_date: '2021-10-12T00:00:00Z' - avatar: http://alturl.com/h2h8m - custom_fields: - key: value - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /people - data: - - Varies by platform - warnings: - - source: - pointer: pointer - title: Unrecognized Field - detail: An unrecognized field, age, was passed in with request data. - problem_type: UNRECOGNIZED_FIELD - errors: - - source: - pointer: pointer - title: Missing Required Field - detail: custom_fields is a required field on model. - problem_type: MISSING_REQUIRED_FIELD - logs: - - log_id: 99433219-8017-4acd-bb3c-ceb23d663832 - dashboard_view: >- - https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832 - log_summary: - url: www.exampleintegration.com/api/v1/exampleapi - method: POST - status_code: 200 - retrieve: - path: /hris/v1/employees/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns an `Employee` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: EmployeesRetrieveRequest - query-parameters: - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_sensitive_fields: - type: optional - docs: >- - Whether to include sensitive fields (such as social security - numbers) in the response. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - remote_fields: - type: optional - docs: Deprecated. Use show_enum_origins. - show_enum_origins: - type: optional - docs: >- - A comma separated list of enum field names for which you'd like - the original values to be returned, instead of Merge's normalized - enum values. [Learn - more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - response: - docs: '' - type: root.Employee - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - expand: company - include_remote_data: true - include_sensitive_fields: true - include_shell_data: true - remote_fields: employment_status - show_enum_origins: employment_status - headers: - X-Account-Token: X-Account-Token - response: - body: - id: 0958cbc6-6040-430a-848e-aafacbadf4ae - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - employee_number: '2' - company: company - first_name: Greg - last_name: Hirsch - preferred_name: Greg the egg - display_full_name: Cousin Greg Hirsch - username: cousingreg - groups: - - 21a54124-397f-494d-985e-3c5b330b8a68 - work_email: greg@merge.dev - personal_email: greg@gmail.com - mobile_phone_number: '+1234567890' - employments: - - 17a54124-287f-494d-965e-3c5b330c9a68 - home_location: home_location - work_location: work_location - manager: manager - pay_group: pay_group - ssn: '1234567890' - gender: MALE - ethnicity: AMERICAN_INDIAN_OR_ALASKA_NATIVE - marital_status: SINGLE - date_of_birth: '1990-11-10T00:00:00Z' - start_date: '2020-10-11T00:00:00Z' - remote_created_at: '2020-10-11T00:00:00Z' - employment_status: ACTIVE - termination_date: '2021-10-12T00:00:00Z' - avatar: http://alturl.com/h2h8m - custom_fields: - key: value - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /people - data: - - Varies by platform - ignoreCreate: - path: /hris/v1/employees/ignore/{model_id} - method: POST - auth: - - tokenAuth: [] - docs: >- - Ignores a specific row based on the `model_id` in the url. These records - will have their properties set to null, and will not be updated in - future syncs. The "reason" and "message" fields in the request body will - be stored for audit purposes. - source: - openapi: openapi/openapi.yml - path-parameters: - model_id: string - request: - name: IgnoreCommonModelRequest - body: - properties: - reason: IgnoreCommonModelRequestReason - message: - type: optional - validation: - minLength: 1 - maxLength: 256 - content-type: application/json - examples: - - path-parameters: - model_id: model_id - headers: - X-Account-Token: X-Account-Token - request: - reason: GENERAL_CUSTOMER_REQUEST - metaPostRetrieve: - path: /hris/v1/employees/meta/post - method: GET - auth: - - tokenAuth: [] - docs: Returns metadata for `Employee` POSTs. - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: root.MetaResponse - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - request_schema: - type: object - properties: - model: - type: object - required: - - last_name - - first_name - - merge_categories - - new_york_city_neighborhood - - favorite_tv_shows - - favorite_watch - properties: - email_addresses: - type: array - items: - type: object - properties: - value: - type: string - title: value - email_address_type: - type: string - title: email_address_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: email_addresses - description: Array of email_addresses objects - urls: - type: array - items: - type: object - properties: - value: - type: string - title: value - url_type: - type: string - title: url_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: urls - description: Array of urls objects - first_name: - type: string - title: first_name - description: The first name. - last_name: - type: string - title: last_name - description: The last name. - phone_numbers: - type: array - items: - type: object - properties: - value: - type: string - title: value - phone_number_type: - type: string - title: phone_number_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: phone_numbers - description: Array of phone_numbers objects - tags: - type: array - items: - type: string - format: uuid - title: tags - description: Array of tags names - attachments: - type: array - items: - type: object - properties: - id: - type: string - title: id - file_url: - type: string - title: file_url - file_name: - type: string - title: file_name - attachment_type: - type: string - title: attachment_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: attachments - description: 'Array of attachments objects ' - merge_categories: - type: array - categories: - type: string - enum: - - HRIS - - ATS - - Accounting - - Ticketing - - File Storage - - CRM - - Marketing Automation - enum_information: - - value: HRIS - description: Merge HRIS Category - - value: ATS - description: Merge ATS Category - - value: Accounting - description: Merge Accounting Category - - value: Ticketing - description: Merge Ticketing Category - - value: File Storage - description: Merge File Storage Category - - value: CRM - description: Merge CRM Category - - value: Marketing Automation - description: Merge Marketing Automation Category - title: Merge Categories - description: Array of Merge's Unified API Categories - new_york_city_neighborhood: - type: string - title: Borough - description: One of the 5 Boroughs of New York City - favorite_tv_shows: - type: array - items: - type: string - format: uuid - title: Favorite TV Shows - description: Array of TV Show objects on merge.tv_shows - favorite_watch: - type: string - title: Favorite Watch - description: Favorite watch of all time - remote_field_classes: - key: value - status: - linked_account_status: linked_account_status - can_make_request: true - has_conditional_params: true - has_required_linked_account_params: true - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/hris/employerBenefits.yml b/.mock/definition/hris/employerBenefits.yml deleted file mode 100644 index fd922280..00000000 --- a/.mock/definition/hris/employerBenefits.yml +++ /dev/null @@ -1,160 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /hris/v1/employer-benefits - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `EmployerBenefit` objects. - source: - openapi: openapi/openapi.yml - request: - name: EmployerBenefitsListRequest - query-parameters: - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - page_size: - type: optional - docs: Number of results to return per page. The maximum limit is 100. - remote_id: - type: optional - docs: The API provider's ID for the given object. - response: - docs: '' - type: root.PaginatedEmployerBenefitList - status-code: 200 - examples: - - query-parameters: - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - include_deleted_data: true - include_remote_data: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - page_size: 1 - remote_id: remote_id - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: 025fjlc6-6000-430a-848e-aafacbadf4fele - remote_id: '19202939' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - benefit_plan_type: MEDICAL - name: Kaiser Permanente Medical Plan - description: HDHP Silver Plan - deduction_code: COL - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /platform-endpoint - data: - - Varies by platform - retrieve: - path: /hris/v1/employer-benefits/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns an `EmployerBenefit` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: EmployerBenefitsRetrieveRequest - query-parameters: - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - response: - docs: '' - type: root.EmployerBenefit - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - include_remote_data: true - include_shell_data: true - headers: - X-Account-Token: X-Account-Token - response: - body: - id: 025fjlc6-6000-430a-848e-aafacbadf4fele - remote_id: '19202939' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - benefit_plan_type: MEDICAL - name: Kaiser Permanente Medical Plan - description: HDHP Silver Plan - deduction_code: COL - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /platform-endpoint - data: - - Varies by platform - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/hris/employments.yml b/.mock/definition/hris/employments.yml deleted file mode 100644 index 4a4c9029..00000000 --- a/.mock/definition/hris/employments.yml +++ /dev/null @@ -1,363 +0,0 @@ -types: - EmploymentsListRequestExpand: - enum: - - employee - - value: employee,pay_group - name: EmployeePayGroup - - pay_group - source: - openapi: openapi/openapi.yml - EmploymentsListRequestOrderBy: - enum: - - value: '-effective_date' - name: EffectiveDateDescending - - value: effective_date - name: EffectiveDateAscending - source: - openapi: openapi/openapi.yml - EmploymentsListRequestRemoteFields: - enum: - - employment_type - - value: employment_type,flsa_status - name: EmploymentTypeFlsaStatus - - value: employment_type,flsa_status,pay_frequency - name: EmploymentTypeFlsaStatusPayFrequency - - value: employment_type,flsa_status,pay_frequency,pay_period - name: EmploymentTypeFlsaStatusPayFrequencyPayPeriod - - value: employment_type,flsa_status,pay_period - name: EmploymentTypeFlsaStatusPayPeriod - - value: employment_type,pay_frequency - name: EmploymentTypePayFrequency - - value: employment_type,pay_frequency,pay_period - name: EmploymentTypePayFrequencyPayPeriod - - value: employment_type,pay_period - name: EmploymentTypePayPeriod - - flsa_status - - value: flsa_status,pay_frequency - name: FlsaStatusPayFrequency - - value: flsa_status,pay_frequency,pay_period - name: FlsaStatusPayFrequencyPayPeriod - - value: flsa_status,pay_period - name: FlsaStatusPayPeriod - - pay_frequency - - value: pay_frequency,pay_period - name: PayFrequencyPayPeriod - - pay_period - source: - openapi: openapi/openapi.yml - EmploymentsListRequestShowEnumOrigins: - enum: - - employment_type - - value: employment_type,flsa_status - name: EmploymentTypeFlsaStatus - - value: employment_type,flsa_status,pay_frequency - name: EmploymentTypeFlsaStatusPayFrequency - - value: employment_type,flsa_status,pay_frequency,pay_period - name: EmploymentTypeFlsaStatusPayFrequencyPayPeriod - - value: employment_type,flsa_status,pay_period - name: EmploymentTypeFlsaStatusPayPeriod - - value: employment_type,pay_frequency - name: EmploymentTypePayFrequency - - value: employment_type,pay_frequency,pay_period - name: EmploymentTypePayFrequencyPayPeriod - - value: employment_type,pay_period - name: EmploymentTypePayPeriod - - flsa_status - - value: flsa_status,pay_frequency - name: FlsaStatusPayFrequency - - value: flsa_status,pay_frequency,pay_period - name: FlsaStatusPayFrequencyPayPeriod - - value: flsa_status,pay_period - name: FlsaStatusPayPeriod - - pay_frequency - - value: pay_frequency,pay_period - name: PayFrequencyPayPeriod - - pay_period - source: - openapi: openapi/openapi.yml - EmploymentsRetrieveRequestExpand: - enum: - - employee - - value: employee,pay_group - name: EmployeePayGroup - - pay_group - source: - openapi: openapi/openapi.yml - EmploymentsRetrieveRequestRemoteFields: - enum: - - employment_type - - value: employment_type,flsa_status - name: EmploymentTypeFlsaStatus - - value: employment_type,flsa_status,pay_frequency - name: EmploymentTypeFlsaStatusPayFrequency - - value: employment_type,flsa_status,pay_frequency,pay_period - name: EmploymentTypeFlsaStatusPayFrequencyPayPeriod - - value: employment_type,flsa_status,pay_period - name: EmploymentTypeFlsaStatusPayPeriod - - value: employment_type,pay_frequency - name: EmploymentTypePayFrequency - - value: employment_type,pay_frequency,pay_period - name: EmploymentTypePayFrequencyPayPeriod - - value: employment_type,pay_period - name: EmploymentTypePayPeriod - - flsa_status - - value: flsa_status,pay_frequency - name: FlsaStatusPayFrequency - - value: flsa_status,pay_frequency,pay_period - name: FlsaStatusPayFrequencyPayPeriod - - value: flsa_status,pay_period - name: FlsaStatusPayPeriod - - pay_frequency - - value: pay_frequency,pay_period - name: PayFrequencyPayPeriod - - pay_period - source: - openapi: openapi/openapi.yml - EmploymentsRetrieveRequestShowEnumOrigins: - enum: - - employment_type - - value: employment_type,flsa_status - name: EmploymentTypeFlsaStatus - - value: employment_type,flsa_status,pay_frequency - name: EmploymentTypeFlsaStatusPayFrequency - - value: employment_type,flsa_status,pay_frequency,pay_period - name: EmploymentTypeFlsaStatusPayFrequencyPayPeriod - - value: employment_type,flsa_status,pay_period - name: EmploymentTypeFlsaStatusPayPeriod - - value: employment_type,pay_frequency - name: EmploymentTypePayFrequency - - value: employment_type,pay_frequency,pay_period - name: EmploymentTypePayFrequencyPayPeriod - - value: employment_type,pay_period - name: EmploymentTypePayPeriod - - flsa_status - - value: flsa_status,pay_frequency - name: FlsaStatusPayFrequency - - value: flsa_status,pay_frequency,pay_period - name: FlsaStatusPayFrequencyPayPeriod - - value: flsa_status,pay_period - name: FlsaStatusPayPeriod - - pay_frequency - - value: pay_frequency,pay_period - name: PayFrequencyPayPeriod - - pay_period - source: - openapi: openapi/openapi.yml -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /hris/v1/employments - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `Employment` objects. - source: - openapi: openapi/openapi.yml - request: - name: EmploymentsListRequest - query-parameters: - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - employee_id: - type: optional - docs: If provided, will only return employments for this employee. - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - order_by: - type: optional - docs: >- - Overrides the default ordering for this endpoint. Possible values - include: effective_date, -effective_date. - page_size: - type: optional - docs: Number of results to return per page. The maximum limit is 100. - remote_fields: - type: optional - docs: Deprecated. Use show_enum_origins. - remote_id: - type: optional - docs: The API provider's ID for the given object. - show_enum_origins: - type: optional - docs: >- - A comma separated list of enum field names for which you'd like - the original values to be returned, instead of Merge's normalized - enum values. [Learn - more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - response: - docs: '' - type: root.PaginatedEmploymentList - status-code: 200 - examples: - - query-parameters: - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - employee_id: employee_id - expand: employee - include_deleted_data: true - include_remote_data: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - order_by: '-effective_date' - page_size: 1 - remote_fields: employment_type - remote_id: remote_id - show_enum_origins: employment_type - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: 65d8ffd0-211b-4ba4-b85a-fbe2ce220982 - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - employee: employee - job_title: Executive Assistant to Tom Wambsgans - pay_rate: 1.1 - pay_period: HOUR - pay_frequency: WEEKLY - pay_currency: XUA - pay_group: pay_group - flsa_status: EXEMPT - effective_date: '2023-10-06T18:42:34Z' - employment_type: FULL_TIME - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /jobs - data: - - Varies by platform - retrieve: - path: /hris/v1/employments/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns an `Employment` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: EmploymentsRetrieveRequest - query-parameters: - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - remote_fields: - type: optional - docs: Deprecated. Use show_enum_origins. - show_enum_origins: - type: optional - docs: >- - A comma separated list of enum field names for which you'd like - the original values to be returned, instead of Merge's normalized - enum values. [Learn - more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - response: - docs: '' - type: root.Employment - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - expand: employee - include_remote_data: true - include_shell_data: true - remote_fields: employment_type - show_enum_origins: employment_type - headers: - X-Account-Token: X-Account-Token - response: - body: - id: 65d8ffd0-211b-4ba4-b85a-fbe2ce220982 - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - employee: employee - job_title: Executive Assistant to Tom Wambsgans - pay_rate: 1.1 - pay_period: HOUR - pay_frequency: WEEKLY - pay_currency: XUA - pay_group: pay_group - flsa_status: EXEMPT - effective_date: '2023-10-06T18:42:34Z' - employment_type: FULL_TIME - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /jobs - data: - - Varies by platform - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/hris/fieldMapping.yml b/.mock/definition/hris/fieldMapping.yml deleted file mode 100644 index 715db56d..00000000 --- a/.mock/definition/hris/fieldMapping.yml +++ /dev/null @@ -1,944 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - field_mappings_retrieve: - path: /hris/v1/field-mappings - method: GET - auth: - - tokenAuth: [] - docs: >- - Get all Field Mappings for this Linked Account. Field Mappings are - mappings between third-party Remote Fields and user defined Merge - fields. [Learn - more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). - source: - openapi: openapi/openapi.yml - request: - name: FieldMappingsRetrieveRequest - query-parameters: - exclude_remote_field_metadata: - type: optional - docs: >- - If `true`, remote fields metadata is excluded from each field - mapping instance (i.e. `remote_fields.remote_key_name` and - `remote_fields.schema` will be null). This will increase the speed - of the request since these fields require some calculations. - response: - docs: '' - type: root.FieldMappingApiInstanceResponse - status-code: 200 - examples: - - query-parameters: - exclude_remote_field_metadata: true - headers: - X-Account-Token: X-Account-Token - response: - body: - Benefit: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - jmes_path: '[0].example_jmes_path' - EmployerBenefit: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - jmes_path: '[0].example_jmes_path' - Company: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - jmes_path: '[0].example_jmes_path' - EmployeePayrollRun: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - jmes_path: '[0].example_jmes_path' - Employee: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - jmes_path: '[0].example_jmes_path' - Employment: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - jmes_path: '[0].example_jmes_path' - Location: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - jmes_path: '[0].example_jmes_path' - PayrollRun: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - jmes_path: '[0].example_jmes_path' - Team: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - jmes_path: '[0].example_jmes_path' - TimeOff: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - jmes_path: '[0].example_jmes_path' - TimeOffBalance: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - jmes_path: '[0].example_jmes_path' - BankInfo: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - jmes_path: '[0].example_jmes_path' - PayGroup: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - jmes_path: '[0].example_jmes_path' - Group: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - jmes_path: '[0].example_jmes_path' - Dependent: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - jmes_path: '[0].example_jmes_path' - TimesheetEntry: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - jmes_path: '[0].example_jmes_path' - field_mappings_create: - path: /hris/v1/field-mappings - method: POST - auth: - - tokenAuth: [] - docs: >- - Create new Field Mappings that will be available after the next - scheduled sync. This will cause the next sync for this Linked Account to - sync **ALL** data from start. - source: - openapi: openapi/openapi.yml - request: - name: CreateFieldMappingRequest - query-parameters: - exclude_remote_field_metadata: - type: optional - docs: >- - If `true`, remote fields metadata is excluded from each field - mapping instance (i.e. `remote_fields.remote_key_name` and - `remote_fields.schema` will be null). This will increase the speed - of the request since these fields require some calculations. - body: - properties: - target_field_name: - type: string - docs: >- - The name of the target field you want this remote field to map - to. - validation: - minLength: 1 - target_field_description: - type: string - docs: >- - The description of the target field you want this remote field - to map to. - validation: - minLength: 1 - remote_field_traversal_path: - docs: >- - The field traversal path of the remote field listed when you hit - the GET /remote-fields endpoint. - type: list - remote_method: - type: string - docs: >- - The method of the remote endpoint where the remote field is - coming from. - validation: - minLength: 1 - remote_url_path: - type: string - docs: >- - The path of the remote endpoint where the remote field is coming - from. - validation: - minLength: 1 - common_model_name: - type: string - docs: >- - The name of the Common Model that the remote field corresponds - to in a given category. - validation: - minLength: 1 - jmes_path: - type: optional - docs: >- - JMES path to specify json query expression to be used on field - mapping. - validation: - minLength: 1 - content-type: application/json - response: - docs: '' - type: root.FieldMappingInstanceResponse - status-code: 201 - examples: - - query-parameters: - exclude_remote_field_metadata: true - headers: - X-Account-Token: X-Account-Token - request: - target_field_name: example_target_field_name - target_field_description: this is a example description of the target field - remote_field_traversal_path: - - example_remote_field - remote_method: GET - remote_url_path: /example-url-path - common_model_name: ExampleCommonModel - response: - body: - model: - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - jmes_path: '[0].example_jmes_path' - warnings: - - source: - pointer: pointer - title: Unrecognized Field - detail: An unrecognized field, age, was passed in with request data. - problem_type: UNRECOGNIZED_FIELD - errors: - - source: - pointer: pointer - title: Missing Required Field - detail: custom_fields is a required field on model. - problem_type: MISSING_REQUIRED_FIELD - logs: - - log_id: 99433219-8017-4acd-bb3c-ceb23d663832 - dashboard_view: >- - https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832 - log_summary: - url: www.exampleintegration.com/api/v1/exampleapi - method: POST - status_code: 200 - field_mappings_destroy: - path: /hris/v1/field-mappings/{field_mapping_id} - method: DELETE - auth: - - tokenAuth: [] - docs: >- - Deletes Field Mappings for a Linked Account. All data related to this - Field Mapping will be deleted and these changes will be reflected after - the next scheduled sync. This will cause the next sync for this Linked - Account to sync **ALL** data from start. - source: - openapi: openapi/openapi.yml - path-parameters: - field_mapping_id: string - response: - docs: '' - type: root.FieldMappingInstanceResponse - status-code: 204 - examples: - - path-parameters: - field_mapping_id: field_mapping_id - headers: - X-Account-Token: X-Account-Token - response: - body: - model: - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - jmes_path: '[0].example_jmes_path' - warnings: - - source: - pointer: pointer - title: Unrecognized Field - detail: An unrecognized field, age, was passed in with request data. - problem_type: UNRECOGNIZED_FIELD - errors: - - source: - pointer: pointer - title: Missing Required Field - detail: custom_fields is a required field on model. - problem_type: MISSING_REQUIRED_FIELD - logs: - - log_id: 99433219-8017-4acd-bb3c-ceb23d663832 - dashboard_view: >- - https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832 - log_summary: - url: www.exampleintegration.com/api/v1/exampleapi - method: POST - status_code: 200 - field_mappings_partial_update: - path: /hris/v1/field-mappings/{field_mapping_id} - method: PATCH - auth: - - tokenAuth: [] - docs: >- - Create or update existing Field Mappings for a Linked Account. Changes - will be reflected after the next scheduled sync. This will cause the - next sync for this Linked Account to sync **ALL** data from start. - source: - openapi: openapi/openapi.yml - path-parameters: - field_mapping_id: string - request: - name: PatchedEditFieldMappingRequest - body: - properties: - remote_field_traversal_path: - type: optional> - docs: >- - The field traversal path of the remote field listed when you hit - the GET /remote-fields endpoint. - remote_method: - type: optional - docs: >- - The method of the remote endpoint where the remote field is - coming from. - validation: - minLength: 1 - remote_url_path: - type: optional - docs: >- - The path of the remote endpoint where the remote field is coming - from. - validation: - minLength: 1 - jmes_path: - type: optional - docs: >- - JMES path to specify json query expression to be used on field - mapping. - validation: - minLength: 1 - content-type: application/json - response: - docs: '' - type: root.FieldMappingInstanceResponse - status-code: 200 - examples: - - path-parameters: - field_mapping_id: field_mapping_id - headers: - X-Account-Token: X-Account-Token - request: {} - response: - body: - model: - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - jmes_path: '[0].example_jmes_path' - warnings: - - source: - pointer: pointer - title: Unrecognized Field - detail: An unrecognized field, age, was passed in with request data. - problem_type: UNRECOGNIZED_FIELD - errors: - - source: - pointer: pointer - title: Missing Required Field - detail: custom_fields is a required field on model. - problem_type: MISSING_REQUIRED_FIELD - logs: - - log_id: 99433219-8017-4acd-bb3c-ceb23d663832 - dashboard_view: >- - https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832 - log_summary: - url: www.exampleintegration.com/api/v1/exampleapi - method: POST - status_code: 200 - remote_fields_retrieve: - path: /hris/v1/remote-fields - method: GET - auth: - - tokenAuth: [] - docs: >- - Get all remote fields for a Linked Account. Remote fields are - third-party fields that are accessible after initial sync if remote_data - is enabled. You can use remote fields to override existing Merge fields - or map a new Merge field. [Learn - more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). - source: - openapi: openapi/openapi.yml - request: - name: RemoteFieldsRetrieveRequest - query-parameters: - common_models: - type: optional - docs: >- - A comma seperated list of Common Model names. If included, will - only return Remote Fields for those Common Models. - include_example_values: - type: optional - docs: >- - If true, will include example values, where available, for remote - fields in the 3rd party platform. These examples come from active - data from your customers. - response: - docs: '' - type: root.RemoteFieldApiResponse - status-code: 200 - examples: - - query-parameters: - common_models: common_models - include_example_values: include_example_values - headers: - X-Account-Token: X-Account-Token - response: - body: - Benefit: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - EmployerBenefit: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - Company: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - EmployeePayrollRun: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - Employee: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - Employment: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - Location: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - PayrollRun: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - Team: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - TimeOff: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - TimeOffBalance: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - BankInfo: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - PayGroup: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - Group: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - Dependent: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - TimesheetEntry: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - target_fields_retrieve: - path: /hris/v1/target-fields - method: GET - auth: - - tokenAuth: [] - docs: >- - Get all organization-wide Target Fields, this will not include any - Linked Account specific Target Fields. Organization-wide Target Fields - are additional fields appended to the Merge Common Model for all Linked - Accounts in a category. [Learn - more](https://docs.merge.dev/supplemental-data/field-mappings/target-fields/). - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: root.ExternalTargetFieldApiResponse - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - Benefit: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - EmployerBenefit: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - Company: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - EmployeePayrollRun: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - Employee: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - Employment: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - Location: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - PayrollRun: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - Team: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - TimeOff: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - TimeOffBalance: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - BankInfo: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - PayGroup: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - Group: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - Dependent: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - TimesheetEntry: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/hris/forceResync.yml b/.mock/definition/hris/forceResync.yml deleted file mode 100644 index 948d6f1f..00000000 --- a/.mock/definition/hris/forceResync.yml +++ /dev/null @@ -1,39 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - sync_status_resync_create: - path: /hris/v1/sync-status/resync - method: POST - auth: - - tokenAuth: [] - docs: >- - Force re-sync of all models. This endpoint is available for monthly, - quarterly, and highest sync frequency customers on the Professional or - Enterprise plans. Doing so will consume a sync credit for the relevant - linked account. Force re-syncs can also be triggered manually in the - Merge Dashboard and is available for all customers. - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: list - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - - model_name: Employee - model_id: hris.Employee - last_sync_start: '2021-03-30T19:44:18Z' - next_sync_start: '2021-03-30T20:44:18Z' - last_sync_result: SYNCING - last_sync_finished: '2021-03-30T19:55:18Z' - status: SYNCING - is_initial_sync: true - selective_sync_configurations_usage: IN_NEXT_SYNC - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/hris/generateKey.yml b/.mock/definition/hris/generateKey.yml deleted file mode 100644 index 2deb432a..00000000 --- a/.mock/definition/hris/generateKey.yml +++ /dev/null @@ -1,39 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - create: - path: /hris/v1/generate-key - method: POST - auth: - - tokenAuth: [] - docs: Create a remote key. - source: - openapi: openapi/openapi.yml - request: - name: GenerateRemoteKeyRequest - body: - properties: - name: - type: string - docs: The name of the remote key - validation: - minLength: 1 - content-type: application/json - response: - docs: '' - type: root.RemoteKey - status-code: 200 - examples: - - headers: - X-Account-Token: '[object Object]' - request: - name: Remote Deployment Key 1 - response: - body: - name: Remote Deployment Key 1 - key: hXY57W0g0WkdRHjCaPvwijK63fwfN-o_Wh7f30SLTq_uPCOLo-WFcA - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/hris/groups.yml b/.mock/definition/hris/groups.yml deleted file mode 100644 index a4b84abe..00000000 --- a/.mock/definition/hris/groups.yml +++ /dev/null @@ -1,204 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /hris/v1/groups - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `Group` objects. - source: - openapi: openapi/openapi.yml - request: - name: GroupsListRequest - query-parameters: - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - is_commonly_used_as_team: - type: optional - docs: >- - If provided, specifies whether to return only Group objects which - refer to a team in the third party platform. Note that this is an - opinionated view based on how a team may be represented in the - third party platform. - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - names: - type: optional - docs: >- - If provided, will only return groups with these names. Multiple - values can be separated by commas. - page_size: - type: optional - docs: Number of results to return per page. The maximum limit is 100. - remote_fields: - type: optional> - docs: Deprecated. Use show_enum_origins. - remote_id: - type: optional - docs: The API provider's ID for the given object. - show_enum_origins: - type: optional> - docs: >- - A comma separated list of enum field names for which you'd like - the original values to be returned, instead of Merge's normalized - enum values. [Learn - more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - types: - type: optional - docs: >- - If provided, will only return groups of these types. Multiple - values can be separated by commas. - response: - docs: '' - type: root.PaginatedGroupList - status-code: 200 - examples: - - query-parameters: - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - include_deleted_data: true - include_remote_data: true - include_shell_data: true - is_commonly_used_as_team: is_commonly_used_as_team - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - names: names - page_size: 1 - remote_fields: type - remote_id: remote_id - show_enum_origins: type - types: types - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: 134e0111-0f67-44f6-98f0-597000290bb3 - remote_id: '800293' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - parent_group: 2ef51b11-2c4e-4b02-8d1d-50592d9e96ef - name: COST_CENTER_US - type: TEAM - is_commonly_used_as_team: true - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /group - data: - - Varies by platform - retrieve: - path: /hris/v1/groups/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns a `Group` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: GroupsRetrieveRequest - query-parameters: - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - remote_fields: - type: optional> - docs: Deprecated. Use show_enum_origins. - show_enum_origins: - type: optional> - docs: >- - A comma separated list of enum field names for which you'd like - the original values to be returned, instead of Merge's normalized - enum values. [Learn - more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - response: - docs: '' - type: root.Group - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - include_remote_data: true - include_shell_data: true - remote_fields: type - show_enum_origins: type - headers: - X-Account-Token: X-Account-Token - response: - body: - id: 134e0111-0f67-44f6-98f0-597000290bb3 - remote_id: '800293' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - parent_group: 2ef51b11-2c4e-4b02-8d1d-50592d9e96ef - name: COST_CENTER_US - type: TEAM - is_commonly_used_as_team: true - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /group - data: - - Varies by platform - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/hris/issues.yml b/.mock/definition/hris/issues.yml deleted file mode 100644 index 0246523a..00000000 --- a/.mock/definition/hris/issues.yml +++ /dev/null @@ -1,150 +0,0 @@ -types: - IssuesListRequestStatus: - enum: - - ONGOING - - RESOLVED - source: - openapi: openapi/openapi.yml -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /hris/v1/issues - method: GET - auth: - - tokenAuth: [] - docs: Gets all issues for Organization. - source: - openapi: openapi/openapi.yml - request: - name: IssuesListRequest - query-parameters: - account_token: optional - cursor: - type: optional - docs: The pagination cursor value. - end_date: - type: optional - docs: >- - If included, will only include issues whose most recent action - occurred before this time - end_user_organization_name: optional - first_incident_time_after: - type: optional - docs: >- - If provided, will only return issues whose first incident time was - after this datetime. - first_incident_time_before: - type: optional - docs: >- - If provided, will only return issues whose first incident time was - before this datetime. - include_muted: - type: optional - docs: If true, will include muted issues - integration_name: optional - last_incident_time_after: - type: optional - docs: >- - If provided, will only return issues whose last incident time was - after this datetime. - last_incident_time_before: - type: optional - docs: >- - If provided, will only return issues whose last incident time was - before this datetime. - linked_account_id: - type: optional - docs: >- - If provided, will only include issues pertaining to the linked - account passed in. - page_size: - type: optional - docs: Number of results to return per page. The maximum limit is 100. - start_date: - type: optional - docs: >- - If included, will only include issues whose most recent action - occurred after this time - status: - type: optional - docs: |- - Status of the issue. Options: ('ONGOING', 'RESOLVED') - - * `ONGOING` - ONGOING - * `RESOLVED` - RESOLVED - response: - docs: '' - type: root.PaginatedIssueList - status-code: 200 - examples: - - query-parameters: - account_token: account_token - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - end_date: end_date - end_user_organization_name: end_user_organization_name - first_incident_time_after: '2024-01-15T09:30:00Z' - first_incident_time_before: '2024-01-15T09:30:00Z' - include_muted: include_muted - integration_name: integration_name - last_incident_time_after: '2024-01-15T09:30:00Z' - last_incident_time_before: '2024-01-15T09:30:00Z' - linked_account_id: linked_account_id - page_size: 1 - start_date: start_date - status: ONGOING - headers: - X-Account-Token: '[object Object]' - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - status: ONGOING - error_description: Missing Permissions - end_user: - key: value - first_incident_time: '2022-12-05T16:19:15Z' - last_incident_time: '2022-12-05T16:19:15Z' - is_muted: true - error_details: - - Missing employee permissions. - - Missing time off permissions. - retrieve: - path: /hris/v1/issues/{id} - method: GET - auth: - - tokenAuth: [] - docs: Get a specific issue. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - response: - docs: '' - type: root.Issue - status-code: 200 - examples: - - path-parameters: - id: id - headers: - X-Account-Token: '[object Object]' - response: - body: - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - status: ONGOING - error_description: Missing Permissions - end_user: - key: value - first_incident_time: '2022-12-05T16:19:15Z' - last_incident_time: '2022-12-05T16:19:15Z' - is_muted: true - error_details: - - Missing employee permissions. - - Missing time off permissions. - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/hris/linkToken.yml b/.mock/definition/hris/linkToken.yml deleted file mode 100644 index e9d3235d..00000000 --- a/.mock/definition/hris/linkToken.yml +++ /dev/null @@ -1,177 +0,0 @@ -imports: - root: __package__.yml -types: - EndUserDetailsRequestLanguage: - discriminated: false - docs: >- - The following subset of IETF language tags can be used to configure - localization. - - - * `en` - en - - * `de` - de - union: - - root.LanguageEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - EndUserDetailsRequestCompletedAccountInitialScreen: - discriminated: false - docs: >- - When creating a Link token, you can specifiy the initial screen of Linking - Flow for a completed Linked Account. - - - * `SELECTIVE_SYNC` - SELECTIVE_SYNC - union: - - root.CompletedAccountInitialScreenEnum - - string - source: - openapi: openapi/openapi.yml - inline: true -service: - auth: false - base-path: '' - endpoints: - create: - path: /hris/v1/link-token - method: POST - auth: - - tokenAuth: [] - docs: Creates a link token to be used when linking a new end user. - source: - openapi: openapi/openapi.yml - request: - name: EndUserDetailsRequest - body: - properties: - end_user_email_address: - type: string - docs: >- - Your end user's email address. This is purely for identification - purposes - setting this value will not cause any emails to be - sent. - validation: - minLength: 1 - maxLength: 100 - end_user_organization_name: - type: string - docs: Your end user's organization. - validation: - minLength: 1 - maxLength: 100 - end_user_origin_id: - type: string - docs: >- - This unique identifier typically represents the ID for your end - user in your product's database. This value must be distinct - from other Linked Accounts' unique identifiers. - validation: - minLength: 1 - maxLength: 100 - categories: - docs: The integration categories to show in Merge Link. - type: list - integration: - type: optional - docs: >- - The slug of a specific pre-selected integration for this linking - flow token. For examples of slugs, see - https://docs.merge.dev/guides/merge-link/single-integration/. - validation: - minLength: 1 - link_expiry_mins: - type: optional - docs: >- - An integer number of minutes between [30, 720 or 10080 if for a - Magic Link URL] for how long this token is valid. Defaults to - 30. - default: 30 - validation: - min: 30 - max: 10080 - should_create_magic_link_url: - type: optional - docs: >- - Whether to generate a Magic Link URL. Defaults to false. For - more information on Magic Link, see - https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. - default: false - hide_admin_magic_link: - type: optional - docs: >- - Whether to generate a Magic Link URL on the Admin Needed screen - during the linking flow. Defaults to false. For more information - on Magic Link, see - https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. - default: false - common_models: - type: optional> - docs: >- - An array of objects to specify the models and fields that will - be disabled for a given Linked Account. Each object uses - model_id, enabled_actions, and disabled_fields to specify the - model, method, and fields that are scoped for a given Linked - Account. - category_common_model_scopes: - type: >- - optional>>> - docs: >- - When creating a Link Token, you can set permissions for Common - Models that will apply to the account that is going to be - linked. Any model or field not specified in link token payload - will default to existing settings. - language: - type: optional - docs: >- - The following subset of IETF language tags can be used to - configure localization. - - - * `en` - en - - * `de` - de - are_syncs_disabled: - type: optional - docs: >- - The boolean that indicates whether initial, periodic, and force - syncs will be disabled. - default: false - integration_specific_config: - type: optional> - docs: >- - A JSON object containing integration-specific configuration - options. - completed_account_initial_screen: - type: optional - docs: >- - When creating a Link token, you can specifiy the initial screen - of Linking Flow for a completed Linked Account. - - - * `SELECTIVE_SYNC` - SELECTIVE_SYNC - content-type: application/json - response: - docs: '' - type: root.LinkToken - status-code: 200 - examples: - - headers: - X-Account-Token: '[object Object]' - request: - end_user_email_address: example@gmail.com - end_user_organization_name: Test Organization - end_user_origin_id: '12345' - categories: - - hris - - ats - response: - body: - link_token: necdP7FtdASl1fQwm62be2_dM4wBG8_GactqoUV0 - integration_name: Lever - magic_link_url: https://link.merge.dev/asdfjkl12345jsndfgi2i83n - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/hris/linkedAccounts.yml b/.mock/definition/hris/linkedAccounts.yml deleted file mode 100644 index 77fca7fc..00000000 --- a/.mock/definition/hris/linkedAccounts.yml +++ /dev/null @@ -1,167 +0,0 @@ -types: - LinkedAccountsListRequestCategory: - enum: - - accounting - - ats - - crm - - filestorage - - hris - - mktg - - ticketing - source: - openapi: openapi/openapi.yml -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /hris/v1/linked-accounts - method: GET - auth: - - tokenAuth: [] - docs: List linked accounts for your organization. - source: - openapi: openapi/openapi.yml - request: - name: LinkedAccountsListRequest - query-parameters: - category: - type: optional - docs: >- - Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, - `mktg`, `ticketing` - - - * `hris` - hris - - * `ats` - ats - - * `accounting` - accounting - - * `ticketing` - ticketing - - * `crm` - crm - - * `mktg` - mktg - - * `filestorage` - filestorage - cursor: - type: optional - docs: The pagination cursor value. - end_user_email_address: - type: optional - docs: >- - If provided, will only return linked accounts associated with the - given email address. - end_user_organization_name: - type: optional - docs: >- - If provided, will only return linked accounts associated with the - given organization name. - end_user_origin_id: - type: optional - docs: >- - If provided, will only return linked accounts associated with the - given origin ID. - end_user_origin_ids: - type: optional - docs: >- - Comma-separated list of EndUser origin IDs, making it possible to - specify multiple EndUsers at once. - id: - type: optional - validation: - format: uuid - ids: - type: optional - docs: >- - Comma-separated list of LinkedAccount IDs, making it possible to - specify multiple LinkedAccounts at once. - include_duplicates: - type: optional - docs: >- - If `true`, will include complete production duplicates of the - account specified by the `id` query parameter in the response. - `id` must be for a complete production linked account. - integration_name: - type: optional - docs: >- - If provided, will only return linked accounts associated with the - given integration name. - is_test_account: - type: optional - docs: >- - If included, will only include test linked accounts. If not - included, will only include non-test linked accounts. - page_size: - type: optional - docs: Number of results to return per page. The maximum limit is 100. - status: - type: optional - docs: >- - Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, - `RELINK_NEEDED` - response: - docs: '' - type: root.PaginatedAccountDetailsAndActionsList - status-code: 200 - examples: - - query-parameters: - category: accounting - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - end_user_email_address: end_user_email_address - end_user_organization_name: end_user_organization_name - end_user_origin_id: end_user_origin_id - end_user_origin_ids: end_user_origin_ids - id: id - ids: ids - include_duplicates: true - integration_name: integration_name - is_test_account: is_test_account - page_size: 1 - status: status - headers: - X-Account-Token: '[object Object]' - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: e59b1821-f85c-4e28-a6b3-1804156f3563 - category: hris - status: COMPLETE - status_detail: Invalid login credentials - end_user_origin_id: 3ac95cde-6c7f-4eef-afec-be710b42308d - end_user_organization_name: Foo Bar, LLC - end_user_email_address: hradmin@foobar.dev - subdomain: foobar - webhook_listener_url: >- - https://api.merge.dev/api/integrations/webhook-listener/7fc3mee0UW8ecV4 - is_duplicate: true - integration: - name: name - categories: - - hris - color: color - slug: slug - passthrough_available: true - available_model_operations: - - model_name: Candidate - available_operations: - - FETCH - - CREATE - required_post_parameters: - - remote_user_id - supported_fields: - - first_name - - last_name - - company - - title - account_type: PRODUCTION - completed_at: '2024-08-26T20:11:19Z' - integration_specific_fields: - integration_specific_field: Varies by platform - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/hris/locations.yml b/.mock/definition/hris/locations.yml deleted file mode 100644 index 3ea21564..00000000 --- a/.mock/definition/hris/locations.yml +++ /dev/null @@ -1,241 +0,0 @@ -types: - LocationsListRequestLocationType: - enum: - - HOME - - WORK - source: - openapi: openapi/openapi.yml - LocationsListRequestRemoteFields: - enum: - - country - - value: country,location_type - name: CountryLocationType - - location_type - source: - openapi: openapi/openapi.yml - LocationsListRequestShowEnumOrigins: - enum: - - country - - value: country,location_type - name: CountryLocationType - - location_type - source: - openapi: openapi/openapi.yml - LocationsRetrieveRequestRemoteFields: - enum: - - country - - value: country,location_type - name: CountryLocationType - - location_type - source: - openapi: openapi/openapi.yml - LocationsRetrieveRequestShowEnumOrigins: - enum: - - country - - value: country,location_type - name: CountryLocationType - - location_type - source: - openapi: openapi/openapi.yml -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /hris/v1/locations - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `Location` objects. - source: - openapi: openapi/openapi.yml - request: - name: LocationsListRequest - query-parameters: - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - location_type: - type: optional - docs: |- - If provided, will only return locations with this location type - - * `HOME` - HOME - * `WORK` - WORK - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - page_size: - type: optional - docs: Number of results to return per page. The maximum limit is 100. - remote_fields: - type: optional - docs: Deprecated. Use show_enum_origins. - remote_id: - type: optional - docs: The API provider's ID for the given object. - show_enum_origins: - type: optional - docs: >- - A comma separated list of enum field names for which you'd like - the original values to be returned, instead of Merge's normalized - enum values. [Learn - more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - response: - docs: '' - type: root.PaginatedLocationList - status-code: 200 - examples: - - query-parameters: - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - include_deleted_data: true - include_remote_data: true - include_shell_data: true - location_type: HOME - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - page_size: 1 - remote_fields: country - remote_id: remote_id - show_enum_origins: country - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: f5e6a151-f44e-449a-afb1-8fd781905958 - remote_id: '93018402' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: NYC Office - phone_number: '+1111111111' - street_1: 2920 Broadway - street_2: 2nd Floor - city: 'New York ' - state: NY - zip_code: '10027' - country: AF - location_type: HOME - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /locations - data: - - Varies by platform - retrieve: - path: /hris/v1/locations/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns a `Location` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: LocationsRetrieveRequest - query-parameters: - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - remote_fields: - type: optional - docs: Deprecated. Use show_enum_origins. - show_enum_origins: - type: optional - docs: >- - A comma separated list of enum field names for which you'd like - the original values to be returned, instead of Merge's normalized - enum values. [Learn - more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - response: - docs: '' - type: root.Location - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - include_remote_data: true - include_shell_data: true - remote_fields: country - show_enum_origins: country - headers: - X-Account-Token: X-Account-Token - response: - body: - id: f5e6a151-f44e-449a-afb1-8fd781905958 - remote_id: '93018402' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: NYC Office - phone_number: '+1111111111' - street_1: 2920 Broadway - street_2: 2nd Floor - city: 'New York ' - state: NY - zip_code: '10027' - country: AF - location_type: HOME - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /locations - data: - - Varies by platform - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/hris/passthrough.yml b/.mock/definition/hris/passthrough.yml deleted file mode 100644 index 2a6c9cf2..00000000 --- a/.mock/definition/hris/passthrough.yml +++ /dev/null @@ -1,46 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - create: - path: /hris/v1/passthrough - method: POST - auth: - - tokenAuth: [] - docs: Pull data from an endpoint not currently supported by Merge. - source: - openapi: openapi/openapi.yml - request: - body: root.DataPassthroughRequest - content-type: application/json - response: - docs: '' - type: root.RemoteResponse - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - request: - method: GET - path: /scooters - response: - body: - method: GET - path: /scooters - status: 200 - response: - scooters: - - company: Lime - model: Gen 2.5 - - company: Bird - model: Bird Zero - response_headers: - X-Page-Token: value - response_type: JSON - headers: - EXTRA-HEADER: value - Authorization: - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/hris/payGroups.yml b/.mock/definition/hris/payGroups.yml deleted file mode 100644 index 0a6ae4e1..00000000 --- a/.mock/definition/hris/payGroups.yml +++ /dev/null @@ -1,154 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /hris/v1/pay-groups - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `PayGroup` objects. - source: - openapi: openapi/openapi.yml - request: - name: PayGroupsListRequest - query-parameters: - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - page_size: - type: optional - docs: Number of results to return per page. The maximum limit is 100. - remote_id: - type: optional - docs: The API provider's ID for the given object. - response: - docs: '' - type: root.PaginatedPayGroupList - status-code: 200 - examples: - - query-parameters: - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - include_deleted_data: true - include_remote_data: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - page_size: 1 - remote_id: remote_id - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: fd1e0fb5-8f92-4ec9-9f32-179cf732867d - remote_id: '800293' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - pay_group_name: contractor - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /pay-group - data: - - Varies by platform - retrieve: - path: /hris/v1/pay-groups/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns a `PayGroup` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: PayGroupsRetrieveRequest - query-parameters: - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - response: - docs: '' - type: root.PayGroup - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - include_remote_data: true - include_shell_data: true - headers: - X-Account-Token: X-Account-Token - response: - body: - id: fd1e0fb5-8f92-4ec9-9f32-179cf732867d - remote_id: '800293' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - pay_group_name: contractor - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /pay-group - data: - - Varies by platform - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/hris/payrollRuns.yml b/.mock/definition/hris/payrollRuns.yml deleted file mode 100644 index d4c72205..00000000 --- a/.mock/definition/hris/payrollRuns.yml +++ /dev/null @@ -1,270 +0,0 @@ -types: - PayrollRunsListRequestRemoteFields: - enum: - - run_state - - value: run_state,run_type - name: RunStateRunType - - run_type - source: - openapi: openapi/openapi.yml - PayrollRunsListRequestRunType: - enum: - - CORRECTION - - OFF_CYCLE - - REGULAR - - SIGN_ON_BONUS - - TERMINATION - source: - openapi: openapi/openapi.yml - PayrollRunsListRequestShowEnumOrigins: - enum: - - run_state - - value: run_state,run_type - name: RunStateRunType - - run_type - source: - openapi: openapi/openapi.yml - PayrollRunsRetrieveRequestRemoteFields: - enum: - - run_state - - value: run_state,run_type - name: RunStateRunType - - run_type - source: - openapi: openapi/openapi.yml - PayrollRunsRetrieveRequestShowEnumOrigins: - enum: - - run_state - - value: run_state,run_type - name: RunStateRunType - - run_type - source: - openapi: openapi/openapi.yml -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /hris/v1/payroll-runs - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `PayrollRun` objects. - source: - openapi: openapi/openapi.yml - request: - name: PayrollRunsListRequest - query-parameters: - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - ended_after: - type: optional - docs: >- - If provided, will only return payroll runs ended after this - datetime. - ended_before: - type: optional - docs: >- - If provided, will only return payroll runs ended before this - datetime. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - page_size: - type: optional - docs: Number of results to return per page. The maximum limit is 100. - remote_fields: - type: optional - docs: Deprecated. Use show_enum_origins. - remote_id: - type: optional - docs: The API provider's ID for the given object. - run_type: - type: optional - docs: >- - If provided, will only return PayrollRun's with this status. - Options: ('REGULAR', 'OFF_CYCLE', 'CORRECTION', 'TERMINATION', - 'SIGN_ON_BONUS') - - - * `REGULAR` - REGULAR - - * `OFF_CYCLE` - OFF_CYCLE - - * `CORRECTION` - CORRECTION - - * `TERMINATION` - TERMINATION - - * `SIGN_ON_BONUS` - SIGN_ON_BONUS - show_enum_origins: - type: optional - docs: >- - A comma separated list of enum field names for which you'd like - the original values to be returned, instead of Merge's normalized - enum values. [Learn - more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - started_after: - type: optional - docs: >- - If provided, will only return payroll runs started after this - datetime. - started_before: - type: optional - docs: >- - If provided, will only return payroll runs started before this - datetime. - response: - docs: '' - type: root.PaginatedPayrollRunList - status-code: 200 - examples: - - query-parameters: - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - ended_after: '2024-01-15T09:30:00Z' - ended_before: '2024-01-15T09:30:00Z' - include_deleted_data: true - include_remote_data: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - page_size: 1 - remote_fields: run_state - remote_id: remote_id - run_type: CORRECTION - show_enum_origins: run_state - started_after: '2024-01-15T09:30:00Z' - started_before: '2024-01-15T09:30:00Z' - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: 37336947-b3d4-4a4c-a310-ab6ab510e079 - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - run_state: PAID - run_type: REGULAR - start_date: '2020-11-08T00:00:00Z' - end_date: '2020-11-15T00:00:00Z' - check_date: '2020-11-15T00:00:00Z' - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /payroll - data: - - Varies by platform - retrieve: - path: /hris/v1/payroll-runs/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns a `PayrollRun` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: PayrollRunsRetrieveRequest - query-parameters: - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - remote_fields: - type: optional - docs: Deprecated. Use show_enum_origins. - show_enum_origins: - type: optional - docs: >- - A comma separated list of enum field names for which you'd like - the original values to be returned, instead of Merge's normalized - enum values. [Learn - more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - response: - docs: '' - type: root.PayrollRun - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - include_remote_data: true - include_shell_data: true - remote_fields: run_state - show_enum_origins: run_state - headers: - X-Account-Token: X-Account-Token - response: - body: - id: 37336947-b3d4-4a4c-a310-ab6ab510e079 - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - run_state: PAID - run_type: REGULAR - start_date: '2020-11-08T00:00:00Z' - end_date: '2020-11-15T00:00:00Z' - check_date: '2020-11-15T00:00:00Z' - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /payroll - data: - - Varies by platform - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/hris/regenerateKey.yml b/.mock/definition/hris/regenerateKey.yml deleted file mode 100644 index 01ca259e..00000000 --- a/.mock/definition/hris/regenerateKey.yml +++ /dev/null @@ -1,39 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - create: - path: /hris/v1/regenerate-key - method: POST - auth: - - tokenAuth: [] - docs: Exchange remote keys. - source: - openapi: openapi/openapi.yml - request: - name: RemoteKeyForRegenerationRequest - body: - properties: - name: - type: string - docs: The name of the remote key - validation: - minLength: 1 - content-type: application/json - response: - docs: '' - type: root.RemoteKey - status-code: 200 - examples: - - headers: - X-Account-Token: '[object Object]' - request: - name: Remote Deployment Key 1 - response: - body: - name: Remote Deployment Key 1 - key: hXY57W0g0WkdRHjCaPvwijK63fwfN-o_Wh7f30SLTq_uPCOLo-WFcA - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/hris/scopes.yml b/.mock/definition/hris/scopes.yml deleted file mode 100644 index d3caa6e1..00000000 --- a/.mock/definition/hris/scopes.yml +++ /dev/null @@ -1,167 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - default_scopes_retrieve: - path: /hris/v1/default-scopes - method: GET - auth: - - tokenAuth: [] - docs: >- - Get the default permissions for Merge Common Models and fields across - all Linked Accounts of a given category. [Learn - more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: root.CommonModelScopeApi - status-code: 200 - examples: - - headers: - X-Account-Token: '[object Object]' - response: - body: - common_models: - - model_name: Employee - model_permissions: - READ: - is_enabled: true - WRITE: - is_enabled: false - field_permissions: - enabled_fields: - - avatar - - created_at - - custom_fields - - date_of_birth - - first_name - - gender - - remote_created_at - - remote_data - disabled_fields: - - company - - employments - - groups - - home_location - - manager - - work_location - linked_account_scopes_retrieve: - path: /hris/v1/linked-account-scopes - method: GET - auth: - - tokenAuth: [] - docs: >- - Get all available permissions for Merge Common Models and fields for a - single Linked Account. [Learn - more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: root.CommonModelScopeApi - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - common_models: - - model_name: Employee - model_permissions: - READ: - is_enabled: true - WRITE: - is_enabled: false - field_permissions: - enabled_fields: - - avatar - - created_at - - custom_fields - - date_of_birth - - first_name - - gender - - remote_created_at - - remote_data - disabled_fields: - - company - - employments - - groups - - home_location - - manager - - work_location - linked_account_scopes_create: - path: /hris/v1/linked-account-scopes - method: POST - auth: - - tokenAuth: [] - docs: >- - Update permissions for any Common Model or field for a single Linked - Account. Any Scopes not set in this POST request will inherit the - default Scopes. [Learn - more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes) - source: - openapi: openapi/openapi.yml - request: - name: LinkedAccountCommonModelScopeDeserializerRequest - body: - properties: - common_models: - docs: The common models you want to update the scopes for - type: list - content-type: application/json - response: - docs: '' - type: root.CommonModelScopeApi - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - request: - common_models: - - model_name: Employee - model_permissions: - READ: - is_enabled: true - WRITE: - is_enabled: false - field_permissions: - enabled_fields: - - avatar - - home_location - disabled_fields: - - work_location - - model_name: Benefit - model_permissions: - WRITE: - is_enabled: false - response: - body: - common_models: - - model_name: Employee - model_permissions: - READ: - is_enabled: true - WRITE: - is_enabled: false - field_permissions: - enabled_fields: - - avatar - - created_at - - custom_fields - - date_of_birth - - first_name - - gender - - remote_created_at - - remote_data - disabled_fields: - - company - - employments - - groups - - home_location - - manager - - work_location - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/hris/syncStatus.yml b/.mock/definition/hris/syncStatus.yml deleted file mode 100644 index 2ba7cc8d..00000000 --- a/.mock/definition/hris/syncStatus.yml +++ /dev/null @@ -1,60 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /hris/v1/sync-status - method: GET - auth: - - tokenAuth: [] - docs: >- - Get sync status for the current sync and the most recently finished - sync. `last_sync_start` represents the most recent time any sync began. - `last_sync_finished` represents the most recent time any sync completed. - These timestamps may correspond to different sync instances which may - result in a sync start time being later than a separate sync completed - time. To ensure you are retrieving the latest available data reference - the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. - Possible values for `status` and `last_sync_result` are `DISABLED`, - `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more - about sync status in our [Help - Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). - source: - openapi: openapi/openapi.yml - request: - name: SyncStatusListRequest - query-parameters: - cursor: - type: optional - docs: The pagination cursor value. - page_size: - type: optional - docs: Number of results to return per page. The maximum limit is 100. - response: - docs: '' - type: root.PaginatedSyncStatusList - status-code: 200 - examples: - - query-parameters: - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - page_size: 1 - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - model_name: Employee - model_id: hris.Employee - last_sync_start: '2021-03-30T19:44:18Z' - next_sync_start: '2021-03-30T20:44:18Z' - last_sync_result: SYNCING - last_sync_finished: '2021-03-30T19:55:18Z' - status: SYNCING - is_initial_sync: true - selective_sync_configurations_usage: IN_NEXT_SYNC - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/hris/teams.yml b/.mock/definition/hris/teams.yml deleted file mode 100644 index 1bb0e5ff..00000000 --- a/.mock/definition/hris/teams.yml +++ /dev/null @@ -1,172 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /hris/v1/teams - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `Team` objects. - source: - openapi: openapi/openapi.yml - request: - name: TeamsListRequest - query-parameters: - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - expand: - type: optional> - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - page_size: - type: optional - docs: Number of results to return per page. The maximum limit is 100. - parent_team_id: - type: optional - docs: If provided, will only return teams with this parent team. - remote_id: - type: optional - docs: The API provider's ID for the given object. - response: - docs: '' - type: root.PaginatedTeamList - status-code: 200 - examples: - - query-parameters: - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - expand: parent_team - include_deleted_data: true - include_remote_data: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - page_size: 1 - parent_team_id: parent_team_id - remote_id: remote_id - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: 13a72919-9fae-4f54-81ca-ddfd8712a1ba - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Engineering - parent_team: parent_team - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /teams - data: - - Varies by platform - retrieve: - path: /hris/v1/teams/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns a `Team` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: TeamsRetrieveRequest - query-parameters: - expand: - type: optional> - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - response: - docs: '' - type: root.Team - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - expand: parent_team - include_remote_data: true - include_shell_data: true - headers: - X-Account-Token: X-Account-Token - response: - body: - id: 13a72919-9fae-4f54-81ca-ddfd8712a1ba - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Engineering - parent_team: parent_team - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /teams - data: - - Varies by platform - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/hris/timeOff.yml b/.mock/definition/hris/timeOff.yml deleted file mode 100644 index b4c98707..00000000 --- a/.mock/definition/hris/timeOff.yml +++ /dev/null @@ -1,638 +0,0 @@ -types: - TimeOffListRequestExpand: - enum: - - approver - - employee - - value: employee,approver - name: EmployeeApprover - source: - openapi: openapi/openapi.yml - TimeOffListRequestRemoteFields: - enum: - - request_type - - value: request_type,status - name: RequestTypeStatus - - value: request_type,status,units - name: RequestTypeStatusUnits - - value: request_type,units - name: RequestTypeUnits - - status - - value: status,units - name: StatusUnits - - units - source: - openapi: openapi/openapi.yml - TimeOffListRequestRequestType: - enum: - - BEREAVEMENT - - JURY_DUTY - - PERSONAL - - SICK - - VACATION - - VOLUNTEER - source: - openapi: openapi/openapi.yml - TimeOffListRequestShowEnumOrigins: - enum: - - request_type - - value: request_type,status - name: RequestTypeStatus - - value: request_type,status,units - name: RequestTypeStatusUnits - - value: request_type,units - name: RequestTypeUnits - - status - - value: status,units - name: StatusUnits - - units - source: - openapi: openapi/openapi.yml - TimeOffListRequestStatus: - enum: - - APPROVED - - CANCELLED - - DECLINED - - DELETED - - REQUESTED - source: - openapi: openapi/openapi.yml - TimeOffRetrieveRequestExpand: - enum: - - approver - - employee - - value: employee,approver - name: EmployeeApprover - source: - openapi: openapi/openapi.yml - TimeOffRetrieveRequestRemoteFields: - enum: - - request_type - - value: request_type,status - name: RequestTypeStatus - - value: request_type,status,units - name: RequestTypeStatusUnits - - value: request_type,units - name: RequestTypeUnits - - status - - value: status,units - name: StatusUnits - - units - source: - openapi: openapi/openapi.yml - TimeOffRetrieveRequestShowEnumOrigins: - enum: - - request_type - - value: request_type,status - name: RequestTypeStatus - - value: request_type,status,units - name: RequestTypeStatusUnits - - value: request_type,units - name: RequestTypeUnits - - status - - value: status,units - name: StatusUnits - - units - source: - openapi: openapi/openapi.yml -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /hris/v1/time-off - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `TimeOff` objects. - source: - openapi: openapi/openapi.yml - request: - name: TimeOffListRequest - query-parameters: - approver_id: - type: optional - docs: If provided, will only return time off for this approver. - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - employee_id: - type: optional - docs: If provided, will only return time off for this employee. - ended_after: - type: optional - docs: >- - If provided, will only return employees that ended after this - datetime. - ended_before: - type: optional - docs: >- - If provided, will only return time-offs that ended before this - datetime. - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - page_size: - type: optional - docs: Number of results to return per page. The maximum limit is 100. - remote_fields: - type: optional - docs: Deprecated. Use show_enum_origins. - remote_id: - type: optional - docs: The API provider's ID for the given object. - request_type: - type: optional - docs: >- - If provided, will only return TimeOff with this request type. - Options: ('VACATION', 'SICK', 'PERSONAL', 'JURY_DUTY', - 'VOLUNTEER', 'BEREAVEMENT') - - - * `VACATION` - VACATION - - * `SICK` - SICK - - * `PERSONAL` - PERSONAL - - * `JURY_DUTY` - JURY_DUTY - - * `VOLUNTEER` - VOLUNTEER - - * `BEREAVEMENT` - BEREAVEMENT - show_enum_origins: - type: optional - docs: >- - A comma separated list of enum field names for which you'd like - the original values to be returned, instead of Merge's normalized - enum values. [Learn - more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - started_after: - type: optional - docs: >- - If provided, will only return time-offs that started after this - datetime. - started_before: - type: optional - docs: >- - If provided, will only return time-offs that started before this - datetime. - status: - type: optional - docs: >- - If provided, will only return TimeOff with this status. Options: - ('REQUESTED', 'APPROVED', 'DECLINED', 'CANCELLED', 'DELETED') - - - * `REQUESTED` - REQUESTED - - * `APPROVED` - APPROVED - - * `DECLINED` - DECLINED - - * `CANCELLED` - CANCELLED - - * `DELETED` - DELETED - response: - docs: '' - type: root.PaginatedTimeOffList - status-code: 200 - examples: - - query-parameters: - approver_id: approver_id - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - employee_id: employee_id - ended_after: '2024-01-15T09:30:00Z' - ended_before: '2024-01-15T09:30:00Z' - expand: approver - include_deleted_data: true - include_remote_data: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - page_size: 1 - remote_fields: request_type - remote_id: remote_id - request_type: BEREAVEMENT - show_enum_origins: request_type - started_after: '2024-01-15T09:30:00Z' - started_before: '2024-01-15T09:30:00Z' - status: APPROVED - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: 91b2b905-e866-40c8-8be2-efe53827a0aa - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - employee: employee - approver: approver - status: REQUESTED - employee_note: Moving into the new apartment Kendall Roy gave me! - units: HOURS - amount: 3 - request_type: VACATION - start_time: '2020-11-10T00:00:00Z' - end_time: '2020-11-17T00:00:00Z' - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /leave - data: - - Varies by platform - create: - path: /hris/v1/time-off - method: POST - auth: - - tokenAuth: [] - docs: Creates a `TimeOff` object with the given values. - source: - openapi: openapi/openapi.yml - request: - name: TimeOffEndpointRequest - query-parameters: - is_debug_mode: - type: optional - docs: >- - Whether to include debug fields (such as log file links) in the - response. - run_async: - type: optional - docs: Whether or not third-party updates should be run asynchronously. - body: - properties: - model: root.TimeOffRequest - content-type: application/json - response: - docs: '' - type: root.TimeOffResponse - status-code: 201 - examples: - - query-parameters: - is_debug_mode: true - run_async: true - headers: - X-Account-Token: X-Account-Token - request: - model: {} - response: - body: - model: - id: 91b2b905-e866-40c8-8be2-efe53827a0aa - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - employee: employee - approver: approver - status: REQUESTED - employee_note: Moving into the new apartment Kendall Roy gave me! - units: HOURS - amount: 3 - request_type: VACATION - start_time: '2020-11-10T00:00:00Z' - end_time: '2020-11-17T00:00:00Z' - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /leave - data: - - Varies by platform - warnings: - - source: - pointer: pointer - title: Unrecognized Field - detail: An unrecognized field, age, was passed in with request data. - problem_type: UNRECOGNIZED_FIELD - errors: - - source: - pointer: pointer - title: Missing Required Field - detail: custom_fields is a required field on model. - problem_type: MISSING_REQUIRED_FIELD - logs: - - log_id: 99433219-8017-4acd-bb3c-ceb23d663832 - dashboard_view: >- - https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832 - log_summary: - url: www.exampleintegration.com/api/v1/exampleapi - method: POST - status_code: 200 - retrieve: - path: /hris/v1/time-off/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns a `TimeOff` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: TimeOffRetrieveRequest - query-parameters: - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - remote_fields: - type: optional - docs: Deprecated. Use show_enum_origins. - show_enum_origins: - type: optional - docs: >- - A comma separated list of enum field names for which you'd like - the original values to be returned, instead of Merge's normalized - enum values. [Learn - more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - response: - docs: '' - type: root.TimeOff - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - expand: approver - include_remote_data: true - include_shell_data: true - remote_fields: request_type - show_enum_origins: request_type - headers: - X-Account-Token: X-Account-Token - response: - body: - id: 91b2b905-e866-40c8-8be2-efe53827a0aa - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - employee: employee - approver: approver - status: REQUESTED - employee_note: Moving into the new apartment Kendall Roy gave me! - units: HOURS - amount: 3 - request_type: VACATION - start_time: '2020-11-10T00:00:00Z' - end_time: '2020-11-17T00:00:00Z' - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /leave - data: - - Varies by platform - metaPostRetrieve: - path: /hris/v1/time-off/meta/post - method: GET - auth: - - tokenAuth: [] - docs: Returns metadata for `TimeOff` POSTs. - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: root.MetaResponse - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - request_schema: - type: object - properties: - model: - type: object - required: - - last_name - - first_name - - merge_categories - - new_york_city_neighborhood - - favorite_tv_shows - - favorite_watch - properties: - email_addresses: - type: array - items: - type: object - properties: - value: - type: string - title: value - email_address_type: - type: string - title: email_address_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: email_addresses - description: Array of email_addresses objects - urls: - type: array - items: - type: object - properties: - value: - type: string - title: value - url_type: - type: string - title: url_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: urls - description: Array of urls objects - first_name: - type: string - title: first_name - description: The first name. - last_name: - type: string - title: last_name - description: The last name. - phone_numbers: - type: array - items: - type: object - properties: - value: - type: string - title: value - phone_number_type: - type: string - title: phone_number_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: phone_numbers - description: Array of phone_numbers objects - tags: - type: array - items: - type: string - format: uuid - title: tags - description: Array of tags names - attachments: - type: array - items: - type: object - properties: - id: - type: string - title: id - file_url: - type: string - title: file_url - file_name: - type: string - title: file_name - attachment_type: - type: string - title: attachment_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: attachments - description: 'Array of attachments objects ' - merge_categories: - type: array - categories: - type: string - enum: - - HRIS - - ATS - - Accounting - - Ticketing - - File Storage - - CRM - - Marketing Automation - enum_information: - - value: HRIS - description: Merge HRIS Category - - value: ATS - description: Merge ATS Category - - value: Accounting - description: Merge Accounting Category - - value: Ticketing - description: Merge Ticketing Category - - value: File Storage - description: Merge File Storage Category - - value: CRM - description: Merge CRM Category - - value: Marketing Automation - description: Merge Marketing Automation Category - title: Merge Categories - description: Array of Merge's Unified API Categories - new_york_city_neighborhood: - type: string - title: Borough - description: One of the 5 Boroughs of New York City - favorite_tv_shows: - type: array - items: - type: string - format: uuid - title: Favorite TV Shows - description: Array of TV Show objects on merge.tv_shows - favorite_watch: - type: string - title: Favorite Watch - description: Favorite watch of all time - remote_field_classes: - key: value - status: - linked_account_status: linked_account_status - can_make_request: true - has_conditional_params: true - has_required_linked_account_params: true - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/hris/timeOffBalances.yml b/.mock/definition/hris/timeOffBalances.yml deleted file mode 100644 index 2e510443..00000000 --- a/.mock/definition/hris/timeOffBalances.yml +++ /dev/null @@ -1,231 +0,0 @@ -types: - TimeOffBalancesListRequestPolicyType: - enum: - - BEREAVEMENT - - JURY_DUTY - - PERSONAL - - SICK - - VACATION - - VOLUNTEER - source: - openapi: openapi/openapi.yml -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /hris/v1/time-off-balances - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `TimeOffBalance` objects. - source: - openapi: openapi/openapi.yml - request: - name: TimeOffBalancesListRequest - query-parameters: - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - employee_id: - type: optional - docs: If provided, will only return time off balances for this employee. - expand: - type: optional> - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - page_size: - type: optional - docs: Number of results to return per page. The maximum limit is 100. - policy_type: - type: optional - docs: >- - If provided, will only return TimeOffBalance with this policy - type. Options: ('VACATION', 'SICK', 'PERSONAL', 'JURY_DUTY', - 'VOLUNTEER', 'BEREAVEMENT') - - - * `VACATION` - VACATION - - * `SICK` - SICK - - * `PERSONAL` - PERSONAL - - * `JURY_DUTY` - JURY_DUTY - - * `VOLUNTEER` - VOLUNTEER - - * `BEREAVEMENT` - BEREAVEMENT - remote_fields: - type: optional> - docs: Deprecated. Use show_enum_origins. - remote_id: - type: optional - docs: The API provider's ID for the given object. - show_enum_origins: - type: optional> - docs: >- - A comma separated list of enum field names for which you'd like - the original values to be returned, instead of Merge's normalized - enum values. [Learn - more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - response: - docs: '' - type: root.PaginatedTimeOffBalanceList - status-code: 200 - examples: - - query-parameters: - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - employee_id: employee_id - expand: employee - include_deleted_data: true - include_remote_data: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - page_size: 1 - policy_type: BEREAVEMENT - remote_fields: policy_type - remote_id: remote_id - show_enum_origins: policy_type - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: 91b2b905-e866-40c8-8be2-efe53827a0aa - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - employee: employee - balance: 1.1 - used: 1.1 - policy_type: VACATION - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /leave - data: - - Varies by platform - retrieve: - path: /hris/v1/time-off-balances/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns a `TimeOffBalance` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: TimeOffBalancesRetrieveRequest - query-parameters: - expand: - type: optional> - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - remote_fields: - type: optional> - docs: Deprecated. Use show_enum_origins. - show_enum_origins: - type: optional> - docs: >- - A comma separated list of enum field names for which you'd like - the original values to be returned, instead of Merge's normalized - enum values. [Learn - more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - response: - docs: '' - type: root.TimeOffBalance - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - expand: employee - include_remote_data: true - include_shell_data: true - remote_fields: policy_type - show_enum_origins: policy_type - headers: - X-Account-Token: X-Account-Token - response: - body: - id: 91b2b905-e866-40c8-8be2-efe53827a0aa - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - employee: employee - balance: 1.1 - used: 1.1 - policy_type: VACATION - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /leave - data: - - Varies by platform - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/hris/timesheetEntries.yml b/.mock/definition/hris/timesheetEntries.yml deleted file mode 100644 index 357670e0..00000000 --- a/.mock/definition/hris/timesheetEntries.yml +++ /dev/null @@ -1,477 +0,0 @@ -types: - TimesheetEntriesListRequestOrderBy: - enum: - - value: '-start_time' - name: StartTimeDescending - - value: start_time - name: StartTimeAscending - source: - openapi: openapi/openapi.yml -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /hris/v1/timesheet-entries - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `TimesheetEntry` objects. - source: - openapi: openapi/openapi.yml - request: - name: TimesheetEntriesListRequest - query-parameters: - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - employee_id: - type: optional - docs: If provided, will only return timesheet entries for this employee. - ended_after: - type: optional - docs: >- - If provided, will only return timesheet entries ended after this - datetime. - ended_before: - type: optional - docs: >- - If provided, will only return timesheet entries ended before this - datetime. - expand: - type: optional> - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - order_by: - type: optional - docs: >- - Overrides the default ordering for this endpoint. Possible values - include: start_time, -start_time. - page_size: - type: optional - docs: Number of results to return per page. The maximum limit is 100. - remote_id: - type: optional - docs: The API provider's ID for the given object. - started_after: - type: optional - docs: >- - If provided, will only return timesheet entries started after this - datetime. - started_before: - type: optional - docs: >- - If provided, will only return timesheet entries started before - this datetime. - response: - docs: '' - type: root.PaginatedTimesheetEntryList - status-code: 200 - examples: - - query-parameters: - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - employee_id: employee_id - ended_after: '2024-01-15T09:30:00Z' - ended_before: '2024-01-15T09:30:00Z' - expand: employee - include_deleted_data: true - include_remote_data: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - order_by: '-start_time' - page_size: 1 - remote_id: remote_id - started_after: '2024-01-15T09:30:00Z' - started_before: '2024-01-15T09:30:00Z' - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: 91b2b905-e866-40c8-8be2-efe53827a0aa - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - employee: employee - hours_worked: 10 - start_time: '2020-11-10T00:00:00Z' - end_time: '2020-11-10T00:10:00Z' - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /dependent - data: - - Varies by platform - create: - path: /hris/v1/timesheet-entries - method: POST - auth: - - tokenAuth: [] - docs: Creates a `TimesheetEntry` object with the given values. - source: - openapi: openapi/openapi.yml - request: - name: TimesheetEntryEndpointRequest - query-parameters: - is_debug_mode: - type: optional - docs: >- - Whether to include debug fields (such as log file links) in the - response. - run_async: - type: optional - docs: Whether or not third-party updates should be run asynchronously. - body: - properties: - model: root.TimesheetEntryRequest - content-type: application/json - response: - docs: '' - type: root.TimesheetEntryResponse - status-code: 201 - examples: - - query-parameters: - is_debug_mode: true - run_async: true - headers: - X-Account-Token: X-Account-Token - request: - model: {} - response: - body: - model: - id: 91b2b905-e866-40c8-8be2-efe53827a0aa - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - employee: employee - hours_worked: 10 - start_time: '2020-11-10T00:00:00Z' - end_time: '2020-11-10T00:10:00Z' - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /dependent - data: - - Varies by platform - warnings: - - source: - pointer: pointer - title: Unrecognized Field - detail: An unrecognized field, age, was passed in with request data. - problem_type: UNRECOGNIZED_FIELD - errors: - - source: - pointer: pointer - title: Missing Required Field - detail: custom_fields is a required field on model. - problem_type: MISSING_REQUIRED_FIELD - logs: - - log_id: 99433219-8017-4acd-bb3c-ceb23d663832 - dashboard_view: >- - https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832 - log_summary: - url: www.exampleintegration.com/api/v1/exampleapi - method: POST - status_code: 200 - retrieve: - path: /hris/v1/timesheet-entries/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns a `TimesheetEntry` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: TimesheetEntriesRetrieveRequest - query-parameters: - expand: - type: optional> - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - response: - docs: '' - type: root.TimesheetEntry - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - expand: employee - include_remote_data: true - include_shell_data: true - headers: - X-Account-Token: X-Account-Token - response: - body: - id: 91b2b905-e866-40c8-8be2-efe53827a0aa - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - employee: employee - hours_worked: 10 - start_time: '2020-11-10T00:00:00Z' - end_time: '2020-11-10T00:10:00Z' - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /dependent - data: - - Varies by platform - metaPostRetrieve: - path: /hris/v1/timesheet-entries/meta/post - method: GET - auth: - - tokenAuth: [] - docs: Returns metadata for `TimesheetEntry` POSTs. - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: root.MetaResponse - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - request_schema: - type: object - properties: - model: - type: object - required: - - last_name - - first_name - - merge_categories - - new_york_city_neighborhood - - favorite_tv_shows - - favorite_watch - properties: - email_addresses: - type: array - items: - type: object - properties: - value: - type: string - title: value - email_address_type: - type: string - title: email_address_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: email_addresses - description: Array of email_addresses objects - urls: - type: array - items: - type: object - properties: - value: - type: string - title: value - url_type: - type: string - title: url_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: urls - description: Array of urls objects - first_name: - type: string - title: first_name - description: The first name. - last_name: - type: string - title: last_name - description: The last name. - phone_numbers: - type: array - items: - type: object - properties: - value: - type: string - title: value - phone_number_type: - type: string - title: phone_number_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: phone_numbers - description: Array of phone_numbers objects - tags: - type: array - items: - type: string - format: uuid - title: tags - description: Array of tags names - attachments: - type: array - items: - type: object - properties: - id: - type: string - title: id - file_url: - type: string - title: file_url - file_name: - type: string - title: file_name - attachment_type: - type: string - title: attachment_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: attachments - description: 'Array of attachments objects ' - merge_categories: - type: array - categories: - type: string - enum: - - HRIS - - ATS - - Accounting - - Ticketing - - File Storage - - CRM - - Marketing Automation - enum_information: - - value: HRIS - description: Merge HRIS Category - - value: ATS - description: Merge ATS Category - - value: Accounting - description: Merge Accounting Category - - value: Ticketing - description: Merge Ticketing Category - - value: File Storage - description: Merge File Storage Category - - value: CRM - description: Merge CRM Category - - value: Marketing Automation - description: Merge Marketing Automation Category - title: Merge Categories - description: Array of Merge's Unified API Categories - new_york_city_neighborhood: - type: string - title: Borough - description: One of the 5 Boroughs of New York City - favorite_tv_shows: - type: array - items: - type: string - format: uuid - title: Favorite TV Shows - description: Array of TV Show objects on merge.tv_shows - favorite_watch: - type: string - title: Favorite Watch - description: Favorite watch of all time - remote_field_classes: - key: value - status: - linked_account_status: linked_account_status - can_make_request: true - has_conditional_params: true - has_required_linked_account_params: true - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/hris/webhookReceivers.yml b/.mock/definition/hris/webhookReceivers.yml deleted file mode 100644 index dcd5b47d..00000000 --- a/.mock/definition/hris/webhookReceivers.yml +++ /dev/null @@ -1,65 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /hris/v1/webhook-receivers - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `WebhookReceiver` objects. - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: list - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - - event: event - is_active: true - key: key - create: - path: /hris/v1/webhook-receivers - method: POST - auth: - - tokenAuth: [] - docs: Creates a `WebhookReceiver` object with the given values. - source: - openapi: openapi/openapi.yml - request: - name: WebhookReceiverRequest - body: - properties: - event: - type: string - validation: - minLength: 1 - is_active: boolean - key: - type: optional - validation: - minLength: 1 - content-type: application/json - response: - docs: '' - type: root.WebhookReceiver - status-code: 201 - examples: - - headers: - X-Account-Token: X-Account-Token - request: - event: event - is_active: true - response: - body: - event: event - is_active: true - key: key - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/knowledgebase/__package__.yml b/.mock/definition/knowledgebase/__package__.yml deleted file mode 100644 index 507587e3..00000000 --- a/.mock/definition/knowledgebase/__package__.yml +++ /dev/null @@ -1,2228 +0,0 @@ -types: - AccountDetailsCategory: - discriminated: false - union: - - CategoryEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - AccountDetails: - properties: - id: - type: optional - validation: - format: uuid - access: read-only - integration: - type: optional - access: read-only - integration_slug: - type: optional - access: read-only - category: optional - end_user_origin_id: - type: optional - access: read-only - end_user_organization_name: - type: optional - access: read-only - end_user_email_address: - type: optional - validation: - format: email - access: read-only - status: - type: optional - access: read-only - webhook_listener_url: - type: optional - validation: - format: uri - access: read-only - is_duplicate: - type: optional - docs: >- - Whether a Production Linked Account's credentials match another - existing Production Linked Account. This field is `null` for Test - Linked Accounts, incomplete Production Linked Accounts, and ignored - duplicate Production Linked Account sets. - access: read-only - account_type: - type: optional - access: read-only - completed_at: - type: optional - docs: The time at which account completes the linking flow. - source: - openapi: openapi/openapi.yml - AccountDetailsAndActionsCategory: - discriminated: false - union: - - CategoryEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - AccountDetailsAndActionsStatus: - discriminated: false - union: - - AccountDetailsAndActionsStatusEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - AccountDetailsAndActions: - docs: >- - # The LinkedAccount Object - - ### Description - - The `LinkedAccount` object is used to represent an end user's link with a - specific integration. - - - ### Usage Example - - View a list of your organization's `LinkedAccount` objects. - properties: - id: string - category: optional - status: AccountDetailsAndActionsStatus - status_detail: optional - end_user_origin_id: optional - end_user_organization_name: string - end_user_email_address: string - subdomain: - type: optional - docs: The tenant or domain the customer has provided access to. - webhook_listener_url: string - is_duplicate: - type: optional - docs: >- - Whether a Production Linked Account's credentials match another - existing Production Linked Account. This field is `null` for Test - Linked Accounts, incomplete Production Linked Accounts, and ignored - duplicate Production Linked Account sets. - integration: optional - account_type: string - completed_at: datetime - integration_specific_fields: optional> - source: - openapi: openapi/openapi.yml - AccountDetailsAndActionsIntegration: - properties: - name: string - categories: list - image: optional - square_image: optional - color: string - slug: string - passthrough_available: boolean - available_model_operations: optional> - source: - openapi: openapi/openapi.yml - AccountDetailsAndActionsStatusEnum: - enum: - - COMPLETE - - INCOMPLETE - - RELINK_NEEDED - - IDLE - docs: |- - * `COMPLETE` - COMPLETE - * `INCOMPLETE` - INCOMPLETE - * `RELINK_NEEDED` - RELINK_NEEDED - * `IDLE` - IDLE - source: - openapi: openapi/openapi.yml - AccountIntegration: - properties: - name: - type: string - docs: Company name. - abbreviated_name: - type: optional - docs: >- - Optional. This shortened name appears in places with limited space, - usually in conjunction with the platform's logo (e.g., Merge Link - menu).

Example: Workforce Now (in lieu of ADP Workforce - Now), SuccessFactors (in lieu of SAP SuccessFactors) - categories: - type: optional> - docs: >- - Category or categories this integration belongs to. Multiple - categories should be comma separated, i.e. [ats, hris]. - access: read-only - image: - type: optional - docs: Company logo in rectangular shape. - validation: - format: uri - square_image: - type: optional - docs: Company logo in square shape. - validation: - format: uri - color: - type: optional - docs: >- - The color of this integration used for buttons and text throughout the - app and landing pages. Choose a darker, saturated color. - validation: - pattern: ^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$ - maxLength: 18 - slug: - type: optional - access: read-only - api_endpoints_to_documentation_urls: - type: optional> - docs: >- - Mapping of API endpoints to documentation urls for support. Example: - {'GET': [['/common-model-scopes', - 'https://docs.merge.dev/accounting/common-model-scopes/#common_model_scopes_retrieve'],['/common-model-actions', - 'https://docs.merge.dev/accounting/common-model-actions/#common_model_actions_retrieve']], - 'POST': []} - webhook_setup_guide_url: - type: optional - docs: >- - Setup guide URL for third party webhook creation. Exposed in Merge - Docs. - category_beta_status: - type: optional> - docs: Category or categories this integration is in beta status for. - access: read-only - source: - openapi: openapi/openapi.yml - AccountToken: - properties: - account_token: string - integration: AccountIntegration - id: string - source: - openapi: openapi/openapi.yml - AdvancedMetadata: - properties: - id: - type: string - validation: - format: uuid - display_name: optional - description: optional - is_required: optional - is_custom: optional - field_choices: optional> - source: - openapi: openapi/openapi.yml - ArticleAuthor: - discriminated: false - docs: The user who created the article. - union: - - type: string - validation: - format: uuid - - User - source: - openapi: openapi/openapi.yml - inline: true - ArticleLastEditedBy: - discriminated: false - docs: The user to last update the article. - union: - - type: string - validation: - format: uuid - - User - source: - openapi: openapi/openapi.yml - inline: true - ArticleVisibility: - discriminated: false - docs: |- - The visibility of the article. - - * `PUBLIC` - PUBLIC - * `INTERNAL` - INTERNAL - * `RESTRICTED` - RESTRICTED - union: - - VisibilityEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - ArticleStatus: - discriminated: false - docs: |- - The status of the article. - - * `DRAFT` - DRAFT - * `PUBLISHED` - PUBLISHED - * `ARCHIVED` - ARCHIVED - * `TRASH` - TRASH - union: - - Status3C6Enum - - string - source: - openapi: openapi/openapi.yml - inline: true - ArticleType: - discriminated: false - docs: |- - The type of the article. - - * `PAGE` - PAGE - * `BLOG_POST` - BLOG_POST - * `SMART_LINK` - SMART_LINK - union: - - ArticleTypeEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - ArticleParentArticle: - discriminated: false - docs: The parent article an article is nested within. - union: - - type: string - validation: - format: uuid - - Article - source: - openapi: openapi/openapi.yml - inline: true - ArticleParentContainer: - discriminated: false - docs: The parent container an article is nested within. - union: - - type: string - validation: - format: uuid - - Container - source: - openapi: openapi/openapi.yml - inline: true - ArticleRootContainer: - discriminated: false - docs: >- - The top-level container in the hierarchy that holds this article. This - will reference a container object that will typically be a SPACE or - WORKSPACE type. - union: - - type: string - validation: - format: uuid - - Container - source: - openapi: openapi/openapi.yml - inline: true - ArticlePermissionsItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - Permission - source: - openapi: openapi/openapi.yml - inline: true - ArticleAttachmentsItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - Attachment - source: - openapi: openapi/openapi.yml - inline: true - Article: - docs: >- - # The Article Object - - ### Description - - The `Article` object is used to represent a form of content in the - knowledge base, such as an article or page. - - ### Usage Example - - Fetch from the `GET /api/knowledgebase/v1/articles` endpoint and view - their articles. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - title: - type: optional - docs: The title of the article. - validation: - maxLength: 254 - description: - type: optional - docs: Description of the article. - validation: - maxLength: 2000 - author: - type: optional - docs: The user who created the article. - last_edited_by: - type: optional - docs: The user to last update the article. - visibility: - type: optional - docs: |- - The visibility of the article. - - * `PUBLIC` - PUBLIC - * `INTERNAL` - INTERNAL - * `RESTRICTED` - RESTRICTED - article_content_download_url: - type: optional - docs: The presigned S3 URL to fetch article content. - access: read-only - checksum: - type: optional - docs: The SHA256 checksum of the article content. - validation: - maxLength: 254 - article_url: - type: optional - docs: The URL to the webpage of the article. - validation: - maxLength: 2000 - status: - type: optional - docs: |- - The status of the article. - - * `DRAFT` - DRAFT - * `PUBLISHED` - PUBLISHED - * `ARCHIVED` - ARCHIVED - * `TRASH` - TRASH - type: - type: optional - docs: |- - The type of the article. - - * `PAGE` - PAGE - * `BLOG_POST` - BLOG_POST - * `SMART_LINK` - SMART_LINK - remote_created_at: - type: optional - docs: When the third party's article was created. - remote_updated_at: - type: optional - docs: When the third party's article was updated. - parent_article: - type: optional - docs: The parent article an article is nested within. - parent_container: - type: optional - docs: The parent container an article is nested within. - root_container: - type: optional - docs: >- - The top-level container in the hierarchy that holds this article. This - will reference a container object that will typically be a SPACE or - WORKSPACE type. - permissions: optional> - attachments: optional>> - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - ArticleTypeEnum: - enum: - - PAGE - - BLOG_POST - - SMART_LINK - docs: |- - * `PAGE` - PAGE - * `BLOG_POST` - BLOG_POST - * `SMART_LINK` - SMART_LINK - source: - openapi: openapi/openapi.yml - AsyncPassthroughReciept: - properties: - async_passthrough_receipt_id: - type: string - validation: - format: uuid - source: - openapi: openapi/openapi.yml - Attachment: - docs: >- - # The Attachment Object - - ### Description - - The `Attachment` object is used to represent an attachment to an article - or container. - - ### Usage Example - - Fetch from the `GET /api/knowledgebase/v1/attachments` endpoint and view - their attachments. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - name: - type: optional - docs: The attachment's name. - validation: - maxLength: 254 - description: - type: optional - docs: The attachment's description. - validation: - maxLength: 2000 - attachment_url: - type: optional - docs: The attachment's url. - validation: - maxLength: 2000 - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - AuditLogEventRole: - discriminated: false - docs: >- - Designates the role of the user (or SYSTEM/API if action not taken by a - user) at the time of this Event occurring. - - - * `ADMIN` - ADMIN - - * `DEVELOPER` - DEVELOPER - - * `MEMBER` - MEMBER - - * `API` - API - - * `SYSTEM` - SYSTEM - - * `MERGE_TEAM` - MERGE_TEAM - union: - - RoleEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - AuditLogEventEventType: - discriminated: false - docs: >- - Designates the type of event that occurred. - - - * `CREATED_REMOTE_PRODUCTION_API_KEY` - CREATED_REMOTE_PRODUCTION_API_KEY - - * `DELETED_REMOTE_PRODUCTION_API_KEY` - DELETED_REMOTE_PRODUCTION_API_KEY - - * `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY - - * `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY - - * `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY - - * `REGENERATED_WEBHOOK_SIGNATURE` - REGENERATED_WEBHOOK_SIGNATURE - - * `INVITED_USER` - INVITED_USER - - * `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED - - * `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED - - * `DELETED_LINKED_ACCOUNT` - DELETED_LINKED_ACCOUNT - - * `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT` - - DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT - - * `CREATED_DESTINATION` - CREATED_DESTINATION - - * `DELETED_DESTINATION` - DELETED_DESTINATION - - * `CHANGED_DESTINATION` - CHANGED_DESTINATION - - * `CHANGED_SCOPES` - CHANGED_SCOPES - - * `CHANGED_PERSONAL_INFORMATION` - CHANGED_PERSONAL_INFORMATION - - * `CHANGED_ORGANIZATION_SETTINGS` - CHANGED_ORGANIZATION_SETTINGS - - * `ENABLED_INTEGRATION` - ENABLED_INTEGRATION - - * `DISABLED_INTEGRATION` - DISABLED_INTEGRATION - - * `ENABLED_CATEGORY` - ENABLED_CATEGORY - - * `DISABLED_CATEGORY` - DISABLED_CATEGORY - - * `CHANGED_PASSWORD` - CHANGED_PASSWORD - - * `RESET_PASSWORD` - RESET_PASSWORD - - * `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - - * `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - - * `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - - * `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - - * `CREATED_INTEGRATION_WIDE_FIELD_MAPPING` - - CREATED_INTEGRATION_WIDE_FIELD_MAPPING - - * `CREATED_LINKED_ACCOUNT_FIELD_MAPPING` - - CREATED_LINKED_ACCOUNT_FIELD_MAPPING - - * `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING` - - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING - - * `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING - - * `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - - DELETED_INTEGRATION_WIDE_FIELD_MAPPING - - * `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - - DELETED_LINKED_ACCOUNT_FIELD_MAPPING - - * `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - - CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - * `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - - CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - * `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - - DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - * `FORCED_LINKED_ACCOUNT_RESYNC` - FORCED_LINKED_ACCOUNT_RESYNC - - * `MUTED_ISSUE` - MUTED_ISSUE - - * `GENERATED_MAGIC_LINK` - GENERATED_MAGIC_LINK - - * `ENABLED_MERGE_WEBHOOK` - ENABLED_MERGE_WEBHOOK - - * `DISABLED_MERGE_WEBHOOK` - DISABLED_MERGE_WEBHOOK - - * `MERGE_WEBHOOK_TARGET_CHANGED` - MERGE_WEBHOOK_TARGET_CHANGED - - * `END_USER_CREDENTIALS_ACCESSED` - END_USER_CREDENTIALS_ACCESSED - union: - - EventTypeEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - AuditLogEvent: - properties: - id: - type: optional - validation: - format: uuid - access: read-only - user_name: - type: optional - docs: The User's full name at the time of this Event occurring. - validation: - maxLength: 200 - user_email: - type: optional - docs: The User's email at the time of this Event occurring. - validation: - format: email - maxLength: 254 - role: - type: AuditLogEventRole - docs: >- - Designates the role of the user (or SYSTEM/API if action not taken by - a user) at the time of this Event occurring. - - - * `ADMIN` - ADMIN - - * `DEVELOPER` - DEVELOPER - - * `MEMBER` - MEMBER - - * `API` - API - - * `SYSTEM` - SYSTEM - - * `MERGE_TEAM` - MERGE_TEAM - ip_address: - type: string - validation: - maxLength: 45 - event_type: - type: AuditLogEventEventType - docs: >- - Designates the type of event that occurred. - - - * `CREATED_REMOTE_PRODUCTION_API_KEY` - - CREATED_REMOTE_PRODUCTION_API_KEY - - * `DELETED_REMOTE_PRODUCTION_API_KEY` - - DELETED_REMOTE_PRODUCTION_API_KEY - - * `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY - - * `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY - - * `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY - - * `REGENERATED_WEBHOOK_SIGNATURE` - REGENERATED_WEBHOOK_SIGNATURE - - * `INVITED_USER` - INVITED_USER - - * `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED - - * `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED - - * `DELETED_LINKED_ACCOUNT` - DELETED_LINKED_ACCOUNT - - * `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT` - - DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT - - * `CREATED_DESTINATION` - CREATED_DESTINATION - - * `DELETED_DESTINATION` - DELETED_DESTINATION - - * `CHANGED_DESTINATION` - CHANGED_DESTINATION - - * `CHANGED_SCOPES` - CHANGED_SCOPES - - * `CHANGED_PERSONAL_INFORMATION` - CHANGED_PERSONAL_INFORMATION - - * `CHANGED_ORGANIZATION_SETTINGS` - CHANGED_ORGANIZATION_SETTINGS - - * `ENABLED_INTEGRATION` - ENABLED_INTEGRATION - - * `DISABLED_INTEGRATION` - DISABLED_INTEGRATION - - * `ENABLED_CATEGORY` - ENABLED_CATEGORY - - * `DISABLED_CATEGORY` - DISABLED_CATEGORY - - * `CHANGED_PASSWORD` - CHANGED_PASSWORD - - * `RESET_PASSWORD` - RESET_PASSWORD - - * `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - - * `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - - * `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - - * `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - - * `CREATED_INTEGRATION_WIDE_FIELD_MAPPING` - - CREATED_INTEGRATION_WIDE_FIELD_MAPPING - - * `CREATED_LINKED_ACCOUNT_FIELD_MAPPING` - - CREATED_LINKED_ACCOUNT_FIELD_MAPPING - - * `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING` - - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING - - * `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING - - * `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - - DELETED_INTEGRATION_WIDE_FIELD_MAPPING - - * `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - - DELETED_LINKED_ACCOUNT_FIELD_MAPPING - - * `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - - CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - * `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - - CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - * `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - - DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - * `FORCED_LINKED_ACCOUNT_RESYNC` - FORCED_LINKED_ACCOUNT_RESYNC - - * `MUTED_ISSUE` - MUTED_ISSUE - - * `GENERATED_MAGIC_LINK` - GENERATED_MAGIC_LINK - - * `ENABLED_MERGE_WEBHOOK` - ENABLED_MERGE_WEBHOOK - - * `DISABLED_MERGE_WEBHOOK` - DISABLED_MERGE_WEBHOOK - - * `MERGE_WEBHOOK_TARGET_CHANGED` - MERGE_WEBHOOK_TARGET_CHANGED - - * `END_USER_CREDENTIALS_ACCESSED` - END_USER_CREDENTIALS_ACCESSED - event_description: string - created_at: - type: optional - access: read-only - source: - openapi: openapi/openapi.yml - AvailableActions: - docs: >- - # The AvailableActions Object - - ### Description - - The `Activity` object is used to see all available model/operation - combinations for an integration. - - - ### Usage Example - - Fetch all the actions available for the `Zenefits` integration. - properties: - integration: AccountIntegration - passthrough_available: boolean - available_model_operations: optional> - source: - openapi: openapi/openapi.yml - CategoriesEnum: - enum: - - hris - - ats - - accounting - - ticketing - - crm - - mktg - - filestorage - - knowledgebase - docs: |- - * `hris` - hris - * `ats` - ats - * `accounting` - accounting - * `ticketing` - ticketing - * `crm` - crm - * `mktg` - mktg - * `filestorage` - filestorage - * `knowledgebase` - knowledgebase - source: - openapi: openapi/openapi.yml - CategoryEnum: - enum: - - hris - - ats - - accounting - - ticketing - - crm - - mktg - - filestorage - - knowledgebase - docs: |- - * `hris` - hris - * `ats` - ats - * `accounting` - accounting - * `ticketing` - ticketing - * `crm` - crm - * `mktg` - mktg - * `filestorage` - filestorage - * `knowledgebase` - knowledgebase - source: - openapi: openapi/openapi.yml - CommonModelScopeApi: - properties: - common_models: - docs: The common models you want to update the scopes for - type: list - source: - openapi: openapi/openapi.yml - CommonModelScopesBodyRequest: - properties: - model_id: - type: string - validation: - minLength: 1 - enabled_actions: list - disabled_fields: list - source: - openapi: openapi/openapi.yml - CompletedAccountInitialScreenEnum: - type: literal<"SELECTIVE_SYNC"> - docs: '* `SELECTIVE_SYNC` - SELECTIVE_SYNC' - ContainerStatus: - discriminated: false - docs: |- - The container's status. - - * `DRAFT` - DRAFT - * `PUBLISHED` - PUBLISHED - * `ARCHIVED` - ARCHIVED - * `TRASH` - TRASH - union: - - Status3C6Enum - - string - source: - openapi: openapi/openapi.yml - inline: true - ContainerType: - discriminated: false - docs: |- - The container's type. - - * `FOLDER` - FOLDER - * `SPACE` - SPACE - * `COLLECTION` - COLLECTION - * `SECTION` - SECTION - * `CATEGORY` - CATEGORY - * `DATABASE` - DATABASE - union: - - ContainerTypeEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - ContainerVisibility: - discriminated: false - docs: |- - The container's visibility. - - * `PUBLIC` - PUBLIC - * `INTERNAL` - INTERNAL - * `RESTRICTED` - RESTRICTED - union: - - VisibilityEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - ContainerPermissionsItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - Permission - source: - openapi: openapi/openapi.yml - inline: true - Container: - docs: >- - # The Container Object - - ### Description - - The Container object is used to represent a grouping of articles in the - knowledge base. This can include Spaces, Folders, Databases, etc. - - ### Usage Example - - Fetch from the `GET /api/knowledgebase/v1/containers` endpoint and view - their containers. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - name: - type: optional - docs: Name of the container. - validation: - maxLength: 254 - description: - type: optional - docs: Description of the container. - validation: - maxLength: 2000 - status: - type: optional - docs: |- - The container's status. - - * `DRAFT` - DRAFT - * `PUBLISHED` - PUBLISHED - * `ARCHIVED` - ARCHIVED - * `TRASH` - TRASH - container_url: - type: optional - docs: The URL to the webpage of the container. - validation: - maxLength: 2000 - type: - type: optional - docs: |- - The container's type. - - * `FOLDER` - FOLDER - * `SPACE` - SPACE - * `COLLECTION` - COLLECTION - * `SECTION` - SECTION - * `CATEGORY` - CATEGORY - * `DATABASE` - DATABASE - visibility: - type: optional - docs: |- - The container's visibility. - - * `PUBLIC` - PUBLIC - * `INTERNAL` - INTERNAL - * `RESTRICTED` - RESTRICTED - remote_created_at: - type: optional - docs: When the third party's container was created. - remote_updated_at: - type: optional - docs: When the third party's container was updated. - parent_article: - type: optional - docs: The parent article a container is nested within. - validation: - format: uuid - parent_container: - type: optional - docs: The parent container a container is nested within. - validation: - format: uuid - permissions: optional> - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - ContainerTypeEnum: - enum: - - FOLDER - - SPACE - - COLLECTION - - SECTION - - CATEGORY - - DATABASE - docs: |- - * `FOLDER` - FOLDER - * `SPACE` - SPACE - * `COLLECTION` - COLLECTION - * `SECTION` - SECTION - * `CATEGORY` - CATEGORY - * `DATABASE` - DATABASE - source: - openapi: openapi/openapi.yml - DataPassthroughRequestMethod: - discriminated: false - union: - - MethodEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - DataPassthroughRequestRequestFormat: - discriminated: false - union: - - RequestFormatEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - DataPassthroughRequest: - docs: >- - # The DataPassthrough Object - - ### Description - - The `DataPassthrough` object is used to send information to an - otherwise-unsupported third-party endpoint. - - - ### Usage Example - - Create a `DataPassthrough` to get team hierarchies from your Rippling - integration. - properties: - method: DataPassthroughRequestMethod - path: - type: string - docs: The path of the request in the third party's platform. - validation: - minLength: 1 - base_url_override: - type: optional - docs: An optional override of the third party's base url for the request. - validation: - minLength: 1 - data: - type: optional - docs: >- - The data with the request. You must include a `request_format` - parameter matching the data's format - validation: - minLength: 1 - multipart_form_data: - type: optional> - docs: >- - Pass an array of `MultipartFormField` objects in here instead of using - the `data` param if `request_format` is set to `MULTIPART`. - headers: - type: optional> - docs: >- - The headers to use for the request (Merge will handle the account's - authorization headers). `Content-Type` header is required for - passthrough. Choose content type corresponding to expected format of - receiving server. - request_format: optional - normalize_response: - type: optional - docs: >- - Optional. If true, the response will always be an object of the form - `{"type": T, "value": ...}` where `T` will be one of `string, boolean, - number, null, array, object`. - source: - openapi: openapi/openapi.yml - DebugModeLog: - properties: - log_id: string - dashboard_view: string - log_summary: DebugModelLogSummary - source: - openapi: openapi/openapi.yml - DebugModelLogSummary: - properties: - url: string - method: string - status_code: integer - source: - openapi: openapi/openapi.yml - EnabledActionsEnum: - enum: - - READ - - WRITE - docs: |- - * `READ` - READ - * `WRITE` - WRITE - source: - openapi: openapi/openapi.yml - EncodingEnum: - enum: - - RAW - - BASE64 - - GZIP_BASE64 - docs: |- - * `RAW` - RAW - * `BASE64` - BASE64 - * `GZIP_BASE64` - GZIP_BASE64 - source: - openapi: openapi/openapi.yml - ErrorValidationProblem: - properties: - source: optional - title: string - detail: string - problem_type: string - source: - openapi: openapi/openapi.yml - EventTypeEnum: - enum: - - CREATED_REMOTE_PRODUCTION_API_KEY - - DELETED_REMOTE_PRODUCTION_API_KEY - - CREATED_TEST_API_KEY - - DELETED_TEST_API_KEY - - REGENERATED_PRODUCTION_API_KEY - - REGENERATED_WEBHOOK_SIGNATURE - - INVITED_USER - - TWO_FACTOR_AUTH_ENABLED - - TWO_FACTOR_AUTH_DISABLED - - DELETED_LINKED_ACCOUNT - - DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT - - CREATED_DESTINATION - - DELETED_DESTINATION - - CHANGED_DESTINATION - - CHANGED_SCOPES - - CHANGED_PERSONAL_INFORMATION - - CHANGED_ORGANIZATION_SETTINGS - - ENABLED_INTEGRATION - - DISABLED_INTEGRATION - - ENABLED_CATEGORY - - DISABLED_CATEGORY - - CHANGED_PASSWORD - - RESET_PASSWORD - - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - - CREATED_INTEGRATION_WIDE_FIELD_MAPPING - - CREATED_LINKED_ACCOUNT_FIELD_MAPPING - - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING - - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING - - DELETED_INTEGRATION_WIDE_FIELD_MAPPING - - DELETED_LINKED_ACCOUNT_FIELD_MAPPING - - CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - FORCED_LINKED_ACCOUNT_RESYNC - - MUTED_ISSUE - - GENERATED_MAGIC_LINK - - ENABLED_MERGE_WEBHOOK - - DISABLED_MERGE_WEBHOOK - - MERGE_WEBHOOK_TARGET_CHANGED - - END_USER_CREDENTIALS_ACCESSED - docs: >- - * `CREATED_REMOTE_PRODUCTION_API_KEY` - CREATED_REMOTE_PRODUCTION_API_KEY - - * `DELETED_REMOTE_PRODUCTION_API_KEY` - DELETED_REMOTE_PRODUCTION_API_KEY - - * `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY - - * `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY - - * `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY - - * `REGENERATED_WEBHOOK_SIGNATURE` - REGENERATED_WEBHOOK_SIGNATURE - - * `INVITED_USER` - INVITED_USER - - * `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED - - * `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED - - * `DELETED_LINKED_ACCOUNT` - DELETED_LINKED_ACCOUNT - - * `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT` - - DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT - - * `CREATED_DESTINATION` - CREATED_DESTINATION - - * `DELETED_DESTINATION` - DELETED_DESTINATION - - * `CHANGED_DESTINATION` - CHANGED_DESTINATION - - * `CHANGED_SCOPES` - CHANGED_SCOPES - - * `CHANGED_PERSONAL_INFORMATION` - CHANGED_PERSONAL_INFORMATION - - * `CHANGED_ORGANIZATION_SETTINGS` - CHANGED_ORGANIZATION_SETTINGS - - * `ENABLED_INTEGRATION` - ENABLED_INTEGRATION - - * `DISABLED_INTEGRATION` - DISABLED_INTEGRATION - - * `ENABLED_CATEGORY` - ENABLED_CATEGORY - - * `DISABLED_CATEGORY` - DISABLED_CATEGORY - - * `CHANGED_PASSWORD` - CHANGED_PASSWORD - - * `RESET_PASSWORD` - RESET_PASSWORD - - * `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - - * `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - - * `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - - * `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - - * `CREATED_INTEGRATION_WIDE_FIELD_MAPPING` - - CREATED_INTEGRATION_WIDE_FIELD_MAPPING - - * `CREATED_LINKED_ACCOUNT_FIELD_MAPPING` - - CREATED_LINKED_ACCOUNT_FIELD_MAPPING - - * `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING` - - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING - - * `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING - - * `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - - DELETED_INTEGRATION_WIDE_FIELD_MAPPING - - * `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - - DELETED_LINKED_ACCOUNT_FIELD_MAPPING - - * `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - - CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - * `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - - CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - * `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - - DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - * `FORCED_LINKED_ACCOUNT_RESYNC` - FORCED_LINKED_ACCOUNT_RESYNC - - * `MUTED_ISSUE` - MUTED_ISSUE - - * `GENERATED_MAGIC_LINK` - GENERATED_MAGIC_LINK - - * `ENABLED_MERGE_WEBHOOK` - ENABLED_MERGE_WEBHOOK - - * `DISABLED_MERGE_WEBHOOK` - DISABLED_MERGE_WEBHOOK - - * `MERGE_WEBHOOK_TARGET_CHANGED` - MERGE_WEBHOOK_TARGET_CHANGED - - * `END_USER_CREDENTIALS_ACCESSED` - END_USER_CREDENTIALS_ACCESSED - source: - openapi: openapi/openapi.yml - ExternalTargetFieldApi: - properties: - name: - type: optional - access: read-only - description: - type: optional - access: read-only - is_mapped: - type: optional - access: read-only - source: - openapi: openapi/openapi.yml - ExternalTargetFieldApiResponse: - properties: - Container: optional> - Article: optional> - Attachment: optional> - User: optional> - Group: optional> - source: - openapi: openapi/openapi.yml - FieldMappingApiInstanceTargetField: - properties: - name: string - description: string - is_organization_wide: boolean - source: - openapi: openapi/openapi.yml - inline: true - FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo: - properties: - method: optional - url_path: optional - field_traversal_path: optional> - source: - openapi: openapi/openapi.yml - inline: true - FieldMappingApiInstanceRemoteField: - properties: - remote_key_name: optional - schema: optional> - remote_endpoint_info: FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo - source: - openapi: openapi/openapi.yml - inline: true - FieldMappingApiInstance: - properties: - id: - type: optional - validation: - format: uuid - access: read-only - is_integration_wide: - type: optional - access: read-only - target_field: - type: optional - access: read-only - remote_field: - type: optional - access: read-only - jmes_path: - type: optional - access: read-only - source: - openapi: openapi/openapi.yml - FieldMappingApiInstanceResponse: - properties: - Container: optional> - Article: optional> - Attachment: optional> - User: optional> - Group: optional> - source: - openapi: openapi/openapi.yml - FieldMappingInstanceResponse: - properties: - model: FieldMappingApiInstance - warnings: list - errors: list - logs: optional> - source: - openapi: openapi/openapi.yml - FieldPermissionDeserializer: - properties: - enabled_fields: optional> - disabled_fields: optional> - source: - openapi: openapi/openapi.yml - FieldPermissionDeserializerRequest: - properties: - enabled_fields: optional> - disabled_fields: optional> - source: - openapi: openapi/openapi.yml - GroupParentGroup: - discriminated: false - docs: The parent group for this group. - union: - - type: string - validation: - format: uuid - - Group - source: - openapi: openapi/openapi.yml - inline: true - GroupUsersItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - User - source: - openapi: openapi/openapi.yml - inline: true - Group: - docs: >- - # The Group Object - - ### Description - - The `Group` object is used to represent any subset of `Users`. This can - extend to company domains as well. - - ### Usage Example - - Fetch from the `GET /api/knowledgebase/v1/groups` endpoint and view their - groups. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - name: - type: optional - docs: The group's name. - validation: - maxLength: 254 - parent_group: - type: optional - docs: The parent group for this group. - users: optional> - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - IndividualCommonModelScopeDeserializer: - properties: - model_name: string - model_permissions: optional> - field_permissions: optional - source: - openapi: openapi/openapi.yml - IndividualCommonModelScopeDeserializerRequest: - properties: - model_name: - type: string - validation: - minLength: 1 - model_permissions: optional> - field_permissions: optional - source: - openapi: openapi/openapi.yml - IssueStatus: - discriminated: false - docs: |- - Status of the issue. Options: ('ONGOING', 'RESOLVED') - - * `ONGOING` - ONGOING - * `RESOLVED` - RESOLVED - union: - - IssueStatusEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - Issue: - properties: - id: - type: optional - validation: - format: uuid - access: read-only - status: - type: optional - docs: |- - Status of the issue. Options: ('ONGOING', 'RESOLVED') - - * `ONGOING` - ONGOING - * `RESOLVED` - RESOLVED - error_description: string - end_user: - type: optional> - access: read-only - first_incident_time: optional - last_incident_time: optional - is_muted: - type: optional - access: read-only - error_details: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - IssueStatusEnum: - enum: - - ONGOING - - RESOLVED - docs: |- - * `ONGOING` - ONGOING - * `RESOLVED` - RESOLVED - source: - openapi: openapi/openapi.yml - LanguageEnum: - enum: - - en - - de - docs: |- - * `en` - en - * `de` - de - source: - openapi: openapi/openapi.yml - LastSyncResultEnum: - enum: - - SYNCING - - DONE - - FAILED - - DISABLED - - PAUSED - - PARTIALLY_SYNCED - docs: |- - * `SYNCING` - SYNCING - * `DONE` - DONE - * `FAILED` - FAILED - * `DISABLED` - DISABLED - * `PAUSED` - PAUSED - * `PARTIALLY_SYNCED` - PARTIALLY_SYNCED - source: - openapi: openapi/openapi.yml - LinkToken: - properties: - link_token: string - integration_name: optional - magic_link_url: optional - source: - openapi: openapi/openapi.yml - MethodEnum: - enum: - - GET - - OPTIONS - - HEAD - - POST - - PUT - - PATCH - - DELETE - docs: |- - * `GET` - GET - * `OPTIONS` - OPTIONS - * `HEAD` - HEAD - * `POST` - POST - * `PUT` - PUT - * `PATCH` - PATCH - * `DELETE` - DELETE - source: - openapi: openapi/openapi.yml - ModelOperation: - docs: >- - # The ModelOperation Object - - ### Description - - The `ModelOperation` object is used to represent the operations that are - currently supported for a given model. - - - ### Usage Example - - View what operations are supported for the `Candidate` endpoint. - properties: - model_name: string - available_operations: list - required_post_parameters: list - supported_fields: list - source: - openapi: openapi/openapi.yml - ModelPermissionDeserializer: - properties: - is_enabled: optional - source: - openapi: openapi/openapi.yml - ModelPermissionDeserializerRequest: - properties: - is_enabled: optional - source: - openapi: openapi/openapi.yml - MultipartFormFieldRequestEncoding: - discriminated: false - docs: |- - The encoding of the value of `data`. Defaults to `RAW` if not defined. - - * `RAW` - RAW - * `BASE64` - BASE64 - * `GZIP_BASE64` - GZIP_BASE64 - union: - - EncodingEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - MultipartFormFieldRequest: - docs: >- - # The MultipartFormField Object - - ### Description - - The `MultipartFormField` object is used to represent fields in an HTTP - request using `multipart/form-data`. - - - ### Usage Example - - Create a `MultipartFormField` to define a multipart form entry. - properties: - name: - type: string - docs: The name of the form field - validation: - minLength: 1 - data: - type: string - docs: The data for the form field. - validation: - minLength: 1 - encoding: - type: optional - docs: |- - The encoding of the value of `data`. Defaults to `RAW` if not defined. - - * `RAW` - RAW - * `BASE64` - BASE64 - * `GZIP_BASE64` - GZIP_BASE64 - file_name: - type: optional - docs: The file name of the form field, if the field is for a file. - validation: - minLength: 1 - content_type: - type: optional - docs: The MIME type of the file, if the field is for a file. - validation: - minLength: 1 - source: - openapi: openapi/openapi.yml - PaginatedAccountDetailsAndActionsList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedArticleList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedAttachmentList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedAuditLogEventList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedContainerList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedGroupList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedIssueList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedSyncStatusList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedUserList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PermissionUser: - discriminated: false - union: - - type: string - validation: - format: uuid - - User - source: - openapi: openapi/openapi.yml - inline: true - PermissionGroup: - discriminated: false - union: - - type: string - validation: - format: uuid - - Group - source: - openapi: openapi/openapi.yml - inline: true - PermissionType: - discriminated: false - docs: |- - Denotes what type of people have access to the Article or Container. - - * `USER` - USER - * `GROUP` - GROUP - * `COMPANY` - COMPANY - * `ANYONE` - ANYONE - union: - - PermissionTypeEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - Permission: - docs: >- - # The Permission Object - - ### Description - - The `Permission` object is used to represent a user's or group's access to - an article or container. Permissions are unexpanded by default. - - ### Usage Example - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - user: optional - group: optional - type: - type: optional - docs: |- - Denotes what type of people have access to the Article or Container. - - * `USER` - USER - * `GROUP` - GROUP - * `COMPANY` - COMPANY - * `ANYONE` - ANYONE - roles: - type: optional>> - docs: >- - The permissions that the user or group has for the Article or - Container. It is possible for a user or group to have multiple roles, - such as viewing & uploading. - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - field_mappings: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - PermissionTypeEnum: - enum: - - USER - - GROUP - - COMPANY - - ANYONE - docs: |- - * `USER` - USER - * `GROUP` - GROUP - * `COMPANY` - COMPANY - * `ANYONE` - ANYONE - source: - openapi: openapi/openapi.yml - RemoteData: - docs: >- - # The RemoteData Object - - ### Description - - The `RemoteData` object is used to represent the full data pulled from the - third-party API for an object. - - - ### Usage Example - - TODO - properties: - path: - type: string - docs: The third-party API path that is being called. - data: - type: optional - docs: >- - The data returned from the third-party for this object in its - original, unnormalized format. - access: read-only - source: - openapi: openapi/openapi.yml - RemoteEndpointInfo: - properties: - method: string - url_path: string - field_traversal_path: list - source: - openapi: openapi/openapi.yml - RemoteFieldApiAdvancedMetadata: - discriminated: false - union: - - AdvancedMetadata - - string - source: - openapi: openapi/openapi.yml - inline: true - RemoteFieldApiCoverage: - discriminated: false - union: - - integer - - double - source: - openapi: openapi/openapi.yml - inline: true - RemoteFieldApi: - properties: - schema: map - remote_key_name: string - remote_endpoint_info: RemoteEndpointInfo - example_values: optional> - advanced_metadata: optional - coverage: - type: optional - access: read-only - source: - openapi: openapi/openapi.yml - RemoteFieldApiResponse: - properties: - Container: optional> - Article: optional> - Attachment: optional> - User: optional> - Group: optional> - source: - openapi: openapi/openapi.yml - RemoteKey: - docs: >- - # The RemoteKey Object - - ### Description - - The `RemoteKey` object is used to represent a request for a new remote - key. - - - ### Usage Example - - Post a `GenerateRemoteKey` to receive a new `RemoteKey`. - properties: - name: string - key: string - source: - openapi: openapi/openapi.yml - RemoteResponseResponseType: - discriminated: false - union: - - ResponseTypeEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - RemoteResponse: - docs: >- - # The RemoteResponse Object - - ### Description - - The `RemoteResponse` object is used to represent information returned from - a third-party endpoint. - - - ### Usage Example - - View the `RemoteResponse` returned from your `DataPassthrough`. - properties: - method: string - path: string - status: integer - response: unknown - response_headers: optional> - response_type: optional - headers: optional> - source: - openapi: openapi/openapi.yml - RequestFormatEnum: - enum: - - JSON - - XML - - MULTIPART - docs: |- - * `JSON` - JSON - * `XML` - XML - * `MULTIPART` - MULTIPART - source: - openapi: openapi/openapi.yml - ResponseTypeEnum: - enum: - - JSON - - BASE64_GZIP - docs: |- - * `JSON` - JSON - * `BASE64_GZIP` - BASE64_GZIP - source: - openapi: openapi/openapi.yml - RoleEnum: - enum: - - ADMIN - - DEVELOPER - - MEMBER - - API - - SYSTEM - - MERGE_TEAM - docs: |- - * `ADMIN` - ADMIN - * `DEVELOPER` - DEVELOPER - * `MEMBER` - MEMBER - * `API` - API - * `SYSTEM` - SYSTEM - * `MERGE_TEAM` - MERGE_TEAM - source: - openapi: openapi/openapi.yml - RolesEnum: - enum: - - READ - - WRITE - - OWNER - docs: |- - * `READ` - READ - * `WRITE` - WRITE - * `OWNER` - OWNER - source: - openapi: openapi/openapi.yml - SelectiveSyncConfigurationsUsageEnum: - enum: - - IN_NEXT_SYNC - - IN_LAST_SYNC - docs: |- - * `IN_NEXT_SYNC` - IN_NEXT_SYNC - * `IN_LAST_SYNC` - IN_LAST_SYNC - source: - openapi: openapi/openapi.yml - Status3C6Enum: - enum: - - DRAFT - - PUBLISHED - - ARCHIVED - - TRASH - docs: |- - * `DRAFT` - DRAFT - * `PUBLISHED` - PUBLISHED - * `ARCHIVED` - ARCHIVED - * `TRASH` - TRASH - source: - openapi: openapi/openapi.yml - StatusFd5Enum: - enum: - - SYNCING - - DONE - - FAILED - - DISABLED - - PAUSED - - PARTIALLY_SYNCED - docs: |- - * `SYNCING` - SYNCING - * `DONE` - DONE - * `FAILED` - FAILED - * `DISABLED` - DISABLED - * `PAUSED` - PAUSED - * `PARTIALLY_SYNCED` - PARTIALLY_SYNCED - source: - openapi: openapi/openapi.yml - SyncStatusLastSyncResult: - discriminated: false - union: - - LastSyncResultEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - SyncStatusStatus: - discriminated: false - union: - - StatusFd5Enum - - string - source: - openapi: openapi/openapi.yml - inline: true - SyncStatus: - docs: >- - # The SyncStatus Object - - ### Description - - The `SyncStatus` object is used to represent the syncing state of an - account - - - ### Usage Example - - View the `SyncStatus` for an account to see how recently its models were - synced. - properties: - model_name: string - model_id: string - last_sync_start: optional - next_sync_start: optional - last_sync_result: optional - last_sync_finished: optional - status: SyncStatusStatus - is_initial_sync: boolean - selective_sync_configurations_usage: optional - source: - openapi: openapi/openapi.yml - User: - docs: >- - # The User Object - - ### Description - - The `User` object is used to represent a user within the Knowledge Base - account. - - ### Usage Example - - Fetch from the `GET /api/knowledgebase/v1/users` endpoint and view their - users. - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - name: - type: optional - docs: The user's name. - validation: - maxLength: 254 - email_address: - type: optional - docs: The user's email address. - validation: - maxLength: 2000 - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - field_mappings: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - ValidationProblemSource: - properties: - pointer: string - source: - openapi: openapi/openapi.yml - VisibilityEnum: - enum: - - PUBLIC - - INTERNAL - - RESTRICTED - docs: |- - * `PUBLIC` - PUBLIC - * `INTERNAL` - INTERNAL - * `RESTRICTED` - RESTRICTED - source: - openapi: openapi/openapi.yml - WarningValidationProblem: - properties: - source: optional - title: string - detail: string - problem_type: string - source: - openapi: openapi/openapi.yml - WebhookReceiver: - properties: - event: string - is_active: boolean - key: optional - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/knowledgebase/accountDetails.yml b/.mock/definition/knowledgebase/accountDetails.yml deleted file mode 100644 index a4dd0f32..00000000 --- a/.mock/definition/knowledgebase/accountDetails.yml +++ /dev/null @@ -1,38 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - retrieve: - path: /knowledgebase/v1/account-details - method: GET - auth: - - tokenAuth: [] - docs: Get details for a linked account. - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: root.AccountDetails - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - id: 0496d4c2-42e6-4072-80b3-7b69bfdc76fd - integration: BambooHR - integration_slug: bamboohr - category: hris - end_user_origin_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - end_user_organization_name: Waystar Royco - end_user_email_address: kendall.roy@waystar-royco.com - status: COMPLETE - webhook_listener_url: >- - https://api.merge.dev/api/integrations/webhook-listener/7fc3mee0UW8ecV4 - is_duplicate: true - account_type: PRODUCTION - completed_at: '2024-08-26T20:11:19Z' - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/knowledgebase/accountToken.yml b/.mock/definition/knowledgebase/accountToken.yml deleted file mode 100644 index e5ae13ec..00000000 --- a/.mock/definition/knowledgebase/accountToken.yml +++ /dev/null @@ -1,47 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - retrieve: - path: /knowledgebase/v1/account-token/{public_token} - method: GET - auth: - - tokenAuth: [] - docs: >- - Returns the account token for the end user with the provided public - token. - source: - openapi: openapi/openapi.yml - path-parameters: - public_token: string - response: - docs: '' - type: root.AccountToken - status-code: 200 - examples: - - path-parameters: - public_token: public_token - headers: - X-Account-Token: '[object Object]' - response: - body: - account_token: T9klMDQrcHdm9jrtHuOS2Nf06BIHwMNjpPXPMB - integration: - name: name - abbreviated_name: abbreviated_name - categories: - - hris - image: image - square_image: square_image - color: color - slug: slug - api_endpoints_to_documentation_urls: - key: value - webhook_setup_guide_url: webhook_setup_guide_url - category_beta_status: - key: value - id: 0496d4c2-42e6-4072-80b3-7b69bfdc76fd - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/knowledgebase/articles.yml b/.mock/definition/knowledgebase/articles.yml deleted file mode 100644 index ccfeb650..00000000 --- a/.mock/definition/knowledgebase/articles.yml +++ /dev/null @@ -1,803 +0,0 @@ -types: - ArticlesListRequestExpand: - enum: - - attachments - - value: attachments,author - name: AttachmentsAuthor - - value: attachments,author,last_edited_by - name: AttachmentsAuthorLastEditedBy - - value: attachments,author,last_edited_by,parent_article - name: AttachmentsAuthorLastEditedByParentArticle - - value: attachments,author,last_edited_by,parent_article,parent_container - name: AttachmentsAuthorLastEditedByParentArticleParentContainer - - value: >- - attachments,author,last_edited_by,parent_article,parent_container,root_container - name: AttachmentsAuthorLastEditedByParentArticleParentContainerRootContainer - - value: attachments,author,last_edited_by,parent_article,root_container - name: AttachmentsAuthorLastEditedByParentArticleRootContainer - - value: attachments,author,last_edited_by,parent_container - name: AttachmentsAuthorLastEditedByParentContainer - - value: attachments,author,last_edited_by,parent_container,root_container - name: AttachmentsAuthorLastEditedByParentContainerRootContainer - - value: attachments,author,last_edited_by,root_container - name: AttachmentsAuthorLastEditedByRootContainer - - value: attachments,author,parent_article - name: AttachmentsAuthorParentArticle - - value: attachments,author,parent_article,parent_container - name: AttachmentsAuthorParentArticleParentContainer - - value: attachments,author,parent_article,parent_container,root_container - name: AttachmentsAuthorParentArticleParentContainerRootContainer - - value: attachments,author,parent_article,root_container - name: AttachmentsAuthorParentArticleRootContainer - - value: attachments,author,parent_container - name: AttachmentsAuthorParentContainer - - value: attachments,author,parent_container,root_container - name: AttachmentsAuthorParentContainerRootContainer - - value: attachments,author,root_container - name: AttachmentsAuthorRootContainer - - value: attachments,last_edited_by - name: AttachmentsLastEditedBy - - value: attachments,last_edited_by,parent_article - name: AttachmentsLastEditedByParentArticle - - value: attachments,last_edited_by,parent_article,parent_container - name: AttachmentsLastEditedByParentArticleParentContainer - - value: >- - attachments,last_edited_by,parent_article,parent_container,root_container - name: AttachmentsLastEditedByParentArticleParentContainerRootContainer - - value: attachments,last_edited_by,parent_article,root_container - name: AttachmentsLastEditedByParentArticleRootContainer - - value: attachments,last_edited_by,parent_container - name: AttachmentsLastEditedByParentContainer - - value: attachments,last_edited_by,parent_container,root_container - name: AttachmentsLastEditedByParentContainerRootContainer - - value: attachments,last_edited_by,root_container - name: AttachmentsLastEditedByRootContainer - - value: attachments,parent_article - name: AttachmentsParentArticle - - value: attachments,parent_article,parent_container - name: AttachmentsParentArticleParentContainer - - value: attachments,parent_article,parent_container,root_container - name: AttachmentsParentArticleParentContainerRootContainer - - value: attachments,parent_article,root_container - name: AttachmentsParentArticleRootContainer - - value: attachments,parent_container - name: AttachmentsParentContainer - - value: attachments,parent_container,root_container - name: AttachmentsParentContainerRootContainer - - value: attachments,root_container - name: AttachmentsRootContainer - - author - - value: author,last_edited_by - name: AuthorLastEditedBy - - value: author,last_edited_by,parent_article - name: AuthorLastEditedByParentArticle - - value: author,last_edited_by,parent_article,parent_container - name: AuthorLastEditedByParentArticleParentContainer - - value: author,last_edited_by,parent_article,parent_container,root_container - name: AuthorLastEditedByParentArticleParentContainerRootContainer - - value: author,last_edited_by,parent_article,root_container - name: AuthorLastEditedByParentArticleRootContainer - - value: author,last_edited_by,parent_container - name: AuthorLastEditedByParentContainer - - value: author,last_edited_by,parent_container,root_container - name: AuthorLastEditedByParentContainerRootContainer - - value: author,last_edited_by,root_container - name: AuthorLastEditedByRootContainer - - value: author,parent_article - name: AuthorParentArticle - - value: author,parent_article,parent_container - name: AuthorParentArticleParentContainer - - value: author,parent_article,parent_container,root_container - name: AuthorParentArticleParentContainerRootContainer - - value: author,parent_article,root_container - name: AuthorParentArticleRootContainer - - value: author,parent_container - name: AuthorParentContainer - - value: author,parent_container,root_container - name: AuthorParentContainerRootContainer - - value: author,root_container - name: AuthorRootContainer - - last_edited_by - - value: last_edited_by,parent_article - name: LastEditedByParentArticle - - value: last_edited_by,parent_article,parent_container - name: LastEditedByParentArticleParentContainer - - value: last_edited_by,parent_article,parent_container,root_container - name: LastEditedByParentArticleParentContainerRootContainer - - value: last_edited_by,parent_article,root_container - name: LastEditedByParentArticleRootContainer - - value: last_edited_by,parent_container - name: LastEditedByParentContainer - - value: last_edited_by,parent_container,root_container - name: LastEditedByParentContainerRootContainer - - value: last_edited_by,root_container - name: LastEditedByRootContainer - - parent_article - - value: parent_article,parent_container - name: ParentArticleParentContainer - - value: parent_article,parent_container,root_container - name: ParentArticleParentContainerRootContainer - - value: parent_article,root_container - name: ParentArticleRootContainer - - parent_container - - value: parent_container,root_container - name: ParentContainerRootContainer - - permissions - - value: permissions,attachments - name: PermissionsAttachments - - value: permissions,attachments,author - name: PermissionsAttachmentsAuthor - - value: permissions,attachments,author,last_edited_by - name: PermissionsAttachmentsAuthorLastEditedBy - - value: permissions,attachments,author,last_edited_by,parent_article - name: PermissionsAttachmentsAuthorLastEditedByParentArticle - - value: >- - permissions,attachments,author,last_edited_by,parent_article,parent_container - name: PermissionsAttachmentsAuthorLastEditedByParentArticleParentContainer - - value: >- - permissions,attachments,author,last_edited_by,parent_article,parent_container,root_container - name: >- - PermissionsAttachmentsAuthorLastEditedByParentArticleParentContainerRootContainer - - value: >- - permissions,attachments,author,last_edited_by,parent_article,root_container - name: PermissionsAttachmentsAuthorLastEditedByParentArticleRootContainer - - value: permissions,attachments,author,last_edited_by,parent_container - name: PermissionsAttachmentsAuthorLastEditedByParentContainer - - value: >- - permissions,attachments,author,last_edited_by,parent_container,root_container - name: PermissionsAttachmentsAuthorLastEditedByParentContainerRootContainer - - value: permissions,attachments,author,last_edited_by,root_container - name: PermissionsAttachmentsAuthorLastEditedByRootContainer - - value: permissions,attachments,author,parent_article - name: PermissionsAttachmentsAuthorParentArticle - - value: permissions,attachments,author,parent_article,parent_container - name: PermissionsAttachmentsAuthorParentArticleParentContainer - - value: >- - permissions,attachments,author,parent_article,parent_container,root_container - name: PermissionsAttachmentsAuthorParentArticleParentContainerRootContainer - - value: permissions,attachments,author,parent_article,root_container - name: PermissionsAttachmentsAuthorParentArticleRootContainer - - value: permissions,attachments,author,parent_container - name: PermissionsAttachmentsAuthorParentContainer - - value: permissions,attachments,author,parent_container,root_container - name: PermissionsAttachmentsAuthorParentContainerRootContainer - - value: permissions,attachments,author,root_container - name: PermissionsAttachmentsAuthorRootContainer - - value: permissions,attachments,last_edited_by - name: PermissionsAttachmentsLastEditedBy - - value: permissions,attachments,last_edited_by,parent_article - name: PermissionsAttachmentsLastEditedByParentArticle - - value: permissions,attachments,last_edited_by,parent_article,parent_container - name: PermissionsAttachmentsLastEditedByParentArticleParentContainer - - value: >- - permissions,attachments,last_edited_by,parent_article,parent_container,root_container - name: >- - PermissionsAttachmentsLastEditedByParentArticleParentContainerRootContainer - - value: permissions,attachments,last_edited_by,parent_article,root_container - name: PermissionsAttachmentsLastEditedByParentArticleRootContainer - - value: permissions,attachments,last_edited_by,parent_container - name: PermissionsAttachmentsLastEditedByParentContainer - - value: permissions,attachments,last_edited_by,parent_container,root_container - name: PermissionsAttachmentsLastEditedByParentContainerRootContainer - - value: permissions,attachments,last_edited_by,root_container - name: PermissionsAttachmentsLastEditedByRootContainer - - value: permissions,attachments,parent_article - name: PermissionsAttachmentsParentArticle - - value: permissions,attachments,parent_article,parent_container - name: PermissionsAttachmentsParentArticleParentContainer - - value: permissions,attachments,parent_article,parent_container,root_container - name: PermissionsAttachmentsParentArticleParentContainerRootContainer - - value: permissions,attachments,parent_article,root_container - name: PermissionsAttachmentsParentArticleRootContainer - - value: permissions,attachments,parent_container - name: PermissionsAttachmentsParentContainer - - value: permissions,attachments,parent_container,root_container - name: PermissionsAttachmentsParentContainerRootContainer - - value: permissions,attachments,root_container - name: PermissionsAttachmentsRootContainer - - value: permissions,author - name: PermissionsAuthor - - value: permissions,author,last_edited_by - name: PermissionsAuthorLastEditedBy - - value: permissions,author,last_edited_by,parent_article - name: PermissionsAuthorLastEditedByParentArticle - - value: permissions,author,last_edited_by,parent_article,parent_container - name: PermissionsAuthorLastEditedByParentArticleParentContainer - - value: >- - permissions,author,last_edited_by,parent_article,parent_container,root_container - name: PermissionsAuthorLastEditedByParentArticleParentContainerRootContainer - - value: permissions,author,last_edited_by,parent_article,root_container - name: PermissionsAuthorLastEditedByParentArticleRootContainer - - value: permissions,author,last_edited_by,parent_container - name: PermissionsAuthorLastEditedByParentContainer - - value: permissions,author,last_edited_by,parent_container,root_container - name: PermissionsAuthorLastEditedByParentContainerRootContainer - - value: permissions,author,last_edited_by,root_container - name: PermissionsAuthorLastEditedByRootContainer - - value: permissions,author,parent_article - name: PermissionsAuthorParentArticle - - value: permissions,author,parent_article,parent_container - name: PermissionsAuthorParentArticleParentContainer - - value: permissions,author,parent_article,parent_container,root_container - name: PermissionsAuthorParentArticleParentContainerRootContainer - - value: permissions,author,parent_article,root_container - name: PermissionsAuthorParentArticleRootContainer - - value: permissions,author,parent_container - name: PermissionsAuthorParentContainer - - value: permissions,author,parent_container,root_container - name: PermissionsAuthorParentContainerRootContainer - - value: permissions,author,root_container - name: PermissionsAuthorRootContainer - - value: permissions,last_edited_by - name: PermissionsLastEditedBy - - value: permissions,last_edited_by,parent_article - name: PermissionsLastEditedByParentArticle - - value: permissions,last_edited_by,parent_article,parent_container - name: PermissionsLastEditedByParentArticleParentContainer - - value: >- - permissions,last_edited_by,parent_article,parent_container,root_container - name: PermissionsLastEditedByParentArticleParentContainerRootContainer - - value: permissions,last_edited_by,parent_article,root_container - name: PermissionsLastEditedByParentArticleRootContainer - - value: permissions,last_edited_by,parent_container - name: PermissionsLastEditedByParentContainer - - value: permissions,last_edited_by,parent_container,root_container - name: PermissionsLastEditedByParentContainerRootContainer - - value: permissions,last_edited_by,root_container - name: PermissionsLastEditedByRootContainer - - value: permissions,parent_article - name: PermissionsParentArticle - - value: permissions,parent_article,parent_container - name: PermissionsParentArticleParentContainer - - value: permissions,parent_article,parent_container,root_container - name: PermissionsParentArticleParentContainerRootContainer - - value: permissions,parent_article,root_container - name: PermissionsParentArticleRootContainer - - value: permissions,parent_container - name: PermissionsParentContainer - - value: permissions,parent_container,root_container - name: PermissionsParentContainerRootContainer - - value: permissions,root_container - name: PermissionsRootContainer - - root_container - source: - openapi: openapi/openapi.yml - ArticlesListRequestType: - enum: - - value: '' - name: EMPTY - - BLOG_POST - - PAGE - - SMART_LINK - source: - openapi: openapi/openapi.yml - ArticlesRetrieveRequestExpand: - enum: - - attachments - - value: attachments,author - name: AttachmentsAuthor - - value: attachments,author,last_edited_by - name: AttachmentsAuthorLastEditedBy - - value: attachments,author,last_edited_by,parent_article - name: AttachmentsAuthorLastEditedByParentArticle - - value: attachments,author,last_edited_by,parent_article,parent_container - name: AttachmentsAuthorLastEditedByParentArticleParentContainer - - value: >- - attachments,author,last_edited_by,parent_article,parent_container,root_container - name: AttachmentsAuthorLastEditedByParentArticleParentContainerRootContainer - - value: attachments,author,last_edited_by,parent_article,root_container - name: AttachmentsAuthorLastEditedByParentArticleRootContainer - - value: attachments,author,last_edited_by,parent_container - name: AttachmentsAuthorLastEditedByParentContainer - - value: attachments,author,last_edited_by,parent_container,root_container - name: AttachmentsAuthorLastEditedByParentContainerRootContainer - - value: attachments,author,last_edited_by,root_container - name: AttachmentsAuthorLastEditedByRootContainer - - value: attachments,author,parent_article - name: AttachmentsAuthorParentArticle - - value: attachments,author,parent_article,parent_container - name: AttachmentsAuthorParentArticleParentContainer - - value: attachments,author,parent_article,parent_container,root_container - name: AttachmentsAuthorParentArticleParentContainerRootContainer - - value: attachments,author,parent_article,root_container - name: AttachmentsAuthorParentArticleRootContainer - - value: attachments,author,parent_container - name: AttachmentsAuthorParentContainer - - value: attachments,author,parent_container,root_container - name: AttachmentsAuthorParentContainerRootContainer - - value: attachments,author,root_container - name: AttachmentsAuthorRootContainer - - value: attachments,last_edited_by - name: AttachmentsLastEditedBy - - value: attachments,last_edited_by,parent_article - name: AttachmentsLastEditedByParentArticle - - value: attachments,last_edited_by,parent_article,parent_container - name: AttachmentsLastEditedByParentArticleParentContainer - - value: >- - attachments,last_edited_by,parent_article,parent_container,root_container - name: AttachmentsLastEditedByParentArticleParentContainerRootContainer - - value: attachments,last_edited_by,parent_article,root_container - name: AttachmentsLastEditedByParentArticleRootContainer - - value: attachments,last_edited_by,parent_container - name: AttachmentsLastEditedByParentContainer - - value: attachments,last_edited_by,parent_container,root_container - name: AttachmentsLastEditedByParentContainerRootContainer - - value: attachments,last_edited_by,root_container - name: AttachmentsLastEditedByRootContainer - - value: attachments,parent_article - name: AttachmentsParentArticle - - value: attachments,parent_article,parent_container - name: AttachmentsParentArticleParentContainer - - value: attachments,parent_article,parent_container,root_container - name: AttachmentsParentArticleParentContainerRootContainer - - value: attachments,parent_article,root_container - name: AttachmentsParentArticleRootContainer - - value: attachments,parent_container - name: AttachmentsParentContainer - - value: attachments,parent_container,root_container - name: AttachmentsParentContainerRootContainer - - value: attachments,root_container - name: AttachmentsRootContainer - - author - - value: author,last_edited_by - name: AuthorLastEditedBy - - value: author,last_edited_by,parent_article - name: AuthorLastEditedByParentArticle - - value: author,last_edited_by,parent_article,parent_container - name: AuthorLastEditedByParentArticleParentContainer - - value: author,last_edited_by,parent_article,parent_container,root_container - name: AuthorLastEditedByParentArticleParentContainerRootContainer - - value: author,last_edited_by,parent_article,root_container - name: AuthorLastEditedByParentArticleRootContainer - - value: author,last_edited_by,parent_container - name: AuthorLastEditedByParentContainer - - value: author,last_edited_by,parent_container,root_container - name: AuthorLastEditedByParentContainerRootContainer - - value: author,last_edited_by,root_container - name: AuthorLastEditedByRootContainer - - value: author,parent_article - name: AuthorParentArticle - - value: author,parent_article,parent_container - name: AuthorParentArticleParentContainer - - value: author,parent_article,parent_container,root_container - name: AuthorParentArticleParentContainerRootContainer - - value: author,parent_article,root_container - name: AuthorParentArticleRootContainer - - value: author,parent_container - name: AuthorParentContainer - - value: author,parent_container,root_container - name: AuthorParentContainerRootContainer - - value: author,root_container - name: AuthorRootContainer - - last_edited_by - - value: last_edited_by,parent_article - name: LastEditedByParentArticle - - value: last_edited_by,parent_article,parent_container - name: LastEditedByParentArticleParentContainer - - value: last_edited_by,parent_article,parent_container,root_container - name: LastEditedByParentArticleParentContainerRootContainer - - value: last_edited_by,parent_article,root_container - name: LastEditedByParentArticleRootContainer - - value: last_edited_by,parent_container - name: LastEditedByParentContainer - - value: last_edited_by,parent_container,root_container - name: LastEditedByParentContainerRootContainer - - value: last_edited_by,root_container - name: LastEditedByRootContainer - - parent_article - - value: parent_article,parent_container - name: ParentArticleParentContainer - - value: parent_article,parent_container,root_container - name: ParentArticleParentContainerRootContainer - - value: parent_article,root_container - name: ParentArticleRootContainer - - parent_container - - value: parent_container,root_container - name: ParentContainerRootContainer - - permissions - - value: permissions,attachments - name: PermissionsAttachments - - value: permissions,attachments,author - name: PermissionsAttachmentsAuthor - - value: permissions,attachments,author,last_edited_by - name: PermissionsAttachmentsAuthorLastEditedBy - - value: permissions,attachments,author,last_edited_by,parent_article - name: PermissionsAttachmentsAuthorLastEditedByParentArticle - - value: >- - permissions,attachments,author,last_edited_by,parent_article,parent_container - name: PermissionsAttachmentsAuthorLastEditedByParentArticleParentContainer - - value: >- - permissions,attachments,author,last_edited_by,parent_article,parent_container,root_container - name: >- - PermissionsAttachmentsAuthorLastEditedByParentArticleParentContainerRootContainer - - value: >- - permissions,attachments,author,last_edited_by,parent_article,root_container - name: PermissionsAttachmentsAuthorLastEditedByParentArticleRootContainer - - value: permissions,attachments,author,last_edited_by,parent_container - name: PermissionsAttachmentsAuthorLastEditedByParentContainer - - value: >- - permissions,attachments,author,last_edited_by,parent_container,root_container - name: PermissionsAttachmentsAuthorLastEditedByParentContainerRootContainer - - value: permissions,attachments,author,last_edited_by,root_container - name: PermissionsAttachmentsAuthorLastEditedByRootContainer - - value: permissions,attachments,author,parent_article - name: PermissionsAttachmentsAuthorParentArticle - - value: permissions,attachments,author,parent_article,parent_container - name: PermissionsAttachmentsAuthorParentArticleParentContainer - - value: >- - permissions,attachments,author,parent_article,parent_container,root_container - name: PermissionsAttachmentsAuthorParentArticleParentContainerRootContainer - - value: permissions,attachments,author,parent_article,root_container - name: PermissionsAttachmentsAuthorParentArticleRootContainer - - value: permissions,attachments,author,parent_container - name: PermissionsAttachmentsAuthorParentContainer - - value: permissions,attachments,author,parent_container,root_container - name: PermissionsAttachmentsAuthorParentContainerRootContainer - - value: permissions,attachments,author,root_container - name: PermissionsAttachmentsAuthorRootContainer - - value: permissions,attachments,last_edited_by - name: PermissionsAttachmentsLastEditedBy - - value: permissions,attachments,last_edited_by,parent_article - name: PermissionsAttachmentsLastEditedByParentArticle - - value: permissions,attachments,last_edited_by,parent_article,parent_container - name: PermissionsAttachmentsLastEditedByParentArticleParentContainer - - value: >- - permissions,attachments,last_edited_by,parent_article,parent_container,root_container - name: >- - PermissionsAttachmentsLastEditedByParentArticleParentContainerRootContainer - - value: permissions,attachments,last_edited_by,parent_article,root_container - name: PermissionsAttachmentsLastEditedByParentArticleRootContainer - - value: permissions,attachments,last_edited_by,parent_container - name: PermissionsAttachmentsLastEditedByParentContainer - - value: permissions,attachments,last_edited_by,parent_container,root_container - name: PermissionsAttachmentsLastEditedByParentContainerRootContainer - - value: permissions,attachments,last_edited_by,root_container - name: PermissionsAttachmentsLastEditedByRootContainer - - value: permissions,attachments,parent_article - name: PermissionsAttachmentsParentArticle - - value: permissions,attachments,parent_article,parent_container - name: PermissionsAttachmentsParentArticleParentContainer - - value: permissions,attachments,parent_article,parent_container,root_container - name: PermissionsAttachmentsParentArticleParentContainerRootContainer - - value: permissions,attachments,parent_article,root_container - name: PermissionsAttachmentsParentArticleRootContainer - - value: permissions,attachments,parent_container - name: PermissionsAttachmentsParentContainer - - value: permissions,attachments,parent_container,root_container - name: PermissionsAttachmentsParentContainerRootContainer - - value: permissions,attachments,root_container - name: PermissionsAttachmentsRootContainer - - value: permissions,author - name: PermissionsAuthor - - value: permissions,author,last_edited_by - name: PermissionsAuthorLastEditedBy - - value: permissions,author,last_edited_by,parent_article - name: PermissionsAuthorLastEditedByParentArticle - - value: permissions,author,last_edited_by,parent_article,parent_container - name: PermissionsAuthorLastEditedByParentArticleParentContainer - - value: >- - permissions,author,last_edited_by,parent_article,parent_container,root_container - name: PermissionsAuthorLastEditedByParentArticleParentContainerRootContainer - - value: permissions,author,last_edited_by,parent_article,root_container - name: PermissionsAuthorLastEditedByParentArticleRootContainer - - value: permissions,author,last_edited_by,parent_container - name: PermissionsAuthorLastEditedByParentContainer - - value: permissions,author,last_edited_by,parent_container,root_container - name: PermissionsAuthorLastEditedByParentContainerRootContainer - - value: permissions,author,last_edited_by,root_container - name: PermissionsAuthorLastEditedByRootContainer - - value: permissions,author,parent_article - name: PermissionsAuthorParentArticle - - value: permissions,author,parent_article,parent_container - name: PermissionsAuthorParentArticleParentContainer - - value: permissions,author,parent_article,parent_container,root_container - name: PermissionsAuthorParentArticleParentContainerRootContainer - - value: permissions,author,parent_article,root_container - name: PermissionsAuthorParentArticleRootContainer - - value: permissions,author,parent_container - name: PermissionsAuthorParentContainer - - value: permissions,author,parent_container,root_container - name: PermissionsAuthorParentContainerRootContainer - - value: permissions,author,root_container - name: PermissionsAuthorRootContainer - - value: permissions,last_edited_by - name: PermissionsLastEditedBy - - value: permissions,last_edited_by,parent_article - name: PermissionsLastEditedByParentArticle - - value: permissions,last_edited_by,parent_article,parent_container - name: PermissionsLastEditedByParentArticleParentContainer - - value: >- - permissions,last_edited_by,parent_article,parent_container,root_container - name: PermissionsLastEditedByParentArticleParentContainerRootContainer - - value: permissions,last_edited_by,parent_article,root_container - name: PermissionsLastEditedByParentArticleRootContainer - - value: permissions,last_edited_by,parent_container - name: PermissionsLastEditedByParentContainer - - value: permissions,last_edited_by,parent_container,root_container - name: PermissionsLastEditedByParentContainerRootContainer - - value: permissions,last_edited_by,root_container - name: PermissionsLastEditedByRootContainer - - value: permissions,parent_article - name: PermissionsParentArticle - - value: permissions,parent_article,parent_container - name: PermissionsParentArticleParentContainer - - value: permissions,parent_article,parent_container,root_container - name: PermissionsParentArticleParentContainerRootContainer - - value: permissions,parent_article,root_container - name: PermissionsParentArticleRootContainer - - value: permissions,parent_container - name: PermissionsParentContainer - - value: permissions,parent_container,root_container - name: PermissionsParentContainerRootContainer - - value: permissions,root_container - name: PermissionsRootContainer - - root_container - source: - openapi: openapi/openapi.yml -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /knowledgebase/v1/articles - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `Article` objects. - source: - openapi: openapi/openapi.yml - request: - name: ArticlesListRequest - query-parameters: - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - page_size: - type: optional - docs: Number of results to return per page. The maximum limit is 100. - parent_article_id: - type: optional - docs: >- - If provided, will only return sub articles of the - parent_article_id. - validation: - format: uuid - parent_container_id: - type: optional - docs: >- - If provided, will only return sub articles of the - parent_container_id. - validation: - format: uuid - remote_id: - type: optional - docs: The API provider's ID for the given object. - root_container_id: - type: optional - docs: >- - If provided, will only return sub articles of the - root_container_id. - status: - type: optional - docs: >- - If provided, will only return articles of the given status; - multiple statuses can be separated by commas. - type: - type: optional - docs: If provided, will only return articles of the given type. - response: - docs: '' - type: root.PaginatedArticleList - status-code: 200 - examples: - - query-parameters: - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - expand: attachments - include_deleted_data: true - include_remote_data: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - page_size: 1 - parent_article_id: parent_article_id - parent_container_id: parent_container_id - remote_id: remote_id - root_container_id: root_container_id - status: status - type: '' - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: 134e0111-0f67-44f6-98f0-597000290bb3 - remote_id: '800293' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - title: Test Article - description: >- - This article describes how Merge is the #1 player in the - Unified API space - author: author - last_edited_by: last_edited_by - visibility: PUBLIC - article_content_download_url: >- - https://s3.amazonaws.com/finance-department-bucket/2022/tax-certificate.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA3SGQVQG7FGA6KKA6%2F20221104%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20221104T140227Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=b228dbec8c1008c80c162e1210e4503dceead1e4d4751b4d9787314fd6da4d55 - checksum: >- - b228dbec8c1008c80c162e1210e4503dceead1e4d4751b4d9787314fd6da4d55 - article_url: myworkspace.atlassian.net/wiki/test-article - status: DRAFT - type: PAGE - remote_created_at: '2021-09-15T00:00:00Z' - remote_updated_at: '2021-09-16T00:00:00Z' - parent_article: parent_article - parent_container: parent_container - root_container: root_container - permissions: - - id: 31ce489c-asdf-68b1-754r-629f799f7123 - remote_id: '102895' - created_at: '2020-03-31T00:00:00Z' - modified_at: '2020-06-20T00:00:00Z' - user: 21ce474c-asdf-34a2-754r-629f799f7d12 - type: USER - roles: - - OWNER - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - attachments: - - 640b80b-fac9-409f-aa19-1f9221aec445 - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /articles - data: - - Varies by platform - retrieve: - path: /knowledgebase/v1/articles/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns an `Article` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: ArticlesRetrieveRequest - query-parameters: - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - response: - docs: '' - type: root.Article - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - expand: attachments - include_remote_data: true - include_shell_data: true - headers: - X-Account-Token: X-Account-Token - response: - body: - id: 134e0111-0f67-44f6-98f0-597000290bb3 - remote_id: '800293' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - title: Test Article - description: >- - This article describes how Merge is the #1 player in the Unified - API space - author: author - last_edited_by: last_edited_by - visibility: PUBLIC - article_content_download_url: >- - https://s3.amazonaws.com/finance-department-bucket/2022/tax-certificate.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA3SGQVQG7FGA6KKA6%2F20221104%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20221104T140227Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=b228dbec8c1008c80c162e1210e4503dceead1e4d4751b4d9787314fd6da4d55 - checksum: b228dbec8c1008c80c162e1210e4503dceead1e4d4751b4d9787314fd6da4d55 - article_url: myworkspace.atlassian.net/wiki/test-article - status: DRAFT - type: PAGE - remote_created_at: '2021-09-15T00:00:00Z' - remote_updated_at: '2021-09-16T00:00:00Z' - parent_article: parent_article - parent_container: parent_container - root_container: root_container - permissions: - - id: 31ce489c-asdf-68b1-754r-629f799f7123 - remote_id: '102895' - created_at: '2020-03-31T00:00:00Z' - modified_at: '2020-06-20T00:00:00Z' - user: 21ce474c-asdf-34a2-754r-629f799f7d12 - group: group - type: USER - roles: - - OWNER - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - attachments: - - 640b80b-fac9-409f-aa19-1f9221aec445 - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /articles - data: - - Varies by platform - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/knowledgebase/asyncPassthrough.yml b/.mock/definition/knowledgebase/asyncPassthrough.yml deleted file mode 100644 index 02bd5fa3..00000000 --- a/.mock/definition/knowledgebase/asyncPassthrough.yml +++ /dev/null @@ -1,78 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - create: - path: /knowledgebase/v1/async-passthrough - method: POST - auth: - - tokenAuth: [] - docs: >- - Asynchronously pull data from an endpoint not currently supported by - Merge. - source: - openapi: openapi/openapi.yml - request: - body: root.DataPassthroughRequest - content-type: application/json - response: - docs: '' - type: root.AsyncPassthroughReciept - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - request: - method: GET - path: /scooters - response: - body: - async_passthrough_receipt_id: fd29020f-2695-445e-922e-dcd5e81903fd - retrieve: - path: /knowledgebase/v1/async-passthrough/{async_passthrough_receipt_id} - method: GET - auth: - - tokenAuth: [] - docs: Retrieves data from earlier async-passthrough POST request - source: - openapi: openapi/openapi.yml - path-parameters: - async_passthrough_receipt_id: string - response: - docs: '' - type: AsyncPassthroughRetrieveResponse - status-code: 200 - examples: - - path-parameters: - async_passthrough_receipt_id: async_passthrough_receipt_id - headers: - X-Account-Token: X-Account-Token - response: - body: - method: GET - path: /scooters - status: 200 - response: - scooters: - - company: Lime - model: Gen 2.5 - - company: Bird - model: Bird Zero - response_headers: - X-Page-Token: value - response_type: JSON - headers: - EXTRA-HEADER: value - Authorization: - source: - openapi: openapi/openapi.yml -types: - AsyncPassthroughRetrieveResponse: - discriminated: false - union: - - root.RemoteResponse - - string - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/knowledgebase/attachments.yml b/.mock/definition/knowledgebase/attachments.yml deleted file mode 100644 index b45968b9..00000000 --- a/.mock/definition/knowledgebase/attachments.yml +++ /dev/null @@ -1,158 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /knowledgebase/v1/attachments - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `Attachment` objects. - source: - openapi: openapi/openapi.yml - request: - name: AttachmentsListRequest - query-parameters: - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - page_size: - type: optional - docs: Number of results to return per page. The maximum limit is 100. - remote_id: - type: optional - docs: The API provider's ID for the given object. - response: - docs: '' - type: root.PaginatedAttachmentList - status-code: 200 - examples: - - query-parameters: - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - include_deleted_data: true - include_remote_data: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - page_size: 1 - remote_id: remote_id - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: c640b80b-fac9-409f-aa19-1f9221aec445 - remote_id: '11167' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Article spec - description: This is an example attachment. - attachment_url: https://example.com/attachments/2039349 - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /attachments - data: - - Varies by platform - retrieve: - path: /knowledgebase/v1/attachments/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns an `Attachment` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: AttachmentsRetrieveRequest - query-parameters: - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - response: - docs: '' - type: root.Attachment - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - include_remote_data: true - include_shell_data: true - headers: - X-Account-Token: X-Account-Token - response: - body: - id: c640b80b-fac9-409f-aa19-1f9221aec445 - remote_id: '11167' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Article spec - description: This is an example attachment. - attachment_url: https://example.com/attachments/2039349 - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /attachments - data: - - Varies by platform - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/knowledgebase/auditTrail.yml b/.mock/definition/knowledgebase/auditTrail.yml deleted file mode 100644 index 49acdbe0..00000000 --- a/.mock/definition/knowledgebase/auditTrail.yml +++ /dev/null @@ -1,104 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /knowledgebase/v1/audit-trail - method: GET - auth: - - tokenAuth: [] - docs: Gets a list of audit trail events. - source: - openapi: openapi/openapi.yml - request: - name: AuditTrailListRequest - query-parameters: - cursor: - type: optional - docs: The pagination cursor value. - end_date: - type: optional - docs: >- - If included, will only include audit trail events that occurred - before this time - event_type: - type: optional - docs: >- - If included, will only include events with the given event type. - Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, - `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, - `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, - `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, - `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, - `DELETED_LINKED_ACCOUNT`, - `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, - `CREATED_DESTINATION`, `DELETED_DESTINATION`, - `CHANGED_DESTINATION`, `CHANGED_SCOPES`, - `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, - `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, - `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, - `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, - `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, - `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, - `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, - `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, - `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, - `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, - `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, - `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, - `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, - `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, - `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, - `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, - `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, - `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, - `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, - `END_USER_CREDENTIALS_ACCESSED` - page_size: - type: optional - docs: Number of results to return per page. - start_date: - type: optional - docs: >- - If included, will only include audit trail events that occurred - after this time - user_email: - type: optional - docs: >- - If provided, this will return events associated with the specified - user email. Please note that the email address reflects the user's - email at the time of the event, and may not be their current - email. - response: - docs: '' - type: root.PaginatedAuditLogEventList - status-code: 200 - examples: - - query-parameters: - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - end_date: end_date - event_type: event_type - page_size: 1 - start_date: start_date - user_email: user_email - headers: - X-Account-Token: '[object Object]' - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: b5ceea2a-7171-47ce-8090-165cfce5572c - user_name: Gil Feig - user_email: hello@merge.dev - role: ADMIN - ip_address: 192.0.2.123 - event_type: CREATED_REMOTE_PRODUCTION_API_KEY - event_description: >- - Organization-wide Scopes for model hris.Employee updated - from Read to Read+Write - created_at: '2024-01-15T09:30:00Z' - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/knowledgebase/availableActions.yml b/.mock/definition/knowledgebase/availableActions.yml deleted file mode 100644 index d18129a6..00000000 --- a/.mock/definition/knowledgebase/availableActions.yml +++ /dev/null @@ -1,52 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - retrieve: - path: /knowledgebase/v1/available-actions - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of models and actions available for an account. - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: root.AvailableActions - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - integration: - name: name - abbreviated_name: abbreviated_name - categories: - - hris - image: image - square_image: square_image - color: color - slug: slug - api_endpoints_to_documentation_urls: - key: value - webhook_setup_guide_url: webhook_setup_guide_url - category_beta_status: - key: value - passthrough_available: true - available_model_operations: - - model_name: Candidate - available_operations: - - FETCH - - CREATE - required_post_parameters: - - remote_user_id - supported_fields: - - first_name - - last_name - - company - - title - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/knowledgebase/containers.yml b/.mock/definition/knowledgebase/containers.yml deleted file mode 100644 index 827ae3c8..00000000 --- a/.mock/definition/knowledgebase/containers.yml +++ /dev/null @@ -1,281 +0,0 @@ -types: - ContainersListRequestExpand: - enum: - - parent_article - - value: parent_article,parent_container - name: ParentArticleParentContainer - - parent_container - - permissions - - value: permissions,parent_article - name: PermissionsParentArticle - - value: permissions,parent_article,parent_container - name: PermissionsParentArticleParentContainer - - value: permissions,parent_container - name: PermissionsParentContainer - source: - openapi: openapi/openapi.yml - ContainersListRequestType: - enum: - - value: '' - name: EMPTY - - CATEGORY - - COLLECTION - - DATABASE - - FOLDER - - SECTION - - SPACE - source: - openapi: openapi/openapi.yml - ContainersRetrieveRequestExpand: - enum: - - parent_article - - value: parent_article,parent_container - name: ParentArticleParentContainer - - parent_container - - permissions - - value: permissions,parent_article - name: PermissionsParentArticle - - value: permissions,parent_article,parent_container - name: PermissionsParentArticleParentContainer - - value: permissions,parent_container - name: PermissionsParentContainer - source: - openapi: openapi/openapi.yml -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /knowledgebase/v1/containers - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `Container` objects. - source: - openapi: openapi/openapi.yml - request: - name: ContainersListRequest - query-parameters: - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - page_size: - type: optional - docs: Number of results to return per page. The maximum limit is 100. - parent_article_id: - type: optional - docs: >- - If provided, will only return sub containers of the - parent_article_id. - validation: - format: uuid - parent_container_id: - type: optional - docs: >- - If provided, will only return sub containers of the - parent_container_id. - validation: - format: uuid - remote_id: - type: optional - docs: The API provider's ID for the given object. - type: - type: optional - docs: If provided, will only return containers of the given type. - response: - docs: '' - type: root.PaginatedContainerList - status-code: 200 - examples: - - query-parameters: - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - expand: parent_article - include_deleted_data: true - include_remote_data: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - page_size: 1 - parent_article_id: parent_article_id - parent_container_id: parent_container_id - remote_id: remote_id - type: '' - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: 134e0111-0f67-44f6-98f0-597000290bb3 - remote_id: '800293' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Test Container - description: >- - This folder contains articles that describe how Merge is the - #1 player in the Unified API space - status: DRAFT - container_url: myworkspace.atlassian.net/wiki/test-container - type: FOLDER - visibility: PUBLIC - remote_created_at: '2021-09-15T00:00:00Z' - remote_updated_at: '2021-09-16T00:00:00Z' - parent_article: parent_article - parent_container: 8e889422-e086-42dc-b99e-24d732039b0b - permissions: - - id: 31ce489c-asdf-68b1-754r-629f799f7123 - remote_id: '102895' - created_at: '2020-03-31T00:00:00Z' - modified_at: '2020-06-20T00:00:00Z' - user: 21ce474c-asdf-34a2-754r-629f799f7d12 - type: USER - roles: - - OWNER - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /containers - data: - - Varies by platform - retrieve: - path: /knowledgebase/v1/containers/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns a `Container` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: ContainersRetrieveRequest - query-parameters: - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - response: - docs: '' - type: root.Container - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - expand: parent_article - include_remote_data: true - include_shell_data: true - headers: - X-Account-Token: X-Account-Token - response: - body: - id: 134e0111-0f67-44f6-98f0-597000290bb3 - remote_id: '800293' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Test Container - description: >- - This folder contains articles that describe how Merge is the #1 - player in the Unified API space - status: DRAFT - container_url: myworkspace.atlassian.net/wiki/test-container - type: FOLDER - visibility: PUBLIC - remote_created_at: '2021-09-15T00:00:00Z' - remote_updated_at: '2021-09-16T00:00:00Z' - parent_article: parent_article - parent_container: 8e889422-e086-42dc-b99e-24d732039b0b - permissions: - - id: 31ce489c-asdf-68b1-754r-629f799f7123 - remote_id: '102895' - created_at: '2020-03-31T00:00:00Z' - modified_at: '2020-06-20T00:00:00Z' - user: 21ce474c-asdf-34a2-754r-629f799f7d12 - group: group - type: USER - roles: - - OWNER - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /containers - data: - - Varies by platform - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/knowledgebase/deleteAccount.yml b/.mock/definition/knowledgebase/deleteAccount.yml deleted file mode 100644 index c5fc2104..00000000 --- a/.mock/definition/knowledgebase/deleteAccount.yml +++ /dev/null @@ -1,17 +0,0 @@ -service: - auth: false - base-path: '' - endpoints: - delete: - path: /knowledgebase/v1/delete-account - method: POST - auth: - - tokenAuth: [] - docs: Delete a linked account. - source: - openapi: openapi/openapi.yml - examples: - - headers: - X-Account-Token: X-Account-Token - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/knowledgebase/fieldMapping.yml b/.mock/definition/knowledgebase/fieldMapping.yml deleted file mode 100644 index 3d844098..00000000 --- a/.mock/definition/knowledgebase/fieldMapping.yml +++ /dev/null @@ -1,559 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - field_mappings_retrieve: - path: /knowledgebase/v1/field-mappings - method: GET - auth: - - tokenAuth: [] - docs: >- - Get all Field Mappings for this Linked Account. Field Mappings are - mappings between third-party Remote Fields and user defined Merge - fields. [Learn - more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). - source: - openapi: openapi/openapi.yml - request: - name: FieldMappingsRetrieveRequest - query-parameters: - exclude_remote_field_metadata: - type: optional - docs: >- - If `true`, remote fields metadata is excluded from each field - mapping instance (i.e. `remote_fields.remote_key_name` and - `remote_fields.schema` will be null). This will increase the speed - of the request since these fields require some calculations. - response: - docs: '' - type: root.FieldMappingApiInstanceResponse - status-code: 200 - examples: - - query-parameters: - exclude_remote_field_metadata: true - headers: - X-Account-Token: X-Account-Token - response: - body: - Container: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - jmes_path: '[0].example_jmes_path' - Article: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - jmes_path: '[0].example_jmes_path' - Attachment: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - jmes_path: '[0].example_jmes_path' - User: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - jmes_path: '[0].example_jmes_path' - Group: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - jmes_path: '[0].example_jmes_path' - field_mappings_create: - path: /knowledgebase/v1/field-mappings - method: POST - auth: - - tokenAuth: [] - docs: >- - Create new Field Mappings that will be available after the next - scheduled sync. This will cause the next sync for this Linked Account to - sync **ALL** data from start. - source: - openapi: openapi/openapi.yml - request: - name: CreateFieldMappingRequest - query-parameters: - exclude_remote_field_metadata: - type: optional - docs: >- - If `true`, remote fields metadata is excluded from each field - mapping instance (i.e. `remote_fields.remote_key_name` and - `remote_fields.schema` will be null). This will increase the speed - of the request since these fields require some calculations. - body: - properties: - target_field_name: - type: string - docs: >- - The name of the target field you want this remote field to map - to. - validation: - minLength: 1 - target_field_description: - type: string - docs: >- - The description of the target field you want this remote field - to map to. - validation: - minLength: 1 - remote_field_traversal_path: - docs: >- - The field traversal path of the remote field listed when you hit - the GET /remote-fields endpoint. - type: list - remote_method: - type: string - docs: >- - The method of the remote endpoint where the remote field is - coming from. - validation: - minLength: 1 - remote_url_path: - type: string - docs: >- - The path of the remote endpoint where the remote field is coming - from. - validation: - minLength: 1 - common_model_name: - type: string - docs: >- - The name of the Common Model that the remote field corresponds - to in a given category. - validation: - minLength: 1 - jmes_path: - type: optional - docs: >- - JMES path to specify json query expression to be used on field - mapping. - validation: - minLength: 1 - content-type: application/json - response: - docs: '' - type: root.FieldMappingInstanceResponse - status-code: 201 - examples: - - query-parameters: - exclude_remote_field_metadata: true - headers: - X-Account-Token: X-Account-Token - request: - target_field_name: example_target_field_name - target_field_description: this is a example description of the target field - remote_field_traversal_path: - - example_remote_field - remote_method: GET - remote_url_path: /example-url-path - common_model_name: ExampleCommonModel - response: - body: - model: - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - jmes_path: '[0].example_jmes_path' - warnings: - - source: - pointer: pointer - title: Unrecognized Field - detail: An unrecognized field, age, was passed in with request data. - problem_type: UNRECOGNIZED_FIELD - errors: - - source: - pointer: pointer - title: Missing Required Field - detail: custom_fields is a required field on model. - problem_type: MISSING_REQUIRED_FIELD - logs: - - log_id: 99433219-8017-4acd-bb3c-ceb23d663832 - dashboard_view: >- - https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832 - log_summary: - url: www.exampleintegration.com/api/v1/exampleapi - method: POST - status_code: 200 - field_mappings_destroy: - path: /knowledgebase/v1/field-mappings/{field_mapping_id} - method: DELETE - auth: - - tokenAuth: [] - docs: >- - Deletes Field Mappings for a Linked Account. All data related to this - Field Mapping will be deleted and these changes will be reflected after - the next scheduled sync. This will cause the next sync for this Linked - Account to sync **ALL** data from start. - source: - openapi: openapi/openapi.yml - path-parameters: - field_mapping_id: string - response: - docs: '' - type: root.FieldMappingInstanceResponse - status-code: 204 - examples: - - path-parameters: - field_mapping_id: field_mapping_id - headers: - X-Account-Token: X-Account-Token - response: - body: - model: - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - jmes_path: '[0].example_jmes_path' - warnings: - - source: - pointer: pointer - title: Unrecognized Field - detail: An unrecognized field, age, was passed in with request data. - problem_type: UNRECOGNIZED_FIELD - errors: - - source: - pointer: pointer - title: Missing Required Field - detail: custom_fields is a required field on model. - problem_type: MISSING_REQUIRED_FIELD - logs: - - log_id: 99433219-8017-4acd-bb3c-ceb23d663832 - dashboard_view: >- - https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832 - log_summary: - url: www.exampleintegration.com/api/v1/exampleapi - method: POST - status_code: 200 - field_mappings_partial_update: - path: /knowledgebase/v1/field-mappings/{field_mapping_id} - method: PATCH - auth: - - tokenAuth: [] - docs: >- - Create or update existing Field Mappings for a Linked Account. Changes - will be reflected after the next scheduled sync. This will cause the - next sync for this Linked Account to sync **ALL** data from start. - source: - openapi: openapi/openapi.yml - path-parameters: - field_mapping_id: string - request: - name: PatchedEditFieldMappingRequest - body: - properties: - remote_field_traversal_path: - type: optional> - docs: >- - The field traversal path of the remote field listed when you hit - the GET /remote-fields endpoint. - remote_method: - type: optional - docs: >- - The method of the remote endpoint where the remote field is - coming from. - validation: - minLength: 1 - remote_url_path: - type: optional - docs: >- - The path of the remote endpoint where the remote field is coming - from. - validation: - minLength: 1 - jmes_path: - type: optional - docs: >- - JMES path to specify json query expression to be used on field - mapping. - validation: - minLength: 1 - content-type: application/json - response: - docs: '' - type: root.FieldMappingInstanceResponse - status-code: 200 - examples: - - path-parameters: - field_mapping_id: field_mapping_id - headers: - X-Account-Token: X-Account-Token - request: {} - response: - body: - model: - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - jmes_path: '[0].example_jmes_path' - warnings: - - source: - pointer: pointer - title: Unrecognized Field - detail: An unrecognized field, age, was passed in with request data. - problem_type: UNRECOGNIZED_FIELD - errors: - - source: - pointer: pointer - title: Missing Required Field - detail: custom_fields is a required field on model. - problem_type: MISSING_REQUIRED_FIELD - logs: - - log_id: 99433219-8017-4acd-bb3c-ceb23d663832 - dashboard_view: >- - https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832 - log_summary: - url: www.exampleintegration.com/api/v1/exampleapi - method: POST - status_code: 200 - remote_fields_retrieve: - path: /knowledgebase/v1/remote-fields - method: GET - auth: - - tokenAuth: [] - docs: >- - Get all remote fields for a Linked Account. Remote fields are - third-party fields that are accessible after initial sync if remote_data - is enabled. You can use remote fields to override existing Merge fields - or map a new Merge field. [Learn - more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). - source: - openapi: openapi/openapi.yml - request: - name: RemoteFieldsRetrieveRequest - query-parameters: - common_models: - type: optional - docs: >- - A comma seperated list of Common Model names. If included, will - only return Remote Fields for those Common Models. - include_example_values: - type: optional - docs: >- - If true, will include example values, where available, for remote - fields in the 3rd party platform. These examples come from active - data from your customers. - response: - docs: '' - type: root.RemoteFieldApiResponse - status-code: 200 - examples: - - query-parameters: - common_models: common_models - include_example_values: include_example_values - headers: - X-Account-Token: X-Account-Token - response: - body: - Container: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - Article: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - Attachment: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - User: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - Group: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - target_fields_retrieve: - path: /knowledgebase/v1/target-fields - method: GET - auth: - - tokenAuth: [] - docs: >- - Get all organization-wide Target Fields, this will not include any - Linked Account specific Target Fields. Organization-wide Target Fields - are additional fields appended to the Merge Common Model for all Linked - Accounts in a category. [Learn - more](https://docs.merge.dev/supplemental-data/field-mappings/target-fields/). - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: root.ExternalTargetFieldApiResponse - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - Container: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - Article: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - Attachment: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - User: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - Group: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/knowledgebase/forceResync.yml b/.mock/definition/knowledgebase/forceResync.yml deleted file mode 100644 index 5a18e2dc..00000000 --- a/.mock/definition/knowledgebase/forceResync.yml +++ /dev/null @@ -1,39 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - sync_status_resync_create: - path: /knowledgebase/v1/sync-status/resync - method: POST - auth: - - tokenAuth: [] - docs: >- - Force re-sync of all models. This endpoint is available for monthly, - quarterly, and highest sync frequency customers on the Professional or - Enterprise plans. Doing so will consume a sync credit for the relevant - linked account. Force re-syncs can also be triggered manually in the - Merge Dashboard and is available for all customers. - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: list - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - - model_name: Article - model_id: knowledgebase.KnowledgeBaseArticle - last_sync_start: '2021-03-30T19:44:18Z' - next_sync_start: '2021-03-30T20:44:18Z' - last_sync_result: SYNCING - last_sync_finished: '2021-03-30T19:55:18Z' - status: SYNCING - is_initial_sync: true - selective_sync_configurations_usage: IN_NEXT_SYNC - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/knowledgebase/generateKey.yml b/.mock/definition/knowledgebase/generateKey.yml deleted file mode 100644 index cf285f18..00000000 --- a/.mock/definition/knowledgebase/generateKey.yml +++ /dev/null @@ -1,39 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - create: - path: /knowledgebase/v1/generate-key - method: POST - auth: - - tokenAuth: [] - docs: Create a remote key. - source: - openapi: openapi/openapi.yml - request: - name: GenerateRemoteKeyRequest - body: - properties: - name: - type: string - docs: The name of the remote key - validation: - minLength: 1 - content-type: application/json - response: - docs: '' - type: root.RemoteKey - status-code: 200 - examples: - - headers: - X-Account-Token: '[object Object]' - request: - name: Remote Deployment Key 1 - response: - body: - name: Remote Deployment Key 1 - key: hXY57W0g0WkdRHjCaPvwijK63fwfN-o_Wh7f30SLTq_uPCOLo-WFcA - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/knowledgebase/groups.yml b/.mock/definition/knowledgebase/groups.yml deleted file mode 100644 index edfee65e..00000000 --- a/.mock/definition/knowledgebase/groups.yml +++ /dev/null @@ -1,191 +0,0 @@ -types: - GroupsListRequestExpand: - enum: - - parent_group - - users - - value: users,parent_group - name: UsersParentGroup - source: - openapi: openapi/openapi.yml - GroupsRetrieveRequestExpand: - enum: - - parent_group - - users - - value: users,parent_group - name: UsersParentGroup - source: - openapi: openapi/openapi.yml -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /knowledgebase/v1/groups - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `Group` objects. - source: - openapi: openapi/openapi.yml - request: - name: GroupsListRequest - query-parameters: - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - page_size: - type: optional - docs: Number of results to return per page. The maximum limit is 100. - remote_id: - type: optional - docs: The API provider's ID for the given object. - response: - docs: '' - type: root.PaginatedGroupList - status-code: 200 - examples: - - query-parameters: - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - expand: parent_group - include_deleted_data: true - include_remote_data: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - page_size: 1 - remote_id: remote_id - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: 134e0111-0f67-44f6-98f0-597000290bb3 - remote_id: '800293' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Engineering - parent_group: parent_group - users: - - 6e93361b-8ae7-444b-bfa2-71206cbbee24 - - a1f90b3c-633d-404e-a696-05cd54808676 - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /groups - data: - - Varies by platform - retrieve: - path: /knowledgebase/v1/groups/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns a `Group` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: GroupsRetrieveRequest - query-parameters: - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - response: - docs: '' - type: root.Group - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - expand: parent_group - include_remote_data: true - include_shell_data: true - headers: - X-Account-Token: X-Account-Token - response: - body: - id: 134e0111-0f67-44f6-98f0-597000290bb3 - remote_id: '800293' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Engineering - parent_group: parent_group - users: - - 6e93361b-8ae7-444b-bfa2-71206cbbee24 - - a1f90b3c-633d-404e-a696-05cd54808676 - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /groups - data: - - Varies by platform - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/knowledgebase/issues.yml b/.mock/definition/knowledgebase/issues.yml deleted file mode 100644 index e9acedaf..00000000 --- a/.mock/definition/knowledgebase/issues.yml +++ /dev/null @@ -1,150 +0,0 @@ -types: - IssuesListRequestStatus: - enum: - - ONGOING - - RESOLVED - source: - openapi: openapi/openapi.yml -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /knowledgebase/v1/issues - method: GET - auth: - - tokenAuth: [] - docs: Gets all issues for Organization. - source: - openapi: openapi/openapi.yml - request: - name: IssuesListRequest - query-parameters: - account_token: optional - cursor: - type: optional - docs: The pagination cursor value. - end_date: - type: optional - docs: >- - If included, will only include issues whose most recent action - occurred before this time - end_user_organization_name: optional - first_incident_time_after: - type: optional - docs: >- - If provided, will only return issues whose first incident time was - after this datetime. - first_incident_time_before: - type: optional - docs: >- - If provided, will only return issues whose first incident time was - before this datetime. - include_muted: - type: optional - docs: If true, will include muted issues - integration_name: optional - last_incident_time_after: - type: optional - docs: >- - If provided, will only return issues whose last incident time was - after this datetime. - last_incident_time_before: - type: optional - docs: >- - If provided, will only return issues whose last incident time was - before this datetime. - linked_account_id: - type: optional - docs: >- - If provided, will only include issues pertaining to the linked - account passed in. - page_size: - type: optional - docs: Number of results to return per page. The maximum limit is 100. - start_date: - type: optional - docs: >- - If included, will only include issues whose most recent action - occurred after this time - status: - type: optional - docs: |- - Status of the issue. Options: ('ONGOING', 'RESOLVED') - - * `ONGOING` - ONGOING - * `RESOLVED` - RESOLVED - response: - docs: '' - type: root.PaginatedIssueList - status-code: 200 - examples: - - query-parameters: - account_token: account_token - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - end_date: end_date - end_user_organization_name: end_user_organization_name - first_incident_time_after: '2024-01-15T09:30:00Z' - first_incident_time_before: '2024-01-15T09:30:00Z' - include_muted: include_muted - integration_name: integration_name - last_incident_time_after: '2024-01-15T09:30:00Z' - last_incident_time_before: '2024-01-15T09:30:00Z' - linked_account_id: linked_account_id - page_size: 1 - start_date: start_date - status: ONGOING - headers: - X-Account-Token: '[object Object]' - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - status: ONGOING - error_description: Missing Permissions - end_user: - key: value - first_incident_time: '2022-12-05T16:19:15Z' - last_incident_time: '2022-12-05T16:19:15Z' - is_muted: true - error_details: - - Missing employee permissions. - - Missing time off permissions. - retrieve: - path: /knowledgebase/v1/issues/{id} - method: GET - auth: - - tokenAuth: [] - docs: Get a specific issue. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - response: - docs: '' - type: root.Issue - status-code: 200 - examples: - - path-parameters: - id: id - headers: - X-Account-Token: '[object Object]' - response: - body: - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - status: ONGOING - error_description: Missing Permissions - end_user: - key: value - first_incident_time: '2022-12-05T16:19:15Z' - last_incident_time: '2022-12-05T16:19:15Z' - is_muted: true - error_details: - - Missing employee permissions. - - Missing time off permissions. - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/knowledgebase/linkToken.yml b/.mock/definition/knowledgebase/linkToken.yml deleted file mode 100644 index 5ff30f71..00000000 --- a/.mock/definition/knowledgebase/linkToken.yml +++ /dev/null @@ -1,177 +0,0 @@ -imports: - root: __package__.yml -types: - EndUserDetailsRequestLanguage: - discriminated: false - docs: >- - The following subset of IETF language tags can be used to configure - localization. - - - * `en` - en - - * `de` - de - union: - - root.LanguageEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - EndUserDetailsRequestCompletedAccountInitialScreen: - discriminated: false - docs: >- - When creating a Link token, you can specifiy the initial screen of Linking - Flow for a completed Linked Account. - - - * `SELECTIVE_SYNC` - SELECTIVE_SYNC - union: - - root.CompletedAccountInitialScreenEnum - - string - source: - openapi: openapi/openapi.yml - inline: true -service: - auth: false - base-path: '' - endpoints: - create: - path: /knowledgebase/v1/link-token - method: POST - auth: - - tokenAuth: [] - docs: Creates a link token to be used when linking a new end user. - source: - openapi: openapi/openapi.yml - request: - name: EndUserDetailsRequest - body: - properties: - end_user_email_address: - type: string - docs: >- - Your end user's email address. This is purely for identification - purposes - setting this value will not cause any emails to be - sent. - validation: - minLength: 1 - maxLength: 100 - end_user_organization_name: - type: string - docs: Your end user's organization. - validation: - minLength: 1 - maxLength: 100 - end_user_origin_id: - type: string - docs: >- - This unique identifier typically represents the ID for your end - user in your product's database. This value must be distinct - from other Linked Accounts' unique identifiers. - validation: - minLength: 1 - maxLength: 100 - categories: - docs: The integration categories to show in Merge Link. - type: list - integration: - type: optional - docs: >- - The slug of a specific pre-selected integration for this linking - flow token. For examples of slugs, see - https://docs.merge.dev/guides/merge-link/single-integration/. - validation: - minLength: 1 - link_expiry_mins: - type: optional - docs: >- - An integer number of minutes between [30, 720 or 10080 if for a - Magic Link URL] for how long this token is valid. Defaults to - 30. - default: 30 - validation: - min: 30 - max: 10080 - should_create_magic_link_url: - type: optional - docs: >- - Whether to generate a Magic Link URL. Defaults to false. For - more information on Magic Link, see - https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. - default: false - hide_admin_magic_link: - type: optional - docs: >- - Whether to generate a Magic Link URL on the Admin Needed screen - during the linking flow. Defaults to false. For more information - on Magic Link, see - https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. - default: false - common_models: - type: optional> - docs: >- - An array of objects to specify the models and fields that will - be disabled for a given Linked Account. Each object uses - model_id, enabled_actions, and disabled_fields to specify the - model, method, and fields that are scoped for a given Linked - Account. - category_common_model_scopes: - type: >- - optional>>> - docs: >- - When creating a Link Token, you can set permissions for Common - Models that will apply to the account that is going to be - linked. Any model or field not specified in link token payload - will default to existing settings. - language: - type: optional - docs: >- - The following subset of IETF language tags can be used to - configure localization. - - - * `en` - en - - * `de` - de - are_syncs_disabled: - type: optional - docs: >- - The boolean that indicates whether initial, periodic, and force - syncs will be disabled. - default: false - integration_specific_config: - type: optional> - docs: >- - A JSON object containing integration-specific configuration - options. - completed_account_initial_screen: - type: optional - docs: >- - When creating a Link token, you can specifiy the initial screen - of Linking Flow for a completed Linked Account. - - - * `SELECTIVE_SYNC` - SELECTIVE_SYNC - content-type: application/json - response: - docs: '' - type: root.LinkToken - status-code: 200 - examples: - - headers: - X-Account-Token: '[object Object]' - request: - end_user_email_address: example@gmail.com - end_user_organization_name: Test Organization - end_user_origin_id: '12345' - categories: - - hris - - ats - response: - body: - link_token: necdP7FtdASl1fQwm62be2_dM4wBG8_GactqoUV0 - integration_name: Lever - magic_link_url: https://link.merge.dev/asdfjkl12345jsndfgi2i83n - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/knowledgebase/linkedAccounts.yml b/.mock/definition/knowledgebase/linkedAccounts.yml deleted file mode 100644 index 7263159f..00000000 --- a/.mock/definition/knowledgebase/linkedAccounts.yml +++ /dev/null @@ -1,170 +0,0 @@ -types: - LinkedAccountsListRequestCategory: - enum: - - accounting - - ats - - crm - - filestorage - - hris - - knowledgebase - - mktg - - ticketing - source: - openapi: openapi/openapi.yml -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /knowledgebase/v1/linked-accounts - method: GET - auth: - - tokenAuth: [] - docs: List linked accounts for your organization. - source: - openapi: openapi/openapi.yml - request: - name: LinkedAccountsListRequest - query-parameters: - category: - type: optional - docs: >- - Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, - `knowledgebase`, `mktg`, `ticketing` - - - * `hris` - hris - - * `ats` - ats - - * `accounting` - accounting - - * `ticketing` - ticketing - - * `crm` - crm - - * `mktg` - mktg - - * `filestorage` - filestorage - - * `knowledgebase` - knowledgebase - cursor: - type: optional - docs: The pagination cursor value. - end_user_email_address: - type: optional - docs: >- - If provided, will only return linked accounts associated with the - given email address. - end_user_organization_name: - type: optional - docs: >- - If provided, will only return linked accounts associated with the - given organization name. - end_user_origin_id: - type: optional - docs: >- - If provided, will only return linked accounts associated with the - given origin ID. - end_user_origin_ids: - type: optional - docs: >- - Comma-separated list of EndUser origin IDs, making it possible to - specify multiple EndUsers at once. - id: - type: optional - validation: - format: uuid - ids: - type: optional - docs: >- - Comma-separated list of LinkedAccount IDs, making it possible to - specify multiple LinkedAccounts at once. - include_duplicates: - type: optional - docs: >- - If `true`, will include complete production duplicates of the - account specified by the `id` query parameter in the response. - `id` must be for a complete production linked account. - integration_name: - type: optional - docs: >- - If provided, will only return linked accounts associated with the - given integration name. - is_test_account: - type: optional - docs: >- - If included, will only include test linked accounts. If not - included, will only include non-test linked accounts. - page_size: - type: optional - docs: Number of results to return per page. The maximum limit is 100. - status: - type: optional - docs: >- - Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, - `RELINK_NEEDED` - response: - docs: '' - type: root.PaginatedAccountDetailsAndActionsList - status-code: 200 - examples: - - query-parameters: - category: accounting - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - end_user_email_address: end_user_email_address - end_user_organization_name: end_user_organization_name - end_user_origin_id: end_user_origin_id - end_user_origin_ids: end_user_origin_ids - id: id - ids: ids - include_duplicates: true - integration_name: integration_name - is_test_account: is_test_account - page_size: 1 - status: status - headers: - X-Account-Token: '[object Object]' - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: e59b1821-f85c-4e28-a6b3-1804156f3563 - category: hris - status: COMPLETE - status_detail: Invalid login credentials - end_user_origin_id: 3ac95cde-6c7f-4eef-afec-be710b42308d - end_user_organization_name: Foo Bar, LLC - end_user_email_address: hradmin@foobar.dev - subdomain: foobar - webhook_listener_url: >- - https://api.merge.dev/api/integrations/webhook-listener/7fc3mee0UW8ecV4 - is_duplicate: true - integration: - name: name - categories: - - hris - color: color - slug: slug - passthrough_available: true - available_model_operations: - - model_name: Candidate - available_operations: - - FETCH - - CREATE - required_post_parameters: - - remote_user_id - supported_fields: - - first_name - - last_name - - company - - title - account_type: PRODUCTION - completed_at: '2024-08-26T20:11:19Z' - integration_specific_fields: - integration_specific_field: Varies by platform - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/knowledgebase/passthrough.yml b/.mock/definition/knowledgebase/passthrough.yml deleted file mode 100644 index 425d3461..00000000 --- a/.mock/definition/knowledgebase/passthrough.yml +++ /dev/null @@ -1,46 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - create: - path: /knowledgebase/v1/passthrough - method: POST - auth: - - tokenAuth: [] - docs: Pull data from an endpoint not currently supported by Merge. - source: - openapi: openapi/openapi.yml - request: - body: root.DataPassthroughRequest - content-type: application/json - response: - docs: '' - type: root.RemoteResponse - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - request: - method: GET - path: /scooters - response: - body: - method: GET - path: /scooters - status: 200 - response: - scooters: - - company: Lime - model: Gen 2.5 - - company: Bird - model: Bird Zero - response_headers: - X-Page-Token: value - response_type: JSON - headers: - EXTRA-HEADER: value - Authorization: - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/knowledgebase/regenerateKey.yml b/.mock/definition/knowledgebase/regenerateKey.yml deleted file mode 100644 index e76401ce..00000000 --- a/.mock/definition/knowledgebase/regenerateKey.yml +++ /dev/null @@ -1,39 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - create: - path: /knowledgebase/v1/regenerate-key - method: POST - auth: - - tokenAuth: [] - docs: Exchange remote keys. - source: - openapi: openapi/openapi.yml - request: - name: RemoteKeyForRegenerationRequest - body: - properties: - name: - type: string - docs: The name of the remote key - validation: - minLength: 1 - content-type: application/json - response: - docs: '' - type: root.RemoteKey - status-code: 200 - examples: - - headers: - X-Account-Token: '[object Object]' - request: - name: Remote Deployment Key 1 - response: - body: - name: Remote Deployment Key 1 - key: hXY57W0g0WkdRHjCaPvwijK63fwfN-o_Wh7f30SLTq_uPCOLo-WFcA - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/knowledgebase/scopes.yml b/.mock/definition/knowledgebase/scopes.yml deleted file mode 100644 index caa4fe5a..00000000 --- a/.mock/definition/knowledgebase/scopes.yml +++ /dev/null @@ -1,167 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - default_scopes_retrieve: - path: /knowledgebase/v1/default-scopes - method: GET - auth: - - tokenAuth: [] - docs: >- - Get the default permissions for Merge Common Models and fields across - all Linked Accounts of a given category. [Learn - more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: root.CommonModelScopeApi - status-code: 200 - examples: - - headers: - X-Account-Token: '[object Object]' - response: - body: - common_models: - - model_name: Employee - model_permissions: - READ: - is_enabled: true - WRITE: - is_enabled: false - field_permissions: - enabled_fields: - - avatar - - created_at - - custom_fields - - date_of_birth - - first_name - - gender - - remote_created_at - - remote_data - disabled_fields: - - company - - employments - - groups - - home_location - - manager - - work_location - linked_account_scopes_retrieve: - path: /knowledgebase/v1/linked-account-scopes - method: GET - auth: - - tokenAuth: [] - docs: >- - Get all available permissions for Merge Common Models and fields for a - single Linked Account. [Learn - more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: root.CommonModelScopeApi - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - common_models: - - model_name: Employee - model_permissions: - READ: - is_enabled: true - WRITE: - is_enabled: false - field_permissions: - enabled_fields: - - avatar - - created_at - - custom_fields - - date_of_birth - - first_name - - gender - - remote_created_at - - remote_data - disabled_fields: - - company - - employments - - groups - - home_location - - manager - - work_location - linked_account_scopes_create: - path: /knowledgebase/v1/linked-account-scopes - method: POST - auth: - - tokenAuth: [] - docs: >- - Update permissions for any Common Model or field for a single Linked - Account. Any Scopes not set in this POST request will inherit the - default Scopes. [Learn - more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes) - source: - openapi: openapi/openapi.yml - request: - name: LinkedAccountCommonModelScopeDeserializerRequest - body: - properties: - common_models: - docs: The common models you want to update the scopes for - type: list - content-type: application/json - response: - docs: '' - type: root.CommonModelScopeApi - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - request: - common_models: - - model_name: Employee - model_permissions: - READ: - is_enabled: true - WRITE: - is_enabled: false - field_permissions: - enabled_fields: - - avatar - - home_location - disabled_fields: - - work_location - - model_name: Benefit - model_permissions: - WRITE: - is_enabled: false - response: - body: - common_models: - - model_name: Employee - model_permissions: - READ: - is_enabled: true - WRITE: - is_enabled: false - field_permissions: - enabled_fields: - - avatar - - created_at - - custom_fields - - date_of_birth - - first_name - - gender - - remote_created_at - - remote_data - disabled_fields: - - company - - employments - - groups - - home_location - - manager - - work_location - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/knowledgebase/syncStatus.yml b/.mock/definition/knowledgebase/syncStatus.yml deleted file mode 100644 index 30b4d9ea..00000000 --- a/.mock/definition/knowledgebase/syncStatus.yml +++ /dev/null @@ -1,60 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /knowledgebase/v1/sync-status - method: GET - auth: - - tokenAuth: [] - docs: >- - Get sync status for the current sync and the most recently finished - sync. `last_sync_start` represents the most recent time any sync began. - `last_sync_finished` represents the most recent time any sync completed. - These timestamps may correspond to different sync instances which may - result in a sync start time being later than a separate sync completed - time. To ensure you are retrieving the latest available data reference - the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. - Possible values for `status` and `last_sync_result` are `DISABLED`, - `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more - about sync status in our [Help - Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). - source: - openapi: openapi/openapi.yml - request: - name: SyncStatusListRequest - query-parameters: - cursor: - type: optional - docs: The pagination cursor value. - page_size: - type: optional - docs: Number of results to return per page. The maximum limit is 100. - response: - docs: '' - type: root.PaginatedSyncStatusList - status-code: 200 - examples: - - query-parameters: - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - page_size: 1 - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - model_name: Article - model_id: knowledgebase.KnowledgeBaseArticle - last_sync_start: '2021-03-30T19:44:18Z' - next_sync_start: '2021-03-30T20:44:18Z' - last_sync_result: SYNCING - last_sync_finished: '2021-03-30T19:55:18Z' - status: SYNCING - is_initial_sync: true - selective_sync_configurations_usage: IN_NEXT_SYNC - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/knowledgebase/users.yml b/.mock/definition/knowledgebase/users.yml deleted file mode 100644 index f14d3acf..00000000 --- a/.mock/definition/knowledgebase/users.yml +++ /dev/null @@ -1,148 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /knowledgebase/v1/users - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `User` objects. - source: - openapi: openapi/openapi.yml - request: - name: UsersListRequest - query-parameters: - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - page_size: - type: optional - docs: Number of results to return per page. The maximum limit is 100. - remote_id: - type: optional - docs: The API provider's ID for the given object. - response: - docs: '' - type: root.PaginatedUserList - status-code: 200 - examples: - - query-parameters: - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - include_deleted_data: true - include_remote_data: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - page_size: 1 - remote_id: remote_id - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: 83902e75-4362-4803-b76c-a7d6be292cbd - remote_id: '2039349' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Gil Feig - email_address: hello@merge.dev - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - retrieve: - path: /knowledgebase/v1/users/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns a `User` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: UsersRetrieveRequest - query-parameters: - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - response: - docs: '' - type: root.User - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - include_remote_data: true - include_shell_data: true - headers: - X-Account-Token: X-Account-Token - response: - body: - id: 83902e75-4362-4803-b76c-a7d6be292cbd - remote_id: '2039349' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Gil Feig - email_address: hello@merge.dev - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/knowledgebase/webhookReceivers.yml b/.mock/definition/knowledgebase/webhookReceivers.yml deleted file mode 100644 index 8ead6f75..00000000 --- a/.mock/definition/knowledgebase/webhookReceivers.yml +++ /dev/null @@ -1,65 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /knowledgebase/v1/webhook-receivers - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `WebhookReceiver` objects. - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: list - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - - event: event - is_active: true - key: key - create: - path: /knowledgebase/v1/webhook-receivers - method: POST - auth: - - tokenAuth: [] - docs: Creates a `WebhookReceiver` object with the given values. - source: - openapi: openapi/openapi.yml - request: - name: WebhookReceiverRequest - body: - properties: - event: - type: string - validation: - minLength: 1 - is_active: boolean - key: - type: optional - validation: - minLength: 1 - content-type: application/json - response: - docs: '' - type: root.WebhookReceiver - status-code: 201 - examples: - - headers: - X-Account-Token: X-Account-Token - request: - event: event - is_active: true - response: - body: - event: event - is_active: true - key: key - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/ticketing/__package__.yml b/.mock/definition/ticketing/__package__.yml deleted file mode 100644 index e988754d..00000000 --- a/.mock/definition/ticketing/__package__.yml +++ /dev/null @@ -1,3447 +0,0 @@ -types: - Account: - docs: >- - # The Account Object - - ### Description - - The `Account` object is used to represent the account that a ticket is - associated with. - - - The account is a company that may be a customer. This does not represent - the company that is receiving the ticket. - - - ### Usage Example - - TODO - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - name: - type: optional - docs: The account's name. - domains: - type: optional>> - docs: The account's domain names. - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - AccountDetailsCategory: - discriminated: false - union: - - CategoryEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - AccountDetails: - properties: - id: - type: optional - validation: - format: uuid - access: read-only - integration: - type: optional - access: read-only - integration_slug: - type: optional - access: read-only - category: optional - end_user_origin_id: - type: optional - access: read-only - end_user_organization_name: - type: optional - access: read-only - end_user_email_address: - type: optional - validation: - format: email - access: read-only - status: - type: optional - access: read-only - webhook_listener_url: - type: optional - validation: - format: uri - access: read-only - is_duplicate: - type: optional - docs: >- - Whether a Production Linked Account's credentials match another - existing Production Linked Account. This field is `null` for Test - Linked Accounts, incomplete Production Linked Accounts, and ignored - duplicate Production Linked Account sets. - access: read-only - account_type: - type: optional - access: read-only - completed_at: - type: optional - docs: The time at which account completes the linking flow. - source: - openapi: openapi/openapi.yml - AccountDetailsAndActionsCategory: - discriminated: false - union: - - CategoryEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - AccountDetailsAndActionsStatus: - discriminated: false - union: - - AccountDetailsAndActionsStatusEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - AccountDetailsAndActions: - docs: >- - # The LinkedAccount Object - - ### Description - - The `LinkedAccount` object is used to represent an end user's link with a - specific integration. - - - ### Usage Example - - View a list of your organization's `LinkedAccount` objects. - properties: - id: string - category: optional - status: AccountDetailsAndActionsStatus - status_detail: optional - end_user_origin_id: optional - end_user_organization_name: string - end_user_email_address: string - subdomain: - type: optional - docs: The tenant or domain the customer has provided access to. - webhook_listener_url: string - is_duplicate: - type: optional - docs: >- - Whether a Production Linked Account's credentials match another - existing Production Linked Account. This field is `null` for Test - Linked Accounts, incomplete Production Linked Accounts, and ignored - duplicate Production Linked Account sets. - integration: optional - account_type: string - completed_at: datetime - integration_specific_fields: optional> - source: - openapi: openapi/openapi.yml - AccountDetailsAndActionsIntegration: - properties: - name: string - categories: list - image: optional - square_image: optional - color: string - slug: string - passthrough_available: boolean - available_model_operations: optional> - source: - openapi: openapi/openapi.yml - AccountDetailsAndActionsStatusEnum: - enum: - - COMPLETE - - INCOMPLETE - - RELINK_NEEDED - - IDLE - docs: |- - * `COMPLETE` - COMPLETE - * `INCOMPLETE` - INCOMPLETE - * `RELINK_NEEDED` - RELINK_NEEDED - * `IDLE` - IDLE - source: - openapi: openapi/openapi.yml - AccountIntegration: - properties: - name: - type: string - docs: Company name. - abbreviated_name: - type: optional - docs: >- - Optional. This shortened name appears in places with limited space, - usually in conjunction with the platform's logo (e.g., Merge Link - menu).

Example: Workforce Now (in lieu of ADP Workforce - Now), SuccessFactors (in lieu of SAP SuccessFactors) - categories: - type: optional> - docs: >- - Category or categories this integration belongs to. Multiple - categories should be comma separated, i.e. [ats, hris]. - access: read-only - image: - type: optional - docs: Company logo in rectangular shape. - validation: - format: uri - square_image: - type: optional - docs: Company logo in square shape. - validation: - format: uri - color: - type: optional - docs: >- - The color of this integration used for buttons and text throughout the - app and landing pages. Choose a darker, saturated color. - validation: - pattern: ^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$ - maxLength: 18 - slug: - type: optional - access: read-only - api_endpoints_to_documentation_urls: - type: optional> - docs: >- - Mapping of API endpoints to documentation urls for support. Example: - {'GET': [['/common-model-scopes', - 'https://docs.merge.dev/accounting/common-model-scopes/#common_model_scopes_retrieve'],['/common-model-actions', - 'https://docs.merge.dev/accounting/common-model-actions/#common_model_actions_retrieve']], - 'POST': []} - webhook_setup_guide_url: - type: optional - docs: >- - Setup guide URL for third party webhook creation. Exposed in Merge - Docs. - category_beta_status: - type: optional> - docs: Category or categories this integration is in beta status for. - access: read-only - source: - openapi: openapi/openapi.yml - AccountToken: - properties: - account_token: string - integration: AccountIntegration - id: string - source: - openapi: openapi/openapi.yml - AdvancedMetadata: - properties: - id: - type: string - validation: - format: uuid - display_name: optional - description: optional - is_required: optional - is_custom: optional - field_choices: optional> - source: - openapi: openapi/openapi.yml - AsyncPassthroughReciept: - properties: - async_passthrough_receipt_id: - type: string - validation: - format: uuid - source: - openapi: openapi/openapi.yml - AttachmentTicket: - discriminated: false - docs: The ticket associated with the attachment. - union: - - type: string - validation: - format: uuid - - Ticket - source: - openapi: openapi/openapi.yml - inline: true - Attachment: - docs: |- - # The Attachment Object - ### Description - The `Attachment` object is used to represent an attachment for a ticket. - - ### Usage Example - TODO - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - file_name: - type: optional - docs: >- - The attachment's name. It is required to include the file extension in - the attachment's name. - ticket: - type: optional - docs: The ticket associated with the attachment. - file_url: - type: optional - docs: >- - The attachment's url. It is required to include the file extension in - the file's URL. - content_type: - type: optional - docs: The attachment's file format. - uploaded_by: - type: optional - docs: The user who uploaded the attachment. - validation: - format: uuid - remote_created_at: - type: optional - docs: When the third party's attachment was created. - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - AttachmentRequestTicket: - discriminated: false - docs: The ticket associated with the attachment. - union: - - type: string - validation: - format: uuid - - Ticket - source: - openapi: openapi/openapi.yml - inline: true - AttachmentRequest: - docs: |- - # The Attachment Object - ### Description - The `Attachment` object is used to represent an attachment for a ticket. - - ### Usage Example - TODO - properties: - file_name: - type: optional - docs: >- - The attachment's name. It is required to include the file extension in - the attachment's name. - ticket: - type: optional - docs: The ticket associated with the attachment. - file_url: - type: optional - docs: >- - The attachment's url. It is required to include the file extension in - the file's URL. - content_type: - type: optional - docs: The attachment's file format. - uploaded_by: - type: optional - docs: The user who uploaded the attachment. - validation: - format: uuid - integration_params: - type: optional> - access: write-only - linked_account_params: - type: optional> - access: write-only - source: - openapi: openapi/openapi.yml - AuditLogEventRole: - discriminated: false - docs: >- - Designates the role of the user (or SYSTEM/API if action not taken by a - user) at the time of this Event occurring. - - - * `ADMIN` - ADMIN - - * `DEVELOPER` - DEVELOPER - - * `MEMBER` - MEMBER - - * `API` - API - - * `SYSTEM` - SYSTEM - - * `MERGE_TEAM` - MERGE_TEAM - union: - - RoleEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - AuditLogEventEventType: - discriminated: false - docs: >- - Designates the type of event that occurred. - - - * `CREATED_REMOTE_PRODUCTION_API_KEY` - CREATED_REMOTE_PRODUCTION_API_KEY - - * `DELETED_REMOTE_PRODUCTION_API_KEY` - DELETED_REMOTE_PRODUCTION_API_KEY - - * `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY - - * `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY - - * `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY - - * `REGENERATED_WEBHOOK_SIGNATURE` - REGENERATED_WEBHOOK_SIGNATURE - - * `INVITED_USER` - INVITED_USER - - * `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED - - * `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED - - * `DELETED_LINKED_ACCOUNT` - DELETED_LINKED_ACCOUNT - - * `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT` - - DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT - - * `CREATED_DESTINATION` - CREATED_DESTINATION - - * `DELETED_DESTINATION` - DELETED_DESTINATION - - * `CHANGED_DESTINATION` - CHANGED_DESTINATION - - * `CHANGED_SCOPES` - CHANGED_SCOPES - - * `CHANGED_PERSONAL_INFORMATION` - CHANGED_PERSONAL_INFORMATION - - * `CHANGED_ORGANIZATION_SETTINGS` - CHANGED_ORGANIZATION_SETTINGS - - * `ENABLED_INTEGRATION` - ENABLED_INTEGRATION - - * `DISABLED_INTEGRATION` - DISABLED_INTEGRATION - - * `ENABLED_CATEGORY` - ENABLED_CATEGORY - - * `DISABLED_CATEGORY` - DISABLED_CATEGORY - - * `CHANGED_PASSWORD` - CHANGED_PASSWORD - - * `RESET_PASSWORD` - RESET_PASSWORD - - * `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - - * `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - - * `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - - * `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - - * `CREATED_INTEGRATION_WIDE_FIELD_MAPPING` - - CREATED_INTEGRATION_WIDE_FIELD_MAPPING - - * `CREATED_LINKED_ACCOUNT_FIELD_MAPPING` - - CREATED_LINKED_ACCOUNT_FIELD_MAPPING - - * `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING` - - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING - - * `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING - - * `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - - DELETED_INTEGRATION_WIDE_FIELD_MAPPING - - * `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - - DELETED_LINKED_ACCOUNT_FIELD_MAPPING - - * `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - - CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - * `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - - CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - * `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - - DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - * `FORCED_LINKED_ACCOUNT_RESYNC` - FORCED_LINKED_ACCOUNT_RESYNC - - * `MUTED_ISSUE` - MUTED_ISSUE - - * `GENERATED_MAGIC_LINK` - GENERATED_MAGIC_LINK - - * `ENABLED_MERGE_WEBHOOK` - ENABLED_MERGE_WEBHOOK - - * `DISABLED_MERGE_WEBHOOK` - DISABLED_MERGE_WEBHOOK - - * `MERGE_WEBHOOK_TARGET_CHANGED` - MERGE_WEBHOOK_TARGET_CHANGED - - * `END_USER_CREDENTIALS_ACCESSED` - END_USER_CREDENTIALS_ACCESSED - union: - - EventTypeEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - AuditLogEvent: - properties: - id: - type: optional - validation: - format: uuid - access: read-only - user_name: - type: optional - docs: The User's full name at the time of this Event occurring. - validation: - maxLength: 200 - user_email: - type: optional - docs: The User's email at the time of this Event occurring. - validation: - format: email - maxLength: 254 - role: - type: AuditLogEventRole - docs: >- - Designates the role of the user (or SYSTEM/API if action not taken by - a user) at the time of this Event occurring. - - - * `ADMIN` - ADMIN - - * `DEVELOPER` - DEVELOPER - - * `MEMBER` - MEMBER - - * `API` - API - - * `SYSTEM` - SYSTEM - - * `MERGE_TEAM` - MERGE_TEAM - ip_address: - type: string - validation: - maxLength: 45 - event_type: - type: AuditLogEventEventType - docs: >- - Designates the type of event that occurred. - - - * `CREATED_REMOTE_PRODUCTION_API_KEY` - - CREATED_REMOTE_PRODUCTION_API_KEY - - * `DELETED_REMOTE_PRODUCTION_API_KEY` - - DELETED_REMOTE_PRODUCTION_API_KEY - - * `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY - - * `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY - - * `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY - - * `REGENERATED_WEBHOOK_SIGNATURE` - REGENERATED_WEBHOOK_SIGNATURE - - * `INVITED_USER` - INVITED_USER - - * `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED - - * `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED - - * `DELETED_LINKED_ACCOUNT` - DELETED_LINKED_ACCOUNT - - * `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT` - - DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT - - * `CREATED_DESTINATION` - CREATED_DESTINATION - - * `DELETED_DESTINATION` - DELETED_DESTINATION - - * `CHANGED_DESTINATION` - CHANGED_DESTINATION - - * `CHANGED_SCOPES` - CHANGED_SCOPES - - * `CHANGED_PERSONAL_INFORMATION` - CHANGED_PERSONAL_INFORMATION - - * `CHANGED_ORGANIZATION_SETTINGS` - CHANGED_ORGANIZATION_SETTINGS - - * `ENABLED_INTEGRATION` - ENABLED_INTEGRATION - - * `DISABLED_INTEGRATION` - DISABLED_INTEGRATION - - * `ENABLED_CATEGORY` - ENABLED_CATEGORY - - * `DISABLED_CATEGORY` - DISABLED_CATEGORY - - * `CHANGED_PASSWORD` - CHANGED_PASSWORD - - * `RESET_PASSWORD` - RESET_PASSWORD - - * `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - - * `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - - * `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - - * `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - - * `CREATED_INTEGRATION_WIDE_FIELD_MAPPING` - - CREATED_INTEGRATION_WIDE_FIELD_MAPPING - - * `CREATED_LINKED_ACCOUNT_FIELD_MAPPING` - - CREATED_LINKED_ACCOUNT_FIELD_MAPPING - - * `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING` - - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING - - * `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING - - * `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - - DELETED_INTEGRATION_WIDE_FIELD_MAPPING - - * `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - - DELETED_LINKED_ACCOUNT_FIELD_MAPPING - - * `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - - CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - * `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - - CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - * `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - - DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - * `FORCED_LINKED_ACCOUNT_RESYNC` - FORCED_LINKED_ACCOUNT_RESYNC - - * `MUTED_ISSUE` - MUTED_ISSUE - - * `GENERATED_MAGIC_LINK` - GENERATED_MAGIC_LINK - - * `ENABLED_MERGE_WEBHOOK` - ENABLED_MERGE_WEBHOOK - - * `DISABLED_MERGE_WEBHOOK` - DISABLED_MERGE_WEBHOOK - - * `MERGE_WEBHOOK_TARGET_CHANGED` - MERGE_WEBHOOK_TARGET_CHANGED - - * `END_USER_CREDENTIALS_ACCESSED` - END_USER_CREDENTIALS_ACCESSED - event_description: string - created_at: - type: optional - access: read-only - source: - openapi: openapi/openapi.yml - AvailableActions: - docs: >- - # The AvailableActions Object - - ### Description - - The `Activity` object is used to see all available model/operation - combinations for an integration. - - - ### Usage Example - - Fetch all the actions available for the `Zenefits` integration. - properties: - integration: AccountIntegration - passthrough_available: boolean - available_model_operations: optional> - source: - openapi: openapi/openapi.yml - CategoriesEnum: - enum: - - hris - - ats - - accounting - - ticketing - - crm - - mktg - - filestorage - - knowledgebase - docs: |- - * `hris` - hris - * `ats` - ats - * `accounting` - accounting - * `ticketing` - ticketing - * `crm` - crm - * `mktg` - mktg - * `filestorage` - filestorage - * `knowledgebase` - knowledgebase - source: - openapi: openapi/openapi.yml - CategoryEnum: - enum: - - hris - - ats - - accounting - - ticketing - - crm - - mktg - - filestorage - - knowledgebase - docs: |- - * `hris` - hris - * `ats` - ats - * `accounting` - accounting - * `ticketing` - ticketing - * `crm` - crm - * `mktg` - mktg - * `filestorage` - filestorage - * `knowledgebase` - knowledgebase - source: - openapi: openapi/openapi.yml - CollectionAccessLevel: - discriminated: false - docs: |- - The level of access a User has to the Collection and its sub-objects. - - * `PRIVATE` - PRIVATE - * `COMPANY` - COMPANY - * `PUBLIC` - PUBLIC - * `PARENT_COLLECTION` - PARENT_COLLECTION - union: - - CollectionAccessLevelEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - CollectionCollectionType: - discriminated: false - docs: |- - The collection's type. - - * `LIST` - LIST - * `PROJECT` - PROJECT - union: - - CollectionTypeEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - CollectionParentCollection: - discriminated: false - docs: The parent collection for this collection. - union: - - type: string - validation: - format: uuid - - Collection - source: - openapi: openapi/openapi.yml - inline: true - Collection: - docs: >- - # The Collection Object - - ### Description - - The `Collection` object is used to represent one or more `Tickets`. There - can be a hierarchy of `Collections`, in which a sub-collection belongs to - a parent-collection. - - - ### Usage Example - - TODO - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - name: - type: optional - docs: The collection's name. - description: - type: optional - docs: The collection's description. - access_level: - type: optional - docs: |- - The level of access a User has to the Collection and its sub-objects. - - * `PRIVATE` - PRIVATE - * `COMPANY` - COMPANY - * `PUBLIC` - PUBLIC - * `PARENT_COLLECTION` - PARENT_COLLECTION - collection_type: - type: optional - docs: |- - The collection's type. - - * `LIST` - LIST - * `PROJECT` - PROJECT - parent_collection: - type: optional - docs: The parent collection for this collection. - collection_url: - type: optional - docs: The 3rd party url of the Collection. - validation: - format: uri - maxLength: 2000 - remote_created_at: - type: optional - docs: When the third party's collection was created. - remote_updated_at: - type: optional - docs: When the third party's collection was updated. - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - CollectionAccessLevelEnum: - enum: - - PRIVATE - - COMPANY - - PUBLIC - - PARENT_COLLECTION - docs: |- - * `PRIVATE` - PRIVATE - * `COMPANY` - COMPANY - * `PUBLIC` - PUBLIC - * `PARENT_COLLECTION` - PARENT_COLLECTION - source: - openapi: openapi/openapi.yml - CollectionTypeEnum: - enum: - - LIST - - PROJECT - docs: |- - * `LIST` - LIST - * `PROJECT` - PROJECT - source: - openapi: openapi/openapi.yml - CommentUser: - discriminated: false - docs: >- - The author of the Comment, if the author is a User. If the third party - does not support specifying an author, we will append "[Posted on behalf - of {name}]" to the comment. - union: - - type: string - validation: - format: uuid - - User - source: - openapi: openapi/openapi.yml - inline: true - CommentContact: - discriminated: false - docs: >- - The author of the Comment, if the author is a Contact.If the third party - does not support specifying an author, we will append "[Posted on behalf - of {name}]" to the comment. - union: - - type: string - validation: - format: uuid - - Contact - source: - openapi: openapi/openapi.yml - inline: true - CommentTicket: - discriminated: false - docs: 'The ticket associated with the comment. ' - union: - - type: string - validation: - format: uuid - - Ticket - source: - openapi: openapi/openapi.yml - inline: true - Comment: - docs: |- - # The Comment Object - ### Description - The `Comment` object is used to represent a comment on a ticket. - - ### Usage Example - TODO - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - user: - type: optional - docs: >- - The author of the Comment, if the author is a User. If the third party - does not support specifying an author, we will append "[Posted on - behalf of {name}]" to the comment. - contact: - type: optional - docs: >- - The author of the Comment, if the author is a Contact.If the third - party does not support specifying an author, we will append "[Posted - on behalf of {name}]" to the comment. - body: - type: optional - docs: The comment's text body. - html_body: - type: optional - docs: The comment's text body formatted as html. - ticket: - type: optional - docs: 'The ticket associated with the comment. ' - is_private: - type: optional - docs: Whether or not the comment is internal. - remote_created_at: - type: optional - docs: When the third party's comment was created. - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - CommentRequestUser: - discriminated: false - docs: >- - The author of the Comment, if the author is a User. If the third party - does not support specifying an author, we will append "[Posted on behalf - of {name}]" to the comment. - union: - - type: string - validation: - format: uuid - - User - source: - openapi: openapi/openapi.yml - inline: true - CommentRequestContact: - discriminated: false - docs: >- - The author of the Comment, if the author is a Contact.If the third party - does not support specifying an author, we will append "[Posted on behalf - of {name}]" to the comment. - union: - - type: string - validation: - format: uuid - - Contact - source: - openapi: openapi/openapi.yml - inline: true - CommentRequestTicket: - discriminated: false - docs: 'The ticket associated with the comment. ' - union: - - type: string - validation: - format: uuid - - Ticket - source: - openapi: openapi/openapi.yml - inline: true - CommentRequest: - docs: |- - # The Comment Object - ### Description - The `Comment` object is used to represent a comment on a ticket. - - ### Usage Example - TODO - properties: - user: - type: optional - docs: >- - The author of the Comment, if the author is a User. If the third party - does not support specifying an author, we will append "[Posted on - behalf of {name}]" to the comment. - contact: - type: optional - docs: >- - The author of the Comment, if the author is a Contact.If the third - party does not support specifying an author, we will append "[Posted - on behalf of {name}]" to the comment. - body: - type: optional - docs: The comment's text body. - html_body: - type: optional - docs: The comment's text body formatted as html. - ticket: - type: optional - docs: 'The ticket associated with the comment. ' - is_private: - type: optional - docs: Whether or not the comment is internal. - integration_params: - type: optional> - access: write-only - linked_account_params: - type: optional> - access: write-only - source: - openapi: openapi/openapi.yml - CommentResponse: - properties: - model: Comment - warnings: list - errors: list - logs: optional> - source: - openapi: openapi/openapi.yml - CommonModelScopeApi: - properties: - common_models: - docs: The common models you want to update the scopes for - type: list - source: - openapi: openapi/openapi.yml - CommonModelScopesBodyRequest: - properties: - model_id: - type: string - validation: - minLength: 1 - enabled_actions: list - disabled_fields: list - source: - openapi: openapi/openapi.yml - CompletedAccountInitialScreenEnum: - type: literal<"SELECTIVE_SYNC"> - docs: '* `SELECTIVE_SYNC` - SELECTIVE_SYNC' - ContactAccount: - discriminated: false - docs: The contact's account. - union: - - type: string - validation: - format: uuid - - Account - source: - openapi: openapi/openapi.yml - inline: true - Contact: - docs: >- - # The Contact Object - - ### Description - - The `Contact` object is used to represent the customer, lead, or external - user that a ticket is associated with. - - - ### Usage Example - - TODO - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - name: - type: optional - docs: The contact's name. - email_address: - type: optional - docs: The contact's email address. - phone_number: - type: optional - docs: The contact's phone number. - details: - type: optional - docs: The contact's details. - account: - type: optional - docs: The contact's account. - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - ContactRequestAccount: - discriminated: false - docs: The contact's account. - union: - - type: string - validation: - format: uuid - - Account - source: - openapi: openapi/openapi.yml - inline: true - ContactRequest: - docs: >- - # The Contact Object - - ### Description - - The `Contact` object is used to represent the customer, lead, or external - user that a ticket is associated with. - - - ### Usage Example - - TODO - properties: - name: - type: optional - docs: The contact's name. - email_address: - type: optional - docs: The contact's email address. - phone_number: - type: optional - docs: The contact's phone number. - details: - type: optional - docs: The contact's details. - account: - type: optional - docs: The contact's account. - integration_params: - type: optional> - access: write-only - linked_account_params: - type: optional> - access: write-only - source: - openapi: openapi/openapi.yml - DataPassthroughRequest: - docs: >- - # The DataPassthrough Object - - ### Description - - The `DataPassthrough` object is used to send information to an - otherwise-unsupported third-party endpoint. - - - ### Usage Example - - Create a `DataPassthrough` to get team hierarchies from your Rippling - integration. - properties: - method: MethodEnum - path: - type: string - docs: The path of the request in the third party's platform. - validation: - minLength: 1 - base_url_override: - type: optional - docs: An optional override of the third party's base url for the request. - validation: - minLength: 1 - data: - type: optional - docs: >- - The data with the request. You must include a `request_format` - parameter matching the data's format - validation: - minLength: 1 - multipart_form_data: - type: optional> - docs: >- - Pass an array of `MultipartFormField` objects in here instead of using - the `data` param if `request_format` is set to `MULTIPART`. - headers: - type: optional> - docs: >- - The headers to use for the request (Merge will handle the account's - authorization headers). `Content-Type` header is required for - passthrough. Choose content type corresponding to expected format of - receiving server. - request_format: optional - normalize_response: - type: optional - docs: >- - Optional. If true, the response will always be an object of the form - `{"type": T, "value": ...}` where `T` will be one of `string, boolean, - number, null, array, object`. - source: - openapi: openapi/openapi.yml - DebugModeLog: - properties: - log_id: string - dashboard_view: string - log_summary: DebugModelLogSummary - source: - openapi: openapi/openapi.yml - DebugModelLogSummary: - properties: - url: string - method: string - status_code: integer - source: - openapi: openapi/openapi.yml - EnabledActionsEnum: - enum: - - READ - - WRITE - docs: |- - * `READ` - READ - * `WRITE` - WRITE - source: - openapi: openapi/openapi.yml - EncodingEnum: - enum: - - RAW - - BASE64 - - GZIP_BASE64 - docs: |- - * `RAW` - RAW - * `BASE64` - BASE64 - * `GZIP_BASE64` - GZIP_BASE64 - source: - openapi: openapi/openapi.yml - ErrorValidationProblem: - properties: - source: optional - title: string - detail: string - problem_type: string - source: - openapi: openapi/openapi.yml - EventTypeEnum: - enum: - - CREATED_REMOTE_PRODUCTION_API_KEY - - DELETED_REMOTE_PRODUCTION_API_KEY - - CREATED_TEST_API_KEY - - DELETED_TEST_API_KEY - - REGENERATED_PRODUCTION_API_KEY - - REGENERATED_WEBHOOK_SIGNATURE - - INVITED_USER - - TWO_FACTOR_AUTH_ENABLED - - TWO_FACTOR_AUTH_DISABLED - - DELETED_LINKED_ACCOUNT - - DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT - - CREATED_DESTINATION - - DELETED_DESTINATION - - CHANGED_DESTINATION - - CHANGED_SCOPES - - CHANGED_PERSONAL_INFORMATION - - CHANGED_ORGANIZATION_SETTINGS - - ENABLED_INTEGRATION - - DISABLED_INTEGRATION - - ENABLED_CATEGORY - - DISABLED_CATEGORY - - CHANGED_PASSWORD - - RESET_PASSWORD - - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - - CREATED_INTEGRATION_WIDE_FIELD_MAPPING - - CREATED_LINKED_ACCOUNT_FIELD_MAPPING - - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING - - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING - - DELETED_INTEGRATION_WIDE_FIELD_MAPPING - - DELETED_LINKED_ACCOUNT_FIELD_MAPPING - - CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - FORCED_LINKED_ACCOUNT_RESYNC - - MUTED_ISSUE - - GENERATED_MAGIC_LINK - - ENABLED_MERGE_WEBHOOK - - DISABLED_MERGE_WEBHOOK - - MERGE_WEBHOOK_TARGET_CHANGED - - END_USER_CREDENTIALS_ACCESSED - docs: >- - * `CREATED_REMOTE_PRODUCTION_API_KEY` - CREATED_REMOTE_PRODUCTION_API_KEY - - * `DELETED_REMOTE_PRODUCTION_API_KEY` - DELETED_REMOTE_PRODUCTION_API_KEY - - * `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY - - * `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY - - * `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY - - * `REGENERATED_WEBHOOK_SIGNATURE` - REGENERATED_WEBHOOK_SIGNATURE - - * `INVITED_USER` - INVITED_USER - - * `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED - - * `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED - - * `DELETED_LINKED_ACCOUNT` - DELETED_LINKED_ACCOUNT - - * `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT` - - DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT - - * `CREATED_DESTINATION` - CREATED_DESTINATION - - * `DELETED_DESTINATION` - DELETED_DESTINATION - - * `CHANGED_DESTINATION` - CHANGED_DESTINATION - - * `CHANGED_SCOPES` - CHANGED_SCOPES - - * `CHANGED_PERSONAL_INFORMATION` - CHANGED_PERSONAL_INFORMATION - - * `CHANGED_ORGANIZATION_SETTINGS` - CHANGED_ORGANIZATION_SETTINGS - - * `ENABLED_INTEGRATION` - ENABLED_INTEGRATION - - * `DISABLED_INTEGRATION` - DISABLED_INTEGRATION - - * `ENABLED_CATEGORY` - ENABLED_CATEGORY - - * `DISABLED_CATEGORY` - DISABLED_CATEGORY - - * `CHANGED_PASSWORD` - CHANGED_PASSWORD - - * `RESET_PASSWORD` - RESET_PASSWORD - - * `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - - * `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - - * `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - - * `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - - * `CREATED_INTEGRATION_WIDE_FIELD_MAPPING` - - CREATED_INTEGRATION_WIDE_FIELD_MAPPING - - * `CREATED_LINKED_ACCOUNT_FIELD_MAPPING` - - CREATED_LINKED_ACCOUNT_FIELD_MAPPING - - * `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING` - - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING - - * `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING - - * `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - - DELETED_INTEGRATION_WIDE_FIELD_MAPPING - - * `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - - DELETED_LINKED_ACCOUNT_FIELD_MAPPING - - * `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - - CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - * `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - - CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - * `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - - DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - - * `FORCED_LINKED_ACCOUNT_RESYNC` - FORCED_LINKED_ACCOUNT_RESYNC - - * `MUTED_ISSUE` - MUTED_ISSUE - - * `GENERATED_MAGIC_LINK` - GENERATED_MAGIC_LINK - - * `ENABLED_MERGE_WEBHOOK` - ENABLED_MERGE_WEBHOOK - - * `DISABLED_MERGE_WEBHOOK` - DISABLED_MERGE_WEBHOOK - - * `MERGE_WEBHOOK_TARGET_CHANGED` - MERGE_WEBHOOK_TARGET_CHANGED - - * `END_USER_CREDENTIALS_ACCESSED` - END_USER_CREDENTIALS_ACCESSED - source: - openapi: openapi/openapi.yml - ExternalTargetFieldApi: - properties: - name: - type: optional - access: read-only - description: - type: optional - access: read-only - is_mapped: - type: optional - access: read-only - source: - openapi: openapi/openapi.yml - ExternalTargetFieldApiResponse: - properties: - Ticket: optional> - Comment: optional> - Project: optional> - Collection: optional> - User: optional> - Role: optional> - Account: optional> - Team: optional> - Attachment: optional> - Tag: optional> - Contact: optional> - source: - openapi: openapi/openapi.yml - FieldFormatEnum: - enum: - - string - - number - - date - - datetime - - bool - - list - docs: |- - * `string` - string - * `number` - number - * `date` - date - * `datetime` - datetime - * `bool` - bool - * `list` - list - source: - openapi: openapi/openapi.yml - FieldMappingApiInstanceTargetField: - properties: - name: string - description: string - is_organization_wide: boolean - source: - openapi: openapi/openapi.yml - inline: true - FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo: - properties: - method: optional - url_path: optional - field_traversal_path: optional> - source: - openapi: openapi/openapi.yml - inline: true - FieldMappingApiInstanceRemoteField: - properties: - remote_key_name: optional - schema: optional> - remote_endpoint_info: FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo - source: - openapi: openapi/openapi.yml - inline: true - FieldMappingApiInstance: - properties: - id: - type: optional - validation: - format: uuid - access: read-only - is_integration_wide: - type: optional - access: read-only - target_field: - type: optional - access: read-only - remote_field: - type: optional - access: read-only - jmes_path: - type: optional - access: read-only - source: - openapi: openapi/openapi.yml - FieldMappingApiInstanceResponse: - properties: - Ticket: optional> - Comment: optional> - Project: optional> - Collection: optional> - User: optional> - Role: optional> - Account: optional> - Team: optional> - Attachment: optional> - Tag: optional> - Contact: optional> - source: - openapi: openapi/openapi.yml - FieldMappingInstanceResponse: - properties: - model: FieldMappingApiInstance - warnings: list - errors: list - logs: optional> - source: - openapi: openapi/openapi.yml - FieldPermissionDeserializer: - properties: - enabled_fields: optional> - disabled_fields: optional> - source: - openapi: openapi/openapi.yml - FieldPermissionDeserializerRequest: - properties: - enabled_fields: optional> - disabled_fields: optional> - source: - openapi: openapi/openapi.yml - FieldTypeEnum: - enum: - - string - - number - - date - - datetime - - bool - - list - docs: |- - * `string` - string - * `number` - number - * `date` - date - * `datetime` - datetime - * `bool` - bool - * `list` - list - source: - openapi: openapi/openapi.yml - IndividualCommonModelScopeDeserializer: - properties: - model_name: string - model_permissions: optional> - field_permissions: optional - source: - openapi: openapi/openapi.yml - IndividualCommonModelScopeDeserializerRequest: - properties: - model_name: - type: string - validation: - minLength: 1 - model_permissions: optional> - field_permissions: optional - source: - openapi: openapi/openapi.yml - IssueStatus: - discriminated: false - docs: |- - Status of the issue. Options: ('ONGOING', 'RESOLVED') - - * `ONGOING` - ONGOING - * `RESOLVED` - RESOLVED - union: - - IssueStatusEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - Issue: - properties: - id: - type: optional - validation: - format: uuid - access: read-only - status: - type: optional - docs: |- - Status of the issue. Options: ('ONGOING', 'RESOLVED') - - * `ONGOING` - ONGOING - * `RESOLVED` - RESOLVED - error_description: string - end_user: - type: optional> - access: read-only - first_incident_time: optional - last_incident_time: optional - is_muted: - type: optional - access: read-only - error_details: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - IssueStatusEnum: - enum: - - ONGOING - - RESOLVED - docs: |- - * `ONGOING` - ONGOING - * `RESOLVED` - RESOLVED - source: - openapi: openapi/openapi.yml - ItemFormatEnum: - enum: - - string - - number - - date - - datetime - - bool - - list - docs: |- - * `string` - uuid - * `number` - url - * `date` - email - * `datetime` - phone - * `bool` - currency - * `list` - decimal - source: - openapi: openapi/openapi.yml - ItemSchema: - properties: - item_type: optional - item_format: optional - item_choices: optional> - source: - openapi: openapi/openapi.yml - ItemTypeEnum: - enum: - - string - - number - - date - - datetime - - bool - - list - docs: |- - * `string` - string - * `number` - number - * `date` - date - * `datetime` - datetime - * `bool` - bool - * `list` - list - source: - openapi: openapi/openapi.yml - LanguageEnum: - enum: - - en - - de - docs: |- - * `en` - en - * `de` - de - source: - openapi: openapi/openapi.yml - LastSyncResultEnum: - enum: - - SYNCING - - DONE - - FAILED - - DISABLED - - PAUSED - - PARTIALLY_SYNCED - docs: |- - * `SYNCING` - SYNCING - * `DONE` - DONE - * `FAILED` - FAILED - * `DISABLED` - DISABLED - * `PAUSED` - PAUSED - * `PARTIALLY_SYNCED` - PARTIALLY_SYNCED - source: - openapi: openapi/openapi.yml - LinkToken: - properties: - link_token: string - integration_name: optional - magic_link_url: optional - source: - openapi: openapi/openapi.yml - LinkedAccountStatus: - properties: - linked_account_status: string - can_make_request: boolean - source: - openapi: openapi/openapi.yml - MetaResponse: - properties: - request_schema: map - remote_field_classes: optional> - status: optional - has_conditional_params: boolean - has_required_linked_account_params: boolean - source: - openapi: openapi/openapi.yml - MethodEnum: - enum: - - GET - - OPTIONS - - HEAD - - POST - - PUT - - PATCH - - DELETE - docs: |- - * `GET` - GET - * `OPTIONS` - OPTIONS - * `HEAD` - HEAD - * `POST` - POST - * `PUT` - PUT - * `PATCH` - PATCH - * `DELETE` - DELETE - source: - openapi: openapi/openapi.yml - ModelOperation: - docs: >- - # The ModelOperation Object - - ### Description - - The `ModelOperation` object is used to represent the operations that are - currently supported for a given model. - - - ### Usage Example - - View what operations are supported for the `Candidate` endpoint. - properties: - model_name: string - available_operations: list - required_post_parameters: list - supported_fields: list - source: - openapi: openapi/openapi.yml - ModelPermissionDeserializer: - properties: - is_enabled: optional - source: - openapi: openapi/openapi.yml - ModelPermissionDeserializerRequest: - properties: - is_enabled: optional - source: - openapi: openapi/openapi.yml - MultipartFormFieldRequestEncoding: - discriminated: false - docs: |- - The encoding of the value of `data`. Defaults to `RAW` if not defined. - - * `RAW` - RAW - * `BASE64` - BASE64 - * `GZIP_BASE64` - GZIP_BASE64 - union: - - EncodingEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - MultipartFormFieldRequest: - docs: >- - # The MultipartFormField Object - - ### Description - - The `MultipartFormField` object is used to represent fields in an HTTP - request using `multipart/form-data`. - - - ### Usage Example - - Create a `MultipartFormField` to define a multipart form entry. - properties: - name: - type: string - docs: The name of the form field - validation: - minLength: 1 - data: - type: string - docs: The data for the form field. - validation: - minLength: 1 - encoding: - type: optional - docs: |- - The encoding of the value of `data`. Defaults to `RAW` if not defined. - - * `RAW` - RAW - * `BASE64` - BASE64 - * `GZIP_BASE64` - GZIP_BASE64 - file_name: - type: optional - docs: The file name of the form field, if the field is for a file. - validation: - minLength: 1 - content_type: - type: optional - docs: The MIME type of the file, if the field is for a file. - validation: - minLength: 1 - source: - openapi: openapi/openapi.yml - PaginatedAccountDetailsAndActionsList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedAccountList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedAttachmentList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedAuditLogEventList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedCollectionList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedCommentList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedContactList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedIssueList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedProjectList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedRemoteFieldClassList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedRoleList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedSyncStatusList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedTagList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedTeamList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedTicketList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedUserList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PaginatedViewerList: - properties: - next: optional - previous: optional - results: optional> - source: - openapi: openapi/openapi.yml - PatchedTicketRequestStatus: - discriminated: false - docs: |- - The current status of the ticket. - - * `OPEN` - OPEN - * `CLOSED` - CLOSED - * `IN_PROGRESS` - IN_PROGRESS - * `ON_HOLD` - ON_HOLD - union: - - TicketStatusEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - PatchedTicketRequestAccessLevel: - discriminated: false - docs: >- - The description of who is able to access a given ticket, or where access - is inherited from. - - - * `COMPANY` - COMPANY - - * `PUBLIC` - PUBLIC - - * `PRIVATE` - PRIVATE - - * `COLLECTION` - COLLECTION - union: - - TicketAccessLevelEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - PatchedTicketRequestPriority: - discriminated: false - docs: |- - The priority or urgency of the Ticket. - - * `URGENT` - URGENT - * `HIGH` - HIGH - * `NORMAL` - NORMAL - * `LOW` - LOW - union: - - PriorityEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - PatchedTicketRequest: - docs: |- - # The Ticket Object - ### Description - The `Ticket` object is used to represent a ticket, issue, task or case. - ### Usage Example - TODO - properties: - name: - type: optional - docs: The ticket's name. - assignees: - type: optional>> - docs: >- - The individual `Users` who are assigned to this ticket. This does not - include `Users` who just have view access to this ticket. To fetch all - `Users` and `Teams` that can access the ticket, use the `GET - /tickets/{ticket_id}/viewers` - [endpoint](https://docs.merge.dev/ticketing/tickets/#tickets_viewers_list). - assigned_teams: - type: optional>> - docs: >- - The `Teams` that are assigned to this ticket. This does not include - `Teams` who just have view access to this ticket. To fetch all `Users` - and `Teams` that can access this ticket, use the `GET - /tickets/{ticket_id}/viewers` - [endpoint](https://docs.merge.dev/ticketing/tickets/#tickets_viewers_list). - creator: - type: optional - docs: The user who created this ticket. - validation: - format: uuid - due_date: - type: optional - docs: The ticket's due date. - status: - type: optional - docs: |- - The current status of the ticket. - - * `OPEN` - OPEN - * `CLOSED` - CLOSED - * `IN_PROGRESS` - IN_PROGRESS - * `ON_HOLD` - ON_HOLD - description: - type: optional - docs: >- - The ticket’s description. HTML version of description is mapped if - supported by the third-party platform. - collections: - type: optional>> - docs: The `Collections` that this `Ticket` is included in. - ticket_type: - type: optional - docs: >- - The sub category of the ticket within the 3rd party system. Examples - include incident, task, subtask or to-do. - account: - type: optional - docs: The account associated with the ticket. - validation: - format: uuid - contact: - type: optional - docs: The contact associated with the ticket. - validation: - format: uuid - parent_ticket: - type: optional - docs: The ticket's parent ticket. - validation: - format: uuid - access_level: - type: optional - docs: >- - The description of who is able to access a given ticket, or where - access is inherited from. - - - * `COMPANY` - COMPANY - - * `PUBLIC` - PUBLIC - - * `PRIVATE` - PRIVATE - - * `COLLECTION` - COLLECTION - tags: optional>> - roles: optional>> - ticket_url: - type: optional - docs: The 3rd party url of the Ticket. - validation: - format: uri - maxLength: 2000 - priority: - type: optional - docs: |- - The priority or urgency of the Ticket. - - * `URGENT` - URGENT - * `HIGH` - HIGH - * `NORMAL` - NORMAL - * `LOW` - LOW - completed_at: - type: optional - docs: When the ticket was completed. - integration_params: - type: optional> - access: write-only - linked_account_params: - type: optional> - access: write-only - remote_fields: - type: optional> - access: write-only - source: - openapi: openapi/openapi.yml - PriorityEnum: - enum: - - URGENT - - HIGH - - NORMAL - - LOW - docs: |- - * `URGENT` - URGENT - * `HIGH` - HIGH - * `NORMAL` - NORMAL - * `LOW` - LOW - source: - openapi: openapi/openapi.yml - Project: - docs: >- - # The Project Object - - ### Description - - Please use the `Collection` model. This model will be fully deprecated on - 3/30/2024. - - - ### Usage Example - - TODO - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - name: - type: optional - docs: 'The project''s name. ' - description: - type: optional - docs: The project's description. - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - RemoteData: - docs: >- - # The RemoteData Object - - ### Description - - The `RemoteData` object is used to represent the full data pulled from the - third-party API for an object. - - - ### Usage Example - - TODO - properties: - path: - type: string - docs: The third-party API path that is being called. - data: - type: optional - docs: >- - The data returned from the third-party for this object in its - original, unnormalized format. - access: read-only - source: - openapi: openapi/openapi.yml - RemoteEndpointInfo: - properties: - method: string - url_path: string - field_traversal_path: list - source: - openapi: openapi/openapi.yml - RemoteFieldRemoteFieldClass: - discriminated: false - union: - - string - - RemoteFieldClass - source: - openapi: openapi/openapi.yml - inline: true - RemoteField: - properties: - remote_field_class: RemoteFieldRemoteFieldClass - value: optional - source: - openapi: openapi/openapi.yml - RemoteFieldApiCoverage: - discriminated: false - union: - - integer - - double - source: - openapi: openapi/openapi.yml - inline: true - RemoteFieldApi: - properties: - schema: map - remote_key_name: string - remote_endpoint_info: RemoteEndpointInfo - example_values: optional> - advanced_metadata: optional - coverage: - type: optional - access: read-only - source: - openapi: openapi/openapi.yml - RemoteFieldApiResponse: - properties: - Ticket: optional> - Comment: optional> - Project: optional> - Collection: optional> - User: optional> - Role: optional> - Account: optional> - Team: optional> - Attachment: optional> - Tag: optional> - Contact: optional> - source: - openapi: openapi/openapi.yml - RemoteFieldClassFieldType: - discriminated: false - union: - - string - - FieldTypeEnum - source: - openapi: openapi/openapi.yml - inline: true - RemoteFieldClassFieldFormat: - discriminated: false - union: - - string - - FieldFormatEnum - source: - openapi: openapi/openapi.yml - inline: true - RemoteFieldClassFieldChoicesItem: - properties: - value: optional - display_name: optional - source: - openapi: openapi/openapi.yml - inline: true - RemoteFieldClass: - properties: - id: optional - display_name: optional - remote_key_name: optional - description: optional - is_custom: optional - is_common_model_field: optional - is_required: optional - field_type: optional - field_format: optional - field_choices: - type: optional> - access: read-only - item_schema: optional - source: - openapi: openapi/openapi.yml - RemoteFieldRequestRemoteFieldClass: - discriminated: false - union: - - type: string - validation: - format: uuid - - RemoteFieldClass - source: - openapi: openapi/openapi.yml - inline: true - RemoteFieldRequest: - properties: - remote_field_class: RemoteFieldRequestRemoteFieldClass - value: optional - source: - openapi: openapi/openapi.yml - RemoteKey: - docs: >- - # The RemoteKey Object - - ### Description - - The `RemoteKey` object is used to represent a request for a new remote - key. - - - ### Usage Example - - Post a `GenerateRemoteKey` to receive a new `RemoteKey`. - properties: - name: string - key: string - source: - openapi: openapi/openapi.yml - RemoteResponse: - docs: >- - # The RemoteResponse Object - - ### Description - - The `RemoteResponse` object is used to represent information returned from - a third-party endpoint. - - - ### Usage Example - - View the `RemoteResponse` returned from your `DataPassthrough`. - properties: - method: string - path: string - status: integer - response: unknown - response_headers: optional> - response_type: optional - headers: optional> - source: - openapi: openapi/openapi.yml - RequestFormatEnum: - enum: - - JSON - - XML - - MULTIPART - docs: |- - * `JSON` - JSON - * `XML` - XML - * `MULTIPART` - MULTIPART - source: - openapi: openapi/openapi.yml - ResponseTypeEnum: - enum: - - JSON - - BASE64_GZIP - docs: |- - * `JSON` - JSON - * `BASE64_GZIP` - BASE64_GZIP - source: - openapi: openapi/openapi.yml - RoleTicketActionsItem: - discriminated: false - union: - - string - - TicketActionsEnum - source: - openapi: openapi/openapi.yml - inline: true - RoleTicketAccess: - discriminated: false - docs: |- - The level of Ticket access that a User with this Role can perform. - - * `ALL` - ALL - * `ASSIGNED_ONLY` - ASSIGNED_ONLY - * `TEAM_ONLY` - TEAM_ONLY - union: - - string - - TicketAccessEnum - source: - openapi: openapi/openapi.yml - inline: true - Role: - docs: >- - # The Role Object - - ### Description - - The `Role` object is used to represent the set of actions & access that a - user with this role is allowed to perform. - - - ### Usage Example - - TODO - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - name: - type: optional - docs: The name of the Role. - ticket_actions: - type: optional>> - docs: >- - The set of actions that a User with this Role can perform. Possible - enum values include: `VIEW`, `CREATE`, `EDIT`, `DELETE`, `CLOSE`, and - `ASSIGN`. - ticket_access: - type: optional - docs: |- - The level of Ticket access that a User with this Role can perform. - - * `ALL` - ALL - * `ASSIGNED_ONLY` - ASSIGNED_ONLY - * `TEAM_ONLY` - TEAM_ONLY - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - RoleEnum: - enum: - - ADMIN - - DEVELOPER - - MEMBER - - API - - SYSTEM - - MERGE_TEAM - docs: |- - * `ADMIN` - ADMIN - * `DEVELOPER` - DEVELOPER - * `MEMBER` - MEMBER - * `API` - API - * `SYSTEM` - SYSTEM - * `MERGE_TEAM` - MERGE_TEAM - source: - openapi: openapi/openapi.yml - SelectiveSyncConfigurationsUsageEnum: - enum: - - IN_NEXT_SYNC - - IN_LAST_SYNC - docs: |- - * `IN_NEXT_SYNC` - IN_NEXT_SYNC - * `IN_LAST_SYNC` - IN_LAST_SYNC - source: - openapi: openapi/openapi.yml - StatusFd5Enum: - enum: - - SYNCING - - DONE - - FAILED - - DISABLED - - PAUSED - - PARTIALLY_SYNCED - docs: |- - * `SYNCING` - SYNCING - * `DONE` - DONE - * `FAILED` - FAILED - * `DISABLED` - DISABLED - * `PAUSED` - PAUSED - * `PARTIALLY_SYNCED` - PARTIALLY_SYNCED - source: - openapi: openapi/openapi.yml - SyncStatusLastSyncResult: - discriminated: false - union: - - LastSyncResultEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - SyncStatus: - docs: >- - # The SyncStatus Object - - ### Description - - The `SyncStatus` object is used to represent the syncing state of an - account - - - ### Usage Example - - View the `SyncStatus` for an account to see how recently its models were - synced. - properties: - model_name: string - model_id: string - last_sync_start: optional - next_sync_start: optional - last_sync_result: optional - last_sync_finished: optional - status: StatusFd5Enum - is_initial_sync: boolean - selective_sync_configurations_usage: optional - source: - openapi: openapi/openapi.yml - Tag: - docs: |- - # The Tag Object - ### Description - The `Tag` object is used to represent a tag or label for a ticket. - - ### Usage Example - TODO - properties: - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - id: - type: optional - validation: - format: uuid - access: read-only - name: - type: optional - docs: The tag's name. - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - Team: - docs: >- - # The Team Object - - ### Description - - The `Team` object is used to represent one or more `Users` within the - company receiving the ticket. - - - ### Usage Example - - TODO - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - name: - type: optional - docs: The team's name. - description: - type: optional - docs: The team's description. - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - TicketAssigneesItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - User - source: - openapi: openapi/openapi.yml - inline: true - TicketAssignedTeamsItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - Team - source: - openapi: openapi/openapi.yml - inline: true - TicketCreator: - discriminated: false - docs: The user who created this ticket. - union: - - type: string - validation: - format: uuid - - User - source: - openapi: openapi/openapi.yml - inline: true - TicketStatus: - discriminated: false - docs: |- - The current status of the ticket. - - * `OPEN` - OPEN - * `CLOSED` - CLOSED - * `IN_PROGRESS` - IN_PROGRESS - * `ON_HOLD` - ON_HOLD - union: - - TicketStatusEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - TicketCollectionsItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - Collection - source: - openapi: openapi/openapi.yml - inline: true - TicketAccount: - discriminated: false - docs: The account associated with the ticket. - union: - - type: string - validation: - format: uuid - - Account - source: - openapi: openapi/openapi.yml - inline: true - TicketContact: - discriminated: false - docs: The contact associated with the ticket. - union: - - type: string - validation: - format: uuid - - Contact - source: - openapi: openapi/openapi.yml - inline: true - TicketParentTicket: - discriminated: false - docs: The ticket's parent ticket. - union: - - type: string - validation: - format: uuid - - Ticket - source: - openapi: openapi/openapi.yml - inline: true - TicketAttachmentsItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - Attachment - source: - openapi: openapi/openapi.yml - inline: true - TicketAccessLevel: - discriminated: false - docs: >- - The description of who is able to access a given ticket, or where access - is inherited from. - - - * `COMPANY` - COMPANY - - * `PUBLIC` - PUBLIC - - * `PRIVATE` - PRIVATE - - * `COLLECTION` - COLLECTION - union: - - TicketAccessLevelEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - TicketPriority: - discriminated: false - docs: |- - The priority or urgency of the Ticket. - - * `URGENT` - URGENT - * `HIGH` - HIGH - * `NORMAL` - NORMAL - * `LOW` - LOW - union: - - PriorityEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - Ticket: - docs: |- - # The Ticket Object - ### Description - The `Ticket` object is used to represent a ticket, issue, task or case. - ### Usage Example - TODO - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - name: - type: optional - docs: The ticket's name. - assignees: - type: optional>> - docs: >- - The individual `Users` who are assigned to this ticket. This does not - include `Users` who just have view access to this ticket. To fetch all - `Users` and `Teams` that can access the ticket, use the `GET - /tickets/{ticket_id}/viewers` - [endpoint](https://docs.merge.dev/ticketing/tickets/#tickets_viewers_list). - assigned_teams: - type: optional>> - docs: >- - The `Teams` that are assigned to this ticket. This does not include - `Teams` who just have view access to this ticket. To fetch all `Users` - and `Teams` that can access this ticket, use the `GET - /tickets/{ticket_id}/viewers` - [endpoint](https://docs.merge.dev/ticketing/tickets/#tickets_viewers_list). - creator: - type: optional - docs: The user who created this ticket. - due_date: - type: optional - docs: The ticket's due date. - status: - type: optional - docs: |- - The current status of the ticket. - - * `OPEN` - OPEN - * `CLOSED` - CLOSED - * `IN_PROGRESS` - IN_PROGRESS - * `ON_HOLD` - ON_HOLD - description: - type: optional - docs: >- - The ticket’s description. HTML version of description is mapped if - supported by the third-party platform. - collections: - type: optional>> - docs: The `Collections` that this `Ticket` is included in. - ticket_type: - type: optional - docs: >- - The sub category of the ticket within the 3rd party system. Examples - include incident, task, subtask or to-do. - account: - type: optional - docs: The account associated with the ticket. - contact: - type: optional - docs: The contact associated with the ticket. - parent_ticket: - type: optional - docs: The ticket's parent ticket. - attachments: optional>> - access_level: - type: optional - docs: >- - The description of who is able to access a given ticket, or where - access is inherited from. - - - * `COMPANY` - COMPANY - - * `PUBLIC` - PUBLIC - - * `PRIVATE` - PRIVATE - - * `COLLECTION` - COLLECTION - tags: optional>> - roles: optional>> - remote_created_at: - type: optional - docs: When the third party's ticket was created. - remote_updated_at: - type: optional - docs: When the third party's ticket was updated. - completed_at: - type: optional - docs: When the ticket was completed. - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - ticket_url: - type: optional - docs: The 3rd party url of the Ticket. - validation: - format: uri - maxLength: 2000 - priority: - type: optional - docs: |- - The priority or urgency of the Ticket. - - * `URGENT` - URGENT - * `HIGH` - HIGH - * `NORMAL` - NORMAL - * `LOW` - LOW - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - remote_fields: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - TicketAccessEnum: - enum: - - ALL - - ASSIGNED_ONLY - - TEAM_ONLY - docs: |- - * `ALL` - ALL - * `ASSIGNED_ONLY` - ASSIGNED_ONLY - * `TEAM_ONLY` - TEAM_ONLY - source: - openapi: openapi/openapi.yml - TicketAccessLevelEnum: - enum: - - COMPANY - - PUBLIC - - PRIVATE - - COLLECTION - docs: |- - * `COMPANY` - COMPANY - * `PUBLIC` - PUBLIC - * `PRIVATE` - PRIVATE - * `COLLECTION` - COLLECTION - source: - openapi: openapi/openapi.yml - TicketActionsEnum: - enum: - - VIEW - - CREATE - - EDIT - - DELETE - - CLOSE - - ASSIGN - docs: |- - * `VIEW` - VIEW - * `CREATE` - CREATE - * `EDIT` - EDIT - * `DELETE` - DELETE - * `CLOSE` - CLOSE - * `ASSIGN` - ASSIGN - source: - openapi: openapi/openapi.yml - TicketRequestAssigneesItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - User - source: - openapi: openapi/openapi.yml - inline: true - TicketRequestAssignedTeamsItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - Team - source: - openapi: openapi/openapi.yml - inline: true - TicketRequestCreator: - discriminated: false - docs: The user who created this ticket. - union: - - type: string - validation: - format: uuid - - User - source: - openapi: openapi/openapi.yml - inline: true - TicketRequestStatus: - discriminated: false - docs: |- - The current status of the ticket. - - * `OPEN` - OPEN - * `CLOSED` - CLOSED - * `IN_PROGRESS` - IN_PROGRESS - * `ON_HOLD` - ON_HOLD - union: - - TicketStatusEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - TicketRequestCollectionsItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - Collection - source: - openapi: openapi/openapi.yml - inline: true - TicketRequestAccount: - discriminated: false - docs: The account associated with the ticket. - union: - - type: string - validation: - format: uuid - - Account - source: - openapi: openapi/openapi.yml - inline: true - TicketRequestContact: - discriminated: false - docs: The contact associated with the ticket. - union: - - type: string - validation: - format: uuid - - Contact - source: - openapi: openapi/openapi.yml - inline: true - TicketRequestParentTicket: - discriminated: false - docs: The ticket's parent ticket. - union: - - type: string - validation: - format: uuid - - Ticket - source: - openapi: openapi/openapi.yml - inline: true - TicketRequestAttachmentsItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - Attachment - source: - openapi: openapi/openapi.yml - inline: true - TicketRequestAccessLevel: - discriminated: false - docs: >- - The description of who is able to access a given ticket, or where access - is inherited from. - - - * `COMPANY` - COMPANY - - * `PUBLIC` - PUBLIC - - * `PRIVATE` - PRIVATE - - * `COLLECTION` - COLLECTION - union: - - TicketAccessLevelEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - TicketRequestPriority: - discriminated: false - docs: |- - The priority or urgency of the Ticket. - - * `URGENT` - URGENT - * `HIGH` - HIGH - * `NORMAL` - NORMAL - * `LOW` - LOW - union: - - PriorityEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - TicketRequest: - docs: |- - # The Ticket Object - ### Description - The `Ticket` object is used to represent a ticket, issue, task or case. - ### Usage Example - TODO - properties: - name: - type: optional - docs: The ticket's name. - assignees: - type: optional>> - docs: >- - The individual `Users` who are assigned to this ticket. This does not - include `Users` who just have view access to this ticket. To fetch all - `Users` and `Teams` that can access the ticket, use the `GET - /tickets/{ticket_id}/viewers` - [endpoint](https://docs.merge.dev/ticketing/tickets/#tickets_viewers_list). - assigned_teams: - type: optional>> - docs: >- - The `Teams` that are assigned to this ticket. This does not include - `Teams` who just have view access to this ticket. To fetch all `Users` - and `Teams` that can access this ticket, use the `GET - /tickets/{ticket_id}/viewers` - [endpoint](https://docs.merge.dev/ticketing/tickets/#tickets_viewers_list). - creator: - type: optional - docs: The user who created this ticket. - due_date: - type: optional - docs: The ticket's due date. - status: - type: optional - docs: |- - The current status of the ticket. - - * `OPEN` - OPEN - * `CLOSED` - CLOSED - * `IN_PROGRESS` - IN_PROGRESS - * `ON_HOLD` - ON_HOLD - description: - type: optional - docs: >- - The ticket’s description. HTML version of description is mapped if - supported by the third-party platform. - collections: - type: optional>> - docs: The `Collections` that this `Ticket` is included in. - ticket_type: - type: optional - docs: >- - The sub category of the ticket within the 3rd party system. Examples - include incident, task, subtask or to-do. - account: - type: optional - docs: The account associated with the ticket. - contact: - type: optional - docs: The contact associated with the ticket. - parent_ticket: - type: optional - docs: The ticket's parent ticket. - attachments: optional>> - access_level: - type: optional - docs: >- - The description of who is able to access a given ticket, or where - access is inherited from. - - - * `COMPANY` - COMPANY - - * `PUBLIC` - PUBLIC - - * `PRIVATE` - PRIVATE - - * `COLLECTION` - COLLECTION - tags: optional>> - roles: optional>> - completed_at: - type: optional - docs: When the ticket was completed. - ticket_url: - type: optional - docs: The 3rd party url of the Ticket. - validation: - format: uri - maxLength: 2000 - priority: - type: optional - docs: |- - The priority or urgency of the Ticket. - - * `URGENT` - URGENT - * `HIGH` - HIGH - * `NORMAL` - NORMAL - * `LOW` - LOW - integration_params: - type: optional> - access: write-only - linked_account_params: - type: optional> - access: write-only - remote_fields: - type: optional> - access: write-only - source: - openapi: openapi/openapi.yml - TicketResponse: - properties: - model: Ticket - warnings: list - errors: list - logs: optional> - source: - openapi: openapi/openapi.yml - TicketStatusEnum: - enum: - - OPEN - - CLOSED - - IN_PROGRESS - - ON_HOLD - docs: |- - * `OPEN` - OPEN - * `CLOSED` - CLOSED - * `IN_PROGRESS` - IN_PROGRESS - * `ON_HOLD` - ON_HOLD - source: - openapi: openapi/openapi.yml - TicketingAttachmentResponse: - properties: - model: Attachment - warnings: list - errors: list - logs: optional> - source: - openapi: openapi/openapi.yml - TicketingContactResponse: - properties: - model: Contact - warnings: list - errors: list - logs: optional> - source: - openapi: openapi/openapi.yml - UserTeamsItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - Team - source: - openapi: openapi/openapi.yml - inline: true - UserRolesItem: - discriminated: false - union: - - type: string - validation: - format: uuid - - Role - source: - openapi: openapi/openapi.yml - inline: true - User: - docs: >- - # The User Object - - ### Description - - The `User` object is used to represent a user with a login to the - ticketing system. - - Users are either assignees who are directly responsible or a viewer on a - `Ticket`/ `Collection`. - - - ### Usage Example - - TODO - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - name: - type: optional - docs: The user's name. - email_address: - type: optional - docs: The user's email address. - is_active: - type: optional - docs: Whether or not the user is active. - teams: optional>> - roles: optional>> - avatar: - type: optional - docs: The user's avatar picture. - remote_was_deleted: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium add-on. - Native deletion detection is offered for free with limited coverage. - [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - access: read-only - field_mappings: - type: optional> - access: read-only - remote_data: - type: optional> - access: read-only - source: - openapi: openapi/openapi.yml - ValidationProblemSource: - properties: - pointer: string - source: - openapi: openapi/openapi.yml - ViewerTeam: - discriminated: false - docs: The Team this Viewer belongs to. - union: - - type: string - validation: - format: uuid - - Team - source: - openapi: openapi/openapi.yml - inline: true - ViewerUser: - discriminated: false - docs: The User this Viewer belongs to. - union: - - type: string - validation: - format: uuid - - User - source: - openapi: openapi/openapi.yml - inline: true - Viewer: - docs: |- - # The Viewer Object - ### Description - The `Viewer` object is used to represent a User or Team within a company. - - ### Usage Example - TODO - properties: - id: - type: optional - validation: - format: uuid - access: read-only - remote_id: - type: optional - docs: The third-party API ID of the matching object. - created_at: - type: optional - docs: The datetime that this object was created by Merge. - access: read-only - modified_at: - type: optional - docs: The datetime that this object was modified by Merge. - access: read-only - team: - type: optional - docs: The Team this Viewer belongs to. - user: - type: optional - docs: The User this Viewer belongs to. - source: - openapi: openapi/openapi.yml - WarningValidationProblem: - properties: - source: optional - title: string - detail: string - problem_type: string - source: - openapi: openapi/openapi.yml - WebhookReceiver: - properties: - event: string - is_active: boolean - key: optional - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/ticketing/accountDetails.yml b/.mock/definition/ticketing/accountDetails.yml deleted file mode 100644 index cf6764e6..00000000 --- a/.mock/definition/ticketing/accountDetails.yml +++ /dev/null @@ -1,38 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - retrieve: - path: /ticketing/v1/account-details - method: GET - auth: - - tokenAuth: [] - docs: Get details for a linked account. - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: root.AccountDetails - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - id: 0496d4c2-42e6-4072-80b3-7b69bfdc76fd - integration: BambooHR - integration_slug: bamboohr - category: hris - end_user_origin_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - end_user_organization_name: Waystar Royco - end_user_email_address: kendall.roy@waystar-royco.com - status: COMPLETE - webhook_listener_url: >- - https://api.merge.dev/api/integrations/webhook-listener/7fc3mee0UW8ecV4 - is_duplicate: true - account_type: PRODUCTION - completed_at: '2024-08-26T20:11:19Z' - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/ticketing/accountToken.yml b/.mock/definition/ticketing/accountToken.yml deleted file mode 100644 index b8f0a14c..00000000 --- a/.mock/definition/ticketing/accountToken.yml +++ /dev/null @@ -1,47 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - retrieve: - path: /ticketing/v1/account-token/{public_token} - method: GET - auth: - - tokenAuth: [] - docs: >- - Returns the account token for the end user with the provided public - token. - source: - openapi: openapi/openapi.yml - path-parameters: - public_token: string - response: - docs: '' - type: root.AccountToken - status-code: 200 - examples: - - path-parameters: - public_token: public_token - headers: - X-Account-Token: '[object Object]' - response: - body: - account_token: T9klMDQrcHdm9jrtHuOS2Nf06BIHwMNjpPXPMB - integration: - name: name - abbreviated_name: abbreviated_name - categories: - - hris - image: image - square_image: square_image - color: color - slug: slug - api_endpoints_to_documentation_urls: - key: value - webhook_setup_guide_url: webhook_setup_guide_url - category_beta_status: - key: value - id: 0496d4c2-42e6-4072-80b3-7b69bfdc76fd - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/ticketing/accounts.yml b/.mock/definition/ticketing/accounts.yml deleted file mode 100644 index 21e288e0..00000000 --- a/.mock/definition/ticketing/accounts.yml +++ /dev/null @@ -1,160 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /ticketing/v1/accounts - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `Account` objects. - source: - openapi: openapi/openapi.yml - request: - name: AccountsListRequest - query-parameters: - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - page_size: - type: optional - docs: Number of results to return per page. - remote_id: - type: optional - docs: The API provider's ID for the given object. - response: - docs: '' - type: root.PaginatedAccountList - status-code: 200 - examples: - - query-parameters: - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - include_deleted_data: true - include_remote_data: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - page_size: 1 - remote_id: remote_id - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: 17a54124-287f-494d-965e-3c5b330c9a68 - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Waystar Royco - domains: - - waystar-royco.com - - royco.com - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /actions - data: - - Varies by platform - retrieve: - path: /ticketing/v1/accounts/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns an `Account` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: AccountsRetrieveRequest - query-parameters: - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - response: - docs: '' - type: root.Account - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - include_remote_data: true - include_shell_data: true - headers: - X-Account-Token: X-Account-Token - response: - body: - id: 17a54124-287f-494d-965e-3c5b330c9a68 - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Waystar Royco - domains: - - waystar-royco.com - - royco.com - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /actions - data: - - Varies by platform - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/ticketing/asyncPassthrough.yml b/.mock/definition/ticketing/asyncPassthrough.yml deleted file mode 100644 index 32c50223..00000000 --- a/.mock/definition/ticketing/asyncPassthrough.yml +++ /dev/null @@ -1,78 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - create: - path: /ticketing/v1/async-passthrough - method: POST - auth: - - tokenAuth: [] - docs: >- - Asynchronously pull data from an endpoint not currently supported by - Merge. - source: - openapi: openapi/openapi.yml - request: - body: root.DataPassthroughRequest - content-type: application/json - response: - docs: '' - type: root.AsyncPassthroughReciept - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - request: - method: GET - path: /scooters - response: - body: - async_passthrough_receipt_id: fd29020f-2695-445e-922e-dcd5e81903fd - retrieve: - path: /ticketing/v1/async-passthrough/{async_passthrough_receipt_id} - method: GET - auth: - - tokenAuth: [] - docs: Retrieves data from earlier async-passthrough POST request - source: - openapi: openapi/openapi.yml - path-parameters: - async_passthrough_receipt_id: string - response: - docs: '' - type: AsyncPassthroughRetrieveResponse - status-code: 200 - examples: - - path-parameters: - async_passthrough_receipt_id: async_passthrough_receipt_id - headers: - X-Account-Token: X-Account-Token - response: - body: - method: GET - path: /scooters - status: 200 - response: - scooters: - - company: Lime - model: Gen 2.5 - - company: Bird - model: Bird Zero - response_headers: - X-Page-Token: value - response_type: JSON - headers: - EXTRA-HEADER: value - Authorization: - source: - openapi: openapi/openapi.yml -types: - AsyncPassthroughRetrieveResponse: - discriminated: false - union: - - root.RemoteResponse - - string - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/ticketing/attachments.yml b/.mock/definition/ticketing/attachments.yml deleted file mode 100644 index ab4b3748..00000000 --- a/.mock/definition/ticketing/attachments.yml +++ /dev/null @@ -1,480 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /ticketing/v1/attachments - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `Attachment` objects. - source: - openapi: openapi/openapi.yml - request: - name: AttachmentsListRequest - query-parameters: - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - expand: - type: optional> - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - page_size: - type: optional - docs: Number of results to return per page. The maximum limit is 100. - remote_created_after: - type: optional - docs: >- - If provided, will only return attachments created in the third - party platform after this datetime. - remote_id: - type: optional - docs: The API provider's ID for the given object. - ticket_id: - type: optional - docs: If provided, will only return comments for this ticket. - response: - docs: '' - type: root.PaginatedAttachmentList - status-code: 200 - examples: - - query-parameters: - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - expand: ticket - include_deleted_data: true - include_remote_data: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - page_size: 1 - remote_created_after: '2024-01-15T09:30:00Z' - remote_id: remote_id - ticket_id: ticket_id - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: 17a54124-287f-494d-965e-3c5b330c9a68 - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - file_name: Screenshot.png - ticket: ticket - file_url: http://alturl.com/p749b - content_type: jpeg - uploaded_by: 28b54125-287f-494d-965e-3c5b330c9a68 - remote_created_at: '2022-11-10T00:00:00Z' - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /platform-endpoint - data: - - Varies by platform - create: - path: /ticketing/v1/attachments - method: POST - auth: - - tokenAuth: [] - docs: Creates an `Attachment` object with the given values. - source: - openapi: openapi/openapi.yml - request: - name: TicketingAttachmentEndpointRequest - query-parameters: - is_debug_mode: - type: optional - docs: >- - Whether to include debug fields (such as log file links) in the - response. - run_async: - type: optional - docs: Whether or not third-party updates should be run asynchronously. - body: - properties: - model: root.AttachmentRequest - content-type: application/json - response: - docs: '' - type: root.TicketingAttachmentResponse - status-code: 201 - examples: - - query-parameters: - is_debug_mode: true - run_async: true - headers: - X-Account-Token: X-Account-Token - request: - model: {} - response: - body: - model: - id: 17a54124-287f-494d-965e-3c5b330c9a68 - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - file_name: Screenshot.png - ticket: ticket - file_url: http://alturl.com/p749b - content_type: jpeg - uploaded_by: 28b54125-287f-494d-965e-3c5b330c9a68 - remote_created_at: '2022-11-10T00:00:00Z' - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /platform-endpoint - data: - - Varies by platform - warnings: - - source: - pointer: pointer - title: Unrecognized Field - detail: An unrecognized field, age, was passed in with request data. - problem_type: UNRECOGNIZED_FIELD - errors: - - source: - pointer: pointer - title: Missing Required Field - detail: custom_fields is a required field on model. - problem_type: MISSING_REQUIRED_FIELD - logs: - - log_id: 99433219-8017-4acd-bb3c-ceb23d663832 - dashboard_view: >- - https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832 - log_summary: - url: www.exampleintegration.com/api/v1/exampleapi - method: POST - status_code: 200 - retrieve: - path: /ticketing/v1/attachments/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns an `Attachment` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: AttachmentsRetrieveRequest - query-parameters: - expand: - type: optional> - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - response: - docs: '' - type: root.Attachment - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - expand: ticket - include_remote_data: true - include_shell_data: true - headers: - X-Account-Token: X-Account-Token - response: - body: - id: 17a54124-287f-494d-965e-3c5b330c9a68 - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - file_name: Screenshot.png - ticket: ticket - file_url: http://alturl.com/p749b - content_type: jpeg - uploaded_by: 28b54125-287f-494d-965e-3c5b330c9a68 - remote_created_at: '2022-11-10T00:00:00Z' - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /platform-endpoint - data: - - Varies by platform - downloadRetrieve: - path: /ticketing/v1/attachments/{id}/download - method: GET - auth: - - tokenAuth: [] - docs: Returns the `File` content with the given `id` as a stream of bytes. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: AttachmentsDownloadRetrieveRequest - query-parameters: - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - mime_type: - type: optional - docs: >- - If provided, specifies the export format of the file to be - downloaded. For information on supported export formats, please - refer to our export format help center article. - response: - docs: '' - type: file - status-code: 200 - metaPostRetrieve: - path: /ticketing/v1/attachments/meta/post - method: GET - auth: - - tokenAuth: [] - docs: Returns metadata for `TicketingAttachment` POSTs. - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: root.MetaResponse - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - request_schema: - type: object - properties: - model: - type: object - required: - - last_name - - first_name - - merge_categories - - new_york_city_neighborhood - - favorite_tv_shows - - favorite_watch - properties: - email_addresses: - type: array - items: - type: object - properties: - value: - type: string - title: value - email_address_type: - type: string - title: email_address_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: email_addresses - description: Array of email_addresses objects - urls: - type: array - items: - type: object - properties: - value: - type: string - title: value - url_type: - type: string - title: url_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: urls - description: Array of urls objects - first_name: - type: string - title: first_name - description: The first name. - last_name: - type: string - title: last_name - description: The last name. - phone_numbers: - type: array - items: - type: object - properties: - value: - type: string - title: value - phone_number_type: - type: string - title: phone_number_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: phone_numbers - description: Array of phone_numbers objects - tags: - type: array - items: - type: string - format: uuid - title: tags - description: Array of tags names - attachments: - type: array - items: - type: object - properties: - id: - type: string - title: id - file_url: - type: string - title: file_url - file_name: - type: string - title: file_name - attachment_type: - type: string - title: attachment_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: attachments - description: 'Array of attachments objects ' - merge_categories: - type: array - categories: - type: string - enum: - - HRIS - - ATS - - Accounting - - Ticketing - - File Storage - - CRM - - Marketing Automation - enum_information: - - value: HRIS - description: Merge HRIS Category - - value: ATS - description: Merge ATS Category - - value: Accounting - description: Merge Accounting Category - - value: Ticketing - description: Merge Ticketing Category - - value: File Storage - description: Merge File Storage Category - - value: CRM - description: Merge CRM Category - - value: Marketing Automation - description: Merge Marketing Automation Category - title: Merge Categories - description: Array of Merge's Unified API Categories - new_york_city_neighborhood: - type: string - title: Borough - description: One of the 5 Boroughs of New York City - favorite_tv_shows: - type: array - items: - type: string - format: uuid - title: Favorite TV Shows - description: Array of TV Show objects on merge.tv_shows - favorite_watch: - type: string - title: Favorite Watch - description: Favorite watch of all time - remote_field_classes: - key: value - status: - linked_account_status: linked_account_status - can_make_request: true - has_conditional_params: true - has_required_linked_account_params: true - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/ticketing/auditTrail.yml b/.mock/definition/ticketing/auditTrail.yml deleted file mode 100644 index 5eaec421..00000000 --- a/.mock/definition/ticketing/auditTrail.yml +++ /dev/null @@ -1,104 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /ticketing/v1/audit-trail - method: GET - auth: - - tokenAuth: [] - docs: Gets a list of audit trail events. - source: - openapi: openapi/openapi.yml - request: - name: AuditTrailListRequest - query-parameters: - cursor: - type: optional - docs: The pagination cursor value. - end_date: - type: optional - docs: >- - If included, will only include audit trail events that occurred - before this time - event_type: - type: optional - docs: >- - If included, will only include events with the given event type. - Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, - `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, - `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, - `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, - `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, - `DELETED_LINKED_ACCOUNT`, - `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, - `CREATED_DESTINATION`, `DELETED_DESTINATION`, - `CHANGED_DESTINATION`, `CHANGED_SCOPES`, - `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, - `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, - `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, - `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, - `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, - `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, - `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, - `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, - `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, - `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, - `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, - `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, - `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, - `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, - `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, - `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, - `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, - `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, - `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, - `END_USER_CREDENTIALS_ACCESSED` - page_size: - type: optional - docs: Number of results to return per page. The maximum limit is 100. - start_date: - type: optional - docs: >- - If included, will only include audit trail events that occurred - after this time - user_email: - type: optional - docs: >- - If provided, this will return events associated with the specified - user email. Please note that the email address reflects the user's - email at the time of the event, and may not be their current - email. - response: - docs: '' - type: root.PaginatedAuditLogEventList - status-code: 200 - examples: - - query-parameters: - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - end_date: end_date - event_type: event_type - page_size: 1 - start_date: start_date - user_email: user_email - headers: - X-Account-Token: '[object Object]' - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: b5ceea2a-7171-47ce-8090-165cfce5572c - user_name: Gil Feig - user_email: hello@merge.dev - role: ADMIN - ip_address: 192.0.2.123 - event_type: CREATED_REMOTE_PRODUCTION_API_KEY - event_description: >- - Organization-wide Scopes for model hris.Employee updated - from Read to Read+Write - created_at: '2024-01-15T09:30:00Z' - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/ticketing/availableActions.yml b/.mock/definition/ticketing/availableActions.yml deleted file mode 100644 index 5add5326..00000000 --- a/.mock/definition/ticketing/availableActions.yml +++ /dev/null @@ -1,52 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - retrieve: - path: /ticketing/v1/available-actions - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of models and actions available for an account. - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: root.AvailableActions - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - integration: - name: name - abbreviated_name: abbreviated_name - categories: - - hris - image: image - square_image: square_image - color: color - slug: slug - api_endpoints_to_documentation_urls: - key: value - webhook_setup_guide_url: webhook_setup_guide_url - category_beta_status: - key: value - passthrough_available: true - available_model_operations: - - model_name: Candidate - available_operations: - - FETCH - - CREATE - required_post_parameters: - - remote_user_id - supported_fields: - - first_name - - last_name - - company - - title - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/ticketing/collections.yml b/.mock/definition/ticketing/collections.yml deleted file mode 100644 index 7ba0ce3d..00000000 --- a/.mock/definition/ticketing/collections.yml +++ /dev/null @@ -1,308 +0,0 @@ -types: - CollectionsListRequestCollectionType: - enum: - - value: '' - name: EMPTY - - LIST - - PROJECT - source: - openapi: openapi/openapi.yml - CollectionsViewersListRequestExpand: - enum: - - team - - user - - value: user,team - name: UserTeam - source: - openapi: openapi/openapi.yml -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /ticketing/v1/collections - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `Collection` objects. - source: - openapi: openapi/openapi.yml - request: - name: CollectionsListRequest - query-parameters: - collection_type: - type: optional - docs: If provided, will only return collections of the given type. - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - expand: - type: optional> - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - name: - type: optional - docs: If provided, will only return collections with this name. - page_size: - type: optional - docs: Number of results to return per page. The maximum limit is 100. - parent_collection_id: - type: optional - docs: >- - If provided, will only return collections whose parent collection - matches the given id. - remote_fields: - type: optional> - docs: Deprecated. Use show_enum_origins. - remote_id: - type: optional - docs: The API provider's ID for the given object. - show_enum_origins: - type: optional> - docs: >- - A comma separated list of enum field names for which you'd like - the original values to be returned, instead of Merge's normalized - enum values. [Learn - more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - response: - docs: '' - type: root.PaginatedCollectionList - status-code: 200 - examples: - - query-parameters: - collection_type: '' - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - expand: parent_collection - include_deleted_data: true - include_remote_data: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - name: name - page_size: 1 - parent_collection_id: parent_collection_id - remote_fields: collection_type - remote_id: remote_id - show_enum_origins: collection_type - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: fb8c55b6-1cb8-4b4c-9fb6-17924231619d - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Q1 Platform - description: For tracking all tasks related to Platform for Q1 - access_level: PRIVATE - collection_type: LIST - parent_collection: parent_collection - collection_url: https://example.com - remote_created_at: '2022-01-01T00:00:00Z' - remote_updated_at: '2022-01-01T00:00:00Z' - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /platform-endpoint - data: - - Varies by platform - viewersList: - path: /ticketing/v1/collections/{collection_id}/viewers - method: GET - auth: - - tokenAuth: [] - docs: >- - Returns a list of `Viewer` objects that point to a User id or Team id - that is either an assignee or viewer on a `Collection` with the given - id. [Learn - more.](https://help.merge.dev/en/articles/10333658-ticketing-access-control-list-acls) - source: - openapi: openapi/openapi.yml - path-parameters: - collection_id: string - request: - name: CollectionsViewersListRequest - query-parameters: - cursor: - type: optional - docs: The pagination cursor value. - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - page_size: - type: optional - docs: Number of results to return per page. - response: - docs: '' - type: root.PaginatedViewerList - status-code: 200 - examples: - - path-parameters: - collection_id: collection_id - query-parameters: - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - expand: team - include_deleted_data: true - include_remote_data: true - include_shell_data: true - page_size: 1 - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: 17a54124-287f-494d-965e-3c5b330c9a68 - remote_id: '088899' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - team: team - user: user - retrieve: - path: /ticketing/v1/collections/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns a `Collection` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: CollectionsRetrieveRequest - query-parameters: - expand: - type: optional> - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - remote_fields: - type: optional> - docs: Deprecated. Use show_enum_origins. - show_enum_origins: - type: optional> - docs: >- - A comma separated list of enum field names for which you'd like - the original values to be returned, instead of Merge's normalized - enum values. [Learn - more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - response: - docs: '' - type: root.Collection - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - expand: parent_collection - include_remote_data: true - include_shell_data: true - remote_fields: collection_type - show_enum_origins: collection_type - headers: - X-Account-Token: X-Account-Token - response: - body: - id: fb8c55b6-1cb8-4b4c-9fb6-17924231619d - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Q1 Platform - description: For tracking all tasks related to Platform for Q1 - access_level: PRIVATE - collection_type: LIST - parent_collection: parent_collection - collection_url: https://example.com - remote_created_at: '2022-01-01T00:00:00Z' - remote_updated_at: '2022-01-01T00:00:00Z' - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /platform-endpoint - data: - - Varies by platform - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/ticketing/comments.yml b/.mock/definition/ticketing/comments.yml deleted file mode 100644 index 6b0aa6a3..00000000 --- a/.mock/definition/ticketing/comments.yml +++ /dev/null @@ -1,494 +0,0 @@ -types: - CommentsListRequestExpand: - enum: - - contact - - value: contact,ticket - name: ContactTicket - - ticket - - user - - value: user,contact - name: UserContact - - value: user,contact,ticket - name: UserContactTicket - - value: user,ticket - name: UserTicket - source: - openapi: openapi/openapi.yml - CommentsRetrieveRequestExpand: - enum: - - contact - - value: contact,ticket - name: ContactTicket - - ticket - - user - - value: user,contact - name: UserContact - - value: user,contact,ticket - name: UserContactTicket - - value: user,ticket - name: UserTicket - source: - openapi: openapi/openapi.yml -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /ticketing/v1/comments - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `Comment` objects. - source: - openapi: openapi/openapi.yml - request: - name: CommentsListRequest - query-parameters: - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - page_size: - type: optional - docs: Number of results to return per page. The maximum limit is 100. - remote_created_after: - type: optional - docs: >- - If provided, will only return Comments created in the third party - platform after this datetime. - remote_id: - type: optional - docs: The API provider's ID for the given object. - ticket_id: - type: optional - docs: If provided, will only return comments for this ticket. - response: - docs: '' - type: root.PaginatedCommentList - status-code: 200 - examples: - - query-parameters: - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - expand: contact - include_deleted_data: true - include_remote_data: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - page_size: 1 - remote_created_after: '2024-01-15T09:30:00Z' - remote_id: remote_id - ticket_id: ticket_id - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: 0958cbc6-6040-430a-848e-aafacbadf4ae - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - user: user - contact: contact - body: >- - When will these integrations be done? You all should use - Merge. - html_body: >- - When will these integrations be done? You all should use - Merge. - ticket: ticket - is_private: true - remote_created_at: '1990-11-10T00:00:00Z' - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /platform-endpoint - data: - - Varies by platform - create: - path: /ticketing/v1/comments - method: POST - auth: - - tokenAuth: [] - docs: Creates a `Comment` object with the given values. - source: - openapi: openapi/openapi.yml - request: - name: CommentEndpointRequest - query-parameters: - is_debug_mode: - type: optional - docs: >- - Whether to include debug fields (such as log file links) in the - response. - run_async: - type: optional - docs: Whether or not third-party updates should be run asynchronously. - body: - properties: - model: root.CommentRequest - content-type: application/json - response: - docs: '' - type: root.CommentResponse - status-code: 201 - examples: - - query-parameters: - is_debug_mode: true - run_async: true - headers: - X-Account-Token: X-Account-Token - request: - model: {} - response: - body: - model: - id: 0958cbc6-6040-430a-848e-aafacbadf4ae - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - user: user - contact: contact - body: >- - When will these integrations be done? You all should use - Merge. - html_body: >- - When will these integrations be done? You all should use - Merge. - ticket: ticket - is_private: true - remote_created_at: '1990-11-10T00:00:00Z' - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /platform-endpoint - data: - - Varies by platform - warnings: - - source: - pointer: pointer - title: Unrecognized Field - detail: An unrecognized field, age, was passed in with request data. - problem_type: UNRECOGNIZED_FIELD - errors: - - source: - pointer: pointer - title: Missing Required Field - detail: custom_fields is a required field on model. - problem_type: MISSING_REQUIRED_FIELD - logs: - - log_id: 99433219-8017-4acd-bb3c-ceb23d663832 - dashboard_view: >- - https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832 - log_summary: - url: www.exampleintegration.com/api/v1/exampleapi - method: POST - status_code: 200 - retrieve: - path: /ticketing/v1/comments/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns a `Comment` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: CommentsRetrieveRequest - query-parameters: - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - response: - docs: '' - type: root.Comment - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - expand: contact - include_remote_data: true - include_shell_data: true - headers: - X-Account-Token: X-Account-Token - response: - body: - id: 0958cbc6-6040-430a-848e-aafacbadf4ae - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - user: user - contact: contact - body: When will these integrations be done? You all should use Merge. - html_body: >- - When will these integrations be done? You all should use - Merge. - ticket: ticket - is_private: true - remote_created_at: '1990-11-10T00:00:00Z' - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /platform-endpoint - data: - - Varies by platform - metaPostRetrieve: - path: /ticketing/v1/comments/meta/post - method: GET - auth: - - tokenAuth: [] - docs: Returns metadata for `Comment` POSTs. - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: root.MetaResponse - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - request_schema: - type: object - properties: - model: - type: object - required: - - last_name - - first_name - - merge_categories - - new_york_city_neighborhood - - favorite_tv_shows - - favorite_watch - properties: - email_addresses: - type: array - items: - type: object - properties: - value: - type: string - title: value - email_address_type: - type: string - title: email_address_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: email_addresses - description: Array of email_addresses objects - urls: - type: array - items: - type: object - properties: - value: - type: string - title: value - url_type: - type: string - title: url_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: urls - description: Array of urls objects - first_name: - type: string - title: first_name - description: The first name. - last_name: - type: string - title: last_name - description: The last name. - phone_numbers: - type: array - items: - type: object - properties: - value: - type: string - title: value - phone_number_type: - type: string - title: phone_number_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: phone_numbers - description: Array of phone_numbers objects - tags: - type: array - items: - type: string - format: uuid - title: tags - description: Array of tags names - attachments: - type: array - items: - type: object - properties: - id: - type: string - title: id - file_url: - type: string - title: file_url - file_name: - type: string - title: file_name - attachment_type: - type: string - title: attachment_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: attachments - description: 'Array of attachments objects ' - merge_categories: - type: array - categories: - type: string - enum: - - HRIS - - ATS - - Accounting - - Ticketing - - File Storage - - CRM - - Marketing Automation - enum_information: - - value: HRIS - description: Merge HRIS Category - - value: ATS - description: Merge ATS Category - - value: Accounting - description: Merge Accounting Category - - value: Ticketing - description: Merge Ticketing Category - - value: File Storage - description: Merge File Storage Category - - value: CRM - description: Merge CRM Category - - value: Marketing Automation - description: Merge Marketing Automation Category - title: Merge Categories - description: Array of Merge's Unified API Categories - new_york_city_neighborhood: - type: string - title: Borough - description: One of the 5 Boroughs of New York City - favorite_tv_shows: - type: array - items: - type: string - format: uuid - title: Favorite TV Shows - description: Array of TV Show objects on merge.tv_shows - favorite_watch: - type: string - title: Favorite Watch - description: Favorite watch of all time - remote_field_classes: - key: value - status: - linked_account_status: linked_account_status - can_make_request: true - has_conditional_params: true - has_required_linked_account_params: true - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/ticketing/contacts.yml b/.mock/definition/ticketing/contacts.yml deleted file mode 100644 index 4bfc2a18..00000000 --- a/.mock/definition/ticketing/contacts.yml +++ /dev/null @@ -1,441 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /ticketing/v1/contacts - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `Contact` objects. - source: - openapi: openapi/openapi.yml - request: - name: ContactsListRequest - query-parameters: - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - email_address: - type: optional - docs: If provided, will only return Contacts that match this email. - expand: - type: optional> - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - page_size: - type: optional - docs: Number of results to return per page. The maximum limit is 100. - remote_id: - type: optional - docs: The API provider's ID for the given object. - response: - docs: '' - type: root.PaginatedContactList - status-code: 200 - examples: - - query-parameters: - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - email_address: email_address - expand: account - include_deleted_data: true - include_remote_data: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - page_size: 1 - remote_id: remote_id - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: 17a54124-287f-494d-965e-3c5b330c9a68 - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Cousin Greg - email_address: greg@waystar-royco.com - phone_number: '5108890293' - details: Executive Assistant to Tom Wambsgans - account: account - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /platform-endpoint - data: - - Varies by platform - create: - path: /ticketing/v1/contacts - method: POST - auth: - - tokenAuth: [] - docs: Creates a `Contact` object with the given values. - source: - openapi: openapi/openapi.yml - request: - name: TicketingContactEndpointRequest - query-parameters: - is_debug_mode: - type: optional - docs: >- - Whether to include debug fields (such as log file links) in the - response. - run_async: - type: optional - docs: Whether or not third-party updates should be run asynchronously. - body: - properties: - model: root.ContactRequest - content-type: application/json - response: - docs: '' - type: root.TicketingContactResponse - status-code: 201 - examples: - - query-parameters: - is_debug_mode: true - run_async: true - headers: - X-Account-Token: X-Account-Token - request: - model: {} - response: - body: - model: - id: 17a54124-287f-494d-965e-3c5b330c9a68 - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Cousin Greg - email_address: greg@waystar-royco.com - phone_number: '5108890293' - details: Executive Assistant to Tom Wambsgans - account: account - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /platform-endpoint - data: - - Varies by platform - warnings: - - source: - pointer: pointer - title: Unrecognized Field - detail: An unrecognized field, age, was passed in with request data. - problem_type: UNRECOGNIZED_FIELD - errors: - - source: - pointer: pointer - title: Missing Required Field - detail: custom_fields is a required field on model. - problem_type: MISSING_REQUIRED_FIELD - logs: - - log_id: 99433219-8017-4acd-bb3c-ceb23d663832 - dashboard_view: >- - https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832 - log_summary: - url: www.exampleintegration.com/api/v1/exampleapi - method: POST - status_code: 200 - retrieve: - path: /ticketing/v1/contacts/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns a `Contact` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: ContactsRetrieveRequest - query-parameters: - expand: - type: optional> - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - response: - docs: '' - type: root.Contact - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - expand: account - include_remote_data: true - include_shell_data: true - headers: - X-Account-Token: X-Account-Token - response: - body: - id: 17a54124-287f-494d-965e-3c5b330c9a68 - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Cousin Greg - email_address: greg@waystar-royco.com - phone_number: '5108890293' - details: Executive Assistant to Tom Wambsgans - account: account - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /platform-endpoint - data: - - Varies by platform - metaPostRetrieve: - path: /ticketing/v1/contacts/meta/post - method: GET - auth: - - tokenAuth: [] - docs: Returns metadata for `TicketingContact` POSTs. - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: root.MetaResponse - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - request_schema: - type: object - properties: - model: - type: object - required: - - last_name - - first_name - - merge_categories - - new_york_city_neighborhood - - favorite_tv_shows - - favorite_watch - properties: - email_addresses: - type: array - items: - type: object - properties: - value: - type: string - title: value - email_address_type: - type: string - title: email_address_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: email_addresses - description: Array of email_addresses objects - urls: - type: array - items: - type: object - properties: - value: - type: string - title: value - url_type: - type: string - title: url_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: urls - description: Array of urls objects - first_name: - type: string - title: first_name - description: The first name. - last_name: - type: string - title: last_name - description: The last name. - phone_numbers: - type: array - items: - type: object - properties: - value: - type: string - title: value - phone_number_type: - type: string - title: phone_number_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: phone_numbers - description: Array of phone_numbers objects - tags: - type: array - items: - type: string - format: uuid - title: tags - description: Array of tags names - attachments: - type: array - items: - type: object - properties: - id: - type: string - title: id - file_url: - type: string - title: file_url - file_name: - type: string - title: file_name - attachment_type: - type: string - title: attachment_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: attachments - description: 'Array of attachments objects ' - merge_categories: - type: array - categories: - type: string - enum: - - HRIS - - ATS - - Accounting - - Ticketing - - File Storage - - CRM - - Marketing Automation - enum_information: - - value: HRIS - description: Merge HRIS Category - - value: ATS - description: Merge ATS Category - - value: Accounting - description: Merge Accounting Category - - value: Ticketing - description: Merge Ticketing Category - - value: File Storage - description: Merge File Storage Category - - value: CRM - description: Merge CRM Category - - value: Marketing Automation - description: Merge Marketing Automation Category - title: Merge Categories - description: Array of Merge's Unified API Categories - new_york_city_neighborhood: - type: string - title: Borough - description: One of the 5 Boroughs of New York City - favorite_tv_shows: - type: array - items: - type: string - format: uuid - title: Favorite TV Shows - description: Array of TV Show objects on merge.tv_shows - favorite_watch: - type: string - title: Favorite Watch - description: Favorite watch of all time - remote_field_classes: - key: value - status: - linked_account_status: linked_account_status - can_make_request: true - has_conditional_params: true - has_required_linked_account_params: true - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/ticketing/deleteAccount.yml b/.mock/definition/ticketing/deleteAccount.yml deleted file mode 100644 index 99dd5cea..00000000 --- a/.mock/definition/ticketing/deleteAccount.yml +++ /dev/null @@ -1,17 +0,0 @@ -service: - auth: false - base-path: '' - endpoints: - delete: - path: /ticketing/v1/delete-account - method: POST - auth: - - tokenAuth: [] - docs: Delete a linked account. - source: - openapi: openapi/openapi.yml - examples: - - headers: - X-Account-Token: X-Account-Token - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/ticketing/fieldMapping.yml b/.mock/definition/ticketing/fieldMapping.yml deleted file mode 100644 index 915bd847..00000000 --- a/.mock/definition/ticketing/fieldMapping.yml +++ /dev/null @@ -1,769 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - field_mappings_retrieve: - path: /ticketing/v1/field-mappings - method: GET - auth: - - tokenAuth: [] - docs: >- - Get all Field Mappings for this Linked Account. Field Mappings are - mappings between third-party Remote Fields and user defined Merge - fields. [Learn - more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). - source: - openapi: openapi/openapi.yml - request: - name: FieldMappingsRetrieveRequest - query-parameters: - exclude_remote_field_metadata: - type: optional - docs: >- - If `true`, remote fields metadata is excluded from each field - mapping instance (i.e. `remote_fields.remote_key_name` and - `remote_fields.schema` will be null). This will increase the speed - of the request since these fields require some calculations. - response: - docs: '' - type: root.FieldMappingApiInstanceResponse - status-code: 200 - examples: - - query-parameters: - exclude_remote_field_metadata: true - headers: - X-Account-Token: X-Account-Token - response: - body: - Ticket: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - jmes_path: '[0].example_jmes_path' - Comment: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - jmes_path: '[0].example_jmes_path' - Project: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - jmes_path: '[0].example_jmes_path' - Collection: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - jmes_path: '[0].example_jmes_path' - User: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - jmes_path: '[0].example_jmes_path' - Role: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - jmes_path: '[0].example_jmes_path' - Account: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - jmes_path: '[0].example_jmes_path' - Team: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - jmes_path: '[0].example_jmes_path' - Attachment: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - jmes_path: '[0].example_jmes_path' - Tag: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - jmes_path: '[0].example_jmes_path' - Contact: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - jmes_path: '[0].example_jmes_path' - field_mappings_create: - path: /ticketing/v1/field-mappings - method: POST - auth: - - tokenAuth: [] - docs: >- - Create new Field Mappings that will be available after the next - scheduled sync. This will cause the next sync for this Linked Account to - sync **ALL** data from start. - source: - openapi: openapi/openapi.yml - request: - name: CreateFieldMappingRequest - query-parameters: - exclude_remote_field_metadata: - type: optional - docs: >- - If `true`, remote fields metadata is excluded from each field - mapping instance (i.e. `remote_fields.remote_key_name` and - `remote_fields.schema` will be null). This will increase the speed - of the request since these fields require some calculations. - body: - properties: - target_field_name: - type: string - docs: >- - The name of the target field you want this remote field to map - to. - validation: - minLength: 1 - target_field_description: - type: string - docs: >- - The description of the target field you want this remote field - to map to. - validation: - minLength: 1 - remote_field_traversal_path: - docs: >- - The field traversal path of the remote field listed when you hit - the GET /remote-fields endpoint. - type: list - remote_method: - type: string - docs: >- - The method of the remote endpoint where the remote field is - coming from. - validation: - minLength: 1 - remote_url_path: - type: string - docs: >- - The path of the remote endpoint where the remote field is coming - from. - validation: - minLength: 1 - common_model_name: - type: string - docs: >- - The name of the Common Model that the remote field corresponds - to in a given category. - validation: - minLength: 1 - jmes_path: - type: optional - docs: >- - JMES path to specify json query expression to be used on field - mapping. - validation: - minLength: 1 - content-type: application/json - response: - docs: '' - type: root.FieldMappingInstanceResponse - status-code: 201 - examples: - - query-parameters: - exclude_remote_field_metadata: true - headers: - X-Account-Token: X-Account-Token - request: - target_field_name: example_target_field_name - target_field_description: this is a example description of the target field - remote_field_traversal_path: - - example_remote_field - remote_method: GET - remote_url_path: /example-url-path - common_model_name: ExampleCommonModel - response: - body: - model: - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - jmes_path: '[0].example_jmes_path' - warnings: - - source: - pointer: pointer - title: Unrecognized Field - detail: An unrecognized field, age, was passed in with request data. - problem_type: UNRECOGNIZED_FIELD - errors: - - source: - pointer: pointer - title: Missing Required Field - detail: custom_fields is a required field on model. - problem_type: MISSING_REQUIRED_FIELD - logs: - - log_id: 99433219-8017-4acd-bb3c-ceb23d663832 - dashboard_view: >- - https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832 - log_summary: - url: www.exampleintegration.com/api/v1/exampleapi - method: POST - status_code: 200 - field_mappings_destroy: - path: /ticketing/v1/field-mappings/{field_mapping_id} - method: DELETE - auth: - - tokenAuth: [] - docs: >- - Deletes Field Mappings for a Linked Account. All data related to this - Field Mapping will be deleted and these changes will be reflected after - the next scheduled sync. This will cause the next sync for this Linked - Account to sync **ALL** data from start. - source: - openapi: openapi/openapi.yml - path-parameters: - field_mapping_id: string - response: - docs: '' - type: root.FieldMappingInstanceResponse - status-code: 204 - examples: - - path-parameters: - field_mapping_id: field_mapping_id - headers: - X-Account-Token: X-Account-Token - response: - body: - model: - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - jmes_path: '[0].example_jmes_path' - warnings: - - source: - pointer: pointer - title: Unrecognized Field - detail: An unrecognized field, age, was passed in with request data. - problem_type: UNRECOGNIZED_FIELD - errors: - - source: - pointer: pointer - title: Missing Required Field - detail: custom_fields is a required field on model. - problem_type: MISSING_REQUIRED_FIELD - logs: - - log_id: 99433219-8017-4acd-bb3c-ceb23d663832 - dashboard_view: >- - https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832 - log_summary: - url: www.exampleintegration.com/api/v1/exampleapi - method: POST - status_code: 200 - field_mappings_partial_update: - path: /ticketing/v1/field-mappings/{field_mapping_id} - method: PATCH - auth: - - tokenAuth: [] - docs: >- - Create or update existing Field Mappings for a Linked Account. Changes - will be reflected after the next scheduled sync. This will cause the - next sync for this Linked Account to sync **ALL** data from start. - source: - openapi: openapi/openapi.yml - path-parameters: - field_mapping_id: string - request: - name: PatchedEditFieldMappingRequest - body: - properties: - remote_field_traversal_path: - type: optional> - docs: >- - The field traversal path of the remote field listed when you hit - the GET /remote-fields endpoint. - remote_method: - type: optional - docs: >- - The method of the remote endpoint where the remote field is - coming from. - validation: - minLength: 1 - remote_url_path: - type: optional - docs: >- - The path of the remote endpoint where the remote field is coming - from. - validation: - minLength: 1 - jmes_path: - type: optional - docs: >- - JMES path to specify json query expression to be used on field - mapping. - validation: - minLength: 1 - content-type: application/json - response: - docs: '' - type: root.FieldMappingInstanceResponse - status-code: 200 - examples: - - path-parameters: - field_mapping_id: field_mapping_id - headers: - X-Account-Token: X-Account-Token - request: {} - response: - body: - model: - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - is_integration_wide: true - target_field: - name: example_target_field_name - description: this is a example description of a target field - is_organization_wide: true - remote_field: - remote_key_name: example_remote_field_key - schema: - type: string - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_remote_field_key - jmes_path: '[0].example_jmes_path' - warnings: - - source: - pointer: pointer - title: Unrecognized Field - detail: An unrecognized field, age, was passed in with request data. - problem_type: UNRECOGNIZED_FIELD - errors: - - source: - pointer: pointer - title: Missing Required Field - detail: custom_fields is a required field on model. - problem_type: MISSING_REQUIRED_FIELD - logs: - - log_id: 99433219-8017-4acd-bb3c-ceb23d663832 - dashboard_view: >- - https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832 - log_summary: - url: www.exampleintegration.com/api/v1/exampleapi - method: POST - status_code: 200 - remote_fields_retrieve: - path: /ticketing/v1/remote-fields - method: GET - auth: - - tokenAuth: [] - docs: >- - Get all remote fields for a Linked Account. Remote fields are - third-party fields that are accessible after initial sync if remote_data - is enabled. You can use remote fields to override existing Merge fields - or map a new Merge field. [Learn - more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). - source: - openapi: openapi/openapi.yml - request: - name: RemoteFieldsRetrieveRequest - query-parameters: - common_models: - type: optional - docs: >- - A comma seperated list of Common Model names. If included, will - only return Remote Fields for those Common Models. - include_example_values: - type: optional - docs: >- - If true, will include example values, where available, for remote - fields in the 3rd party platform. These examples come from active - data from your customers. - response: - docs: '' - type: root.RemoteFieldApiResponse - status-code: 200 - examples: - - query-parameters: - common_models: common_models - include_example_values: include_example_values - headers: - X-Account-Token: X-Account-Token - response: - body: - Ticket: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - Comment: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - Project: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - Collection: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - User: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - Role: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - Account: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - Team: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - Attachment: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - Tag: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - Contact: - - schema: - type: string - remote_key_name: example_remote_key_name - remote_endpoint_info: - method: GET - url_path: /example-url-path - field_traversal_path: - - example_key_name - example_values: - - example - advanced_metadata: - id: id - coverage: 1 - target_fields_retrieve: - path: /ticketing/v1/target-fields - method: GET - auth: - - tokenAuth: [] - docs: >- - Get all organization-wide Target Fields, this will not include any - Linked Account specific Target Fields. Organization-wide Target Fields - are additional fields appended to the Merge Common Model for all Linked - Accounts in a category. [Learn - more](https://docs.merge.dev/supplemental-data/field-mappings/target-fields/). - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: root.ExternalTargetFieldApiResponse - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - Ticket: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - Comment: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - Project: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - Collection: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - User: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - Role: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - Account: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - Team: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - Attachment: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - Tag: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - Contact: - - name: example_target_field_name - description: this is a example description of a target field - is_mapped: is_mapped - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/ticketing/forceResync.yml b/.mock/definition/ticketing/forceResync.yml deleted file mode 100644 index 3a2db7b6..00000000 --- a/.mock/definition/ticketing/forceResync.yml +++ /dev/null @@ -1,39 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - sync_status_resync_create: - path: /ticketing/v1/sync-status/resync - method: POST - auth: - - tokenAuth: [] - docs: >- - Force re-sync of all models. This endpoint is available for monthly, - quarterly, and highest sync frequency customers on the Professional or - Enterprise plans. Doing so will consume a sync credit for the relevant - linked account. Force re-syncs can also be triggered manually in the - Merge Dashboard and is available for all customers. - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: list - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - - model_name: Ticket - model_id: ticketing.Ticket - last_sync_start: '2021-03-30T19:44:18Z' - next_sync_start: '2021-03-30T20:44:18Z' - last_sync_result: SYNCING - last_sync_finished: '2021-03-30T19:55:18Z' - status: SYNCING - is_initial_sync: true - selective_sync_configurations_usage: IN_NEXT_SYNC - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/ticketing/generateKey.yml b/.mock/definition/ticketing/generateKey.yml deleted file mode 100644 index d0f1215b..00000000 --- a/.mock/definition/ticketing/generateKey.yml +++ /dev/null @@ -1,39 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - create: - path: /ticketing/v1/generate-key - method: POST - auth: - - tokenAuth: [] - docs: Create a remote key. - source: - openapi: openapi/openapi.yml - request: - name: GenerateRemoteKeyRequest - body: - properties: - name: - type: string - docs: The name of the remote key - validation: - minLength: 1 - content-type: application/json - response: - docs: '' - type: root.RemoteKey - status-code: 200 - examples: - - headers: - X-Account-Token: '[object Object]' - request: - name: Remote Deployment Key 1 - response: - body: - name: Remote Deployment Key 1 - key: hXY57W0g0WkdRHjCaPvwijK63fwfN-o_Wh7f30SLTq_uPCOLo-WFcA - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/ticketing/issues.yml b/.mock/definition/ticketing/issues.yml deleted file mode 100644 index 7742465a..00000000 --- a/.mock/definition/ticketing/issues.yml +++ /dev/null @@ -1,150 +0,0 @@ -types: - IssuesListRequestStatus: - enum: - - ONGOING - - RESOLVED - source: - openapi: openapi/openapi.yml -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /ticketing/v1/issues - method: GET - auth: - - tokenAuth: [] - docs: Gets all issues for Organization. - source: - openapi: openapi/openapi.yml - request: - name: IssuesListRequest - query-parameters: - account_token: optional - cursor: - type: optional - docs: The pagination cursor value. - end_date: - type: optional - docs: >- - If included, will only include issues whose most recent action - occurred before this time - end_user_organization_name: optional - first_incident_time_after: - type: optional - docs: >- - If provided, will only return issues whose first incident time was - after this datetime. - first_incident_time_before: - type: optional - docs: >- - If provided, will only return issues whose first incident time was - before this datetime. - include_muted: - type: optional - docs: If true, will include muted issues - integration_name: optional - last_incident_time_after: - type: optional - docs: >- - If provided, will only return issues whose last incident time was - after this datetime. - last_incident_time_before: - type: optional - docs: >- - If provided, will only return issues whose last incident time was - before this datetime. - linked_account_id: - type: optional - docs: >- - If provided, will only include issues pertaining to the linked - account passed in. - page_size: - type: optional - docs: Number of results to return per page. The maximum limit is 100. - start_date: - type: optional - docs: >- - If included, will only include issues whose most recent action - occurred after this time - status: - type: optional - docs: |- - Status of the issue. Options: ('ONGOING', 'RESOLVED') - - * `ONGOING` - ONGOING - * `RESOLVED` - RESOLVED - response: - docs: '' - type: root.PaginatedIssueList - status-code: 200 - examples: - - query-parameters: - account_token: account_token - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - end_date: end_date - end_user_organization_name: end_user_organization_name - first_incident_time_after: '2024-01-15T09:30:00Z' - first_incident_time_before: '2024-01-15T09:30:00Z' - include_muted: include_muted - integration_name: integration_name - last_incident_time_after: '2024-01-15T09:30:00Z' - last_incident_time_before: '2024-01-15T09:30:00Z' - linked_account_id: linked_account_id - page_size: 1 - start_date: start_date - status: ONGOING - headers: - X-Account-Token: '[object Object]' - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - status: ONGOING - error_description: Missing Permissions - end_user: - key: value - first_incident_time: '2022-12-05T16:19:15Z' - last_incident_time: '2022-12-05T16:19:15Z' - is_muted: true - error_details: - - Missing employee permissions. - - Missing time off permissions. - retrieve: - path: /ticketing/v1/issues/{id} - method: GET - auth: - - tokenAuth: [] - docs: Get a specific issue. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - response: - docs: '' - type: root.Issue - status-code: 200 - examples: - - path-parameters: - id: id - headers: - X-Account-Token: '[object Object]' - response: - body: - id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - status: ONGOING - error_description: Missing Permissions - end_user: - key: value - first_incident_time: '2022-12-05T16:19:15Z' - last_incident_time: '2022-12-05T16:19:15Z' - is_muted: true - error_details: - - Missing employee permissions. - - Missing time off permissions. - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/ticketing/linkToken.yml b/.mock/definition/ticketing/linkToken.yml deleted file mode 100644 index bcc870f7..00000000 --- a/.mock/definition/ticketing/linkToken.yml +++ /dev/null @@ -1,177 +0,0 @@ -imports: - root: __package__.yml -types: - EndUserDetailsRequestLanguage: - discriminated: false - docs: >- - The following subset of IETF language tags can be used to configure - localization. - - - * `en` - en - - * `de` - de - union: - - root.LanguageEnum - - string - source: - openapi: openapi/openapi.yml - inline: true - EndUserDetailsRequestCompletedAccountInitialScreen: - discriminated: false - docs: >- - When creating a Link token, you can specifiy the initial screen of Linking - Flow for a completed Linked Account. - - - * `SELECTIVE_SYNC` - SELECTIVE_SYNC - union: - - root.CompletedAccountInitialScreenEnum - - string - source: - openapi: openapi/openapi.yml - inline: true -service: - auth: false - base-path: '' - endpoints: - create: - path: /ticketing/v1/link-token - method: POST - auth: - - tokenAuth: [] - docs: Creates a link token to be used when linking a new end user. - source: - openapi: openapi/openapi.yml - request: - name: EndUserDetailsRequest - body: - properties: - end_user_email_address: - type: string - docs: >- - Your end user's email address. This is purely for identification - purposes - setting this value will not cause any emails to be - sent. - validation: - minLength: 1 - maxLength: 100 - end_user_organization_name: - type: string - docs: Your end user's organization. - validation: - minLength: 1 - maxLength: 100 - end_user_origin_id: - type: string - docs: >- - This unique identifier typically represents the ID for your end - user in your product's database. This value must be distinct - from other Linked Accounts' unique identifiers. - validation: - minLength: 1 - maxLength: 100 - categories: - docs: The integration categories to show in Merge Link. - type: list - integration: - type: optional - docs: >- - The slug of a specific pre-selected integration for this linking - flow token. For examples of slugs, see - https://docs.merge.dev/guides/merge-link/single-integration/. - validation: - minLength: 1 - link_expiry_mins: - type: optional - docs: >- - An integer number of minutes between [30, 720 or 10080 if for a - Magic Link URL] for how long this token is valid. Defaults to - 30. - default: 30 - validation: - min: 30 - max: 10080 - should_create_magic_link_url: - type: optional - docs: >- - Whether to generate a Magic Link URL. Defaults to false. For - more information on Magic Link, see - https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. - default: false - hide_admin_magic_link: - type: optional - docs: >- - Whether to generate a Magic Link URL on the Admin Needed screen - during the linking flow. Defaults to false. For more information - on Magic Link, see - https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. - default: false - common_models: - type: optional> - docs: >- - An array of objects to specify the models and fields that will - be disabled for a given Linked Account. Each object uses - model_id, enabled_actions, and disabled_fields to specify the - model, method, and fields that are scoped for a given Linked - Account. - category_common_model_scopes: - type: >- - optional>>> - docs: >- - When creating a Link Token, you can set permissions for Common - Models that will apply to the account that is going to be - linked. Any model or field not specified in link token payload - will default to existing settings. - language: - type: optional - docs: >- - The following subset of IETF language tags can be used to - configure localization. - - - * `en` - en - - * `de` - de - are_syncs_disabled: - type: optional - docs: >- - The boolean that indicates whether initial, periodic, and force - syncs will be disabled. - default: false - integration_specific_config: - type: optional> - docs: >- - A JSON object containing integration-specific configuration - options. - completed_account_initial_screen: - type: optional - docs: >- - When creating a Link token, you can specifiy the initial screen - of Linking Flow for a completed Linked Account. - - - * `SELECTIVE_SYNC` - SELECTIVE_SYNC - content-type: application/json - response: - docs: '' - type: root.LinkToken - status-code: 200 - examples: - - headers: - X-Account-Token: '[object Object]' - request: - end_user_email_address: example@gmail.com - end_user_organization_name: Test Organization - end_user_origin_id: '12345' - categories: - - hris - - ats - response: - body: - link_token: necdP7FtdASl1fQwm62be2_dM4wBG8_GactqoUV0 - integration_name: Lever - magic_link_url: https://link.merge.dev/asdfjkl12345jsndfgi2i83n - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/ticketing/linkedAccounts.yml b/.mock/definition/ticketing/linkedAccounts.yml deleted file mode 100644 index d2cd8110..00000000 --- a/.mock/definition/ticketing/linkedAccounts.yml +++ /dev/null @@ -1,167 +0,0 @@ -types: - LinkedAccountsListRequestCategory: - enum: - - accounting - - ats - - crm - - filestorage - - hris - - mktg - - ticketing - source: - openapi: openapi/openapi.yml -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /ticketing/v1/linked-accounts - method: GET - auth: - - tokenAuth: [] - docs: List linked accounts for your organization. - source: - openapi: openapi/openapi.yml - request: - name: LinkedAccountsListRequest - query-parameters: - category: - type: optional - docs: >- - Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, - `mktg`, `ticketing` - - - * `hris` - hris - - * `ats` - ats - - * `accounting` - accounting - - * `ticketing` - ticketing - - * `crm` - crm - - * `mktg` - mktg - - * `filestorage` - filestorage - cursor: - type: optional - docs: The pagination cursor value. - end_user_email_address: - type: optional - docs: >- - If provided, will only return linked accounts associated with the - given email address. - end_user_organization_name: - type: optional - docs: >- - If provided, will only return linked accounts associated with the - given organization name. - end_user_origin_id: - type: optional - docs: >- - If provided, will only return linked accounts associated with the - given origin ID. - end_user_origin_ids: - type: optional - docs: >- - Comma-separated list of EndUser origin IDs, making it possible to - specify multiple EndUsers at once. - id: - type: optional - validation: - format: uuid - ids: - type: optional - docs: >- - Comma-separated list of LinkedAccount IDs, making it possible to - specify multiple LinkedAccounts at once. - include_duplicates: - type: optional - docs: >- - If `true`, will include complete production duplicates of the - account specified by the `id` query parameter in the response. - `id` must be for a complete production linked account. - integration_name: - type: optional - docs: >- - If provided, will only return linked accounts associated with the - given integration name. - is_test_account: - type: optional - docs: >- - If included, will only include test linked accounts. If not - included, will only include non-test linked accounts. - page_size: - type: optional - docs: Number of results to return per page. The maximum limit is 100. - status: - type: optional - docs: >- - Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, - `RELINK_NEEDED` - response: - docs: '' - type: root.PaginatedAccountDetailsAndActionsList - status-code: 200 - examples: - - query-parameters: - category: accounting - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - end_user_email_address: end_user_email_address - end_user_organization_name: end_user_organization_name - end_user_origin_id: end_user_origin_id - end_user_origin_ids: end_user_origin_ids - id: id - ids: ids - include_duplicates: true - integration_name: integration_name - is_test_account: is_test_account - page_size: 1 - status: status - headers: - X-Account-Token: '[object Object]' - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: e59b1821-f85c-4e28-a6b3-1804156f3563 - category: hris - status: COMPLETE - status_detail: Invalid login credentials - end_user_origin_id: 3ac95cde-6c7f-4eef-afec-be710b42308d - end_user_organization_name: Foo Bar, LLC - end_user_email_address: hradmin@foobar.dev - subdomain: foobar - webhook_listener_url: >- - https://api.merge.dev/api/integrations/webhook-listener/7fc3mee0UW8ecV4 - is_duplicate: true - integration: - name: name - categories: - - hris - color: color - slug: slug - passthrough_available: true - available_model_operations: - - model_name: Candidate - available_operations: - - FETCH - - CREATE - required_post_parameters: - - remote_user_id - supported_fields: - - first_name - - last_name - - company - - title - account_type: PRODUCTION - completed_at: '2024-08-26T20:11:19Z' - integration_specific_fields: - integration_specific_field: Varies by platform - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/ticketing/passthrough.yml b/.mock/definition/ticketing/passthrough.yml deleted file mode 100644 index 8c5d351f..00000000 --- a/.mock/definition/ticketing/passthrough.yml +++ /dev/null @@ -1,46 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - create: - path: /ticketing/v1/passthrough - method: POST - auth: - - tokenAuth: [] - docs: Pull data from an endpoint not currently supported by Merge. - source: - openapi: openapi/openapi.yml - request: - body: root.DataPassthroughRequest - content-type: application/json - response: - docs: '' - type: root.RemoteResponse - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - request: - method: GET - path: /scooters - response: - body: - method: GET - path: /scooters - status: 200 - response: - scooters: - - company: Lime - model: Gen 2.5 - - company: Bird - model: Bird Zero - response_headers: - X-Page-Token: value - response_type: JSON - headers: - EXTRA-HEADER: value - Authorization: - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/ticketing/projects.yml b/.mock/definition/ticketing/projects.yml deleted file mode 100644 index 51f7855f..00000000 --- a/.mock/definition/ticketing/projects.yml +++ /dev/null @@ -1,251 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /ticketing/v1/projects - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `Project` objects. - source: - openapi: openapi/openapi.yml - request: - name: ProjectsListRequest - query-parameters: - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - page_size: - type: optional - docs: Number of results to return per page. The maximum limit is 100. - remote_id: - type: optional - docs: The API provider's ID for the given object. - response: - docs: '' - type: root.PaginatedProjectList - status-code: 200 - examples: - - query-parameters: - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - include_deleted_data: true - include_remote_data: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - page_size: 1 - remote_id: remote_id - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: fb8c55b6-1cb8-4b4c-9fb6-17924231619d - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Q1 Platform - description: For tracking all tasks related to Platform for Q1 - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /platform-endpoint - data: - - Varies by platform - retrieve: - path: /ticketing/v1/projects/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns a `Project` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: ProjectsRetrieveRequest - query-parameters: - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - response: - docs: '' - type: root.Project - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - include_remote_data: true - include_shell_data: true - headers: - X-Account-Token: X-Account-Token - response: - body: - id: fb8c55b6-1cb8-4b4c-9fb6-17924231619d - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Q1 Platform - description: For tracking all tasks related to Platform for Q1 - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /platform-endpoint - data: - - Varies by platform - usersList: - path: /ticketing/v1/projects/{parent_id}/users - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `User` objects. - source: - openapi: openapi/openapi.yml - path-parameters: - parent_id: string - request: - name: ProjectsUsersListRequest - query-parameters: - cursor: - type: optional - docs: The pagination cursor value. - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - page_size: - type: optional - docs: Number of results to return per page. The maximum limit is 100. - response: - docs: '' - type: root.PaginatedUserList - status-code: 200 - examples: - - path-parameters: - parent_id: parent_id - query-parameters: - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - expand: roles - include_deleted_data: true - include_remote_data: true - include_shell_data: true - page_size: 1 - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: 17a54124-287f-494d-965e-3c5b330c9a68 - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Gil Feig - email_address: help@merge.dev - is_active: true - teams: - - 28b54125-287f-494d-965e-3c5b330c9a68 - - 17a54124-287f-494d-965e-3c5b330c9a68 - roles: - - 23454124-387f-494d-265e-345b330c9123 - avatar: https://merge.dev/user_profile_pic.png - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /platform-endpoint - data: - - Varies by platform - source: - openapi: openapi/openapi.yml -types: - ProjectsUsersListRequestExpand: - enum: - - roles - - teams - - value: teams,roles - name: TeamsRoles - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/ticketing/regenerateKey.yml b/.mock/definition/ticketing/regenerateKey.yml deleted file mode 100644 index 0fd26589..00000000 --- a/.mock/definition/ticketing/regenerateKey.yml +++ /dev/null @@ -1,39 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - create: - path: /ticketing/v1/regenerate-key - method: POST - auth: - - tokenAuth: [] - docs: Exchange remote keys. - source: - openapi: openapi/openapi.yml - request: - name: RemoteKeyForRegenerationRequest - body: - properties: - name: - type: string - docs: The name of the remote key - validation: - minLength: 1 - content-type: application/json - response: - docs: '' - type: root.RemoteKey - status-code: 200 - examples: - - headers: - X-Account-Token: '[object Object]' - request: - name: Remote Deployment Key 1 - response: - body: - name: Remote Deployment Key 1 - key: hXY57W0g0WkdRHjCaPvwijK63fwfN-o_Wh7f30SLTq_uPCOLo-WFcA - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/ticketing/roles.yml b/.mock/definition/ticketing/roles.yml deleted file mode 100644 index 618d3ecf..00000000 --- a/.mock/definition/ticketing/roles.yml +++ /dev/null @@ -1,164 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /ticketing/v1/roles - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `Role` objects. - source: - openapi: openapi/openapi.yml - request: - name: RolesListRequest - query-parameters: - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - page_size: - type: optional - docs: Number of results to return per page. The maximum limit is 100. - remote_id: - type: optional - docs: The API provider's ID for the given object. - response: - docs: '' - type: root.PaginatedRoleList - status-code: 200 - examples: - - query-parameters: - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - include_deleted_data: true - include_remote_data: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - page_size: 1 - remote_id: remote_id - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: 23454124-387f-494d-265e-345b330c9123 - remote_id: '123' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Member - ticket_actions: - - VIEW - - EDIT - - CREATE - ticket_access: ticket_access - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /platform-endpoint - data: - - Varies by platform - retrieve: - path: /ticketing/v1/roles/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns a `Role` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: RolesRetrieveRequest - query-parameters: - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - response: - docs: '' - type: root.Role - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - include_remote_data: true - include_shell_data: true - headers: - X-Account-Token: X-Account-Token - response: - body: - id: 23454124-387f-494d-265e-345b330c9123 - remote_id: '123' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Member - ticket_actions: - - VIEW - - EDIT - - CREATE - ticket_access: ticket_access - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /platform-endpoint - data: - - Varies by platform - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/ticketing/scopes.yml b/.mock/definition/ticketing/scopes.yml deleted file mode 100644 index 8df78934..00000000 --- a/.mock/definition/ticketing/scopes.yml +++ /dev/null @@ -1,167 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - default_scopes_retrieve: - path: /ticketing/v1/default-scopes - method: GET - auth: - - tokenAuth: [] - docs: >- - Get the default permissions for Merge Common Models and fields across - all Linked Accounts of a given category. [Learn - more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: root.CommonModelScopeApi - status-code: 200 - examples: - - headers: - X-Account-Token: '[object Object]' - response: - body: - common_models: - - model_name: Employee - model_permissions: - READ: - is_enabled: true - WRITE: - is_enabled: false - field_permissions: - enabled_fields: - - avatar - - created_at - - custom_fields - - date_of_birth - - first_name - - gender - - remote_created_at - - remote_data - disabled_fields: - - company - - employments - - groups - - home_location - - manager - - work_location - linked_account_scopes_retrieve: - path: /ticketing/v1/linked-account-scopes - method: GET - auth: - - tokenAuth: [] - docs: >- - Get all available permissions for Merge Common Models and fields for a - single Linked Account. [Learn - more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: root.CommonModelScopeApi - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - common_models: - - model_name: Employee - model_permissions: - READ: - is_enabled: true - WRITE: - is_enabled: false - field_permissions: - enabled_fields: - - avatar - - created_at - - custom_fields - - date_of_birth - - first_name - - gender - - remote_created_at - - remote_data - disabled_fields: - - company - - employments - - groups - - home_location - - manager - - work_location - linked_account_scopes_create: - path: /ticketing/v1/linked-account-scopes - method: POST - auth: - - tokenAuth: [] - docs: >- - Update permissions for any Common Model or field for a single Linked - Account. Any Scopes not set in this POST request will inherit the - default Scopes. [Learn - more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes) - source: - openapi: openapi/openapi.yml - request: - name: LinkedAccountCommonModelScopeDeserializerRequest - body: - properties: - common_models: - docs: The common models you want to update the scopes for - type: list - content-type: application/json - response: - docs: '' - type: root.CommonModelScopeApi - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - request: - common_models: - - model_name: Employee - model_permissions: - READ: - is_enabled: true - WRITE: - is_enabled: false - field_permissions: - enabled_fields: - - avatar - - home_location - disabled_fields: - - work_location - - model_name: Benefit - model_permissions: - WRITE: - is_enabled: false - response: - body: - common_models: - - model_name: Employee - model_permissions: - READ: - is_enabled: true - WRITE: - is_enabled: false - field_permissions: - enabled_fields: - - avatar - - created_at - - custom_fields - - date_of_birth - - first_name - - gender - - remote_created_at - - remote_data - disabled_fields: - - company - - employments - - groups - - home_location - - manager - - work_location - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/ticketing/syncStatus.yml b/.mock/definition/ticketing/syncStatus.yml deleted file mode 100644 index 0efc39cd..00000000 --- a/.mock/definition/ticketing/syncStatus.yml +++ /dev/null @@ -1,60 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /ticketing/v1/sync-status - method: GET - auth: - - tokenAuth: [] - docs: >- - Get sync status for the current sync and the most recently finished - sync. `last_sync_start` represents the most recent time any sync began. - `last_sync_finished` represents the most recent time any sync completed. - These timestamps may correspond to different sync instances which may - result in a sync start time being later than a separate sync completed - time. To ensure you are retrieving the latest available data reference - the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. - Possible values for `status` and `last_sync_result` are `DISABLED`, - `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more - about sync status in our [Help - Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). - source: - openapi: openapi/openapi.yml - request: - name: SyncStatusListRequest - query-parameters: - cursor: - type: optional - docs: The pagination cursor value. - page_size: - type: optional - docs: Number of results to return per page. The maximum limit is 100. - response: - docs: '' - type: root.PaginatedSyncStatusList - status-code: 200 - examples: - - query-parameters: - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - page_size: 1 - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - model_name: Ticket - model_id: ticketing.Ticket - last_sync_start: '2021-03-30T19:44:18Z' - next_sync_start: '2021-03-30T20:44:18Z' - last_sync_result: SYNCING - last_sync_finished: '2021-03-30T19:55:18Z' - status: SYNCING - is_initial_sync: true - selective_sync_configurations_usage: IN_NEXT_SYNC - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/ticketing/tags.yml b/.mock/definition/ticketing/tags.yml deleted file mode 100644 index 9d7c96b7..00000000 --- a/.mock/definition/ticketing/tags.yml +++ /dev/null @@ -1,154 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /ticketing/v1/tags - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `Tag` objects. - source: - openapi: openapi/openapi.yml - request: - name: TagsListRequest - query-parameters: - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - page_size: - type: optional - docs: Number of results to return per page. The maximum limit is 100. - remote_id: - type: optional - docs: The API provider's ID for the given object. - response: - docs: '' - type: root.PaginatedTagList - status-code: 200 - examples: - - query-parameters: - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - include_deleted_data: true - include_remote_data: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - page_size: 1 - remote_id: remote_id - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - id: 17a54124-287f-494d-965e-3c5b330c9a68 - name: Ticketing API - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /platform-endpoint - data: - - Varies by platform - retrieve: - path: /ticketing/v1/tags/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns a `Tag` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: TagsRetrieveRequest - query-parameters: - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - response: - docs: '' - type: root.Tag - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - include_remote_data: true - include_shell_data: true - headers: - X-Account-Token: X-Account-Token - response: - body: - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - id: 17a54124-287f-494d-965e-3c5b330c9a68 - name: Ticketing API - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /platform-endpoint - data: - - Varies by platform - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/ticketing/teams.yml b/.mock/definition/ticketing/teams.yml deleted file mode 100644 index 3c5962cd..00000000 --- a/.mock/definition/ticketing/teams.yml +++ /dev/null @@ -1,156 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /ticketing/v1/teams - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `Team` objects. - source: - openapi: openapi/openapi.yml - request: - name: TeamsListRequest - query-parameters: - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - page_size: - type: optional - docs: Number of results to return per page. The maximum limit is 100. - remote_id: - type: optional - docs: The API provider's ID for the given object. - response: - docs: '' - type: root.PaginatedTeamList - status-code: 200 - examples: - - query-parameters: - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - include_deleted_data: true - include_remote_data: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - page_size: 1 - remote_id: remote_id - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: 17a54124-287f-494d-965e-3c5b330c9a68 - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Platform - description: Platform and Integrations Team - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /platform-endpoint - data: - - Varies by platform - retrieve: - path: /ticketing/v1/teams/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns a `Team` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: TeamsRetrieveRequest - query-parameters: - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - response: - docs: '' - type: root.Team - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - include_remote_data: true - include_shell_data: true - headers: - X-Account-Token: X-Account-Token - response: - body: - id: 17a54124-287f-494d-965e-3c5b330c9a68 - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Platform - description: Platform and Integrations Team - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /platform-endpoint - data: - - Varies by platform - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/ticketing/tickets.yml b/.mock/definition/ticketing/tickets.yml deleted file mode 100644 index 36676bf2..00000000 --- a/.mock/definition/ticketing/tickets.yml +++ /dev/null @@ -1,2265 +0,0 @@ -types: - TicketsListRequestExpand: - enum: - - account - - value: account,contact - name: AccountContact - - value: account,contact,creator - name: AccountContactCreator - - value: account,contact,creator,parent_ticket - name: AccountContactCreatorParentTicket - - value: account,contact,parent_ticket - name: AccountContactParentTicket - - value: account,creator - name: AccountCreator - - value: account,creator,parent_ticket - name: AccountCreatorParentTicket - - value: account,parent_ticket - name: AccountParentTicket - - assigned_teams - - value: assigned_teams,account - name: AssignedTeamsAccount - - value: assigned_teams,account,contact - name: AssignedTeamsAccountContact - - value: assigned_teams,account,contact,creator - name: AssignedTeamsAccountContactCreator - - value: assigned_teams,account,contact,creator,parent_ticket - name: AssignedTeamsAccountContactCreatorParentTicket - - value: assigned_teams,account,contact,parent_ticket - name: AssignedTeamsAccountContactParentTicket - - value: assigned_teams,account,creator - name: AssignedTeamsAccountCreator - - value: assigned_teams,account,creator,parent_ticket - name: AssignedTeamsAccountCreatorParentTicket - - value: assigned_teams,account,parent_ticket - name: AssignedTeamsAccountParentTicket - - value: assigned_teams,contact - name: AssignedTeamsContact - - value: assigned_teams,contact,creator - name: AssignedTeamsContactCreator - - value: assigned_teams,contact,creator,parent_ticket - name: AssignedTeamsContactCreatorParentTicket - - value: assigned_teams,contact,parent_ticket - name: AssignedTeamsContactParentTicket - - value: assigned_teams,creator - name: AssignedTeamsCreator - - value: assigned_teams,creator,parent_ticket - name: AssignedTeamsCreatorParentTicket - - value: assigned_teams,parent_ticket - name: AssignedTeamsParentTicket - - assignees - - value: assignees,account - name: AssigneesAccount - - value: assignees,account,contact - name: AssigneesAccountContact - - value: assignees,account,contact,creator - name: AssigneesAccountContactCreator - - value: assignees,account,contact,creator,parent_ticket - name: AssigneesAccountContactCreatorParentTicket - - value: assignees,account,contact,parent_ticket - name: AssigneesAccountContactParentTicket - - value: assignees,account,creator - name: AssigneesAccountCreator - - value: assignees,account,creator,parent_ticket - name: AssigneesAccountCreatorParentTicket - - value: assignees,account,parent_ticket - name: AssigneesAccountParentTicket - - value: assignees,assigned_teams - name: AssigneesAssignedTeams - - value: assignees,assigned_teams,account - name: AssigneesAssignedTeamsAccount - - value: assignees,assigned_teams,account,contact - name: AssigneesAssignedTeamsAccountContact - - value: assignees,assigned_teams,account,contact,creator - name: AssigneesAssignedTeamsAccountContactCreator - - value: assignees,assigned_teams,account,contact,creator,parent_ticket - name: AssigneesAssignedTeamsAccountContactCreatorParentTicket - - value: assignees,assigned_teams,account,contact,parent_ticket - name: AssigneesAssignedTeamsAccountContactParentTicket - - value: assignees,assigned_teams,account,creator - name: AssigneesAssignedTeamsAccountCreator - - value: assignees,assigned_teams,account,creator,parent_ticket - name: AssigneesAssignedTeamsAccountCreatorParentTicket - - value: assignees,assigned_teams,account,parent_ticket - name: AssigneesAssignedTeamsAccountParentTicket - - value: assignees,assigned_teams,contact - name: AssigneesAssignedTeamsContact - - value: assignees,assigned_teams,contact,creator - name: AssigneesAssignedTeamsContactCreator - - value: assignees,assigned_teams,contact,creator,parent_ticket - name: AssigneesAssignedTeamsContactCreatorParentTicket - - value: assignees,assigned_teams,contact,parent_ticket - name: AssigneesAssignedTeamsContactParentTicket - - value: assignees,assigned_teams,creator - name: AssigneesAssignedTeamsCreator - - value: assignees,assigned_teams,creator,parent_ticket - name: AssigneesAssignedTeamsCreatorParentTicket - - value: assignees,assigned_teams,parent_ticket - name: AssigneesAssignedTeamsParentTicket - - value: assignees,collections - name: AssigneesCollections - - value: assignees,collections,account - name: AssigneesCollectionsAccount - - value: assignees,collections,account,contact - name: AssigneesCollectionsAccountContact - - value: assignees,collections,account,contact,creator - name: AssigneesCollectionsAccountContactCreator - - value: assignees,collections,account,contact,creator,parent_ticket - name: AssigneesCollectionsAccountContactCreatorParentTicket - - value: assignees,collections,account,contact,parent_ticket - name: AssigneesCollectionsAccountContactParentTicket - - value: assignees,collections,account,creator - name: AssigneesCollectionsAccountCreator - - value: assignees,collections,account,creator,parent_ticket - name: AssigneesCollectionsAccountCreatorParentTicket - - value: assignees,collections,account,parent_ticket - name: AssigneesCollectionsAccountParentTicket - - value: assignees,collections,assigned_teams - name: AssigneesCollectionsAssignedTeams - - value: assignees,collections,assigned_teams,account - name: AssigneesCollectionsAssignedTeamsAccount - - value: assignees,collections,assigned_teams,account,contact - name: AssigneesCollectionsAssignedTeamsAccountContact - - value: assignees,collections,assigned_teams,account,contact,creator - name: AssigneesCollectionsAssignedTeamsAccountContactCreator - - value: >- - assignees,collections,assigned_teams,account,contact,creator,parent_ticket - name: AssigneesCollectionsAssignedTeamsAccountContactCreatorParentTicket - - value: assignees,collections,assigned_teams,account,contact,parent_ticket - name: AssigneesCollectionsAssignedTeamsAccountContactParentTicket - - value: assignees,collections,assigned_teams,account,creator - name: AssigneesCollectionsAssignedTeamsAccountCreator - - value: assignees,collections,assigned_teams,account,creator,parent_ticket - name: AssigneesCollectionsAssignedTeamsAccountCreatorParentTicket - - value: assignees,collections,assigned_teams,account,parent_ticket - name: AssigneesCollectionsAssignedTeamsAccountParentTicket - - value: assignees,collections,assigned_teams,contact - name: AssigneesCollectionsAssignedTeamsContact - - value: assignees,collections,assigned_teams,contact,creator - name: AssigneesCollectionsAssignedTeamsContactCreator - - value: assignees,collections,assigned_teams,contact,creator,parent_ticket - name: AssigneesCollectionsAssignedTeamsContactCreatorParentTicket - - value: assignees,collections,assigned_teams,contact,parent_ticket - name: AssigneesCollectionsAssignedTeamsContactParentTicket - - value: assignees,collections,assigned_teams,creator - name: AssigneesCollectionsAssignedTeamsCreator - - value: assignees,collections,assigned_teams,creator,parent_ticket - name: AssigneesCollectionsAssignedTeamsCreatorParentTicket - - value: assignees,collections,assigned_teams,parent_ticket - name: AssigneesCollectionsAssignedTeamsParentTicket - - value: assignees,collections,contact - name: AssigneesCollectionsContact - - value: assignees,collections,contact,creator - name: AssigneesCollectionsContactCreator - - value: assignees,collections,contact,creator,parent_ticket - name: AssigneesCollectionsContactCreatorParentTicket - - value: assignees,collections,contact,parent_ticket - name: AssigneesCollectionsContactParentTicket - - value: assignees,collections,creator - name: AssigneesCollectionsCreator - - value: assignees,collections,creator,parent_ticket - name: AssigneesCollectionsCreatorParentTicket - - value: assignees,collections,parent_ticket - name: AssigneesCollectionsParentTicket - - value: assignees,contact - name: AssigneesContact - - value: assignees,contact,creator - name: AssigneesContactCreator - - value: assignees,contact,creator,parent_ticket - name: AssigneesContactCreatorParentTicket - - value: assignees,contact,parent_ticket - name: AssigneesContactParentTicket - - value: assignees,creator - name: AssigneesCreator - - value: assignees,creator,parent_ticket - name: AssigneesCreatorParentTicket - - value: assignees,parent_ticket - name: AssigneesParentTicket - - attachments - - value: attachments,account - name: AttachmentsAccount - - value: attachments,account,contact - name: AttachmentsAccountContact - - value: attachments,account,contact,creator - name: AttachmentsAccountContactCreator - - value: attachments,account,contact,creator,parent_ticket - name: AttachmentsAccountContactCreatorParentTicket - - value: attachments,account,contact,parent_ticket - name: AttachmentsAccountContactParentTicket - - value: attachments,account,creator - name: AttachmentsAccountCreator - - value: attachments,account,creator,parent_ticket - name: AttachmentsAccountCreatorParentTicket - - value: attachments,account,parent_ticket - name: AttachmentsAccountParentTicket - - value: attachments,assigned_teams - name: AttachmentsAssignedTeams - - value: attachments,assigned_teams,account - name: AttachmentsAssignedTeamsAccount - - value: attachments,assigned_teams,account,contact - name: AttachmentsAssignedTeamsAccountContact - - value: attachments,assigned_teams,account,contact,creator - name: AttachmentsAssignedTeamsAccountContactCreator - - value: attachments,assigned_teams,account,contact,creator,parent_ticket - name: AttachmentsAssignedTeamsAccountContactCreatorParentTicket - - value: attachments,assigned_teams,account,contact,parent_ticket - name: AttachmentsAssignedTeamsAccountContactParentTicket - - value: attachments,assigned_teams,account,creator - name: AttachmentsAssignedTeamsAccountCreator - - value: attachments,assigned_teams,account,creator,parent_ticket - name: AttachmentsAssignedTeamsAccountCreatorParentTicket - - value: attachments,assigned_teams,account,parent_ticket - name: AttachmentsAssignedTeamsAccountParentTicket - - value: attachments,assigned_teams,contact - name: AttachmentsAssignedTeamsContact - - value: attachments,assigned_teams,contact,creator - name: AttachmentsAssignedTeamsContactCreator - - value: attachments,assigned_teams,contact,creator,parent_ticket - name: AttachmentsAssignedTeamsContactCreatorParentTicket - - value: attachments,assigned_teams,contact,parent_ticket - name: AttachmentsAssignedTeamsContactParentTicket - - value: attachments,assigned_teams,creator - name: AttachmentsAssignedTeamsCreator - - value: attachments,assigned_teams,creator,parent_ticket - name: AttachmentsAssignedTeamsCreatorParentTicket - - value: attachments,assigned_teams,parent_ticket - name: AttachmentsAssignedTeamsParentTicket - - value: attachments,assignees - name: AttachmentsAssignees - - value: attachments,assignees,account - name: AttachmentsAssigneesAccount - - value: attachments,assignees,account,contact - name: AttachmentsAssigneesAccountContact - - value: attachments,assignees,account,contact,creator - name: AttachmentsAssigneesAccountContactCreator - - value: attachments,assignees,account,contact,creator,parent_ticket - name: AttachmentsAssigneesAccountContactCreatorParentTicket - - value: attachments,assignees,account,contact,parent_ticket - name: AttachmentsAssigneesAccountContactParentTicket - - value: attachments,assignees,account,creator - name: AttachmentsAssigneesAccountCreator - - value: attachments,assignees,account,creator,parent_ticket - name: AttachmentsAssigneesAccountCreatorParentTicket - - value: attachments,assignees,account,parent_ticket - name: AttachmentsAssigneesAccountParentTicket - - value: attachments,assignees,assigned_teams - name: AttachmentsAssigneesAssignedTeams - - value: attachments,assignees,assigned_teams,account - name: AttachmentsAssigneesAssignedTeamsAccount - - value: attachments,assignees,assigned_teams,account,contact - name: AttachmentsAssigneesAssignedTeamsAccountContact - - value: attachments,assignees,assigned_teams,account,contact,creator - name: AttachmentsAssigneesAssignedTeamsAccountContactCreator - - value: >- - attachments,assignees,assigned_teams,account,contact,creator,parent_ticket - name: AttachmentsAssigneesAssignedTeamsAccountContactCreatorParentTicket - - value: attachments,assignees,assigned_teams,account,contact,parent_ticket - name: AttachmentsAssigneesAssignedTeamsAccountContactParentTicket - - value: attachments,assignees,assigned_teams,account,creator - name: AttachmentsAssigneesAssignedTeamsAccountCreator - - value: attachments,assignees,assigned_teams,account,creator,parent_ticket - name: AttachmentsAssigneesAssignedTeamsAccountCreatorParentTicket - - value: attachments,assignees,assigned_teams,account,parent_ticket - name: AttachmentsAssigneesAssignedTeamsAccountParentTicket - - value: attachments,assignees,assigned_teams,contact - name: AttachmentsAssigneesAssignedTeamsContact - - value: attachments,assignees,assigned_teams,contact,creator - name: AttachmentsAssigneesAssignedTeamsContactCreator - - value: attachments,assignees,assigned_teams,contact,creator,parent_ticket - name: AttachmentsAssigneesAssignedTeamsContactCreatorParentTicket - - value: attachments,assignees,assigned_teams,contact,parent_ticket - name: AttachmentsAssigneesAssignedTeamsContactParentTicket - - value: attachments,assignees,assigned_teams,creator - name: AttachmentsAssigneesAssignedTeamsCreator - - value: attachments,assignees,assigned_teams,creator,parent_ticket - name: AttachmentsAssigneesAssignedTeamsCreatorParentTicket - - value: attachments,assignees,assigned_teams,parent_ticket - name: AttachmentsAssigneesAssignedTeamsParentTicket - - value: attachments,assignees,collections - name: AttachmentsAssigneesCollections - - value: attachments,assignees,collections,account - name: AttachmentsAssigneesCollectionsAccount - - value: attachments,assignees,collections,account,contact - name: AttachmentsAssigneesCollectionsAccountContact - - value: attachments,assignees,collections,account,contact,creator - name: AttachmentsAssigneesCollectionsAccountContactCreator - - value: >- - attachments,assignees,collections,account,contact,creator,parent_ticket - name: AttachmentsAssigneesCollectionsAccountContactCreatorParentTicket - - value: attachments,assignees,collections,account,contact,parent_ticket - name: AttachmentsAssigneesCollectionsAccountContactParentTicket - - value: attachments,assignees,collections,account,creator - name: AttachmentsAssigneesCollectionsAccountCreator - - value: attachments,assignees,collections,account,creator,parent_ticket - name: AttachmentsAssigneesCollectionsAccountCreatorParentTicket - - value: attachments,assignees,collections,account,parent_ticket - name: AttachmentsAssigneesCollectionsAccountParentTicket - - value: attachments,assignees,collections,assigned_teams - name: AttachmentsAssigneesCollectionsAssignedTeams - - value: attachments,assignees,collections,assigned_teams,account - name: AttachmentsAssigneesCollectionsAssignedTeamsAccount - - value: attachments,assignees,collections,assigned_teams,account,contact - name: AttachmentsAssigneesCollectionsAssignedTeamsAccountContact - - value: >- - attachments,assignees,collections,assigned_teams,account,contact,creator - name: AttachmentsAssigneesCollectionsAssignedTeamsAccountContactCreator - - value: >- - attachments,assignees,collections,assigned_teams,account,contact,creator,parent_ticket - name: >- - AttachmentsAssigneesCollectionsAssignedTeamsAccountContactCreatorParentTicket - - value: >- - attachments,assignees,collections,assigned_teams,account,contact,parent_ticket - name: AttachmentsAssigneesCollectionsAssignedTeamsAccountContactParentTicket - - value: attachments,assignees,collections,assigned_teams,account,creator - name: AttachmentsAssigneesCollectionsAssignedTeamsAccountCreator - - value: >- - attachments,assignees,collections,assigned_teams,account,creator,parent_ticket - name: AttachmentsAssigneesCollectionsAssignedTeamsAccountCreatorParentTicket - - value: attachments,assignees,collections,assigned_teams,account,parent_ticket - name: AttachmentsAssigneesCollectionsAssignedTeamsAccountParentTicket - - value: attachments,assignees,collections,assigned_teams,contact - name: AttachmentsAssigneesCollectionsAssignedTeamsContact - - value: attachments,assignees,collections,assigned_teams,contact,creator - name: AttachmentsAssigneesCollectionsAssignedTeamsContactCreator - - value: >- - attachments,assignees,collections,assigned_teams,contact,creator,parent_ticket - name: AttachmentsAssigneesCollectionsAssignedTeamsContactCreatorParentTicket - - value: attachments,assignees,collections,assigned_teams,contact,parent_ticket - name: AttachmentsAssigneesCollectionsAssignedTeamsContactParentTicket - - value: attachments,assignees,collections,assigned_teams,creator - name: AttachmentsAssigneesCollectionsAssignedTeamsCreator - - value: attachments,assignees,collections,assigned_teams,creator,parent_ticket - name: AttachmentsAssigneesCollectionsAssignedTeamsCreatorParentTicket - - value: attachments,assignees,collections,assigned_teams,parent_ticket - name: AttachmentsAssigneesCollectionsAssignedTeamsParentTicket - - value: attachments,assignees,collections,contact - name: AttachmentsAssigneesCollectionsContact - - value: attachments,assignees,collections,contact,creator - name: AttachmentsAssigneesCollectionsContactCreator - - value: attachments,assignees,collections,contact,creator,parent_ticket - name: AttachmentsAssigneesCollectionsContactCreatorParentTicket - - value: attachments,assignees,collections,contact,parent_ticket - name: AttachmentsAssigneesCollectionsContactParentTicket - - value: attachments,assignees,collections,creator - name: AttachmentsAssigneesCollectionsCreator - - value: attachments,assignees,collections,creator,parent_ticket - name: AttachmentsAssigneesCollectionsCreatorParentTicket - - value: attachments,assignees,collections,parent_ticket - name: AttachmentsAssigneesCollectionsParentTicket - - value: attachments,assignees,contact - name: AttachmentsAssigneesContact - - value: attachments,assignees,contact,creator - name: AttachmentsAssigneesContactCreator - - value: attachments,assignees,contact,creator,parent_ticket - name: AttachmentsAssigneesContactCreatorParentTicket - - value: attachments,assignees,contact,parent_ticket - name: AttachmentsAssigneesContactParentTicket - - value: attachments,assignees,creator - name: AttachmentsAssigneesCreator - - value: attachments,assignees,creator,parent_ticket - name: AttachmentsAssigneesCreatorParentTicket - - value: attachments,assignees,parent_ticket - name: AttachmentsAssigneesParentTicket - - value: attachments,collections - name: AttachmentsCollections - - value: attachments,collections,account - name: AttachmentsCollectionsAccount - - value: attachments,collections,account,contact - name: AttachmentsCollectionsAccountContact - - value: attachments,collections,account,contact,creator - name: AttachmentsCollectionsAccountContactCreator - - value: attachments,collections,account,contact,creator,parent_ticket - name: AttachmentsCollectionsAccountContactCreatorParentTicket - - value: attachments,collections,account,contact,parent_ticket - name: AttachmentsCollectionsAccountContactParentTicket - - value: attachments,collections,account,creator - name: AttachmentsCollectionsAccountCreator - - value: attachments,collections,account,creator,parent_ticket - name: AttachmentsCollectionsAccountCreatorParentTicket - - value: attachments,collections,account,parent_ticket - name: AttachmentsCollectionsAccountParentTicket - - value: attachments,collections,assigned_teams - name: AttachmentsCollectionsAssignedTeams - - value: attachments,collections,assigned_teams,account - name: AttachmentsCollectionsAssignedTeamsAccount - - value: attachments,collections,assigned_teams,account,contact - name: AttachmentsCollectionsAssignedTeamsAccountContact - - value: attachments,collections,assigned_teams,account,contact,creator - name: AttachmentsCollectionsAssignedTeamsAccountContactCreator - - value: >- - attachments,collections,assigned_teams,account,contact,creator,parent_ticket - name: AttachmentsCollectionsAssignedTeamsAccountContactCreatorParentTicket - - value: attachments,collections,assigned_teams,account,contact,parent_ticket - name: AttachmentsCollectionsAssignedTeamsAccountContactParentTicket - - value: attachments,collections,assigned_teams,account,creator - name: AttachmentsCollectionsAssignedTeamsAccountCreator - - value: attachments,collections,assigned_teams,account,creator,parent_ticket - name: AttachmentsCollectionsAssignedTeamsAccountCreatorParentTicket - - value: attachments,collections,assigned_teams,account,parent_ticket - name: AttachmentsCollectionsAssignedTeamsAccountParentTicket - - value: attachments,collections,assigned_teams,contact - name: AttachmentsCollectionsAssignedTeamsContact - - value: attachments,collections,assigned_teams,contact,creator - name: AttachmentsCollectionsAssignedTeamsContactCreator - - value: attachments,collections,assigned_teams,contact,creator,parent_ticket - name: AttachmentsCollectionsAssignedTeamsContactCreatorParentTicket - - value: attachments,collections,assigned_teams,contact,parent_ticket - name: AttachmentsCollectionsAssignedTeamsContactParentTicket - - value: attachments,collections,assigned_teams,creator - name: AttachmentsCollectionsAssignedTeamsCreator - - value: attachments,collections,assigned_teams,creator,parent_ticket - name: AttachmentsCollectionsAssignedTeamsCreatorParentTicket - - value: attachments,collections,assigned_teams,parent_ticket - name: AttachmentsCollectionsAssignedTeamsParentTicket - - value: attachments,collections,contact - name: AttachmentsCollectionsContact - - value: attachments,collections,contact,creator - name: AttachmentsCollectionsContactCreator - - value: attachments,collections,contact,creator,parent_ticket - name: AttachmentsCollectionsContactCreatorParentTicket - - value: attachments,collections,contact,parent_ticket - name: AttachmentsCollectionsContactParentTicket - - value: attachments,collections,creator - name: AttachmentsCollectionsCreator - - value: attachments,collections,creator,parent_ticket - name: AttachmentsCollectionsCreatorParentTicket - - value: attachments,collections,parent_ticket - name: AttachmentsCollectionsParentTicket - - value: attachments,contact - name: AttachmentsContact - - value: attachments,contact,creator - name: AttachmentsContactCreator - - value: attachments,contact,creator,parent_ticket - name: AttachmentsContactCreatorParentTicket - - value: attachments,contact,parent_ticket - name: AttachmentsContactParentTicket - - value: attachments,creator - name: AttachmentsCreator - - value: attachments,creator,parent_ticket - name: AttachmentsCreatorParentTicket - - value: attachments,parent_ticket - name: AttachmentsParentTicket - - collections - - value: collections,account - name: CollectionsAccount - - value: collections,account,contact - name: CollectionsAccountContact - - value: collections,account,contact,creator - name: CollectionsAccountContactCreator - - value: collections,account,contact,creator,parent_ticket - name: CollectionsAccountContactCreatorParentTicket - - value: collections,account,contact,parent_ticket - name: CollectionsAccountContactParentTicket - - value: collections,account,creator - name: CollectionsAccountCreator - - value: collections,account,creator,parent_ticket - name: CollectionsAccountCreatorParentTicket - - value: collections,account,parent_ticket - name: CollectionsAccountParentTicket - - value: collections,assigned_teams - name: CollectionsAssignedTeams - - value: collections,assigned_teams,account - name: CollectionsAssignedTeamsAccount - - value: collections,assigned_teams,account,contact - name: CollectionsAssignedTeamsAccountContact - - value: collections,assigned_teams,account,contact,creator - name: CollectionsAssignedTeamsAccountContactCreator - - value: collections,assigned_teams,account,contact,creator,parent_ticket - name: CollectionsAssignedTeamsAccountContactCreatorParentTicket - - value: collections,assigned_teams,account,contact,parent_ticket - name: CollectionsAssignedTeamsAccountContactParentTicket - - value: collections,assigned_teams,account,creator - name: CollectionsAssignedTeamsAccountCreator - - value: collections,assigned_teams,account,creator,parent_ticket - name: CollectionsAssignedTeamsAccountCreatorParentTicket - - value: collections,assigned_teams,account,parent_ticket - name: CollectionsAssignedTeamsAccountParentTicket - - value: collections,assigned_teams,contact - name: CollectionsAssignedTeamsContact - - value: collections,assigned_teams,contact,creator - name: CollectionsAssignedTeamsContactCreator - - value: collections,assigned_teams,contact,creator,parent_ticket - name: CollectionsAssignedTeamsContactCreatorParentTicket - - value: collections,assigned_teams,contact,parent_ticket - name: CollectionsAssignedTeamsContactParentTicket - - value: collections,assigned_teams,creator - name: CollectionsAssignedTeamsCreator - - value: collections,assigned_teams,creator,parent_ticket - name: CollectionsAssignedTeamsCreatorParentTicket - - value: collections,assigned_teams,parent_ticket - name: CollectionsAssignedTeamsParentTicket - - value: collections,contact - name: CollectionsContact - - value: collections,contact,creator - name: CollectionsContactCreator - - value: collections,contact,creator,parent_ticket - name: CollectionsContactCreatorParentTicket - - value: collections,contact,parent_ticket - name: CollectionsContactParentTicket - - value: collections,creator - name: CollectionsCreator - - value: collections,creator,parent_ticket - name: CollectionsCreatorParentTicket - - value: collections,parent_ticket - name: CollectionsParentTicket - - contact - - value: contact,creator - name: ContactCreator - - value: contact,creator,parent_ticket - name: ContactCreatorParentTicket - - value: contact,parent_ticket - name: ContactParentTicket - - creator - - value: creator,parent_ticket - name: CreatorParentTicket - - parent_ticket - source: - openapi: openapi/openapi.yml - TicketsListRequestPriority: - enum: - - HIGH - - LOW - - NORMAL - - URGENT - source: - openapi: openapi/openapi.yml - TicketsListRequestRemoteFields: - enum: - - priority - - value: priority,status - name: PriorityStatus - - value: priority,status,ticket_type - name: PriorityStatusTicketType - - value: priority,ticket_type - name: PriorityTicketType - - status - - value: status,ticket_type - name: StatusTicketType - - ticket_type - source: - openapi: openapi/openapi.yml - TicketsListRequestShowEnumOrigins: - enum: - - priority - - value: priority,status - name: PriorityStatus - - value: priority,status,ticket_type - name: PriorityStatusTicketType - - value: priority,ticket_type - name: PriorityTicketType - - status - - value: status,ticket_type - name: StatusTicketType - - ticket_type - source: - openapi: openapi/openapi.yml - TicketsListRequestStatus: - enum: - - value: '' - name: EMPTY - - CLOSED - - IN_PROGRESS - - ON_HOLD - - OPEN - source: - openapi: openapi/openapi.yml - TicketsRetrieveRequestExpand: - enum: - - account - - value: account,contact - name: AccountContact - - value: account,contact,creator - name: AccountContactCreator - - value: account,contact,creator,parent_ticket - name: AccountContactCreatorParentTicket - - value: account,contact,parent_ticket - name: AccountContactParentTicket - - value: account,creator - name: AccountCreator - - value: account,creator,parent_ticket - name: AccountCreatorParentTicket - - value: account,parent_ticket - name: AccountParentTicket - - assigned_teams - - value: assigned_teams,account - name: AssignedTeamsAccount - - value: assigned_teams,account,contact - name: AssignedTeamsAccountContact - - value: assigned_teams,account,contact,creator - name: AssignedTeamsAccountContactCreator - - value: assigned_teams,account,contact,creator,parent_ticket - name: AssignedTeamsAccountContactCreatorParentTicket - - value: assigned_teams,account,contact,parent_ticket - name: AssignedTeamsAccountContactParentTicket - - value: assigned_teams,account,creator - name: AssignedTeamsAccountCreator - - value: assigned_teams,account,creator,parent_ticket - name: AssignedTeamsAccountCreatorParentTicket - - value: assigned_teams,account,parent_ticket - name: AssignedTeamsAccountParentTicket - - value: assigned_teams,contact - name: AssignedTeamsContact - - value: assigned_teams,contact,creator - name: AssignedTeamsContactCreator - - value: assigned_teams,contact,creator,parent_ticket - name: AssignedTeamsContactCreatorParentTicket - - value: assigned_teams,contact,parent_ticket - name: AssignedTeamsContactParentTicket - - value: assigned_teams,creator - name: AssignedTeamsCreator - - value: assigned_teams,creator,parent_ticket - name: AssignedTeamsCreatorParentTicket - - value: assigned_teams,parent_ticket - name: AssignedTeamsParentTicket - - assignees - - value: assignees,account - name: AssigneesAccount - - value: assignees,account,contact - name: AssigneesAccountContact - - value: assignees,account,contact,creator - name: AssigneesAccountContactCreator - - value: assignees,account,contact,creator,parent_ticket - name: AssigneesAccountContactCreatorParentTicket - - value: assignees,account,contact,parent_ticket - name: AssigneesAccountContactParentTicket - - value: assignees,account,creator - name: AssigneesAccountCreator - - value: assignees,account,creator,parent_ticket - name: AssigneesAccountCreatorParentTicket - - value: assignees,account,parent_ticket - name: AssigneesAccountParentTicket - - value: assignees,assigned_teams - name: AssigneesAssignedTeams - - value: assignees,assigned_teams,account - name: AssigneesAssignedTeamsAccount - - value: assignees,assigned_teams,account,contact - name: AssigneesAssignedTeamsAccountContact - - value: assignees,assigned_teams,account,contact,creator - name: AssigneesAssignedTeamsAccountContactCreator - - value: assignees,assigned_teams,account,contact,creator,parent_ticket - name: AssigneesAssignedTeamsAccountContactCreatorParentTicket - - value: assignees,assigned_teams,account,contact,parent_ticket - name: AssigneesAssignedTeamsAccountContactParentTicket - - value: assignees,assigned_teams,account,creator - name: AssigneesAssignedTeamsAccountCreator - - value: assignees,assigned_teams,account,creator,parent_ticket - name: AssigneesAssignedTeamsAccountCreatorParentTicket - - value: assignees,assigned_teams,account,parent_ticket - name: AssigneesAssignedTeamsAccountParentTicket - - value: assignees,assigned_teams,contact - name: AssigneesAssignedTeamsContact - - value: assignees,assigned_teams,contact,creator - name: AssigneesAssignedTeamsContactCreator - - value: assignees,assigned_teams,contact,creator,parent_ticket - name: AssigneesAssignedTeamsContactCreatorParentTicket - - value: assignees,assigned_teams,contact,parent_ticket - name: AssigneesAssignedTeamsContactParentTicket - - value: assignees,assigned_teams,creator - name: AssigneesAssignedTeamsCreator - - value: assignees,assigned_teams,creator,parent_ticket - name: AssigneesAssignedTeamsCreatorParentTicket - - value: assignees,assigned_teams,parent_ticket - name: AssigneesAssignedTeamsParentTicket - - value: assignees,collections - name: AssigneesCollections - - value: assignees,collections,account - name: AssigneesCollectionsAccount - - value: assignees,collections,account,contact - name: AssigneesCollectionsAccountContact - - value: assignees,collections,account,contact,creator - name: AssigneesCollectionsAccountContactCreator - - value: assignees,collections,account,contact,creator,parent_ticket - name: AssigneesCollectionsAccountContactCreatorParentTicket - - value: assignees,collections,account,contact,parent_ticket - name: AssigneesCollectionsAccountContactParentTicket - - value: assignees,collections,account,creator - name: AssigneesCollectionsAccountCreator - - value: assignees,collections,account,creator,parent_ticket - name: AssigneesCollectionsAccountCreatorParentTicket - - value: assignees,collections,account,parent_ticket - name: AssigneesCollectionsAccountParentTicket - - value: assignees,collections,assigned_teams - name: AssigneesCollectionsAssignedTeams - - value: assignees,collections,assigned_teams,account - name: AssigneesCollectionsAssignedTeamsAccount - - value: assignees,collections,assigned_teams,account,contact - name: AssigneesCollectionsAssignedTeamsAccountContact - - value: assignees,collections,assigned_teams,account,contact,creator - name: AssigneesCollectionsAssignedTeamsAccountContactCreator - - value: >- - assignees,collections,assigned_teams,account,contact,creator,parent_ticket - name: AssigneesCollectionsAssignedTeamsAccountContactCreatorParentTicket - - value: assignees,collections,assigned_teams,account,contact,parent_ticket - name: AssigneesCollectionsAssignedTeamsAccountContactParentTicket - - value: assignees,collections,assigned_teams,account,creator - name: AssigneesCollectionsAssignedTeamsAccountCreator - - value: assignees,collections,assigned_teams,account,creator,parent_ticket - name: AssigneesCollectionsAssignedTeamsAccountCreatorParentTicket - - value: assignees,collections,assigned_teams,account,parent_ticket - name: AssigneesCollectionsAssignedTeamsAccountParentTicket - - value: assignees,collections,assigned_teams,contact - name: AssigneesCollectionsAssignedTeamsContact - - value: assignees,collections,assigned_teams,contact,creator - name: AssigneesCollectionsAssignedTeamsContactCreator - - value: assignees,collections,assigned_teams,contact,creator,parent_ticket - name: AssigneesCollectionsAssignedTeamsContactCreatorParentTicket - - value: assignees,collections,assigned_teams,contact,parent_ticket - name: AssigneesCollectionsAssignedTeamsContactParentTicket - - value: assignees,collections,assigned_teams,creator - name: AssigneesCollectionsAssignedTeamsCreator - - value: assignees,collections,assigned_teams,creator,parent_ticket - name: AssigneesCollectionsAssignedTeamsCreatorParentTicket - - value: assignees,collections,assigned_teams,parent_ticket - name: AssigneesCollectionsAssignedTeamsParentTicket - - value: assignees,collections,contact - name: AssigneesCollectionsContact - - value: assignees,collections,contact,creator - name: AssigneesCollectionsContactCreator - - value: assignees,collections,contact,creator,parent_ticket - name: AssigneesCollectionsContactCreatorParentTicket - - value: assignees,collections,contact,parent_ticket - name: AssigneesCollectionsContactParentTicket - - value: assignees,collections,creator - name: AssigneesCollectionsCreator - - value: assignees,collections,creator,parent_ticket - name: AssigneesCollectionsCreatorParentTicket - - value: assignees,collections,parent_ticket - name: AssigneesCollectionsParentTicket - - value: assignees,contact - name: AssigneesContact - - value: assignees,contact,creator - name: AssigneesContactCreator - - value: assignees,contact,creator,parent_ticket - name: AssigneesContactCreatorParentTicket - - value: assignees,contact,parent_ticket - name: AssigneesContactParentTicket - - value: assignees,creator - name: AssigneesCreator - - value: assignees,creator,parent_ticket - name: AssigneesCreatorParentTicket - - value: assignees,parent_ticket - name: AssigneesParentTicket - - attachments - - value: attachments,account - name: AttachmentsAccount - - value: attachments,account,contact - name: AttachmentsAccountContact - - value: attachments,account,contact,creator - name: AttachmentsAccountContactCreator - - value: attachments,account,contact,creator,parent_ticket - name: AttachmentsAccountContactCreatorParentTicket - - value: attachments,account,contact,parent_ticket - name: AttachmentsAccountContactParentTicket - - value: attachments,account,creator - name: AttachmentsAccountCreator - - value: attachments,account,creator,parent_ticket - name: AttachmentsAccountCreatorParentTicket - - value: attachments,account,parent_ticket - name: AttachmentsAccountParentTicket - - value: attachments,assigned_teams - name: AttachmentsAssignedTeams - - value: attachments,assigned_teams,account - name: AttachmentsAssignedTeamsAccount - - value: attachments,assigned_teams,account,contact - name: AttachmentsAssignedTeamsAccountContact - - value: attachments,assigned_teams,account,contact,creator - name: AttachmentsAssignedTeamsAccountContactCreator - - value: attachments,assigned_teams,account,contact,creator,parent_ticket - name: AttachmentsAssignedTeamsAccountContactCreatorParentTicket - - value: attachments,assigned_teams,account,contact,parent_ticket - name: AttachmentsAssignedTeamsAccountContactParentTicket - - value: attachments,assigned_teams,account,creator - name: AttachmentsAssignedTeamsAccountCreator - - value: attachments,assigned_teams,account,creator,parent_ticket - name: AttachmentsAssignedTeamsAccountCreatorParentTicket - - value: attachments,assigned_teams,account,parent_ticket - name: AttachmentsAssignedTeamsAccountParentTicket - - value: attachments,assigned_teams,contact - name: AttachmentsAssignedTeamsContact - - value: attachments,assigned_teams,contact,creator - name: AttachmentsAssignedTeamsContactCreator - - value: attachments,assigned_teams,contact,creator,parent_ticket - name: AttachmentsAssignedTeamsContactCreatorParentTicket - - value: attachments,assigned_teams,contact,parent_ticket - name: AttachmentsAssignedTeamsContactParentTicket - - value: attachments,assigned_teams,creator - name: AttachmentsAssignedTeamsCreator - - value: attachments,assigned_teams,creator,parent_ticket - name: AttachmentsAssignedTeamsCreatorParentTicket - - value: attachments,assigned_teams,parent_ticket - name: AttachmentsAssignedTeamsParentTicket - - value: attachments,assignees - name: AttachmentsAssignees - - value: attachments,assignees,account - name: AttachmentsAssigneesAccount - - value: attachments,assignees,account,contact - name: AttachmentsAssigneesAccountContact - - value: attachments,assignees,account,contact,creator - name: AttachmentsAssigneesAccountContactCreator - - value: attachments,assignees,account,contact,creator,parent_ticket - name: AttachmentsAssigneesAccountContactCreatorParentTicket - - value: attachments,assignees,account,contact,parent_ticket - name: AttachmentsAssigneesAccountContactParentTicket - - value: attachments,assignees,account,creator - name: AttachmentsAssigneesAccountCreator - - value: attachments,assignees,account,creator,parent_ticket - name: AttachmentsAssigneesAccountCreatorParentTicket - - value: attachments,assignees,account,parent_ticket - name: AttachmentsAssigneesAccountParentTicket - - value: attachments,assignees,assigned_teams - name: AttachmentsAssigneesAssignedTeams - - value: attachments,assignees,assigned_teams,account - name: AttachmentsAssigneesAssignedTeamsAccount - - value: attachments,assignees,assigned_teams,account,contact - name: AttachmentsAssigneesAssignedTeamsAccountContact - - value: attachments,assignees,assigned_teams,account,contact,creator - name: AttachmentsAssigneesAssignedTeamsAccountContactCreator - - value: >- - attachments,assignees,assigned_teams,account,contact,creator,parent_ticket - name: AttachmentsAssigneesAssignedTeamsAccountContactCreatorParentTicket - - value: attachments,assignees,assigned_teams,account,contact,parent_ticket - name: AttachmentsAssigneesAssignedTeamsAccountContactParentTicket - - value: attachments,assignees,assigned_teams,account,creator - name: AttachmentsAssigneesAssignedTeamsAccountCreator - - value: attachments,assignees,assigned_teams,account,creator,parent_ticket - name: AttachmentsAssigneesAssignedTeamsAccountCreatorParentTicket - - value: attachments,assignees,assigned_teams,account,parent_ticket - name: AttachmentsAssigneesAssignedTeamsAccountParentTicket - - value: attachments,assignees,assigned_teams,contact - name: AttachmentsAssigneesAssignedTeamsContact - - value: attachments,assignees,assigned_teams,contact,creator - name: AttachmentsAssigneesAssignedTeamsContactCreator - - value: attachments,assignees,assigned_teams,contact,creator,parent_ticket - name: AttachmentsAssigneesAssignedTeamsContactCreatorParentTicket - - value: attachments,assignees,assigned_teams,contact,parent_ticket - name: AttachmentsAssigneesAssignedTeamsContactParentTicket - - value: attachments,assignees,assigned_teams,creator - name: AttachmentsAssigneesAssignedTeamsCreator - - value: attachments,assignees,assigned_teams,creator,parent_ticket - name: AttachmentsAssigneesAssignedTeamsCreatorParentTicket - - value: attachments,assignees,assigned_teams,parent_ticket - name: AttachmentsAssigneesAssignedTeamsParentTicket - - value: attachments,assignees,collections - name: AttachmentsAssigneesCollections - - value: attachments,assignees,collections,account - name: AttachmentsAssigneesCollectionsAccount - - value: attachments,assignees,collections,account,contact - name: AttachmentsAssigneesCollectionsAccountContact - - value: attachments,assignees,collections,account,contact,creator - name: AttachmentsAssigneesCollectionsAccountContactCreator - - value: >- - attachments,assignees,collections,account,contact,creator,parent_ticket - name: AttachmentsAssigneesCollectionsAccountContactCreatorParentTicket - - value: attachments,assignees,collections,account,contact,parent_ticket - name: AttachmentsAssigneesCollectionsAccountContactParentTicket - - value: attachments,assignees,collections,account,creator - name: AttachmentsAssigneesCollectionsAccountCreator - - value: attachments,assignees,collections,account,creator,parent_ticket - name: AttachmentsAssigneesCollectionsAccountCreatorParentTicket - - value: attachments,assignees,collections,account,parent_ticket - name: AttachmentsAssigneesCollectionsAccountParentTicket - - value: attachments,assignees,collections,assigned_teams - name: AttachmentsAssigneesCollectionsAssignedTeams - - value: attachments,assignees,collections,assigned_teams,account - name: AttachmentsAssigneesCollectionsAssignedTeamsAccount - - value: attachments,assignees,collections,assigned_teams,account,contact - name: AttachmentsAssigneesCollectionsAssignedTeamsAccountContact - - value: >- - attachments,assignees,collections,assigned_teams,account,contact,creator - name: AttachmentsAssigneesCollectionsAssignedTeamsAccountContactCreator - - value: >- - attachments,assignees,collections,assigned_teams,account,contact,creator,parent_ticket - name: >- - AttachmentsAssigneesCollectionsAssignedTeamsAccountContactCreatorParentTicket - - value: >- - attachments,assignees,collections,assigned_teams,account,contact,parent_ticket - name: AttachmentsAssigneesCollectionsAssignedTeamsAccountContactParentTicket - - value: attachments,assignees,collections,assigned_teams,account,creator - name: AttachmentsAssigneesCollectionsAssignedTeamsAccountCreator - - value: >- - attachments,assignees,collections,assigned_teams,account,creator,parent_ticket - name: AttachmentsAssigneesCollectionsAssignedTeamsAccountCreatorParentTicket - - value: attachments,assignees,collections,assigned_teams,account,parent_ticket - name: AttachmentsAssigneesCollectionsAssignedTeamsAccountParentTicket - - value: attachments,assignees,collections,assigned_teams,contact - name: AttachmentsAssigneesCollectionsAssignedTeamsContact - - value: attachments,assignees,collections,assigned_teams,contact,creator - name: AttachmentsAssigneesCollectionsAssignedTeamsContactCreator - - value: >- - attachments,assignees,collections,assigned_teams,contact,creator,parent_ticket - name: AttachmentsAssigneesCollectionsAssignedTeamsContactCreatorParentTicket - - value: attachments,assignees,collections,assigned_teams,contact,parent_ticket - name: AttachmentsAssigneesCollectionsAssignedTeamsContactParentTicket - - value: attachments,assignees,collections,assigned_teams,creator - name: AttachmentsAssigneesCollectionsAssignedTeamsCreator - - value: attachments,assignees,collections,assigned_teams,creator,parent_ticket - name: AttachmentsAssigneesCollectionsAssignedTeamsCreatorParentTicket - - value: attachments,assignees,collections,assigned_teams,parent_ticket - name: AttachmentsAssigneesCollectionsAssignedTeamsParentTicket - - value: attachments,assignees,collections,contact - name: AttachmentsAssigneesCollectionsContact - - value: attachments,assignees,collections,contact,creator - name: AttachmentsAssigneesCollectionsContactCreator - - value: attachments,assignees,collections,contact,creator,parent_ticket - name: AttachmentsAssigneesCollectionsContactCreatorParentTicket - - value: attachments,assignees,collections,contact,parent_ticket - name: AttachmentsAssigneesCollectionsContactParentTicket - - value: attachments,assignees,collections,creator - name: AttachmentsAssigneesCollectionsCreator - - value: attachments,assignees,collections,creator,parent_ticket - name: AttachmentsAssigneesCollectionsCreatorParentTicket - - value: attachments,assignees,collections,parent_ticket - name: AttachmentsAssigneesCollectionsParentTicket - - value: attachments,assignees,contact - name: AttachmentsAssigneesContact - - value: attachments,assignees,contact,creator - name: AttachmentsAssigneesContactCreator - - value: attachments,assignees,contact,creator,parent_ticket - name: AttachmentsAssigneesContactCreatorParentTicket - - value: attachments,assignees,contact,parent_ticket - name: AttachmentsAssigneesContactParentTicket - - value: attachments,assignees,creator - name: AttachmentsAssigneesCreator - - value: attachments,assignees,creator,parent_ticket - name: AttachmentsAssigneesCreatorParentTicket - - value: attachments,assignees,parent_ticket - name: AttachmentsAssigneesParentTicket - - value: attachments,collections - name: AttachmentsCollections - - value: attachments,collections,account - name: AttachmentsCollectionsAccount - - value: attachments,collections,account,contact - name: AttachmentsCollectionsAccountContact - - value: attachments,collections,account,contact,creator - name: AttachmentsCollectionsAccountContactCreator - - value: attachments,collections,account,contact,creator,parent_ticket - name: AttachmentsCollectionsAccountContactCreatorParentTicket - - value: attachments,collections,account,contact,parent_ticket - name: AttachmentsCollectionsAccountContactParentTicket - - value: attachments,collections,account,creator - name: AttachmentsCollectionsAccountCreator - - value: attachments,collections,account,creator,parent_ticket - name: AttachmentsCollectionsAccountCreatorParentTicket - - value: attachments,collections,account,parent_ticket - name: AttachmentsCollectionsAccountParentTicket - - value: attachments,collections,assigned_teams - name: AttachmentsCollectionsAssignedTeams - - value: attachments,collections,assigned_teams,account - name: AttachmentsCollectionsAssignedTeamsAccount - - value: attachments,collections,assigned_teams,account,contact - name: AttachmentsCollectionsAssignedTeamsAccountContact - - value: attachments,collections,assigned_teams,account,contact,creator - name: AttachmentsCollectionsAssignedTeamsAccountContactCreator - - value: >- - attachments,collections,assigned_teams,account,contact,creator,parent_ticket - name: AttachmentsCollectionsAssignedTeamsAccountContactCreatorParentTicket - - value: attachments,collections,assigned_teams,account,contact,parent_ticket - name: AttachmentsCollectionsAssignedTeamsAccountContactParentTicket - - value: attachments,collections,assigned_teams,account,creator - name: AttachmentsCollectionsAssignedTeamsAccountCreator - - value: attachments,collections,assigned_teams,account,creator,parent_ticket - name: AttachmentsCollectionsAssignedTeamsAccountCreatorParentTicket - - value: attachments,collections,assigned_teams,account,parent_ticket - name: AttachmentsCollectionsAssignedTeamsAccountParentTicket - - value: attachments,collections,assigned_teams,contact - name: AttachmentsCollectionsAssignedTeamsContact - - value: attachments,collections,assigned_teams,contact,creator - name: AttachmentsCollectionsAssignedTeamsContactCreator - - value: attachments,collections,assigned_teams,contact,creator,parent_ticket - name: AttachmentsCollectionsAssignedTeamsContactCreatorParentTicket - - value: attachments,collections,assigned_teams,contact,parent_ticket - name: AttachmentsCollectionsAssignedTeamsContactParentTicket - - value: attachments,collections,assigned_teams,creator - name: AttachmentsCollectionsAssignedTeamsCreator - - value: attachments,collections,assigned_teams,creator,parent_ticket - name: AttachmentsCollectionsAssignedTeamsCreatorParentTicket - - value: attachments,collections,assigned_teams,parent_ticket - name: AttachmentsCollectionsAssignedTeamsParentTicket - - value: attachments,collections,contact - name: AttachmentsCollectionsContact - - value: attachments,collections,contact,creator - name: AttachmentsCollectionsContactCreator - - value: attachments,collections,contact,creator,parent_ticket - name: AttachmentsCollectionsContactCreatorParentTicket - - value: attachments,collections,contact,parent_ticket - name: AttachmentsCollectionsContactParentTicket - - value: attachments,collections,creator - name: AttachmentsCollectionsCreator - - value: attachments,collections,creator,parent_ticket - name: AttachmentsCollectionsCreatorParentTicket - - value: attachments,collections,parent_ticket - name: AttachmentsCollectionsParentTicket - - value: attachments,contact - name: AttachmentsContact - - value: attachments,contact,creator - name: AttachmentsContactCreator - - value: attachments,contact,creator,parent_ticket - name: AttachmentsContactCreatorParentTicket - - value: attachments,contact,parent_ticket - name: AttachmentsContactParentTicket - - value: attachments,creator - name: AttachmentsCreator - - value: attachments,creator,parent_ticket - name: AttachmentsCreatorParentTicket - - value: attachments,parent_ticket - name: AttachmentsParentTicket - - collections - - value: collections,account - name: CollectionsAccount - - value: collections,account,contact - name: CollectionsAccountContact - - value: collections,account,contact,creator - name: CollectionsAccountContactCreator - - value: collections,account,contact,creator,parent_ticket - name: CollectionsAccountContactCreatorParentTicket - - value: collections,account,contact,parent_ticket - name: CollectionsAccountContactParentTicket - - value: collections,account,creator - name: CollectionsAccountCreator - - value: collections,account,creator,parent_ticket - name: CollectionsAccountCreatorParentTicket - - value: collections,account,parent_ticket - name: CollectionsAccountParentTicket - - value: collections,assigned_teams - name: CollectionsAssignedTeams - - value: collections,assigned_teams,account - name: CollectionsAssignedTeamsAccount - - value: collections,assigned_teams,account,contact - name: CollectionsAssignedTeamsAccountContact - - value: collections,assigned_teams,account,contact,creator - name: CollectionsAssignedTeamsAccountContactCreator - - value: collections,assigned_teams,account,contact,creator,parent_ticket - name: CollectionsAssignedTeamsAccountContactCreatorParentTicket - - value: collections,assigned_teams,account,contact,parent_ticket - name: CollectionsAssignedTeamsAccountContactParentTicket - - value: collections,assigned_teams,account,creator - name: CollectionsAssignedTeamsAccountCreator - - value: collections,assigned_teams,account,creator,parent_ticket - name: CollectionsAssignedTeamsAccountCreatorParentTicket - - value: collections,assigned_teams,account,parent_ticket - name: CollectionsAssignedTeamsAccountParentTicket - - value: collections,assigned_teams,contact - name: CollectionsAssignedTeamsContact - - value: collections,assigned_teams,contact,creator - name: CollectionsAssignedTeamsContactCreator - - value: collections,assigned_teams,contact,creator,parent_ticket - name: CollectionsAssignedTeamsContactCreatorParentTicket - - value: collections,assigned_teams,contact,parent_ticket - name: CollectionsAssignedTeamsContactParentTicket - - value: collections,assigned_teams,creator - name: CollectionsAssignedTeamsCreator - - value: collections,assigned_teams,creator,parent_ticket - name: CollectionsAssignedTeamsCreatorParentTicket - - value: collections,assigned_teams,parent_ticket - name: CollectionsAssignedTeamsParentTicket - - value: collections,contact - name: CollectionsContact - - value: collections,contact,creator - name: CollectionsContactCreator - - value: collections,contact,creator,parent_ticket - name: CollectionsContactCreatorParentTicket - - value: collections,contact,parent_ticket - name: CollectionsContactParentTicket - - value: collections,creator - name: CollectionsCreator - - value: collections,creator,parent_ticket - name: CollectionsCreatorParentTicket - - value: collections,parent_ticket - name: CollectionsParentTicket - - contact - - value: contact,creator - name: ContactCreator - - value: contact,creator,parent_ticket - name: ContactCreatorParentTicket - - value: contact,parent_ticket - name: ContactParentTicket - - creator - - value: creator,parent_ticket - name: CreatorParentTicket - - parent_ticket - source: - openapi: openapi/openapi.yml - TicketsRetrieveRequestRemoteFields: - enum: - - priority - - value: priority,status - name: PriorityStatus - - value: priority,status,ticket_type - name: PriorityStatusTicketType - - value: priority,ticket_type - name: PriorityTicketType - - status - - value: status,ticket_type - name: StatusTicketType - - ticket_type - source: - openapi: openapi/openapi.yml - TicketsRetrieveRequestShowEnumOrigins: - enum: - - priority - - value: priority,status - name: PriorityStatus - - value: priority,status,ticket_type - name: PriorityStatusTicketType - - value: priority,ticket_type - name: PriorityTicketType - - status - - value: status,ticket_type - name: StatusTicketType - - ticket_type - source: - openapi: openapi/openapi.yml - TicketsViewersListRequestExpand: - enum: - - team - - user - - value: user,team - name: UserTeam - source: - openapi: openapi/openapi.yml -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /ticketing/v1/tickets - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `Ticket` objects. - source: - openapi: openapi/openapi.yml - request: - name: TicketsListRequest - query-parameters: - account_id: - type: optional - docs: If provided, will only return tickets for this account. - assignee_ids: - type: optional - docs: >- - If provided, will only return tickets assigned to the - assignee_ids; multiple assignee_ids can be separated by commas. - collection_ids: - type: optional - docs: >- - If provided, will only return tickets assigned to the - collection_ids; multiple collection_ids can be separated by - commas. - completed_after: - type: optional - docs: >- - If provided, will only return tickets completed after this - datetime. - completed_before: - type: optional - docs: >- - If provided, will only return tickets completed before this - datetime. - contact_id: - type: optional - docs: If provided, will only return tickets for this contact. - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - creator_id: - type: optional - docs: If provided, will only return tickets created by this creator_id. - creator_ids: - type: optional - docs: >- - If provided, will only return tickets created by the creator_ids; - multiple creator_ids can be separated by commas. - cursor: - type: optional - docs: The pagination cursor value. - due_after: - type: optional - docs: If provided, will only return tickets due after this datetime. - due_before: - type: optional - docs: If provided, will only return tickets due before this datetime. - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_remote_fields: - type: optional - docs: >- - Whether to include all remote fields, including fields that Merge - did not map to common models, in a normalized format. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - name: - type: optional - docs: If provided, will only return tickets with this name. - page_size: - type: optional - docs: Number of results to return per page. The maximum limit is 100. - parent_ticket_id: - type: optional - docs: If provided, will only return sub tickets of the parent_ticket_id. - priority: - type: optional - docs: |- - If provided, will only return tickets of this priority. - - * `URGENT` - URGENT - * `HIGH` - HIGH - * `NORMAL` - NORMAL - * `LOW` - LOW - remote_created_after: - type: optional - docs: >- - If provided, will only return tickets created in the third party - platform after this datetime. - remote_created_before: - type: optional - docs: >- - If provided, will only return tickets created in the third party - platform before this datetime. - remote_fields: - type: optional - docs: Deprecated. Use show_enum_origins. - remote_id: - type: optional - docs: The API provider's ID for the given object. - remote_updated_after: - type: optional - docs: >- - If provided, will only return tickets updated in the third party - platform after this datetime. - remote_updated_before: - type: optional - docs: >- - If provided, will only return tickets updated in the third party - platform before this datetime. - show_enum_origins: - type: optional - docs: >- - A comma separated list of enum field names for which you'd like - the original values to be returned, instead of Merge's normalized - enum values. [Learn - more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - status: - type: optional - docs: If provided, will only return tickets of this status. - tags: - type: optional - docs: >- - If provided, will only return tickets matching the tags; multiple - tags can be separated by commas. - ticket_type: - type: optional - docs: If provided, will only return tickets of this type. - ticket_url: - type: optional - docs: >- - If provided, will only return tickets where the URL matches or - contains the substring - validation: - format: uri - response: - docs: '' - type: root.PaginatedTicketList - status-code: 200 - examples: - - query-parameters: - account_id: account_id - assignee_ids: assignee_ids - collection_ids: collection_ids - completed_after: '2024-01-15T09:30:00Z' - completed_before: '2024-01-15T09:30:00Z' - contact_id: contact_id - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - creator_id: creator_id - creator_ids: creator_ids - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - due_after: '2024-01-15T09:30:00Z' - due_before: '2024-01-15T09:30:00Z' - expand: account - include_deleted_data: true - include_remote_data: true - include_remote_fields: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - name: name - page_size: 1 - parent_ticket_id: parent_ticket_id - priority: HIGH - remote_created_after: '2024-01-15T09:30:00Z' - remote_created_before: '2024-01-15T09:30:00Z' - remote_fields: priority - remote_id: remote_id - remote_updated_after: '2024-01-15T09:30:00Z' - remote_updated_before: '2024-01-15T09:30:00Z' - show_enum_origins: priority - status: '' - tags: tags - ticket_type: ticket_type - ticket_url: ticket_url - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: 0958cbc6-6040-430a-848e-aafacbadf4ae - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Please add more integrations - assignees: - - 17a54124-287f-494d-965e-3c5b330c9a68 - assigned_teams: - - 4857c306-c1f9-489e-a6b6-90902f736dfe - creator: creator - due_date: '2022-10-11T00:00:00Z' - status: OPEN - description: >- - Can you please add more integrations? It'll make syncing - data much easier! - collections: - - fb8c55b6-1cb8-4b4c-9fb6-17924231619d - ticket_type: incident - account: account - contact: contact - parent_ticket: parent_ticket - attachments: - - 42747df1-95e7-46e2-93cc-66f1191edca5 - - 92f972d0-2526-434b-9409-4c3b468e08f0 - access_level: COMPANY - tags: - - enterprise - - other-tag - roles: - - 21a54124-397f-494d-985e-3c5b330b8a68 - - 17a54124-287f-494d-965e-3c5b330c9a68 - remote_created_at: '2021-11-10T00:00:00Z' - remote_updated_at: '2021-12-09T00:00:00Z' - completed_at: '2021-12-09T00:00:00Z' - remote_was_deleted: true - ticket_url: https://thirdpartysoftware.com/project/3/issue/1 - priority: URGENT - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /platform-endpoint - data: - - Varies by platform - remote_fields: - - remote_field_class: remote_field_class - value: string - create: - path: /ticketing/v1/tickets - method: POST - auth: - - tokenAuth: [] - docs: Creates a `Ticket` object with the given values. - source: - openapi: openapi/openapi.yml - request: - name: TicketEndpointRequest - query-parameters: - is_debug_mode: - type: optional - docs: >- - Whether to include debug fields (such as log file links) in the - response. - run_async: - type: optional - docs: Whether or not third-party updates should be run asynchronously. - body: - properties: - model: root.TicketRequest - content-type: application/json - response: - docs: '' - type: root.TicketResponse - status-code: 201 - examples: - - query-parameters: - is_debug_mode: true - run_async: true - headers: - X-Account-Token: X-Account-Token - request: - model: {} - response: - body: - model: - id: 0958cbc6-6040-430a-848e-aafacbadf4ae - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Please add more integrations - assignees: - - 17a54124-287f-494d-965e-3c5b330c9a68 - assigned_teams: - - 4857c306-c1f9-489e-a6b6-90902f736dfe - creator: creator - due_date: '2022-10-11T00:00:00Z' - status: OPEN - description: >- - Can you please add more integrations? It'll make syncing data - much easier! - collections: - - fb8c55b6-1cb8-4b4c-9fb6-17924231619d - ticket_type: incident - account: account - contact: contact - parent_ticket: parent_ticket - attachments: - - 42747df1-95e7-46e2-93cc-66f1191edca5 - - 92f972d0-2526-434b-9409-4c3b468e08f0 - access_level: COMPANY - tags: - - enterprise - - other-tag - roles: - - 21a54124-397f-494d-985e-3c5b330b8a68 - - 17a54124-287f-494d-965e-3c5b330c9a68 - remote_created_at: '2021-11-10T00:00:00Z' - remote_updated_at: '2021-12-09T00:00:00Z' - completed_at: '2021-12-09T00:00:00Z' - remote_was_deleted: true - ticket_url: https://thirdpartysoftware.com/project/3/issue/1 - priority: URGENT - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /platform-endpoint - data: - - Varies by platform - remote_fields: - - remote_field_class: remote_field_class - value: string - warnings: - - source: - pointer: pointer - title: Unrecognized Field - detail: An unrecognized field, age, was passed in with request data. - problem_type: UNRECOGNIZED_FIELD - errors: - - source: - pointer: pointer - title: Missing Required Field - detail: custom_fields is a required field on model. - problem_type: MISSING_REQUIRED_FIELD - logs: - - log_id: 99433219-8017-4acd-bb3c-ceb23d663832 - dashboard_view: >- - https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832 - log_summary: - url: www.exampleintegration.com/api/v1/exampleapi - method: POST - status_code: 200 - retrieve: - path: /ticketing/v1/tickets/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns a `Ticket` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: TicketsRetrieveRequest - query-parameters: - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_remote_fields: - type: optional - docs: >- - Whether to include all remote fields, including fields that Merge - did not map to common models, in a normalized format. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - remote_fields: - type: optional - docs: Deprecated. Use show_enum_origins. - show_enum_origins: - type: optional - docs: >- - A comma separated list of enum field names for which you'd like - the original values to be returned, instead of Merge's normalized - enum values. [Learn - more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - response: - docs: '' - type: root.Ticket - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - expand: account - include_remote_data: true - include_remote_fields: true - include_shell_data: true - remote_fields: priority - show_enum_origins: priority - headers: - X-Account-Token: X-Account-Token - response: - body: - id: 0958cbc6-6040-430a-848e-aafacbadf4ae - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Please add more integrations - assignees: - - 17a54124-287f-494d-965e-3c5b330c9a68 - assigned_teams: - - 4857c306-c1f9-489e-a6b6-90902f736dfe - creator: creator - due_date: '2022-10-11T00:00:00Z' - status: OPEN - description: >- - Can you please add more integrations? It'll make syncing data - much easier! - collections: - - fb8c55b6-1cb8-4b4c-9fb6-17924231619d - ticket_type: incident - account: account - contact: contact - parent_ticket: parent_ticket - attachments: - - 42747df1-95e7-46e2-93cc-66f1191edca5 - - 92f972d0-2526-434b-9409-4c3b468e08f0 - access_level: COMPANY - tags: - - enterprise - - other-tag - roles: - - 21a54124-397f-494d-985e-3c5b330b8a68 - - 17a54124-287f-494d-965e-3c5b330c9a68 - remote_created_at: '2021-11-10T00:00:00Z' - remote_updated_at: '2021-12-09T00:00:00Z' - completed_at: '2021-12-09T00:00:00Z' - remote_was_deleted: true - ticket_url: https://thirdpartysoftware.com/project/3/issue/1 - priority: URGENT - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /platform-endpoint - data: - - Varies by platform - remote_fields: - - remote_field_class: remote_field_class - value: string - partialUpdate: - path: /ticketing/v1/tickets/{id} - method: PATCH - auth: - - tokenAuth: [] - docs: Updates a `Ticket` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: PatchedTicketEndpointRequest - query-parameters: - is_debug_mode: - type: optional - docs: >- - Whether to include debug fields (such as log file links) in the - response. - run_async: - type: optional - docs: Whether or not third-party updates should be run asynchronously. - body: - properties: - model: root.PatchedTicketRequest - content-type: application/json - response: - docs: '' - type: root.TicketResponse - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - is_debug_mode: true - run_async: true - headers: - X-Account-Token: X-Account-Token - request: - model: {} - response: - body: - model: - id: 0958cbc6-6040-430a-848e-aafacbadf4ae - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Please add more integrations - assignees: - - 17a54124-287f-494d-965e-3c5b330c9a68 - assigned_teams: - - 4857c306-c1f9-489e-a6b6-90902f736dfe - creator: creator - due_date: '2022-10-11T00:00:00Z' - status: OPEN - description: >- - Can you please add more integrations? It'll make syncing data - much easier! - collections: - - fb8c55b6-1cb8-4b4c-9fb6-17924231619d - ticket_type: incident - account: account - contact: contact - parent_ticket: parent_ticket - attachments: - - 42747df1-95e7-46e2-93cc-66f1191edca5 - - 92f972d0-2526-434b-9409-4c3b468e08f0 - access_level: COMPANY - tags: - - enterprise - - other-tag - roles: - - 21a54124-397f-494d-985e-3c5b330b8a68 - - 17a54124-287f-494d-965e-3c5b330c9a68 - remote_created_at: '2021-11-10T00:00:00Z' - remote_updated_at: '2021-12-09T00:00:00Z' - completed_at: '2021-12-09T00:00:00Z' - remote_was_deleted: true - ticket_url: https://thirdpartysoftware.com/project/3/issue/1 - priority: URGENT - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /platform-endpoint - data: - - Varies by platform - remote_fields: - - remote_field_class: remote_field_class - value: string - warnings: - - source: - pointer: pointer - title: Unrecognized Field - detail: An unrecognized field, age, was passed in with request data. - problem_type: UNRECOGNIZED_FIELD - errors: - - source: - pointer: pointer - title: Missing Required Field - detail: custom_fields is a required field on model. - problem_type: MISSING_REQUIRED_FIELD - logs: - - log_id: 99433219-8017-4acd-bb3c-ceb23d663832 - dashboard_view: >- - https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832 - log_summary: - url: www.exampleintegration.com/api/v1/exampleapi - method: POST - status_code: 200 - viewersList: - path: /ticketing/v1/tickets/{ticket_id}/viewers - method: GET - auth: - - tokenAuth: [] - docs: >- - Returns a list of `Viewer` objects that point to a User id or Team id - that is either an assignee or viewer on a `Ticket` with the given id. - [Learn - more.](https://help.merge.dev/en/articles/10333658-ticketing-access-control-list-acls) - source: - openapi: openapi/openapi.yml - path-parameters: - ticket_id: string - request: - name: TicketsViewersListRequest - query-parameters: - cursor: - type: optional - docs: The pagination cursor value. - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - page_size: - type: optional - docs: Number of results to return per page. The maximum limit is 100. - response: - docs: '' - type: root.PaginatedViewerList - status-code: 200 - examples: - - path-parameters: - ticket_id: ticket_id - query-parameters: - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - expand: team - include_deleted_data: true - include_remote_data: true - include_shell_data: true - page_size: 1 - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: 17a54124-287f-494d-965e-3c5b330c9a68 - remote_id: '088899' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - team: team - user: user - metaPatchRetrieve: - path: /ticketing/v1/tickets/meta/patch/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns metadata for `Ticket` PATCHs. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - response: - docs: '' - type: root.MetaResponse - status-code: 200 - examples: - - path-parameters: - id: id - headers: - X-Account-Token: X-Account-Token - response: - body: - request_schema: - type: object - properties: - model: - type: object - required: - - last_name - - first_name - - merge_categories - - new_york_city_neighborhood - - favorite_tv_shows - - favorite_watch - properties: - email_addresses: - type: array - items: - type: object - properties: - value: - type: string - title: value - email_address_type: - type: string - title: email_address_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: email_addresses - description: Array of email_addresses objects - urls: - type: array - items: - type: object - properties: - value: - type: string - title: value - url_type: - type: string - title: url_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: urls - description: Array of urls objects - first_name: - type: string - title: first_name - description: The first name. - last_name: - type: string - title: last_name - description: The last name. - phone_numbers: - type: array - items: - type: object - properties: - value: - type: string - title: value - phone_number_type: - type: string - title: phone_number_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: phone_numbers - description: Array of phone_numbers objects - tags: - type: array - items: - type: string - format: uuid - title: tags - description: Array of tags names - attachments: - type: array - items: - type: object - properties: - id: - type: string - title: id - file_url: - type: string - title: file_url - file_name: - type: string - title: file_name - attachment_type: - type: string - title: attachment_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: attachments - description: 'Array of attachments objects ' - merge_categories: - type: array - categories: - type: string - enum: - - HRIS - - ATS - - Accounting - - Ticketing - - File Storage - - CRM - - Marketing Automation - enum_information: - - value: HRIS - description: Merge HRIS Category - - value: ATS - description: Merge ATS Category - - value: Accounting - description: Merge Accounting Category - - value: Ticketing - description: Merge Ticketing Category - - value: File Storage - description: Merge File Storage Category - - value: CRM - description: Merge CRM Category - - value: Marketing Automation - description: Merge Marketing Automation Category - title: Merge Categories - description: Array of Merge's Unified API Categories - new_york_city_neighborhood: - type: string - title: Borough - description: One of the 5 Boroughs of New York City - favorite_tv_shows: - type: array - items: - type: string - format: uuid - title: Favorite TV Shows - description: Array of TV Show objects on merge.tv_shows - favorite_watch: - type: string - title: Favorite Watch - description: Favorite watch of all time - remote_field_classes: - key: value - status: - linked_account_status: linked_account_status - can_make_request: true - has_conditional_params: true - has_required_linked_account_params: true - metaPostRetrieve: - path: /ticketing/v1/tickets/meta/post - method: GET - auth: - - tokenAuth: [] - docs: Returns metadata for `Ticket` POSTs. - source: - openapi: openapi/openapi.yml - request: - name: TicketsMetaPostRetrieveRequest - query-parameters: - collection_id: - type: optional - docs: If provided, will only return tickets for this collection. - ticket_type: - type: optional - docs: If provided, will only return tickets for this ticket type. - response: - docs: '' - type: root.MetaResponse - status-code: 200 - examples: - - query-parameters: - collection_id: collection_id - ticket_type: ticket_type - headers: - X-Account-Token: X-Account-Token - response: - body: - request_schema: - type: object - properties: - model: - type: object - required: - - last_name - - first_name - - merge_categories - - new_york_city_neighborhood - - favorite_tv_shows - - favorite_watch - properties: - email_addresses: - type: array - items: - type: object - properties: - value: - type: string - title: value - email_address_type: - type: string - title: email_address_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: email_addresses - description: Array of email_addresses objects - urls: - type: array - items: - type: object - properties: - value: - type: string - title: value - url_type: - type: string - title: url_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: urls - description: Array of urls objects - first_name: - type: string - title: first_name - description: The first name. - last_name: - type: string - title: last_name - description: The last name. - phone_numbers: - type: array - items: - type: object - properties: - value: - type: string - title: value - phone_number_type: - type: string - title: phone_number_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: phone_numbers - description: Array of phone_numbers objects - tags: - type: array - items: - type: string - format: uuid - title: tags - description: Array of tags names - attachments: - type: array - items: - type: object - properties: - id: - type: string - title: id - file_url: - type: string - title: file_url - file_name: - type: string - title: file_name - attachment_type: - type: string - title: attachment_type - integration_params: - type: object - title: integration_params - properties: {} - linked_account_params: - type: object - title: linked_account_params - properties: {} - title: attachments - description: 'Array of attachments objects ' - merge_categories: - type: array - categories: - type: string - enum: - - HRIS - - ATS - - Accounting - - Ticketing - - File Storage - - CRM - - Marketing Automation - enum_information: - - value: HRIS - description: Merge HRIS Category - - value: ATS - description: Merge ATS Category - - value: Accounting - description: Merge Accounting Category - - value: Ticketing - description: Merge Ticketing Category - - value: File Storage - description: Merge File Storage Category - - value: CRM - description: Merge CRM Category - - value: Marketing Automation - description: Merge Marketing Automation Category - title: Merge Categories - description: Array of Merge's Unified API Categories - new_york_city_neighborhood: - type: string - title: Borough - description: One of the 5 Boroughs of New York City - favorite_tv_shows: - type: array - items: - type: string - format: uuid - title: Favorite TV Shows - description: Array of TV Show objects on merge.tv_shows - favorite_watch: - type: string - title: Favorite Watch - description: Favorite watch of all time - remote_field_classes: - key: value - status: - linked_account_status: linked_account_status - can_make_request: true - has_conditional_params: true - has_required_linked_account_params: true - remoteFieldClassesList: - path: /ticketing/v1/tickets/remote-field-classes - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `RemoteFieldClass` objects. - source: - openapi: openapi/openapi.yml - request: - name: TicketsRemoteFieldClassesListRequest - query-parameters: - cursor: - type: optional - docs: The pagination cursor value. - ids: - type: optional - docs: >- - If provided, will only return remote field classes with the `ids` - in this list - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - is_common_model_field: - type: optional - docs: >- - If provided, will only return remote field classes with this - is_common_model_field value - is_custom: - type: optional - docs: >- - If provided, will only return remote fields classes with this - is_custom value - page_size: - type: optional - docs: Number of results to return per page. The maximum limit is 100. - response: - docs: '' - type: root.PaginatedRemoteFieldClassList - status-code: 200 - examples: - - query-parameters: - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - ids: ids - include_deleted_data: true - include_remote_data: true - include_shell_data: true - is_common_model_field: true - is_custom: true - page_size: 1 - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: id - display_name: display_name - remote_key_name: remote_key_name - description: description - is_custom: true - is_common_model_field: true - is_required: true - field_type: field_type - field_format: field_format - field_choices: - - {} - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/ticketing/users.yml b/.mock/definition/ticketing/users.yml deleted file mode 100644 index 41965674..00000000 --- a/.mock/definition/ticketing/users.yml +++ /dev/null @@ -1,209 +0,0 @@ -types: - UsersListRequestExpand: - enum: - - roles - - teams - - value: teams,roles - name: TeamsRoles - source: - openapi: openapi/openapi.yml - UsersRetrieveRequestExpand: - enum: - - roles - - teams - - value: teams,roles - name: TeamsRoles - source: - openapi: openapi/openapi.yml -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /ticketing/v1/users - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `User` objects. - source: - openapi: openapi/openapi.yml - request: - name: UsersListRequest - query-parameters: - created_after: - type: optional - docs: If provided, will only return objects created after this datetime. - created_before: - type: optional - docs: >- - If provided, will only return objects created before this - datetime. - cursor: - type: optional - docs: The pagination cursor value. - email_address: - type: optional - docs: >- - If provided, will only return users with emails equal to this - value (case insensitive). - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_deleted_data: - type: optional - docs: >- - Indicates whether or not this object has been deleted in the third - party platform. Full coverage deletion detection is a premium - add-on. Native deletion detection is offered for free with limited - coverage. [Learn - more](https://docs.merge.dev/integrations/hris/supported-features/). - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - modified_after: - type: optional - docs: >- - If provided, only objects synced by Merge after this date time - will be returned. - modified_before: - type: optional - docs: >- - If provided, only objects synced by Merge before this date time - will be returned. - page_size: - type: optional - docs: Number of results to return per page. The maximum limit is 100. - remote_id: - type: optional - docs: The API provider's ID for the given object. - team: - type: optional - docs: If provided, will only return users matching in this team. - response: - docs: '' - type: root.PaginatedUserList - status-code: 200 - examples: - - query-parameters: - created_after: '2024-01-15T09:30:00Z' - created_before: '2024-01-15T09:30:00Z' - cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - email_address: email_address - expand: roles - include_deleted_data: true - include_remote_data: true - include_shell_data: true - modified_after: '2024-01-15T09:30:00Z' - modified_before: '2024-01-15T09:30:00Z' - page_size: 1 - remote_id: remote_id - team: team - headers: - X-Account-Token: X-Account-Token - response: - body: - next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw - previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ - results: - - id: 17a54124-287f-494d-965e-3c5b330c9a68 - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Gil Feig - email_address: help@merge.dev - is_active: true - teams: - - 28b54125-287f-494d-965e-3c5b330c9a68 - - 17a54124-287f-494d-965e-3c5b330c9a68 - roles: - - 23454124-387f-494d-265e-345b330c9123 - avatar: https://merge.dev/user_profile_pic.png - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /platform-endpoint - data: - - Varies by platform - retrieve: - path: /ticketing/v1/users/{id} - method: GET - auth: - - tokenAuth: [] - docs: Returns a `User` object with the given `id`. - source: - openapi: openapi/openapi.yml - path-parameters: - id: string - request: - name: UsersRetrieveRequest - query-parameters: - expand: - type: optional - docs: >- - Which relations should be returned in expanded form. Multiple - relation names should be comma separated without spaces. - include_remote_data: - type: optional - docs: >- - Whether to include the original data Merge fetched from the - third-party to produce these models. - include_shell_data: - type: optional - docs: >- - Whether to include shell records. Shell records are empty records - (they may contain some metadata but all other fields are null). - response: - docs: '' - type: root.User - status-code: 200 - examples: - - path-parameters: - id: id - query-parameters: - expand: roles - include_remote_data: true - include_shell_data: true - headers: - X-Account-Token: X-Account-Token - response: - body: - id: 17a54124-287f-494d-965e-3c5b330c9a68 - remote_id: '19202938' - created_at: '2021-09-15T00:00:00Z' - modified_at: '2021-10-16T00:00:00Z' - name: Gil Feig - email_address: help@merge.dev - is_active: true - teams: - - 28b54125-287f-494d-965e-3c5b330c9a68 - - 17a54124-287f-494d-965e-3c5b330c9a68 - roles: - - 23454124-387f-494d-265e-345b330c9123 - avatar: https://merge.dev/user_profile_pic.png - remote_was_deleted: true - field_mappings: - organization_defined_targets: - custom_key: custom_value - linked_account_defined_targets: - custom_key: custom_value - remote_data: - - path: /platform-endpoint - data: - - Varies by platform - source: - openapi: openapi/openapi.yml diff --git a/.mock/definition/ticketing/webhookReceivers.yml b/.mock/definition/ticketing/webhookReceivers.yml deleted file mode 100644 index f0d255a1..00000000 --- a/.mock/definition/ticketing/webhookReceivers.yml +++ /dev/null @@ -1,65 +0,0 @@ -imports: - root: __package__.yml -service: - auth: false - base-path: '' - endpoints: - list: - path: /ticketing/v1/webhook-receivers - method: GET - auth: - - tokenAuth: [] - docs: Returns a list of `WebhookReceiver` objects. - source: - openapi: openapi/openapi.yml - response: - docs: '' - type: list - status-code: 200 - examples: - - headers: - X-Account-Token: X-Account-Token - response: - body: - - event: event - is_active: true - key: key - create: - path: /ticketing/v1/webhook-receivers - method: POST - auth: - - tokenAuth: [] - docs: Creates a `WebhookReceiver` object with the given values. - source: - openapi: openapi/openapi.yml - request: - name: WebhookReceiverRequest - body: - properties: - event: - type: string - validation: - minLength: 1 - is_active: boolean - key: - type: optional - validation: - minLength: 1 - content-type: application/json - response: - docs: '' - type: root.WebhookReceiver - status-code: 201 - examples: - - headers: - X-Account-Token: X-Account-Token - request: - event: event - is_active: true - response: - body: - event: event - is_active: true - key: key - source: - openapi: openapi/openapi.yml diff --git a/.mock/fern.config.json b/.mock/fern.config.json deleted file mode 100644 index 452f7613..00000000 --- a/.mock/fern.config.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "organization" : "merge", - "version" : "0.112.1" -} \ No newline at end of file diff --git a/README.md b/README.md index 3fee8310..c94b08b4 100644 --- a/README.md +++ b/README.md @@ -51,8 +51,6 @@ client = Merge( api_key="YOUR_API_KEY", ) client.ats.activities.create( - is_debug_mode=True, - run_async=True, model=ActivityRequest(), remote_user_id="remote_user_id", ) @@ -83,7 +81,7 @@ client.hris. # APIs specific to the HRIS Category ## Async Client -The SDK also exports an `async` client so that you can make non-blocking calls to our API. +The SDK also exports an `async` client so that you can make non-blocking calls to our API. Note that if you are constructing an Async httpx client class to pass into this client, use `httpx.AsyncClient()` instead of `httpx.Client()` (e.g. for the `httpx_client` parameter of this client). ```python import asyncio @@ -99,8 +97,6 @@ client = AsyncMerge( async def main() -> None: await client.ats.activities.create( - is_debug_mode=True, - run_async=True, model=ActivityRequest(), remote_user_id="remote_user_id", ) @@ -140,6 +136,14 @@ client = Merge( response = client.ats.activities.with_raw_response.create(...) print(response.headers) # access the response headers print(response.data) # access the underlying object +pager = client.ats.activities.list(...) +print(pager.response) # access the typed response for the first page +for item in pager: + print(item) # access the underlying object(s) +for page in pager.iter_pages(): + print(page.response) # access the typed response for each page + for item in page: + print(item) # access the underlying object(s) ``` ### Retries @@ -233,31 +237,31 @@ with open(local_filename, "wb") as f: ## Pagination -The SDK may return paginated results. Endpoints that return paginated results will -include a `next` and `prev` property on the response. To get the next page, you can -pass in the value of `next` to the cursor property on the request. Similarly, to -get the previous page, you can pass in the value of `prev` to the cursor property on -the request. +Paginated requests will return a `SyncPager` or `AsyncPager`, which can be used as generators for the underlying object. -Below is an example of iterating over all pages: ```python +from merge import Merge -# response contains the first page -response = merge_client.hris.employees.list(created_after="2030-01-01") - -# if there is a next page, load it by passing `next` to the cursor argument -while response.next is not None: - response = hris_client.employees.list( - cursor=response.next, - created_after="2030-01-01") +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +response = client.ats.activities.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", +) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` - - - - - - - - +```python +# You can also iterate through pages and access the typed response per page +pager = client.ats.activities.list(...) +for page in pager.iter_pages(): + print(page.response) # access the typed response for each page + for item in page: + print(item) +``` diff --git a/poetry.lock b/poetry.lock index a19d7e2f..9decbf87 100644 --- a/poetry.lock +++ b/poetry.lock @@ -75,6 +75,20 @@ typing-extensions = {version = ">=4.6.0", markers = "python_version < \"3.13\""} [package.extras] test = ["pytest (>=6)"] +[[package]] +name = "execnet" +version = "2.1.2" +description = "execnet: rapid multi-Python deployment" +optional = false +python-versions = ">=3.8" +files = [ + {file = "execnet-2.1.2-py3-none-any.whl", hash = "sha256:67fba928dd5a544b783f6056f449e5e3931a5c378b128bc18501f7ea79e296ec"}, + {file = "execnet-2.1.2.tar.gz", hash = "sha256:63d83bfdd9a23e35b9c6a3261412324f964c2ec8dcd8d3c6916ee9373e0befcd"}, +] + +[package.extras] +testing = ["hatch", "pre-commit", "pytest", "tox"] + [[package]] name = "h11" version = "0.16.0" @@ -418,6 +432,26 @@ pytest = ">=7.0.0,<9" docs = ["sphinx (>=5.3)", "sphinx-rtd-theme (>=1.0)"] testing = ["coverage (>=6.2)", "hypothesis (>=5.7.1)"] +[[package]] +name = "pytest-xdist" +version = "3.6.1" +description = "pytest xdist plugin for distributed testing, most importantly across multiple CPUs" +optional = false +python-versions = ">=3.8" +files = [ + {file = "pytest_xdist-3.6.1-py3-none-any.whl", hash = "sha256:9ed4adfb68a016610848639bb7e02c9352d5d9f03d04809919e2dafc3be4cca7"}, + {file = "pytest_xdist-3.6.1.tar.gz", hash = "sha256:ead156a4db231eec769737f57668ef58a2084a34b2e55c4a8fa20d861107300d"}, +] + +[package.dependencies] +execnet = ">=2.1" +pytest = ">=7.0.0" + +[package.extras] +psutil = ["psutil (>=3.0)"] +setproctitle = ["setproctitle"] +testing = ["filelock"] + [[package]] name = "python-dateutil" version = "2.9.0.post0" @@ -557,4 +591,4 @@ files = [ [metadata] lock-version = "2.0" python-versions = "^3.8" -content-hash = "8551b871abee465e23fb0966d51f2c155fd257b55bdcb0c02d095de19f92f358" +content-hash = "bcf31a142c86d9e556553c8c260a93b563ac64a043076dbd48b26111d422c26e" diff --git a/pyproject.toml b/pyproject.toml index 6e9177d0..67c71bb5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ name = "MergePythonClient" [tool.poetry] name = "MergePythonClient" -version = "2.6.1" +version = "2.6.2" description = "" readme = "README.md" authors = [] @@ -30,7 +30,7 @@ packages = [ { include = "merge", from = "src"} ] -[project.urls] +[tool.poetry.urls] Repository = 'https://github.com/merge-api/merge-python-client' [tool.poetry.dependencies] @@ -44,6 +44,7 @@ typing_extensions = ">= 4.0.0" mypy = "==1.13.0" pytest = "^7.4.0" pytest-asyncio = "^0.23.5" +pytest-xdist = "^3.6.1" python-dateutil = "^2.9.0" types-python-dateutil = "^2.9.0.20240316" ruff = "==0.11.5" diff --git a/reference.md b/reference.md index 72c3f6b5..87620a7b 100644 --- a/reference.md +++ b/reference.md @@ -161,41 +161,20 @@ Returns a list of `Activity` objects.
```python -import datetime - from merge import Merge -from merge.resources.ats.resources.activities import ( - ActivitiesListRequestRemoteFields, - ActivitiesListRequestShowEnumOrigins, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.activities.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), +response = client.ats.activities.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_fields=ActivitiesListRequestRemoteFields.ACTIVITY_TYPE, - remote_id="remote_id", - show_enum_origins=ActivitiesListRequestShowEnumOrigins.ACTIVITY_TYPE, - user_id="user_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -235,7 +214,12 @@ client.ats.activities.list(
-**expand:** `typing.Optional[typing.Literal["user"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**expand:** `typing.Optional[ + typing.Union[ + ActivitiesListRequestExpandItem, + typing.Sequence[ActivitiesListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -370,8 +354,6 @@ client = Merge( api_key="YOUR_API_KEY", ) client.ats.activities.create( - is_debug_mode=True, - run_async=True, model=ActivityRequest(), remote_user_id="remote_user_id", ) @@ -462,10 +444,6 @@ Returns an `Activity` object with the given `id`. ```python from merge import Merge -from merge.resources.ats.resources.activities import ( - ActivitiesRetrieveRequestRemoteFields, - ActivitiesRetrieveRequestShowEnumOrigins, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -473,10 +451,6 @@ client = Merge( ) client.ats.activities.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, - remote_fields=ActivitiesRetrieveRequestRemoteFields.ACTIVITY_TYPE, - show_enum_origins=ActivitiesRetrieveRequestShowEnumOrigins.ACTIVITY_TYPE, ) ``` @@ -501,7 +475,12 @@ client.ats.activities.retrieve(
-**expand:** `typing.Optional[typing.Literal["user"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**expand:** `typing.Optional[ + typing.Union[ + ActivitiesRetrieveRequestExpandItem, + typing.Sequence[ActivitiesRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -642,44 +621,20 @@ Returns a list of `Application` objects.
```python -import datetime - from merge import Merge -from merge.resources.ats.resources.applications import ( - ApplicationsListRequestExpand, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.applications.list( - candidate_id="candidate_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - credited_to_id="credited_to_id", - current_stage_id="current_stage_id", +response = client.ats.applications.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=ApplicationsListRequestExpand.CANDIDATE, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - job_id="job_id", - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - reject_reason_id="reject_reason_id", - remote_id="remote_id", - source="source", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -743,7 +698,12 @@ client.ats.applications.list(
-**expand:** `typing.Optional[ApplicationsListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**expand:** `typing.Optional[ + typing.Union[ + ApplicationsListRequestExpandItem, + typing.Sequence[ApplicationsListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -881,8 +841,6 @@ client = Merge( api_key="YOUR_API_KEY", ) client.ats.applications.create( - is_debug_mode=True, - run_async=True, model=ApplicationRequest(), remote_user_id="remote_user_id", ) @@ -973,9 +931,6 @@ Returns an `Application` object with the given `id`. ```python from merge import Merge -from merge.resources.ats.resources.applications import ( - ApplicationsRetrieveRequestExpand, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -983,9 +938,6 @@ client = Merge( ) client.ats.applications.retrieve( id="id", - expand=ApplicationsRetrieveRequestExpand.CANDIDATE, - include_remote_data=True, - include_shell_data=True, ) ``` @@ -1010,7 +962,12 @@ client.ats.applications.retrieve(
-**expand:** `typing.Optional[ApplicationsRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**expand:** `typing.Optional[ + typing.Union[ + ApplicationsRetrieveRequestExpandItem, + typing.Sequence[ApplicationsRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -1081,8 +1038,6 @@ client = Merge( ) client.ats.applications.change_stage_create( id="id", - is_debug_mode=True, - run_async=True, ) ``` @@ -1184,9 +1139,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.applications.meta_post_retrieve( - application_remote_template_id="application_remote_template_id", -) +client.ats.applications.meta_post_retrieve() ``` @@ -1397,35 +1350,20 @@ Returns a list of `Attachment` objects.
```python -import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.attachments.list( - candidate_id="candidate_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), +response = client.ats.attachments.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -1473,7 +1411,12 @@ client.ats.attachments.list(
-**expand:** `typing.Optional[typing.Literal["candidate"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**expand:** `typing.Optional[ + typing.Union[ + AttachmentsListRequestExpandItem, + typing.Sequence[AttachmentsListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -1529,7 +1472,7 @@ client.ats.attachments.list(
-**remote_fields:** `typing.Optional[typing.Literal["attachment_type"]]` — Deprecated. Use show_enum_origins. +**remote_fields:** `typing.Optional[AttachmentsListRequestRemoteFields]` — Deprecated. Use show_enum_origins.
@@ -1545,7 +1488,7 @@ client.ats.attachments.list(
-**show_enum_origins:** `typing.Optional[typing.Literal["attachment_type"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) +**show_enum_origins:** `typing.Optional[AttachmentsListRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
@@ -1600,8 +1543,6 @@ client = Merge( api_key="YOUR_API_KEY", ) client.ats.attachments.create( - is_debug_mode=True, - run_async=True, model=AttachmentRequest(), remote_user_id="remote_user_id", ) @@ -1699,8 +1640,6 @@ client = Merge( ) client.ats.attachments.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) ``` @@ -1725,7 +1664,12 @@ client.ats.attachments.retrieve(
-**expand:** `typing.Optional[typing.Literal["candidate"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**expand:** `typing.Optional[ + typing.Union[ + AttachmentsRetrieveRequestExpandItem, + typing.Sequence[AttachmentsRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -1749,7 +1693,7 @@ client.ats.attachments.retrieve(
-**remote_fields:** `typing.Optional[typing.Literal["attachment_type"]]` — Deprecated. Use show_enum_origins. +**remote_fields:** `typing.Optional[AttachmentsRetrieveRequestRemoteFields]` — Deprecated. Use show_enum_origins.
@@ -1757,7 +1701,7 @@ client.ats.attachments.retrieve(
-**show_enum_origins:** `typing.Optional[typing.Literal["attachment_type"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) +**show_enum_origins:** `typing.Optional[AttachmentsRetrieveRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
@@ -1872,14 +1816,14 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.audit_trail.list( +response = client.ats.audit_trail.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_date="end_date", - event_type="event_type", - page_size=1, - start_date="start_date", - user_email="user_email", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -2045,40 +1989,20 @@ Returns a list of `Candidate` objects.
```python -import datetime - from merge import Merge -from merge.resources.ats.resources.candidates import CandidatesListRequestExpand client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.candidates.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), +response = client.ats.candidates.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - email_addresses="email_addresses", - expand=CandidatesListRequestExpand.APPLICATIONS, - first_name="first_name", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - last_name="last_name", - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", - tags="tags", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -2126,7 +2050,12 @@ client.ats.candidates.list(
-**expand:** `typing.Optional[CandidatesListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**expand:** `typing.Optional[ + typing.Union[ + CandidatesListRequestExpandItem, + typing.Sequence[CandidatesListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -2261,8 +2190,6 @@ client = Merge( api_key="YOUR_API_KEY", ) client.ats.candidates.create( - is_debug_mode=True, - run_async=True, model=CandidateRequest(), remote_user_id="remote_user_id", ) @@ -2353,9 +2280,6 @@ Returns a `Candidate` object with the given `id`. ```python from merge import Merge -from merge.resources.ats.resources.candidates import ( - CandidatesRetrieveRequestExpand, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -2363,9 +2287,6 @@ client = Merge( ) client.ats.candidates.retrieve( id="id", - expand=CandidatesRetrieveRequestExpand.APPLICATIONS, - include_remote_data=True, - include_shell_data=True, ) ``` @@ -2390,7 +2311,12 @@ client.ats.candidates.retrieve(
-**expand:** `typing.Optional[CandidatesRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**expand:** `typing.Optional[ + typing.Union[ + CandidatesRetrieveRequestExpandItem, + typing.Sequence[CandidatesRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -2462,8 +2388,6 @@ client = Merge( ) client.ats.candidates.partial_update( id="id", - is_debug_mode=True, - run_async=True, model=PatchedCandidateRequest(), remote_user_id="remote_user_id", ) @@ -2562,7 +2486,7 @@ Ignores a specific row based on the `model_id` in the url. These records will ha ```python from merge import Merge -from merge.resources.ats import ReasonEnum +from merge.resources.ats import IgnoreCommonModelRequest, ReasonEnum client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -2570,7 +2494,9 @@ client = Merge( ) client.ats.candidates.ignore_create( model_id="model_id", - reason=ReasonEnum.GENERAL_CUSTOMER_REQUEST, + request=IgnoreCommonModelRequest( + reason=ReasonEnum.GENERAL_CUSTOMER_REQUEST, + ), ) ``` @@ -2595,15 +2521,7 @@ client.ats.candidates.ignore_create(
-**reason:** `IgnoreCommonModelRequestReason` - -
-
- -
-
- -**message:** `typing.Optional[str]` +**request:** `IgnoreCommonModelRequest`
@@ -3068,34 +2986,20 @@ Returns a list of `Department` objects.
```python -import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.departments.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), +response = client.ats.departments.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -3238,8 +3142,6 @@ client = Merge( ) client.ats.departments.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) ``` @@ -3320,41 +3222,20 @@ Returns a list of `EEOC` objects.
```python -import datetime - from merge import Merge -from merge.resources.ats.resources.eeocs import ( - EeocsListRequestRemoteFields, - EeocsListRequestShowEnumOrigins, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.eeocs.list( - candidate_id="candidate_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), +response = client.ats.eeocs.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_fields=EeocsListRequestRemoteFields.DISABILITY_STATUS, - remote_id="remote_id", - show_enum_origins=EeocsListRequestShowEnumOrigins.DISABILITY_STATUS, ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -3402,7 +3283,11 @@ client.ats.eeocs.list(
-**expand:** `typing.Optional[typing.Literal["candidate"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**expand:** `typing.Optional[ + typing.Union[ + EeocsListRequestExpandItem, typing.Sequence[EeocsListRequestExpandItem] + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -3522,10 +3407,6 @@ Returns an `EEOC` object with the given `id`. ```python from merge import Merge -from merge.resources.ats.resources.eeocs import ( - EeocsRetrieveRequestRemoteFields, - EeocsRetrieveRequestShowEnumOrigins, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -3533,10 +3414,6 @@ client = Merge( ) client.ats.eeocs.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, - remote_fields=EeocsRetrieveRequestRemoteFields.DISABILITY_STATUS, - show_enum_origins=EeocsRetrieveRequestShowEnumOrigins.DISABILITY_STATUS, ) ``` @@ -3561,7 +3438,12 @@ client.ats.eeocs.retrieve(
-**expand:** `typing.Optional[typing.Literal["candidate"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**expand:** `typing.Optional[ + typing.Union[ + EeocsRetrieveRequestExpandItem, + typing.Sequence[EeocsRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -3647,9 +3529,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.field_mapping.field_mappings_retrieve( - exclude_remote_field_metadata=True, -) +client.ats.field_mapping.field_mappings_retrieve() ``` @@ -3719,7 +3599,6 @@ client = Merge( api_key="YOUR_API_KEY", ) client.ats.field_mapping.field_mappings_create( - exclude_remote_field_metadata=True, target_field_name="example_target_field_name", target_field_description="this is a example description of the target field", remote_field_traversal_path=["example_remote_field"], @@ -3758,7 +3637,7 @@ client.ats.field_mapping.field_mappings_create(
-**remote_field_traversal_path:** `typing.Sequence[typing.Optional[typing.Any]]` — The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. +**remote_field_traversal_path:** `typing.Sequence[typing.Any]` — The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint.
@@ -3940,7 +3819,7 @@ client.ats.field_mapping.field_mappings_partial_update(
-**remote_field_traversal_path:** `typing.Optional[typing.Sequence[typing.Optional[typing.Any]]]` — The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. +**remote_field_traversal_path:** `typing.Optional[typing.Sequence[typing.Any]]` — The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint.
@@ -4009,10 +3888,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.field_mapping.remote_fields_retrieve( - common_models="common_models", - include_example_values="include_example_values", -) +client.ats.field_mapping.remote_fields_retrieve() ``` @@ -4217,40 +4093,20 @@ Returns a list of `ScheduledInterview` objects.
```python -import datetime - from merge import Merge -from merge.resources.ats.resources.interviews import InterviewsListRequestExpand client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.interviews.list( - application_id="application_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), +response = client.ats.interviews.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=InterviewsListRequestExpand.APPLICATION, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - job_id="job_id", - job_interview_stage_id="job_interview_stage_id", - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - organizer_id="organizer_id", - page_size=1, - remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -4298,7 +4154,12 @@ client.ats.interviews.list(
-**expand:** `typing.Optional[InterviewsListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**expand:** `typing.Optional[ + typing.Union[ + InterviewsListRequestExpandItem, + typing.Sequence[InterviewsListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -4378,7 +4239,7 @@ client.ats.interviews.list(
-**remote_fields:** `typing.Optional[typing.Literal["status"]]` — Deprecated. Use show_enum_origins. +**remote_fields:** `typing.Optional[InterviewsListRequestRemoteFields]` — Deprecated. Use show_enum_origins.
@@ -4394,7 +4255,7 @@ client.ats.interviews.list(
-**show_enum_origins:** `typing.Optional[typing.Literal["status"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) +**show_enum_origins:** `typing.Optional[InterviewsListRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
@@ -4449,8 +4310,6 @@ client = Merge( api_key="YOUR_API_KEY", ) client.ats.interviews.create( - is_debug_mode=True, - run_async=True, model=ScheduledInterviewRequest(), remote_user_id="remote_user_id", ) @@ -4541,9 +4400,6 @@ Returns a `ScheduledInterview` object with the given `id`. ```python from merge import Merge -from merge.resources.ats.resources.interviews import ( - InterviewsRetrieveRequestExpand, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -4551,9 +4407,6 @@ client = Merge( ) client.ats.interviews.retrieve( id="id", - expand=InterviewsRetrieveRequestExpand.APPLICATION, - include_remote_data=True, - include_shell_data=True, ) ``` @@ -4578,7 +4431,12 @@ client.ats.interviews.retrieve(
-**expand:** `typing.Optional[InterviewsRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**expand:** `typing.Optional[ + typing.Union[ + InterviewsRetrieveRequestExpandItem, + typing.Sequence[InterviewsRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -4602,7 +4460,7 @@ client.ats.interviews.retrieve(
-**remote_fields:** `typing.Optional[typing.Literal["status"]]` — Deprecated. Use show_enum_origins. +**remote_fields:** `typing.Optional[InterviewsRetrieveRequestRemoteFields]` — Deprecated. Use show_enum_origins.
@@ -4610,7 +4468,7 @@ client.ats.interviews.retrieve(
-**show_enum_origins:** `typing.Optional[typing.Literal["status"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) +**show_enum_origins:** `typing.Optional[InterviewsRetrieveRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
@@ -4719,39 +4577,20 @@ Gets all issues for Organization.
```python -import datetime - from merge import Merge -from merge.resources.ats.resources.issues import IssuesListRequestStatus client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.issues.list( - account_token="account_token", +response = client.ats.issues.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_date="end_date", - end_user_organization_name="end_user_organization_name", - first_incident_time_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - first_incident_time_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - include_muted="include_muted", - integration_name="integration_name", - last_incident_time_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - last_incident_time_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - linked_account_id="linked_account_id", - page_size=1, - start_date="start_date", - status=IssuesListRequestStatus.ONGOING, ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -4995,35 +4834,20 @@ Returns a list of `JobInterviewStage` objects.
```python -import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.job_interview_stages.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), +response = client.ats.job_interview_stages.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - job_id="job_id", - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -5063,7 +4887,12 @@ client.ats.job_interview_stages.list(
-**expand:** `typing.Optional[typing.Literal["job"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**expand:** `typing.Optional[ + typing.Union[ + JobInterviewStagesListRequestExpandItem, + typing.Sequence[JobInterviewStagesListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -5182,8 +5011,6 @@ client = Merge( ) client.ats.job_interview_stages.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) ``` @@ -5208,7 +5035,12 @@ client.ats.job_interview_stages.retrieve(
-**expand:** `typing.Optional[typing.Literal["job"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**expand:** `typing.Optional[ + typing.Union[ + JobInterviewStagesRetrieveRequestExpandItem, + typing.Sequence[JobInterviewStagesRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -5272,38 +5104,20 @@ Returns a list of `JobPosting` objects.
```python -import datetime - from merge import Merge -from merge.resources.ats.resources.job_postings import ( - JobPostingsListRequestStatus, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.job_postings.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), +response = client.ats.job_postings.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", - status=JobPostingsListRequestStatus.CLOSED, ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -5343,7 +5157,12 @@ client.ats.job_postings.list(
-**expand:** `typing.Optional[typing.Literal["job"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**expand:** `typing.Optional[ + typing.Union[ + JobPostingsListRequestExpandItem, + typing.Sequence[JobPostingsListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -5470,8 +5289,6 @@ client = Merge( ) client.ats.job_postings.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) ``` @@ -5496,7 +5313,12 @@ client.ats.job_postings.retrieve(
-**expand:** `typing.Optional[typing.Literal["job"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**expand:** `typing.Optional[ + typing.Union[ + JobPostingsRetrieveRequestExpandItem, + typing.Sequence[JobPostingsRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -5560,42 +5382,20 @@ Returns a list of `Job` objects.
```python -import datetime - from merge import Merge -from merge.resources.ats.resources.jobs import ( - JobsListRequestExpand, - JobsListRequestStatus, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.jobs.list( - code="code", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), +response = client.ats.jobs.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=JobsListRequestExpand.DEPARTMENTS, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - offices="offices", - page_size=1, - remote_id="remote_id", - status=JobsListRequestStatus.ARCHIVED, ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -5643,7 +5443,11 @@ client.ats.jobs.list(
-**expand:** `typing.Optional[JobsListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**expand:** `typing.Optional[ + typing.Union[ + JobsListRequestExpandItem, typing.Sequence[JobsListRequestExpandItem] + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -5707,7 +5511,7 @@ client.ats.jobs.list(
-**remote_fields:** `typing.Optional[typing.Literal["status"]]` — Deprecated. Use show_enum_origins. +**remote_fields:** `typing.Optional[JobsListRequestRemoteFields]` — Deprecated. Use show_enum_origins.
@@ -5723,7 +5527,7 @@ client.ats.jobs.list(
-**show_enum_origins:** `typing.Optional[typing.Literal["status"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) +**show_enum_origins:** `typing.Optional[JobsListRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
@@ -5787,7 +5591,6 @@ Returns a `Job` object with the given `id`. ```python from merge import Merge -from merge.resources.ats.resources.jobs import JobsRetrieveRequestExpand client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -5795,9 +5598,6 @@ client = Merge( ) client.ats.jobs.retrieve( id="id", - expand=JobsRetrieveRequestExpand.DEPARTMENTS, - include_remote_data=True, - include_shell_data=True, ) ``` @@ -5822,7 +5622,12 @@ client.ats.jobs.retrieve(
-**expand:** `typing.Optional[JobsRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**expand:** `typing.Optional[ + typing.Union[ + JobsRetrieveRequestExpandItem, + typing.Sequence[JobsRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -5846,7 +5651,7 @@ client.ats.jobs.retrieve(
-**remote_fields:** `typing.Optional[typing.Literal["status"]]` — Deprecated. Use show_enum_origins. +**remote_fields:** `typing.Optional[JobsRetrieveRequestRemoteFields]` — Deprecated. Use show_enum_origins.
@@ -5854,7 +5659,7 @@ client.ats.jobs.retrieve(
-**show_enum_origins:** `typing.Optional[typing.Literal["status"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) +**show_enum_origins:** `typing.Optional[JobsRetrieveRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
@@ -5902,23 +5707,20 @@ Returns a list of `ScreeningQuestion` objects. ```python from merge import Merge -from merge.resources.ats.resources.jobs import ( - JobsScreeningQuestionsListRequestExpand, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.jobs.screening_questions_list( +response = client.ats.jobs.screening_questions_list( job_id="job_id", cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=JobsScreeningQuestionsListRequestExpand.JOB, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - page_size=1, ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -5950,7 +5752,12 @@ client.ats.jobs.screening_questions_list(
-**expand:** `typing.Optional[JobsScreeningQuestionsListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**expand:** `typing.Optional[ + typing.Union[ + JobsScreeningQuestionsListRequestExpandItem, + typing.Sequence[JobsScreeningQuestionsListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -6166,7 +5973,7 @@ The following subset of IETF language tags can be used to configure localization
-**integration_specific_config:** `typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]` — A JSON object containing integration-specific configuration options. +**integration_specific_config:** `typing.Optional[typing.Dict[str, typing.Any]]` — A JSON object containing integration-specific configuration options.
@@ -6215,29 +6022,19 @@ List linked accounts for your organization. ```python from merge import Merge -from merge.resources.ats.resources.linked_accounts import ( - LinkedAccountsListRequestCategory, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.linked_accounts.list( - category=LinkedAccountsListRequestCategory.ACCOUNTING, +response = client.ats.linked_accounts.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_user_email_address="end_user_email_address", - end_user_organization_name="end_user_organization_name", - end_user_origin_id="end_user_origin_id", - end_user_origin_ids="end_user_origin_ids", - id="id", - ids="ids", - include_duplicates=True, - integration_name="integration_name", - is_test_account="is_test_account", - page_size=1, - status="status", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -6407,38 +6204,20 @@ Returns a list of `Offer` objects.
```python -import datetime - from merge import Merge -from merge.resources.ats.resources.offers import OffersListRequestExpand client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.offers.list( - application_id="application_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - creator_id="creator_id", +response = client.ats.offers.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=OffersListRequestExpand.APPLICATION, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -6494,7 +6273,12 @@ client.ats.offers.list(
-**expand:** `typing.Optional[OffersListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**expand:** `typing.Optional[ + typing.Union[ + OffersListRequestExpandItem, + typing.Sequence[OffersListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -6550,7 +6334,7 @@ client.ats.offers.list(
-**remote_fields:** `typing.Optional[typing.Literal["status"]]` — Deprecated. Use show_enum_origins. +**remote_fields:** `typing.Optional[OffersListRequestRemoteFields]` — Deprecated. Use show_enum_origins.
@@ -6566,7 +6350,7 @@ client.ats.offers.list(
-**show_enum_origins:** `typing.Optional[typing.Literal["status"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) +**show_enum_origins:** `typing.Optional[OffersListRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
@@ -6614,7 +6398,6 @@ Returns an `Offer` object with the given `id`. ```python from merge import Merge -from merge.resources.ats.resources.offers import OffersRetrieveRequestExpand client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -6622,9 +6405,6 @@ client = Merge( ) client.ats.offers.retrieve( id="id", - expand=OffersRetrieveRequestExpand.APPLICATION, - include_remote_data=True, - include_shell_data=True, ) ``` @@ -6649,7 +6429,12 @@ client.ats.offers.retrieve(
-**expand:** `typing.Optional[OffersRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**expand:** `typing.Optional[ + typing.Union[ + OffersRetrieveRequestExpandItem, + typing.Sequence[OffersRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -6673,7 +6458,7 @@ client.ats.offers.retrieve(
-**remote_fields:** `typing.Optional[typing.Literal["status"]]` — Deprecated. Use show_enum_origins. +**remote_fields:** `typing.Optional[OffersRetrieveRequestRemoteFields]` — Deprecated. Use show_enum_origins.
@@ -6681,7 +6466,7 @@ client.ats.offers.retrieve(
-**show_enum_origins:** `typing.Optional[typing.Literal["status"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) +**show_enum_origins:** `typing.Optional[OffersRetrieveRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
@@ -6729,34 +6514,20 @@ Returns a list of `Office` objects.
```python -import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.offices.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), +response = client.ats.offices.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -6899,8 +6670,6 @@ client = Merge( ) client.ats.offices.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) ``` @@ -7129,34 +6898,20 @@ Returns a list of `RejectReason` objects.
```python -import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.reject_reasons.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), +response = client.ats.reject_reasons.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -7299,8 +7054,6 @@ client = Merge( ) client.ats.reject_reasons.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) ``` @@ -7381,39 +7134,20 @@ Returns a list of `Scorecard` objects.
```python -import datetime - from merge import Merge -from merge.resources.ats.resources.scorecards import ScorecardsListRequestExpand client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.scorecards.list( - application_id="application_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), +response = client.ats.scorecards.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=ScorecardsListRequestExpand.APPLICATION, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - interview_id="interview_id", - interviewer_id="interviewer_id", - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -7461,7 +7195,12 @@ client.ats.scorecards.list(
-**expand:** `typing.Optional[ScorecardsListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**expand:** `typing.Optional[ + typing.Union[ + ScorecardsListRequestExpandItem, + typing.Sequence[ScorecardsListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -7533,7 +7272,7 @@ client.ats.scorecards.list(
-**remote_fields:** `typing.Optional[typing.Literal["overall_recommendation"]]` — Deprecated. Use show_enum_origins. +**remote_fields:** `typing.Optional[ScorecardsListRequestRemoteFields]` — Deprecated. Use show_enum_origins.
@@ -7549,7 +7288,7 @@ client.ats.scorecards.list(
-**show_enum_origins:** `typing.Optional[typing.Literal["overall_recommendation"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) +**show_enum_origins:** `typing.Optional[ScorecardsListRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
@@ -7597,9 +7336,6 @@ Returns a `Scorecard` object with the given `id`. ```python from merge import Merge -from merge.resources.ats.resources.scorecards import ( - ScorecardsRetrieveRequestExpand, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -7607,9 +7343,6 @@ client = Merge( ) client.ats.scorecards.retrieve( id="id", - expand=ScorecardsRetrieveRequestExpand.APPLICATION, - include_remote_data=True, - include_shell_data=True, ) ``` @@ -7634,7 +7367,12 @@ client.ats.scorecards.retrieve(
-**expand:** `typing.Optional[ScorecardsRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**expand:** `typing.Optional[ + typing.Union[ + ScorecardsRetrieveRequestExpandItem, + typing.Sequence[ScorecardsRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -7658,7 +7396,7 @@ client.ats.scorecards.retrieve(
-**remote_fields:** `typing.Optional[typing.Literal["overall_recommendation"]]` — Deprecated. Use show_enum_origins. +**remote_fields:** `typing.Optional[ScorecardsRetrieveRequestRemoteFields]` — Deprecated. Use show_enum_origins.
@@ -7666,7 +7404,7 @@ client.ats.scorecards.retrieve(
-**show_enum_origins:** `typing.Optional[typing.Literal["overall_recommendation"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) +**show_enum_origins:** `typing.Optional[ScorecardsRetrieveRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
@@ -7720,10 +7458,14 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.sync_status.list( +response = client.ats.sync_status.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - page_size=1, ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -7857,198 +7599,169 @@ Returns a list of `Tag` objects.
```python -import datetime +from merge import Merge +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +response = client.ats.tags.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", +) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page + +``` +
+ + + + +#### ⚙️ Parameters + +
+
+ +
+
+ +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. + +
+
+ +
+
+ +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. + +
+
+ +
+
+ +**cursor:** `typing.Optional[str]` — The pagination cursor value. + +
+
+ +
+
+ +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + +
+
+ +
+
+ +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
+ +
+
+ +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + +
+
+ +
+
+ +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. + +
+
+ +
+
+ +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. + +
+
+ +
+
+ +**page_size:** `typing.Optional[int]` — Number of results to return per page. + +
+
+ +
+
+ +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + + + + + +## Ats Users +
client.ats.users.list(...) +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Returns a list of `RemoteUser` objects. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.tags.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), +response = client.ats.users.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. - -
-
- -
-
- -**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. - -
-
- -
-
- -**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
- -
-
- -**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. - -
-
- -
-
- -**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. - -
-
- -
-
- -**page_size:** `typing.Optional[int]` — Number of results to return per page. - -
-
- -
-
- -**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -## Ats Users -
client.ats.users.list(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns a list of `RemoteUser` objects. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -import datetime - -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.ats.users.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - email="email", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -8144,7 +7857,7 @@ client.ats.users.list(
-**remote_fields:** `typing.Optional[typing.Literal["access_role"]]` — Deprecated. Use show_enum_origins. +**remote_fields:** `typing.Optional[UsersListRequestRemoteFields]` — Deprecated. Use show_enum_origins.
@@ -8160,7 +7873,7 @@ client.ats.users.list(
-**show_enum_origins:** `typing.Optional[typing.Literal["access_role"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) +**show_enum_origins:** `typing.Optional[UsersListRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
@@ -8215,8 +7928,6 @@ client = Merge( ) client.ats.users.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) ``` @@ -8257,7 +7968,7 @@ client.ats.users.retrieve(
-**remote_fields:** `typing.Optional[typing.Literal["access_role"]]` — Deprecated. Use show_enum_origins. +**remote_fields:** `typing.Optional[UsersRetrieveRequestRemoteFields]` — Deprecated. Use show_enum_origins.
@@ -8265,7 +7976,7 @@ client.ats.users.retrieve(
-**show_enum_origins:** `typing.Optional[typing.Literal["access_role"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) +**show_enum_origins:** `typing.Optional[UsersRetrieveRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
@@ -8435,8 +8146,8 @@ client.ats.webhook_receivers.create(
-## Chat AccountDetails -
client.chat.account_details.retrieve() +## Accounting AccountDetails +
client.accounting.account_details.retrieve()
@@ -8469,7 +8180,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.chat.account_details.retrieve() +client.accounting.account_details.retrieve() ```
@@ -8497,8 +8208,8 @@ client.chat.account_details.retrieve()
-## Chat AccountToken -
client.chat.account_token.retrieve(...) +## Accounting AccountToken +
client.accounting.account_token.retrieve(...)
@@ -8531,7 +8242,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.chat.account_token.retrieve( +client.accounting.account_token.retrieve( public_token="public_token", ) @@ -8569,8 +8280,8 @@ client.chat.account_token.retrieve(
-## Chat AsyncPassthrough -
client.chat.async_passthrough.create(...) +## Accounting AccountingPeriods +
client.accounting.accounting_periods.list(...)
@@ -8582,7 +8293,7 @@ client.chat.account_token.retrieve(
-Asynchronously pull data from an endpoint not currently supported by Merge. +Returns a list of `AccountingPeriod` objects.
@@ -8598,18 +8309,19 @@ Asynchronously pull data from an endpoint not currently supported by Merge. ```python from merge import Merge -from merge.resources.chat import DataPassthroughRequest, MethodEnum client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.chat.async_passthrough.create( - request=DataPassthroughRequest( - method=MethodEnum.GET, - path="/scooters", - ), +response = client.accounting.accounting_periods.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -8625,7 +8337,7 @@ client.chat.async_passthrough.create(
-**request:** `DataPassthroughRequest` +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -8633,70 +8345,31 @@ client.chat.async_passthrough.create(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
- -
- - - - -
- -
client.chat.async_passthrough.retrieve(...) -
-
- -#### 📝 Description
-
-
- -Retrieves data from earlier async-passthrough POST request -
-
+**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +
-#### 🔌 Usage - -
-
-
-```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.chat.async_passthrough.retrieve( - async_passthrough_receipt_id="async_passthrough_receipt_id", -) - -``` -
-
+**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +
-#### ⚙️ Parameters - -
-
-
-**async_passthrough_receipt_id:** `str` +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -8716,8 +8389,7 @@ client.chat.async_passthrough.retrieve(
-## Chat AuditTrail -
client.chat.audit_trail.list(...) +
client.accounting.accounting_periods.retrieve(...)
@@ -8729,7 +8401,7 @@ client.chat.async_passthrough.retrieve(
-Gets a list of audit trail events. +Returns an `AccountingPeriod` object with the given `id`.
@@ -8750,13 +8422,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.chat.audit_trail.list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_date="end_date", - event_type="event_type", - page_size=1, - start_date="start_date", - user_email="user_email", +client.accounting.accounting_periods.retrieve( + id="id", ) ``` @@ -8773,31 +8440,7 @@ client.chat.audit_trail.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
- -
-
- -**end_date:** `typing.Optional[str]` — If included, will only include audit trail events that occurred before this time - -
-
- -
-
- -**event_type:** `typing.Optional[str]` — If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` - -
-
- -
-
- -**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. +**id:** `str`
@@ -8805,7 +8448,7 @@ client.chat.audit_trail.list(
-**start_date:** `typing.Optional[str]` — If included, will only include audit trail events that occurred after this time +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -8813,7 +8456,7 @@ client.chat.audit_trail.list(
-**user_email:** `typing.Optional[str]` — If provided, this will return events associated with the specified user email. Please note that the email address reflects the user's email at the time of the event, and may not be their current email. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -8833,8 +8476,8 @@ client.chat.audit_trail.list(
-## Chat AvailableActions -
client.chat.available_actions.retrieve() +## Accounting Accounts +
client.accounting.accounts.list(...)
@@ -8846,7 +8489,7 @@ client.chat.audit_trail.list(
-Returns a list of models and actions available for an account. +Returns a list of `Account` objects.
@@ -8867,7 +8510,14 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.chat.available_actions.retrieve() +response = client.accounting.accounts.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", +) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -8883,86 +8533,27 @@ client.chat.available_actions.retrieve()
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**account_type:** `typing.Optional[str]` — If provided, will only return accounts with the passed in enum.
- -
- - - - -
- -## Chat Conversations -
client.chat.conversations.list(...) -
-
- -#### 📝 Description
-
-
- -Returns a list of `Conversation` objects. -
-
+**classification:** `typing.Optional[AccountsListRequestClassification]` — If provided, will only return accounts with this classification. +
-#### 🔌 Usage -
-
-
- -```python -import datetime - -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.chat.conversations.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", -) - -``` -
-
+**company_id:** `typing.Optional[str]` — If provided, will only return accounts for this company. +
-#### ⚙️ Parameters - -
-
-
@@ -8990,7 +8581,12 @@ client.chat.conversations.list(
-**expand:** `typing.Optional[typing.Literal["members"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**expand:** `typing.Optional[ + typing.Union[ + AccountsListRequestExpandItem, + typing.Sequence[AccountsListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -9038,7 +8634,23 @@ client.chat.conversations.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. +**name:** `typing.Optional[str]` — If provided, will only return Accounts with this name. + +
+
+ +
+
+ +**page_size:** `typing.Optional[int]` — Number of results to return per page. + +
+
+ +
+
+ +**remote_fields:** `typing.Optional[AccountsListRequestRemoteFields]` — Deprecated. Use show_enum_origins.
@@ -9054,6 +8666,22 @@ client.chat.conversations.list(
+**show_enum_origins:** `typing.Optional[AccountsListRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) + +
+
+ +
+
+ +**status:** `typing.Optional[AccountsListRequestStatus]` — If provided, will only return accounts with this status. + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -9066,7 +8694,7 @@ client.chat.conversations.list(
-
client.chat.conversations.members_list(...) +
client.accounting.accounts.create(...)
@@ -9078,7 +8706,7 @@ client.chat.conversations.list(
-Returns a list of `Member` objects. +Creates an `Account` object with the given values.
@@ -9094,22 +8722,14 @@ Returns a list of `Member` objects. ```python from merge import Merge -from merge.resources.chat.resources.conversations import ( - ConversationsMembersListRequestExpand, -) +from merge.resources.accounting import AccountRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.chat.conversations.members_list( - conversation_id="conversation_id", - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=ConversationsMembersListRequestExpand.GROUP, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - page_size=1, +client.accounting.accounts.create( + model=AccountRequest(), ) ``` @@ -9126,39 +8746,7 @@ client.chat.conversations.members_list(
-**conversation_id:** `str` - -
-
- -
-
- -**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
- -
-
- -**expand:** `typing.Optional[ConversationsMembersListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
- -
-
- -**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**model:** `AccountRequest`
@@ -9166,7 +8754,7 @@ client.chat.conversations.members_list(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response.
@@ -9174,7 +8762,7 @@ client.chat.conversations.members_list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously.
@@ -9194,7 +8782,7 @@ client.chat.conversations.members_list(
-
client.chat.conversations.retrieve(...) +
client.accounting.accounts.retrieve(...)
@@ -9206,7 +8794,7 @@ client.chat.conversations.members_list(
-Returns a `Conversation` object with the given `id`. +Returns an `Account` object with the given `id`.
@@ -9227,10 +8815,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.chat.conversations.retrieve( +client.accounting.accounts.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) ``` @@ -9255,7 +8841,12 @@ client.chat.conversations.retrieve(
-**expand:** `typing.Optional[typing.Literal["members"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**expand:** `typing.Optional[ + typing.Union[ + AccountsRetrieveRequestExpandItem, + typing.Sequence[AccountsRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -9279,6 +8870,22 @@ client.chat.conversations.retrieve(
+**remote_fields:** `typing.Optional[AccountsRetrieveRequestRemoteFields]` — Deprecated. Use show_enum_origins. + +
+
+ +
+
+ +**show_enum_origins:** `typing.Optional[AccountsRetrieveRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -9291,8 +8898,7 @@ client.chat.conversations.retrieve(
-## Chat Scopes -
client.chat.scopes.default_scopes_retrieve() +
client.accounting.accounts.meta_post_retrieve()
@@ -9304,7 +8910,7 @@ client.chat.conversations.retrieve(
-Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). +Returns metadata for `Account` POSTs.
@@ -9325,7 +8931,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.chat.scopes.default_scopes_retrieve() +client.accounting.accounts.meta_post_retrieve() ``` @@ -9353,7 +8959,8 @@ client.chat.scopes.default_scopes_retrieve()
-
client.chat.scopes.linked_account_scopes_retrieve() +## Accounting Addresses +
client.accounting.addresses.retrieve(...)
@@ -9365,7 +8972,7 @@ client.chat.scopes.default_scopes_retrieve()
-Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). +Returns an `Address` object with the given `id`.
@@ -9386,7 +8993,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.chat.scopes.linked_account_scopes_retrieve() +client.accounting.addresses.retrieve( + id="id", +) ``` @@ -9402,6 +9011,46 @@ client.chat.scopes.linked_account_scopes_retrieve()
+**id:** `str` + +
+
+ +
+
+ +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
+ +
+
+ +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + +
+
+ +
+
+ +**remote_fields:** `typing.Optional[AddressesRetrieveRequestRemoteFields]` — Deprecated. Use show_enum_origins. + +
+
+ +
+
+ +**show_enum_origins:** `typing.Optional[AddressesRetrieveRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -9414,7 +9063,8 @@ client.chat.scopes.linked_account_scopes_retrieve()
-
client.chat.scopes.linked_account_scopes_create(...) +## Accounting AsyncPassthrough +
client.accounting.async_passthrough.create(...)
@@ -9426,7 +9076,7 @@ client.chat.scopes.linked_account_scopes_retrieve()
-Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes) +Asynchronously pull data from an endpoint not currently supported by Merge.
@@ -9442,42 +9092,17 @@ Update permissions for any Common Model or field for a single Linked Account. An ```python from merge import Merge -from merge.resources.chat import ( - FieldPermissionDeserializerRequest, - IndividualCommonModelScopeDeserializerRequest, - ModelPermissionDeserializerRequest, -) +from merge.resources.accounting import DataPassthroughRequest, MethodEnum client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.chat.scopes.linked_account_scopes_create( - common_models=[ - IndividualCommonModelScopeDeserializerRequest( - model_name="Employee", - model_permissions={ - "READ": ModelPermissionDeserializerRequest( - is_enabled=True, - ), - "WRITE": ModelPermissionDeserializerRequest( - is_enabled=False, - ), - }, - field_permissions=FieldPermissionDeserializerRequest( - enabled_fields=["avatar", "home_location"], - disabled_fields=["work_location"], - ), - ), - IndividualCommonModelScopeDeserializerRequest( - model_name="Benefit", - model_permissions={ - "WRITE": ModelPermissionDeserializerRequest( - is_enabled=False, - ) - }, - ), - ], +client.accounting.async_passthrough.create( + request=DataPassthroughRequest( + method=MethodEnum.GET, + path="/scooters", + ), ) ``` @@ -9494,7 +9119,7 @@ client.chat.scopes.linked_account_scopes_create(
-**common_models:** `typing.Sequence[IndividualCommonModelScopeDeserializerRequest]` — The common models you want to update the scopes for +**request:** `DataPassthroughRequest`
@@ -9514,8 +9139,7 @@ client.chat.scopes.linked_account_scopes_create(
-## Chat DeleteAccount -
client.chat.delete_account.delete() +
client.accounting.async_passthrough.retrieve(...)
@@ -9527,7 +9151,7 @@ client.chat.scopes.linked_account_scopes_create(
-Delete a linked account. +Retrieves data from earlier async-passthrough POST request
@@ -9548,7 +9172,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.chat.delete_account.delete() +client.accounting.async_passthrough.retrieve( + async_passthrough_receipt_id="async_passthrough_receipt_id", +) ``` @@ -9564,6 +9190,14 @@ client.chat.delete_account.delete()
+**async_passthrough_receipt_id:** `str` + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -9576,8 +9210,8 @@ client.chat.delete_account.delete()
-## Chat FieldMapping -
client.chat.field_mapping.field_mappings_retrieve(...) +## Accounting AsyncTasks +
client.accounting.async_tasks.retrieve(...)
@@ -9589,7 +9223,7 @@ client.chat.delete_account.delete()
-Get all Field Mappings for this Linked Account. Field Mappings are mappings between third-party Remote Fields and user defined Merge fields. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). +Returns an `AsyncPostTask` object with the given `id`.
@@ -9610,8 +9244,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.chat.field_mapping.field_mappings_retrieve( - exclude_remote_field_metadata=True, +client.accounting.async_tasks.retrieve( + id="id", ) ``` @@ -9628,7 +9262,7 @@ client.chat.field_mapping.field_mappings_retrieve(
-**exclude_remote_field_metadata:** `typing.Optional[bool]` — If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. +**id:** `str`
@@ -9648,7 +9282,8 @@ client.chat.field_mapping.field_mappings_retrieve(
-
client.chat.field_mapping.field_mappings_create(...) +## Accounting Attachments +
client.accounting.attachments.list(...)
@@ -9660,7 +9295,7 @@ client.chat.field_mapping.field_mappings_retrieve(
-Create new Field Mappings that will be available after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. +Returns a list of `AccountingAttachment` objects.
@@ -9681,15 +9316,14 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.chat.field_mapping.field_mappings_create( - exclude_remote_field_metadata=True, - target_field_name="example_target_field_name", - target_field_description="this is a example description of the target field", - remote_field_traversal_path=["example_remote_field"], - remote_method="GET", - remote_url_path="/example-url-path", - common_model_name="ExampleCommonModel", +response = client.accounting.attachments.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -9705,7 +9339,7 @@ client.chat.field_mapping.field_mappings_create(
-**target_field_name:** `str` — The name of the target field you want this remote field to map to. +**company_id:** `typing.Optional[str]` — If provided, will only return accounting attachments for this company.
@@ -9713,7 +9347,7 @@ client.chat.field_mapping.field_mappings_create(
-**target_field_description:** `str` — The description of the target field you want this remote field to map to. +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -9721,7 +9355,7 @@ client.chat.field_mapping.field_mappings_create(
-**remote_field_traversal_path:** `typing.Sequence[typing.Optional[typing.Any]]` — The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -9729,7 +9363,7 @@ client.chat.field_mapping.field_mappings_create(
-**remote_method:** `str` — The method of the remote endpoint where the remote field is coming from. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -9737,7 +9371,7 @@ client.chat.field_mapping.field_mappings_create(
-**remote_url_path:** `str` — The path of the remote endpoint where the remote field is coming from. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -9745,7 +9379,7 @@ client.chat.field_mapping.field_mappings_create(
-**common_model_name:** `str` — The name of the Common Model that the remote field corresponds to in a given category. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -9753,7 +9387,7 @@ client.chat.field_mapping.field_mappings_create(
-**exclude_remote_field_metadata:** `typing.Optional[bool]` — If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -9761,7 +9395,7 @@ client.chat.field_mapping.field_mappings_create(
-**jmes_path:** `typing.Optional[str]` — JMES path to specify json query expression to be used on field mapping. +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned.
@@ -9769,70 +9403,23 @@ client.chat.field_mapping.field_mappings_create(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned.
- -
- - - - -
- -
client.chat.field_mapping.field_mappings_destroy(...) -
-
- -#### 📝 Description
-
-
- -Deletes Field Mappings for a Linked Account. All data related to this Field Mapping will be deleted and these changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.chat.field_mapping.field_mappings_destroy( - field_mapping_id="field_mapping_id", -) - -``` -
-
+**page_size:** `typing.Optional[int]` — Number of results to return per page. +
-#### ⚙️ Parameters -
-
-
- -**field_mapping_id:** `str` +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -9852,7 +9439,7 @@ client.chat.field_mapping.field_mappings_destroy(
-
client.chat.field_mapping.field_mappings_partial_update(...) +
client.accounting.attachments.create(...)
@@ -9864,7 +9451,7 @@ client.chat.field_mapping.field_mappings_destroy(
-Create or update existing Field Mappings for a Linked Account. Changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. +Creates an `AccountingAttachment` object with the given values.
@@ -9880,13 +9467,14 @@ Create or update existing Field Mappings for a Linked Account. Changes will be r ```python from merge import Merge +from merge.resources.accounting import AccountingAttachmentRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.chat.field_mapping.field_mappings_partial_update( - field_mapping_id="field_mapping_id", +client.accounting.attachments.create( + model=AccountingAttachmentRequest(), ) ``` @@ -9903,23 +9491,7 @@ client.chat.field_mapping.field_mappings_partial_update(
-**field_mapping_id:** `str` - -
-
- -
-
- -**remote_field_traversal_path:** `typing.Optional[typing.Sequence[typing.Optional[typing.Any]]]` — The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. - -
-
- -
-
- -**remote_method:** `typing.Optional[str]` — The method of the remote endpoint where the remote field is coming from. +**model:** `AccountingAttachmentRequest`
@@ -9927,7 +9499,7 @@ client.chat.field_mapping.field_mappings_partial_update(
-**remote_url_path:** `typing.Optional[str]` — The path of the remote endpoint where the remote field is coming from. +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response.
@@ -9935,7 +9507,7 @@ client.chat.field_mapping.field_mappings_partial_update(
-**jmes_path:** `typing.Optional[str]` — JMES path to specify json query expression to be used on field mapping. +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously.
@@ -9955,7 +9527,7 @@ client.chat.field_mapping.field_mappings_partial_update(
-
client.chat.field_mapping.remote_fields_retrieve(...) +
client.accounting.attachments.retrieve(...)
@@ -9967,7 +9539,7 @@ client.chat.field_mapping.field_mappings_partial_update(
-Get all remote fields for a Linked Account. Remote fields are third-party fields that are accessible after initial sync if remote_data is enabled. You can use remote fields to override existing Merge fields or map a new Merge field. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). +Returns an `AccountingAttachment` object with the given `id`.
@@ -9988,9 +9560,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.chat.field_mapping.remote_fields_retrieve( - common_models="common_models", - include_example_values="include_example_values", +client.accounting.attachments.retrieve( + id="id", ) ``` @@ -10007,7 +9578,7 @@ client.chat.field_mapping.remote_fields_retrieve(
-**common_models:** `typing.Optional[str]` — A comma seperated list of Common Model names. If included, will only return Remote Fields for those Common Models. +**id:** `str`
@@ -10015,7 +9586,15 @@ client.chat.field_mapping.remote_fields_retrieve(
-**include_example_values:** `typing.Optional[str]` — If true, will include example values, where available, for remote fields in the 3rd party platform. These examples come from active data from your customers. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
+ +
+
+ +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -10035,7 +9614,7 @@ client.chat.field_mapping.remote_fields_retrieve(
-
client.chat.field_mapping.target_fields_retrieve() +
client.accounting.attachments.meta_post_retrieve()
@@ -10047,7 +9626,7 @@ client.chat.field_mapping.remote_fields_retrieve(
-Get all organization-wide Target Fields, this will not include any Linked Account specific Target Fields. Organization-wide Target Fields are additional fields appended to the Merge Common Model for all Linked Accounts in a category. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/target-fields/). +Returns metadata for `AccountingAttachment` POSTs.
@@ -10068,7 +9647,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.chat.field_mapping.target_fields_retrieve() +client.accounting.attachments.meta_post_retrieve() ``` @@ -10096,80 +9675,8 @@ client.chat.field_mapping.target_fields_retrieve()
-## Chat GenerateKey -
client.chat.generate_key.create(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Create a remote key. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.chat.generate_key.create( - name="Remote Deployment Key 1", -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**name:** `str` — The name of the remote key - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -## Chat Groups -
client.chat.groups.list(...) +## Accounting AuditTrail +
client.accounting.audit_trail.list(...)
@@ -10181,7 +9688,7 @@ client.chat.generate_key.create(
-Returns a list of `Group` objects. +Gets a list of audit trail events.
@@ -10196,34 +9703,20 @@ Returns a list of `Group` objects.
```python -import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.chat.groups.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), +response = client.accounting.audit_trail.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -10239,22 +9732,6 @@ client.chat.groups.list(
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. - -
-
- -
-
- -**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. - -
-
- -
-
- **cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -10263,31 +9740,7 @@ client.chat.groups.list(
-**expand:** `typing.Optional[typing.Literal["users"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
- -
-
- -**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**end_date:** `typing.Optional[str]` — If included, will only include audit trail events that occurred before this time
@@ -10295,7 +9748,7 @@ client.chat.groups.list(
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +**event_type:** `typing.Optional[str]` — If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED`
@@ -10303,7 +9756,7 @@ client.chat.groups.list(
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -10311,7 +9764,7 @@ client.chat.groups.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. +**start_date:** `typing.Optional[str]` — If included, will only include audit trail events that occurred after this time
@@ -10319,7 +9772,7 @@ client.chat.groups.list(
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +**user_email:** `typing.Optional[str]` — If provided, this will return events associated with the specified user email. Please note that the email address reflects the user's email at the time of the event, and may not be their current email.
@@ -10339,7 +9792,8 @@ client.chat.groups.list(
-
client.chat.groups.retrieve(...) +## Accounting AvailableActions +
client.accounting.available_actions.retrieve()
@@ -10351,7 +9805,7 @@ client.chat.groups.list(
-Returns a `Group` object with the given `id`. +Returns a list of models and actions available for an account.
@@ -10372,11 +9826,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.chat.groups.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, -) +client.accounting.available_actions.retrieve() ``` @@ -10392,38 +9842,6 @@ client.chat.groups.retrieve(
-**id:** `str` - -
-
- -
-
- -**expand:** `typing.Optional[typing.Literal["users"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -10436,8 +9854,8 @@ client.chat.groups.retrieve(
-## Chat Issues -
client.chat.issues.list(...) +## Accounting BalanceSheets +
client.accounting.balance_sheets.list(...)
@@ -10449,7 +9867,7 @@ client.chat.groups.retrieve(
-Gets all issues for Organization. +Returns a list of `BalanceSheet` objects.
@@ -10464,39 +9882,20 @@ Gets all issues for Organization.
```python -import datetime - from merge import Merge -from merge.resources.chat.resources.issues import IssuesListRequestStatus client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.chat.issues.list( - account_token="account_token", +response = client.accounting.balance_sheets.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_date="end_date", - end_user_organization_name="end_user_organization_name", - first_incident_time_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - first_incident_time_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - include_muted="include_muted", - integration_name="integration_name", - last_incident_time_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - last_incident_time_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - linked_account_id="linked_account_id", - page_size=1, - start_date="start_date", - status=IssuesListRequestStatus.ONGOING, ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -10512,23 +9911,7 @@ client.chat.issues.list(
-**account_token:** `typing.Optional[str]` - -
-
- -
-
- -**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
- -
-
- -**end_date:** `typing.Optional[str]` — If included, will only include issues whose most recent action occurred before this time +**company_id:** `typing.Optional[str]` — If provided, will only return balance sheets for this company.
@@ -10536,7 +9919,7 @@ client.chat.issues.list(
-**end_user_organization_name:** `typing.Optional[str]` +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -10544,7 +9927,7 @@ client.chat.issues.list(
-**first_incident_time_after:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose first incident time was after this datetime. +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -10552,7 +9935,7 @@ client.chat.issues.list(
-**first_incident_time_before:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose first incident time was before this datetime. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -10560,7 +9943,12 @@ client.chat.issues.list(
-**include_muted:** `typing.Optional[str]` — If true, will include muted issues +**expand:** `typing.Optional[ + typing.Union[ + BalanceSheetsListRequestExpandItem, + typing.Sequence[BalanceSheetsListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -10568,7 +9956,7 @@ client.chat.issues.list(
-**integration_name:** `typing.Optional[str]` +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -10576,7 +9964,7 @@ client.chat.issues.list(
-**last_incident_time_after:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose last incident time was after this datetime. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -10584,7 +9972,7 @@ client.chat.issues.list(
-**last_incident_time_before:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose last incident time was before this datetime. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -10592,7 +9980,7 @@ client.chat.issues.list(
-**linked_account_id:** `typing.Optional[str]` — If provided, will only include issues pertaining to the linked account passed in. +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned.
@@ -10600,7 +9988,7 @@ client.chat.issues.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned.
@@ -10608,7 +9996,7 @@ client.chat.issues.list(
-**start_date:** `typing.Optional[str]` — If included, will only include issues whose most recent action occurred after this time +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -10616,12 +10004,7 @@ client.chat.issues.list(
-**status:** `typing.Optional[IssuesListRequestStatus]` - -Status of the issue. Options: ('ONGOING', 'RESOLVED') - -* `ONGOING` - ONGOING -* `RESOLVED` - RESOLVED +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -10641,7 +10024,7 @@ Status of the issue. Options: ('ONGOING', 'RESOLVED')
-
client.chat.issues.retrieve(...) +
client.accounting.balance_sheets.retrieve(...)
@@ -10653,7 +10036,7 @@ Status of the issue. Options: ('ONGOING', 'RESOLVED')
-Get a specific issue. +Returns a `BalanceSheet` object with the given `id`.
@@ -10674,7 +10057,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.chat.issues.retrieve( +client.accounting.balance_sheets.retrieve( id="id", ) @@ -10700,6 +10083,35 @@ client.chat.issues.retrieve(
+**expand:** `typing.Optional[ + typing.Union[ + BalanceSheetsRetrieveRequestExpandItem, + typing.Sequence[BalanceSheetsRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + +
+
+ +
+
+ +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
+ +
+
+ +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -10712,8 +10124,8 @@ client.chat.issues.retrieve(
-## Chat LinkToken -
client.chat.link_token.create(...) +## Accounting BankFeedAccounts +
client.accounting.bank_feed_accounts.list(...)
@@ -10725,7 +10137,7 @@ client.chat.issues.retrieve(
-Creates a link token to be used when linking a new end user. The link token expires after single use. +Returns a list of `BankFeedAccount` objects.
@@ -10741,18 +10153,19 @@ Creates a link token to be used when linking a new end user. The link token expi ```python from merge import Merge -from merge.resources.chat import CategoriesEnum client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.chat.link_token.create( - end_user_email_address="example@gmail.com", - end_user_organization_name="Test Organization", - end_user_origin_id="12345", - categories=[CategoriesEnum.HRIS, CategoriesEnum.ATS], +response = client.accounting.bank_feed_accounts.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -10768,7 +10181,7 @@ client.chat.link_token.create(
-**end_user_email_address:** `str` — Your end user's email address. This is purely for identification purposes - setting this value will not cause any emails to be sent. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -10776,7 +10189,7 @@ client.chat.link_token.create(
-**end_user_organization_name:** `str` — Your end user's organization. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -10784,7 +10197,7 @@ client.chat.link_token.create(
-**end_user_origin_id:** `str` — This unique identifier typically represents the ID for your end user in your product's database. This value must be distinct from other Linked Accounts' unique identifiers. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -10792,7 +10205,7 @@ client.chat.link_token.create(
-**categories:** `typing.Sequence[CategoriesEnum]` — The integration categories to show in Merge Link. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -10800,7 +10213,7 @@ client.chat.link_token.create(
-**integration:** `typing.Optional[str]` — The slug of a specific pre-selected integration for this linking flow token. For examples of slugs, see https://docs.merge.dev/guides/merge-link/single-integration/. +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -10808,67 +10221,71 @@ client.chat.link_token.create(
-**link_expiry_mins:** `typing.Optional[int]` — An integer number of minutes between [30, 720 or 10080 if for a Magic Link URL] for how long this token is valid. Defaults to 30. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**should_create_magic_link_url:** `typing.Optional[bool]` — Whether to generate a Magic Link URL. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. -
+
+
client.accounting.bank_feed_accounts.create(...)
-**hide_admin_magic_link:** `typing.Optional[bool]` — Whether to generate a Magic Link URL on the Admin Needed screen during the linking flow. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. - -
-
+#### 📝 Description
-**common_models:** `typing.Optional[typing.Sequence[CommonModelScopesBodyRequest]]` — An array of objects to specify the models and fields that will be disabled for a given Linked Account. Each object uses model_id, enabled_actions, and disabled_fields to specify the model, method, and fields that are scoped for a given Linked Account. - -
-
-
-**category_common_model_scopes:** `typing.Optional[ - typing.Dict[ - str, - typing.Optional[ - typing.Sequence[IndividualCommonModelScopeDeserializerRequest] - ], - ] -]` — When creating a Link Token, you can set permissions for Common Models that will apply to the account that is going to be linked. Any model or field not specified in link token payload will default to existing settings. - +Creates a `BankFeedAccount` object with the given values.
+ + + +#### 🔌 Usage
-**language:** `typing.Optional[EndUserDetailsRequestLanguage]` +
+
-The following subset of IETF language tags can be used to configure localization. +```python +from merge import Merge +from merge.resources.accounting import BankFeedAccountRequest -* `en` - en -* `de` - de - +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.accounting.bank_feed_accounts.create( + model=BankFeedAccountRequest(), +) + +```
+
+
+ +#### ⚙️ Parameters
-**are_syncs_disabled:** `typing.Optional[bool]` — The boolean that indicates whether initial, periodic, and force syncs will be disabled. +
+
+ +**model:** `BankFeedAccountRequest`
@@ -10876,7 +10293,7 @@ The following subset of IETF language tags can be used to configure localization
-**integration_specific_config:** `typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]` — A JSON object containing integration-specific configuration options. +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response.
@@ -10884,11 +10301,7 @@ The following subset of IETF language tags can be used to configure localization
-**completed_account_initial_screen:** `typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen]` - -When creating a Link token, you can specifiy the initial screen of Linking Flow for a completed Linked Account. - -* `SELECTIVE_SYNC` - SELECTIVE_SYNC +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously.
@@ -10908,8 +10321,7 @@ When creating a Link token, you can specifiy the initial screen of Linking Flow
-## Chat LinkedAccounts -
client.chat.linked_accounts.list(...) +
client.accounting.bank_feed_accounts.retrieve(...)
@@ -10921,7 +10333,7 @@ When creating a Link token, you can specifiy the initial screen of Linking Flow
-List linked accounts for your organization. +Returns a `BankFeedAccount` object with the given `id`.
@@ -10937,28 +10349,13 @@ List linked accounts for your organization. ```python from merge import Merge -from merge.resources.chat.resources.linked_accounts import ( - LinkedAccountsListRequestCategory, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.chat.linked_accounts.list( - category=LinkedAccountsListRequestCategory.ACCOUNTING, - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_user_email_address="end_user_email_address", - end_user_organization_name="end_user_organization_name", - end_user_origin_id="end_user_origin_id", - end_user_origin_ids="end_user_origin_ids", +client.accounting.bank_feed_accounts.retrieve( id="id", - ids="ids", - include_duplicates=True, - integration_name="integration_name", - is_test_account="is_test_account", - page_size=1, - status="status", ) ``` @@ -10975,19 +10372,7 @@ client.chat.linked_accounts.list(
-**category:** `typing.Optional[LinkedAccountsListRequestCategory]` - -Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `knowledgebase`, `mktg`, `ticketing` - -* `hris` - hris -* `ats` - ats -* `accounting` - accounting -* `ticketing` - ticketing -* `crm` - crm -* `mktg` - mktg -* `filestorage` - filestorage -* `knowledgebase` - knowledgebase -* `chat` - chat +**id:** `str`
@@ -10995,7 +10380,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `knowledgebase`, `mk
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -11003,7 +10388,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `knowledgebase`, `mk
-**end_user_email_address:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given email address. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -11011,83 +10396,64 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `knowledgebase`, `mk
-**end_user_organization_name:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given organization name. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
- -
-
- -**end_user_origin_id:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given origin ID. -
-
-
-**end_user_origin_ids:** `typing.Optional[str]` — Comma-separated list of EndUser origin IDs, making it possible to specify multiple EndUsers at once. -
+
+
client.accounting.bank_feed_accounts.meta_post_retrieve()
-**id:** `typing.Optional[str]` - -
-
+#### 📝 Description
-**ids:** `typing.Optional[str]` — Comma-separated list of LinkedAccount IDs, making it possible to specify multiple LinkedAccounts at once. - -
-
-
-**include_duplicates:** `typing.Optional[bool]` — If `true`, will include complete production duplicates of the account specified by the `id` query parameter in the response. `id` must be for a complete production linked account. - +Returns metadata for `BankFeedAccount` POSTs.
- -
-
- -**integration_name:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given integration name. -
+#### 🔌 Usage +
-**is_test_account:** `typing.Optional[str]` — If included, will only include test linked accounts. If not included, will only include non-test linked accounts. - -
-
-
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. - +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.accounting.bank_feed_accounts.meta_post_retrieve() + +``` +
+
+#### ⚙️ Parameters +
-**status:** `typing.Optional[str]` — Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` - -
-
-
@@ -11103,8 +10469,8 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `knowledgebase`, `mk
-## Chat Messages -
client.chat.messages.list(...) +## Accounting BankFeedTransactions +
client.accounting.bank_feed_transactions.list(...)
@@ -11116,7 +10482,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `knowledgebase`, `mk
-Returns a list of `Message` objects. +Returns a list of `BankFeedTransaction` objects.
@@ -11131,38 +10497,20 @@ Returns a list of `Message` objects.
```python -import datetime - from merge import Merge -from merge.resources.chat.resources.messages import MessagesListRequestOrderBy client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.chat.messages.list( - conversation_id="conversation_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), +response = client.accounting.bank_feed_transactions.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - order_by=MessagesListRequestOrderBy.REMOTE_CREATED_AT_DESCENDING, - page_size=1, - remote_id="remote_id", - root_message="root_message", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -11178,7 +10526,7 @@ client.chat.messages.list(
-**conversation_id:** `typing.Optional[str]` — Filter messages by conversation ID. +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -11186,7 +10534,7 @@ client.chat.messages.list(
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -11194,7 +10542,7 @@ client.chat.messages.list(
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -11202,7 +10550,12 @@ client.chat.messages.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**expand:** `typing.Optional[ + typing.Union[ + BankFeedTransactionsListRequestExpandItem, + typing.Sequence[BankFeedTransactionsListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -11234,7 +10587,7 @@ client.chat.messages.list(
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +**is_processed:** `typing.Optional[bool]` — If provided, will only return bank feed transactions with this is_processed value
@@ -11242,7 +10595,7 @@ client.chat.messages.list(
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned.
@@ -11250,7 +10603,7 @@ client.chat.messages.list(
-**order_by:** `typing.Optional[MessagesListRequestOrderBy]` — Overrides the default ordering for this endpoint. Possible values include: remote_created_at, -remote_created_at. +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned.
@@ -11258,7 +10611,7 @@ client.chat.messages.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -11274,14 +10627,6 @@ client.chat.messages.list(
-**root_message:** `typing.Optional[str]` — If provided as 'true', will only return root messages (messages without a parent message). - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -11294,7 +10639,7 @@ client.chat.messages.list(
-
client.chat.messages.retrieve(...) +
client.accounting.bank_feed_transactions.create(...)
@@ -11306,7 +10651,7 @@ client.chat.messages.list(
-Returns a `Message` object with the given `id`. +Creates a `BankFeedTransaction` object with the given values.
@@ -11322,15 +10667,14 @@ Returns a `Message` object with the given `id`. ```python from merge import Merge +from merge.resources.accounting import BankFeedTransactionRequestRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.chat.messages.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, +client.accounting.bank_feed_transactions.create( + model=BankFeedTransactionRequestRequest(), ) ``` @@ -11347,7 +10691,7 @@ client.chat.messages.retrieve(
-**id:** `str` +**model:** `BankFeedTransactionRequestRequest`
@@ -11355,7 +10699,7 @@ client.chat.messages.retrieve(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response.
@@ -11363,7 +10707,7 @@ client.chat.messages.retrieve(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously.
@@ -11383,7 +10727,7 @@ client.chat.messages.retrieve(
-
client.chat.messages.replies_list(...) +
client.accounting.bank_feed_transactions.retrieve(...)
@@ -11395,7 +10739,7 @@ client.chat.messages.retrieve(
-Returns a list of `Message` objects. +Returns a `BankFeedTransaction` object with the given `id`.
@@ -11411,22 +10755,13 @@ Returns a list of `Message` objects. ```python from merge import Merge -from merge.resources.chat.resources.messages import ( - MessagesRepliesListRequestOrderBy, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.chat.messages.replies_list( - message_id="message_id", - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - order_by=MessagesRepliesListRequestOrderBy.REMOTE_CREATED_AT_DESCENDING, - page_size=1, +client.accounting.bank_feed_transactions.retrieve( + id="id", ) ``` @@ -11443,7 +10778,7 @@ client.chat.messages.replies_list(
-**message_id:** `str` +**id:** `str`
@@ -11451,7 +10786,12 @@ client.chat.messages.replies_list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**expand:** `typing.Optional[ + typing.Union[ + BankFeedTransactionsRetrieveRequestExpandItem, + typing.Sequence[BankFeedTransactionsRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -11459,7 +10799,7 @@ client.chat.messages.replies_list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -11467,7 +10807,7 @@ client.chat.messages.replies_list(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -11475,27 +10815,64 @@ client.chat.messages.replies_list(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
+ + + + +
+
client.accounting.bank_feed_transactions.meta_post_retrieve()
-**order_by:** `typing.Optional[MessagesRepliesListRequestOrderBy]` — Overrides the default ordering for this endpoint. Possible values include: remote_created_at, -remote_created_at. - +#### 📝 Description + +
+
+ +
+
+ +Returns metadata for `BankFeedTransaction` POSTs. +
+
+#### 🔌 Usage +
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. - +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.accounting.bank_feed_transactions.meta_post_retrieve() + +``` +
+
+#### ⚙️ Parameters + +
+
+
@@ -11511,8 +10888,8 @@ client.chat.messages.replies_list(
-## Chat Passthrough -
client.chat.passthrough.create(...) +## Accounting CashFlowStatements +
client.accounting.cash_flow_statements.list(...)
@@ -11524,7 +10901,7 @@ client.chat.messages.replies_list(
-Pull data from an endpoint not currently supported by Merge. +Returns a list of `CashFlowStatement` objects.
@@ -11540,18 +10917,19 @@ Pull data from an endpoint not currently supported by Merge. ```python from merge import Merge -from merge.resources.chat import DataPassthroughRequest, MethodEnum client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.chat.passthrough.create( - request=DataPassthroughRequest( - method=MethodEnum.GET, - path="/scooters", - ), +response = client.accounting.cash_flow_statements.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -11567,7 +10945,7 @@ client.chat.passthrough.create(
-**request:** `DataPassthroughRequest` +**company_id:** `typing.Optional[str]` — If provided, will only return cash flow statements for this company.
@@ -11575,71 +10953,92 @@ client.chat.passthrough.create(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
- -
+
+
+**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +
-
-## Chat RegenerateKey -
client.chat.regenerate_key.create(...)
-#### 📝 Description +**cursor:** `typing.Optional[str]` — The pagination cursor value. + +
+
+**expand:** `typing.Optional[ + typing.Union[ + CashFlowStatementsListRequestExpandItem, + typing.Sequence[CashFlowStatementsListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + +
+
+
-Exchange remote keys. -
-
+**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + -#### 🔌 Usage -
+**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
+
-```python -from merge import Merge +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + +
+
-client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.chat.regenerate_key.create( - name="Remote Deployment Key 1", -) +
+
-``` +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +
+ +
+
+ +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +
-#### ⚙️ Parameters -
+**page_size:** `typing.Optional[int]` — Number of results to return per page. + +
+
+
-**name:** `str` — The name of the remote key +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -11659,8 +11058,7 @@ client.chat.regenerate_key.create(
-## Chat SyncStatus -
client.chat.sync_status.list(...) +
client.accounting.cash_flow_statements.retrieve(...)
@@ -11672,7 +11070,7 @@ client.chat.regenerate_key.create(
-Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). +Returns a `CashFlowStatement` object with the given `id`.
@@ -11693,9 +11091,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.chat.sync_status.list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - page_size=1, +client.accounting.cash_flow_statements.retrieve( + id="id", ) ``` @@ -11712,7 +11109,20 @@ client.chat.sync_status.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**id:** `str` + +
+
+ +
+
+ +**expand:** `typing.Optional[ + typing.Union[ + CashFlowStatementsRetrieveRequestExpandItem, + typing.Sequence[CashFlowStatementsRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -11720,7 +11130,15 @@ client.chat.sync_status.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
+ +
+
+ +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -11740,8 +11158,8 @@ client.chat.sync_status.list(
-## Chat ForceResync -
client.chat.force_resync.sync_status_resync_create() +## Accounting CompanyInfo +
client.accounting.company_info.list(...)
@@ -11753,7 +11171,7 @@ client.chat.sync_status.list(
-Force re-sync of all models. This endpoint is available for monthly, quarterly, and highest sync frequency customers on the Professional or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. Force re-syncs can also be triggered manually in the Merge Dashboard and is available for all customers. +Returns a list of `CompanyInfo` objects.
@@ -11774,7 +11192,14 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.chat.force_resync.sync_status_resync_create() +response = client.accounting.company_info.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", +) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -11790,114 +11215,163 @@ client.chat.force_resync.sync_status_resync_create()
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
+ +
+
+ +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +
+
+
+**cursor:** `typing.Optional[str]` — The pagination cursor value. +
-
-## Chat Users -
client.chat.users.list(...)
-#### 📝 Description +**expand:** `typing.Optional[ + typing.Union[ + CompanyInfoListRequestExpandItem, + typing.Sequence[CompanyInfoListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + +
+
+**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + +
+
+
-Returns a list of `User` objects. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +
+ +
+
+ +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +
-#### 🔌 Usage +
+
+ +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. + +
+
+**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. + +
+
+
-```python -import datetime +**page_size:** `typing.Optional[int]` — Number of results to return per page. + +
+
-from merge import Merge +
+
-client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.chat.users.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", -) +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. + +
+
-``` +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +
-#### ⚙️ Parameters + + +
+ +
client.accounting.company_info.retrieve(...)
+#### 📝 Description +
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. - -
-
-
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. - +Returns a `CompanyInfo` object with the given `id`. +
+
+#### 🔌 Usage +
-**cursor:** `typing.Optional[str]` — The pagination cursor value. - +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.accounting.company_info.retrieve( + id="id", +) + +```
+
+
+ +#### ⚙️ Parameters
-**expand:** `typing.Optional[typing.Literal["groups"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +
+
+ +**id:** `str`
@@ -11905,7 +11379,12 @@ client.chat.users.list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**expand:** `typing.Optional[ + typing.Union[ + CompanyInfoRetrieveRequestExpandItem, + typing.Sequence[CompanyInfoRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -11929,23 +11408,76 @@ client.chat.users.list(
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+
+
+ + + + +
+ +## Accounting Contacts +
client.accounting.contacts.list(...) +
+
+ +#### 📝 Description
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. - +
+
+ +Returns a list of `Contact` objects.
+
+
+ +#### 🔌 Usage
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +response = client.accounting.contacts.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", +) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**company_id:** `typing.Optional[str]` — If provided, will only return contacts for this company.
@@ -11953,7 +11485,7 @@ client.chat.users.list(
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -11961,72 +11493,124 @@ client.chat.users.list(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
+ +
+
+ +**cursor:** `typing.Optional[str]` — The pagination cursor value. +
+
+
+**email_address:** `typing.Optional[str]` — If provided, will only return Contacts that match this email. +
-
-
client.chat.users.retrieve(...)
-#### 📝 Description +**expand:** `typing.Optional[ + typing.Union[ + ContactsListRequestExpandItem, + typing.Sequence[ContactsListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + +
+
+**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + +
+
+
-Returns a `User` object with the given `id`. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +
+ +
+
+ +**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. +
-#### 🔌 Usage +
+
+ +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + +
+
+**is_customer:** `typing.Optional[str]` — If provided, will only return Contacts that are denoted as customers. + +
+
+
-```python -from merge import Merge +**is_supplier:** `typing.Optional[str]` — If provided, will only return Contacts that are denoted as suppliers. + +
+
-client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.chat.users.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, -) +
+
-``` +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +
+ +
+
+ +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +
-#### ⚙️ Parameters +
+
+ +**name:** `typing.Optional[str]` — If provided, will only return Contacts that match this name. + +
+
+**page_size:** `typing.Optional[int]` — Number of results to return per page. + +
+
+
-**id:** `str` +**remote_fields:** `typing.Optional[ContactsListRequestRemoteFields]` — Deprecated. Use show_enum_origins.
@@ -12034,7 +11618,7 @@ client.chat.users.retrieve(
-**expand:** `typing.Optional[typing.Literal["groups"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -12042,7 +11626,7 @@ client.chat.users.retrieve(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**show_enum_origins:** `typing.Optional[ContactsListRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
@@ -12050,7 +11634,7 @@ client.chat.users.retrieve(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**status:** `typing.Optional[ContactsListRequestStatus]` — If provided, will only return Contacts that match this status.
@@ -12070,8 +11654,7 @@ client.chat.users.retrieve(
-## Chat WebhookReceivers -
client.chat.webhook_receivers.list() +
client.accounting.contacts.create(...)
@@ -12083,7 +11666,7 @@ client.chat.users.retrieve(
-Returns a list of `WebhookReceiver` objects. +Creates a `Contact` object with the given values.
@@ -12099,12 +11682,15 @@ Returns a list of `WebhookReceiver` objects. ```python from merge import Merge +from merge.resources.accounting import ContactRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.chat.webhook_receivers.list() +client.accounting.contacts.create( + model=ContactRequest(), +) ``` @@ -12120,6 +11706,30 @@ client.chat.webhook_receivers.list()
+**model:** `ContactRequest` + +
+
+ +
+
+ +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. + +
+
+ +
+
+ +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -12132,7 +11742,7 @@ client.chat.webhook_receivers.list()
-
client.chat.webhook_receivers.create(...) +
client.accounting.contacts.retrieve(...)
@@ -12144,7 +11754,7 @@ client.chat.webhook_receivers.list()
-Creates a `WebhookReceiver` object with the given values. +Returns a `Contact` object with the given `id`.
@@ -12165,9 +11775,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.chat.webhook_receivers.create( - event="event", - is_active=True, +client.accounting.contacts.retrieve( + id="id", ) ``` @@ -12184,7 +11793,7 @@ client.chat.webhook_receivers.create(
-**event:** `str` +**id:** `str`
@@ -12192,7 +11801,12 @@ client.chat.webhook_receivers.create(
-**is_active:** `bool` +**expand:** `typing.Optional[ + typing.Union[ + ContactsRetrieveRequestExpandItem, + typing.Sequence[ContactsRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -12200,7 +11814,39 @@ client.chat.webhook_receivers.create(
-**key:** `typing.Optional[str]` +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
+ +
+
+ +**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. + +
+
+ +
+
+ +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + +
+
+ +
+
+ +**remote_fields:** `typing.Optional[ContactsRetrieveRequestRemoteFields]` — Deprecated. Use show_enum_origins. + +
+
+ +
+
+ +**show_enum_origins:** `typing.Optional[ContactsRetrieveRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
@@ -12220,8 +11866,7 @@ client.chat.webhook_receivers.create(
-## Crm AccountDetails -
client.crm.account_details.retrieve() +
client.accounting.contacts.meta_post_retrieve()
@@ -12233,7 +11878,7 @@ client.chat.webhook_receivers.create(
-Get details for a linked account. +Returns metadata for `Contact` POSTs.
@@ -12254,7 +11899,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.account_details.retrieve() +client.accounting.contacts.meta_post_retrieve() ``` @@ -12282,8 +11927,7 @@ client.crm.account_details.retrieve()
-## Crm AccountToken -
client.crm.account_token.retrieve(...) +
client.accounting.contacts.remote_field_classes_list(...)
@@ -12295,7 +11939,7 @@ client.crm.account_details.retrieve()
-Returns the account token for the end user with the provided public token. +Returns a list of `RemoteFieldClass` objects.
@@ -12316,9 +11960,14 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.account_token.retrieve( - public_token="public_token", +response = client.accounting.contacts.remote_field_classes_list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -12334,7 +11983,55 @@ client.crm.account_token.retrieve(
-**public_token:** `str` +**cursor:** `typing.Optional[str]` — The pagination cursor value. + +
+
+ +
+
+ +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + +
+
+ +
+
+ +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
+ +
+
+ +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + +
+
+ +
+
+ +**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value + +
+
+ +
+
+ +**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value + +
+
+ +
+
+ +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -12354,8 +12051,8 @@ client.crm.account_token.retrieve(
-## Crm Accounts -
client.crm.accounts.list(...) +## Accounting CreditNotes +
client.accounting.credit_notes.list(...)
@@ -12367,7 +12064,7 @@ client.crm.account_token.retrieve(
-Returns a list of `Account` objects. +Returns a list of `CreditNote` objects.
@@ -12382,37 +12079,20 @@ Returns a list of `Account` objects.
```python -import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.accounts.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), +response = client.accounting.credit_notes.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - name="name", - owner_id="owner_id", - page_size=1, - remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -12428,6 +12108,14 @@ client.crm.accounts.list(
+**company_id:** `typing.Optional[str]` — If provided, will only return credit notes for this company. + +
+
+ +
+
+ **created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -12452,7 +12140,12 @@ client.crm.accounts.list(
-**expand:** `typing.Optional[typing.Literal["owner"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**expand:** `typing.Optional[ + typing.Union[ + CreditNotesListRequestExpandItem, + typing.Sequence[CreditNotesListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -12476,7 +12169,7 @@ client.crm.accounts.list(
-**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -12484,7 +12177,7 @@ client.crm.accounts.list(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned.
@@ -12492,7 +12185,7 @@ client.crm.accounts.list(
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned.
@@ -12500,7 +12193,7 @@ client.crm.accounts.list(
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -12508,7 +12201,7 @@ client.crm.accounts.list(
-**name:** `typing.Optional[str]` — If provided, will only return accounts with this name. +**remote_fields:** `typing.Optional[CreditNotesListRequestRemoteFields]` — Deprecated. Use show_enum_origins.
@@ -12516,7 +12209,7 @@ client.crm.accounts.list(
-**owner_id:** `typing.Optional[str]` — If provided, will only return accounts with this owner. +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -12524,7 +12217,7 @@ client.crm.accounts.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**show_enum_origins:** `typing.Optional[CreditNotesListRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
@@ -12532,7 +12225,15 @@ client.crm.accounts.list(
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +**transaction_date_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. + +
+
+ +
+
+ +**transaction_date_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -12552,7 +12253,7 @@ client.crm.accounts.list(
-
client.crm.accounts.create(...) +
client.accounting.credit_notes.create(...)
@@ -12564,7 +12265,7 @@ client.crm.accounts.list(
-Creates an `Account` object with the given values. +Creates a `CreditNote` object with the given values.
@@ -12580,16 +12281,14 @@ Creates an `Account` object with the given values. ```python from merge import Merge -from merge.resources.crm import AccountRequest +from merge.resources.accounting import CreditNoteRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.accounts.create( - is_debug_mode=True, - run_async=True, - model=AccountRequest(), +client.accounting.credit_notes.create( + model=CreditNoteRequest(), ) ``` @@ -12606,7 +12305,7 @@ client.crm.accounts.create(
-**model:** `AccountRequest` +**model:** `CreditNoteRequest`
@@ -12642,7 +12341,7 @@ client.crm.accounts.create(
-
client.crm.accounts.retrieve(...) +
client.accounting.credit_notes.retrieve(...)
@@ -12654,7 +12353,7 @@ client.crm.accounts.create(
-Returns an `Account` object with the given `id`. +Returns a `CreditNote` object with the given `id`.
@@ -12675,11 +12374,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.accounts.retrieve( +client.accounting.credit_notes.retrieve( id="id", - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, ) ``` @@ -12704,7 +12400,12 @@ client.crm.accounts.retrieve(
-**expand:** `typing.Optional[typing.Literal["owner"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**expand:** `typing.Optional[ + typing.Union[ + CreditNotesRetrieveRequestExpandItem, + typing.Sequence[CreditNotesRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -12720,7 +12421,7 @@ client.crm.accounts.retrieve(
-**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -12728,7 +12429,15 @@ client.crm.accounts.retrieve(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**remote_fields:** `typing.Optional[CreditNotesRetrieveRequestRemoteFields]` — Deprecated. Use show_enum_origins. + +
+
+ +
+
+ +**show_enum_origins:** `typing.Optional[CreditNotesRetrieveRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
@@ -12748,7 +12457,7 @@ client.crm.accounts.retrieve(
-
client.crm.accounts.partial_update(...) +
client.accounting.credit_notes.meta_post_retrieve()
@@ -12760,7 +12469,7 @@ client.crm.accounts.retrieve(
-Updates an `Account` object with the given `id`. +Returns metadata for `CreditNote` POSTs.
@@ -12776,18 +12485,12 @@ Updates an `Account` object with the given `id`. ```python from merge import Merge -from merge.resources.crm import PatchedAccountRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.accounts.partial_update( - id="id", - is_debug_mode=True, - run_async=True, - model=PatchedAccountRequest(), -) +client.accounting.credit_notes.meta_post_retrieve() ``` @@ -12803,38 +12506,6 @@ client.crm.accounts.partial_update(
-**id:** `str` - -
-
- -
-
- -**model:** `PatchedAccountRequest` - -
-
- -
-
- -**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. - -
-
- -
-
- -**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -12847,7 +12518,8 @@ client.crm.accounts.partial_update(
-
client.crm.accounts.meta_patch_retrieve(...) +## Accounting Scopes +
client.accounting.scopes.default_scopes_retrieve()
@@ -12859,7 +12531,7 @@ client.crm.accounts.partial_update(
-Returns metadata for `CRMAccount` PATCHs. +Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes).
@@ -12880,9 +12552,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.accounts.meta_patch_retrieve( - id="id", -) +client.accounting.scopes.default_scopes_retrieve() ``` @@ -12898,14 +12568,6 @@ client.crm.accounts.meta_patch_retrieve(
-**id:** `str` - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -12918,7 +12580,7 @@ client.crm.accounts.meta_patch_retrieve(
-
client.crm.accounts.meta_post_retrieve() +
client.accounting.scopes.linked_account_scopes_retrieve()
@@ -12930,7 +12592,7 @@ client.crm.accounts.meta_patch_retrieve(
-Returns metadata for `CRMAccount` POSTs. +Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes).
@@ -12951,7 +12613,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.accounts.meta_post_retrieve() +client.accounting.scopes.linked_account_scopes_retrieve() ``` @@ -12979,7 +12641,7 @@ client.crm.accounts.meta_post_retrieve()
-
client.crm.accounts.remote_field_classes_list(...) +
client.accounting.scopes.linked_account_scopes_create(...)
@@ -12991,7 +12653,7 @@ client.crm.accounts.meta_post_retrieve()
-Returns a list of `RemoteFieldClass` objects. +Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes)
@@ -13007,20 +12669,42 @@ Returns a list of `RemoteFieldClass` objects. ```python from merge import Merge +from merge.resources.accounting import ( + FieldPermissionDeserializerRequest, + IndividualCommonModelScopeDeserializerRequest, + ModelPermissionDeserializerRequest, +) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.accounts.remote_field_classes_list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, +client.accounting.scopes.linked_account_scopes_create( + common_models=[ + IndividualCommonModelScopeDeserializerRequest( + model_name="Employee", + model_permissions={ + "READ": ModelPermissionDeserializerRequest( + is_enabled=True, + ), + "WRITE": ModelPermissionDeserializerRequest( + is_enabled=False, + ), + }, + field_permissions=FieldPermissionDeserializerRequest( + enabled_fields=["avatar", "home_location"], + disabled_fields=["work_location"], + ), + ), + IndividualCommonModelScopeDeserializerRequest( + model_name="Benefit", + model_permissions={ + "WRITE": ModelPermissionDeserializerRequest( + is_enabled=False, + ) + }, + ), + ], ) ``` @@ -13037,7 +12721,7 @@ client.crm.accounts.remote_field_classes_list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**common_models:** `typing.Sequence[IndividualCommonModelScopeDeserializerRequest]` — The common models you want to update the scopes for
@@ -13045,59 +12729,65 @@ client.crm.accounts.remote_field_classes_list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. -
+
+## Accounting DeleteAccount +
client.accounting.delete_account.delete()
-**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. - -
-
+#### 📝 Description
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
-
-**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value - +Delete a linked account. +
+
+#### 🔌 Usage +
-**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value - -
-
-
-**page_size:** `typing.Optional[int]` — Number of results to return per page. - +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.accounting.delete_account.delete() + +``` +
+
+#### ⚙️ Parameters + +
+
+
@@ -13113,8 +12803,8 @@ client.crm.accounts.remote_field_classes_list(
-## Crm AsyncPassthrough -
client.crm.async_passthrough.create(...) +## Accounting Employees +
client.accounting.employees.list(...)
@@ -13126,7 +12816,7 @@ client.crm.accounts.remote_field_classes_list(
-Asynchronously pull data from an endpoint not currently supported by Merge. +Returns a list of `Employee` objects.
@@ -13142,18 +12832,19 @@ Asynchronously pull data from an endpoint not currently supported by Merge. ```python from merge import Merge -from merge.resources.crm import DataPassthroughRequest, MethodEnum client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.async_passthrough.create( - request=DataPassthroughRequest( - method=MethodEnum.GET, - path="/scooters", - ), +response = client.accounting.employees.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -13169,7 +12860,52 @@ client.crm.async_passthrough.create(
-**request:** `DataPassthroughRequest` +**cursor:** `typing.Optional[str]` — The pagination cursor value. + +
+
+ +
+
+ +**expand:** `typing.Optional[ + typing.Union[ + EmployeesListRequestExpandItem, + typing.Sequence[EmployeesListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + +
+
+ +
+
+ +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + +
+
+ +
+
+ +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
+ +
+
+ +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + +
+
+ +
+
+ +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -13189,7 +12925,7 @@ client.crm.async_passthrough.create(
-
client.crm.async_passthrough.retrieve(...) +
client.accounting.employees.retrieve(...)
@@ -13201,7 +12937,7 @@ client.crm.async_passthrough.create(
-Retrieves data from earlier async-passthrough POST request +Returns an `Employee` object with the given `id`.
@@ -13222,8 +12958,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.async_passthrough.retrieve( - async_passthrough_receipt_id="async_passthrough_receipt_id", +client.accounting.employees.retrieve( + id="id", ) ``` @@ -13240,7 +12976,36 @@ client.crm.async_passthrough.retrieve(
-**async_passthrough_receipt_id:** `str` +**id:** `str` + +
+
+ +
+
+ +**expand:** `typing.Optional[ + typing.Union[ + EmployeesRetrieveRequestExpandItem, + typing.Sequence[EmployeesRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + +
+
+ +
+
+ +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
+ +
+
+ +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -13260,8 +13025,8 @@ client.crm.async_passthrough.retrieve(
-## Crm AuditTrail -
client.crm.audit_trail.list(...) +## Accounting Expenses +
client.accounting.expenses.list(...)
@@ -13273,7 +13038,7 @@ client.crm.async_passthrough.retrieve(
-Gets a list of audit trail events. +Returns a list of `Expense` objects.
@@ -13294,14 +13059,14 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.audit_trail.list( +response = client.accounting.expenses.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_date="end_date", - event_type="event_type", - page_size=1, - start_date="start_date", - user_email="user_email", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -13317,6 +13082,30 @@ client.crm.audit_trail.list(
+**company_id:** `typing.Optional[str]` — If provided, will only return expenses for this company. + +
+
+ +
+
+ +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. + +
+
+ +
+
+ +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. + +
+
+ +
+
+ **cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -13325,7 +13114,12 @@ client.crm.audit_trail.list(
-**end_date:** `typing.Optional[str]` — If included, will only include audit trail events that occurred before this time +**expand:** `typing.Optional[ + typing.Union[ + ExpensesListRequestExpandItem, + typing.Sequence[ExpensesListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -13333,7 +13127,47 @@ client.crm.audit_trail.list(
-**event_type:** `typing.Optional[str]` — If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + +
+
+ +
+
+ +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
+ +
+
+ +**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. + +
+
+ +
+
+ +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + +
+
+ +
+
+ +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. + +
+
+ +
+
+ +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned.
@@ -13349,7 +13183,7 @@ client.crm.audit_trail.list(
-**start_date:** `typing.Optional[str]` — If included, will only include audit trail events that occurred after this time +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -13357,7 +13191,15 @@ client.crm.audit_trail.list(
-**user_email:** `typing.Optional[str]` — If provided, this will return events associated with the specified user email. Please note that the email address reflects the user's email at the time of the event, and may not be their current email. +**transaction_date_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. + +
+
+ +
+
+ +**transaction_date_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -13377,8 +13219,7 @@ client.crm.audit_trail.list(
-## Crm AvailableActions -
client.crm.available_actions.retrieve() +
client.accounting.expenses.create(...)
@@ -13390,7 +13231,7 @@ client.crm.audit_trail.list(
-Returns a list of models and actions available for an account. +Creates an `Expense` object with the given values.
@@ -13406,12 +13247,15 @@ Returns a list of models and actions available for an account. ```python from merge import Merge +from merge.resources.accounting import ExpenseRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.available_actions.retrieve() +client.accounting.expenses.create( + model=ExpenseRequest(), +) ``` @@ -13427,6 +13271,30 @@ client.crm.available_actions.retrieve()
+**model:** `ExpenseRequest` + +
+
+ +
+
+ +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. + +
+
+ +
+
+ +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -13439,8 +13307,7 @@ client.crm.available_actions.retrieve()
-## Crm Contacts -
client.crm.contacts.list(...) +
client.accounting.expenses.retrieve(...)
@@ -13452,7 +13319,7 @@ client.crm.available_actions.retrieve()
-Returns a list of `Contact` objects. +Returns an `Expense` object with the given `id`.
@@ -13467,39 +13334,14 @@ Returns a list of `Contact` objects.
```python -import datetime - from merge import Merge -from merge.resources.crm.resources.contacts import ContactsListRequestExpand client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.contacts.list( - account_id="account_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - email_addresses="email_addresses", - expand=ContactsListRequestExpand.ACCOUNT, - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - phone_numbers="phone_numbers", - remote_id="remote_id", +client.accounting.expenses.retrieve( + id="id", ) ``` @@ -13516,7 +13358,7 @@ client.crm.contacts.list(
-**account_id:** `typing.Optional[str]` — If provided, will only return contacts with this account. +**id:** `str`
@@ -13524,7 +13366,12 @@ client.crm.contacts.list(
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**expand:** `typing.Optional[ + typing.Union[ + ExpensesRetrieveRequestExpandItem, + typing.Sequence[ExpensesRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -13532,7 +13379,7 @@ client.crm.contacts.list(
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -13540,7 +13387,7 @@ client.crm.contacts.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
@@ -13548,7 +13395,7 @@ client.crm.contacts.list(
-**email_addresses:** `typing.Optional[str]` — If provided, will only return contacts matching the email addresses; multiple email_addresses can be separated by commas. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -13556,31 +13403,75 @@ client.crm.contacts.list(
-**expand:** `typing.Optional[ContactsListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+
+
+ + + + +
+
client.accounting.expenses.lines_remote_field_classes_list(...)
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - +#### 📝 Description + +
+
+ +
+
+ +Returns a list of `RemoteFieldClass` objects. +
+
+#### 🔌 Usage +
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +response = client.accounting.expenses.lines_remote_field_classes_list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", +) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page + +``` +
+
+#### ⚙️ Parameters +
-**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. +
+
+ +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -13588,7 +13479,7 @@ client.crm.contacts.list(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -13596,7 +13487,7 @@ client.crm.contacts.list(
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -13604,7 +13495,7 @@ client.crm.contacts.list(
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -13612,7 +13503,7 @@ client.crm.contacts.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value
@@ -13620,7 +13511,7 @@ client.crm.contacts.list(
-**phone_numbers:** `typing.Optional[str]` — If provided, will only return contacts matching the phone numbers; multiple phone numbers can be separated by commas. +**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value
@@ -13628,7 +13519,7 @@ client.crm.contacts.list(
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -13648,7 +13539,7 @@ client.crm.contacts.list(
-
client.crm.contacts.create(...) +
client.accounting.expenses.meta_post_retrieve()
@@ -13660,7 +13551,7 @@ client.crm.contacts.list(
-Creates a `Contact` object with the given values. +Returns metadata for `Expense` POSTs.
@@ -13676,17 +13567,12 @@ Creates a `Contact` object with the given values. ```python from merge import Merge -from merge.resources.crm import ContactRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.contacts.create( - is_debug_mode=True, - run_async=True, - model=ContactRequest(), -) +client.accounting.expenses.meta_post_retrieve() ``` @@ -13702,30 +13588,6 @@ client.crm.contacts.create(
-**model:** `ContactRequest` - -
-
- -
-
- -**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. - -
-
- -
-
- -**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -13738,7 +13600,7 @@ client.crm.contacts.create(
-
client.crm.contacts.retrieve(...) +
client.accounting.expenses.remote_field_classes_list(...)
@@ -13750,7 +13612,7 @@ client.crm.contacts.create(
-Returns a `Contact` object with the given `id`. +Returns a list of `RemoteFieldClass` objects.
@@ -13766,19 +13628,19 @@ Returns a `Contact` object with the given `id`. ```python from merge import Merge -from merge.resources.crm.resources.contacts import ContactsRetrieveRequestExpand client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.contacts.retrieve( - id="id", - expand=ContactsRetrieveRequestExpand.ACCOUNT, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, +response = client.accounting.expenses.remote_field_classes_list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -13794,7 +13656,7 @@ client.crm.contacts.retrieve(
-**id:** `str` +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -13802,7 +13664,7 @@ client.crm.contacts.retrieve(
-**expand:** `typing.Optional[ContactsRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -13818,7 +13680,7 @@ client.crm.contacts.retrieve(
-**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -13826,7 +13688,23 @@ client.crm.contacts.retrieve(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value + +
+
+ +
+
+ +**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value + +
+
+ +
+
+ +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -13846,7 +13724,8 @@ client.crm.contacts.retrieve(
-
client.crm.contacts.partial_update(...) +## Accounting FieldMapping +
client.accounting.field_mapping.field_mappings_retrieve(...)
@@ -13858,7 +13737,7 @@ client.crm.contacts.retrieve(
-Updates a `Contact` object with the given `id`. +Get all Field Mappings for this Linked Account. Field Mappings are mappings between third-party Remote Fields and user defined Merge fields. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/).
@@ -13874,18 +13753,12 @@ Updates a `Contact` object with the given `id`. ```python from merge import Merge -from merge.resources.crm import PatchedContactRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.contacts.partial_update( - id="id", - is_debug_mode=True, - run_async=True, - model=PatchedContactRequest(), -) +client.accounting.field_mapping.field_mappings_retrieve() ``` @@ -13901,31 +13774,7 @@ client.crm.contacts.partial_update(
-**id:** `str` - -
-
- -
-
- -**model:** `PatchedContactRequest` - -
-
- -
-
- -**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. - -
-
- -
-
- -**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. +**exclude_remote_field_metadata:** `typing.Optional[bool]` — If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations.
@@ -13945,7 +13794,7 @@ client.crm.contacts.partial_update(
-
client.crm.contacts.ignore_create(...) +
client.accounting.field_mapping.field_mappings_create(...)
@@ -13957,7 +13806,7 @@ client.crm.contacts.partial_update(
-Ignores a specific row based on the `model_id` in the url. These records will have their properties set to null, and will not be updated in future syncs. The "reason" and "message" fields in the request body will be stored for audit purposes. +Create new Field Mappings that will be available after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start.
@@ -13973,17 +13822,18 @@ Ignores a specific row based on the `model_id` in the url. These records will ha ```python from merge import Merge -from merge.resources.crm import IgnoreCommonModelRequest, ReasonEnum client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.contacts.ignore_create( - model_id="model_id", - request=IgnoreCommonModelRequest( - reason=ReasonEnum.GENERAL_CUSTOMER_REQUEST, - ), +client.accounting.field_mapping.field_mappings_create( + target_field_name="example_target_field_name", + target_field_description="this is a example description of the target field", + remote_field_traversal_path=["example_remote_field"], + remote_method="GET", + remote_url_path="/example-url-path", + common_model_name="ExampleCommonModel", ) ``` @@ -14000,7 +13850,7 @@ client.crm.contacts.ignore_create(
-**model_id:** `str` +**target_field_name:** `str` — The name of the target field you want this remote field to map to.
@@ -14008,7 +13858,47 @@ client.crm.contacts.ignore_create(
-**request:** `IgnoreCommonModelRequest` +**target_field_description:** `str` — The description of the target field you want this remote field to map to. + +
+
+ +
+
+ +**remote_field_traversal_path:** `typing.Sequence[typing.Any]` — The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. + +
+
+ +
+
+ +**remote_method:** `str` — The method of the remote endpoint where the remote field is coming from. + +
+
+ +
+
+ +**remote_url_path:** `str` — The path of the remote endpoint where the remote field is coming from. + +
+
+ +
+
+ +**common_model_name:** `str` — The name of the Common Model that the remote field corresponds to in a given category. + +
+
+ +
+
+ +**exclude_remote_field_metadata:** `typing.Optional[bool]` — If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations.
@@ -14028,7 +13918,7 @@ client.crm.contacts.ignore_create(
-
client.crm.contacts.meta_patch_retrieve(...) +
client.accounting.field_mapping.field_mappings_destroy(...)
@@ -14040,7 +13930,7 @@ client.crm.contacts.ignore_create(
-Returns metadata for `CRMContact` PATCHs. +Deletes Field Mappings for a Linked Account. All data related to this Field Mapping will be deleted and these changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start.
@@ -14061,8 +13951,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.contacts.meta_patch_retrieve( - id="id", +client.accounting.field_mapping.field_mappings_destroy( + field_mapping_id="field_mapping_id", ) ``` @@ -14079,7 +13969,7 @@ client.crm.contacts.meta_patch_retrieve(
-**id:** `str` +**field_mapping_id:** `str`
@@ -14099,7 +13989,7 @@ client.crm.contacts.meta_patch_retrieve(
-
client.crm.contacts.meta_post_retrieve() +
client.accounting.field_mapping.field_mappings_partial_update(...)
@@ -14111,7 +14001,7 @@ client.crm.contacts.meta_patch_retrieve(
-Returns metadata for `CRMContact` POSTs. +Create or update existing Field Mappings for a Linked Account. Changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start.
@@ -14132,7 +14022,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.contacts.meta_post_retrieve() +client.accounting.field_mapping.field_mappings_partial_update( + field_mapping_id="field_mapping_id", +) ``` @@ -14148,6 +14040,38 @@ client.crm.contacts.meta_post_retrieve()
+**field_mapping_id:** `str` + +
+
+ +
+
+ +**remote_field_traversal_path:** `typing.Optional[typing.Sequence[typing.Any]]` — The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. + +
+
+ +
+
+ +**remote_method:** `typing.Optional[str]` — The method of the remote endpoint where the remote field is coming from. + +
+
+ +
+
+ +**remote_url_path:** `typing.Optional[str]` — The path of the remote endpoint where the remote field is coming from. + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -14160,7 +14084,7 @@ client.crm.contacts.meta_post_retrieve()
-
client.crm.contacts.remote_field_classes_list(...) +
client.accounting.field_mapping.remote_fields_retrieve(...)
@@ -14172,7 +14096,7 @@ client.crm.contacts.meta_post_retrieve()
-Returns a list of `RemoteFieldClass` objects. +Get all remote fields for a Linked Account. Remote fields are third-party fields that are accessible after initial sync if remote_data is enabled. You can use remote fields to override existing Merge fields or map a new Merge field. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/).
@@ -14193,16 +14117,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.contacts.remote_field_classes_list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, -) +client.accounting.field_mapping.remote_fields_retrieve() ``` @@ -14218,7 +14133,7 @@ client.crm.contacts.remote_field_classes_list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**common_models:** `typing.Optional[str]` — A comma seperated list of Common Model names. If included, will only return Remote Fields for those Common Models.
@@ -14226,7 +14141,7 @@ client.crm.contacts.remote_field_classes_list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**include_example_values:** `typing.Optional[str]` — If true, will include example values, where available, for remote fields in the 3rd party platform. These examples come from active data from your customers.
@@ -14234,50 +14149,63 @@ client.crm.contacts.remote_field_classes_list(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. -
+
+
client.accounting.field_mapping.target_fields_retrieve()
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
+#### 📝 Description
-**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value - -
-
-
-**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value - +Get all organization-wide Target Fields, this will not include any Linked Account specific Target Fields. Organization-wide Target Fields are additional fields appended to the Merge Common Model for all Linked Accounts in a category. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/target-fields/).
+ + + +#### 🔌 Usage
-**page_size:** `typing.Optional[int]` — Number of results to return per page. - +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.accounting.field_mapping.target_fields_retrieve() + +```
+
+
+ +#### ⚙️ Parameters + +
+
@@ -14294,8 +14222,8 @@ client.crm.contacts.remote_field_classes_list(
-## Crm CustomObjectClasses -
client.crm.custom_object_classes.list(...) +## Accounting GeneralLedgerTransactions +
client.accounting.general_ledger_transactions.list(...)
@@ -14307,7 +14235,7 @@ client.crm.contacts.remote_field_classes_list(
-Returns a list of `CustomObjectClass` objects. +Returns a list of `GeneralLedgerTransaction` objects.
@@ -14322,34 +14250,20 @@ Returns a list of `CustomObjectClass` objects.
```python -import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.custom_object_classes.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), +response = client.accounting.general_ledger_transactions.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -14365,6 +14279,14 @@ client.crm.custom_object_classes.list(
+**company_id:** `typing.Optional[str]` — If provided, will only return general ledger transactions for this company. + +
+
+ +
+
+ **created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -14389,7 +14311,12 @@ client.crm.custom_object_classes.list(
-**expand:** `typing.Optional[typing.Literal["fields"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**expand:** `typing.Optional[ + typing.Union[ + GeneralLedgerTransactionsListRequestExpandItem, + typing.Sequence[GeneralLedgerTransactionsListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -14445,6 +14372,22 @@ client.crm.custom_object_classes.list(
+**posted_date_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects posted after this datetime. + +
+
+ +
+
+ +**posted_date_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects posted before this datetime. + +
+
+ +
+
+ **remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -14465,7 +14408,7 @@ client.crm.custom_object_classes.list(
-
client.crm.custom_object_classes.retrieve(...) +
client.accounting.general_ledger_transactions.retrieve(...)
@@ -14477,7 +14420,7 @@ client.crm.custom_object_classes.list(
-Returns a `CustomObjectClass` object with the given `id`. +Returns a `GeneralLedgerTransaction` object with the given `id`.
@@ -14498,10 +14441,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.custom_object_classes.retrieve( +client.accounting.general_ledger_transactions.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) ``` @@ -14526,7 +14467,12 @@ client.crm.custom_object_classes.retrieve(
-**expand:** `typing.Optional[typing.Literal["fields"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**expand:** `typing.Optional[ + typing.Union[ + GeneralLedgerTransactionsRetrieveRequestExpandItem, + typing.Sequence[GeneralLedgerTransactionsRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -14562,8 +14508,8 @@ client.crm.custom_object_classes.retrieve(
-## Crm AssociationTypes -
client.crm.association_types.custom_object_classes_association_types_list(...) +## Accounting GenerateKey +
client.accounting.generate_key.create(...)
@@ -14575,7 +14521,7 @@ client.crm.custom_object_classes.retrieve(
-Returns a list of `AssociationType` objects. +Create a remote key.
@@ -14590,34 +14536,14 @@ Returns a list of `AssociationType` objects.
```python -import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.association_types.custom_object_classes_association_types_list( - custom_object_class_id="custom_object_class_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", +client.accounting.generate_key.create( + name="Remote Deployment Key 1", ) ``` @@ -14634,7 +14560,7 @@ client.crm.association_types.custom_object_classes_association_types_list(
-**custom_object_class_id:** `str` +**name:** `str` — The name of the remote key
@@ -14642,71 +14568,76 @@ client.crm.association_types.custom_object_classes_association_types_list(
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+
+
-
-
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. -
+
+## Accounting IncomeStatements +
client.accounting.income_statements.list(...)
-**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
+#### 📝 Description
-**expand:** `typing.Optional[typing.Literal["target_object_classes"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
-
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - +Returns a list of `IncomeStatement` objects. +
+
+#### 🔌 Usage +
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
-
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +response = client.accounting.income_statements.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", +) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page + +``` +
+
+#### ⚙️ Parameters +
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. - -
-
-
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +**company_id:** `typing.Optional[str]` — If provided, will only return income statements for this company.
@@ -14714,7 +14645,7 @@ client.crm.association_types.custom_object_classes_association_types_list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -14722,7 +14653,7 @@ client.crm.association_types.custom_object_classes_association_types_list(
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -14730,90 +14661,52 @@ client.crm.association_types.custom_object_classes_association_types_list(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
- - +
+
+**expand:** `typing.Optional[ + typing.Union[ + IncomeStatementsListRequestExpandItem, + typing.Sequence[IncomeStatementsListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +
-
-
client.crm.association_types.custom_object_classes_association_types_create(...)
-#### 📝 Description - -
-
+**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + +
+
-Creates an `AssociationType` object with the given values. -
-
+**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +
-#### 🔌 Usage - -
-
-
-```python -from merge import Merge -from merge.resources.crm import ( - AssociationTypeRequestRequest, - ObjectClassDescriptionRequest, - OriginTypeEnum, -) - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.crm.association_types.custom_object_classes_association_types_create( - custom_object_class_id="custom_object_class_id", - is_debug_mode=True, - run_async=True, - model=AssociationTypeRequestRequest( - source_object_class=ObjectClassDescriptionRequest( - id="id", - origin_type=OriginTypeEnum.CUSTOM_OBJECT, - ), - target_object_classes=[ - ObjectClassDescriptionRequest( - id="id", - origin_type=OriginTypeEnum.CUSTOM_OBJECT, - ) - ], - remote_key_name="remote_key_name", - ), -) - -``` -
-
+**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +
-#### ⚙️ Parameters - -
-
-
-**custom_object_class_id:** `str` +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned.
@@ -14821,7 +14714,7 @@ client.crm.association_types.custom_object_classes_association_types_create(
-**model:** `AssociationTypeRequestRequest` +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned.
@@ -14829,7 +14722,7 @@ client.crm.association_types.custom_object_classes_association_types_create(
-**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -14837,7 +14730,7 @@ client.crm.association_types.custom_object_classes_association_types_create(
-**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -14857,7 +14750,7 @@ client.crm.association_types.custom_object_classes_association_types_create(
-
client.crm.association_types.custom_object_classes_association_types_retrieve(...) +
client.accounting.income_statements.retrieve(...)
@@ -14869,7 +14762,7 @@ client.crm.association_types.custom_object_classes_association_types_create(
-Returns an `AssociationType` object with the given `id`. +Returns an `IncomeStatement` object with the given `id`.
@@ -14890,11 +14783,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.association_types.custom_object_classes_association_types_retrieve( - custom_object_class_id="custom_object_class_id", +client.accounting.income_statements.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) ``` @@ -14911,14 +14801,6 @@ client.crm.association_types.custom_object_classes_association_types_retrieve(
-**custom_object_class_id:** `str` - -
-
- -
-
- **id:** `str`
@@ -14927,7 +14809,12 @@ client.crm.association_types.custom_object_classes_association_types_retrieve(
-**expand:** `typing.Optional[typing.Literal["target_object_classes"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**expand:** `typing.Optional[ + typing.Union[ + IncomeStatementsRetrieveRequestExpandItem, + typing.Sequence[IncomeStatementsRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -14963,7 +14850,8 @@ client.crm.association_types.custom_object_classes_association_types_retrieve(
-
client.crm.association_types.custom_object_classes_association_types_meta_post_retrieve(...) +## Accounting Invoices +
client.accounting.invoices.list(...)
@@ -14975,7 +14863,7 @@ client.crm.association_types.custom_object_classes_association_types_retrieve(
-Returns metadata for `CRMAssociationType` POSTs. +Returns a list of `Invoice` objects.
@@ -14996,9 +14884,14 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.association_types.custom_object_classes_association_types_meta_post_retrieve( - custom_object_class_id="custom_object_class_id", +response = client.accounting.invoices.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -15014,7 +14907,7 @@ client.crm.association_types.custom_object_classes_association_types_meta_post_r
-**custom_object_class_id:** `str` +**company_id:** `typing.Optional[str]` — If provided, will only return invoices for this company.
@@ -15022,92 +14915,31 @@ client.crm.association_types.custom_object_classes_association_types_meta_post_r
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**contact_id:** `typing.Optional[str]` — If provided, will only return invoices for this contact.
- -
- - - -
- -## Crm CustomObjects -
client.crm.custom_objects.custom_object_classes_custom_objects_list(...)
-#### 📝 Description - -
-
- -
-
- -Returns a list of `CustomObject` objects. -
-
+**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +
-#### 🔌 Usage - -
-
-
-```python -import datetime - -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.crm.custom_objects.custom_object_classes_custom_objects_list( - custom_object_class_id="custom_object_class_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", -) - -``` -
-
+**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +
-#### ⚙️ Parameters - -
-
-
-**custom_object_class_id:** `str` +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -15115,7 +14947,12 @@ client.crm.custom_objects.custom_object_classes_custom_objects_list(
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**expand:** `typing.Optional[ + typing.Union[ + InvoicesListRequestExpandItem, + typing.Sequence[InvoicesListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -15123,7 +14960,7 @@ client.crm.custom_objects.custom_object_classes_custom_objects_list(
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -15131,7 +14968,7 @@ client.crm.custom_objects.custom_object_classes_custom_objects_list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -15139,7 +14976,7 @@ client.crm.custom_objects.custom_object_classes_custom_objects_list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
@@ -15147,7 +14984,7 @@ client.crm.custom_objects.custom_object_classes_custom_objects_list(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -15155,7 +14992,7 @@ client.crm.custom_objects.custom_object_classes_custom_objects_list(
-**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. +**issue_date_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -15163,7 +15000,7 @@ client.crm.custom_objects.custom_object_classes_custom_objects_list(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**issue_date_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -15187,6 +15024,14 @@ client.crm.custom_objects.custom_object_classes_custom_objects_list(
+**number:** `typing.Optional[str]` — If provided, will only return Invoices with this number. + +
+
+ +
+
+ **page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -15195,6 +15040,14 @@ client.crm.custom_objects.custom_object_classes_custom_objects_list(
+**remote_fields:** `typing.Optional[InvoicesListRequestRemoteFields]` — Deprecated. Use show_enum_origins. + +
+
+ +
+
+ **remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -15203,6 +15056,44 @@ client.crm.custom_objects.custom_object_classes_custom_objects_list(
+**show_enum_origins:** `typing.Optional[InvoicesListRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) + +
+
+ +
+
+ +**status:** `typing.Optional[InvoicesListRequestStatus]` + +If provided, will only return Invoices with this status. + +* `PAID` - PAID +* `DRAFT` - DRAFT +* `SUBMITTED` - SUBMITTED +* `PARTIALLY_PAID` - PARTIALLY_PAID +* `OPEN` - OPEN +* `VOID` - VOID + +
+
+ +
+
+ +**type:** `typing.Optional[InvoicesListRequestType]` + +If provided, will only return Invoices with this type. + +* `ACCOUNTS_RECEIVABLE` - ACCOUNTS_RECEIVABLE +* `ACCOUNTS_PAYABLE` - ACCOUNTS_PAYABLE + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -15215,7 +15106,7 @@ client.crm.custom_objects.custom_object_classes_custom_objects_list(
-
client.crm.custom_objects.custom_object_classes_custom_objects_create(...) +
client.accounting.invoices.create(...)
@@ -15227,7 +15118,9 @@ client.crm.custom_objects.custom_object_classes_custom_objects_list(
-Creates a `CustomObject` object with the given values. +Creates an `Invoice` object with the given values. + Including a `PurchaseOrder` id in the `purchase_orders` property will generate an Accounts Payable Invoice from the specified Purchase Order(s). +
@@ -15243,19 +15136,14 @@ Creates a `CustomObject` object with the given values. ```python from merge import Merge -from merge.resources.crm import CustomObjectRequest +from merge.resources.accounting import InvoiceRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.custom_objects.custom_object_classes_custom_objects_create( - custom_object_class_id="custom_object_class_id", - is_debug_mode=True, - run_async=True, - model=CustomObjectRequest( - fields={"test_field": "hello"}, - ), +client.accounting.invoices.create( + model=InvoiceRequest(), ) ``` @@ -15272,15 +15160,7 @@ client.crm.custom_objects.custom_object_classes_custom_objects_create(
-**custom_object_class_id:** `str` - -
-
- -
-
- -**model:** `CustomObjectRequest` +**model:** `InvoiceRequest`
@@ -15316,7 +15196,7 @@ client.crm.custom_objects.custom_object_classes_custom_objects_create(
-
client.crm.custom_objects.custom_object_classes_custom_objects_retrieve(...) +
client.accounting.invoices.retrieve(...)
@@ -15328,7 +15208,7 @@ client.crm.custom_objects.custom_object_classes_custom_objects_create(
-Returns a `CustomObject` object with the given `id`. +Returns an `Invoice` object with the given `id`.
@@ -15349,12 +15229,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.custom_objects.custom_object_classes_custom_objects_retrieve( - custom_object_class_id="custom_object_class_id", +client.accounting.invoices.retrieve( id="id", - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, ) ``` @@ -15371,7 +15247,7 @@ client.crm.custom_objects.custom_object_classes_custom_objects_retrieve(
-**custom_object_class_id:** `str` +**id:** `str`
@@ -15379,7 +15255,12 @@ client.crm.custom_objects.custom_object_classes_custom_objects_retrieve(
-**id:** `str` +**expand:** `typing.Optional[ + typing.Union[ + InvoicesRetrieveRequestExpandItem, + typing.Sequence[InvoicesRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -15411,6 +15292,22 @@ client.crm.custom_objects.custom_object_classes_custom_objects_retrieve(
+**remote_fields:** `typing.Optional[InvoicesRetrieveRequestRemoteFields]` — Deprecated. Use show_enum_origins. + +
+
+ +
+
+ +**show_enum_origins:** `typing.Optional[InvoicesRetrieveRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -15423,7 +15320,7 @@ client.crm.custom_objects.custom_object_classes_custom_objects_retrieve(
-
client.crm.custom_objects.custom_object_classes_custom_objects_meta_post_retrieve(...) +
client.accounting.invoices.partial_update(...)
@@ -15435,7 +15332,7 @@ client.crm.custom_objects.custom_object_classes_custom_objects_retrieve(
-Returns metadata for `CRMCustomObject` POSTs. +Updates an `Invoice` object with the given `id`.
@@ -15451,13 +15348,15 @@ Returns metadata for `CRMCustomObject` POSTs. ```python from merge import Merge +from merge.resources.accounting import InvoiceRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.custom_objects.custom_object_classes_custom_objects_meta_post_retrieve( - custom_object_class_id="custom_object_class_id", +client.accounting.invoices.partial_update( + id="id", + model=InvoiceRequest(), ) ``` @@ -15474,7 +15373,31 @@ client.crm.custom_objects.custom_object_classes_custom_objects_meta_post_retriev
-**custom_object_class_id:** `str` +**id:** `str` + +
+
+ +
+
+ +**model:** `InvoiceRequest` + +
+
+ +
+
+ +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. + +
+
+ +
+
+ +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously.
@@ -15494,7 +15417,7 @@ client.crm.custom_objects.custom_object_classes_custom_objects_meta_post_retriev
-
client.crm.custom_objects.custom_object_classes_custom_objects_remote_field_classes_list(...) +
client.accounting.invoices.line_items_remote_field_classes_list(...)
@@ -15527,16 +15450,14 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.custom_objects.custom_object_classes_custom_objects_remote_field_classes_list( +response = client.accounting.invoices.line_items_remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -15576,14 +15497,6 @@ client.crm.custom_objects.custom_object_classes_custom_objects_remote_field_clas
-**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. - -
-
- -
-
- **include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -15628,8 +15541,7 @@ client.crm.custom_objects.custom_object_classes_custom_objects_remote_field_clas
-## Crm Associations -
client.crm.associations.custom_object_classes_custom_objects_associations_list(...) +
client.accounting.invoices.meta_patch_retrieve(...)
@@ -15641,7 +15553,7 @@ client.crm.custom_objects.custom_object_classes_custom_objects_remote_field_clas
-Returns a list of `Association` objects. +Returns metadata for `Invoice` PATCHs.
@@ -15656,36 +15568,14 @@ Returns a list of `Association` objects.
```python -import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.associations.custom_object_classes_custom_objects_associations_list( - custom_object_class_id="custom_object_class_id", - object_id="object_id", - association_type_id="association_type_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", +client.accounting.invoices.meta_patch_retrieve( + id="id", ) ``` @@ -15702,7 +15592,7 @@ client.crm.associations.custom_object_classes_custom_objects_associations_list(
-**custom_object_class_id:** `str` +**id:** `str`
@@ -15710,47 +15600,136 @@ client.crm.associations.custom_object_classes_custom_objects_associations_list(
-**object_id:** `str` +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+
+
+ + + +
+ +
client.accounting.invoices.meta_post_retrieve()
-**association_type_id:** `typing.Optional[str]` — If provided, will only return opportunities with this association_type. - +#### 📝 Description + +
+
+ +
+
+ +Returns metadata for `Invoice` POSTs. +
+
+#### 🔌 Usage +
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. - +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.accounting.invoices.meta_post_retrieve() + +``` +
+
+#### ⚙️ Parameters +
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+
+
+ +
+
+
+ +
client.accounting.invoices.remote_field_classes_list(...)
-**cursor:** `typing.Optional[str]` — The pagination cursor value. - +#### 📝 Description + +
+
+ +
+
+ +Returns a list of `RemoteFieldClass` objects. +
+
+#### 🔌 Usage +
-**expand:** `typing.Optional[typing.Literal["association_type"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +response = client.accounting.invoices.remote_field_classes_list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", +) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -15782,7 +15761,7 @@ client.crm.associations.custom_object_classes_custom_objects_associations_list(
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value
@@ -15790,7 +15769,7 @@ client.crm.associations.custom_object_classes_custom_objects_associations_list(
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value
@@ -15806,14 +15785,6 @@ client.crm.associations.custom_object_classes_custom_objects_associations_list(
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -15826,7 +15797,8 @@ client.crm.associations.custom_object_classes_custom_objects_associations_list(
-
client.crm.associations.custom_object_classes_custom_objects_associations_update(...) +## Accounting Issues +
client.accounting.issues.list(...)
@@ -15838,7 +15810,7 @@ client.crm.associations.custom_object_classes_custom_objects_associations_list(
-Creates an Association between `source_object_id` and `target_object_id` of type `association_type_id`. +Gets all issues for Organization.
@@ -15859,15 +15831,14 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.associations.custom_object_classes_custom_objects_associations_update( - source_class_id="source_class_id", - source_object_id="source_object_id", - target_class_id="target_class_id", - target_object_id="target_object_id", - association_type_id="association_type_id", - is_debug_mode=True, - run_async=True, +response = client.accounting.issues.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -15883,7 +15854,7 @@ client.crm.associations.custom_object_classes_custom_objects_associations_update
-**source_class_id:** `str` +**account_token:** `typing.Optional[str]`
@@ -15891,7 +15862,7 @@ client.crm.associations.custom_object_classes_custom_objects_associations_update
-**source_object_id:** `str` +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -15899,7 +15870,7 @@ client.crm.associations.custom_object_classes_custom_objects_associations_update
-**target_class_id:** `str` +**end_date:** `typing.Optional[str]` — If included, will only include issues whose most recent action occurred before this time
@@ -15907,7 +15878,7 @@ client.crm.associations.custom_object_classes_custom_objects_associations_update
-**target_object_id:** `str` +**end_user_organization_name:** `typing.Optional[str]`
@@ -15915,7 +15886,7 @@ client.crm.associations.custom_object_classes_custom_objects_associations_update
-**association_type_id:** `str` +**first_incident_time_after:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose first incident time was after this datetime.
@@ -15923,7 +15894,7 @@ client.crm.associations.custom_object_classes_custom_objects_associations_update
-**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. +**first_incident_time_before:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose first incident time was before this datetime.
@@ -15931,7 +15902,7 @@ client.crm.associations.custom_object_classes_custom_objects_associations_update
-**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. +**include_muted:** `typing.Optional[str]` — If true, will include muted issues
@@ -15939,65 +15910,64 @@ client.crm.associations.custom_object_classes_custom_objects_associations_update
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**integration_name:** `typing.Optional[str]`
- -
+
+
+**last_incident_time_after:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose last incident time was after this datetime. +
-
-## Crm Scopes -
client.crm.scopes.default_scopes_retrieve()
-#### 📝 Description +**last_incident_time_before:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose last incident time was before this datetime. + +
+
+**linked_account_id:** `typing.Optional[str]` — If provided, will only include issues pertaining to the linked account passed in. + +
+
+
-Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). -
-
+**page_size:** `typing.Optional[int]` — Number of results to return per page. + -#### 🔌 Usage -
+**start_date:** `typing.Optional[str]` — If included, will only include issues whose most recent action occurred after this time + +
+
+
-```python -from merge import Merge +**status:** `typing.Optional[IssuesListRequestStatus]` -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.crm.scopes.default_scopes_retrieve() +Status of the issue. Options: ('ONGOING', 'RESOLVED') -``` -
-
+* `ONGOING` - ONGOING +* `RESOLVED` - RESOLVED + -#### ⚙️ Parameters - -
-
-
@@ -16013,7 +15983,7 @@ client.crm.scopes.default_scopes_retrieve()
-
client.crm.scopes.linked_account_scopes_retrieve() +
client.accounting.issues.retrieve(...)
@@ -16025,7 +15995,7 @@ client.crm.scopes.default_scopes_retrieve()
-Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). +Get a specific issue.
@@ -16046,7 +16016,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.scopes.linked_account_scopes_retrieve() +client.accounting.issues.retrieve( + id="id", +) ``` @@ -16062,6 +16034,14 @@ client.crm.scopes.linked_account_scopes_retrieve()
+**id:** `str` + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -16074,7 +16054,8 @@ client.crm.scopes.linked_account_scopes_retrieve()
-
client.crm.scopes.linked_account_scopes_create(...) +## Accounting Items +
client.accounting.items.list(...)
@@ -16086,7 +16067,7 @@ client.crm.scopes.linked_account_scopes_retrieve()
-Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes) +Returns a list of `Item` objects.
@@ -16102,43 +16083,19 @@ Update permissions for any Common Model or field for a single Linked Account. An ```python from merge import Merge -from merge.resources.crm import ( - FieldPermissionDeserializerRequest, - IndividualCommonModelScopeDeserializerRequest, - ModelPermissionDeserializerRequest, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.scopes.linked_account_scopes_create( - common_models=[ - IndividualCommonModelScopeDeserializerRequest( - model_name="Employee", - model_permissions={ - "READ": ModelPermissionDeserializerRequest( - is_enabled=True, - ), - "WRITE": ModelPermissionDeserializerRequest( - is_enabled=False, - ), - }, - field_permissions=FieldPermissionDeserializerRequest( - enabled_fields=["avatar", "home_location"], - disabled_fields=["work_location"], - ), - ), - IndividualCommonModelScopeDeserializerRequest( - model_name="Benefit", - model_permissions={ - "WRITE": ModelPermissionDeserializerRequest( - is_enabled=False, - ) - }, - ), - ], +response = client.accounting.items.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -16154,7 +16111,7 @@ client.crm.scopes.linked_account_scopes_create(
-**common_models:** `typing.Sequence[IndividualCommonModelScopeDeserializerRequest]` — The common models you want to update the scopes for +**company_id:** `typing.Optional[str]` — If provided, will only return items for this company.
@@ -16162,65 +16119,111 @@ client.crm.scopes.linked_account_scopes_create(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
+ +
+
+ +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +
+
+
+**cursor:** `typing.Optional[str]` — The pagination cursor value. +
-
-## Crm DeleteAccount -
client.crm.delete_account.delete()
-#### 📝 Description +**expand:** `typing.Optional[ + typing.Union[ + ItemsListRequestExpandItem, typing.Sequence[ItemsListRequestExpandItem] + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + +
+
+**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + +
+
+
-Delete a linked account. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +
+ +
+
+ +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +
-#### 🔌 Usage -
+**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. + +
+
+
-```python -from merge import Merge +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. + +
+
-client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.crm.delete_account.delete() +
+
-``` +**page_size:** `typing.Optional[int]` — Number of results to return per page. +
+ +
+
+ +**remote_fields:** `typing.Optional[ItemsListRequestRemoteFields]` — Deprecated. Use show_enum_origins. +
-#### ⚙️ Parameters +
+
+ +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. + +
+
+**show_enum_origins:** `typing.Optional[ItemsListRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) + +
+
+
@@ -16236,8 +16239,7 @@ client.crm.delete_account.delete()
-## Crm EngagementTypes -
client.crm.engagement_types.list(...) +
client.accounting.items.create(...)
@@ -16249,7 +16251,7 @@ client.crm.delete_account.delete()
-Returns a list of `EngagementType` objects. +Creates an `Item` object with the given values.
@@ -16264,34 +16266,15 @@ Returns a list of `EngagementType` objects.
```python -import datetime - from merge import Merge +from merge.resources.accounting import ItemRequestRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.engagement_types.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", +client.accounting.items.create( + model=ItemRequestRequest(), ) ``` @@ -16308,7 +16291,7 @@ client.crm.engagement_types.list(
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**model:** `ItemRequestRequest`
@@ -16316,7 +16299,7 @@ client.crm.engagement_types.list(
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response.
@@ -16324,7 +16307,7 @@ client.crm.engagement_types.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously.
@@ -16332,23 +16315,70 @@ client.crm.engagement_types.list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+
+
+ + + +
+ +
client.accounting.items.retrieve(...)
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - +#### 📝 Description + +
+
+ +
+
+ +Returns an `Item` object with the given `id`. +
+
+#### 🔌 Usage +
-**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.accounting.items.retrieve( + id="id", +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**id:** `str`
@@ -16356,7 +16386,12 @@ client.crm.engagement_types.list(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**expand:** `typing.Optional[ + typing.Union[ + ItemsRetrieveRequestExpandItem, + typing.Sequence[ItemsRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -16364,7 +16399,7 @@ client.crm.engagement_types.list(
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -16372,7 +16407,7 @@ client.crm.engagement_types.list(
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -16380,7 +16415,7 @@ client.crm.engagement_types.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**remote_fields:** `typing.Optional[ItemsRetrieveRequestRemoteFields]` — Deprecated. Use show_enum_origins.
@@ -16388,7 +16423,7 @@ client.crm.engagement_types.list(
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +**show_enum_origins:** `typing.Optional[ItemsRetrieveRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
@@ -16408,7 +16443,7 @@ client.crm.engagement_types.list(
-
client.crm.engagement_types.retrieve(...) +
client.accounting.items.partial_update(...)
@@ -16420,7 +16455,7 @@ client.crm.engagement_types.list(
-Returns an `EngagementType` object with the given `id`. +Updates an `Item` object with the given `id`.
@@ -16436,16 +16471,15 @@ Returns an `EngagementType` object with the given `id`. ```python from merge import Merge +from merge.resources.accounting import PatchedItemRequestRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.engagement_types.retrieve( +client.accounting.items.partial_update( id="id", - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, + model=PatchedItemRequestRequest(), ) ``` @@ -16470,7 +16504,7 @@ client.crm.engagement_types.retrieve(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**model:** `PatchedItemRequestRequest`
@@ -16478,7 +16512,7 @@ client.crm.engagement_types.retrieve(
-**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response.
@@ -16486,7 +16520,7 @@ client.crm.engagement_types.retrieve(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously.
@@ -16506,7 +16540,7 @@ client.crm.engagement_types.retrieve(
-
client.crm.engagement_types.remote_field_classes_list(...) +
client.accounting.items.meta_patch_retrieve(...)
@@ -16518,7 +16552,7 @@ client.crm.engagement_types.retrieve(
-Returns a list of `RemoteFieldClass` objects. +Returns metadata for `Item` PATCHs.
@@ -16539,15 +16573,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.engagement_types.remote_field_classes_list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, +client.accounting.items.meta_patch_retrieve( + id="id", ) ``` @@ -16564,7 +16591,7 @@ client.crm.engagement_types.remote_field_classes_list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**id:** `str`
@@ -16572,59 +16599,64 @@ client.crm.engagement_types.remote_field_classes_list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. -
+
+
client.accounting.items.meta_post_retrieve()
-**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. - -
-
+#### 📝 Description
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
-
-**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value - +Returns metadata for `Item` POSTs.
+ + + +#### 🔌 Usage
-**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value - -
-
-
-**page_size:** `typing.Optional[int]` — Number of results to return per page. - +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.accounting.items.meta_post_retrieve() + +``` +
+
+#### ⚙️ Parameters + +
+
+
@@ -16640,8 +16672,8 @@ client.crm.engagement_types.remote_field_classes_list(
-## Crm Engagements -
client.crm.engagements.list(...) +## Accounting JournalEntries +
client.accounting.journal_entries.list(...)
@@ -16653,7 +16685,7 @@ client.crm.engagement_types.remote_field_classes_list(
-Returns a list of `Engagement` objects. +Returns a list of `JournalEntry` objects.
@@ -16668,45 +16700,20 @@ Returns a list of `Engagement` objects.
```python -import datetime - from merge import Merge -from merge.resources.crm.resources.engagements import ( - EngagementsListRequestExpand, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.engagements.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), +response = client.accounting.journal_entries.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=EngagementsListRequestExpand.ACCOUNT, - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", - started_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - started_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -16722,6 +16729,14 @@ client.crm.engagements.list(
+**company_id:** `typing.Optional[str]` — If provided, will only return journal entries for this company. + +
+
+ +
+
+ **created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -16746,7 +16761,12 @@ client.crm.engagements.list(
-**expand:** `typing.Optional[EngagementsListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**expand:** `typing.Optional[ + typing.Union[ + JournalEntriesListRequestExpandItem, + typing.Sequence[JournalEntriesListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -16818,7 +16838,7 @@ client.crm.engagements.list(
-**started_after:** `typing.Optional[dt.datetime]` — If provided, will only return engagements started after this datetime. +**transaction_date_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -16826,7 +16846,7 @@ client.crm.engagements.list(
-**started_before:** `typing.Optional[dt.datetime]` — If provided, will only return engagements started before this datetime. +**transaction_date_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -16846,7 +16866,7 @@ client.crm.engagements.list(
-
client.crm.engagements.create(...) +
client.accounting.journal_entries.create(...)
@@ -16858,7 +16878,7 @@ client.crm.engagements.list(
-Creates an `Engagement` object with the given values. +Creates a `JournalEntry` object with the given values.
@@ -16874,16 +16894,14 @@ Creates an `Engagement` object with the given values. ```python from merge import Merge -from merge.resources.crm import EngagementRequest +from merge.resources.accounting import JournalEntryRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.engagements.create( - is_debug_mode=True, - run_async=True, - model=EngagementRequest(), +client.accounting.journal_entries.create( + model=JournalEntryRequest(), ) ``` @@ -16900,7 +16918,7 @@ client.crm.engagements.create(
-**model:** `EngagementRequest` +**model:** `JournalEntryRequest`
@@ -16936,7 +16954,7 @@ client.crm.engagements.create(
-
client.crm.engagements.retrieve(...) +
client.accounting.journal_entries.retrieve(...)
@@ -16948,7 +16966,7 @@ client.crm.engagements.create(
-Returns an `Engagement` object with the given `id`. +Returns a `JournalEntry` object with the given `id`.
@@ -16964,20 +16982,13 @@ Returns an `Engagement` object with the given `id`. ```python from merge import Merge -from merge.resources.crm.resources.engagements import ( - EngagementsRetrieveRequestExpand, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.engagements.retrieve( +client.accounting.journal_entries.retrieve( id="id", - expand=EngagementsRetrieveRequestExpand.ACCOUNT, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, ) ``` @@ -17002,7 +17013,12 @@ client.crm.engagements.retrieve(
-**expand:** `typing.Optional[EngagementsRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**expand:** `typing.Optional[ + typing.Union[ + JournalEntriesRetrieveRequestExpandItem, + typing.Sequence[JournalEntriesRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -17046,7 +17062,7 @@ client.crm.engagements.retrieve(
-
client.crm.engagements.partial_update(...) +
client.accounting.journal_entries.lines_remote_field_classes_list(...)
@@ -17058,7 +17074,7 @@ client.crm.engagements.retrieve(
-Updates an `Engagement` object with the given `id`. +Returns a list of `RemoteFieldClass` objects.
@@ -17074,18 +17090,19 @@ Updates an `Engagement` object with the given `id`. ```python from merge import Merge -from merge.resources.crm import PatchedEngagementRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.engagements.partial_update( - id="id", - is_debug_mode=True, - run_async=True, - model=PatchedEngagementRequest(), +response = client.accounting.journal_entries.lines_remote_field_classes_list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -17101,7 +17118,7 @@ client.crm.engagements.partial_update(
-**id:** `str` +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -17109,7 +17126,7 @@ client.crm.engagements.partial_update(
-**model:** `PatchedEngagementRequest` +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -17117,7 +17134,7 @@ client.crm.engagements.partial_update(
-**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -17125,7 +17142,31 @@ client.crm.engagements.partial_update(
-**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + +
+
+ +
+
+ +**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value + +
+
+ +
+
+ +**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value + +
+
+ +
+
+ +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -17145,7 +17186,7 @@ client.crm.engagements.partial_update(
-
client.crm.engagements.meta_patch_retrieve(...) +
client.accounting.journal_entries.meta_post_retrieve()
@@ -17157,7 +17198,7 @@ client.crm.engagements.partial_update(
-Returns metadata for `Engagement` PATCHs. +Returns metadata for `JournalEntry` POSTs.
@@ -17178,9 +17219,75 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.engagements.meta_patch_retrieve( - id="id", +client.accounting.journal_entries.meta_post_retrieve() + +``` + +
+ + + +#### ⚙️ Parameters + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + + + +
+ +
client.accounting.journal_entries.remote_field_classes_list(...) +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Returns a list of `RemoteFieldClass` objects. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", ) +response = client.accounting.journal_entries.remote_field_classes_list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", +) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -17196,7 +17303,55 @@ client.crm.engagements.meta_patch_retrieve(
-**id:** `str` +**cursor:** `typing.Optional[str]` — The pagination cursor value. + +
+
+ +
+
+ +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + +
+
+ +
+
+ +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
+ +
+
+ +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + +
+
+ +
+
+ +**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value + +
+
+ +
+
+ +**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value + +
+
+ +
+
+ +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -17216,7 +17371,8 @@ client.crm.engagements.meta_patch_retrieve(
-
client.crm.engagements.meta_post_retrieve() +## Accounting LinkToken +
client.accounting.link_token.create(...)
@@ -17228,7 +17384,7 @@ client.crm.engagements.meta_patch_retrieve(
-Returns metadata for `Engagement` POSTs. +Creates a link token to be used when linking a new end user.
@@ -17244,12 +17400,18 @@ Returns metadata for `Engagement` POSTs. ```python from merge import Merge +from merge.resources.accounting import CategoriesEnum client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.engagements.meta_post_retrieve() +client.accounting.link_token.create( + end_user_email_address="example@gmail.com", + end_user_organization_name="Test Organization", + end_user_origin_id="12345", + categories=[CategoriesEnum.HRIS, CategoriesEnum.ATS], +) ``` @@ -17265,6 +17427,122 @@ client.crm.engagements.meta_post_retrieve()
+**end_user_email_address:** `str` — Your end user's email address. This is purely for identification purposes - setting this value will not cause any emails to be sent. + +
+
+ +
+
+ +**end_user_organization_name:** `str` — Your end user's organization. + +
+
+ +
+
+ +**end_user_origin_id:** `str` — This unique identifier typically represents the ID for your end user in your product's database. This value must be distinct from other Linked Accounts' unique identifiers. + +
+
+ +
+
+ +**categories:** `typing.Sequence[CategoriesEnum]` — The integration categories to show in Merge Link. + +
+
+ +
+
+ +**integration:** `typing.Optional[str]` — The slug of a specific pre-selected integration for this linking flow token. For examples of slugs, see https://docs.merge.dev/guides/merge-link/single-integration/. + +
+
+ +
+
+ +**link_expiry_mins:** `typing.Optional[int]` — An integer number of minutes between [30, 720 or 10080 if for a Magic Link URL] for how long this token is valid. Defaults to 30. + +
+
+ +
+
+ +**should_create_magic_link_url:** `typing.Optional[bool]` — Whether to generate a Magic Link URL. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. + +
+
+ +
+
+ +**hide_admin_magic_link:** `typing.Optional[bool]` — Whether to generate a Magic Link URL on the Admin Needed screen during the linking flow. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. + +
+
+ +
+
+ +**common_models:** `typing.Optional[typing.Sequence[CommonModelScopesBodyRequest]]` — An array of objects to specify the models and fields that will be disabled for a given Linked Account. Each object uses model_id, enabled_actions, and disabled_fields to specify the model, method, and fields that are scoped for a given Linked Account. + +
+
+ +
+
+ +**category_common_model_scopes:** `typing.Optional[ + typing.Dict[ + str, + typing.Optional[ + typing.Sequence[IndividualCommonModelScopeDeserializerRequest] + ], + ] +]` — When creating a Link Token, you can set permissions for Common Models that will apply to the account that is going to be linked. Any model or field not specified in link token payload will default to existing settings. + +
+
+ +
+
+ +**language:** `typing.Optional[EndUserDetailsRequestLanguage]` + +The following subset of IETF language tags can be used to configure localization. + +* `en` - en +* `de` - de + +
+
+ +
+
+ +**are_syncs_disabled:** `typing.Optional[bool]` — The boolean that indicates whether initial, periodic, and force syncs will be disabled. + +
+
+ +
+
+ +**integration_specific_config:** `typing.Optional[typing.Dict[str, typing.Any]]` — A JSON object containing integration-specific configuration options. + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -17277,7 +17555,8 @@ client.crm.engagements.meta_post_retrieve()
-
client.crm.engagements.remote_field_classes_list(...) +## Accounting LinkedAccounts +
client.accounting.linked_accounts.list(...)
@@ -17289,7 +17568,7 @@ client.crm.engagements.meta_post_retrieve()
-Returns a list of `RemoteFieldClass` objects. +List linked accounts for your organization.
@@ -17310,16 +17589,14 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.engagements.remote_field_classes_list( +response = client.accounting.linked_accounts.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -17335,6 +17612,24 @@ client.crm.engagements.remote_field_classes_list(
+**category:** `typing.Optional[LinkedAccountsListRequestCategory]` + +Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing` + +* `hris` - hris +* `ats` - ats +* `accounting` - accounting +* `ticketing` - ticketing +* `crm` - crm +* `mktg` - mktg +* `filestorage` - filestorage + +
+
+ +
+
+ **cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -17343,7 +17638,7 @@ client.crm.engagements.remote_field_classes_list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**end_user_email_address:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given email address.
@@ -17351,7 +17646,7 @@ client.crm.engagements.remote_field_classes_list(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**end_user_organization_name:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given organization name.
@@ -17359,7 +17654,7 @@ client.crm.engagements.remote_field_classes_list(
-**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. +**end_user_origin_id:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given origin ID.
@@ -17367,7 +17662,7 @@ client.crm.engagements.remote_field_classes_list(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**end_user_origin_ids:** `typing.Optional[str]` — Comma-separated list of EndUser origin IDs, making it possible to specify multiple EndUsers at once.
@@ -17375,7 +17670,7 @@ client.crm.engagements.remote_field_classes_list(
-**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value +**id:** `typing.Optional[str]`
@@ -17383,7 +17678,31 @@ client.crm.engagements.remote_field_classes_list(
-**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value +**ids:** `typing.Optional[str]` — Comma-separated list of LinkedAccount IDs, making it possible to specify multiple LinkedAccounts at once. + +
+
+ +
+
+ +**include_duplicates:** `typing.Optional[bool]` — If `true`, will include complete production duplicates of the account specified by the `id` query parameter in the response. `id` must be for a complete production linked account. + +
+
+ +
+
+ +**integration_name:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given integration name. + +
+
+ +
+
+ +**is_test_account:** `typing.Optional[str]` — If included, will only include test linked accounts. If not included, will only include non-test linked accounts.
@@ -17399,6 +17718,14 @@ client.crm.engagements.remote_field_classes_list(
+**status:** `typing.Optional[str]` — Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -17411,8 +17738,8 @@ client.crm.engagements.remote_field_classes_list(
-## Crm FieldMapping -
client.crm.field_mapping.field_mappings_retrieve(...) +## Accounting Passthrough +
client.accounting.passthrough.create(...)
@@ -17424,7 +17751,7 @@ client.crm.engagements.remote_field_classes_list(
-Get all Field Mappings for this Linked Account. Field Mappings are mappings between third-party Remote Fields and user defined Merge fields. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). +Pull data from an endpoint not currently supported by Merge.
@@ -17440,13 +17767,17 @@ Get all Field Mappings for this Linked Account. Field Mappings are mappings betw ```python from merge import Merge +from merge.resources.accounting import DataPassthroughRequest, MethodEnum client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.field_mapping.field_mappings_retrieve( - exclude_remote_field_metadata=True, +client.accounting.passthrough.create( + request=DataPassthroughRequest( + method=MethodEnum.GET, + path="/scooters", + ), ) ``` @@ -17463,7 +17794,7 @@ client.crm.field_mapping.field_mappings_retrieve(
-**exclude_remote_field_metadata:** `typing.Optional[bool]` — If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. +**request:** `DataPassthroughRequest`
@@ -17483,7 +17814,8 @@ client.crm.field_mapping.field_mappings_retrieve(
-
client.crm.field_mapping.field_mappings_create(...) +## Accounting PaymentMethods +
client.accounting.payment_methods.list(...)
@@ -17495,7 +17827,7 @@ client.crm.field_mapping.field_mappings_retrieve(
-Create new Field Mappings that will be available after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. +Returns a list of `PaymentMethod` objects.
@@ -17516,15 +17848,14 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.field_mapping.field_mappings_create( - exclude_remote_field_metadata=True, - target_field_name="example_target_field_name", - target_field_description="this is a example description of the target field", - remote_field_traversal_path=["example_remote_field"], - remote_method="GET", - remote_url_path="/example-url-path", - common_model_name="ExampleCommonModel", +response = client.accounting.payment_methods.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -17540,23 +17871,7 @@ client.crm.field_mapping.field_mappings_create(
-**target_field_name:** `str` — The name of the target field you want this remote field to map to. - -
-
- -
-
- -**target_field_description:** `str` — The description of the target field you want this remote field to map to. - -
-
- -
-
- -**remote_field_traversal_path:** `typing.Sequence[typing.Optional[typing.Any]]` — The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -17564,7 +17879,7 @@ client.crm.field_mapping.field_mappings_create(
-**remote_method:** `str` — The method of the remote endpoint where the remote field is coming from. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -17572,7 +17887,7 @@ client.crm.field_mapping.field_mappings_create(
-**remote_url_path:** `str` — The path of the remote endpoint where the remote field is coming from. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -17580,7 +17895,7 @@ client.crm.field_mapping.field_mappings_create(
-**common_model_name:** `str` — The name of the Common Model that the remote field corresponds to in a given category. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -17588,7 +17903,7 @@ client.crm.field_mapping.field_mappings_create(
-**exclude_remote_field_metadata:** `typing.Optional[bool]` — If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -17608,7 +17923,7 @@ client.crm.field_mapping.field_mappings_create(
-
client.crm.field_mapping.field_mappings_destroy(...) +
client.accounting.payment_methods.retrieve(...)
@@ -17620,7 +17935,7 @@ client.crm.field_mapping.field_mappings_create(
-Deletes Field Mappings for a Linked Account. All data related to this Field Mapping will be deleted and these changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. +Returns a `PaymentMethod` object with the given `id`.
@@ -17641,8 +17956,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.field_mapping.field_mappings_destroy( - field_mapping_id="field_mapping_id", +client.accounting.payment_methods.retrieve( + id="id", ) ``` @@ -17659,7 +17974,23 @@ client.crm.field_mapping.field_mappings_destroy(
-**field_mapping_id:** `str` +**id:** `str` + +
+
+ +
+
+ +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
+ +
+
+ +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -17679,7 +18010,8 @@ client.crm.field_mapping.field_mappings_destroy(
-
client.crm.field_mapping.field_mappings_partial_update(...) +## Accounting PaymentTerms +
client.accounting.payment_terms.list(...)
@@ -17691,7 +18023,7 @@ client.crm.field_mapping.field_mappings_destroy(
-Create or update existing Field Mappings for a Linked Account. Changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. +Returns a list of `PaymentTerm` objects.
@@ -17712,9 +18044,14 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.field_mapping.field_mappings_partial_update( - field_mapping_id="field_mapping_id", +response = client.accounting.payment_terms.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -17730,7 +18067,7 @@ client.crm.field_mapping.field_mappings_partial_update(
-**field_mapping_id:** `str` +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -17738,7 +18075,12 @@ client.crm.field_mapping.field_mappings_partial_update(
-**remote_field_traversal_path:** `typing.Optional[typing.Sequence[typing.Optional[typing.Any]]]` — The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. +**expand:** `typing.Optional[ + typing.Union[ + PaymentTermsListRequestExpandItem, + typing.Sequence[PaymentTermsListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -17746,7 +18088,7 @@ client.crm.field_mapping.field_mappings_partial_update(
-**remote_method:** `typing.Optional[str]` — The method of the remote endpoint where the remote field is coming from. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -17754,7 +18096,23 @@ client.crm.field_mapping.field_mappings_partial_update(
-**remote_url_path:** `typing.Optional[str]` — The path of the remote endpoint where the remote field is coming from. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
+ +
+
+ +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + +
+
+ +
+
+ +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -17774,7 +18132,7 @@ client.crm.field_mapping.field_mappings_partial_update(
-
client.crm.field_mapping.remote_fields_retrieve(...) +
client.accounting.payment_terms.retrieve(...)
@@ -17786,7 +18144,7 @@ client.crm.field_mapping.field_mappings_partial_update(
-Get all remote fields for a Linked Account. Remote fields are third-party fields that are accessible after initial sync if remote_data is enabled. You can use remote fields to override existing Merge fields or map a new Merge field. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). +Returns a `PaymentTerm` object with the given `id`.
@@ -17807,9 +18165,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.field_mapping.remote_fields_retrieve( - common_models="common_models", - include_example_values="include_example_values", +client.accounting.payment_terms.retrieve( + id="id", ) ``` @@ -17826,7 +18183,7 @@ client.crm.field_mapping.remote_fields_retrieve(
-**common_models:** `typing.Optional[str]` — A comma seperated list of Common Model names. If included, will only return Remote Fields for those Common Models. +**id:** `str`
@@ -17834,7 +18191,12 @@ client.crm.field_mapping.remote_fields_retrieve(
-**include_example_values:** `typing.Optional[str]` — If true, will include example values, where available, for remote fields in the 3rd party platform. These examples come from active data from your customers. +**expand:** `typing.Optional[ + typing.Union[ + PaymentTermsRetrieveRequestExpandItem, + typing.Sequence[PaymentTermsRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -17842,64 +18204,19 @@ client.crm.field_mapping.remote_fields_retrieve(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
- -
- - - - -
- -
client.crm.field_mapping.target_fields_retrieve() -
-
- -#### 📝 Description - -
-
- -
-
- -Get all organization-wide Target Fields, this will not include any Linked Account specific Target Fields. Organization-wide Target Fields are additional fields appended to the Merge Common Model for all Linked Accounts in a category. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/target-fields/). -
-
-
-
- -#### 🔌 Usage - -
-
-```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.crm.field_mapping.target_fields_retrieve() - -``` -
-
+**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +
-#### ⚙️ Parameters - -
-
-
@@ -17915,8 +18232,8 @@ client.crm.field_mapping.target_fields_retrieve()
-## Crm GenerateKey -
client.crm.generate_key.create(...) +## Accounting Payments +
client.accounting.payments.list(...)
@@ -17928,7 +18245,7 @@ client.crm.field_mapping.target_fields_retrieve()
-Create a remote key. +Returns a list of `Payment` objects.
@@ -17949,9 +18266,14 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.generate_key.create( - name="Remote Deployment Key 1", +response = client.accounting.payments.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -17967,7 +18289,7 @@ client.crm.generate_key.create(
-**name:** `str` — The name of the remote key +**account_id:** `typing.Optional[str]` — If provided, will only return payments for this account.
@@ -17975,95 +18297,76 @@ client.crm.generate_key.create(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**company_id:** `typing.Optional[str]` — If provided, will only return payments for this company.
- -
+
+
+**contact_id:** `typing.Optional[str]` — If provided, will only return payments for this contact. +
-
-## Crm Issues -
client.crm.issues.list(...)
-#### 📝 Description +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. + +
+
+**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. + +
+
+
-Gets all issues for Organization. -
-
+**cursor:** `typing.Optional[str]` — The pagination cursor value. + -#### 🔌 Usage -
+**expand:** `typing.Optional[ + typing.Union[ + PaymentsListRequestExpandItem, + typing.Sequence[PaymentsListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + +
+
+
-```python -import datetime - -from merge import Merge -from merge.resources.crm.resources.issues import IssuesListRequestStatus - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.crm.issues.list( - account_token="account_token", - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_date="end_date", - end_user_organization_name="end_user_organization_name", - first_incident_time_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - first_incident_time_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - include_muted="include_muted", - integration_name="integration_name", - last_incident_time_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - last_incident_time_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - linked_account_id="linked_account_id", - page_size=1, - start_date="start_date", - status=IssuesListRequestStatus.ONGOING, -) - -``` -
-
+**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + -#### ⚙️ Parameters -
+**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
+
-**account_token:** `typing.Optional[str]` +**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
@@ -18071,7 +18374,7 @@ client.crm.issues.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -18079,7 +18382,7 @@ client.crm.issues.list(
-**end_date:** `typing.Optional[str]` — If included, will only include issues whose most recent action occurred before this time +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned.
@@ -18087,7 +18390,7 @@ client.crm.issues.list(
-**end_user_organization_name:** `typing.Optional[str]` +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned.
@@ -18095,7 +18398,7 @@ client.crm.issues.list(
-**first_incident_time_after:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose first incident time was after this datetime. +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -18103,7 +18406,7 @@ client.crm.issues.list(
-**first_incident_time_before:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose first incident time was before this datetime. +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -18111,7 +18414,7 @@ client.crm.issues.list(
-**include_muted:** `typing.Optional[str]` — If true, will include muted issues +**transaction_date_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -18119,7 +18422,7 @@ client.crm.issues.list(
-**integration_name:** `typing.Optional[str]` +**transaction_date_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -18127,31 +18430,71 @@ client.crm.issues.list(
-**last_incident_time_after:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose last incident time was after this datetime. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ + + + + + +
+
client.accounting.payments.create(...)
-**last_incident_time_before:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose last incident time was before this datetime. - +#### 📝 Description + +
+
+ +
+
+ +Creates a `Payment` object with the given values. +
+
+#### 🔌 Usage +
-**linked_account_id:** `typing.Optional[str]` — If provided, will only include issues pertaining to the linked account passed in. - +
+
+ +```python +from merge import Merge +from merge.resources.accounting import PaymentRequest + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.accounting.payments.create( + model=PaymentRequest(), +) + +```
+
+
+ +#### ⚙️ Parameters
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +
+
+ +**model:** `PaymentRequest`
@@ -18159,7 +18502,7 @@ client.crm.issues.list(
-**start_date:** `typing.Optional[str]` — If included, will only include issues whose most recent action occurred after this time +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response.
@@ -18167,12 +18510,7 @@ client.crm.issues.list(
-**status:** `typing.Optional[IssuesListRequestStatus]` - -Status of the issue. Options: ('ONGOING', 'RESOLVED') - -* `ONGOING` - ONGOING -* `RESOLVED` - RESOLVED +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously.
@@ -18192,7 +18530,7 @@ Status of the issue. Options: ('ONGOING', 'RESOLVED')
-
client.crm.issues.retrieve(...) +
client.accounting.payments.retrieve(...)
@@ -18204,7 +18542,7 @@ Status of the issue. Options: ('ONGOING', 'RESOLVED')
-Get a specific issue. +Returns a `Payment` object with the given `id`.
@@ -18225,7 +18563,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.issues.retrieve( +client.accounting.payments.retrieve( id="id", ) @@ -18251,98 +18589,36 @@ client.crm.issues.retrieve(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**expand:** `typing.Optional[ + typing.Union[ + PaymentsRetrieveRequestExpandItem, + typing.Sequence[PaymentsRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
- -
- - - - -
- -## Crm Leads -
client.crm.leads.list(...) -
-
- -#### 📝 Description
-
-
- -Returns a list of `Lead` objects. -
-
+**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +
-#### 🔌 Usage - -
-
-
-```python -import datetime - -from merge import Merge -from merge.resources.crm.resources.leads import LeadsListRequestExpand - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.crm.leads.list( - converted_account_id="converted_account_id", - converted_contact_id="converted_contact_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - email_addresses="email_addresses", - expand=LeadsListRequestExpand.CONVERTED_ACCOUNT, - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - owner_id="owner_id", - page_size=1, - phone_numbers="phone_numbers", - remote_id="remote_id", -) - -``` -
-
+**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. +
-#### ⚙️ Parameters -
-
-
- -**converted_account_id:** `typing.Optional[str]` — If provided, will only return leads with this account. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -18350,103 +18626,72 @@ client.crm.leads.list(
-**converted_contact_id:** `typing.Optional[str]` — If provided, will only return leads with this contact. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
- -
-
- -**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. -
-
-
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. -
+
+
client.accounting.payments.partial_update(...)
-**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
+#### 📝 Description
-**email_addresses:** `typing.Optional[str]` — If provided, will only return contacts matching the email addresses; multiple email_addresses can be separated by commas. - -
-
-
-**expand:** `typing.Optional[LeadsListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - +Updates a `Payment` object with the given `id`.
- -
-
- -**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). -
+#### 🔌 Usage +
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
-
-**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. - -
-
+```python +from merge import Merge +from merge.resources.accounting import PatchedPaymentRequest -
-
+client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.accounting.payments.partial_update( + id="id", + model=PatchedPaymentRequest(), +) -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - +```
- -
-
- -**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. -
+#### ⚙️ Parameters +
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. - -
-
-
-**owner_id:** `typing.Optional[str]` — If provided, will only return leads with this owner. +**id:** `str`
@@ -18454,7 +18699,7 @@ client.crm.leads.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**model:** `PatchedPaymentRequest`
@@ -18462,7 +18707,7 @@ client.crm.leads.list(
-**phone_numbers:** `typing.Optional[str]` — If provided, will only return contacts matching the phone numbers; multiple phone numbers can be separated by commas. +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response.
@@ -18470,7 +18715,7 @@ client.crm.leads.list(
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously.
@@ -18490,7 +18735,7 @@ client.crm.leads.list(
-
client.crm.leads.create(...) +
client.accounting.payments.line_items_remote_field_classes_list(...)
@@ -18502,7 +18747,7 @@ client.crm.leads.list(
-Creates a `Lead` object with the given values. +Returns a list of `RemoteFieldClass` objects.
@@ -18518,17 +18763,19 @@ Creates a `Lead` object with the given values. ```python from merge import Merge -from merge.resources.crm import LeadRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.leads.create( - is_debug_mode=True, - run_async=True, - model=LeadRequest(), +response = client.accounting.payments.line_items_remote_field_classes_list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -18544,7 +18791,7 @@ client.crm.leads.create(
-**model:** `LeadRequest` +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -18552,7 +18799,7 @@ client.crm.leads.create(
-**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -18560,7 +18807,39 @@ client.crm.leads.create(
-**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
+ +
+
+ +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + +
+
+ +
+
+ +**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value + +
+
+ +
+
+ +**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value + +
+
+ +
+
+ +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -18580,7 +18859,7 @@ client.crm.leads.create(
-
client.crm.leads.retrieve(...) +
client.accounting.payments.meta_patch_retrieve(...)
@@ -18592,7 +18871,7 @@ client.crm.leads.create(
-Returns a `Lead` object with the given `id`. +Returns metadata for `Payment` PATCHs.
@@ -18608,18 +18887,13 @@ Returns a `Lead` object with the given `id`. ```python from merge import Merge -from merge.resources.crm.resources.leads import LeadsRetrieveRequestExpand client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.leads.retrieve( +client.accounting.payments.meta_patch_retrieve( id="id", - expand=LeadsRetrieveRequestExpand.CONVERTED_ACCOUNT, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, ) ``` @@ -18644,38 +18918,6 @@ client.crm.leads.retrieve(
-**expand:** `typing.Optional[LeadsRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -18688,7 +18930,7 @@ client.crm.leads.retrieve(
-
client.crm.leads.meta_post_retrieve() +
client.accounting.payments.meta_post_retrieve()
@@ -18700,7 +18942,7 @@ client.crm.leads.retrieve(
-Returns metadata for `Lead` POSTs. +Returns metadata for `Payment` POSTs.
@@ -18721,7 +18963,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.leads.meta_post_retrieve() +client.accounting.payments.meta_post_retrieve() ``` @@ -18749,7 +18991,7 @@ client.crm.leads.meta_post_retrieve()
-
client.crm.leads.remote_field_classes_list(...) +
client.accounting.payments.remote_field_classes_list(...)
@@ -18782,16 +19024,14 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.leads.remote_field_classes_list( +response = client.accounting.payments.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -18831,14 +19071,6 @@ client.crm.leads.remote_field_classes_list(
-**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. - -
-
- -
-
- **include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -18883,8 +19115,8 @@ client.crm.leads.remote_field_classes_list(
-## Crm LinkToken -
client.crm.link_token.create(...) +## Accounting PhoneNumbers +
client.accounting.phone_numbers.retrieve(...)
@@ -18896,7 +19128,7 @@ client.crm.leads.remote_field_classes_list(
-Creates a link token to be used when linking a new end user. +Returns an `AccountingPhoneNumber` object with the given `id`.
@@ -18912,17 +19144,13 @@ Creates a link token to be used when linking a new end user. ```python from merge import Merge -from merge.resources.crm import CategoriesEnum client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.link_token.create( - end_user_email_address="example@gmail.com", - end_user_organization_name="Test Organization", - end_user_origin_id="12345", - categories=[CategoriesEnum.HRIS, CategoriesEnum.ATS], +client.accounting.phone_numbers.retrieve( + id="id", ) ``` @@ -18939,7 +19167,7 @@ client.crm.link_token.create(
-**end_user_email_address:** `str` — Your end user's email address. This is purely for identification purposes - setting this value will not cause any emails to be sent. +**id:** `str`
@@ -18947,7 +19175,7 @@ client.crm.link_token.create(
-**end_user_organization_name:** `str` — Your end user's organization. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -18955,7 +19183,7 @@ client.crm.link_token.create(
-**end_user_origin_id:** `str` — This unique identifier typically represents the ID for your end user in your product's database. This value must be distinct from other Linked Accounts' unique identifiers. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -18963,47 +19191,71 @@ client.crm.link_token.create(
-**categories:** `typing.Sequence[CategoriesEnum]` — The integration categories to show in Merge Link. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**integration:** `typing.Optional[str]` — The slug of a specific pre-selected integration for this linking flow token. For examples of slugs, see https://docs.merge.dev/guides/merge-link/single-integration/. -
+
+## Accounting Projects +
client.accounting.projects.list(...)
-**link_expiry_mins:** `typing.Optional[int]` — An integer number of minutes between [30, 720 or 10080 if for a Magic Link URL] for how long this token is valid. Defaults to 30. - -
-
+#### 📝 Description
-**should_create_magic_link_url:** `typing.Optional[bool]` — Whether to generate a Magic Link URL. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. - +
+
+ +Returns a list of `Project` objects.
+
+
+ +#### 🔌 Usage
-**hide_admin_magic_link:** `typing.Optional[bool]` — Whether to generate a Magic Link URL on the Admin Needed screen during the linking flow. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. - +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.accounting.projects.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", +) + +```
+
+
+ +#### ⚙️ Parameters
-**common_models:** `typing.Optional[typing.Sequence[CommonModelScopesBodyRequest]]` — An array of objects to specify the models and fields that will be disabled for a given Linked Account. Each object uses model_id, enabled_actions, and disabled_fields to specify the model, method, and fields that are scoped for a given Linked Account. +
+
+ +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -19011,14 +19263,12 @@ client.crm.link_token.create(
-**category_common_model_scopes:** `typing.Optional[ - typing.Dict[ - str, - typing.Optional[ - typing.Sequence[IndividualCommonModelScopeDeserializerRequest] - ], +**expand:** `typing.Optional[ + typing.Union[ + ProjectsListRequestExpandItem, + typing.Sequence[ProjectsListRequestExpandItem], ] -]` — When creating a Link Token, you can set permissions for Common Models that will apply to the account that is going to be linked. Any model or field not specified in link token payload will default to existing settings. +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -19026,12 +19276,15 @@ client.crm.link_token.create(
-**language:** `typing.Optional[EndUserDetailsRequestLanguage]` +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + +
+
-The following subset of IETF language tags can be used to configure localization. +
+
-* `en` - en -* `de` - de +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -19039,7 +19292,7 @@ The following subset of IETF language tags can be used to configure localization
-**are_syncs_disabled:** `typing.Optional[bool]` — The boolean that indicates whether initial, periodic, and force syncs will be disabled. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -19047,7 +19300,7 @@ The following subset of IETF language tags can be used to configure localization
-**integration_specific_config:** `typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]` — A JSON object containing integration-specific configuration options. +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -19067,8 +19320,7 @@ The following subset of IETF language tags can be used to configure localization
-## Crm LinkedAccounts -
client.crm.linked_accounts.list(...) +
client.accounting.projects.retrieve(...)
@@ -19080,7 +19332,7 @@ The following subset of IETF language tags can be used to configure localization
-List linked accounts for your organization. +Returns a `Project` object with the given `id`.
@@ -19096,28 +19348,13 @@ List linked accounts for your organization. ```python from merge import Merge -from merge.resources.crm.resources.linked_accounts import ( - LinkedAccountsListRequestCategory, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.linked_accounts.list( - category=LinkedAccountsListRequestCategory.ACCOUNTING, - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_user_email_address="end_user_email_address", - end_user_organization_name="end_user_organization_name", - end_user_origin_id="end_user_origin_id", - end_user_origin_ids="end_user_origin_ids", +client.accounting.projects.retrieve( id="id", - ids="ids", - include_duplicates=True, - integration_name="integration_name", - is_test_account="is_test_account", - page_size=1, - status="status", ) ``` @@ -19134,89 +19371,7 @@ client.crm.linked_accounts.list(
-**category:** `typing.Optional[LinkedAccountsListRequestCategory]` - -Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing` - -* `hris` - hris -* `ats` - ats -* `accounting` - accounting -* `ticketing` - ticketing -* `crm` - crm -* `mktg` - mktg -* `filestorage` - filestorage - -
-
- -
-
- -**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
- -
-
- -**end_user_email_address:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given email address. - -
-
- -
-
- -**end_user_organization_name:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given organization name. - -
-
- -
-
- -**end_user_origin_id:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given origin ID. - -
-
- -
-
- -**end_user_origin_ids:** `typing.Optional[str]` — Comma-separated list of EndUser origin IDs, making it possible to specify multiple EndUsers at once. - -
-
- -
-
- -**id:** `typing.Optional[str]` - -
-
- -
-
- -**ids:** `typing.Optional[str]` — Comma-separated list of LinkedAccount IDs, making it possible to specify multiple LinkedAccounts at once. - -
-
- -
-
- -**include_duplicates:** `typing.Optional[bool]` — If `true`, will include complete production duplicates of the account specified by the `id` query parameter in the response. `id` must be for a complete production linked account. - -
-
- -
-
- -**integration_name:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given integration name. +**id:** `str`
@@ -19224,7 +19379,12 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-**is_test_account:** `typing.Optional[str]` — If included, will only include test linked accounts. If not included, will only include non-test linked accounts. +**expand:** `typing.Optional[ + typing.Union[ + ProjectsRetrieveRequestExpandItem, + typing.Sequence[ProjectsRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -19232,7 +19392,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -19240,7 +19400,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-**status:** `typing.Optional[str]` — Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -19260,8 +19420,8 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-## Crm Notes -
client.crm.notes.list(...) +## Accounting PurchaseOrders +
client.accounting.purchase_orders.list(...)
@@ -19273,7 +19433,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-Returns a list of `Note` objects. +Returns a list of `PurchaseOrder` objects.
@@ -19288,41 +19448,20 @@ Returns a list of `Note` objects.
```python -import datetime - from merge import Merge -from merge.resources.crm.resources.notes import NotesListRequestExpand client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.notes.list( - account_id="account_id", - contact_id="contact_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), +response = client.accounting.purchase_orders.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=NotesListRequestExpand.ACCOUNT, - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - opportunity_id="opportunity_id", - owner_id="owner_id", - page_size=1, - remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -19338,15 +19477,7 @@ client.crm.notes.list(
-**account_id:** `typing.Optional[str]` — If provided, will only return notes with this account. - -
-
- -
-
- -**contact_id:** `typing.Optional[str]` — If provided, will only return notes with this contact. +**company_id:** `typing.Optional[str]` — If provided, will only return purchase orders for this company.
@@ -19378,7 +19509,12 @@ client.crm.notes.list(
-**expand:** `typing.Optional[NotesListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**expand:** `typing.Optional[ + typing.Union[ + PurchaseOrdersListRequestExpandItem, + typing.Sequence[PurchaseOrdersListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -19418,7 +19554,7 @@ client.crm.notes.list(
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +**issue_date_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -19426,7 +19562,7 @@ client.crm.notes.list(
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +**issue_date_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -19434,7 +19570,7 @@ client.crm.notes.list(
-**opportunity_id:** `typing.Optional[str]` — If provided, will only return notes with this opportunity. +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned.
@@ -19442,7 +19578,7 @@ client.crm.notes.list(
-**owner_id:** `typing.Optional[str]` — If provided, will only return notes with this owner. +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned.
@@ -19458,6 +19594,14 @@ client.crm.notes.list(
+**remote_fields:** `typing.Optional[PurchaseOrdersListRequestRemoteFields]` — Deprecated. Use show_enum_origins. + +
+
+ +
+
+ **remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -19466,6 +19610,14 @@ client.crm.notes.list(
+**show_enum_origins:** `typing.Optional[PurchaseOrdersListRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -19478,7 +19630,7 @@ client.crm.notes.list(
-
client.crm.notes.create(...) +
client.accounting.purchase_orders.create(...)
@@ -19490,7 +19642,7 @@ client.crm.notes.list(
-Creates a `Note` object with the given values. +Creates a `PurchaseOrder` object with the given values.
@@ -19506,16 +19658,14 @@ Creates a `Note` object with the given values. ```python from merge import Merge -from merge.resources.crm import NoteRequest +from merge.resources.accounting import PurchaseOrderRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.notes.create( - is_debug_mode=True, - run_async=True, - model=NoteRequest(), +client.accounting.purchase_orders.create( + model=PurchaseOrderRequest(), ) ``` @@ -19532,7 +19682,7 @@ client.crm.notes.create(
-**model:** `NoteRequest` +**model:** `PurchaseOrderRequest`
@@ -19568,7 +19718,7 @@ client.crm.notes.create(
-
client.crm.notes.retrieve(...) +
client.accounting.purchase_orders.retrieve(...)
@@ -19580,7 +19730,7 @@ client.crm.notes.create(
-Returns a `Note` object with the given `id`. +Returns a `PurchaseOrder` object with the given `id`.
@@ -19596,18 +19746,13 @@ Returns a `Note` object with the given `id`. ```python from merge import Merge -from merge.resources.crm.resources.notes import NotesRetrieveRequestExpand client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.notes.retrieve( +client.accounting.purchase_orders.retrieve( id="id", - expand=NotesRetrieveRequestExpand.ACCOUNT, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, ) ``` @@ -19632,7 +19777,12 @@ client.crm.notes.retrieve(
-**expand:** `typing.Optional[NotesRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**expand:** `typing.Optional[ + typing.Union[ + PurchaseOrdersRetrieveRequestExpandItem, + typing.Sequence[PurchaseOrdersRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -19664,64 +19814,19 @@ client.crm.notes.retrieve(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**remote_fields:** `typing.Optional[PurchaseOrdersRetrieveRequestRemoteFields]` — Deprecated. Use show_enum_origins.
- -
- - - - -
- -
client.crm.notes.meta_post_retrieve() -
-
- -#### 📝 Description - -
-
- -
-
- -Returns metadata for `Note` POSTs. -
-
-
-
- -#### 🔌 Usage
-
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.crm.notes.meta_post_retrieve() - -``` -
-
+**show_enum_origins:** `typing.Optional[PurchaseOrdersRetrieveRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) +
-#### ⚙️ Parameters - -
-
-
@@ -19737,7 +19842,7 @@ client.crm.notes.meta_post_retrieve()
-
client.crm.notes.remote_field_classes_list(...) +
client.accounting.purchase_orders.line_items_remote_field_classes_list(...)
@@ -19770,16 +19875,16 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.notes.remote_field_classes_list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, +response = ( + client.accounting.purchase_orders.line_items_remote_field_classes_list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + ) ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -19819,14 +19924,6 @@ client.crm.notes.remote_field_classes_list(
-**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. - -
-
- -
-
- **include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -19871,8 +19968,7 @@ client.crm.notes.remote_field_classes_list(
-## Crm Opportunities -
client.crm.opportunities.list(...) +
client.accounting.purchase_orders.meta_post_retrieve()
@@ -19884,7 +19980,7 @@ client.crm.notes.remote_field_classes_list(
-Returns a list of `Opportunity` objects. +Returns metadata for `PurchaseOrder` POSTs.
@@ -19899,47 +19995,13 @@ Returns a list of `Opportunity` objects.
```python -import datetime - from merge import Merge -from merge.resources.crm.resources.opportunities import ( - OpportunitiesListRequestExpand, - OpportunitiesListRequestStatus, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.opportunities.list( - account_id="account_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=OpportunitiesListRequestExpand.ACCOUNT, - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - owner_id="owner_id", - page_size=1, - remote_created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - remote_id="remote_id", - stage_id="stage_id", - status=OpportunitiesListRequestStatus.LOST, -) +client.accounting.purchase_orders.meta_post_retrieve() ```
@@ -19955,55 +20017,75 @@ client.crm.opportunities.list(
-**account_id:** `typing.Optional[str]` — If provided, will only return opportunities with this account. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. -
+
+
client.accounting.purchase_orders.remote_field_classes_list(...)
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. - -
-
+#### 📝 Description
-**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
-
-**expand:** `typing.Optional[OpportunitiesListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - +Returns a list of `RemoteFieldClass` objects. +
+
+#### 🔌 Usage +
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +response = client.accounting.purchase_orders.remote_field_classes_list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", +) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page + +```
+
+
+ +#### ⚙️ Parameters
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +
+
+ +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -20011,7 +20093,7 @@ client.crm.opportunities.list(
-**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -20019,7 +20101,7 @@ client.crm.opportunities.list(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -20027,7 +20109,7 @@ client.crm.opportunities.list(
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -20035,7 +20117,7 @@ client.crm.opportunities.list(
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value
@@ -20043,7 +20125,7 @@ client.crm.opportunities.list(
-**owner_id:** `typing.Optional[str]` — If provided, will only return opportunities with this owner. +**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value
@@ -20059,53 +20141,71 @@ client.crm.opportunities.list(
-**remote_created_after:** `typing.Optional[dt.datetime]` — If provided, will only return opportunities created in the third party platform after this datetime. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+
+
-
-
-**remote_fields:** `typing.Optional[typing.Literal["status"]]` — Deprecated. Use show_enum_origins. -
+
+## Accounting RegenerateKey +
client.accounting.regenerate_key.create(...)
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. - -
-
+#### 📝 Description
-**show_enum_origins:** `typing.Optional[typing.Literal["status"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - +
+
+ +Exchange remote keys. +
+
+#### 🔌 Usage +
-**stage_id:** `typing.Optional[str]` — If provided, will only return opportunities with this stage. - +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.accounting.regenerate_key.create( + name="Remote Deployment Key 1", +) + +``` +
+
+#### ⚙️ Parameters +
-**status:** `typing.Optional[OpportunitiesListRequestStatus]` - -If provided, will only return opportunities with this status. Options: ('OPEN', 'WON', 'LOST') +
+
-* `OPEN` - OPEN -* `WON` - WON -* `LOST` - LOST +**name:** `str` — The name of the remote key
@@ -20125,7 +20225,8 @@ If provided, will only return opportunities with this status. Options: ('OPEN',
-
client.crm.opportunities.create(...) +## Accounting SyncStatus +
client.accounting.sync_status.list(...)
@@ -20137,7 +20238,7 @@ If provided, will only return opportunities with this status. Options: ('OPEN',
-Creates an `Opportunity` object with the given values. +Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses).
@@ -20153,17 +20254,19 @@ Creates an `Opportunity` object with the given values. ```python from merge import Merge -from merge.resources.crm import OpportunityRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.opportunities.create( - is_debug_mode=True, - run_async=True, - model=OpportunityRequest(), +response = client.accounting.sync_status.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -20179,7 +20282,7 @@ client.crm.opportunities.create(
-**model:** `OpportunityRequest` +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -20187,7 +20290,7 @@ client.crm.opportunities.create(
-**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -20195,10 +20298,64 @@ client.crm.opportunities.create(
-**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
+ + + + +
+ +## Accounting ForceResync +
client.accounting.force_resync.sync_status_resync_create() +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Force re-sync of all models. This endpoint is available for monthly, quarterly, and highest sync frequency customers on the Professional or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. Force re-syncs can also be triggered manually in the Merge Dashboard and is available for all customers. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.accounting.force_resync.sync_status_resync_create() + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
@@ -20215,7 +20372,8 @@ client.crm.opportunities.create(
-
client.crm.opportunities.retrieve(...) +## Accounting TaxRates +
client.accounting.tax_rates.list(...)
@@ -20227,7 +20385,7 @@ client.crm.opportunities.create(
-Returns an `Opportunity` object with the given `id`. +Returns a list of `TaxRate` objects.
@@ -20243,21 +20401,19 @@ Returns an `Opportunity` object with the given `id`. ```python from merge import Merge -from merge.resources.crm.resources.opportunities import ( - OpportunitiesRetrieveRequestExpand, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.opportunities.retrieve( - id="id", - expand=OpportunitiesRetrieveRequestExpand.ACCOUNT, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, +response = client.accounting.tax_rates.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -20273,7 +20429,7 @@ client.crm.opportunities.retrieve(
-**id:** `str` +**company_id:** `typing.Optional[str]` — If provided, will only return tax rates for this company.
@@ -20281,7 +20437,7 @@ client.crm.opportunities.retrieve(
-**expand:** `typing.Optional[OpportunitiesRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -20289,7 +20445,7 @@ client.crm.opportunities.retrieve(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -20297,7 +20453,36 @@ client.crm.opportunities.retrieve(
-**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. +**cursor:** `typing.Optional[str]` — The pagination cursor value. + +
+
+ +
+
+ +**expand:** `typing.Optional[ + typing.Union[ + TaxRatesListRequestExpandItem, + typing.Sequence[TaxRatesListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + +
+
+ +
+
+ +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + +
+
+ +
+
+ +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -20313,7 +20498,23 @@ client.crm.opportunities.retrieve(
-**remote_fields:** `typing.Optional[typing.Literal["status"]]` — Deprecated. Use show_enum_origins. +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. + +
+
+ +
+
+ +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. + +
+
+ +
+
+ +**name:** `typing.Optional[str]` — If provided, will only return TaxRates with this name.
@@ -20321,7 +20522,15 @@ client.crm.opportunities.retrieve(
-**show_enum_origins:** `typing.Optional[typing.Literal["status"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) +**page_size:** `typing.Optional[int]` — Number of results to return per page. + +
+
+ +
+
+ +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -20341,7 +20550,7 @@ client.crm.opportunities.retrieve(
-
client.crm.opportunities.partial_update(...) +
client.accounting.tax_rates.retrieve(...)
@@ -20353,7 +20562,7 @@ client.crm.opportunities.retrieve(
-Updates an `Opportunity` object with the given `id`. +Returns a `TaxRate` object with the given `id`.
@@ -20369,17 +20578,13 @@ Updates an `Opportunity` object with the given `id`. ```python from merge import Merge -from merge.resources.crm import PatchedOpportunityRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.opportunities.partial_update( +client.accounting.tax_rates.retrieve( id="id", - is_debug_mode=True, - run_async=True, - model=PatchedOpportunityRequest(), ) ``` @@ -20404,7 +20609,12 @@ client.crm.opportunities.partial_update(
-**model:** `PatchedOpportunityRequest` +**expand:** `typing.Optional[ + typing.Union[ + TaxRatesRetrieveRequestExpandItem, + typing.Sequence[TaxRatesRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -20412,7 +20622,7 @@ client.crm.opportunities.partial_update(
-**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -20420,7 +20630,7 @@ client.crm.opportunities.partial_update(
-**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -20440,7 +20650,8 @@ client.crm.opportunities.partial_update(
-
client.crm.opportunities.meta_patch_retrieve(...) +## Accounting TrackingCategories +
client.accounting.tracking_categories.list(...)
@@ -20452,7 +20663,7 @@ client.crm.opportunities.partial_update(
-Returns metadata for `Opportunity` PATCHs. +Returns a list of `TrackingCategory` objects.
@@ -20473,9 +20684,14 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.opportunities.meta_patch_retrieve( - id="id", +response = client.accounting.tracking_categories.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -20491,7 +20707,7 @@ client.crm.opportunities.meta_patch_retrieve(
-**id:** `str` +**category_type:** `typing.Optional[TrackingCategoriesListRequestCategoryType]` — If provided, will only return tracking categories with this type.
@@ -20499,64 +20715,136 @@ client.crm.opportunities.meta_patch_retrieve(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**company_id:** `typing.Optional[str]` — If provided, will only return tracking categories for this company.
+ +
+
+ +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +
+
+
+**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +
-
-
client.crm.opportunities.meta_post_retrieve()
-#### 📝 Description +**cursor:** `typing.Optional[str]` — The pagination cursor value. + +
+
+**expand:** `typing.Optional[ + typing.Union[ + TrackingCategoriesListRequestExpandItem, + typing.Sequence[TrackingCategoriesListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + +
+
+
-Returns metadata for `Opportunity` POSTs. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +
+ +
+
+ +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +
-#### 🔌 Usage +
+
+ +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + +
+
+**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. + +
+
+
-```python -from merge import Merge +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. + +
+
-client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.crm.opportunities.meta_post_retrieve() +
+
-``` +**name:** `typing.Optional[str]` — If provided, will only return tracking categories with this name. + +
+
+ +
+
+ +**page_size:** `typing.Optional[int]` — Number of results to return per page. +
+ +
+
+ +**remote_fields:** `typing.Optional[TrackingCategoriesListRequestRemoteFields]` — Deprecated. Use show_enum_origins. +
-#### ⚙️ Parameters +
+
+ +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. + +
+
+**show_enum_origins:** `typing.Optional[TrackingCategoriesListRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) + +
+
+ +
+
+ +**status:** `typing.Optional[TrackingCategoriesListRequestStatus]` — If provided, will only return tracking categories with this status. + +
+
+
@@ -20572,7 +20860,7 @@ client.crm.opportunities.meta_post_retrieve()
-
client.crm.opportunities.remote_field_classes_list(...) +
client.accounting.tracking_categories.retrieve(...)
@@ -20584,7 +20872,7 @@ client.crm.opportunities.meta_post_retrieve()
-Returns a list of `RemoteFieldClass` objects. +Returns a `TrackingCategory` object with the given `id`.
@@ -20605,15 +20893,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.opportunities.remote_field_classes_list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, +client.accounting.tracking_categories.retrieve( + id="id", ) ``` @@ -20630,7 +20911,7 @@ client.crm.opportunities.remote_field_classes_list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**id:** `str`
@@ -20638,7 +20919,12 @@ client.crm.opportunities.remote_field_classes_list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**expand:** `typing.Optional[ + typing.Union[ + TrackingCategoriesRetrieveRequestExpandItem, + typing.Sequence[TrackingCategoriesRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -20654,14 +20940,6 @@ client.crm.opportunities.remote_field_classes_list(
-**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. - -
-
- -
-
- **include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -20670,15 +20948,7 @@ client.crm.opportunities.remote_field_classes_list(
-**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value - -
-
- -
-
- -**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value +**remote_fields:** `typing.Optional[TrackingCategoriesRetrieveRequestRemoteFields]` — Deprecated. Use show_enum_origins.
@@ -20686,7 +20956,7 @@ client.crm.opportunities.remote_field_classes_list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**show_enum_origins:** `typing.Optional[TrackingCategoriesRetrieveRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
@@ -20706,8 +20976,8 @@ client.crm.opportunities.remote_field_classes_list(
-## Crm Passthrough -
client.crm.passthrough.create(...) +## Accounting Transactions +
client.accounting.transactions.list(...)
@@ -20719,7 +20989,7 @@ client.crm.opportunities.remote_field_classes_list(
-Pull data from an endpoint not currently supported by Merge. +Returns a list of `Transaction` objects.
@@ -20735,18 +21005,19 @@ Pull data from an endpoint not currently supported by Merge. ```python from merge import Merge -from merge.resources.crm import DataPassthroughRequest, MethodEnum client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.passthrough.create( - request=DataPassthroughRequest( - method=MethodEnum.GET, - path="/scooters", - ), +response = client.accounting.transactions.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -20762,7 +21033,116 @@ client.crm.passthrough.create(
-**request:** `DataPassthroughRequest` +**company_id:** `typing.Optional[str]` — If provided, will only return accounting transactions for this company. + +
+
+ +
+
+ +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. + +
+
+ +
+
+ +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. + +
+
+ +
+
+ +**cursor:** `typing.Optional[str]` — The pagination cursor value. + +
+
+ +
+
+ +**expand:** `typing.Optional[ + typing.Union[ + TransactionsListRequestExpandItem, + typing.Sequence[TransactionsListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + +
+
+ +
+
+ +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + +
+
+ +
+
+ +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
+ +
+
+ +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + +
+
+ +
+
+ +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. + +
+
+ +
+
+ +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. + +
+
+ +
+
+ +**page_size:** `typing.Optional[int]` — Number of results to return per page. + +
+
+ +
+
+ +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. + +
+
+ +
+
+ +**transaction_date_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. + +
+
+ +
+
+ +**transaction_date_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -20782,8 +21162,7 @@ client.crm.passthrough.create(
-## Crm RegenerateKey -
client.crm.regenerate_key.create(...) +
client.accounting.transactions.retrieve(...)
@@ -20795,7 +21174,7 @@ client.crm.passthrough.create(
-Exchange remote keys. +Returns a `Transaction` object with the given `id`.
@@ -20816,8 +21195,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.regenerate_key.create( - name="Remote Deployment Key 1", +client.accounting.transactions.retrieve( + id="id", ) ``` @@ -20834,7 +21213,36 @@ client.crm.regenerate_key.create(
-**name:** `str` — The name of the remote key +**id:** `str` + +
+
+ +
+
+ +**expand:** `typing.Optional[ + typing.Union[ + TransactionsRetrieveRequestExpandItem, + typing.Sequence[TransactionsRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + +
+
+ +
+
+ +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
+ +
+
+ +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -20854,8 +21262,8 @@ client.crm.regenerate_key.create(
-## Crm Stages -
client.crm.stages.list(...) +## Accounting VendorCredits +
client.accounting.vendor_credits.list(...)
@@ -20867,7 +21275,7 @@ client.crm.regenerate_key.create(
-Returns a list of `Stage` objects. +Returns a list of `VendorCredit` objects.
@@ -20882,35 +21290,20 @@ Returns a list of `Stage` objects.
```python -import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.stages.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), +response = client.accounting.vendor_credits.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -20926,6 +21319,14 @@ client.crm.stages.list(
+**company_id:** `typing.Optional[str]` — If provided, will only return vendor credits for this company. + +
+
+ +
+
+ **created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -20950,7 +21351,12 @@ client.crm.stages.list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**expand:** `typing.Optional[ + typing.Union[ + VendorCreditsListRequestExpandItem, + typing.Sequence[VendorCreditsListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -20958,7 +21364,7 @@ client.crm.stages.list(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -20966,7 +21372,7 @@ client.crm.stages.list(
-**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -21014,6 +21420,22 @@ client.crm.stages.list(
+**transaction_date_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. + +
+
+ +
+
+ +**transaction_date_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -21026,7 +21448,7 @@ client.crm.stages.list(
-
client.crm.stages.retrieve(...) +
client.accounting.vendor_credits.create(...)
@@ -21038,7 +21460,7 @@ client.crm.stages.list(
-Returns a `Stage` object with the given `id`. +Creates a `VendorCredit` object with the given values.
@@ -21054,16 +21476,14 @@ Returns a `Stage` object with the given `id`. ```python from merge import Merge +from merge.resources.accounting import VendorCreditRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.stages.retrieve( - id="id", - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, +client.accounting.vendor_credits.create( + model=VendorCreditRequest(), ) ``` @@ -21080,15 +21500,7 @@ client.crm.stages.retrieve(
-**id:** `str` - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**model:** `VendorCreditRequest`
@@ -21096,7 +21508,7 @@ client.crm.stages.retrieve(
-**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response.
@@ -21104,7 +21516,7 @@ client.crm.stages.retrieve(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously.
@@ -21124,7 +21536,7 @@ client.crm.stages.retrieve(
-
client.crm.stages.remote_field_classes_list(...) +
client.accounting.vendor_credits.retrieve(...)
@@ -21136,7 +21548,7 @@ client.crm.stages.retrieve(
-Returns a list of `RemoteFieldClass` objects. +Returns a `VendorCredit` object with the given `id`.
@@ -21157,15 +21569,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.stages.remote_field_classes_list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, +client.accounting.vendor_credits.retrieve( + id="id", ) ``` @@ -21182,7 +21587,7 @@ client.crm.stages.remote_field_classes_list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**id:** `str`
@@ -21190,7 +21595,12 @@ client.crm.stages.remote_field_classes_list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**expand:** `typing.Optional[ + typing.Union[ + VendorCreditsRetrieveRequestExpandItem, + typing.Sequence[VendorCreditsRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -21206,14 +21616,6 @@ client.crm.stages.remote_field_classes_list(
-**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. - -
-
- -
-
- **include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -21222,30 +21624,6 @@ client.crm.stages.remote_field_classes_list(
-**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value - -
-
- -
-
- -**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value - -
-
- -
-
- -**page_size:** `typing.Optional[int]` — Number of results to return per page. - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -21258,8 +21636,7 @@ client.crm.stages.remote_field_classes_list(
-## Crm SyncStatus -
client.crm.sync_status.list(...) +
client.accounting.vendor_credits.meta_post_retrieve()
@@ -21271,7 +21648,7 @@ client.crm.stages.remote_field_classes_list(
-Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). +Returns metadata for `VendorCredit` POSTs.
@@ -21292,10 +21669,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.sync_status.list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - page_size=1, -) +client.accounting.vendor_credits.meta_post_retrieve() ``` @@ -21311,22 +21685,6 @@ client.crm.sync_status.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
- -
-
- -**page_size:** `typing.Optional[int]` — Number of results to return per page. - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -21339,8 +21697,8 @@ client.crm.sync_status.list(
-## Crm ForceResync -
client.crm.force_resync.sync_status_resync_create() +## Accounting WebhookReceivers +
client.accounting.webhook_receivers.list()
@@ -21352,7 +21710,7 @@ client.crm.sync_status.list(
-Force re-sync of all models. This endpoint is available for monthly, quarterly, and highest sync frequency customers on the Professional or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. Force re-syncs can also be triggered manually in the Merge Dashboard and is available for all customers. +Returns a list of `WebhookReceiver` objects.
@@ -21373,7 +21731,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.force_resync.sync_status_resync_create() +client.accounting.webhook_receivers.list() ``` @@ -21401,8 +21759,7 @@ client.crm.force_resync.sync_status_resync_create()
-## Crm Tasks -
client.crm.tasks.list(...) +
client.accounting.webhook_receivers.create(...)
@@ -21414,7 +21771,7 @@ client.crm.force_resync.sync_status_resync_create()
-Returns a list of `Task` objects. +Creates a `WebhookReceiver` object with the given values.
@@ -21429,37 +21786,243 @@ Returns a list of `Task` objects.
```python -import datetime +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.accounting.webhook_receivers.create( + event="event", + is_active=True, +) + +``` +
+
+ + + +#### ⚙️ Parameters + +
+
+ +
+
+ +**event:** `str` + +
+
+ +
+
+**is_active:** `bool` + +
+
+ +
+
+ +**key:** `typing.Optional[str]` + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + + + +
+ +## Crm AccountDetails +
client.crm.account_details.retrieve() +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Get details for a linked account. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python from merge import Merge -from merge.resources.crm.resources.tasks import TasksListRequestExpand client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.tasks.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), +client.crm.account_details.retrieve() + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +## Crm AccountToken +
client.crm.account_token.retrieve(...) +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Returns the account token for the end user with the provided public token. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.crm.account_token.retrieve( + public_token="public_token", +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**public_token:** `str` + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +## Crm Accounts +
client.crm.accounts.list(...) +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Returns a list of `Account` objects. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +response = client.crm.accounts.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=TasksListRequestExpand.ACCOUNT, - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -21499,7 +22062,12 @@ client.crm.tasks.list(
-**expand:** `typing.Optional[TasksListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**expand:** `typing.Optional[ + typing.Union[ + AccountsListRequestExpandItem, + typing.Sequence[AccountsListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -21555,6 +22123,22 @@ client.crm.tasks.list(
+**name:** `typing.Optional[str]` — If provided, will only return accounts with this name. + +
+
+ +
+
+ +**owner_id:** `typing.Optional[str]` — If provided, will only return accounts with this owner. + +
+
+ +
+
+ **page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -21583,7 +22167,7 @@ client.crm.tasks.list(
-
client.crm.tasks.create(...) +
client.crm.accounts.create(...)
@@ -21595,7 +22179,7 @@ client.crm.tasks.list(
-Creates a `Task` object with the given values. +Creates an `Account` object with the given values.
@@ -21611,16 +22195,14 @@ Creates a `Task` object with the given values. ```python from merge import Merge -from merge.resources.crm import TaskRequest +from merge.resources.crm import AccountRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.tasks.create( - is_debug_mode=True, - run_async=True, - model=TaskRequest(), +client.crm.accounts.create( + model=AccountRequest(), ) ``` @@ -21637,7 +22219,7 @@ client.crm.tasks.create(
-**model:** `TaskRequest` +**model:** `AccountRequest`
@@ -21673,7 +22255,7 @@ client.crm.tasks.create(
-
client.crm.tasks.retrieve(...) +
client.crm.accounts.retrieve(...)
@@ -21685,7 +22267,7 @@ client.crm.tasks.create(
-Returns a `Task` object with the given `id`. +Returns an `Account` object with the given `id`.
@@ -21701,18 +22283,13 @@ Returns a `Task` object with the given `id`. ```python from merge import Merge -from merge.resources.crm.resources.tasks import TasksRetrieveRequestExpand client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.tasks.retrieve( +client.crm.accounts.retrieve( id="id", - expand=TasksRetrieveRequestExpand.ACCOUNT, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, ) ``` @@ -21737,7 +22314,12 @@ client.crm.tasks.retrieve(
-**expand:** `typing.Optional[TasksRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**expand:** `typing.Optional[ + typing.Union[ + AccountsRetrieveRequestExpandItem, + typing.Sequence[AccountsRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -21781,7 +22363,7 @@ client.crm.tasks.retrieve(
-
client.crm.tasks.partial_update(...) +
client.crm.accounts.partial_update(...)
@@ -21793,7 +22375,7 @@ client.crm.tasks.retrieve(
-Updates a `Task` object with the given `id`. +Updates an `Account` object with the given `id`.
@@ -21809,17 +22391,15 @@ Updates a `Task` object with the given `id`. ```python from merge import Merge -from merge.resources.crm import PatchedTaskRequest +from merge.resources.crm import PatchedAccountRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.tasks.partial_update( +client.crm.accounts.partial_update( id="id", - is_debug_mode=True, - run_async=True, - model=PatchedTaskRequest(), + model=PatchedAccountRequest(), ) ``` @@ -21844,7 +22424,7 @@ client.crm.tasks.partial_update(
-**model:** `PatchedTaskRequest` +**model:** `PatchedAccountRequest`
@@ -21880,7 +22460,7 @@ client.crm.tasks.partial_update(
-
client.crm.tasks.meta_patch_retrieve(...) +
client.crm.accounts.meta_patch_retrieve(...)
@@ -21892,7 +22472,7 @@ client.crm.tasks.partial_update(
-Returns metadata for `Task` PATCHs. +Returns metadata for `CRMAccount` PATCHs.
@@ -21913,7 +22493,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.tasks.meta_patch_retrieve( +client.crm.accounts.meta_patch_retrieve( id="id", ) @@ -21951,7 +22531,7 @@ client.crm.tasks.meta_patch_retrieve(
-
client.crm.tasks.meta_post_retrieve() +
client.crm.accounts.meta_post_retrieve()
@@ -21963,7 +22543,7 @@ client.crm.tasks.meta_patch_retrieve(
-Returns metadata for `Task` POSTs. +Returns metadata for `CRMAccount` POSTs.
@@ -21984,7 +22564,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.tasks.meta_post_retrieve() +client.crm.accounts.meta_post_retrieve() ``` @@ -22012,7 +22592,7 @@ client.crm.tasks.meta_post_retrieve()
-
client.crm.tasks.remote_field_classes_list(...) +
client.crm.accounts.remote_field_classes_list(...)
@@ -22045,16 +22625,14 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.tasks.remote_field_classes_list( +response = client.crm.accounts.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -22146,8 +22724,8 @@ client.crm.tasks.remote_field_classes_list(
-## Crm Users -
client.crm.users.list(...) +## Crm AsyncPassthrough +
client.crm.async_passthrough.create(...)
@@ -22159,7 +22737,7 @@ client.crm.tasks.remote_field_classes_list(
-Returns a list of `User` objects. +Asynchronously pull data from an endpoint not currently supported by Merge.
@@ -22174,35 +22752,18 @@ Returns a list of `User` objects.
```python -import datetime - from merge import Merge +from merge.resources.crm import DataPassthroughRequest, MethodEnum client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.users.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - email="email", - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", +client.crm.async_passthrough.create( + request=DataPassthroughRequest( + method=MethodEnum.GET, + path="/scooters", ), - page_size=1, - remote_id="remote_id", ) ``` @@ -22219,7 +22780,7 @@ client.crm.users.list(
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**request:** `DataPassthroughRequest`
@@ -22227,87 +22788,70 @@ client.crm.users.list(
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
- -
-
- -**cursor:** `typing.Optional[str]` — The pagination cursor value. -
-
-
-**email:** `typing.Optional[str]` — If provided, will only return users with this email. -
+
+
client.crm.async_passthrough.retrieve(...)
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - -
-
+#### 📝 Description
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
-
-**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. - +Retrieves data from earlier async-passthrough POST request
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). -
+#### 🔌 Usage +
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. - -
-
-
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. - +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.crm.async_passthrough.retrieve( + async_passthrough_receipt_id="async_passthrough_receipt_id", +) + +``` +
+
+#### ⚙️ Parameters +
-**page_size:** `typing.Optional[int]` — Number of results to return per page. - -
-
-
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +**async_passthrough_receipt_id:** `str`
@@ -22327,7 +22871,8 @@ client.crm.users.list(
-
client.crm.users.retrieve(...) +## Crm AuditTrail +
client.crm.audit_trail.list(...)
@@ -22339,7 +22884,7 @@ client.crm.users.list(
-Returns a `User` object with the given `id`. +Gets a list of audit trail events.
@@ -22360,12 +22905,14 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.users.retrieve( - id="id", - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, +response = client.crm.audit_trail.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -22381,7 +22928,7 @@ client.crm.users.retrieve(
-**id:** `str` +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -22389,7 +22936,7 @@ client.crm.users.retrieve(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**end_date:** `typing.Optional[str]` — If included, will only include audit trail events that occurred before this time
@@ -22397,7 +22944,7 @@ client.crm.users.retrieve(
-**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. +**event_type:** `typing.Optional[str]` — If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED`
@@ -22405,7 +22952,23 @@ client.crm.users.retrieve(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**page_size:** `typing.Optional[int]` — Number of results to return per page. + +
+
+ +
+
+ +**start_date:** `typing.Optional[str]` — If included, will only include audit trail events that occurred after this time + +
+
+ +
+
+ +**user_email:** `typing.Optional[str]` — If provided, this will return events associated with the specified user email. Please note that the email address reflects the user's email at the time of the event, and may not be their current email.
@@ -22425,7 +22988,8 @@ client.crm.users.retrieve(
-
client.crm.users.ignore_create(...) +## Crm AvailableActions +
client.crm.available_actions.retrieve()
@@ -22437,7 +23001,7 @@ client.crm.users.retrieve(
-Ignores a specific row based on the `model_id` in the url. These records will have their properties set to null, and will not be updated in future syncs. The "reason" and "message" fields in the request body will be stored for audit purposes. +Returns a list of models and actions available for an account.
@@ -22453,18 +23017,12 @@ Ignores a specific row based on the `model_id` in the url. These records will ha ```python from merge import Merge -from merge.resources.crm import IgnoreCommonModelRequest, ReasonEnum client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.users.ignore_create( - model_id="model_id", - request=IgnoreCommonModelRequest( - reason=ReasonEnum.GENERAL_CUSTOMER_REQUEST, - ), -) +client.crm.available_actions.retrieve() ``` @@ -22480,22 +23038,6 @@ client.crm.users.ignore_create(
-**model_id:** `str` - -
-
- -
-
- -**request:** `IgnoreCommonModelRequest` - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -22508,7 +23050,8 @@ client.crm.users.ignore_create(
-
client.crm.users.remote_field_classes_list(...) +## Crm Contacts +
client.crm.contacts.list(...)
@@ -22520,7 +23063,7 @@ client.crm.users.ignore_create(
-Returns a list of `RemoteFieldClass` objects. +Returns a list of `Contact` objects.
@@ -22541,16 +23084,14 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.users.remote_field_classes_list( +response = client.crm.contacts.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -22566,7 +23107,7 @@ client.crm.users.remote_field_classes_list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**account_id:** `typing.Optional[str]` — If provided, will only return contacts with this account.
@@ -22574,7 +23115,7 @@ client.crm.users.remote_field_classes_list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -22582,7 +23123,7 @@ client.crm.users.remote_field_classes_list(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -22590,7 +23131,7 @@ client.crm.users.remote_field_classes_list(
-**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -22598,7 +23139,7 @@ client.crm.users.remote_field_classes_list(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**email_addresses:** `typing.Optional[str]` — If provided, will only return contacts matching the email addresses; multiple email_addresses can be separated by commas.
@@ -22606,7 +23147,12 @@ client.crm.users.remote_field_classes_list(
-**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value +**expand:** `typing.Optional[ + typing.Union[ + ContactsListRequestExpandItem, + typing.Sequence[ContactsListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -22614,7 +23160,7 @@ client.crm.users.remote_field_classes_list(
-**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -22622,7 +23168,7 @@ client.crm.users.remote_field_classes_list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -22630,65 +23176,59 @@ client.crm.users.remote_field_classes_list(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
- -
+
+
+**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +
-
-## Crm WebhookReceivers -
client.crm.webhook_receivers.list()
-#### 📝 Description - -
-
+**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. + +
+
-Returns a list of `WebhookReceiver` objects. -
-
+**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +
-#### 🔌 Usage -
+**page_size:** `typing.Optional[int]` — Number of results to return per page. + +
+
+
-```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.crm.webhook_receivers.list() - -``` -
-
+**phone_numbers:** `typing.Optional[str]` — If provided, will only return contacts matching the phone numbers; multiple phone numbers can be separated by commas. + -#### ⚙️ Parameters -
+**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. + +
+
+
@@ -22704,7 +23244,7 @@ client.crm.webhook_receivers.list()
-
client.crm.webhook_receivers.create(...) +
client.crm.contacts.create(...)
@@ -22716,7 +23256,7 @@ client.crm.webhook_receivers.list()
-Creates a `WebhookReceiver` object with the given values. +Creates a `Contact` object with the given values.
@@ -22732,14 +23272,14 @@ Creates a `WebhookReceiver` object with the given values. ```python from merge import Merge +from merge.resources.crm import ContactRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.webhook_receivers.create( - event="event", - is_active=True, +client.crm.contacts.create( + model=ContactRequest(), ) ``` @@ -22756,7 +23296,7 @@ client.crm.webhook_receivers.create(
-**event:** `str` +**model:** `ContactRequest`
@@ -22764,7 +23304,7 @@ client.crm.webhook_receivers.create(
-**is_active:** `bool` +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response.
@@ -22772,7 +23312,7 @@ client.crm.webhook_receivers.create(
-**key:** `typing.Optional[str]` +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously.
@@ -22792,8 +23332,7 @@ client.crm.webhook_receivers.create(
-## Filestorage AccountDetails -
client.filestorage.account_details.retrieve() +
client.crm.contacts.retrieve(...)
@@ -22805,7 +23344,7 @@ client.crm.webhook_receivers.create(
-Get details for a linked account. +Returns a `Contact` object with the given `id`.
@@ -22826,7 +23365,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.account_details.retrieve() +client.crm.contacts.retrieve( + id="id", +) ``` @@ -22842,6 +23383,51 @@ client.filestorage.account_details.retrieve()
+**id:** `str` + +
+
+ +
+
+ +**expand:** `typing.Optional[ + typing.Union[ + ContactsRetrieveRequestExpandItem, + typing.Sequence[ContactsRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + +
+
+ +
+
+ +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
+ +
+
+ +**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. + +
+
+ +
+
+ +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -22854,8 +23440,7 @@ client.filestorage.account_details.retrieve()
-## Filestorage AccountToken -
client.filestorage.account_token.retrieve(...) +
client.crm.contacts.partial_update(...)
@@ -22867,7 +23452,7 @@ client.filestorage.account_details.retrieve()
-Returns the account token for the end user with the provided public token. +Updates a `Contact` object with the given `id`.
@@ -22883,13 +23468,15 @@ Returns the account token for the end user with the provided public token. ```python from merge import Merge +from merge.resources.crm import PatchedContactRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.account_token.retrieve( - public_token="public_token", +client.crm.contacts.partial_update( + id="id", + model=PatchedContactRequest(), ) ``` @@ -22906,7 +23493,31 @@ client.filestorage.account_token.retrieve(
-**public_token:** `str` +**id:** `str` + +
+
+ +
+
+ +**model:** `PatchedContactRequest` + +
+
+ +
+
+ +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. + +
+
+ +
+
+ +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously.
@@ -22926,8 +23537,7 @@ client.filestorage.account_token.retrieve(
-## Filestorage AsyncPassthrough -
client.filestorage.async_passthrough.create(...) +
client.crm.contacts.ignore_create(...)
@@ -22939,7 +23549,7 @@ client.filestorage.account_token.retrieve(
-Asynchronously pull data from an endpoint not currently supported by Merge. +Ignores a specific row based on the `model_id` in the url. These records will have their properties set to null, and will not be updated in future syncs. The "reason" and "message" fields in the request body will be stored for audit purposes.
@@ -22955,16 +23565,16 @@ Asynchronously pull data from an endpoint not currently supported by Merge. ```python from merge import Merge -from merge.resources.filestorage import DataPassthroughRequest, MethodEnum +from merge.resources.crm import IgnoreCommonModelRequest, ReasonEnum client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.async_passthrough.create( - request=DataPassthroughRequest( - method=MethodEnum.GET, - path="/scooters", +client.crm.contacts.ignore_create( + model_id="model_id", + request=IgnoreCommonModelRequest( + reason=ReasonEnum.GENERAL_CUSTOMER_REQUEST, ), ) @@ -22982,7 +23592,15 @@ client.filestorage.async_passthrough.create(
-**request:** `DataPassthroughRequest` +**model_id:** `str` + +
+
+ +
+
+ +**request:** `IgnoreCommonModelRequest`
@@ -23002,7 +23620,7 @@ client.filestorage.async_passthrough.create(
-
client.filestorage.async_passthrough.retrieve(...) +
client.crm.contacts.meta_patch_retrieve(...)
@@ -23014,7 +23632,7 @@ client.filestorage.async_passthrough.create(
-Retrieves data from earlier async-passthrough POST request +Returns metadata for `CRMContact` PATCHs.
@@ -23035,8 +23653,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.async_passthrough.retrieve( - async_passthrough_receipt_id="async_passthrough_receipt_id", +client.crm.contacts.meta_patch_retrieve( + id="id", ) ``` @@ -23053,7 +23671,7 @@ client.filestorage.async_passthrough.retrieve(
-**async_passthrough_receipt_id:** `str` +**id:** `str`
@@ -23073,8 +23691,7 @@ client.filestorage.async_passthrough.retrieve(
-## Filestorage AuditTrail -
client.filestorage.audit_trail.list(...) +
client.crm.contacts.meta_post_retrieve()
@@ -23086,7 +23703,7 @@ client.filestorage.async_passthrough.retrieve(
-Gets a list of audit trail events. +Returns metadata for `CRMContact` POSTs.
@@ -23107,14 +23724,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.audit_trail.list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_date="end_date", - event_type="event_type", - page_size=1, - start_date="start_date", - user_email="user_email", -) +client.crm.contacts.meta_post_retrieve() ``` @@ -23130,54 +23740,6 @@ client.filestorage.audit_trail.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
- -
-
- -**end_date:** `typing.Optional[str]` — If included, will only include audit trail events that occurred before this time - -
-
- -
-
- -**event_type:** `typing.Optional[str]` — If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` - -
-
- -
-
- -**page_size:** `typing.Optional[int]` — Number of results to return per page. - -
-
- -
-
- -**start_date:** `typing.Optional[str]` — If included, will only include audit trail events that occurred after this time - -
-
- -
-
- -**user_email:** `typing.Optional[str]` — If provided, this will return events associated with the specified user email. Please note that the email address reflects the user's email at the time of the event, and may not be their current email. - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -23190,8 +23752,7 @@ client.filestorage.audit_trail.list(
-## Filestorage AvailableActions -
client.filestorage.available_actions.retrieve() +
client.crm.contacts.remote_field_classes_list(...)
@@ -23203,7 +23764,7 @@ client.filestorage.audit_trail.list(
-Returns a list of models and actions available for an account. +Returns a list of `RemoteFieldClass` objects.
@@ -23224,7 +23785,14 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.available_actions.retrieve() +response = client.crm.contacts.remote_field_classes_list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", +) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -23240,65 +23808,67 @@ client.filestorage.available_actions.retrieve()
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
- -
+
+
+**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +
-
-## Filestorage Scopes -
client.filestorage.scopes.default_scopes_retrieve()
-#### 📝 Description +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
+**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. + +
+
+
-Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). -
-
+**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + -#### 🔌 Usage -
+**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value + +
+
+
-```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.filestorage.scopes.default_scopes_retrieve() - -``` -
-
+**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value + -#### ⚙️ Parameters -
+**page_size:** `typing.Optional[int]` — Number of results to return per page. + +
+
+
@@ -23314,7 +23884,8 @@ client.filestorage.scopes.default_scopes_retrieve()
-
client.filestorage.scopes.linked_account_scopes_retrieve() +## Crm CustomObjectClasses +
client.crm.custom_object_classes.list(...)
@@ -23326,7 +23897,7 @@ client.filestorage.scopes.default_scopes_retrieve()
-Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). +Returns a list of `CustomObjectClass` objects.
@@ -23347,7 +23918,14 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.scopes.linked_account_scopes_retrieve() +response = client.crm.custom_object_classes.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", +) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -23363,99 +23941,92 @@ client.filestorage.scopes.linked_account_scopes_retrieve()
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
- -
+
+
+**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +
-
-
client.filestorage.scopes.linked_account_scopes_create(...)
-#### 📝 Description +**cursor:** `typing.Optional[str]` — The pagination cursor value. + +
+
+**expand:** `typing.Optional[ + typing.Union[ + CustomObjectClassesListRequestExpandItem, + typing.Sequence[CustomObjectClassesListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + +
+
+
-Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes) -
-
+**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + -#### 🔌 Usage -
+**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
+
-```python -from merge import Merge -from merge.resources.filestorage import ( - FieldPermissionDeserializerRequest, - IndividualCommonModelScopeDeserializerRequest, - ModelPermissionDeserializerRequest, -) +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + +
+
-client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.filestorage.scopes.linked_account_scopes_create( - common_models=[ - IndividualCommonModelScopeDeserializerRequest( - model_name="Employee", - model_permissions={ - "READ": ModelPermissionDeserializerRequest( - is_enabled=True, - ), - "WRITE": ModelPermissionDeserializerRequest( - is_enabled=False, - ), - }, - field_permissions=FieldPermissionDeserializerRequest( - enabled_fields=["avatar", "home_location"], - disabled_fields=["work_location"], - ), - ), - IndividualCommonModelScopeDeserializerRequest( - model_name="Benefit", - model_permissions={ - "WRITE": ModelPermissionDeserializerRequest( - is_enabled=False, - ) - }, - ), - ], -) +
+
-``` +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +
+ +
+
+ +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +
-#### ⚙️ Parameters -
+**page_size:** `typing.Optional[int]` — Number of results to return per page. + +
+
+
-**common_models:** `typing.Sequence[IndividualCommonModelScopeDeserializerRequest]` — The common models you want to update the scopes for +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -23475,8 +24046,7 @@ client.filestorage.scopes.linked_account_scopes_create(
-## Filestorage DeleteAccount -
client.filestorage.delete_account.delete() +
client.crm.custom_object_classes.retrieve(...)
@@ -23488,7 +24058,7 @@ client.filestorage.scopes.linked_account_scopes_create(
-Delete a linked account. +Returns a `CustomObjectClass` object with the given `id`.
@@ -23509,7 +24079,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.delete_account.delete() +client.crm.custom_object_classes.retrieve( + id="id", +) ``` @@ -23525,6 +24097,43 @@ client.filestorage.delete_account.delete()
+**id:** `str` + +
+
+ +
+
+ +**expand:** `typing.Optional[ + typing.Union[ + CustomObjectClassesRetrieveRequestExpandItem, + typing.Sequence[CustomObjectClassesRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + +
+
+ +
+
+ +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
+ +
+
+ +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -23537,8 +24146,8 @@ client.filestorage.delete_account.delete()
-## Filestorage Drives -
client.filestorage.drives.list(...) +## Crm AssociationTypes +
client.crm.association_types.custom_object_classes_association_types_list(...)
@@ -23550,7 +24159,7 @@ client.filestorage.delete_account.delete()
-Returns a list of `Drive` objects. +Returns a list of `AssociationType` objects.
@@ -23565,35 +24174,23 @@ Returns a list of `Drive` objects.
```python -import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.drives.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - name="name", - page_size=1, - remote_id="remote_id", +response = ( + client.crm.association_types.custom_object_classes_association_types_list( + custom_object_class_id="custom_object_class_id", + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + ) ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -23609,6 +24206,14 @@ client.filestorage.drives.list(
+**custom_object_class_id:** `str` + +
+
+ +
+
+ **created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -23633,6 +24238,21 @@ client.filestorage.drives.list(
+**expand:** `typing.Optional[ + typing.Union[ + CustomObjectClassesAssociationTypesListRequestExpandItem, + typing.Sequence[ + CustomObjectClassesAssociationTypesListRequestExpandItem + ], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + +
+
+ +
+
+ **include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -23673,7 +24293,7 @@ client.filestorage.drives.list(
-**name:** `typing.Optional[str]` — If provided, will only return drives with this name. This performs an exact match. +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -23681,7 +24301,7 @@ client.filestorage.drives.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -23689,7 +24309,112 @@ client.filestorage.drives.list(
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+ +
+ + + +
+
+ +
client.crm.association_types.custom_object_classes_association_types_create(...) +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Creates an `AssociationType` object with the given values. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from merge import Merge +from merge.resources.crm import ( + AssociationTypeRequestRequest, + ObjectClassDescriptionRequest, + OriginTypeEnum, +) + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.crm.association_types.custom_object_classes_association_types_create( + custom_object_class_id="custom_object_class_id", + model=AssociationTypeRequestRequest( + source_object_class=ObjectClassDescriptionRequest( + id="id", + origin_type=OriginTypeEnum.CUSTOM_OBJECT, + ), + target_object_classes=[ + ObjectClassDescriptionRequest( + id="id", + origin_type=OriginTypeEnum.CUSTOM_OBJECT, + ) + ], + remote_key_name="remote_key_name", + ), +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**custom_object_class_id:** `str` + +
+
+ +
+
+ +**model:** `AssociationTypeRequestRequest` + +
+
+ +
+
+ +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. + +
+
+ +
+
+ +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously.
@@ -23709,7 +24434,7 @@ client.filestorage.drives.list(
-
client.filestorage.drives.retrieve(...) +
client.crm.association_types.custom_object_classes_association_types_retrieve(...)
@@ -23721,7 +24446,7 @@ client.filestorage.drives.list(
-Returns a `Drive` object with the given `id`. +Returns an `AssociationType` object with the given `id`.
@@ -23742,10 +24467,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.drives.retrieve( +client.crm.association_types.custom_object_classes_association_types_retrieve( + custom_object_class_id="custom_object_class_id", id="id", - include_remote_data=True, - include_shell_data=True, ) ``` @@ -23762,6 +24486,14 @@ client.filestorage.drives.retrieve(
+**custom_object_class_id:** `str` + +
+
+ +
+
+ **id:** `str`
@@ -23770,6 +24502,21 @@ client.filestorage.drives.retrieve(
+**expand:** `typing.Optional[ + typing.Union[ + CustomObjectClassesAssociationTypesRetrieveRequestExpandItem, + typing.Sequence[ + CustomObjectClassesAssociationTypesRetrieveRequestExpandItem + ], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + +
+
+ +
+
+ **include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -23798,8 +24545,7 @@ client.filestorage.drives.retrieve(
-## Filestorage FieldMapping -
client.filestorage.field_mapping.field_mappings_retrieve(...) +
client.crm.association_types.custom_object_classes_association_types_meta_post_retrieve(...)
@@ -23811,7 +24557,7 @@ client.filestorage.drives.retrieve(
-Get all Field Mappings for this Linked Account. Field Mappings are mappings between third-party Remote Fields and user defined Merge fields. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). +Returns metadata for `CRMAssociationType` POSTs.
@@ -23832,8 +24578,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.field_mapping.field_mappings_retrieve( - exclude_remote_field_metadata=True, +client.crm.association_types.custom_object_classes_association_types_meta_post_retrieve( + custom_object_class_id="custom_object_class_id", ) ``` @@ -23850,7 +24596,7 @@ client.filestorage.field_mapping.field_mappings_retrieve(
-**exclude_remote_field_metadata:** `typing.Optional[bool]` — If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. +**custom_object_class_id:** `str`
@@ -23870,7 +24616,8 @@ client.filestorage.field_mapping.field_mappings_retrieve(
-
client.filestorage.field_mapping.field_mappings_create(...) +## Crm CustomObjects +
client.crm.custom_objects.custom_object_classes_custom_objects_list(...)
@@ -23882,7 +24629,7 @@ client.filestorage.field_mapping.field_mappings_retrieve(
-Create new Field Mappings that will be available after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. +Returns a list of `CustomObject` objects.
@@ -23903,15 +24650,15 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.field_mapping.field_mappings_create( - exclude_remote_field_metadata=True, - target_field_name="example_target_field_name", - target_field_description="this is a example description of the target field", - remote_field_traversal_path=["example_remote_field"], - remote_method="GET", - remote_url_path="/example-url-path", - common_model_name="ExampleCommonModel", +response = client.crm.custom_objects.custom_object_classes_custom_objects_list( + custom_object_class_id="custom_object_class_id", + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -23927,7 +24674,7 @@ client.filestorage.field_mapping.field_mappings_create(
-**target_field_name:** `str` — The name of the target field you want this remote field to map to. +**custom_object_class_id:** `str`
@@ -23935,7 +24682,7 @@ client.filestorage.field_mapping.field_mappings_create(
-**target_field_description:** `str` — The description of the target field you want this remote field to map to. +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -23943,7 +24690,7 @@ client.filestorage.field_mapping.field_mappings_create(
-**remote_field_traversal_path:** `typing.Sequence[typing.Optional[typing.Any]]` — The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -23951,7 +24698,7 @@ client.filestorage.field_mapping.field_mappings_create(
-**remote_method:** `str` — The method of the remote endpoint where the remote field is coming from. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -23959,7 +24706,7 @@ client.filestorage.field_mapping.field_mappings_create(
-**remote_url_path:** `str` — The path of the remote endpoint where the remote field is coming from. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -23967,7 +24714,7 @@ client.filestorage.field_mapping.field_mappings_create(
-**common_model_name:** `str` — The name of the Common Model that the remote field corresponds to in a given category. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -23975,7 +24722,47 @@ client.filestorage.field_mapping.field_mappings_create(
-**exclude_remote_field_metadata:** `typing.Optional[bool]` — If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. +**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. + +
+
+ +
+
+ +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + +
+
+ +
+
+ +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. + +
+
+ +
+
+ +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. + +
+
+ +
+
+ +**page_size:** `typing.Optional[int]` — Number of results to return per page. + +
+
+ +
+
+ +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -23995,7 +24782,7 @@ client.filestorage.field_mapping.field_mappings_create(
-
client.filestorage.field_mapping.field_mappings_destroy(...) +
client.crm.custom_objects.custom_object_classes_custom_objects_create(...)
@@ -24007,7 +24794,7 @@ client.filestorage.field_mapping.field_mappings_create(
-Deletes Field Mappings for a Linked Account. All data related to this Field Mapping will be deleted and these changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. +Creates a `CustomObject` object with the given values.
@@ -24023,13 +24810,17 @@ Deletes Field Mappings for a Linked Account. All data related to this Field Mapp ```python from merge import Merge +from merge.resources.crm import CustomObjectRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.field_mapping.field_mappings_destroy( - field_mapping_id="field_mapping_id", +client.crm.custom_objects.custom_object_classes_custom_objects_create( + custom_object_class_id="custom_object_class_id", + model=CustomObjectRequest( + fields={"test_field": "hello"}, + ), ) ``` @@ -24046,7 +24837,31 @@ client.filestorage.field_mapping.field_mappings_destroy(
-**field_mapping_id:** `str` +**custom_object_class_id:** `str` + +
+
+ +
+
+ +**model:** `CustomObjectRequest` + +
+
+ +
+
+ +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. + +
+
+ +
+
+ +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously.
@@ -24066,7 +24881,7 @@ client.filestorage.field_mapping.field_mappings_destroy(
-
client.filestorage.field_mapping.field_mappings_partial_update(...) +
client.crm.custom_objects.custom_object_classes_custom_objects_retrieve(...)
@@ -24078,7 +24893,7 @@ client.filestorage.field_mapping.field_mappings_destroy(
-Create or update existing Field Mappings for a Linked Account. Changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. +Returns a `CustomObject` object with the given `id`.
@@ -24099,8 +24914,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.field_mapping.field_mappings_partial_update( - field_mapping_id="field_mapping_id", +client.crm.custom_objects.custom_object_classes_custom_objects_retrieve( + custom_object_class_id="custom_object_class_id", + id="id", ) ``` @@ -24117,7 +24933,7 @@ client.filestorage.field_mapping.field_mappings_partial_update(
-**field_mapping_id:** `str` +**custom_object_class_id:** `str`
@@ -24125,7 +24941,7 @@ client.filestorage.field_mapping.field_mappings_partial_update(
-**remote_field_traversal_path:** `typing.Optional[typing.Sequence[typing.Optional[typing.Any]]]` — The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. +**id:** `str`
@@ -24133,7 +24949,7 @@ client.filestorage.field_mapping.field_mappings_partial_update(
-**remote_method:** `typing.Optional[str]` — The method of the remote endpoint where the remote field is coming from. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -24141,7 +24957,15 @@ client.filestorage.field_mapping.field_mappings_partial_update(
-**remote_url_path:** `typing.Optional[str]` — The path of the remote endpoint where the remote field is coming from. +**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. + +
+
+ +
+
+ +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -24161,7 +24985,7 @@ client.filestorage.field_mapping.field_mappings_partial_update(
-
client.filestorage.field_mapping.remote_fields_retrieve(...) +
client.crm.custom_objects.custom_object_classes_custom_objects_meta_post_retrieve(...)
@@ -24173,7 +24997,7 @@ client.filestorage.field_mapping.field_mappings_partial_update(
-Get all remote fields for a Linked Account. Remote fields are third-party fields that are accessible after initial sync if remote_data is enabled. You can use remote fields to override existing Merge fields or map a new Merge field. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). +Returns metadata for `CRMCustomObject` POSTs.
@@ -24194,9 +25018,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.field_mapping.remote_fields_retrieve( - common_models="common_models", - include_example_values="include_example_values", +client.crm.custom_objects.custom_object_classes_custom_objects_meta_post_retrieve( + custom_object_class_id="custom_object_class_id", ) ``` @@ -24213,15 +25036,7 @@ client.filestorage.field_mapping.remote_fields_retrieve(
-**common_models:** `typing.Optional[str]` — A comma seperated list of Common Model names. If included, will only return Remote Fields for those Common Models. - -
-
- -
-
- -**include_example_values:** `typing.Optional[str]` — If true, will include example values, where available, for remote fields in the 3rd party platform. These examples come from active data from your customers. +**custom_object_class_id:** `str`
@@ -24241,7 +25056,7 @@ client.filestorage.field_mapping.remote_fields_retrieve(
-
client.filestorage.field_mapping.target_fields_retrieve() +
client.crm.custom_objects.custom_object_classes_custom_objects_remote_field_classes_list(...)
@@ -24253,7 +25068,7 @@ client.filestorage.field_mapping.remote_fields_retrieve(
-Get all organization-wide Target Fields, this will not include any Linked Account specific Target Fields. Organization-wide Target Fields are additional fields appended to the Merge Common Model for all Linked Accounts in a category. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/target-fields/). +Returns a list of `RemoteFieldClass` objects.
@@ -24274,7 +25089,14 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.field_mapping.target_fields_retrieve() +response = client.crm.custom_objects.custom_object_classes_custom_objects_remote_field_classes_list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", +) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -24290,6 +25112,70 @@ client.filestorage.field_mapping.target_fields_retrieve()
+**cursor:** `typing.Optional[str]` — The pagination cursor value. + +
+
+ +
+
+ +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + +
+
+ +
+
+ +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
+ +
+
+ +**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. + +
+
+ +
+
+ +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + +
+
+ +
+
+ +**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value + +
+
+ +
+
+ +**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value + +
+
+ +
+
+ +**page_size:** `typing.Optional[int]` — Number of results to return per page. + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -24302,8 +25188,8 @@ client.filestorage.field_mapping.target_fields_retrieve()
-## Filestorage Files -
client.filestorage.files.list(...) +## Crm Associations +
client.crm.associations.custom_object_classes_custom_objects_associations_list(...)
@@ -24315,7 +25201,7 @@ client.filestorage.field_mapping.target_fields_retrieve()
-Returns a list of `File` objects. +Returns a list of `Association` objects.
@@ -24330,50 +25216,22 @@ Returns a list of `File` objects.
```python -import datetime - from merge import Merge -from merge.resources.filestorage.resources.files import ( - FilesListRequestExpand, - FilesListRequestOrderBy, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.files.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), +response = client.crm.associations.custom_object_classes_custom_objects_associations_list( + custom_object_class_id="custom_object_class_id", + object_id="object_id", cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - drive_id="drive_id", - expand=FilesListRequestExpand.DRIVE, - folder_id="folder_id", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - mime_type="mime_type", - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - name="name", - order_by=FilesListRequestOrderBy.CREATED_AT_DESCENDING, - page_size=1, - remote_created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - remote_created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -24389,7 +25247,7 @@ client.filestorage.files.list(
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**custom_object_class_id:** `str`
@@ -24397,7 +25255,7 @@ client.filestorage.files.list(
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**object_id:** `str`
@@ -24405,7 +25263,7 @@ client.filestorage.files.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**association_type_id:** `typing.Optional[str]` — If provided, will only return opportunities with this association_type.
@@ -24413,7 +25271,7 @@ client.filestorage.files.list(
-**drive_id:** `typing.Optional[str]` — Specifying a drive id returns only the files in that drive. Specifying null returns only the files outside the top-level drive. +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -24421,7 +25279,7 @@ client.filestorage.files.list(
-**expand:** `typing.Optional[FilesListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -24429,7 +25287,7 @@ client.filestorage.files.list(
-**folder_id:** `typing.Optional[str]` — Specifying a folder id returns only the files in that folder. Specifying null returns only the files in root directory. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -24437,7 +25295,14 @@ client.filestorage.files.list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**expand:** `typing.Optional[ + typing.Union[ + CustomObjectClassesCustomObjectsAssociationsListRequestExpandItem, + typing.Sequence[ + CustomObjectClassesCustomObjectsAssociationsListRequestExpandItem + ], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -24445,7 +25310,7 @@ client.filestorage.files.list(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -24453,7 +25318,7 @@ client.filestorage.files.list(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -24461,7 +25326,7 @@ client.filestorage.files.list(
-**mime_type:** `typing.Optional[str]` — If provided, will only return files with these mime_types. Multiple values can be separated by commas. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -24485,22 +25350,6 @@ client.filestorage.files.list(
-**name:** `typing.Optional[str]` — If provided, will only return files with this name. This performs an exact match. - -
-
- -
-
- -**order_by:** `typing.Optional[FilesListRequestOrderBy]` — Overrides the default ordering for this endpoint. Possible values include: created_at, -created_at, modified_at, -modified_at. - -
-
- -
-
- **page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -24509,22 +25358,6 @@ client.filestorage.files.list(
-**remote_created_after:** `typing.Optional[dt.datetime]` — If provided, will only return files created in the third party platform after this datetime. - -
-
- -
-
- -**remote_created_before:** `typing.Optional[dt.datetime]` — If provided, will only return files created in the third party platform before this datetime. - -
-
- -
-
- **remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -24545,7 +25378,7 @@ client.filestorage.files.list(
-
client.filestorage.files.create(...) +
client.crm.associations.custom_object_classes_custom_objects_associations_update(...)
@@ -24557,7 +25390,7 @@ client.filestorage.files.list(
-Creates a `File` object with the given values. +Creates an Association between `source_object_id` and `target_object_id` of type `association_type_id`.
@@ -24573,16 +25406,17 @@ Creates a `File` object with the given values. ```python from merge import Merge -from merge.resources.filestorage import FileRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.files.create( - is_debug_mode=True, - run_async=True, - model=FileRequest(), +client.crm.associations.custom_object_classes_custom_objects_associations_update( + source_class_id="source_class_id", + source_object_id="source_object_id", + target_class_id="target_class_id", + target_object_id="target_object_id", + association_type_id="association_type_id", ) ``` @@ -24599,15 +25433,7 @@ client.filestorage.files.create(
-**model:** `FileRequest` - -
-
- -
-
- -**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. +**source_class_id:** `str`
@@ -24615,7 +25441,7 @@ client.filestorage.files.create(
-**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. +**source_object_id:** `str`
@@ -24623,76 +25449,15 @@ client.filestorage.files.create(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**target_class_id:** `str`
- -
- - - - -
- -
client.filestorage.files.retrieve(...) -
-
- -#### 📝 Description
-
-
- -Returns a `File` object with the given `id`. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge -from merge.resources.filestorage.resources.files import ( - FilesRetrieveRequestExpand, -) - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.filestorage.files.retrieve( - id="id", - expand=FilesRetrieveRequestExpand.DRIVE, - include_remote_data=True, - include_shell_data=True, -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**id:** `str` +**target_object_id:** `str`
@@ -24700,7 +25465,7 @@ client.filestorage.files.retrieve(
-**expand:** `typing.Optional[FilesRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**association_type_id:** `str`
@@ -24708,7 +25473,7 @@ client.filestorage.files.retrieve(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response.
@@ -24716,7 +25481,7 @@ client.filestorage.files.retrieve(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously.
@@ -24736,7 +25501,8 @@ client.filestorage.files.retrieve(
-
client.filestorage.files.download_request_meta_retrieve(...) +## Crm Scopes +
client.crm.scopes.default_scopes_retrieve()
@@ -24748,7 +25514,7 @@ client.filestorage.files.retrieve(
-Returns metadata to construct an authenticated file download request for a singular file, allowing you to download file directly from the third-party. +Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes).
@@ -24769,10 +25535,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.files.download_request_meta_retrieve( - id="id", - mime_type="mime_type", -) +client.crm.scopes.default_scopes_retrieve() ``` @@ -24788,22 +25551,6 @@ client.filestorage.files.download_request_meta_retrieve(
-**id:** `str` - -
-
- -
-
- -**mime_type:** `typing.Optional[str]` — If provided, specifies the export format of the file to be downloaded. For information on supported export formats, please refer to our export format help center article. - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -24816,7 +25563,7 @@ client.filestorage.files.download_request_meta_retrieve(
-
client.filestorage.files.download_request_meta_list(...) +
client.crm.scopes.linked_account_scopes_retrieve()
@@ -24828,7 +25575,7 @@ client.filestorage.files.download_request_meta_retrieve(
-Returns metadata to construct authenticated file download requests, allowing you to download files directly from the third-party. +Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes).
@@ -24844,25 +25591,12 @@ Returns metadata to construct authenticated file download requests, allowing you ```python from merge import Merge -from merge.resources.filestorage.resources.files import ( - FilesDownloadRequestMetaListRequestOrderBy, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.files.download_request_meta_list( - created_after="created_after", - created_before="created_before", - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - mime_types="mime_types", - modified_after="modified_after", - modified_before="modified_before", - order_by=FilesDownloadRequestMetaListRequestOrderBy.CREATED_AT_DESCENDING, - page_size=1, -) +client.crm.scopes.linked_account_scopes_retrieve() ``` @@ -24878,79 +25612,99 @@ client.filestorage.files.download_request_meta_list(
-**created_after:** `typing.Optional[str]` — If provided, will only return objects created after this datetime. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
- -
-
- -**created_before:** `typing.Optional[str]` — If provided, will only return objects created before this datetime. -
-
-
-**cursor:** `typing.Optional[str]` — The pagination cursor value. -
+
+
client.crm.scopes.linked_account_scopes_create(...)
-**ids:** `typing.Optional[typing.Union[str, typing.Sequence[str]]]` — If provided, will only return objects with the given IDs. Comma-separated list of strings. - -
-
+#### 📝 Description
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - -
-
-
-**mime_types:** `typing.Optional[str]` — A comma-separated list of preferred MIME types in order of priority. If supported by the third-party provider, the file(s) will be returned in the first supported MIME type from the list. The default MIME type is PDF. To see supported MIME types by file type, refer to our export format help center article. - +Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes) +
+
+#### 🔌 Usage +
-**modified_after:** `typing.Optional[str]` — If provided, will only return objects modified after this datetime. - -
-
-
-**modified_before:** `typing.Optional[str]` — If provided, will only return objects modified before this datetime. - +```python +from merge import Merge +from merge.resources.crm import ( + FieldPermissionDeserializerRequest, + IndividualCommonModelScopeDeserializerRequest, + ModelPermissionDeserializerRequest, +) + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.crm.scopes.linked_account_scopes_create( + common_models=[ + IndividualCommonModelScopeDeserializerRequest( + model_name="Employee", + model_permissions={ + "READ": ModelPermissionDeserializerRequest( + is_enabled=True, + ), + "WRITE": ModelPermissionDeserializerRequest( + is_enabled=False, + ), + }, + field_permissions=FieldPermissionDeserializerRequest( + enabled_fields=["avatar", "home_location"], + disabled_fields=["work_location"], + ), + ), + IndividualCommonModelScopeDeserializerRequest( + model_name="Benefit", + model_permissions={ + "WRITE": ModelPermissionDeserializerRequest( + is_enabled=False, + ) + }, + ), + ], +) + +``` +
+
+#### ⚙️ Parameters +
-**order_by:** `typing.Optional[FilesDownloadRequestMetaListRequestOrderBy]` — Overrides the default ordering for this endpoint. Possible values include: created_at, -created_at, modified_at, -modified_at. - -
-
-
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**common_models:** `typing.Sequence[IndividualCommonModelScopeDeserializerRequest]` — The common models you want to update the scopes for
@@ -24970,7 +25724,8 @@ client.filestorage.files.download_request_meta_list(
-
client.filestorage.files.meta_post_retrieve() +## Crm DeleteAccount +
client.crm.delete_account.delete()
@@ -24982,7 +25737,7 @@ client.filestorage.files.download_request_meta_list(
-Returns metadata for `FileStorageFile` POSTs. +Delete a linked account.
@@ -25003,7 +25758,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.files.meta_post_retrieve() +client.crm.delete_account.delete() ``` @@ -25031,8 +25786,8 @@ client.filestorage.files.meta_post_retrieve()
-## Filestorage Folders -
client.filestorage.folders.list(...) +## Crm EngagementTypes +
client.crm.engagement_types.list(...)
@@ -25044,7 +25799,7 @@ client.filestorage.files.meta_post_retrieve()
-Returns a list of `Folder` objects. +Returns a list of `EngagementType` objects.
@@ -25059,41 +25814,20 @@ Returns a list of `Folder` objects.
```python -import datetime - from merge import Merge -from merge.resources.filestorage.resources.folders import ( - FoldersListRequestExpand, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.folders.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), +response = client.crm.engagement_types.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - drive_id="drive_id", - expand=FoldersListRequestExpand.DRIVE, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - name="name", - page_size=1, - parent_folder_id="parent_folder_id", - remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -25133,15 +25867,7 @@ client.filestorage.folders.list(
-**drive_id:** `typing.Optional[str]` — If provided, will only return folders in this drive. - -
-
- -
-
- -**expand:** `typing.Optional[FoldersListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -25149,7 +25875,7 @@ client.filestorage.folders.list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -25157,7 +25883,7 @@ client.filestorage.folders.list(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
@@ -25189,14 +25915,6 @@ client.filestorage.folders.list(
-**name:** `typing.Optional[str]` — If provided, will only return folders with this name. This performs an exact match. - -
-
- -
-
- **page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -25205,14 +25923,6 @@ client.filestorage.folders.list(
-**parent_folder_id:** `typing.Optional[str]` — If provided, will only return folders in this parent folder. If null, will return folders in root directory. - -
-
- -
-
- **remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -25233,7 +25943,7 @@ client.filestorage.folders.list(
-
client.filestorage.folders.create(...) +
client.crm.engagement_types.retrieve(...)
@@ -25245,7 +25955,7 @@ client.filestorage.folders.list(
-Creates a `Folder` object with the given values. +Returns an `EngagementType` object with the given `id`.
@@ -25261,16 +25971,13 @@ Creates a `Folder` object with the given values. ```python from merge import Merge -from merge.resources.filestorage import FolderRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.folders.create( - is_debug_mode=True, - run_async=True, - model=FolderRequest(), +client.crm.engagement_types.retrieve( + id="id", ) ``` @@ -25287,7 +25994,7 @@ client.filestorage.folders.create(
-**model:** `FolderRequest` +**id:** `str`
@@ -25295,7 +26002,7 @@ client.filestorage.folders.create(
-**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -25303,7 +26010,15 @@ client.filestorage.folders.create(
-**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. +**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. + +
+
+ +
+
+ +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -25323,7 +26038,7 @@ client.filestorage.folders.create(
-
client.filestorage.folders.retrieve(...) +
client.crm.engagement_types.remote_field_classes_list(...)
@@ -25335,7 +26050,7 @@ client.filestorage.folders.create(
-Returns a `Folder` object with the given `id`. +Returns a list of `RemoteFieldClass` objects.
@@ -25351,20 +26066,19 @@ Returns a `Folder` object with the given `id`. ```python from merge import Merge -from merge.resources.filestorage.resources.folders import ( - FoldersRetrieveRequestExpand, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.folders.retrieve( - id="id", - expand=FoldersRetrieveRequestExpand.DRIVE, - include_remote_data=True, - include_shell_data=True, +response = client.crm.engagement_types.remote_field_classes_list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -25380,7 +26094,7 @@ client.filestorage.folders.retrieve(
-**id:** `str` +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -25388,7 +26102,7 @@ client.filestorage.folders.retrieve(
-**expand:** `typing.Optional[FoldersRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -25404,7 +26118,7 @@ client.filestorage.folders.retrieve(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
@@ -25412,64 +26126,35 @@ client.filestorage.folders.retrieve(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
- -
- - - - -
-
client.filestorage.folders.meta_post_retrieve()
-#### 📝 Description - -
-
+**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value + +
+
-Returns metadata for `FileStorageFolder` POSTs. -
-
+**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value +
-#### 🔌 Usage -
-
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.filestorage.folders.meta_post_retrieve() - -``` -
-
+**page_size:** `typing.Optional[int]` — Number of results to return per page. +
-#### ⚙️ Parameters - -
-
-
@@ -25485,8 +26170,8 @@ client.filestorage.folders.meta_post_retrieve()
-## Filestorage GenerateKey -
client.filestorage.generate_key.create(...) +## Crm Engagements +
client.crm.engagements.list(...)
@@ -25498,7 +26183,7 @@ client.filestorage.folders.meta_post_retrieve()
-Create a remote key. +Returns a list of `Engagement` objects.
@@ -25519,9 +26204,14 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.generate_key.create( - name="Remote Deployment Key 1", +response = client.crm.engagements.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -25537,7 +26227,7 @@ client.filestorage.generate_key.create(
-**name:** `str` — The name of the remote key +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -25545,90 +26235,28 @@ client.filestorage.generate_key.create(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
- -
- - - - -
- -## Filestorage Groups -
client.filestorage.groups.list(...) -
-
- -#### 📝 Description - -
-
-Returns a list of `Group` objects. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -import datetime - -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.filestorage.groups.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", -) - -``` -
-
+**cursor:** `typing.Optional[str]` — The pagination cursor value. +
-#### ⚙️ Parameters -
-
-
- -**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**expand:** `typing.Optional[ + typing.Union[ + EngagementsListRequestExpandItem, + typing.Sequence[EngagementsListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -25636,7 +26264,7 @@ client.filestorage.groups.list(
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -25644,7 +26272,7 @@ client.filestorage.groups.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -25652,7 +26280,7 @@ client.filestorage.groups.list(
-**expand:** `typing.Optional[typing.Literal["child_groups"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
@@ -25660,7 +26288,7 @@ client.filestorage.groups.list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -25668,7 +26296,7 @@ client.filestorage.groups.list(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned.
@@ -25676,7 +26304,7 @@ client.filestorage.groups.list(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned.
@@ -25684,7 +26312,7 @@ client.filestorage.groups.list(
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -25692,7 +26320,7 @@ client.filestorage.groups.list(
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -25700,7 +26328,7 @@ client.filestorage.groups.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**started_after:** `typing.Optional[dt.datetime]` — If provided, will only return engagements started after this datetime.
@@ -25708,7 +26336,7 @@ client.filestorage.groups.list(
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +**started_before:** `typing.Optional[dt.datetime]` — If provided, will only return engagements started before this datetime.
@@ -25728,7 +26356,7 @@ client.filestorage.groups.list(
-
client.filestorage.groups.retrieve(...) +
client.crm.engagements.create(...)
@@ -25740,7 +26368,7 @@ client.filestorage.groups.list(
-Returns a `Group` object with the given `id`. +Creates an `Engagement` object with the given values.
@@ -25756,15 +26384,14 @@ Returns a `Group` object with the given `id`. ```python from merge import Merge +from merge.resources.crm import EngagementRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.groups.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, +client.crm.engagements.create( + model=EngagementRequest(), ) ``` @@ -25781,15 +26408,7 @@ client.filestorage.groups.retrieve(
-**id:** `str` - -
-
- -
-
- -**expand:** `typing.Optional[typing.Literal["child_groups"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**model:** `EngagementRequest`
@@ -25797,7 +26416,7 @@ client.filestorage.groups.retrieve(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response.
@@ -25805,7 +26424,7 @@ client.filestorage.groups.retrieve(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously.
@@ -25825,8 +26444,7 @@ client.filestorage.groups.retrieve(
-## Filestorage Issues -
client.filestorage.issues.list(...) +
client.crm.engagements.retrieve(...)
@@ -25838,7 +26456,7 @@ client.filestorage.groups.retrieve(
-Gets all issues for Organization. +Returns an `Engagement` object with the given `id`.
@@ -25853,38 +26471,14 @@ Gets all issues for Organization.
```python -import datetime - from merge import Merge -from merge.resources.filestorage.resources.issues import IssuesListRequestStatus client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.issues.list( - account_token="account_token", - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_date="end_date", - end_user_organization_name="end_user_organization_name", - first_incident_time_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - first_incident_time_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - include_muted="include_muted", - integration_name="integration_name", - last_incident_time_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - last_incident_time_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - linked_account_id="linked_account_id", - page_size=1, - start_date="start_date", - status=IssuesListRequestStatus.ONGOING, +client.crm.engagements.retrieve( + id="id", ) ``` @@ -25901,7 +26495,7 @@ client.filestorage.issues.list(
-**account_token:** `typing.Optional[str]` +**id:** `str`
@@ -25909,7 +26503,12 @@ client.filestorage.issues.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**expand:** `typing.Optional[ + typing.Union[ + EngagementsRetrieveRequestExpandItem, + typing.Sequence[EngagementsRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -25917,7 +26516,7 @@ client.filestorage.issues.list(
-**end_date:** `typing.Optional[str]` — If included, will only include issues whose most recent action occurred before this time +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -25925,7 +26524,7 @@ client.filestorage.issues.list(
-**end_user_organization_name:** `typing.Optional[str]` +**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
@@ -25933,7 +26532,7 @@ client.filestorage.issues.list(
-**first_incident_time_after:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose first incident time was after this datetime. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -25941,47 +26540,72 @@ client.filestorage.issues.list(
-**first_incident_time_before:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose first incident time was before this datetime. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+
+
-
-
-**include_muted:** `typing.Optional[str]` — If true, will include muted issues -
+
+
client.crm.engagements.partial_update(...)
-**integration_name:** `typing.Optional[str]` - -
-
+#### 📝 Description
-**last_incident_time_after:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose last incident time was after this datetime. - +
+
+ +Updates an `Engagement` object with the given `id`. +
+
+#### 🔌 Usage +
-**last_incident_time_before:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose last incident time was before this datetime. - +
+
+ +```python +from merge import Merge +from merge.resources.crm import PatchedEngagementRequest + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.crm.engagements.partial_update( + id="id", + model=PatchedEngagementRequest(), +) + +``` +
+
+#### ⚙️ Parameters +
-**linked_account_id:** `typing.Optional[str]` — If provided, will only include issues pertaining to the linked account passed in. +
+
+ +**id:** `str`
@@ -25989,7 +26613,7 @@ client.filestorage.issues.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**model:** `PatchedEngagementRequest`
@@ -25997,7 +26621,7 @@ client.filestorage.issues.list(
-**start_date:** `typing.Optional[str]` — If included, will only include issues whose most recent action occurred after this time +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response.
@@ -26005,12 +26629,7 @@ client.filestorage.issues.list(
-**status:** `typing.Optional[IssuesListRequestStatus]` - -Status of the issue. Options: ('ONGOING', 'RESOLVED') - -* `ONGOING` - ONGOING -* `RESOLVED` - RESOLVED +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously.
@@ -26030,7 +26649,7 @@ Status of the issue. Options: ('ONGOING', 'RESOLVED')
-
client.filestorage.issues.retrieve(...) +
client.crm.engagements.meta_patch_retrieve(...)
@@ -26042,7 +26661,7 @@ Status of the issue. Options: ('ONGOING', 'RESOLVED')
-Get a specific issue. +Returns metadata for `Engagement` PATCHs.
@@ -26063,7 +26682,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.issues.retrieve( +client.crm.engagements.meta_patch_retrieve( id="id", ) @@ -26101,8 +26720,7 @@ client.filestorage.issues.retrieve(
-## Filestorage LinkToken -
client.filestorage.link_token.create(...) +
client.crm.engagements.meta_post_retrieve()
@@ -26114,7 +26732,7 @@ client.filestorage.issues.retrieve(
-Creates a link token to be used when linking a new end user. +Returns metadata for `Engagement` POSTs.
@@ -26130,18 +26748,12 @@ Creates a link token to be used when linking a new end user. ```python from merge import Merge -from merge.resources.filestorage import CategoriesEnum client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.link_token.create( - end_user_email_address="example@gmail.com", - end_user_organization_name="Test Organization", - end_user_origin_id="12345", - categories=[CategoriesEnum.HRIS, CategoriesEnum.ATS], -) +client.crm.engagements.meta_post_retrieve() ``` @@ -26157,47 +26769,75 @@ client.filestorage.link_token.create(
-**end_user_email_address:** `str` — Your end user's email address. This is purely for identification purposes - setting this value will not cause any emails to be sent. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**end_user_organization_name:** `str` — Your end user's organization. -
+
+
client.crm.engagements.remote_field_classes_list(...)
-**end_user_origin_id:** `str` — This unique identifier typically represents the ID for your end user in your product's database. This value must be distinct from other Linked Accounts' unique identifiers. - -
-
+#### 📝 Description
-**categories:** `typing.Sequence[CategoriesEnum]` — The integration categories to show in Merge Link. - +
+
+ +Returns a list of `RemoteFieldClass` objects. +
+
+#### 🔌 Usage +
-**integration:** `typing.Optional[str]` — The slug of a specific pre-selected integration for this linking flow token. For examples of slugs, see https://docs.merge.dev/guides/merge-link/single-integration/. - +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +response = client.crm.engagements.remote_field_classes_list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", +) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page + +``` +
+
+#### ⚙️ Parameters +
-**link_expiry_mins:** `typing.Optional[int]` — An integer number of minutes between [30, 720 or 10080 if for a Magic Link URL] for how long this token is valid. Defaults to 30. +
+
+ +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -26205,7 +26845,7 @@ client.filestorage.link_token.create(
-**should_create_magic_link_url:** `typing.Optional[bool]` — Whether to generate a Magic Link URL. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -26213,7 +26853,7 @@ client.filestorage.link_token.create(
-**hide_admin_magic_link:** `typing.Optional[bool]` — Whether to generate a Magic Link URL on the Admin Needed screen during the linking flow. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -26221,7 +26861,7 @@ client.filestorage.link_token.create(
-**common_models:** `typing.Optional[typing.Sequence[CommonModelScopesBodyRequest]]` — An array of objects to specify the models and fields that will be disabled for a given Linked Account. Each object uses model_id, enabled_actions, and disabled_fields to specify the model, method, and fields that are scoped for a given Linked Account. +**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
@@ -26229,14 +26869,7 @@ client.filestorage.link_token.create(
-**category_common_model_scopes:** `typing.Optional[ - typing.Dict[ - str, - typing.Optional[ - typing.Sequence[IndividualCommonModelScopeDeserializerRequest] - ], - ] -]` — When creating a Link Token, you can set permissions for Common Models that will apply to the account that is going to be linked. Any model or field not specified in link token payload will default to existing settings. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -26244,12 +26877,7 @@ client.filestorage.link_token.create(
-**language:** `typing.Optional[LanguageEnum]` - -The following subset of IETF language tags can be used to configure localization. - -* `en` - en -* `de` - de +**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value
@@ -26257,7 +26885,7 @@ The following subset of IETF language tags can be used to configure localization
-**are_syncs_disabled:** `typing.Optional[bool]` — The boolean that indicates whether initial, periodic, and force syncs will be disabled. +**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value
@@ -26265,7 +26893,7 @@ The following subset of IETF language tags can be used to configure localization
-**integration_specific_config:** `typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]` — A JSON object containing integration-specific configuration options. +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -26285,8 +26913,8 @@ The following subset of IETF language tags can be used to configure localization
-## Filestorage LinkedAccounts -
client.filestorage.linked_accounts.list(...) +## Crm FieldMapping +
client.crm.field_mapping.field_mappings_retrieve(...)
@@ -26298,7 +26926,7 @@ The following subset of IETF language tags can be used to configure localization
-List linked accounts for your organization. +Get all Field Mappings for this Linked Account. Field Mappings are mappings between third-party Remote Fields and user defined Merge fields. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/).
@@ -26314,29 +26942,12 @@ List linked accounts for your organization. ```python from merge import Merge -from merge.resources.filestorage.resources.linked_accounts import ( - LinkedAccountsListRequestCategory, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.linked_accounts.list( - category=LinkedAccountsListRequestCategory.ACCOUNTING, - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_user_email_address="end_user_email_address", - end_user_organization_name="end_user_organization_name", - end_user_origin_id="end_user_origin_id", - end_user_origin_ids="end_user_origin_ids", - id="id", - ids="ids", - include_duplicates=True, - integration_name="integration_name", - is_test_account="is_test_account", - page_size=1, - status="status", -) +client.crm.field_mapping.field_mappings_retrieve() ``` @@ -26352,17 +26963,7 @@ client.filestorage.linked_accounts.list(
-**category:** `typing.Optional[LinkedAccountsListRequestCategory]` - -Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing` - -* `hris` - hris -* `ats` - ats -* `accounting` - accounting -* `ticketing` - ticketing -* `crm` - crm -* `mktg` - mktg -* `filestorage` - filestorage +**exclude_remote_field_metadata:** `typing.Optional[bool]` — If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations.
@@ -26370,47 +26971,75 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**end_user_email_address:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given email address. -
+
+
client.crm.field_mapping.field_mappings_create(...)
-**end_user_organization_name:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given organization name. - -
-
+#### 📝 Description
-**end_user_origin_id:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given origin ID. - +
+
+ +Create new Field Mappings that will be available after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start.
+
+
+ +#### 🔌 Usage
-**end_user_origin_ids:** `typing.Optional[str]` — Comma-separated list of EndUser origin IDs, making it possible to specify multiple EndUsers at once. - +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.crm.field_mapping.field_mappings_create( + target_field_name="example_target_field_name", + target_field_description="this is a example description of the target field", + remote_field_traversal_path=["example_remote_field"], + remote_method="GET", + remote_url_path="/example-url-path", + common_model_name="ExampleCommonModel", +) + +``` +
+
+#### ⚙️ Parameters +
-**id:** `typing.Optional[str]` +
+
+ +**target_field_name:** `str` — The name of the target field you want this remote field to map to.
@@ -26418,7 +27047,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-**ids:** `typing.Optional[str]` — Comma-separated list of LinkedAccount IDs, making it possible to specify multiple LinkedAccounts at once. +**target_field_description:** `str` — The description of the target field you want this remote field to map to.
@@ -26426,7 +27055,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-**include_duplicates:** `typing.Optional[bool]` — If `true`, will include complete production duplicates of the account specified by the `id` query parameter in the response. `id` must be for a complete production linked account. +**remote_field_traversal_path:** `typing.Sequence[typing.Any]` — The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint.
@@ -26434,7 +27063,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-**integration_name:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given integration name. +**remote_method:** `str` — The method of the remote endpoint where the remote field is coming from.
@@ -26442,7 +27071,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-**is_test_account:** `typing.Optional[str]` — If included, will only include test linked accounts. If not included, will only include non-test linked accounts. +**remote_url_path:** `str` — The path of the remote endpoint where the remote field is coming from.
@@ -26450,7 +27079,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**common_model_name:** `str` — The name of the Common Model that the remote field corresponds to in a given category.
@@ -26458,7 +27087,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-**status:** `typing.Optional[str]` — Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` +**exclude_remote_field_metadata:** `typing.Optional[bool]` — If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations.
@@ -26478,8 +27107,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-## Filestorage Passthrough -
client.filestorage.passthrough.create(...) +
client.crm.field_mapping.field_mappings_destroy(...)
@@ -26491,7 +27119,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-Pull data from an endpoint not currently supported by Merge. +Deletes Field Mappings for a Linked Account. All data related to this Field Mapping will be deleted and these changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start.
@@ -26507,17 +27135,13 @@ Pull data from an endpoint not currently supported by Merge. ```python from merge import Merge -from merge.resources.filestorage import DataPassthroughRequest, MethodEnum client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.passthrough.create( - request=DataPassthroughRequest( - method=MethodEnum.GET, - path="/scooters", - ), +client.crm.field_mapping.field_mappings_destroy( + field_mapping_id="field_mapping_id", ) ``` @@ -26534,7 +27158,7 @@ client.filestorage.passthrough.create(
-**request:** `DataPassthroughRequest` +**field_mapping_id:** `str`
@@ -26554,8 +27178,7 @@ client.filestorage.passthrough.create(
-## Filestorage RegenerateKey -
client.filestorage.regenerate_key.create(...) +
client.crm.field_mapping.field_mappings_partial_update(...)
@@ -26567,7 +27190,7 @@ client.filestorage.passthrough.create(
-Exchange remote keys. +Create or update existing Field Mappings for a Linked Account. Changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start.
@@ -26588,8 +27211,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.regenerate_key.create( - name="Remote Deployment Key 1", +client.crm.field_mapping.field_mappings_partial_update( + field_mapping_id="field_mapping_id", ) ``` @@ -26606,7 +27229,31 @@ client.filestorage.regenerate_key.create(
-**name:** `str` — The name of the remote key +**field_mapping_id:** `str` + +
+
+ +
+
+ +**remote_field_traversal_path:** `typing.Optional[typing.Sequence[typing.Any]]` — The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. + +
+
+ +
+
+ +**remote_method:** `typing.Optional[str]` — The method of the remote endpoint where the remote field is coming from. + +
+
+ +
+
+ +**remote_url_path:** `typing.Optional[str]` — The path of the remote endpoint where the remote field is coming from.
@@ -26626,8 +27273,7 @@ client.filestorage.regenerate_key.create(
-## Filestorage SyncStatus -
client.filestorage.sync_status.list(...) +
client.crm.field_mapping.remote_fields_retrieve(...)
@@ -26639,7 +27285,7 @@ client.filestorage.regenerate_key.create(
-Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). +Get all remote fields for a Linked Account. Remote fields are third-party fields that are accessible after initial sync if remote_data is enabled. You can use remote fields to override existing Merge fields or map a new Merge field. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/).
@@ -26660,10 +27306,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.sync_status.list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - page_size=1, -) +client.crm.field_mapping.remote_fields_retrieve() ``` @@ -26679,7 +27322,7 @@ client.filestorage.sync_status.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**common_models:** `typing.Optional[str]` — A comma seperated list of Common Model names. If included, will only return Remote Fields for those Common Models.
@@ -26687,7 +27330,7 @@ client.filestorage.sync_status.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**include_example_values:** `typing.Optional[str]` — If true, will include example values, where available, for remote fields in the 3rd party platform. These examples come from active data from your customers.
@@ -26707,8 +27350,7 @@ client.filestorage.sync_status.list(
-## Filestorage ForceResync -
client.filestorage.force_resync.sync_status_resync_create() +
client.crm.field_mapping.target_fields_retrieve()
@@ -26720,7 +27362,7 @@ client.filestorage.sync_status.list(
-Force re-sync of all models. This endpoint is available for monthly, quarterly, and highest sync frequency customers on the Professional or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. Force re-syncs can also be triggered manually in the Merge Dashboard and is available for all customers. +Get all organization-wide Target Fields, this will not include any Linked Account specific Target Fields. Organization-wide Target Fields are additional fields appended to the Merge Common Model for all Linked Accounts in a category. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/target-fields/).
@@ -26741,7 +27383,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.force_resync.sync_status_resync_create() +client.crm.field_mapping.target_fields_retrieve() ``` @@ -26769,8 +27411,8 @@ client.filestorage.force_resync.sync_status_resync_create()
-## Filestorage Users -
client.filestorage.users.list(...) +## Crm GenerateKey +
client.crm.generate_key.create(...)
@@ -26782,7 +27424,7 @@ client.filestorage.force_resync.sync_status_resync_create()
-Returns a list of `User` objects. +Create a remote key.
@@ -26797,35 +27439,92 @@ Returns a list of `User` objects.
```python -import datetime +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.crm.generate_key.create( + name="Remote Deployment Key 1", +) + +``` +
+
+ + + +#### ⚙️ Parameters + +
+
+ +
+
+ +**name:** `str` — The name of the remote key + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + + +
+ +## Crm Issues +
client.crm.issues.list(...) +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Gets all issues for Organization. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.users.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), +response = client.crm.issues.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - is_me="is_me", - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -26841,7 +27540,7 @@ client.filestorage.users.list(
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**account_token:** `typing.Optional[str]`
@@ -26849,7 +27548,7 @@ client.filestorage.users.list(
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -26857,7 +27556,7 @@ client.filestorage.users.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**end_date:** `typing.Optional[str]` — If included, will only include issues whose most recent action occurred before this time
@@ -26865,7 +27564,7 @@ client.filestorage.users.list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**end_user_organization_name:** `typing.Optional[str]`
@@ -26873,7 +27572,7 @@ client.filestorage.users.list(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**first_incident_time_after:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose first incident time was after this datetime.
@@ -26881,7 +27580,7 @@ client.filestorage.users.list(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**first_incident_time_before:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose first incident time was before this datetime.
@@ -26889,7 +27588,7 @@ client.filestorage.users.list(
-**is_me:** `typing.Optional[str]` — If provided, will only return the user object for requestor. +**include_muted:** `typing.Optional[str]` — If true, will include muted issues
@@ -26897,7 +27596,7 @@ client.filestorage.users.list(
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +**integration_name:** `typing.Optional[str]`
@@ -26905,7 +27604,23 @@ client.filestorage.users.list(
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +**last_incident_time_after:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose last incident time was after this datetime. + +
+
+ +
+
+ +**last_incident_time_before:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose last incident time was before this datetime. + +
+
+ +
+
+ +**linked_account_id:** `typing.Optional[str]` — If provided, will only include issues pertaining to the linked account passed in.
@@ -26921,7 +27636,20 @@ client.filestorage.users.list(
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +**start_date:** `typing.Optional[str]` — If included, will only include issues whose most recent action occurred after this time + +
+
+ +
+
+ +**status:** `typing.Optional[IssuesListRequestStatus]` + +Status of the issue. Options: ('ONGOING', 'RESOLVED') + +* `ONGOING` - ONGOING +* `RESOLVED` - RESOLVED
@@ -26941,7 +27669,7 @@ client.filestorage.users.list(
-
client.filestorage.users.retrieve(...) +
client.crm.issues.retrieve(...)
@@ -26953,7 +27681,7 @@ client.filestorage.users.list(
-Returns a `User` object with the given `id`. +Get a specific issue.
@@ -26974,10 +27702,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.users.retrieve( +client.crm.issues.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) ``` @@ -27002,22 +27728,6 @@ client.filestorage.users.retrieve(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -27030,8 +27740,8 @@ client.filestorage.users.retrieve(
-## Filestorage WebhookReceivers -
client.filestorage.webhook_receivers.list() +## Crm Leads +
client.crm.leads.list(...)
@@ -27043,7 +27753,7 @@ client.filestorage.users.retrieve(
-Returns a list of `WebhookReceiver` objects. +Returns a list of `Lead` objects.
@@ -27064,7 +27774,14 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.webhook_receivers.list() +response = client.crm.leads.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", +) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -27080,71 +27797,59 @@ client.filestorage.webhook_receivers.list()
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**converted_account_id:** `typing.Optional[str]` — If provided, will only return leads with this account.
- -
+
+
+**converted_contact_id:** `typing.Optional[str]` — If provided, will only return leads with this contact. +
-
-
client.filestorage.webhook_receivers.create(...)
-#### 📝 Description - -
-
+**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. + +
+
-Creates a `WebhookReceiver` object with the given values. -
-
+**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +
-#### 🔌 Usage -
-
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.filestorage.webhook_receivers.create( - event="event", - is_active=True, -) - -``` -
-
+**cursor:** `typing.Optional[str]` — The pagination cursor value. +
-#### ⚙️ Parameters -
+**email_addresses:** `typing.Optional[str]` — If provided, will only return contacts matching the email addresses; multiple email_addresses can be separated by commas. + +
+
+
-**event:** `str` +**expand:** `typing.Optional[ + typing.Union[ + LeadsListRequestExpandItem, typing.Sequence[LeadsListRequestExpandItem] + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -27152,7 +27857,7 @@ client.filestorage.webhook_receivers.create(
-**is_active:** `bool` +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -27160,7 +27865,7 @@ client.filestorage.webhook_receivers.create(
-**key:** `typing.Optional[str]` +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -27168,65 +27873,67 @@ client.filestorage.webhook_receivers.create(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
- - +
+
+**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +
-
-## Hris AccountDetails -
client.hris.account_details.retrieve()
-#### 📝 Description +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. + +
+
+**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. + +
+
+
-Get details for a linked account. -
-
+**owner_id:** `typing.Optional[str]` — If provided, will only return leads with this owner. + -#### 🔌 Usage -
+**page_size:** `typing.Optional[int]` — Number of results to return per page. + +
+
+
-```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.hris.account_details.retrieve() - -``` -
-
+**phone_numbers:** `typing.Optional[str]` — If provided, will only return contacts matching the phone numbers; multiple phone numbers can be separated by commas. + -#### ⚙️ Parameters -
+**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. + +
+
+
@@ -27242,8 +27949,7 @@ client.hris.account_details.retrieve()
-## Hris AccountToken -
client.hris.account_token.retrieve(...) +
client.crm.leads.create(...)
@@ -27255,7 +27961,7 @@ client.hris.account_details.retrieve()
-Returns the account token for the end user with the provided public token. +Creates a `Lead` object with the given values.
@@ -27271,13 +27977,14 @@ Returns the account token for the end user with the provided public token. ```python from merge import Merge +from merge.resources.crm import LeadRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.account_token.retrieve( - public_token="public_token", +client.crm.leads.create( + model=LeadRequest(), ) ``` @@ -27294,7 +28001,23 @@ client.hris.account_token.retrieve(
-**public_token:** `str` +**model:** `LeadRequest` + +
+
+ +
+
+ +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. + +
+
+ +
+
+ +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously.
@@ -27314,8 +28037,7 @@ client.hris.account_token.retrieve(
-## Hris AsyncPassthrough -
client.hris.async_passthrough.create(...) +
client.crm.leads.retrieve(...)
@@ -27327,7 +28049,7 @@ client.hris.account_token.retrieve(
-Asynchronously pull data from an endpoint not currently supported by Merge. +Returns a `Lead` object with the given `id`.
@@ -27343,17 +28065,13 @@ Asynchronously pull data from an endpoint not currently supported by Merge. ```python from merge import Merge -from merge.resources.hris import DataPassthroughRequest, MethodEnum client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.async_passthrough.create( - request=DataPassthroughRequest( - method=MethodEnum.GET, - path="/scooters", - ), +client.crm.leads.retrieve( + id="id", ) ``` @@ -27370,7 +28088,44 @@ client.hris.async_passthrough.create(
-**request:** `DataPassthroughRequest` +**id:** `str` + +
+
+ +
+
+ +**expand:** `typing.Optional[ + typing.Union[ + LeadsRetrieveRequestExpandItem, + typing.Sequence[LeadsRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + +
+
+ +
+
+ +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
+ +
+
+ +**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. + +
+
+ +
+
+ +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -27390,7 +28145,7 @@ client.hris.async_passthrough.create(
-
client.hris.async_passthrough.retrieve(...) +
client.crm.leads.meta_post_retrieve()
@@ -27402,7 +28157,7 @@ client.hris.async_passthrough.create(
-Retrieves data from earlier async-passthrough POST request +Returns metadata for `Lead` POSTs.
@@ -27423,9 +28178,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.async_passthrough.retrieve( - async_passthrough_receipt_id="async_passthrough_receipt_id", -) +client.crm.leads.meta_post_retrieve() ``` @@ -27441,14 +28194,6 @@ client.hris.async_passthrough.retrieve(
-**async_passthrough_receipt_id:** `str` - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -27461,8 +28206,7 @@ client.hris.async_passthrough.retrieve(
-## Hris AuditTrail -
client.hris.audit_trail.list(...) +
client.crm.leads.remote_field_classes_list(...)
@@ -27474,7 +28218,7 @@ client.hris.async_passthrough.retrieve(
-Gets a list of audit trail events. +Returns a list of `RemoteFieldClass` objects.
@@ -27495,14 +28239,14 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.audit_trail.list( +response = client.crm.leads.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_date="end_date", - event_type="event_type", - page_size=1, - start_date="start_date", - user_email="user_email", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -27526,7 +28270,7 @@ client.hris.audit_trail.list(
-**end_date:** `typing.Optional[str]` — If included, will only include audit trail events that occurred before this time +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -27534,7 +28278,7 @@ client.hris.audit_trail.list(
-**event_type:** `typing.Optional[str]` — If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -27542,7 +28286,7 @@ client.hris.audit_trail.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
@@ -27550,7 +28294,7 @@ client.hris.audit_trail.list(
-**start_date:** `typing.Optional[str]` — If included, will only include audit trail events that occurred after this time +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -27558,7 +28302,7 @@ client.hris.audit_trail.list(
-**user_email:** `typing.Optional[str]` — If provided, this will return events associated with the specified user email. Please note that the email address reflects the user's email at the time of the event, and may not be their current email. +**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value
@@ -27566,65 +28310,19 @@ client.hris.audit_trail.list(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value
- -
- - - - -
- -## Hris AvailableActions -
client.hris.available_actions.retrieve() -
-
- -#### 📝 Description - -
-
-Returns a list of models and actions available for an account. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.hris.available_actions.retrieve() - -``` -
-
+**page_size:** `typing.Optional[int]` — Number of results to return per page. +
-#### ⚙️ Parameters - -
-
-
@@ -27640,8 +28338,8 @@ client.hris.available_actions.retrieve()
-## Hris BankInfo -
client.hris.bank_info.list(...) +## Crm LinkToken +
client.crm.link_token.create(...)
@@ -27653,7 +28351,7 @@ client.hris.available_actions.retrieve()
-Returns a list of `BankInfo` objects. +Creates a link token to be used when linking a new end user.
@@ -27668,41 +28366,18 @@ Returns a list of `BankInfo` objects.
```python -import datetime - from merge import Merge -from merge.resources.hris.resources.bank_info import ( - BankInfoListRequestAccountType, - BankInfoListRequestOrderBy, -) +from merge.resources.crm import CategoriesEnum client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.bank_info.list( - account_type=BankInfoListRequestAccountType.CHECKING, - bank_name="bank_name", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - employee_id="employee_id", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - order_by=BankInfoListRequestOrderBy.REMOTE_CREATED_AT_DESCENDING, - page_size=1, - remote_id="remote_id", +client.crm.link_token.create( + end_user_email_address="example@gmail.com", + end_user_organization_name="Test Organization", + end_user_origin_id="12345", + categories=[CategoriesEnum.HRIS, CategoriesEnum.ATS], ) ``` @@ -27719,36 +28394,7 @@ client.hris.bank_info.list(
-**account_type:** `typing.Optional[BankInfoListRequestAccountType]` - -If provided, will only return BankInfo's with this account type. Options: ('SAVINGS', 'CHECKING') - -* `SAVINGS` - SAVINGS -* `CHECKING` - CHECKING - -
-
- -
-
- -**bank_name:** `typing.Optional[str]` — If provided, will only return BankInfo's with this bank name. - -
-
- -
-
- -**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. - -
-
- -
-
- -**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**end_user_email_address:** `str` — Your end user's email address. This is purely for identification purposes - setting this value will not cause any emails to be sent.
@@ -27756,7 +28402,7 @@ If provided, will only return BankInfo's with this account type. Options: ('SAVI
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**end_user_organization_name:** `str` — Your end user's organization.
@@ -27764,7 +28410,7 @@ If provided, will only return BankInfo's with this account type. Options: ('SAVI
-**employee_id:** `typing.Optional[str]` — If provided, will only return bank accounts for this employee. +**end_user_origin_id:** `str` — This unique identifier typically represents the ID for your end user in your product's database. This value must be distinct from other Linked Accounts' unique identifiers.
@@ -27772,7 +28418,7 @@ If provided, will only return BankInfo's with this account type. Options: ('SAVI
-**expand:** `typing.Optional[typing.Literal["employee"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**categories:** `typing.Sequence[CategoriesEnum]` — The integration categories to show in Merge Link.
@@ -27780,7 +28426,7 @@ If provided, will only return BankInfo's with this account type. Options: ('SAVI
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**integration:** `typing.Optional[str]` — The slug of a specific pre-selected integration for this linking flow token. For examples of slugs, see https://docs.merge.dev/guides/merge-link/single-integration/.
@@ -27788,7 +28434,7 @@ If provided, will only return BankInfo's with this account type. Options: ('SAVI
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**link_expiry_mins:** `typing.Optional[int]` — An integer number of minutes between [30, 720 or 10080 if for a Magic Link URL] for how long this token is valid. Defaults to 30.
@@ -27796,7 +28442,7 @@ If provided, will only return BankInfo's with this account type. Options: ('SAVI
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**should_create_magic_link_url:** `typing.Optional[bool]` — Whether to generate a Magic Link URL. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link.
@@ -27804,7 +28450,7 @@ If provided, will only return BankInfo's with this account type. Options: ('SAVI
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +**hide_admin_magic_link:** `typing.Optional[bool]` — Whether to generate a Magic Link URL on the Admin Needed screen during the linking flow. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link.
@@ -27812,7 +28458,7 @@ If provided, will only return BankInfo's with this account type. Options: ('SAVI
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +**common_models:** `typing.Optional[typing.Sequence[CommonModelScopesBodyRequest]]` — An array of objects to specify the models and fields that will be disabled for a given Linked Account. Each object uses model_id, enabled_actions, and disabled_fields to specify the model, method, and fields that are scoped for a given Linked Account.
@@ -27820,7 +28466,14 @@ If provided, will only return BankInfo's with this account type. Options: ('SAVI
-**order_by:** `typing.Optional[BankInfoListRequestOrderBy]` — Overrides the default ordering for this endpoint. Possible values include: remote_created_at, -remote_created_at. +**category_common_model_scopes:** `typing.Optional[ + typing.Dict[ + str, + typing.Optional[ + typing.Sequence[IndividualCommonModelScopeDeserializerRequest] + ], + ] +]` — When creating a Link Token, you can set permissions for Common Models that will apply to the account that is going to be linked. Any model or field not specified in link token payload will default to existing settings.
@@ -27828,15 +28481,12 @@ If provided, will only return BankInfo's with this account type. Options: ('SAVI
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. - -
-
+**language:** `typing.Optional[EndUserDetailsRequestLanguage]` -
-
+The following subset of IETF language tags can be used to configure localization. -**remote_fields:** `typing.Optional[typing.Literal["account_type"]]` — Deprecated. Use show_enum_origins. +* `en` - en +* `de` - de
@@ -27844,7 +28494,7 @@ If provided, will only return BankInfo's with this account type. Options: ('SAVI
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +**are_syncs_disabled:** `typing.Optional[bool]` — The boolean that indicates whether initial, periodic, and force syncs will be disabled.
@@ -27852,7 +28502,7 @@ If provided, will only return BankInfo's with this account type. Options: ('SAVI
-**show_enum_origins:** `typing.Optional[typing.Literal["account_type"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) +**integration_specific_config:** `typing.Optional[typing.Dict[str, typing.Any]]` — A JSON object containing integration-specific configuration options.
@@ -27872,7 +28522,8 @@ If provided, will only return BankInfo's with this account type. Options: ('SAVI
-
client.hris.bank_info.retrieve(...) +## Crm LinkedAccounts +
client.crm.linked_accounts.list(...)
@@ -27884,7 +28535,7 @@ If provided, will only return BankInfo's with this account type. Options: ('SAVI
-Returns a `BankInfo` object with the given `id`. +List linked accounts for your organization.
@@ -27905,11 +28556,14 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.bank_info.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, +response = client.crm.linked_accounts.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -27925,7 +28579,17 @@ client.hris.bank_info.retrieve(
-**id:** `str` +**category:** `typing.Optional[LinkedAccountsListRequestCategory]` + +Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing` + +* `hris` - hris +* `ats` - ats +* `accounting` - accounting +* `ticketing` - ticketing +* `crm` - crm +* `mktg` - mktg +* `filestorage` - filestorage
@@ -27933,7 +28597,7 @@ client.hris.bank_info.retrieve(
-**expand:** `typing.Optional[typing.Literal["employee"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -27941,7 +28605,7 @@ client.hris.bank_info.retrieve(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**end_user_email_address:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given email address.
@@ -27949,7 +28613,23 @@ client.hris.bank_info.retrieve(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**end_user_organization_name:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given organization name. + +
+
+ +
+
+ +**end_user_origin_id:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given origin ID. + +
+
+ +
+
+ +**end_user_origin_ids:** `typing.Optional[str]` — Comma-separated list of EndUser origin IDs, making it possible to specify multiple EndUsers at once.
@@ -27957,7 +28637,7 @@ client.hris.bank_info.retrieve(
-**remote_fields:** `typing.Optional[typing.Literal["account_type"]]` — Deprecated. Use show_enum_origins. +**id:** `typing.Optional[str]`
@@ -27965,7 +28645,47 @@ client.hris.bank_info.retrieve(
-**show_enum_origins:** `typing.Optional[typing.Literal["account_type"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) +**ids:** `typing.Optional[str]` — Comma-separated list of LinkedAccount IDs, making it possible to specify multiple LinkedAccounts at once. + +
+
+ +
+
+ +**include_duplicates:** `typing.Optional[bool]` — If `true`, will include complete production duplicates of the account specified by the `id` query parameter in the response. `id` must be for a complete production linked account. + +
+
+ +
+
+ +**integration_name:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given integration name. + +
+
+ +
+
+ +**is_test_account:** `typing.Optional[str]` — If included, will only include test linked accounts. If not included, will only include non-test linked accounts. + +
+
+ +
+
+ +**page_size:** `typing.Optional[int]` — Number of results to return per page. + +
+
+ +
+
+ +**status:** `typing.Optional[str]` — Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED`
@@ -27985,8 +28705,8 @@ client.hris.bank_info.retrieve(
-## Hris Benefits -
client.hris.benefits.list(...) +## Crm Notes +
client.crm.notes.list(...)
@@ -27998,7 +28718,7 @@ client.hris.bank_info.retrieve(
-Returns a list of `Benefit` objects. +Returns a list of `Note` objects.
@@ -28013,35 +28733,20 @@ Returns a list of `Benefit` objects.
```python -import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.benefits.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), +response = client.crm.notes.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - employee_id="employee_id", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -28057,6 +28762,22 @@ client.hris.benefits.list(
+**account_id:** `typing.Optional[str]` — If provided, will only return notes with this account. + +
+
+ +
+
+ +**contact_id:** `typing.Optional[str]` — If provided, will only return notes with this contact. + +
+
+ +
+
+ **created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -28081,7 +28802,11 @@ client.hris.benefits.list(
-**employee_id:** `typing.Optional[str]` — If provided, will return the benefits associated with the employee. +**expand:** `typing.Optional[ + typing.Union[ + NotesListRequestExpandItem, typing.Sequence[NotesListRequestExpandItem] + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -28089,7 +28814,7 @@ client.hris.benefits.list(
-**expand:** `typing.Optional[typing.Literal["employee"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -28097,7 +28822,7 @@ client.hris.benefits.list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -28105,7 +28830,7 @@ client.hris.benefits.list(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
@@ -28137,7 +28862,23 @@ client.hris.benefits.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. +**opportunity_id:** `typing.Optional[str]` — If provided, will only return notes with this opportunity. + +
+
+ +
+
+ +**owner_id:** `typing.Optional[str]` — If provided, will only return notes with this owner. + +
+
+ +
+
+ +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -28165,7 +28906,7 @@ client.hris.benefits.list(
-
client.hris.benefits.retrieve(...) +
client.crm.notes.create(...)
@@ -28177,7 +28918,7 @@ client.hris.benefits.list(
-Returns a `Benefit` object with the given `id`. +Creates a `Note` object with the given values.
@@ -28193,15 +28934,14 @@ Returns a `Benefit` object with the given `id`. ```python from merge import Merge +from merge.resources.crm import NoteRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.benefits.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, +client.crm.notes.create( + model=NoteRequest(), ) ``` @@ -28218,15 +28958,7 @@ client.hris.benefits.retrieve(
-**id:** `str` - -
-
- -
-
- -**expand:** `typing.Optional[typing.Literal["employee"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**model:** `NoteRequest`
@@ -28234,7 +28966,7 @@ client.hris.benefits.retrieve(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response.
@@ -28242,7 +28974,7 @@ client.hris.benefits.retrieve(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously.
@@ -28262,8 +28994,7 @@ client.hris.benefits.retrieve(
-## Hris Companies -
client.hris.companies.list(...) +
client.crm.notes.retrieve(...)
@@ -28275,7 +29006,7 @@ client.hris.benefits.retrieve(
-Returns a list of `Company` objects. +Returns a `Note` object with the given `id`.
@@ -28290,33 +29021,14 @@ Returns a list of `Company` objects.
```python -import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.companies.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", +client.crm.notes.retrieve( + id="id", ) ``` @@ -28333,23 +29045,7 @@ client.hris.companies.list(
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. - -
-
- -
-
- -**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. - -
-
- -
-
- -**cursor:** `typing.Optional[str]` — The pagination cursor value. +**id:** `str`
@@ -28357,7 +29053,12 @@ client.hris.companies.list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**expand:** `typing.Optional[ + typing.Union[ + NotesRetrieveRequestExpandItem, + typing.Sequence[NotesRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -28373,31 +29074,7 @@ client.hris.companies.list(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. - -
-
- -
-
- -**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. - -
-
- -
-
- -**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. +**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
@@ -28405,7 +29082,7 @@ client.hris.companies.list(
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -28425,7 +29102,7 @@ client.hris.companies.list(
-
client.hris.companies.retrieve(...) +
client.crm.notes.meta_post_retrieve()
@@ -28437,7 +29114,7 @@ client.hris.companies.list(
-Returns a `Company` object with the given `id`. +Returns metadata for `Note` POSTs.
@@ -28458,11 +29135,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.companies.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, -) +client.crm.notes.meta_post_retrieve() ``` @@ -28478,30 +29151,6 @@ client.hris.companies.retrieve(
-**id:** `str` - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -28514,8 +29163,7 @@ client.hris.companies.retrieve(
-## Hris Scopes -
client.hris.scopes.default_scopes_retrieve() +
client.crm.notes.remote_field_classes_list(...)
@@ -28527,7 +29175,7 @@ client.hris.companies.retrieve(
-Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). +Returns a list of `RemoteFieldClass` objects.
@@ -28548,7 +29196,14 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.scopes.default_scopes_retrieve() +response = client.crm.notes.remote_field_classes_list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", +) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -28564,64 +29219,67 @@ client.hris.scopes.default_scopes_retrieve()
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
- -
+
+
+**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +
-
-
client.hris.scopes.linked_account_scopes_retrieve()
-#### 📝 Description +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
+**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. + +
+
+
-Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). -
-
+**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + -#### 🔌 Usage -
+**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value + +
+
+
-```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.hris.scopes.linked_account_scopes_retrieve() - -``` -
-
+**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value + -#### ⚙️ Parameters -
+**page_size:** `typing.Optional[int]` — Number of results to return per page. + +
+
+
@@ -28637,7 +29295,8 @@ client.hris.scopes.linked_account_scopes_retrieve()
-
client.hris.scopes.linked_account_scopes_create(...) +## Crm Opportunities +
client.crm.opportunities.list(...)
@@ -28649,7 +29308,7 @@ client.hris.scopes.linked_account_scopes_retrieve()
-Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes) +Returns a list of `Opportunity` objects.
@@ -28665,43 +29324,19 @@ Update permissions for any Common Model or field for a single Linked Account. An ```python from merge import Merge -from merge.resources.hris import ( - FieldPermissionDeserializerRequest, - IndividualCommonModelScopeDeserializerRequest, - ModelPermissionDeserializerRequest, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.scopes.linked_account_scopes_create( - common_models=[ - IndividualCommonModelScopeDeserializerRequest( - model_name="Employee", - model_permissions={ - "READ": ModelPermissionDeserializerRequest( - is_enabled=True, - ), - "WRITE": ModelPermissionDeserializerRequest( - is_enabled=False, - ), - }, - field_permissions=FieldPermissionDeserializerRequest( - enabled_fields=["avatar", "home_location"], - disabled_fields=["work_location"], - ), - ), - IndividualCommonModelScopeDeserializerRequest( - model_name="Benefit", - model_permissions={ - "WRITE": ModelPermissionDeserializerRequest( - is_enabled=False, - ) - }, - ), - ], +response = client.crm.opportunities.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -28717,7 +29352,7 @@ client.hris.scopes.linked_account_scopes_create(
-**common_models:** `typing.Sequence[IndividualCommonModelScopeDeserializerRequest]` — The common models you want to update the scopes for +**account_id:** `typing.Optional[str]` — If provided, will only return opportunities with this account.
@@ -28725,154 +29360,108 @@ client.hris.scopes.linked_account_scopes_create(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
- -
+
+
+**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +
-
-## Hris DeleteAccount -
client.hris.delete_account.delete()
-#### 📝 Description - -
-
+**cursor:** `typing.Optional[str]` — The pagination cursor value. + +
+
-Delete a linked account. -
-
+**expand:** `typing.Optional[ + typing.Union[ + OpportunitiesListRequestExpandItem, + typing.Sequence[OpportunitiesListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +
-#### 🔌 Usage - -
-
-
-```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.hris.delete_account.delete() - -``` -
-
+**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +
-#### ⚙️ Parameters -
-
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
-
-
+
+
+**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. +
-
-## Hris Dependents -
client.hris.dependents.list(...)
-#### 📝 Description - -
-
+**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + +
+
-Returns a list of `Dependent` objects. -
-
+**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +
-#### 🔌 Usage -
+**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. + +
+
+
-```python -import datetime - -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.hris.dependents.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - employee_id="employee_id", - include_deleted_data=True, - include_remote_data=True, - include_sensitive_fields=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", -) - -``` -
-
+**owner_id:** `typing.Optional[str]` — If provided, will only return opportunities with this owner. + -#### ⚙️ Parameters -
+**page_size:** `typing.Optional[int]` — Number of results to return per page. + +
+
+
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**remote_created_after:** `typing.Optional[dt.datetime]` — If provided, will only return opportunities created in the third party platform after this datetime.
@@ -28880,7 +29469,7 @@ client.hris.dependents.list(
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**remote_fields:** `typing.Optional[OpportunitiesListRequestRemoteFields]` — Deprecated. Use show_enum_origins.
@@ -28888,7 +29477,7 @@ client.hris.dependents.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -28896,7 +29485,7 @@ client.hris.dependents.list(
-**employee_id:** `typing.Optional[str]` — If provided, will only return dependents for this employee. +**show_enum_origins:** `typing.Optional[OpportunitiesListRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
@@ -28904,7 +29493,7 @@ client.hris.dependents.list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**stage_id:** `typing.Optional[str]` — If provided, will only return opportunities with this stage.
@@ -28912,7 +29501,13 @@ client.hris.dependents.list(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**status:** `typing.Optional[OpportunitiesListRequestStatus]` + +If provided, will only return opportunities with this status. Options: ('OPEN', 'WON', 'LOST') + +* `OPEN` - OPEN +* `WON` - WON +* `LOST` - LOST
@@ -28920,31 +29515,71 @@ client.hris.dependents.list(
-**include_sensitive_fields:** `typing.Optional[bool]` — Whether to include sensitive fields (such as social security numbers) in the response. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ + + + + + +
+
client.crm.opportunities.create(...)
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - +#### 📝 Description + +
+
+ +
+
+ +Creates an `Opportunity` object with the given values. +
+
+#### 🔌 Usage +
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. - +
+
+ +```python +from merge import Merge +from merge.resources.crm import OpportunityRequest + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.crm.opportunities.create( + model=OpportunityRequest(), +) + +``` +
+
+#### ⚙️ Parameters +
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +
+
+ +**model:** `OpportunityRequest`
@@ -28952,7 +29587,7 @@ client.hris.dependents.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response.
@@ -28960,7 +29595,7 @@ client.hris.dependents.list(
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously.
@@ -28980,7 +29615,7 @@ client.hris.dependents.list(
-
client.hris.dependents.retrieve(...) +
client.crm.opportunities.retrieve(...)
@@ -28992,7 +29627,7 @@ client.hris.dependents.list(
-Returns a `Dependent` object with the given `id`. +Returns an `Opportunity` object with the given `id`.
@@ -29013,11 +29648,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.dependents.retrieve( +client.crm.opportunities.retrieve( id="id", - include_remote_data=True, - include_sensitive_fields=True, - include_shell_data=True, ) ``` @@ -29042,6 +29674,19 @@ client.hris.dependents.retrieve(
+**expand:** `typing.Optional[ + typing.Union[ + OpportunitiesRetrieveRequestExpandItem, + typing.Sequence[OpportunitiesRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + +
+
+ +
+
+ **include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -29050,7 +29695,7 @@ client.hris.dependents.retrieve(
-**include_sensitive_fields:** `typing.Optional[bool]` — Whether to include sensitive fields (such as social security numbers) in the response. +**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
@@ -29066,6 +29711,22 @@ client.hris.dependents.retrieve(
+**remote_fields:** `typing.Optional[OpportunitiesRetrieveRequestRemoteFields]` — Deprecated. Use show_enum_origins. + +
+
+ +
+
+ +**show_enum_origins:** `typing.Optional[OpportunitiesRetrieveRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -29078,8 +29739,7 @@ client.hris.dependents.retrieve(
-## Hris EmployeePayrollRuns -
client.hris.employee_payroll_runs.list(...) +
client.crm.opportunities.partial_update(...)
@@ -29091,7 +29751,7 @@ client.hris.dependents.retrieve(
-Returns a list of `EmployeePayrollRun` objects. +Updates an `Opportunity` object with the given `id`.
@@ -29106,51 +29766,16 @@ Returns a list of `EmployeePayrollRun` objects.
```python -import datetime - from merge import Merge -from merge.resources.hris.resources.employee_payroll_runs import ( - EmployeePayrollRunsListRequestExpand, -) +from merge.resources.crm import PatchedOpportunityRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.employee_payroll_runs.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - employee_id="employee_id", - ended_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - ended_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - expand=EmployeePayrollRunsListRequestExpand.EMPLOYEE, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - payroll_run_id="payroll_run_id", - remote_id="remote_id", - started_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - started_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), +client.crm.opportunities.partial_update( + id="id", + model=PatchedOpportunityRequest(), ) ``` @@ -29167,7 +29792,7 @@ client.hris.employee_payroll_runs.list(
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**id:** `str`
@@ -29175,7 +29800,7 @@ client.hris.employee_payroll_runs.list(
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**model:** `PatchedOpportunityRequest`
@@ -29183,7 +29808,7 @@ client.hris.employee_payroll_runs.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response.
@@ -29191,7 +29816,7 @@ client.hris.employee_payroll_runs.list(
-**employee_id:** `typing.Optional[str]` — If provided, will only return employee payroll runs for this employee. +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously.
@@ -29199,103 +29824,70 @@ client.hris.employee_payroll_runs.list(
-**ended_after:** `typing.Optional[dt.datetime]` — If provided, will only return employee payroll runs ended after this datetime. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
- -
-
- -**ended_before:** `typing.Optional[dt.datetime]` — If provided, will only return employee payroll runs ended before this datetime. -
-
-
-**expand:** `typing.Optional[EmployeePayrollRunsListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. -
+
+
client.crm.opportunities.meta_patch_retrieve(...)
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - -
-
+#### 📝 Description
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
-
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - +Returns metadata for `Opportunity` PATCHs.
- -
-
- -**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. -
+#### 🔌 Usage +
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. - -
-
-
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. - -
-
+```python +from merge import Merge -
-
+client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.crm.opportunities.meta_patch_retrieve( + id="id", +) -**payroll_run_id:** `typing.Optional[str]` — If provided, will only return employee payroll runs for this employee. - +```
- -
-
- -**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. -
+#### ⚙️ Parameters +
-**started_after:** `typing.Optional[dt.datetime]` — If provided, will only return employee payroll runs started after this datetime. - -
-
-
-**started_before:** `typing.Optional[dt.datetime]` — If provided, will only return employee payroll runs started before this datetime. +**id:** `str`
@@ -29315,7 +29907,7 @@ client.hris.employee_payroll_runs.list(
-
client.hris.employee_payroll_runs.retrieve(...) +
client.crm.opportunities.meta_post_retrieve()
@@ -29327,7 +29919,7 @@ client.hris.employee_payroll_runs.list(
-Returns an `EmployeePayrollRun` object with the given `id`. +Returns metadata for `Opportunity` POSTs.
@@ -29343,20 +29935,12 @@ Returns an `EmployeePayrollRun` object with the given `id`. ```python from merge import Merge -from merge.resources.hris.resources.employee_payroll_runs import ( - EmployeePayrollRunsRetrieveRequestExpand, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.employee_payroll_runs.retrieve( - id="id", - expand=EmployeePayrollRunsRetrieveRequestExpand.EMPLOYEE, - include_remote_data=True, - include_shell_data=True, -) +client.crm.opportunities.meta_post_retrieve() ``` @@ -29372,38 +29956,6 @@ client.hris.employee_payroll_runs.retrieve(
-**id:** `str` - -
-
- -
-
- -**expand:** `typing.Optional[EmployeePayrollRunsRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -29416,8 +29968,7 @@ client.hris.employee_payroll_runs.retrieve(
-## Hris Employees -
client.hris.employees.list(...) +
client.crm.opportunities.remote_field_classes_list(...)
@@ -29429,7 +29980,7 @@ client.hris.employee_payroll_runs.retrieve(
-Returns a list of `Employee` objects. +Returns a list of `RemoteFieldClass` objects.
@@ -29444,72 +29995,20 @@ Returns a list of `Employee` objects.
```python -import datetime - from merge import Merge -from merge.resources.hris.resources.employees import ( - EmployeesListRequestEmploymentStatus, - EmployeesListRequestExpand, - EmployeesListRequestRemoteFields, - EmployeesListRequestShowEnumOrigins, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.employees.list( - company_id="company_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), +response = client.crm.opportunities.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - display_full_name="display_full_name", - employee_number="employee_number", - employment_status=EmployeesListRequestEmploymentStatus.ACTIVE, - employment_type="employment_type", - expand=EmployeesListRequestExpand.COMPANY, - first_name="first_name", - groups="groups", - home_location_id="home_location_id", - include_deleted_data=True, - include_remote_data=True, - include_sensitive_fields=True, - include_shell_data=True, - job_title="job_title", - last_name="last_name", - manager_id="manager_id", - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - pay_group_id="pay_group_id", - personal_email="personal_email", - remote_fields=EmployeesListRequestRemoteFields.EMPLOYMENT_STATUS, - remote_id="remote_id", - show_enum_origins=EmployeesListRequestShowEnumOrigins.EMPLOYMENT_STATUS, - started_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - started_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - team_id="team_id", - terminated_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - terminated_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - work_email="work_email", - work_location_id="work_location_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -29525,7 +30024,7 @@ client.hris.employees.list(
-**company_id:** `typing.Optional[str]` — If provided, will only return employees for this company. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -29533,7 +30032,7 @@ client.hris.employees.list(
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -29541,7 +30040,7 @@ client.hris.employees.list(
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -29549,7 +30048,7 @@ client.hris.employees.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
@@ -29557,7 +30056,7 @@ client.hris.employees.list(
-**display_full_name:** `typing.Optional[str]` — If provided, will only return employees with this display name. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -29565,7 +30064,7 @@ client.hris.employees.list(
-**employee_number:** `typing.Optional[str]` — If provided, will only return employees with this employee number. +**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value
@@ -29573,13 +30072,7 @@ client.hris.employees.list(
-**employment_status:** `typing.Optional[EmployeesListRequestEmploymentStatus]` - -If provided, will only return employees with this employment status. - -* `ACTIVE` - ACTIVE -* `PENDING` - PENDING -* `INACTIVE` - INACTIVE +**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value
@@ -29587,7 +30080,7 @@ If provided, will only return employees with this employment status.
-**employment_type:** `typing.Optional[str]` — If provided, will only return employees that have an employment of the specified employment type. +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -29595,47 +30088,75 @@ If provided, will only return employees with this employment status.
-**expand:** `typing.Optional[EmployeesListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**first_name:** `typing.Optional[str]` — If provided, will only return employees with this first name. -
+
+## Crm Passthrough +
client.crm.passthrough.create(...)
-**groups:** `typing.Optional[str]` — If provided, will only return employees matching the group ids; multiple groups can be separated by commas. - -
-
+#### 📝 Description
-**home_location_id:** `typing.Optional[str]` — If provided, will only return employees for this home location. - +
+
+ +Pull data from an endpoint not currently supported by Merge. +
+
+#### 🔌 Usage +
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - +
+
+ +```python +from merge import Merge +from merge.resources.crm import DataPassthroughRequest, MethodEnum + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.crm.passthrough.create( + request=DataPassthroughRequest( + method=MethodEnum.GET, + path="/scooters", + ), +) + +``` +
+
+#### ⚙️ Parameters +
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +
+
+ +**request:** `DataPassthroughRequest`
@@ -29643,47 +30164,71 @@ If provided, will only return employees with this employment status.
-**include_sensitive_fields:** `typing.Optional[bool]` — Whether to include sensitive fields (such as social security numbers) in the response. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+
+
-
-
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). -
+
+## Crm RegenerateKey +
client.crm.regenerate_key.create(...)
-**job_title:** `typing.Optional[str]` — If provided, will only return employees that have an employment of the specified job title. - -
-
+#### 📝 Description
-**last_name:** `typing.Optional[str]` — If provided, will only return employees with this last name. - +
+
+ +Exchange remote keys.
+
+
+ +#### 🔌 Usage
-**manager_id:** `typing.Optional[str]` — If provided, will only return employees for this manager. - +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.crm.regenerate_key.create( + name="Remote Deployment Key 1", +) + +```
+
+
+ +#### ⚙️ Parameters
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +
+
+ +**name:** `str` — The name of the remote key
@@ -29691,31 +30236,76 @@ If provided, will only return employees with this employment status.
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+
+
+ + + + +
+## Crm Stages +
client.crm.stages.list(...)
-**page_size:** `typing.Optional[int]` — Number of results to return per page. - +#### 📝 Description + +
+
+ +
+
+ +Returns a list of `Stage` objects.
+
+
+ +#### 🔌 Usage
-**pay_group_id:** `typing.Optional[str]` — If provided, will only return employees for this pay group - +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +response = client.crm.stages.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", +) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page + +``` +
+
+#### ⚙️ Parameters +
-**personal_email:** `typing.Optional[str]` — If provided, will only return Employees with this personal email +
+
+ +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -29723,7 +30313,7 @@ If provided, will only return employees with this employment status.
-**remote_fields:** `typing.Optional[EmployeesListRequestRemoteFields]` — Deprecated. Use show_enum_origins. +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -29731,7 +30321,7 @@ If provided, will only return employees with this employment status.
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -29739,7 +30329,7 @@ If provided, will only return employees with this employment status.
-**show_enum_origins:** `typing.Optional[EmployeesListRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -29747,7 +30337,7 @@ If provided, will only return employees with this employment status.
-**started_after:** `typing.Optional[dt.datetime]` — If provided, will only return employees that started after this datetime. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -29755,7 +30345,7 @@ If provided, will only return employees with this employment status.
-**started_before:** `typing.Optional[dt.datetime]` — If provided, will only return employees that started before this datetime. +**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
@@ -29763,7 +30353,7 @@ If provided, will only return employees with this employment status.
-**team_id:** `typing.Optional[str]` — If provided, will only return employees for this team. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -29771,7 +30361,7 @@ If provided, will only return employees with this employment status.
-**terminated_after:** `typing.Optional[dt.datetime]` — If provided, will only return employees that were terminated after this datetime. +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned.
@@ -29779,7 +30369,7 @@ If provided, will only return employees with this employment status.
-**terminated_before:** `typing.Optional[dt.datetime]` — If provided, will only return employees that were terminated before this datetime. +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned.
@@ -29787,7 +30377,7 @@ If provided, will only return employees with this employment status.
-**work_email:** `typing.Optional[str]` — If provided, will only return Employees with this work email +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -29795,7 +30385,7 @@ If provided, will only return employees with this employment status.
-**work_location_id:** `typing.Optional[str]` — If provided, will only return employees for this location. +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -29815,7 +30405,7 @@ If provided, will only return employees with this employment status.
-
client.hris.employees.create(...) +
client.crm.stages.retrieve(...)
@@ -29827,7 +30417,7 @@ If provided, will only return employees with this employment status.
-Creates an `Employee` object with the given values. +Returns a `Stage` object with the given `id`.
@@ -29843,16 +30433,13 @@ Creates an `Employee` object with the given values. ```python from merge import Merge -from merge.resources.hris import EmployeeRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.employees.create( - is_debug_mode=True, - run_async=True, - model=EmployeeRequest(), +client.crm.stages.retrieve( + id="id", ) ``` @@ -29869,7 +30456,7 @@ client.hris.employees.create(
-**model:** `EmployeeRequest` +**id:** `str`
@@ -29877,7 +30464,7 @@ client.hris.employees.create(
-**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -29885,7 +30472,15 @@ client.hris.employees.create(
-**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. +**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. + +
+
+ +
+
+ +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -29905,7 +30500,7 @@ client.hris.employees.create(
-
client.hris.employees.retrieve(...) +
client.crm.stages.remote_field_classes_list(...)
@@ -29917,7 +30512,7 @@ client.hris.employees.create(
-Returns an `Employee` object with the given `id`. +Returns a list of `RemoteFieldClass` objects.
@@ -29933,25 +30528,19 @@ Returns an `Employee` object with the given `id`. ```python from merge import Merge -from merge.resources.hris.resources.employees import ( - EmployeesRetrieveRequestExpand, - EmployeesRetrieveRequestRemoteFields, - EmployeesRetrieveRequestShowEnumOrigins, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.employees.retrieve( - id="id", - expand=EmployeesRetrieveRequestExpand.COMPANY, - include_remote_data=True, - include_sensitive_fields=True, - include_shell_data=True, - remote_fields=EmployeesRetrieveRequestRemoteFields.EMPLOYMENT_STATUS, - show_enum_origins=EmployeesRetrieveRequestShowEnumOrigins.EMPLOYMENT_STATUS, +response = client.crm.stages.remote_field_classes_list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -29967,7 +30556,7 @@ client.hris.employees.retrieve(
-**id:** `str` +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -29975,7 +30564,7 @@ client.hris.employees.retrieve(
-**expand:** `typing.Optional[EmployeesRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -29991,7 +30580,7 @@ client.hris.employees.retrieve(
-**include_sensitive_fields:** `typing.Optional[bool]` — Whether to include sensitive fields (such as social security numbers) in the response. +**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
@@ -30007,7 +30596,7 @@ client.hris.employees.retrieve(
-**remote_fields:** `typing.Optional[EmployeesRetrieveRequestRemoteFields]` — Deprecated. Use show_enum_origins. +**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value
@@ -30015,7 +30604,15 @@ client.hris.employees.retrieve(
-**show_enum_origins:** `typing.Optional[EmployeesRetrieveRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) +**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value + +
+
+ +
+
+ +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -30035,7 +30632,8 @@ client.hris.employees.retrieve(
-
client.hris.employees.ignore_create(...) +## Crm SyncStatus +
client.crm.sync_status.list(...)
@@ -30047,7 +30645,7 @@ client.hris.employees.retrieve(
-Ignores a specific row based on the `model_id` in the url. These records will have their properties set to null, and will not be updated in future syncs. The "reason" and "message" fields in the request body will be stored for audit purposes. +Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses).
@@ -30063,15 +30661,13 @@ Ignores a specific row based on the `model_id` in the url. These records will ha ```python from merge import Merge -from merge.resources.hris import ReasonEnum client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.employees.ignore_create( - model_id="model_id", - reason=ReasonEnum.GENERAL_CUSTOMER_REQUEST, +client.crm.sync_status.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", ) ``` @@ -30088,15 +30684,7 @@ client.hris.employees.ignore_create(
-**model_id:** `str` - -
-
- -
-
- -**reason:** `IgnoreCommonModelRequestReason` +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -30104,7 +30692,7 @@ client.hris.employees.ignore_create(
-**message:** `typing.Optional[str]` +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -30124,7 +30712,8 @@ client.hris.employees.ignore_create(
-
client.hris.employees.meta_post_retrieve() +## Crm ForceResync +
client.crm.force_resync.sync_status_resync_create()
@@ -30136,7 +30725,7 @@ client.hris.employees.ignore_create(
-Returns metadata for `Employee` POSTs. +Force re-sync of all models. This endpoint is available for monthly, quarterly, and highest sync frequency customers on the Professional or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. Force re-syncs can also be triggered manually in the Merge Dashboard and is available for all customers.
@@ -30157,7 +30746,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.employees.meta_post_retrieve() +client.crm.force_resync.sync_status_resync_create() ``` @@ -30185,8 +30774,8 @@ client.hris.employees.meta_post_retrieve()
-## Hris EmployerBenefits -
client.hris.employer_benefits.list(...) +## Crm Tasks +
client.crm.tasks.list(...)
@@ -30198,7 +30787,7 @@ client.hris.employees.meta_post_retrieve()
-Returns a list of `EmployerBenefit` objects. +Returns a list of `Task` objects.
@@ -30213,34 +30802,20 @@ Returns a list of `EmployerBenefit` objects.
```python -import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.employer_benefits.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), +response = client.crm.tasks.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -30280,6 +30855,18 @@ client.hris.employer_benefits.list(
+**expand:** `typing.Optional[ + typing.Union[ + TasksListRequestExpandItem, typing.Sequence[TasksListRequestExpandItem] + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + +
+
+ +
+
+ **include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -30296,6 +30883,14 @@ client.hris.employer_benefits.list(
+**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. + +
+
+ +
+
+ **include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -30320,7 +30915,7 @@ client.hris.employer_benefits.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -30348,7 +30943,7 @@ client.hris.employer_benefits.list(
-
client.hris.employer_benefits.retrieve(...) +
client.crm.tasks.create(...)
@@ -30360,7 +30955,7 @@ client.hris.employer_benefits.list(
-Returns an `EmployerBenefit` object with the given `id`. +Creates a `Task` object with the given values.
@@ -30376,15 +30971,14 @@ Returns an `EmployerBenefit` object with the given `id`. ```python from merge import Merge +from merge.resources.crm import TaskRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.employer_benefits.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, +client.crm.tasks.create( + model=TaskRequest(), ) ``` @@ -30401,7 +30995,7 @@ client.hris.employer_benefits.retrieve(
-**id:** `str` +**model:** `TaskRequest`
@@ -30409,7 +31003,7 @@ client.hris.employer_benefits.retrieve(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response.
@@ -30417,7 +31011,7 @@ client.hris.employer_benefits.retrieve(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously.
@@ -30437,8 +31031,7 @@ client.hris.employer_benefits.retrieve(
-## Hris Employments -
client.hris.employments.list(...) +
client.crm.tasks.retrieve(...)
@@ -30450,7 +31043,7 @@ client.hris.employer_benefits.retrieve(
-Returns a list of `Employment` objects. +Returns a `Task` object with the given `id`.
@@ -30465,44 +31058,14 @@ Returns a list of `Employment` objects.
```python -import datetime - from merge import Merge -from merge.resources.hris.resources.employments import ( - EmploymentsListRequestExpand, - EmploymentsListRequestOrderBy, - EmploymentsListRequestRemoteFields, - EmploymentsListRequestShowEnumOrigins, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.employments.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - employee_id="employee_id", - expand=EmploymentsListRequestExpand.EMPLOYEE, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - order_by=EmploymentsListRequestOrderBy.EFFECTIVE_DATE_DESCENDING, - page_size=1, - remote_fields=EmploymentsListRequestRemoteFields.EMPLOYMENT_TYPE, - remote_id="remote_id", - show_enum_origins=EmploymentsListRequestShowEnumOrigins.EMPLOYMENT_TYPE, +client.crm.tasks.retrieve( + id="id", ) ``` @@ -30519,7 +31082,7 @@ client.hris.employments.list(
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**id:** `str`
@@ -30527,7 +31090,12 @@ client.hris.employments.list(
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**expand:** `typing.Optional[ + typing.Union[ + TasksRetrieveRequestExpandItem, + typing.Sequence[TasksRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -30535,7 +31103,7 @@ client.hris.employments.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -30543,7 +31111,7 @@ client.hris.employments.list(
-**employee_id:** `typing.Optional[str]` — If provided, will only return employments for this employee. +**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
@@ -30551,7 +31119,7 @@ client.hris.employments.list(
-**expand:** `typing.Optional[EmploymentsListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -30559,55 +31127,72 @@ client.hris.employments.list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+
+
-
-
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. -
+
+
client.crm.tasks.partial_update(...)
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
+#### 📝 Description
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. - -
-
-
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. - +Updates a `Task` object with the given `id`.
+ + + +#### 🔌 Usage
-**order_by:** `typing.Optional[EmploymentsListRequestOrderBy]` — Overrides the default ordering for this endpoint. Possible values include: effective_date, -effective_date. - +
+
+ +```python +from merge import Merge +from merge.resources.crm import PatchedTaskRequest + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.crm.tasks.partial_update( + id="id", + model=PatchedTaskRequest(), +) + +``` +
+
+#### ⚙️ Parameters + +
+
+
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. +**id:** `str`
@@ -30615,7 +31200,7 @@ client.hris.employments.list(
-**remote_fields:** `typing.Optional[EmploymentsListRequestRemoteFields]` — Deprecated. Use show_enum_origins. +**model:** `PatchedTaskRequest`
@@ -30623,7 +31208,7 @@ client.hris.employments.list(
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response.
@@ -30631,7 +31216,7 @@ client.hris.employments.list(
-**show_enum_origins:** `typing.Optional[EmploymentsListRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously.
@@ -30651,7 +31236,7 @@ client.hris.employments.list(
-
client.hris.employments.retrieve(...) +
client.crm.tasks.meta_patch_retrieve(...)
@@ -30663,7 +31248,7 @@ client.hris.employments.list(
-Returns an `Employment` object with the given `id`. +Returns metadata for `Task` PATCHs.
@@ -30679,23 +31264,13 @@ Returns an `Employment` object with the given `id`. ```python from merge import Merge -from merge.resources.hris.resources.employments import ( - EmploymentsRetrieveRequestExpand, - EmploymentsRetrieveRequestRemoteFields, - EmploymentsRetrieveRequestShowEnumOrigins, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.employments.retrieve( +client.crm.tasks.meta_patch_retrieve( id="id", - expand=EmploymentsRetrieveRequestExpand.EMPLOYEE, - include_remote_data=True, - include_shell_data=True, - remote_fields=EmploymentsRetrieveRequestRemoteFields.EMPLOYMENT_TYPE, - show_enum_origins=EmploymentsRetrieveRequestShowEnumOrigins.EMPLOYMENT_TYPE, ) ``` @@ -30720,46 +31295,6 @@ client.hris.employments.retrieve(
-**expand:** `typing.Optional[EmploymentsRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**remote_fields:** `typing.Optional[EmploymentsRetrieveRequestRemoteFields]` — Deprecated. Use show_enum_origins. - -
-
- -
-
- -**show_enum_origins:** `typing.Optional[EmploymentsRetrieveRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -30772,8 +31307,7 @@ client.hris.employments.retrieve(
-## Hris FieldMapping -
client.hris.field_mapping.field_mappings_retrieve(...) +
client.crm.tasks.meta_post_retrieve()
@@ -30785,7 +31319,7 @@ client.hris.employments.retrieve(
-Get all Field Mappings for this Linked Account. Field Mappings are mappings between third-party Remote Fields and user defined Merge fields. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). +Returns metadata for `Task` POSTs.
@@ -30806,9 +31340,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.field_mapping.field_mappings_retrieve( - exclude_remote_field_metadata=True, -) +client.crm.tasks.meta_post_retrieve() ``` @@ -30824,14 +31356,6 @@ client.hris.field_mapping.field_mappings_retrieve(
-**exclude_remote_field_metadata:** `typing.Optional[bool]` — If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -30844,7 +31368,7 @@ client.hris.field_mapping.field_mappings_retrieve(
-
client.hris.field_mapping.field_mappings_create(...) +
client.crm.tasks.remote_field_classes_list(...)
@@ -30856,7 +31380,7 @@ client.hris.field_mapping.field_mappings_retrieve(
-Create new Field Mappings that will be available after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. +Returns a list of `RemoteFieldClass` objects.
@@ -30877,15 +31401,14 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.field_mapping.field_mappings_create( - exclude_remote_field_metadata=True, - target_field_name="example_target_field_name", - target_field_description="this is a example description of the target field", - remote_field_traversal_path=["example_remote_field"], - remote_method="GET", - remote_url_path="/example-url-path", - common_model_name="ExampleCommonModel", +response = client.crm.tasks.remote_field_classes_list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -30901,7 +31424,7 @@ client.hris.field_mapping.field_mappings_create(
-**target_field_name:** `str` — The name of the target field you want this remote field to map to. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -30909,7 +31432,7 @@ client.hris.field_mapping.field_mappings_create(
-**target_field_description:** `str` — The description of the target field you want this remote field to map to. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -30917,7 +31440,7 @@ client.hris.field_mapping.field_mappings_create(
-**remote_field_traversal_path:** `typing.Sequence[typing.Optional[typing.Any]]` — The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -30925,7 +31448,7 @@ client.hris.field_mapping.field_mappings_create(
-**remote_method:** `str` — The method of the remote endpoint where the remote field is coming from. +**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
@@ -30933,7 +31456,7 @@ client.hris.field_mapping.field_mappings_create(
-**remote_url_path:** `str` — The path of the remote endpoint where the remote field is coming from. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -30941,7 +31464,7 @@ client.hris.field_mapping.field_mappings_create(
-**common_model_name:** `str` — The name of the Common Model that the remote field corresponds to in a given category. +**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value
@@ -30949,7 +31472,7 @@ client.hris.field_mapping.field_mappings_create(
-**exclude_remote_field_metadata:** `typing.Optional[bool]` — If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. +**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value
@@ -30957,7 +31480,7 @@ client.hris.field_mapping.field_mappings_create(
-**jmes_path:** `typing.Optional[str]` — JMES path to specify json query expression to be used on field mapping. +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -30977,7 +31500,8 @@ client.hris.field_mapping.field_mappings_create(
-
client.hris.field_mapping.field_mappings_destroy(...) +## Crm Users +
client.crm.users.list(...)
@@ -30989,7 +31513,7 @@ client.hris.field_mapping.field_mappings_create(
-Deletes Field Mappings for a Linked Account. All data related to this Field Mapping will be deleted and these changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. +Returns a list of `User` objects.
@@ -31010,9 +31534,14 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.field_mapping.field_mappings_destroy( - field_mapping_id="field_mapping_id", +response = client.crm.users.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -31028,7 +31557,7 @@ client.hris.field_mapping.field_mappings_destroy(
-**field_mapping_id:** `str` +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -31036,70 +31565,55 @@ client.hris.field_mapping.field_mappings_destroy(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
- -
+
+
+**cursor:** `typing.Optional[str]` — The pagination cursor value. +
-
-
client.hris.field_mapping.field_mappings_partial_update(...)
-#### 📝 Description - -
-
+**email:** `typing.Optional[str]` — If provided, will only return users with this email. + +
+
-Create or update existing Field Mappings for a Linked Account. Changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. -
-
+**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +
-#### 🔌 Usage -
-
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.hris.field_mapping.field_mappings_partial_update( - field_mapping_id="field_mapping_id", -) - -``` -
-
+**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +
-#### ⚙️ Parameters -
+**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. + +
+
+
-**field_mapping_id:** `str` +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -31107,7 +31621,7 @@ client.hris.field_mapping.field_mappings_partial_update(
-**remote_field_traversal_path:** `typing.Optional[typing.Sequence[typing.Optional[typing.Any]]]` — The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned.
@@ -31115,7 +31629,7 @@ client.hris.field_mapping.field_mappings_partial_update(
-**remote_method:** `typing.Optional[str]` — The method of the remote endpoint where the remote field is coming from. +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned.
@@ -31123,7 +31637,7 @@ client.hris.field_mapping.field_mappings_partial_update(
-**remote_url_path:** `typing.Optional[str]` — The path of the remote endpoint where the remote field is coming from. +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -31131,7 +31645,7 @@ client.hris.field_mapping.field_mappings_partial_update(
-**jmes_path:** `typing.Optional[str]` — JMES path to specify json query expression to be used on field mapping. +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -31151,7 +31665,7 @@ client.hris.field_mapping.field_mappings_partial_update(
-
client.hris.field_mapping.remote_fields_retrieve(...) +
client.crm.users.retrieve(...)
@@ -31163,7 +31677,7 @@ client.hris.field_mapping.field_mappings_partial_update(
-Get all remote fields for a Linked Account. Remote fields are third-party fields that are accessible after initial sync if remote_data is enabled. You can use remote fields to override existing Merge fields or map a new Merge field. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). +Returns a `User` object with the given `id`.
@@ -31184,9 +31698,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.field_mapping.remote_fields_retrieve( - common_models="common_models", - include_example_values="include_example_values", +client.crm.users.retrieve( + id="id", ) ``` @@ -31203,7 +31716,7 @@ client.hris.field_mapping.remote_fields_retrieve(
-**common_models:** `typing.Optional[str]` — A comma seperated list of Common Model names. If included, will only return Remote Fields for those Common Models. +**id:** `str`
@@ -31211,7 +31724,7 @@ client.hris.field_mapping.remote_fields_retrieve(
-**include_example_values:** `typing.Optional[str]` — If true, will include example values, where available, for remote fields in the 3rd party platform. These examples come from active data from your customers. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -31219,64 +31732,19 @@ client.hris.field_mapping.remote_fields_retrieve(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
- -
- - - - -
- -
client.hris.field_mapping.target_fields_retrieve() -
-
- -#### 📝 Description
-
-
- -Get all organization-wide Target Fields, this will not include any Linked Account specific Target Fields. Organization-wide Target Fields are additional fields appended to the Merge Common Model for all Linked Accounts in a category. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/target-fields/). -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.hris.field_mapping.target_fields_retrieve() - -``` -
-
+**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +
-#### ⚙️ Parameters - -
-
-
@@ -31292,8 +31760,7 @@ client.hris.field_mapping.target_fields_retrieve()
-## Hris GenerateKey -
client.hris.generate_key.create(...) +
client.crm.users.ignore_create(...)
@@ -31305,7 +31772,7 @@ client.hris.field_mapping.target_fields_retrieve()
-Create a remote key. +Ignores a specific row based on the `model_id` in the url. These records will have their properties set to null, and will not be updated in future syncs. The "reason" and "message" fields in the request body will be stored for audit purposes.
@@ -31321,13 +31788,17 @@ Create a remote key. ```python from merge import Merge +from merge.resources.crm import IgnoreCommonModelRequest, ReasonEnum client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.generate_key.create( - name="Remote Deployment Key 1", +client.crm.users.ignore_create( + model_id="model_id", + request=IgnoreCommonModelRequest( + reason=ReasonEnum.GENERAL_CUSTOMER_REQUEST, + ), ) ``` @@ -31344,7 +31815,15 @@ client.hris.generate_key.create(
-**name:** `str` — The name of the remote key +**model_id:** `str` + +
+
+ +
+
+ +**request:** `IgnoreCommonModelRequest`
@@ -31364,8 +31843,7 @@ client.hris.generate_key.create(
-## Hris Groups -
client.hris.groups.list(...) +
client.crm.users.remote_field_classes_list(...)
@@ -31377,7 +31855,7 @@ client.hris.generate_key.create(
-Returns a list of `Group` objects. +Returns a list of `RemoteFieldClass` objects.
@@ -31392,37 +31870,20 @@ Returns a list of `Group` objects.
```python -import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.groups.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), +response = client.crm.users.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - is_commonly_used_as_team="is_commonly_used_as_team", - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - names="names", - page_size=1, - remote_id="remote_id", - types="types", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -31438,22 +31899,6 @@ client.hris.groups.list(
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. - -
-
- -
-
- -**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. - -
-
- -
-
- **cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -31478,7 +31923,7 @@ client.hris.groups.list(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
@@ -31486,7 +31931,7 @@ client.hris.groups.list(
-**is_commonly_used_as_team:** `typing.Optional[str]` — If provided, specifies whether to return only Group objects which refer to a team in the third party platform. Note that this is an opinionated view based on how a team may be represented in the third party platform. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -31494,7 +31939,7 @@ client.hris.groups.list(
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value
@@ -31502,7 +31947,7 @@ client.hris.groups.list(
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value
@@ -31510,7 +31955,7 @@ client.hris.groups.list(
-**names:** `typing.Optional[str]` — If provided, will only return groups with these names. Multiple values can be separated by commas. +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -31518,42 +31963,64 @@ client.hris.groups.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**remote_fields:** `typing.Optional[typing.Literal["type"]]` — Deprecated. Use show_enum_origins. -
+
+## Crm WebhookReceivers +
client.crm.webhook_receivers.list()
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. - -
-
+#### 📝 Description
-**show_enum_origins:** `typing.Optional[typing.Literal["type"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - +
+
+ +Returns a list of `WebhookReceiver` objects. +
+
+#### 🔌 Usage +
-**types:** `typing.Optional[str]` — If provided, will only return groups of these types. Multiple values can be separated by commas. - +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.crm.webhook_receivers.list() + +```
+
+
+ +#### ⚙️ Parameters + +
+
@@ -31570,7 +32037,7 @@ client.hris.groups.list(
-
client.hris.groups.retrieve(...) +
client.crm.webhook_receivers.create(...)
@@ -31582,7 +32049,7 @@ client.hris.groups.list(
-Returns a `Group` object with the given `id`. +Creates a `WebhookReceiver` object with the given values.
@@ -31603,10 +32070,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.groups.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, +client.crm.webhook_receivers.create( + event="event", + is_active=True, ) ``` @@ -31623,23 +32089,7 @@ client.hris.groups.retrieve(
-**id:** `str` - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**event:** `str`
@@ -31647,7 +32097,7 @@ client.hris.groups.retrieve(
-**remote_fields:** `typing.Optional[typing.Literal["type"]]` — Deprecated. Use show_enum_origins. +**is_active:** `bool`
@@ -31655,7 +32105,7 @@ client.hris.groups.retrieve(
-**show_enum_origins:** `typing.Optional[typing.Literal["type"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) +**key:** `typing.Optional[str]`
@@ -31675,8 +32125,8 @@ client.hris.groups.retrieve(
-## Hris Issues -
client.hris.issues.list(...) +## FileStorage AccountDetails +
client.file_storage.account_details.retrieve()
@@ -31688,7 +32138,7 @@ client.hris.groups.retrieve(
-Gets all issues for Organization. +Get details for a linked account.
@@ -31703,39 +32153,13 @@ Gets all issues for Organization.
```python -import datetime - from merge import Merge -from merge.resources.hris.resources.issues import IssuesListRequestStatus client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.issues.list( - account_token="account_token", - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_date="end_date", - end_user_organization_name="end_user_organization_name", - first_incident_time_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - first_incident_time_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - include_muted="include_muted", - integration_name="integration_name", - last_incident_time_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - last_incident_time_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - linked_account_id="linked_account_id", - page_size=1, - start_date="start_date", - status=IssuesListRequestStatus.ONGOING, -) +client.file_storage.account_details.retrieve() ```
@@ -31751,63 +32175,71 @@ client.hris.issues.list(
-**account_token:** `typing.Optional[str]` +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**cursor:** `typing.Optional[str]` — The pagination cursor value. -
+
+## FileStorage AccountToken +
client.file_storage.account_token.retrieve(...)
-**end_date:** `typing.Optional[str]` — If included, will only include issues whose most recent action occurred before this time - -
-
+#### 📝 Description
-**end_user_organization_name:** `typing.Optional[str]` - -
-
-
-**first_incident_time_after:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose first incident time was after this datetime. - +Returns the account token for the end user with the provided public token. +
+
+#### 🔌 Usage +
-**first_incident_time_before:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose first incident time was before this datetime. - -
-
-
-**include_muted:** `typing.Optional[str]` — If true, will include muted issues - +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.file_storage.account_token.retrieve( + public_token="public_token", +) + +```
+ + + +#### ⚙️ Parameters
-**integration_name:** `typing.Optional[str]` +
+
+ +**public_token:** `str`
@@ -31815,52 +32247,75 @@ client.hris.issues.list(
-**last_incident_time_after:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose last incident time was after this datetime. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+
+
-
-
-**last_incident_time_before:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose last incident time was before this datetime. -
+
+## FileStorage AsyncPassthrough +
client.file_storage.async_passthrough.create(...)
-**linked_account_id:** `typing.Optional[str]` — If provided, will only include issues pertaining to the linked account passed in. - -
-
+#### 📝 Description
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. - +
+
+ +Asynchronously pull data from an endpoint not currently supported by Merge.
+
+
+ +#### 🔌 Usage
-**start_date:** `typing.Optional[str]` — If included, will only include issues whose most recent action occurred after this time - +
+
+ +```python +from merge import Merge +from merge.resources.file_storage import DataPassthroughRequest, MethodEnum + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.file_storage.async_passthrough.create( + request=DataPassthroughRequest( + method=MethodEnum.GET, + path="/scooters", + ), +) + +```
+
+
+ +#### ⚙️ Parameters
-**status:** `typing.Optional[IssuesListRequestStatus]` - -Status of the issue. Options: ('ONGOING', 'RESOLVED') +
+
-* `ONGOING` - ONGOING -* `RESOLVED` - RESOLVED +**request:** `DataPassthroughRequest`
@@ -31880,7 +32335,7 @@ Status of the issue. Options: ('ONGOING', 'RESOLVED')
-
client.hris.issues.retrieve(...) +
client.file_storage.async_passthrough.retrieve(...)
@@ -31892,7 +32347,7 @@ Status of the issue. Options: ('ONGOING', 'RESOLVED')
-Get a specific issue. +Retrieves data from earlier async-passthrough POST request
@@ -31913,8 +32368,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.issues.retrieve( - id="id", +client.file_storage.async_passthrough.retrieve( + async_passthrough_receipt_id="async_passthrough_receipt_id", ) ``` @@ -31931,7 +32386,7 @@ client.hris.issues.retrieve(
-**id:** `str` +**async_passthrough_receipt_id:** `str`
@@ -31951,8 +32406,8 @@ client.hris.issues.retrieve(
-## Hris LinkToken -
client.hris.link_token.create(...) +## FileStorage AuditTrail +
client.file_storage.audit_trail.list(...)
@@ -31964,7 +32419,7 @@ client.hris.issues.retrieve(
-Creates a link token to be used when linking a new end user. +Gets a list of audit trail events.
@@ -31980,18 +32435,19 @@ Creates a link token to be used when linking a new end user. ```python from merge import Merge -from merge.resources.hris import CategoriesEnum client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.link_token.create( - end_user_email_address="example@gmail.com", - end_user_organization_name="Test Organization", - end_user_origin_id="12345", - categories=[CategoriesEnum.HRIS, CategoriesEnum.ATS], +response = client.file_storage.audit_trail.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -32007,7 +32463,7 @@ client.hris.link_token.create(
-**end_user_email_address:** `str` — Your end user's email address. This is purely for identification purposes - setting this value will not cause any emails to be sent. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -32015,7 +32471,7 @@ client.hris.link_token.create(
-**end_user_organization_name:** `str` — Your end user's organization. +**end_date:** `typing.Optional[str]` — If included, will only include audit trail events that occurred before this time
@@ -32023,7 +32479,7 @@ client.hris.link_token.create(
-**end_user_origin_id:** `str` — This unique identifier typically represents the ID for your end user in your product's database. This value must be distinct from other Linked Accounts' unique identifiers. +**event_type:** `typing.Optional[str]` — If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED`
@@ -32031,7 +32487,7 @@ client.hris.link_token.create(
-**categories:** `typing.Sequence[CategoriesEnum]` — The integration categories to show in Merge Link. +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -32039,7 +32495,7 @@ client.hris.link_token.create(
-**integration:** `typing.Optional[str]` — The slug of a specific pre-selected integration for this linking flow token. For examples of slugs, see https://docs.merge.dev/guides/merge-link/single-integration/. +**start_date:** `typing.Optional[str]` — If included, will only include audit trail events that occurred after this time
@@ -32047,7 +32503,7 @@ client.hris.link_token.create(
-**link_expiry_mins:** `typing.Optional[int]` — An integer number of minutes between [30, 720 or 10080 if for a Magic Link URL] for how long this token is valid. Defaults to 30. +**user_email:** `typing.Optional[str]` — If provided, this will return events associated with the specified user email. Please note that the email address reflects the user's email at the time of the event, and may not be their current email.
@@ -32055,83 +32511,127 @@ client.hris.link_token.create(
-**should_create_magic_link_url:** `typing.Optional[bool]` — Whether to generate a Magic Link URL. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**hide_admin_magic_link:** `typing.Optional[bool]` — Whether to generate a Magic Link URL on the Admin Needed screen during the linking flow. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. -
+
+## FileStorage AvailableActions +
client.file_storage.available_actions.retrieve()
-**common_models:** `typing.Optional[typing.Sequence[CommonModelScopesBodyRequest]]` — An array of objects to specify the models and fields that will be disabled for a given Linked Account. Each object uses model_id, enabled_actions, and disabled_fields to specify the model, method, and fields that are scoped for a given Linked Account. - -
-
+#### 📝 Description
-**category_common_model_scopes:** `typing.Optional[ - typing.Dict[ - str, - typing.Optional[ - typing.Sequence[IndividualCommonModelScopeDeserializerRequest] - ], - ] -]` — When creating a Link Token, you can set permissions for Common Models that will apply to the account that is going to be linked. Any model or field not specified in link token payload will default to existing settings. - +
+
+ +Returns a list of models and actions available for an account. +
+
+#### 🔌 Usage +
-**language:** `typing.Optional[EndUserDetailsRequestLanguage]` +
+
-The following subset of IETF language tags can be used to configure localization. +```python +from merge import Merge -* `en` - en -* `de` - de - +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.file_storage.available_actions.retrieve() + +``` +
+
+#### ⚙️ Parameters +
-**are_syncs_disabled:** `typing.Optional[bool]` — The boolean that indicates whether initial, periodic, and force syncs will be disabled. +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+
+
+ + + + +
+## FileStorage Scopes +
client.file_storage.scopes.default_scopes_retrieve()
-**integration_specific_config:** `typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]` — A JSON object containing integration-specific configuration options. - +#### 📝 Description + +
+
+ +
+
+ +Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). +
+
+#### 🔌 Usage +
-**completed_account_initial_screen:** `typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen]` +
+
-When creating a Link token, you can specifiy the initial screen of Linking Flow for a completed Linked Account. +```python +from merge import Merge -* `SELECTIVE_SYNC` - SELECTIVE_SYNC - +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.file_storage.scopes.default_scopes_retrieve() + +``` +
+
+#### ⚙️ Parameters + +
+
+
@@ -32147,8 +32647,7 @@ When creating a Link token, you can specifiy the initial screen of Linking Flow
-## Hris LinkedAccounts -
client.hris.linked_accounts.list(...) +
client.file_storage.scopes.linked_account_scopes_retrieve()
@@ -32160,7 +32659,7 @@ When creating a Link token, you can specifiy the initial screen of Linking Flow
-List linked accounts for your organization. +Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes).
@@ -32176,29 +32675,12 @@ List linked accounts for your organization. ```python from merge import Merge -from merge.resources.hris.resources.linked_accounts import ( - LinkedAccountsListRequestCategory, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.linked_accounts.list( - category=LinkedAccountsListRequestCategory.ACCOUNTING, - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_user_email_address="end_user_email_address", - end_user_organization_name="end_user_organization_name", - end_user_origin_id="end_user_origin_id", - end_user_origin_ids="end_user_origin_ids", - id="id", - ids="ids", - include_duplicates=True, - integration_name="integration_name", - is_test_account="is_test_account", - page_size=1, - status="status", -) +client.file_storage.scopes.linked_account_scopes_retrieve() ``` @@ -32214,73 +32696,99 @@ client.hris.linked_accounts.list(
-**category:** `typing.Optional[LinkedAccountsListRequestCategory]` - -Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing` - -* `hris` - hris -* `ats` - ats -* `accounting` - accounting -* `ticketing` - ticketing -* `crm` - crm -* `mktg` - mktg -* `filestorage` - filestorage +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**cursor:** `typing.Optional[str]` — The pagination cursor value. -
+
+
client.file_storage.scopes.linked_account_scopes_create(...)
-**end_user_email_address:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given email address. - -
-
+#### 📝 Description
-**end_user_organization_name:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given organization name. - -
-
-
-**end_user_origin_id:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given origin ID. - +Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes) +
+
+#### 🔌 Usage +
-**end_user_origin_ids:** `typing.Optional[str]` — Comma-separated list of EndUser origin IDs, making it possible to specify multiple EndUsers at once. - -
-
-
-**id:** `typing.Optional[str]` - +```python +from merge import Merge +from merge.resources.file_storage import ( + FieldPermissionDeserializerRequest, + IndividualCommonModelScopeDeserializerRequest, + ModelPermissionDeserializerRequest, +) + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.file_storage.scopes.linked_account_scopes_create( + common_models=[ + IndividualCommonModelScopeDeserializerRequest( + model_name="Employee", + model_permissions={ + "READ": ModelPermissionDeserializerRequest( + is_enabled=True, + ), + "WRITE": ModelPermissionDeserializerRequest( + is_enabled=False, + ), + }, + field_permissions=FieldPermissionDeserializerRequest( + enabled_fields=["avatar", "home_location"], + disabled_fields=["work_location"], + ), + ), + IndividualCommonModelScopeDeserializerRequest( + model_name="Benefit", + model_permissions={ + "WRITE": ModelPermissionDeserializerRequest( + is_enabled=False, + ) + }, + ), + ], +) + +```
+ + + +#### ⚙️ Parameters
-**ids:** `typing.Optional[str]` — Comma-separated list of LinkedAccount IDs, making it possible to specify multiple LinkedAccounts at once. +
+
+ +**common_models:** `typing.Sequence[IndividualCommonModelScopeDeserializerRequest]` — The common models you want to update the scopes for
@@ -32288,43 +32796,65 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-**include_duplicates:** `typing.Optional[bool]` — If `true`, will include complete production duplicates of the account specified by the `id` query parameter in the response. `id` must be for a complete production linked account. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+
+
-
-
-**integration_name:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given integration name. -
+
+## FileStorage DeleteAccount +
client.file_storage.delete_account.delete()
-**is_test_account:** `typing.Optional[str]` — If included, will only include test linked accounts. If not included, will only include non-test linked accounts. - -
-
+#### 📝 Description
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. - +
+
+ +Delete a linked account.
+
+
+ +#### 🔌 Usage
-**status:** `typing.Optional[str]` — Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` - +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.file_storage.delete_account.delete() + +``` +
+
+#### ⚙️ Parameters + +
+
+
@@ -32340,8 +32870,8 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-## Hris Locations -
client.hris.locations.list(...) +## FileStorage Drives +
client.file_storage.drives.list(...)
@@ -32353,7 +32883,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-Returns a list of `Location` objects. +Returns a list of `Drive` objects.
@@ -32368,42 +32898,20 @@ Returns a list of `Location` objects.
```python -import datetime - from merge import Merge -from merge.resources.hris.resources.locations import ( - LocationsListRequestLocationType, - LocationsListRequestRemoteFields, - LocationsListRequestShowEnumOrigins, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.locations.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), +response = client.file_storage.drives.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - location_type=LocationsListRequestLocationType.HOME, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_fields=LocationsListRequestRemoteFields.COUNTRY, - remote_id="remote_id", - show_enum_origins=LocationsListRequestShowEnumOrigins.COUNTRY, ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -32467,19 +32975,6 @@ client.hris.locations.list(
-**location_type:** `typing.Optional[LocationsListRequestLocationType]` - -If provided, will only return locations with this location type - -* `HOME` - HOME -* `WORK` - WORK - -
-
- -
-
- **modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned.
@@ -32496,7 +32991,7 @@ If provided, will only return locations with this location type
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. +**name:** `typing.Optional[str]` — If provided, will only return drives with this name. This performs an exact match.
@@ -32504,7 +32999,7 @@ If provided, will only return locations with this location type
-**remote_fields:** `typing.Optional[LocationsListRequestRemoteFields]` — Deprecated. Use show_enum_origins. +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -32520,14 +33015,6 @@ If provided, will only return locations with this location type
-**show_enum_origins:** `typing.Optional[LocationsListRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -32540,7 +33027,7 @@ If provided, will only return locations with this location type
-
client.hris.locations.retrieve(...) +
client.file_storage.drives.retrieve(...)
@@ -32552,7 +33039,7 @@ If provided, will only return locations with this location type
-Returns a `Location` object with the given `id`. +Returns a `Drive` object with the given `id`.
@@ -32568,21 +33055,13 @@ Returns a `Location` object with the given `id`. ```python from merge import Merge -from merge.resources.hris.resources.locations import ( - LocationsRetrieveRequestRemoteFields, - LocationsRetrieveRequestShowEnumOrigins, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.locations.retrieve( +client.file_storage.drives.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, - remote_fields=LocationsRetrieveRequestRemoteFields.COUNTRY, - show_enum_origins=LocationsRetrieveRequestShowEnumOrigins.COUNTRY, ) ``` @@ -32623,22 +33102,6 @@ client.hris.locations.retrieve(
-**remote_fields:** `typing.Optional[LocationsRetrieveRequestRemoteFields]` — Deprecated. Use show_enum_origins. - -
-
- -
-
- -**show_enum_origins:** `typing.Optional[LocationsRetrieveRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -32651,8 +33114,8 @@ client.hris.locations.retrieve(
-## Hris Passthrough -
client.hris.passthrough.create(...) +## FileStorage FieldMapping +
client.file_storage.field_mapping.field_mappings_retrieve(...)
@@ -32664,7 +33127,7 @@ client.hris.locations.retrieve(
-Pull data from an endpoint not currently supported by Merge. +Get all Field Mappings for this Linked Account. Field Mappings are mappings between third-party Remote Fields and user defined Merge fields. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/).
@@ -32680,18 +33143,12 @@ Pull data from an endpoint not currently supported by Merge. ```python from merge import Merge -from merge.resources.hris import DataPassthroughRequest, MethodEnum client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.passthrough.create( - request=DataPassthroughRequest( - method=MethodEnum.GET, - path="/scooters", - ), -) +client.file_storage.field_mapping.field_mappings_retrieve() ``` @@ -32707,7 +33164,7 @@ client.hris.passthrough.create(
-**request:** `DataPassthroughRequest` +**exclude_remote_field_metadata:** `typing.Optional[bool]` — If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations.
@@ -32727,8 +33184,7 @@ client.hris.passthrough.create(
-## Hris PayGroups -
client.hris.pay_groups.list(...) +
client.file_storage.field_mapping.field_mappings_create(...)
@@ -32740,7 +33196,7 @@ client.hris.passthrough.create(
-Returns a list of `PayGroup` objects. +Create new Field Mappings that will be available after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start.
@@ -32755,33 +33211,19 @@ Returns a list of `PayGroup` objects.
```python -import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.pay_groups.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", +client.file_storage.field_mapping.field_mappings_create( + target_field_name="example_target_field_name", + target_field_description="this is a example description of the target field", + remote_field_traversal_path=["example_remote_field"], + remote_method="GET", + remote_url_path="/example-url-path", + common_model_name="ExampleCommonModel", ) ``` @@ -32798,31 +33240,7 @@ client.hris.pay_groups.list(
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. - -
-
- -
-
- -**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. - -
-
- -
-
- -**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
- -
-
- -**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**target_field_name:** `str` — The name of the target field you want this remote field to map to.
@@ -32830,7 +33248,7 @@ client.hris.pay_groups.list(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**target_field_description:** `str` — The description of the target field you want this remote field to map to.
@@ -32838,7 +33256,7 @@ client.hris.pay_groups.list(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**remote_field_traversal_path:** `typing.Sequence[typing.Any]` — The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint.
@@ -32846,7 +33264,7 @@ client.hris.pay_groups.list(
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +**remote_method:** `str` — The method of the remote endpoint where the remote field is coming from.
@@ -32854,7 +33272,7 @@ client.hris.pay_groups.list(
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +**remote_url_path:** `str` — The path of the remote endpoint where the remote field is coming from.
@@ -32862,7 +33280,7 @@ client.hris.pay_groups.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. +**common_model_name:** `str` — The name of the Common Model that the remote field corresponds to in a given category.
@@ -32870,7 +33288,7 @@ client.hris.pay_groups.list(
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +**exclude_remote_field_metadata:** `typing.Optional[bool]` — If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations.
@@ -32890,7 +33308,7 @@ client.hris.pay_groups.list(
-
client.hris.pay_groups.retrieve(...) +
client.file_storage.field_mapping.field_mappings_destroy(...)
@@ -32902,7 +33320,7 @@ client.hris.pay_groups.list(
-Returns a `PayGroup` object with the given `id`. +Deletes Field Mappings for a Linked Account. All data related to this Field Mapping will be deleted and these changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start.
@@ -32923,10 +33341,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.pay_groups.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, +client.file_storage.field_mapping.field_mappings_destroy( + field_mapping_id="field_mapping_id", ) ``` @@ -32943,23 +33359,7 @@ client.hris.pay_groups.retrieve(
-**id:** `str` - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**field_mapping_id:** `str`
@@ -32979,8 +33379,7 @@ client.hris.pay_groups.retrieve(
-## Hris PayrollRuns -
client.hris.payroll_runs.list(...) +
client.file_storage.field_mapping.field_mappings_partial_update(...)
@@ -32992,7 +33391,7 @@ client.hris.pay_groups.retrieve(
-Returns a list of `PayrollRun` objects. +Create or update existing Field Mappings for a Linked Account. Changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start.
@@ -33007,53 +33406,14 @@ Returns a list of `PayrollRun` objects.
```python -import datetime - from merge import Merge -from merge.resources.hris.resources.payroll_runs import ( - PayrollRunsListRequestRemoteFields, - PayrollRunsListRequestRunType, - PayrollRunsListRequestShowEnumOrigins, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.payroll_runs.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - ended_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - ended_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_fields=PayrollRunsListRequestRemoteFields.RUN_STATE, - remote_id="remote_id", - run_type=PayrollRunsListRequestRunType.CORRECTION, - show_enum_origins=PayrollRunsListRequestShowEnumOrigins.RUN_STATE, - started_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - started_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), +client.file_storage.field_mapping.field_mappings_partial_update( + field_mapping_id="field_mapping_id", ) ``` @@ -33070,7 +33430,7 @@ client.hris.payroll_runs.list(
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**field_mapping_id:** `str`
@@ -33078,7 +33438,7 @@ client.hris.payroll_runs.list(
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**remote_field_traversal_path:** `typing.Optional[typing.Sequence[typing.Any]]` — The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint.
@@ -33086,7 +33446,7 @@ client.hris.payroll_runs.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**remote_method:** `typing.Optional[str]` — The method of the remote endpoint where the remote field is coming from.
@@ -33094,7 +33454,7 @@ client.hris.payroll_runs.list(
-**ended_after:** `typing.Optional[dt.datetime]` — If provided, will only return payroll runs ended after this datetime. +**remote_url_path:** `typing.Optional[str]` — The path of the remote endpoint where the remote field is coming from.
@@ -33102,103 +33462,68 @@ client.hris.payroll_runs.list(
-**ended_before:** `typing.Optional[dt.datetime]` — If provided, will only return payroll runs ended before this datetime. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
- -
-
- -**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). -
-
-
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. -
+
+
client.file_storage.field_mapping.remote_fields_retrieve(...)
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
+#### 📝 Description
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. - -
-
-
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. - +Get all remote fields for a Linked Account. Remote fields are third-party fields that are accessible after initial sync if remote_data is enabled. You can use remote fields to override existing Merge fields or map a new Merge field. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/).
- -
-
- -**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. -
-
-
- -**remote_fields:** `typing.Optional[PayrollRunsListRequestRemoteFields]` — Deprecated. Use show_enum_origins. - -
-
+#### 🔌 Usage
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. - -
-
-
-**run_type:** `typing.Optional[PayrollRunsListRequestRunType]` +```python +from merge import Merge -If provided, will only return PayrollRun's with this status. Options: ('REGULAR', 'OFF_CYCLE', 'CORRECTION', 'TERMINATION', 'SIGN_ON_BONUS') +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.file_storage.field_mapping.remote_fields_retrieve() -* `REGULAR` - REGULAR -* `OFF_CYCLE` - OFF_CYCLE -* `CORRECTION` - CORRECTION -* `TERMINATION` - TERMINATION -* `SIGN_ON_BONUS` - SIGN_ON_BONUS - +``` +
+
+#### ⚙️ Parameters +
-**show_enum_origins:** `typing.Optional[PayrollRunsListRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - -
-
-
-**started_after:** `typing.Optional[dt.datetime]` — If provided, will only return payroll runs started after this datetime. +**common_models:** `typing.Optional[str]` — A comma seperated list of Common Model names. If included, will only return Remote Fields for those Common Models.
@@ -33206,7 +33531,7 @@ If provided, will only return PayrollRun's with this status. Options: ('REGULAR'
-**started_before:** `typing.Optional[dt.datetime]` — If provided, will only return payroll runs started before this datetime. +**include_example_values:** `typing.Optional[str]` — If true, will include example values, where available, for remote fields in the 3rd party platform. These examples come from active data from your customers.
@@ -33226,7 +33551,7 @@ If provided, will only return PayrollRun's with this status. Options: ('REGULAR'
-
client.hris.payroll_runs.retrieve(...) +
client.file_storage.field_mapping.target_fields_retrieve()
@@ -33238,7 +33563,7 @@ If provided, will only return PayrollRun's with this status. Options: ('REGULAR'
-Returns a `PayrollRun` object with the given `id`. +Get all organization-wide Target Fields, this will not include any Linked Account specific Target Fields. Organization-wide Target Fields are additional fields appended to the Merge Common Model for all Linked Accounts in a category. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/target-fields/).
@@ -33254,22 +33579,12 @@ Returns a `PayrollRun` object with the given `id`. ```python from merge import Merge -from merge.resources.hris.resources.payroll_runs import ( - PayrollRunsRetrieveRequestRemoteFields, - PayrollRunsRetrieveRequestShowEnumOrigins, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.payroll_runs.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, - remote_fields=PayrollRunsRetrieveRequestRemoteFields.RUN_STATE, - show_enum_origins=PayrollRunsRetrieveRequestShowEnumOrigins.RUN_STATE, -) +client.file_storage.field_mapping.target_fields_retrieve() ``` @@ -33285,46 +33600,6 @@ client.hris.payroll_runs.retrieve(
-**id:** `str` - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**remote_fields:** `typing.Optional[PayrollRunsRetrieveRequestRemoteFields]` — Deprecated. Use show_enum_origins. - -
-
- -
-
- -**show_enum_origins:** `typing.Optional[PayrollRunsRetrieveRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -33337,8 +33612,8 @@ client.hris.payroll_runs.retrieve(
-## Hris RegenerateKey -
client.hris.regenerate_key.create(...) +## FileStorage Files +
client.file_storage.files.list(...)
@@ -33350,7 +33625,7 @@ client.hris.payroll_runs.retrieve(
-Exchange remote keys. +Returns a list of `File` objects.
@@ -33371,9 +33646,14 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.regenerate_key.create( - name="Remote Deployment Key 1", +response = client.file_storage.files.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -33389,7 +33669,7 @@ client.hris.regenerate_key.create(
-**name:** `str` — The name of the remote key +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -33397,72 +33677,51 @@ client.hris.regenerate_key.create(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
- -
+
+
+**cursor:** `typing.Optional[str]` — The pagination cursor value. +
-
-## Hris SyncStatus -
client.hris.sync_status.list(...)
-#### 📝 Description - -
-
+**drive_id:** `typing.Optional[str]` — Specifying a drive id returns only the files in that drive. Specifying null returns only the files outside the top-level drive. + +
+
-Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). -
-
+**expand:** `typing.Optional[ + typing.Union[ + FilesListRequestExpandItem, typing.Sequence[FilesListRequestExpandItem] + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +
-#### 🔌 Usage -
-
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.hris.sync_status.list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - page_size=1, -) - -``` -
-
+**folder_id:** `typing.Optional[str]` — Specifying a folder id returns only the files in that folder. Specifying null returns only the files in root directory. +
-#### ⚙️ Parameters -
-
-
- -**cursor:** `typing.Optional[str]` — The pagination cursor value. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -33470,7 +33729,7 @@ client.hris.sync_status.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -33478,65 +33737,67 @@ client.hris.sync_status.list(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
-
-
+
+
+**mime_type:** `typing.Optional[str]` — If provided, will only return files with these mime_types. Multiple values can be separated by commas. +
-
-## Hris ForceResync -
client.hris.force_resync.sync_status_resync_create()
-#### 📝 Description +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. + +
+
+**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. + +
+
+
-Force re-sync of all models. This endpoint is available for monthly, quarterly, and highest sync frequency customers on the Professional or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. Force re-syncs can also be triggered manually in the Merge Dashboard and is available for all customers. -
-
+**name:** `typing.Optional[str]` — If provided, will only return files with this name. This performs an exact match. + -#### 🔌 Usage -
+**order_by:** `typing.Optional[FilesListRequestOrderBy]` — Overrides the default ordering for this endpoint. Possible values include: created_at, -created_at, modified_at, -modified_at. + +
+
+
-```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.hris.force_resync.sync_status_resync_create() - -``` -
-
+**page_size:** `typing.Optional[int]` — Number of results to return per page. + -#### ⚙️ Parameters -
+**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. + +
+
+
@@ -33552,8 +33813,7 @@ client.hris.force_resync.sync_status_resync_create()
-## Hris Teams -
client.hris.teams.list(...) +
client.file_storage.files.create(...)
@@ -33565,7 +33825,7 @@ client.hris.force_resync.sync_status_resync_create()
-Returns a list of `Team` objects. +Creates a `File` object with the given values.
@@ -33580,34 +33840,15 @@ Returns a list of `Team` objects.
```python -import datetime - from merge import Merge +from merge.resources.file_storage import FileRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.teams.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - parent_team_id="parent_team_id", - remote_id="remote_id", +client.file_storage.files.create( + model=FileRequest(), ) ``` @@ -33624,7 +33865,7 @@ client.hris.teams.list(
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**model:** `FileRequest`
@@ -33632,7 +33873,7 @@ client.hris.teams.list(
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response.
@@ -33640,7 +33881,7 @@ client.hris.teams.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously.
@@ -33648,47 +33889,70 @@ client.hris.teams.list(
-**expand:** `typing.Optional[typing.Literal["parent_team"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+
+
-
-
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). -
+
+
client.file_storage.files.retrieve(...)
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
+#### 📝 Description
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - +
+
+ +Returns a `File` object with the given `id`. +
+
+#### 🔌 Usage +
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. - +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.file_storage.files.retrieve( + id="id", +) + +``` +
+
+#### ⚙️ Parameters +
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +
+
+ +**id:** `str`
@@ -33696,7 +33960,12 @@ client.hris.teams.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. +**expand:** `typing.Optional[ + typing.Union[ + FilesRetrieveRequestExpandItem, + typing.Sequence[FilesRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -33704,7 +33973,7 @@ client.hris.teams.list(
-**parent_team_id:** `typing.Optional[str]` — If provided, will only return teams with this parent team. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -33712,7 +33981,7 @@ client.hris.teams.list(
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -33732,7 +34001,7 @@ client.hris.teams.list(
-
client.hris.teams.retrieve(...) +
client.file_storage.files.download_request_meta_retrieve(...)
@@ -33744,7 +34013,7 @@ client.hris.teams.list(
-Returns a `Team` object with the given `id`. +Returns metadata to construct an authenticated file download request for a singular file, allowing you to download file directly from the third-party.
@@ -33765,10 +34034,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.teams.retrieve( +client.file_storage.files.download_request_meta_retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) ``` @@ -33793,23 +34060,7 @@ client.hris.teams.retrieve(
-**expand:** `typing.Optional[typing.Literal["parent_team"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**mime_type:** `typing.Optional[str]` — If provided, specifies the export format of the file to be downloaded. For information on supported export formats, please refer to our export format help center article.
@@ -33829,8 +34080,7 @@ client.hris.teams.retrieve(
-## Hris TimeOff -
client.hris.time_off.list(...) +
client.file_storage.files.download_request_meta_list(...)
@@ -33842,7 +34092,7 @@ client.hris.teams.retrieve(
-Returns a list of `TimeOff` objects. +Returns metadata to construct authenticated file download requests, allowing you to download files directly from the third-party.
@@ -33857,60 +34107,20 @@ Returns a list of `TimeOff` objects.
```python -import datetime - from merge import Merge -from merge.resources.hris.resources.time_off import ( - TimeOffListRequestExpand, - TimeOffListRequestRemoteFields, - TimeOffListRequestRequestType, - TimeOffListRequestShowEnumOrigins, - TimeOffListRequestStatus, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.time_off.list( - approver_id="approver_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), +response = client.file_storage.files.download_request_meta_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - employee_id="employee_id", - ended_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - ended_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - expand=TimeOffListRequestExpand.APPROVER, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_fields=TimeOffListRequestRemoteFields.REQUEST_TYPE, - remote_id="remote_id", - request_type=TimeOffListRequestRequestType.BEREAVEMENT, - show_enum_origins=TimeOffListRequestShowEnumOrigins.REQUEST_TYPE, - started_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - started_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - status=TimeOffListRequestStatus.APPROVED, ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -33926,7 +34136,7 @@ client.hris.time_off.list(
-**approver_id:** `typing.Optional[str]` — If provided, will only return time off for this approver. +**created_after:** `typing.Optional[str]` — If provided, will only return objects created after this datetime.
@@ -33934,7 +34144,7 @@ client.hris.time_off.list(
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**created_before:** `typing.Optional[str]` — If provided, will only return objects created before this datetime.
@@ -33942,7 +34152,7 @@ client.hris.time_off.list(
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -33950,7 +34160,7 @@ client.hris.time_off.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -33958,7 +34168,7 @@ client.hris.time_off.list(
-**employee_id:** `typing.Optional[str]` — If provided, will only return time off for this employee. +**mime_types:** `typing.Optional[str]` — A comma-separated list of preferred MIME types in order of priority. If supported by the third-party provider, the file(s) will be returned in the first supported MIME type from the list. The default MIME type is PDF. To see supported MIME types by file type, refer to our export format help center article.
@@ -33966,7 +34176,7 @@ client.hris.time_off.list(
-**ended_after:** `typing.Optional[dt.datetime]` — If provided, will only return employees that ended after this datetime. +**modified_after:** `typing.Optional[str]` — If provided, will only return objects modified after this datetime.
@@ -33974,7 +34184,7 @@ client.hris.time_off.list(
-**ended_before:** `typing.Optional[dt.datetime]` — If provided, will only return time-offs that ended before this datetime. +**modified_before:** `typing.Optional[str]` — If provided, will only return objects modified before this datetime.
@@ -33982,7 +34192,7 @@ client.hris.time_off.list(
-**expand:** `typing.Optional[TimeOffListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**order_by:** `typing.Optional[FilesDownloadRequestMetaListRequestOrderBy]` — Overrides the default ordering for this endpoint. Possible values include: created_at, -created_at, modified_at, -modified_at.
@@ -33990,7 +34200,7 @@ client.hris.time_off.list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -33998,23 +34208,137 @@ client.hris.time_off.list(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
+ + + + +
+
client.file_storage.files.meta_post_retrieve()
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +#### 📝 Description + +
+
+ +
+
+ +Returns metadata for `FileStorageFile` POSTs. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.file_storage.files.meta_post_retrieve() + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+
+
+ +
+
+
+ +## FileStorage Folders +
client.file_storage.folders.list(...)
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +#### 📝 Description + +
+
+ +
+
+ +Returns a list of `Folder` objects. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +response = client.file_storage.folders.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", +) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -34022,7 +34346,7 @@ client.hris.time_off.list(
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -34030,7 +34354,7 @@ client.hris.time_off.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -34038,7 +34362,7 @@ client.hris.time_off.list(
-**remote_fields:** `typing.Optional[TimeOffListRequestRemoteFields]` — Deprecated. Use show_enum_origins. +**drive_id:** `typing.Optional[str]` — If provided, will only return folders in this drive.
@@ -34046,7 +34370,12 @@ client.hris.time_off.list(
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +**expand:** `typing.Optional[ + typing.Union[ + FoldersListRequestExpandItem, + typing.Sequence[FoldersListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -34054,16 +34383,15 @@ client.hris.time_off.list(
-**request_type:** `typing.Optional[TimeOffListRequestRequestType]` +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + +
+
-If provided, will only return TimeOff with this request type. Options: ('VACATION', 'SICK', 'PERSONAL', 'JURY_DUTY', 'VOLUNTEER', 'BEREAVEMENT') +
+
-* `VACATION` - VACATION -* `SICK` - SICK -* `PERSONAL` - PERSONAL -* `JURY_DUTY` - JURY_DUTY -* `VOLUNTEER` - VOLUNTEER -* `BEREAVEMENT` - BEREAVEMENT +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -34071,7 +34399,7 @@ If provided, will only return TimeOff with this request type. Options: ('VACATIO
-**show_enum_origins:** `typing.Optional[TimeOffListRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -34079,7 +34407,7 @@ If provided, will only return TimeOff with this request type. Options: ('VACATIO
-**started_after:** `typing.Optional[dt.datetime]` — If provided, will only return time-offs that started after this datetime. +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned.
@@ -34087,7 +34415,7 @@ If provided, will only return TimeOff with this request type. Options: ('VACATIO
-**started_before:** `typing.Optional[dt.datetime]` — If provided, will only return time-offs that started before this datetime. +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned.
@@ -34095,15 +34423,31 @@ If provided, will only return TimeOff with this request type. Options: ('VACATIO
-**status:** `typing.Optional[TimeOffListRequestStatus]` +**name:** `typing.Optional[str]` — If provided, will only return folders with this name. This performs an exact match. + +
+
-If provided, will only return TimeOff with this status. Options: ('REQUESTED', 'APPROVED', 'DECLINED', 'CANCELLED', 'DELETED') +
+
-* `REQUESTED` - REQUESTED -* `APPROVED` - APPROVED -* `DECLINED` - DECLINED -* `CANCELLED` - CANCELLED -* `DELETED` - DELETED +**page_size:** `typing.Optional[int]` — Number of results to return per page. + +
+
+ +
+
+ +**parent_folder_id:** `typing.Optional[str]` — If provided, will only return folders in this parent folder. If null, will return folders in root directory. + +
+
+ +
+
+ +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -34123,7 +34467,7 @@ If provided, will only return TimeOff with this status. Options: ('REQUESTED', '
-
client.hris.time_off.create(...) +
client.file_storage.folders.create(...)
@@ -34135,7 +34479,7 @@ If provided, will only return TimeOff with this status. Options: ('REQUESTED', '
-Creates a `TimeOff` object with the given values. +Creates a `Folder` object with the given values.
@@ -34151,16 +34495,14 @@ Creates a `TimeOff` object with the given values. ```python from merge import Merge -from merge.resources.hris import TimeOffRequest +from merge.resources.file_storage import FolderRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.time_off.create( - is_debug_mode=True, - run_async=True, - model=TimeOffRequest(), +client.file_storage.folders.create( + model=FolderRequest(), ) ``` @@ -34177,7 +34519,7 @@ client.hris.time_off.create(
-**model:** `TimeOffRequest` +**model:** `FolderRequest`
@@ -34213,7 +34555,7 @@ client.hris.time_off.create(
-
client.hris.time_off.retrieve(...) +
client.file_storage.folders.retrieve(...)
@@ -34225,7 +34567,7 @@ client.hris.time_off.create(
-Returns a `TimeOff` object with the given `id`. +Returns a `Folder` object with the given `id`.
@@ -34241,23 +34583,13 @@ Returns a `TimeOff` object with the given `id`. ```python from merge import Merge -from merge.resources.hris.resources.time_off import ( - TimeOffRetrieveRequestExpand, - TimeOffRetrieveRequestRemoteFields, - TimeOffRetrieveRequestShowEnumOrigins, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.time_off.retrieve( +client.file_storage.folders.retrieve( id="id", - expand=TimeOffRetrieveRequestExpand.APPROVER, - include_remote_data=True, - include_shell_data=True, - remote_fields=TimeOffRetrieveRequestRemoteFields.REQUEST_TYPE, - show_enum_origins=TimeOffRetrieveRequestShowEnumOrigins.REQUEST_TYPE, ) ``` @@ -34282,7 +34614,12 @@ client.hris.time_off.retrieve(
-**expand:** `typing.Optional[TimeOffRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**expand:** `typing.Optional[ + typing.Union[ + FoldersRetrieveRequestExpandItem, + typing.Sequence[FoldersRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -34306,19 +34643,64 @@ client.hris.time_off.retrieve(
-**remote_fields:** `typing.Optional[TimeOffRetrieveRequestRemoteFields]` — Deprecated. Use show_enum_origins. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
+ + + +
+ +
client.file_storage.folders.meta_post_retrieve()
-**show_enum_origins:** `typing.Optional[TimeOffRetrieveRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - +#### 📝 Description + +
+
+ +
+
+ +Returns metadata for `FileStorageFolder` POSTs. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.file_storage.folders.meta_post_retrieve() + +``` +
+
+#### ⚙️ Parameters + +
+
+
@@ -34334,7 +34716,8 @@ client.hris.time_off.retrieve(
-
client.hris.time_off.meta_post_retrieve() +## FileStorage GenerateKey +
client.file_storage.generate_key.create(...)
@@ -34346,7 +34729,7 @@ client.hris.time_off.retrieve(
-Returns metadata for `TimeOff` POSTs. +Create a remote key.
@@ -34367,7 +34750,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.time_off.meta_post_retrieve() +client.file_storage.generate_key.create( + name="Remote Deployment Key 1", +) ``` @@ -34383,6 +34768,14 @@ client.hris.time_off.meta_post_retrieve()
+**name:** `str` — The name of the remote key + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -34395,8 +34788,8 @@ client.hris.time_off.meta_post_retrieve()
-## Hris TimeOffBalances -
client.hris.time_off_balances.list(...) +## FileStorage Groups +
client.file_storage.groups.list(...)
@@ -34408,7 +34801,7 @@ client.hris.time_off.meta_post_retrieve()
-Returns a list of `TimeOffBalance` objects. +Returns a list of `Group` objects.
@@ -34423,39 +34816,20 @@ Returns a list of `TimeOffBalance` objects.
```python -import datetime - from merge import Merge -from merge.resources.hris.resources.time_off_balances import ( - TimeOffBalancesListRequestPolicyType, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.time_off_balances.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), +response = client.file_storage.groups.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - employee_id="employee_id", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - policy_type=TimeOffBalancesListRequestPolicyType.BEREAVEMENT, - remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -34495,15 +34869,12 @@ client.hris.time_off_balances.list(
-**employee_id:** `typing.Optional[str]` — If provided, will only return time off balances for this employee. - -
-
- -
-
- -**expand:** `typing.Optional[typing.Literal["employee"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**expand:** `typing.Optional[ + typing.Union[ + GroupsListRequestExpandItem, + typing.Sequence[GroupsListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -34551,32 +34922,7 @@ client.hris.time_off_balances.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. - -
-
- -
-
- -**policy_type:** `typing.Optional[TimeOffBalancesListRequestPolicyType]` - -If provided, will only return TimeOffBalance with this policy type. Options: ('VACATION', 'SICK', 'PERSONAL', 'JURY_DUTY', 'VOLUNTEER', 'BEREAVEMENT') - -* `VACATION` - VACATION -* `SICK` - SICK -* `PERSONAL` - PERSONAL -* `JURY_DUTY` - JURY_DUTY -* `VOLUNTEER` - VOLUNTEER -* `BEREAVEMENT` - BEREAVEMENT - -
-
- -
-
- -**remote_fields:** `typing.Optional[typing.Literal["policy_type"]]` — Deprecated. Use show_enum_origins. +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -34592,14 +34938,6 @@ If provided, will only return TimeOffBalance with this policy type. Options: ('V
-**show_enum_origins:** `typing.Optional[typing.Literal["policy_type"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -34612,7 +34950,7 @@ If provided, will only return TimeOffBalance with this policy type. Options: ('V
-
client.hris.time_off_balances.retrieve(...) +
client.file_storage.groups.retrieve(...)
@@ -34624,7 +34962,7 @@ If provided, will only return TimeOffBalance with this policy type. Options: ('V
-Returns a `TimeOffBalance` object with the given `id`. +Returns a `Group` object with the given `id`.
@@ -34645,10 +34983,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.time_off_balances.retrieve( +client.file_storage.groups.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) ``` @@ -34673,7 +35009,12 @@ client.hris.time_off_balances.retrieve(
-**expand:** `typing.Optional[typing.Literal["employee"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**expand:** `typing.Optional[ + typing.Union[ + GroupsRetrieveRequestExpandItem, + typing.Sequence[GroupsRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -34697,22 +35038,6 @@ client.hris.time_off_balances.retrieve(
-**remote_fields:** `typing.Optional[typing.Literal["policy_type"]]` — Deprecated. Use show_enum_origins. - -
-
- -
-
- -**show_enum_origins:** `typing.Optional[typing.Literal["policy_type"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -34725,8 +35050,8 @@ client.hris.time_off_balances.retrieve(
-## Hris TimesheetEntries -
client.hris.timesheet_entries.list(...) +## FileStorage Issues +
client.file_storage.issues.list(...)
@@ -34738,7 +35063,7 @@ client.hris.time_off_balances.retrieve(
-Returns a list of `TimesheetEntry` objects. +Gets all issues for Organization.
@@ -34753,51 +35078,20 @@ Returns a list of `TimesheetEntry` objects.
```python -import datetime - from merge import Merge -from merge.resources.hris.resources.timesheet_entries import ( - TimesheetEntriesListRequestOrderBy, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.timesheet_entries.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), +response = client.file_storage.issues.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - employee_id="employee_id", - ended_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - ended_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - order_by=TimesheetEntriesListRequestOrderBy.START_TIME_DESCENDING, - page_size=1, - remote_id="remote_id", - started_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - started_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -34813,15 +35107,7 @@ client.hris.timesheet_entries.list(
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. - -
-
- -
-
- -**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**account_token:** `typing.Optional[str]`
@@ -34837,15 +35123,7 @@ client.hris.timesheet_entries.list(
-**employee_id:** `typing.Optional[str]` — If provided, will only return timesheet entries for this employee. - -
-
- -
-
- -**ended_after:** `typing.Optional[dt.datetime]` — If provided, will only return timesheet entries ended after this datetime. +**end_date:** `typing.Optional[str]` — If included, will only include issues whose most recent action occurred before this time
@@ -34853,7 +35131,7 @@ client.hris.timesheet_entries.list(
-**ended_before:** `typing.Optional[dt.datetime]` — If provided, will only return timesheet entries ended before this datetime. +**end_user_organization_name:** `typing.Optional[str]`
@@ -34861,7 +35139,7 @@ client.hris.timesheet_entries.list(
-**expand:** `typing.Optional[typing.Literal["employee"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**first_incident_time_after:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose first incident time was after this datetime.
@@ -34869,7 +35147,7 @@ client.hris.timesheet_entries.list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**first_incident_time_before:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose first incident time was before this datetime.
@@ -34877,7 +35155,7 @@ client.hris.timesheet_entries.list(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**include_muted:** `typing.Optional[str]` — If true, will include muted issues
@@ -34885,7 +35163,7 @@ client.hris.timesheet_entries.list(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**integration_name:** `typing.Optional[str]`
@@ -34893,7 +35171,7 @@ client.hris.timesheet_entries.list(
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +**last_incident_time_after:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose last incident time was after this datetime.
@@ -34901,7 +35179,7 @@ client.hris.timesheet_entries.list(
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +**last_incident_time_before:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose last incident time was before this datetime.
@@ -34909,7 +35187,7 @@ client.hris.timesheet_entries.list(
-**order_by:** `typing.Optional[TimesheetEntriesListRequestOrderBy]` — Overrides the default ordering for this endpoint. Possible values include: start_time, -start_time. +**linked_account_id:** `typing.Optional[str]` — If provided, will only include issues pertaining to the linked account passed in.
@@ -34917,7 +35195,7 @@ client.hris.timesheet_entries.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -34925,7 +35203,7 @@ client.hris.timesheet_entries.list(
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +**start_date:** `typing.Optional[str]` — If included, will only include issues whose most recent action occurred after this time
@@ -34933,15 +35211,12 @@ client.hris.timesheet_entries.list(
-**started_after:** `typing.Optional[dt.datetime]` — If provided, will only return timesheet entries started after this datetime. - -
-
+**status:** `typing.Optional[IssuesListRequestStatus]` -
-
+Status of the issue. Options: ('ONGOING', 'RESOLVED') -**started_before:** `typing.Optional[dt.datetime]` — If provided, will only return timesheet entries started before this datetime. +* `ONGOING` - ONGOING +* `RESOLVED` - RESOLVED
@@ -34961,7 +35236,7 @@ client.hris.timesheet_entries.list(
-
client.hris.timesheet_entries.create(...) +
client.file_storage.issues.retrieve(...)
@@ -34973,7 +35248,7 @@ client.hris.timesheet_entries.list(
-Creates a `TimesheetEntry` object with the given values. +Get a specific issue.
@@ -34989,16 +35264,13 @@ Creates a `TimesheetEntry` object with the given values. ```python from merge import Merge -from merge.resources.hris import TimesheetEntryRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.timesheet_entries.create( - is_debug_mode=True, - run_async=True, - model=TimesheetEntryRequest(), +client.file_storage.issues.retrieve( + id="id", ) ``` @@ -35015,23 +35287,7 @@ client.hris.timesheet_entries.create(
-**model:** `TimesheetEntryRequest` - -
-
- -
-
- -**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. - -
-
- -
-
- -**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. +**id:** `str`
@@ -35051,7 +35307,8 @@ client.hris.timesheet_entries.create(
-
client.hris.timesheet_entries.retrieve(...) +## FileStorage LinkToken +
client.file_storage.link_token.create(...)
@@ -35063,7 +35320,7 @@ client.hris.timesheet_entries.create(
-Returns a `TimesheetEntry` object with the given `id`. +Creates a link token to be used when linking a new end user.
@@ -35079,15 +35336,17 @@ Returns a `TimesheetEntry` object with the given `id`. ```python from merge import Merge +from merge.resources.file_storage import CategoriesEnum client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.timesheet_entries.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, +client.file_storage.link_token.create( + end_user_email_address="example@gmail.com", + end_user_organization_name="Test Organization", + end_user_origin_id="12345", + categories=[CategoriesEnum.HRIS, CategoriesEnum.ATS], ) ``` @@ -35104,7 +35363,7 @@ client.hris.timesheet_entries.retrieve(
-**id:** `str` +**end_user_email_address:** `str` — Your end user's email address. This is purely for identification purposes - setting this value will not cause any emails to be sent.
@@ -35112,7 +35371,7 @@ client.hris.timesheet_entries.retrieve(
-**expand:** `typing.Optional[typing.Literal["employee"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**end_user_organization_name:** `str` — Your end user's organization.
@@ -35120,7 +35379,7 @@ client.hris.timesheet_entries.retrieve(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**end_user_origin_id:** `str` — This unique identifier typically represents the ID for your end user in your product's database. This value must be distinct from other Linked Accounts' unique identifiers.
@@ -35128,7 +35387,7 @@ client.hris.timesheet_entries.retrieve(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**categories:** `typing.Sequence[CategoriesEnum]` — The integration categories to show in Merge Link.
@@ -35136,64 +35395,87 @@ client.hris.timesheet_entries.retrieve(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**integration:** `typing.Optional[str]` — The slug of a specific pre-selected integration for this linking flow token. For examples of slugs, see https://docs.merge.dev/guides/merge-link/single-integration/.
- -
+
+
+**link_expiry_mins:** `typing.Optional[int]` — An integer number of minutes between [30, 720 or 10080 if for a Magic Link URL] for how long this token is valid. Defaults to 30. +
-
-
client.hris.timesheet_entries.meta_post_retrieve()
-#### 📝 Description +**should_create_magic_link_url:** `typing.Optional[bool]` — Whether to generate a Magic Link URL. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. + +
+
+**hide_admin_magic_link:** `typing.Optional[bool]` — Whether to generate a Magic Link URL on the Admin Needed screen during the linking flow. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. + +
+
+
-Returns metadata for `TimesheetEntry` POSTs. -
-
+**common_models:** `typing.Optional[typing.Sequence[CommonModelScopesBodyRequest]]` — An array of objects to specify the models and fields that will be disabled for a given Linked Account. Each object uses model_id, enabled_actions, and disabled_fields to specify the model, method, and fields that are scoped for a given Linked Account. + -#### 🔌 Usage -
+**category_common_model_scopes:** `typing.Optional[ + typing.Dict[ + str, + typing.Optional[ + typing.Sequence[IndividualCommonModelScopeDeserializerRequest] + ], + ] +]` — When creating a Link Token, you can set permissions for Common Models that will apply to the account that is going to be linked. Any model or field not specified in link token payload will default to existing settings. + +
+
+
-```python -from merge import Merge +**language:** `typing.Optional[EndUserDetailsRequestLanguage]` -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.hris.timesheet_entries.meta_post_retrieve() +The following subset of IETF language tags can be used to configure localization. -``` +* `en` - en +* `de` - de +
+ +
+
+ +**are_syncs_disabled:** `typing.Optional[bool]` — The boolean that indicates whether initial, periodic, and force syncs will be disabled. +
-#### ⚙️ Parameters -
+**integration_specific_config:** `typing.Optional[typing.Dict[str, typing.Any]]` — A JSON object containing integration-specific configuration options. + +
+
+
@@ -35209,8 +35491,8 @@ client.hris.timesheet_entries.meta_post_retrieve()
-## Hris WebhookReceivers -
client.hris.webhook_receivers.list() +## FileStorage LinkedAccounts +
client.file_storage.linked_accounts.list(...)
@@ -35222,7 +35504,7 @@ client.hris.timesheet_entries.meta_post_retrieve()
-Returns a list of `WebhookReceiver` objects. +List linked accounts for your organization.
@@ -35243,7 +35525,14 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.webhook_receivers.list() +response = client.file_storage.linked_accounts.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", +) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -35259,71 +35548,97 @@ client.hris.webhook_receivers.list()
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**category:** `typing.Optional[LinkedAccountsListRequestCategory]` + +Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing` + +* `hris` - hris +* `ats` - ats +* `accounting` - accounting +* `ticketing` - ticketing +* `crm` - crm +* `mktg` - mktg +* `filestorage` - filestorage
- -
+
+
+**cursor:** `typing.Optional[str]` — The pagination cursor value. +
-
-
client.hris.webhook_receivers.create(...)
-#### 📝 Description +**end_user_email_address:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given email address. + +
+
+**end_user_organization_name:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given organization name. + +
+
+
-Creates a `WebhookReceiver` object with the given values. -
-
+**end_user_origin_id:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given origin ID. + -#### 🔌 Usage -
+**end_user_origin_ids:** `typing.Optional[str]` — Comma-separated list of EndUser origin IDs, making it possible to specify multiple EndUsers at once. + +
+
+
-```python -from merge import Merge +**id:** `typing.Optional[str]` + +
+
-client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.hris.webhook_receivers.create( - event="event", - is_active=True, -) +
+
-``` +**ids:** `typing.Optional[str]` — Comma-separated list of LinkedAccount IDs, making it possible to specify multiple LinkedAccounts at once. +
+ +
+
+ +**include_duplicates:** `typing.Optional[bool]` — If `true`, will include complete production duplicates of the account specified by the `id` query parameter in the response. `id` must be for a complete production linked account. +
-#### ⚙️ Parameters -
+**integration_name:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given integration name. + +
+
+
-**event:** `str` +**is_test_account:** `typing.Optional[str]` — If included, will only include test linked accounts. If not included, will only include non-test linked accounts.
@@ -35331,7 +35646,7 @@ client.hris.webhook_receivers.create(
-**is_active:** `bool` +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -35339,7 +35654,7 @@ client.hris.webhook_receivers.create(
-**key:** `typing.Optional[str]` +**status:** `typing.Optional[str]` — Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED`
@@ -35359,8 +35674,8 @@ client.hris.webhook_receivers.create(
-## Knowledgebase AccountDetails -
client.knowledgebase.account_details.retrieve() +## FileStorage Passthrough +
client.file_storage.passthrough.create(...)
@@ -35372,7 +35687,7 @@ client.hris.webhook_receivers.create(
-Get details for a linked account. +Pull data from an endpoint not currently supported by Merge.
@@ -35388,12 +35703,18 @@ Get details for a linked account. ```python from merge import Merge +from merge.resources.file_storage import DataPassthroughRequest, MethodEnum client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.knowledgebase.account_details.retrieve() +client.file_storage.passthrough.create( + request=DataPassthroughRequest( + method=MethodEnum.GET, + path="/scooters", + ), +) ``` @@ -35409,6 +35730,14 @@ client.knowledgebase.account_details.retrieve()
+**request:** `DataPassthroughRequest` + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -35421,8 +35750,8 @@ client.knowledgebase.account_details.retrieve()
-## Knowledgebase AccountToken -
client.knowledgebase.account_token.retrieve(...) +## FileStorage RegenerateKey +
client.file_storage.regenerate_key.create(...)
@@ -35434,7 +35763,7 @@ client.knowledgebase.account_details.retrieve()
-Returns the account token for the end user with the provided public token. +Exchange remote keys.
@@ -35455,8 +35784,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.knowledgebase.account_token.retrieve( - public_token="public_token", +client.file_storage.regenerate_key.create( + name="Remote Deployment Key 1", ) ``` @@ -35473,7 +35802,7 @@ client.knowledgebase.account_token.retrieve(
-**public_token:** `str` +**name:** `str` — The name of the remote key
@@ -35493,8 +35822,8 @@ client.knowledgebase.account_token.retrieve(
-## Knowledgebase Articles -
client.knowledgebase.articles.list(...) +## FileStorage SyncStatus +
client.file_storage.sync_status.list(...)
@@ -35506,7 +35835,7 @@ client.knowledgebase.account_token.retrieve(
-Returns a list of `Article` objects. +Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses).
@@ -35521,44 +35850,20 @@ Returns a list of `Article` objects.
```python -import datetime - from merge import Merge -from merge.resources.knowledgebase.resources.articles import ( - ArticlesListRequestExpand, - ArticlesListRequestType, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.knowledgebase.articles.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), +response = client.file_storage.sync_status.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=ArticlesListRequestExpand.ATTACHMENTS, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - parent_article_id="parent_article_id", - parent_container_id="parent_container_id", - remote_id="remote_id", - root_container_id="root_container_id", - status="status", - type=ArticlesListRequestType.EMPTY, ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -35574,7 +35879,7 @@ client.knowledgebase.articles.list(
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -35582,7 +35887,7 @@ client.knowledgebase.articles.list(
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -35590,115 +35895,65 @@ client.knowledgebase.articles.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
- -
-
- -**expand:** `typing.Optional[ArticlesListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. -
-
-
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). -
+
+## FileStorage ForceResync +
client.file_storage.force_resync.sync_status_resync_create()
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
+#### 📝 Description
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
-
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. - +Force re-sync of all models. This endpoint is available for monthly, quarterly, and highest sync frequency customers on the Professional or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. Force re-syncs can also be triggered manually in the Merge Dashboard and is available for all customers.
- -
-
- -**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. -
-
-
- -**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. - -
-
+#### 🔌 Usage
-**parent_article_id:** `typing.Optional[str]` — If provided, will only return sub articles of the parent_article_id. - -
-
-
-**parent_container_id:** `typing.Optional[str]` — If provided, will only return sub articles of the parent_container_id. - -
-
+```python +from merge import Merge -
-
+client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.file_storage.force_resync.sync_status_resync_create() -**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. - +```
- -
-
- -**root_container_id:** `typing.Optional[str]` — If provided, will only return sub articles of the root_container_id. -
-
-
- -**status:** `typing.Optional[str]` — If provided, will only return articles of the given status; multiple statuses can be separated by commas. - -
-
+#### ⚙️ Parameters
-**type:** `typing.Optional[ArticlesListRequestType]` — If provided, will only return articles of the given type. - -
-
-
@@ -35714,7 +35969,8 @@ client.knowledgebase.articles.list(
-
client.knowledgebase.articles.retrieve(...) +## FileStorage Users +
client.file_storage.users.list(...)
@@ -35726,7 +35982,7 @@ client.knowledgebase.articles.list(
-Returns an `Article` object with the given `id`. +Returns a list of `User` objects.
@@ -35742,20 +35998,19 @@ Returns an `Article` object with the given `id`. ```python from merge import Merge -from merge.resources.knowledgebase.resources.articles import ( - ArticlesRetrieveRequestExpand, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.knowledgebase.articles.retrieve( - id="id", - expand=ArticlesRetrieveRequestExpand.ATTACHMENTS, - include_remote_data=True, - include_shell_data=True, +response = client.file_storage.users.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -35771,7 +36026,7 @@ client.knowledgebase.articles.retrieve(
-**id:** `str` +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -35779,7 +36034,7 @@ client.knowledgebase.articles.retrieve(
-**expand:** `typing.Optional[ArticlesRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -35787,7 +36042,7 @@ client.knowledgebase.articles.retrieve(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -35795,7 +36050,7 @@ client.knowledgebase.articles.retrieve(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -35803,75 +36058,55 @@ client.knowledgebase.articles.retrieve(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
- -
+
+
+**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +
-
-## Knowledgebase AsyncPassthrough -
client.knowledgebase.async_passthrough.create(...)
-#### 📝 Description - -
-
+**is_me:** `typing.Optional[str]` — If provided, will only return the user object for requestor. + +
+
-Asynchronously pull data from an endpoint not currently supported by Merge. -
-
+**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +
-#### 🔌 Usage -
-
-
- -```python -from merge import Merge -from merge.resources.knowledgebase import DataPassthroughRequest, MethodEnum - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.knowledgebase.async_passthrough.create( - request=DataPassthroughRequest( - method=MethodEnum.GET, - path="/scooters", - ), -) - -``` -
-
+**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +
-#### ⚙️ Parameters -
+**page_size:** `typing.Optional[int]` — Number of results to return per page. + +
+
+
-**request:** `DataPassthroughRequest` +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -35891,7 +36126,7 @@ client.knowledgebase.async_passthrough.create(
-
client.knowledgebase.async_passthrough.retrieve(...) +
client.file_storage.users.retrieve(...)
@@ -35903,7 +36138,7 @@ client.knowledgebase.async_passthrough.create(
-Retrieves data from earlier async-passthrough POST request +Returns a `User` object with the given `id`.
@@ -35924,8 +36159,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.knowledgebase.async_passthrough.retrieve( - async_passthrough_receipt_id="async_passthrough_receipt_id", +client.file_storage.users.retrieve( + id="id", ) ``` @@ -35942,7 +36177,23 @@ client.knowledgebase.async_passthrough.retrieve(
-**async_passthrough_receipt_id:** `str` +**id:** `str` + +
+
+ +
+
+ +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
+ +
+
+ +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -35962,8 +36213,8 @@ client.knowledgebase.async_passthrough.retrieve(
-## Knowledgebase Attachments -
client.knowledgebase.attachments.list(...) +## FileStorage WebhookReceivers +
client.file_storage.webhook_receivers.list()
@@ -35975,7 +36226,7 @@ client.knowledgebase.async_passthrough.retrieve(
-Returns a list of `Attachment` objects. +Returns a list of `WebhookReceiver` objects.
@@ -35990,34 +36241,13 @@ Returns a list of `Attachment` objects.
```python -import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.knowledgebase.attachments.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", -) +client.file_storage.webhook_receivers.list() ```
@@ -36033,86 +36263,6 @@ client.knowledgebase.attachments.list(
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. - -
-
- -
-
- -**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. - -
-
- -
-
- -**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
- -
-
- -**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. - -
-
- -
-
- -**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. - -
-
- -
-
- -**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. - -
-
- -
-
- -**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -36125,7 +36275,7 @@ client.knowledgebase.attachments.list(
-
client.knowledgebase.attachments.retrieve(...) +
client.file_storage.webhook_receivers.create(...)
@@ -36137,7 +36287,7 @@ client.knowledgebase.attachments.list(
-Returns an `Attachment` object with the given `id`. +Creates a `WebhookReceiver` object with the given values.
@@ -36158,10 +36308,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.knowledgebase.attachments.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, +client.file_storage.webhook_receivers.create( + event="event", + is_active=True, ) ``` @@ -36178,7 +36327,7 @@ client.knowledgebase.attachments.retrieve(
-**id:** `str` +**event:** `str`
@@ -36186,7 +36335,7 @@ client.knowledgebase.attachments.retrieve(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**is_active:** `bool`
@@ -36194,7 +36343,7 @@ client.knowledgebase.attachments.retrieve(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**key:** `typing.Optional[str]`
@@ -36214,8 +36363,8 @@ client.knowledgebase.attachments.retrieve(
-## Knowledgebase AuditTrail -
client.knowledgebase.audit_trail.list(...) +## Hris AccountDetails +
client.hris.account_details.retrieve()
@@ -36227,7 +36376,7 @@ client.knowledgebase.attachments.retrieve(
-Gets a list of audit trail events. +Get details for a linked account.
@@ -36248,14 +36397,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.knowledgebase.audit_trail.list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_date="end_date", - event_type="event_type", - page_size=1, - start_date="start_date", - user_email="user_email", -) +client.hris.account_details.retrieve() ``` @@ -36271,47 +36413,71 @@ client.knowledgebase.audit_trail.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**end_date:** `typing.Optional[str]` — If included, will only include audit trail events that occurred before this time -
+
+## Hris AccountToken +
client.hris.account_token.retrieve(...)
-**event_type:** `typing.Optional[str]` — If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` - -
-
+#### 📝 Description
-**page_size:** `typing.Optional[int]` — Number of results to return per page. - +
+
+ +Returns the account token for the end user with the provided public token.
+
+
+ +#### 🔌 Usage
-**start_date:** `typing.Optional[str]` — If included, will only include audit trail events that occurred after this time - +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.hris.account_token.retrieve( + public_token="public_token", +) + +```
+
+
+ +#### ⚙️ Parameters
-**user_email:** `typing.Optional[str]` — If provided, this will return events associated with the specified user email. Please note that the email address reflects the user's email at the time of the event, and may not be their current email. +
+
+ +**public_token:** `str`
@@ -36331,8 +36497,8 @@ client.knowledgebase.audit_trail.list(
-## Knowledgebase AvailableActions -
client.knowledgebase.available_actions.retrieve() +## Hris AsyncPassthrough +
client.hris.async_passthrough.create(...)
@@ -36344,7 +36510,7 @@ client.knowledgebase.audit_trail.list(
-Returns a list of models and actions available for an account. +Asynchronously pull data from an endpoint not currently supported by Merge.
@@ -36360,12 +36526,18 @@ Returns a list of models and actions available for an account. ```python from merge import Merge +from merge.resources.hris import DataPassthroughRequest, MethodEnum client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.knowledgebase.available_actions.retrieve() +client.hris.async_passthrough.create( + request=DataPassthroughRequest( + method=MethodEnum.GET, + path="/scooters", + ), +) ``` @@ -36381,6 +36553,14 @@ client.knowledgebase.available_actions.retrieve()
+**request:** `DataPassthroughRequest` + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -36393,8 +36573,7 @@ client.knowledgebase.available_actions.retrieve()
-## Knowledgebase Containers -
client.knowledgebase.containers.list(...) +
client.hris.async_passthrough.retrieve(...)
@@ -36406,7 +36585,7 @@ client.knowledgebase.available_actions.retrieve()
-Returns a list of `Container` objects. +Retrieves data from earlier async-passthrough POST request
@@ -36421,41 +36600,14 @@ Returns a list of `Container` objects.
```python -import datetime - from merge import Merge -from merge.resources.knowledgebase.resources.containers import ( - ContainersListRequestExpand, - ContainersListRequestType, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.knowledgebase.containers.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=ContainersListRequestExpand.PARENT_ARTICLE, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - parent_article_id="parent_article_id", - parent_container_id="parent_container_id", - remote_id="remote_id", - type=ContainersListRequestType.EMPTY, +client.hris.async_passthrough.retrieve( + async_passthrough_receipt_id="async_passthrough_receipt_id", ) ``` @@ -36472,7 +36624,7 @@ client.knowledgebase.containers.list(
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**async_passthrough_receipt_id:** `str`
@@ -36480,39 +36632,76 @@ client.knowledgebase.containers.list(
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+
+
-
-
-**cursor:** `typing.Optional[str]` — The pagination cursor value. -
+
+ +## Hris AuditTrail +
client.hris.audit_trail.list(...) +
+
+ +#### 📝 Description
-**expand:** `typing.Optional[ContainersListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - +
+
+ +Gets a list of audit trail events. +
+
+#### 🔌 Usage +
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +response = client.hris.audit_trail.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", +) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page + +``` +
+
+#### ⚙️ Parameters +
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +
+
+ +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -36520,7 +36709,7 @@ client.knowledgebase.containers.list(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**end_date:** `typing.Optional[str]` — If included, will only include audit trail events that occurred before this time
@@ -36528,7 +36717,7 @@ client.knowledgebase.containers.list(
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +**event_type:** `typing.Optional[str]` — If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED`
@@ -36536,7 +36725,7 @@ client.knowledgebase.containers.list(
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -36544,7 +36733,7 @@ client.knowledgebase.containers.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. +**start_date:** `typing.Optional[str]` — If included, will only include audit trail events that occurred after this time
@@ -36552,7 +36741,7 @@ client.knowledgebase.containers.list(
-**parent_article_id:** `typing.Optional[str]` — If provided, will only return sub containers of the parent_article_id. +**user_email:** `typing.Optional[str]` — If provided, this will return events associated with the specified user email. Please note that the email address reflects the user's email at the time of the event, and may not be their current email.
@@ -36560,26 +36749,64 @@ client.knowledgebase.containers.list(
-**parent_container_id:** `typing.Optional[str]` — If provided, will only return sub containers of the parent_container_id. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+
+
+ +
+
+
+ +## Hris AvailableActions +
client.hris.available_actions.retrieve()
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. - +#### 📝 Description + +
+
+ +
+
+ +Returns a list of models and actions available for an account. +
+
+#### 🔌 Usage +
-**type:** `typing.Optional[ContainersListRequestType]` — If provided, will only return containers of the given type. - +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.hris.available_actions.retrieve() + +```
+
+
+ +#### ⚙️ Parameters + +
+
@@ -36596,7 +36823,8 @@ client.knowledgebase.containers.list(
-
client.knowledgebase.containers.retrieve(...) +## Hris BankInfo +
client.hris.bank_info.list(...)
@@ -36608,7 +36836,7 @@ client.knowledgebase.containers.list(
-Returns a `Container` object with the given `id`. +Returns a list of `BankInfo` objects.
@@ -36624,20 +36852,19 @@ Returns a `Container` object with the given `id`. ```python from merge import Merge -from merge.resources.knowledgebase.resources.containers import ( - ContainersRetrieveRequestExpand, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.knowledgebase.containers.retrieve( - id="id", - expand=ContainersRetrieveRequestExpand.PARENT_ARTICLE, - include_remote_data=True, - include_shell_data=True, +response = client.hris.bank_info.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -36653,7 +36880,12 @@ client.knowledgebase.containers.retrieve(
-**id:** `str` +**account_type:** `typing.Optional[BankInfoListRequestAccountType]` + +If provided, will only return BankInfo's with this account type. Options: ('SAVINGS', 'CHECKING') + +* `SAVINGS` - SAVINGS +* `CHECKING` - CHECKING
@@ -36661,7 +36893,7 @@ client.knowledgebase.containers.retrieve(
-**expand:** `typing.Optional[ContainersRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**bank_name:** `typing.Optional[str]` — If provided, will only return BankInfo's with this bank name.
@@ -36669,7 +36901,7 @@ client.knowledgebase.containers.retrieve(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -36677,7 +36909,7 @@ client.knowledgebase.containers.retrieve(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -36685,65 +36917,112 @@ client.knowledgebase.containers.retrieve(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
+ +
+
+ +**employee_id:** `typing.Optional[str]` — If provided, will only return bank accounts for this employee. +
+
+
+**expand:** `typing.Optional[ + typing.Union[ + BankInfoListRequestExpandItem, + typing.Sequence[BankInfoListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +
-
-## Knowledgebase Scopes -
client.knowledgebase.scopes.default_scopes_retrieve()
-#### 📝 Description +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + +
+
+**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
+
-Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +
+ +
+
+ +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +
-#### 🔌 Usage -
+**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. + +
+
+
-```python -from merge import Merge +**order_by:** `typing.Optional[BankInfoListRequestOrderBy]` — Overrides the default ordering for this endpoint. Possible values include: remote_created_at, -remote_created_at. + +
+
-client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.knowledgebase.scopes.default_scopes_retrieve() +
+
-``` +**page_size:** `typing.Optional[int]` — Number of results to return per page. +
+ +
+
+ +**remote_fields:** `typing.Optional[BankInfoListRequestRemoteFields]` — Deprecated. Use show_enum_origins. +
-#### ⚙️ Parameters +
+
+ +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. + +
+
+**show_enum_origins:** `typing.Optional[BankInfoListRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) + +
+
+
@@ -36759,7 +37038,7 @@ client.knowledgebase.scopes.default_scopes_retrieve()
-
client.knowledgebase.scopes.linked_account_scopes_retrieve() +
client.hris.bank_info.retrieve(...)
@@ -36771,7 +37050,7 @@ client.knowledgebase.scopes.default_scopes_retrieve()
-Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). +Returns a `BankInfo` object with the given `id`.
@@ -36792,7 +37071,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.knowledgebase.scopes.linked_account_scopes_retrieve() +client.hris.bank_info.retrieve( + id="id", +) ``` @@ -36808,99 +37089,52 @@ client.knowledgebase.scopes.linked_account_scopes_retrieve()
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**id:** `str`
- -
+
+
+**expand:** `typing.Optional[ + typing.Union[ + BankInfoRetrieveRequestExpandItem, + typing.Sequence[BankInfoRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +
-
-
client.knowledgebase.scopes.linked_account_scopes_create(...)
-#### 📝 Description - -
-
+**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
-Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes) -
-
+**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +
-#### 🔌 Usage -
-
-
- -```python -from merge import Merge -from merge.resources.knowledgebase import ( - FieldPermissionDeserializerRequest, - IndividualCommonModelScopeDeserializerRequest, - ModelPermissionDeserializerRequest, -) - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.knowledgebase.scopes.linked_account_scopes_create( - common_models=[ - IndividualCommonModelScopeDeserializerRequest( - model_name="Employee", - model_permissions={ - "READ": ModelPermissionDeserializerRequest( - is_enabled=True, - ), - "WRITE": ModelPermissionDeserializerRequest( - is_enabled=False, - ), - }, - field_permissions=FieldPermissionDeserializerRequest( - enabled_fields=["avatar", "home_location"], - disabled_fields=["work_location"], - ), - ), - IndividualCommonModelScopeDeserializerRequest( - model_name="Benefit", - model_permissions={ - "WRITE": ModelPermissionDeserializerRequest( - is_enabled=False, - ) - }, - ), - ], -) - -``` -
-
+**remote_fields:** `typing.Optional[BankInfoRetrieveRequestRemoteFields]` — Deprecated. Use show_enum_origins. +
-#### ⚙️ Parameters -
-
-
- -**common_models:** `typing.Sequence[IndividualCommonModelScopeDeserializerRequest]` — The common models you want to update the scopes for +**show_enum_origins:** `typing.Optional[BankInfoRetrieveRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
@@ -36920,8 +37154,8 @@ client.knowledgebase.scopes.linked_account_scopes_create(
-## Knowledgebase DeleteAccount -
client.knowledgebase.delete_account.delete() +## Hris Benefits +
client.hris.benefits.list(...)
@@ -36933,7 +37167,7 @@ client.knowledgebase.scopes.linked_account_scopes_create(
-Delete a linked account. +Returns a list of `Benefit` objects.
@@ -36954,7 +37188,14 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.knowledgebase.delete_account.delete() +response = client.hris.benefits.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", +) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -36970,71 +37211,100 @@ client.knowledgebase.delete_account.delete()
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
- -
+
+
+**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +
-
-## Knowledgebase FieldMapping -
client.knowledgebase.field_mapping.field_mappings_retrieve(...)
-#### 📝 Description +**cursor:** `typing.Optional[str]` — The pagination cursor value. + +
+
+**employee_id:** `typing.Optional[str]` — If provided, will return the benefits associated with the employee. + +
+
+
-Get all Field Mappings for this Linked Account. Field Mappings are mappings between third-party Remote Fields and user defined Merge fields. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). +**expand:** `typing.Optional[ + typing.Union[ + BenefitsListRequestExpandItem, + typing.Sequence[BenefitsListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +
+ +
+
+ +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +
-#### 🔌 Usage -
+**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
+
-```python -from merge import Merge +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + +
+
-client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.knowledgebase.field_mapping.field_mappings_retrieve( - exclude_remote_field_metadata=True, -) +
+
-``` +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +
+ +
+
+ +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +
-#### ⚙️ Parameters -
+**page_size:** `typing.Optional[int]` — Number of results to return per page. + +
+
+
-**exclude_remote_field_metadata:** `typing.Optional[bool]` — If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -37054,7 +37324,7 @@ client.knowledgebase.field_mapping.field_mappings_retrieve(
-
client.knowledgebase.field_mapping.field_mappings_create(...) +
client.hris.benefits.retrieve(...)
@@ -37066,7 +37336,7 @@ client.knowledgebase.field_mapping.field_mappings_retrieve(
-Create new Field Mappings that will be available after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. +Returns a `Benefit` object with the given `id`.
@@ -37087,14 +37357,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.knowledgebase.field_mapping.field_mappings_create( - exclude_remote_field_metadata=True, - target_field_name="example_target_field_name", - target_field_description="this is a example description of the target field", - remote_field_traversal_path=["example_remote_field"], - remote_method="GET", - remote_url_path="/example-url-path", - common_model_name="ExampleCommonModel", +client.hris.benefits.retrieve( + id="id", ) ``` @@ -37111,39 +37375,7 @@ client.knowledgebase.field_mapping.field_mappings_create(
-**target_field_name:** `str` — The name of the target field you want this remote field to map to. - -
-
- -
-
- -**target_field_description:** `str` — The description of the target field you want this remote field to map to. - -
-
- -
-
- -**remote_field_traversal_path:** `typing.Sequence[typing.Optional[typing.Any]]` — The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. - -
-
- -
-
- -**remote_method:** `str` — The method of the remote endpoint where the remote field is coming from. - -
-
- -
-
- -**remote_url_path:** `str` — The path of the remote endpoint where the remote field is coming from. +**id:** `str`
@@ -37151,7 +37383,12 @@ client.knowledgebase.field_mapping.field_mappings_create(
-**common_model_name:** `str` — The name of the Common Model that the remote field corresponds to in a given category. +**expand:** `typing.Optional[ + typing.Union[ + BenefitsRetrieveRequestExpandItem, + typing.Sequence[BenefitsRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -37159,7 +37396,7 @@ client.knowledgebase.field_mapping.field_mappings_create(
-**exclude_remote_field_metadata:** `typing.Optional[bool]` — If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -37167,7 +37404,7 @@ client.knowledgebase.field_mapping.field_mappings_create(
-**jmes_path:** `typing.Optional[str]` — JMES path to specify json query expression to be used on field mapping. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -37187,7 +37424,8 @@ client.knowledgebase.field_mapping.field_mappings_create(
-
client.knowledgebase.field_mapping.field_mappings_destroy(...) +## Hris Companies +
client.hris.companies.list(...)
@@ -37199,7 +37437,7 @@ client.knowledgebase.field_mapping.field_mappings_create(
-Deletes Field Mappings for a Linked Account. All data related to this Field Mapping will be deleted and these changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. +Returns a list of `Company` objects.
@@ -37220,9 +37458,14 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.knowledgebase.field_mapping.field_mappings_destroy( - field_mapping_id="field_mapping_id", +response = client.hris.companies.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -37238,7 +37481,7 @@ client.knowledgebase.field_mapping.field_mappings_destroy(
-**field_mapping_id:** `str` +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -37246,70 +37489,39 @@ client.knowledgebase.field_mapping.field_mappings_destroy(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
- -
- - - - -
-
client.knowledgebase.field_mapping.field_mappings_partial_update(...)
-#### 📝 Description - -
-
+**cursor:** `typing.Optional[str]` — The pagination cursor value. + +
+
-Create or update existing Field Mappings for a Linked Account. Changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. -
-
+**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +
-#### 🔌 Usage -
-
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.knowledgebase.field_mapping.field_mappings_partial_update( - field_mapping_id="field_mapping_id", -) - -``` -
-
+**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +
-#### ⚙️ Parameters - -
-
-
-**field_mapping_id:** `str` +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -37317,7 +37529,7 @@ client.knowledgebase.field_mapping.field_mappings_partial_update(
-**remote_field_traversal_path:** `typing.Optional[typing.Sequence[typing.Optional[typing.Any]]]` — The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned.
@@ -37325,7 +37537,7 @@ client.knowledgebase.field_mapping.field_mappings_partial_update(
-**remote_method:** `typing.Optional[str]` — The method of the remote endpoint where the remote field is coming from. +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned.
@@ -37333,7 +37545,7 @@ client.knowledgebase.field_mapping.field_mappings_partial_update(
-**remote_url_path:** `typing.Optional[str]` — The path of the remote endpoint where the remote field is coming from. +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -37341,7 +37553,7 @@ client.knowledgebase.field_mapping.field_mappings_partial_update(
-**jmes_path:** `typing.Optional[str]` — JMES path to specify json query expression to be used on field mapping. +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -37361,7 +37573,7 @@ client.knowledgebase.field_mapping.field_mappings_partial_update(
-
client.knowledgebase.field_mapping.remote_fields_retrieve(...) +
client.hris.companies.retrieve(...)
@@ -37373,7 +37585,7 @@ client.knowledgebase.field_mapping.field_mappings_partial_update(
-Get all remote fields for a Linked Account. Remote fields are third-party fields that are accessible after initial sync if remote_data is enabled. You can use remote fields to override existing Merge fields or map a new Merge field. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). +Returns a `Company` object with the given `id`.
@@ -37394,9 +37606,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.knowledgebase.field_mapping.remote_fields_retrieve( - common_models="common_models", - include_example_values="include_example_values", +client.hris.companies.retrieve( + id="id", ) ``` @@ -37413,7 +37624,7 @@ client.knowledgebase.field_mapping.remote_fields_retrieve(
-**common_models:** `typing.Optional[str]` — A comma seperated list of Common Model names. If included, will only return Remote Fields for those Common Models. +**id:** `str`
@@ -37421,7 +37632,15 @@ client.knowledgebase.field_mapping.remote_fields_retrieve(
-**include_example_values:** `typing.Optional[str]` — If true, will include example values, where available, for remote fields in the 3rd party platform. These examples come from active data from your customers. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
+ +
+
+ +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -37441,7 +37660,8 @@ client.knowledgebase.field_mapping.remote_fields_retrieve(
-
client.knowledgebase.field_mapping.target_fields_retrieve() +## Hris Scopes +
client.hris.scopes.default_scopes_retrieve()
@@ -37453,7 +37673,7 @@ client.knowledgebase.field_mapping.remote_fields_retrieve(
-Get all organization-wide Target Fields, this will not include any Linked Account specific Target Fields. Organization-wide Target Fields are additional fields appended to the Merge Common Model for all Linked Accounts in a category. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/target-fields/). +Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes).
@@ -37474,7 +37694,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.knowledgebase.field_mapping.target_fields_retrieve() +client.hris.scopes.default_scopes_retrieve() ``` @@ -37502,8 +37722,7 @@ client.knowledgebase.field_mapping.target_fields_retrieve()
-## Knowledgebase GenerateKey -
client.knowledgebase.generate_key.create(...) +
client.hris.scopes.linked_account_scopes_retrieve()
@@ -37515,7 +37734,7 @@ client.knowledgebase.field_mapping.target_fields_retrieve()
-Create a remote key. +Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes).
@@ -37536,8 +37755,98 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.knowledgebase.generate_key.create( - name="Remote Deployment Key 1", +client.hris.scopes.linked_account_scopes_retrieve() + +``` + +
+ + + +#### ⚙️ Parameters + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + + + +
+ +
client.hris.scopes.linked_account_scopes_create(...) +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes) +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from merge import Merge +from merge.resources.hris import ( + FieldPermissionDeserializerRequest, + IndividualCommonModelScopeDeserializerRequest, + ModelPermissionDeserializerRequest, +) + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.hris.scopes.linked_account_scopes_create( + common_models=[ + IndividualCommonModelScopeDeserializerRequest( + model_name="Employee", + model_permissions={ + "READ": ModelPermissionDeserializerRequest( + is_enabled=True, + ), + "WRITE": ModelPermissionDeserializerRequest( + is_enabled=False, + ), + }, + field_permissions=FieldPermissionDeserializerRequest( + enabled_fields=["avatar", "home_location"], + disabled_fields=["work_location"], + ), + ), + IndividualCommonModelScopeDeserializerRequest( + model_name="Benefit", + model_permissions={ + "WRITE": ModelPermissionDeserializerRequest( + is_enabled=False, + ) + }, + ), + ], ) ``` @@ -37554,7 +37863,7 @@ client.knowledgebase.generate_key.create(
-**name:** `str` — The name of the remote key +**common_models:** `typing.Sequence[IndividualCommonModelScopeDeserializerRequest]` — The common models you want to update the scopes for
@@ -37574,8 +37883,8 @@ client.knowledgebase.generate_key.create(
-## Knowledgebase Groups -
client.knowledgebase.groups.list(...) +## Hris DeleteAccount +
client.hris.delete_account.delete()
@@ -37587,7 +37896,7 @@ client.knowledgebase.generate_key.create(
-Returns a list of `Group` objects. +Delete a linked account.
@@ -37602,38 +37911,82 @@ Returns a list of `Group` objects.
```python -import datetime - from merge import Merge -from merge.resources.knowledgebase.resources.groups import ( - GroupsListRequestExpand, + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", ) +client.hris.delete_account.delete() + +``` +
+
+ + + +#### ⚙️ Parameters + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + + + +
+ +## Hris Dependents +
client.hris.dependents.list(...) +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Returns a list of `Dependent` objects. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.knowledgebase.groups.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), +response = client.hris.dependents.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=GroupsListRequestExpand.PARENT_GROUP, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -37673,7 +38026,7 @@ client.knowledgebase.groups.list(
-**expand:** `typing.Optional[GroupsListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -37681,7 +38034,7 @@ client.knowledgebase.groups.list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -37689,7 +38042,7 @@ client.knowledgebase.groups.list(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**include_sensitive_fields:** `typing.Optional[bool]` — Whether to include sensitive fields (such as social security numbers) in the response.
@@ -37721,7 +38074,7 @@ client.knowledgebase.groups.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -37749,7 +38102,7 @@ client.knowledgebase.groups.list(
-
client.knowledgebase.groups.retrieve(...) +
client.hris.dependents.retrieve(...)
@@ -37761,7 +38114,7 @@ client.knowledgebase.groups.list(
-Returns a `Group` object with the given `id`. +Returns a `Dependent` object with the given `id`.
@@ -37777,19 +38130,13 @@ Returns a `Group` object with the given `id`. ```python from merge import Merge -from merge.resources.knowledgebase.resources.groups import ( - GroupsRetrieveRequestExpand, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.knowledgebase.groups.retrieve( +client.hris.dependents.retrieve( id="id", - expand=GroupsRetrieveRequestExpand.PARENT_GROUP, - include_remote_data=True, - include_shell_data=True, ) ``` @@ -37814,7 +38161,7 @@ client.knowledgebase.groups.retrieve(
-**expand:** `typing.Optional[GroupsRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -37822,7 +38169,7 @@ client.knowledgebase.groups.retrieve(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**include_sensitive_fields:** `typing.Optional[bool]` — Whether to include sensitive fields (such as social security numbers) in the response.
@@ -37850,8 +38197,8 @@ client.knowledgebase.groups.retrieve(
-## Knowledgebase Issues -
client.knowledgebase.issues.list(...) +## Hris EmployeePayrollRuns +
client.hris.employee_payroll_runs.list(...)
@@ -37863,7 +38210,7 @@ client.knowledgebase.groups.retrieve(
-Gets all issues for Organization. +Returns a list of `EmployeePayrollRun` objects.
@@ -37878,41 +38225,20 @@ Gets all issues for Organization.
```python -import datetime - from merge import Merge -from merge.resources.knowledgebase.resources.issues import ( - IssuesListRequestStatus, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.knowledgebase.issues.list( - account_token="account_token", +response = client.hris.employee_payroll_runs.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_date="end_date", - end_user_organization_name="end_user_organization_name", - first_incident_time_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - first_incident_time_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - include_muted="include_muted", - integration_name="integration_name", - last_incident_time_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - last_incident_time_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - linked_account_id="linked_account_id", - page_size=1, - start_date="start_date", - status=IssuesListRequestStatus.ONGOING, ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -37928,7 +38254,15 @@ client.knowledgebase.issues.list(
-**account_token:** `typing.Optional[str]` +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. + +
+
+ +
+
+ +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -37944,7 +38278,7 @@ client.knowledgebase.issues.list(
-**end_date:** `typing.Optional[str]` — If included, will only include issues whose most recent action occurred before this time +**employee_id:** `typing.Optional[str]` — If provided, will only return employee payroll runs for this employee.
@@ -37952,7 +38286,7 @@ client.knowledgebase.issues.list(
-**end_user_organization_name:** `typing.Optional[str]` +**ended_after:** `typing.Optional[dt.datetime]` — If provided, will only return employee payroll runs ended after this datetime.
@@ -37960,7 +38294,7 @@ client.knowledgebase.issues.list(
-**first_incident_time_after:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose first incident time was after this datetime. +**ended_before:** `typing.Optional[dt.datetime]` — If provided, will only return employee payroll runs ended before this datetime.
@@ -37968,7 +38302,12 @@ client.knowledgebase.issues.list(
-**first_incident_time_before:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose first incident time was before this datetime. +**expand:** `typing.Optional[ + typing.Union[ + EmployeePayrollRunsListRequestExpandItem, + typing.Sequence[EmployeePayrollRunsListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -37976,7 +38315,7 @@ client.knowledgebase.issues.list(
-**include_muted:** `typing.Optional[str]` — If true, will include muted issues +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -37984,7 +38323,7 @@ client.knowledgebase.issues.list(
-**integration_name:** `typing.Optional[str]` +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -37992,7 +38331,7 @@ client.knowledgebase.issues.list(
-**last_incident_time_after:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose last incident time was after this datetime. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -38000,7 +38339,7 @@ client.knowledgebase.issues.list(
-**last_incident_time_before:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose last incident time was before this datetime. +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned.
@@ -38008,7 +38347,7 @@ client.knowledgebase.issues.list(
-**linked_account_id:** `typing.Optional[str]` — If provided, will only include issues pertaining to the linked account passed in. +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned.
@@ -38016,7 +38355,7 @@ client.knowledgebase.issues.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -38024,7 +38363,7 @@ client.knowledgebase.issues.list(
-**start_date:** `typing.Optional[str]` — If included, will only include issues whose most recent action occurred after this time +**payroll_run_id:** `typing.Optional[str]` — If provided, will only return employee payroll runs for this employee.
@@ -38032,12 +38371,23 @@ client.knowledgebase.issues.list(
-**status:** `typing.Optional[IssuesListRequestStatus]` +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. + +
+
-Status of the issue. Options: ('ONGOING', 'RESOLVED') +
+
-* `ONGOING` - ONGOING -* `RESOLVED` - RESOLVED +**started_after:** `typing.Optional[dt.datetime]` — If provided, will only return employee payroll runs started after this datetime. + +
+
+ +
+
+ +**started_before:** `typing.Optional[dt.datetime]` — If provided, will only return employee payroll runs started before this datetime.
@@ -38057,7 +38407,7 @@ Status of the issue. Options: ('ONGOING', 'RESOLVED')
-
client.knowledgebase.issues.retrieve(...) +
client.hris.employee_payroll_runs.retrieve(...)
@@ -38069,7 +38419,7 @@ Status of the issue. Options: ('ONGOING', 'RESOLVED')
-Get a specific issue. +Returns an `EmployeePayrollRun` object with the given `id`.
@@ -38090,7 +38440,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.knowledgebase.issues.retrieve( +client.hris.employee_payroll_runs.retrieve( id="id", ) @@ -38116,6 +38466,35 @@ client.knowledgebase.issues.retrieve(
+**expand:** `typing.Optional[ + typing.Union[ + EmployeePayrollRunsRetrieveRequestExpandItem, + typing.Sequence[EmployeePayrollRunsRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + +
+
+ +
+
+ +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
+ +
+
+ +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -38128,8 +38507,8 @@ client.knowledgebase.issues.retrieve(
-## Knowledgebase LinkToken -
client.knowledgebase.link_token.create(...) +## Hris Employees +
client.hris.employees.list(...)
@@ -38141,7 +38520,7 @@ client.knowledgebase.issues.retrieve(
-Creates a link token to be used when linking a new end user. +Returns a list of `Employee` objects.
@@ -38157,18 +38536,19 @@ Creates a link token to be used when linking a new end user. ```python from merge import Merge -from merge.resources.knowledgebase import CategoriesEnum client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.knowledgebase.link_token.create( - end_user_email_address="example@gmail.com", - end_user_organization_name="Test Organization", - end_user_origin_id="12345", - categories=[CategoriesEnum.HRIS, CategoriesEnum.ATS], +response = client.hris.employees.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -38184,7 +38564,7 @@ client.knowledgebase.link_token.create(
-**end_user_email_address:** `str` — Your end user's email address. This is purely for identification purposes - setting this value will not cause any emails to be sent. +**company_id:** `typing.Optional[str]` — If provided, will only return employees for this company.
@@ -38192,7 +38572,7 @@ client.knowledgebase.link_token.create(
-**end_user_organization_name:** `str` — Your end user's organization. +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -38200,7 +38580,7 @@ client.knowledgebase.link_token.create(
-**end_user_origin_id:** `str` — This unique identifier typically represents the ID for your end user in your product's database. This value must be distinct from other Linked Accounts' unique identifiers. +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -38208,7 +38588,7 @@ client.knowledgebase.link_token.create(
-**categories:** `typing.Sequence[CategoriesEnum]` — The integration categories to show in Merge Link. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -38216,7 +38596,7 @@ client.knowledgebase.link_token.create(
-**integration:** `typing.Optional[str]` — The slug of a specific pre-selected integration for this linking flow token. For examples of slugs, see https://docs.merge.dev/guides/merge-link/single-integration/. +**display_full_name:** `typing.Optional[str]` — If provided, will only return employees with this display name.
@@ -38224,7 +38604,13 @@ client.knowledgebase.link_token.create(
-**link_expiry_mins:** `typing.Optional[int]` — An integer number of minutes between [30, 720 or 10080 if for a Magic Link URL] for how long this token is valid. Defaults to 30. +**employment_status:** `typing.Optional[EmployeesListRequestEmploymentStatus]` + +If provided, will only return employees with this employment status. + +* `ACTIVE` - ACTIVE +* `PENDING` - PENDING +* `INACTIVE` - INACTIVE
@@ -38232,7 +38618,7 @@ client.knowledgebase.link_token.create(
-**should_create_magic_link_url:** `typing.Optional[bool]` — Whether to generate a Magic Link URL. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. +**employment_type:** `typing.Optional[str]` — If provided, will only return employees that have an employment of the specified employment_type.
@@ -38240,7 +38626,12 @@ client.knowledgebase.link_token.create(
-**hide_admin_magic_link:** `typing.Optional[bool]` — Whether to generate a Magic Link URL on the Admin Needed screen during the linking flow. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. +**expand:** `typing.Optional[ + typing.Union[ + EmployeesListRequestExpandItem, + typing.Sequence[EmployeesListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -38248,7 +38639,7 @@ client.knowledgebase.link_token.create(
-**common_models:** `typing.Optional[typing.Sequence[CommonModelScopesBodyRequest]]` — An array of objects to specify the models and fields that will be disabled for a given Linked Account. Each object uses model_id, enabled_actions, and disabled_fields to specify the model, method, and fields that are scoped for a given Linked Account. +**first_name:** `typing.Optional[str]` — If provided, will only return employees with this first name.
@@ -38256,14 +38647,7 @@ client.knowledgebase.link_token.create(
-**category_common_model_scopes:** `typing.Optional[ - typing.Dict[ - str, - typing.Optional[ - typing.Sequence[IndividualCommonModelScopeDeserializerRequest] - ], - ] -]` — When creating a Link Token, you can set permissions for Common Models that will apply to the account that is going to be linked. Any model or field not specified in link token payload will default to existing settings. +**groups:** `typing.Optional[str]` — If provided, will only return employees matching the group ids; multiple groups can be separated by commas.
@@ -38271,12 +38655,7 @@ client.knowledgebase.link_token.create(
-**language:** `typing.Optional[EndUserDetailsRequestLanguage]` - -The following subset of IETF language tags can be used to configure localization. - -* `en` - en -* `de` - de +**home_location_id:** `typing.Optional[str]` — If provided, will only return employees for this home location.
@@ -38284,7 +38663,7 @@ The following subset of IETF language tags can be used to configure localization
-**are_syncs_disabled:** `typing.Optional[bool]` — The boolean that indicates whether initial, periodic, and force syncs will be disabled. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -38292,7 +38671,7 @@ The following subset of IETF language tags can be used to configure localization
-**integration_specific_config:** `typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]` — A JSON object containing integration-specific configuration options. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -38300,11 +38679,7 @@ The following subset of IETF language tags can be used to configure localization
-**completed_account_initial_screen:** `typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen]` - -When creating a Link token, you can specifiy the initial screen of Linking Flow for a completed Linked Account. - -* `SELECTIVE_SYNC` - SELECTIVE_SYNC +**include_sensitive_fields:** `typing.Optional[bool]` — Whether to include sensitive fields (such as social security numbers) in the response.
@@ -38312,97 +38687,55 @@ When creating a Link token, you can specifiy the initial screen of Linking Flow
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
- -
+
+
+**job_title:** `typing.Optional[str]` — If provided, will only return employees that have an employment of the specified job_title. +
-
-## Knowledgebase LinkedAccounts -
client.knowledgebase.linked_accounts.list(...)
-#### 📝 Description - -
-
+**last_name:** `typing.Optional[str]` — If provided, will only return employees with this last name. + +
+
-List linked accounts for your organization. -
-
+**manager_id:** `typing.Optional[str]` — If provided, will only return employees for this manager. +
-#### 🔌 Usage - -
-
-
-```python -from merge import Merge -from merge.resources.knowledgebase.resources.linked_accounts import ( - LinkedAccountsListRequestCategory, -) - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.knowledgebase.linked_accounts.list( - category=LinkedAccountsListRequestCategory.ACCOUNTING, - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_user_email_address="end_user_email_address", - end_user_organization_name="end_user_organization_name", - end_user_origin_id="end_user_origin_id", - end_user_origin_ids="end_user_origin_ids", - id="id", - ids="ids", - include_duplicates=True, - integration_name="integration_name", - is_test_account="is_test_account", - page_size=1, - status="status", -) - -``` -
-
+**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +
-#### ⚙️ Parameters -
+**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. + +
+
+
-**category:** `typing.Optional[LinkedAccountsListRequestCategory]` - -Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `knowledgebase`, `mktg`, `ticketing` - -* `hris` - hris -* `ats` - ats -* `accounting` - accounting -* `ticketing` - ticketing -* `crm` - crm -* `mktg` - mktg -* `filestorage` - filestorage -* `knowledgebase` - knowledgebase +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -38410,7 +38743,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `knowledgebase`, `mk
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**pay_group_id:** `typing.Optional[str]` — If provided, will only return employees for this pay group
@@ -38418,7 +38751,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `knowledgebase`, `mk
-**end_user_email_address:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given email address. +**personal_email:** `typing.Optional[str]` — If provided, will only return Employees with this personal email
@@ -38426,7 +38759,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `knowledgebase`, `mk
-**end_user_organization_name:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given organization name. +**remote_fields:** `typing.Optional[EmployeesListRequestRemoteFields]` — Deprecated. Use show_enum_origins.
@@ -38434,7 +38767,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `knowledgebase`, `mk
-**end_user_origin_id:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given origin ID. +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -38442,7 +38775,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `knowledgebase`, `mk
-**end_user_origin_ids:** `typing.Optional[str]` — Comma-separated list of EndUser origin IDs, making it possible to specify multiple EndUsers at once. +**show_enum_origins:** `typing.Optional[EmployeesListRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
@@ -38450,7 +38783,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `knowledgebase`, `mk
-**id:** `typing.Optional[str]` +**started_after:** `typing.Optional[dt.datetime]` — If provided, will only return employees that started after this datetime.
@@ -38458,7 +38791,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `knowledgebase`, `mk
-**ids:** `typing.Optional[str]` — Comma-separated list of LinkedAccount IDs, making it possible to specify multiple LinkedAccounts at once. +**started_before:** `typing.Optional[dt.datetime]` — If provided, will only return employees that started before this datetime.
@@ -38466,7 +38799,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `knowledgebase`, `mk
-**include_duplicates:** `typing.Optional[bool]` — If `true`, will include complete production duplicates of the account specified by the `id` query parameter in the response. `id` must be for a complete production linked account. +**team_id:** `typing.Optional[str]` — If provided, will only return employees for this team.
@@ -38474,7 +38807,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `knowledgebase`, `mk
-**integration_name:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given integration name. +**terminated_after:** `typing.Optional[dt.datetime]` — If provided, will only return employees that were terminated after this datetime.
@@ -38482,7 +38815,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `knowledgebase`, `mk
-**is_test_account:** `typing.Optional[str]` — If included, will only include test linked accounts. If not included, will only include non-test linked accounts. +**terminated_before:** `typing.Optional[dt.datetime]` — If provided, will only return employees that were terminated before this datetime.
@@ -38490,7 +38823,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `knowledgebase`, `mk
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. +**work_email:** `typing.Optional[str]` — If provided, will only return Employees with this work email
@@ -38498,7 +38831,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `knowledgebase`, `mk
-**status:** `typing.Optional[str]` — Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` +**work_location_id:** `typing.Optional[str]` — If provided, will only return employees for this location.
@@ -38518,8 +38851,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `knowledgebase`, `mk
-## Knowledgebase Passthrough -
client.knowledgebase.passthrough.create(...) +
client.hris.employees.create(...)
@@ -38531,7 +38863,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `knowledgebase`, `mk
-Pull data from an endpoint not currently supported by Merge. +Creates an `Employee` object with the given values.
@@ -38547,17 +38879,14 @@ Pull data from an endpoint not currently supported by Merge. ```python from merge import Merge -from merge.resources.knowledgebase import DataPassthroughRequest, MethodEnum +from merge.resources.hris import EmployeeRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.knowledgebase.passthrough.create( - request=DataPassthroughRequest( - method=MethodEnum.GET, - path="/scooters", - ), +client.hris.employees.create( + model=EmployeeRequest(), ) ``` @@ -38574,7 +38903,23 @@ client.knowledgebase.passthrough.create(
-**request:** `DataPassthroughRequest` +**model:** `EmployeeRequest` + +
+
+ +
+
+ +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. + +
+
+ +
+
+ +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously.
@@ -38594,8 +38939,7 @@ client.knowledgebase.passthrough.create(
-## Knowledgebase RegenerateKey -
client.knowledgebase.regenerate_key.create(...) +
client.hris.employees.retrieve(...)
@@ -38607,7 +38951,7 @@ client.knowledgebase.passthrough.create(
-Exchange remote keys. +Returns an `Employee` object with the given `id`.
@@ -38628,8 +38972,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.knowledgebase.regenerate_key.create( - name="Remote Deployment Key 1", +client.hris.employees.retrieve( + id="id", ) ``` @@ -38646,7 +38990,60 @@ client.knowledgebase.regenerate_key.create(
-**name:** `str` — The name of the remote key +**id:** `str` + +
+
+ +
+
+ +**expand:** `typing.Optional[ + typing.Union[ + EmployeesRetrieveRequestExpandItem, + typing.Sequence[EmployeesRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + +
+
+ +
+
+ +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
+ +
+
+ +**include_sensitive_fields:** `typing.Optional[bool]` — Whether to include sensitive fields (such as social security numbers) in the response. + +
+
+ +
+
+ +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + +
+
+ +
+
+ +**remote_fields:** `typing.Optional[EmployeesRetrieveRequestRemoteFields]` — Deprecated. Use show_enum_origins. + +
+
+ +
+
+ +**show_enum_origins:** `typing.Optional[EmployeesRetrieveRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
@@ -38666,8 +39063,7 @@ client.knowledgebase.regenerate_key.create(
-## Knowledgebase SyncStatus -
client.knowledgebase.sync_status.list(...) +
client.hris.employees.ignore_create(...)
@@ -38679,7 +39075,7 @@ client.knowledgebase.regenerate_key.create(
-Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). +Ignores a specific row based on the `model_id` in the url. These records will have their properties set to null, and will not be updated in future syncs. The "reason" and "message" fields in the request body will be stored for audit purposes.
@@ -38695,14 +39091,17 @@ Get sync status for the current sync and the most recently finished sync. `last_ ```python from merge import Merge +from merge.resources.hris import IgnoreCommonModelRequest, ReasonEnum client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.knowledgebase.sync_status.list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - page_size=1, +client.hris.employees.ignore_create( + model_id="model_id", + request=IgnoreCommonModelRequest( + reason=ReasonEnum.GENERAL_CUSTOMER_REQUEST, + ), ) ``` @@ -38719,7 +39118,7 @@ client.knowledgebase.sync_status.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**model_id:** `str`
@@ -38727,7 +39126,7 @@ client.knowledgebase.sync_status.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. +**request:** `IgnoreCommonModelRequest`
@@ -38747,8 +39146,7 @@ client.knowledgebase.sync_status.list(
-## Knowledgebase ForceResync -
client.knowledgebase.force_resync.sync_status_resync_create() +
client.hris.employees.meta_post_retrieve()
@@ -38760,7 +39158,7 @@ client.knowledgebase.sync_status.list(
-Force re-sync of all models. This endpoint is available for monthly, quarterly, and highest sync frequency customers on the Professional or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. Force re-syncs can also be triggered manually in the Merge Dashboard and is available for all customers. +Returns metadata for `Employee` POSTs.
@@ -38781,7 +39179,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.knowledgebase.force_resync.sync_status_resync_create() +client.hris.employees.meta_post_retrieve() ``` @@ -38809,8 +39207,8 @@ client.knowledgebase.force_resync.sync_status_resync_create()
-## Knowledgebase Users -
client.knowledgebase.users.list(...) +## Hris EmployerBenefits +
client.hris.employer_benefits.list(...)
@@ -38822,7 +39220,7 @@ client.knowledgebase.force_resync.sync_status_resync_create()
-Returns a list of `User` objects. +Returns a list of `EmployerBenefit` objects.
@@ -38837,34 +39235,20 @@ Returns a list of `User` objects.
```python -import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.knowledgebase.users.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), +response = client.hris.employer_benefits.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -38944,7 +39328,7 @@ client.knowledgebase.users.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -38972,7 +39356,7 @@ client.knowledgebase.users.list(
-
client.knowledgebase.users.retrieve(...) +
client.hris.employer_benefits.retrieve(...)
@@ -38984,7 +39368,7 @@ client.knowledgebase.users.list(
-Returns a `User` object with the given `id`. +Returns an `EmployerBenefit` object with the given `id`.
@@ -39005,10 +39389,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.knowledgebase.users.retrieve( +client.hris.employer_benefits.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) ``` @@ -39061,8 +39443,8 @@ client.knowledgebase.users.retrieve(
-## Knowledgebase WebhookReceivers -
client.knowledgebase.webhook_receivers.list() +## Hris Employments +
client.hris.employments.list(...)
@@ -39074,7 +39456,7 @@ client.knowledgebase.users.retrieve(
-Returns a list of `WebhookReceiver` objects. +Returns a list of `Employment` objects.
@@ -39095,7 +39477,14 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.knowledgebase.webhook_receivers.list() +response = client.hris.employments.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", +) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -39111,71 +39500,108 @@ client.knowledgebase.webhook_receivers.list()
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
+ +
+
+ +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +
+
+
+**cursor:** `typing.Optional[str]` — The pagination cursor value. +
-
-
client.knowledgebase.webhook_receivers.create(...)
-#### 📝 Description +**employee_id:** `typing.Optional[str]` — If provided, will only return employments for this employee. + +
+
+**expand:** `typing.Optional[ + typing.Union[ + EmploymentsListRequestExpandItem, + typing.Sequence[EmploymentsListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + +
+
+
-Creates a `WebhookReceiver` object with the given values. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +
+ +
+
+ +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +
-#### 🔌 Usage -
+**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + +
+
+
-```python -from merge import Merge +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. + +
+
-client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.knowledgebase.webhook_receivers.create( - event="event", - is_active=True, -) +
+
-``` +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +
+ +
+
+ +**order_by:** `typing.Optional[EmploymentsListRequestOrderBy]` — Overrides the default ordering for this endpoint. Possible values include: effective_date, -effective_date. +
-#### ⚙️ Parameters -
+**page_size:** `typing.Optional[int]` — Number of results to return per page. + +
+
+
-**event:** `str` +**remote_fields:** `typing.Optional[EmploymentsListRequestRemoteFields]` — Deprecated. Use show_enum_origins.
@@ -39183,7 +39609,7 @@ client.knowledgebase.webhook_receivers.create(
-**is_active:** `bool` +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -39191,7 +39617,7 @@ client.knowledgebase.webhook_receivers.create(
-**key:** `typing.Optional[str]` +**show_enum_origins:** `typing.Optional[EmploymentsListRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
@@ -39211,8 +39637,7 @@ client.knowledgebase.webhook_receivers.create(
-## Ticketing AccountDetails -
client.ticketing.account_details.retrieve() +
client.hris.employments.retrieve(...)
@@ -39224,7 +39649,7 @@ client.knowledgebase.webhook_receivers.create(
-Get details for a linked account. +Returns an `Employment` object with the given `id`.
@@ -39245,7 +39670,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.account_details.retrieve() +client.hris.employments.retrieve( + id="id", +) ``` @@ -39261,6 +39688,59 @@ client.ticketing.account_details.retrieve()
+**id:** `str` + +
+
+ +
+
+ +**expand:** `typing.Optional[ + typing.Union[ + EmploymentsRetrieveRequestExpandItem, + typing.Sequence[EmploymentsRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + +
+
+ +
+
+ +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
+ +
+
+ +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + +
+
+ +
+
+ +**remote_fields:** `typing.Optional[EmploymentsRetrieveRequestRemoteFields]` — Deprecated. Use show_enum_origins. + +
+
+ +
+
+ +**show_enum_origins:** `typing.Optional[EmploymentsRetrieveRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -39273,8 +39753,8 @@ client.ticketing.account_details.retrieve()
-## Ticketing AccountToken -
client.ticketing.account_token.retrieve(...) +## Hris FieldMapping +
client.hris.field_mapping.field_mappings_retrieve(...)
@@ -39286,7 +39766,7 @@ client.ticketing.account_details.retrieve()
-Returns the account token for the end user with the provided public token. +Get all Field Mappings for this Linked Account. Field Mappings are mappings between third-party Remote Fields and user defined Merge fields. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/).
@@ -39307,9 +39787,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.account_token.retrieve( - public_token="public_token", -) +client.hris.field_mapping.field_mappings_retrieve() ``` @@ -39325,7 +39803,7 @@ client.ticketing.account_token.retrieve(
-**public_token:** `str` +**exclude_remote_field_metadata:** `typing.Optional[bool]` — If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations.
@@ -39345,8 +39823,7 @@ client.ticketing.account_token.retrieve(
-## Ticketing Accounts -
client.ticketing.accounts.list(...) +
client.hris.field_mapping.field_mappings_create(...)
@@ -39358,7 +39835,7 @@ client.ticketing.account_token.retrieve(
-Returns a list of `Account` objects. +Create new Field Mappings that will be available after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start.
@@ -39373,33 +39850,19 @@ Returns a list of `Account` objects.
```python -import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.accounts.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", +client.hris.field_mapping.field_mappings_create( + target_field_name="example_target_field_name", + target_field_description="this is a example description of the target field", + remote_field_traversal_path=["example_remote_field"], + remote_method="GET", + remote_url_path="/example-url-path", + common_model_name="ExampleCommonModel", ) ``` @@ -39416,7 +39879,7 @@ client.ticketing.accounts.list(
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**target_field_name:** `str` — The name of the target field you want this remote field to map to.
@@ -39424,7 +39887,7 @@ client.ticketing.accounts.list(
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**target_field_description:** `str` — The description of the target field you want this remote field to map to.
@@ -39432,7 +39895,7 @@ client.ticketing.accounts.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**remote_field_traversal_path:** `typing.Sequence[typing.Any]` — The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint.
@@ -39440,7 +39903,7 @@ client.ticketing.accounts.list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**remote_method:** `str` — The method of the remote endpoint where the remote field is coming from.
@@ -39448,7 +39911,7 @@ client.ticketing.accounts.list(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**remote_url_path:** `str` — The path of the remote endpoint where the remote field is coming from.
@@ -39456,7 +39919,7 @@ client.ticketing.accounts.list(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**common_model_name:** `str` — The name of the Common Model that the remote field corresponds to in a given category.
@@ -39464,7 +39927,7 @@ client.ticketing.accounts.list(
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +**exclude_remote_field_metadata:** `typing.Optional[bool]` — If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations.
@@ -39472,23 +39935,70 @@ client.ticketing.accounts.list(
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+
+
+ + + + +
+
client.hris.field_mapping.field_mappings_destroy(...)
-**page_size:** `typing.Optional[int]` — Number of results to return per page. - +#### 📝 Description + +
+
+ +
+
+ +Deletes Field Mappings for a Linked Account. All data related to this Field Mapping will be deleted and these changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start.
+
+
+ +#### 🔌 Usage
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.hris.field_mapping.field_mappings_destroy( + field_mapping_id="field_mapping_id", +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**field_mapping_id:** `str`
@@ -39508,7 +40018,7 @@ client.ticketing.accounts.list(
-
client.ticketing.accounts.retrieve(...) +
client.hris.field_mapping.field_mappings_partial_update(...)
@@ -39520,7 +40030,7 @@ client.ticketing.accounts.list(
-Returns an `Account` object with the given `id`. +Create or update existing Field Mappings for a Linked Account. Changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start.
@@ -39541,10 +40051,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.accounts.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, +client.hris.field_mapping.field_mappings_partial_update( + field_mapping_id="field_mapping_id", ) ``` @@ -39561,7 +40069,7 @@ client.ticketing.accounts.retrieve(
-**id:** `str` +**field_mapping_id:** `str`
@@ -39569,7 +40077,7 @@ client.ticketing.accounts.retrieve(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**remote_field_traversal_path:** `typing.Optional[typing.Sequence[typing.Any]]` — The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint.
@@ -39577,7 +40085,15 @@ client.ticketing.accounts.retrieve(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**remote_method:** `typing.Optional[str]` — The method of the remote endpoint where the remote field is coming from. + +
+
+ +
+
+ +**remote_url_path:** `typing.Optional[str]` — The path of the remote endpoint where the remote field is coming from.
@@ -39597,8 +40113,7 @@ client.ticketing.accounts.retrieve(
-## Ticketing AsyncPassthrough -
client.ticketing.async_passthrough.create(...) +
client.hris.field_mapping.remote_fields_retrieve(...)
@@ -39610,7 +40125,7 @@ client.ticketing.accounts.retrieve(
-Asynchronously pull data from an endpoint not currently supported by Merge. +Get all remote fields for a Linked Account. Remote fields are third-party fields that are accessible after initial sync if remote_data is enabled. You can use remote fields to override existing Merge fields or map a new Merge field. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/).
@@ -39626,18 +40141,12 @@ Asynchronously pull data from an endpoint not currently supported by Merge. ```python from merge import Merge -from merge.resources.ticketing import DataPassthroughRequest, MethodEnum client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.async_passthrough.create( - request=DataPassthroughRequest( - method=MethodEnum.GET, - path="/scooters", - ), -) +client.hris.field_mapping.remote_fields_retrieve() ``` @@ -39653,7 +40162,15 @@ client.ticketing.async_passthrough.create(
-**request:** `DataPassthroughRequest` +**common_models:** `typing.Optional[str]` — A comma seperated list of Common Model names. If included, will only return Remote Fields for those Common Models. + +
+
+ +
+
+ +**include_example_values:** `typing.Optional[str]` — If true, will include example values, where available, for remote fields in the 3rd party platform. These examples come from active data from your customers.
@@ -39673,7 +40190,7 @@ client.ticketing.async_passthrough.create(
-
client.ticketing.async_passthrough.retrieve(...) +
client.hris.field_mapping.target_fields_retrieve()
@@ -39685,7 +40202,7 @@ client.ticketing.async_passthrough.create(
-Retrieves data from earlier async-passthrough POST request +Get all organization-wide Target Fields, this will not include any Linked Account specific Target Fields. Organization-wide Target Fields are additional fields appended to the Merge Common Model for all Linked Accounts in a category. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/target-fields/).
@@ -39706,8 +40223,70 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.async_passthrough.retrieve( - async_passthrough_receipt_id="async_passthrough_receipt_id", +client.hris.field_mapping.target_fields_retrieve() + +``` + +
+ + + +#### ⚙️ Parameters + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + + + +
+ +## Hris GenerateKey +
client.hris.generate_key.create(...) +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Create a remote key. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.hris.generate_key.create( + name="Remote Deployment Key 1", ) ``` @@ -39724,7 +40303,7 @@ client.ticketing.async_passthrough.retrieve(
-**async_passthrough_receipt_id:** `str` +**name:** `str` — The name of the remote key
@@ -39744,8 +40323,8 @@ client.ticketing.async_passthrough.retrieve(
-## Ticketing Attachments -
client.ticketing.attachments.list(...) +## Hris Groups +
client.hris.groups.list(...)
@@ -39757,7 +40336,7 @@ client.ticketing.async_passthrough.retrieve(
-Returns a list of `Attachment` objects. +Returns a list of `Group` objects.
@@ -39772,38 +40351,20 @@ Returns a list of `Attachment` objects.
```python -import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.attachments.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), +response = client.hris.groups.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - remote_id="remote_id", - ticket_id="ticket_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -39843,7 +40404,7 @@ client.ticketing.attachments.list(
-**expand:** `typing.Optional[typing.Literal["ticket"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -39851,7 +40412,7 @@ client.ticketing.attachments.list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -39859,7 +40420,7 @@ client.ticketing.attachments.list(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -39867,7 +40428,7 @@ client.ticketing.attachments.list(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**is_commonly_used_as_team:** `typing.Optional[str]` — If provided, specifies whether to return only Group objects which refer to a team in the third party platform. Note that this is an opinionated view based on how a team may be represented in the third party platform.
@@ -39891,7 +40452,7 @@ client.ticketing.attachments.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. +**names:** `typing.Optional[str]` — If provided, will only return groups with these names. Multiple values can be separated by commas.
@@ -39899,7 +40460,15 @@ client.ticketing.attachments.list(
-**remote_created_after:** `typing.Optional[dt.datetime]` — If provided, will only return attachments created in the third party platform after this datetime. +**page_size:** `typing.Optional[int]` — Number of results to return per page. + +
+
+ +
+
+ +**remote_fields:** `typing.Optional[GroupsListRequestRemoteFields]` — Deprecated. Use show_enum_origins.
@@ -39915,7 +40484,15 @@ client.ticketing.attachments.list(
-**ticket_id:** `typing.Optional[str]` — If provided, will only return comments for this ticket. +**show_enum_origins:** `typing.Optional[GroupsListRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) + +
+
+ +
+
+ +**types:** `typing.Optional[str]` — If provided, will only return groups of these types. Multiple values can be separated by commas.
@@ -39935,7 +40512,7 @@ client.ticketing.attachments.list(
-
client.ticketing.attachments.create(...) +
client.hris.groups.retrieve(...)
@@ -39947,7 +40524,7 @@ client.ticketing.attachments.list(
-Creates an `Attachment` object with the given values. +Returns a `Group` object with the given `id`.
@@ -39963,16 +40540,13 @@ Creates an `Attachment` object with the given values. ```python from merge import Merge -from merge.resources.ticketing import AttachmentRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.attachments.create( - is_debug_mode=True, - run_async=True, - model=AttachmentRequest(), +client.hris.groups.retrieve( + id="id", ) ``` @@ -39989,7 +40563,7 @@ client.ticketing.attachments.create(
-**model:** `AttachmentRequest` +**id:** `str`
@@ -39997,7 +40571,7 @@ client.ticketing.attachments.create(
-**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -40005,7 +40579,23 @@ client.ticketing.attachments.create(
-**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + +
+
+ +
+
+ +**remote_fields:** `typing.Optional[GroupsRetrieveRequestRemoteFields]` — Deprecated. Use show_enum_origins. + +
+
+ +
+
+ +**show_enum_origins:** `typing.Optional[GroupsRetrieveRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
@@ -40025,7 +40615,8 @@ client.ticketing.attachments.create(
-
client.ticketing.attachments.retrieve(...) +## Hris Issues +
client.hris.issues.list(...)
@@ -40037,7 +40628,7 @@ client.ticketing.attachments.create(
-Returns an `Attachment` object with the given `id`. +Gets all issues for Organization.
@@ -40058,11 +40649,14 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.attachments.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, +response = client.hris.issues.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -40078,7 +40672,7 @@ client.ticketing.attachments.retrieve(
-**id:** `str` +**account_token:** `typing.Optional[str]`
@@ -40086,7 +40680,7 @@ client.ticketing.attachments.retrieve(
-**expand:** `typing.Optional[typing.Literal["ticket"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -40094,7 +40688,7 @@ client.ticketing.attachments.retrieve(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**end_date:** `typing.Optional[str]` — If included, will only include issues whose most recent action occurred before this time
@@ -40102,7 +40696,92 @@ client.ticketing.attachments.retrieve(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**end_user_organization_name:** `typing.Optional[str]` + +
+
+ +
+
+ +**first_incident_time_after:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose first incident time was after this datetime. + +
+
+ +
+
+ +**first_incident_time_before:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose first incident time was before this datetime. + +
+
+ +
+
+ +**include_muted:** `typing.Optional[str]` — If true, will include muted issues + +
+
+ +
+
+ +**integration_name:** `typing.Optional[str]` + +
+
+ +
+
+ +**last_incident_time_after:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose last incident time was after this datetime. + +
+
+ +
+
+ +**last_incident_time_before:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose last incident time was before this datetime. + +
+
+ +
+
+ +**linked_account_id:** `typing.Optional[str]` — If provided, will only include issues pertaining to the linked account passed in. + +
+
+ +
+
+ +**page_size:** `typing.Optional[int]` — Number of results to return per page. + +
+
+ +
+
+ +**start_date:** `typing.Optional[str]` — If included, will only include issues whose most recent action occurred after this time + +
+
+ +
+
+ +**status:** `typing.Optional[IssuesListRequestStatus]` + +Status of the issue. Options: ('ONGOING', 'RESOLVED') + +* `ONGOING` - ONGOING +* `RESOLVED` - RESOLVED
@@ -40122,7 +40801,7 @@ client.ticketing.attachments.retrieve(
-
client.ticketing.attachments.meta_post_retrieve() +
client.hris.issues.retrieve(...)
@@ -40134,7 +40813,7 @@ client.ticketing.attachments.retrieve(
-Returns metadata for `TicketingAttachment` POSTs. +Get a specific issue.
@@ -40155,7 +40834,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.attachments.meta_post_retrieve() +client.hris.issues.retrieve( + id="id", +) ``` @@ -40171,6 +40852,14 @@ client.ticketing.attachments.meta_post_retrieve()
+**id:** `str` + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -40183,8 +40872,8 @@ client.ticketing.attachments.meta_post_retrieve()
-## Ticketing AuditTrail -
client.ticketing.audit_trail.list(...) +## Hris LinkToken +
client.hris.link_token.create(...)
@@ -40196,7 +40885,7 @@ client.ticketing.attachments.meta_post_retrieve()
-Gets a list of audit trail events. +Creates a link token to be used when linking a new end user.
@@ -40212,18 +40901,17 @@ Gets a list of audit trail events. ```python from merge import Merge +from merge.resources.hris import CategoriesEnum client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.audit_trail.list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_date="end_date", - event_type="event_type", - page_size=1, - start_date="start_date", - user_email="user_email", +client.hris.link_token.create( + end_user_email_address="example@gmail.com", + end_user_organization_name="Test Organization", + end_user_origin_id="12345", + categories=[CategoriesEnum.HRIS, CategoriesEnum.ATS], ) ``` @@ -40240,7 +40928,7 @@ client.ticketing.audit_trail.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**end_user_email_address:** `str` — Your end user's email address. This is purely for identification purposes - setting this value will not cause any emails to be sent.
@@ -40248,7 +40936,7 @@ client.ticketing.audit_trail.list(
-**end_date:** `typing.Optional[str]` — If included, will only include audit trail events that occurred before this time +**end_user_organization_name:** `str` — Your end user's organization.
@@ -40256,7 +40944,7 @@ client.ticketing.audit_trail.list(
-**event_type:** `typing.Optional[str]` — If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` +**end_user_origin_id:** `str` — This unique identifier typically represents the ID for your end user in your product's database. This value must be distinct from other Linked Accounts' unique identifiers.
@@ -40264,7 +40952,7 @@ client.ticketing.audit_trail.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. +**categories:** `typing.Sequence[CategoriesEnum]` — The integration categories to show in Merge Link.
@@ -40272,7 +40960,7 @@ client.ticketing.audit_trail.list(
-**start_date:** `typing.Optional[str]` — If included, will only include audit trail events that occurred after this time +**integration:** `typing.Optional[str]` — The slug of a specific pre-selected integration for this linking flow token. For examples of slugs, see https://docs.merge.dev/guides/merge-link/single-integration/.
@@ -40280,7 +40968,7 @@ client.ticketing.audit_trail.list(
-**user_email:** `typing.Optional[str]` — If provided, this will return events associated with the specified user email. Please note that the email address reflects the user's email at the time of the event, and may not be their current email. +**link_expiry_mins:** `typing.Optional[int]` — An integer number of minutes between [30, 720 or 10080 if for a Magic Link URL] for how long this token is valid. Defaults to 30.
@@ -40288,65 +40976,71 @@ client.ticketing.audit_trail.list(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**should_create_magic_link_url:** `typing.Optional[bool]` — Whether to generate a Magic Link URL. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link.
- -
+
+
+**hide_admin_magic_link:** `typing.Optional[bool]` — Whether to generate a Magic Link URL on the Admin Needed screen during the linking flow. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. +
-
-## Ticketing AvailableActions -
client.ticketing.available_actions.retrieve()
-#### 📝 Description - -
-
+**common_models:** `typing.Optional[typing.Sequence[CommonModelScopesBodyRequest]]` — An array of objects to specify the models and fields that will be disabled for a given Linked Account. Each object uses model_id, enabled_actions, and disabled_fields to specify the model, method, and fields that are scoped for a given Linked Account. + +
+
-Returns a list of models and actions available for an account. -
-
+**category_common_model_scopes:** `typing.Optional[ + typing.Dict[ + str, + typing.Optional[ + typing.Sequence[IndividualCommonModelScopeDeserializerRequest] + ], + ] +]` — When creating a Link Token, you can set permissions for Common Models that will apply to the account that is going to be linked. Any model or field not specified in link token payload will default to existing settings. +
-#### 🔌 Usage -
-
-
- -```python -from merge import Merge +**language:** `typing.Optional[EndUserDetailsRequestLanguage]` -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.ticketing.available_actions.retrieve() +The following subset of IETF language tags can be used to configure localization. -``` +* `en` - en +* `de` - de +
+ +
+
+ +**are_syncs_disabled:** `typing.Optional[bool]` — The boolean that indicates whether initial, periodic, and force syncs will be disabled. +
-#### ⚙️ Parameters -
+**integration_specific_config:** `typing.Optional[typing.Dict[str, typing.Any]]` — A JSON object containing integration-specific configuration options. + +
+
+
@@ -40362,8 +41056,8 @@ client.ticketing.available_actions.retrieve()
-## Ticketing Collections -
client.ticketing.collections.list(...) +## Hris LinkedAccounts +
client.hris.linked_accounts.list(...)
@@ -40375,7 +41069,7 @@ client.ticketing.available_actions.retrieve()
-Returns a list of `Collection` objects. +List linked accounts for your organization.
@@ -40390,40 +41084,20 @@ Returns a list of `Collection` objects.
```python -import datetime - from merge import Merge -from merge.resources.ticketing.resources.collections import ( - CollectionsListRequestCollectionType, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.collections.list( - collection_type=CollectionsListRequestCollectionType.EMPTY, - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), +response = client.hris.linked_accounts.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - name="name", - page_size=1, - parent_collection_id="parent_collection_id", - remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -40439,23 +41113,17 @@ client.ticketing.collections.list(
-**collection_type:** `typing.Optional[CollectionsListRequestCollectionType]` — If provided, will only return collections of the given type. - -
-
- -
-
- -**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. - -
-
+**category:** `typing.Optional[LinkedAccountsListRequestCategory]` -
-
+Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing` -**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +* `hris` - hris +* `ats` - ats +* `accounting` - accounting +* `ticketing` - ticketing +* `crm` - crm +* `mktg` - mktg +* `filestorage` - filestorage
@@ -40471,15 +41139,7 @@ client.ticketing.collections.list(
-**expand:** `typing.Optional[typing.Literal["parent_collection"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
- -
-
- -**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**end_user_email_address:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given email address.
@@ -40487,7 +41147,7 @@ client.ticketing.collections.list(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**end_user_organization_name:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given organization name.
@@ -40495,7 +41155,7 @@ client.ticketing.collections.list(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**end_user_origin_id:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given origin ID.
@@ -40503,7 +41163,7 @@ client.ticketing.collections.list(
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +**end_user_origin_ids:** `typing.Optional[str]` — Comma-separated list of EndUser origin IDs, making it possible to specify multiple EndUsers at once.
@@ -40511,7 +41171,7 @@ client.ticketing.collections.list(
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +**id:** `typing.Optional[str]`
@@ -40519,7 +41179,7 @@ client.ticketing.collections.list(
-**name:** `typing.Optional[str]` — If provided, will only return collections with this name. +**ids:** `typing.Optional[str]` — Comma-separated list of LinkedAccount IDs, making it possible to specify multiple LinkedAccounts at once.
@@ -40527,7 +41187,7 @@ client.ticketing.collections.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. +**include_duplicates:** `typing.Optional[bool]` — If `true`, will include complete production duplicates of the account specified by the `id` query parameter in the response. `id` must be for a complete production linked account.
@@ -40535,7 +41195,7 @@ client.ticketing.collections.list(
-**parent_collection_id:** `typing.Optional[str]` — If provided, will only return collections whose parent collection matches the given id. +**integration_name:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given integration name.
@@ -40543,7 +41203,7 @@ client.ticketing.collections.list(
-**remote_fields:** `typing.Optional[typing.Literal["collection_type"]]` — Deprecated. Use show_enum_origins. +**is_test_account:** `typing.Optional[str]` — If included, will only include test linked accounts. If not included, will only include non-test linked accounts.
@@ -40551,7 +41211,7 @@ client.ticketing.collections.list(
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -40559,7 +41219,7 @@ client.ticketing.collections.list(
-**show_enum_origins:** `typing.Optional[typing.Literal["collection_type"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) +**status:** `typing.Optional[str]` — Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED`
@@ -40579,7 +41239,8 @@ client.ticketing.collections.list(
-
client.ticketing.collections.viewers_list(...) +## Hris Locations +
client.hris.locations.list(...)
@@ -40591,7 +41252,7 @@ client.ticketing.collections.list(
-Returns a list of `Viewer` objects that point to a User id or Team id that is either an assignee or viewer on a `Collection` with the given id. [Learn more.](https://help.merge.dev/en/articles/10333658-ticketing-access-control-list-acls) +Returns a list of `Location` objects.
@@ -40607,23 +41268,19 @@ Returns a list of `Viewer` objects that point to a User id or Team id that is ei ```python from merge import Merge -from merge.resources.ticketing.resources.collections import ( - CollectionsViewersListRequestExpand, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.collections.viewers_list( - collection_id="collection_id", +response = client.hris.locations.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=CollectionsViewersListRequestExpand.TEAM, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - page_size=1, ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -40639,7 +41296,7 @@ client.ticketing.collections.viewers_list(
-**collection_id:** `str` +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -40647,7 +41304,7 @@ client.ticketing.collections.viewers_list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -40655,7 +41312,7 @@ client.ticketing.collections.viewers_list(
-**expand:** `typing.Optional[CollectionsViewersListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -40687,80 +41344,20 @@ client.ticketing.collections.viewers_list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. - -
-
+**location_type:** `typing.Optional[LocationsListRequestLocationType]` -
-
+If provided, will only return locations with this location_type -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +* `HOME` - HOME +* `WORK` - WORK
- -
- - - -
- -
client.ticketing.collections.retrieve(...)
-#### 📝 Description - -
-
- -
-
- -Returns a `Collection` object with the given `id`. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.ticketing.collections.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**id:** `str` +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned.
@@ -40768,7 +41365,7 @@ client.ticketing.collections.retrieve(
-**expand:** `typing.Optional[typing.Literal["parent_collection"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned.
@@ -40776,7 +41373,7 @@ client.ticketing.collections.retrieve(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -40784,7 +41381,7 @@ client.ticketing.collections.retrieve(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**remote_fields:** `typing.Optional[LocationsListRequestRemoteFields]` — Deprecated. Use show_enum_origins.
@@ -40792,7 +41389,7 @@ client.ticketing.collections.retrieve(
-**remote_fields:** `typing.Optional[typing.Literal["collection_type"]]` — Deprecated. Use show_enum_origins. +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -40800,7 +41397,7 @@ client.ticketing.collections.retrieve(
-**show_enum_origins:** `typing.Optional[typing.Literal["collection_type"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) +**show_enum_origins:** `typing.Optional[LocationsListRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
@@ -40820,8 +41417,7 @@ client.ticketing.collections.retrieve(
-## Ticketing Comments -
client.ticketing.comments.list(...) +
client.hris.locations.retrieve(...)
@@ -40833,7 +41429,7 @@ client.ticketing.collections.retrieve(
-Returns a list of `Comment` objects. +Returns a `Location` object with the given `id`.
@@ -40848,41 +41444,14 @@ Returns a list of `Comment` objects.
```python -import datetime - from merge import Merge -from merge.resources.ticketing.resources.comments import ( - CommentsListRequestExpand, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.comments.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=CommentsListRequestExpand.CONTACT, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - remote_id="remote_id", - ticket_id="ticket_id", +client.hris.locations.retrieve( + id="id", ) ``` @@ -40899,7 +41468,7 @@ client.ticketing.comments.list(
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**id:** `str`
@@ -40907,7 +41476,7 @@ client.ticketing.comments.list(
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -40915,7 +41484,7 @@ client.ticketing.comments.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -40923,7 +41492,7 @@ client.ticketing.comments.list(
-**expand:** `typing.Optional[CommentsListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**remote_fields:** `typing.Optional[LocationsRetrieveRequestRemoteFields]` — Deprecated. Use show_enum_origins.
@@ -40931,7 +41500,7 @@ client.ticketing.comments.list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**show_enum_origins:** `typing.Optional[LocationsRetrieveRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
@@ -40939,63 +41508,75 @@ client.ticketing.comments.list(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+
+
-
-
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). -
+
+## Hris Passthrough +
client.hris.passthrough.create(...)
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. - -
-
+#### 📝 Description
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. - -
-
-
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. - +Pull data from an endpoint not currently supported by Merge. +
+
+#### 🔌 Usage +
-**remote_created_after:** `typing.Optional[dt.datetime]` — If provided, will only return Comments created in the third party platform after this datetime. - -
-
-
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. - +```python +from merge import Merge +from merge.resources.hris import DataPassthroughRequest, MethodEnum + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.hris.passthrough.create( + request=DataPassthroughRequest( + method=MethodEnum.GET, + path="/scooters", + ), +) + +``` +
+
+#### ⚙️ Parameters +
-**ticket_id:** `typing.Optional[str]` — If provided, will only return comments for this ticket. +
+
+ +**request:** `DataPassthroughRequest`
@@ -41015,7 +41596,8 @@ client.ticketing.comments.list(
-
client.ticketing.comments.create(...) +## Hris PayGroups +
client.hris.pay_groups.list(...)
@@ -41027,7 +41609,7 @@ client.ticketing.comments.list(
-Creates a `Comment` object with the given values. +Returns a list of `PayGroup` objects.
@@ -41043,17 +41625,19 @@ Creates a `Comment` object with the given values. ```python from merge import Merge -from merge.resources.ticketing import CommentRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.comments.create( - is_debug_mode=True, - run_async=True, - model=CommentRequest(), +response = client.hris.pay_groups.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -41069,7 +41653,7 @@ client.ticketing.comments.create(
-**model:** `CommentRequest` +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -41077,7 +41661,7 @@ client.ticketing.comments.create(
-**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -41085,7 +41669,7 @@ client.ticketing.comments.create(
-**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -41093,76 +41677,31 @@ client.ticketing.comments.create(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
- -
- - - - -
- -
client.ticketing.comments.retrieve(...) -
-
- -#### 📝 Description
-
-
- -Returns a `Comment` object with the given `id`. -
-
+**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +
-#### 🔌 Usage - -
-
-
-```python -from merge import Merge -from merge.resources.ticketing.resources.comments import ( - CommentsRetrieveRequestExpand, -) - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.ticketing.comments.retrieve( - id="id", - expand=CommentsRetrieveRequestExpand.CONTACT, - include_remote_data=True, - include_shell_data=True, -) - -``` -
-
+**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +
-#### ⚙️ Parameters - -
-
-
-**id:** `str` +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned.
@@ -41170,7 +41709,7 @@ client.ticketing.comments.retrieve(
-**expand:** `typing.Optional[CommentsRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned.
@@ -41178,7 +41717,7 @@ client.ticketing.comments.retrieve(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -41186,7 +41725,7 @@ client.ticketing.comments.retrieve(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -41206,7 +41745,7 @@ client.ticketing.comments.retrieve(
-
client.ticketing.comments.meta_post_retrieve() +
client.hris.pay_groups.retrieve(...)
@@ -41218,7 +41757,7 @@ client.ticketing.comments.retrieve(
-Returns metadata for `Comment` POSTs. +Returns a `PayGroup` object with the given `id`.
@@ -41239,7 +41778,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.comments.meta_post_retrieve() +client.hris.pay_groups.retrieve( + id="id", +) ``` @@ -41255,6 +41796,30 @@ client.ticketing.comments.meta_post_retrieve()
+**id:** `str` + +
+
+ +
+
+ +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
+ +
+
+ +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -41267,8 +41832,8 @@ client.ticketing.comments.meta_post_retrieve()
-## Ticketing Contacts -
client.ticketing.contacts.list(...) +## Hris PayrollRuns +
client.hris.payroll_runs.list(...)
@@ -41280,7 +41845,7 @@ client.ticketing.comments.meta_post_retrieve()
-Returns a list of `Contact` objects. +Returns a list of `PayrollRun` objects.
@@ -41295,35 +41860,20 @@ Returns a list of `Contact` objects.
```python -import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.contacts.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), +response = client.hris.payroll_runs.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - email_address="email_address", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -41363,7 +41913,7 @@ client.ticketing.contacts.list(
-**email_address:** `typing.Optional[str]` — If provided, will only return Contacts that match this email. +**ended_after:** `typing.Optional[dt.datetime]` — If provided, will only return payroll runs ended after this datetime.
@@ -41371,7 +41921,7 @@ client.ticketing.contacts.list(
-**expand:** `typing.Optional[typing.Literal["account"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**ended_before:** `typing.Optional[dt.datetime]` — If provided, will only return payroll runs ended before this datetime.
@@ -41419,7 +41969,7 @@ client.ticketing.contacts.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -41427,7 +41977,7 @@ client.ticketing.contacts.list(
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +**remote_fields:** `typing.Optional[PayrollRunsListRequestRemoteFields]` — Deprecated. Use show_enum_origins.
@@ -41435,73 +41985,31 @@ client.ticketing.contacts.list(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
- -
- - - - -
-
client.ticketing.contacts.create(...)
-#### 📝 Description - -
-
+**run_type:** `typing.Optional[PayrollRunsListRequestRunType]` -
-
+If provided, will only return PayrollRun's with this status. Options: ('REGULAR', 'OFF_CYCLE', 'CORRECTION', 'TERMINATION', 'SIGN_ON_BONUS') -Creates a `Contact` object with the given values. -
-
+* `REGULAR` - REGULAR +* `OFF_CYCLE` - OFF_CYCLE +* `CORRECTION` - CORRECTION +* `TERMINATION` - TERMINATION +* `SIGN_ON_BONUS` - SIGN_ON_BONUS +
-#### 🔌 Usage - -
-
-
-```python -from merge import Merge -from merge.resources.ticketing import ContactRequest - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.ticketing.contacts.create( - is_debug_mode=True, - run_async=True, - model=ContactRequest(), -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**model:** `ContactRequest` +**show_enum_origins:** `typing.Optional[PayrollRunsListRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
@@ -41509,7 +42017,7 @@ client.ticketing.contacts.create(
-**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. +**started_after:** `typing.Optional[dt.datetime]` — If provided, will only return payroll runs started after this datetime.
@@ -41517,7 +42025,7 @@ client.ticketing.contacts.create(
-**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. +**started_before:** `typing.Optional[dt.datetime]` — If provided, will only return payroll runs started before this datetime.
@@ -41537,7 +42045,7 @@ client.ticketing.contacts.create(
-
client.ticketing.contacts.retrieve(...) +
client.hris.payroll_runs.retrieve(...)
@@ -41549,7 +42057,7 @@ client.ticketing.contacts.create(
-Returns a `Contact` object with the given `id`. +Returns a `PayrollRun` object with the given `id`.
@@ -41570,10 +42078,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.contacts.retrieve( +client.hris.payroll_runs.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) ``` @@ -41598,7 +42104,7 @@ client.ticketing.contacts.retrieve(
-**expand:** `typing.Optional[typing.Literal["account"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -41606,7 +42112,7 @@ client.ticketing.contacts.retrieve(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -41614,7 +42120,15 @@ client.ticketing.contacts.retrieve(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**remote_fields:** `typing.Optional[PayrollRunsRetrieveRequestRemoteFields]` — Deprecated. Use show_enum_origins. + +
+
+ +
+
+ +**show_enum_origins:** `typing.Optional[PayrollRunsRetrieveRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
@@ -41634,7 +42148,8 @@ client.ticketing.contacts.retrieve(
-
client.ticketing.contacts.meta_post_retrieve() +## Hris RegenerateKey +
client.hris.regenerate_key.create(...)
@@ -41646,7 +42161,7 @@ client.ticketing.contacts.retrieve(
-Returns metadata for `TicketingContact` POSTs. +Exchange remote keys.
@@ -41667,7 +42182,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.contacts.meta_post_retrieve() +client.hris.regenerate_key.create( + name="Remote Deployment Key 1", +) ``` @@ -41683,6 +42200,14 @@ client.ticketing.contacts.meta_post_retrieve()
+**name:** `str` — The name of the remote key + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -41695,8 +42220,8 @@ client.ticketing.contacts.meta_post_retrieve()
-## Ticketing Scopes -
client.ticketing.scopes.default_scopes_retrieve() +## Hris SyncStatus +
client.hris.sync_status.list(...)
@@ -41708,7 +42233,7 @@ client.ticketing.contacts.meta_post_retrieve()
-Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). +Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses).
@@ -41729,7 +42254,14 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.scopes.default_scopes_retrieve() +response = client.hris.sync_status.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", +) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -41745,6 +42277,22 @@ client.ticketing.scopes.default_scopes_retrieve()
+**cursor:** `typing.Optional[str]` — The pagination cursor value. + +
+
+ +
+
+ +**page_size:** `typing.Optional[int]` — Number of results to return per page. + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -41757,7 +42305,8 @@ client.ticketing.scopes.default_scopes_retrieve()
-
client.ticketing.scopes.linked_account_scopes_retrieve() +## Hris ForceResync +
client.hris.force_resync.sync_status_resync_create()
@@ -41769,7 +42318,7 @@ client.ticketing.scopes.default_scopes_retrieve()
-Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). +Force re-sync of all models. This endpoint is available for monthly, quarterly, and highest sync frequency customers on the Professional or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. Force re-syncs can also be triggered manually in the Merge Dashboard and is available for all customers.
@@ -41790,7 +42339,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.scopes.linked_account_scopes_retrieve() +client.hris.force_resync.sync_status_resync_create() ``` @@ -41818,7 +42367,8 @@ client.ticketing.scopes.linked_account_scopes_retrieve()
-
client.ticketing.scopes.linked_account_scopes_create(...) +## Hris Teams +
client.hris.teams.list(...)
@@ -41830,7 +42380,7 @@ client.ticketing.scopes.linked_account_scopes_retrieve()
-Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes) +Returns a list of `Team` objects.
@@ -41846,43 +42396,19 @@ Update permissions for any Common Model or field for a single Linked Account. An ```python from merge import Merge -from merge.resources.ticketing import ( - FieldPermissionDeserializerRequest, - IndividualCommonModelScopeDeserializerRequest, - ModelPermissionDeserializerRequest, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.scopes.linked_account_scopes_create( - common_models=[ - IndividualCommonModelScopeDeserializerRequest( - model_name="Employee", - model_permissions={ - "READ": ModelPermissionDeserializerRequest( - is_enabled=True, - ), - "WRITE": ModelPermissionDeserializerRequest( - is_enabled=False, - ), - }, - field_permissions=FieldPermissionDeserializerRequest( - enabled_fields=["avatar", "home_location"], - disabled_fields=["work_location"], - ), - ), - IndividualCommonModelScopeDeserializerRequest( - model_name="Benefit", - model_permissions={ - "WRITE": ModelPermissionDeserializerRequest( - is_enabled=False, - ) - }, - ), - ], +response = client.hris.teams.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -41898,7 +42424,7 @@ client.ticketing.scopes.linked_account_scopes_create(
-**common_models:** `typing.Sequence[IndividualCommonModelScopeDeserializerRequest]` — The common models you want to update the scopes for +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -41906,65 +42432,95 @@ client.ticketing.scopes.linked_account_scopes_create(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
- -
+
+
+**cursor:** `typing.Optional[str]` — The pagination cursor value. +
-
-## Ticketing DeleteAccount -
client.ticketing.delete_account.delete()
-#### 📝 Description +**expand:** `typing.Optional[ + typing.Union[ + TeamsListRequestExpandItem, typing.Sequence[TeamsListRequestExpandItem] + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + +
+
+**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + +
+
+
-Delete a linked account. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +
+ +
+
+ +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +
-#### 🔌 Usage -
+**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. + +
+
+
-```python -from merge import Merge +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. + +
+
-client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.ticketing.delete_account.delete() +
+
-``` +**page_size:** `typing.Optional[int]` — Number of results to return per page. +
+ +
+
+ +**parent_team_id:** `typing.Optional[str]` — If provided, will only return teams with this parent team. +
-#### ⚙️ Parameters -
+**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. + +
+
+
@@ -41980,8 +42536,7 @@ client.ticketing.delete_account.delete()
-## Ticketing FieldMapping -
client.ticketing.field_mapping.field_mappings_retrieve(...) +
client.hris.teams.retrieve(...)
@@ -41993,7 +42548,7 @@ client.ticketing.delete_account.delete()
-Get all Field Mappings for this Linked Account. Field Mappings are mappings between third-party Remote Fields and user defined Merge fields. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). +Returns a `Team` object with the given `id`.
@@ -42014,8 +42569,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.field_mapping.field_mappings_retrieve( - exclude_remote_field_metadata=True, +client.hris.teams.retrieve( + id="id", ) ``` @@ -42032,7 +42587,36 @@ client.ticketing.field_mapping.field_mappings_retrieve(
-**exclude_remote_field_metadata:** `typing.Optional[bool]` — If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. +**id:** `str` + +
+
+ +
+
+ +**expand:** `typing.Optional[ + typing.Union[ + TeamsRetrieveRequestExpandItem, + typing.Sequence[TeamsRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + +
+
+ +
+
+ +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
+ +
+
+ +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -42052,7 +42636,8 @@ client.ticketing.field_mapping.field_mappings_retrieve(
-
client.ticketing.field_mapping.field_mappings_create(...) +## Hris TimeOff +
client.hris.time_off.list(...)
@@ -42064,7 +42649,7 @@ client.ticketing.field_mapping.field_mappings_retrieve(
-Create new Field Mappings that will be available after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. +Returns a list of `TimeOff` objects.
@@ -42085,15 +42670,14 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.field_mapping.field_mappings_create( - exclude_remote_field_metadata=True, - target_field_name="example_target_field_name", - target_field_description="this is a example description of the target field", - remote_field_traversal_path=["example_remote_field"], - remote_method="GET", - remote_url_path="/example-url-path", - common_model_name="ExampleCommonModel", +response = client.hris.time_off.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -42109,7 +42693,7 @@ client.ticketing.field_mapping.field_mappings_create(
-**target_field_name:** `str` — The name of the target field you want this remote field to map to. +**approver_id:** `typing.Optional[str]` — If provided, will only return time off for this approver.
@@ -42117,7 +42701,7 @@ client.ticketing.field_mapping.field_mappings_create(
-**target_field_description:** `str` — The description of the target field you want this remote field to map to. +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -42125,7 +42709,7 @@ client.ticketing.field_mapping.field_mappings_create(
-**remote_field_traversal_path:** `typing.Sequence[typing.Optional[typing.Any]]` — The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -42133,7 +42717,7 @@ client.ticketing.field_mapping.field_mappings_create(
-**remote_method:** `str` — The method of the remote endpoint where the remote field is coming from. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -42141,7 +42725,7 @@ client.ticketing.field_mapping.field_mappings_create(
-**remote_url_path:** `str` — The path of the remote endpoint where the remote field is coming from. +**employee_id:** `typing.Optional[str]` — If provided, will only return time off for this employee.
@@ -42149,7 +42733,7 @@ client.ticketing.field_mapping.field_mappings_create(
-**common_model_name:** `str` — The name of the Common Model that the remote field corresponds to in a given category. +**ended_after:** `typing.Optional[dt.datetime]` — If provided, will only return employees that ended after this datetime.
@@ -42157,7 +42741,7 @@ client.ticketing.field_mapping.field_mappings_create(
-**exclude_remote_field_metadata:** `typing.Optional[bool]` — If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. +**ended_before:** `typing.Optional[dt.datetime]` — If provided, will only return time-offs that ended before this datetime.
@@ -42165,7 +42749,12 @@ client.ticketing.field_mapping.field_mappings_create(
-**jmes_path:** `typing.Optional[str]` — JMES path to specify json query expression to be used on field mapping. +**expand:** `typing.Optional[ + typing.Union[ + TimeOffListRequestExpandItem, + typing.Sequence[TimeOffListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -42173,70 +42762,120 @@ client.ticketing.field_mapping.field_mappings_create(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
+ +
+
+ +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +
+
+
+**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +
-
-
client.ticketing.field_mapping.field_mappings_destroy(...)
-#### 📝 Description +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. + +
+
+**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. + +
+
+
-Deletes Field Mappings for a Linked Account. All data related to this Field Mapping will be deleted and these changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. +**page_size:** `typing.Optional[int]` — Number of results to return per page. +
+ +
+
+ +**remote_fields:** `typing.Optional[TimeOffListRequestRemoteFields]` — Deprecated. Use show_enum_origins. +
-#### 🔌 Usage -
+**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. + +
+
+
-```python -from merge import Merge +**request_type:** `typing.Optional[TimeOffListRequestRequestType]` -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.ticketing.field_mapping.field_mappings_destroy( - field_mapping_id="field_mapping_id", -) +If provided, will only return TimeOff with this request type. Options: ('VACATION', 'SICK', 'PERSONAL', 'JURY_DUTY', 'VOLUNTEER', 'BEREAVEMENT') -``` +* `VACATION` - VACATION +* `SICK` - SICK +* `PERSONAL` - PERSONAL +* `JURY_DUTY` - JURY_DUTY +* `VOLUNTEER` - VOLUNTEER +* `BEREAVEMENT` - BEREAVEMENT +
+ +
+
+ +**show_enum_origins:** `typing.Optional[TimeOffListRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) +
-#### ⚙️ Parameters +
+
+ +**started_after:** `typing.Optional[dt.datetime]` — If provided, will only return time-offs that started after this datetime. + +
+
+**started_before:** `typing.Optional[dt.datetime]` — If provided, will only return time-offs that started before this datetime. + +
+
+
-**field_mapping_id:** `str` +**status:** `typing.Optional[TimeOffListRequestStatus]` + +If provided, will only return TimeOff with this status. Options: ('REQUESTED', 'APPROVED', 'DECLINED', 'CANCELLED', 'DELETED') + +* `REQUESTED` - REQUESTED +* `APPROVED` - APPROVED +* `DECLINED` - DECLINED +* `CANCELLED` - CANCELLED +* `DELETED` - DELETED
@@ -42256,7 +42895,7 @@ client.ticketing.field_mapping.field_mappings_destroy(
-
client.ticketing.field_mapping.field_mappings_partial_update(...) +
client.hris.time_off.create(...)
@@ -42268,7 +42907,7 @@ client.ticketing.field_mapping.field_mappings_destroy(
-Create or update existing Field Mappings for a Linked Account. Changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. +Creates a `TimeOff` object with the given values.
@@ -42284,13 +42923,14 @@ Create or update existing Field Mappings for a Linked Account. Changes will be r ```python from merge import Merge +from merge.resources.hris import TimeOffRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.field_mapping.field_mappings_partial_update( - field_mapping_id="field_mapping_id", +client.hris.time_off.create( + model=TimeOffRequest(), ) ``` @@ -42307,23 +42947,7 @@ client.ticketing.field_mapping.field_mappings_partial_update(
-**field_mapping_id:** `str` - -
-
- -
-
- -**remote_field_traversal_path:** `typing.Optional[typing.Sequence[typing.Optional[typing.Any]]]` — The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. - -
-
- -
-
- -**remote_method:** `typing.Optional[str]` — The method of the remote endpoint where the remote field is coming from. +**model:** `TimeOffRequest`
@@ -42331,7 +42955,7 @@ client.ticketing.field_mapping.field_mappings_partial_update(
-**remote_url_path:** `typing.Optional[str]` — The path of the remote endpoint where the remote field is coming from. +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response.
@@ -42339,7 +42963,7 @@ client.ticketing.field_mapping.field_mappings_partial_update(
-**jmes_path:** `typing.Optional[str]` — JMES path to specify json query expression to be used on field mapping. +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously.
@@ -42359,7 +42983,7 @@ client.ticketing.field_mapping.field_mappings_partial_update(
-
client.ticketing.field_mapping.remote_fields_retrieve(...) +
client.hris.time_off.retrieve(...)
@@ -42371,7 +42995,7 @@ client.ticketing.field_mapping.field_mappings_partial_update(
-Get all remote fields for a Linked Account. Remote fields are third-party fields that are accessible after initial sync if remote_data is enabled. You can use remote fields to override existing Merge fields or map a new Merge field. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). +Returns a `TimeOff` object with the given `id`.
@@ -42392,9 +43016,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.field_mapping.remote_fields_retrieve( - common_models="common_models", - include_example_values="include_example_values", +client.hris.time_off.retrieve( + id="id", ) ``` @@ -42411,7 +43034,7 @@ client.ticketing.field_mapping.remote_fields_retrieve(
-**common_models:** `typing.Optional[str]` — A comma seperated list of Common Model names. If included, will only return Remote Fields for those Common Models. +**id:** `str`
@@ -42419,7 +43042,44 @@ client.ticketing.field_mapping.remote_fields_retrieve(
-**include_example_values:** `typing.Optional[str]` — If true, will include example values, where available, for remote fields in the 3rd party platform. These examples come from active data from your customers. +**expand:** `typing.Optional[ + typing.Union[ + TimeOffRetrieveRequestExpandItem, + typing.Sequence[TimeOffRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + +
+
+ +
+
+ +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
+ +
+
+ +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + +
+
+ +
+
+ +**remote_fields:** `typing.Optional[TimeOffRetrieveRequestRemoteFields]` — Deprecated. Use show_enum_origins. + +
+
+ +
+
+ +**show_enum_origins:** `typing.Optional[TimeOffRetrieveRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
@@ -42439,7 +43099,7 @@ client.ticketing.field_mapping.remote_fields_retrieve(
-
client.ticketing.field_mapping.target_fields_retrieve() +
client.hris.time_off.meta_post_retrieve()
@@ -42451,7 +43111,7 @@ client.ticketing.field_mapping.remote_fields_retrieve(
-Get all organization-wide Target Fields, this will not include any Linked Account specific Target Fields. Organization-wide Target Fields are additional fields appended to the Merge Common Model for all Linked Accounts in a category. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/target-fields/). +Returns metadata for `TimeOff` POSTs.
@@ -42472,7 +43132,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.field_mapping.target_fields_retrieve() +client.hris.time_off.meta_post_retrieve() ``` @@ -42500,8 +43160,8 @@ client.ticketing.field_mapping.target_fields_retrieve()
-## Ticketing GenerateKey -
client.ticketing.generate_key.create(...) +## Hris TimeOffBalances +
client.hris.time_off_balances.list(...)
@@ -42513,7 +43173,7 @@ client.ticketing.field_mapping.target_fields_retrieve()
-Create a remote key. +Returns a list of `TimeOffBalance` objects.
@@ -42534,9 +43194,14 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.generate_key.create( - name="Remote Deployment Key 1", +response = client.hris.time_off_balances.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -42552,7 +43217,7 @@ client.ticketing.generate_key.create(
-**name:** `str` — The name of the remote key +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -42560,95 +43225,15 @@ client.ticketing.generate_key.create(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
- -
- - - -
- -## Ticketing Issues -
client.ticketing.issues.list(...)
-#### 📝 Description - -
-
- -
-
- -Gets all issues for Organization. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -import datetime - -from merge import Merge -from merge.resources.ticketing.resources.issues import IssuesListRequestStatus - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.ticketing.issues.list( - account_token="account_token", - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_date="end_date", - end_user_organization_name="end_user_organization_name", - first_incident_time_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - first_incident_time_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - include_muted="include_muted", - integration_name="integration_name", - last_incident_time_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - last_incident_time_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - linked_account_id="linked_account_id", - page_size=1, - start_date="start_date", - status=IssuesListRequestStatus.ONGOING, -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**account_token:** `typing.Optional[str]` +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -42656,7 +43241,7 @@ client.ticketing.issues.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**employee_id:** `typing.Optional[str]` — If provided, will only return time off balances for this employee.
@@ -42664,7 +43249,12 @@ client.ticketing.issues.list(
-**end_date:** `typing.Optional[str]` — If included, will only include issues whose most recent action occurred before this time +**expand:** `typing.Optional[ + typing.Union[ + TimeOffBalancesListRequestExpandItem, + typing.Sequence[TimeOffBalancesListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -42672,7 +43262,7 @@ client.ticketing.issues.list(
-**end_user_organization_name:** `typing.Optional[str]` +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -42680,7 +43270,7 @@ client.ticketing.issues.list(
-**first_incident_time_after:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose first incident time was after this datetime. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -42688,7 +43278,7 @@ client.ticketing.issues.list(
-**first_incident_time_before:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose first incident time was before this datetime. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -42696,7 +43286,7 @@ client.ticketing.issues.list(
-**include_muted:** `typing.Optional[str]` — If true, will include muted issues +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned.
@@ -42704,7 +43294,7 @@ client.ticketing.issues.list(
-**integration_name:** `typing.Optional[str]` +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned.
@@ -42712,7 +43302,7 @@ client.ticketing.issues.list(
-**last_incident_time_after:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose last incident time was after this datetime. +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -42720,15 +43310,16 @@ client.ticketing.issues.list(
-**last_incident_time_before:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose last incident time was before this datetime. - -
-
+**policy_type:** `typing.Optional[TimeOffBalancesListRequestPolicyType]` -
-
+If provided, will only return TimeOffBalance with this policy type. Options: ('VACATION', 'SICK', 'PERSONAL', 'JURY_DUTY', 'VOLUNTEER', 'BEREAVEMENT') -**linked_account_id:** `typing.Optional[str]` — If provided, will only include issues pertaining to the linked account passed in. +* `VACATION` - VACATION +* `SICK` - SICK +* `PERSONAL` - PERSONAL +* `JURY_DUTY` - JURY_DUTY +* `VOLUNTEER` - VOLUNTEER +* `BEREAVEMENT` - BEREAVEMENT
@@ -42736,7 +43327,7 @@ client.ticketing.issues.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. +**remote_fields:** `typing.Optional[TimeOffBalancesListRequestRemoteFields]` — Deprecated. Use show_enum_origins.
@@ -42744,7 +43335,7 @@ client.ticketing.issues.list(
-**start_date:** `typing.Optional[str]` — If included, will only include issues whose most recent action occurred after this time +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -42752,12 +43343,7 @@ client.ticketing.issues.list(
-**status:** `typing.Optional[IssuesListRequestStatus]` - -Status of the issue. Options: ('ONGOING', 'RESOLVED') - -* `ONGOING` - ONGOING -* `RESOLVED` - RESOLVED +**show_enum_origins:** `typing.Optional[TimeOffBalancesListRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
@@ -42777,7 +43363,7 @@ Status of the issue. Options: ('ONGOING', 'RESOLVED')
-
client.ticketing.issues.retrieve(...) +
client.hris.time_off_balances.retrieve(...)
@@ -42789,7 +43375,7 @@ Status of the issue. Options: ('ONGOING', 'RESOLVED')
-Get a specific issue. +Returns a `TimeOffBalance` object with the given `id`.
@@ -42810,7 +43396,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.issues.retrieve( +client.hris.time_off_balances.retrieve( id="id", ) @@ -42836,6 +43422,51 @@ client.ticketing.issues.retrieve(
+**expand:** `typing.Optional[ + typing.Union[ + TimeOffBalancesRetrieveRequestExpandItem, + typing.Sequence[TimeOffBalancesRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + +
+
+ +
+
+ +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
+ +
+
+ +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + +
+
+ +
+
+ +**remote_fields:** `typing.Optional[TimeOffBalancesRetrieveRequestRemoteFields]` — Deprecated. Use show_enum_origins. + +
+
+ +
+
+ +**show_enum_origins:** `typing.Optional[TimeOffBalancesRetrieveRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -42848,8 +43479,8 @@ client.ticketing.issues.retrieve(
-## Ticketing LinkToken -
client.ticketing.link_token.create(...) +## Hris TimesheetEntries +
client.hris.timesheet_entries.list(...)
@@ -42861,7 +43492,7 @@ client.ticketing.issues.retrieve(
-Creates a link token to be used when linking a new end user. +Returns a list of `TimesheetEntry` objects.
@@ -42877,18 +43508,19 @@ Creates a link token to be used when linking a new end user. ```python from merge import Merge -from merge.resources.ticketing import CategoriesEnum client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.link_token.create( - end_user_email_address="example@gmail.com", - end_user_organization_name="Test Organization", - end_user_origin_id="12345", - categories=[CategoriesEnum.HRIS, CategoriesEnum.ATS], +response = client.hris.timesheet_entries.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -42904,7 +43536,7 @@ client.ticketing.link_token.create(
-**end_user_email_address:** `str` — Your end user's email address. This is purely for identification purposes - setting this value will not cause any emails to be sent. +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -42912,7 +43544,7 @@ client.ticketing.link_token.create(
-**end_user_organization_name:** `str` — Your end user's organization. +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -42920,7 +43552,7 @@ client.ticketing.link_token.create(
-**end_user_origin_id:** `str` — This unique identifier typically represents the ID for your end user in your product's database. This value must be distinct from other Linked Accounts' unique identifiers. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -42928,7 +43560,7 @@ client.ticketing.link_token.create(
-**categories:** `typing.Sequence[CategoriesEnum]` — The integration categories to show in Merge Link. +**employee_id:** `typing.Optional[str]` — If provided, will only return timesheet entries for this employee.
@@ -42936,7 +43568,7 @@ client.ticketing.link_token.create(
-**integration:** `typing.Optional[str]` — The slug of a specific pre-selected integration for this linking flow token. For examples of slugs, see https://docs.merge.dev/guides/merge-link/single-integration/. +**ended_after:** `typing.Optional[dt.datetime]` — If provided, will only return timesheet entries ended after this datetime.
@@ -42944,7 +43576,7 @@ client.ticketing.link_token.create(
-**link_expiry_mins:** `typing.Optional[int]` — An integer number of minutes between [30, 720 or 10080 if for a Magic Link URL] for how long this token is valid. Defaults to 30. +**ended_before:** `typing.Optional[dt.datetime]` — If provided, will only return timesheet entries ended before this datetime.
@@ -42952,7 +43584,12 @@ client.ticketing.link_token.create(
-**should_create_magic_link_url:** `typing.Optional[bool]` — Whether to generate a Magic Link URL. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. +**expand:** `typing.Optional[ + typing.Union[ + TimesheetEntriesListRequestExpandItem, + typing.Sequence[TimesheetEntriesListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -42960,7 +43597,7 @@ client.ticketing.link_token.create(
-**hide_admin_magic_link:** `typing.Optional[bool]` — Whether to generate a Magic Link URL on the Admin Needed screen during the linking flow. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -42968,7 +43605,7 @@ client.ticketing.link_token.create(
-**common_models:** `typing.Optional[typing.Sequence[CommonModelScopesBodyRequest]]` — An array of objects to specify the models and fields that will be disabled for a given Linked Account. Each object uses model_id, enabled_actions, and disabled_fields to specify the model, method, and fields that are scoped for a given Linked Account. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -42976,14 +43613,7 @@ client.ticketing.link_token.create(
-**category_common_model_scopes:** `typing.Optional[ - typing.Dict[ - str, - typing.Optional[ - typing.Sequence[IndividualCommonModelScopeDeserializerRequest] - ], - ] -]` — When creating a Link Token, you can set permissions for Common Models that will apply to the account that is going to be linked. Any model or field not specified in link token payload will default to existing settings. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -42991,12 +43621,15 @@ client.ticketing.link_token.create(
-**language:** `typing.Optional[EndUserDetailsRequestLanguage]` +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. + +
+
-The following subset of IETF language tags can be used to configure localization. +
+
-* `en` - en -* `de` - de +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned.
@@ -43004,7 +43637,15 @@ The following subset of IETF language tags can be used to configure localization
-**are_syncs_disabled:** `typing.Optional[bool]` — The boolean that indicates whether initial, periodic, and force syncs will be disabled. +**order_by:** `typing.Optional[TimesheetEntriesListRequestOrderBy]` — Overrides the default ordering for this endpoint. Possible values include: start_time, -start_time. + +
+
+ +
+
+ +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -43012,7 +43653,7 @@ The following subset of IETF language tags can be used to configure localization
-**integration_specific_config:** `typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]` — A JSON object containing integration-specific configuration options. +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -43020,11 +43661,15 @@ The following subset of IETF language tags can be used to configure localization
-**completed_account_initial_screen:** `typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen]` +**started_after:** `typing.Optional[dt.datetime]` — If provided, will only return timesheet entries started after this datetime. + +
+
-When creating a Link token, you can specifiy the initial screen of Linking Flow for a completed Linked Account. +
+
-* `SELECTIVE_SYNC` - SELECTIVE_SYNC +**started_before:** `typing.Optional[dt.datetime]` — If provided, will only return timesheet entries started before this datetime.
@@ -43044,8 +43689,7 @@ When creating a Link token, you can specifiy the initial screen of Linking Flow
-## Ticketing LinkedAccounts -
client.ticketing.linked_accounts.list(...) +
client.hris.timesheet_entries.create(...)
@@ -43057,7 +43701,7 @@ When creating a Link token, you can specifiy the initial screen of Linking Flow
-List linked accounts for your organization. +Creates a `TimesheetEntry` object with the given values.
@@ -43073,28 +43717,14 @@ List linked accounts for your organization. ```python from merge import Merge -from merge.resources.ticketing.resources.linked_accounts import ( - LinkedAccountsListRequestCategory, -) +from merge.resources.hris import TimesheetEntryRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.linked_accounts.list( - category=LinkedAccountsListRequestCategory.ACCOUNTING, - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_user_email_address="end_user_email_address", - end_user_organization_name="end_user_organization_name", - end_user_origin_id="end_user_origin_id", - end_user_origin_ids="end_user_origin_ids", - id="id", - ids="ids", - include_duplicates=True, - integration_name="integration_name", - is_test_account="is_test_account", - page_size=1, - status="status", +client.hris.timesheet_entries.create( + model=TimesheetEntryRequest(), ) ``` @@ -43111,17 +43741,7 @@ client.ticketing.linked_accounts.list(
-**category:** `typing.Optional[LinkedAccountsListRequestCategory]` - -Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing` - -* `hris` - hris -* `ats` - ats -* `accounting` - accounting -* `ticketing` - ticketing -* `crm` - crm -* `mktg` - mktg -* `filestorage` - filestorage +**model:** `TimesheetEntryRequest`
@@ -43129,7 +43749,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response.
@@ -43137,7 +43757,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-**end_user_email_address:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given email address. +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously.
@@ -43145,55 +43765,70 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-**end_user_organization_name:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given organization name. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**end_user_origin_id:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given origin ID. -
+
+
client.hris.timesheet_entries.retrieve(...)
-**end_user_origin_ids:** `typing.Optional[str]` — Comma-separated list of EndUser origin IDs, making it possible to specify multiple EndUsers at once. - -
-
+#### 📝 Description
-**id:** `typing.Optional[str]` - -
-
-
-**ids:** `typing.Optional[str]` — Comma-separated list of LinkedAccount IDs, making it possible to specify multiple LinkedAccounts at once. - +Returns a `TimesheetEntry` object with the given `id`.
+ + + +#### 🔌 Usage
-**include_duplicates:** `typing.Optional[bool]` — If `true`, will include complete production duplicates of the account specified by the `id` query parameter in the response. `id` must be for a complete production linked account. - +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.hris.timesheet_entries.retrieve( + id="id", +) + +``` +
+
+#### ⚙️ Parameters +
-**integration_name:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given integration name. +
+
+ +**id:** `str`
@@ -43201,7 +43836,12 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-**is_test_account:** `typing.Optional[str]` — If included, will only include test linked accounts. If not included, will only include non-test linked accounts. +**expand:** `typing.Optional[ + typing.Union[ + TimesheetEntriesRetrieveRequestExpandItem, + typing.Sequence[TimesheetEntriesRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -43209,7 +43849,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -43217,7 +43857,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-**status:** `typing.Optional[str]` — Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -43237,8 +43877,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-## Ticketing Passthrough -
client.ticketing.passthrough.create(...) +
client.hris.timesheet_entries.meta_post_retrieve()
@@ -43250,7 +43889,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-Pull data from an endpoint not currently supported by Merge. +Returns metadata for `TimesheetEntry` POSTs.
@@ -43266,18 +43905,12 @@ Pull data from an endpoint not currently supported by Merge. ```python from merge import Merge -from merge.resources.ticketing import DataPassthroughRequest, MethodEnum client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.passthrough.create( - request=DataPassthroughRequest( - method=MethodEnum.GET, - path="/scooters", - ), -) +client.hris.timesheet_entries.meta_post_retrieve() ``` @@ -43293,14 +43926,6 @@ client.ticketing.passthrough.create(
-**request:** `DataPassthroughRequest` - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -43313,8 +43938,8 @@ client.ticketing.passthrough.create(
-## Ticketing Projects -
client.ticketing.projects.list(...) +## Hris WebhookReceivers +
client.hris.webhook_receivers.list()
@@ -43326,7 +43951,7 @@ client.ticketing.passthrough.create(
-Returns a list of `Project` objects. +Returns a list of `WebhookReceiver` objects.
@@ -43341,34 +43966,13 @@ Returns a list of `Project` objects.
```python -import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.projects.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", -) +client.hris.webhook_receivers.list() ```
@@ -43384,63 +43988,71 @@ client.ticketing.projects.list(
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. -
+
+
client.hris.webhook_receivers.create(...)
-**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
+#### 📝 Description
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - -
-
-
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - +Creates a `WebhookReceiver` object with the given values.
+ + + +#### 🔌 Usage
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
-
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. - +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.hris.webhook_receivers.create( + event="event", + is_active=True, +) + +``` +
+
+#### ⚙️ Parameters +
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +
+
+ +**event:** `str`
@@ -43448,7 +44060,7 @@ client.ticketing.projects.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. +**is_active:** `bool`
@@ -43456,7 +44068,7 @@ client.ticketing.projects.list(
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +**key:** `typing.Optional[str]`
@@ -43476,7 +44088,8 @@ client.ticketing.projects.list(
-
client.ticketing.projects.retrieve(...) +## Ticketing AccountDetails +
client.ticketing.account_details.retrieve()
@@ -43488,7 +44101,7 @@ client.ticketing.projects.list(
-Returns a `Project` object with the given `id`. +Get details for a linked account.
@@ -43509,11 +44122,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.projects.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, -) +client.ticketing.account_details.retrieve() ``` @@ -43529,23 +44138,71 @@ client.ticketing.projects.retrieve(
-**id:** `str` +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
+ + + + +
+## Ticketing AccountToken +
client.ticketing.account_token.retrieve(...)
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - +#### 📝 Description + +
+
+ +
+
+ +Returns the account token for the end user with the provided public token. +
+
+#### 🔌 Usage +
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.ticketing.account_token.retrieve( + public_token="public_token", +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**public_token:** `str`
@@ -43565,7 +44222,8 @@ client.ticketing.projects.retrieve(
-
client.ticketing.projects.users_list(...) +## Ticketing Accounts +
client.ticketing.accounts.list(...)
@@ -43577,7 +44235,7 @@ client.ticketing.projects.retrieve(
-Returns a list of `User` objects. +Returns a list of `Account` objects.
@@ -43593,23 +44251,19 @@ Returns a list of `User` objects. ```python from merge import Merge -from merge.resources.ticketing.resources.projects import ( - ProjectsUsersListRequestExpand, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.projects.users_list( - parent_id="parent_id", +response = client.ticketing.accounts.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=ProjectsUsersListRequestExpand.ROLES, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - page_size=1, ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -43625,7 +44279,7 @@ client.ticketing.projects.users_list(
-**parent_id:** `str` +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -43633,7 +44287,7 @@ client.ticketing.projects.users_list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -43641,7 +44295,7 @@ client.ticketing.projects.users_list(
-**expand:** `typing.Optional[ProjectsUsersListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -43673,7 +44327,31 @@ client.ticketing.projects.users_list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. + +
+
+ +
+
+ +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. + +
+
+ +
+
+ +**page_size:** `typing.Optional[int]` — Number of results to return per page. + +
+
+ +
+
+ +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -43693,8 +44371,7 @@ client.ticketing.projects.users_list(
-## Ticketing RegenerateKey -
client.ticketing.regenerate_key.create(...) +
client.ticketing.accounts.retrieve(...)
@@ -43706,7 +44383,7 @@ client.ticketing.projects.users_list(
-Exchange remote keys. +Returns an `Account` object with the given `id`.
@@ -43727,8 +44404,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.regenerate_key.create( - name="Remote Deployment Key 1", +client.ticketing.accounts.retrieve( + id="id", ) ``` @@ -43745,7 +44422,23 @@ client.ticketing.regenerate_key.create(
-**name:** `str` — The name of the remote key +**id:** `str` + +
+
+ +
+
+ +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
+ +
+
+ +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -43765,8 +44458,8 @@ client.ticketing.regenerate_key.create(
-## Ticketing Roles -
client.ticketing.roles.list(...) +## Ticketing AsyncPassthrough +
client.ticketing.async_passthrough.create(...)
@@ -43778,7 +44471,7 @@ client.ticketing.regenerate_key.create(
-Returns a list of `Role` objects. +Asynchronously pull data from an endpoint not currently supported by Merge.
@@ -43793,34 +44486,167 @@ Returns a list of `Role` objects.
```python -import datetime - from merge import Merge +from merge.resources.ticketing import DataPassthroughRequest, MethodEnum client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.roles.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", +client.ticketing.async_passthrough.create( + request=DataPassthroughRequest( + method=MethodEnum.GET, + path="/scooters", ), +) + +``` +
+
+ + + +#### ⚙️ Parameters + +
+
+ +
+
+ +**request:** `DataPassthroughRequest` + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + + + +
+ +
client.ticketing.async_passthrough.retrieve(...) +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Retrieves data from earlier async-passthrough POST request +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.ticketing.async_passthrough.retrieve( + async_passthrough_receipt_id="async_passthrough_receipt_id", +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**async_passthrough_receipt_id:** `str` + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +## Ticketing Attachments +
client.ticketing.attachments.list(...) +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Returns a list of `Attachment` objects. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +response = client.ticketing.attachments.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -43860,6 +44686,19 @@ client.ticketing.roles.list(
+**expand:** `typing.Optional[ + typing.Union[ + AttachmentsListRequestExpandItem, + typing.Sequence[AttachmentsListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + +
+
+ +
+
+ **include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -43900,7 +44739,15 @@ client.ticketing.roles.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. +**page_size:** `typing.Optional[int]` — Number of results to return per page. + +
+
+ +
+
+ +**remote_created_after:** `typing.Optional[dt.datetime]` — If provided, will only return attachments created in the third party platform after this datetime.
@@ -43916,6 +44763,14 @@ client.ticketing.roles.list(
+**ticket_id:** `typing.Optional[str]` — If provided, will only return comments for this ticket. + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -43928,7 +44783,7 @@ client.ticketing.roles.list(
-
client.ticketing.roles.retrieve(...) +
client.ticketing.attachments.create(...)
@@ -43940,7 +44795,7 @@ client.ticketing.roles.list(
-Returns a `Role` object with the given `id`. +Creates an `Attachment` object with the given values.
@@ -43956,15 +44811,14 @@ Returns a `Role` object with the given `id`. ```python from merge import Merge +from merge.resources.ticketing import AttachmentRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.roles.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, +client.ticketing.attachments.create( + model=AttachmentRequest(), ) ``` @@ -43981,7 +44835,7 @@ client.ticketing.roles.retrieve(
-**id:** `str` +**model:** `AttachmentRequest`
@@ -43989,7 +44843,7 @@ client.ticketing.roles.retrieve(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response.
@@ -43997,7 +44851,7 @@ client.ticketing.roles.retrieve(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously.
@@ -44017,8 +44871,7 @@ client.ticketing.roles.retrieve(
-## Ticketing SyncStatus -
client.ticketing.sync_status.list(...) +
client.ticketing.attachments.retrieve(...)
@@ -44030,7 +44883,7 @@ client.ticketing.roles.retrieve(
-Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). +Returns an `Attachment` object with the given `id`.
@@ -44051,9 +44904,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.sync_status.list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - page_size=1, +client.ticketing.attachments.retrieve( + id="id", ) ``` @@ -44070,7 +44922,20 @@ client.ticketing.sync_status.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**id:** `str` + +
+
+ +
+
+ +**expand:** `typing.Optional[ + typing.Union[ + AttachmentsRetrieveRequestExpandItem, + typing.Sequence[AttachmentsRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -44078,7 +44943,15 @@ client.ticketing.sync_status.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
+ +
+
+ +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -44098,8 +44971,7 @@ client.ticketing.sync_status.list(
-## Ticketing ForceResync -
client.ticketing.force_resync.sync_status_resync_create() +
client.ticketing.attachments.meta_post_retrieve()
@@ -44111,7 +44983,7 @@ client.ticketing.sync_status.list(
-Force re-sync of all models. This endpoint is available for monthly, quarterly, and highest sync frequency customers on the Professional or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. Force re-syncs can also be triggered manually in the Merge Dashboard and is available for all customers. +Returns metadata for `TicketingAttachment` POSTs.
@@ -44132,7 +45004,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.force_resync.sync_status_resync_create() +client.ticketing.attachments.meta_post_retrieve() ``` @@ -44160,8 +45032,8 @@ client.ticketing.force_resync.sync_status_resync_create()
-## Ticketing Tags -
client.ticketing.tags.list(...) +## Ticketing AuditTrail +
client.ticketing.audit_trail.list(...)
@@ -44173,7 +45045,7 @@ client.ticketing.force_resync.sync_status_resync_create()
-Returns a list of `Tag` objects. +Gets a list of audit trail events.
@@ -44188,34 +45060,20 @@ Returns a list of `Tag` objects.
```python -import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.tags.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), +response = client.ticketing.audit_trail.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -44231,22 +45089,6 @@ client.ticketing.tags.list(
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. - -
-
- -
-
- -**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. - -
-
- -
-
- **cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -44255,23 +45097,7 @@ client.ticketing.tags.list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**end_date:** `typing.Optional[str]` — If included, will only include audit trail events that occurred before this time
@@ -44279,7 +45105,7 @@ client.ticketing.tags.list(
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +**event_type:** `typing.Optional[str]` — If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED`
@@ -44287,7 +45113,7 @@ client.ticketing.tags.list(
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -44295,7 +45121,7 @@ client.ticketing.tags.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. +**start_date:** `typing.Optional[str]` — If included, will only include audit trail events that occurred after this time
@@ -44303,7 +45129,7 @@ client.ticketing.tags.list(
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +**user_email:** `typing.Optional[str]` — If provided, this will return events associated with the specified user email. Please note that the email address reflects the user's email at the time of the event, and may not be their current email.
@@ -44323,7 +45149,8 @@ client.ticketing.tags.list(
-
client.ticketing.tags.retrieve(...) +## Ticketing AvailableActions +
client.ticketing.available_actions.retrieve()
@@ -44335,7 +45162,7 @@ client.ticketing.tags.list(
-Returns a `Tag` object with the given `id`. +Returns a list of models and actions available for an account.
@@ -44356,11 +45183,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.tags.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, -) +client.ticketing.available_actions.retrieve() ``` @@ -44376,30 +45199,6 @@ client.ticketing.tags.retrieve(
-**id:** `str` - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -44412,8 +45211,8 @@ client.ticketing.tags.retrieve(
-## Ticketing Teams -
client.ticketing.teams.list(...) +## Ticketing Collections +
client.ticketing.collections.list(...)
@@ -44425,7 +45224,7 @@ client.ticketing.tags.retrieve(
-Returns a list of `Team` objects. +Returns a list of `Collection` objects.
@@ -44440,34 +45239,20 @@ Returns a list of `Team` objects.
```python -import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.teams.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), +response = client.ticketing.collections.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -44483,6 +45268,14 @@ client.ticketing.teams.list(
+**collection_type:** `typing.Optional[CollectionsListRequestCollectionType]` — If provided, will only return collections of the given type. + +
+
+ +
+
+ **created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -44507,7 +45300,12 @@ client.ticketing.teams.list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**expand:** `typing.Optional[ + typing.Union[ + CollectionsListRequestExpandItem, + typing.Sequence[CollectionsListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -44515,7 +45313,7 @@ client.ticketing.teams.list(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -44523,7 +45321,7 @@ client.ticketing.teams.list(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -44531,7 +45329,7 @@ client.ticketing.teams.list(
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -44539,7 +45337,7 @@ client.ticketing.teams.list(
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned.
@@ -44547,7 +45345,7 @@ client.ticketing.teams.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned.
@@ -44555,7 +45353,7 @@ client.ticketing.teams.list(
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +**name:** `typing.Optional[str]` — If provided, will only return collections with this name.
@@ -44563,72 +45361,23 @@ client.ticketing.teams.list(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**page_size:** `typing.Optional[int]` — Number of results to return per page.
- -
- - - -
-
- -
client.ticketing.teams.retrieve(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns a `Team` object with the given `id`. -
-
-
-
- -#### 🔌 Usage
-
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.ticketing.teams.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, -) - -``` -
-
+**parent_collection_id:** `typing.Optional[str]` — If provided, will only return collections whose parent collection matches the given id. +
-#### ⚙️ Parameters - -
-
-
-**id:** `str` +**remote_fields:** `typing.Optional[CollectionsListRequestRemoteFields]` — Deprecated. Use show_enum_origins.
@@ -44636,7 +45385,7 @@ client.ticketing.teams.retrieve(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -44644,7 +45393,7 @@ client.ticketing.teams.retrieve(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**show_enum_origins:** `typing.Optional[CollectionsListRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
@@ -44664,8 +45413,7 @@ client.ticketing.teams.retrieve(
-## Ticketing Tickets -
client.ticketing.tickets.list(...) +
client.ticketing.collections.viewers_list(...)
@@ -44677,7 +45425,7 @@ client.ticketing.teams.retrieve(
-Returns a list of `Ticket` objects. +Returns a list of `Viewer` objects that point to a User id or Team id that is either an assignee or viewer on a `Collection` with the given id. [Learn more.](https://help.merge.dev/en/articles/10333658-ticketing-access-control-list-acls)
@@ -44692,82 +45440,21 @@ Returns a list of `Ticket` objects.
```python -import datetime - from merge import Merge -from merge.resources.ticketing.resources.tickets import ( - TicketsListRequestExpand, - TicketsListRequestPriority, - TicketsListRequestRemoteFields, - TicketsListRequestShowEnumOrigins, - TicketsListRequestStatus, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.tickets.list( - account_id="account_id", - assignee_ids="assignee_ids", - collection_ids="collection_ids", - completed_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - completed_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - contact_id="contact_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - creator_id="creator_id", - creator_ids="creator_ids", +response = client.ticketing.collections.viewers_list( + collection_id="collection_id", cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - due_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - due_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - expand=TicketsListRequestExpand.ACCOUNT, - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - name="name", - page_size=1, - parent_ticket_id="parent_ticket_id", - priority=TicketsListRequestPriority.HIGH, - remote_created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - remote_created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - remote_fields=TicketsListRequestRemoteFields.PRIORITY, - remote_id="remote_id", - remote_updated_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - remote_updated_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - show_enum_origins=TicketsListRequestShowEnumOrigins.PRIORITY, - status=TicketsListRequestStatus.EMPTY, - tags="tags", - ticket_type="ticket_type", - ticket_url="ticket_url", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -44783,7 +45470,7 @@ client.ticketing.tickets.list(
-**account_id:** `typing.Optional[str]` — If provided, will only return tickets for this account. +**collection_id:** `str`
@@ -44791,7 +45478,7 @@ client.ticketing.tickets.list(
-**assignee_ids:** `typing.Optional[str]` — If provided, will only return tickets assigned to the assignee_ids; multiple assignee_ids can be separated by commas. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -44799,7 +45486,12 @@ client.ticketing.tickets.list(
-**collection_ids:** `typing.Optional[str]` — If provided, will only return tickets assigned to the collection_ids; multiple collection_ids can be separated by commas. +**expand:** `typing.Optional[ + typing.Union[ + CollectionsViewersListRequestExpandItem, + typing.Sequence[CollectionsViewersListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -44807,7 +45499,7 @@ client.ticketing.tickets.list(
-**completed_after:** `typing.Optional[dt.datetime]` — If provided, will only return tickets completed after this datetime. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -44815,7 +45507,7 @@ client.ticketing.tickets.list(
-**completed_before:** `typing.Optional[dt.datetime]` — If provided, will only return tickets completed before this datetime. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -44823,7 +45515,7 @@ client.ticketing.tickets.list(
-**contact_id:** `typing.Optional[str]` — If provided, will only return tickets for this contact. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -44831,7 +45523,7 @@ client.ticketing.tickets.list(
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -44839,55 +45531,70 @@ client.ticketing.tickets.list(
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**creator_id:** `typing.Optional[str]` — If provided, will only return tickets created by this creator_id. -
+
+
client.ticketing.collections.retrieve(...)
-**creator_ids:** `typing.Optional[str]` — If provided, will only return tickets created by the creator_ids; multiple creator_ids can be separated by commas. - -
-
+#### 📝 Description
-**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
-
-**due_after:** `typing.Optional[dt.datetime]` — If provided, will only return tickets due after this datetime. - +Returns a `Collection` object with the given `id`.
+ + + +#### 🔌 Usage
-**due_before:** `typing.Optional[dt.datetime]` — If provided, will only return tickets due before this datetime. - +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.ticketing.collections.retrieve( + id="id", +) + +```
+
+
+ +#### ⚙️ Parameters
-**expand:** `typing.Optional[TicketsListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +
+
+ +**id:** `str`
@@ -44895,7 +45602,12 @@ client.ticketing.tickets.list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**expand:** `typing.Optional[ + typing.Union[ + CollectionsRetrieveRequestExpandItem, + typing.Sequence[CollectionsRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -44911,7 +45623,7 @@ client.ticketing.tickets.list(
-**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -44919,7 +45631,7 @@ client.ticketing.tickets.list(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**remote_fields:** `typing.Optional[CollectionsRetrieveRequestRemoteFields]` — Deprecated. Use show_enum_origins.
@@ -44927,7 +45639,7 @@ client.ticketing.tickets.list(
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +**show_enum_origins:** `typing.Optional[CollectionsRetrieveRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
@@ -44935,31 +45647,76 @@ client.ticketing.tickets.list(
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+
+
+ + + +
+ +## Ticketing Comments +
client.ticketing.comments.list(...)
-**name:** `typing.Optional[str]` — If provided, will only return tickets with this name. - +#### 📝 Description + +
+
+ +
+
+ +Returns a list of `Comment` objects. +
+
+#### 🔌 Usage +
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. - +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +response = client.ticketing.comments.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", +) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page + +``` +
+
+#### ⚙️ Parameters +
-**parent_ticket_id:** `typing.Optional[str]` — If provided, will only return sub tickets of the parent_ticket_id. +
+
+ +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -44967,14 +45724,7 @@ client.ticketing.tickets.list(
-**priority:** `typing.Optional[TicketsListRequestPriority]` - -If provided, will only return tickets of this priority. - -* `URGENT` - URGENT -* `HIGH` - HIGH -* `NORMAL` - NORMAL -* `LOW` - LOW +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -44982,7 +45732,7 @@ If provided, will only return tickets of this priority.
-**remote_created_after:** `typing.Optional[dt.datetime]` — If provided, will only return tickets created in the third party platform after this datetime. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -44990,7 +45740,12 @@ If provided, will only return tickets of this priority.
-**remote_created_before:** `typing.Optional[dt.datetime]` — If provided, will only return tickets created in the third party platform before this datetime. +**expand:** `typing.Optional[ + typing.Union[ + CommentsListRequestExpandItem, + typing.Sequence[CommentsListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -44998,7 +45753,7 @@ If provided, will only return tickets of this priority.
-**remote_fields:** `typing.Optional[TicketsListRequestRemoteFields]` — Deprecated. Use show_enum_origins. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -45006,7 +45761,7 @@ If provided, will only return tickets of this priority.
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -45014,7 +45769,7 @@ If provided, will only return tickets of this priority.
-**remote_updated_after:** `typing.Optional[dt.datetime]` — If provided, will only return tickets updated in the third party platform after this datetime. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -45022,7 +45777,7 @@ If provided, will only return tickets of this priority.
-**remote_updated_before:** `typing.Optional[dt.datetime]` — If provided, will only return tickets updated in the third party platform before this datetime. +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned.
@@ -45030,7 +45785,7 @@ If provided, will only return tickets of this priority.
-**show_enum_origins:** `typing.Optional[TicketsListRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned.
@@ -45038,7 +45793,7 @@ If provided, will only return tickets of this priority.
-**status:** `typing.Optional[TicketsListRequestStatus]` — If provided, will only return tickets of this status. +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -45046,7 +45801,7 @@ If provided, will only return tickets of this priority.
-**tags:** `typing.Optional[str]` — If provided, will only return tickets matching the tags; multiple tags can be separated by commas. +**remote_created_after:** `typing.Optional[dt.datetime]` — If provided, will only return Comments created in the third party platform after this datetime.
@@ -45054,7 +45809,7 @@ If provided, will only return tickets of this priority.
-**ticket_type:** `typing.Optional[str]` — If provided, will only return tickets of this type. +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -45062,7 +45817,7 @@ If provided, will only return tickets of this priority.
-**ticket_url:** `typing.Optional[str]` — If provided, will only return tickets where the URL matches or contains the substring +**ticket_id:** `typing.Optional[str]` — If provided, will only return comments for this ticket.
@@ -45082,7 +45837,7 @@ If provided, will only return tickets of this priority.
-
client.ticketing.tickets.create(...) +
client.ticketing.comments.create(...)
@@ -45094,7 +45849,7 @@ If provided, will only return tickets of this priority.
-Creates a `Ticket` object with the given values. +Creates a `Comment` object with the given values.
@@ -45110,16 +45865,14 @@ Creates a `Ticket` object with the given values. ```python from merge import Merge -from merge.resources.ticketing import TicketRequest +from merge.resources.ticketing import CommentRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.tickets.create( - is_debug_mode=True, - run_async=True, - model=TicketRequest(), +client.ticketing.comments.create( + model=CommentRequest(), ) ``` @@ -45136,7 +45889,7 @@ client.ticketing.tickets.create(
-**model:** `TicketRequest` +**model:** `CommentRequest`
@@ -45172,7 +45925,7 @@ client.ticketing.tickets.create(
-
client.ticketing.tickets.retrieve(...) +
client.ticketing.comments.retrieve(...)
@@ -45184,7 +45937,7 @@ client.ticketing.tickets.create(
-Returns a `Ticket` object with the given `id`. +Returns a `Comment` object with the given `id`.
@@ -45200,24 +45953,13 @@ Returns a `Ticket` object with the given `id`. ```python from merge import Merge -from merge.resources.ticketing.resources.tickets import ( - TicketsRetrieveRequestExpand, - TicketsRetrieveRequestRemoteFields, - TicketsRetrieveRequestShowEnumOrigins, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.tickets.retrieve( +client.ticketing.comments.retrieve( id="id", - expand=TicketsRetrieveRequestExpand.ACCOUNT, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - remote_fields=TicketsRetrieveRequestRemoteFields.PRIORITY, - show_enum_origins=TicketsRetrieveRequestShowEnumOrigins.PRIORITY, ) ``` @@ -45242,7 +45984,12 @@ client.ticketing.tickets.retrieve(
-**expand:** `typing.Optional[TicketsRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**expand:** `typing.Optional[ + typing.Union[ + CommentsRetrieveRequestExpandItem, + typing.Sequence[CommentsRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -45258,14 +46005,6 @@ client.ticketing.tickets.retrieve(
-**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. - -
-
- -
-
- **include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -45274,22 +46013,6 @@ client.ticketing.tickets.retrieve(
-**remote_fields:** `typing.Optional[TicketsRetrieveRequestRemoteFields]` — Deprecated. Use show_enum_origins. - -
-
- -
-
- -**show_enum_origins:** `typing.Optional[TicketsRetrieveRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -45302,7 +46025,7 @@ client.ticketing.tickets.retrieve(
-
client.ticketing.tickets.partial_update(...) +
client.ticketing.comments.meta_post_retrieve()
@@ -45314,7 +46037,7 @@ client.ticketing.tickets.retrieve(
-Updates a `Ticket` object with the given `id`. +Returns metadata for `Comment` POSTs.
@@ -45330,18 +46053,12 @@ Updates a `Ticket` object with the given `id`. ```python from merge import Merge -from merge.resources.ticketing import PatchedTicketRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.tickets.partial_update( - id="id", - is_debug_mode=True, - run_async=True, - model=PatchedTicketRequest(), -) +client.ticketing.comments.meta_post_retrieve() ``` @@ -45357,38 +46074,6 @@ client.ticketing.tickets.partial_update(
-**id:** `str` - -
-
- -
-
- -**model:** `PatchedTicketRequest` - -
-
- -
-
- -**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. - -
-
- -
-
- -**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -45401,7 +46086,8 @@ client.ticketing.tickets.partial_update(
-
client.ticketing.tickets.viewers_list(...) +## Ticketing Contacts +
client.ticketing.contacts.list(...)
@@ -45413,7 +46099,7 @@ client.ticketing.tickets.partial_update(
-Returns a list of `Viewer` objects that point to a User id or Team id that is either an assignee or viewer on a `Ticket` with the given id. [Learn more.](https://help.merge.dev/en/articles/10333658-ticketing-access-control-list-acls) +Returns a list of `Contact` objects.
@@ -45429,23 +46115,19 @@ Returns a list of `Viewer` objects that point to a User id or Team id that is ei ```python from merge import Merge -from merge.resources.ticketing.resources.tickets import ( - TicketsViewersListRequestExpand, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.tickets.viewers_list( - ticket_id="ticket_id", +response = client.ticketing.contacts.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=TicketsViewersListRequestExpand.TEAM, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - page_size=1, ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -45461,7 +46143,7 @@ client.ticketing.tickets.viewers_list(
-**ticket_id:** `str` +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -45469,7 +46151,7 @@ client.ticketing.tickets.viewers_list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -45477,7 +46159,7 @@ client.ticketing.tickets.viewers_list(
-**expand:** `typing.Optional[TicketsViewersListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -45485,7 +46167,7 @@ client.ticketing.tickets.viewers_list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**email_address:** `typing.Optional[str]` — If provided, will only return Contacts that match this email.
@@ -45493,7 +46175,12 @@ client.ticketing.tickets.viewers_list(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**expand:** `typing.Optional[ + typing.Union[ + ContactsListRequestExpandItem, + typing.Sequence[ContactsListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -45501,7 +46188,7 @@ client.ticketing.tickets.viewers_list(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -45509,7 +46196,7 @@ client.ticketing.tickets.viewers_list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -45517,70 +46204,39 @@ client.ticketing.tickets.viewers_list(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
- -
- - - - -
-
client.ticketing.tickets.meta_patch_retrieve(...)
-#### 📝 Description - -
-
+**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. + +
+
-Returns metadata for `Ticket` PATCHs. -
-
+**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +
-#### 🔌 Usage - -
-
-
-```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.ticketing.tickets.meta_patch_retrieve( - id="id", -) - -``` -
-
+**page_size:** `typing.Optional[int]` — Number of results to return per page. +
-#### ⚙️ Parameters - -
-
-
-**id:** `str` +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -45600,7 +46256,7 @@ client.ticketing.tickets.meta_patch_retrieve(
-
client.ticketing.tickets.meta_post_retrieve(...) +
client.ticketing.contacts.create(...)
@@ -45612,7 +46268,7 @@ client.ticketing.tickets.meta_patch_retrieve(
-Returns metadata for `Ticket` POSTs. +Creates a `Contact` object with the given values.
@@ -45628,14 +46284,14 @@ Returns metadata for `Ticket` POSTs. ```python from merge import Merge +from merge.resources.ticketing import ContactRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.tickets.meta_post_retrieve( - collection_id="collection_id", - ticket_type="ticket_type", +client.ticketing.contacts.create( + model=ContactRequest(), ) ``` @@ -45652,7 +46308,7 @@ client.ticketing.tickets.meta_post_retrieve(
-**collection_id:** `typing.Optional[str]` — If provided, will only return tickets for this collection. +**model:** `ContactRequest`
@@ -45660,7 +46316,15 @@ client.ticketing.tickets.meta_post_retrieve(
-**ticket_type:** `typing.Optional[str]` — If provided, will only return tickets for this ticket type. +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. + +
+
+ +
+
+ +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously.
@@ -45680,7 +46344,7 @@ client.ticketing.tickets.meta_post_retrieve(
-
client.ticketing.tickets.remote_field_classes_list(...) +
client.ticketing.contacts.retrieve(...)
@@ -45692,7 +46356,7 @@ client.ticketing.tickets.meta_post_retrieve(
-Returns a list of `RemoteFieldClass` objects. +Returns a `Contact` object with the given `id`.
@@ -45713,15 +46377,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.tickets.remote_field_classes_list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - ids="ids", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, +client.ticketing.contacts.retrieve( + id="id", ) ``` @@ -45738,7 +46395,7 @@ client.ticketing.tickets.remote_field_classes_list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**id:** `str`
@@ -45746,7 +46403,12 @@ client.ticketing.tickets.remote_field_classes_list(
-**ids:** `typing.Optional[str]` — If provided, will only return remote field classes with the `ids` in this list +**expand:** `typing.Optional[ + typing.Union[ + ContactsRetrieveRequestExpandItem, + typing.Sequence[ContactsRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -45754,7 +46416,7 @@ client.ticketing.tickets.remote_field_classes_list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -45762,7 +46424,7 @@ client.ticketing.tickets.remote_field_classes_list(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -45770,34 +46432,63 @@ client.ticketing.tickets.remote_field_classes_list(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value -
+
+
client.ticketing.contacts.meta_post_retrieve()
-**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value - +#### 📝 Description + +
+
+ +
+
+ +Returns metadata for `TicketingContact` POSTs. +
+
+#### 🔌 Usage +
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. - +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.ticketing.contacts.meta_post_retrieve() + +```
+
+
+ +#### ⚙️ Parameters + +
+
@@ -45814,8 +46505,8 @@ client.ticketing.tickets.remote_field_classes_list(
-## Ticketing Users -
client.ticketing.users.list(...) +## Ticketing Scopes +
client.ticketing.scopes.default_scopes_retrieve()
@@ -45827,7 +46518,7 @@ client.ticketing.tickets.remote_field_classes_list(
-Returns a list of `User` objects. +Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes).
@@ -45842,38 +46533,13 @@ Returns a list of `User` objects.
```python -import datetime - from merge import Merge -from merge.resources.ticketing.resources.users import UsersListRequestExpand client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.users.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - email_address="email_address", - expand=UsersListRequestExpand.ROLES, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", - team="team", -) +client.ticketing.scopes.default_scopes_retrieve() ```
@@ -45889,107 +46555,64 @@ client.ticketing.users.list(
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
- -
-
- -**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. -
-
-
-**cursor:** `typing.Optional[str]` — The pagination cursor value. -
+
+
client.ticketing.scopes.linked_account_scopes_retrieve()
-**email_address:** `typing.Optional[str]` — If provided, will only return users with emails equal to this value (case insensitive). - -
-
+#### 📝 Description
-**expand:** `typing.Optional[UsersListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
-
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - +Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes).
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. -
-
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
+#### 🔌 Usage
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. - -
-
-
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. - -
-
+```python +from merge import Merge -
-
+client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.ticketing.scopes.linked_account_scopes_retrieve() -**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. - +```
- -
-
- -**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. -
+#### ⚙️ Parameters +
-**team:** `typing.Optional[str]` — If provided, will only return users matching in this team. - -
-
-
@@ -46005,7 +46628,7 @@ client.ticketing.users.list(
-
client.ticketing.users.retrieve(...) +
client.ticketing.scopes.linked_account_scopes_create(...)
@@ -46017,7 +46640,7 @@ client.ticketing.users.list(
-Returns a `User` object with the given `id`. +Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes)
@@ -46033,17 +46656,42 @@ Returns a `User` object with the given `id`. ```python from merge import Merge -from merge.resources.ticketing.resources.users import UsersRetrieveRequestExpand +from merge.resources.ticketing import ( + FieldPermissionDeserializerRequest, + IndividualCommonModelScopeDeserializerRequest, + ModelPermissionDeserializerRequest, +) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.users.retrieve( - id="id", - expand=UsersRetrieveRequestExpand.ROLES, - include_remote_data=True, - include_shell_data=True, +client.ticketing.scopes.linked_account_scopes_create( + common_models=[ + IndividualCommonModelScopeDeserializerRequest( + model_name="Employee", + model_permissions={ + "READ": ModelPermissionDeserializerRequest( + is_enabled=True, + ), + "WRITE": ModelPermissionDeserializerRequest( + is_enabled=False, + ), + }, + field_permissions=FieldPermissionDeserializerRequest( + enabled_fields=["avatar", "home_location"], + disabled_fields=["work_location"], + ), + ), + IndividualCommonModelScopeDeserializerRequest( + model_name="Benefit", + model_permissions={ + "WRITE": ModelPermissionDeserializerRequest( + is_enabled=False, + ) + }, + ), + ], ) ``` @@ -46060,31 +46708,7 @@ client.ticketing.users.retrieve(
-**id:** `str` - -
-
- -
-
- -**expand:** `typing.Optional[UsersRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**common_models:** `typing.Sequence[IndividualCommonModelScopeDeserializerRequest]` — The common models you want to update the scopes for
@@ -46104,8 +46728,8 @@ client.ticketing.users.retrieve(
-## Ticketing WebhookReceivers -
client.ticketing.webhook_receivers.list() +## Ticketing DeleteAccount +
client.ticketing.delete_account.delete()
@@ -46117,7 +46741,7 @@ client.ticketing.users.retrieve(
-Returns a list of `WebhookReceiver` objects. +Delete a linked account.
@@ -46138,7 +46762,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.webhook_receivers.list() +client.ticketing.delete_account.delete() ``` @@ -46166,10698 +46790,8 @@ client.ticketing.webhook_receivers.list()
-
client.ticketing.webhook_receivers.create(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Creates a `WebhookReceiver` object with the given values. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.ticketing.webhook_receivers.create( - event="event", - is_active=True, -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**event:** `str` - -
-
- -
-
- -**is_active:** `bool` - -
-
- -
-
- -**key:** `typing.Optional[str]` - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -## Accounting AccountDetails -
client.accounting.account_details.retrieve() -
-
- -#### 📝 Description - -
-
- -
-
- -Get details for a linked account. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.account_details.retrieve() - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -## Accounting AccountToken -
client.accounting.account_token.retrieve(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns the account token for the end user with the provided public token. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.account_token.retrieve( - public_token="public_token", -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**public_token:** `str` - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -## Accounting AccountingPeriods -
client.accounting.accounting_periods.list(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns a list of `AccountingPeriod` objects. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.accounting_periods.list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - page_size=1, -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
- -
-
- -**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**page_size:** `typing.Optional[int]` — Number of results to return per page. - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.accounting.accounting_periods.retrieve(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns an `AccountingPeriod` object with the given `id`. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.accounting_periods.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**id:** `str` - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -## Accounting Accounts -
client.accounting.accounts.list(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns a list of `Account` objects. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -import datetime - -from merge import Merge -from merge.resources.accounting.resources.accounts import ( - AccountsListRequestClassification, - AccountsListRequestRemoteFields, - AccountsListRequestShowEnumOrigins, - AccountsListRequestStatus, -) - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.accounts.list( - account_type="account_type", - classification=AccountsListRequestClassification.EMPTY, - company_id="company_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - name="name", - page_size=1, - remote_fields=AccountsListRequestRemoteFields.CLASSIFICATION, - remote_id="remote_id", - show_enum_origins=AccountsListRequestShowEnumOrigins.CLASSIFICATION, - status=AccountsListRequestStatus.EMPTY, -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**account_type:** `typing.Optional[str]` — If provided, will only return accounts with the passed in enum. - -
-
- -
-
- -**classification:** `typing.Optional[AccountsListRequestClassification]` — If provided, will only return accounts with this classification. - -
-
- -
-
- -**company_id:** `typing.Optional[str]` — If provided, will only return accounts for this company. - -
-
- -
-
- -**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. - -
-
- -
-
- -**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. - -
-
- -
-
- -**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
- -
-
- -**expand:** `typing.Optional[typing.Literal["company"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
- -
-
- -**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. - -
-
- -
-
- -**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. - -
-
- -
-
- -**name:** `typing.Optional[str]` — If provided, will only return Accounts with this name. - -
-
- -
-
- -**page_size:** `typing.Optional[int]` — Number of results to return per page. - -
-
- -
-
- -**remote_fields:** `typing.Optional[AccountsListRequestRemoteFields]` — Deprecated. Use show_enum_origins. - -
-
- -
-
- -**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. - -
-
- -
-
- -**show_enum_origins:** `typing.Optional[AccountsListRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - -
-
- -
-
- -**status:** `typing.Optional[AccountsListRequestStatus]` — If provided, will only return accounts with this status. - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.accounting.accounts.create(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Creates an `Account` object with the given values. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge -from merge.resources.accounting import AccountRequest - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.accounts.create( - is_debug_mode=True, - run_async=True, - model=AccountRequest(), -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**model:** `AccountRequest` - -
-
- -
-
- -**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. - -
-
- -
-
- -**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.accounting.accounts.retrieve(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns an `Account` object with the given `id`. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge -from merge.resources.accounting.resources.accounts import ( - AccountsRetrieveRequestRemoteFields, - AccountsRetrieveRequestShowEnumOrigins, -) - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.accounts.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, - remote_fields=AccountsRetrieveRequestRemoteFields.CLASSIFICATION, - show_enum_origins=AccountsRetrieveRequestShowEnumOrigins.CLASSIFICATION, -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**id:** `str` - -
-
- -
-
- -**expand:** `typing.Optional[typing.Literal["company"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**remote_fields:** `typing.Optional[AccountsRetrieveRequestRemoteFields]` — Deprecated. Use show_enum_origins. - -
-
- -
-
- -**show_enum_origins:** `typing.Optional[AccountsRetrieveRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.accounting.accounts.meta_post_retrieve() -
-
- -#### 📝 Description - -
-
- -
-
- -Returns metadata for `Account` POSTs. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.accounts.meta_post_retrieve() - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -## Accounting Addresses -
client.accounting.addresses.retrieve(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns an `Address` object with the given `id`. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.addresses.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**id:** `str` - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**remote_fields:** `typing.Optional[typing.Literal["type"]]` — Deprecated. Use show_enum_origins. - -
-
- -
-
- -**show_enum_origins:** `typing.Optional[typing.Literal["type"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -## Accounting AsyncPassthrough -
client.accounting.async_passthrough.create(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Asynchronously pull data from an endpoint not currently supported by Merge. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge -from merge.resources.accounting import DataPassthroughRequest, MethodEnum - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.async_passthrough.create( - request=DataPassthroughRequest( - method=MethodEnum.GET, - path="/scooters", - ), -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**request:** `DataPassthroughRequest` - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.accounting.async_passthrough.retrieve(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Retrieves data from earlier async-passthrough POST request -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.async_passthrough.retrieve( - async_passthrough_receipt_id="async_passthrough_receipt_id", -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**async_passthrough_receipt_id:** `str` - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -## Accounting AsyncTasks -
client.accounting.async_tasks.retrieve(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns an `AsyncPostTask` object with the given `id`. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.async_tasks.retrieve( - id="id", -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**id:** `str` - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -## Accounting Attachments -
client.accounting.attachments.list(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns a list of `AccountingAttachment` objects. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -import datetime - -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.attachments.list( - company_id="company_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**company_id:** `typing.Optional[str]` — If provided, will only return accounting attachments for this company. - -
-
- -
-
- -**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. - -
-
- -
-
- -**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. - -
-
- -
-
- -**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
- -
-
- -**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. - -
-
- -
-
- -**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. - -
-
- -
-
- -**page_size:** `typing.Optional[int]` — Number of results to return per page. - -
-
- -
-
- -**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.accounting.attachments.create(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Creates an `AccountingAttachment` object with the given values. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge -from merge.resources.accounting import AccountingAttachmentRequest - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.attachments.create( - is_debug_mode=True, - run_async=True, - model=AccountingAttachmentRequest(), -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**model:** `AccountingAttachmentRequest` - -
-
- -
-
- -**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. - -
-
- -
-
- -**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.accounting.attachments.retrieve(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns an `AccountingAttachment` object with the given `id`. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.attachments.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**id:** `str` - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.accounting.attachments.meta_post_retrieve() -
-
- -#### 📝 Description - -
-
- -
-
- -Returns metadata for `AccountingAttachment` POSTs. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.attachments.meta_post_retrieve() - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -## Accounting AuditTrail -
client.accounting.audit_trail.list(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Gets a list of audit trail events. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.audit_trail.list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_date="end_date", - event_type="event_type", - page_size=1, - start_date="start_date", - user_email="user_email", -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
- -
-
- -**end_date:** `typing.Optional[str]` — If included, will only include audit trail events that occurred before this time - -
-
- -
-
- -**event_type:** `typing.Optional[str]` — If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` - -
-
- -
-
- -**page_size:** `typing.Optional[int]` — Number of results to return per page. - -
-
- -
-
- -**start_date:** `typing.Optional[str]` — If included, will only include audit trail events that occurred after this time - -
-
- -
-
- -**user_email:** `typing.Optional[str]` — If provided, this will return events associated with the specified user email. Please note that the email address reflects the user's email at the time of the event, and may not be their current email. - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -## Accounting AvailableActions -
client.accounting.available_actions.retrieve() -
-
- -#### 📝 Description - -
-
- -
-
- -Returns a list of models and actions available for an account. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.available_actions.retrieve() - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -## Accounting BalanceSheets -
client.accounting.balance_sheets.list(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns a list of `BalanceSheet` objects. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -import datetime - -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.balance_sheets.list( - company_id="company_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**company_id:** `typing.Optional[str]` — If provided, will only return balance sheets for this company. - -
-
- -
-
- -**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. - -
-
- -
-
- -**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. - -
-
- -
-
- -**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
- -
-
- -**expand:** `typing.Optional[typing.Literal["company"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
- -
-
- -**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. - -
-
- -
-
- -**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. - -
-
- -
-
- -**page_size:** `typing.Optional[int]` — Number of results to return per page. - -
-
- -
-
- -**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.accounting.balance_sheets.retrieve(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns a `BalanceSheet` object with the given `id`. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.balance_sheets.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**id:** `str` - -
-
- -
-
- -**expand:** `typing.Optional[typing.Literal["company"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -## Accounting BankFeedAccounts -
client.accounting.bank_feed_accounts.list(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns a list of `BankFeedAccount` objects. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.bank_feed_accounts.list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - page_size=1, -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
- -
-
- -**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**page_size:** `typing.Optional[int]` — Number of results to return per page. - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.accounting.bank_feed_accounts.create(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Creates a `BankFeedAccount` object with the given values. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge -from merge.resources.accounting import BankFeedAccountRequest - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.bank_feed_accounts.create( - is_debug_mode=True, - run_async=True, - model=BankFeedAccountRequest(), -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**model:** `BankFeedAccountRequest` - -
-
- -
-
- -**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. - -
-
- -
-
- -**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.accounting.bank_feed_accounts.retrieve(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns a `BankFeedAccount` object with the given `id`. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.bank_feed_accounts.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**id:** `str` - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.accounting.bank_feed_accounts.meta_post_retrieve() -
-
- -#### 📝 Description - -
-
- -
-
- -Returns metadata for `BankFeedAccount` POSTs. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.bank_feed_accounts.meta_post_retrieve() - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -## Accounting BankFeedTransactions -
client.accounting.bank_feed_transactions.list(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns a list of `BankFeedTransaction` objects. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -import datetime - -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.bank_feed_transactions.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - is_processed=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. - -
-
- -
-
- -**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. - -
-
- -
-
- -**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
- -
-
- -**expand:** `typing.Optional[typing.Literal["bank_feed_account"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
- -
-
- -**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**is_processed:** `typing.Optional[bool]` — If provided, will only return bank feed transactions with this is_processed value - -
-
- -
-
- -**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. - -
-
- -
-
- -**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. - -
-
- -
-
- -**page_size:** `typing.Optional[int]` — Number of results to return per page. - -
-
- -
-
- -**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.accounting.bank_feed_transactions.create(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Creates a `BankFeedTransaction` object with the given values. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge -from merge.resources.accounting import BankFeedTransactionRequestRequest - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.bank_feed_transactions.create( - is_debug_mode=True, - run_async=True, - model=BankFeedTransactionRequestRequest(), -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**model:** `BankFeedTransactionRequestRequest` - -
-
- -
-
- -**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. - -
-
- -
-
- -**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.accounting.bank_feed_transactions.retrieve(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns a `BankFeedTransaction` object with the given `id`. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.bank_feed_transactions.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**id:** `str` - -
-
- -
-
- -**expand:** `typing.Optional[typing.Literal["bank_feed_account"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.accounting.bank_feed_transactions.meta_post_retrieve() -
-
- -#### 📝 Description - -
-
- -
-
- -Returns metadata for `BankFeedTransaction` POSTs. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.bank_feed_transactions.meta_post_retrieve() - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -## Accounting CashFlowStatements -
client.accounting.cash_flow_statements.list(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns a list of `CashFlowStatement` objects. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -import datetime - -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.cash_flow_statements.list( - company_id="company_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**company_id:** `typing.Optional[str]` — If provided, will only return cash flow statements for this company. - -
-
- -
-
- -**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. - -
-
- -
-
- -**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. - -
-
- -
-
- -**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
- -
-
- -**expand:** `typing.Optional[typing.Literal["company"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
- -
-
- -**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. - -
-
- -
-
- -**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. - -
-
- -
-
- -**page_size:** `typing.Optional[int]` — Number of results to return per page. - -
-
- -
-
- -**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.accounting.cash_flow_statements.retrieve(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns a `CashFlowStatement` object with the given `id`. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.cash_flow_statements.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**id:** `str` - -
-
- -
-
- -**expand:** `typing.Optional[typing.Literal["company"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -## Accounting CompanyInfo -
client.accounting.company_info.list(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns a list of `CompanyInfo` objects. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -import datetime - -from merge import Merge -from merge.resources.accounting.resources.company_info import ( - CompanyInfoListRequestExpand, -) - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.company_info.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=CompanyInfoListRequestExpand.ADDRESSES, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. - -
-
- -
-
- -**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. - -
-
- -
-
- -**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
- -
-
- -**expand:** `typing.Optional[CompanyInfoListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
- -
-
- -**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. - -
-
- -
-
- -**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. - -
-
- -
-
- -**page_size:** `typing.Optional[int]` — Number of results to return per page. - -
-
- -
-
- -**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.accounting.company_info.retrieve(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns a `CompanyInfo` object with the given `id`. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge -from merge.resources.accounting.resources.company_info import ( - CompanyInfoRetrieveRequestExpand, -) - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.company_info.retrieve( - id="id", - expand=CompanyInfoRetrieveRequestExpand.ADDRESSES, - include_remote_data=True, - include_shell_data=True, -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**id:** `str` - -
-
- -
-
- -**expand:** `typing.Optional[CompanyInfoRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -## Accounting Contacts -
client.accounting.contacts.list(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns a list of `Contact` objects. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -import datetime - -from merge import Merge -from merge.resources.accounting.resources.contacts import ( - ContactsListRequestExpand, - ContactsListRequestStatus, -) - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.contacts.list( - company_id="company_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - email_address="email_address", - expand=ContactsListRequestExpand.ADDRESSES, - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - is_customer="is_customer", - is_supplier="is_supplier", - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - name="name", - page_size=1, - remote_id="remote_id", - status=ContactsListRequestStatus.EMPTY, -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**company_id:** `typing.Optional[str]` — If provided, will only return contacts for this company. - -
-
- -
-
- -**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. - -
-
- -
-
- -**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. - -
-
- -
-
- -**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
- -
-
- -**email_address:** `typing.Optional[str]` — If provided, will only return Contacts that match this email. - -
-
- -
-
- -**expand:** `typing.Optional[ContactsListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
- -
-
- -**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**is_customer:** `typing.Optional[str]` — If provided, will only return Contacts that are denoted as customers. - -
-
- -
-
- -**is_supplier:** `typing.Optional[str]` — If provided, will only return Contacts that are denoted as suppliers. - -
-
- -
-
- -**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. - -
-
- -
-
- -**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. - -
-
- -
-
- -**name:** `typing.Optional[str]` — If provided, will only return Contacts that match this name. - -
-
- -
-
- -**page_size:** `typing.Optional[int]` — Number of results to return per page. - -
-
- -
-
- -**remote_fields:** `typing.Optional[typing.Literal["status"]]` — Deprecated. Use show_enum_origins. - -
-
- -
-
- -**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. - -
-
- -
-
- -**show_enum_origins:** `typing.Optional[typing.Literal["status"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - -
-
- -
-
- -**status:** `typing.Optional[ContactsListRequestStatus]` — If provided, will only return Contacts that match this status. - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.accounting.contacts.create(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Creates a `Contact` object with the given values. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge -from merge.resources.accounting import ContactRequest - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.contacts.create( - is_debug_mode=True, - run_async=True, - model=ContactRequest(), -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**model:** `ContactRequest` - -
-
- -
-
- -**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. - -
-
- -
-
- -**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.accounting.contacts.retrieve(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns a `Contact` object with the given `id`. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge -from merge.resources.accounting.resources.contacts import ( - ContactsRetrieveRequestExpand, -) - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.contacts.retrieve( - id="id", - expand=ContactsRetrieveRequestExpand.ADDRESSES, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**id:** `str` - -
-
- -
-
- -**expand:** `typing.Optional[ContactsRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**remote_fields:** `typing.Optional[typing.Literal["status"]]` — Deprecated. Use show_enum_origins. - -
-
- -
-
- -**show_enum_origins:** `typing.Optional[typing.Literal["status"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.accounting.contacts.partial_update(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Updates a `Contact` object with the given `id`. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge -from merge.resources.accounting import PatchedContactRequest - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.contacts.partial_update( - id="id", - is_debug_mode=True, - run_async=True, - model=PatchedContactRequest(), -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**id:** `str` - -
-
- -
-
- -**model:** `PatchedContactRequest` - -
-
- -
-
- -**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. - -
-
- -
-
- -**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.accounting.contacts.meta_patch_retrieve(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns metadata for `Contact` PATCHs. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.contacts.meta_patch_retrieve( - id="id", -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**id:** `str` - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.accounting.contacts.meta_post_retrieve() -
-
- -#### 📝 Description - -
-
- -
-
- -Returns metadata for `Contact` POSTs. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.contacts.meta_post_retrieve() - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.accounting.contacts.remote_field_classes_list(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns a list of `RemoteFieldClass` objects. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.contacts.remote_field_classes_list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
- -
-
- -**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value - -
-
- -
-
- -**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value - -
-
- -
-
- -**page_size:** `typing.Optional[int]` — Number of results to return per page. - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -## Accounting CreditNotes -
client.accounting.credit_notes.list(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns a list of `CreditNote` objects. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -import datetime - -from merge import Merge -from merge.resources.accounting.resources.credit_notes import ( - CreditNotesListRequestExpand, - CreditNotesListRequestRemoteFields, - CreditNotesListRequestShowEnumOrigins, -) - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.credit_notes.list( - company_id="company_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=CreditNotesListRequestExpand.ACCOUNTING_PERIOD, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_fields=CreditNotesListRequestRemoteFields.STATUS, - remote_id="remote_id", - show_enum_origins=CreditNotesListRequestShowEnumOrigins.STATUS, - transaction_date_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - transaction_date_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**company_id:** `typing.Optional[str]` — If provided, will only return credit notes for this company. - -
-
- -
-
- -**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. - -
-
- -
-
- -**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. - -
-
- -
-
- -**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
- -
-
- -**expand:** `typing.Optional[CreditNotesListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
- -
-
- -**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. - -
-
- -
-
- -**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. - -
-
- -
-
- -**page_size:** `typing.Optional[int]` — Number of results to return per page. - -
-
- -
-
- -**remote_fields:** `typing.Optional[CreditNotesListRequestRemoteFields]` — Deprecated. Use show_enum_origins. - -
-
- -
-
- -**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. - -
-
- -
-
- -**show_enum_origins:** `typing.Optional[CreditNotesListRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - -
-
- -
-
- -**transaction_date_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. - -
-
- -
-
- -**transaction_date_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.accounting.credit_notes.create(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Creates a `CreditNote` object with the given values. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge -from merge.resources.accounting import CreditNoteRequest - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.credit_notes.create( - is_debug_mode=True, - run_async=True, - model=CreditNoteRequest(), -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**model:** `CreditNoteRequest` - -
-
- -
-
- -**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. - -
-
- -
-
- -**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.accounting.credit_notes.retrieve(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns a `CreditNote` object with the given `id`. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge -from merge.resources.accounting.resources.credit_notes import ( - CreditNotesRetrieveRequestExpand, - CreditNotesRetrieveRequestRemoteFields, - CreditNotesRetrieveRequestShowEnumOrigins, -) - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.credit_notes.retrieve( - id="id", - expand=CreditNotesRetrieveRequestExpand.ACCOUNTING_PERIOD, - include_remote_data=True, - include_shell_data=True, - remote_fields=CreditNotesRetrieveRequestRemoteFields.STATUS, - show_enum_origins=CreditNotesRetrieveRequestShowEnumOrigins.STATUS, -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**id:** `str` - -
-
- -
-
- -**expand:** `typing.Optional[CreditNotesRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**remote_fields:** `typing.Optional[CreditNotesRetrieveRequestRemoteFields]` — Deprecated. Use show_enum_origins. - -
-
- -
-
- -**show_enum_origins:** `typing.Optional[CreditNotesRetrieveRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.accounting.credit_notes.meta_post_retrieve() -
-
- -#### 📝 Description - -
-
- -
-
- -Returns metadata for `CreditNote` POSTs. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.credit_notes.meta_post_retrieve() - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -## Accounting Scopes -
client.accounting.scopes.default_scopes_retrieve() -
-
- -#### 📝 Description - -
-
- -
-
- -Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.scopes.default_scopes_retrieve() - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.accounting.scopes.linked_account_scopes_retrieve() -
-
- -#### 📝 Description - -
-
- -
-
- -Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.scopes.linked_account_scopes_retrieve() - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.accounting.scopes.linked_account_scopes_create(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes) -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge -from merge.resources.accounting import ( - FieldPermissionDeserializerRequest, - IndividualCommonModelScopeDeserializerRequest, - ModelPermissionDeserializerRequest, -) - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.scopes.linked_account_scopes_create( - common_models=[ - IndividualCommonModelScopeDeserializerRequest( - model_name="Employee", - model_permissions={ - "READ": ModelPermissionDeserializerRequest( - is_enabled=True, - ), - "WRITE": ModelPermissionDeserializerRequest( - is_enabled=False, - ), - }, - field_permissions=FieldPermissionDeserializerRequest( - enabled_fields=["avatar", "home_location"], - disabled_fields=["work_location"], - ), - ), - IndividualCommonModelScopeDeserializerRequest( - model_name="Benefit", - model_permissions={ - "WRITE": ModelPermissionDeserializerRequest( - is_enabled=False, - ) - }, - ), - ], -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**common_models:** `typing.Sequence[IndividualCommonModelScopeDeserializerRequest]` — The common models you want to update the scopes for - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -## Accounting DeleteAccount -
client.accounting.delete_account.delete() -
-
- -#### 📝 Description - -
-
- -
-
- -Delete a linked account. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.delete_account.delete() - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -## Accounting Employees -
client.accounting.employees.list(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns a list of `Employee` objects. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -import datetime - -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.employees.list( - company_id="company_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**company_id:** `typing.Optional[str]` — If provided, will only return employees for this company. - -
-
- -
-
- -**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. - -
-
- -
-
- -**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. - -
-
- -
-
- -**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
- -
-
- -**expand:** `typing.Optional[typing.Literal["company"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
- -
-
- -**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. - -
-
- -
-
- -**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. - -
-
- -
-
- -**page_size:** `typing.Optional[int]` — Number of results to return per page. - -
-
- -
-
- -**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.accounting.employees.retrieve(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns an `Employee` object with the given `id`. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.employees.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**id:** `str` - -
-
- -
-
- -**expand:** `typing.Optional[typing.Literal["company"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -## Accounting ExpenseReports -
client.accounting.expense_reports.list(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns a list of `ExpenseReport` objects. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -import datetime - -from merge import Merge -from merge.resources.accounting.resources.expense_reports import ( - ExpenseReportsListRequestExpand, -) - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.expense_reports.list( - company_id="company_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=ExpenseReportsListRequestExpand.ACCOUNTING_PERIOD, - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**company_id:** `typing.Optional[str]` — If provided, will only return expense reports for this company. - -
-
- -
-
- -**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. - -
-
- -
-
- -**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. - -
-
- -
-
- -**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
- -
-
- -**expand:** `typing.Optional[ExpenseReportsListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
- -
-
- -**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. - -
-
- -
-
- -**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. - -
-
- -
-
- -**page_size:** `typing.Optional[int]` — Number of results to return per page. - -
-
- -
-
- -**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.accounting.expense_reports.create(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Creates an `ExpenseReport` object with the given values. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge -from merge.resources.accounting import ExpenseReportRequest - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.expense_reports.create( - is_debug_mode=True, - run_async=True, - model=ExpenseReportRequest( - tracking_categories=[ - "a1b2c3d4-e5f6-4a5b-9c3d-2e1f0a9b8c7d", - "d4c3b2a1-9e8f-7g6h-5i4j-3k2l1m0n9o8p", - ], - ), -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**model:** `ExpenseReportRequest` - -
-
- -
-
- -**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. - -
-
- -
-
- -**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.accounting.expense_reports.lines_list(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns a list of `ExpenseReportLine` objects that point to a `ExpenseReport` with the given id. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge -from merge.resources.accounting.resources.expense_reports import ( - ExpenseReportsLinesListRequestExpand, -) - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.expense_reports.lines_list( - expense_report_id="expense_report_id", - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=ExpenseReportsLinesListRequestExpand.ACCOUNT, - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - page_size=1, -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**expense_report_id:** `str` - -
-
- -
-
- -**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
- -
-
- -**expand:** `typing.Optional[ExpenseReportsLinesListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
- -
-
- -**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**page_size:** `typing.Optional[int]` — Number of results to return per page. - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.accounting.expense_reports.retrieve(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns an `ExpenseReport` object with the given `id`. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge -from merge.resources.accounting.resources.expense_reports import ( - ExpenseReportsRetrieveRequestExpand, -) - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.expense_reports.retrieve( - id="id", - expand=ExpenseReportsRetrieveRequestExpand.ACCOUNTING_PERIOD, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**id:** `str` - -
-
- -
-
- -**expand:** `typing.Optional[ExpenseReportsRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.accounting.expense_reports.lines_remote_field_classes_list(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns a list of `RemoteFieldClass` objects. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.expense_reports.lines_remote_field_classes_list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
- -
-
- -**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value - -
-
- -
-
- -**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value - -
-
- -
-
- -**page_size:** `typing.Optional[int]` — Number of results to return per page. - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.accounting.expense_reports.meta_post_retrieve() -
-
- -#### 📝 Description - -
-
- -
-
- -Returns metadata for `ExpenseReport` POSTs. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.expense_reports.meta_post_retrieve() - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.accounting.expense_reports.remote_field_classes_list(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns a list of `RemoteFieldClass` objects. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.expense_reports.remote_field_classes_list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
- -
-
- -**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value - -
-
- -
-
- -**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value - -
-
- -
-
- -**page_size:** `typing.Optional[int]` — Number of results to return per page. - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -## Accounting Expenses -
client.accounting.expenses.list(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns a list of `Expense` objects. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -import datetime - -from merge import Merge -from merge.resources.accounting.resources.expenses import ( - ExpensesListRequestExpand, -) - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.expenses.list( - company_id="company_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=ExpensesListRequestExpand.ACCOUNT, - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", - transaction_date_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - transaction_date_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**company_id:** `typing.Optional[str]` — If provided, will only return expenses for this company. - -
-
- -
-
- -**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. - -
-
- -
-
- -**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. - -
-
- -
-
- -**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
- -
-
- -**expand:** `typing.Optional[ExpensesListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
- -
-
- -**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. - -
-
- -
-
- -**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. - -
-
- -
-
- -**page_size:** `typing.Optional[int]` — Number of results to return per page. - -
-
- -
-
- -**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. - -
-
- -
-
- -**transaction_date_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. - -
-
- -
-
- -**transaction_date_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.accounting.expenses.create(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Creates an `Expense` object with the given values. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge -from merge.resources.accounting import ExpenseRequest - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.expenses.create( - is_debug_mode=True, - run_async=True, - model=ExpenseRequest(), -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**model:** `ExpenseRequest` - -
-
- -
-
- -**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. - -
-
- -
-
- -**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.accounting.expenses.retrieve(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns an `Expense` object with the given `id`. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge -from merge.resources.accounting.resources.expenses import ( - ExpensesRetrieveRequestExpand, -) - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.expenses.retrieve( - id="id", - expand=ExpensesRetrieveRequestExpand.ACCOUNT, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**id:** `str` - -
-
- -
-
- -**expand:** `typing.Optional[ExpensesRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.accounting.expenses.lines_remote_field_classes_list(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns a list of `RemoteFieldClass` objects. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.expenses.lines_remote_field_classes_list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
- -
-
- -**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value - -
-
- -
-
- -**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value - -
-
- -
-
- -**page_size:** `typing.Optional[int]` — Number of results to return per page. - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.accounting.expenses.meta_post_retrieve() -
-
- -#### 📝 Description - -
-
- -
-
- -Returns metadata for `Expense` POSTs. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.expenses.meta_post_retrieve() - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.accounting.expenses.remote_field_classes_list(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns a list of `RemoteFieldClass` objects. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.expenses.remote_field_classes_list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
- -
-
- -**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value - -
-
- -
-
- -**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value - -
-
- -
-
- -**page_size:** `typing.Optional[int]` — Number of results to return per page. - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -## Accounting FieldMapping -
client.accounting.field_mapping.field_mappings_retrieve(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Get all Field Mappings for this Linked Account. Field Mappings are mappings between third-party Remote Fields and user defined Merge fields. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.field_mapping.field_mappings_retrieve( - exclude_remote_field_metadata=True, -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**exclude_remote_field_metadata:** `typing.Optional[bool]` — If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.accounting.field_mapping.field_mappings_create(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Create new Field Mappings that will be available after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.field_mapping.field_mappings_create( - exclude_remote_field_metadata=True, - target_field_name="example_target_field_name", - target_field_description="this is a example description of the target field", - remote_field_traversal_path=["example_remote_field"], - remote_method="GET", - remote_url_path="/example-url-path", - common_model_name="ExampleCommonModel", -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**target_field_name:** `str` — The name of the target field you want this remote field to map to. - -
-
- -
-
- -**target_field_description:** `str` — The description of the target field you want this remote field to map to. - -
-
- -
-
- -**remote_field_traversal_path:** `typing.Sequence[typing.Optional[typing.Any]]` — The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. - -
-
- -
-
- -**remote_method:** `str` — The method of the remote endpoint where the remote field is coming from. - -
-
- -
-
- -**remote_url_path:** `str` — The path of the remote endpoint where the remote field is coming from. - -
-
- -
-
- -**common_model_name:** `str` — The name of the Common Model that the remote field corresponds to in a given category. - -
-
- -
-
- -**exclude_remote_field_metadata:** `typing.Optional[bool]` — If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.accounting.field_mapping.field_mappings_destroy(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Deletes Field Mappings for a Linked Account. All data related to this Field Mapping will be deleted and these changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.field_mapping.field_mappings_destroy( - field_mapping_id="field_mapping_id", -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**field_mapping_id:** `str` - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.accounting.field_mapping.field_mappings_partial_update(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Create or update existing Field Mappings for a Linked Account. Changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.field_mapping.field_mappings_partial_update( - field_mapping_id="field_mapping_id", -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**field_mapping_id:** `str` - -
-
- -
-
- -**remote_field_traversal_path:** `typing.Optional[typing.Sequence[typing.Optional[typing.Any]]]` — The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. - -
-
- -
-
- -**remote_method:** `typing.Optional[str]` — The method of the remote endpoint where the remote field is coming from. - -
-
- -
-
- -**remote_url_path:** `typing.Optional[str]` — The path of the remote endpoint where the remote field is coming from. - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.accounting.field_mapping.remote_fields_retrieve(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Get all remote fields for a Linked Account. Remote fields are third-party fields that are accessible after initial sync if remote_data is enabled. You can use remote fields to override existing Merge fields or map a new Merge field. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.field_mapping.remote_fields_retrieve( - common_models="common_models", - include_example_values="include_example_values", -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**common_models:** `typing.Optional[str]` — A comma seperated list of Common Model names. If included, will only return Remote Fields for those Common Models. - -
-
- -
-
- -**include_example_values:** `typing.Optional[str]` — If true, will include example values, where available, for remote fields in the 3rd party platform. These examples come from active data from your customers. - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.accounting.field_mapping.target_fields_retrieve() -
-
- -#### 📝 Description - -
-
- -
-
- -Get all organization-wide Target Fields, this will not include any Linked Account specific Target Fields. Organization-wide Target Fields are additional fields appended to the Merge Common Model for all Linked Accounts in a category. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/target-fields/). -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.field_mapping.target_fields_retrieve() - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -## Accounting GeneralLedgerTransactions -
client.accounting.general_ledger_transactions.list(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns a list of `GeneralLedgerTransaction` objects. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -import datetime - -from merge import Merge -from merge.resources.accounting.resources.general_ledger_transactions import ( - GeneralLedgerTransactionsListRequestExpand, -) - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.general_ledger_transactions.list( - company_id="company_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=GeneralLedgerTransactionsListRequestExpand.ACCOUNTING_PERIOD, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - posted_date_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - posted_date_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - remote_id="remote_id", -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**company_id:** `typing.Optional[str]` — If provided, will only return general ledger transactions for this company. - -
-
- -
-
- -**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. - -
-
- -
-
- -**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. - -
-
- -
-
- -**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
- -
-
- -**expand:** `typing.Optional[GeneralLedgerTransactionsListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
- -
-
- -**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. - -
-
- -
-
- -**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. - -
-
- -
-
- -**page_size:** `typing.Optional[int]` — Number of results to return per page. - -
-
- -
-
- -**posted_date_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects posted after this datetime. - -
-
- -
-
- -**posted_date_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects posted before this datetime. - -
-
- -
-
- -**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.accounting.general_ledger_transactions.retrieve(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns a `GeneralLedgerTransaction` object with the given `id`. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge -from merge.resources.accounting.resources.general_ledger_transactions import ( - GeneralLedgerTransactionsRetrieveRequestExpand, -) - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.general_ledger_transactions.retrieve( - id="id", - expand=GeneralLedgerTransactionsRetrieveRequestExpand.ACCOUNTING_PERIOD, - include_remote_data=True, - include_shell_data=True, -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**id:** `str` - -
-
- -
-
- -**expand:** `typing.Optional[GeneralLedgerTransactionsRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -## Accounting GenerateKey -
client.accounting.generate_key.create(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Create a remote key. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.generate_key.create( - name="Remote Deployment Key 1", -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**name:** `str` — The name of the remote key - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -## Accounting IncomeStatements -
client.accounting.income_statements.list(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns a list of `IncomeStatement` objects. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -import datetime - -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.income_statements.list( - company_id="company_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**company_id:** `typing.Optional[str]` — If provided, will only return income statements for this company. - -
-
- -
-
- -**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. - -
-
- -
-
- -**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. - -
-
- -
-
- -**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
- -
-
- -**expand:** `typing.Optional[typing.Literal["company"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
- -
-
- -**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. - -
-
- -
-
- -**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. - -
-
- -
-
- -**page_size:** `typing.Optional[int]` — Number of results to return per page. - -
-
- -
-
- -**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.accounting.income_statements.retrieve(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns an `IncomeStatement` object with the given `id`. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.income_statements.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**id:** `str` - -
-
- -
-
- -**expand:** `typing.Optional[typing.Literal["company"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -## Accounting Invoices -
client.accounting.invoices.list(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns a list of `Invoice` objects. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -import datetime - -from merge import Merge -from merge.resources.accounting.resources.invoices import ( - InvoicesListRequestExpand, - InvoicesListRequestStatus, - InvoicesListRequestType, -) - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.invoices.list( - company_id="company_id", - contact_id="contact_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=InvoicesListRequestExpand.ACCOUNTING_PERIOD, - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - issue_date_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - issue_date_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - number="number", - page_size=1, - remote_id="remote_id", - status=InvoicesListRequestStatus.DRAFT, - type=InvoicesListRequestType.ACCOUNTS_PAYABLE, -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**company_id:** `typing.Optional[str]` — If provided, will only return invoices for this company. - -
-
- -
-
- -**contact_id:** `typing.Optional[str]` — If provided, will only return invoices for this contact. - -
-
- -
-
- -**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. - -
-
- -
-
- -**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. - -
-
- -
-
- -**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
- -
-
- -**expand:** `typing.Optional[InvoicesListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
- -
-
- -**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**issue_date_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. - -
-
- -
-
- -**issue_date_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. - -
-
- -
-
- -**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. - -
-
- -
-
- -**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. - -
-
- -
-
- -**number:** `typing.Optional[str]` — If provided, will only return Invoices with this number. - -
-
- -
-
- -**page_size:** `typing.Optional[int]` — Number of results to return per page. - -
-
- -
-
- -**remote_fields:** `typing.Optional[typing.Literal["type"]]` — Deprecated. Use show_enum_origins. - -
-
- -
-
- -**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. - -
-
- -
-
- -**show_enum_origins:** `typing.Optional[typing.Literal["type"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - -
-
- -
-
- -**status:** `typing.Optional[InvoicesListRequestStatus]` - -If provided, will only return Invoices with this status. - -* `PAID` - PAID -* `DRAFT` - DRAFT -* `SUBMITTED` - SUBMITTED -* `PARTIALLY_PAID` - PARTIALLY_PAID -* `OPEN` - OPEN -* `VOID` - VOID - -
-
- -
-
- -**type:** `typing.Optional[InvoicesListRequestType]` - -If provided, will only return Invoices with this type. - -* `ACCOUNTS_RECEIVABLE` - ACCOUNTS_RECEIVABLE -* `ACCOUNTS_PAYABLE` - ACCOUNTS_PAYABLE - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.accounting.invoices.create(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Creates an `Invoice` object with the given values. - Including a `PurchaseOrder` id in the `purchase_orders` property will generate an Accounts Payable Invoice from the specified Purchase Order(s). - -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge -from merge.resources.accounting import InvoiceRequest - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.invoices.create( - is_debug_mode=True, - run_async=True, - model=InvoiceRequest(), -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**model:** `InvoiceRequest` - -
-
- -
-
- -**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. - -
-
- -
-
- -**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.accounting.invoices.retrieve(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns an `Invoice` object with the given `id`. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge -from merge.resources.accounting.resources.invoices import ( - InvoicesRetrieveRequestExpand, -) - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.invoices.retrieve( - id="id", - expand=InvoicesRetrieveRequestExpand.ACCOUNTING_PERIOD, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**id:** `str` - -
-
- -
-
- -**expand:** `typing.Optional[InvoicesRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**remote_fields:** `typing.Optional[typing.Literal["type"]]` — Deprecated. Use show_enum_origins. - -
-
- -
-
- -**show_enum_origins:** `typing.Optional[typing.Literal["type"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.accounting.invoices.partial_update(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Updates an `Invoice` object with the given `id`. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge -from merge.resources.accounting import InvoiceRequest - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.invoices.partial_update( - id="id", - is_debug_mode=True, - run_async=True, - model=InvoiceRequest(), -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**id:** `str` - -
-
- -
-
- -**model:** `InvoiceRequest` - -
-
- -
-
- -**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. - -
-
- -
-
- -**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.accounting.invoices.line_items_remote_field_classes_list(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns a list of `RemoteFieldClass` objects. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.invoices.line_items_remote_field_classes_list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
- -
-
- -**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value - -
-
- -
-
- -**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value - -
-
- -
-
- -**page_size:** `typing.Optional[int]` — Number of results to return per page. - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.accounting.invoices.meta_patch_retrieve(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns metadata for `Invoice` PATCHs. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.invoices.meta_patch_retrieve( - id="id", -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**id:** `str` - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.accounting.invoices.meta_post_retrieve() -
-
- -#### 📝 Description - -
-
- -
-
- -Returns metadata for `Invoice` POSTs. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.invoices.meta_post_retrieve() - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.accounting.invoices.remote_field_classes_list(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns a list of `RemoteFieldClass` objects. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.invoices.remote_field_classes_list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
- -
-
- -**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value - -
-
- -
-
- -**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value - -
-
- -
-
- -**page_size:** `typing.Optional[int]` — Number of results to return per page. - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -## Accounting Issues -
client.accounting.issues.list(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Gets all issues for Organization. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -import datetime - -from merge import Merge -from merge.resources.accounting.resources.issues import IssuesListRequestStatus - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.issues.list( - account_token="account_token", - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_date="end_date", - end_user_organization_name="end_user_organization_name", - first_incident_time_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - first_incident_time_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - include_muted="include_muted", - integration_name="integration_name", - last_incident_time_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - last_incident_time_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - linked_account_id="linked_account_id", - page_size=1, - start_date="start_date", - status=IssuesListRequestStatus.ONGOING, -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**account_token:** `typing.Optional[str]` - -
-
- -
-
- -**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
- -
-
- -**end_date:** `typing.Optional[str]` — If included, will only include issues whose most recent action occurred before this time - -
-
- -
-
- -**end_user_organization_name:** `typing.Optional[str]` - -
-
- -
-
- -**first_incident_time_after:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose first incident time was after this datetime. - -
-
- -
-
- -**first_incident_time_before:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose first incident time was before this datetime. - -
-
- -
-
- -**include_muted:** `typing.Optional[str]` — If true, will include muted issues - -
-
- -
-
- -**integration_name:** `typing.Optional[str]` - -
-
- -
-
- -**last_incident_time_after:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose last incident time was after this datetime. - -
-
- -
-
- -**last_incident_time_before:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose last incident time was before this datetime. - -
-
- -
-
- -**linked_account_id:** `typing.Optional[str]` — If provided, will only include issues pertaining to the linked account passed in. - -
-
- -
-
- -**page_size:** `typing.Optional[int]` — Number of results to return per page. - -
-
- -
-
- -**start_date:** `typing.Optional[str]` — If included, will only include issues whose most recent action occurred after this time - -
-
- -
-
- -**status:** `typing.Optional[IssuesListRequestStatus]` - -Status of the issue. Options: ('ONGOING', 'RESOLVED') - -* `ONGOING` - ONGOING -* `RESOLVED` - RESOLVED - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.accounting.issues.retrieve(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Get a specific issue. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.issues.retrieve( - id="id", -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**id:** `str` - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -## Accounting Items -
client.accounting.items.list(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns a list of `Item` objects. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -import datetime - -from merge import Merge -from merge.resources.accounting.resources.items import ItemsListRequestExpand - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.items.list( - company_id="company_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=ItemsListRequestExpand.COMPANY, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**company_id:** `typing.Optional[str]` — If provided, will only return items for this company. - -
-
- -
-
- -**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. - -
-
- -
-
- -**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. - -
-
- -
-
- -**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
- -
-
- -**expand:** `typing.Optional[ItemsListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
- -
-
- -**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. - -
-
- -
-
- -**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. - -
-
- -
-
- -**page_size:** `typing.Optional[int]` — Number of results to return per page. - -
-
- -
-
- -**remote_fields:** `typing.Optional[typing.Literal["status"]]` — Deprecated. Use show_enum_origins. - -
-
- -
-
- -**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. - -
-
- -
-
- -**show_enum_origins:** `typing.Optional[typing.Literal["status"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.accounting.items.create(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Creates an `Item` object with the given values. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge -from merge.resources.accounting import ItemRequestRequest - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.items.create( - is_debug_mode=True, - run_async=True, - model=ItemRequestRequest(), -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**model:** `ItemRequestRequest` - -
-
- -
-
- -**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. - -
-
- -
-
- -**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.accounting.items.retrieve(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns an `Item` object with the given `id`. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge -from merge.resources.accounting.resources.items import ( - ItemsRetrieveRequestExpand, -) - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.items.retrieve( - id="id", - expand=ItemsRetrieveRequestExpand.COMPANY, - include_remote_data=True, - include_shell_data=True, -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**id:** `str` - -
-
- -
-
- -**expand:** `typing.Optional[ItemsRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**remote_fields:** `typing.Optional[typing.Literal["status"]]` — Deprecated. Use show_enum_origins. - -
-
- -
-
- -**show_enum_origins:** `typing.Optional[typing.Literal["status"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.accounting.items.partial_update(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Updates an `Item` object with the given `id`. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge -from merge.resources.accounting import PatchedItemRequestRequest - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.items.partial_update( - id="id", - is_debug_mode=True, - run_async=True, - model=PatchedItemRequestRequest(), -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**id:** `str` - -
-
- -
-
- -**model:** `PatchedItemRequestRequest` - -
-
- -
-
- -**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. - -
-
- -
-
- -**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.accounting.items.meta_patch_retrieve(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns metadata for `Item` PATCHs. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.items.meta_patch_retrieve( - id="id", -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**id:** `str` - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.accounting.items.meta_post_retrieve() -
-
- -#### 📝 Description - -
-
- -
-
- -Returns metadata for `Item` POSTs. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.items.meta_post_retrieve() - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -## Accounting JournalEntries -
client.accounting.journal_entries.list(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns a list of `JournalEntry` objects. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -import datetime - -from merge import Merge -from merge.resources.accounting.resources.journal_entries import ( - JournalEntriesListRequestExpand, -) - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.journal_entries.list( - company_id="company_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=JournalEntriesListRequestExpand.ACCOUNTING_PERIOD, - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", - transaction_date_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - transaction_date_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**company_id:** `typing.Optional[str]` — If provided, will only return journal entries for this company. - -
-
- -
-
- -**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. - -
-
- -
-
- -**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. - -
-
- -
-
- -**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
- -
-
- -**expand:** `typing.Optional[JournalEntriesListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
- -
-
- -**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. - -
-
- -
-
- -**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. - -
-
- -
-
- -**page_size:** `typing.Optional[int]` — Number of results to return per page. - -
-
- -
-
- -**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. - -
-
- -
-
- -**transaction_date_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. - -
-
- -
-
- -**transaction_date_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.accounting.journal_entries.create(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Creates a `JournalEntry` object with the given values. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge -from merge.resources.accounting import JournalEntryRequest - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.journal_entries.create( - is_debug_mode=True, - run_async=True, - model=JournalEntryRequest(), -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**model:** `JournalEntryRequest` - -
-
- -
-
- -**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. - -
-
- -
-
- -**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.accounting.journal_entries.retrieve(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns a `JournalEntry` object with the given `id`. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge -from merge.resources.accounting.resources.journal_entries import ( - JournalEntriesRetrieveRequestExpand, -) - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.journal_entries.retrieve( - id="id", - expand=JournalEntriesRetrieveRequestExpand.ACCOUNTING_PERIOD, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**id:** `str` - -
-
- -
-
- -**expand:** `typing.Optional[JournalEntriesRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.accounting.journal_entries.lines_remote_field_classes_list(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns a list of `RemoteFieldClass` objects. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.journal_entries.lines_remote_field_classes_list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
- -
-
- -**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value - -
-
- -
-
- -**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value - -
-
- -
-
- -**page_size:** `typing.Optional[int]` — Number of results to return per page. - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.accounting.journal_entries.meta_post_retrieve() -
-
- -#### 📝 Description - -
-
- -
-
- -Returns metadata for `JournalEntry` POSTs. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.journal_entries.meta_post_retrieve() - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.accounting.journal_entries.remote_field_classes_list(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns a list of `RemoteFieldClass` objects. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.journal_entries.remote_field_classes_list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
- -
-
- -**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value - -
-
- -
-
- -**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value - -
-
- -
-
- -**page_size:** `typing.Optional[int]` — Number of results to return per page. - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -## Accounting LinkToken -
client.accounting.link_token.create(...) +## Ticketing FieldMapping +
client.ticketing.field_mapping.field_mappings_retrieve(...)
@@ -56869,7 +46803,7 @@ client.accounting.journal_entries.remote_field_classes_list(
-Creates a link token to be used when linking a new end user. +Get all Field Mappings for this Linked Account. Field Mappings are mappings between third-party Remote Fields and user defined Merge fields. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/).
@@ -56885,18 +46819,12 @@ Creates a link token to be used when linking a new end user. ```python from merge import Merge -from merge.resources.accounting import CategoriesEnum client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.link_token.create( - end_user_email_address="example@gmail.com", - end_user_organization_name="Test Organization", - end_user_origin_id="12345", - categories=[CategoriesEnum.HRIS, CategoriesEnum.ATS], -) +client.ticketing.field_mapping.field_mappings_retrieve() ``` @@ -56912,115 +46840,7 @@ client.accounting.link_token.create(
-**end_user_email_address:** `str` — Your end user's email address. This is purely for identification purposes - setting this value will not cause any emails to be sent. - -
-
- -
-
- -**end_user_organization_name:** `str` — Your end user's organization. - -
-
- -
-
- -**end_user_origin_id:** `str` — This unique identifier typically represents the ID for your end user in your product's database. This value must be distinct from other Linked Accounts' unique identifiers. - -
-
- -
-
- -**categories:** `typing.Sequence[CategoriesEnum]` — The integration categories to show in Merge Link. - -
-
- -
-
- -**integration:** `typing.Optional[str]` — The slug of a specific pre-selected integration for this linking flow token. For examples of slugs, see https://docs.merge.dev/guides/merge-link/single-integration/. - -
-
- -
-
- -**link_expiry_mins:** `typing.Optional[int]` — An integer number of minutes between [30, 720 or 10080 if for a Magic Link URL] for how long this token is valid. Defaults to 30. - -
-
- -
-
- -**should_create_magic_link_url:** `typing.Optional[bool]` — Whether to generate a Magic Link URL. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. - -
-
- -
-
- -**hide_admin_magic_link:** `typing.Optional[bool]` — Whether to generate a Magic Link URL on the Admin Needed screen during the linking flow. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. - -
-
- -
-
- -**common_models:** `typing.Optional[typing.Sequence[CommonModelScopesBodyRequest]]` — An array of objects to specify the models and fields that will be disabled for a given Linked Account. Each object uses model_id, enabled_actions, and disabled_fields to specify the model, method, and fields that are scoped for a given Linked Account. - -
-
- -
-
- -**category_common_model_scopes:** `typing.Optional[ - typing.Dict[ - str, - typing.Optional[ - typing.Sequence[IndividualCommonModelScopeDeserializerRequest] - ], - ] -]` — When creating a Link Token, you can set permissions for Common Models that will apply to the account that is going to be linked. Any model or field not specified in link token payload will default to existing settings. - -
-
- -
-
- -**language:** `typing.Optional[EndUserDetailsRequestLanguage]` - -The following subset of IETF language tags can be used to configure localization. - -* `en` - en -* `de` - de - -
-
- -
-
- -**are_syncs_disabled:** `typing.Optional[bool]` — The boolean that indicates whether initial, periodic, and force syncs will be disabled. - -
-
- -
-
- -**integration_specific_config:** `typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]` — A JSON object containing integration-specific configuration options. +**exclude_remote_field_metadata:** `typing.Optional[bool]` — If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations.
@@ -57040,8 +46860,7 @@ The following subset of IETF language tags can be used to configure localization
-## Accounting LinkedAccounts -
client.accounting.linked_accounts.list(...) +
client.ticketing.field_mapping.field_mappings_create(...)
@@ -57053,7 +46872,7 @@ The following subset of IETF language tags can be used to configure localization
-List linked accounts for your organization. +Create new Field Mappings that will be available after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start.
@@ -57069,28 +46888,18 @@ List linked accounts for your organization. ```python from merge import Merge -from merge.resources.accounting.resources.linked_accounts import ( - LinkedAccountsListRequestCategory, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.linked_accounts.list( - category=LinkedAccountsListRequestCategory.ACCOUNTING, - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_user_email_address="end_user_email_address", - end_user_organization_name="end_user_organization_name", - end_user_origin_id="end_user_origin_id", - end_user_origin_ids="end_user_origin_ids", - id="id", - ids="ids", - include_duplicates=True, - integration_name="integration_name", - is_test_account="is_test_account", - page_size=1, - status="status", +client.ticketing.field_mapping.field_mappings_create( + target_field_name="example_target_field_name", + target_field_description="this is a example description of the target field", + remote_field_traversal_path=["example_remote_field"], + remote_method="GET", + remote_url_path="/example-url-path", + common_model_name="ExampleCommonModel", ) ``` @@ -57107,65 +46916,7 @@ client.accounting.linked_accounts.list(
-**category:** `typing.Optional[LinkedAccountsListRequestCategory]` - -Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing` - -* `hris` - hris -* `ats` - ats -* `accounting` - accounting -* `ticketing` - ticketing -* `crm` - crm -* `mktg` - mktg -* `filestorage` - filestorage - -
-
- -
-
- -**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
- -
-
- -**end_user_email_address:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given email address. - -
-
- -
-
- -**end_user_organization_name:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given organization name. - -
-
- -
-
- -**end_user_origin_id:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given origin ID. - -
-
- -
-
- -**end_user_origin_ids:** `typing.Optional[str]` — Comma-separated list of EndUser origin IDs, making it possible to specify multiple EndUsers at once. - -
-
- -
-
- -**id:** `typing.Optional[str]` +**target_field_name:** `str` — The name of the target field you want this remote field to map to.
@@ -57173,7 +46924,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-**ids:** `typing.Optional[str]` — Comma-separated list of LinkedAccount IDs, making it possible to specify multiple LinkedAccounts at once. +**target_field_description:** `str` — The description of the target field you want this remote field to map to.
@@ -57181,7 +46932,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-**include_duplicates:** `typing.Optional[bool]` — If `true`, will include complete production duplicates of the account specified by the `id` query parameter in the response. `id` must be for a complete production linked account. +**remote_field_traversal_path:** `typing.Sequence[typing.Any]` — The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint.
@@ -57189,7 +46940,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-**integration_name:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given integration name. +**remote_method:** `str` — The method of the remote endpoint where the remote field is coming from.
@@ -57197,7 +46948,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-**is_test_account:** `typing.Optional[str]` — If included, will only include test linked accounts. If not included, will only include non-test linked accounts. +**remote_url_path:** `str` — The path of the remote endpoint where the remote field is coming from.
@@ -57205,7 +46956,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**common_model_name:** `str` — The name of the Common Model that the remote field corresponds to in a given category.
@@ -57213,7 +46964,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-**status:** `typing.Optional[str]` — Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` +**exclude_remote_field_metadata:** `typing.Optional[bool]` — If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations.
@@ -57233,8 +46984,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-## Accounting Passthrough -
client.accounting.passthrough.create(...) +
client.ticketing.field_mapping.field_mappings_destroy(...)
@@ -57246,7 +46996,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-Pull data from an endpoint not currently supported by Merge. +Deletes Field Mappings for a Linked Account. All data related to this Field Mapping will be deleted and these changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start.
@@ -57262,17 +47012,13 @@ Pull data from an endpoint not currently supported by Merge. ```python from merge import Merge -from merge.resources.accounting import DataPassthroughRequest, MethodEnum client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.passthrough.create( - request=DataPassthroughRequest( - method=MethodEnum.GET, - path="/scooters", - ), +client.ticketing.field_mapping.field_mappings_destroy( + field_mapping_id="field_mapping_id", ) ``` @@ -57289,7 +47035,7 @@ client.accounting.passthrough.create(
-**request:** `DataPassthroughRequest` +**field_mapping_id:** `str`
@@ -57309,8 +47055,7 @@ client.accounting.passthrough.create(
-## Accounting PaymentMethods -
client.accounting.payment_methods.list(...) +
client.ticketing.field_mapping.field_mappings_partial_update(...)
@@ -57322,7 +47067,7 @@ client.accounting.passthrough.create(
-Returns a list of `PaymentMethod` objects. +Create or update existing Field Mappings for a Linked Account. Changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start.
@@ -57343,12 +47088,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.payment_methods.list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - page_size=1, +client.ticketing.field_mapping.field_mappings_partial_update( + field_mapping_id="field_mapping_id", ) ``` @@ -57365,15 +47106,7 @@ client.accounting.payment_methods.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
- -
-
- -**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**field_mapping_id:** `str`
@@ -57381,7 +47114,7 @@ client.accounting.payment_methods.list(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**remote_field_traversal_path:** `typing.Optional[typing.Sequence[typing.Any]]` — The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint.
@@ -57389,7 +47122,7 @@ client.accounting.payment_methods.list(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**remote_method:** `typing.Optional[str]` — The method of the remote endpoint where the remote field is coming from.
@@ -57397,7 +47130,7 @@ client.accounting.payment_methods.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**remote_url_path:** `typing.Optional[str]` — The path of the remote endpoint where the remote field is coming from.
@@ -57417,7 +47150,7 @@ client.accounting.payment_methods.list(
-
client.accounting.payment_methods.retrieve(...) +
client.ticketing.field_mapping.remote_fields_retrieve(...)
@@ -57429,7 +47162,7 @@ client.accounting.payment_methods.list(
-Returns a `PaymentMethod` object with the given `id`. +Get all remote fields for a Linked Account. Remote fields are third-party fields that are accessible after initial sync if remote_data is enabled. You can use remote fields to override existing Merge fields or map a new Merge field. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/).
@@ -57450,11 +47183,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.payment_methods.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, -) +client.ticketing.field_mapping.remote_fields_retrieve() ``` @@ -57470,15 +47199,7 @@ client.accounting.payment_methods.retrieve(
-**id:** `str` - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**common_models:** `typing.Optional[str]` — A comma seperated list of Common Model names. If included, will only return Remote Fields for those Common Models.
@@ -57486,7 +47207,7 @@ client.accounting.payment_methods.retrieve(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**include_example_values:** `typing.Optional[str]` — If true, will include example values, where available, for remote fields in the 3rd party platform. These examples come from active data from your customers.
@@ -57506,8 +47227,7 @@ client.accounting.payment_methods.retrieve(
-## Accounting PaymentTerms -
client.accounting.payment_terms.list(...) +
client.ticketing.field_mapping.target_fields_retrieve()
@@ -57519,7 +47239,7 @@ client.accounting.payment_methods.retrieve(
-Returns a list of `PaymentTerm` objects. +Get all organization-wide Target Fields, this will not include any Linked Account specific Target Fields. Organization-wide Target Fields are additional fields appended to the Merge Common Model for all Linked Accounts in a category. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/target-fields/).
@@ -57540,13 +47260,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.payment_terms.list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - page_size=1, -) +client.ticketing.field_mapping.target_fields_retrieve() ``` @@ -57562,54 +47276,6 @@ client.accounting.payment_terms.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
- -
-
- -**expand:** `typing.Optional[typing.Literal["company"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
- -
-
- -**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**page_size:** `typing.Optional[int]` — Number of results to return per page. - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -57622,7 +47288,8 @@ client.accounting.payment_terms.list(
-
client.accounting.payment_terms.retrieve(...) +## Ticketing GenerateKey +
client.ticketing.generate_key.create(...)
@@ -57634,7 +47301,7 @@ client.accounting.payment_terms.list(
-Returns a `PaymentTerm` object with the given `id`. +Create a remote key.
@@ -57655,10 +47322,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.payment_terms.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, +client.ticketing.generate_key.create( + name="Remote Deployment Key 1", ) ``` @@ -57675,31 +47340,7 @@ client.accounting.payment_terms.retrieve(
-**id:** `str` - -
-
- -
-
- -**expand:** `typing.Optional[typing.Literal["company"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**name:** `str` — The name of the remote key
@@ -57719,8 +47360,8 @@ client.accounting.payment_terms.retrieve(
-## Accounting Payments -
client.accounting.payments.list(...) +## Ticketing Issues +
client.ticketing.issues.list(...)
@@ -57732,7 +47373,7 @@ client.accounting.payment_terms.retrieve(
-Returns a list of `Payment` objects. +Gets all issues for Organization.
@@ -57747,48 +47388,20 @@ Returns a list of `Payment` objects.
```python -import datetime - from merge import Merge -from merge.resources.accounting.resources.payments import ( - PaymentsListRequestExpand, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.payments.list( - account_id="account_id", - company_id="company_id", - contact_id="contact_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), +response = client.ticketing.issues.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=PaymentsListRequestExpand.ACCOUNT, - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", - transaction_date_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - transaction_date_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -57804,39 +47417,7 @@ client.accounting.payments.list(
-**account_id:** `typing.Optional[str]` — If provided, will only return payments for this account. - -
-
- -
-
- -**company_id:** `typing.Optional[str]` — If provided, will only return payments for this company. - -
-
- -
-
- -**contact_id:** `typing.Optional[str]` — If provided, will only return payments for this contact. - -
-
- -
-
- -**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. - -
-
- -
-
- -**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**account_token:** `typing.Optional[str]`
@@ -57852,23 +47433,7 @@ client.accounting.payments.list(
-**expand:** `typing.Optional[PaymentsListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
- -
-
- -**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**end_date:** `typing.Optional[str]` — If included, will only include issues whose most recent action occurred before this time
@@ -57876,7 +47441,7 @@ client.accounting.payments.list(
-**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. +**end_user_organization_name:** `typing.Optional[str]`
@@ -57884,7 +47449,7 @@ client.accounting.payments.list(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**first_incident_time_after:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose first incident time was after this datetime.
@@ -57892,7 +47457,7 @@ client.accounting.payments.list(
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +**first_incident_time_before:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose first incident time was before this datetime.
@@ -57900,7 +47465,7 @@ client.accounting.payments.list(
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +**include_muted:** `typing.Optional[str]` — If true, will include muted issues
@@ -57908,7 +47473,7 @@ client.accounting.payments.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**integration_name:** `typing.Optional[str]`
@@ -57916,7 +47481,7 @@ client.accounting.payments.list(
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +**last_incident_time_after:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose last incident time was after this datetime.
@@ -57924,7 +47489,7 @@ client.accounting.payments.list(
-**transaction_date_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**last_incident_time_before:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose last incident time was before this datetime.
@@ -57932,7 +47497,7 @@ client.accounting.payments.list(
-**transaction_date_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**linked_account_id:** `typing.Optional[str]` — If provided, will only include issues pertaining to the linked account passed in.
@@ -57940,73 +47505,15 @@ client.accounting.payments.list(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**page_size:** `typing.Optional[int]` — Number of results to return per page.
- -
- - - - -
- -
client.accounting.payments.create(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Creates a `Payment` object with the given values. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge -from merge.resources.accounting import PaymentRequest - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.payments.create( - is_debug_mode=True, - run_async=True, - model=PaymentRequest(), -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
-**model:** `PaymentRequest` +**start_date:** `typing.Optional[str]` — If included, will only include issues whose most recent action occurred after this time
@@ -58014,15 +47521,12 @@ client.accounting.payments.create(
-**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. - -
-
+**status:** `typing.Optional[IssuesListRequestStatus]` -
-
+Status of the issue. Options: ('ONGOING', 'RESOLVED') -**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. +* `ONGOING` - ONGOING +* `RESOLVED` - RESOLVED
@@ -58042,7 +47546,7 @@ client.accounting.payments.create(
-
client.accounting.payments.retrieve(...) +
client.ticketing.issues.retrieve(...)
@@ -58054,7 +47558,7 @@ client.accounting.payments.create(
-Returns a `Payment` object with the given `id`. +Get a specific issue.
@@ -58070,20 +47574,13 @@ Returns a `Payment` object with the given `id`. ```python from merge import Merge -from merge.resources.accounting.resources.payments import ( - PaymentsRetrieveRequestExpand, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.payments.retrieve( +client.ticketing.issues.retrieve( id="id", - expand=PaymentsRetrieveRequestExpand.ACCOUNT, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, ) ``` @@ -58108,106 +47605,154 @@ client.accounting.payments.retrieve(
-**expand:** `typing.Optional[PaymentsRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. -
+
+## Ticketing LinkToken +
client.ticketing.link_token.create(...)
-**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. - -
-
+#### 📝 Description
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - +
+
+ +Creates a link token to be used when linking a new end user.
+
+
+ +#### 🔌 Usage
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - +
+
+ +```python +from merge import Merge +from merge.resources.ticketing import CategoriesEnum + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.ticketing.link_token.create( + end_user_email_address="example@gmail.com", + end_user_organization_name="Test Organization", + end_user_origin_id="12345", + categories=[CategoriesEnum.HRIS, CategoriesEnum.ATS], +) + +```
+#### ⚙️ Parameters - - -
+
+
-
client.accounting.payments.partial_update(...)
-#### 📝 Description +**end_user_email_address:** `str` — Your end user's email address. This is purely for identification purposes - setting this value will not cause any emails to be sent. + +
+
+**end_user_organization_name:** `str` — Your end user's organization. + +
+
+
-Updates a `Payment` object with the given `id`. +**end_user_origin_id:** `str` — This unique identifier typically represents the ID for your end user in your product's database. This value must be distinct from other Linked Accounts' unique identifiers. +
+ +
+
+ +**categories:** `typing.Sequence[CategoriesEnum]` — The integration categories to show in Merge Link. +
-#### 🔌 Usage -
+**integration:** `typing.Optional[str]` — The slug of a specific pre-selected integration for this linking flow token. For examples of slugs, see https://docs.merge.dev/guides/merge-link/single-integration/. + +
+
+
-```python -from merge import Merge -from merge.resources.accounting import PatchedPaymentRequest +**link_expiry_mins:** `typing.Optional[int]` — An integer number of minutes between [30, 720 or 10080 if for a Magic Link URL] for how long this token is valid. Defaults to 30. + +
+
-client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.payments.partial_update( - id="id", - is_debug_mode=True, - run_async=True, - model=PatchedPaymentRequest(), -) +
+
-``` +**should_create_magic_link_url:** `typing.Optional[bool]` — Whether to generate a Magic Link URL. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. +
+ +
+
+ +**hide_admin_magic_link:** `typing.Optional[bool]` — Whether to generate a Magic Link URL on the Admin Needed screen during the linking flow. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. +
-#### ⚙️ Parameters -
+**common_models:** `typing.Optional[typing.Sequence[CommonModelScopesBodyRequest]]` — An array of objects to specify the models and fields that will be disabled for a given Linked Account. Each object uses model_id, enabled_actions, and disabled_fields to specify the model, method, and fields that are scoped for a given Linked Account. + +
+
+
-**id:** `str` +**category_common_model_scopes:** `typing.Optional[ + typing.Dict[ + str, + typing.Optional[ + typing.Sequence[IndividualCommonModelScopeDeserializerRequest] + ], + ] +]` — When creating a Link Token, you can set permissions for Common Models that will apply to the account that is going to be linked. Any model or field not specified in link token payload will default to existing settings.
@@ -58215,7 +47760,12 @@ client.accounting.payments.partial_update(
-**model:** `PatchedPaymentRequest` +**language:** `typing.Optional[EndUserDetailsRequestLanguage]` + +The following subset of IETF language tags can be used to configure localization. + +* `en` - en +* `de` - de
@@ -58223,7 +47773,7 @@ client.accounting.payments.partial_update(
-**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. +**are_syncs_disabled:** `typing.Optional[bool]` — The boolean that indicates whether initial, periodic, and force syncs will be disabled.
@@ -58231,7 +47781,7 @@ client.accounting.payments.partial_update(
-**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. +**integration_specific_config:** `typing.Optional[typing.Dict[str, typing.Any]]` — A JSON object containing integration-specific configuration options.
@@ -58251,7 +47801,8 @@ client.accounting.payments.partial_update(
-
client.accounting.payments.line_items_remote_field_classes_list(...) +## Ticketing LinkedAccounts +
client.ticketing.linked_accounts.list(...)
@@ -58263,7 +47814,7 @@ client.accounting.payments.partial_update(
-Returns a list of `RemoteFieldClass` objects. +List linked accounts for your organization.
@@ -58284,15 +47835,14 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.payments.line_items_remote_field_classes_list( +response = client.ticketing.linked_accounts.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -58308,7 +47858,17 @@ client.accounting.payments.line_items_remote_field_classes_list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**category:** `typing.Optional[LinkedAccountsListRequestCategory]` + +Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing` + +* `hris` - hris +* `ats` - ats +* `accounting` - accounting +* `ticketing` - ticketing +* `crm` - crm +* `mktg` - mktg +* `filestorage` - filestorage
@@ -58316,7 +47876,7 @@ client.accounting.payments.line_items_remote_field_classes_list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -58324,7 +47884,7 @@ client.accounting.payments.line_items_remote_field_classes_list(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**end_user_email_address:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given email address.
@@ -58332,7 +47892,7 @@ client.accounting.payments.line_items_remote_field_classes_list(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**end_user_organization_name:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given organization name.
@@ -58340,7 +47900,7 @@ client.accounting.payments.line_items_remote_field_classes_list(
-**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value +**end_user_origin_id:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given origin ID.
@@ -58348,7 +47908,7 @@ client.accounting.payments.line_items_remote_field_classes_list(
-**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value +**end_user_origin_ids:** `typing.Optional[str]` — Comma-separated list of EndUser origin IDs, making it possible to specify multiple EndUsers at once.
@@ -58356,7 +47916,7 @@ client.accounting.payments.line_items_remote_field_classes_list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**id:** `typing.Optional[str]`
@@ -58364,70 +47924,47 @@ client.accounting.payments.line_items_remote_field_classes_list(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**ids:** `typing.Optional[str]` — Comma-separated list of LinkedAccount IDs, making it possible to specify multiple LinkedAccounts at once.
- -
+
+
+**include_duplicates:** `typing.Optional[bool]` — If `true`, will include complete production duplicates of the account specified by the `id` query parameter in the response. `id` must be for a complete production linked account. +
-
-
client.accounting.payments.meta_patch_retrieve(...)
-#### 📝 Description - -
-
+**integration_name:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given integration name. + +
+
-Returns metadata for `Payment` PATCHs. -
-
+**is_test_account:** `typing.Optional[str]` — If included, will only include test linked accounts. If not included, will only include non-test linked accounts. +
-#### 🔌 Usage -
-
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.payments.meta_patch_retrieve( - id="id", -) - -``` -
-
+**page_size:** `typing.Optional[int]` — Number of results to return per page. +
-#### ⚙️ Parameters - -
-
-
-**id:** `str` +**status:** `typing.Optional[str]` — Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED`
@@ -58447,7 +47984,8 @@ client.accounting.payments.meta_patch_retrieve(
-
client.accounting.payments.meta_post_retrieve() +## Ticketing Passthrough +
client.ticketing.passthrough.create(...)
@@ -58459,7 +47997,7 @@ client.accounting.payments.meta_patch_retrieve(
-Returns metadata for `Payment` POSTs. +Pull data from an endpoint not currently supported by Merge.
@@ -58475,12 +48013,18 @@ Returns metadata for `Payment` POSTs. ```python from merge import Merge +from merge.resources.ticketing import DataPassthroughRequest, MethodEnum client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.payments.meta_post_retrieve() +client.ticketing.passthrough.create( + request=DataPassthroughRequest( + method=MethodEnum.GET, + path="/scooters", + ), +) ``` @@ -58496,6 +48040,14 @@ client.accounting.payments.meta_post_retrieve()
+**request:** `DataPassthroughRequest` + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -58508,7 +48060,8 @@ client.accounting.payments.meta_post_retrieve()
-
client.accounting.payments.remote_field_classes_list(...) +## Ticketing Projects +
client.ticketing.projects.list(...)
@@ -58520,7 +48073,7 @@ client.accounting.payments.meta_post_retrieve()
-Returns a list of `RemoteFieldClass` objects. +Returns a list of `Project` objects.
@@ -58541,15 +48094,14 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.payments.remote_field_classes_list( +response = client.ticketing.projects.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -58565,6 +48117,22 @@ client.accounting.payments.remote_field_classes_list(
+**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. + +
+
+ +
+
+ +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. + +
+
+ +
+
+ **cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -58597,7 +48165,7 @@ client.accounting.payments.remote_field_classes_list(
-**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned.
@@ -58605,7 +48173,7 @@ client.accounting.payments.remote_field_classes_list(
-**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned.
@@ -58621,6 +48189,14 @@ client.accounting.payments.remote_field_classes_list(
+**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -58633,8 +48209,7 @@ client.accounting.payments.remote_field_classes_list(
-## Accounting PhoneNumbers -
client.accounting.phone_numbers.retrieve(...) +
client.ticketing.projects.retrieve(...)
@@ -58646,7 +48221,7 @@ client.accounting.payments.remote_field_classes_list(
-Returns an `AccountingPhoneNumber` object with the given `id`. +Returns a `Project` object with the given `id`.
@@ -58667,10 +48242,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.phone_numbers.retrieve( +client.ticketing.projects.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) ``` @@ -58723,8 +48296,7 @@ client.accounting.phone_numbers.retrieve(
-## Accounting Projects -
client.accounting.projects.list(...) +
client.ticketing.projects.users_list(...)
@@ -58736,7 +48308,7 @@ client.accounting.phone_numbers.retrieve(
-Returns a list of `Project` objects. +Returns a list of `User` objects.
@@ -58751,39 +48323,21 @@ Returns a list of `Project` objects.
```python -import datetime - from merge import Merge -from merge.resources.accounting.resources.projects import ( - ProjectsListRequestExpand, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.projects.list( - company_id="company_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), +response = client.ticketing.projects.users_list( + parent_id="parent_id", cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=ProjectsListRequestExpand.COMPANY, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -58799,23 +48353,7 @@ client.accounting.projects.list(
-**company_id:** `typing.Optional[str]` — If provided, will only return projects for this company. - -
-
- -
-
- -**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. - -
-
- -
-
- -**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**parent_id:** `str`
@@ -58831,7 +48369,12 @@ client.accounting.projects.list(
-**expand:** `typing.Optional[ProjectsListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**expand:** `typing.Optional[ + typing.Union[ + ProjectsUsersListRequestExpandItem, + typing.Sequence[ProjectsUsersListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -58863,22 +48406,6 @@ client.accounting.projects.list(
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. - -
-
- -
-
- -**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. - -
-
- -
-
- **page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -58887,14 +48414,6 @@ client.accounting.projects.list(
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -58907,7 +48426,8 @@ client.accounting.projects.list(
-
client.accounting.projects.retrieve(...) +## Ticketing RegenerateKey +
client.ticketing.regenerate_key.create(...)
@@ -58919,7 +48439,7 @@ client.accounting.projects.list(
-Returns a `Project` object with the given `id`. +Exchange remote keys.
@@ -58935,19 +48455,13 @@ Returns a `Project` object with the given `id`. ```python from merge import Merge -from merge.resources.accounting.resources.projects import ( - ProjectsRetrieveRequestExpand, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.projects.retrieve( - id="id", - expand=ProjectsRetrieveRequestExpand.COMPANY, - include_remote_data=True, - include_shell_data=True, +client.ticketing.regenerate_key.create( + name="Remote Deployment Key 1", ) ``` @@ -58964,31 +48478,7 @@ client.accounting.projects.retrieve(
-**id:** `str` - -
-
- -
-
- -**expand:** `typing.Optional[ProjectsRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**name:** `str` — The name of the remote key
@@ -59008,8 +48498,8 @@ client.accounting.projects.retrieve(
-## Accounting PurchaseOrders -
client.accounting.purchase_orders.list(...) +## Ticketing Roles +
client.ticketing.roles.list(...)
@@ -59021,7 +48511,7 @@ client.accounting.projects.retrieve(
-Returns a list of `PurchaseOrder` objects. +Returns a list of `Role` objects.
@@ -59036,46 +48526,20 @@ Returns a list of `PurchaseOrder` objects.
```python -import datetime - from merge import Merge -from merge.resources.accounting.resources.purchase_orders import ( - PurchaseOrdersListRequestExpand, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.purchase_orders.list( - company_id="company_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), +response = client.ticketing.roles.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=PurchaseOrdersListRequestExpand.ACCOUNTING_PERIOD, - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - issue_date_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - issue_date_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -59091,14 +48555,6 @@ client.accounting.purchase_orders.list(
-**company_id:** `typing.Optional[str]` — If provided, will only return purchase orders for this company. - -
-
- -
-
- **created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -59123,14 +48579,6 @@ client.accounting.purchase_orders.list(
-**expand:** `typing.Optional[PurchaseOrdersListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
- -
-
- **include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -59147,14 +48595,6 @@ client.accounting.purchase_orders.list(
-**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. - -
-
- -
-
- **include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -59163,22 +48603,6 @@ client.accounting.purchase_orders.list(
-**issue_date_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. - -
-
- -
-
- -**issue_date_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. - -
-
- -
-
- **modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned.
@@ -59203,14 +48627,6 @@ client.accounting.purchase_orders.list(
-**remote_fields:** `typing.Optional[typing.Literal["status"]]` — Deprecated. Use show_enum_origins. - -
-
- -
-
- **remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -59219,14 +48635,6 @@ client.accounting.purchase_orders.list(
-**show_enum_origins:** `typing.Optional[typing.Literal["status"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -59239,7 +48647,7 @@ client.accounting.purchase_orders.list(
-
client.accounting.purchase_orders.create(...) +
client.ticketing.roles.retrieve(...)
@@ -59251,7 +48659,7 @@ client.accounting.purchase_orders.list(
-Creates a `PurchaseOrder` object with the given values. +Returns a `Role` object with the given `id`.
@@ -59267,16 +48675,13 @@ Creates a `PurchaseOrder` object with the given values. ```python from merge import Merge -from merge.resources.accounting import PurchaseOrderRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.purchase_orders.create( - is_debug_mode=True, - run_async=True, - model=PurchaseOrderRequest(), +client.ticketing.roles.retrieve( + id="id", ) ``` @@ -59293,7 +48698,7 @@ client.accounting.purchase_orders.create(
-**model:** `PurchaseOrderRequest` +**id:** `str`
@@ -59301,7 +48706,7 @@ client.accounting.purchase_orders.create(
-**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -59309,7 +48714,7 @@ client.accounting.purchase_orders.create(
-**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -59329,7 +48734,8 @@ client.accounting.purchase_orders.create(
-
client.accounting.purchase_orders.retrieve(...) +## Ticketing SyncStatus +
client.ticketing.sync_status.list(...)
@@ -59341,7 +48747,7 @@ client.accounting.purchase_orders.create(
-Returns a `PurchaseOrder` object with the given `id`. +Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses).
@@ -59357,21 +48763,19 @@ Returns a `PurchaseOrder` object with the given `id`. ```python from merge import Merge -from merge.resources.accounting.resources.purchase_orders import ( - PurchaseOrdersRetrieveRequestExpand, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.purchase_orders.retrieve( - id="id", - expand=PurchaseOrdersRetrieveRequestExpand.ACCOUNTING_PERIOD, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, +response = client.ticketing.sync_status.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -59387,7 +48791,7 @@ client.accounting.purchase_orders.retrieve(
-**id:** `str` +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -59395,7 +48799,7 @@ client.accounting.purchase_orders.retrieve(
-**expand:** `typing.Optional[PurchaseOrdersRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -59403,43 +48807,65 @@ client.accounting.purchase_orders.retrieve(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. -
+
+## Ticketing ForceResync +
client.ticketing.force_resync.sync_status_resync_create()
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
+#### 📝 Description
-**remote_fields:** `typing.Optional[typing.Literal["status"]]` — Deprecated. Use show_enum_origins. - +
+
+ +Force re-sync of all models. This endpoint is available for monthly, quarterly, and highest sync frequency customers on the Professional or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. Force re-syncs can also be triggered manually in the Merge Dashboard and is available for all customers. +
+
+#### 🔌 Usage +
-**show_enum_origins:** `typing.Optional[typing.Literal["status"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.ticketing.force_resync.sync_status_resync_create() + +``` +
+
+#### ⚙️ Parameters + +
+
+
@@ -59455,7 +48881,8 @@ client.accounting.purchase_orders.retrieve(
-
client.accounting.purchase_orders.line_items_remote_field_classes_list(...) +## Ticketing Tags +
client.ticketing.tags.list(...)
@@ -59467,7 +48894,7 @@ client.accounting.purchase_orders.retrieve(
-Returns a list of `RemoteFieldClass` objects. +Returns a list of `Tag` objects.
@@ -59488,15 +48915,14 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.purchase_orders.line_items_remote_field_classes_list( +response = client.ticketing.tags.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -59512,6 +48938,22 @@ client.accounting.purchase_orders.line_items_remote_field_classes_list(
+**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. + +
+
+ +
+
+ +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. + +
+
+ +
+
+ **cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -59544,7 +48986,7 @@ client.accounting.purchase_orders.line_items_remote_field_classes_list(
-**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned.
@@ -59552,7 +48994,7 @@ client.accounting.purchase_orders.line_items_remote_field_classes_list(
-**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned.
@@ -59568,6 +49010,14 @@ client.accounting.purchase_orders.line_items_remote_field_classes_list(
+**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -59580,7 +49030,7 @@ client.accounting.purchase_orders.line_items_remote_field_classes_list(
-
client.accounting.purchase_orders.meta_post_retrieve() +
client.ticketing.tags.retrieve(...)
@@ -59592,7 +49042,7 @@ client.accounting.purchase_orders.line_items_remote_field_classes_list(
-Returns metadata for `PurchaseOrder` POSTs. +Returns a `Tag` object with the given `id`.
@@ -59613,7 +49063,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.purchase_orders.meta_post_retrieve() +client.ticketing.tags.retrieve( + id="id", +) ``` @@ -59629,6 +49081,30 @@ client.accounting.purchase_orders.meta_post_retrieve()
+**id:** `str` + +
+
+ +
+
+ +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
+ +
+
+ +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -59641,7 +49117,8 @@ client.accounting.purchase_orders.meta_post_retrieve()
-
client.accounting.purchase_orders.remote_field_classes_list(...) +## Ticketing Teams +
client.ticketing.teams.list(...)
@@ -59653,7 +49130,7 @@ client.accounting.purchase_orders.meta_post_retrieve()
-Returns a list of `RemoteFieldClass` objects. +Returns a list of `Team` objects.
@@ -59674,15 +49151,14 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.purchase_orders.remote_field_classes_list( +response = client.ticketing.teams.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -59698,6 +49174,22 @@ client.accounting.purchase_orders.remote_field_classes_list(
+**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. + +
+
+ +
+
+ +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. + +
+
+ +
+
+ **cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -59730,7 +49222,7 @@ client.accounting.purchase_orders.remote_field_classes_list(
-**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned.
@@ -59738,7 +49230,7 @@ client.accounting.purchase_orders.remote_field_classes_list(
-**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned.
@@ -59754,6 +49246,14 @@ client.accounting.purchase_orders.remote_field_classes_list(
+**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -59766,8 +49266,7 @@ client.accounting.purchase_orders.remote_field_classes_list(
-## Accounting RegenerateKey -
client.accounting.regenerate_key.create(...) +
client.ticketing.teams.retrieve(...)
@@ -59779,7 +49278,7 @@ client.accounting.purchase_orders.remote_field_classes_list(
-Exchange remote keys. +Returns a `Team` object with the given `id`.
@@ -59800,8 +49299,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.regenerate_key.create( - name="Remote Deployment Key 1", +client.ticketing.teams.retrieve( + id="id", ) ``` @@ -59818,7 +49317,23 @@ client.accounting.regenerate_key.create(
-**name:** `str` — The name of the remote key +**id:** `str` + +
+
+ +
+
+ +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
+ +
+
+ +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -59838,8 +49353,8 @@ client.accounting.regenerate_key.create(
-## Accounting SyncStatus -
client.accounting.sync_status.list(...) +## Ticketing Tickets +
client.ticketing.tickets.list(...)
@@ -59851,7 +49366,7 @@ client.accounting.regenerate_key.create(
-Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). +Returns a list of `Ticket` objects.
@@ -59872,10 +49387,14 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.sync_status.list( +response = client.ticketing.tickets.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - page_size=1, ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -59891,7 +49410,7 @@ client.accounting.sync_status.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**account_id:** `typing.Optional[str]` — If provided, will only return tickets for this account.
@@ -59899,7 +49418,7 @@ client.accounting.sync_status.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**assignee_ids:** `typing.Optional[str]` — If provided, will only return tickets assigned to the assignee_ids; multiple assignee_ids can be separated by commas.
@@ -59907,154 +49426,71 @@ client.accounting.sync_status.list(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**collection_ids:** `typing.Optional[str]` — If provided, will only return tickets assigned to the collection_ids; multiple collection_ids can be separated by commas.
- -
- - - - -
-## Accounting ForceResync -
client.accounting.force_resync.sync_status_resync_create()
-#### 📝 Description - -
-
- -
-
- -Force re-sync of all models. This endpoint is available for monthly, quarterly, and highest sync frequency customers on the Professional or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. Force re-syncs can also be triggered manually in the Merge Dashboard and is available for all customers. -
-
+**completed_after:** `typing.Optional[dt.datetime]` — If provided, will only return tickets completed after this datetime. +
-#### 🔌 Usage - -
-
-
-```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.force_resync.sync_status_resync_create() - -``` -
-
+**completed_before:** `typing.Optional[dt.datetime]` — If provided, will only return tickets completed before this datetime. +
-#### ⚙️ Parameters -
-
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**contact_id:** `typing.Optional[str]` — If provided, will only return tickets for this contact.
-
-
+
+
+**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +
-
-## Accounting TaxRates -
client.accounting.tax_rates.list(...)
-#### 📝 Description - -
-
+**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. + +
+
-Returns a list of `TaxRate` objects. -
-
+**creator_id:** `typing.Optional[str]` — If provided, will only return tickets created by this creator_id. +
-#### 🔌 Usage - -
-
-
-```python -import datetime - -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.tax_rates.list( - company_id="company_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - name="name", - page_size=1, - remote_id="remote_id", -) - -``` -
-
+**creator_ids:** `typing.Optional[str]` — If provided, will only return tickets created by the creator_ids; multiple creator_ids can be separated by commas. +
-#### ⚙️ Parameters - -
-
-
-**company_id:** `typing.Optional[str]` — If provided, will only return tax rates for this company. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -60062,7 +49498,7 @@ client.accounting.tax_rates.list(
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**due_after:** `typing.Optional[dt.datetime]` — If provided, will only return tickets due after this datetime.
@@ -60070,7 +49506,7 @@ client.accounting.tax_rates.list(
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**due_before:** `typing.Optional[dt.datetime]` — If provided, will only return tickets due before this datetime.
@@ -60078,7 +49514,12 @@ client.accounting.tax_rates.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**expand:** `typing.Optional[ + typing.Union[ + TicketsListRequestExpandItem, + typing.Sequence[TicketsListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -60086,7 +49527,7 @@ client.accounting.tax_rates.list(
-**expand:** `typing.Optional[typing.Literal["company"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -60094,7 +49535,7 @@ client.accounting.tax_rates.list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -60102,7 +49543,7 @@ client.accounting.tax_rates.list(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
@@ -60134,7 +49575,7 @@ client.accounting.tax_rates.list(
-**name:** `typing.Optional[str]` — If provided, will only return TaxRates with this name. +**name:** `typing.Optional[str]` — If provided, will only return tickets with this name.
@@ -60150,7 +49591,7 @@ client.accounting.tax_rates.list(
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +**parent_ticket_id:** `typing.Optional[str]` — If provided, will only return sub tickets of the parent_ticket_id.
@@ -60158,72 +49599,78 @@ client.accounting.tax_rates.list(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**priority:** `typing.Optional[TicketsListRequestPriority]` + +If provided, will only return tickets of this priority. + +* `URGENT` - URGENT +* `HIGH` - HIGH +* `NORMAL` - NORMAL +* `LOW` - LOW
-
-
+
+
+**remote_created_after:** `typing.Optional[dt.datetime]` — If provided, will only return tickets created in the third party platform after this datetime. +
-
-
client.accounting.tax_rates.retrieve(...)
-#### 📝 Description +**remote_created_before:** `typing.Optional[dt.datetime]` — If provided, will only return tickets created in the third party platform before this datetime. + +
+
+**remote_fields:** `typing.Optional[TicketsListRequestRemoteFields]` — Deprecated. Use show_enum_origins. + +
+
+
-Returns a `TaxRate` object with the given `id`. -
-
+**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. + -#### 🔌 Usage -
+**remote_updated_after:** `typing.Optional[dt.datetime]` — If provided, will only return tickets updated in the third party platform after this datetime. + +
+
+
-```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.tax_rates.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, -) - -``` -
-
+**remote_updated_before:** `typing.Optional[dt.datetime]` — If provided, will only return tickets updated in the third party platform before this datetime. + -#### ⚙️ Parameters -
+**show_enum_origins:** `typing.Optional[TicketsListRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) + +
+
+
-**id:** `str` +**status:** `typing.Optional[TicketsListRequestStatus]` — If provided, will only return tickets of this status.
@@ -60231,7 +49678,7 @@ client.accounting.tax_rates.retrieve(
-**expand:** `typing.Optional[typing.Literal["company"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**tags:** `typing.Optional[str]` — If provided, will only return tickets matching the tags; multiple tags can be separated by commas.
@@ -60239,7 +49686,7 @@ client.accounting.tax_rates.retrieve(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**ticket_type:** `typing.Optional[str]` — If provided, will only return tickets of this type.
@@ -60247,7 +49694,7 @@ client.accounting.tax_rates.retrieve(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**ticket_url:** `typing.Optional[str]` — If provided, will only return tickets where the URL matches or contains the substring
@@ -60267,8 +49714,7 @@ client.accounting.tax_rates.retrieve(
-## Accounting TrackingCategories -
client.accounting.tracking_categories.list(...) +
client.ticketing.tickets.create(...)
@@ -60280,7 +49726,7 @@ client.accounting.tax_rates.retrieve(
-Returns a list of `TrackingCategory` objects. +Creates a `Ticket` object with the given values.
@@ -60295,41 +49741,15 @@ Returns a list of `TrackingCategory` objects.
```python -import datetime - from merge import Merge -from merge.resources.accounting.resources.tracking_categories import ( - TrackingCategoriesListRequestCategoryType, - TrackingCategoriesListRequestStatus, -) +from merge.resources.ticketing import TicketRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.tracking_categories.list( - category_type=TrackingCategoriesListRequestCategoryType.EMPTY, - company_id="company_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - name="name", - page_size=1, - remote_id="remote_id", - status=TrackingCategoriesListRequestStatus.EMPTY, +client.ticketing.tickets.create( + model=TicketRequest(), ) ``` @@ -60346,7 +49766,7 @@ client.accounting.tracking_categories.list(
-**category_type:** `typing.Optional[TrackingCategoriesListRequestCategoryType]` — If provided, will only return tracking categories with this type. +**model:** `TicketRequest`
@@ -60354,7 +49774,7 @@ client.accounting.tracking_categories.list(
-**company_id:** `typing.Optional[str]` — If provided, will only return tracking categories for this company. +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response.
@@ -60362,7 +49782,7 @@ client.accounting.tracking_categories.list(
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously.
@@ -60370,63 +49790,70 @@ client.accounting.tracking_categories.list(
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+
+
-
-
-**cursor:** `typing.Optional[str]` — The pagination cursor value. -
+
+
client.ticketing.tickets.retrieve(...)
-**expand:** `typing.Optional[typing.Literal["company"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
+#### 📝 Description
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - -
-
-
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - +Returns a `Ticket` object with the given `id`. +
+
+#### 🔌 Usage +
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
-
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. - +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.ticketing.tickets.retrieve( + id="id", +) + +```
+ + + +#### ⚙️ Parameters
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +
+
+ +**id:** `str`
@@ -60434,7 +49861,12 @@ client.accounting.tracking_categories.list(
-**name:** `typing.Optional[str]` — If provided, will only return tracking categories with this name. +**expand:** `typing.Optional[ + typing.Union[ + TicketsRetrieveRequestExpandItem, + typing.Sequence[TicketsRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -60442,7 +49874,7 @@ client.accounting.tracking_categories.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -60450,7 +49882,7 @@ client.accounting.tracking_categories.list(
-**remote_fields:** `typing.Optional[typing.Literal["status"]]` — Deprecated. Use show_enum_origins. +**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
@@ -60458,7 +49890,7 @@ client.accounting.tracking_categories.list(
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -60466,7 +49898,7 @@ client.accounting.tracking_categories.list(
-**show_enum_origins:** `typing.Optional[typing.Literal["status"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) +**remote_fields:** `typing.Optional[TicketsRetrieveRequestRemoteFields]` — Deprecated. Use show_enum_origins.
@@ -60474,7 +49906,7 @@ client.accounting.tracking_categories.list(
-**status:** `typing.Optional[TrackingCategoriesListRequestStatus]` — If provided, will only return tracking categories with this status. +**show_enum_origins:** `typing.Optional[TicketsRetrieveRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
@@ -60494,7 +49926,7 @@ client.accounting.tracking_categories.list(
-
client.accounting.tracking_categories.retrieve(...) +
client.ticketing.tickets.partial_update(...)
@@ -60506,7 +49938,7 @@ client.accounting.tracking_categories.list(
-Returns a `TrackingCategory` object with the given `id`. +Updates a `Ticket` object with the given `id`.
@@ -60522,15 +49954,15 @@ Returns a `TrackingCategory` object with the given `id`. ```python from merge import Merge +from merge.resources.ticketing import PatchedTicketRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.tracking_categories.retrieve( +client.ticketing.tickets.partial_update( id="id", - include_remote_data=True, - include_shell_data=True, + model=PatchedTicketRequest(), ) ``` @@ -60555,23 +49987,7 @@ client.accounting.tracking_categories.retrieve(
-**expand:** `typing.Optional[typing.Literal["company"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**model:** `PatchedTicketRequest`
@@ -60579,7 +49995,7 @@ client.accounting.tracking_categories.retrieve(
-**remote_fields:** `typing.Optional[typing.Literal["status"]]` — Deprecated. Use show_enum_origins. +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response.
@@ -60587,7 +50003,7 @@ client.accounting.tracking_categories.retrieve(
-**show_enum_origins:** `typing.Optional[typing.Literal["status"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously.
@@ -60607,8 +50023,7 @@ client.accounting.tracking_categories.retrieve(
-## Accounting Transactions -
client.accounting.transactions.list(...) +
client.ticketing.tickets.viewers_list(...)
@@ -60620,7 +50035,7 @@ client.accounting.tracking_categories.retrieve(
-Returns a list of `Transaction` objects. +Returns a list of `Viewer` objects that point to a User id or Team id that is either an assignee or viewer on a `Ticket` with the given id. [Learn more.](https://help.merge.dev/en/articles/10333658-ticketing-access-control-list-acls)
@@ -60635,45 +50050,21 @@ Returns a list of `Transaction` objects.
```python -import datetime - from merge import Merge -from merge.resources.accounting.resources.transactions import ( - TransactionsListRequestExpand, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.transactions.list( - company_id="company_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), +response = client.ticketing.tickets.viewers_list( + ticket_id="ticket_id", cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=TransactionsListRequestExpand.ACCOUNT, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", - transaction_date_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - transaction_date_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -60689,23 +50080,7 @@ client.accounting.transactions.list(
-**company_id:** `typing.Optional[str]` — If provided, will only return accounting transactions for this company. - -
-
- -
-
- -**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. - -
-
- -
-
- -**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**ticket_id:** `str`
@@ -60721,7 +50096,12 @@ client.accounting.transactions.list(
-**expand:** `typing.Optional[TransactionsListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**expand:** `typing.Optional[ + typing.Union[ + TicketsViewersListRequestExpandItem, + typing.Sequence[TicketsViewersListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -60753,7 +50133,7 @@ client.accounting.transactions.list(
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -60761,39 +50141,70 @@ client.accounting.transactions.list(
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**page_size:** `typing.Optional[int]` — Number of results to return per page. -
+
+
client.ticketing.tickets.meta_patch_retrieve(...)
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. - +#### 📝 Description + +
+
+ +
+
+ +Returns metadata for `Ticket` PATCHs. +
+
+#### 🔌 Usage +
-**transaction_date_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. - +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.ticketing.tickets.meta_patch_retrieve( + id="id", +) + +``` +
+
+#### ⚙️ Parameters +
-**transaction_date_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +
+
+ +**id:** `str`
@@ -60813,7 +50224,7 @@ client.accounting.transactions.list(
-
client.accounting.transactions.retrieve(...) +
client.ticketing.tickets.meta_post_retrieve(...)
@@ -60825,7 +50236,7 @@ client.accounting.transactions.list(
-Returns a `Transaction` object with the given `id`. +Returns metadata for `Ticket` POSTs.
@@ -60841,20 +50252,12 @@ Returns a `Transaction` object with the given `id`. ```python from merge import Merge -from merge.resources.accounting.resources.transactions import ( - TransactionsRetrieveRequestExpand, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.transactions.retrieve( - id="id", - expand=TransactionsRetrieveRequestExpand.ACCOUNT, - include_remote_data=True, - include_shell_data=True, -) +client.ticketing.tickets.meta_post_retrieve() ``` @@ -60870,23 +50273,7 @@ client.accounting.transactions.retrieve(
-**id:** `str` - -
-
- -
-
- -**expand:** `typing.Optional[TransactionsRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**collection_id:** `typing.Optional[str]` — If provided, will only return tickets for this collection.
@@ -60894,7 +50281,7 @@ client.accounting.transactions.retrieve(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**ticket_type:** `typing.Optional[str]` — If provided, will only return tickets for this ticket type.
@@ -60914,8 +50301,7 @@ client.accounting.transactions.retrieve(
-## Accounting VendorCredits -
client.accounting.vendor_credits.list(...) +
client.ticketing.tickets.remote_field_classes_list(...)
@@ -60927,7 +50313,7 @@ client.accounting.transactions.retrieve(
-Returns a list of `VendorCredit` objects. +Returns a list of `RemoteFieldClass` objects.
@@ -60942,45 +50328,20 @@ Returns a list of `VendorCredit` objects.
```python -import datetime - from merge import Merge -from merge.resources.accounting.resources.vendor_credits import ( - VendorCreditsListRequestExpand, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.vendor_credits.list( - company_id="company_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), +response = client.ticketing.tickets.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=VendorCreditsListRequestExpand.ACCOUNTING_PERIOD, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", - transaction_date_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - transaction_date_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -60996,30 +50357,6 @@ client.accounting.vendor_credits.list(
-**company_id:** `typing.Optional[str]` — If provided, will only return vendor credits for this company. - -
-
- -
-
- -**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. - -
-
- -
-
- -**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. - -
-
- -
-
- **cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -61028,7 +50365,7 @@ client.accounting.vendor_credits.list(
-**expand:** `typing.Optional[VendorCreditsListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**ids:** `typing.Optional[str]` — If provided, will only return remote field classes with the `ids` in this list
@@ -61060,7 +50397,7 @@ client.accounting.vendor_credits.list(
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value
@@ -61068,7 +50405,7 @@ client.accounting.vendor_credits.list(
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value
@@ -61084,30 +50421,6 @@ client.accounting.vendor_credits.list(
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. - -
-
- -
-
- -**transaction_date_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. - -
-
- -
-
- -**transaction_date_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -61120,7 +50433,8 @@ client.accounting.vendor_credits.list(
-
client.accounting.vendor_credits.create(...) +## Ticketing Users +
client.ticketing.users.list(...)
@@ -61132,7 +50446,7 @@ client.accounting.vendor_credits.list(
-Creates a `VendorCredit` object with the given values. +Returns a list of `User` objects.
@@ -61148,17 +50462,19 @@ Creates a `VendorCredit` object with the given values. ```python from merge import Merge -from merge.resources.accounting import VendorCreditRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.vendor_credits.create( - is_debug_mode=True, - run_async=True, - model=VendorCreditRequest(), +response = client.ticketing.users.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -61174,7 +50490,7 @@ client.accounting.vendor_credits.create(
-**model:** `VendorCreditRequest` +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -61182,7 +50498,7 @@ client.accounting.vendor_credits.create(
-**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -61190,7 +50506,7 @@ client.accounting.vendor_credits.create(
-**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -61198,76 +50514,59 @@ client.accounting.vendor_credits.create(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**email_address:** `typing.Optional[str]` — If provided, will only return users with emails equal to this value (case insensitive).
- -
+
+
+**expand:** `typing.Optional[ + typing.Union[ + UsersListRequestExpandItem, typing.Sequence[UsersListRequestExpandItem] + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +
-
-
client.accounting.vendor_credits.retrieve(...)
-#### 📝 Description - -
-
+**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + +
+
-Returns a `VendorCredit` object with the given `id`. -
-
+**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +
-#### 🔌 Usage -
-
-
- -```python -from merge import Merge -from merge.resources.accounting.resources.vendor_credits import ( - VendorCreditsRetrieveRequestExpand, -) - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.vendor_credits.retrieve( - id="id", - expand=VendorCreditsRetrieveRequestExpand.ACCOUNTING_PERIOD, - include_remote_data=True, - include_shell_data=True, -) - -``` -
-
+**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +
-#### ⚙️ Parameters -
+**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. + +
+
+
-**id:** `str` +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned.
@@ -61275,7 +50574,7 @@ client.accounting.vendor_credits.retrieve(
-**expand:** `typing.Optional[VendorCreditsRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -61283,7 +50582,7 @@ client.accounting.vendor_credits.retrieve(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -61291,7 +50590,7 @@ client.accounting.vendor_credits.retrieve(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**team:** `typing.Optional[str]` — If provided, will only return users matching in this team.
@@ -61311,7 +50610,7 @@ client.accounting.vendor_credits.retrieve(
-
client.accounting.vendor_credits.meta_post_retrieve() +
client.ticketing.users.retrieve(...)
@@ -61323,7 +50622,7 @@ client.accounting.vendor_credits.retrieve(
-Returns metadata for `VendorCredit` POSTs. +Returns a `User` object with the given `id`.
@@ -61344,7 +50643,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.vendor_credits.meta_post_retrieve() +client.ticketing.users.retrieve( + id="id", +) ``` @@ -61360,6 +50661,43 @@ client.accounting.vendor_credits.meta_post_retrieve()
+**id:** `str` + +
+
+ +
+
+ +**expand:** `typing.Optional[ + typing.Union[ + UsersRetrieveRequestExpandItem, + typing.Sequence[UsersRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + +
+
+ +
+
+ +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
+ +
+
+ +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -61372,8 +50710,8 @@ client.accounting.vendor_credits.meta_post_retrieve()
-## Accounting WebhookReceivers -
client.accounting.webhook_receivers.list() +## Ticketing WebhookReceivers +
client.ticketing.webhook_receivers.list()
@@ -61406,7 +50744,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.webhook_receivers.list() +client.ticketing.webhook_receivers.list() ```
@@ -61434,7 +50772,7 @@ client.accounting.webhook_receivers.list()
-
client.accounting.webhook_receivers.create(...) +
client.ticketing.webhook_receivers.create(...)
@@ -61467,7 +50805,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.webhook_receivers.create( +client.ticketing.webhook_receivers.create( event="event", is_active=True, ) diff --git a/src/merge/__init__.py b/src/merge/__init__.py index 91011bdf..933fd8ec 100644 --- a/src/merge/__init__.py +++ b/src/merge/__init__.py @@ -6,7 +6,7 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .resources import accounting, ats, chat, crm, filestorage, hris, knowledgebase, ticketing + from .resources import accounting, ats, crm, file_storage, hris, ticketing from .client import AsyncMerge, Merge from .environment import MergeEnvironment from .version import __version__ @@ -17,11 +17,9 @@ "__version__": ".version", "accounting": ".resources", "ats": ".resources", - "chat": ".resources", "crm": ".resources", - "filestorage": ".resources", + "file_storage": ".resources", "hris": ".resources", - "knowledgebase": ".resources", "ticketing": ".resources", } @@ -32,8 +30,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -52,10 +52,8 @@ def __dir__(): "__version__", "accounting", "ats", - "chat", "crm", - "filestorage", + "file_storage", "hris", - "knowledgebase", "ticketing", ] diff --git a/src/merge/client.py b/src/merge/client.py index 4350fe25..fe650d7f 100644 --- a/src/merge/client.py +++ b/src/merge/client.py @@ -11,11 +11,9 @@ if typing.TYPE_CHECKING: from .resources.accounting.client import AccountingClient, AsyncAccountingClient from .resources.ats.client import AsyncAtsClient, AtsClient - from .resources.chat.client import AsyncChatClient, ChatClient from .resources.crm.client import AsyncCrmClient, CrmClient - from .resources.filestorage.client import AsyncFilestorageClient, FilestorageClient + from .resources.file_storage.client import AsyncFileStorageClient, FileStorageClient from .resources.hris.client import AsyncHrisClient, HrisClient - from .resources.knowledgebase.client import AsyncKnowledgebaseClient, KnowledgebaseClient from .resources.ticketing.client import AsyncTicketingClient, TicketingClient @@ -89,13 +87,11 @@ def __init__( timeout=_defaulted_timeout, ) self._ats: typing.Optional[AtsClient] = None - self._chat: typing.Optional[ChatClient] = None + self._accounting: typing.Optional[AccountingClient] = None self._crm: typing.Optional[CrmClient] = None - self._filestorage: typing.Optional[FilestorageClient] = None + self._file_storage: typing.Optional[FileStorageClient] = None self._hris: typing.Optional[HrisClient] = None - self._knowledgebase: typing.Optional[KnowledgebaseClient] = None self._ticketing: typing.Optional[TicketingClient] = None - self._accounting: typing.Optional[AccountingClient] = None @property def ats(self): @@ -106,12 +102,12 @@ def ats(self): return self._ats @property - def chat(self): - if self._chat is None: - from .resources.chat.client import ChatClient # noqa: E402 + def accounting(self): + if self._accounting is None: + from .resources.accounting.client import AccountingClient # noqa: E402 - self._chat = ChatClient(client_wrapper=self._client_wrapper) - return self._chat + self._accounting = AccountingClient(client_wrapper=self._client_wrapper) + return self._accounting @property def crm(self): @@ -122,12 +118,12 @@ def crm(self): return self._crm @property - def filestorage(self): - if self._filestorage is None: - from .resources.filestorage.client import FilestorageClient # noqa: E402 + def file_storage(self): + if self._file_storage is None: + from .resources.file_storage.client import FileStorageClient # noqa: E402 - self._filestorage = FilestorageClient(client_wrapper=self._client_wrapper) - return self._filestorage + self._file_storage = FileStorageClient(client_wrapper=self._client_wrapper) + return self._file_storage @property def hris(self): @@ -137,14 +133,6 @@ def hris(self): self._hris = HrisClient(client_wrapper=self._client_wrapper) return self._hris - @property - def knowledgebase(self): - if self._knowledgebase is None: - from .resources.knowledgebase.client import KnowledgebaseClient # noqa: E402 - - self._knowledgebase = KnowledgebaseClient(client_wrapper=self._client_wrapper) - return self._knowledgebase - @property def ticketing(self): if self._ticketing is None: @@ -153,14 +141,6 @@ def ticketing(self): self._ticketing = TicketingClient(client_wrapper=self._client_wrapper) return self._ticketing - @property - def accounting(self): - if self._accounting is None: - from .resources.accounting.client import AccountingClient # noqa: E402 - - self._accounting = AccountingClient(client_wrapper=self._client_wrapper) - return self._accounting - class AsyncMerge: """ @@ -232,13 +212,11 @@ def __init__( timeout=_defaulted_timeout, ) self._ats: typing.Optional[AsyncAtsClient] = None - self._chat: typing.Optional[AsyncChatClient] = None + self._accounting: typing.Optional[AsyncAccountingClient] = None self._crm: typing.Optional[AsyncCrmClient] = None - self._filestorage: typing.Optional[AsyncFilestorageClient] = None + self._file_storage: typing.Optional[AsyncFileStorageClient] = None self._hris: typing.Optional[AsyncHrisClient] = None - self._knowledgebase: typing.Optional[AsyncKnowledgebaseClient] = None self._ticketing: typing.Optional[AsyncTicketingClient] = None - self._accounting: typing.Optional[AsyncAccountingClient] = None @property def ats(self): @@ -249,12 +227,12 @@ def ats(self): return self._ats @property - def chat(self): - if self._chat is None: - from .resources.chat.client import AsyncChatClient # noqa: E402 + def accounting(self): + if self._accounting is None: + from .resources.accounting.client import AsyncAccountingClient # noqa: E402 - self._chat = AsyncChatClient(client_wrapper=self._client_wrapper) - return self._chat + self._accounting = AsyncAccountingClient(client_wrapper=self._client_wrapper) + return self._accounting @property def crm(self): @@ -265,12 +243,12 @@ def crm(self): return self._crm @property - def filestorage(self): - if self._filestorage is None: - from .resources.filestorage.client import AsyncFilestorageClient # noqa: E402 + def file_storage(self): + if self._file_storage is None: + from .resources.file_storage.client import AsyncFileStorageClient # noqa: E402 - self._filestorage = AsyncFilestorageClient(client_wrapper=self._client_wrapper) - return self._filestorage + self._file_storage = AsyncFileStorageClient(client_wrapper=self._client_wrapper) + return self._file_storage @property def hris(self): @@ -280,14 +258,6 @@ def hris(self): self._hris = AsyncHrisClient(client_wrapper=self._client_wrapper) return self._hris - @property - def knowledgebase(self): - if self._knowledgebase is None: - from .resources.knowledgebase.client import AsyncKnowledgebaseClient # noqa: E402 - - self._knowledgebase = AsyncKnowledgebaseClient(client_wrapper=self._client_wrapper) - return self._knowledgebase - @property def ticketing(self): if self._ticketing is None: @@ -296,14 +266,6 @@ def ticketing(self): self._ticketing = AsyncTicketingClient(client_wrapper=self._client_wrapper) return self._ticketing - @property - def accounting(self): - if self._accounting is None: - from .resources.accounting.client import AsyncAccountingClient # noqa: E402 - - self._accounting = AsyncAccountingClient(client_wrapper=self._client_wrapper) - return self._accounting - def _get_base_url(*, base_url: typing.Optional[str] = None, environment: MergeEnvironment) -> str: if base_url is not None: diff --git a/src/merge/core/__init__.py b/src/merge/core/__init__.py index 18228526..e4c2e91c 100644 --- a/src/merge/core/__init__.py +++ b/src/merge/core/__init__.py @@ -8,11 +8,13 @@ if typing.TYPE_CHECKING: from .api_error import ApiError from .client_wrapper import AsyncClientWrapper, BaseClientWrapper, SyncClientWrapper + from .custom_pagination import AsyncCustomPager, SyncCustomPager from .datetime_utils import serialize_datetime from .file import File, convert_file_dict_to_httpx_tuples, with_content_type from .http_client import AsyncHttpClient, HttpClient from .http_response import AsyncHttpResponse, HttpResponse from .jsonable_encoder import jsonable_encoder + from .pagination import AsyncPager, SyncPager from .pydantic_utilities import ( IS_PYDANTIC_V2, UniversalBaseModel, @@ -30,8 +32,10 @@ _dynamic_imports: typing.Dict[str, str] = { "ApiError": ".api_error", "AsyncClientWrapper": ".client_wrapper", + "AsyncCustomPager": ".custom_pagination", "AsyncHttpClient": ".http_client", "AsyncHttpResponse": ".http_response", + "AsyncPager": ".pagination", "BaseClientWrapper": ".client_wrapper", "FieldMetadata": ".serialization", "File": ".file", @@ -40,6 +44,8 @@ "IS_PYDANTIC_V2": ".pydantic_utilities", "RequestOptions": ".request_options", "SyncClientWrapper": ".client_wrapper", + "SyncCustomPager": ".custom_pagination", + "SyncPager": ".pagination", "UncheckedBaseModel": ".unchecked_base_model", "UnionMetadata": ".unchecked_base_model", "UniversalBaseModel": ".pydantic_utilities", @@ -65,8 +71,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -81,8 +89,10 @@ def __dir__(): __all__ = [ "ApiError", "AsyncClientWrapper", + "AsyncCustomPager", "AsyncHttpClient", "AsyncHttpResponse", + "AsyncPager", "BaseClientWrapper", "FieldMetadata", "File", @@ -91,6 +101,8 @@ def __dir__(): "IS_PYDANTIC_V2", "RequestOptions", "SyncClientWrapper", + "SyncCustomPager", + "SyncPager", "UncheckedBaseModel", "UnionMetadata", "UniversalBaseModel", diff --git a/src/merge/core/client_wrapper.py b/src/merge/core/client_wrapper.py index 45e75a53..af760778 100644 --- a/src/merge/core/client_wrapper.py +++ b/src/merge/core/client_wrapper.py @@ -24,10 +24,10 @@ def __init__( def get_headers(self) -> typing.Dict[str, str]: headers: typing.Dict[str, str] = { - "User-Agent": "MergePythonClient/2.6.1", + "User-Agent": "MergePythonClient/2.6.2", "X-Fern-Language": "Python", "X-Fern-SDK-Name": "MergePythonClient", - "X-Fern-SDK-Version": "2.6.1", + "X-Fern-SDK-Version": "2.6.2", **(self.get_custom_headers() or {}), } if self._account_token is not None: diff --git a/src/merge/core/custom_pagination.py b/src/merge/core/custom_pagination.py new file mode 100644 index 00000000..5de2c7a8 --- /dev/null +++ b/src/merge/core/custom_pagination.py @@ -0,0 +1,152 @@ +# This file was auto-generated by Fern from our API Definition. + +""" +Custom Pagination Support + +This file is designed to be modified by SDK users to implement their own +pagination logic. The generator will import SyncCustomPager and AsyncCustomPager +from this module when custom pagination is used. + +Users should: +1. Implement their custom pager (e.g., PayrocPager, MyCustomPager, etc.) +2. Create adapter classes (SyncCustomPager/AsyncCustomPager) that bridge + between the generated SDK code and their custom pager implementation +""" + +from __future__ import annotations + +from typing import Any, AsyncIterator, Generic, Iterator, TypeVar + +# Import the base utilities you'll need +# Adjust these imports based on your actual structure +try: + from .client_wrapper import AsyncClientWrapper, SyncClientWrapper +except ImportError: + # Fallback for type hints + AsyncClientWrapper = Any # type: ignore + SyncClientWrapper = Any # type: ignore + +TItem = TypeVar("TItem") +TResponse = TypeVar("TResponse") + + +class SyncCustomPager(Generic[TItem, TResponse]): + """ + Adapter for custom synchronous pagination. + + The generator will call this with: + SyncCustomPager(initial_response=response, client_wrapper=client_wrapper) + + Implement this class to extract pagination metadata from your response + and delegate to your custom pager implementation. + + Example implementation: + + class SyncCustomPager(Generic[TItem, TResponse]): + def __init__( + self, + *, + initial_response: TResponse, + client_wrapper: SyncClientWrapper, + ): + # Extract data and pagination metadata from response + data = initial_response.data # Adjust based on your response structure + links = initial_response.links + + # Initialize your custom pager + self._pager = MyCustomPager( + current_page=Page(data), + httpx_client=client_wrapper.httpx_client, + get_headers=client_wrapper.get_headers, + # ... other parameters + ) + + def __iter__(self): + return iter(self._pager) + + # Delegate other methods to your pager... + """ + + def __init__( + self, + *, + initial_response: TResponse, + client_wrapper: SyncClientWrapper, + ): + """ + Initialize the custom pager. + + Args: + initial_response: The parsed API response from the first request + client_wrapper: The client wrapper providing HTTP client and utilities + """ + raise NotImplementedError( + "SyncCustomPager must be implemented. " + "Please implement this class in core/custom_pagination.py to define your pagination logic. " + "See the class docstring for examples." + ) + + def __iter__(self) -> Iterator[TItem]: + """Iterate through all items across all pages.""" + raise NotImplementedError("Must implement __iter__ method") + + +class AsyncCustomPager(Generic[TItem, TResponse]): + """ + Adapter for custom asynchronous pagination. + + The generator will call this with: + AsyncCustomPager(initial_response=response, client_wrapper=client_wrapper) + + Implement this class to extract pagination metadata from your response + and delegate to your custom async pager implementation. + + Example implementation: + + class AsyncCustomPager(Generic[TItem, TResponse]): + def __init__( + self, + *, + initial_response: TResponse, + client_wrapper: AsyncClientWrapper, + ): + # Extract data and pagination metadata from response + data = initial_response.data # Adjust based on your response structure + links = initial_response.links + + # Initialize your custom async pager + self._pager = MyAsyncCustomPager( + current_page=Page(data), + httpx_client=client_wrapper.httpx_client, + get_headers=client_wrapper.get_headers, + # ... other parameters + ) + + async def __aiter__(self): + return self._pager.__aiter__() + + # Delegate other methods to your pager... + """ + + def __init__( + self, + *, + initial_response: TResponse, + client_wrapper: AsyncClientWrapper, + ): + """ + Initialize the custom async pager. + + Args: + initial_response: The parsed API response from the first request + client_wrapper: The client wrapper providing HTTP client and utilities + """ + raise NotImplementedError( + "AsyncCustomPager must be implemented. " + "Please implement this class in core/custom_pagination.py to define your pagination logic. " + "See the class docstring for examples." + ) + + async def __aiter__(self) -> AsyncIterator[TItem]: + """Asynchronously iterate through all items across all pages.""" + raise NotImplementedError("Must implement __aiter__ method") diff --git a/src/merge/core/http_sse/__init__.py b/src/merge/core/http_sse/__init__.py new file mode 100644 index 00000000..730e5a33 --- /dev/null +++ b/src/merge/core/http_sse/__init__.py @@ -0,0 +1,42 @@ +# This file was auto-generated by Fern from our API Definition. + +# isort: skip_file + +import typing +from importlib import import_module + +if typing.TYPE_CHECKING: + from ._api import EventSource, aconnect_sse, connect_sse + from ._exceptions import SSEError + from ._models import ServerSentEvent +_dynamic_imports: typing.Dict[str, str] = { + "EventSource": "._api", + "SSEError": "._exceptions", + "ServerSentEvent": "._models", + "aconnect_sse": "._api", + "connect_sse": "._api", +} + + +def __getattr__(attr_name: str) -> typing.Any: + module_name = _dynamic_imports.get(attr_name) + if module_name is None: + raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") + try: + module = import_module(module_name, __package__) + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) + except ImportError as e: + raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e + except AttributeError as e: + raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e + + +def __dir__(): + lazy_attrs = list(_dynamic_imports.keys()) + return sorted(lazy_attrs) + + +__all__ = ["EventSource", "SSEError", "ServerSentEvent", "aconnect_sse", "connect_sse"] diff --git a/src/merge/core/http_sse/_api.py b/src/merge/core/http_sse/_api.py new file mode 100644 index 00000000..f900b3b6 --- /dev/null +++ b/src/merge/core/http_sse/_api.py @@ -0,0 +1,112 @@ +# This file was auto-generated by Fern from our API Definition. + +import re +from contextlib import asynccontextmanager, contextmanager +from typing import Any, AsyncGenerator, AsyncIterator, Iterator, cast + +import httpx +from ._decoders import SSEDecoder +from ._exceptions import SSEError +from ._models import ServerSentEvent + + +class EventSource: + def __init__(self, response: httpx.Response) -> None: + self._response = response + + def _check_content_type(self) -> None: + content_type = self._response.headers.get("content-type", "").partition(";")[0] + if "text/event-stream" not in content_type: + raise SSEError( + f"Expected response header Content-Type to contain 'text/event-stream', got {content_type!r}" + ) + + def _get_charset(self) -> str: + """Extract charset from Content-Type header, fallback to UTF-8.""" + content_type = self._response.headers.get("content-type", "") + + # Parse charset parameter using regex + charset_match = re.search(r"charset=([^;\s]+)", content_type, re.IGNORECASE) + if charset_match: + charset = charset_match.group(1).strip("\"'") + # Validate that it's a known encoding + try: + # Test if the charset is valid by trying to encode/decode + "test".encode(charset).decode(charset) + return charset + except (LookupError, UnicodeError): + # If charset is invalid, fall back to UTF-8 + pass + + # Default to UTF-8 if no charset specified or invalid charset + return "utf-8" + + @property + def response(self) -> httpx.Response: + return self._response + + def iter_sse(self) -> Iterator[ServerSentEvent]: + self._check_content_type() + decoder = SSEDecoder() + charset = self._get_charset() + + buffer = "" + for chunk in self._response.iter_bytes(): + # Decode chunk using detected charset + text_chunk = chunk.decode(charset, errors="replace") + buffer += text_chunk + + # Process complete lines + while "\n" in buffer: + line, buffer = buffer.split("\n", 1) + line = line.rstrip("\r") + sse = decoder.decode(line) + # when we reach a "\n\n" => line = '' + # => decoder will attempt to return an SSE Event + if sse is not None: + yield sse + + # Process any remaining data in buffer + if buffer.strip(): + line = buffer.rstrip("\r") + sse = decoder.decode(line) + if sse is not None: + yield sse + + async def aiter_sse(self) -> AsyncGenerator[ServerSentEvent, None]: + self._check_content_type() + decoder = SSEDecoder() + lines = cast(AsyncGenerator[str, None], self._response.aiter_lines()) + try: + async for line in lines: + line = line.rstrip("\n") + sse = decoder.decode(line) + if sse is not None: + yield sse + finally: + await lines.aclose() + + +@contextmanager +def connect_sse(client: httpx.Client, method: str, url: str, **kwargs: Any) -> Iterator[EventSource]: + headers = kwargs.pop("headers", {}) + headers["Accept"] = "text/event-stream" + headers["Cache-Control"] = "no-store" + + with client.stream(method, url, headers=headers, **kwargs) as response: + yield EventSource(response) + + +@asynccontextmanager +async def aconnect_sse( + client: httpx.AsyncClient, + method: str, + url: str, + **kwargs: Any, +) -> AsyncIterator[EventSource]: + headers = kwargs.pop("headers", {}) + headers["Accept"] = "text/event-stream" + headers["Cache-Control"] = "no-store" + + async with client.stream(method, url, headers=headers, **kwargs) as response: + yield EventSource(response) diff --git a/src/merge/core/http_sse/_decoders.py b/src/merge/core/http_sse/_decoders.py new file mode 100644 index 00000000..339b0890 --- /dev/null +++ b/src/merge/core/http_sse/_decoders.py @@ -0,0 +1,61 @@ +# This file was auto-generated by Fern from our API Definition. + +from typing import List, Optional + +from ._models import ServerSentEvent + + +class SSEDecoder: + def __init__(self) -> None: + self._event = "" + self._data: List[str] = [] + self._last_event_id = "" + self._retry: Optional[int] = None + + def decode(self, line: str) -> Optional[ServerSentEvent]: + # See: https://html.spec.whatwg.org/multipage/server-sent-events.html#event-stream-interpretation # noqa: E501 + + if not line: + if not self._event and not self._data and not self._last_event_id and self._retry is None: + return None + + sse = ServerSentEvent( + event=self._event, + data="\n".join(self._data), + id=self._last_event_id, + retry=self._retry, + ) + + # NOTE: as per the SSE spec, do not reset last_event_id. + self._event = "" + self._data = [] + self._retry = None + + return sse + + if line.startswith(":"): + return None + + fieldname, _, value = line.partition(":") + + if value.startswith(" "): + value = value[1:] + + if fieldname == "event": + self._event = value + elif fieldname == "data": + self._data.append(value) + elif fieldname == "id": + if "\0" in value: + pass + else: + self._last_event_id = value + elif fieldname == "retry": + try: + self._retry = int(value) + except (TypeError, ValueError): + pass + else: + pass # Field is ignored. + + return None diff --git a/src/merge/core/http_sse/_exceptions.py b/src/merge/core/http_sse/_exceptions.py new file mode 100644 index 00000000..81605a8a --- /dev/null +++ b/src/merge/core/http_sse/_exceptions.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import httpx + + +class SSEError(httpx.TransportError): + pass diff --git a/src/merge/core/http_sse/_models.py b/src/merge/core/http_sse/_models.py new file mode 100644 index 00000000..1af57f8f --- /dev/null +++ b/src/merge/core/http_sse/_models.py @@ -0,0 +1,17 @@ +# This file was auto-generated by Fern from our API Definition. + +import json +from dataclasses import dataclass +from typing import Any, Optional + + +@dataclass(frozen=True) +class ServerSentEvent: + event: str = "message" + data: str = "" + id: str = "" + retry: Optional[int] = None + + def json(self) -> Any: + """Parse the data field as JSON.""" + return json.loads(self.data) diff --git a/src/merge/core/pagination.py b/src/merge/core/pagination.py new file mode 100644 index 00000000..760b0899 --- /dev/null +++ b/src/merge/core/pagination.py @@ -0,0 +1,82 @@ +# This file was auto-generated by Fern from our API Definition. + +from __future__ import annotations + +from dataclasses import dataclass +from typing import AsyncIterator, Awaitable, Callable, Generic, Iterator, List, Optional, TypeVar + +# Generic to represent the underlying type of the results within a page +T = TypeVar("T") +# Generic to represent the type of the API response +R = TypeVar("R") + + +# SDKs implement a Page ABC per-pagination request, the endpoint then returns a pager that wraps this type +# for example, an endpoint will return SyncPager[UserPage] where UserPage implements the Page ABC. ex: +# +# SyncPager( +# has_next=response.list_metadata.after is not None, +# items=response.data, +# # This should be the outer function that returns the SyncPager again +# get_next=lambda: list(..., cursor: response.cursor) (or list(..., offset: offset + 1)) +# ) + + +@dataclass(frozen=True) +class SyncPager(Generic[T, R]): + get_next: Optional[Callable[[], Optional[SyncPager[T, R]]]] + has_next: bool + items: Optional[List[T]] + response: R + + # Here we type ignore the iterator to avoid a mypy error + # caused by the type conflict with Pydanitc's __iter__ method + # brought in by extending the base model + def __iter__(self) -> Iterator[T]: # type: ignore[override] + for page in self.iter_pages(): + if page.items is not None: + yield from page.items + + def iter_pages(self) -> Iterator[SyncPager[T, R]]: + page: Optional[SyncPager[T, R]] = self + while page is not None: + yield page + + if not page.has_next or page.get_next is None: + return + + page = page.get_next() + if page is None or page.items is None or len(page.items) == 0: + return + + def next_page(self) -> Optional[SyncPager[T, R]]: + return self.get_next() if self.get_next is not None else None + + +@dataclass(frozen=True) +class AsyncPager(Generic[T, R]): + get_next: Optional[Callable[[], Awaitable[Optional[AsyncPager[T, R]]]]] + has_next: bool + items: Optional[List[T]] + response: R + + async def __aiter__(self) -> AsyncIterator[T]: + async for page in self.iter_pages(): + if page.items is not None: + for item in page.items: + yield item + + async def iter_pages(self) -> AsyncIterator[AsyncPager[T, R]]: + page: Optional[AsyncPager[T, R]] = self + while page is not None: + yield page + + if not page.has_next or page.get_next is None: + return + + page = await page.get_next() + if page is None or page.items is None or len(page.items) == 0: + return + + async def next_page(self) -> Optional[AsyncPager[T, R]]: + return await self.get_next() if self.get_next is not None else None diff --git a/src/merge/core/pydantic_utilities.py b/src/merge/core/pydantic_utilities.py index 6bea25f3..1da6f10a 100644 --- a/src/merge/core/pydantic_utilities.py +++ b/src/merge/core/pydantic_utilities.py @@ -185,10 +185,14 @@ def update_forward_refs(model: Type["Model"], **localns: Any) -> None: AnyCallable = Callable[..., Any] -def universal_root_validator(pre: bool = False) -> Callable[[AnyCallable], AnyCallable]: +def universal_root_validator( + pre: bool = False, +) -> Callable[[AnyCallable], AnyCallable]: def decorator(func: AnyCallable) -> AnyCallable: if IS_PYDANTIC_V2: - return cast(AnyCallable, pydantic.model_validator(mode="before" if pre else "after")(func)) # type: ignore[attr-defined] + # In Pydantic v2, for RootModel we always use "before" mode + # The custom validators transform the input value before the model is created + return cast(AnyCallable, pydantic.model_validator(mode="before")(func)) # type: ignore[attr-defined] return cast(AnyCallable, pydantic.root_validator(pre=pre)(func)) # type: ignore[call-overload] return decorator diff --git a/src/merge/core/unchecked_base_model.py b/src/merge/core/unchecked_base_model.py index ae59845f..9ea71ca6 100644 --- a/src/merge/core/unchecked_base_model.py +++ b/src/merge/core/unchecked_base_model.py @@ -175,7 +175,42 @@ def _convert_undiscriminated_union_type(union_type: typing.Type[typing.Any], obj except Exception: continue - # If none of the types work, just return the first successful cast + # If none of the types work, try matching literal fields first, then fall back + # First pass: try types where all literal fields match the object's values + for inner_type in inner_types: + if inspect.isclass(inner_type) and issubclass(inner_type, pydantic.BaseModel): + fields = _get_model_fields(inner_type) + literal_fields_match = True + + for field_name, field in fields.items(): + # Check if this field has a Literal type + if IS_PYDANTIC_V2: + field_type = field.annotation # type: ignore # Pydantic v2 + else: + field_type = field.outer_type_ # type: ignore # Pydantic v1 + + if is_literal_type(field_type): # type: ignore[arg-type] + field_default = _get_field_default(field) + name_or_alias = get_field_to_alias_mapping(inner_type).get(field_name, field_name) + # Get the value from the object + if isinstance(object_, dict): + object_value = object_.get(name_or_alias) + else: + object_value = getattr(object_, name_or_alias, None) + + # If the literal field value doesn't match, this type is not a match + if object_value is not None and field_default != object_value: + literal_fields_match = False + break + + # If all literal fields match, try to construct this type + if literal_fields_match: + try: + return construct_type(object_=object_, type_=inner_type) + except Exception: + continue + + # Second pass: if no literal matches, just return the first successful cast for inner_type in inner_types: try: return construct_type(object_=object_, type_=inner_type) diff --git a/src/merge/environment.py b/src/merge/environment.py index 499dced1..40aae945 100644 --- a/src/merge/environment.py +++ b/src/merge/environment.py @@ -5,5 +5,5 @@ class MergeEnvironment(enum.Enum): PRODUCTION = "https://api.merge.dev/api" - SANDBOX = "https://api-sandbox.merge.dev/api" PRODUCTION_EU = "https://api-eu.merge.dev/api" + SANDBOX = "https://api-sandbox.merge.dev/api" diff --git a/src/merge/resources/__init__.py b/src/merge/resources/__init__.py index 7fdb8ad9..a3f09e24 100644 --- a/src/merge/resources/__init__.py +++ b/src/merge/resources/__init__.py @@ -6,16 +6,14 @@ from importlib import import_module if typing.TYPE_CHECKING: - from . import accounting, ats, chat, crm, filestorage, hris, knowledgebase, ticketing + from . import accounting, ats, crm, file_storage, hris, ticketing _dynamic_imports: typing.Dict[str, str] = { - "accounting": ".", - "ats": ".", - "chat": ".", - "crm": ".", - "filestorage": ".", - "hris": ".", - "knowledgebase": ".", - "ticketing": ".", + "accounting": ".accounting", + "ats": ".ats", + "crm": ".crm", + "file_storage": ".file_storage", + "hris": ".hris", + "ticketing": ".ticketing", } @@ -25,8 +23,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -38,4 +38,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["accounting", "ats", "chat", "crm", "filestorage", "hris", "knowledgebase", "ticketing"] +__all__ = ["accounting", "ats", "crm", "file_storage", "hris", "ticketing"] diff --git a/src/merge/resources/accounting/__init__.py b/src/merge/resources/accounting/__init__.py index 119d224a..53abf651 100644 --- a/src/merge/resources/accounting/__init__.py +++ b/src/merge/resources/accounting/__init__.py @@ -18,7 +18,6 @@ AccountDetailsAndActionsIntegration, AccountDetailsAndActionsStatus, AccountDetailsAndActionsStatusEnum, - AccountDetailsCategory, AccountIntegration, AccountRequest, AccountRequestAccountType, @@ -83,7 +82,6 @@ CommonModelScopeApi, CommonModelScopesBodyRequest, CompanyInfo, - CompanyInfoCurrency, ComponentTypeEnum, Contact, ContactAddressesItem, @@ -132,7 +130,6 @@ CreditNoteTrackingCategoriesItem, CreditOrDebitEnum, DataPassthroughRequest, - DataPassthroughRequestMethod, DebugModeLog, DebugModelLogSummary, Employee, @@ -152,7 +149,6 @@ ExpenseLine, ExpenseLineAccount, ExpenseLineContact, - ExpenseLineCurrency, ExpenseLineEmployee, ExpenseLineItem, ExpenseLineProject, @@ -167,35 +163,11 @@ ExpenseLineRequestTrackingCategory, ExpenseLineTrackingCategoriesItem, ExpenseLineTrackingCategory, - ExpenseReport, - ExpenseReportCompany, - ExpenseReportLine, - ExpenseReportLineAccount, - ExpenseReportLineCompany, - ExpenseReportLineContact, - ExpenseReportLineEmployee, - ExpenseReportLineProject, - ExpenseReportLineRequest, - ExpenseReportLineRequestAccount, - ExpenseReportLineRequestCompany, - ExpenseReportLineRequestContact, - ExpenseReportLineRequestEmployee, - ExpenseReportLineRequestProject, - ExpenseReportLineRequestTaxRate, - ExpenseReportLineTaxRate, - ExpenseReportRequest, - ExpenseReportRequestAccountingPeriod, - ExpenseReportRequestCompany, - ExpenseReportRequestEmployee, - ExpenseReportResponse, - ExpenseReportStatus, - ExpenseReportStatusEnum, ExpenseRequest, ExpenseRequestAccount, ExpenseRequestAccountingPeriod, ExpenseRequestCompany, ExpenseRequestContact, - ExpenseRequestCurrency, ExpenseRequestEmployee, ExpenseRequestTrackingCategoriesItem, ExpenseResponse, @@ -219,7 +191,6 @@ GeneralLedgerTransactionGeneralLedgerTransactionLinesItem, GeneralLedgerTransactionLine, GeneralLedgerTransactionLineAccount, - GeneralLedgerTransactionLineBaseCurrency, GeneralLedgerTransactionLineCompany, GeneralLedgerTransactionLineContact, GeneralLedgerTransactionLineEmployee, @@ -279,7 +250,6 @@ InvoiceStatus, InvoiceStatusEnum, InvoiceTrackingCategoriesItem, - InvoiceType, InvoiceTypeEnum, Issue, IssueStatus, @@ -342,7 +312,6 @@ ModelPermissionDeserializer, ModelPermissionDeserializerRequest, MultipartFormFieldRequest, - MultipartFormFieldRequestEncoding, PaginatedAccountDetailsAndActionsList, PaginatedAccountList, PaginatedAccountingAttachmentList, @@ -357,8 +326,6 @@ PaginatedCreditNoteList, PaginatedEmployeeList, PaginatedExpenseList, - PaginatedExpenseReportLineList, - PaginatedExpenseReportList, PaginatedGeneralLedgerTransactionList, PaginatedIncomeStatementList, PaginatedInvoiceList, @@ -376,8 +343,6 @@ PaginatedTrackingCategoryList, PaginatedTransactionList, PaginatedVendorCreditList, - PatchedContactRequest, - PatchedContactRequestAddressesItem, PatchedItemRequestRequest, PatchedItemRequestRequestStatus, PatchedItemRequestRequestType, @@ -469,6 +434,7 @@ Status895Enum, StatusFd5Enum, SyncStatus, + SyncStatusLastSyncResult, SyncStatusStatus, TaxComponent, TaxComponentComponentType, @@ -525,53 +491,90 @@ ) from .resources import ( AccountsListRequestClassification, + AccountsListRequestExpandItem, AccountsListRequestRemoteFields, AccountsListRequestShowEnumOrigins, AccountsListRequestStatus, + AccountsRetrieveRequestExpandItem, AccountsRetrieveRequestRemoteFields, AccountsRetrieveRequestShowEnumOrigins, + AddressesRetrieveRequestRemoteFields, + AddressesRetrieveRequestShowEnumOrigins, AsyncPassthroughRetrieveResponse, - CompanyInfoListRequestExpand, - CompanyInfoRetrieveRequestExpand, - ContactsListRequestExpand, + BalanceSheetsListRequestExpandItem, + BalanceSheetsRetrieveRequestExpandItem, + BankFeedTransactionsListRequestExpandItem, + BankFeedTransactionsRetrieveRequestExpandItem, + CashFlowStatementsListRequestExpandItem, + CashFlowStatementsRetrieveRequestExpandItem, + CompanyInfoListRequestExpandItem, + CompanyInfoRetrieveRequestExpandItem, + ContactsListRequestExpandItem, + ContactsListRequestRemoteFields, + ContactsListRequestShowEnumOrigins, ContactsListRequestStatus, - ContactsRetrieveRequestExpand, - CreditNotesListRequestExpand, + ContactsRetrieveRequestExpandItem, + ContactsRetrieveRequestRemoteFields, + ContactsRetrieveRequestShowEnumOrigins, + CreditNotesListRequestExpandItem, CreditNotesListRequestRemoteFields, CreditNotesListRequestShowEnumOrigins, - CreditNotesRetrieveRequestExpand, + CreditNotesRetrieveRequestExpandItem, CreditNotesRetrieveRequestRemoteFields, CreditNotesRetrieveRequestShowEnumOrigins, + EmployeesListRequestExpandItem, + EmployeesRetrieveRequestExpandItem, EndUserDetailsRequestLanguage, - ExpenseReportsLinesListRequestExpand, - ExpenseReportsListRequestExpand, - ExpenseReportsRetrieveRequestExpand, - ExpensesListRequestExpand, - ExpensesRetrieveRequestExpand, - GeneralLedgerTransactionsListRequestExpand, - GeneralLedgerTransactionsRetrieveRequestExpand, - InvoicesListRequestExpand, + ExpensesListRequestExpandItem, + ExpensesRetrieveRequestExpandItem, + GeneralLedgerTransactionsListRequestExpandItem, + GeneralLedgerTransactionsRetrieveRequestExpandItem, + IncomeStatementsListRequestExpandItem, + IncomeStatementsRetrieveRequestExpandItem, + InvoicesListRequestExpandItem, + InvoicesListRequestRemoteFields, + InvoicesListRequestShowEnumOrigins, InvoicesListRequestStatus, InvoicesListRequestType, - InvoicesRetrieveRequestExpand, + InvoicesRetrieveRequestExpandItem, + InvoicesRetrieveRequestRemoteFields, + InvoicesRetrieveRequestShowEnumOrigins, IssuesListRequestStatus, - ItemsListRequestExpand, - ItemsRetrieveRequestExpand, - JournalEntriesListRequestExpand, - JournalEntriesRetrieveRequestExpand, + ItemsListRequestExpandItem, + ItemsListRequestRemoteFields, + ItemsListRequestShowEnumOrigins, + ItemsRetrieveRequestExpandItem, + ItemsRetrieveRequestRemoteFields, + ItemsRetrieveRequestShowEnumOrigins, + JournalEntriesListRequestExpandItem, + JournalEntriesRetrieveRequestExpandItem, LinkedAccountsListRequestCategory, - PaymentsListRequestExpand, - PaymentsRetrieveRequestExpand, - ProjectsListRequestExpand, - ProjectsRetrieveRequestExpand, - PurchaseOrdersListRequestExpand, - PurchaseOrdersRetrieveRequestExpand, + PaymentTermsListRequestExpandItem, + PaymentTermsRetrieveRequestExpandItem, + PaymentsListRequestExpandItem, + PaymentsRetrieveRequestExpandItem, + ProjectsListRequestExpandItem, + ProjectsRetrieveRequestExpandItem, + PurchaseOrdersListRequestExpandItem, + PurchaseOrdersListRequestRemoteFields, + PurchaseOrdersListRequestShowEnumOrigins, + PurchaseOrdersRetrieveRequestExpandItem, + PurchaseOrdersRetrieveRequestRemoteFields, + PurchaseOrdersRetrieveRequestShowEnumOrigins, + TaxRatesListRequestExpandItem, + TaxRatesRetrieveRequestExpandItem, TrackingCategoriesListRequestCategoryType, + TrackingCategoriesListRequestExpandItem, + TrackingCategoriesListRequestRemoteFields, + TrackingCategoriesListRequestShowEnumOrigins, TrackingCategoriesListRequestStatus, - TransactionsListRequestExpand, - TransactionsRetrieveRequestExpand, - VendorCreditsListRequestExpand, - VendorCreditsRetrieveRequestExpand, + TrackingCategoriesRetrieveRequestExpandItem, + TrackingCategoriesRetrieveRequestRemoteFields, + TrackingCategoriesRetrieveRequestShowEnumOrigins, + TransactionsListRequestExpandItem, + TransactionsRetrieveRequestExpandItem, + VendorCreditsListRequestExpandItem, + VendorCreditsRetrieveRequestExpandItem, account_details, account_token, accounting_periods, @@ -591,7 +594,6 @@ credit_notes, delete_account, employees, - expense_reports, expenses, field_mapping, force_resync, @@ -632,7 +634,6 @@ "AccountDetailsAndActionsIntegration": ".types", "AccountDetailsAndActionsStatus": ".types", "AccountDetailsAndActionsStatusEnum": ".types", - "AccountDetailsCategory": ".types", "AccountIntegration": ".types", "AccountRequest": ".types", "AccountRequestAccountType": ".types", @@ -651,9 +652,11 @@ "AccountingPhoneNumber": ".types", "AccountingPhoneNumberRequest": ".types", "AccountsListRequestClassification": ".resources", + "AccountsListRequestExpandItem": ".resources", "AccountsListRequestRemoteFields": ".resources", "AccountsListRequestShowEnumOrigins": ".resources", "AccountsListRequestStatus": ".resources", + "AccountsRetrieveRequestExpandItem": ".resources", "AccountsRetrieveRequestRemoteFields": ".resources", "AccountsRetrieveRequestShowEnumOrigins": ".resources", "Address": ".types", @@ -663,6 +666,8 @@ "AddressRequestType": ".types", "AddressType": ".types", "AddressTypeEnum": ".types", + "AddressesRetrieveRequestRemoteFields": ".resources", + "AddressesRetrieveRequestShowEnumOrigins": ".resources", "AdvancedMetadata": ".types", "AsyncPassthroughReciept": ".types", "AsyncPassthroughRetrieveResponse": ".resources", @@ -677,6 +682,8 @@ "BalanceSheet": ".types", "BalanceSheetCompany": ".types", "BalanceSheetCurrency": ".types", + "BalanceSheetsListRequestExpandItem": ".resources", + "BalanceSheetsRetrieveRequestExpandItem": ".resources", "BankFeedAccount": ".types", "BankFeedAccountAccountType": ".types", "BankFeedAccountAccountTypeEnum": ".types", @@ -694,9 +701,13 @@ "BankFeedTransactionRequestRequestBankFeedAccount": ".types", "BankFeedTransactionRequestRequestCreditOrDebit": ".types", "BankFeedTransactionResponse": ".types", + "BankFeedTransactionsListRequestExpandItem": ".resources", + "BankFeedTransactionsRetrieveRequestExpandItem": ".resources", "CashFlowStatement": ".types", "CashFlowStatementCompany": ".types", "CashFlowStatementCurrency": ".types", + "CashFlowStatementsListRequestExpandItem": ".resources", + "CashFlowStatementsRetrieveRequestExpandItem": ".resources", "CategoriesEnum": ".types", "CategoryEnum": ".types", "CategoryTypeEnum": ".types", @@ -704,9 +715,8 @@ "CommonModelScopeApi": ".types", "CommonModelScopesBodyRequest": ".types", "CompanyInfo": ".types", - "CompanyInfoCurrency": ".types", - "CompanyInfoListRequestExpand": ".resources", - "CompanyInfoRetrieveRequestExpand": ".resources", + "CompanyInfoListRequestExpandItem": ".resources", + "CompanyInfoRetrieveRequestExpandItem": ".resources", "ComponentTypeEnum": ".types", "Contact": ".types", "ContactAddressesItem": ".types", @@ -715,9 +725,13 @@ "ContactRequestStatus": ".types", "ContactResponse": ".types", "ContactStatus": ".types", - "ContactsListRequestExpand": ".resources", + "ContactsListRequestExpandItem": ".resources", + "ContactsListRequestRemoteFields": ".resources", + "ContactsListRequestShowEnumOrigins": ".resources", "ContactsListRequestStatus": ".resources", - "ContactsRetrieveRequestExpand": ".resources", + "ContactsRetrieveRequestExpandItem": ".resources", + "ContactsRetrieveRequestRemoteFields": ".resources", + "ContactsRetrieveRequestShowEnumOrigins": ".resources", "CountryEnum": ".types", "CreditNote": ".types", "CreditNoteAccountingPeriod": ".types", @@ -756,20 +770,21 @@ "CreditNoteStatus": ".types", "CreditNoteStatusEnum": ".types", "CreditNoteTrackingCategoriesItem": ".types", - "CreditNotesListRequestExpand": ".resources", + "CreditNotesListRequestExpandItem": ".resources", "CreditNotesListRequestRemoteFields": ".resources", "CreditNotesListRequestShowEnumOrigins": ".resources", - "CreditNotesRetrieveRequestExpand": ".resources", + "CreditNotesRetrieveRequestExpandItem": ".resources", "CreditNotesRetrieveRequestRemoteFields": ".resources", "CreditNotesRetrieveRequestShowEnumOrigins": ".resources", "CreditOrDebitEnum": ".types", "DataPassthroughRequest": ".types", - "DataPassthroughRequestMethod": ".types", "DebugModeLog": ".types", "DebugModelLogSummary": ".types", "Employee": ".types", "EmployeeCompany": ".types", "EmployeeStatus": ".types", + "EmployeesListRequestExpandItem": ".resources", + "EmployeesRetrieveRequestExpandItem": ".resources", "EnabledActionsEnum": ".types", "EncodingEnum": ".types", "EndUserDetailsRequestLanguage": ".resources", @@ -785,7 +800,6 @@ "ExpenseLine": ".types", "ExpenseLineAccount": ".types", "ExpenseLineContact": ".types", - "ExpenseLineCurrency": ".types", "ExpenseLineEmployee": ".types", "ExpenseLineItem": ".types", "ExpenseLineProject": ".types", @@ -800,44 +814,17 @@ "ExpenseLineRequestTrackingCategory": ".types", "ExpenseLineTrackingCategoriesItem": ".types", "ExpenseLineTrackingCategory": ".types", - "ExpenseReport": ".types", - "ExpenseReportCompany": ".types", - "ExpenseReportLine": ".types", - "ExpenseReportLineAccount": ".types", - "ExpenseReportLineCompany": ".types", - "ExpenseReportLineContact": ".types", - "ExpenseReportLineEmployee": ".types", - "ExpenseReportLineProject": ".types", - "ExpenseReportLineRequest": ".types", - "ExpenseReportLineRequestAccount": ".types", - "ExpenseReportLineRequestCompany": ".types", - "ExpenseReportLineRequestContact": ".types", - "ExpenseReportLineRequestEmployee": ".types", - "ExpenseReportLineRequestProject": ".types", - "ExpenseReportLineRequestTaxRate": ".types", - "ExpenseReportLineTaxRate": ".types", - "ExpenseReportRequest": ".types", - "ExpenseReportRequestAccountingPeriod": ".types", - "ExpenseReportRequestCompany": ".types", - "ExpenseReportRequestEmployee": ".types", - "ExpenseReportResponse": ".types", - "ExpenseReportStatus": ".types", - "ExpenseReportStatusEnum": ".types", - "ExpenseReportsLinesListRequestExpand": ".resources", - "ExpenseReportsListRequestExpand": ".resources", - "ExpenseReportsRetrieveRequestExpand": ".resources", "ExpenseRequest": ".types", "ExpenseRequestAccount": ".types", "ExpenseRequestAccountingPeriod": ".types", "ExpenseRequestCompany": ".types", "ExpenseRequestContact": ".types", - "ExpenseRequestCurrency": ".types", "ExpenseRequestEmployee": ".types", "ExpenseRequestTrackingCategoriesItem": ".types", "ExpenseResponse": ".types", "ExpenseTrackingCategoriesItem": ".types", - "ExpensesListRequestExpand": ".resources", - "ExpensesRetrieveRequestExpand": ".resources", + "ExpensesListRequestExpandItem": ".resources", + "ExpensesRetrieveRequestExpandItem": ".resources", "ExternalTargetFieldApi": ".types", "ExternalTargetFieldApiResponse": ".types", "FeedStatusEnum": ".types", @@ -857,7 +844,6 @@ "GeneralLedgerTransactionGeneralLedgerTransactionLinesItem": ".types", "GeneralLedgerTransactionLine": ".types", "GeneralLedgerTransactionLineAccount": ".types", - "GeneralLedgerTransactionLineBaseCurrency": ".types", "GeneralLedgerTransactionLineCompany": ".types", "GeneralLedgerTransactionLineContact": ".types", "GeneralLedgerTransactionLineEmployee": ".types", @@ -867,11 +853,13 @@ "GeneralLedgerTransactionLineTransactionCurrency": ".types", "GeneralLedgerTransactionTrackingCategoriesItem": ".types", "GeneralLedgerTransactionUnderlyingTransactionType": ".types", - "GeneralLedgerTransactionsListRequestExpand": ".resources", - "GeneralLedgerTransactionsRetrieveRequestExpand": ".resources", + "GeneralLedgerTransactionsListRequestExpandItem": ".resources", + "GeneralLedgerTransactionsRetrieveRequestExpandItem": ".resources", "IncomeStatement": ".types", "IncomeStatementCompany": ".types", "IncomeStatementCurrency": ".types", + "IncomeStatementsListRequestExpandItem": ".resources", + "IncomeStatementsRetrieveRequestExpandItem": ".resources", "IndividualCommonModelScopeDeserializer": ".types", "IndividualCommonModelScopeDeserializerRequest": ".types", "Invoice": ".types", @@ -919,12 +907,15 @@ "InvoiceStatus": ".types", "InvoiceStatusEnum": ".types", "InvoiceTrackingCategoriesItem": ".types", - "InvoiceType": ".types", "InvoiceTypeEnum": ".types", - "InvoicesListRequestExpand": ".resources", + "InvoicesListRequestExpandItem": ".resources", + "InvoicesListRequestRemoteFields": ".resources", + "InvoicesListRequestShowEnumOrigins": ".resources", "InvoicesListRequestStatus": ".resources", "InvoicesListRequestType": ".resources", - "InvoicesRetrieveRequestExpand": ".resources", + "InvoicesRetrieveRequestExpandItem": ".resources", + "InvoicesRetrieveRequestRemoteFields": ".resources", + "InvoicesRetrieveRequestShowEnumOrigins": ".resources", "Issue": ".types", "IssueStatus": ".types", "IssueStatusEnum": ".types", @@ -949,10 +940,14 @@ "ItemStatus": ".types", "ItemType": ".types", "ItemTypeEnum": ".types", - "ItemsListRequestExpand": ".resources", - "ItemsRetrieveRequestExpand": ".resources", - "JournalEntriesListRequestExpand": ".resources", - "JournalEntriesRetrieveRequestExpand": ".resources", + "ItemsListRequestExpandItem": ".resources", + "ItemsListRequestRemoteFields": ".resources", + "ItemsListRequestShowEnumOrigins": ".resources", + "ItemsRetrieveRequestExpandItem": ".resources", + "ItemsRetrieveRequestRemoteFields": ".resources", + "ItemsRetrieveRequestShowEnumOrigins": ".resources", + "JournalEntriesListRequestExpandItem": ".resources", + "JournalEntriesRetrieveRequestExpandItem": ".resources", "JournalEntry": ".types", "JournalEntryAccountingPeriod": ".types", "JournalEntryAppliedPaymentsItem": ".types", @@ -992,7 +987,6 @@ "ModelPermissionDeserializer": ".types", "ModelPermissionDeserializerRequest": ".types", "MultipartFormFieldRequest": ".types", - "MultipartFormFieldRequestEncoding": ".types", "PaginatedAccountDetailsAndActionsList": ".types", "PaginatedAccountList": ".types", "PaginatedAccountingAttachmentList": ".types", @@ -1007,8 +1001,6 @@ "PaginatedCreditNoteList": ".types", "PaginatedEmployeeList": ".types", "PaginatedExpenseList": ".types", - "PaginatedExpenseReportLineList": ".types", - "PaginatedExpenseReportList": ".types", "PaginatedGeneralLedgerTransactionList": ".types", "PaginatedIncomeStatementList": ".types", "PaginatedInvoiceList": ".types", @@ -1026,8 +1018,6 @@ "PaginatedTrackingCategoryList": ".types", "PaginatedTransactionList": ".types", "PaginatedVendorCreditList": ".types", - "PatchedContactRequest": ".types", - "PatchedContactRequestAddressesItem": ".types", "PatchedItemRequestRequest": ".types", "PatchedItemRequestRequestStatus": ".types", "PatchedItemRequestRequestType": ".types", @@ -1066,17 +1056,19 @@ "PaymentResponse": ".types", "PaymentTerm": ".types", "PaymentTermCompany": ".types", + "PaymentTermsListRequestExpandItem": ".resources", + "PaymentTermsRetrieveRequestExpandItem": ".resources", "PaymentTrackingCategoriesItem": ".types", "PaymentType": ".types", "PaymentTypeEnum": ".types", - "PaymentsListRequestExpand": ".resources", - "PaymentsRetrieveRequestExpand": ".resources", + "PaymentsListRequestExpandItem": ".resources", + "PaymentsRetrieveRequestExpandItem": ".resources", "PostingStatusEnum": ".types", "Project": ".types", "ProjectCompany": ".types", "ProjectContact": ".types", - "ProjectsListRequestExpand": ".resources", - "ProjectsRetrieveRequestExpand": ".resources", + "ProjectsListRequestExpandItem": ".resources", + "ProjectsRetrieveRequestExpandItem": ".resources", "PurchaseOrder": ".types", "PurchaseOrderAccountingPeriod": ".types", "PurchaseOrderCompany": ".types", @@ -1102,8 +1094,12 @@ "PurchaseOrderStatusEnum": ".types", "PurchaseOrderTrackingCategoriesItem": ".types", "PurchaseOrderVendor": ".types", - "PurchaseOrdersListRequestExpand": ".resources", - "PurchaseOrdersRetrieveRequestExpand": ".resources", + "PurchaseOrdersListRequestExpandItem": ".resources", + "PurchaseOrdersListRequestRemoteFields": ".resources", + "PurchaseOrdersListRequestShowEnumOrigins": ".resources", + "PurchaseOrdersRetrieveRequestExpandItem": ".resources", + "PurchaseOrdersRetrieveRequestRemoteFields": ".resources", + "PurchaseOrdersRetrieveRequestShowEnumOrigins": ".resources", "RemoteData": ".types", "RemoteEndpointInfo": ".types", "RemoteField": ".types", @@ -1125,6 +1121,7 @@ "Status895Enum": ".types", "StatusFd5Enum": ".types", "SyncStatus": ".types", + "SyncStatusLastSyncResult": ".types", "SyncStatusStatus": ".types", "TaxComponent": ".types", "TaxComponentComponentType": ".types", @@ -1132,8 +1129,16 @@ "TaxRateCompany": ".types", "TaxRateStatus": ".types", "TaxRateTaxComponentsItem": ".types", + "TaxRatesListRequestExpandItem": ".resources", + "TaxRatesRetrieveRequestExpandItem": ".resources", "TrackingCategoriesListRequestCategoryType": ".resources", + "TrackingCategoriesListRequestExpandItem": ".resources", + "TrackingCategoriesListRequestRemoteFields": ".resources", + "TrackingCategoriesListRequestShowEnumOrigins": ".resources", "TrackingCategoriesListRequestStatus": ".resources", + "TrackingCategoriesRetrieveRequestExpandItem": ".resources", + "TrackingCategoriesRetrieveRequestRemoteFields": ".resources", + "TrackingCategoriesRetrieveRequestShowEnumOrigins": ".resources", "TrackingCategory": ".types", "TrackingCategoryCategoryType": ".types", "TrackingCategoryCompany": ".types", @@ -1148,8 +1153,8 @@ "TransactionLineItemCurrency": ".types", "TransactionLineItemItem": ".types", "TransactionTrackingCategoriesItem": ".types", - "TransactionsListRequestExpand": ".resources", - "TransactionsRetrieveRequestExpand": ".resources", + "TransactionsListRequestExpandItem": ".resources", + "TransactionsRetrieveRequestExpandItem": ".resources", "Type2BbEnum": ".types", "UnderlyingTransactionTypeEnum": ".types", "ValidationProblemSource": ".types", @@ -1180,8 +1185,8 @@ "VendorCreditResponse": ".types", "VendorCreditTrackingCategoriesItem": ".types", "VendorCreditVendor": ".types", - "VendorCreditsListRequestExpand": ".resources", - "VendorCreditsRetrieveRequestExpand": ".resources", + "VendorCreditsListRequestExpandItem": ".resources", + "VendorCreditsRetrieveRequestExpandItem": ".resources", "WarningValidationProblem": ".types", "WebhookReceiver": ".types", "account_details": ".resources", @@ -1203,7 +1208,6 @@ "credit_notes": ".resources", "delete_account": ".resources", "employees": ".resources", - "expense_reports": ".resources", "expenses": ".resources", "field_mapping": ".resources", "force_resync": ".resources", @@ -1240,8 +1244,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -1265,7 +1271,6 @@ def __dir__(): "AccountDetailsAndActionsIntegration", "AccountDetailsAndActionsStatus", "AccountDetailsAndActionsStatusEnum", - "AccountDetailsCategory", "AccountIntegration", "AccountRequest", "AccountRequestAccountType", @@ -1284,9 +1289,11 @@ def __dir__(): "AccountingPhoneNumber", "AccountingPhoneNumberRequest", "AccountsListRequestClassification", + "AccountsListRequestExpandItem", "AccountsListRequestRemoteFields", "AccountsListRequestShowEnumOrigins", "AccountsListRequestStatus", + "AccountsRetrieveRequestExpandItem", "AccountsRetrieveRequestRemoteFields", "AccountsRetrieveRequestShowEnumOrigins", "Address", @@ -1296,6 +1303,8 @@ def __dir__(): "AddressRequestType", "AddressType", "AddressTypeEnum", + "AddressesRetrieveRequestRemoteFields", + "AddressesRetrieveRequestShowEnumOrigins", "AdvancedMetadata", "AsyncPassthroughReciept", "AsyncPassthroughRetrieveResponse", @@ -1310,6 +1319,8 @@ def __dir__(): "BalanceSheet", "BalanceSheetCompany", "BalanceSheetCurrency", + "BalanceSheetsListRequestExpandItem", + "BalanceSheetsRetrieveRequestExpandItem", "BankFeedAccount", "BankFeedAccountAccountType", "BankFeedAccountAccountTypeEnum", @@ -1327,9 +1338,13 @@ def __dir__(): "BankFeedTransactionRequestRequestBankFeedAccount", "BankFeedTransactionRequestRequestCreditOrDebit", "BankFeedTransactionResponse", + "BankFeedTransactionsListRequestExpandItem", + "BankFeedTransactionsRetrieveRequestExpandItem", "CashFlowStatement", "CashFlowStatementCompany", "CashFlowStatementCurrency", + "CashFlowStatementsListRequestExpandItem", + "CashFlowStatementsRetrieveRequestExpandItem", "CategoriesEnum", "CategoryEnum", "CategoryTypeEnum", @@ -1337,9 +1352,8 @@ def __dir__(): "CommonModelScopeApi", "CommonModelScopesBodyRequest", "CompanyInfo", - "CompanyInfoCurrency", - "CompanyInfoListRequestExpand", - "CompanyInfoRetrieveRequestExpand", + "CompanyInfoListRequestExpandItem", + "CompanyInfoRetrieveRequestExpandItem", "ComponentTypeEnum", "Contact", "ContactAddressesItem", @@ -1348,9 +1362,13 @@ def __dir__(): "ContactRequestStatus", "ContactResponse", "ContactStatus", - "ContactsListRequestExpand", + "ContactsListRequestExpandItem", + "ContactsListRequestRemoteFields", + "ContactsListRequestShowEnumOrigins", "ContactsListRequestStatus", - "ContactsRetrieveRequestExpand", + "ContactsRetrieveRequestExpandItem", + "ContactsRetrieveRequestRemoteFields", + "ContactsRetrieveRequestShowEnumOrigins", "CountryEnum", "CreditNote", "CreditNoteAccountingPeriod", @@ -1389,20 +1407,21 @@ def __dir__(): "CreditNoteStatus", "CreditNoteStatusEnum", "CreditNoteTrackingCategoriesItem", - "CreditNotesListRequestExpand", + "CreditNotesListRequestExpandItem", "CreditNotesListRequestRemoteFields", "CreditNotesListRequestShowEnumOrigins", - "CreditNotesRetrieveRequestExpand", + "CreditNotesRetrieveRequestExpandItem", "CreditNotesRetrieveRequestRemoteFields", "CreditNotesRetrieveRequestShowEnumOrigins", "CreditOrDebitEnum", "DataPassthroughRequest", - "DataPassthroughRequestMethod", "DebugModeLog", "DebugModelLogSummary", "Employee", "EmployeeCompany", "EmployeeStatus", + "EmployeesListRequestExpandItem", + "EmployeesRetrieveRequestExpandItem", "EnabledActionsEnum", "EncodingEnum", "EndUserDetailsRequestLanguage", @@ -1418,7 +1437,6 @@ def __dir__(): "ExpenseLine", "ExpenseLineAccount", "ExpenseLineContact", - "ExpenseLineCurrency", "ExpenseLineEmployee", "ExpenseLineItem", "ExpenseLineProject", @@ -1433,44 +1451,17 @@ def __dir__(): "ExpenseLineRequestTrackingCategory", "ExpenseLineTrackingCategoriesItem", "ExpenseLineTrackingCategory", - "ExpenseReport", - "ExpenseReportCompany", - "ExpenseReportLine", - "ExpenseReportLineAccount", - "ExpenseReportLineCompany", - "ExpenseReportLineContact", - "ExpenseReportLineEmployee", - "ExpenseReportLineProject", - "ExpenseReportLineRequest", - "ExpenseReportLineRequestAccount", - "ExpenseReportLineRequestCompany", - "ExpenseReportLineRequestContact", - "ExpenseReportLineRequestEmployee", - "ExpenseReportLineRequestProject", - "ExpenseReportLineRequestTaxRate", - "ExpenseReportLineTaxRate", - "ExpenseReportRequest", - "ExpenseReportRequestAccountingPeriod", - "ExpenseReportRequestCompany", - "ExpenseReportRequestEmployee", - "ExpenseReportResponse", - "ExpenseReportStatus", - "ExpenseReportStatusEnum", - "ExpenseReportsLinesListRequestExpand", - "ExpenseReportsListRequestExpand", - "ExpenseReportsRetrieveRequestExpand", "ExpenseRequest", "ExpenseRequestAccount", "ExpenseRequestAccountingPeriod", "ExpenseRequestCompany", "ExpenseRequestContact", - "ExpenseRequestCurrency", "ExpenseRequestEmployee", "ExpenseRequestTrackingCategoriesItem", "ExpenseResponse", "ExpenseTrackingCategoriesItem", - "ExpensesListRequestExpand", - "ExpensesRetrieveRequestExpand", + "ExpensesListRequestExpandItem", + "ExpensesRetrieveRequestExpandItem", "ExternalTargetFieldApi", "ExternalTargetFieldApiResponse", "FeedStatusEnum", @@ -1490,7 +1481,6 @@ def __dir__(): "GeneralLedgerTransactionGeneralLedgerTransactionLinesItem", "GeneralLedgerTransactionLine", "GeneralLedgerTransactionLineAccount", - "GeneralLedgerTransactionLineBaseCurrency", "GeneralLedgerTransactionLineCompany", "GeneralLedgerTransactionLineContact", "GeneralLedgerTransactionLineEmployee", @@ -1500,11 +1490,13 @@ def __dir__(): "GeneralLedgerTransactionLineTransactionCurrency", "GeneralLedgerTransactionTrackingCategoriesItem", "GeneralLedgerTransactionUnderlyingTransactionType", - "GeneralLedgerTransactionsListRequestExpand", - "GeneralLedgerTransactionsRetrieveRequestExpand", + "GeneralLedgerTransactionsListRequestExpandItem", + "GeneralLedgerTransactionsRetrieveRequestExpandItem", "IncomeStatement", "IncomeStatementCompany", "IncomeStatementCurrency", + "IncomeStatementsListRequestExpandItem", + "IncomeStatementsRetrieveRequestExpandItem", "IndividualCommonModelScopeDeserializer", "IndividualCommonModelScopeDeserializerRequest", "Invoice", @@ -1552,12 +1544,15 @@ def __dir__(): "InvoiceStatus", "InvoiceStatusEnum", "InvoiceTrackingCategoriesItem", - "InvoiceType", "InvoiceTypeEnum", - "InvoicesListRequestExpand", + "InvoicesListRequestExpandItem", + "InvoicesListRequestRemoteFields", + "InvoicesListRequestShowEnumOrigins", "InvoicesListRequestStatus", "InvoicesListRequestType", - "InvoicesRetrieveRequestExpand", + "InvoicesRetrieveRequestExpandItem", + "InvoicesRetrieveRequestRemoteFields", + "InvoicesRetrieveRequestShowEnumOrigins", "Issue", "IssueStatus", "IssueStatusEnum", @@ -1582,10 +1577,14 @@ def __dir__(): "ItemStatus", "ItemType", "ItemTypeEnum", - "ItemsListRequestExpand", - "ItemsRetrieveRequestExpand", - "JournalEntriesListRequestExpand", - "JournalEntriesRetrieveRequestExpand", + "ItemsListRequestExpandItem", + "ItemsListRequestRemoteFields", + "ItemsListRequestShowEnumOrigins", + "ItemsRetrieveRequestExpandItem", + "ItemsRetrieveRequestRemoteFields", + "ItemsRetrieveRequestShowEnumOrigins", + "JournalEntriesListRequestExpandItem", + "JournalEntriesRetrieveRequestExpandItem", "JournalEntry", "JournalEntryAccountingPeriod", "JournalEntryAppliedPaymentsItem", @@ -1625,7 +1624,6 @@ def __dir__(): "ModelPermissionDeserializer", "ModelPermissionDeserializerRequest", "MultipartFormFieldRequest", - "MultipartFormFieldRequestEncoding", "PaginatedAccountDetailsAndActionsList", "PaginatedAccountList", "PaginatedAccountingAttachmentList", @@ -1640,8 +1638,6 @@ def __dir__(): "PaginatedCreditNoteList", "PaginatedEmployeeList", "PaginatedExpenseList", - "PaginatedExpenseReportLineList", - "PaginatedExpenseReportList", "PaginatedGeneralLedgerTransactionList", "PaginatedIncomeStatementList", "PaginatedInvoiceList", @@ -1659,8 +1655,6 @@ def __dir__(): "PaginatedTrackingCategoryList", "PaginatedTransactionList", "PaginatedVendorCreditList", - "PatchedContactRequest", - "PatchedContactRequestAddressesItem", "PatchedItemRequestRequest", "PatchedItemRequestRequestStatus", "PatchedItemRequestRequestType", @@ -1699,17 +1693,19 @@ def __dir__(): "PaymentResponse", "PaymentTerm", "PaymentTermCompany", + "PaymentTermsListRequestExpandItem", + "PaymentTermsRetrieveRequestExpandItem", "PaymentTrackingCategoriesItem", "PaymentType", "PaymentTypeEnum", - "PaymentsListRequestExpand", - "PaymentsRetrieveRequestExpand", + "PaymentsListRequestExpandItem", + "PaymentsRetrieveRequestExpandItem", "PostingStatusEnum", "Project", "ProjectCompany", "ProjectContact", - "ProjectsListRequestExpand", - "ProjectsRetrieveRequestExpand", + "ProjectsListRequestExpandItem", + "ProjectsRetrieveRequestExpandItem", "PurchaseOrder", "PurchaseOrderAccountingPeriod", "PurchaseOrderCompany", @@ -1735,8 +1731,12 @@ def __dir__(): "PurchaseOrderStatusEnum", "PurchaseOrderTrackingCategoriesItem", "PurchaseOrderVendor", - "PurchaseOrdersListRequestExpand", - "PurchaseOrdersRetrieveRequestExpand", + "PurchaseOrdersListRequestExpandItem", + "PurchaseOrdersListRequestRemoteFields", + "PurchaseOrdersListRequestShowEnumOrigins", + "PurchaseOrdersRetrieveRequestExpandItem", + "PurchaseOrdersRetrieveRequestRemoteFields", + "PurchaseOrdersRetrieveRequestShowEnumOrigins", "RemoteData", "RemoteEndpointInfo", "RemoteField", @@ -1758,6 +1758,7 @@ def __dir__(): "Status895Enum", "StatusFd5Enum", "SyncStatus", + "SyncStatusLastSyncResult", "SyncStatusStatus", "TaxComponent", "TaxComponentComponentType", @@ -1765,8 +1766,16 @@ def __dir__(): "TaxRateCompany", "TaxRateStatus", "TaxRateTaxComponentsItem", + "TaxRatesListRequestExpandItem", + "TaxRatesRetrieveRequestExpandItem", "TrackingCategoriesListRequestCategoryType", + "TrackingCategoriesListRequestExpandItem", + "TrackingCategoriesListRequestRemoteFields", + "TrackingCategoriesListRequestShowEnumOrigins", "TrackingCategoriesListRequestStatus", + "TrackingCategoriesRetrieveRequestExpandItem", + "TrackingCategoriesRetrieveRequestRemoteFields", + "TrackingCategoriesRetrieveRequestShowEnumOrigins", "TrackingCategory", "TrackingCategoryCategoryType", "TrackingCategoryCompany", @@ -1781,8 +1790,8 @@ def __dir__(): "TransactionLineItemCurrency", "TransactionLineItemItem", "TransactionTrackingCategoriesItem", - "TransactionsListRequestExpand", - "TransactionsRetrieveRequestExpand", + "TransactionsListRequestExpandItem", + "TransactionsRetrieveRequestExpandItem", "Type2BbEnum", "UnderlyingTransactionTypeEnum", "ValidationProblemSource", @@ -1813,8 +1822,8 @@ def __dir__(): "VendorCreditResponse", "VendorCreditTrackingCategoriesItem", "VendorCreditVendor", - "VendorCreditsListRequestExpand", - "VendorCreditsRetrieveRequestExpand", + "VendorCreditsListRequestExpandItem", + "VendorCreditsRetrieveRequestExpandItem", "WarningValidationProblem", "WebhookReceiver", "account_details", @@ -1836,7 +1845,6 @@ def __dir__(): "credit_notes", "delete_account", "employees", - "expense_reports", "expenses", "field_mapping", "force_resync", diff --git a/src/merge/resources/accounting/client.py b/src/merge/resources/accounting/client.py index fcf4a37c..37b25a09 100644 --- a/src/merge/resources/accounting/client.py +++ b/src/merge/resources/accounting/client.py @@ -30,7 +30,6 @@ from .resources.credit_notes.client import AsyncCreditNotesClient, CreditNotesClient from .resources.delete_account.client import AsyncDeleteAccountClient, DeleteAccountClient from .resources.employees.client import AsyncEmployeesClient, EmployeesClient - from .resources.expense_reports.client import AsyncExpenseReportsClient, ExpenseReportsClient from .resources.expenses.client import AsyncExpensesClient, ExpensesClient from .resources.field_mapping.client import AsyncFieldMappingClient, FieldMappingClient from .resources.force_resync.client import AsyncForceResyncClient, ForceResyncClient @@ -92,7 +91,6 @@ def __init__(self, *, client_wrapper: SyncClientWrapper): self._scopes: typing.Optional[ScopesClient] = None self._delete_account: typing.Optional[DeleteAccountClient] = None self._employees: typing.Optional[EmployeesClient] = None - self._expense_reports: typing.Optional[ExpenseReportsClient] = None self._expenses: typing.Optional[ExpensesClient] = None self._field_mapping: typing.Optional[FieldMappingClient] = None self._general_ledger_transactions: typing.Optional[GeneralLedgerTransactionsClient] = None @@ -295,14 +293,6 @@ def employees(self): self._employees = EmployeesClient(client_wrapper=self._client_wrapper) return self._employees - @property - def expense_reports(self): - if self._expense_reports is None: - from .resources.expense_reports.client import ExpenseReportsClient # noqa: E402 - - self._expense_reports = ExpenseReportsClient(client_wrapper=self._client_wrapper) - return self._expense_reports - @property def expenses(self): if self._expenses is None: @@ -536,7 +526,6 @@ def __init__(self, *, client_wrapper: AsyncClientWrapper): self._scopes: typing.Optional[AsyncScopesClient] = None self._delete_account: typing.Optional[AsyncDeleteAccountClient] = None self._employees: typing.Optional[AsyncEmployeesClient] = None - self._expense_reports: typing.Optional[AsyncExpenseReportsClient] = None self._expenses: typing.Optional[AsyncExpensesClient] = None self._field_mapping: typing.Optional[AsyncFieldMappingClient] = None self._general_ledger_transactions: typing.Optional[AsyncGeneralLedgerTransactionsClient] = None @@ -737,14 +726,6 @@ def employees(self): self._employees = AsyncEmployeesClient(client_wrapper=self._client_wrapper) return self._employees - @property - def expense_reports(self): - if self._expense_reports is None: - from .resources.expense_reports.client import AsyncExpenseReportsClient # noqa: E402 - - self._expense_reports = AsyncExpenseReportsClient(client_wrapper=self._client_wrapper) - return self._expense_reports - @property def expenses(self): if self._expenses is None: diff --git a/src/merge/resources/accounting/resources/__init__.py b/src/merge/resources/accounting/resources/__init__.py index 46b82e29..b670ea35 100644 --- a/src/merge/resources/accounting/resources/__init__.py +++ b/src/merge/resources/accounting/resources/__init__.py @@ -26,7 +26,6 @@ credit_notes, delete_account, employees, - expense_reports, expenses, field_mapping, force_resync, @@ -57,146 +56,228 @@ ) from .accounts import ( AccountsListRequestClassification, + AccountsListRequestExpandItem, AccountsListRequestRemoteFields, AccountsListRequestShowEnumOrigins, AccountsListRequestStatus, + AccountsRetrieveRequestExpandItem, AccountsRetrieveRequestRemoteFields, AccountsRetrieveRequestShowEnumOrigins, ) + from .addresses import AddressesRetrieveRequestRemoteFields, AddressesRetrieveRequestShowEnumOrigins from .async_passthrough import AsyncPassthroughRetrieveResponse - from .company_info import CompanyInfoListRequestExpand, CompanyInfoRetrieveRequestExpand - from .contacts import ContactsListRequestExpand, ContactsListRequestStatus, ContactsRetrieveRequestExpand + from .balance_sheets import BalanceSheetsListRequestExpandItem, BalanceSheetsRetrieveRequestExpandItem + from .bank_feed_transactions import ( + BankFeedTransactionsListRequestExpandItem, + BankFeedTransactionsRetrieveRequestExpandItem, + ) + from .cash_flow_statements import ( + CashFlowStatementsListRequestExpandItem, + CashFlowStatementsRetrieveRequestExpandItem, + ) + from .company_info import CompanyInfoListRequestExpandItem, CompanyInfoRetrieveRequestExpandItem + from .contacts import ( + ContactsListRequestExpandItem, + ContactsListRequestRemoteFields, + ContactsListRequestShowEnumOrigins, + ContactsListRequestStatus, + ContactsRetrieveRequestExpandItem, + ContactsRetrieveRequestRemoteFields, + ContactsRetrieveRequestShowEnumOrigins, + ) from .credit_notes import ( - CreditNotesListRequestExpand, + CreditNotesListRequestExpandItem, CreditNotesListRequestRemoteFields, CreditNotesListRequestShowEnumOrigins, - CreditNotesRetrieveRequestExpand, + CreditNotesRetrieveRequestExpandItem, CreditNotesRetrieveRequestRemoteFields, CreditNotesRetrieveRequestShowEnumOrigins, ) - from .expense_reports import ( - ExpenseReportsLinesListRequestExpand, - ExpenseReportsListRequestExpand, - ExpenseReportsRetrieveRequestExpand, - ) - from .expenses import ExpensesListRequestExpand, ExpensesRetrieveRequestExpand + from .employees import EmployeesListRequestExpandItem, EmployeesRetrieveRequestExpandItem + from .expenses import ExpensesListRequestExpandItem, ExpensesRetrieveRequestExpandItem from .general_ledger_transactions import ( - GeneralLedgerTransactionsListRequestExpand, - GeneralLedgerTransactionsRetrieveRequestExpand, + GeneralLedgerTransactionsListRequestExpandItem, + GeneralLedgerTransactionsRetrieveRequestExpandItem, ) + from .income_statements import IncomeStatementsListRequestExpandItem, IncomeStatementsRetrieveRequestExpandItem from .invoices import ( - InvoicesListRequestExpand, + InvoicesListRequestExpandItem, + InvoicesListRequestRemoteFields, + InvoicesListRequestShowEnumOrigins, InvoicesListRequestStatus, InvoicesListRequestType, - InvoicesRetrieveRequestExpand, + InvoicesRetrieveRequestExpandItem, + InvoicesRetrieveRequestRemoteFields, + InvoicesRetrieveRequestShowEnumOrigins, ) from .issues import IssuesListRequestStatus - from .items import ItemsListRequestExpand, ItemsRetrieveRequestExpand - from .journal_entries import JournalEntriesListRequestExpand, JournalEntriesRetrieveRequestExpand + from .items import ( + ItemsListRequestExpandItem, + ItemsListRequestRemoteFields, + ItemsListRequestShowEnumOrigins, + ItemsRetrieveRequestExpandItem, + ItemsRetrieveRequestRemoteFields, + ItemsRetrieveRequestShowEnumOrigins, + ) + from .journal_entries import JournalEntriesListRequestExpandItem, JournalEntriesRetrieveRequestExpandItem from .link_token import EndUserDetailsRequestLanguage from .linked_accounts import LinkedAccountsListRequestCategory - from .payments import PaymentsListRequestExpand, PaymentsRetrieveRequestExpand - from .projects import ProjectsListRequestExpand, ProjectsRetrieveRequestExpand - from .purchase_orders import PurchaseOrdersListRequestExpand, PurchaseOrdersRetrieveRequestExpand - from .tracking_categories import TrackingCategoriesListRequestCategoryType, TrackingCategoriesListRequestStatus - from .transactions import TransactionsListRequestExpand, TransactionsRetrieveRequestExpand - from .vendor_credits import VendorCreditsListRequestExpand, VendorCreditsRetrieveRequestExpand + from .payment_terms import PaymentTermsListRequestExpandItem, PaymentTermsRetrieveRequestExpandItem + from .payments import PaymentsListRequestExpandItem, PaymentsRetrieveRequestExpandItem + from .projects import ProjectsListRequestExpandItem, ProjectsRetrieveRequestExpandItem + from .purchase_orders import ( + PurchaseOrdersListRequestExpandItem, + PurchaseOrdersListRequestRemoteFields, + PurchaseOrdersListRequestShowEnumOrigins, + PurchaseOrdersRetrieveRequestExpandItem, + PurchaseOrdersRetrieveRequestRemoteFields, + PurchaseOrdersRetrieveRequestShowEnumOrigins, + ) + from .tax_rates import TaxRatesListRequestExpandItem, TaxRatesRetrieveRequestExpandItem + from .tracking_categories import ( + TrackingCategoriesListRequestCategoryType, + TrackingCategoriesListRequestExpandItem, + TrackingCategoriesListRequestRemoteFields, + TrackingCategoriesListRequestShowEnumOrigins, + TrackingCategoriesListRequestStatus, + TrackingCategoriesRetrieveRequestExpandItem, + TrackingCategoriesRetrieveRequestRemoteFields, + TrackingCategoriesRetrieveRequestShowEnumOrigins, + ) + from .transactions import TransactionsListRequestExpandItem, TransactionsRetrieveRequestExpandItem + from .vendor_credits import VendorCreditsListRequestExpandItem, VendorCreditsRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { "AccountsListRequestClassification": ".accounts", + "AccountsListRequestExpandItem": ".accounts", "AccountsListRequestRemoteFields": ".accounts", "AccountsListRequestShowEnumOrigins": ".accounts", "AccountsListRequestStatus": ".accounts", + "AccountsRetrieveRequestExpandItem": ".accounts", "AccountsRetrieveRequestRemoteFields": ".accounts", "AccountsRetrieveRequestShowEnumOrigins": ".accounts", + "AddressesRetrieveRequestRemoteFields": ".addresses", + "AddressesRetrieveRequestShowEnumOrigins": ".addresses", "AsyncPassthroughRetrieveResponse": ".async_passthrough", - "CompanyInfoListRequestExpand": ".company_info", - "CompanyInfoRetrieveRequestExpand": ".company_info", - "ContactsListRequestExpand": ".contacts", + "BalanceSheetsListRequestExpandItem": ".balance_sheets", + "BalanceSheetsRetrieveRequestExpandItem": ".balance_sheets", + "BankFeedTransactionsListRequestExpandItem": ".bank_feed_transactions", + "BankFeedTransactionsRetrieveRequestExpandItem": ".bank_feed_transactions", + "CashFlowStatementsListRequestExpandItem": ".cash_flow_statements", + "CashFlowStatementsRetrieveRequestExpandItem": ".cash_flow_statements", + "CompanyInfoListRequestExpandItem": ".company_info", + "CompanyInfoRetrieveRequestExpandItem": ".company_info", + "ContactsListRequestExpandItem": ".contacts", + "ContactsListRequestRemoteFields": ".contacts", + "ContactsListRequestShowEnumOrigins": ".contacts", "ContactsListRequestStatus": ".contacts", - "ContactsRetrieveRequestExpand": ".contacts", - "CreditNotesListRequestExpand": ".credit_notes", + "ContactsRetrieveRequestExpandItem": ".contacts", + "ContactsRetrieveRequestRemoteFields": ".contacts", + "ContactsRetrieveRequestShowEnumOrigins": ".contacts", + "CreditNotesListRequestExpandItem": ".credit_notes", "CreditNotesListRequestRemoteFields": ".credit_notes", "CreditNotesListRequestShowEnumOrigins": ".credit_notes", - "CreditNotesRetrieveRequestExpand": ".credit_notes", + "CreditNotesRetrieveRequestExpandItem": ".credit_notes", "CreditNotesRetrieveRequestRemoteFields": ".credit_notes", "CreditNotesRetrieveRequestShowEnumOrigins": ".credit_notes", + "EmployeesListRequestExpandItem": ".employees", + "EmployeesRetrieveRequestExpandItem": ".employees", "EndUserDetailsRequestLanguage": ".link_token", - "ExpenseReportsLinesListRequestExpand": ".expense_reports", - "ExpenseReportsListRequestExpand": ".expense_reports", - "ExpenseReportsRetrieveRequestExpand": ".expense_reports", - "ExpensesListRequestExpand": ".expenses", - "ExpensesRetrieveRequestExpand": ".expenses", - "GeneralLedgerTransactionsListRequestExpand": ".general_ledger_transactions", - "GeneralLedgerTransactionsRetrieveRequestExpand": ".general_ledger_transactions", - "InvoicesListRequestExpand": ".invoices", + "ExpensesListRequestExpandItem": ".expenses", + "ExpensesRetrieveRequestExpandItem": ".expenses", + "GeneralLedgerTransactionsListRequestExpandItem": ".general_ledger_transactions", + "GeneralLedgerTransactionsRetrieveRequestExpandItem": ".general_ledger_transactions", + "IncomeStatementsListRequestExpandItem": ".income_statements", + "IncomeStatementsRetrieveRequestExpandItem": ".income_statements", + "InvoicesListRequestExpandItem": ".invoices", + "InvoicesListRequestRemoteFields": ".invoices", + "InvoicesListRequestShowEnumOrigins": ".invoices", "InvoicesListRequestStatus": ".invoices", "InvoicesListRequestType": ".invoices", - "InvoicesRetrieveRequestExpand": ".invoices", + "InvoicesRetrieveRequestExpandItem": ".invoices", + "InvoicesRetrieveRequestRemoteFields": ".invoices", + "InvoicesRetrieveRequestShowEnumOrigins": ".invoices", "IssuesListRequestStatus": ".issues", - "ItemsListRequestExpand": ".items", - "ItemsRetrieveRequestExpand": ".items", - "JournalEntriesListRequestExpand": ".journal_entries", - "JournalEntriesRetrieveRequestExpand": ".journal_entries", + "ItemsListRequestExpandItem": ".items", + "ItemsListRequestRemoteFields": ".items", + "ItemsListRequestShowEnumOrigins": ".items", + "ItemsRetrieveRequestExpandItem": ".items", + "ItemsRetrieveRequestRemoteFields": ".items", + "ItemsRetrieveRequestShowEnumOrigins": ".items", + "JournalEntriesListRequestExpandItem": ".journal_entries", + "JournalEntriesRetrieveRequestExpandItem": ".journal_entries", "LinkedAccountsListRequestCategory": ".linked_accounts", - "PaymentsListRequestExpand": ".payments", - "PaymentsRetrieveRequestExpand": ".payments", - "ProjectsListRequestExpand": ".projects", - "ProjectsRetrieveRequestExpand": ".projects", - "PurchaseOrdersListRequestExpand": ".purchase_orders", - "PurchaseOrdersRetrieveRequestExpand": ".purchase_orders", + "PaymentTermsListRequestExpandItem": ".payment_terms", + "PaymentTermsRetrieveRequestExpandItem": ".payment_terms", + "PaymentsListRequestExpandItem": ".payments", + "PaymentsRetrieveRequestExpandItem": ".payments", + "ProjectsListRequestExpandItem": ".projects", + "ProjectsRetrieveRequestExpandItem": ".projects", + "PurchaseOrdersListRequestExpandItem": ".purchase_orders", + "PurchaseOrdersListRequestRemoteFields": ".purchase_orders", + "PurchaseOrdersListRequestShowEnumOrigins": ".purchase_orders", + "PurchaseOrdersRetrieveRequestExpandItem": ".purchase_orders", + "PurchaseOrdersRetrieveRequestRemoteFields": ".purchase_orders", + "PurchaseOrdersRetrieveRequestShowEnumOrigins": ".purchase_orders", + "TaxRatesListRequestExpandItem": ".tax_rates", + "TaxRatesRetrieveRequestExpandItem": ".tax_rates", "TrackingCategoriesListRequestCategoryType": ".tracking_categories", + "TrackingCategoriesListRequestExpandItem": ".tracking_categories", + "TrackingCategoriesListRequestRemoteFields": ".tracking_categories", + "TrackingCategoriesListRequestShowEnumOrigins": ".tracking_categories", "TrackingCategoriesListRequestStatus": ".tracking_categories", - "TransactionsListRequestExpand": ".transactions", - "TransactionsRetrieveRequestExpand": ".transactions", - "VendorCreditsListRequestExpand": ".vendor_credits", - "VendorCreditsRetrieveRequestExpand": ".vendor_credits", - "account_details": ".", - "account_token": ".", - "accounting_periods": ".", - "accounts": ".", - "addresses": ".", - "async_passthrough": ".", - "async_tasks": ".", - "attachments": ".", - "audit_trail": ".", - "available_actions": ".", - "balance_sheets": ".", - "bank_feed_accounts": ".", - "bank_feed_transactions": ".", - "cash_flow_statements": ".", - "company_info": ".", - "contacts": ".", - "credit_notes": ".", - "delete_account": ".", - "employees": ".", - "expense_reports": ".", - "expenses": ".", - "field_mapping": ".", - "force_resync": ".", - "general_ledger_transactions": ".", - "generate_key": ".", - "income_statements": ".", - "invoices": ".", - "issues": ".", - "items": ".", - "journal_entries": ".", - "link_token": ".", - "linked_accounts": ".", - "passthrough": ".", - "payment_methods": ".", - "payment_terms": ".", - "payments": ".", - "phone_numbers": ".", - "projects": ".", - "purchase_orders": ".", - "regenerate_key": ".", - "scopes": ".", - "sync_status": ".", - "tax_rates": ".", - "tracking_categories": ".", - "transactions": ".", - "vendor_credits": ".", - "webhook_receivers": ".", + "TrackingCategoriesRetrieveRequestExpandItem": ".tracking_categories", + "TrackingCategoriesRetrieveRequestRemoteFields": ".tracking_categories", + "TrackingCategoriesRetrieveRequestShowEnumOrigins": ".tracking_categories", + "TransactionsListRequestExpandItem": ".transactions", + "TransactionsRetrieveRequestExpandItem": ".transactions", + "VendorCreditsListRequestExpandItem": ".vendor_credits", + "VendorCreditsRetrieveRequestExpandItem": ".vendor_credits", + "account_details": ".account_details", + "account_token": ".account_token", + "accounting_periods": ".accounting_periods", + "accounts": ".accounts", + "addresses": ".addresses", + "async_passthrough": ".async_passthrough", + "async_tasks": ".async_tasks", + "attachments": ".attachments", + "audit_trail": ".audit_trail", + "available_actions": ".available_actions", + "balance_sheets": ".balance_sheets", + "bank_feed_accounts": ".bank_feed_accounts", + "bank_feed_transactions": ".bank_feed_transactions", + "cash_flow_statements": ".cash_flow_statements", + "company_info": ".company_info", + "contacts": ".contacts", + "credit_notes": ".credit_notes", + "delete_account": ".delete_account", + "employees": ".employees", + "expenses": ".expenses", + "field_mapping": ".field_mapping", + "force_resync": ".force_resync", + "general_ledger_transactions": ".general_ledger_transactions", + "generate_key": ".generate_key", + "income_statements": ".income_statements", + "invoices": ".invoices", + "issues": ".issues", + "items": ".items", + "journal_entries": ".journal_entries", + "link_token": ".link_token", + "linked_accounts": ".linked_accounts", + "passthrough": ".passthrough", + "payment_methods": ".payment_methods", + "payment_terms": ".payment_terms", + "payments": ".payments", + "phone_numbers": ".phone_numbers", + "projects": ".projects", + "purchase_orders": ".purchase_orders", + "regenerate_key": ".regenerate_key", + "scopes": ".scopes", + "sync_status": ".sync_status", + "tax_rates": ".tax_rates", + "tracking_categories": ".tracking_categories", + "transactions": ".transactions", + "vendor_credits": ".vendor_credits", + "webhook_receivers": ".webhook_receivers", } @@ -206,8 +287,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -221,53 +304,90 @@ def __dir__(): __all__ = [ "AccountsListRequestClassification", + "AccountsListRequestExpandItem", "AccountsListRequestRemoteFields", "AccountsListRequestShowEnumOrigins", "AccountsListRequestStatus", + "AccountsRetrieveRequestExpandItem", "AccountsRetrieveRequestRemoteFields", "AccountsRetrieveRequestShowEnumOrigins", + "AddressesRetrieveRequestRemoteFields", + "AddressesRetrieveRequestShowEnumOrigins", "AsyncPassthroughRetrieveResponse", - "CompanyInfoListRequestExpand", - "CompanyInfoRetrieveRequestExpand", - "ContactsListRequestExpand", + "BalanceSheetsListRequestExpandItem", + "BalanceSheetsRetrieveRequestExpandItem", + "BankFeedTransactionsListRequestExpandItem", + "BankFeedTransactionsRetrieveRequestExpandItem", + "CashFlowStatementsListRequestExpandItem", + "CashFlowStatementsRetrieveRequestExpandItem", + "CompanyInfoListRequestExpandItem", + "CompanyInfoRetrieveRequestExpandItem", + "ContactsListRequestExpandItem", + "ContactsListRequestRemoteFields", + "ContactsListRequestShowEnumOrigins", "ContactsListRequestStatus", - "ContactsRetrieveRequestExpand", - "CreditNotesListRequestExpand", + "ContactsRetrieveRequestExpandItem", + "ContactsRetrieveRequestRemoteFields", + "ContactsRetrieveRequestShowEnumOrigins", + "CreditNotesListRequestExpandItem", "CreditNotesListRequestRemoteFields", "CreditNotesListRequestShowEnumOrigins", - "CreditNotesRetrieveRequestExpand", + "CreditNotesRetrieveRequestExpandItem", "CreditNotesRetrieveRequestRemoteFields", "CreditNotesRetrieveRequestShowEnumOrigins", + "EmployeesListRequestExpandItem", + "EmployeesRetrieveRequestExpandItem", "EndUserDetailsRequestLanguage", - "ExpenseReportsLinesListRequestExpand", - "ExpenseReportsListRequestExpand", - "ExpenseReportsRetrieveRequestExpand", - "ExpensesListRequestExpand", - "ExpensesRetrieveRequestExpand", - "GeneralLedgerTransactionsListRequestExpand", - "GeneralLedgerTransactionsRetrieveRequestExpand", - "InvoicesListRequestExpand", + "ExpensesListRequestExpandItem", + "ExpensesRetrieveRequestExpandItem", + "GeneralLedgerTransactionsListRequestExpandItem", + "GeneralLedgerTransactionsRetrieveRequestExpandItem", + "IncomeStatementsListRequestExpandItem", + "IncomeStatementsRetrieveRequestExpandItem", + "InvoicesListRequestExpandItem", + "InvoicesListRequestRemoteFields", + "InvoicesListRequestShowEnumOrigins", "InvoicesListRequestStatus", "InvoicesListRequestType", - "InvoicesRetrieveRequestExpand", + "InvoicesRetrieveRequestExpandItem", + "InvoicesRetrieveRequestRemoteFields", + "InvoicesRetrieveRequestShowEnumOrigins", "IssuesListRequestStatus", - "ItemsListRequestExpand", - "ItemsRetrieveRequestExpand", - "JournalEntriesListRequestExpand", - "JournalEntriesRetrieveRequestExpand", + "ItemsListRequestExpandItem", + "ItemsListRequestRemoteFields", + "ItemsListRequestShowEnumOrigins", + "ItemsRetrieveRequestExpandItem", + "ItemsRetrieveRequestRemoteFields", + "ItemsRetrieveRequestShowEnumOrigins", + "JournalEntriesListRequestExpandItem", + "JournalEntriesRetrieveRequestExpandItem", "LinkedAccountsListRequestCategory", - "PaymentsListRequestExpand", - "PaymentsRetrieveRequestExpand", - "ProjectsListRequestExpand", - "ProjectsRetrieveRequestExpand", - "PurchaseOrdersListRequestExpand", - "PurchaseOrdersRetrieveRequestExpand", + "PaymentTermsListRequestExpandItem", + "PaymentTermsRetrieveRequestExpandItem", + "PaymentsListRequestExpandItem", + "PaymentsRetrieveRequestExpandItem", + "ProjectsListRequestExpandItem", + "ProjectsRetrieveRequestExpandItem", + "PurchaseOrdersListRequestExpandItem", + "PurchaseOrdersListRequestRemoteFields", + "PurchaseOrdersListRequestShowEnumOrigins", + "PurchaseOrdersRetrieveRequestExpandItem", + "PurchaseOrdersRetrieveRequestRemoteFields", + "PurchaseOrdersRetrieveRequestShowEnumOrigins", + "TaxRatesListRequestExpandItem", + "TaxRatesRetrieveRequestExpandItem", "TrackingCategoriesListRequestCategoryType", + "TrackingCategoriesListRequestExpandItem", + "TrackingCategoriesListRequestRemoteFields", + "TrackingCategoriesListRequestShowEnumOrigins", "TrackingCategoriesListRequestStatus", - "TransactionsListRequestExpand", - "TransactionsRetrieveRequestExpand", - "VendorCreditsListRequestExpand", - "VendorCreditsRetrieveRequestExpand", + "TrackingCategoriesRetrieveRequestExpandItem", + "TrackingCategoriesRetrieveRequestRemoteFields", + "TrackingCategoriesRetrieveRequestShowEnumOrigins", + "TransactionsListRequestExpandItem", + "TransactionsRetrieveRequestExpandItem", + "VendorCreditsListRequestExpandItem", + "VendorCreditsRetrieveRequestExpandItem", "account_details", "account_token", "accounting_periods", @@ -287,7 +407,6 @@ def __dir__(): "credit_notes", "delete_account", "employees", - "expense_reports", "expenses", "field_mapping", "force_resync", diff --git a/src/merge/resources/accounting/resources/accounting_periods/client.py b/src/merge/resources/accounting/resources/accounting_periods/client.py index 6bf4adb9..d877648f 100644 --- a/src/merge/resources/accounting/resources/accounting_periods/client.py +++ b/src/merge/resources/accounting/resources/accounting_periods/client.py @@ -3,6 +3,7 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.accounting_period import AccountingPeriod from ...types.paginated_accounting_period_list import PaginatedAccountingPeriodList @@ -33,7 +34,7 @@ def list( include_shell_data: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAccountingPeriodList: + ) -> SyncPager[AccountingPeriod, PaginatedAccountingPeriodList]: """ Returns a list of `AccountingPeriod` objects. @@ -59,7 +60,7 @@ def list( Returns ------- - PaginatedAccountingPeriodList + SyncPager[AccountingPeriod, PaginatedAccountingPeriodList] Examples @@ -70,15 +71,16 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.accounting_periods.list( + response = client.accounting.accounting_periods.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - page_size=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -86,7 +88,6 @@ def list( page_size=page_size, request_options=request_options, ) - return _response.data def retrieve( self, @@ -127,8 +128,6 @@ def retrieve( ) client.accounting.accounting_periods.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) """ _response = self._raw_client.retrieve( @@ -164,7 +163,7 @@ async def list( include_shell_data: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAccountingPeriodList: + ) -> AsyncPager[AccountingPeriod, PaginatedAccountingPeriodList]: """ Returns a list of `AccountingPeriod` objects. @@ -190,7 +189,7 @@ async def list( Returns ------- - PaginatedAccountingPeriodList + AsyncPager[AccountingPeriod, PaginatedAccountingPeriodList] Examples @@ -206,18 +205,20 @@ async def list( async def main() -> None: - await client.accounting.accounting_periods.list( + response = await client.accounting.accounting_periods.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - page_size=1, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -225,7 +226,6 @@ async def main() -> None: page_size=page_size, request_options=request_options, ) - return _response.data async def retrieve( self, @@ -271,8 +271,6 @@ async def retrieve( async def main() -> None: await client.accounting.accounting_periods.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) diff --git a/src/merge/resources/accounting/resources/accounting_periods/raw_client.py b/src/merge/resources/accounting/resources/accounting_periods/raw_client.py index 08e2b4e3..99dcb16f 100644 --- a/src/merge/resources/accounting/resources/accounting_periods/raw_client.py +++ b/src/merge/resources/accounting/resources/accounting_periods/raw_client.py @@ -7,6 +7,7 @@ from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.accounting_period import AccountingPeriod @@ -26,7 +27,7 @@ def list( include_shell_data: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedAccountingPeriodList]: + ) -> SyncPager[AccountingPeriod, PaginatedAccountingPeriodList]: """ Returns a list of `AccountingPeriod` objects. @@ -52,7 +53,7 @@ def list( Returns ------- - HttpResponse[PaginatedAccountingPeriodList] + SyncPager[AccountingPeriod, PaginatedAccountingPeriodList] """ _response = self._client_wrapper.httpx_client.request( @@ -69,14 +70,25 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAccountingPeriodList, construct_type( type_=PaginatedAccountingPeriodList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + page_size=page_size, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -149,7 +161,7 @@ async def list( include_shell_data: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedAccountingPeriodList]: + ) -> AsyncPager[AccountingPeriod, PaginatedAccountingPeriodList]: """ Returns a list of `AccountingPeriod` objects. @@ -175,7 +187,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedAccountingPeriodList] + AsyncPager[AccountingPeriod, PaginatedAccountingPeriodList] """ _response = await self._client_wrapper.httpx_client.request( @@ -192,14 +204,28 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAccountingPeriodList, construct_type( type_=PaginatedAccountingPeriodList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/accounting/resources/accounts/__init__.py b/src/merge/resources/accounting/resources/accounts/__init__.py index bee926eb..1e4fc379 100644 --- a/src/merge/resources/accounting/resources/accounts/__init__.py +++ b/src/merge/resources/accounting/resources/accounts/__init__.py @@ -8,17 +8,21 @@ if typing.TYPE_CHECKING: from .types import ( AccountsListRequestClassification, + AccountsListRequestExpandItem, AccountsListRequestRemoteFields, AccountsListRequestShowEnumOrigins, AccountsListRequestStatus, + AccountsRetrieveRequestExpandItem, AccountsRetrieveRequestRemoteFields, AccountsRetrieveRequestShowEnumOrigins, ) _dynamic_imports: typing.Dict[str, str] = { "AccountsListRequestClassification": ".types", + "AccountsListRequestExpandItem": ".types", "AccountsListRequestRemoteFields": ".types", "AccountsListRequestShowEnumOrigins": ".types", "AccountsListRequestStatus": ".types", + "AccountsRetrieveRequestExpandItem": ".types", "AccountsRetrieveRequestRemoteFields": ".types", "AccountsRetrieveRequestShowEnumOrigins": ".types", } @@ -30,8 +34,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -45,9 +51,11 @@ def __dir__(): __all__ = [ "AccountsListRequestClassification", + "AccountsListRequestExpandItem", "AccountsListRequestRemoteFields", "AccountsListRequestShowEnumOrigins", "AccountsListRequestStatus", + "AccountsRetrieveRequestExpandItem", "AccountsRetrieveRequestRemoteFields", "AccountsRetrieveRequestShowEnumOrigins", ] diff --git a/src/merge/resources/accounting/resources/accounts/client.py b/src/merge/resources/accounting/resources/accounts/client.py index e0354f59..d2b52390 100644 --- a/src/merge/resources/accounting/resources/accounts/client.py +++ b/src/merge/resources/accounting/resources/accounts/client.py @@ -4,6 +4,7 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.account import Account from ...types.account_request import AccountRequest @@ -12,9 +13,11 @@ from ...types.paginated_account_list import PaginatedAccountList from .raw_client import AsyncRawAccountsClient, RawAccountsClient from .types.accounts_list_request_classification import AccountsListRequestClassification +from .types.accounts_list_request_expand_item import AccountsListRequestExpandItem from .types.accounts_list_request_remote_fields import AccountsListRequestRemoteFields from .types.accounts_list_request_show_enum_origins import AccountsListRequestShowEnumOrigins from .types.accounts_list_request_status import AccountsListRequestStatus +from .types.accounts_retrieve_request_expand_item import AccountsRetrieveRequestExpandItem from .types.accounts_retrieve_request_remote_fields import AccountsRetrieveRequestRemoteFields from .types.accounts_retrieve_request_show_enum_origins import AccountsRetrieveRequestShowEnumOrigins @@ -46,7 +49,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[AccountsListRequestExpandItem, typing.Sequence[AccountsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -59,7 +64,7 @@ def list( show_enum_origins: typing.Optional[AccountsListRequestShowEnumOrigins] = None, status: typing.Optional[AccountsListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAccountList: + ) -> SyncPager[Account, PaginatedAccountList]: """ Returns a list of `Account` objects. @@ -83,7 +88,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[AccountsListRequestExpandItem, typing.Sequence[AccountsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -124,54 +129,27 @@ def list( Returns ------- - PaginatedAccountList + SyncPager[Account, PaginatedAccountList] Examples -------- - import datetime - from merge import Merge - from merge.resources.accounting.resources.accounts import ( - AccountsListRequestClassification, - AccountsListRequestRemoteFields, - AccountsListRequestShowEnumOrigins, - AccountsListRequestStatus, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.accounts.list( - account_type="account_type", - classification=AccountsListRequestClassification.EMPTY, - company_id="company_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = client.accounting.accounts.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - name="name", - page_size=1, - remote_fields=AccountsListRequestRemoteFields.CLASSIFICATION, - remote_id="remote_id", - show_enum_origins=AccountsListRequestShowEnumOrigins.CLASSIFICATION, - status=AccountsListRequestStatus.EMPTY, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( account_type=account_type, classification=classification, company_id=company_id, @@ -192,7 +170,6 @@ def list( status=status, request_options=request_options, ) - return _response.data def create( self, @@ -233,8 +210,6 @@ def create( api_key="YOUR_API_KEY", ) client.accounting.accounts.create( - is_debug_mode=True, - run_async=True, model=AccountRequest(), ) """ @@ -247,7 +222,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[AccountsRetrieveRequestExpandItem, typing.Sequence[AccountsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[AccountsRetrieveRequestRemoteFields] = None, @@ -261,7 +238,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[AccountsRetrieveRequestExpandItem, typing.Sequence[AccountsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -287,10 +264,6 @@ def retrieve( Examples -------- from merge import Merge - from merge.resources.accounting.resources.accounts import ( - AccountsRetrieveRequestRemoteFields, - AccountsRetrieveRequestShowEnumOrigins, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -298,10 +271,6 @@ def retrieve( ) client.accounting.accounts.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, - remote_fields=AccountsRetrieveRequestRemoteFields.CLASSIFICATION, - show_enum_origins=AccountsRetrieveRequestShowEnumOrigins.CLASSIFICATION, ) """ _response = self._raw_client.retrieve( @@ -367,7 +336,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[AccountsListRequestExpandItem, typing.Sequence[AccountsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -380,7 +351,7 @@ async def list( show_enum_origins: typing.Optional[AccountsListRequestShowEnumOrigins] = None, status: typing.Optional[AccountsListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAccountList: + ) -> AsyncPager[Account, PaginatedAccountList]: """ Returns a list of `Account` objects. @@ -404,7 +375,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[AccountsListRequestExpandItem, typing.Sequence[AccountsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -445,21 +416,14 @@ async def list( Returns ------- - PaginatedAccountList + AsyncPager[Account, PaginatedAccountList] Examples -------- import asyncio - import datetime from merge import AsyncMerge - from merge.resources.accounting.resources.accounts import ( - AccountsListRequestClassification, - AccountsListRequestRemoteFields, - AccountsListRequestShowEnumOrigins, - AccountsListRequestStatus, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -468,38 +432,20 @@ async def list( async def main() -> None: - await client.accounting.accounts.list( - account_type="account_type", - classification=AccountsListRequestClassification.EMPTY, - company_id="company_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = await client.accounting.accounts.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - name="name", - page_size=1, - remote_fields=AccountsListRequestRemoteFields.CLASSIFICATION, - remote_id="remote_id", - show_enum_origins=AccountsListRequestShowEnumOrigins.CLASSIFICATION, - status=AccountsListRequestStatus.EMPTY, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( account_type=account_type, classification=classification, company_id=company_id, @@ -520,7 +466,6 @@ async def main() -> None: status=status, request_options=request_options, ) - return _response.data async def create( self, @@ -566,8 +511,6 @@ async def create( async def main() -> None: await client.accounting.accounts.create( - is_debug_mode=True, - run_async=True, model=AccountRequest(), ) @@ -583,7 +526,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[AccountsRetrieveRequestExpandItem, typing.Sequence[AccountsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[AccountsRetrieveRequestRemoteFields] = None, @@ -597,7 +542,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[AccountsRetrieveRequestExpandItem, typing.Sequence[AccountsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -625,10 +570,6 @@ async def retrieve( import asyncio from merge import AsyncMerge - from merge.resources.accounting.resources.accounts import ( - AccountsRetrieveRequestRemoteFields, - AccountsRetrieveRequestShowEnumOrigins, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -639,10 +580,6 @@ async def retrieve( async def main() -> None: await client.accounting.accounts.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, - remote_fields=AccountsRetrieveRequestRemoteFields.CLASSIFICATION, - show_enum_origins=AccountsRetrieveRequestShowEnumOrigins.CLASSIFICATION, ) diff --git a/src/merge/resources/accounting/resources/accounts/raw_client.py b/src/merge/resources/accounting/resources/accounts/raw_client.py index a2b127ea..d6e9f368 100644 --- a/src/merge/resources/accounting/resources/accounts/raw_client.py +++ b/src/merge/resources/accounting/resources/accounts/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.account import Account @@ -17,9 +18,11 @@ from ...types.meta_response import MetaResponse from ...types.paginated_account_list import PaginatedAccountList from .types.accounts_list_request_classification import AccountsListRequestClassification +from .types.accounts_list_request_expand_item import AccountsListRequestExpandItem from .types.accounts_list_request_remote_fields import AccountsListRequestRemoteFields from .types.accounts_list_request_show_enum_origins import AccountsListRequestShowEnumOrigins from .types.accounts_list_request_status import AccountsListRequestStatus +from .types.accounts_retrieve_request_expand_item import AccountsRetrieveRequestExpandItem from .types.accounts_retrieve_request_remote_fields import AccountsRetrieveRequestRemoteFields from .types.accounts_retrieve_request_show_enum_origins import AccountsRetrieveRequestShowEnumOrigins @@ -40,7 +43,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[AccountsListRequestExpandItem, typing.Sequence[AccountsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -53,7 +58,7 @@ def list( show_enum_origins: typing.Optional[AccountsListRequestShowEnumOrigins] = None, status: typing.Optional[AccountsListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedAccountList]: + ) -> SyncPager[Account, PaginatedAccountList]: """ Returns a list of `Account` objects. @@ -77,7 +82,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[AccountsListRequestExpandItem, typing.Sequence[AccountsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -118,7 +123,7 @@ def list( Returns ------- - HttpResponse[PaginatedAccountList] + SyncPager[Account, PaginatedAccountList] """ _response = self._client_wrapper.httpx_client.request( @@ -148,14 +153,38 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAccountList, construct_type( type_=PaginatedAccountList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + account_type=account_type, + classification=classification, + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + name=name, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + status=status, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -225,7 +254,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[AccountsRetrieveRequestExpandItem, typing.Sequence[AccountsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[AccountsRetrieveRequestRemoteFields] = None, @@ -239,7 +270,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[AccountsRetrieveRequestExpandItem, typing.Sequence[AccountsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -339,7 +370,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[AccountsListRequestExpandItem, typing.Sequence[AccountsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -352,7 +385,7 @@ async def list( show_enum_origins: typing.Optional[AccountsListRequestShowEnumOrigins] = None, status: typing.Optional[AccountsListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedAccountList]: + ) -> AsyncPager[Account, PaginatedAccountList]: """ Returns a list of `Account` objects. @@ -376,7 +409,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[AccountsListRequestExpandItem, typing.Sequence[AccountsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -417,7 +450,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedAccountList] + AsyncPager[Account, PaginatedAccountList] """ _response = await self._client_wrapper.httpx_client.request( @@ -447,14 +480,41 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAccountList, construct_type( type_=PaginatedAccountList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + account_type=account_type, + classification=classification, + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + name=name, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + status=status, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -524,7 +584,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[AccountsRetrieveRequestExpandItem, typing.Sequence[AccountsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[AccountsRetrieveRequestRemoteFields] = None, @@ -538,7 +600,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[AccountsRetrieveRequestExpandItem, typing.Sequence[AccountsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/accounting/resources/accounts/types/__init__.py b/src/merge/resources/accounting/resources/accounts/types/__init__.py index 61dd5434..68d4b39e 100644 --- a/src/merge/resources/accounting/resources/accounts/types/__init__.py +++ b/src/merge/resources/accounting/resources/accounts/types/__init__.py @@ -7,16 +7,20 @@ if typing.TYPE_CHECKING: from .accounts_list_request_classification import AccountsListRequestClassification + from .accounts_list_request_expand_item import AccountsListRequestExpandItem from .accounts_list_request_remote_fields import AccountsListRequestRemoteFields from .accounts_list_request_show_enum_origins import AccountsListRequestShowEnumOrigins from .accounts_list_request_status import AccountsListRequestStatus + from .accounts_retrieve_request_expand_item import AccountsRetrieveRequestExpandItem from .accounts_retrieve_request_remote_fields import AccountsRetrieveRequestRemoteFields from .accounts_retrieve_request_show_enum_origins import AccountsRetrieveRequestShowEnumOrigins _dynamic_imports: typing.Dict[str, str] = { "AccountsListRequestClassification": ".accounts_list_request_classification", + "AccountsListRequestExpandItem": ".accounts_list_request_expand_item", "AccountsListRequestRemoteFields": ".accounts_list_request_remote_fields", "AccountsListRequestShowEnumOrigins": ".accounts_list_request_show_enum_origins", "AccountsListRequestStatus": ".accounts_list_request_status", + "AccountsRetrieveRequestExpandItem": ".accounts_retrieve_request_expand_item", "AccountsRetrieveRequestRemoteFields": ".accounts_retrieve_request_remote_fields", "AccountsRetrieveRequestShowEnumOrigins": ".accounts_retrieve_request_show_enum_origins", } @@ -28,8 +32,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -43,9 +49,11 @@ def __dir__(): __all__ = [ "AccountsListRequestClassification", + "AccountsListRequestExpandItem", "AccountsListRequestRemoteFields", "AccountsListRequestShowEnumOrigins", "AccountsListRequestStatus", + "AccountsRetrieveRequestExpandItem", "AccountsRetrieveRequestRemoteFields", "AccountsRetrieveRequestShowEnumOrigins", ] diff --git a/src/merge/resources/accounting/resources/accounts/types/accounts_list_request_expand_item.py b/src/merge/resources/accounting/resources/accounts/types/accounts_list_request_expand_item.py new file mode 100644 index 00000000..4c1b8996 --- /dev/null +++ b/src/merge/resources/accounting/resources/accounts/types/accounts_list_request_expand_item.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class AccountsListRequestExpandItem(str, enum.Enum): + COMPANY = "company" + + def visit(self, company: typing.Callable[[], T_Result]) -> T_Result: + if self is AccountsListRequestExpandItem.COMPANY: + return company() diff --git a/src/merge/resources/accounting/resources/accounts/types/accounts_retrieve_request_expand_item.py b/src/merge/resources/accounting/resources/accounts/types/accounts_retrieve_request_expand_item.py new file mode 100644 index 00000000..39c1564b --- /dev/null +++ b/src/merge/resources/accounting/resources/accounts/types/accounts_retrieve_request_expand_item.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class AccountsRetrieveRequestExpandItem(str, enum.Enum): + COMPANY = "company" + + def visit(self, company: typing.Callable[[], T_Result]) -> T_Result: + if self is AccountsRetrieveRequestExpandItem.COMPANY: + return company() diff --git a/src/merge/resources/accounting/resources/addresses/__init__.py b/src/merge/resources/accounting/resources/addresses/__init__.py index 5cde0202..0de44d47 100644 --- a/src/merge/resources/accounting/resources/addresses/__init__.py +++ b/src/merge/resources/accounting/resources/addresses/__init__.py @@ -2,3 +2,36 @@ # isort: skip_file +import typing +from importlib import import_module + +if typing.TYPE_CHECKING: + from .types import AddressesRetrieveRequestRemoteFields, AddressesRetrieveRequestShowEnumOrigins +_dynamic_imports: typing.Dict[str, str] = { + "AddressesRetrieveRequestRemoteFields": ".types", + "AddressesRetrieveRequestShowEnumOrigins": ".types", +} + + +def __getattr__(attr_name: str) -> typing.Any: + module_name = _dynamic_imports.get(attr_name) + if module_name is None: + raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") + try: + module = import_module(module_name, __package__) + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) + except ImportError as e: + raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e + except AttributeError as e: + raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e + + +def __dir__(): + lazy_attrs = list(_dynamic_imports.keys()) + return sorted(lazy_attrs) + + +__all__ = ["AddressesRetrieveRequestRemoteFields", "AddressesRetrieveRequestShowEnumOrigins"] diff --git a/src/merge/resources/accounting/resources/addresses/client.py b/src/merge/resources/accounting/resources/addresses/client.py index aa72613d..93063cff 100644 --- a/src/merge/resources/accounting/resources/addresses/client.py +++ b/src/merge/resources/accounting/resources/addresses/client.py @@ -6,6 +6,8 @@ from .....core.request_options import RequestOptions from ...types.address import Address from .raw_client import AsyncRawAddressesClient, RawAddressesClient +from .types.addresses_retrieve_request_remote_fields import AddressesRetrieveRequestRemoteFields +from .types.addresses_retrieve_request_show_enum_origins import AddressesRetrieveRequestShowEnumOrigins class AddressesClient: @@ -29,8 +31,8 @@ def retrieve( *, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - remote_fields: typing.Optional[typing.Literal["type"]] = None, - show_enum_origins: typing.Optional[typing.Literal["type"]] = None, + remote_fields: typing.Optional[AddressesRetrieveRequestRemoteFields] = None, + show_enum_origins: typing.Optional[AddressesRetrieveRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, ) -> Address: """ @@ -46,10 +48,10 @@ def retrieve( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - remote_fields : typing.Optional[typing.Literal["type"]] + remote_fields : typing.Optional[AddressesRetrieveRequestRemoteFields] Deprecated. Use show_enum_origins. - show_enum_origins : typing.Optional[typing.Literal["type"]] + show_enum_origins : typing.Optional[AddressesRetrieveRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -70,8 +72,6 @@ def retrieve( ) client.accounting.addresses.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) """ _response = self._raw_client.retrieve( @@ -106,8 +106,8 @@ async def retrieve( *, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - remote_fields: typing.Optional[typing.Literal["type"]] = None, - show_enum_origins: typing.Optional[typing.Literal["type"]] = None, + remote_fields: typing.Optional[AddressesRetrieveRequestRemoteFields] = None, + show_enum_origins: typing.Optional[AddressesRetrieveRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, ) -> Address: """ @@ -123,10 +123,10 @@ async def retrieve( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - remote_fields : typing.Optional[typing.Literal["type"]] + remote_fields : typing.Optional[AddressesRetrieveRequestRemoteFields] Deprecated. Use show_enum_origins. - show_enum_origins : typing.Optional[typing.Literal["type"]] + show_enum_origins : typing.Optional[AddressesRetrieveRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -152,8 +152,6 @@ async def retrieve( async def main() -> None: await client.accounting.addresses.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) diff --git a/src/merge/resources/accounting/resources/addresses/raw_client.py b/src/merge/resources/accounting/resources/addresses/raw_client.py index 1c6fc0b8..7ea80c81 100644 --- a/src/merge/resources/accounting/resources/addresses/raw_client.py +++ b/src/merge/resources/accounting/resources/addresses/raw_client.py @@ -10,6 +10,8 @@ from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.address import Address +from .types.addresses_retrieve_request_remote_fields import AddressesRetrieveRequestRemoteFields +from .types.addresses_retrieve_request_show_enum_origins import AddressesRetrieveRequestShowEnumOrigins class RawAddressesClient: @@ -22,8 +24,8 @@ def retrieve( *, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - remote_fields: typing.Optional[typing.Literal["type"]] = None, - show_enum_origins: typing.Optional[typing.Literal["type"]] = None, + remote_fields: typing.Optional[AddressesRetrieveRequestRemoteFields] = None, + show_enum_origins: typing.Optional[AddressesRetrieveRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[Address]: """ @@ -39,10 +41,10 @@ def retrieve( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - remote_fields : typing.Optional[typing.Literal["type"]] + remote_fields : typing.Optional[AddressesRetrieveRequestRemoteFields] Deprecated. Use show_enum_origins. - show_enum_origins : typing.Optional[typing.Literal["type"]] + show_enum_origins : typing.Optional[AddressesRetrieveRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -90,8 +92,8 @@ async def retrieve( *, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - remote_fields: typing.Optional[typing.Literal["type"]] = None, - show_enum_origins: typing.Optional[typing.Literal["type"]] = None, + remote_fields: typing.Optional[AddressesRetrieveRequestRemoteFields] = None, + show_enum_origins: typing.Optional[AddressesRetrieveRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[Address]: """ @@ -107,10 +109,10 @@ async def retrieve( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - remote_fields : typing.Optional[typing.Literal["type"]] + remote_fields : typing.Optional[AddressesRetrieveRequestRemoteFields] Deprecated. Use show_enum_origins. - show_enum_origins : typing.Optional[typing.Literal["type"]] + show_enum_origins : typing.Optional[AddressesRetrieveRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] diff --git a/src/merge/resources/accounting/resources/addresses/types/__init__.py b/src/merge/resources/accounting/resources/addresses/types/__init__.py new file mode 100644 index 00000000..c8274eeb --- /dev/null +++ b/src/merge/resources/accounting/resources/addresses/types/__init__.py @@ -0,0 +1,38 @@ +# This file was auto-generated by Fern from our API Definition. + +# isort: skip_file + +import typing +from importlib import import_module + +if typing.TYPE_CHECKING: + from .addresses_retrieve_request_remote_fields import AddressesRetrieveRequestRemoteFields + from .addresses_retrieve_request_show_enum_origins import AddressesRetrieveRequestShowEnumOrigins +_dynamic_imports: typing.Dict[str, str] = { + "AddressesRetrieveRequestRemoteFields": ".addresses_retrieve_request_remote_fields", + "AddressesRetrieveRequestShowEnumOrigins": ".addresses_retrieve_request_show_enum_origins", +} + + +def __getattr__(attr_name: str) -> typing.Any: + module_name = _dynamic_imports.get(attr_name) + if module_name is None: + raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") + try: + module = import_module(module_name, __package__) + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) + except ImportError as e: + raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e + except AttributeError as e: + raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e + + +def __dir__(): + lazy_attrs = list(_dynamic_imports.keys()) + return sorted(lazy_attrs) + + +__all__ = ["AddressesRetrieveRequestRemoteFields", "AddressesRetrieveRequestShowEnumOrigins"] diff --git a/src/merge/resources/accounting/resources/addresses/types/addresses_retrieve_request_remote_fields.py b/src/merge/resources/accounting/resources/addresses/types/addresses_retrieve_request_remote_fields.py new file mode 100644 index 00000000..4c68d0ce --- /dev/null +++ b/src/merge/resources/accounting/resources/addresses/types/addresses_retrieve_request_remote_fields.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class AddressesRetrieveRequestRemoteFields(str, enum.Enum): + TYPE = "type" + + def visit(self, type: typing.Callable[[], T_Result]) -> T_Result: + if self is AddressesRetrieveRequestRemoteFields.TYPE: + return type() diff --git a/src/merge/resources/accounting/resources/addresses/types/addresses_retrieve_request_show_enum_origins.py b/src/merge/resources/accounting/resources/addresses/types/addresses_retrieve_request_show_enum_origins.py new file mode 100644 index 00000000..bd9b0a6e --- /dev/null +++ b/src/merge/resources/accounting/resources/addresses/types/addresses_retrieve_request_show_enum_origins.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class AddressesRetrieveRequestShowEnumOrigins(str, enum.Enum): + TYPE = "type" + + def visit(self, type: typing.Callable[[], T_Result]) -> T_Result: + if self is AddressesRetrieveRequestShowEnumOrigins.TYPE: + return type() diff --git a/src/merge/resources/accounting/resources/async_passthrough/__init__.py b/src/merge/resources/accounting/resources/async_passthrough/__init__.py index 375c7953..11090986 100644 --- a/src/merge/resources/accounting/resources/async_passthrough/__init__.py +++ b/src/merge/resources/accounting/resources/async_passthrough/__init__.py @@ -16,8 +16,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: diff --git a/src/merge/resources/accounting/resources/async_passthrough/types/__init__.py b/src/merge/resources/accounting/resources/async_passthrough/types/__init__.py index f6e9bec9..dc335400 100644 --- a/src/merge/resources/accounting/resources/async_passthrough/types/__init__.py +++ b/src/merge/resources/accounting/resources/async_passthrough/types/__init__.py @@ -16,8 +16,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: diff --git a/src/merge/resources/accounting/resources/attachments/client.py b/src/merge/resources/accounting/resources/attachments/client.py index 15c46c56..6ed08a23 100644 --- a/src/merge/resources/accounting/resources/attachments/client.py +++ b/src/merge/resources/accounting/resources/attachments/client.py @@ -4,6 +4,7 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.accounting_attachment import AccountingAttachment from ...types.accounting_attachment_request import AccountingAttachmentRequest @@ -46,7 +47,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAccountingAttachmentList: + ) -> SyncPager[AccountingAttachment, PaginatedAccountingAttachmentList]: """ Returns a list of `AccountingAttachment` objects. @@ -90,42 +91,27 @@ def list( Returns ------- - PaginatedAccountingAttachmentList + SyncPager[AccountingAttachment, PaginatedAccountingAttachmentList] Examples -------- - import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.attachments.list( - company_id="company_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = client.accounting.attachments.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -139,7 +125,6 @@ def list( remote_id=remote_id, request_options=request_options, ) - return _response.data def create( self, @@ -180,8 +165,6 @@ def create( api_key="YOUR_API_KEY", ) client.accounting.attachments.create( - is_debug_mode=True, - run_async=True, model=AccountingAttachmentRequest(), ) """ @@ -229,8 +212,6 @@ def retrieve( ) client.accounting.attachments.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) """ _response = self._raw_client.retrieve( @@ -299,7 +280,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAccountingAttachmentList: + ) -> AsyncPager[AccountingAttachment, PaginatedAccountingAttachmentList]: """ Returns a list of `AccountingAttachment` objects. @@ -343,13 +324,12 @@ async def list( Returns ------- - PaginatedAccountingAttachmentList + AsyncPager[AccountingAttachment, PaginatedAccountingAttachmentList] Examples -------- import asyncio - import datetime from merge import AsyncMerge @@ -360,32 +340,20 @@ async def list( async def main() -> None: - await client.accounting.attachments.list( - company_id="company_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = await client.accounting.attachments.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -399,7 +367,6 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def create( self, @@ -445,8 +412,6 @@ async def create( async def main() -> None: await client.accounting.attachments.create( - is_debug_mode=True, - run_async=True, model=AccountingAttachmentRequest(), ) @@ -502,8 +467,6 @@ async def retrieve( async def main() -> None: await client.accounting.attachments.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) diff --git a/src/merge/resources/accounting/resources/attachments/raw_client.py b/src/merge/resources/accounting/resources/attachments/raw_client.py index cd3fc403..849b36e4 100644 --- a/src/merge/resources/accounting/resources/attachments/raw_client.py +++ b/src/merge/resources/accounting/resources/attachments/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.accounting_attachment import AccountingAttachment @@ -40,7 +41,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedAccountingAttachmentList]: + ) -> SyncPager[AccountingAttachment, PaginatedAccountingAttachmentList]: """ Returns a list of `AccountingAttachment` objects. @@ -84,7 +85,7 @@ def list( Returns ------- - HttpResponse[PaginatedAccountingAttachmentList] + SyncPager[AccountingAttachment, PaginatedAccountingAttachmentList] """ _response = self._client_wrapper.httpx_client.request( @@ -107,14 +108,31 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAccountingAttachmentList, construct_type( type_=PaginatedAccountingAttachmentList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -289,7 +307,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedAccountingAttachmentList]: + ) -> AsyncPager[AccountingAttachment, PaginatedAccountingAttachmentList]: """ Returns a list of `AccountingAttachment` objects. @@ -333,7 +351,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedAccountingAttachmentList] + AsyncPager[AccountingAttachment, PaginatedAccountingAttachmentList] """ _response = await self._client_wrapper.httpx_client.request( @@ -356,14 +374,34 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAccountingAttachmentList, construct_type( type_=PaginatedAccountingAttachmentList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/accounting/resources/audit_trail/client.py b/src/merge/resources/accounting/resources/audit_trail/client.py index 71f803da..d4a0e900 100644 --- a/src/merge/resources/accounting/resources/audit_trail/client.py +++ b/src/merge/resources/accounting/resources/audit_trail/client.py @@ -3,7 +3,9 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions +from ...types.audit_log_event import AuditLogEvent from ...types.paginated_audit_log_event_list import PaginatedAuditLogEventList from .raw_client import AsyncRawAuditTrailClient, RawAuditTrailClient @@ -33,7 +35,7 @@ def list( start_date: typing.Optional[str] = None, user_email: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAuditLogEventList: + ) -> SyncPager[AuditLogEvent, PaginatedAuditLogEventList]: """ Gets a list of audit trail events. @@ -62,7 +64,7 @@ def list( Returns ------- - PaginatedAuditLogEventList + SyncPager[AuditLogEvent, PaginatedAuditLogEventList] Examples @@ -73,16 +75,16 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.audit_trail.list( + response = client.accounting.audit_trail.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_date="end_date", - event_type="event_type", - page_size=1, - start_date="start_date", - user_email="user_email", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( cursor=cursor, end_date=end_date, event_type=event_type, @@ -91,7 +93,6 @@ def list( user_email=user_email, request_options=request_options, ) - return _response.data class AsyncAuditTrailClient: @@ -119,7 +120,7 @@ async def list( start_date: typing.Optional[str] = None, user_email: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAuditLogEventList: + ) -> AsyncPager[AuditLogEvent, PaginatedAuditLogEventList]: """ Gets a list of audit trail events. @@ -148,7 +149,7 @@ async def list( Returns ------- - PaginatedAuditLogEventList + AsyncPager[AuditLogEvent, PaginatedAuditLogEventList] Examples @@ -164,19 +165,20 @@ async def list( async def main() -> None: - await client.accounting.audit_trail.list( + response = await client.accounting.audit_trail.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_date="end_date", - event_type="event_type", - page_size=1, - start_date="start_date", - user_email="user_email", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( cursor=cursor, end_date=end_date, event_type=event_type, @@ -185,4 +187,3 @@ async def main() -> None: user_email=user_email, request_options=request_options, ) - return _response.data diff --git a/src/merge/resources/accounting/resources/audit_trail/raw_client.py b/src/merge/resources/accounting/resources/audit_trail/raw_client.py index 02021d7c..fa2a0838 100644 --- a/src/merge/resources/accounting/resources/audit_trail/raw_client.py +++ b/src/merge/resources/accounting/resources/audit_trail/raw_client.py @@ -5,9 +5,10 @@ from .....core.api_error import ApiError from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type +from ...types.audit_log_event import AuditLogEvent from ...types.paginated_audit_log_event_list import PaginatedAuditLogEventList @@ -25,7 +26,7 @@ def list( start_date: typing.Optional[str] = None, user_email: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedAuditLogEventList]: + ) -> SyncPager[AuditLogEvent, PaginatedAuditLogEventList]: """ Gets a list of audit trail events. @@ -54,7 +55,7 @@ def list( Returns ------- - HttpResponse[PaginatedAuditLogEventList] + SyncPager[AuditLogEvent, PaginatedAuditLogEventList] """ _response = self._client_wrapper.httpx_client.request( @@ -72,14 +73,26 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAuditLogEventList, construct_type( type_=PaginatedAuditLogEventList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + cursor=_parsed_next, + end_date=end_date, + event_type=event_type, + page_size=page_size, + start_date=start_date, + user_email=user_email, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -100,7 +113,7 @@ async def list( start_date: typing.Optional[str] = None, user_email: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedAuditLogEventList]: + ) -> AsyncPager[AuditLogEvent, PaginatedAuditLogEventList]: """ Gets a list of audit trail events. @@ -129,7 +142,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedAuditLogEventList] + AsyncPager[AuditLogEvent, PaginatedAuditLogEventList] """ _response = await self._client_wrapper.httpx_client.request( @@ -147,14 +160,29 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAuditLogEventList, construct_type( type_=PaginatedAuditLogEventList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + cursor=_parsed_next, + end_date=end_date, + event_type=event_type, + page_size=page_size, + start_date=start_date, + user_email=user_email, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/accounting/resources/balance_sheets/__init__.py b/src/merge/resources/accounting/resources/balance_sheets/__init__.py index 5cde0202..04e13db1 100644 --- a/src/merge/resources/accounting/resources/balance_sheets/__init__.py +++ b/src/merge/resources/accounting/resources/balance_sheets/__init__.py @@ -2,3 +2,36 @@ # isort: skip_file +import typing +from importlib import import_module + +if typing.TYPE_CHECKING: + from .types import BalanceSheetsListRequestExpandItem, BalanceSheetsRetrieveRequestExpandItem +_dynamic_imports: typing.Dict[str, str] = { + "BalanceSheetsListRequestExpandItem": ".types", + "BalanceSheetsRetrieveRequestExpandItem": ".types", +} + + +def __getattr__(attr_name: str) -> typing.Any: + module_name = _dynamic_imports.get(attr_name) + if module_name is None: + raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") + try: + module = import_module(module_name, __package__) + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) + except ImportError as e: + raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e + except AttributeError as e: + raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e + + +def __dir__(): + lazy_attrs = list(_dynamic_imports.keys()) + return sorted(lazy_attrs) + + +__all__ = ["BalanceSheetsListRequestExpandItem", "BalanceSheetsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/accounting/resources/balance_sheets/client.py b/src/merge/resources/accounting/resources/balance_sheets/client.py index 61fbf4a3..40b92bb3 100644 --- a/src/merge/resources/accounting/resources/balance_sheets/client.py +++ b/src/merge/resources/accounting/resources/balance_sheets/client.py @@ -4,10 +4,13 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.balance_sheet import BalanceSheet from ...types.paginated_balance_sheet_list import PaginatedBalanceSheetList from .raw_client import AsyncRawBalanceSheetsClient, RawBalanceSheetsClient +from .types.balance_sheets_list_request_expand_item import BalanceSheetsListRequestExpandItem +from .types.balance_sheets_retrieve_request_expand_item import BalanceSheetsRetrieveRequestExpandItem class BalanceSheetsClient: @@ -32,7 +35,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[BalanceSheetsListRequestExpandItem, typing.Sequence[BalanceSheetsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -41,7 +46,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedBalanceSheetList: + ) -> SyncPager[BalanceSheet, PaginatedBalanceSheetList]: """ Returns a list of `BalanceSheet` objects. @@ -59,7 +64,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[BalanceSheetsListRequestExpandItem, typing.Sequence[BalanceSheetsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -88,42 +93,27 @@ def list( Returns ------- - PaginatedBalanceSheetList + SyncPager[BalanceSheet, PaginatedBalanceSheetList] Examples -------- - import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.balance_sheets.list( - company_id="company_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = client.accounting.balance_sheets.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -138,13 +128,16 @@ def list( remote_id=remote_id, request_options=request_options, ) - return _response.data def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[ + BalanceSheetsRetrieveRequestExpandItem, typing.Sequence[BalanceSheetsRetrieveRequestExpandItem] + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -156,7 +149,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[BalanceSheetsRetrieveRequestExpandItem, typing.Sequence[BalanceSheetsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -183,8 +176,6 @@ def retrieve( ) client.accounting.balance_sheets.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) """ _response = self._raw_client.retrieve( @@ -219,7 +210,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[BalanceSheetsListRequestExpandItem, typing.Sequence[BalanceSheetsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -228,7 +221,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedBalanceSheetList: + ) -> AsyncPager[BalanceSheet, PaginatedBalanceSheetList]: """ Returns a list of `BalanceSheet` objects. @@ -246,7 +239,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[BalanceSheetsListRequestExpandItem, typing.Sequence[BalanceSheetsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -275,13 +268,12 @@ async def list( Returns ------- - PaginatedBalanceSheetList + AsyncPager[BalanceSheet, PaginatedBalanceSheetList] Examples -------- import asyncio - import datetime from merge import AsyncMerge @@ -292,32 +284,20 @@ async def list( async def main() -> None: - await client.accounting.balance_sheets.list( - company_id="company_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = await client.accounting.balance_sheets.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -332,13 +312,16 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[ + BalanceSheetsRetrieveRequestExpandItem, typing.Sequence[BalanceSheetsRetrieveRequestExpandItem] + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -350,7 +333,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[BalanceSheetsRetrieveRequestExpandItem, typing.Sequence[BalanceSheetsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -382,8 +365,6 @@ async def retrieve( async def main() -> None: await client.accounting.balance_sheets.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) diff --git a/src/merge/resources/accounting/resources/balance_sheets/raw_client.py b/src/merge/resources/accounting/resources/balance_sheets/raw_client.py index b634d8d5..57351d10 100644 --- a/src/merge/resources/accounting/resources/balance_sheets/raw_client.py +++ b/src/merge/resources/accounting/resources/balance_sheets/raw_client.py @@ -9,10 +9,13 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.balance_sheet import BalanceSheet from ...types.paginated_balance_sheet_list import PaginatedBalanceSheetList +from .types.balance_sheets_list_request_expand_item import BalanceSheetsListRequestExpandItem +from .types.balance_sheets_retrieve_request_expand_item import BalanceSheetsRetrieveRequestExpandItem class RawBalanceSheetsClient: @@ -26,7 +29,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[BalanceSheetsListRequestExpandItem, typing.Sequence[BalanceSheetsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -35,7 +40,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedBalanceSheetList]: + ) -> SyncPager[BalanceSheet, PaginatedBalanceSheetList]: """ Returns a list of `BalanceSheet` objects. @@ -53,7 +58,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[BalanceSheetsListRequestExpandItem, typing.Sequence[BalanceSheetsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -82,7 +87,7 @@ def list( Returns ------- - HttpResponse[PaginatedBalanceSheetList] + SyncPager[BalanceSheet, PaginatedBalanceSheetList] """ _response = self._client_wrapper.httpx_client.request( @@ -106,14 +111,32 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedBalanceSheetList, construct_type( type_=PaginatedBalanceSheetList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -123,7 +146,11 @@ def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[ + BalanceSheetsRetrieveRequestExpandItem, typing.Sequence[BalanceSheetsRetrieveRequestExpandItem] + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -135,7 +162,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[BalanceSheetsRetrieveRequestExpandItem, typing.Sequence[BalanceSheetsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -189,7 +216,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[BalanceSheetsListRequestExpandItem, typing.Sequence[BalanceSheetsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -198,7 +227,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedBalanceSheetList]: + ) -> AsyncPager[BalanceSheet, PaginatedBalanceSheetList]: """ Returns a list of `BalanceSheet` objects. @@ -216,7 +245,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[BalanceSheetsListRequestExpandItem, typing.Sequence[BalanceSheetsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -245,7 +274,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedBalanceSheetList] + AsyncPager[BalanceSheet, PaginatedBalanceSheetList] """ _response = await self._client_wrapper.httpx_client.request( @@ -269,14 +298,35 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedBalanceSheetList, construct_type( type_=PaginatedBalanceSheetList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -286,7 +336,11 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[ + BalanceSheetsRetrieveRequestExpandItem, typing.Sequence[BalanceSheetsRetrieveRequestExpandItem] + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -298,7 +352,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[BalanceSheetsRetrieveRequestExpandItem, typing.Sequence[BalanceSheetsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/accounting/resources/balance_sheets/types/__init__.py b/src/merge/resources/accounting/resources/balance_sheets/types/__init__.py new file mode 100644 index 00000000..6ff8473c --- /dev/null +++ b/src/merge/resources/accounting/resources/balance_sheets/types/__init__.py @@ -0,0 +1,38 @@ +# This file was auto-generated by Fern from our API Definition. + +# isort: skip_file + +import typing +from importlib import import_module + +if typing.TYPE_CHECKING: + from .balance_sheets_list_request_expand_item import BalanceSheetsListRequestExpandItem + from .balance_sheets_retrieve_request_expand_item import BalanceSheetsRetrieveRequestExpandItem +_dynamic_imports: typing.Dict[str, str] = { + "BalanceSheetsListRequestExpandItem": ".balance_sheets_list_request_expand_item", + "BalanceSheetsRetrieveRequestExpandItem": ".balance_sheets_retrieve_request_expand_item", +} + + +def __getattr__(attr_name: str) -> typing.Any: + module_name = _dynamic_imports.get(attr_name) + if module_name is None: + raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") + try: + module = import_module(module_name, __package__) + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) + except ImportError as e: + raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e + except AttributeError as e: + raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e + + +def __dir__(): + lazy_attrs = list(_dynamic_imports.keys()) + return sorted(lazy_attrs) + + +__all__ = ["BalanceSheetsListRequestExpandItem", "BalanceSheetsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/accounting/resources/balance_sheets/types/balance_sheets_list_request_expand_item.py b/src/merge/resources/accounting/resources/balance_sheets/types/balance_sheets_list_request_expand_item.py new file mode 100644 index 00000000..00e40e39 --- /dev/null +++ b/src/merge/resources/accounting/resources/balance_sheets/types/balance_sheets_list_request_expand_item.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class BalanceSheetsListRequestExpandItem(str, enum.Enum): + COMPANY = "company" + + def visit(self, company: typing.Callable[[], T_Result]) -> T_Result: + if self is BalanceSheetsListRequestExpandItem.COMPANY: + return company() diff --git a/src/merge/resources/accounting/resources/balance_sheets/types/balance_sheets_retrieve_request_expand_item.py b/src/merge/resources/accounting/resources/balance_sheets/types/balance_sheets_retrieve_request_expand_item.py new file mode 100644 index 00000000..c103f4f2 --- /dev/null +++ b/src/merge/resources/accounting/resources/balance_sheets/types/balance_sheets_retrieve_request_expand_item.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class BalanceSheetsRetrieveRequestExpandItem(str, enum.Enum): + COMPANY = "company" + + def visit(self, company: typing.Callable[[], T_Result]) -> T_Result: + if self is BalanceSheetsRetrieveRequestExpandItem.COMPANY: + return company() diff --git a/src/merge/resources/accounting/resources/bank_feed_accounts/client.py b/src/merge/resources/accounting/resources/bank_feed_accounts/client.py index 5fa70be3..41fc7fda 100644 --- a/src/merge/resources/accounting/resources/bank_feed_accounts/client.py +++ b/src/merge/resources/accounting/resources/bank_feed_accounts/client.py @@ -3,6 +3,7 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.bank_feed_account import BankFeedAccount from ...types.bank_feed_account_request import BankFeedAccountRequest @@ -39,7 +40,7 @@ def list( include_shell_data: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedBankFeedAccountList: + ) -> SyncPager[BankFeedAccount, PaginatedBankFeedAccountList]: """ Returns a list of `BankFeedAccount` objects. @@ -65,7 +66,7 @@ def list( Returns ------- - PaginatedBankFeedAccountList + SyncPager[BankFeedAccount, PaginatedBankFeedAccountList] Examples @@ -76,15 +77,16 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.bank_feed_accounts.list( + response = client.accounting.bank_feed_accounts.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - page_size=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -92,7 +94,6 @@ def list( page_size=page_size, request_options=request_options, ) - return _response.data def create( self, @@ -133,8 +134,6 @@ def create( api_key="YOUR_API_KEY", ) client.accounting.bank_feed_accounts.create( - is_debug_mode=True, - run_async=True, model=BankFeedAccountRequest(), ) """ @@ -182,8 +181,6 @@ def retrieve( ) client.accounting.bank_feed_accounts.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) """ _response = self._raw_client.retrieve( @@ -246,7 +243,7 @@ async def list( include_shell_data: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedBankFeedAccountList: + ) -> AsyncPager[BankFeedAccount, PaginatedBankFeedAccountList]: """ Returns a list of `BankFeedAccount` objects. @@ -272,7 +269,7 @@ async def list( Returns ------- - PaginatedBankFeedAccountList + AsyncPager[BankFeedAccount, PaginatedBankFeedAccountList] Examples @@ -288,18 +285,20 @@ async def list( async def main() -> None: - await client.accounting.bank_feed_accounts.list( + response = await client.accounting.bank_feed_accounts.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - page_size=1, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -307,7 +306,6 @@ async def main() -> None: page_size=page_size, request_options=request_options, ) - return _response.data async def create( self, @@ -353,8 +351,6 @@ async def create( async def main() -> None: await client.accounting.bank_feed_accounts.create( - is_debug_mode=True, - run_async=True, model=BankFeedAccountRequest(), ) @@ -410,8 +406,6 @@ async def retrieve( async def main() -> None: await client.accounting.bank_feed_accounts.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) diff --git a/src/merge/resources/accounting/resources/bank_feed_accounts/raw_client.py b/src/merge/resources/accounting/resources/bank_feed_accounts/raw_client.py index 38da42e1..e472a896 100644 --- a/src/merge/resources/accounting/resources/bank_feed_accounts/raw_client.py +++ b/src/merge/resources/accounting/resources/bank_feed_accounts/raw_client.py @@ -7,6 +7,7 @@ from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.bank_feed_account import BankFeedAccount @@ -32,7 +33,7 @@ def list( include_shell_data: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedBankFeedAccountList]: + ) -> SyncPager[BankFeedAccount, PaginatedBankFeedAccountList]: """ Returns a list of `BankFeedAccount` objects. @@ -58,7 +59,7 @@ def list( Returns ------- - HttpResponse[PaginatedBankFeedAccountList] + SyncPager[BankFeedAccount, PaginatedBankFeedAccountList] """ _response = self._client_wrapper.httpx_client.request( @@ -75,14 +76,25 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedBankFeedAccountList, construct_type( type_=PaginatedBankFeedAccountList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + page_size=page_size, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -251,7 +263,7 @@ async def list( include_shell_data: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedBankFeedAccountList]: + ) -> AsyncPager[BankFeedAccount, PaginatedBankFeedAccountList]: """ Returns a list of `BankFeedAccount` objects. @@ -277,7 +289,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedBankFeedAccountList] + AsyncPager[BankFeedAccount, PaginatedBankFeedAccountList] """ _response = await self._client_wrapper.httpx_client.request( @@ -294,14 +306,28 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedBankFeedAccountList, construct_type( type_=PaginatedBankFeedAccountList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/accounting/resources/bank_feed_transactions/__init__.py b/src/merge/resources/accounting/resources/bank_feed_transactions/__init__.py index 5cde0202..cd68344b 100644 --- a/src/merge/resources/accounting/resources/bank_feed_transactions/__init__.py +++ b/src/merge/resources/accounting/resources/bank_feed_transactions/__init__.py @@ -2,3 +2,36 @@ # isort: skip_file +import typing +from importlib import import_module + +if typing.TYPE_CHECKING: + from .types import BankFeedTransactionsListRequestExpandItem, BankFeedTransactionsRetrieveRequestExpandItem +_dynamic_imports: typing.Dict[str, str] = { + "BankFeedTransactionsListRequestExpandItem": ".types", + "BankFeedTransactionsRetrieveRequestExpandItem": ".types", +} + + +def __getattr__(attr_name: str) -> typing.Any: + module_name = _dynamic_imports.get(attr_name) + if module_name is None: + raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") + try: + module = import_module(module_name, __package__) + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) + except ImportError as e: + raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e + except AttributeError as e: + raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e + + +def __dir__(): + lazy_attrs = list(_dynamic_imports.keys()) + return sorted(lazy_attrs) + + +__all__ = ["BankFeedTransactionsListRequestExpandItem", "BankFeedTransactionsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/accounting/resources/bank_feed_transactions/client.py b/src/merge/resources/accounting/resources/bank_feed_transactions/client.py index 479ad363..c973f942 100644 --- a/src/merge/resources/accounting/resources/bank_feed_transactions/client.py +++ b/src/merge/resources/accounting/resources/bank_feed_transactions/client.py @@ -4,6 +4,7 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.bank_feed_transaction import BankFeedTransaction from ...types.bank_feed_transaction_request_request import BankFeedTransactionRequestRequest @@ -11,6 +12,8 @@ from ...types.meta_response import MetaResponse from ...types.paginated_bank_feed_transaction_list import PaginatedBankFeedTransactionList from .raw_client import AsyncRawBankFeedTransactionsClient, RawBankFeedTransactionsClient +from .types.bank_feed_transactions_list_request_expand_item import BankFeedTransactionsListRequestExpandItem +from .types.bank_feed_transactions_retrieve_request_expand_item import BankFeedTransactionsRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -37,7 +40,11 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["bank_feed_account"]] = None, + expand: typing.Optional[ + typing.Union[ + BankFeedTransactionsListRequestExpandItem, typing.Sequence[BankFeedTransactionsListRequestExpandItem] + ] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -47,7 +54,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedBankFeedTransactionList: + ) -> SyncPager[BankFeedTransaction, PaginatedBankFeedTransactionList]: """ Returns a list of `BankFeedTransaction` objects. @@ -62,7 +69,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["bank_feed_account"]] + expand : typing.Optional[typing.Union[BankFeedTransactionsListRequestExpandItem, typing.Sequence[BankFeedTransactionsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -94,42 +101,27 @@ def list( Returns ------- - PaginatedBankFeedTransactionList + SyncPager[BankFeedTransaction, PaginatedBankFeedTransactionList] Examples -------- - import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.bank_feed_transactions.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = client.accounting.bank_feed_transactions.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - is_processed=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -144,7 +136,6 @@ def list( remote_id=remote_id, request_options=request_options, ) - return _response.data def create( self, @@ -185,8 +176,6 @@ def create( api_key="YOUR_API_KEY", ) client.accounting.bank_feed_transactions.create( - is_debug_mode=True, - run_async=True, model=BankFeedTransactionRequestRequest(), ) """ @@ -199,7 +188,12 @@ def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["bank_feed_account"]] = None, + expand: typing.Optional[ + typing.Union[ + BankFeedTransactionsRetrieveRequestExpandItem, + typing.Sequence[BankFeedTransactionsRetrieveRequestExpandItem], + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -211,7 +205,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["bank_feed_account"]] + expand : typing.Optional[typing.Union[BankFeedTransactionsRetrieveRequestExpandItem, typing.Sequence[BankFeedTransactionsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -238,8 +232,6 @@ def retrieve( ) client.accounting.bank_feed_transactions.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) """ _response = self._raw_client.retrieve( @@ -300,7 +292,11 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["bank_feed_account"]] = None, + expand: typing.Optional[ + typing.Union[ + BankFeedTransactionsListRequestExpandItem, typing.Sequence[BankFeedTransactionsListRequestExpandItem] + ] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -310,7 +306,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedBankFeedTransactionList: + ) -> AsyncPager[BankFeedTransaction, PaginatedBankFeedTransactionList]: """ Returns a list of `BankFeedTransaction` objects. @@ -325,7 +321,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["bank_feed_account"]] + expand : typing.Optional[typing.Union[BankFeedTransactionsListRequestExpandItem, typing.Sequence[BankFeedTransactionsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -357,13 +353,12 @@ async def list( Returns ------- - PaginatedBankFeedTransactionList + AsyncPager[BankFeedTransaction, PaginatedBankFeedTransactionList] Examples -------- import asyncio - import datetime from merge import AsyncMerge @@ -374,32 +369,20 @@ async def list( async def main() -> None: - await client.accounting.bank_feed_transactions.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = await client.accounting.bank_feed_transactions.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - is_processed=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -414,7 +397,6 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def create( self, @@ -460,8 +442,6 @@ async def create( async def main() -> None: await client.accounting.bank_feed_transactions.create( - is_debug_mode=True, - run_async=True, model=BankFeedTransactionRequestRequest(), ) @@ -477,7 +457,12 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["bank_feed_account"]] = None, + expand: typing.Optional[ + typing.Union[ + BankFeedTransactionsRetrieveRequestExpandItem, + typing.Sequence[BankFeedTransactionsRetrieveRequestExpandItem], + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -489,7 +474,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["bank_feed_account"]] + expand : typing.Optional[typing.Union[BankFeedTransactionsRetrieveRequestExpandItem, typing.Sequence[BankFeedTransactionsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -521,8 +506,6 @@ async def retrieve( async def main() -> None: await client.accounting.bank_feed_transactions.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) diff --git a/src/merge/resources/accounting/resources/bank_feed_transactions/raw_client.py b/src/merge/resources/accounting/resources/bank_feed_transactions/raw_client.py index f10236a8..a796cf19 100644 --- a/src/merge/resources/accounting/resources/bank_feed_transactions/raw_client.py +++ b/src/merge/resources/accounting/resources/bank_feed_transactions/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.bank_feed_transaction import BankFeedTransaction @@ -16,6 +17,8 @@ from ...types.bank_feed_transaction_response import BankFeedTransactionResponse from ...types.meta_response import MetaResponse from ...types.paginated_bank_feed_transaction_list import PaginatedBankFeedTransactionList +from .types.bank_feed_transactions_list_request_expand_item import BankFeedTransactionsListRequestExpandItem +from .types.bank_feed_transactions_retrieve_request_expand_item import BankFeedTransactionsRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -31,7 +34,11 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["bank_feed_account"]] = None, + expand: typing.Optional[ + typing.Union[ + BankFeedTransactionsListRequestExpandItem, typing.Sequence[BankFeedTransactionsListRequestExpandItem] + ] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -41,7 +48,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedBankFeedTransactionList]: + ) -> SyncPager[BankFeedTransaction, PaginatedBankFeedTransactionList]: """ Returns a list of `BankFeedTransaction` objects. @@ -56,7 +63,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["bank_feed_account"]] + expand : typing.Optional[typing.Union[BankFeedTransactionsListRequestExpandItem, typing.Sequence[BankFeedTransactionsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -88,7 +95,7 @@ def list( Returns ------- - HttpResponse[PaginatedBankFeedTransactionList] + SyncPager[BankFeedTransaction, PaginatedBankFeedTransactionList] """ _response = self._client_wrapper.httpx_client.request( @@ -112,14 +119,32 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedBankFeedTransactionList, construct_type( type_=PaginatedBankFeedTransactionList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_processed=is_processed, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -189,7 +214,12 @@ def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["bank_feed_account"]] = None, + expand: typing.Optional[ + typing.Union[ + BankFeedTransactionsRetrieveRequestExpandItem, + typing.Sequence[BankFeedTransactionsRetrieveRequestExpandItem], + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -201,7 +231,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["bank_feed_account"]] + expand : typing.Optional[typing.Union[BankFeedTransactionsRetrieveRequestExpandItem, typing.Sequence[BankFeedTransactionsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -290,7 +320,11 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["bank_feed_account"]] = None, + expand: typing.Optional[ + typing.Union[ + BankFeedTransactionsListRequestExpandItem, typing.Sequence[BankFeedTransactionsListRequestExpandItem] + ] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -300,7 +334,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedBankFeedTransactionList]: + ) -> AsyncPager[BankFeedTransaction, PaginatedBankFeedTransactionList]: """ Returns a list of `BankFeedTransaction` objects. @@ -315,7 +349,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["bank_feed_account"]] + expand : typing.Optional[typing.Union[BankFeedTransactionsListRequestExpandItem, typing.Sequence[BankFeedTransactionsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -347,7 +381,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedBankFeedTransactionList] + AsyncPager[BankFeedTransaction, PaginatedBankFeedTransactionList] """ _response = await self._client_wrapper.httpx_client.request( @@ -371,14 +405,35 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedBankFeedTransactionList, construct_type( type_=PaginatedBankFeedTransactionList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_processed=is_processed, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -448,7 +503,12 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["bank_feed_account"]] = None, + expand: typing.Optional[ + typing.Union[ + BankFeedTransactionsRetrieveRequestExpandItem, + typing.Sequence[BankFeedTransactionsRetrieveRequestExpandItem], + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -460,7 +520,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["bank_feed_account"]] + expand : typing.Optional[typing.Union[BankFeedTransactionsRetrieveRequestExpandItem, typing.Sequence[BankFeedTransactionsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/accounting/resources/bank_feed_transactions/types/__init__.py b/src/merge/resources/accounting/resources/bank_feed_transactions/types/__init__.py new file mode 100644 index 00000000..61aa70d2 --- /dev/null +++ b/src/merge/resources/accounting/resources/bank_feed_transactions/types/__init__.py @@ -0,0 +1,38 @@ +# This file was auto-generated by Fern from our API Definition. + +# isort: skip_file + +import typing +from importlib import import_module + +if typing.TYPE_CHECKING: + from .bank_feed_transactions_list_request_expand_item import BankFeedTransactionsListRequestExpandItem + from .bank_feed_transactions_retrieve_request_expand_item import BankFeedTransactionsRetrieveRequestExpandItem +_dynamic_imports: typing.Dict[str, str] = { + "BankFeedTransactionsListRequestExpandItem": ".bank_feed_transactions_list_request_expand_item", + "BankFeedTransactionsRetrieveRequestExpandItem": ".bank_feed_transactions_retrieve_request_expand_item", +} + + +def __getattr__(attr_name: str) -> typing.Any: + module_name = _dynamic_imports.get(attr_name) + if module_name is None: + raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") + try: + module = import_module(module_name, __package__) + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) + except ImportError as e: + raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e + except AttributeError as e: + raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e + + +def __dir__(): + lazy_attrs = list(_dynamic_imports.keys()) + return sorted(lazy_attrs) + + +__all__ = ["BankFeedTransactionsListRequestExpandItem", "BankFeedTransactionsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/accounting/resources/bank_feed_transactions/types/bank_feed_transactions_list_request_expand_item.py b/src/merge/resources/accounting/resources/bank_feed_transactions/types/bank_feed_transactions_list_request_expand_item.py new file mode 100644 index 00000000..79216fe2 --- /dev/null +++ b/src/merge/resources/accounting/resources/bank_feed_transactions/types/bank_feed_transactions_list_request_expand_item.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class BankFeedTransactionsListRequestExpandItem(str, enum.Enum): + BANK_FEED_ACCOUNT = "bank_feed_account" + + def visit(self, bank_feed_account: typing.Callable[[], T_Result]) -> T_Result: + if self is BankFeedTransactionsListRequestExpandItem.BANK_FEED_ACCOUNT: + return bank_feed_account() diff --git a/src/merge/resources/accounting/resources/bank_feed_transactions/types/bank_feed_transactions_retrieve_request_expand_item.py b/src/merge/resources/accounting/resources/bank_feed_transactions/types/bank_feed_transactions_retrieve_request_expand_item.py new file mode 100644 index 00000000..d8d81a56 --- /dev/null +++ b/src/merge/resources/accounting/resources/bank_feed_transactions/types/bank_feed_transactions_retrieve_request_expand_item.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class BankFeedTransactionsRetrieveRequestExpandItem(str, enum.Enum): + BANK_FEED_ACCOUNT = "bank_feed_account" + + def visit(self, bank_feed_account: typing.Callable[[], T_Result]) -> T_Result: + if self is BankFeedTransactionsRetrieveRequestExpandItem.BANK_FEED_ACCOUNT: + return bank_feed_account() diff --git a/src/merge/resources/accounting/resources/cash_flow_statements/__init__.py b/src/merge/resources/accounting/resources/cash_flow_statements/__init__.py index 5cde0202..15abfba8 100644 --- a/src/merge/resources/accounting/resources/cash_flow_statements/__init__.py +++ b/src/merge/resources/accounting/resources/cash_flow_statements/__init__.py @@ -2,3 +2,36 @@ # isort: skip_file +import typing +from importlib import import_module + +if typing.TYPE_CHECKING: + from .types import CashFlowStatementsListRequestExpandItem, CashFlowStatementsRetrieveRequestExpandItem +_dynamic_imports: typing.Dict[str, str] = { + "CashFlowStatementsListRequestExpandItem": ".types", + "CashFlowStatementsRetrieveRequestExpandItem": ".types", +} + + +def __getattr__(attr_name: str) -> typing.Any: + module_name = _dynamic_imports.get(attr_name) + if module_name is None: + raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") + try: + module = import_module(module_name, __package__) + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) + except ImportError as e: + raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e + except AttributeError as e: + raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e + + +def __dir__(): + lazy_attrs = list(_dynamic_imports.keys()) + return sorted(lazy_attrs) + + +__all__ = ["CashFlowStatementsListRequestExpandItem", "CashFlowStatementsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/accounting/resources/cash_flow_statements/client.py b/src/merge/resources/accounting/resources/cash_flow_statements/client.py index c9d0f6d1..43632dad 100644 --- a/src/merge/resources/accounting/resources/cash_flow_statements/client.py +++ b/src/merge/resources/accounting/resources/cash_flow_statements/client.py @@ -4,10 +4,13 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.cash_flow_statement import CashFlowStatement from ...types.paginated_cash_flow_statement_list import PaginatedCashFlowStatementList from .raw_client import AsyncRawCashFlowStatementsClient, RawCashFlowStatementsClient +from .types.cash_flow_statements_list_request_expand_item import CashFlowStatementsListRequestExpandItem +from .types.cash_flow_statements_retrieve_request_expand_item import CashFlowStatementsRetrieveRequestExpandItem class CashFlowStatementsClient: @@ -32,7 +35,11 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[ + CashFlowStatementsListRequestExpandItem, typing.Sequence[CashFlowStatementsListRequestExpandItem] + ] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -41,7 +48,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedCashFlowStatementList: + ) -> SyncPager[CashFlowStatement, PaginatedCashFlowStatementList]: """ Returns a list of `CashFlowStatement` objects. @@ -59,7 +66,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[CashFlowStatementsListRequestExpandItem, typing.Sequence[CashFlowStatementsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -88,42 +95,27 @@ def list( Returns ------- - PaginatedCashFlowStatementList + SyncPager[CashFlowStatement, PaginatedCashFlowStatementList] Examples -------- - import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.cash_flow_statements.list( - company_id="company_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = client.accounting.cash_flow_statements.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -138,13 +130,17 @@ def list( remote_id=remote_id, request_options=request_options, ) - return _response.data def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[ + CashFlowStatementsRetrieveRequestExpandItem, + typing.Sequence[CashFlowStatementsRetrieveRequestExpandItem], + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -156,7 +152,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[CashFlowStatementsRetrieveRequestExpandItem, typing.Sequence[CashFlowStatementsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -183,8 +179,6 @@ def retrieve( ) client.accounting.cash_flow_statements.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) """ _response = self._raw_client.retrieve( @@ -219,7 +213,11 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[ + CashFlowStatementsListRequestExpandItem, typing.Sequence[CashFlowStatementsListRequestExpandItem] + ] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -228,7 +226,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedCashFlowStatementList: + ) -> AsyncPager[CashFlowStatement, PaginatedCashFlowStatementList]: """ Returns a list of `CashFlowStatement` objects. @@ -246,7 +244,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[CashFlowStatementsListRequestExpandItem, typing.Sequence[CashFlowStatementsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -275,13 +273,12 @@ async def list( Returns ------- - PaginatedCashFlowStatementList + AsyncPager[CashFlowStatement, PaginatedCashFlowStatementList] Examples -------- import asyncio - import datetime from merge import AsyncMerge @@ -292,32 +289,20 @@ async def list( async def main() -> None: - await client.accounting.cash_flow_statements.list( - company_id="company_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = await client.accounting.cash_flow_statements.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -332,13 +317,17 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[ + CashFlowStatementsRetrieveRequestExpandItem, + typing.Sequence[CashFlowStatementsRetrieveRequestExpandItem], + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -350,7 +339,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[CashFlowStatementsRetrieveRequestExpandItem, typing.Sequence[CashFlowStatementsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -382,8 +371,6 @@ async def retrieve( async def main() -> None: await client.accounting.cash_flow_statements.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) diff --git a/src/merge/resources/accounting/resources/cash_flow_statements/raw_client.py b/src/merge/resources/accounting/resources/cash_flow_statements/raw_client.py index e5a9c0b6..164bf061 100644 --- a/src/merge/resources/accounting/resources/cash_flow_statements/raw_client.py +++ b/src/merge/resources/accounting/resources/cash_flow_statements/raw_client.py @@ -9,10 +9,13 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.cash_flow_statement import CashFlowStatement from ...types.paginated_cash_flow_statement_list import PaginatedCashFlowStatementList +from .types.cash_flow_statements_list_request_expand_item import CashFlowStatementsListRequestExpandItem +from .types.cash_flow_statements_retrieve_request_expand_item import CashFlowStatementsRetrieveRequestExpandItem class RawCashFlowStatementsClient: @@ -26,7 +29,11 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[ + CashFlowStatementsListRequestExpandItem, typing.Sequence[CashFlowStatementsListRequestExpandItem] + ] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -35,7 +42,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedCashFlowStatementList]: + ) -> SyncPager[CashFlowStatement, PaginatedCashFlowStatementList]: """ Returns a list of `CashFlowStatement` objects. @@ -53,7 +60,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[CashFlowStatementsListRequestExpandItem, typing.Sequence[CashFlowStatementsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -82,7 +89,7 @@ def list( Returns ------- - HttpResponse[PaginatedCashFlowStatementList] + SyncPager[CashFlowStatement, PaginatedCashFlowStatementList] """ _response = self._client_wrapper.httpx_client.request( @@ -106,14 +113,32 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedCashFlowStatementList, construct_type( type_=PaginatedCashFlowStatementList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -123,7 +148,12 @@ def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[ + CashFlowStatementsRetrieveRequestExpandItem, + typing.Sequence[CashFlowStatementsRetrieveRequestExpandItem], + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -135,7 +165,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[CashFlowStatementsRetrieveRequestExpandItem, typing.Sequence[CashFlowStatementsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -189,7 +219,11 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[ + CashFlowStatementsListRequestExpandItem, typing.Sequence[CashFlowStatementsListRequestExpandItem] + ] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -198,7 +232,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedCashFlowStatementList]: + ) -> AsyncPager[CashFlowStatement, PaginatedCashFlowStatementList]: """ Returns a list of `CashFlowStatement` objects. @@ -216,7 +250,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[CashFlowStatementsListRequestExpandItem, typing.Sequence[CashFlowStatementsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -245,7 +279,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedCashFlowStatementList] + AsyncPager[CashFlowStatement, PaginatedCashFlowStatementList] """ _response = await self._client_wrapper.httpx_client.request( @@ -269,14 +303,35 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedCashFlowStatementList, construct_type( type_=PaginatedCashFlowStatementList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -286,7 +341,12 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[ + CashFlowStatementsRetrieveRequestExpandItem, + typing.Sequence[CashFlowStatementsRetrieveRequestExpandItem], + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -298,7 +358,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[CashFlowStatementsRetrieveRequestExpandItem, typing.Sequence[CashFlowStatementsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/accounting/resources/cash_flow_statements/types/__init__.py b/src/merge/resources/accounting/resources/cash_flow_statements/types/__init__.py new file mode 100644 index 00000000..a28b3a0e --- /dev/null +++ b/src/merge/resources/accounting/resources/cash_flow_statements/types/__init__.py @@ -0,0 +1,38 @@ +# This file was auto-generated by Fern from our API Definition. + +# isort: skip_file + +import typing +from importlib import import_module + +if typing.TYPE_CHECKING: + from .cash_flow_statements_list_request_expand_item import CashFlowStatementsListRequestExpandItem + from .cash_flow_statements_retrieve_request_expand_item import CashFlowStatementsRetrieveRequestExpandItem +_dynamic_imports: typing.Dict[str, str] = { + "CashFlowStatementsListRequestExpandItem": ".cash_flow_statements_list_request_expand_item", + "CashFlowStatementsRetrieveRequestExpandItem": ".cash_flow_statements_retrieve_request_expand_item", +} + + +def __getattr__(attr_name: str) -> typing.Any: + module_name = _dynamic_imports.get(attr_name) + if module_name is None: + raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") + try: + module = import_module(module_name, __package__) + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) + except ImportError as e: + raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e + except AttributeError as e: + raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e + + +def __dir__(): + lazy_attrs = list(_dynamic_imports.keys()) + return sorted(lazy_attrs) + + +__all__ = ["CashFlowStatementsListRequestExpandItem", "CashFlowStatementsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/accounting/resources/cash_flow_statements/types/cash_flow_statements_list_request_expand_item.py b/src/merge/resources/accounting/resources/cash_flow_statements/types/cash_flow_statements_list_request_expand_item.py new file mode 100644 index 00000000..02449dd0 --- /dev/null +++ b/src/merge/resources/accounting/resources/cash_flow_statements/types/cash_flow_statements_list_request_expand_item.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class CashFlowStatementsListRequestExpandItem(str, enum.Enum): + COMPANY = "company" + + def visit(self, company: typing.Callable[[], T_Result]) -> T_Result: + if self is CashFlowStatementsListRequestExpandItem.COMPANY: + return company() diff --git a/src/merge/resources/accounting/resources/cash_flow_statements/types/cash_flow_statements_retrieve_request_expand_item.py b/src/merge/resources/accounting/resources/cash_flow_statements/types/cash_flow_statements_retrieve_request_expand_item.py new file mode 100644 index 00000000..bb0787ce --- /dev/null +++ b/src/merge/resources/accounting/resources/cash_flow_statements/types/cash_flow_statements_retrieve_request_expand_item.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class CashFlowStatementsRetrieveRequestExpandItem(str, enum.Enum): + COMPANY = "company" + + def visit(self, company: typing.Callable[[], T_Result]) -> T_Result: + if self is CashFlowStatementsRetrieveRequestExpandItem.COMPANY: + return company() diff --git a/src/merge/resources/accounting/resources/company_info/__init__.py b/src/merge/resources/accounting/resources/company_info/__init__.py index 5c52d18a..d2d8f9fc 100644 --- a/src/merge/resources/accounting/resources/company_info/__init__.py +++ b/src/merge/resources/accounting/resources/company_info/__init__.py @@ -6,10 +6,10 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .types import CompanyInfoListRequestExpand, CompanyInfoRetrieveRequestExpand + from .types import CompanyInfoListRequestExpandItem, CompanyInfoRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "CompanyInfoListRequestExpand": ".types", - "CompanyInfoRetrieveRequestExpand": ".types", + "CompanyInfoListRequestExpandItem": ".types", + "CompanyInfoRetrieveRequestExpandItem": ".types", } @@ -19,8 +19,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -32,4 +34,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["CompanyInfoListRequestExpand", "CompanyInfoRetrieveRequestExpand"] +__all__ = ["CompanyInfoListRequestExpandItem", "CompanyInfoRetrieveRequestExpandItem"] diff --git a/src/merge/resources/accounting/resources/company_info/client.py b/src/merge/resources/accounting/resources/company_info/client.py index bdf7dc90..7f013a41 100644 --- a/src/merge/resources/accounting/resources/company_info/client.py +++ b/src/merge/resources/accounting/resources/company_info/client.py @@ -4,12 +4,13 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.company_info import CompanyInfo from ...types.paginated_company_info_list import PaginatedCompanyInfoList from .raw_client import AsyncRawCompanyInfoClient, RawCompanyInfoClient -from .types.company_info_list_request_expand import CompanyInfoListRequestExpand -from .types.company_info_retrieve_request_expand import CompanyInfoRetrieveRequestExpand +from .types.company_info_list_request_expand_item import CompanyInfoListRequestExpandItem +from .types.company_info_retrieve_request_expand_item import CompanyInfoRetrieveRequestExpandItem class CompanyInfoClient: @@ -33,7 +34,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[CompanyInfoListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[CompanyInfoListRequestExpandItem, typing.Sequence[CompanyInfoListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -42,7 +45,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedCompanyInfoList: + ) -> SyncPager[CompanyInfo, PaginatedCompanyInfoList]: """ Returns a list of `CompanyInfo` objects. @@ -57,7 +60,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[CompanyInfoListRequestExpand] + expand : typing.Optional[typing.Union[CompanyInfoListRequestExpandItem, typing.Sequence[CompanyInfoListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -86,45 +89,27 @@ def list( Returns ------- - PaginatedCompanyInfoList + SyncPager[CompanyInfo, PaginatedCompanyInfoList] Examples -------- - import datetime - from merge import Merge - from merge.resources.accounting.resources.company_info import ( - CompanyInfoListRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.company_info.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = client.accounting.company_info.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=CompanyInfoListRequestExpand.ADDRESSES, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -138,13 +123,14 @@ def list( remote_id=remote_id, request_options=request_options, ) - return _response.data def retrieve( self, id: str, *, - expand: typing.Optional[CompanyInfoRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[CompanyInfoRetrieveRequestExpandItem, typing.Sequence[CompanyInfoRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -156,7 +142,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[CompanyInfoRetrieveRequestExpand] + expand : typing.Optional[typing.Union[CompanyInfoRetrieveRequestExpandItem, typing.Sequence[CompanyInfoRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -176,9 +162,6 @@ def retrieve( Examples -------- from merge import Merge - from merge.resources.accounting.resources.company_info import ( - CompanyInfoRetrieveRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -186,9 +169,6 @@ def retrieve( ) client.accounting.company_info.retrieve( id="id", - expand=CompanyInfoRetrieveRequestExpand.ADDRESSES, - include_remote_data=True, - include_shell_data=True, ) """ _response = self._raw_client.retrieve( @@ -222,7 +202,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[CompanyInfoListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[CompanyInfoListRequestExpandItem, typing.Sequence[CompanyInfoListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -231,7 +213,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedCompanyInfoList: + ) -> AsyncPager[CompanyInfo, PaginatedCompanyInfoList]: """ Returns a list of `CompanyInfo` objects. @@ -246,7 +228,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[CompanyInfoListRequestExpand] + expand : typing.Optional[typing.Union[CompanyInfoListRequestExpandItem, typing.Sequence[CompanyInfoListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -275,18 +257,14 @@ async def list( Returns ------- - PaginatedCompanyInfoList + AsyncPager[CompanyInfo, PaginatedCompanyInfoList] Examples -------- import asyncio - import datetime from merge import AsyncMerge - from merge.resources.accounting.resources.company_info import ( - CompanyInfoListRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -295,32 +273,20 @@ async def list( async def main() -> None: - await client.accounting.company_info.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = await client.accounting.company_info.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=CompanyInfoListRequestExpand.ADDRESSES, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -334,13 +300,14 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def retrieve( self, id: str, *, - expand: typing.Optional[CompanyInfoRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[CompanyInfoRetrieveRequestExpandItem, typing.Sequence[CompanyInfoRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -352,7 +319,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[CompanyInfoRetrieveRequestExpand] + expand : typing.Optional[typing.Union[CompanyInfoRetrieveRequestExpandItem, typing.Sequence[CompanyInfoRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -374,9 +341,6 @@ async def retrieve( import asyncio from merge import AsyncMerge - from merge.resources.accounting.resources.company_info import ( - CompanyInfoRetrieveRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -387,9 +351,6 @@ async def retrieve( async def main() -> None: await client.accounting.company_info.retrieve( id="id", - expand=CompanyInfoRetrieveRequestExpand.ADDRESSES, - include_remote_data=True, - include_shell_data=True, ) diff --git a/src/merge/resources/accounting/resources/company_info/raw_client.py b/src/merge/resources/accounting/resources/company_info/raw_client.py index 4b04df8c..884f59c4 100644 --- a/src/merge/resources/accounting/resources/company_info/raw_client.py +++ b/src/merge/resources/accounting/resources/company_info/raw_client.py @@ -9,12 +9,13 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.company_info import CompanyInfo from ...types.paginated_company_info_list import PaginatedCompanyInfoList -from .types.company_info_list_request_expand import CompanyInfoListRequestExpand -from .types.company_info_retrieve_request_expand import CompanyInfoRetrieveRequestExpand +from .types.company_info_list_request_expand_item import CompanyInfoListRequestExpandItem +from .types.company_info_retrieve_request_expand_item import CompanyInfoRetrieveRequestExpandItem class RawCompanyInfoClient: @@ -27,7 +28,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[CompanyInfoListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[CompanyInfoListRequestExpandItem, typing.Sequence[CompanyInfoListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -36,7 +39,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedCompanyInfoList]: + ) -> SyncPager[CompanyInfo, PaginatedCompanyInfoList]: """ Returns a list of `CompanyInfo` objects. @@ -51,7 +54,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[CompanyInfoListRequestExpand] + expand : typing.Optional[typing.Union[CompanyInfoListRequestExpandItem, typing.Sequence[CompanyInfoListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -80,7 +83,7 @@ def list( Returns ------- - HttpResponse[PaginatedCompanyInfoList] + SyncPager[CompanyInfo, PaginatedCompanyInfoList] """ _response = self._client_wrapper.httpx_client.request( @@ -103,14 +106,31 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedCompanyInfoList, construct_type( type_=PaginatedCompanyInfoList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -120,7 +140,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[CompanyInfoRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[CompanyInfoRetrieveRequestExpandItem, typing.Sequence[CompanyInfoRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -132,7 +154,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[CompanyInfoRetrieveRequestExpand] + expand : typing.Optional[typing.Union[CompanyInfoRetrieveRequestExpandItem, typing.Sequence[CompanyInfoRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -185,7 +207,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[CompanyInfoListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[CompanyInfoListRequestExpandItem, typing.Sequence[CompanyInfoListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -194,7 +218,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedCompanyInfoList]: + ) -> AsyncPager[CompanyInfo, PaginatedCompanyInfoList]: """ Returns a list of `CompanyInfo` objects. @@ -209,7 +233,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[CompanyInfoListRequestExpand] + expand : typing.Optional[typing.Union[CompanyInfoListRequestExpandItem, typing.Sequence[CompanyInfoListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -238,7 +262,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedCompanyInfoList] + AsyncPager[CompanyInfo, PaginatedCompanyInfoList] """ _response = await self._client_wrapper.httpx_client.request( @@ -261,14 +285,34 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedCompanyInfoList, construct_type( type_=PaginatedCompanyInfoList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -278,7 +322,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[CompanyInfoRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[CompanyInfoRetrieveRequestExpandItem, typing.Sequence[CompanyInfoRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -290,7 +336,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[CompanyInfoRetrieveRequestExpand] + expand : typing.Optional[typing.Union[CompanyInfoRetrieveRequestExpandItem, typing.Sequence[CompanyInfoRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/accounting/resources/company_info/types/__init__.py b/src/merge/resources/accounting/resources/company_info/types/__init__.py index 838814e1..3ffed177 100644 --- a/src/merge/resources/accounting/resources/company_info/types/__init__.py +++ b/src/merge/resources/accounting/resources/company_info/types/__init__.py @@ -6,11 +6,11 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .company_info_list_request_expand import CompanyInfoListRequestExpand - from .company_info_retrieve_request_expand import CompanyInfoRetrieveRequestExpand + from .company_info_list_request_expand_item import CompanyInfoListRequestExpandItem + from .company_info_retrieve_request_expand_item import CompanyInfoRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "CompanyInfoListRequestExpand": ".company_info_list_request_expand", - "CompanyInfoRetrieveRequestExpand": ".company_info_retrieve_request_expand", + "CompanyInfoListRequestExpandItem": ".company_info_list_request_expand_item", + "CompanyInfoRetrieveRequestExpandItem": ".company_info_retrieve_request_expand_item", } @@ -20,8 +20,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -33,4 +35,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["CompanyInfoListRequestExpand", "CompanyInfoRetrieveRequestExpand"] +__all__ = ["CompanyInfoListRequestExpandItem", "CompanyInfoRetrieveRequestExpandItem"] diff --git a/src/merge/resources/accounting/resources/company_info/types/company_info_list_request_expand.py b/src/merge/resources/accounting/resources/company_info/types/company_info_list_request_expand.py deleted file mode 100644 index 302a55cf..00000000 --- a/src/merge/resources/accounting/resources/company_info/types/company_info_list_request_expand.py +++ /dev/null @@ -1,25 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class CompanyInfoListRequestExpand(str, enum.Enum): - ADDRESSES = "addresses" - ADDRESSES_PHONE_NUMBERS = "addresses,phone_numbers" - PHONE_NUMBERS = "phone_numbers" - - def visit( - self, - addresses: typing.Callable[[], T_Result], - addresses_phone_numbers: typing.Callable[[], T_Result], - phone_numbers: typing.Callable[[], T_Result], - ) -> T_Result: - if self is CompanyInfoListRequestExpand.ADDRESSES: - return addresses() - if self is CompanyInfoListRequestExpand.ADDRESSES_PHONE_NUMBERS: - return addresses_phone_numbers() - if self is CompanyInfoListRequestExpand.PHONE_NUMBERS: - return phone_numbers() diff --git a/src/merge/resources/accounting/resources/company_info/types/company_info_list_request_expand_item.py b/src/merge/resources/accounting/resources/company_info/types/company_info_list_request_expand_item.py new file mode 100644 index 00000000..fcd4b70b --- /dev/null +++ b/src/merge/resources/accounting/resources/company_info/types/company_info_list_request_expand_item.py @@ -0,0 +1,17 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class CompanyInfoListRequestExpandItem(str, enum.Enum): + ADDRESSES = "addresses" + PHONE_NUMBERS = "phone_numbers" + + def visit(self, addresses: typing.Callable[[], T_Result], phone_numbers: typing.Callable[[], T_Result]) -> T_Result: + if self is CompanyInfoListRequestExpandItem.ADDRESSES: + return addresses() + if self is CompanyInfoListRequestExpandItem.PHONE_NUMBERS: + return phone_numbers() diff --git a/src/merge/resources/accounting/resources/company_info/types/company_info_retrieve_request_expand.py b/src/merge/resources/accounting/resources/company_info/types/company_info_retrieve_request_expand.py deleted file mode 100644 index 07a88c17..00000000 --- a/src/merge/resources/accounting/resources/company_info/types/company_info_retrieve_request_expand.py +++ /dev/null @@ -1,25 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class CompanyInfoRetrieveRequestExpand(str, enum.Enum): - ADDRESSES = "addresses" - ADDRESSES_PHONE_NUMBERS = "addresses,phone_numbers" - PHONE_NUMBERS = "phone_numbers" - - def visit( - self, - addresses: typing.Callable[[], T_Result], - addresses_phone_numbers: typing.Callable[[], T_Result], - phone_numbers: typing.Callable[[], T_Result], - ) -> T_Result: - if self is CompanyInfoRetrieveRequestExpand.ADDRESSES: - return addresses() - if self is CompanyInfoRetrieveRequestExpand.ADDRESSES_PHONE_NUMBERS: - return addresses_phone_numbers() - if self is CompanyInfoRetrieveRequestExpand.PHONE_NUMBERS: - return phone_numbers() diff --git a/src/merge/resources/accounting/resources/company_info/types/company_info_retrieve_request_expand_item.py b/src/merge/resources/accounting/resources/company_info/types/company_info_retrieve_request_expand_item.py new file mode 100644 index 00000000..8ba3d646 --- /dev/null +++ b/src/merge/resources/accounting/resources/company_info/types/company_info_retrieve_request_expand_item.py @@ -0,0 +1,17 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class CompanyInfoRetrieveRequestExpandItem(str, enum.Enum): + ADDRESSES = "addresses" + PHONE_NUMBERS = "phone_numbers" + + def visit(self, addresses: typing.Callable[[], T_Result], phone_numbers: typing.Callable[[], T_Result]) -> T_Result: + if self is CompanyInfoRetrieveRequestExpandItem.ADDRESSES: + return addresses() + if self is CompanyInfoRetrieveRequestExpandItem.PHONE_NUMBERS: + return phone_numbers() diff --git a/src/merge/resources/accounting/resources/contacts/__init__.py b/src/merge/resources/accounting/resources/contacts/__init__.py index 192f6977..7193b6bb 100644 --- a/src/merge/resources/accounting/resources/contacts/__init__.py +++ b/src/merge/resources/accounting/resources/contacts/__init__.py @@ -6,11 +6,23 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .types import ContactsListRequestExpand, ContactsListRequestStatus, ContactsRetrieveRequestExpand + from .types import ( + ContactsListRequestExpandItem, + ContactsListRequestRemoteFields, + ContactsListRequestShowEnumOrigins, + ContactsListRequestStatus, + ContactsRetrieveRequestExpandItem, + ContactsRetrieveRequestRemoteFields, + ContactsRetrieveRequestShowEnumOrigins, + ) _dynamic_imports: typing.Dict[str, str] = { - "ContactsListRequestExpand": ".types", + "ContactsListRequestExpandItem": ".types", + "ContactsListRequestRemoteFields": ".types", + "ContactsListRequestShowEnumOrigins": ".types", "ContactsListRequestStatus": ".types", - "ContactsRetrieveRequestExpand": ".types", + "ContactsRetrieveRequestExpandItem": ".types", + "ContactsRetrieveRequestRemoteFields": ".types", + "ContactsRetrieveRequestShowEnumOrigins": ".types", } @@ -20,8 +32,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -33,4 +47,12 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["ContactsListRequestExpand", "ContactsListRequestStatus", "ContactsRetrieveRequestExpand"] +__all__ = [ + "ContactsListRequestExpandItem", + "ContactsListRequestRemoteFields", + "ContactsListRequestShowEnumOrigins", + "ContactsListRequestStatus", + "ContactsRetrieveRequestExpandItem", + "ContactsRetrieveRequestRemoteFields", + "ContactsRetrieveRequestShowEnumOrigins", +] diff --git a/src/merge/resources/accounting/resources/contacts/client.py b/src/merge/resources/accounting/resources/contacts/client.py index b0c75ce4..c834ae5b 100644 --- a/src/merge/resources/accounting/resources/contacts/client.py +++ b/src/merge/resources/accounting/resources/contacts/client.py @@ -4,6 +4,7 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.contact import Contact from ...types.contact_request import ContactRequest @@ -11,11 +12,15 @@ from ...types.meta_response import MetaResponse from ...types.paginated_contact_list import PaginatedContactList from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList -from ...types.patched_contact_request import PatchedContactRequest +from ...types.remote_field_class import RemoteFieldClass from .raw_client import AsyncRawContactsClient, RawContactsClient -from .types.contacts_list_request_expand import ContactsListRequestExpand +from .types.contacts_list_request_expand_item import ContactsListRequestExpandItem +from .types.contacts_list_request_remote_fields import ContactsListRequestRemoteFields +from .types.contacts_list_request_show_enum_origins import ContactsListRequestShowEnumOrigins from .types.contacts_list_request_status import ContactsListRequestStatus -from .types.contacts_retrieve_request_expand import ContactsRetrieveRequestExpand +from .types.contacts_retrieve_request_expand_item import ContactsRetrieveRequestExpandItem +from .types.contacts_retrieve_request_remote_fields import ContactsRetrieveRequestRemoteFields +from .types.contacts_retrieve_request_show_enum_origins import ContactsRetrieveRequestShowEnumOrigins # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -44,7 +49,9 @@ def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, email_address: typing.Optional[str] = None, - expand: typing.Optional[ContactsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ContactsListRequestExpandItem, typing.Sequence[ContactsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -55,12 +62,12 @@ def list( modified_before: typing.Optional[dt.datetime] = None, name: typing.Optional[str] = None, page_size: typing.Optional[int] = None, - remote_fields: typing.Optional[typing.Literal["status"]] = None, + remote_fields: typing.Optional[ContactsListRequestRemoteFields] = None, remote_id: typing.Optional[str] = None, - show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + show_enum_origins: typing.Optional[ContactsListRequestShowEnumOrigins] = None, status: typing.Optional[ContactsListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedContactList: + ) -> SyncPager[Contact, PaginatedContactList]: """ Returns a list of `Contact` objects. @@ -81,7 +88,7 @@ def list( email_address : typing.Optional[str] If provided, will only return Contacts that match this email. - expand : typing.Optional[ContactsListRequestExpand] + expand : typing.Optional[typing.Union[ContactsListRequestExpandItem, typing.Sequence[ContactsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -114,13 +121,13 @@ def list( page_size : typing.Optional[int] Number of results to return per page. - remote_fields : typing.Optional[typing.Literal["status"]] + remote_fields : typing.Optional[ContactsListRequestRemoteFields] Deprecated. Use show_enum_origins. remote_id : typing.Optional[str] The API provider's ID for the given object. - show_enum_origins : typing.Optional[typing.Literal["status"]] + show_enum_origins : typing.Optional[ContactsListRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) status : typing.Optional[ContactsListRequestStatus] @@ -131,53 +138,27 @@ def list( Returns ------- - PaginatedContactList + SyncPager[Contact, PaginatedContactList] Examples -------- - import datetime - from merge import Merge - from merge.resources.accounting.resources.contacts import ( - ContactsListRequestExpand, - ContactsListRequestStatus, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.contacts.list( - company_id="company_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = client.accounting.contacts.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - email_address="email_address", - expand=ContactsListRequestExpand.ADDRESSES, - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - is_customer="is_customer", - is_supplier="is_supplier", - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - name="name", - page_size=1, - remote_id="remote_id", - status=ContactsListRequestStatus.EMPTY, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -200,7 +181,6 @@ def list( status=status, request_options=request_options, ) - return _response.data def create( self, @@ -241,8 +221,6 @@ def create( api_key="YOUR_API_KEY", ) client.accounting.contacts.create( - is_debug_mode=True, - run_async=True, model=ContactRequest(), ) """ @@ -255,12 +233,14 @@ def retrieve( self, id: str, *, - expand: typing.Optional[ContactsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ContactsRetrieveRequestExpandItem, typing.Sequence[ContactsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - remote_fields: typing.Optional[typing.Literal["status"]] = None, - show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + remote_fields: typing.Optional[ContactsRetrieveRequestRemoteFields] = None, + show_enum_origins: typing.Optional[ContactsRetrieveRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, ) -> Contact: """ @@ -270,7 +250,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[ContactsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[ContactsRetrieveRequestExpandItem, typing.Sequence[ContactsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -282,10 +262,10 @@ def retrieve( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - remote_fields : typing.Optional[typing.Literal["status"]] + remote_fields : typing.Optional[ContactsRetrieveRequestRemoteFields] Deprecated. Use show_enum_origins. - show_enum_origins : typing.Optional[typing.Literal["status"]] + show_enum_origins : typing.Optional[ContactsRetrieveRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -299,9 +279,6 @@ def retrieve( Examples -------- from merge import Merge - from merge.resources.accounting.resources.contacts import ( - ContactsRetrieveRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -309,10 +286,6 @@ def retrieve( ) client.accounting.contacts.retrieve( id="id", - expand=ContactsRetrieveRequestExpand.ADDRESSES, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, ) """ _response = self._raw_client.retrieve( @@ -327,90 +300,6 @@ def retrieve( ) return _response.data - def partial_update( - self, - id: str, - *, - model: PatchedContactRequest, - is_debug_mode: typing.Optional[bool] = None, - run_async: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> ContactResponse: - """ - Updates a `Contact` object with the given `id`. - - Parameters - ---------- - id : str - - model : PatchedContactRequest - - is_debug_mode : typing.Optional[bool] - Whether to include debug fields (such as log file links) in the response. - - run_async : typing.Optional[bool] - Whether or not third-party updates should be run asynchronously. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - ContactResponse - - - Examples - -------- - from merge import Merge - from merge.resources.accounting import PatchedContactRequest - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.accounting.contacts.partial_update( - id="id", - is_debug_mode=True, - run_async=True, - model=PatchedContactRequest(), - ) - """ - _response = self._raw_client.partial_update( - id, model=model, is_debug_mode=is_debug_mode, run_async=run_async, request_options=request_options - ) - return _response.data - - def meta_patch_retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: - """ - Returns metadata for `Contact` PATCHs. - - Parameters - ---------- - id : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - MetaResponse - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.accounting.contacts.meta_patch_retrieve( - id="id", - ) - """ - _response = self._raw_client.meta_patch_retrieve(id, request_options=request_options) - return _response.data - def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ Returns metadata for `Contact` POSTs. @@ -449,7 +338,7 @@ def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -481,7 +370,7 @@ def remote_field_classes_list( Returns ------- - PaginatedRemoteFieldClassList + SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] Examples @@ -492,17 +381,16 @@ def remote_field_classes_list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.contacts.remote_field_classes_list( + response = client.accounting.contacts.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.remote_field_classes_list( + return self._raw_client.remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -512,7 +400,6 @@ def remote_field_classes_list( page_size=page_size, request_options=request_options, ) - return _response.data class AsyncContactsClient: @@ -538,7 +425,9 @@ async def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, email_address: typing.Optional[str] = None, - expand: typing.Optional[ContactsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ContactsListRequestExpandItem, typing.Sequence[ContactsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -549,12 +438,12 @@ async def list( modified_before: typing.Optional[dt.datetime] = None, name: typing.Optional[str] = None, page_size: typing.Optional[int] = None, - remote_fields: typing.Optional[typing.Literal["status"]] = None, + remote_fields: typing.Optional[ContactsListRequestRemoteFields] = None, remote_id: typing.Optional[str] = None, - show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + show_enum_origins: typing.Optional[ContactsListRequestShowEnumOrigins] = None, status: typing.Optional[ContactsListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedContactList: + ) -> AsyncPager[Contact, PaginatedContactList]: """ Returns a list of `Contact` objects. @@ -575,7 +464,7 @@ async def list( email_address : typing.Optional[str] If provided, will only return Contacts that match this email. - expand : typing.Optional[ContactsListRequestExpand] + expand : typing.Optional[typing.Union[ContactsListRequestExpandItem, typing.Sequence[ContactsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -608,13 +497,13 @@ async def list( page_size : typing.Optional[int] Number of results to return per page. - remote_fields : typing.Optional[typing.Literal["status"]] + remote_fields : typing.Optional[ContactsListRequestRemoteFields] Deprecated. Use show_enum_origins. remote_id : typing.Optional[str] The API provider's ID for the given object. - show_enum_origins : typing.Optional[typing.Literal["status"]] + show_enum_origins : typing.Optional[ContactsListRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) status : typing.Optional[ContactsListRequestStatus] @@ -625,19 +514,14 @@ async def list( Returns ------- - PaginatedContactList + AsyncPager[Contact, PaginatedContactList] Examples -------- import asyncio - import datetime from merge import AsyncMerge - from merge.resources.accounting.resources.contacts import ( - ContactsListRequestExpand, - ContactsListRequestStatus, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -646,39 +530,20 @@ async def list( async def main() -> None: - await client.accounting.contacts.list( - company_id="company_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = await client.accounting.contacts.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - email_address="email_address", - expand=ContactsListRequestExpand.ADDRESSES, - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - is_customer="is_customer", - is_supplier="is_supplier", - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - name="name", - page_size=1, - remote_id="remote_id", - status=ContactsListRequestStatus.EMPTY, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -701,7 +566,6 @@ async def main() -> None: status=status, request_options=request_options, ) - return _response.data async def create( self, @@ -747,8 +611,6 @@ async def create( async def main() -> None: await client.accounting.contacts.create( - is_debug_mode=True, - run_async=True, model=ContactRequest(), ) @@ -764,12 +626,14 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[ContactsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ContactsRetrieveRequestExpandItem, typing.Sequence[ContactsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - remote_fields: typing.Optional[typing.Literal["status"]] = None, - show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + remote_fields: typing.Optional[ContactsRetrieveRequestRemoteFields] = None, + show_enum_origins: typing.Optional[ContactsRetrieveRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, ) -> Contact: """ @@ -779,7 +643,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[ContactsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[ContactsRetrieveRequestExpandItem, typing.Sequence[ContactsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -791,10 +655,10 @@ async def retrieve( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - remote_fields : typing.Optional[typing.Literal["status"]] + remote_fields : typing.Optional[ContactsRetrieveRequestRemoteFields] Deprecated. Use show_enum_origins. - show_enum_origins : typing.Optional[typing.Literal["status"]] + show_enum_origins : typing.Optional[ContactsRetrieveRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -810,9 +674,6 @@ async def retrieve( import asyncio from merge import AsyncMerge - from merge.resources.accounting.resources.contacts import ( - ContactsRetrieveRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -823,10 +684,6 @@ async def retrieve( async def main() -> None: await client.accounting.contacts.retrieve( id="id", - expand=ContactsRetrieveRequestExpand.ADDRESSES, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, ) @@ -844,108 +701,6 @@ async def main() -> None: ) return _response.data - async def partial_update( - self, - id: str, - *, - model: PatchedContactRequest, - is_debug_mode: typing.Optional[bool] = None, - run_async: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> ContactResponse: - """ - Updates a `Contact` object with the given `id`. - - Parameters - ---------- - id : str - - model : PatchedContactRequest - - is_debug_mode : typing.Optional[bool] - Whether to include debug fields (such as log file links) in the response. - - run_async : typing.Optional[bool] - Whether or not third-party updates should be run asynchronously. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - ContactResponse - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - from merge.resources.accounting import PatchedContactRequest - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.accounting.contacts.partial_update( - id="id", - is_debug_mode=True, - run_async=True, - model=PatchedContactRequest(), - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.partial_update( - id, model=model, is_debug_mode=is_debug_mode, run_async=run_async, request_options=request_options - ) - return _response.data - - async def meta_patch_retrieve( - self, id: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> MetaResponse: - """ - Returns metadata for `Contact` PATCHs. - - Parameters - ---------- - id : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - MetaResponse - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.accounting.contacts.meta_patch_retrieve( - id="id", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.meta_patch_retrieve(id, request_options=request_options) - return _response.data - async def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ Returns metadata for `Contact` POSTs. @@ -992,7 +747,7 @@ async def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -1024,7 +779,7 @@ async def remote_field_classes_list( Returns ------- - PaginatedRemoteFieldClassList + AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] Examples @@ -1040,20 +795,20 @@ async def remote_field_classes_list( async def main() -> None: - await client.accounting.contacts.remote_field_classes_list( + response = await client.accounting.contacts.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.remote_field_classes_list( + return await self._raw_client.remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -1063,4 +818,3 @@ async def main() -> None: page_size=page_size, request_options=request_options, ) - return _response.data diff --git a/src/merge/resources/accounting/resources/contacts/raw_client.py b/src/merge/resources/accounting/resources/contacts/raw_client.py index e27d1a5b..740ecaae 100644 --- a/src/merge/resources/accounting/resources/contacts/raw_client.py +++ b/src/merge/resources/accounting/resources/contacts/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.contact import Contact @@ -17,10 +18,14 @@ from ...types.meta_response import MetaResponse from ...types.paginated_contact_list import PaginatedContactList from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList -from ...types.patched_contact_request import PatchedContactRequest -from .types.contacts_list_request_expand import ContactsListRequestExpand +from ...types.remote_field_class import RemoteFieldClass +from .types.contacts_list_request_expand_item import ContactsListRequestExpandItem +from .types.contacts_list_request_remote_fields import ContactsListRequestRemoteFields +from .types.contacts_list_request_show_enum_origins import ContactsListRequestShowEnumOrigins from .types.contacts_list_request_status import ContactsListRequestStatus -from .types.contacts_retrieve_request_expand import ContactsRetrieveRequestExpand +from .types.contacts_retrieve_request_expand_item import ContactsRetrieveRequestExpandItem +from .types.contacts_retrieve_request_remote_fields import ContactsRetrieveRequestRemoteFields +from .types.contacts_retrieve_request_show_enum_origins import ContactsRetrieveRequestShowEnumOrigins # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -38,7 +43,9 @@ def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, email_address: typing.Optional[str] = None, - expand: typing.Optional[ContactsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ContactsListRequestExpandItem, typing.Sequence[ContactsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -49,12 +56,12 @@ def list( modified_before: typing.Optional[dt.datetime] = None, name: typing.Optional[str] = None, page_size: typing.Optional[int] = None, - remote_fields: typing.Optional[typing.Literal["status"]] = None, + remote_fields: typing.Optional[ContactsListRequestRemoteFields] = None, remote_id: typing.Optional[str] = None, - show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + show_enum_origins: typing.Optional[ContactsListRequestShowEnumOrigins] = None, status: typing.Optional[ContactsListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedContactList]: + ) -> SyncPager[Contact, PaginatedContactList]: """ Returns a list of `Contact` objects. @@ -75,7 +82,7 @@ def list( email_address : typing.Optional[str] If provided, will only return Contacts that match this email. - expand : typing.Optional[ContactsListRequestExpand] + expand : typing.Optional[typing.Union[ContactsListRequestExpandItem, typing.Sequence[ContactsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -108,13 +115,13 @@ def list( page_size : typing.Optional[int] Number of results to return per page. - remote_fields : typing.Optional[typing.Literal["status"]] + remote_fields : typing.Optional[ContactsListRequestRemoteFields] Deprecated. Use show_enum_origins. remote_id : typing.Optional[str] The API provider's ID for the given object. - show_enum_origins : typing.Optional[typing.Literal["status"]] + show_enum_origins : typing.Optional[ContactsListRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) status : typing.Optional[ContactsListRequestStatus] @@ -125,7 +132,7 @@ def list( Returns ------- - HttpResponse[PaginatedContactList] + SyncPager[Contact, PaginatedContactList] """ _response = self._client_wrapper.httpx_client.request( @@ -157,14 +164,40 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedContactList, construct_type( type_=PaginatedContactList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + email_address=email_address, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + is_customer=is_customer, + is_supplier=is_supplier, + modified_after=modified_after, + modified_before=modified_before, + name=name, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + status=status, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -234,12 +267,14 @@ def retrieve( self, id: str, *, - expand: typing.Optional[ContactsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ContactsRetrieveRequestExpandItem, typing.Sequence[ContactsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - remote_fields: typing.Optional[typing.Literal["status"]] = None, - show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + remote_fields: typing.Optional[ContactsRetrieveRequestRemoteFields] = None, + show_enum_origins: typing.Optional[ContactsRetrieveRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[Contact]: """ @@ -249,7 +284,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[ContactsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[ContactsRetrieveRequestExpandItem, typing.Sequence[ContactsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -261,10 +296,10 @@ def retrieve( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - remote_fields : typing.Optional[typing.Literal["status"]] + remote_fields : typing.Optional[ContactsRetrieveRequestRemoteFields] Deprecated. Use show_enum_origins. - show_enum_origins : typing.Optional[typing.Literal["status"]] + show_enum_origins : typing.Optional[ContactsRetrieveRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -303,107 +338,6 @@ def retrieve( raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - def partial_update( - self, - id: str, - *, - model: PatchedContactRequest, - is_debug_mode: typing.Optional[bool] = None, - run_async: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[ContactResponse]: - """ - Updates a `Contact` object with the given `id`. - - Parameters - ---------- - id : str - - model : PatchedContactRequest - - is_debug_mode : typing.Optional[bool] - Whether to include debug fields (such as log file links) in the response. - - run_async : typing.Optional[bool] - Whether or not third-party updates should be run asynchronously. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[ContactResponse] - - """ - _response = self._client_wrapper.httpx_client.request( - f"accounting/v1/contacts/{jsonable_encoder(id)}", - method="PATCH", - params={ - "is_debug_mode": is_debug_mode, - "run_async": run_async, - }, - json={ - "model": model, - }, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - ContactResponse, - construct_type( - type_=ContactResponse, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def meta_patch_retrieve( - self, id: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> HttpResponse[MetaResponse]: - """ - Returns metadata for `Contact` PATCHs. - - Parameters - ---------- - id : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[MetaResponse] - - """ - _response = self._client_wrapper.httpx_client.request( - f"accounting/v1/contacts/meta/patch/{jsonable_encoder(id)}", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - MetaResponse, - construct_type( - type_=MetaResponse, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - def meta_post_retrieve( self, *, request_options: typing.Optional[RequestOptions] = None ) -> HttpResponse[MetaResponse]: @@ -451,7 +385,7 @@ def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedRemoteFieldClassList]: + ) -> SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -483,7 +417,7 @@ def remote_field_classes_list( Returns ------- - HttpResponse[PaginatedRemoteFieldClassList] + SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] """ _response = self._client_wrapper.httpx_client.request( @@ -502,14 +436,27 @@ def remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -528,7 +475,9 @@ async def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, email_address: typing.Optional[str] = None, - expand: typing.Optional[ContactsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ContactsListRequestExpandItem, typing.Sequence[ContactsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -539,12 +488,12 @@ async def list( modified_before: typing.Optional[dt.datetime] = None, name: typing.Optional[str] = None, page_size: typing.Optional[int] = None, - remote_fields: typing.Optional[typing.Literal["status"]] = None, + remote_fields: typing.Optional[ContactsListRequestRemoteFields] = None, remote_id: typing.Optional[str] = None, - show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + show_enum_origins: typing.Optional[ContactsListRequestShowEnumOrigins] = None, status: typing.Optional[ContactsListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedContactList]: + ) -> AsyncPager[Contact, PaginatedContactList]: """ Returns a list of `Contact` objects. @@ -565,7 +514,7 @@ async def list( email_address : typing.Optional[str] If provided, will only return Contacts that match this email. - expand : typing.Optional[ContactsListRequestExpand] + expand : typing.Optional[typing.Union[ContactsListRequestExpandItem, typing.Sequence[ContactsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -598,13 +547,13 @@ async def list( page_size : typing.Optional[int] Number of results to return per page. - remote_fields : typing.Optional[typing.Literal["status"]] + remote_fields : typing.Optional[ContactsListRequestRemoteFields] Deprecated. Use show_enum_origins. remote_id : typing.Optional[str] The API provider's ID for the given object. - show_enum_origins : typing.Optional[typing.Literal["status"]] + show_enum_origins : typing.Optional[ContactsListRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) status : typing.Optional[ContactsListRequestStatus] @@ -615,7 +564,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedContactList] + AsyncPager[Contact, PaginatedContactList] """ _response = await self._client_wrapper.httpx_client.request( @@ -647,14 +596,43 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedContactList, construct_type( type_=PaginatedContactList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + email_address=email_address, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + is_customer=is_customer, + is_supplier=is_supplier, + modified_after=modified_after, + modified_before=modified_before, + name=name, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + status=status, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -724,12 +702,14 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[ContactsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ContactsRetrieveRequestExpandItem, typing.Sequence[ContactsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - remote_fields: typing.Optional[typing.Literal["status"]] = None, - show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + remote_fields: typing.Optional[ContactsRetrieveRequestRemoteFields] = None, + show_enum_origins: typing.Optional[ContactsRetrieveRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[Contact]: """ @@ -739,7 +719,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[ContactsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[ContactsRetrieveRequestExpandItem, typing.Sequence[ContactsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -751,10 +731,10 @@ async def retrieve( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - remote_fields : typing.Optional[typing.Literal["status"]] + remote_fields : typing.Optional[ContactsRetrieveRequestRemoteFields] Deprecated. Use show_enum_origins. - show_enum_origins : typing.Optional[typing.Literal["status"]] + show_enum_origins : typing.Optional[ContactsRetrieveRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -793,107 +773,6 @@ async def retrieve( raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - async def partial_update( - self, - id: str, - *, - model: PatchedContactRequest, - is_debug_mode: typing.Optional[bool] = None, - run_async: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[ContactResponse]: - """ - Updates a `Contact` object with the given `id`. - - Parameters - ---------- - id : str - - model : PatchedContactRequest - - is_debug_mode : typing.Optional[bool] - Whether to include debug fields (such as log file links) in the response. - - run_async : typing.Optional[bool] - Whether or not third-party updates should be run asynchronously. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[ContactResponse] - - """ - _response = await self._client_wrapper.httpx_client.request( - f"accounting/v1/contacts/{jsonable_encoder(id)}", - method="PATCH", - params={ - "is_debug_mode": is_debug_mode, - "run_async": run_async, - }, - json={ - "model": model, - }, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - ContactResponse, - construct_type( - type_=ContactResponse, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def meta_patch_retrieve( - self, id: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncHttpResponse[MetaResponse]: - """ - Returns metadata for `Contact` PATCHs. - - Parameters - ---------- - id : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[MetaResponse] - - """ - _response = await self._client_wrapper.httpx_client.request( - f"accounting/v1/contacts/meta/patch/{jsonable_encoder(id)}", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - MetaResponse, - construct_type( - type_=MetaResponse, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - async def meta_post_retrieve( self, *, request_options: typing.Optional[RequestOptions] = None ) -> AsyncHttpResponse[MetaResponse]: @@ -941,7 +820,7 @@ async def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedRemoteFieldClassList]: + ) -> AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -973,7 +852,7 @@ async def remote_field_classes_list( Returns ------- - AsyncHttpResponse[PaginatedRemoteFieldClassList] + AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] """ _response = await self._client_wrapper.httpx_client.request( @@ -992,14 +871,30 @@ async def remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/accounting/resources/contacts/types/__init__.py b/src/merge/resources/accounting/resources/contacts/types/__init__.py index adab250c..673a65e6 100644 --- a/src/merge/resources/accounting/resources/contacts/types/__init__.py +++ b/src/merge/resources/accounting/resources/contacts/types/__init__.py @@ -6,13 +6,21 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .contacts_list_request_expand import ContactsListRequestExpand + from .contacts_list_request_expand_item import ContactsListRequestExpandItem + from .contacts_list_request_remote_fields import ContactsListRequestRemoteFields + from .contacts_list_request_show_enum_origins import ContactsListRequestShowEnumOrigins from .contacts_list_request_status import ContactsListRequestStatus - from .contacts_retrieve_request_expand import ContactsRetrieveRequestExpand + from .contacts_retrieve_request_expand_item import ContactsRetrieveRequestExpandItem + from .contacts_retrieve_request_remote_fields import ContactsRetrieveRequestRemoteFields + from .contacts_retrieve_request_show_enum_origins import ContactsRetrieveRequestShowEnumOrigins _dynamic_imports: typing.Dict[str, str] = { - "ContactsListRequestExpand": ".contacts_list_request_expand", + "ContactsListRequestExpandItem": ".contacts_list_request_expand_item", + "ContactsListRequestRemoteFields": ".contacts_list_request_remote_fields", + "ContactsListRequestShowEnumOrigins": ".contacts_list_request_show_enum_origins", "ContactsListRequestStatus": ".contacts_list_request_status", - "ContactsRetrieveRequestExpand": ".contacts_retrieve_request_expand", + "ContactsRetrieveRequestExpandItem": ".contacts_retrieve_request_expand_item", + "ContactsRetrieveRequestRemoteFields": ".contacts_retrieve_request_remote_fields", + "ContactsRetrieveRequestShowEnumOrigins": ".contacts_retrieve_request_show_enum_origins", } @@ -22,8 +30,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -35,4 +45,12 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["ContactsListRequestExpand", "ContactsListRequestStatus", "ContactsRetrieveRequestExpand"] +__all__ = [ + "ContactsListRequestExpandItem", + "ContactsListRequestRemoteFields", + "ContactsListRequestShowEnumOrigins", + "ContactsListRequestStatus", + "ContactsRetrieveRequestExpandItem", + "ContactsRetrieveRequestRemoteFields", + "ContactsRetrieveRequestShowEnumOrigins", +] diff --git a/src/merge/resources/accounting/resources/contacts/types/contacts_list_request_expand.py b/src/merge/resources/accounting/resources/contacts/types/contacts_list_request_expand.py deleted file mode 100644 index 3d54ecdf..00000000 --- a/src/merge/resources/accounting/resources/contacts/types/contacts_list_request_expand.py +++ /dev/null @@ -1,41 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class ContactsListRequestExpand(str, enum.Enum): - ADDRESSES = "addresses" - ADDRESSES_COMPANY = "addresses,company" - ADDRESSES_PHONE_NUMBERS = "addresses,phone_numbers" - ADDRESSES_PHONE_NUMBERS_COMPANY = "addresses,phone_numbers,company" - COMPANY = "company" - PHONE_NUMBERS = "phone_numbers" - PHONE_NUMBERS_COMPANY = "phone_numbers,company" - - def visit( - self, - addresses: typing.Callable[[], T_Result], - addresses_company: typing.Callable[[], T_Result], - addresses_phone_numbers: typing.Callable[[], T_Result], - addresses_phone_numbers_company: typing.Callable[[], T_Result], - company: typing.Callable[[], T_Result], - phone_numbers: typing.Callable[[], T_Result], - phone_numbers_company: typing.Callable[[], T_Result], - ) -> T_Result: - if self is ContactsListRequestExpand.ADDRESSES: - return addresses() - if self is ContactsListRequestExpand.ADDRESSES_COMPANY: - return addresses_company() - if self is ContactsListRequestExpand.ADDRESSES_PHONE_NUMBERS: - return addresses_phone_numbers() - if self is ContactsListRequestExpand.ADDRESSES_PHONE_NUMBERS_COMPANY: - return addresses_phone_numbers_company() - if self is ContactsListRequestExpand.COMPANY: - return company() - if self is ContactsListRequestExpand.PHONE_NUMBERS: - return phone_numbers() - if self is ContactsListRequestExpand.PHONE_NUMBERS_COMPANY: - return phone_numbers_company() diff --git a/src/merge/resources/accounting/resources/contacts/types/contacts_list_request_expand_item.py b/src/merge/resources/accounting/resources/contacts/types/contacts_list_request_expand_item.py new file mode 100644 index 00000000..ae437e08 --- /dev/null +++ b/src/merge/resources/accounting/resources/contacts/types/contacts_list_request_expand_item.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class ContactsListRequestExpandItem(str, enum.Enum): + ADDRESSES = "addresses" + COMPANY = "company" + PHONE_NUMBERS = "phone_numbers" + + def visit( + self, + addresses: typing.Callable[[], T_Result], + company: typing.Callable[[], T_Result], + phone_numbers: typing.Callable[[], T_Result], + ) -> T_Result: + if self is ContactsListRequestExpandItem.ADDRESSES: + return addresses() + if self is ContactsListRequestExpandItem.COMPANY: + return company() + if self is ContactsListRequestExpandItem.PHONE_NUMBERS: + return phone_numbers() diff --git a/src/merge/resources/accounting/resources/contacts/types/contacts_list_request_remote_fields.py b/src/merge/resources/accounting/resources/contacts/types/contacts_list_request_remote_fields.py new file mode 100644 index 00000000..62874f8a --- /dev/null +++ b/src/merge/resources/accounting/resources/contacts/types/contacts_list_request_remote_fields.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class ContactsListRequestRemoteFields(str, enum.Enum): + STATUS = "status" + + def visit(self, status: typing.Callable[[], T_Result]) -> T_Result: + if self is ContactsListRequestRemoteFields.STATUS: + return status() diff --git a/src/merge/resources/accounting/resources/contacts/types/contacts_list_request_show_enum_origins.py b/src/merge/resources/accounting/resources/contacts/types/contacts_list_request_show_enum_origins.py new file mode 100644 index 00000000..0d2d154e --- /dev/null +++ b/src/merge/resources/accounting/resources/contacts/types/contacts_list_request_show_enum_origins.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class ContactsListRequestShowEnumOrigins(str, enum.Enum): + STATUS = "status" + + def visit(self, status: typing.Callable[[], T_Result]) -> T_Result: + if self is ContactsListRequestShowEnumOrigins.STATUS: + return status() diff --git a/src/merge/resources/accounting/resources/contacts/types/contacts_retrieve_request_expand.py b/src/merge/resources/accounting/resources/contacts/types/contacts_retrieve_request_expand.py deleted file mode 100644 index 5725a706..00000000 --- a/src/merge/resources/accounting/resources/contacts/types/contacts_retrieve_request_expand.py +++ /dev/null @@ -1,41 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class ContactsRetrieveRequestExpand(str, enum.Enum): - ADDRESSES = "addresses" - ADDRESSES_COMPANY = "addresses,company" - ADDRESSES_PHONE_NUMBERS = "addresses,phone_numbers" - ADDRESSES_PHONE_NUMBERS_COMPANY = "addresses,phone_numbers,company" - COMPANY = "company" - PHONE_NUMBERS = "phone_numbers" - PHONE_NUMBERS_COMPANY = "phone_numbers,company" - - def visit( - self, - addresses: typing.Callable[[], T_Result], - addresses_company: typing.Callable[[], T_Result], - addresses_phone_numbers: typing.Callable[[], T_Result], - addresses_phone_numbers_company: typing.Callable[[], T_Result], - company: typing.Callable[[], T_Result], - phone_numbers: typing.Callable[[], T_Result], - phone_numbers_company: typing.Callable[[], T_Result], - ) -> T_Result: - if self is ContactsRetrieveRequestExpand.ADDRESSES: - return addresses() - if self is ContactsRetrieveRequestExpand.ADDRESSES_COMPANY: - return addresses_company() - if self is ContactsRetrieveRequestExpand.ADDRESSES_PHONE_NUMBERS: - return addresses_phone_numbers() - if self is ContactsRetrieveRequestExpand.ADDRESSES_PHONE_NUMBERS_COMPANY: - return addresses_phone_numbers_company() - if self is ContactsRetrieveRequestExpand.COMPANY: - return company() - if self is ContactsRetrieveRequestExpand.PHONE_NUMBERS: - return phone_numbers() - if self is ContactsRetrieveRequestExpand.PHONE_NUMBERS_COMPANY: - return phone_numbers_company() diff --git a/src/merge/resources/accounting/resources/contacts/types/contacts_retrieve_request_expand_item.py b/src/merge/resources/accounting/resources/contacts/types/contacts_retrieve_request_expand_item.py new file mode 100644 index 00000000..f3879789 --- /dev/null +++ b/src/merge/resources/accounting/resources/contacts/types/contacts_retrieve_request_expand_item.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class ContactsRetrieveRequestExpandItem(str, enum.Enum): + ADDRESSES = "addresses" + COMPANY = "company" + PHONE_NUMBERS = "phone_numbers" + + def visit( + self, + addresses: typing.Callable[[], T_Result], + company: typing.Callable[[], T_Result], + phone_numbers: typing.Callable[[], T_Result], + ) -> T_Result: + if self is ContactsRetrieveRequestExpandItem.ADDRESSES: + return addresses() + if self is ContactsRetrieveRequestExpandItem.COMPANY: + return company() + if self is ContactsRetrieveRequestExpandItem.PHONE_NUMBERS: + return phone_numbers() diff --git a/src/merge/resources/accounting/resources/contacts/types/contacts_retrieve_request_remote_fields.py b/src/merge/resources/accounting/resources/contacts/types/contacts_retrieve_request_remote_fields.py new file mode 100644 index 00000000..060b6aed --- /dev/null +++ b/src/merge/resources/accounting/resources/contacts/types/contacts_retrieve_request_remote_fields.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class ContactsRetrieveRequestRemoteFields(str, enum.Enum): + STATUS = "status" + + def visit(self, status: typing.Callable[[], T_Result]) -> T_Result: + if self is ContactsRetrieveRequestRemoteFields.STATUS: + return status() diff --git a/src/merge/resources/accounting/resources/contacts/types/contacts_retrieve_request_show_enum_origins.py b/src/merge/resources/accounting/resources/contacts/types/contacts_retrieve_request_show_enum_origins.py new file mode 100644 index 00000000..00cf9d9b --- /dev/null +++ b/src/merge/resources/accounting/resources/contacts/types/contacts_retrieve_request_show_enum_origins.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class ContactsRetrieveRequestShowEnumOrigins(str, enum.Enum): + STATUS = "status" + + def visit(self, status: typing.Callable[[], T_Result]) -> T_Result: + if self is ContactsRetrieveRequestShowEnumOrigins.STATUS: + return status() diff --git a/src/merge/resources/accounting/resources/credit_notes/__init__.py b/src/merge/resources/accounting/resources/credit_notes/__init__.py index 09968bb0..917b71e7 100644 --- a/src/merge/resources/accounting/resources/credit_notes/__init__.py +++ b/src/merge/resources/accounting/resources/credit_notes/__init__.py @@ -7,18 +7,18 @@ if typing.TYPE_CHECKING: from .types import ( - CreditNotesListRequestExpand, + CreditNotesListRequestExpandItem, CreditNotesListRequestRemoteFields, CreditNotesListRequestShowEnumOrigins, - CreditNotesRetrieveRequestExpand, + CreditNotesRetrieveRequestExpandItem, CreditNotesRetrieveRequestRemoteFields, CreditNotesRetrieveRequestShowEnumOrigins, ) _dynamic_imports: typing.Dict[str, str] = { - "CreditNotesListRequestExpand": ".types", + "CreditNotesListRequestExpandItem": ".types", "CreditNotesListRequestRemoteFields": ".types", "CreditNotesListRequestShowEnumOrigins": ".types", - "CreditNotesRetrieveRequestExpand": ".types", + "CreditNotesRetrieveRequestExpandItem": ".types", "CreditNotesRetrieveRequestRemoteFields": ".types", "CreditNotesRetrieveRequestShowEnumOrigins": ".types", } @@ -30,8 +30,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -44,10 +46,10 @@ def __dir__(): __all__ = [ - "CreditNotesListRequestExpand", + "CreditNotesListRequestExpandItem", "CreditNotesListRequestRemoteFields", "CreditNotesListRequestShowEnumOrigins", - "CreditNotesRetrieveRequestExpand", + "CreditNotesRetrieveRequestExpandItem", "CreditNotesRetrieveRequestRemoteFields", "CreditNotesRetrieveRequestShowEnumOrigins", ] diff --git a/src/merge/resources/accounting/resources/credit_notes/client.py b/src/merge/resources/accounting/resources/credit_notes/client.py index b31fb459..99041ddb 100644 --- a/src/merge/resources/accounting/resources/credit_notes/client.py +++ b/src/merge/resources/accounting/resources/credit_notes/client.py @@ -4,6 +4,7 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.credit_note import CreditNote from ...types.credit_note_request import CreditNoteRequest @@ -11,10 +12,10 @@ from ...types.meta_response import MetaResponse from ...types.paginated_credit_note_list import PaginatedCreditNoteList from .raw_client import AsyncRawCreditNotesClient, RawCreditNotesClient -from .types.credit_notes_list_request_expand import CreditNotesListRequestExpand +from .types.credit_notes_list_request_expand_item import CreditNotesListRequestExpandItem from .types.credit_notes_list_request_remote_fields import CreditNotesListRequestRemoteFields from .types.credit_notes_list_request_show_enum_origins import CreditNotesListRequestShowEnumOrigins -from .types.credit_notes_retrieve_request_expand import CreditNotesRetrieveRequestExpand +from .types.credit_notes_retrieve_request_expand_item import CreditNotesRetrieveRequestExpandItem from .types.credit_notes_retrieve_request_remote_fields import CreditNotesRetrieveRequestRemoteFields from .types.credit_notes_retrieve_request_show_enum_origins import CreditNotesRetrieveRequestShowEnumOrigins @@ -44,7 +45,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[CreditNotesListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[CreditNotesListRequestExpandItem, typing.Sequence[CreditNotesListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -57,7 +60,7 @@ def list( transaction_date_after: typing.Optional[dt.datetime] = None, transaction_date_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedCreditNoteList: + ) -> SyncPager[CreditNote, PaginatedCreditNoteList]: """ Returns a list of `CreditNote` objects. @@ -75,7 +78,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[CreditNotesListRequestExpand] + expand : typing.Optional[typing.Union[CreditNotesListRequestExpandItem, typing.Sequence[CreditNotesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -116,56 +119,27 @@ def list( Returns ------- - PaginatedCreditNoteList + SyncPager[CreditNote, PaginatedCreditNoteList] Examples -------- - import datetime - from merge import Merge - from merge.resources.accounting.resources.credit_notes import ( - CreditNotesListRequestExpand, - CreditNotesListRequestRemoteFields, - CreditNotesListRequestShowEnumOrigins, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.credit_notes.list( - company_id="company_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = client.accounting.credit_notes.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=CreditNotesListRequestExpand.ACCOUNTING_PERIOD, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_fields=CreditNotesListRequestRemoteFields.STATUS, - remote_id="remote_id", - show_enum_origins=CreditNotesListRequestShowEnumOrigins.STATUS, - transaction_date_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - transaction_date_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -184,7 +158,6 @@ def list( transaction_date_before=transaction_date_before, request_options=request_options, ) - return _response.data def create( self, @@ -225,8 +198,6 @@ def create( api_key="YOUR_API_KEY", ) client.accounting.credit_notes.create( - is_debug_mode=True, - run_async=True, model=CreditNoteRequest(), ) """ @@ -239,7 +210,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[CreditNotesRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[CreditNotesRetrieveRequestExpandItem, typing.Sequence[CreditNotesRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[CreditNotesRetrieveRequestRemoteFields] = None, @@ -253,7 +226,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[CreditNotesRetrieveRequestExpand] + expand : typing.Optional[typing.Union[CreditNotesRetrieveRequestExpandItem, typing.Sequence[CreditNotesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -279,11 +252,6 @@ def retrieve( Examples -------- from merge import Merge - from merge.resources.accounting.resources.credit_notes import ( - CreditNotesRetrieveRequestExpand, - CreditNotesRetrieveRequestRemoteFields, - CreditNotesRetrieveRequestShowEnumOrigins, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -291,11 +259,6 @@ def retrieve( ) client.accounting.credit_notes.retrieve( id="id", - expand=CreditNotesRetrieveRequestExpand.ACCOUNTING_PERIOD, - include_remote_data=True, - include_shell_data=True, - remote_fields=CreditNotesRetrieveRequestRemoteFields.STATUS, - show_enum_origins=CreditNotesRetrieveRequestShowEnumOrigins.STATUS, ) """ _response = self._raw_client.retrieve( @@ -359,7 +322,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[CreditNotesListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[CreditNotesListRequestExpandItem, typing.Sequence[CreditNotesListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -372,7 +337,7 @@ async def list( transaction_date_after: typing.Optional[dt.datetime] = None, transaction_date_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedCreditNoteList: + ) -> AsyncPager[CreditNote, PaginatedCreditNoteList]: """ Returns a list of `CreditNote` objects. @@ -390,7 +355,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[CreditNotesListRequestExpand] + expand : typing.Optional[typing.Union[CreditNotesListRequestExpandItem, typing.Sequence[CreditNotesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -431,20 +396,14 @@ async def list( Returns ------- - PaginatedCreditNoteList + AsyncPager[CreditNote, PaginatedCreditNoteList] Examples -------- import asyncio - import datetime from merge import AsyncMerge - from merge.resources.accounting.resources.credit_notes import ( - CreditNotesListRequestExpand, - CreditNotesListRequestRemoteFields, - CreditNotesListRequestShowEnumOrigins, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -453,41 +412,20 @@ async def list( async def main() -> None: - await client.accounting.credit_notes.list( - company_id="company_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = await client.accounting.credit_notes.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=CreditNotesListRequestExpand.ACCOUNTING_PERIOD, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_fields=CreditNotesListRequestRemoteFields.STATUS, - remote_id="remote_id", - show_enum_origins=CreditNotesListRequestShowEnumOrigins.STATUS, - transaction_date_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - transaction_date_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -506,7 +444,6 @@ async def main() -> None: transaction_date_before=transaction_date_before, request_options=request_options, ) - return _response.data async def create( self, @@ -552,8 +489,6 @@ async def create( async def main() -> None: await client.accounting.credit_notes.create( - is_debug_mode=True, - run_async=True, model=CreditNoteRequest(), ) @@ -569,7 +504,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[CreditNotesRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[CreditNotesRetrieveRequestExpandItem, typing.Sequence[CreditNotesRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[CreditNotesRetrieveRequestRemoteFields] = None, @@ -583,7 +520,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[CreditNotesRetrieveRequestExpand] + expand : typing.Optional[typing.Union[CreditNotesRetrieveRequestExpandItem, typing.Sequence[CreditNotesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -611,11 +548,6 @@ async def retrieve( import asyncio from merge import AsyncMerge - from merge.resources.accounting.resources.credit_notes import ( - CreditNotesRetrieveRequestExpand, - CreditNotesRetrieveRequestRemoteFields, - CreditNotesRetrieveRequestShowEnumOrigins, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -626,11 +558,6 @@ async def retrieve( async def main() -> None: await client.accounting.credit_notes.retrieve( id="id", - expand=CreditNotesRetrieveRequestExpand.ACCOUNTING_PERIOD, - include_remote_data=True, - include_shell_data=True, - remote_fields=CreditNotesRetrieveRequestRemoteFields.STATUS, - show_enum_origins=CreditNotesRetrieveRequestShowEnumOrigins.STATUS, ) diff --git a/src/merge/resources/accounting/resources/credit_notes/raw_client.py b/src/merge/resources/accounting/resources/credit_notes/raw_client.py index b92c04cb..5f109491 100644 --- a/src/merge/resources/accounting/resources/credit_notes/raw_client.py +++ b/src/merge/resources/accounting/resources/credit_notes/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.credit_note import CreditNote @@ -16,10 +17,10 @@ from ...types.credit_note_response import CreditNoteResponse from ...types.meta_response import MetaResponse from ...types.paginated_credit_note_list import PaginatedCreditNoteList -from .types.credit_notes_list_request_expand import CreditNotesListRequestExpand +from .types.credit_notes_list_request_expand_item import CreditNotesListRequestExpandItem from .types.credit_notes_list_request_remote_fields import CreditNotesListRequestRemoteFields from .types.credit_notes_list_request_show_enum_origins import CreditNotesListRequestShowEnumOrigins -from .types.credit_notes_retrieve_request_expand import CreditNotesRetrieveRequestExpand +from .types.credit_notes_retrieve_request_expand_item import CreditNotesRetrieveRequestExpandItem from .types.credit_notes_retrieve_request_remote_fields import CreditNotesRetrieveRequestRemoteFields from .types.credit_notes_retrieve_request_show_enum_origins import CreditNotesRetrieveRequestShowEnumOrigins @@ -38,7 +39,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[CreditNotesListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[CreditNotesListRequestExpandItem, typing.Sequence[CreditNotesListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -51,7 +54,7 @@ def list( transaction_date_after: typing.Optional[dt.datetime] = None, transaction_date_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedCreditNoteList]: + ) -> SyncPager[CreditNote, PaginatedCreditNoteList]: """ Returns a list of `CreditNote` objects. @@ -69,7 +72,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[CreditNotesListRequestExpand] + expand : typing.Optional[typing.Union[CreditNotesListRequestExpandItem, typing.Sequence[CreditNotesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -110,7 +113,7 @@ def list( Returns ------- - HttpResponse[PaginatedCreditNoteList] + SyncPager[CreditNote, PaginatedCreditNoteList] """ _response = self._client_wrapper.httpx_client.request( @@ -142,14 +145,36 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedCreditNoteList, construct_type( type_=PaginatedCreditNoteList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + transaction_date_after=transaction_date_after, + transaction_date_before=transaction_date_before, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -219,7 +244,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[CreditNotesRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[CreditNotesRetrieveRequestExpandItem, typing.Sequence[CreditNotesRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[CreditNotesRetrieveRequestRemoteFields] = None, @@ -233,7 +260,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[CreditNotesRetrieveRequestExpand] + expand : typing.Optional[typing.Union[CreditNotesRetrieveRequestExpandItem, typing.Sequence[CreditNotesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -331,7 +358,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[CreditNotesListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[CreditNotesListRequestExpandItem, typing.Sequence[CreditNotesListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -344,7 +373,7 @@ async def list( transaction_date_after: typing.Optional[dt.datetime] = None, transaction_date_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedCreditNoteList]: + ) -> AsyncPager[CreditNote, PaginatedCreditNoteList]: """ Returns a list of `CreditNote` objects. @@ -362,7 +391,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[CreditNotesListRequestExpand] + expand : typing.Optional[typing.Union[CreditNotesListRequestExpandItem, typing.Sequence[CreditNotesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -403,7 +432,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedCreditNoteList] + AsyncPager[CreditNote, PaginatedCreditNoteList] """ _response = await self._client_wrapper.httpx_client.request( @@ -435,14 +464,39 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedCreditNoteList, construct_type( type_=PaginatedCreditNoteList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + transaction_date_after=transaction_date_after, + transaction_date_before=transaction_date_before, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -512,7 +566,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[CreditNotesRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[CreditNotesRetrieveRequestExpandItem, typing.Sequence[CreditNotesRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[CreditNotesRetrieveRequestRemoteFields] = None, @@ -526,7 +582,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[CreditNotesRetrieveRequestExpand] + expand : typing.Optional[typing.Union[CreditNotesRetrieveRequestExpandItem, typing.Sequence[CreditNotesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/accounting/resources/credit_notes/types/__init__.py b/src/merge/resources/accounting/resources/credit_notes/types/__init__.py index 41c0ba74..b8c0cbb8 100644 --- a/src/merge/resources/accounting/resources/credit_notes/types/__init__.py +++ b/src/merge/resources/accounting/resources/credit_notes/types/__init__.py @@ -6,17 +6,17 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .credit_notes_list_request_expand import CreditNotesListRequestExpand + from .credit_notes_list_request_expand_item import CreditNotesListRequestExpandItem from .credit_notes_list_request_remote_fields import CreditNotesListRequestRemoteFields from .credit_notes_list_request_show_enum_origins import CreditNotesListRequestShowEnumOrigins - from .credit_notes_retrieve_request_expand import CreditNotesRetrieveRequestExpand + from .credit_notes_retrieve_request_expand_item import CreditNotesRetrieveRequestExpandItem from .credit_notes_retrieve_request_remote_fields import CreditNotesRetrieveRequestRemoteFields from .credit_notes_retrieve_request_show_enum_origins import CreditNotesRetrieveRequestShowEnumOrigins _dynamic_imports: typing.Dict[str, str] = { - "CreditNotesListRequestExpand": ".credit_notes_list_request_expand", + "CreditNotesListRequestExpandItem": ".credit_notes_list_request_expand_item", "CreditNotesListRequestRemoteFields": ".credit_notes_list_request_remote_fields", "CreditNotesListRequestShowEnumOrigins": ".credit_notes_list_request_show_enum_origins", - "CreditNotesRetrieveRequestExpand": ".credit_notes_retrieve_request_expand", + "CreditNotesRetrieveRequestExpandItem": ".credit_notes_retrieve_request_expand_item", "CreditNotesRetrieveRequestRemoteFields": ".credit_notes_retrieve_request_remote_fields", "CreditNotesRetrieveRequestShowEnumOrigins": ".credit_notes_retrieve_request_show_enum_origins", } @@ -28,8 +28,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -42,10 +44,10 @@ def __dir__(): __all__ = [ - "CreditNotesListRequestExpand", + "CreditNotesListRequestExpandItem", "CreditNotesListRequestRemoteFields", "CreditNotesListRequestShowEnumOrigins", - "CreditNotesRetrieveRequestExpand", + "CreditNotesRetrieveRequestExpandItem", "CreditNotesRetrieveRequestRemoteFields", "CreditNotesRetrieveRequestShowEnumOrigins", ] diff --git a/src/merge/resources/accounting/resources/credit_notes/types/credit_notes_list_request_expand.py b/src/merge/resources/accounting/resources/credit_notes/types/credit_notes_list_request_expand.py deleted file mode 100644 index 9f3c85db..00000000 --- a/src/merge/resources/accounting/resources/credit_notes/types/credit_notes_list_request_expand.py +++ /dev/null @@ -1,627 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class CreditNotesListRequestExpand(str, enum.Enum): - ACCOUNTING_PERIOD = "accounting_period" - APPLIED_PAYMENTS = "applied_payments" - APPLIED_PAYMENTS_ACCOUNTING_PERIOD = "applied_payments,accounting_period" - APPLIED_PAYMENTS_COMPANY = "applied_payments,company" - APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD = "applied_payments,company,accounting_period" - APPLIED_PAYMENTS_CONTACT = "applied_payments,contact" - APPLIED_PAYMENTS_CONTACT_ACCOUNTING_PERIOD = "applied_payments,contact,accounting_period" - APPLIED_PAYMENTS_CONTACT_COMPANY = "applied_payments,contact,company" - APPLIED_PAYMENTS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "applied_payments,contact,company,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS = "applied_payments,line_items" - APPLIED_PAYMENTS_LINE_ITEMS_ACCOUNTING_PERIOD = "applied_payments,line_items,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_COMPANY = "applied_payments,line_items,company" - APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD = "applied_payments,line_items,company,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT = "applied_payments,line_items,contact" - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD = "applied_payments,line_items,contact,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY = "applied_payments,line_items,contact,company" - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES = "applied_payments,line_items,tracking_categories" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY = "applied_payments,line_items,tracking_categories,company" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT = "applied_payments,line_items,tracking_categories,contact" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,contact,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY = ( - "applied_payments,line_items,tracking_categories,contact,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES = "applied_payments,tracking_categories" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "applied_payments,tracking_categories,accounting_period" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY = "applied_payments,tracking_categories,company" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,company,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT = "applied_payments,tracking_categories,contact" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,contact,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY = "applied_payments,tracking_categories,contact,company" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,contact,company,accounting_period" - ) - COMPANY = "company" - COMPANY_ACCOUNTING_PERIOD = "company,accounting_period" - CONTACT = "contact" - CONTACT_ACCOUNTING_PERIOD = "contact,accounting_period" - CONTACT_COMPANY = "contact,company" - CONTACT_COMPANY_ACCOUNTING_PERIOD = "contact,company,accounting_period" - LINE_ITEMS = "line_items" - LINE_ITEMS_ACCOUNTING_PERIOD = "line_items,accounting_period" - LINE_ITEMS_COMPANY = "line_items,company" - LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD = "line_items,company,accounting_period" - LINE_ITEMS_CONTACT = "line_items,contact" - LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD = "line_items,contact,accounting_period" - LINE_ITEMS_CONTACT_COMPANY = "line_items,contact,company" - LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "line_items,contact,company,accounting_period" - LINE_ITEMS_TRACKING_CATEGORIES = "line_items,tracking_categories" - LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "line_items,tracking_categories,accounting_period" - LINE_ITEMS_TRACKING_CATEGORIES_COMPANY = "line_items,tracking_categories,company" - LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT = "line_items,tracking_categories,contact" - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,contact,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY = "line_items,tracking_categories,contact,company" - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,contact,company,accounting_period" - ) - PAYMENTS = "payments" - PAYMENTS_ACCOUNTING_PERIOD = "payments,accounting_period" - PAYMENTS_APPLIED_PAYMENTS = "payments,applied_payments" - PAYMENTS_APPLIED_PAYMENTS_ACCOUNTING_PERIOD = "payments,applied_payments,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_COMPANY = "payments,applied_payments,company" - PAYMENTS_APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_CONTACT = "payments,applied_payments,contact" - PAYMENTS_APPLIED_PAYMENTS_CONTACT_ACCOUNTING_PERIOD = "payments,applied_payments,contact,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY = "payments,applied_payments,contact,company" - PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS = "payments,applied_payments,line_items" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY = "payments,applied_payments,line_items,company" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT = "payments,applied_payments,line_items,contact" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY = "payments,applied_payments,line_items,contact,company" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES = ( - "payments,applied_payments,line_items,tracking_categories" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY = ( - "payments,applied_payments,line_items,tracking_categories,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT = ( - "payments,applied_payments,line_items,tracking_categories,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY = ( - "payments,applied_payments,line_items,tracking_categories,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES = "payments,applied_payments,tracking_categories" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY = "payments,applied_payments,tracking_categories,company" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT = "payments,applied_payments,tracking_categories,contact" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY = ( - "payments,applied_payments,tracking_categories,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,contact,company,accounting_period" - ) - PAYMENTS_COMPANY = "payments,company" - PAYMENTS_COMPANY_ACCOUNTING_PERIOD = "payments,company,accounting_period" - PAYMENTS_CONTACT = "payments,contact" - PAYMENTS_CONTACT_ACCOUNTING_PERIOD = "payments,contact,accounting_period" - PAYMENTS_CONTACT_COMPANY = "payments,contact,company" - PAYMENTS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,contact,company,accounting_period" - PAYMENTS_LINE_ITEMS = "payments,line_items" - PAYMENTS_LINE_ITEMS_ACCOUNTING_PERIOD = "payments,line_items,accounting_period" - PAYMENTS_LINE_ITEMS_COMPANY = "payments,line_items,company" - PAYMENTS_LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD = "payments,line_items,company,accounting_period" - PAYMENTS_LINE_ITEMS_CONTACT = "payments,line_items,contact" - PAYMENTS_LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD = "payments,line_items,contact,accounting_period" - PAYMENTS_LINE_ITEMS_CONTACT_COMPANY = "payments,line_items,contact,company" - PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,line_items,contact,company,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES = "payments,line_items,tracking_categories" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY = "payments,line_items,tracking_categories,company" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT = "payments,line_items,tracking_categories,contact" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,contact,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY = "payments,line_items,tracking_categories,contact,company" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,contact,company,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES = "payments,tracking_categories" - PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "payments,tracking_categories,accounting_period" - PAYMENTS_TRACKING_CATEGORIES_COMPANY = "payments,tracking_categories,company" - PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = "payments,tracking_categories,company,accounting_period" - PAYMENTS_TRACKING_CATEGORIES_CONTACT = "payments,tracking_categories,contact" - PAYMENTS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = "payments,tracking_categories,contact,accounting_period" - PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY = "payments,tracking_categories,contact,company" - PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,contact,company,accounting_period" - ) - TRACKING_CATEGORIES = "tracking_categories" - TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "tracking_categories,accounting_period" - TRACKING_CATEGORIES_COMPANY = "tracking_categories,company" - TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,company,accounting_period" - TRACKING_CATEGORIES_CONTACT = "tracking_categories,contact" - TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = "tracking_categories,contact,accounting_period" - TRACKING_CATEGORIES_CONTACT_COMPANY = "tracking_categories,contact,company" - TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,contact,company,accounting_period" - - def visit( - self, - accounting_period: typing.Callable[[], T_Result], - applied_payments: typing.Callable[[], T_Result], - applied_payments_accounting_period: typing.Callable[[], T_Result], - applied_payments_company: typing.Callable[[], T_Result], - applied_payments_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_contact: typing.Callable[[], T_Result], - applied_payments_contact_accounting_period: typing.Callable[[], T_Result], - applied_payments_contact_company: typing.Callable[[], T_Result], - applied_payments_contact_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items: typing.Callable[[], T_Result], - applied_payments_line_items_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_company: typing.Callable[[], T_Result], - applied_payments_line_items_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_contact: typing.Callable[[], T_Result], - applied_payments_line_items_contact_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_contact_company: typing.Callable[[], T_Result], - applied_payments_line_items_contact_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_company: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_contact: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_contact_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_contact_company: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories: typing.Callable[[], T_Result], - applied_payments_tracking_categories_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories_company: typing.Callable[[], T_Result], - applied_payments_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories_contact: typing.Callable[[], T_Result], - applied_payments_tracking_categories_contact_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories_contact_company: typing.Callable[[], T_Result], - applied_payments_tracking_categories_contact_company_accounting_period: typing.Callable[[], T_Result], - company: typing.Callable[[], T_Result], - company_accounting_period: typing.Callable[[], T_Result], - contact: typing.Callable[[], T_Result], - contact_accounting_period: typing.Callable[[], T_Result], - contact_company: typing.Callable[[], T_Result], - contact_company_accounting_period: typing.Callable[[], T_Result], - line_items: typing.Callable[[], T_Result], - line_items_accounting_period: typing.Callable[[], T_Result], - line_items_company: typing.Callable[[], T_Result], - line_items_company_accounting_period: typing.Callable[[], T_Result], - line_items_contact: typing.Callable[[], T_Result], - line_items_contact_accounting_period: typing.Callable[[], T_Result], - line_items_contact_company: typing.Callable[[], T_Result], - line_items_contact_company_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories: typing.Callable[[], T_Result], - line_items_tracking_categories_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_company: typing.Callable[[], T_Result], - line_items_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_contact: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_company: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_company_accounting_period: typing.Callable[[], T_Result], - payments: typing.Callable[[], T_Result], - payments_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments: typing.Callable[[], T_Result], - payments_applied_payments_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_company: typing.Callable[[], T_Result], - payments_applied_payments_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_contact: typing.Callable[[], T_Result], - payments_applied_payments_contact_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_contact_company: typing.Callable[[], T_Result], - payments_applied_payments_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items: typing.Callable[[], T_Result], - payments_applied_payments_line_items_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_company: typing.Callable[[], T_Result], - payments_applied_payments_line_items_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_contact: typing.Callable[[], T_Result], - payments_applied_payments_line_items_contact_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_contact_company: typing.Callable[[], T_Result], - payments_applied_payments_line_items_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_company: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_contact: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_contact_company: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_company: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_contact: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_contact_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_contact_company: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_company: typing.Callable[[], T_Result], - payments_company_accounting_period: typing.Callable[[], T_Result], - payments_contact: typing.Callable[[], T_Result], - payments_contact_accounting_period: typing.Callable[[], T_Result], - payments_contact_company: typing.Callable[[], T_Result], - payments_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_line_items: typing.Callable[[], T_Result], - payments_line_items_accounting_period: typing.Callable[[], T_Result], - payments_line_items_company: typing.Callable[[], T_Result], - payments_line_items_company_accounting_period: typing.Callable[[], T_Result], - payments_line_items_contact: typing.Callable[[], T_Result], - payments_line_items_contact_accounting_period: typing.Callable[[], T_Result], - payments_line_items_contact_company: typing.Callable[[], T_Result], - payments_line_items_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_line_items_tracking_categories: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_accounting_period: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_company: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_contact: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_contact_accounting_period: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_contact_company: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories: typing.Callable[[], T_Result], - payments_tracking_categories_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_company: typing.Callable[[], T_Result], - payments_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_contact: typing.Callable[[], T_Result], - payments_tracking_categories_contact_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_contact_company: typing.Callable[[], T_Result], - payments_tracking_categories_contact_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories: typing.Callable[[], T_Result], - tracking_categories_accounting_period: typing.Callable[[], T_Result], - tracking_categories_company: typing.Callable[[], T_Result], - tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_contact: typing.Callable[[], T_Result], - tracking_categories_contact_accounting_period: typing.Callable[[], T_Result], - tracking_categories_contact_company: typing.Callable[[], T_Result], - tracking_categories_contact_company_accounting_period: typing.Callable[[], T_Result], - ) -> T_Result: - if self is CreditNotesListRequestExpand.ACCOUNTING_PERIOD: - return accounting_period() - if self is CreditNotesListRequestExpand.APPLIED_PAYMENTS: - return applied_payments() - if self is CreditNotesListRequestExpand.APPLIED_PAYMENTS_ACCOUNTING_PERIOD: - return applied_payments_accounting_period() - if self is CreditNotesListRequestExpand.APPLIED_PAYMENTS_COMPANY: - return applied_payments_company() - if self is CreditNotesListRequestExpand.APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_company_accounting_period() - if self is CreditNotesListRequestExpand.APPLIED_PAYMENTS_CONTACT: - return applied_payments_contact() - if self is CreditNotesListRequestExpand.APPLIED_PAYMENTS_CONTACT_ACCOUNTING_PERIOD: - return applied_payments_contact_accounting_period() - if self is CreditNotesListRequestExpand.APPLIED_PAYMENTS_CONTACT_COMPANY: - return applied_payments_contact_company() - if self is CreditNotesListRequestExpand.APPLIED_PAYMENTS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_contact_company_accounting_period() - if self is CreditNotesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS: - return applied_payments_line_items() - if self is CreditNotesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_ACCOUNTING_PERIOD: - return applied_payments_line_items_accounting_period() - if self is CreditNotesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_COMPANY: - return applied_payments_line_items_company() - if self is CreditNotesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_line_items_company_accounting_period() - if self is CreditNotesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT: - return applied_payments_line_items_contact() - if self is CreditNotesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD: - return applied_payments_line_items_contact_accounting_period() - if self is CreditNotesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY: - return applied_payments_line_items_contact_company() - if self is CreditNotesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_line_items_contact_company_accounting_period() - if self is CreditNotesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES: - return applied_payments_line_items_tracking_categories() - if self is CreditNotesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return applied_payments_line_items_tracking_categories_accounting_period() - if self is CreditNotesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY: - return applied_payments_line_items_tracking_categories_company() - if ( - self - is CreditNotesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_company_accounting_period() - if self is CreditNotesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT: - return applied_payments_line_items_tracking_categories_contact() - if ( - self - is CreditNotesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_contact_accounting_period() - if self is CreditNotesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY: - return applied_payments_line_items_tracking_categories_contact_company() - if ( - self - is CreditNotesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_contact_company_accounting_period() - if self is CreditNotesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES: - return applied_payments_tracking_categories() - if self is CreditNotesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return applied_payments_tracking_categories_accounting_period() - if self is CreditNotesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY: - return applied_payments_tracking_categories_company() - if self is CreditNotesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_tracking_categories_company_accounting_period() - if self is CreditNotesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT: - return applied_payments_tracking_categories_contact() - if self is CreditNotesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD: - return applied_payments_tracking_categories_contact_accounting_period() - if self is CreditNotesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY: - return applied_payments_tracking_categories_contact_company() - if self is CreditNotesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_tracking_categories_contact_company_accounting_period() - if self is CreditNotesListRequestExpand.COMPANY: - return company() - if self is CreditNotesListRequestExpand.COMPANY_ACCOUNTING_PERIOD: - return company_accounting_period() - if self is CreditNotesListRequestExpand.CONTACT: - return contact() - if self is CreditNotesListRequestExpand.CONTACT_ACCOUNTING_PERIOD: - return contact_accounting_period() - if self is CreditNotesListRequestExpand.CONTACT_COMPANY: - return contact_company() - if self is CreditNotesListRequestExpand.CONTACT_COMPANY_ACCOUNTING_PERIOD: - return contact_company_accounting_period() - if self is CreditNotesListRequestExpand.LINE_ITEMS: - return line_items() - if self is CreditNotesListRequestExpand.LINE_ITEMS_ACCOUNTING_PERIOD: - return line_items_accounting_period() - if self is CreditNotesListRequestExpand.LINE_ITEMS_COMPANY: - return line_items_company() - if self is CreditNotesListRequestExpand.LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD: - return line_items_company_accounting_period() - if self is CreditNotesListRequestExpand.LINE_ITEMS_CONTACT: - return line_items_contact() - if self is CreditNotesListRequestExpand.LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD: - return line_items_contact_accounting_period() - if self is CreditNotesListRequestExpand.LINE_ITEMS_CONTACT_COMPANY: - return line_items_contact_company() - if self is CreditNotesListRequestExpand.LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return line_items_contact_company_accounting_period() - if self is CreditNotesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES: - return line_items_tracking_categories() - if self is CreditNotesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return line_items_tracking_categories_accounting_period() - if self is CreditNotesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_COMPANY: - return line_items_tracking_categories_company() - if self is CreditNotesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return line_items_tracking_categories_company_accounting_period() - if self is CreditNotesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT: - return line_items_tracking_categories_contact() - if self is CreditNotesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD: - return line_items_tracking_categories_contact_accounting_period() - if self is CreditNotesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY: - return line_items_tracking_categories_contact_company() - if self is CreditNotesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return line_items_tracking_categories_contact_company_accounting_period() - if self is CreditNotesListRequestExpand.PAYMENTS: - return payments() - if self is CreditNotesListRequestExpand.PAYMENTS_ACCOUNTING_PERIOD: - return payments_accounting_period() - if self is CreditNotesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS: - return payments_applied_payments() - if self is CreditNotesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_ACCOUNTING_PERIOD: - return payments_applied_payments_accounting_period() - if self is CreditNotesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_COMPANY: - return payments_applied_payments_company() - if self is CreditNotesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD: - return payments_applied_payments_company_accounting_period() - if self is CreditNotesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT: - return payments_applied_payments_contact() - if self is CreditNotesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT_ACCOUNTING_PERIOD: - return payments_applied_payments_contact_accounting_period() - if self is CreditNotesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY: - return payments_applied_payments_contact_company() - if self is CreditNotesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return payments_applied_payments_contact_company_accounting_period() - if self is CreditNotesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS: - return payments_applied_payments_line_items() - if self is CreditNotesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_ACCOUNTING_PERIOD: - return payments_applied_payments_line_items_accounting_period() - if self is CreditNotesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY: - return payments_applied_payments_line_items_company() - if self is CreditNotesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD: - return payments_applied_payments_line_items_company_accounting_period() - if self is CreditNotesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT: - return payments_applied_payments_line_items_contact() - if self is CreditNotesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD: - return payments_applied_payments_line_items_contact_accounting_period() - if self is CreditNotesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY: - return payments_applied_payments_line_items_contact_company() - if self is CreditNotesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return payments_applied_payments_line_items_contact_company_accounting_period() - if self is CreditNotesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES: - return payments_applied_payments_line_items_tracking_categories() - if ( - self - is CreditNotesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_accounting_period() - if self is CreditNotesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY: - return payments_applied_payments_line_items_tracking_categories_company() - if ( - self - is CreditNotesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_company_accounting_period() - if self is CreditNotesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT: - return payments_applied_payments_line_items_tracking_categories_contact() - if ( - self - is CreditNotesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_contact_accounting_period() - if ( - self - is CreditNotesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY - ): - return payments_applied_payments_line_items_tracking_categories_contact_company() - if ( - self - is CreditNotesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_contact_company_accounting_period() - if self is CreditNotesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES: - return payments_applied_payments_tracking_categories() - if self is CreditNotesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return payments_applied_payments_tracking_categories_accounting_period() - if self is CreditNotesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY: - return payments_applied_payments_tracking_categories_company() - if self is CreditNotesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return payments_applied_payments_tracking_categories_company_accounting_period() - if self is CreditNotesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT: - return payments_applied_payments_tracking_categories_contact() - if self is CreditNotesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD: - return payments_applied_payments_tracking_categories_contact_accounting_period() - if self is CreditNotesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY: - return payments_applied_payments_tracking_categories_contact_company() - if ( - self - is CreditNotesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_contact_company_accounting_period() - if self is CreditNotesListRequestExpand.PAYMENTS_COMPANY: - return payments_company() - if self is CreditNotesListRequestExpand.PAYMENTS_COMPANY_ACCOUNTING_PERIOD: - return payments_company_accounting_period() - if self is CreditNotesListRequestExpand.PAYMENTS_CONTACT: - return payments_contact() - if self is CreditNotesListRequestExpand.PAYMENTS_CONTACT_ACCOUNTING_PERIOD: - return payments_contact_accounting_period() - if self is CreditNotesListRequestExpand.PAYMENTS_CONTACT_COMPANY: - return payments_contact_company() - if self is CreditNotesListRequestExpand.PAYMENTS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return payments_contact_company_accounting_period() - if self is CreditNotesListRequestExpand.PAYMENTS_LINE_ITEMS: - return payments_line_items() - if self is CreditNotesListRequestExpand.PAYMENTS_LINE_ITEMS_ACCOUNTING_PERIOD: - return payments_line_items_accounting_period() - if self is CreditNotesListRequestExpand.PAYMENTS_LINE_ITEMS_COMPANY: - return payments_line_items_company() - if self is CreditNotesListRequestExpand.PAYMENTS_LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD: - return payments_line_items_company_accounting_period() - if self is CreditNotesListRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT: - return payments_line_items_contact() - if self is CreditNotesListRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD: - return payments_line_items_contact_accounting_period() - if self is CreditNotesListRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT_COMPANY: - return payments_line_items_contact_company() - if self is CreditNotesListRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return payments_line_items_contact_company_accounting_period() - if self is CreditNotesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES: - return payments_line_items_tracking_categories() - if self is CreditNotesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return payments_line_items_tracking_categories_accounting_period() - if self is CreditNotesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY: - return payments_line_items_tracking_categories_company() - if self is CreditNotesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return payments_line_items_tracking_categories_company_accounting_period() - if self is CreditNotesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT: - return payments_line_items_tracking_categories_contact() - if self is CreditNotesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD: - return payments_line_items_tracking_categories_contact_accounting_period() - if self is CreditNotesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY: - return payments_line_items_tracking_categories_contact_company() - if ( - self - is CreditNotesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_contact_company_accounting_period() - if self is CreditNotesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES: - return payments_tracking_categories() - if self is CreditNotesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return payments_tracking_categories_accounting_period() - if self is CreditNotesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_COMPANY: - return payments_tracking_categories_company() - if self is CreditNotesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return payments_tracking_categories_company_accounting_period() - if self is CreditNotesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT: - return payments_tracking_categories_contact() - if self is CreditNotesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD: - return payments_tracking_categories_contact_accounting_period() - if self is CreditNotesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY: - return payments_tracking_categories_contact_company() - if self is CreditNotesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return payments_tracking_categories_contact_company_accounting_period() - if self is CreditNotesListRequestExpand.TRACKING_CATEGORIES: - return tracking_categories() - if self is CreditNotesListRequestExpand.TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return tracking_categories_accounting_period() - if self is CreditNotesListRequestExpand.TRACKING_CATEGORIES_COMPANY: - return tracking_categories_company() - if self is CreditNotesListRequestExpand.TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_company_accounting_period() - if self is CreditNotesListRequestExpand.TRACKING_CATEGORIES_CONTACT: - return tracking_categories_contact() - if self is CreditNotesListRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD: - return tracking_categories_contact_accounting_period() - if self is CreditNotesListRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY: - return tracking_categories_contact_company() - if self is CreditNotesListRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_contact_company_accounting_period() diff --git a/src/merge/resources/accounting/resources/credit_notes/types/credit_notes_list_request_expand_item.py b/src/merge/resources/accounting/resources/credit_notes/types/credit_notes_list_request_expand_item.py new file mode 100644 index 00000000..74046e9b --- /dev/null +++ b/src/merge/resources/accounting/resources/credit_notes/types/credit_notes_list_request_expand_item.py @@ -0,0 +1,41 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class CreditNotesListRequestExpandItem(str, enum.Enum): + ACCOUNTING_PERIOD = "accounting_period" + APPLIED_PAYMENTS = "applied_payments" + COMPANY = "company" + CONTACT = "contact" + LINE_ITEMS = "line_items" + PAYMENTS = "payments" + TRACKING_CATEGORIES = "tracking_categories" + + def visit( + self, + accounting_period: typing.Callable[[], T_Result], + applied_payments: typing.Callable[[], T_Result], + company: typing.Callable[[], T_Result], + contact: typing.Callable[[], T_Result], + line_items: typing.Callable[[], T_Result], + payments: typing.Callable[[], T_Result], + tracking_categories: typing.Callable[[], T_Result], + ) -> T_Result: + if self is CreditNotesListRequestExpandItem.ACCOUNTING_PERIOD: + return accounting_period() + if self is CreditNotesListRequestExpandItem.APPLIED_PAYMENTS: + return applied_payments() + if self is CreditNotesListRequestExpandItem.COMPANY: + return company() + if self is CreditNotesListRequestExpandItem.CONTACT: + return contact() + if self is CreditNotesListRequestExpandItem.LINE_ITEMS: + return line_items() + if self is CreditNotesListRequestExpandItem.PAYMENTS: + return payments() + if self is CreditNotesListRequestExpandItem.TRACKING_CATEGORIES: + return tracking_categories() diff --git a/src/merge/resources/accounting/resources/credit_notes/types/credit_notes_retrieve_request_expand.py b/src/merge/resources/accounting/resources/credit_notes/types/credit_notes_retrieve_request_expand.py deleted file mode 100644 index 60a5d54c..00000000 --- a/src/merge/resources/accounting/resources/credit_notes/types/credit_notes_retrieve_request_expand.py +++ /dev/null @@ -1,639 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class CreditNotesRetrieveRequestExpand(str, enum.Enum): - ACCOUNTING_PERIOD = "accounting_period" - APPLIED_PAYMENTS = "applied_payments" - APPLIED_PAYMENTS_ACCOUNTING_PERIOD = "applied_payments,accounting_period" - APPLIED_PAYMENTS_COMPANY = "applied_payments,company" - APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD = "applied_payments,company,accounting_period" - APPLIED_PAYMENTS_CONTACT = "applied_payments,contact" - APPLIED_PAYMENTS_CONTACT_ACCOUNTING_PERIOD = "applied_payments,contact,accounting_period" - APPLIED_PAYMENTS_CONTACT_COMPANY = "applied_payments,contact,company" - APPLIED_PAYMENTS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "applied_payments,contact,company,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS = "applied_payments,line_items" - APPLIED_PAYMENTS_LINE_ITEMS_ACCOUNTING_PERIOD = "applied_payments,line_items,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_COMPANY = "applied_payments,line_items,company" - APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD = "applied_payments,line_items,company,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT = "applied_payments,line_items,contact" - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD = "applied_payments,line_items,contact,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY = "applied_payments,line_items,contact,company" - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES = "applied_payments,line_items,tracking_categories" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY = "applied_payments,line_items,tracking_categories,company" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT = "applied_payments,line_items,tracking_categories,contact" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,contact,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY = ( - "applied_payments,line_items,tracking_categories,contact,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES = "applied_payments,tracking_categories" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "applied_payments,tracking_categories,accounting_period" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY = "applied_payments,tracking_categories,company" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,company,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT = "applied_payments,tracking_categories,contact" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,contact,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY = "applied_payments,tracking_categories,contact,company" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,contact,company,accounting_period" - ) - COMPANY = "company" - COMPANY_ACCOUNTING_PERIOD = "company,accounting_period" - CONTACT = "contact" - CONTACT_ACCOUNTING_PERIOD = "contact,accounting_period" - CONTACT_COMPANY = "contact,company" - CONTACT_COMPANY_ACCOUNTING_PERIOD = "contact,company,accounting_period" - LINE_ITEMS = "line_items" - LINE_ITEMS_ACCOUNTING_PERIOD = "line_items,accounting_period" - LINE_ITEMS_COMPANY = "line_items,company" - LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD = "line_items,company,accounting_period" - LINE_ITEMS_CONTACT = "line_items,contact" - LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD = "line_items,contact,accounting_period" - LINE_ITEMS_CONTACT_COMPANY = "line_items,contact,company" - LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "line_items,contact,company,accounting_period" - LINE_ITEMS_TRACKING_CATEGORIES = "line_items,tracking_categories" - LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "line_items,tracking_categories,accounting_period" - LINE_ITEMS_TRACKING_CATEGORIES_COMPANY = "line_items,tracking_categories,company" - LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT = "line_items,tracking_categories,contact" - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,contact,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY = "line_items,tracking_categories,contact,company" - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,contact,company,accounting_period" - ) - PAYMENTS = "payments" - PAYMENTS_ACCOUNTING_PERIOD = "payments,accounting_period" - PAYMENTS_APPLIED_PAYMENTS = "payments,applied_payments" - PAYMENTS_APPLIED_PAYMENTS_ACCOUNTING_PERIOD = "payments,applied_payments,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_COMPANY = "payments,applied_payments,company" - PAYMENTS_APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_CONTACT = "payments,applied_payments,contact" - PAYMENTS_APPLIED_PAYMENTS_CONTACT_ACCOUNTING_PERIOD = "payments,applied_payments,contact,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY = "payments,applied_payments,contact,company" - PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS = "payments,applied_payments,line_items" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY = "payments,applied_payments,line_items,company" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT = "payments,applied_payments,line_items,contact" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY = "payments,applied_payments,line_items,contact,company" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES = ( - "payments,applied_payments,line_items,tracking_categories" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY = ( - "payments,applied_payments,line_items,tracking_categories,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT = ( - "payments,applied_payments,line_items,tracking_categories,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY = ( - "payments,applied_payments,line_items,tracking_categories,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES = "payments,applied_payments,tracking_categories" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY = "payments,applied_payments,tracking_categories,company" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT = "payments,applied_payments,tracking_categories,contact" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY = ( - "payments,applied_payments,tracking_categories,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,contact,company,accounting_period" - ) - PAYMENTS_COMPANY = "payments,company" - PAYMENTS_COMPANY_ACCOUNTING_PERIOD = "payments,company,accounting_period" - PAYMENTS_CONTACT = "payments,contact" - PAYMENTS_CONTACT_ACCOUNTING_PERIOD = "payments,contact,accounting_period" - PAYMENTS_CONTACT_COMPANY = "payments,contact,company" - PAYMENTS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,contact,company,accounting_period" - PAYMENTS_LINE_ITEMS = "payments,line_items" - PAYMENTS_LINE_ITEMS_ACCOUNTING_PERIOD = "payments,line_items,accounting_period" - PAYMENTS_LINE_ITEMS_COMPANY = "payments,line_items,company" - PAYMENTS_LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD = "payments,line_items,company,accounting_period" - PAYMENTS_LINE_ITEMS_CONTACT = "payments,line_items,contact" - PAYMENTS_LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD = "payments,line_items,contact,accounting_period" - PAYMENTS_LINE_ITEMS_CONTACT_COMPANY = "payments,line_items,contact,company" - PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,line_items,contact,company,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES = "payments,line_items,tracking_categories" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY = "payments,line_items,tracking_categories,company" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT = "payments,line_items,tracking_categories,contact" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,contact,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY = "payments,line_items,tracking_categories,contact,company" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,contact,company,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES = "payments,tracking_categories" - PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "payments,tracking_categories,accounting_period" - PAYMENTS_TRACKING_CATEGORIES_COMPANY = "payments,tracking_categories,company" - PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = "payments,tracking_categories,company,accounting_period" - PAYMENTS_TRACKING_CATEGORIES_CONTACT = "payments,tracking_categories,contact" - PAYMENTS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = "payments,tracking_categories,contact,accounting_period" - PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY = "payments,tracking_categories,contact,company" - PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,contact,company,accounting_period" - ) - TRACKING_CATEGORIES = "tracking_categories" - TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "tracking_categories,accounting_period" - TRACKING_CATEGORIES_COMPANY = "tracking_categories,company" - TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,company,accounting_period" - TRACKING_CATEGORIES_CONTACT = "tracking_categories,contact" - TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = "tracking_categories,contact,accounting_period" - TRACKING_CATEGORIES_CONTACT_COMPANY = "tracking_categories,contact,company" - TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,contact,company,accounting_period" - - def visit( - self, - accounting_period: typing.Callable[[], T_Result], - applied_payments: typing.Callable[[], T_Result], - applied_payments_accounting_period: typing.Callable[[], T_Result], - applied_payments_company: typing.Callable[[], T_Result], - applied_payments_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_contact: typing.Callable[[], T_Result], - applied_payments_contact_accounting_period: typing.Callable[[], T_Result], - applied_payments_contact_company: typing.Callable[[], T_Result], - applied_payments_contact_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items: typing.Callable[[], T_Result], - applied_payments_line_items_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_company: typing.Callable[[], T_Result], - applied_payments_line_items_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_contact: typing.Callable[[], T_Result], - applied_payments_line_items_contact_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_contact_company: typing.Callable[[], T_Result], - applied_payments_line_items_contact_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_company: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_contact: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_contact_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_contact_company: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories: typing.Callable[[], T_Result], - applied_payments_tracking_categories_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories_company: typing.Callable[[], T_Result], - applied_payments_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories_contact: typing.Callable[[], T_Result], - applied_payments_tracking_categories_contact_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories_contact_company: typing.Callable[[], T_Result], - applied_payments_tracking_categories_contact_company_accounting_period: typing.Callable[[], T_Result], - company: typing.Callable[[], T_Result], - company_accounting_period: typing.Callable[[], T_Result], - contact: typing.Callable[[], T_Result], - contact_accounting_period: typing.Callable[[], T_Result], - contact_company: typing.Callable[[], T_Result], - contact_company_accounting_period: typing.Callable[[], T_Result], - line_items: typing.Callable[[], T_Result], - line_items_accounting_period: typing.Callable[[], T_Result], - line_items_company: typing.Callable[[], T_Result], - line_items_company_accounting_period: typing.Callable[[], T_Result], - line_items_contact: typing.Callable[[], T_Result], - line_items_contact_accounting_period: typing.Callable[[], T_Result], - line_items_contact_company: typing.Callable[[], T_Result], - line_items_contact_company_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories: typing.Callable[[], T_Result], - line_items_tracking_categories_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_company: typing.Callable[[], T_Result], - line_items_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_contact: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_company: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_company_accounting_period: typing.Callable[[], T_Result], - payments: typing.Callable[[], T_Result], - payments_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments: typing.Callable[[], T_Result], - payments_applied_payments_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_company: typing.Callable[[], T_Result], - payments_applied_payments_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_contact: typing.Callable[[], T_Result], - payments_applied_payments_contact_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_contact_company: typing.Callable[[], T_Result], - payments_applied_payments_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items: typing.Callable[[], T_Result], - payments_applied_payments_line_items_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_company: typing.Callable[[], T_Result], - payments_applied_payments_line_items_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_contact: typing.Callable[[], T_Result], - payments_applied_payments_line_items_contact_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_contact_company: typing.Callable[[], T_Result], - payments_applied_payments_line_items_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_company: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_contact: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_contact_company: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_company: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_contact: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_contact_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_contact_company: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_company: typing.Callable[[], T_Result], - payments_company_accounting_period: typing.Callable[[], T_Result], - payments_contact: typing.Callable[[], T_Result], - payments_contact_accounting_period: typing.Callable[[], T_Result], - payments_contact_company: typing.Callable[[], T_Result], - payments_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_line_items: typing.Callable[[], T_Result], - payments_line_items_accounting_period: typing.Callable[[], T_Result], - payments_line_items_company: typing.Callable[[], T_Result], - payments_line_items_company_accounting_period: typing.Callable[[], T_Result], - payments_line_items_contact: typing.Callable[[], T_Result], - payments_line_items_contact_accounting_period: typing.Callable[[], T_Result], - payments_line_items_contact_company: typing.Callable[[], T_Result], - payments_line_items_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_line_items_tracking_categories: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_accounting_period: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_company: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_contact: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_contact_accounting_period: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_contact_company: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories: typing.Callable[[], T_Result], - payments_tracking_categories_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_company: typing.Callable[[], T_Result], - payments_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_contact: typing.Callable[[], T_Result], - payments_tracking_categories_contact_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_contact_company: typing.Callable[[], T_Result], - payments_tracking_categories_contact_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories: typing.Callable[[], T_Result], - tracking_categories_accounting_period: typing.Callable[[], T_Result], - tracking_categories_company: typing.Callable[[], T_Result], - tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_contact: typing.Callable[[], T_Result], - tracking_categories_contact_accounting_period: typing.Callable[[], T_Result], - tracking_categories_contact_company: typing.Callable[[], T_Result], - tracking_categories_contact_company_accounting_period: typing.Callable[[], T_Result], - ) -> T_Result: - if self is CreditNotesRetrieveRequestExpand.ACCOUNTING_PERIOD: - return accounting_period() - if self is CreditNotesRetrieveRequestExpand.APPLIED_PAYMENTS: - return applied_payments() - if self is CreditNotesRetrieveRequestExpand.APPLIED_PAYMENTS_ACCOUNTING_PERIOD: - return applied_payments_accounting_period() - if self is CreditNotesRetrieveRequestExpand.APPLIED_PAYMENTS_COMPANY: - return applied_payments_company() - if self is CreditNotesRetrieveRequestExpand.APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_company_accounting_period() - if self is CreditNotesRetrieveRequestExpand.APPLIED_PAYMENTS_CONTACT: - return applied_payments_contact() - if self is CreditNotesRetrieveRequestExpand.APPLIED_PAYMENTS_CONTACT_ACCOUNTING_PERIOD: - return applied_payments_contact_accounting_period() - if self is CreditNotesRetrieveRequestExpand.APPLIED_PAYMENTS_CONTACT_COMPANY: - return applied_payments_contact_company() - if self is CreditNotesRetrieveRequestExpand.APPLIED_PAYMENTS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_contact_company_accounting_period() - if self is CreditNotesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS: - return applied_payments_line_items() - if self is CreditNotesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_ACCOUNTING_PERIOD: - return applied_payments_line_items_accounting_period() - if self is CreditNotesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_COMPANY: - return applied_payments_line_items_company() - if self is CreditNotesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_line_items_company_accounting_period() - if self is CreditNotesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT: - return applied_payments_line_items_contact() - if self is CreditNotesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD: - return applied_payments_line_items_contact_accounting_period() - if self is CreditNotesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY: - return applied_payments_line_items_contact_company() - if self is CreditNotesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_line_items_contact_company_accounting_period() - if self is CreditNotesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES: - return applied_payments_line_items_tracking_categories() - if self is CreditNotesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return applied_payments_line_items_tracking_categories_accounting_period() - if self is CreditNotesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY: - return applied_payments_line_items_tracking_categories_company() - if ( - self - is CreditNotesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_company_accounting_period() - if self is CreditNotesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT: - return applied_payments_line_items_tracking_categories_contact() - if ( - self - is CreditNotesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_contact_accounting_period() - if self is CreditNotesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY: - return applied_payments_line_items_tracking_categories_contact_company() - if ( - self - is CreditNotesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_contact_company_accounting_period() - if self is CreditNotesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES: - return applied_payments_tracking_categories() - if self is CreditNotesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return applied_payments_tracking_categories_accounting_period() - if self is CreditNotesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY: - return applied_payments_tracking_categories_company() - if self is CreditNotesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_tracking_categories_company_accounting_period() - if self is CreditNotesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT: - return applied_payments_tracking_categories_contact() - if self is CreditNotesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD: - return applied_payments_tracking_categories_contact_accounting_period() - if self is CreditNotesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY: - return applied_payments_tracking_categories_contact_company() - if ( - self - is CreditNotesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_contact_company_accounting_period() - if self is CreditNotesRetrieveRequestExpand.COMPANY: - return company() - if self is CreditNotesRetrieveRequestExpand.COMPANY_ACCOUNTING_PERIOD: - return company_accounting_period() - if self is CreditNotesRetrieveRequestExpand.CONTACT: - return contact() - if self is CreditNotesRetrieveRequestExpand.CONTACT_ACCOUNTING_PERIOD: - return contact_accounting_period() - if self is CreditNotesRetrieveRequestExpand.CONTACT_COMPANY: - return contact_company() - if self is CreditNotesRetrieveRequestExpand.CONTACT_COMPANY_ACCOUNTING_PERIOD: - return contact_company_accounting_period() - if self is CreditNotesRetrieveRequestExpand.LINE_ITEMS: - return line_items() - if self is CreditNotesRetrieveRequestExpand.LINE_ITEMS_ACCOUNTING_PERIOD: - return line_items_accounting_period() - if self is CreditNotesRetrieveRequestExpand.LINE_ITEMS_COMPANY: - return line_items_company() - if self is CreditNotesRetrieveRequestExpand.LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD: - return line_items_company_accounting_period() - if self is CreditNotesRetrieveRequestExpand.LINE_ITEMS_CONTACT: - return line_items_contact() - if self is CreditNotesRetrieveRequestExpand.LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD: - return line_items_contact_accounting_period() - if self is CreditNotesRetrieveRequestExpand.LINE_ITEMS_CONTACT_COMPANY: - return line_items_contact_company() - if self is CreditNotesRetrieveRequestExpand.LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return line_items_contact_company_accounting_period() - if self is CreditNotesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES: - return line_items_tracking_categories() - if self is CreditNotesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return line_items_tracking_categories_accounting_period() - if self is CreditNotesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_COMPANY: - return line_items_tracking_categories_company() - if self is CreditNotesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return line_items_tracking_categories_company_accounting_period() - if self is CreditNotesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT: - return line_items_tracking_categories_contact() - if self is CreditNotesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD: - return line_items_tracking_categories_contact_accounting_period() - if self is CreditNotesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY: - return line_items_tracking_categories_contact_company() - if self is CreditNotesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return line_items_tracking_categories_contact_company_accounting_period() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS: - return payments() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_ACCOUNTING_PERIOD: - return payments_accounting_period() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS: - return payments_applied_payments() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_ACCOUNTING_PERIOD: - return payments_applied_payments_accounting_period() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_COMPANY: - return payments_applied_payments_company() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD: - return payments_applied_payments_company_accounting_period() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT: - return payments_applied_payments_contact() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT_ACCOUNTING_PERIOD: - return payments_applied_payments_contact_accounting_period() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY: - return payments_applied_payments_contact_company() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return payments_applied_payments_contact_company_accounting_period() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS: - return payments_applied_payments_line_items() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_ACCOUNTING_PERIOD: - return payments_applied_payments_line_items_accounting_period() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY: - return payments_applied_payments_line_items_company() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD: - return payments_applied_payments_line_items_company_accounting_period() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT: - return payments_applied_payments_line_items_contact() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD: - return payments_applied_payments_line_items_contact_accounting_period() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY: - return payments_applied_payments_line_items_contact_company() - if ( - self - is CreditNotesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_contact_company_accounting_period() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES: - return payments_applied_payments_line_items_tracking_categories() - if ( - self - is CreditNotesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_accounting_period() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY: - return payments_applied_payments_line_items_tracking_categories_company() - if ( - self - is CreditNotesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_company_accounting_period() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT: - return payments_applied_payments_line_items_tracking_categories_contact() - if ( - self - is CreditNotesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_contact_accounting_period() - if ( - self - is CreditNotesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY - ): - return payments_applied_payments_line_items_tracking_categories_contact_company() - if ( - self - is CreditNotesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_contact_company_accounting_period() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES: - return payments_applied_payments_tracking_categories() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return payments_applied_payments_tracking_categories_accounting_period() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY: - return payments_applied_payments_tracking_categories_company() - if ( - self - is CreditNotesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_company_accounting_period() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT: - return payments_applied_payments_tracking_categories_contact() - if ( - self - is CreditNotesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_contact_accounting_period() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY: - return payments_applied_payments_tracking_categories_contact_company() - if ( - self - is CreditNotesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_contact_company_accounting_period() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_COMPANY: - return payments_company() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_COMPANY_ACCOUNTING_PERIOD: - return payments_company_accounting_period() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_CONTACT: - return payments_contact() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_CONTACT_ACCOUNTING_PERIOD: - return payments_contact_accounting_period() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_CONTACT_COMPANY: - return payments_contact_company() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return payments_contact_company_accounting_period() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS: - return payments_line_items() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_ACCOUNTING_PERIOD: - return payments_line_items_accounting_period() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_COMPANY: - return payments_line_items_company() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD: - return payments_line_items_company_accounting_period() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT: - return payments_line_items_contact() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD: - return payments_line_items_contact_accounting_period() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT_COMPANY: - return payments_line_items_contact_company() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return payments_line_items_contact_company_accounting_period() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES: - return payments_line_items_tracking_categories() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return payments_line_items_tracking_categories_accounting_period() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY: - return payments_line_items_tracking_categories_company() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return payments_line_items_tracking_categories_company_accounting_period() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT: - return payments_line_items_tracking_categories_contact() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD: - return payments_line_items_tracking_categories_contact_accounting_period() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY: - return payments_line_items_tracking_categories_contact_company() - if ( - self - is CreditNotesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_contact_company_accounting_period() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES: - return payments_tracking_categories() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return payments_tracking_categories_accounting_period() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_COMPANY: - return payments_tracking_categories_company() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return payments_tracking_categories_company_accounting_period() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT: - return payments_tracking_categories_contact() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD: - return payments_tracking_categories_contact_accounting_period() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY: - return payments_tracking_categories_contact_company() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return payments_tracking_categories_contact_company_accounting_period() - if self is CreditNotesRetrieveRequestExpand.TRACKING_CATEGORIES: - return tracking_categories() - if self is CreditNotesRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return tracking_categories_accounting_period() - if self is CreditNotesRetrieveRequestExpand.TRACKING_CATEGORIES_COMPANY: - return tracking_categories_company() - if self is CreditNotesRetrieveRequestExpand.TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_company_accounting_period() - if self is CreditNotesRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT: - return tracking_categories_contact() - if self is CreditNotesRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD: - return tracking_categories_contact_accounting_period() - if self is CreditNotesRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY: - return tracking_categories_contact_company() - if self is CreditNotesRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_contact_company_accounting_period() diff --git a/src/merge/resources/accounting/resources/credit_notes/types/credit_notes_retrieve_request_expand_item.py b/src/merge/resources/accounting/resources/credit_notes/types/credit_notes_retrieve_request_expand_item.py new file mode 100644 index 00000000..b55f5a26 --- /dev/null +++ b/src/merge/resources/accounting/resources/credit_notes/types/credit_notes_retrieve_request_expand_item.py @@ -0,0 +1,41 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class CreditNotesRetrieveRequestExpandItem(str, enum.Enum): + ACCOUNTING_PERIOD = "accounting_period" + APPLIED_PAYMENTS = "applied_payments" + COMPANY = "company" + CONTACT = "contact" + LINE_ITEMS = "line_items" + PAYMENTS = "payments" + TRACKING_CATEGORIES = "tracking_categories" + + def visit( + self, + accounting_period: typing.Callable[[], T_Result], + applied_payments: typing.Callable[[], T_Result], + company: typing.Callable[[], T_Result], + contact: typing.Callable[[], T_Result], + line_items: typing.Callable[[], T_Result], + payments: typing.Callable[[], T_Result], + tracking_categories: typing.Callable[[], T_Result], + ) -> T_Result: + if self is CreditNotesRetrieveRequestExpandItem.ACCOUNTING_PERIOD: + return accounting_period() + if self is CreditNotesRetrieveRequestExpandItem.APPLIED_PAYMENTS: + return applied_payments() + if self is CreditNotesRetrieveRequestExpandItem.COMPANY: + return company() + if self is CreditNotesRetrieveRequestExpandItem.CONTACT: + return contact() + if self is CreditNotesRetrieveRequestExpandItem.LINE_ITEMS: + return line_items() + if self is CreditNotesRetrieveRequestExpandItem.PAYMENTS: + return payments() + if self is CreditNotesRetrieveRequestExpandItem.TRACKING_CATEGORIES: + return tracking_categories() diff --git a/src/merge/resources/accounting/resources/employees/__init__.py b/src/merge/resources/accounting/resources/employees/__init__.py index 5cde0202..571e498e 100644 --- a/src/merge/resources/accounting/resources/employees/__init__.py +++ b/src/merge/resources/accounting/resources/employees/__init__.py @@ -2,3 +2,36 @@ # isort: skip_file +import typing +from importlib import import_module + +if typing.TYPE_CHECKING: + from .types import EmployeesListRequestExpandItem, EmployeesRetrieveRequestExpandItem +_dynamic_imports: typing.Dict[str, str] = { + "EmployeesListRequestExpandItem": ".types", + "EmployeesRetrieveRequestExpandItem": ".types", +} + + +def __getattr__(attr_name: str) -> typing.Any: + module_name = _dynamic_imports.get(attr_name) + if module_name is None: + raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") + try: + module = import_module(module_name, __package__) + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) + except ImportError as e: + raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e + except AttributeError as e: + raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e + + +def __dir__(): + lazy_attrs = list(_dynamic_imports.keys()) + return sorted(lazy_attrs) + + +__all__ = ["EmployeesListRequestExpandItem", "EmployeesRetrieveRequestExpandItem"] diff --git a/src/merge/resources/accounting/resources/employees/client.py b/src/merge/resources/accounting/resources/employees/client.py index 113421fc..63d17c5b 100644 --- a/src/merge/resources/accounting/resources/employees/client.py +++ b/src/merge/resources/accounting/resources/employees/client.py @@ -1,13 +1,15 @@ # This file was auto-generated by Fern from our API Definition. -import datetime as dt import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.employee import Employee from ...types.paginated_employee_list import PaginatedEmployeeList from .raw_client import AsyncRawEmployeesClient, RawEmployeesClient +from .types.employees_list_request_expand_item import EmployeesListRequestExpandItem +from .types.employees_retrieve_request_expand_item import EmployeesRetrieveRequestExpandItem class EmployeesClient: @@ -28,38 +30,25 @@ def with_raw_response(self) -> RawEmployeesClient: def list( self, *, - company_id: typing.Optional[str] = None, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[EmployeesListRequestExpandItem, typing.Sequence[EmployeesListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedEmployeeList: + ) -> SyncPager[Employee, PaginatedEmployeeList]: """ Returns a list of `Employee` objects. Parameters ---------- - company_id : typing.Optional[str] - If provided, will only return employees for this company. - - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[EmployeesListRequestExpandItem, typing.Sequence[EmployeesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -71,80 +60,51 @@ def list( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - page_size : typing.Optional[int] Number of results to return per page. - remote_id : typing.Optional[str] - The API provider's ID for the given object. - request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedEmployeeList + SyncPager[Employee, PaginatedEmployeeList] Examples -------- - import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.employees.list( - company_id="company_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = client.accounting.employees.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( - company_id=company_id, - created_after=created_after, - created_before=created_before, + return self._raw_client.list( cursor=cursor, expand=expand, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, include_shell_data=include_shell_data, - modified_after=modified_after, - modified_before=modified_before, page_size=page_size, - remote_id=remote_id, request_options=request_options, ) - return _response.data def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[EmployeesRetrieveRequestExpandItem, typing.Sequence[EmployeesRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -156,7 +116,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[EmployeesRetrieveRequestExpandItem, typing.Sequence[EmployeesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -183,8 +143,6 @@ def retrieve( ) client.accounting.employees.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) """ _response = self._raw_client.retrieve( @@ -215,38 +173,25 @@ def with_raw_response(self) -> AsyncRawEmployeesClient: async def list( self, *, - company_id: typing.Optional[str] = None, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[EmployeesListRequestExpandItem, typing.Sequence[EmployeesListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedEmployeeList: + ) -> AsyncPager[Employee, PaginatedEmployeeList]: """ Returns a list of `Employee` objects. Parameters ---------- - company_id : typing.Optional[str] - If provided, will only return employees for this company. - - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[EmployeesListRequestExpandItem, typing.Sequence[EmployeesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -258,30 +203,20 @@ async def list( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - page_size : typing.Optional[int] Number of results to return per page. - remote_id : typing.Optional[str] - The API provider's ID for the given object. - request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedEmployeeList + AsyncPager[Employee, PaginatedEmployeeList] Examples -------- import asyncio - import datetime from merge import AsyncMerge @@ -292,53 +227,36 @@ async def list( async def main() -> None: - await client.accounting.employees.list( - company_id="company_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = await client.accounting.employees.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( - company_id=company_id, - created_after=created_after, - created_before=created_before, + return await self._raw_client.list( cursor=cursor, expand=expand, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, include_shell_data=include_shell_data, - modified_after=modified_after, - modified_before=modified_before, page_size=page_size, - remote_id=remote_id, request_options=request_options, ) - return _response.data async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[EmployeesRetrieveRequestExpandItem, typing.Sequence[EmployeesRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -350,7 +268,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[EmployeesRetrieveRequestExpandItem, typing.Sequence[EmployeesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -382,8 +300,6 @@ async def retrieve( async def main() -> None: await client.accounting.employees.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) diff --git a/src/merge/resources/accounting/resources/employees/raw_client.py b/src/merge/resources/accounting/resources/employees/raw_client.py index 65ffab63..0937e9d0 100644 --- a/src/merge/resources/accounting/resources/employees/raw_client.py +++ b/src/merge/resources/accounting/resources/employees/raw_client.py @@ -1,18 +1,19 @@ # This file was auto-generated by Fern from our API Definition. -import datetime as dt import typing from json.decoder import JSONDecodeError from .....core.api_error import ApiError from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.employee import Employee from ...types.paginated_employee_list import PaginatedEmployeeList +from .types.employees_list_request_expand_item import EmployeesListRequestExpandItem +from .types.employees_retrieve_request_expand_item import EmployeesRetrieveRequestExpandItem class RawEmployeesClient: @@ -22,38 +23,25 @@ def __init__(self, *, client_wrapper: SyncClientWrapper): def list( self, *, - company_id: typing.Optional[str] = None, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[EmployeesListRequestExpandItem, typing.Sequence[EmployeesListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedEmployeeList]: + ) -> SyncPager[Employee, PaginatedEmployeeList]: """ Returns a list of `Employee` objects. Parameters ---------- - company_id : typing.Optional[str] - If provided, will only return employees for this company. - - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[EmployeesListRequestExpandItem, typing.Sequence[EmployeesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -65,55 +53,52 @@ def list( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - page_size : typing.Optional[int] Number of results to return per page. - remote_id : typing.Optional[str] - The API provider's ID for the given object. - request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - HttpResponse[PaginatedEmployeeList] + SyncPager[Employee, PaginatedEmployeeList] """ _response = self._client_wrapper.httpx_client.request( "accounting/v1/employees", method="GET", params={ - "company_id": company_id, - "created_after": serialize_datetime(created_after) if created_after is not None else None, - "created_before": serialize_datetime(created_before) if created_before is not None else None, "cursor": cursor, "expand": expand, "include_deleted_data": include_deleted_data, "include_remote_data": include_remote_data, "include_shell_data": include_shell_data, - "modified_after": serialize_datetime(modified_after) if modified_after is not None else None, - "modified_before": serialize_datetime(modified_before) if modified_before is not None else None, "page_size": page_size, - "remote_id": remote_id, }, request_options=request_options, ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedEmployeeList, construct_type( type_=PaginatedEmployeeList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + page_size=page_size, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -123,7 +108,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[EmployeesRetrieveRequestExpandItem, typing.Sequence[EmployeesRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -135,7 +122,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[EmployeesRetrieveRequestExpandItem, typing.Sequence[EmployeesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -185,38 +172,25 @@ def __init__(self, *, client_wrapper: AsyncClientWrapper): async def list( self, *, - company_id: typing.Optional[str] = None, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[EmployeesListRequestExpandItem, typing.Sequence[EmployeesListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedEmployeeList]: + ) -> AsyncPager[Employee, PaginatedEmployeeList]: """ Returns a list of `Employee` objects. Parameters ---------- - company_id : typing.Optional[str] - If provided, will only return employees for this company. - - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[EmployeesListRequestExpandItem, typing.Sequence[EmployeesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -228,55 +202,55 @@ async def list( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - page_size : typing.Optional[int] Number of results to return per page. - remote_id : typing.Optional[str] - The API provider's ID for the given object. - request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - AsyncHttpResponse[PaginatedEmployeeList] + AsyncPager[Employee, PaginatedEmployeeList] """ _response = await self._client_wrapper.httpx_client.request( "accounting/v1/employees", method="GET", params={ - "company_id": company_id, - "created_after": serialize_datetime(created_after) if created_after is not None else None, - "created_before": serialize_datetime(created_before) if created_before is not None else None, "cursor": cursor, "expand": expand, "include_deleted_data": include_deleted_data, "include_remote_data": include_remote_data, "include_shell_data": include_shell_data, - "modified_after": serialize_datetime(modified_after) if modified_after is not None else None, - "modified_before": serialize_datetime(modified_before) if modified_before is not None else None, "page_size": page_size, - "remote_id": remote_id, }, request_options=request_options, ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedEmployeeList, construct_type( type_=PaginatedEmployeeList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -286,7 +260,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[EmployeesRetrieveRequestExpandItem, typing.Sequence[EmployeesRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -298,7 +274,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[EmployeesRetrieveRequestExpandItem, typing.Sequence[EmployeesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/accounting/resources/employees/types/__init__.py b/src/merge/resources/accounting/resources/employees/types/__init__.py new file mode 100644 index 00000000..7fcf81fc --- /dev/null +++ b/src/merge/resources/accounting/resources/employees/types/__init__.py @@ -0,0 +1,38 @@ +# This file was auto-generated by Fern from our API Definition. + +# isort: skip_file + +import typing +from importlib import import_module + +if typing.TYPE_CHECKING: + from .employees_list_request_expand_item import EmployeesListRequestExpandItem + from .employees_retrieve_request_expand_item import EmployeesRetrieveRequestExpandItem +_dynamic_imports: typing.Dict[str, str] = { + "EmployeesListRequestExpandItem": ".employees_list_request_expand_item", + "EmployeesRetrieveRequestExpandItem": ".employees_retrieve_request_expand_item", +} + + +def __getattr__(attr_name: str) -> typing.Any: + module_name = _dynamic_imports.get(attr_name) + if module_name is None: + raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") + try: + module = import_module(module_name, __package__) + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) + except ImportError as e: + raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e + except AttributeError as e: + raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e + + +def __dir__(): + lazy_attrs = list(_dynamic_imports.keys()) + return sorted(lazy_attrs) + + +__all__ = ["EmployeesListRequestExpandItem", "EmployeesRetrieveRequestExpandItem"] diff --git a/src/merge/resources/accounting/resources/employees/types/employees_list_request_expand_item.py b/src/merge/resources/accounting/resources/employees/types/employees_list_request_expand_item.py new file mode 100644 index 00000000..5e307aee --- /dev/null +++ b/src/merge/resources/accounting/resources/employees/types/employees_list_request_expand_item.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class EmployeesListRequestExpandItem(str, enum.Enum): + COMPANY = "company" + + def visit(self, company: typing.Callable[[], T_Result]) -> T_Result: + if self is EmployeesListRequestExpandItem.COMPANY: + return company() diff --git a/src/merge/resources/accounting/resources/employees/types/employees_retrieve_request_expand_item.py b/src/merge/resources/accounting/resources/employees/types/employees_retrieve_request_expand_item.py new file mode 100644 index 00000000..6e23515a --- /dev/null +++ b/src/merge/resources/accounting/resources/employees/types/employees_retrieve_request_expand_item.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class EmployeesRetrieveRequestExpandItem(str, enum.Enum): + COMPANY = "company" + + def visit(self, company: typing.Callable[[], T_Result]) -> T_Result: + if self is EmployeesRetrieveRequestExpandItem.COMPANY: + return company() diff --git a/src/merge/resources/accounting/resources/expense_reports/__init__.py b/src/merge/resources/accounting/resources/expense_reports/__init__.py deleted file mode 100644 index 30f8419e..00000000 --- a/src/merge/resources/accounting/resources/expense_reports/__init__.py +++ /dev/null @@ -1,44 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - -import typing -from importlib import import_module - -if typing.TYPE_CHECKING: - from .types import ( - ExpenseReportsLinesListRequestExpand, - ExpenseReportsListRequestExpand, - ExpenseReportsRetrieveRequestExpand, - ) -_dynamic_imports: typing.Dict[str, str] = { - "ExpenseReportsLinesListRequestExpand": ".types", - "ExpenseReportsListRequestExpand": ".types", - "ExpenseReportsRetrieveRequestExpand": ".types", -} - - -def __getattr__(attr_name: str) -> typing.Any: - module_name = _dynamic_imports.get(attr_name) - if module_name is None: - raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") - try: - module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result - except ImportError as e: - raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e - except AttributeError as e: - raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e - - -def __dir__(): - lazy_attrs = list(_dynamic_imports.keys()) - return sorted(lazy_attrs) - - -__all__ = [ - "ExpenseReportsLinesListRequestExpand", - "ExpenseReportsListRequestExpand", - "ExpenseReportsRetrieveRequestExpand", -] diff --git a/src/merge/resources/accounting/resources/expense_reports/client.py b/src/merge/resources/accounting/resources/expense_reports/client.py deleted file mode 100644 index 5f440172..00000000 --- a/src/merge/resources/accounting/resources/expense_reports/client.py +++ /dev/null @@ -1,1124 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.expense_report import ExpenseReport -from ...types.expense_report_request import ExpenseReportRequest -from ...types.expense_report_response import ExpenseReportResponse -from ...types.meta_response import MetaResponse -from ...types.paginated_expense_report_line_list import PaginatedExpenseReportLineList -from ...types.paginated_expense_report_list import PaginatedExpenseReportList -from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList -from .raw_client import AsyncRawExpenseReportsClient, RawExpenseReportsClient -from .types.expense_reports_lines_list_request_expand import ExpenseReportsLinesListRequestExpand -from .types.expense_reports_list_request_expand import ExpenseReportsListRequestExpand -from .types.expense_reports_retrieve_request_expand import ExpenseReportsRetrieveRequestExpand - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class ExpenseReportsClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawExpenseReportsClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawExpenseReportsClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawExpenseReportsClient - """ - return self._raw_client - - def list( - self, - *, - company_id: typing.Optional[str] = None, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - expand: typing.Optional[ExpenseReportsListRequestExpand] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_remote_fields: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedExpenseReportList: - """ - Returns a list of `ExpenseReport` objects. - - Parameters - ---------- - company_id : typing.Optional[str] - If provided, will only return expense reports for this company. - - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - expand : typing.Optional[ExpenseReportsListRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_remote_fields : typing.Optional[bool] - Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedExpenseReportList - - - Examples - -------- - import datetime - - from merge import Merge - from merge.resources.accounting.resources.expense_reports import ( - ExpenseReportsListRequestExpand, - ) - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.accounting.expense_reports.list( - company_id="company_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=ExpenseReportsListRequestExpand.ACCOUNTING_PERIOD, - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", - ) - """ - _response = self._raw_client.list( - company_id=company_id, - created_after=created_after, - created_before=created_before, - cursor=cursor, - expand=expand, - include_deleted_data=include_deleted_data, - include_remote_data=include_remote_data, - include_remote_fields=include_remote_fields, - include_shell_data=include_shell_data, - modified_after=modified_after, - modified_before=modified_before, - page_size=page_size, - remote_id=remote_id, - request_options=request_options, - ) - return _response.data - - def create( - self, - *, - model: ExpenseReportRequest, - is_debug_mode: typing.Optional[bool] = None, - run_async: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> ExpenseReportResponse: - """ - Creates an `ExpenseReport` object with the given values. - - Parameters - ---------- - model : ExpenseReportRequest - - is_debug_mode : typing.Optional[bool] - Whether to include debug fields (such as log file links) in the response. - - run_async : typing.Optional[bool] - Whether or not third-party updates should be run asynchronously. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - ExpenseReportResponse - - - Examples - -------- - from merge import Merge - from merge.resources.accounting import ExpenseReportRequest - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.accounting.expense_reports.create( - is_debug_mode=True, - run_async=True, - model=ExpenseReportRequest( - tracking_categories=[ - "a1b2c3d4-e5f6-4a5b-9c3d-2e1f0a9b8c7d", - "d4c3b2a1-9e8f-7g6h-5i4j-3k2l1m0n9o8p", - ], - ), - ) - """ - _response = self._raw_client.create( - model=model, is_debug_mode=is_debug_mode, run_async=run_async, request_options=request_options - ) - return _response.data - - def lines_list( - self, - expense_report_id: str, - *, - cursor: typing.Optional[str] = None, - expand: typing.Optional[ExpenseReportsLinesListRequestExpand] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_remote_fields: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - page_size: typing.Optional[int] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedExpenseReportLineList: - """ - Returns a list of `ExpenseReportLine` objects that point to a `ExpenseReport` with the given id. - - Parameters - ---------- - expense_report_id : str - - cursor : typing.Optional[str] - The pagination cursor value. - - expand : typing.Optional[ExpenseReportsLinesListRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_remote_fields : typing.Optional[bool] - Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - page_size : typing.Optional[int] - Number of results to return per page. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedExpenseReportLineList - - - Examples - -------- - from merge import Merge - from merge.resources.accounting.resources.expense_reports import ( - ExpenseReportsLinesListRequestExpand, - ) - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.accounting.expense_reports.lines_list( - expense_report_id="expense_report_id", - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=ExpenseReportsLinesListRequestExpand.ACCOUNT, - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - page_size=1, - ) - """ - _response = self._raw_client.lines_list( - expense_report_id, - cursor=cursor, - expand=expand, - include_deleted_data=include_deleted_data, - include_remote_data=include_remote_data, - include_remote_fields=include_remote_fields, - include_shell_data=include_shell_data, - page_size=page_size, - request_options=request_options, - ) - return _response.data - - def retrieve( - self, - id: str, - *, - expand: typing.Optional[ExpenseReportsRetrieveRequestExpand] = None, - include_remote_data: typing.Optional[bool] = None, - include_remote_fields: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> ExpenseReport: - """ - Returns an `ExpenseReport` object with the given `id`. - - Parameters - ---------- - id : str - - expand : typing.Optional[ExpenseReportsRetrieveRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_remote_fields : typing.Optional[bool] - Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - ExpenseReport - - - Examples - -------- - from merge import Merge - from merge.resources.accounting.resources.expense_reports import ( - ExpenseReportsRetrieveRequestExpand, - ) - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.accounting.expense_reports.retrieve( - id="id", - expand=ExpenseReportsRetrieveRequestExpand.ACCOUNTING_PERIOD, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - ) - """ - _response = self._raw_client.retrieve( - id, - expand=expand, - include_remote_data=include_remote_data, - include_remote_fields=include_remote_fields, - include_shell_data=include_shell_data, - request_options=request_options, - ) - return _response.data - - def lines_remote_field_classes_list( - self, - *, - cursor: typing.Optional[str] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - is_common_model_field: typing.Optional[bool] = None, - is_custom: typing.Optional[bool] = None, - page_size: typing.Optional[int] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: - """ - Returns a list of `RemoteFieldClass` objects. - - Parameters - ---------- - cursor : typing.Optional[str] - The pagination cursor value. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - is_common_model_field : typing.Optional[bool] - If provided, will only return remote field classes with this is_common_model_field value - - is_custom : typing.Optional[bool] - If provided, will only return remote fields classes with this is_custom value - - page_size : typing.Optional[int] - Number of results to return per page. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedRemoteFieldClassList - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.accounting.expense_reports.lines_remote_field_classes_list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, - ) - """ - _response = self._raw_client.lines_remote_field_classes_list( - cursor=cursor, - include_deleted_data=include_deleted_data, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - is_common_model_field=is_common_model_field, - is_custom=is_custom, - page_size=page_size, - request_options=request_options, - ) - return _response.data - - def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: - """ - Returns metadata for `ExpenseReport` POSTs. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - MetaResponse - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.accounting.expense_reports.meta_post_retrieve() - """ - _response = self._raw_client.meta_post_retrieve(request_options=request_options) - return _response.data - - def remote_field_classes_list( - self, - *, - cursor: typing.Optional[str] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - is_common_model_field: typing.Optional[bool] = None, - is_custom: typing.Optional[bool] = None, - page_size: typing.Optional[int] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: - """ - Returns a list of `RemoteFieldClass` objects. - - Parameters - ---------- - cursor : typing.Optional[str] - The pagination cursor value. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - is_common_model_field : typing.Optional[bool] - If provided, will only return remote field classes with this is_common_model_field value - - is_custom : typing.Optional[bool] - If provided, will only return remote fields classes with this is_custom value - - page_size : typing.Optional[int] - Number of results to return per page. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedRemoteFieldClassList - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.accounting.expense_reports.remote_field_classes_list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, - ) - """ - _response = self._raw_client.remote_field_classes_list( - cursor=cursor, - include_deleted_data=include_deleted_data, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - is_common_model_field=is_common_model_field, - is_custom=is_custom, - page_size=page_size, - request_options=request_options, - ) - return _response.data - - -class AsyncExpenseReportsClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawExpenseReportsClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawExpenseReportsClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawExpenseReportsClient - """ - return self._raw_client - - async def list( - self, - *, - company_id: typing.Optional[str] = None, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - expand: typing.Optional[ExpenseReportsListRequestExpand] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_remote_fields: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedExpenseReportList: - """ - Returns a list of `ExpenseReport` objects. - - Parameters - ---------- - company_id : typing.Optional[str] - If provided, will only return expense reports for this company. - - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - expand : typing.Optional[ExpenseReportsListRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_remote_fields : typing.Optional[bool] - Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedExpenseReportList - - - Examples - -------- - import asyncio - import datetime - - from merge import AsyncMerge - from merge.resources.accounting.resources.expense_reports import ( - ExpenseReportsListRequestExpand, - ) - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.accounting.expense_reports.list( - company_id="company_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=ExpenseReportsListRequestExpand.ACCOUNTING_PERIOD, - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.list( - company_id=company_id, - created_after=created_after, - created_before=created_before, - cursor=cursor, - expand=expand, - include_deleted_data=include_deleted_data, - include_remote_data=include_remote_data, - include_remote_fields=include_remote_fields, - include_shell_data=include_shell_data, - modified_after=modified_after, - modified_before=modified_before, - page_size=page_size, - remote_id=remote_id, - request_options=request_options, - ) - return _response.data - - async def create( - self, - *, - model: ExpenseReportRequest, - is_debug_mode: typing.Optional[bool] = None, - run_async: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> ExpenseReportResponse: - """ - Creates an `ExpenseReport` object with the given values. - - Parameters - ---------- - model : ExpenseReportRequest - - is_debug_mode : typing.Optional[bool] - Whether to include debug fields (such as log file links) in the response. - - run_async : typing.Optional[bool] - Whether or not third-party updates should be run asynchronously. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - ExpenseReportResponse - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - from merge.resources.accounting import ExpenseReportRequest - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.accounting.expense_reports.create( - is_debug_mode=True, - run_async=True, - model=ExpenseReportRequest( - tracking_categories=[ - "a1b2c3d4-e5f6-4a5b-9c3d-2e1f0a9b8c7d", - "d4c3b2a1-9e8f-7g6h-5i4j-3k2l1m0n9o8p", - ], - ), - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.create( - model=model, is_debug_mode=is_debug_mode, run_async=run_async, request_options=request_options - ) - return _response.data - - async def lines_list( - self, - expense_report_id: str, - *, - cursor: typing.Optional[str] = None, - expand: typing.Optional[ExpenseReportsLinesListRequestExpand] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_remote_fields: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - page_size: typing.Optional[int] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedExpenseReportLineList: - """ - Returns a list of `ExpenseReportLine` objects that point to a `ExpenseReport` with the given id. - - Parameters - ---------- - expense_report_id : str - - cursor : typing.Optional[str] - The pagination cursor value. - - expand : typing.Optional[ExpenseReportsLinesListRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_remote_fields : typing.Optional[bool] - Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - page_size : typing.Optional[int] - Number of results to return per page. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedExpenseReportLineList - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - from merge.resources.accounting.resources.expense_reports import ( - ExpenseReportsLinesListRequestExpand, - ) - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.accounting.expense_reports.lines_list( - expense_report_id="expense_report_id", - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=ExpenseReportsLinesListRequestExpand.ACCOUNT, - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - page_size=1, - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.lines_list( - expense_report_id, - cursor=cursor, - expand=expand, - include_deleted_data=include_deleted_data, - include_remote_data=include_remote_data, - include_remote_fields=include_remote_fields, - include_shell_data=include_shell_data, - page_size=page_size, - request_options=request_options, - ) - return _response.data - - async def retrieve( - self, - id: str, - *, - expand: typing.Optional[ExpenseReportsRetrieveRequestExpand] = None, - include_remote_data: typing.Optional[bool] = None, - include_remote_fields: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> ExpenseReport: - """ - Returns an `ExpenseReport` object with the given `id`. - - Parameters - ---------- - id : str - - expand : typing.Optional[ExpenseReportsRetrieveRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_remote_fields : typing.Optional[bool] - Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - ExpenseReport - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - from merge.resources.accounting.resources.expense_reports import ( - ExpenseReportsRetrieveRequestExpand, - ) - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.accounting.expense_reports.retrieve( - id="id", - expand=ExpenseReportsRetrieveRequestExpand.ACCOUNTING_PERIOD, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.retrieve( - id, - expand=expand, - include_remote_data=include_remote_data, - include_remote_fields=include_remote_fields, - include_shell_data=include_shell_data, - request_options=request_options, - ) - return _response.data - - async def lines_remote_field_classes_list( - self, - *, - cursor: typing.Optional[str] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - is_common_model_field: typing.Optional[bool] = None, - is_custom: typing.Optional[bool] = None, - page_size: typing.Optional[int] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: - """ - Returns a list of `RemoteFieldClass` objects. - - Parameters - ---------- - cursor : typing.Optional[str] - The pagination cursor value. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - is_common_model_field : typing.Optional[bool] - If provided, will only return remote field classes with this is_common_model_field value - - is_custom : typing.Optional[bool] - If provided, will only return remote fields classes with this is_custom value - - page_size : typing.Optional[int] - Number of results to return per page. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedRemoteFieldClassList - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.accounting.expense_reports.lines_remote_field_classes_list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.lines_remote_field_classes_list( - cursor=cursor, - include_deleted_data=include_deleted_data, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - is_common_model_field=is_common_model_field, - is_custom=is_custom, - page_size=page_size, - request_options=request_options, - ) - return _response.data - - async def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: - """ - Returns metadata for `ExpenseReport` POSTs. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - MetaResponse - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.accounting.expense_reports.meta_post_retrieve() - - - asyncio.run(main()) - """ - _response = await self._raw_client.meta_post_retrieve(request_options=request_options) - return _response.data - - async def remote_field_classes_list( - self, - *, - cursor: typing.Optional[str] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - is_common_model_field: typing.Optional[bool] = None, - is_custom: typing.Optional[bool] = None, - page_size: typing.Optional[int] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: - """ - Returns a list of `RemoteFieldClass` objects. - - Parameters - ---------- - cursor : typing.Optional[str] - The pagination cursor value. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - is_common_model_field : typing.Optional[bool] - If provided, will only return remote field classes with this is_common_model_field value - - is_custom : typing.Optional[bool] - If provided, will only return remote fields classes with this is_custom value - - page_size : typing.Optional[int] - Number of results to return per page. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedRemoteFieldClassList - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.accounting.expense_reports.remote_field_classes_list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.remote_field_classes_list( - cursor=cursor, - include_deleted_data=include_deleted_data, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - is_common_model_field=is_common_model_field, - is_custom=is_custom, - page_size=page_size, - request_options=request_options, - ) - return _response.data diff --git a/src/merge/resources/accounting/resources/expense_reports/raw_client.py b/src/merge/resources/accounting/resources/expense_reports/raw_client.py deleted file mode 100644 index 58bfec92..00000000 --- a/src/merge/resources/accounting/resources/expense_reports/raw_client.py +++ /dev/null @@ -1,1020 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.datetime_utils import serialize_datetime -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.jsonable_encoder import jsonable_encoder -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.expense_report import ExpenseReport -from ...types.expense_report_request import ExpenseReportRequest -from ...types.expense_report_response import ExpenseReportResponse -from ...types.meta_response import MetaResponse -from ...types.paginated_expense_report_line_list import PaginatedExpenseReportLineList -from ...types.paginated_expense_report_list import PaginatedExpenseReportList -from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList -from .types.expense_reports_lines_list_request_expand import ExpenseReportsLinesListRequestExpand -from .types.expense_reports_list_request_expand import ExpenseReportsListRequestExpand -from .types.expense_reports_retrieve_request_expand import ExpenseReportsRetrieveRequestExpand - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class RawExpenseReportsClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def list( - self, - *, - company_id: typing.Optional[str] = None, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - expand: typing.Optional[ExpenseReportsListRequestExpand] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_remote_fields: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedExpenseReportList]: - """ - Returns a list of `ExpenseReport` objects. - - Parameters - ---------- - company_id : typing.Optional[str] - If provided, will only return expense reports for this company. - - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - expand : typing.Optional[ExpenseReportsListRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_remote_fields : typing.Optional[bool] - Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[PaginatedExpenseReportList] - - """ - _response = self._client_wrapper.httpx_client.request( - "accounting/v1/expense-reports", - method="GET", - params={ - "company_id": company_id, - "created_after": serialize_datetime(created_after) if created_after is not None else None, - "created_before": serialize_datetime(created_before) if created_before is not None else None, - "cursor": cursor, - "expand": expand, - "include_deleted_data": include_deleted_data, - "include_remote_data": include_remote_data, - "include_remote_fields": include_remote_fields, - "include_shell_data": include_shell_data, - "modified_after": serialize_datetime(modified_after) if modified_after is not None else None, - "modified_before": serialize_datetime(modified_before) if modified_before is not None else None, - "page_size": page_size, - "remote_id": remote_id, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedExpenseReportList, - construct_type( - type_=PaginatedExpenseReportList, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def create( - self, - *, - model: ExpenseReportRequest, - is_debug_mode: typing.Optional[bool] = None, - run_async: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[ExpenseReportResponse]: - """ - Creates an `ExpenseReport` object with the given values. - - Parameters - ---------- - model : ExpenseReportRequest - - is_debug_mode : typing.Optional[bool] - Whether to include debug fields (such as log file links) in the response. - - run_async : typing.Optional[bool] - Whether or not third-party updates should be run asynchronously. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[ExpenseReportResponse] - - """ - _response = self._client_wrapper.httpx_client.request( - "accounting/v1/expense-reports", - method="POST", - params={ - "is_debug_mode": is_debug_mode, - "run_async": run_async, - }, - json={ - "model": model, - }, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - ExpenseReportResponse, - construct_type( - type_=ExpenseReportResponse, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def lines_list( - self, - expense_report_id: str, - *, - cursor: typing.Optional[str] = None, - expand: typing.Optional[ExpenseReportsLinesListRequestExpand] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_remote_fields: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - page_size: typing.Optional[int] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedExpenseReportLineList]: - """ - Returns a list of `ExpenseReportLine` objects that point to a `ExpenseReport` with the given id. - - Parameters - ---------- - expense_report_id : str - - cursor : typing.Optional[str] - The pagination cursor value. - - expand : typing.Optional[ExpenseReportsLinesListRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_remote_fields : typing.Optional[bool] - Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - page_size : typing.Optional[int] - Number of results to return per page. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[PaginatedExpenseReportLineList] - - """ - _response = self._client_wrapper.httpx_client.request( - f"accounting/v1/expense-reports/{jsonable_encoder(expense_report_id)}/lines", - method="GET", - params={ - "cursor": cursor, - "expand": expand, - "include_deleted_data": include_deleted_data, - "include_remote_data": include_remote_data, - "include_remote_fields": include_remote_fields, - "include_shell_data": include_shell_data, - "page_size": page_size, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedExpenseReportLineList, - construct_type( - type_=PaginatedExpenseReportLineList, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def retrieve( - self, - id: str, - *, - expand: typing.Optional[ExpenseReportsRetrieveRequestExpand] = None, - include_remote_data: typing.Optional[bool] = None, - include_remote_fields: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[ExpenseReport]: - """ - Returns an `ExpenseReport` object with the given `id`. - - Parameters - ---------- - id : str - - expand : typing.Optional[ExpenseReportsRetrieveRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_remote_fields : typing.Optional[bool] - Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[ExpenseReport] - - """ - _response = self._client_wrapper.httpx_client.request( - f"accounting/v1/expense-reports/{jsonable_encoder(id)}", - method="GET", - params={ - "expand": expand, - "include_remote_data": include_remote_data, - "include_remote_fields": include_remote_fields, - "include_shell_data": include_shell_data, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - ExpenseReport, - construct_type( - type_=ExpenseReport, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def lines_remote_field_classes_list( - self, - *, - cursor: typing.Optional[str] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - is_common_model_field: typing.Optional[bool] = None, - is_custom: typing.Optional[bool] = None, - page_size: typing.Optional[int] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedRemoteFieldClassList]: - """ - Returns a list of `RemoteFieldClass` objects. - - Parameters - ---------- - cursor : typing.Optional[str] - The pagination cursor value. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - is_common_model_field : typing.Optional[bool] - If provided, will only return remote field classes with this is_common_model_field value - - is_custom : typing.Optional[bool] - If provided, will only return remote fields classes with this is_custom value - - page_size : typing.Optional[int] - Number of results to return per page. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[PaginatedRemoteFieldClassList] - - """ - _response = self._client_wrapper.httpx_client.request( - "accounting/v1/expense-reports/lines/remote-field-classes", - method="GET", - params={ - "cursor": cursor, - "include_deleted_data": include_deleted_data, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - "is_common_model_field": is_common_model_field, - "is_custom": is_custom, - "page_size": page_size, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedRemoteFieldClassList, - construct_type( - type_=PaginatedRemoteFieldClassList, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def meta_post_retrieve( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> HttpResponse[MetaResponse]: - """ - Returns metadata for `ExpenseReport` POSTs. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[MetaResponse] - - """ - _response = self._client_wrapper.httpx_client.request( - "accounting/v1/expense-reports/meta/post", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - MetaResponse, - construct_type( - type_=MetaResponse, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def remote_field_classes_list( - self, - *, - cursor: typing.Optional[str] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - is_common_model_field: typing.Optional[bool] = None, - is_custom: typing.Optional[bool] = None, - page_size: typing.Optional[int] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedRemoteFieldClassList]: - """ - Returns a list of `RemoteFieldClass` objects. - - Parameters - ---------- - cursor : typing.Optional[str] - The pagination cursor value. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - is_common_model_field : typing.Optional[bool] - If provided, will only return remote field classes with this is_common_model_field value - - is_custom : typing.Optional[bool] - If provided, will only return remote fields classes with this is_custom value - - page_size : typing.Optional[int] - Number of results to return per page. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[PaginatedRemoteFieldClassList] - - """ - _response = self._client_wrapper.httpx_client.request( - "accounting/v1/expense-reports/remote-field-classes", - method="GET", - params={ - "cursor": cursor, - "include_deleted_data": include_deleted_data, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - "is_common_model_field": is_common_model_field, - "is_custom": is_custom, - "page_size": page_size, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedRemoteFieldClassList, - construct_type( - type_=PaginatedRemoteFieldClassList, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawExpenseReportsClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def list( - self, - *, - company_id: typing.Optional[str] = None, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - expand: typing.Optional[ExpenseReportsListRequestExpand] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_remote_fields: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedExpenseReportList]: - """ - Returns a list of `ExpenseReport` objects. - - Parameters - ---------- - company_id : typing.Optional[str] - If provided, will only return expense reports for this company. - - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - expand : typing.Optional[ExpenseReportsListRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_remote_fields : typing.Optional[bool] - Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[PaginatedExpenseReportList] - - """ - _response = await self._client_wrapper.httpx_client.request( - "accounting/v1/expense-reports", - method="GET", - params={ - "company_id": company_id, - "created_after": serialize_datetime(created_after) if created_after is not None else None, - "created_before": serialize_datetime(created_before) if created_before is not None else None, - "cursor": cursor, - "expand": expand, - "include_deleted_data": include_deleted_data, - "include_remote_data": include_remote_data, - "include_remote_fields": include_remote_fields, - "include_shell_data": include_shell_data, - "modified_after": serialize_datetime(modified_after) if modified_after is not None else None, - "modified_before": serialize_datetime(modified_before) if modified_before is not None else None, - "page_size": page_size, - "remote_id": remote_id, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedExpenseReportList, - construct_type( - type_=PaginatedExpenseReportList, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def create( - self, - *, - model: ExpenseReportRequest, - is_debug_mode: typing.Optional[bool] = None, - run_async: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[ExpenseReportResponse]: - """ - Creates an `ExpenseReport` object with the given values. - - Parameters - ---------- - model : ExpenseReportRequest - - is_debug_mode : typing.Optional[bool] - Whether to include debug fields (such as log file links) in the response. - - run_async : typing.Optional[bool] - Whether or not third-party updates should be run asynchronously. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[ExpenseReportResponse] - - """ - _response = await self._client_wrapper.httpx_client.request( - "accounting/v1/expense-reports", - method="POST", - params={ - "is_debug_mode": is_debug_mode, - "run_async": run_async, - }, - json={ - "model": model, - }, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - ExpenseReportResponse, - construct_type( - type_=ExpenseReportResponse, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def lines_list( - self, - expense_report_id: str, - *, - cursor: typing.Optional[str] = None, - expand: typing.Optional[ExpenseReportsLinesListRequestExpand] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_remote_fields: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - page_size: typing.Optional[int] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedExpenseReportLineList]: - """ - Returns a list of `ExpenseReportLine` objects that point to a `ExpenseReport` with the given id. - - Parameters - ---------- - expense_report_id : str - - cursor : typing.Optional[str] - The pagination cursor value. - - expand : typing.Optional[ExpenseReportsLinesListRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_remote_fields : typing.Optional[bool] - Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - page_size : typing.Optional[int] - Number of results to return per page. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[PaginatedExpenseReportLineList] - - """ - _response = await self._client_wrapper.httpx_client.request( - f"accounting/v1/expense-reports/{jsonable_encoder(expense_report_id)}/lines", - method="GET", - params={ - "cursor": cursor, - "expand": expand, - "include_deleted_data": include_deleted_data, - "include_remote_data": include_remote_data, - "include_remote_fields": include_remote_fields, - "include_shell_data": include_shell_data, - "page_size": page_size, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedExpenseReportLineList, - construct_type( - type_=PaginatedExpenseReportLineList, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def retrieve( - self, - id: str, - *, - expand: typing.Optional[ExpenseReportsRetrieveRequestExpand] = None, - include_remote_data: typing.Optional[bool] = None, - include_remote_fields: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[ExpenseReport]: - """ - Returns an `ExpenseReport` object with the given `id`. - - Parameters - ---------- - id : str - - expand : typing.Optional[ExpenseReportsRetrieveRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_remote_fields : typing.Optional[bool] - Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[ExpenseReport] - - """ - _response = await self._client_wrapper.httpx_client.request( - f"accounting/v1/expense-reports/{jsonable_encoder(id)}", - method="GET", - params={ - "expand": expand, - "include_remote_data": include_remote_data, - "include_remote_fields": include_remote_fields, - "include_shell_data": include_shell_data, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - ExpenseReport, - construct_type( - type_=ExpenseReport, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def lines_remote_field_classes_list( - self, - *, - cursor: typing.Optional[str] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - is_common_model_field: typing.Optional[bool] = None, - is_custom: typing.Optional[bool] = None, - page_size: typing.Optional[int] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedRemoteFieldClassList]: - """ - Returns a list of `RemoteFieldClass` objects. - - Parameters - ---------- - cursor : typing.Optional[str] - The pagination cursor value. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - is_common_model_field : typing.Optional[bool] - If provided, will only return remote field classes with this is_common_model_field value - - is_custom : typing.Optional[bool] - If provided, will only return remote fields classes with this is_custom value - - page_size : typing.Optional[int] - Number of results to return per page. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[PaginatedRemoteFieldClassList] - - """ - _response = await self._client_wrapper.httpx_client.request( - "accounting/v1/expense-reports/lines/remote-field-classes", - method="GET", - params={ - "cursor": cursor, - "include_deleted_data": include_deleted_data, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - "is_common_model_field": is_common_model_field, - "is_custom": is_custom, - "page_size": page_size, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedRemoteFieldClassList, - construct_type( - type_=PaginatedRemoteFieldClassList, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def meta_post_retrieve( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncHttpResponse[MetaResponse]: - """ - Returns metadata for `ExpenseReport` POSTs. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[MetaResponse] - - """ - _response = await self._client_wrapper.httpx_client.request( - "accounting/v1/expense-reports/meta/post", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - MetaResponse, - construct_type( - type_=MetaResponse, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def remote_field_classes_list( - self, - *, - cursor: typing.Optional[str] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - is_common_model_field: typing.Optional[bool] = None, - is_custom: typing.Optional[bool] = None, - page_size: typing.Optional[int] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedRemoteFieldClassList]: - """ - Returns a list of `RemoteFieldClass` objects. - - Parameters - ---------- - cursor : typing.Optional[str] - The pagination cursor value. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - is_common_model_field : typing.Optional[bool] - If provided, will only return remote field classes with this is_common_model_field value - - is_custom : typing.Optional[bool] - If provided, will only return remote fields classes with this is_custom value - - page_size : typing.Optional[int] - Number of results to return per page. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[PaginatedRemoteFieldClassList] - - """ - _response = await self._client_wrapper.httpx_client.request( - "accounting/v1/expense-reports/remote-field-classes", - method="GET", - params={ - "cursor": cursor, - "include_deleted_data": include_deleted_data, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - "is_common_model_field": is_common_model_field, - "is_custom": is_custom, - "page_size": page_size, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedRemoteFieldClassList, - construct_type( - type_=PaginatedRemoteFieldClassList, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/accounting/resources/expense_reports/types/__init__.py b/src/merge/resources/accounting/resources/expense_reports/types/__init__.py deleted file mode 100644 index 2686f197..00000000 --- a/src/merge/resources/accounting/resources/expense_reports/types/__init__.py +++ /dev/null @@ -1,42 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - -import typing -from importlib import import_module - -if typing.TYPE_CHECKING: - from .expense_reports_lines_list_request_expand import ExpenseReportsLinesListRequestExpand - from .expense_reports_list_request_expand import ExpenseReportsListRequestExpand - from .expense_reports_retrieve_request_expand import ExpenseReportsRetrieveRequestExpand -_dynamic_imports: typing.Dict[str, str] = { - "ExpenseReportsLinesListRequestExpand": ".expense_reports_lines_list_request_expand", - "ExpenseReportsListRequestExpand": ".expense_reports_list_request_expand", - "ExpenseReportsRetrieveRequestExpand": ".expense_reports_retrieve_request_expand", -} - - -def __getattr__(attr_name: str) -> typing.Any: - module_name = _dynamic_imports.get(attr_name) - if module_name is None: - raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") - try: - module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result - except ImportError as e: - raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e - except AttributeError as e: - raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e - - -def __dir__(): - lazy_attrs = list(_dynamic_imports.keys()) - return sorted(lazy_attrs) - - -__all__ = [ - "ExpenseReportsLinesListRequestExpand", - "ExpenseReportsListRequestExpand", - "ExpenseReportsRetrieveRequestExpand", -] diff --git a/src/merge/resources/accounting/resources/expense_reports/types/expense_reports_lines_list_request_expand.py b/src/merge/resources/accounting/resources/expense_reports/types/expense_reports_lines_list_request_expand.py deleted file mode 100644 index 792c010b..00000000 --- a/src/merge/resources/accounting/resources/expense_reports/types/expense_reports_lines_list_request_expand.py +++ /dev/null @@ -1,265 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class ExpenseReportsLinesListRequestExpand(str, enum.Enum): - ACCOUNT = "account" - ACCOUNT_COMPANY = "account,company" - ACCOUNT_COMPANY_CONTACT = "account,company,contact" - ACCOUNT_COMPANY_CONTACT_TAX_RATE = "account,company,contact,tax_rate" - ACCOUNT_COMPANY_TAX_RATE = "account,company,tax_rate" - ACCOUNT_CONTACT = "account,contact" - ACCOUNT_CONTACT_TAX_RATE = "account,contact,tax_rate" - ACCOUNT_EMPLOYEE = "account,employee" - ACCOUNT_EMPLOYEE_COMPANY = "account,employee,company" - ACCOUNT_EMPLOYEE_COMPANY_CONTACT = "account,employee,company,contact" - ACCOUNT_EMPLOYEE_COMPANY_CONTACT_TAX_RATE = "account,employee,company,contact,tax_rate" - ACCOUNT_EMPLOYEE_COMPANY_TAX_RATE = "account,employee,company,tax_rate" - ACCOUNT_EMPLOYEE_CONTACT = "account,employee,contact" - ACCOUNT_EMPLOYEE_CONTACT_TAX_RATE = "account,employee,contact,tax_rate" - ACCOUNT_EMPLOYEE_PROJECT = "account,employee,project" - ACCOUNT_EMPLOYEE_PROJECT_COMPANY = "account,employee,project,company" - ACCOUNT_EMPLOYEE_PROJECT_COMPANY_CONTACT = "account,employee,project,company,contact" - ACCOUNT_EMPLOYEE_PROJECT_COMPANY_CONTACT_TAX_RATE = "account,employee,project,company,contact,tax_rate" - ACCOUNT_EMPLOYEE_PROJECT_COMPANY_TAX_RATE = "account,employee,project,company,tax_rate" - ACCOUNT_EMPLOYEE_PROJECT_CONTACT = "account,employee,project,contact" - ACCOUNT_EMPLOYEE_PROJECT_CONTACT_TAX_RATE = "account,employee,project,contact,tax_rate" - ACCOUNT_EMPLOYEE_PROJECT_TAX_RATE = "account,employee,project,tax_rate" - ACCOUNT_EMPLOYEE_TAX_RATE = "account,employee,tax_rate" - ACCOUNT_PROJECT = "account,project" - ACCOUNT_PROJECT_COMPANY = "account,project,company" - ACCOUNT_PROJECT_COMPANY_CONTACT = "account,project,company,contact" - ACCOUNT_PROJECT_COMPANY_CONTACT_TAX_RATE = "account,project,company,contact,tax_rate" - ACCOUNT_PROJECT_COMPANY_TAX_RATE = "account,project,company,tax_rate" - ACCOUNT_PROJECT_CONTACT = "account,project,contact" - ACCOUNT_PROJECT_CONTACT_TAX_RATE = "account,project,contact,tax_rate" - ACCOUNT_PROJECT_TAX_RATE = "account,project,tax_rate" - ACCOUNT_TAX_RATE = "account,tax_rate" - COMPANY = "company" - COMPANY_CONTACT = "company,contact" - COMPANY_CONTACT_TAX_RATE = "company,contact,tax_rate" - COMPANY_TAX_RATE = "company,tax_rate" - CONTACT = "contact" - CONTACT_TAX_RATE = "contact,tax_rate" - EMPLOYEE = "employee" - EMPLOYEE_COMPANY = "employee,company" - EMPLOYEE_COMPANY_CONTACT = "employee,company,contact" - EMPLOYEE_COMPANY_CONTACT_TAX_RATE = "employee,company,contact,tax_rate" - EMPLOYEE_COMPANY_TAX_RATE = "employee,company,tax_rate" - EMPLOYEE_CONTACT = "employee,contact" - EMPLOYEE_CONTACT_TAX_RATE = "employee,contact,tax_rate" - EMPLOYEE_PROJECT = "employee,project" - EMPLOYEE_PROJECT_COMPANY = "employee,project,company" - EMPLOYEE_PROJECT_COMPANY_CONTACT = "employee,project,company,contact" - EMPLOYEE_PROJECT_COMPANY_CONTACT_TAX_RATE = "employee,project,company,contact,tax_rate" - EMPLOYEE_PROJECT_COMPANY_TAX_RATE = "employee,project,company,tax_rate" - EMPLOYEE_PROJECT_CONTACT = "employee,project,contact" - EMPLOYEE_PROJECT_CONTACT_TAX_RATE = "employee,project,contact,tax_rate" - EMPLOYEE_PROJECT_TAX_RATE = "employee,project,tax_rate" - EMPLOYEE_TAX_RATE = "employee,tax_rate" - PROJECT = "project" - PROJECT_COMPANY = "project,company" - PROJECT_COMPANY_CONTACT = "project,company,contact" - PROJECT_COMPANY_CONTACT_TAX_RATE = "project,company,contact,tax_rate" - PROJECT_COMPANY_TAX_RATE = "project,company,tax_rate" - PROJECT_CONTACT = "project,contact" - PROJECT_CONTACT_TAX_RATE = "project,contact,tax_rate" - PROJECT_TAX_RATE = "project,tax_rate" - TAX_RATE = "tax_rate" - - def visit( - self, - account: typing.Callable[[], T_Result], - account_company: typing.Callable[[], T_Result], - account_company_contact: typing.Callable[[], T_Result], - account_company_contact_tax_rate: typing.Callable[[], T_Result], - account_company_tax_rate: typing.Callable[[], T_Result], - account_contact: typing.Callable[[], T_Result], - account_contact_tax_rate: typing.Callable[[], T_Result], - account_employee: typing.Callable[[], T_Result], - account_employee_company: typing.Callable[[], T_Result], - account_employee_company_contact: typing.Callable[[], T_Result], - account_employee_company_contact_tax_rate: typing.Callable[[], T_Result], - account_employee_company_tax_rate: typing.Callable[[], T_Result], - account_employee_contact: typing.Callable[[], T_Result], - account_employee_contact_tax_rate: typing.Callable[[], T_Result], - account_employee_project: typing.Callable[[], T_Result], - account_employee_project_company: typing.Callable[[], T_Result], - account_employee_project_company_contact: typing.Callable[[], T_Result], - account_employee_project_company_contact_tax_rate: typing.Callable[[], T_Result], - account_employee_project_company_tax_rate: typing.Callable[[], T_Result], - account_employee_project_contact: typing.Callable[[], T_Result], - account_employee_project_contact_tax_rate: typing.Callable[[], T_Result], - account_employee_project_tax_rate: typing.Callable[[], T_Result], - account_employee_tax_rate: typing.Callable[[], T_Result], - account_project: typing.Callable[[], T_Result], - account_project_company: typing.Callable[[], T_Result], - account_project_company_contact: typing.Callable[[], T_Result], - account_project_company_contact_tax_rate: typing.Callable[[], T_Result], - account_project_company_tax_rate: typing.Callable[[], T_Result], - account_project_contact: typing.Callable[[], T_Result], - account_project_contact_tax_rate: typing.Callable[[], T_Result], - account_project_tax_rate: typing.Callable[[], T_Result], - account_tax_rate: typing.Callable[[], T_Result], - company: typing.Callable[[], T_Result], - company_contact: typing.Callable[[], T_Result], - company_contact_tax_rate: typing.Callable[[], T_Result], - company_tax_rate: typing.Callable[[], T_Result], - contact: typing.Callable[[], T_Result], - contact_tax_rate: typing.Callable[[], T_Result], - employee: typing.Callable[[], T_Result], - employee_company: typing.Callable[[], T_Result], - employee_company_contact: typing.Callable[[], T_Result], - employee_company_contact_tax_rate: typing.Callable[[], T_Result], - employee_company_tax_rate: typing.Callable[[], T_Result], - employee_contact: typing.Callable[[], T_Result], - employee_contact_tax_rate: typing.Callable[[], T_Result], - employee_project: typing.Callable[[], T_Result], - employee_project_company: typing.Callable[[], T_Result], - employee_project_company_contact: typing.Callable[[], T_Result], - employee_project_company_contact_tax_rate: typing.Callable[[], T_Result], - employee_project_company_tax_rate: typing.Callable[[], T_Result], - employee_project_contact: typing.Callable[[], T_Result], - employee_project_contact_tax_rate: typing.Callable[[], T_Result], - employee_project_tax_rate: typing.Callable[[], T_Result], - employee_tax_rate: typing.Callable[[], T_Result], - project: typing.Callable[[], T_Result], - project_company: typing.Callable[[], T_Result], - project_company_contact: typing.Callable[[], T_Result], - project_company_contact_tax_rate: typing.Callable[[], T_Result], - project_company_tax_rate: typing.Callable[[], T_Result], - project_contact: typing.Callable[[], T_Result], - project_contact_tax_rate: typing.Callable[[], T_Result], - project_tax_rate: typing.Callable[[], T_Result], - tax_rate: typing.Callable[[], T_Result], - ) -> T_Result: - if self is ExpenseReportsLinesListRequestExpand.ACCOUNT: - return account() - if self is ExpenseReportsLinesListRequestExpand.ACCOUNT_COMPANY: - return account_company() - if self is ExpenseReportsLinesListRequestExpand.ACCOUNT_COMPANY_CONTACT: - return account_company_contact() - if self is ExpenseReportsLinesListRequestExpand.ACCOUNT_COMPANY_CONTACT_TAX_RATE: - return account_company_contact_tax_rate() - if self is ExpenseReportsLinesListRequestExpand.ACCOUNT_COMPANY_TAX_RATE: - return account_company_tax_rate() - if self is ExpenseReportsLinesListRequestExpand.ACCOUNT_CONTACT: - return account_contact() - if self is ExpenseReportsLinesListRequestExpand.ACCOUNT_CONTACT_TAX_RATE: - return account_contact_tax_rate() - if self is ExpenseReportsLinesListRequestExpand.ACCOUNT_EMPLOYEE: - return account_employee() - if self is ExpenseReportsLinesListRequestExpand.ACCOUNT_EMPLOYEE_COMPANY: - return account_employee_company() - if self is ExpenseReportsLinesListRequestExpand.ACCOUNT_EMPLOYEE_COMPANY_CONTACT: - return account_employee_company_contact() - if self is ExpenseReportsLinesListRequestExpand.ACCOUNT_EMPLOYEE_COMPANY_CONTACT_TAX_RATE: - return account_employee_company_contact_tax_rate() - if self is ExpenseReportsLinesListRequestExpand.ACCOUNT_EMPLOYEE_COMPANY_TAX_RATE: - return account_employee_company_tax_rate() - if self is ExpenseReportsLinesListRequestExpand.ACCOUNT_EMPLOYEE_CONTACT: - return account_employee_contact() - if self is ExpenseReportsLinesListRequestExpand.ACCOUNT_EMPLOYEE_CONTACT_TAX_RATE: - return account_employee_contact_tax_rate() - if self is ExpenseReportsLinesListRequestExpand.ACCOUNT_EMPLOYEE_PROJECT: - return account_employee_project() - if self is ExpenseReportsLinesListRequestExpand.ACCOUNT_EMPLOYEE_PROJECT_COMPANY: - return account_employee_project_company() - if self is ExpenseReportsLinesListRequestExpand.ACCOUNT_EMPLOYEE_PROJECT_COMPANY_CONTACT: - return account_employee_project_company_contact() - if self is ExpenseReportsLinesListRequestExpand.ACCOUNT_EMPLOYEE_PROJECT_COMPANY_CONTACT_TAX_RATE: - return account_employee_project_company_contact_tax_rate() - if self is ExpenseReportsLinesListRequestExpand.ACCOUNT_EMPLOYEE_PROJECT_COMPANY_TAX_RATE: - return account_employee_project_company_tax_rate() - if self is ExpenseReportsLinesListRequestExpand.ACCOUNT_EMPLOYEE_PROJECT_CONTACT: - return account_employee_project_contact() - if self is ExpenseReportsLinesListRequestExpand.ACCOUNT_EMPLOYEE_PROJECT_CONTACT_TAX_RATE: - return account_employee_project_contact_tax_rate() - if self is ExpenseReportsLinesListRequestExpand.ACCOUNT_EMPLOYEE_PROJECT_TAX_RATE: - return account_employee_project_tax_rate() - if self is ExpenseReportsLinesListRequestExpand.ACCOUNT_EMPLOYEE_TAX_RATE: - return account_employee_tax_rate() - if self is ExpenseReportsLinesListRequestExpand.ACCOUNT_PROJECT: - return account_project() - if self is ExpenseReportsLinesListRequestExpand.ACCOUNT_PROJECT_COMPANY: - return account_project_company() - if self is ExpenseReportsLinesListRequestExpand.ACCOUNT_PROJECT_COMPANY_CONTACT: - return account_project_company_contact() - if self is ExpenseReportsLinesListRequestExpand.ACCOUNT_PROJECT_COMPANY_CONTACT_TAX_RATE: - return account_project_company_contact_tax_rate() - if self is ExpenseReportsLinesListRequestExpand.ACCOUNT_PROJECT_COMPANY_TAX_RATE: - return account_project_company_tax_rate() - if self is ExpenseReportsLinesListRequestExpand.ACCOUNT_PROJECT_CONTACT: - return account_project_contact() - if self is ExpenseReportsLinesListRequestExpand.ACCOUNT_PROJECT_CONTACT_TAX_RATE: - return account_project_contact_tax_rate() - if self is ExpenseReportsLinesListRequestExpand.ACCOUNT_PROJECT_TAX_RATE: - return account_project_tax_rate() - if self is ExpenseReportsLinesListRequestExpand.ACCOUNT_TAX_RATE: - return account_tax_rate() - if self is ExpenseReportsLinesListRequestExpand.COMPANY: - return company() - if self is ExpenseReportsLinesListRequestExpand.COMPANY_CONTACT: - return company_contact() - if self is ExpenseReportsLinesListRequestExpand.COMPANY_CONTACT_TAX_RATE: - return company_contact_tax_rate() - if self is ExpenseReportsLinesListRequestExpand.COMPANY_TAX_RATE: - return company_tax_rate() - if self is ExpenseReportsLinesListRequestExpand.CONTACT: - return contact() - if self is ExpenseReportsLinesListRequestExpand.CONTACT_TAX_RATE: - return contact_tax_rate() - if self is ExpenseReportsLinesListRequestExpand.EMPLOYEE: - return employee() - if self is ExpenseReportsLinesListRequestExpand.EMPLOYEE_COMPANY: - return employee_company() - if self is ExpenseReportsLinesListRequestExpand.EMPLOYEE_COMPANY_CONTACT: - return employee_company_contact() - if self is ExpenseReportsLinesListRequestExpand.EMPLOYEE_COMPANY_CONTACT_TAX_RATE: - return employee_company_contact_tax_rate() - if self is ExpenseReportsLinesListRequestExpand.EMPLOYEE_COMPANY_TAX_RATE: - return employee_company_tax_rate() - if self is ExpenseReportsLinesListRequestExpand.EMPLOYEE_CONTACT: - return employee_contact() - if self is ExpenseReportsLinesListRequestExpand.EMPLOYEE_CONTACT_TAX_RATE: - return employee_contact_tax_rate() - if self is ExpenseReportsLinesListRequestExpand.EMPLOYEE_PROJECT: - return employee_project() - if self is ExpenseReportsLinesListRequestExpand.EMPLOYEE_PROJECT_COMPANY: - return employee_project_company() - if self is ExpenseReportsLinesListRequestExpand.EMPLOYEE_PROJECT_COMPANY_CONTACT: - return employee_project_company_contact() - if self is ExpenseReportsLinesListRequestExpand.EMPLOYEE_PROJECT_COMPANY_CONTACT_TAX_RATE: - return employee_project_company_contact_tax_rate() - if self is ExpenseReportsLinesListRequestExpand.EMPLOYEE_PROJECT_COMPANY_TAX_RATE: - return employee_project_company_tax_rate() - if self is ExpenseReportsLinesListRequestExpand.EMPLOYEE_PROJECT_CONTACT: - return employee_project_contact() - if self is ExpenseReportsLinesListRequestExpand.EMPLOYEE_PROJECT_CONTACT_TAX_RATE: - return employee_project_contact_tax_rate() - if self is ExpenseReportsLinesListRequestExpand.EMPLOYEE_PROJECT_TAX_RATE: - return employee_project_tax_rate() - if self is ExpenseReportsLinesListRequestExpand.EMPLOYEE_TAX_RATE: - return employee_tax_rate() - if self is ExpenseReportsLinesListRequestExpand.PROJECT: - return project() - if self is ExpenseReportsLinesListRequestExpand.PROJECT_COMPANY: - return project_company() - if self is ExpenseReportsLinesListRequestExpand.PROJECT_COMPANY_CONTACT: - return project_company_contact() - if self is ExpenseReportsLinesListRequestExpand.PROJECT_COMPANY_CONTACT_TAX_RATE: - return project_company_contact_tax_rate() - if self is ExpenseReportsLinesListRequestExpand.PROJECT_COMPANY_TAX_RATE: - return project_company_tax_rate() - if self is ExpenseReportsLinesListRequestExpand.PROJECT_CONTACT: - return project_contact() - if self is ExpenseReportsLinesListRequestExpand.PROJECT_CONTACT_TAX_RATE: - return project_contact_tax_rate() - if self is ExpenseReportsLinesListRequestExpand.PROJECT_TAX_RATE: - return project_tax_rate() - if self is ExpenseReportsLinesListRequestExpand.TAX_RATE: - return tax_rate() diff --git a/src/merge/resources/accounting/resources/expense_reports/types/expense_reports_list_request_expand.py b/src/merge/resources/accounting/resources/expense_reports/types/expense_reports_list_request_expand.py deleted file mode 100644 index fa1b24ce..00000000 --- a/src/merge/resources/accounting/resources/expense_reports/types/expense_reports_list_request_expand.py +++ /dev/null @@ -1,73 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class ExpenseReportsListRequestExpand(str, enum.Enum): - ACCOUNTING_PERIOD = "accounting_period" - ACCOUNTING_PERIOD_COMPANY = "accounting_period,company" - COMPANY = "company" - EMPLOYEE = "employee" - EMPLOYEE_ACCOUNTING_PERIOD = "employee,accounting_period" - EMPLOYEE_ACCOUNTING_PERIOD_COMPANY = "employee,accounting_period,company" - EMPLOYEE_COMPANY = "employee,company" - LINES = "lines" - LINES_ACCOUNTING_PERIOD = "lines,accounting_period" - LINES_ACCOUNTING_PERIOD_COMPANY = "lines,accounting_period,company" - LINES_COMPANY = "lines,company" - LINES_EMPLOYEE = "lines,employee" - LINES_EMPLOYEE_ACCOUNTING_PERIOD = "lines,employee,accounting_period" - LINES_EMPLOYEE_ACCOUNTING_PERIOD_COMPANY = "lines,employee,accounting_period,company" - LINES_EMPLOYEE_COMPANY = "lines,employee,company" - - def visit( - self, - accounting_period: typing.Callable[[], T_Result], - accounting_period_company: typing.Callable[[], T_Result], - company: typing.Callable[[], T_Result], - employee: typing.Callable[[], T_Result], - employee_accounting_period: typing.Callable[[], T_Result], - employee_accounting_period_company: typing.Callable[[], T_Result], - employee_company: typing.Callable[[], T_Result], - lines: typing.Callable[[], T_Result], - lines_accounting_period: typing.Callable[[], T_Result], - lines_accounting_period_company: typing.Callable[[], T_Result], - lines_company: typing.Callable[[], T_Result], - lines_employee: typing.Callable[[], T_Result], - lines_employee_accounting_period: typing.Callable[[], T_Result], - lines_employee_accounting_period_company: typing.Callable[[], T_Result], - lines_employee_company: typing.Callable[[], T_Result], - ) -> T_Result: - if self is ExpenseReportsListRequestExpand.ACCOUNTING_PERIOD: - return accounting_period() - if self is ExpenseReportsListRequestExpand.ACCOUNTING_PERIOD_COMPANY: - return accounting_period_company() - if self is ExpenseReportsListRequestExpand.COMPANY: - return company() - if self is ExpenseReportsListRequestExpand.EMPLOYEE: - return employee() - if self is ExpenseReportsListRequestExpand.EMPLOYEE_ACCOUNTING_PERIOD: - return employee_accounting_period() - if self is ExpenseReportsListRequestExpand.EMPLOYEE_ACCOUNTING_PERIOD_COMPANY: - return employee_accounting_period_company() - if self is ExpenseReportsListRequestExpand.EMPLOYEE_COMPANY: - return employee_company() - if self is ExpenseReportsListRequestExpand.LINES: - return lines() - if self is ExpenseReportsListRequestExpand.LINES_ACCOUNTING_PERIOD: - return lines_accounting_period() - if self is ExpenseReportsListRequestExpand.LINES_ACCOUNTING_PERIOD_COMPANY: - return lines_accounting_period_company() - if self is ExpenseReportsListRequestExpand.LINES_COMPANY: - return lines_company() - if self is ExpenseReportsListRequestExpand.LINES_EMPLOYEE: - return lines_employee() - if self is ExpenseReportsListRequestExpand.LINES_EMPLOYEE_ACCOUNTING_PERIOD: - return lines_employee_accounting_period() - if self is ExpenseReportsListRequestExpand.LINES_EMPLOYEE_ACCOUNTING_PERIOD_COMPANY: - return lines_employee_accounting_period_company() - if self is ExpenseReportsListRequestExpand.LINES_EMPLOYEE_COMPANY: - return lines_employee_company() diff --git a/src/merge/resources/accounting/resources/expense_reports/types/expense_reports_retrieve_request_expand.py b/src/merge/resources/accounting/resources/expense_reports/types/expense_reports_retrieve_request_expand.py deleted file mode 100644 index 5d56c2da..00000000 --- a/src/merge/resources/accounting/resources/expense_reports/types/expense_reports_retrieve_request_expand.py +++ /dev/null @@ -1,73 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class ExpenseReportsRetrieveRequestExpand(str, enum.Enum): - ACCOUNTING_PERIOD = "accounting_period" - ACCOUNTING_PERIOD_COMPANY = "accounting_period,company" - COMPANY = "company" - EMPLOYEE = "employee" - EMPLOYEE_ACCOUNTING_PERIOD = "employee,accounting_period" - EMPLOYEE_ACCOUNTING_PERIOD_COMPANY = "employee,accounting_period,company" - EMPLOYEE_COMPANY = "employee,company" - LINES = "lines" - LINES_ACCOUNTING_PERIOD = "lines,accounting_period" - LINES_ACCOUNTING_PERIOD_COMPANY = "lines,accounting_period,company" - LINES_COMPANY = "lines,company" - LINES_EMPLOYEE = "lines,employee" - LINES_EMPLOYEE_ACCOUNTING_PERIOD = "lines,employee,accounting_period" - LINES_EMPLOYEE_ACCOUNTING_PERIOD_COMPANY = "lines,employee,accounting_period,company" - LINES_EMPLOYEE_COMPANY = "lines,employee,company" - - def visit( - self, - accounting_period: typing.Callable[[], T_Result], - accounting_period_company: typing.Callable[[], T_Result], - company: typing.Callable[[], T_Result], - employee: typing.Callable[[], T_Result], - employee_accounting_period: typing.Callable[[], T_Result], - employee_accounting_period_company: typing.Callable[[], T_Result], - employee_company: typing.Callable[[], T_Result], - lines: typing.Callable[[], T_Result], - lines_accounting_period: typing.Callable[[], T_Result], - lines_accounting_period_company: typing.Callable[[], T_Result], - lines_company: typing.Callable[[], T_Result], - lines_employee: typing.Callable[[], T_Result], - lines_employee_accounting_period: typing.Callable[[], T_Result], - lines_employee_accounting_period_company: typing.Callable[[], T_Result], - lines_employee_company: typing.Callable[[], T_Result], - ) -> T_Result: - if self is ExpenseReportsRetrieveRequestExpand.ACCOUNTING_PERIOD: - return accounting_period() - if self is ExpenseReportsRetrieveRequestExpand.ACCOUNTING_PERIOD_COMPANY: - return accounting_period_company() - if self is ExpenseReportsRetrieveRequestExpand.COMPANY: - return company() - if self is ExpenseReportsRetrieveRequestExpand.EMPLOYEE: - return employee() - if self is ExpenseReportsRetrieveRequestExpand.EMPLOYEE_ACCOUNTING_PERIOD: - return employee_accounting_period() - if self is ExpenseReportsRetrieveRequestExpand.EMPLOYEE_ACCOUNTING_PERIOD_COMPANY: - return employee_accounting_period_company() - if self is ExpenseReportsRetrieveRequestExpand.EMPLOYEE_COMPANY: - return employee_company() - if self is ExpenseReportsRetrieveRequestExpand.LINES: - return lines() - if self is ExpenseReportsRetrieveRequestExpand.LINES_ACCOUNTING_PERIOD: - return lines_accounting_period() - if self is ExpenseReportsRetrieveRequestExpand.LINES_ACCOUNTING_PERIOD_COMPANY: - return lines_accounting_period_company() - if self is ExpenseReportsRetrieveRequestExpand.LINES_COMPANY: - return lines_company() - if self is ExpenseReportsRetrieveRequestExpand.LINES_EMPLOYEE: - return lines_employee() - if self is ExpenseReportsRetrieveRequestExpand.LINES_EMPLOYEE_ACCOUNTING_PERIOD: - return lines_employee_accounting_period() - if self is ExpenseReportsRetrieveRequestExpand.LINES_EMPLOYEE_ACCOUNTING_PERIOD_COMPANY: - return lines_employee_accounting_period_company() - if self is ExpenseReportsRetrieveRequestExpand.LINES_EMPLOYEE_COMPANY: - return lines_employee_company() diff --git a/src/merge/resources/accounting/resources/expenses/__init__.py b/src/merge/resources/accounting/resources/expenses/__init__.py index acf1f1a7..9ae9066d 100644 --- a/src/merge/resources/accounting/resources/expenses/__init__.py +++ b/src/merge/resources/accounting/resources/expenses/__init__.py @@ -6,10 +6,10 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .types import ExpensesListRequestExpand, ExpensesRetrieveRequestExpand + from .types import ExpensesListRequestExpandItem, ExpensesRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "ExpensesListRequestExpand": ".types", - "ExpensesRetrieveRequestExpand": ".types", + "ExpensesListRequestExpandItem": ".types", + "ExpensesRetrieveRequestExpandItem": ".types", } @@ -19,8 +19,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -32,4 +34,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["ExpensesListRequestExpand", "ExpensesRetrieveRequestExpand"] +__all__ = ["ExpensesListRequestExpandItem", "ExpensesRetrieveRequestExpandItem"] diff --git a/src/merge/resources/accounting/resources/expenses/client.py b/src/merge/resources/accounting/resources/expenses/client.py index 8e4a205f..4610be33 100644 --- a/src/merge/resources/accounting/resources/expenses/client.py +++ b/src/merge/resources/accounting/resources/expenses/client.py @@ -4,6 +4,7 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.expense import Expense from ...types.expense_request import ExpenseRequest @@ -11,9 +12,10 @@ from ...types.meta_response import MetaResponse from ...types.paginated_expense_list import PaginatedExpenseList from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList +from ...types.remote_field_class import RemoteFieldClass from .raw_client import AsyncRawExpensesClient, RawExpensesClient -from .types.expenses_list_request_expand import ExpensesListRequestExpand -from .types.expenses_retrieve_request_expand import ExpensesRetrieveRequestExpand +from .types.expenses_list_request_expand_item import ExpensesListRequestExpandItem +from .types.expenses_retrieve_request_expand_item import ExpensesRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -41,7 +43,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[ExpensesListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ExpensesListRequestExpandItem, typing.Sequence[ExpensesListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -53,7 +57,7 @@ def list( transaction_date_after: typing.Optional[dt.datetime] = None, transaction_date_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedExpenseList: + ) -> SyncPager[Expense, PaginatedExpenseList]: """ Returns a list of `Expense` objects. @@ -71,7 +75,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[ExpensesListRequestExpand] + expand : typing.Optional[typing.Union[ExpensesListRequestExpandItem, typing.Sequence[ExpensesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -109,53 +113,27 @@ def list( Returns ------- - PaginatedExpenseList + SyncPager[Expense, PaginatedExpenseList] Examples -------- - import datetime - from merge import Merge - from merge.resources.accounting.resources.expenses import ( - ExpensesListRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.expenses.list( - company_id="company_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = client.accounting.expenses.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=ExpensesListRequestExpand.ACCOUNT, - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", - transaction_date_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - transaction_date_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -173,7 +151,6 @@ def list( transaction_date_before=transaction_date_before, request_options=request_options, ) - return _response.data def create( self, @@ -214,8 +191,6 @@ def create( api_key="YOUR_API_KEY", ) client.accounting.expenses.create( - is_debug_mode=True, - run_async=True, model=ExpenseRequest(), ) """ @@ -228,7 +203,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[ExpensesRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ExpensesRetrieveRequestExpandItem, typing.Sequence[ExpensesRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -241,7 +218,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[ExpensesRetrieveRequestExpand] + expand : typing.Optional[typing.Union[ExpensesRetrieveRequestExpandItem, typing.Sequence[ExpensesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -264,9 +241,6 @@ def retrieve( Examples -------- from merge import Merge - from merge.resources.accounting.resources.expenses import ( - ExpensesRetrieveRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -274,10 +248,6 @@ def retrieve( ) client.accounting.expenses.retrieve( id="id", - expand=ExpensesRetrieveRequestExpand.ACCOUNT, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, ) """ _response = self._raw_client.retrieve( @@ -301,7 +271,7 @@ def lines_remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -333,7 +303,7 @@ def lines_remote_field_classes_list( Returns ------- - PaginatedRemoteFieldClassList + SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] Examples @@ -344,17 +314,16 @@ def lines_remote_field_classes_list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.expenses.lines_remote_field_classes_list( + response = client.accounting.expenses.lines_remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.lines_remote_field_classes_list( + return self._raw_client.lines_remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -364,7 +333,6 @@ def lines_remote_field_classes_list( page_size=page_size, request_options=request_options, ) - return _response.data def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ @@ -404,7 +372,7 @@ def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -436,7 +404,7 @@ def remote_field_classes_list( Returns ------- - PaginatedRemoteFieldClassList + SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] Examples @@ -447,17 +415,16 @@ def remote_field_classes_list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.expenses.remote_field_classes_list( + response = client.accounting.expenses.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.remote_field_classes_list( + return self._raw_client.remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -467,7 +434,6 @@ def remote_field_classes_list( page_size=page_size, request_options=request_options, ) - return _response.data class AsyncExpensesClient: @@ -492,7 +458,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[ExpensesListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ExpensesListRequestExpandItem, typing.Sequence[ExpensesListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -504,7 +472,7 @@ async def list( transaction_date_after: typing.Optional[dt.datetime] = None, transaction_date_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedExpenseList: + ) -> AsyncPager[Expense, PaginatedExpenseList]: """ Returns a list of `Expense` objects. @@ -522,7 +490,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[ExpensesListRequestExpand] + expand : typing.Optional[typing.Union[ExpensesListRequestExpandItem, typing.Sequence[ExpensesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -560,18 +528,14 @@ async def list( Returns ------- - PaginatedExpenseList + AsyncPager[Expense, PaginatedExpenseList] Examples -------- import asyncio - import datetime from merge import AsyncMerge - from merge.resources.accounting.resources.expenses import ( - ExpensesListRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -580,40 +544,20 @@ async def list( async def main() -> None: - await client.accounting.expenses.list( - company_id="company_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = await client.accounting.expenses.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=ExpensesListRequestExpand.ACCOUNT, - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", - transaction_date_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - transaction_date_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -631,7 +575,6 @@ async def main() -> None: transaction_date_before=transaction_date_before, request_options=request_options, ) - return _response.data async def create( self, @@ -677,8 +620,6 @@ async def create( async def main() -> None: await client.accounting.expenses.create( - is_debug_mode=True, - run_async=True, model=ExpenseRequest(), ) @@ -694,7 +635,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[ExpensesRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ExpensesRetrieveRequestExpandItem, typing.Sequence[ExpensesRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -707,7 +650,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[ExpensesRetrieveRequestExpand] + expand : typing.Optional[typing.Union[ExpensesRetrieveRequestExpandItem, typing.Sequence[ExpensesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -732,9 +675,6 @@ async def retrieve( import asyncio from merge import AsyncMerge - from merge.resources.accounting.resources.expenses import ( - ExpensesRetrieveRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -745,10 +685,6 @@ async def retrieve( async def main() -> None: await client.accounting.expenses.retrieve( id="id", - expand=ExpensesRetrieveRequestExpand.ACCOUNT, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, ) @@ -775,7 +711,7 @@ async def lines_remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -807,7 +743,7 @@ async def lines_remote_field_classes_list( Returns ------- - PaginatedRemoteFieldClassList + AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] Examples @@ -823,20 +759,20 @@ async def lines_remote_field_classes_list( async def main() -> None: - await client.accounting.expenses.lines_remote_field_classes_list( + response = await client.accounting.expenses.lines_remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.lines_remote_field_classes_list( + return await self._raw_client.lines_remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -846,7 +782,6 @@ async def main() -> None: page_size=page_size, request_options=request_options, ) - return _response.data async def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ @@ -894,7 +829,7 @@ async def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -926,7 +861,7 @@ async def remote_field_classes_list( Returns ------- - PaginatedRemoteFieldClassList + AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] Examples @@ -942,20 +877,20 @@ async def remote_field_classes_list( async def main() -> None: - await client.accounting.expenses.remote_field_classes_list( + response = await client.accounting.expenses.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.remote_field_classes_list( + return await self._raw_client.remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -965,4 +900,3 @@ async def main() -> None: page_size=page_size, request_options=request_options, ) - return _response.data diff --git a/src/merge/resources/accounting/resources/expenses/raw_client.py b/src/merge/resources/accounting/resources/expenses/raw_client.py index 6b2b2520..03dbc62b 100644 --- a/src/merge/resources/accounting/resources/expenses/raw_client.py +++ b/src/merge/resources/accounting/resources/expenses/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.expense import Expense @@ -17,8 +18,9 @@ from ...types.meta_response import MetaResponse from ...types.paginated_expense_list import PaginatedExpenseList from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList -from .types.expenses_list_request_expand import ExpensesListRequestExpand -from .types.expenses_retrieve_request_expand import ExpensesRetrieveRequestExpand +from ...types.remote_field_class import RemoteFieldClass +from .types.expenses_list_request_expand_item import ExpensesListRequestExpandItem +from .types.expenses_retrieve_request_expand_item import ExpensesRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -35,7 +37,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[ExpensesListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ExpensesListRequestExpandItem, typing.Sequence[ExpensesListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -47,7 +51,7 @@ def list( transaction_date_after: typing.Optional[dt.datetime] = None, transaction_date_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedExpenseList]: + ) -> SyncPager[Expense, PaginatedExpenseList]: """ Returns a list of `Expense` objects. @@ -65,7 +69,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[ExpensesListRequestExpand] + expand : typing.Optional[typing.Union[ExpensesListRequestExpandItem, typing.Sequence[ExpensesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -103,7 +107,7 @@ def list( Returns ------- - HttpResponse[PaginatedExpenseList] + SyncPager[Expense, PaginatedExpenseList] """ _response = self._client_wrapper.httpx_client.request( @@ -134,14 +138,35 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedExpenseList, construct_type( type_=PaginatedExpenseList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + transaction_date_after=transaction_date_after, + transaction_date_before=transaction_date_before, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -211,7 +236,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[ExpensesRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ExpensesRetrieveRequestExpandItem, typing.Sequence[ExpensesRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -224,7 +251,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[ExpensesRetrieveRequestExpand] + expand : typing.Optional[typing.Union[ExpensesRetrieveRequestExpandItem, typing.Sequence[ExpensesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -281,7 +308,7 @@ def lines_remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedRemoteFieldClassList]: + ) -> SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -313,7 +340,7 @@ def lines_remote_field_classes_list( Returns ------- - HttpResponse[PaginatedRemoteFieldClassList] + SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] """ _response = self._client_wrapper.httpx_client.request( @@ -332,14 +359,27 @@ def lines_remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.lines_remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -392,7 +432,7 @@ def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedRemoteFieldClassList]: + ) -> SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -424,7 +464,7 @@ def remote_field_classes_list( Returns ------- - HttpResponse[PaginatedRemoteFieldClassList] + SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] """ _response = self._client_wrapper.httpx_client.request( @@ -443,14 +483,27 @@ def remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -468,7 +521,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[ExpensesListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ExpensesListRequestExpandItem, typing.Sequence[ExpensesListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -480,7 +535,7 @@ async def list( transaction_date_after: typing.Optional[dt.datetime] = None, transaction_date_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedExpenseList]: + ) -> AsyncPager[Expense, PaginatedExpenseList]: """ Returns a list of `Expense` objects. @@ -498,7 +553,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[ExpensesListRequestExpand] + expand : typing.Optional[typing.Union[ExpensesListRequestExpandItem, typing.Sequence[ExpensesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -536,7 +591,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedExpenseList] + AsyncPager[Expense, PaginatedExpenseList] """ _response = await self._client_wrapper.httpx_client.request( @@ -567,14 +622,38 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedExpenseList, construct_type( type_=PaginatedExpenseList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + transaction_date_after=transaction_date_after, + transaction_date_before=transaction_date_before, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -644,7 +723,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[ExpensesRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ExpensesRetrieveRequestExpandItem, typing.Sequence[ExpensesRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -657,7 +738,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[ExpensesRetrieveRequestExpand] + expand : typing.Optional[typing.Union[ExpensesRetrieveRequestExpandItem, typing.Sequence[ExpensesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -714,7 +795,7 @@ async def lines_remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedRemoteFieldClassList]: + ) -> AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -746,7 +827,7 @@ async def lines_remote_field_classes_list( Returns ------- - AsyncHttpResponse[PaginatedRemoteFieldClassList] + AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] """ _response = await self._client_wrapper.httpx_client.request( @@ -765,14 +846,30 @@ async def lines_remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.lines_remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -825,7 +922,7 @@ async def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedRemoteFieldClassList]: + ) -> AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -857,7 +954,7 @@ async def remote_field_classes_list( Returns ------- - AsyncHttpResponse[PaginatedRemoteFieldClassList] + AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] """ _response = await self._client_wrapper.httpx_client.request( @@ -876,14 +973,30 @@ async def remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/accounting/resources/expenses/types/__init__.py b/src/merge/resources/accounting/resources/expenses/types/__init__.py index 108b87d5..9d8be4d9 100644 --- a/src/merge/resources/accounting/resources/expenses/types/__init__.py +++ b/src/merge/resources/accounting/resources/expenses/types/__init__.py @@ -6,11 +6,11 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .expenses_list_request_expand import ExpensesListRequestExpand - from .expenses_retrieve_request_expand import ExpensesRetrieveRequestExpand + from .expenses_list_request_expand_item import ExpensesListRequestExpandItem + from .expenses_retrieve_request_expand_item import ExpensesRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "ExpensesListRequestExpand": ".expenses_list_request_expand", - "ExpensesRetrieveRequestExpand": ".expenses_retrieve_request_expand", + "ExpensesListRequestExpandItem": ".expenses_list_request_expand_item", + "ExpensesRetrieveRequestExpandItem": ".expenses_retrieve_request_expand_item", } @@ -20,8 +20,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -33,4 +35,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["ExpensesListRequestExpand", "ExpensesRetrieveRequestExpand"] +__all__ = ["ExpensesListRequestExpandItem", "ExpensesRetrieveRequestExpandItem"] diff --git a/src/merge/resources/accounting/resources/expenses/types/expenses_list_request_expand.py b/src/merge/resources/accounting/resources/expenses/types/expenses_list_request_expand.py deleted file mode 100644 index 7b56e281..00000000 --- a/src/merge/resources/accounting/resources/expenses/types/expenses_list_request_expand.py +++ /dev/null @@ -1,275 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class ExpensesListRequestExpand(str, enum.Enum): - ACCOUNT = "account" - ACCOUNT_ACCOUNTING_PERIOD = "account,accounting_period" - ACCOUNT_COMPANY = "account,company" - ACCOUNT_COMPANY_ACCOUNTING_PERIOD = "account,company,accounting_period" - ACCOUNT_COMPANY_EMPLOYEE = "account,company,employee" - ACCOUNT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "account,company,employee,accounting_period" - ACCOUNT_CONTACT = "account,contact" - ACCOUNT_CONTACT_ACCOUNTING_PERIOD = "account,contact,accounting_period" - ACCOUNT_CONTACT_COMPANY = "account,contact,company" - ACCOUNT_CONTACT_COMPANY_ACCOUNTING_PERIOD = "account,contact,company,accounting_period" - ACCOUNT_CONTACT_COMPANY_EMPLOYEE = "account,contact,company,employee" - ACCOUNT_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "account,contact,company,employee,accounting_period" - ACCOUNT_CONTACT_EMPLOYEE = "account,contact,employee" - ACCOUNT_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "account,contact,employee,accounting_period" - ACCOUNT_EMPLOYEE = "account,employee" - ACCOUNT_EMPLOYEE_ACCOUNTING_PERIOD = "account,employee,accounting_period" - ACCOUNTING_PERIOD = "accounting_period" - COMPANY = "company" - COMPANY_ACCOUNTING_PERIOD = "company,accounting_period" - COMPANY_EMPLOYEE = "company,employee" - COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "company,employee,accounting_period" - CONTACT = "contact" - CONTACT_ACCOUNTING_PERIOD = "contact,accounting_period" - CONTACT_COMPANY = "contact,company" - CONTACT_COMPANY_ACCOUNTING_PERIOD = "contact,company,accounting_period" - CONTACT_COMPANY_EMPLOYEE = "contact,company,employee" - CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "contact,company,employee,accounting_period" - CONTACT_EMPLOYEE = "contact,employee" - CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "contact,employee,accounting_period" - EMPLOYEE = "employee" - EMPLOYEE_ACCOUNTING_PERIOD = "employee,accounting_period" - TRACKING_CATEGORIES = "tracking_categories" - TRACKING_CATEGORIES_ACCOUNT = "tracking_categories,account" - TRACKING_CATEGORIES_ACCOUNT_ACCOUNTING_PERIOD = "tracking_categories,account,accounting_period" - TRACKING_CATEGORIES_ACCOUNT_COMPANY = "tracking_categories,account,company" - TRACKING_CATEGORIES_ACCOUNT_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,account,company,accounting_period" - TRACKING_CATEGORIES_ACCOUNT_COMPANY_EMPLOYEE = "tracking_categories,account,company,employee" - TRACKING_CATEGORIES_ACCOUNT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,account,company,employee,accounting_period" - ) - TRACKING_CATEGORIES_ACCOUNT_CONTACT = "tracking_categories,account,contact" - TRACKING_CATEGORIES_ACCOUNT_CONTACT_ACCOUNTING_PERIOD = "tracking_categories,account,contact,accounting_period" - TRACKING_CATEGORIES_ACCOUNT_CONTACT_COMPANY = "tracking_categories,account,contact,company" - TRACKING_CATEGORIES_ACCOUNT_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,account,contact,company,accounting_period" - ) - TRACKING_CATEGORIES_ACCOUNT_CONTACT_COMPANY_EMPLOYEE = "tracking_categories,account,contact,company,employee" - TRACKING_CATEGORIES_ACCOUNT_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,account,contact,company,employee,accounting_period" - ) - TRACKING_CATEGORIES_ACCOUNT_CONTACT_EMPLOYEE = "tracking_categories,account,contact,employee" - TRACKING_CATEGORIES_ACCOUNT_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,account,contact,employee,accounting_period" - ) - TRACKING_CATEGORIES_ACCOUNT_EMPLOYEE = "tracking_categories,account,employee" - TRACKING_CATEGORIES_ACCOUNT_EMPLOYEE_ACCOUNTING_PERIOD = "tracking_categories,account,employee,accounting_period" - TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "tracking_categories,accounting_period" - TRACKING_CATEGORIES_COMPANY = "tracking_categories,company" - TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,company,accounting_period" - TRACKING_CATEGORIES_COMPANY_EMPLOYEE = "tracking_categories,company,employee" - TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "tracking_categories,company,employee,accounting_period" - TRACKING_CATEGORIES_CONTACT = "tracking_categories,contact" - TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = "tracking_categories,contact,accounting_period" - TRACKING_CATEGORIES_CONTACT_COMPANY = "tracking_categories,contact,company" - TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,contact,company,accounting_period" - TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE = "tracking_categories,contact,company,employee" - TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,contact,company,employee,accounting_period" - ) - TRACKING_CATEGORIES_CONTACT_EMPLOYEE = "tracking_categories,contact,employee" - TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "tracking_categories,contact,employee,accounting_period" - TRACKING_CATEGORIES_EMPLOYEE = "tracking_categories,employee" - TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD = "tracking_categories,employee,accounting_period" - - def visit( - self, - account: typing.Callable[[], T_Result], - account_accounting_period: typing.Callable[[], T_Result], - account_company: typing.Callable[[], T_Result], - account_company_accounting_period: typing.Callable[[], T_Result], - account_company_employee: typing.Callable[[], T_Result], - account_company_employee_accounting_period: typing.Callable[[], T_Result], - account_contact: typing.Callable[[], T_Result], - account_contact_accounting_period: typing.Callable[[], T_Result], - account_contact_company: typing.Callable[[], T_Result], - account_contact_company_accounting_period: typing.Callable[[], T_Result], - account_contact_company_employee: typing.Callable[[], T_Result], - account_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - account_contact_employee: typing.Callable[[], T_Result], - account_contact_employee_accounting_period: typing.Callable[[], T_Result], - account_employee: typing.Callable[[], T_Result], - account_employee_accounting_period: typing.Callable[[], T_Result], - accounting_period: typing.Callable[[], T_Result], - company: typing.Callable[[], T_Result], - company_accounting_period: typing.Callable[[], T_Result], - company_employee: typing.Callable[[], T_Result], - company_employee_accounting_period: typing.Callable[[], T_Result], - contact: typing.Callable[[], T_Result], - contact_accounting_period: typing.Callable[[], T_Result], - contact_company: typing.Callable[[], T_Result], - contact_company_accounting_period: typing.Callable[[], T_Result], - contact_company_employee: typing.Callable[[], T_Result], - contact_company_employee_accounting_period: typing.Callable[[], T_Result], - contact_employee: typing.Callable[[], T_Result], - contact_employee_accounting_period: typing.Callable[[], T_Result], - employee: typing.Callable[[], T_Result], - employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories: typing.Callable[[], T_Result], - tracking_categories_account: typing.Callable[[], T_Result], - tracking_categories_account_accounting_period: typing.Callable[[], T_Result], - tracking_categories_account_company: typing.Callable[[], T_Result], - tracking_categories_account_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_account_company_employee: typing.Callable[[], T_Result], - tracking_categories_account_company_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_account_contact: typing.Callable[[], T_Result], - tracking_categories_account_contact_accounting_period: typing.Callable[[], T_Result], - tracking_categories_account_contact_company: typing.Callable[[], T_Result], - tracking_categories_account_contact_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_account_contact_company_employee: typing.Callable[[], T_Result], - tracking_categories_account_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_account_contact_employee: typing.Callable[[], T_Result], - tracking_categories_account_contact_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_account_employee: typing.Callable[[], T_Result], - tracking_categories_account_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_accounting_period: typing.Callable[[], T_Result], - tracking_categories_company: typing.Callable[[], T_Result], - tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_company_employee: typing.Callable[[], T_Result], - tracking_categories_company_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_contact: typing.Callable[[], T_Result], - tracking_categories_contact_accounting_period: typing.Callable[[], T_Result], - tracking_categories_contact_company: typing.Callable[[], T_Result], - tracking_categories_contact_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_contact_company_employee: typing.Callable[[], T_Result], - tracking_categories_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_contact_employee: typing.Callable[[], T_Result], - tracking_categories_contact_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_employee: typing.Callable[[], T_Result], - tracking_categories_employee_accounting_period: typing.Callable[[], T_Result], - ) -> T_Result: - if self is ExpensesListRequestExpand.ACCOUNT: - return account() - if self is ExpensesListRequestExpand.ACCOUNT_ACCOUNTING_PERIOD: - return account_accounting_period() - if self is ExpensesListRequestExpand.ACCOUNT_COMPANY: - return account_company() - if self is ExpensesListRequestExpand.ACCOUNT_COMPANY_ACCOUNTING_PERIOD: - return account_company_accounting_period() - if self is ExpensesListRequestExpand.ACCOUNT_COMPANY_EMPLOYEE: - return account_company_employee() - if self is ExpensesListRequestExpand.ACCOUNT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return account_company_employee_accounting_period() - if self is ExpensesListRequestExpand.ACCOUNT_CONTACT: - return account_contact() - if self is ExpensesListRequestExpand.ACCOUNT_CONTACT_ACCOUNTING_PERIOD: - return account_contact_accounting_period() - if self is ExpensesListRequestExpand.ACCOUNT_CONTACT_COMPANY: - return account_contact_company() - if self is ExpensesListRequestExpand.ACCOUNT_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return account_contact_company_accounting_period() - if self is ExpensesListRequestExpand.ACCOUNT_CONTACT_COMPANY_EMPLOYEE: - return account_contact_company_employee() - if self is ExpensesListRequestExpand.ACCOUNT_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return account_contact_company_employee_accounting_period() - if self is ExpensesListRequestExpand.ACCOUNT_CONTACT_EMPLOYEE: - return account_contact_employee() - if self is ExpensesListRequestExpand.ACCOUNT_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return account_contact_employee_accounting_period() - if self is ExpensesListRequestExpand.ACCOUNT_EMPLOYEE: - return account_employee() - if self is ExpensesListRequestExpand.ACCOUNT_EMPLOYEE_ACCOUNTING_PERIOD: - return account_employee_accounting_period() - if self is ExpensesListRequestExpand.ACCOUNTING_PERIOD: - return accounting_period() - if self is ExpensesListRequestExpand.COMPANY: - return company() - if self is ExpensesListRequestExpand.COMPANY_ACCOUNTING_PERIOD: - return company_accounting_period() - if self is ExpensesListRequestExpand.COMPANY_EMPLOYEE: - return company_employee() - if self is ExpensesListRequestExpand.COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return company_employee_accounting_period() - if self is ExpensesListRequestExpand.CONTACT: - return contact() - if self is ExpensesListRequestExpand.CONTACT_ACCOUNTING_PERIOD: - return contact_accounting_period() - if self is ExpensesListRequestExpand.CONTACT_COMPANY: - return contact_company() - if self is ExpensesListRequestExpand.CONTACT_COMPANY_ACCOUNTING_PERIOD: - return contact_company_accounting_period() - if self is ExpensesListRequestExpand.CONTACT_COMPANY_EMPLOYEE: - return contact_company_employee() - if self is ExpensesListRequestExpand.CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return contact_company_employee_accounting_period() - if self is ExpensesListRequestExpand.CONTACT_EMPLOYEE: - return contact_employee() - if self is ExpensesListRequestExpand.CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return contact_employee_accounting_period() - if self is ExpensesListRequestExpand.EMPLOYEE: - return employee() - if self is ExpensesListRequestExpand.EMPLOYEE_ACCOUNTING_PERIOD: - return employee_accounting_period() - if self is ExpensesListRequestExpand.TRACKING_CATEGORIES: - return tracking_categories() - if self is ExpensesListRequestExpand.TRACKING_CATEGORIES_ACCOUNT: - return tracking_categories_account() - if self is ExpensesListRequestExpand.TRACKING_CATEGORIES_ACCOUNT_ACCOUNTING_PERIOD: - return tracking_categories_account_accounting_period() - if self is ExpensesListRequestExpand.TRACKING_CATEGORIES_ACCOUNT_COMPANY: - return tracking_categories_account_company() - if self is ExpensesListRequestExpand.TRACKING_CATEGORIES_ACCOUNT_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_account_company_accounting_period() - if self is ExpensesListRequestExpand.TRACKING_CATEGORIES_ACCOUNT_COMPANY_EMPLOYEE: - return tracking_categories_account_company_employee() - if self is ExpensesListRequestExpand.TRACKING_CATEGORIES_ACCOUNT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return tracking_categories_account_company_employee_accounting_period() - if self is ExpensesListRequestExpand.TRACKING_CATEGORIES_ACCOUNT_CONTACT: - return tracking_categories_account_contact() - if self is ExpensesListRequestExpand.TRACKING_CATEGORIES_ACCOUNT_CONTACT_ACCOUNTING_PERIOD: - return tracking_categories_account_contact_accounting_period() - if self is ExpensesListRequestExpand.TRACKING_CATEGORIES_ACCOUNT_CONTACT_COMPANY: - return tracking_categories_account_contact_company() - if self is ExpensesListRequestExpand.TRACKING_CATEGORIES_ACCOUNT_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_account_contact_company_accounting_period() - if self is ExpensesListRequestExpand.TRACKING_CATEGORIES_ACCOUNT_CONTACT_COMPANY_EMPLOYEE: - return tracking_categories_account_contact_company_employee() - if self is ExpensesListRequestExpand.TRACKING_CATEGORIES_ACCOUNT_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return tracking_categories_account_contact_company_employee_accounting_period() - if self is ExpensesListRequestExpand.TRACKING_CATEGORIES_ACCOUNT_CONTACT_EMPLOYEE: - return tracking_categories_account_contact_employee() - if self is ExpensesListRequestExpand.TRACKING_CATEGORIES_ACCOUNT_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return tracking_categories_account_contact_employee_accounting_period() - if self is ExpensesListRequestExpand.TRACKING_CATEGORIES_ACCOUNT_EMPLOYEE: - return tracking_categories_account_employee() - if self is ExpensesListRequestExpand.TRACKING_CATEGORIES_ACCOUNT_EMPLOYEE_ACCOUNTING_PERIOD: - return tracking_categories_account_employee_accounting_period() - if self is ExpensesListRequestExpand.TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return tracking_categories_accounting_period() - if self is ExpensesListRequestExpand.TRACKING_CATEGORIES_COMPANY: - return tracking_categories_company() - if self is ExpensesListRequestExpand.TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_company_accounting_period() - if self is ExpensesListRequestExpand.TRACKING_CATEGORIES_COMPANY_EMPLOYEE: - return tracking_categories_company_employee() - if self is ExpensesListRequestExpand.TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return tracking_categories_company_employee_accounting_period() - if self is ExpensesListRequestExpand.TRACKING_CATEGORIES_CONTACT: - return tracking_categories_contact() - if self is ExpensesListRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD: - return tracking_categories_contact_accounting_period() - if self is ExpensesListRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY: - return tracking_categories_contact_company() - if self is ExpensesListRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_contact_company_accounting_period() - if self is ExpensesListRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE: - return tracking_categories_contact_company_employee() - if self is ExpensesListRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return tracking_categories_contact_company_employee_accounting_period() - if self is ExpensesListRequestExpand.TRACKING_CATEGORIES_CONTACT_EMPLOYEE: - return tracking_categories_contact_employee() - if self is ExpensesListRequestExpand.TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return tracking_categories_contact_employee_accounting_period() - if self is ExpensesListRequestExpand.TRACKING_CATEGORIES_EMPLOYEE: - return tracking_categories_employee() - if self is ExpensesListRequestExpand.TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD: - return tracking_categories_employee_accounting_period() diff --git a/src/merge/resources/accounting/resources/expenses/types/expenses_list_request_expand_item.py b/src/merge/resources/accounting/resources/expenses/types/expenses_list_request_expand_item.py new file mode 100644 index 00000000..7e3f0793 --- /dev/null +++ b/src/merge/resources/accounting/resources/expenses/types/expenses_list_request_expand_item.py @@ -0,0 +1,37 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class ExpensesListRequestExpandItem(str, enum.Enum): + ACCOUNT = "account" + ACCOUNTING_PERIOD = "accounting_period" + COMPANY = "company" + CONTACT = "contact" + EMPLOYEE = "employee" + TRACKING_CATEGORIES = "tracking_categories" + + def visit( + self, + account: typing.Callable[[], T_Result], + accounting_period: typing.Callable[[], T_Result], + company: typing.Callable[[], T_Result], + contact: typing.Callable[[], T_Result], + employee: typing.Callable[[], T_Result], + tracking_categories: typing.Callable[[], T_Result], + ) -> T_Result: + if self is ExpensesListRequestExpandItem.ACCOUNT: + return account() + if self is ExpensesListRequestExpandItem.ACCOUNTING_PERIOD: + return accounting_period() + if self is ExpensesListRequestExpandItem.COMPANY: + return company() + if self is ExpensesListRequestExpandItem.CONTACT: + return contact() + if self is ExpensesListRequestExpandItem.EMPLOYEE: + return employee() + if self is ExpensesListRequestExpandItem.TRACKING_CATEGORIES: + return tracking_categories() diff --git a/src/merge/resources/accounting/resources/expenses/types/expenses_retrieve_request_expand.py b/src/merge/resources/accounting/resources/expenses/types/expenses_retrieve_request_expand.py deleted file mode 100644 index 32222a7a..00000000 --- a/src/merge/resources/accounting/resources/expenses/types/expenses_retrieve_request_expand.py +++ /dev/null @@ -1,275 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class ExpensesRetrieveRequestExpand(str, enum.Enum): - ACCOUNT = "account" - ACCOUNT_ACCOUNTING_PERIOD = "account,accounting_period" - ACCOUNT_COMPANY = "account,company" - ACCOUNT_COMPANY_ACCOUNTING_PERIOD = "account,company,accounting_period" - ACCOUNT_COMPANY_EMPLOYEE = "account,company,employee" - ACCOUNT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "account,company,employee,accounting_period" - ACCOUNT_CONTACT = "account,contact" - ACCOUNT_CONTACT_ACCOUNTING_PERIOD = "account,contact,accounting_period" - ACCOUNT_CONTACT_COMPANY = "account,contact,company" - ACCOUNT_CONTACT_COMPANY_ACCOUNTING_PERIOD = "account,contact,company,accounting_period" - ACCOUNT_CONTACT_COMPANY_EMPLOYEE = "account,contact,company,employee" - ACCOUNT_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "account,contact,company,employee,accounting_period" - ACCOUNT_CONTACT_EMPLOYEE = "account,contact,employee" - ACCOUNT_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "account,contact,employee,accounting_period" - ACCOUNT_EMPLOYEE = "account,employee" - ACCOUNT_EMPLOYEE_ACCOUNTING_PERIOD = "account,employee,accounting_period" - ACCOUNTING_PERIOD = "accounting_period" - COMPANY = "company" - COMPANY_ACCOUNTING_PERIOD = "company,accounting_period" - COMPANY_EMPLOYEE = "company,employee" - COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "company,employee,accounting_period" - CONTACT = "contact" - CONTACT_ACCOUNTING_PERIOD = "contact,accounting_period" - CONTACT_COMPANY = "contact,company" - CONTACT_COMPANY_ACCOUNTING_PERIOD = "contact,company,accounting_period" - CONTACT_COMPANY_EMPLOYEE = "contact,company,employee" - CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "contact,company,employee,accounting_period" - CONTACT_EMPLOYEE = "contact,employee" - CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "contact,employee,accounting_period" - EMPLOYEE = "employee" - EMPLOYEE_ACCOUNTING_PERIOD = "employee,accounting_period" - TRACKING_CATEGORIES = "tracking_categories" - TRACKING_CATEGORIES_ACCOUNT = "tracking_categories,account" - TRACKING_CATEGORIES_ACCOUNT_ACCOUNTING_PERIOD = "tracking_categories,account,accounting_period" - TRACKING_CATEGORIES_ACCOUNT_COMPANY = "tracking_categories,account,company" - TRACKING_CATEGORIES_ACCOUNT_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,account,company,accounting_period" - TRACKING_CATEGORIES_ACCOUNT_COMPANY_EMPLOYEE = "tracking_categories,account,company,employee" - TRACKING_CATEGORIES_ACCOUNT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,account,company,employee,accounting_period" - ) - TRACKING_CATEGORIES_ACCOUNT_CONTACT = "tracking_categories,account,contact" - TRACKING_CATEGORIES_ACCOUNT_CONTACT_ACCOUNTING_PERIOD = "tracking_categories,account,contact,accounting_period" - TRACKING_CATEGORIES_ACCOUNT_CONTACT_COMPANY = "tracking_categories,account,contact,company" - TRACKING_CATEGORIES_ACCOUNT_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,account,contact,company,accounting_period" - ) - TRACKING_CATEGORIES_ACCOUNT_CONTACT_COMPANY_EMPLOYEE = "tracking_categories,account,contact,company,employee" - TRACKING_CATEGORIES_ACCOUNT_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,account,contact,company,employee,accounting_period" - ) - TRACKING_CATEGORIES_ACCOUNT_CONTACT_EMPLOYEE = "tracking_categories,account,contact,employee" - TRACKING_CATEGORIES_ACCOUNT_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,account,contact,employee,accounting_period" - ) - TRACKING_CATEGORIES_ACCOUNT_EMPLOYEE = "tracking_categories,account,employee" - TRACKING_CATEGORIES_ACCOUNT_EMPLOYEE_ACCOUNTING_PERIOD = "tracking_categories,account,employee,accounting_period" - TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "tracking_categories,accounting_period" - TRACKING_CATEGORIES_COMPANY = "tracking_categories,company" - TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,company,accounting_period" - TRACKING_CATEGORIES_COMPANY_EMPLOYEE = "tracking_categories,company,employee" - TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "tracking_categories,company,employee,accounting_period" - TRACKING_CATEGORIES_CONTACT = "tracking_categories,contact" - TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = "tracking_categories,contact,accounting_period" - TRACKING_CATEGORIES_CONTACT_COMPANY = "tracking_categories,contact,company" - TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,contact,company,accounting_period" - TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE = "tracking_categories,contact,company,employee" - TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,contact,company,employee,accounting_period" - ) - TRACKING_CATEGORIES_CONTACT_EMPLOYEE = "tracking_categories,contact,employee" - TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "tracking_categories,contact,employee,accounting_period" - TRACKING_CATEGORIES_EMPLOYEE = "tracking_categories,employee" - TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD = "tracking_categories,employee,accounting_period" - - def visit( - self, - account: typing.Callable[[], T_Result], - account_accounting_period: typing.Callable[[], T_Result], - account_company: typing.Callable[[], T_Result], - account_company_accounting_period: typing.Callable[[], T_Result], - account_company_employee: typing.Callable[[], T_Result], - account_company_employee_accounting_period: typing.Callable[[], T_Result], - account_contact: typing.Callable[[], T_Result], - account_contact_accounting_period: typing.Callable[[], T_Result], - account_contact_company: typing.Callable[[], T_Result], - account_contact_company_accounting_period: typing.Callable[[], T_Result], - account_contact_company_employee: typing.Callable[[], T_Result], - account_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - account_contact_employee: typing.Callable[[], T_Result], - account_contact_employee_accounting_period: typing.Callable[[], T_Result], - account_employee: typing.Callable[[], T_Result], - account_employee_accounting_period: typing.Callable[[], T_Result], - accounting_period: typing.Callable[[], T_Result], - company: typing.Callable[[], T_Result], - company_accounting_period: typing.Callable[[], T_Result], - company_employee: typing.Callable[[], T_Result], - company_employee_accounting_period: typing.Callable[[], T_Result], - contact: typing.Callable[[], T_Result], - contact_accounting_period: typing.Callable[[], T_Result], - contact_company: typing.Callable[[], T_Result], - contact_company_accounting_period: typing.Callable[[], T_Result], - contact_company_employee: typing.Callable[[], T_Result], - contact_company_employee_accounting_period: typing.Callable[[], T_Result], - contact_employee: typing.Callable[[], T_Result], - contact_employee_accounting_period: typing.Callable[[], T_Result], - employee: typing.Callable[[], T_Result], - employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories: typing.Callable[[], T_Result], - tracking_categories_account: typing.Callable[[], T_Result], - tracking_categories_account_accounting_period: typing.Callable[[], T_Result], - tracking_categories_account_company: typing.Callable[[], T_Result], - tracking_categories_account_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_account_company_employee: typing.Callable[[], T_Result], - tracking_categories_account_company_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_account_contact: typing.Callable[[], T_Result], - tracking_categories_account_contact_accounting_period: typing.Callable[[], T_Result], - tracking_categories_account_contact_company: typing.Callable[[], T_Result], - tracking_categories_account_contact_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_account_contact_company_employee: typing.Callable[[], T_Result], - tracking_categories_account_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_account_contact_employee: typing.Callable[[], T_Result], - tracking_categories_account_contact_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_account_employee: typing.Callable[[], T_Result], - tracking_categories_account_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_accounting_period: typing.Callable[[], T_Result], - tracking_categories_company: typing.Callable[[], T_Result], - tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_company_employee: typing.Callable[[], T_Result], - tracking_categories_company_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_contact: typing.Callable[[], T_Result], - tracking_categories_contact_accounting_period: typing.Callable[[], T_Result], - tracking_categories_contact_company: typing.Callable[[], T_Result], - tracking_categories_contact_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_contact_company_employee: typing.Callable[[], T_Result], - tracking_categories_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_contact_employee: typing.Callable[[], T_Result], - tracking_categories_contact_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_employee: typing.Callable[[], T_Result], - tracking_categories_employee_accounting_period: typing.Callable[[], T_Result], - ) -> T_Result: - if self is ExpensesRetrieveRequestExpand.ACCOUNT: - return account() - if self is ExpensesRetrieveRequestExpand.ACCOUNT_ACCOUNTING_PERIOD: - return account_accounting_period() - if self is ExpensesRetrieveRequestExpand.ACCOUNT_COMPANY: - return account_company() - if self is ExpensesRetrieveRequestExpand.ACCOUNT_COMPANY_ACCOUNTING_PERIOD: - return account_company_accounting_period() - if self is ExpensesRetrieveRequestExpand.ACCOUNT_COMPANY_EMPLOYEE: - return account_company_employee() - if self is ExpensesRetrieveRequestExpand.ACCOUNT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return account_company_employee_accounting_period() - if self is ExpensesRetrieveRequestExpand.ACCOUNT_CONTACT: - return account_contact() - if self is ExpensesRetrieveRequestExpand.ACCOUNT_CONTACT_ACCOUNTING_PERIOD: - return account_contact_accounting_period() - if self is ExpensesRetrieveRequestExpand.ACCOUNT_CONTACT_COMPANY: - return account_contact_company() - if self is ExpensesRetrieveRequestExpand.ACCOUNT_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return account_contact_company_accounting_period() - if self is ExpensesRetrieveRequestExpand.ACCOUNT_CONTACT_COMPANY_EMPLOYEE: - return account_contact_company_employee() - if self is ExpensesRetrieveRequestExpand.ACCOUNT_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return account_contact_company_employee_accounting_period() - if self is ExpensesRetrieveRequestExpand.ACCOUNT_CONTACT_EMPLOYEE: - return account_contact_employee() - if self is ExpensesRetrieveRequestExpand.ACCOUNT_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return account_contact_employee_accounting_period() - if self is ExpensesRetrieveRequestExpand.ACCOUNT_EMPLOYEE: - return account_employee() - if self is ExpensesRetrieveRequestExpand.ACCOUNT_EMPLOYEE_ACCOUNTING_PERIOD: - return account_employee_accounting_period() - if self is ExpensesRetrieveRequestExpand.ACCOUNTING_PERIOD: - return accounting_period() - if self is ExpensesRetrieveRequestExpand.COMPANY: - return company() - if self is ExpensesRetrieveRequestExpand.COMPANY_ACCOUNTING_PERIOD: - return company_accounting_period() - if self is ExpensesRetrieveRequestExpand.COMPANY_EMPLOYEE: - return company_employee() - if self is ExpensesRetrieveRequestExpand.COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return company_employee_accounting_period() - if self is ExpensesRetrieveRequestExpand.CONTACT: - return contact() - if self is ExpensesRetrieveRequestExpand.CONTACT_ACCOUNTING_PERIOD: - return contact_accounting_period() - if self is ExpensesRetrieveRequestExpand.CONTACT_COMPANY: - return contact_company() - if self is ExpensesRetrieveRequestExpand.CONTACT_COMPANY_ACCOUNTING_PERIOD: - return contact_company_accounting_period() - if self is ExpensesRetrieveRequestExpand.CONTACT_COMPANY_EMPLOYEE: - return contact_company_employee() - if self is ExpensesRetrieveRequestExpand.CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return contact_company_employee_accounting_period() - if self is ExpensesRetrieveRequestExpand.CONTACT_EMPLOYEE: - return contact_employee() - if self is ExpensesRetrieveRequestExpand.CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return contact_employee_accounting_period() - if self is ExpensesRetrieveRequestExpand.EMPLOYEE: - return employee() - if self is ExpensesRetrieveRequestExpand.EMPLOYEE_ACCOUNTING_PERIOD: - return employee_accounting_period() - if self is ExpensesRetrieveRequestExpand.TRACKING_CATEGORIES: - return tracking_categories() - if self is ExpensesRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNT: - return tracking_categories_account() - if self is ExpensesRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNT_ACCOUNTING_PERIOD: - return tracking_categories_account_accounting_period() - if self is ExpensesRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNT_COMPANY: - return tracking_categories_account_company() - if self is ExpensesRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNT_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_account_company_accounting_period() - if self is ExpensesRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNT_COMPANY_EMPLOYEE: - return tracking_categories_account_company_employee() - if self is ExpensesRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return tracking_categories_account_company_employee_accounting_period() - if self is ExpensesRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNT_CONTACT: - return tracking_categories_account_contact() - if self is ExpensesRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNT_CONTACT_ACCOUNTING_PERIOD: - return tracking_categories_account_contact_accounting_period() - if self is ExpensesRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNT_CONTACT_COMPANY: - return tracking_categories_account_contact_company() - if self is ExpensesRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNT_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_account_contact_company_accounting_period() - if self is ExpensesRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNT_CONTACT_COMPANY_EMPLOYEE: - return tracking_categories_account_contact_company_employee() - if self is ExpensesRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNT_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return tracking_categories_account_contact_company_employee_accounting_period() - if self is ExpensesRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNT_CONTACT_EMPLOYEE: - return tracking_categories_account_contact_employee() - if self is ExpensesRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNT_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return tracking_categories_account_contact_employee_accounting_period() - if self is ExpensesRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNT_EMPLOYEE: - return tracking_categories_account_employee() - if self is ExpensesRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNT_EMPLOYEE_ACCOUNTING_PERIOD: - return tracking_categories_account_employee_accounting_period() - if self is ExpensesRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return tracking_categories_accounting_period() - if self is ExpensesRetrieveRequestExpand.TRACKING_CATEGORIES_COMPANY: - return tracking_categories_company() - if self is ExpensesRetrieveRequestExpand.TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_company_accounting_period() - if self is ExpensesRetrieveRequestExpand.TRACKING_CATEGORIES_COMPANY_EMPLOYEE: - return tracking_categories_company_employee() - if self is ExpensesRetrieveRequestExpand.TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return tracking_categories_company_employee_accounting_period() - if self is ExpensesRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT: - return tracking_categories_contact() - if self is ExpensesRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD: - return tracking_categories_contact_accounting_period() - if self is ExpensesRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY: - return tracking_categories_contact_company() - if self is ExpensesRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_contact_company_accounting_period() - if self is ExpensesRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE: - return tracking_categories_contact_company_employee() - if self is ExpensesRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return tracking_categories_contact_company_employee_accounting_period() - if self is ExpensesRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_EMPLOYEE: - return tracking_categories_contact_employee() - if self is ExpensesRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return tracking_categories_contact_employee_accounting_period() - if self is ExpensesRetrieveRequestExpand.TRACKING_CATEGORIES_EMPLOYEE: - return tracking_categories_employee() - if self is ExpensesRetrieveRequestExpand.TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD: - return tracking_categories_employee_accounting_period() diff --git a/src/merge/resources/accounting/resources/expenses/types/expenses_retrieve_request_expand_item.py b/src/merge/resources/accounting/resources/expenses/types/expenses_retrieve_request_expand_item.py new file mode 100644 index 00000000..d496b015 --- /dev/null +++ b/src/merge/resources/accounting/resources/expenses/types/expenses_retrieve_request_expand_item.py @@ -0,0 +1,37 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class ExpensesRetrieveRequestExpandItem(str, enum.Enum): + ACCOUNT = "account" + ACCOUNTING_PERIOD = "accounting_period" + COMPANY = "company" + CONTACT = "contact" + EMPLOYEE = "employee" + TRACKING_CATEGORIES = "tracking_categories" + + def visit( + self, + account: typing.Callable[[], T_Result], + accounting_period: typing.Callable[[], T_Result], + company: typing.Callable[[], T_Result], + contact: typing.Callable[[], T_Result], + employee: typing.Callable[[], T_Result], + tracking_categories: typing.Callable[[], T_Result], + ) -> T_Result: + if self is ExpensesRetrieveRequestExpandItem.ACCOUNT: + return account() + if self is ExpensesRetrieveRequestExpandItem.ACCOUNTING_PERIOD: + return accounting_period() + if self is ExpensesRetrieveRequestExpandItem.COMPANY: + return company() + if self is ExpensesRetrieveRequestExpandItem.CONTACT: + return contact() + if self is ExpensesRetrieveRequestExpandItem.EMPLOYEE: + return employee() + if self is ExpensesRetrieveRequestExpandItem.TRACKING_CATEGORIES: + return tracking_categories() diff --git a/src/merge/resources/accounting/resources/field_mapping/client.py b/src/merge/resources/accounting/resources/field_mapping/client.py index feed925c..b2b12fb1 100644 --- a/src/merge/resources/accounting/resources/field_mapping/client.py +++ b/src/merge/resources/accounting/resources/field_mapping/client.py @@ -59,9 +59,7 @@ def field_mappings_retrieve( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.field_mapping.field_mappings_retrieve( - exclude_remote_field_metadata=True, - ) + client.accounting.field_mapping.field_mappings_retrieve() """ _response = self._raw_client.field_mappings_retrieve( exclude_remote_field_metadata=exclude_remote_field_metadata, request_options=request_options @@ -73,7 +71,7 @@ def field_mappings_create( *, target_field_name: str, target_field_description: str, - remote_field_traversal_path: typing.Sequence[typing.Optional[typing.Any]], + remote_field_traversal_path: typing.Sequence[typing.Any], remote_method: str, remote_url_path: str, common_model_name: str, @@ -91,7 +89,7 @@ def field_mappings_create( target_field_description : str The description of the target field you want this remote field to map to. - remote_field_traversal_path : typing.Sequence[typing.Optional[typing.Any]] + remote_field_traversal_path : typing.Sequence[typing.Any] The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. remote_method : str @@ -123,7 +121,6 @@ def field_mappings_create( api_key="YOUR_API_KEY", ) client.accounting.field_mapping.field_mappings_create( - exclude_remote_field_metadata=True, target_field_name="example_target_field_name", target_field_description="this is a example description of the target field", remote_field_traversal_path=["example_remote_field"], @@ -181,7 +178,7 @@ def field_mappings_partial_update( self, field_mapping_id: str, *, - remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] = OMIT, + remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Any]] = OMIT, remote_method: typing.Optional[str] = OMIT, remote_url_path: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, @@ -193,7 +190,7 @@ def field_mappings_partial_update( ---------- field_mapping_id : str - remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] + remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Any]] The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. remote_method : typing.Optional[str] @@ -265,10 +262,7 @@ def remote_fields_retrieve( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.field_mapping.remote_fields_retrieve( - common_models="common_models", - include_example_values="include_example_values", - ) + client.accounting.field_mapping.remote_fields_retrieve() """ _response = self._raw_client.remote_fields_retrieve( common_models=common_models, include_example_values=include_example_values, request_options=request_options @@ -355,9 +349,7 @@ async def field_mappings_retrieve( async def main() -> None: - await client.accounting.field_mapping.field_mappings_retrieve( - exclude_remote_field_metadata=True, - ) + await client.accounting.field_mapping.field_mappings_retrieve() asyncio.run(main()) @@ -372,7 +364,7 @@ async def field_mappings_create( *, target_field_name: str, target_field_description: str, - remote_field_traversal_path: typing.Sequence[typing.Optional[typing.Any]], + remote_field_traversal_path: typing.Sequence[typing.Any], remote_method: str, remote_url_path: str, common_model_name: str, @@ -390,7 +382,7 @@ async def field_mappings_create( target_field_description : str The description of the target field you want this remote field to map to. - remote_field_traversal_path : typing.Sequence[typing.Optional[typing.Any]] + remote_field_traversal_path : typing.Sequence[typing.Any] The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. remote_method : str @@ -427,7 +419,6 @@ async def field_mappings_create( async def main() -> None: await client.accounting.field_mapping.field_mappings_create( - exclude_remote_field_metadata=True, target_field_name="example_target_field_name", target_field_description="this is a example description of the target field", remote_field_traversal_path=["example_remote_field"], @@ -496,7 +487,7 @@ async def field_mappings_partial_update( self, field_mapping_id: str, *, - remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] = OMIT, + remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Any]] = OMIT, remote_method: typing.Optional[str] = OMIT, remote_url_path: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, @@ -508,7 +499,7 @@ async def field_mappings_partial_update( ---------- field_mapping_id : str - remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] + remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Any]] The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. remote_method : typing.Optional[str] @@ -593,10 +584,7 @@ async def remote_fields_retrieve( async def main() -> None: - await client.accounting.field_mapping.remote_fields_retrieve( - common_models="common_models", - include_example_values="include_example_values", - ) + await client.accounting.field_mapping.remote_fields_retrieve() asyncio.run(main()) diff --git a/src/merge/resources/accounting/resources/field_mapping/raw_client.py b/src/merge/resources/accounting/resources/field_mapping/raw_client.py index 1e90a8db..6ba4f522 100644 --- a/src/merge/resources/accounting/resources/field_mapping/raw_client.py +++ b/src/merge/resources/accounting/resources/field_mapping/raw_client.py @@ -72,7 +72,7 @@ def field_mappings_create( *, target_field_name: str, target_field_description: str, - remote_field_traversal_path: typing.Sequence[typing.Optional[typing.Any]], + remote_field_traversal_path: typing.Sequence[typing.Any], remote_method: str, remote_url_path: str, common_model_name: str, @@ -90,7 +90,7 @@ def field_mappings_create( target_field_description : str The description of the target field you want this remote field to map to. - remote_field_traversal_path : typing.Sequence[typing.Optional[typing.Any]] + remote_field_traversal_path : typing.Sequence[typing.Any] The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. remote_method : str @@ -190,7 +190,7 @@ def field_mappings_partial_update( self, field_mapping_id: str, *, - remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] = OMIT, + remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Any]] = OMIT, remote_method: typing.Optional[str] = OMIT, remote_url_path: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, @@ -202,7 +202,7 @@ def field_mappings_partial_update( ---------- field_mapping_id : str - remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] + remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Any]] The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. remote_method : typing.Optional[str] @@ -389,7 +389,7 @@ async def field_mappings_create( *, target_field_name: str, target_field_description: str, - remote_field_traversal_path: typing.Sequence[typing.Optional[typing.Any]], + remote_field_traversal_path: typing.Sequence[typing.Any], remote_method: str, remote_url_path: str, common_model_name: str, @@ -407,7 +407,7 @@ async def field_mappings_create( target_field_description : str The description of the target field you want this remote field to map to. - remote_field_traversal_path : typing.Sequence[typing.Optional[typing.Any]] + remote_field_traversal_path : typing.Sequence[typing.Any] The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. remote_method : str @@ -507,7 +507,7 @@ async def field_mappings_partial_update( self, field_mapping_id: str, *, - remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] = OMIT, + remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Any]] = OMIT, remote_method: typing.Optional[str] = OMIT, remote_url_path: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, @@ -519,7 +519,7 @@ async def field_mappings_partial_update( ---------- field_mapping_id : str - remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] + remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Any]] The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. remote_method : typing.Optional[str] diff --git a/src/merge/resources/accounting/resources/general_ledger_transactions/__init__.py b/src/merge/resources/accounting/resources/general_ledger_transactions/__init__.py index 9b0229cd..8b7cf5fc 100644 --- a/src/merge/resources/accounting/resources/general_ledger_transactions/__init__.py +++ b/src/merge/resources/accounting/resources/general_ledger_transactions/__init__.py @@ -6,10 +6,13 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .types import GeneralLedgerTransactionsListRequestExpand, GeneralLedgerTransactionsRetrieveRequestExpand + from .types import ( + GeneralLedgerTransactionsListRequestExpandItem, + GeneralLedgerTransactionsRetrieveRequestExpandItem, + ) _dynamic_imports: typing.Dict[str, str] = { - "GeneralLedgerTransactionsListRequestExpand": ".types", - "GeneralLedgerTransactionsRetrieveRequestExpand": ".types", + "GeneralLedgerTransactionsListRequestExpandItem": ".types", + "GeneralLedgerTransactionsRetrieveRequestExpandItem": ".types", } @@ -19,8 +22,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -32,4 +37,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["GeneralLedgerTransactionsListRequestExpand", "GeneralLedgerTransactionsRetrieveRequestExpand"] +__all__ = ["GeneralLedgerTransactionsListRequestExpandItem", "GeneralLedgerTransactionsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/accounting/resources/general_ledger_transactions/client.py b/src/merge/resources/accounting/resources/general_ledger_transactions/client.py index 377163ab..47d280e4 100644 --- a/src/merge/resources/accounting/resources/general_ledger_transactions/client.py +++ b/src/merge/resources/accounting/resources/general_ledger_transactions/client.py @@ -4,12 +4,15 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.general_ledger_transaction import GeneralLedgerTransaction from ...types.paginated_general_ledger_transaction_list import PaginatedGeneralLedgerTransactionList from .raw_client import AsyncRawGeneralLedgerTransactionsClient, RawGeneralLedgerTransactionsClient -from .types.general_ledger_transactions_list_request_expand import GeneralLedgerTransactionsListRequestExpand -from .types.general_ledger_transactions_retrieve_request_expand import GeneralLedgerTransactionsRetrieveRequestExpand +from .types.general_ledger_transactions_list_request_expand_item import GeneralLedgerTransactionsListRequestExpandItem +from .types.general_ledger_transactions_retrieve_request_expand_item import ( + GeneralLedgerTransactionsRetrieveRequestExpandItem, +) class GeneralLedgerTransactionsClient: @@ -34,7 +37,12 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[GeneralLedgerTransactionsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + GeneralLedgerTransactionsListRequestExpandItem, + typing.Sequence[GeneralLedgerTransactionsListRequestExpandItem], + ] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -45,7 +53,7 @@ def list( posted_date_before: typing.Optional[dt.datetime] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedGeneralLedgerTransactionList: + ) -> SyncPager[GeneralLedgerTransaction, PaginatedGeneralLedgerTransactionList]: """ Returns a list of `GeneralLedgerTransaction` objects. @@ -63,7 +71,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[GeneralLedgerTransactionsListRequestExpand] + expand : typing.Optional[typing.Union[GeneralLedgerTransactionsListRequestExpandItem, typing.Sequence[GeneralLedgerTransactionsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -98,52 +106,27 @@ def list( Returns ------- - PaginatedGeneralLedgerTransactionList + SyncPager[GeneralLedgerTransaction, PaginatedGeneralLedgerTransactionList] Examples -------- - import datetime - from merge import Merge - from merge.resources.accounting.resources.general_ledger_transactions import ( - GeneralLedgerTransactionsListRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.general_ledger_transactions.list( - company_id="company_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = client.accounting.general_ledger_transactions.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=GeneralLedgerTransactionsListRequestExpand.ACCOUNTING_PERIOD, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - posted_date_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - posted_date_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -160,13 +143,17 @@ def list( remote_id=remote_id, request_options=request_options, ) - return _response.data def retrieve( self, id: str, *, - expand: typing.Optional[GeneralLedgerTransactionsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + GeneralLedgerTransactionsRetrieveRequestExpandItem, + typing.Sequence[GeneralLedgerTransactionsRetrieveRequestExpandItem], + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -178,7 +165,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[GeneralLedgerTransactionsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[GeneralLedgerTransactionsRetrieveRequestExpandItem, typing.Sequence[GeneralLedgerTransactionsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -198,9 +185,6 @@ def retrieve( Examples -------- from merge import Merge - from merge.resources.accounting.resources.general_ledger_transactions import ( - GeneralLedgerTransactionsRetrieveRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -208,9 +192,6 @@ def retrieve( ) client.accounting.general_ledger_transactions.retrieve( id="id", - expand=GeneralLedgerTransactionsRetrieveRequestExpand.ACCOUNTING_PERIOD, - include_remote_data=True, - include_shell_data=True, ) """ _response = self._raw_client.retrieve( @@ -245,7 +226,12 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[GeneralLedgerTransactionsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + GeneralLedgerTransactionsListRequestExpandItem, + typing.Sequence[GeneralLedgerTransactionsListRequestExpandItem], + ] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -256,7 +242,7 @@ async def list( posted_date_before: typing.Optional[dt.datetime] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedGeneralLedgerTransactionList: + ) -> AsyncPager[GeneralLedgerTransaction, PaginatedGeneralLedgerTransactionList]: """ Returns a list of `GeneralLedgerTransaction` objects. @@ -274,7 +260,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[GeneralLedgerTransactionsListRequestExpand] + expand : typing.Optional[typing.Union[GeneralLedgerTransactionsListRequestExpandItem, typing.Sequence[GeneralLedgerTransactionsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -309,18 +295,14 @@ async def list( Returns ------- - PaginatedGeneralLedgerTransactionList + AsyncPager[GeneralLedgerTransaction, PaginatedGeneralLedgerTransactionList] Examples -------- import asyncio - import datetime from merge import AsyncMerge - from merge.resources.accounting.resources.general_ledger_transactions import ( - GeneralLedgerTransactionsListRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -329,39 +311,20 @@ async def list( async def main() -> None: - await client.accounting.general_ledger_transactions.list( - company_id="company_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = await client.accounting.general_ledger_transactions.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=GeneralLedgerTransactionsListRequestExpand.ACCOUNTING_PERIOD, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - posted_date_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - posted_date_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -378,13 +341,17 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def retrieve( self, id: str, *, - expand: typing.Optional[GeneralLedgerTransactionsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + GeneralLedgerTransactionsRetrieveRequestExpandItem, + typing.Sequence[GeneralLedgerTransactionsRetrieveRequestExpandItem], + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -396,7 +363,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[GeneralLedgerTransactionsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[GeneralLedgerTransactionsRetrieveRequestExpandItem, typing.Sequence[GeneralLedgerTransactionsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -418,9 +385,6 @@ async def retrieve( import asyncio from merge import AsyncMerge - from merge.resources.accounting.resources.general_ledger_transactions import ( - GeneralLedgerTransactionsRetrieveRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -431,9 +395,6 @@ async def retrieve( async def main() -> None: await client.accounting.general_ledger_transactions.retrieve( id="id", - expand=GeneralLedgerTransactionsRetrieveRequestExpand.ACCOUNTING_PERIOD, - include_remote_data=True, - include_shell_data=True, ) diff --git a/src/merge/resources/accounting/resources/general_ledger_transactions/raw_client.py b/src/merge/resources/accounting/resources/general_ledger_transactions/raw_client.py index ab2d3f28..63b458ff 100644 --- a/src/merge/resources/accounting/resources/general_ledger_transactions/raw_client.py +++ b/src/merge/resources/accounting/resources/general_ledger_transactions/raw_client.py @@ -9,12 +9,15 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.general_ledger_transaction import GeneralLedgerTransaction from ...types.paginated_general_ledger_transaction_list import PaginatedGeneralLedgerTransactionList -from .types.general_ledger_transactions_list_request_expand import GeneralLedgerTransactionsListRequestExpand -from .types.general_ledger_transactions_retrieve_request_expand import GeneralLedgerTransactionsRetrieveRequestExpand +from .types.general_ledger_transactions_list_request_expand_item import GeneralLedgerTransactionsListRequestExpandItem +from .types.general_ledger_transactions_retrieve_request_expand_item import ( + GeneralLedgerTransactionsRetrieveRequestExpandItem, +) class RawGeneralLedgerTransactionsClient: @@ -28,7 +31,12 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[GeneralLedgerTransactionsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + GeneralLedgerTransactionsListRequestExpandItem, + typing.Sequence[GeneralLedgerTransactionsListRequestExpandItem], + ] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -39,7 +47,7 @@ def list( posted_date_before: typing.Optional[dt.datetime] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedGeneralLedgerTransactionList]: + ) -> SyncPager[GeneralLedgerTransaction, PaginatedGeneralLedgerTransactionList]: """ Returns a list of `GeneralLedgerTransaction` objects. @@ -57,7 +65,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[GeneralLedgerTransactionsListRequestExpand] + expand : typing.Optional[typing.Union[GeneralLedgerTransactionsListRequestExpandItem, typing.Sequence[GeneralLedgerTransactionsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -92,7 +100,7 @@ def list( Returns ------- - HttpResponse[PaginatedGeneralLedgerTransactionList] + SyncPager[GeneralLedgerTransaction, PaginatedGeneralLedgerTransactionList] """ _response = self._client_wrapper.httpx_client.request( @@ -120,14 +128,34 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedGeneralLedgerTransactionList, construct_type( type_=PaginatedGeneralLedgerTransactionList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + posted_date_after=posted_date_after, + posted_date_before=posted_date_before, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -137,7 +165,12 @@ def retrieve( self, id: str, *, - expand: typing.Optional[GeneralLedgerTransactionsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + GeneralLedgerTransactionsRetrieveRequestExpandItem, + typing.Sequence[GeneralLedgerTransactionsRetrieveRequestExpandItem], + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -149,7 +182,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[GeneralLedgerTransactionsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[GeneralLedgerTransactionsRetrieveRequestExpandItem, typing.Sequence[GeneralLedgerTransactionsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -203,7 +236,12 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[GeneralLedgerTransactionsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + GeneralLedgerTransactionsListRequestExpandItem, + typing.Sequence[GeneralLedgerTransactionsListRequestExpandItem], + ] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -214,7 +252,7 @@ async def list( posted_date_before: typing.Optional[dt.datetime] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedGeneralLedgerTransactionList]: + ) -> AsyncPager[GeneralLedgerTransaction, PaginatedGeneralLedgerTransactionList]: """ Returns a list of `GeneralLedgerTransaction` objects. @@ -232,7 +270,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[GeneralLedgerTransactionsListRequestExpand] + expand : typing.Optional[typing.Union[GeneralLedgerTransactionsListRequestExpandItem, typing.Sequence[GeneralLedgerTransactionsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -267,7 +305,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedGeneralLedgerTransactionList] + AsyncPager[GeneralLedgerTransaction, PaginatedGeneralLedgerTransactionList] """ _response = await self._client_wrapper.httpx_client.request( @@ -295,14 +333,37 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedGeneralLedgerTransactionList, construct_type( type_=PaginatedGeneralLedgerTransactionList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + posted_date_after=posted_date_after, + posted_date_before=posted_date_before, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -312,7 +373,12 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[GeneralLedgerTransactionsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + GeneralLedgerTransactionsRetrieveRequestExpandItem, + typing.Sequence[GeneralLedgerTransactionsRetrieveRequestExpandItem], + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -324,7 +390,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[GeneralLedgerTransactionsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[GeneralLedgerTransactionsRetrieveRequestExpandItem, typing.Sequence[GeneralLedgerTransactionsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/accounting/resources/general_ledger_transactions/types/__init__.py b/src/merge/resources/accounting/resources/general_ledger_transactions/types/__init__.py index d8499ab9..0e86a5df 100644 --- a/src/merge/resources/accounting/resources/general_ledger_transactions/types/__init__.py +++ b/src/merge/resources/accounting/resources/general_ledger_transactions/types/__init__.py @@ -6,11 +6,13 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .general_ledger_transactions_list_request_expand import GeneralLedgerTransactionsListRequestExpand - from .general_ledger_transactions_retrieve_request_expand import GeneralLedgerTransactionsRetrieveRequestExpand + from .general_ledger_transactions_list_request_expand_item import GeneralLedgerTransactionsListRequestExpandItem + from .general_ledger_transactions_retrieve_request_expand_item import ( + GeneralLedgerTransactionsRetrieveRequestExpandItem, + ) _dynamic_imports: typing.Dict[str, str] = { - "GeneralLedgerTransactionsListRequestExpand": ".general_ledger_transactions_list_request_expand", - "GeneralLedgerTransactionsRetrieveRequestExpand": ".general_ledger_transactions_retrieve_request_expand", + "GeneralLedgerTransactionsListRequestExpandItem": ".general_ledger_transactions_list_request_expand_item", + "GeneralLedgerTransactionsRetrieveRequestExpandItem": ".general_ledger_transactions_retrieve_request_expand_item", } @@ -20,8 +22,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -33,4 +37,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["GeneralLedgerTransactionsListRequestExpand", "GeneralLedgerTransactionsRetrieveRequestExpand"] +__all__ = ["GeneralLedgerTransactionsListRequestExpandItem", "GeneralLedgerTransactionsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/accounting/resources/general_ledger_transactions/types/general_ledger_transactions_list_request_expand.py b/src/merge/resources/accounting/resources/general_ledger_transactions/types/general_ledger_transactions_list_request_expand.py deleted file mode 100644 index 0b85bf75..00000000 --- a/src/merge/resources/accounting/resources/general_ledger_transactions/types/general_ledger_transactions_list_request_expand.py +++ /dev/null @@ -1,93 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class GeneralLedgerTransactionsListRequestExpand(str, enum.Enum): - ACCOUNTING_PERIOD = "accounting_period" - COMPANY = "company" - COMPANY_ACCOUNTING_PERIOD = "company,accounting_period" - GENERAL_LEDGER_TRANSACTION_LINES = "general_ledger_transaction_lines" - GENERAL_LEDGER_TRANSACTION_LINES_ACCOUNTING_PERIOD = "general_ledger_transaction_lines,accounting_period" - GENERAL_LEDGER_TRANSACTION_LINES_COMPANY = "general_ledger_transaction_lines,company" - GENERAL_LEDGER_TRANSACTION_LINES_COMPANY_ACCOUNTING_PERIOD = ( - "general_ledger_transaction_lines,company,accounting_period" - ) - TRACKING_CATEGORIES = "tracking_categories" - TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "tracking_categories,accounting_period" - TRACKING_CATEGORIES_COMPANY = "tracking_categories,company" - TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,company,accounting_period" - TRACKING_CATEGORIES_GENERAL_LEDGER_TRANSACTION_LINES = "tracking_categories,general_ledger_transaction_lines" - TRACKING_CATEGORIES_GENERAL_LEDGER_TRANSACTION_LINES_ACCOUNTING_PERIOD = ( - "tracking_categories,general_ledger_transaction_lines,accounting_period" - ) - TRACKING_CATEGORIES_GENERAL_LEDGER_TRANSACTION_LINES_COMPANY = ( - "tracking_categories,general_ledger_transaction_lines,company" - ) - TRACKING_CATEGORIES_GENERAL_LEDGER_TRANSACTION_LINES_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,general_ledger_transaction_lines,company,accounting_period" - ) - - def visit( - self, - accounting_period: typing.Callable[[], T_Result], - company: typing.Callable[[], T_Result], - company_accounting_period: typing.Callable[[], T_Result], - general_ledger_transaction_lines: typing.Callable[[], T_Result], - general_ledger_transaction_lines_accounting_period: typing.Callable[[], T_Result], - general_ledger_transaction_lines_company: typing.Callable[[], T_Result], - general_ledger_transaction_lines_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories: typing.Callable[[], T_Result], - tracking_categories_accounting_period: typing.Callable[[], T_Result], - tracking_categories_company: typing.Callable[[], T_Result], - tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_general_ledger_transaction_lines: typing.Callable[[], T_Result], - tracking_categories_general_ledger_transaction_lines_accounting_period: typing.Callable[[], T_Result], - tracking_categories_general_ledger_transaction_lines_company: typing.Callable[[], T_Result], - tracking_categories_general_ledger_transaction_lines_company_accounting_period: typing.Callable[[], T_Result], - ) -> T_Result: - if self is GeneralLedgerTransactionsListRequestExpand.ACCOUNTING_PERIOD: - return accounting_period() - if self is GeneralLedgerTransactionsListRequestExpand.COMPANY: - return company() - if self is GeneralLedgerTransactionsListRequestExpand.COMPANY_ACCOUNTING_PERIOD: - return company_accounting_period() - if self is GeneralLedgerTransactionsListRequestExpand.GENERAL_LEDGER_TRANSACTION_LINES: - return general_ledger_transaction_lines() - if self is GeneralLedgerTransactionsListRequestExpand.GENERAL_LEDGER_TRANSACTION_LINES_ACCOUNTING_PERIOD: - return general_ledger_transaction_lines_accounting_period() - if self is GeneralLedgerTransactionsListRequestExpand.GENERAL_LEDGER_TRANSACTION_LINES_COMPANY: - return general_ledger_transaction_lines_company() - if ( - self - is GeneralLedgerTransactionsListRequestExpand.GENERAL_LEDGER_TRANSACTION_LINES_COMPANY_ACCOUNTING_PERIOD - ): - return general_ledger_transaction_lines_company_accounting_period() - if self is GeneralLedgerTransactionsListRequestExpand.TRACKING_CATEGORIES: - return tracking_categories() - if self is GeneralLedgerTransactionsListRequestExpand.TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return tracking_categories_accounting_period() - if self is GeneralLedgerTransactionsListRequestExpand.TRACKING_CATEGORIES_COMPANY: - return tracking_categories_company() - if self is GeneralLedgerTransactionsListRequestExpand.TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_company_accounting_period() - if self is GeneralLedgerTransactionsListRequestExpand.TRACKING_CATEGORIES_GENERAL_LEDGER_TRANSACTION_LINES: - return tracking_categories_general_ledger_transaction_lines() - if ( - self - is GeneralLedgerTransactionsListRequestExpand.TRACKING_CATEGORIES_GENERAL_LEDGER_TRANSACTION_LINES_ACCOUNTING_PERIOD - ): - return tracking_categories_general_ledger_transaction_lines_accounting_period() - if ( - self - is GeneralLedgerTransactionsListRequestExpand.TRACKING_CATEGORIES_GENERAL_LEDGER_TRANSACTION_LINES_COMPANY - ): - return tracking_categories_general_ledger_transaction_lines_company() - if ( - self - is GeneralLedgerTransactionsListRequestExpand.TRACKING_CATEGORIES_GENERAL_LEDGER_TRANSACTION_LINES_COMPANY_ACCOUNTING_PERIOD - ): - return tracking_categories_general_ledger_transaction_lines_company_accounting_period() diff --git a/src/merge/resources/accounting/resources/general_ledger_transactions/types/general_ledger_transactions_list_request_expand_item.py b/src/merge/resources/accounting/resources/general_ledger_transactions/types/general_ledger_transactions_list_request_expand_item.py new file mode 100644 index 00000000..3ac96d8b --- /dev/null +++ b/src/merge/resources/accounting/resources/general_ledger_transactions/types/general_ledger_transactions_list_request_expand_item.py @@ -0,0 +1,29 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class GeneralLedgerTransactionsListRequestExpandItem(str, enum.Enum): + ACCOUNTING_PERIOD = "accounting_period" + COMPANY = "company" + GENERAL_LEDGER_TRANSACTION_LINES = "general_ledger_transaction_lines" + TRACKING_CATEGORIES = "tracking_categories" + + def visit( + self, + accounting_period: typing.Callable[[], T_Result], + company: typing.Callable[[], T_Result], + general_ledger_transaction_lines: typing.Callable[[], T_Result], + tracking_categories: typing.Callable[[], T_Result], + ) -> T_Result: + if self is GeneralLedgerTransactionsListRequestExpandItem.ACCOUNTING_PERIOD: + return accounting_period() + if self is GeneralLedgerTransactionsListRequestExpandItem.COMPANY: + return company() + if self is GeneralLedgerTransactionsListRequestExpandItem.GENERAL_LEDGER_TRANSACTION_LINES: + return general_ledger_transaction_lines() + if self is GeneralLedgerTransactionsListRequestExpandItem.TRACKING_CATEGORIES: + return tracking_categories() diff --git a/src/merge/resources/accounting/resources/general_ledger_transactions/types/general_ledger_transactions_retrieve_request_expand.py b/src/merge/resources/accounting/resources/general_ledger_transactions/types/general_ledger_transactions_retrieve_request_expand.py deleted file mode 100644 index 9c1c9ecd..00000000 --- a/src/merge/resources/accounting/resources/general_ledger_transactions/types/general_ledger_transactions_retrieve_request_expand.py +++ /dev/null @@ -1,93 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class GeneralLedgerTransactionsRetrieveRequestExpand(str, enum.Enum): - ACCOUNTING_PERIOD = "accounting_period" - COMPANY = "company" - COMPANY_ACCOUNTING_PERIOD = "company,accounting_period" - GENERAL_LEDGER_TRANSACTION_LINES = "general_ledger_transaction_lines" - GENERAL_LEDGER_TRANSACTION_LINES_ACCOUNTING_PERIOD = "general_ledger_transaction_lines,accounting_period" - GENERAL_LEDGER_TRANSACTION_LINES_COMPANY = "general_ledger_transaction_lines,company" - GENERAL_LEDGER_TRANSACTION_LINES_COMPANY_ACCOUNTING_PERIOD = ( - "general_ledger_transaction_lines,company,accounting_period" - ) - TRACKING_CATEGORIES = "tracking_categories" - TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "tracking_categories,accounting_period" - TRACKING_CATEGORIES_COMPANY = "tracking_categories,company" - TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,company,accounting_period" - TRACKING_CATEGORIES_GENERAL_LEDGER_TRANSACTION_LINES = "tracking_categories,general_ledger_transaction_lines" - TRACKING_CATEGORIES_GENERAL_LEDGER_TRANSACTION_LINES_ACCOUNTING_PERIOD = ( - "tracking_categories,general_ledger_transaction_lines,accounting_period" - ) - TRACKING_CATEGORIES_GENERAL_LEDGER_TRANSACTION_LINES_COMPANY = ( - "tracking_categories,general_ledger_transaction_lines,company" - ) - TRACKING_CATEGORIES_GENERAL_LEDGER_TRANSACTION_LINES_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,general_ledger_transaction_lines,company,accounting_period" - ) - - def visit( - self, - accounting_period: typing.Callable[[], T_Result], - company: typing.Callable[[], T_Result], - company_accounting_period: typing.Callable[[], T_Result], - general_ledger_transaction_lines: typing.Callable[[], T_Result], - general_ledger_transaction_lines_accounting_period: typing.Callable[[], T_Result], - general_ledger_transaction_lines_company: typing.Callable[[], T_Result], - general_ledger_transaction_lines_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories: typing.Callable[[], T_Result], - tracking_categories_accounting_period: typing.Callable[[], T_Result], - tracking_categories_company: typing.Callable[[], T_Result], - tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_general_ledger_transaction_lines: typing.Callable[[], T_Result], - tracking_categories_general_ledger_transaction_lines_accounting_period: typing.Callable[[], T_Result], - tracking_categories_general_ledger_transaction_lines_company: typing.Callable[[], T_Result], - tracking_categories_general_ledger_transaction_lines_company_accounting_period: typing.Callable[[], T_Result], - ) -> T_Result: - if self is GeneralLedgerTransactionsRetrieveRequestExpand.ACCOUNTING_PERIOD: - return accounting_period() - if self is GeneralLedgerTransactionsRetrieveRequestExpand.COMPANY: - return company() - if self is GeneralLedgerTransactionsRetrieveRequestExpand.COMPANY_ACCOUNTING_PERIOD: - return company_accounting_period() - if self is GeneralLedgerTransactionsRetrieveRequestExpand.GENERAL_LEDGER_TRANSACTION_LINES: - return general_ledger_transaction_lines() - if self is GeneralLedgerTransactionsRetrieveRequestExpand.GENERAL_LEDGER_TRANSACTION_LINES_ACCOUNTING_PERIOD: - return general_ledger_transaction_lines_accounting_period() - if self is GeneralLedgerTransactionsRetrieveRequestExpand.GENERAL_LEDGER_TRANSACTION_LINES_COMPANY: - return general_ledger_transaction_lines_company() - if ( - self - is GeneralLedgerTransactionsRetrieveRequestExpand.GENERAL_LEDGER_TRANSACTION_LINES_COMPANY_ACCOUNTING_PERIOD - ): - return general_ledger_transaction_lines_company_accounting_period() - if self is GeneralLedgerTransactionsRetrieveRequestExpand.TRACKING_CATEGORIES: - return tracking_categories() - if self is GeneralLedgerTransactionsRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return tracking_categories_accounting_period() - if self is GeneralLedgerTransactionsRetrieveRequestExpand.TRACKING_CATEGORIES_COMPANY: - return tracking_categories_company() - if self is GeneralLedgerTransactionsRetrieveRequestExpand.TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_company_accounting_period() - if self is GeneralLedgerTransactionsRetrieveRequestExpand.TRACKING_CATEGORIES_GENERAL_LEDGER_TRANSACTION_LINES: - return tracking_categories_general_ledger_transaction_lines() - if ( - self - is GeneralLedgerTransactionsRetrieveRequestExpand.TRACKING_CATEGORIES_GENERAL_LEDGER_TRANSACTION_LINES_ACCOUNTING_PERIOD - ): - return tracking_categories_general_ledger_transaction_lines_accounting_period() - if ( - self - is GeneralLedgerTransactionsRetrieveRequestExpand.TRACKING_CATEGORIES_GENERAL_LEDGER_TRANSACTION_LINES_COMPANY - ): - return tracking_categories_general_ledger_transaction_lines_company() - if ( - self - is GeneralLedgerTransactionsRetrieveRequestExpand.TRACKING_CATEGORIES_GENERAL_LEDGER_TRANSACTION_LINES_COMPANY_ACCOUNTING_PERIOD - ): - return tracking_categories_general_ledger_transaction_lines_company_accounting_period() diff --git a/src/merge/resources/accounting/resources/general_ledger_transactions/types/general_ledger_transactions_retrieve_request_expand_item.py b/src/merge/resources/accounting/resources/general_ledger_transactions/types/general_ledger_transactions_retrieve_request_expand_item.py new file mode 100644 index 00000000..78502da8 --- /dev/null +++ b/src/merge/resources/accounting/resources/general_ledger_transactions/types/general_ledger_transactions_retrieve_request_expand_item.py @@ -0,0 +1,29 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class GeneralLedgerTransactionsRetrieveRequestExpandItem(str, enum.Enum): + ACCOUNTING_PERIOD = "accounting_period" + COMPANY = "company" + GENERAL_LEDGER_TRANSACTION_LINES = "general_ledger_transaction_lines" + TRACKING_CATEGORIES = "tracking_categories" + + def visit( + self, + accounting_period: typing.Callable[[], T_Result], + company: typing.Callable[[], T_Result], + general_ledger_transaction_lines: typing.Callable[[], T_Result], + tracking_categories: typing.Callable[[], T_Result], + ) -> T_Result: + if self is GeneralLedgerTransactionsRetrieveRequestExpandItem.ACCOUNTING_PERIOD: + return accounting_period() + if self is GeneralLedgerTransactionsRetrieveRequestExpandItem.COMPANY: + return company() + if self is GeneralLedgerTransactionsRetrieveRequestExpandItem.GENERAL_LEDGER_TRANSACTION_LINES: + return general_ledger_transaction_lines() + if self is GeneralLedgerTransactionsRetrieveRequestExpandItem.TRACKING_CATEGORIES: + return tracking_categories() diff --git a/src/merge/resources/accounting/resources/income_statements/__init__.py b/src/merge/resources/accounting/resources/income_statements/__init__.py index 5cde0202..3a4f49fc 100644 --- a/src/merge/resources/accounting/resources/income_statements/__init__.py +++ b/src/merge/resources/accounting/resources/income_statements/__init__.py @@ -2,3 +2,36 @@ # isort: skip_file +import typing +from importlib import import_module + +if typing.TYPE_CHECKING: + from .types import IncomeStatementsListRequestExpandItem, IncomeStatementsRetrieveRequestExpandItem +_dynamic_imports: typing.Dict[str, str] = { + "IncomeStatementsListRequestExpandItem": ".types", + "IncomeStatementsRetrieveRequestExpandItem": ".types", +} + + +def __getattr__(attr_name: str) -> typing.Any: + module_name = _dynamic_imports.get(attr_name) + if module_name is None: + raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") + try: + module = import_module(module_name, __package__) + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) + except ImportError as e: + raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e + except AttributeError as e: + raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e + + +def __dir__(): + lazy_attrs = list(_dynamic_imports.keys()) + return sorted(lazy_attrs) + + +__all__ = ["IncomeStatementsListRequestExpandItem", "IncomeStatementsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/accounting/resources/income_statements/client.py b/src/merge/resources/accounting/resources/income_statements/client.py index 539bae03..31c9017a 100644 --- a/src/merge/resources/accounting/resources/income_statements/client.py +++ b/src/merge/resources/accounting/resources/income_statements/client.py @@ -4,10 +4,13 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.income_statement import IncomeStatement from ...types.paginated_income_statement_list import PaginatedIncomeStatementList from .raw_client import AsyncRawIncomeStatementsClient, RawIncomeStatementsClient +from .types.income_statements_list_request_expand_item import IncomeStatementsListRequestExpandItem +from .types.income_statements_retrieve_request_expand_item import IncomeStatementsRetrieveRequestExpandItem class IncomeStatementsClient: @@ -32,7 +35,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[IncomeStatementsListRequestExpandItem, typing.Sequence[IncomeStatementsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -41,7 +46,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedIncomeStatementList: + ) -> SyncPager[IncomeStatement, PaginatedIncomeStatementList]: """ Returns a list of `IncomeStatement` objects. @@ -59,7 +64,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[IncomeStatementsListRequestExpandItem, typing.Sequence[IncomeStatementsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -88,42 +93,27 @@ def list( Returns ------- - PaginatedIncomeStatementList + SyncPager[IncomeStatement, PaginatedIncomeStatementList] Examples -------- - import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.income_statements.list( - company_id="company_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = client.accounting.income_statements.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -138,13 +128,16 @@ def list( remote_id=remote_id, request_options=request_options, ) - return _response.data def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[ + IncomeStatementsRetrieveRequestExpandItem, typing.Sequence[IncomeStatementsRetrieveRequestExpandItem] + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -156,7 +149,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[IncomeStatementsRetrieveRequestExpandItem, typing.Sequence[IncomeStatementsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -183,8 +176,6 @@ def retrieve( ) client.accounting.income_statements.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) """ _response = self._raw_client.retrieve( @@ -219,7 +210,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[IncomeStatementsListRequestExpandItem, typing.Sequence[IncomeStatementsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -228,7 +221,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedIncomeStatementList: + ) -> AsyncPager[IncomeStatement, PaginatedIncomeStatementList]: """ Returns a list of `IncomeStatement` objects. @@ -246,7 +239,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[IncomeStatementsListRequestExpandItem, typing.Sequence[IncomeStatementsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -275,13 +268,12 @@ async def list( Returns ------- - PaginatedIncomeStatementList + AsyncPager[IncomeStatement, PaginatedIncomeStatementList] Examples -------- import asyncio - import datetime from merge import AsyncMerge @@ -292,32 +284,20 @@ async def list( async def main() -> None: - await client.accounting.income_statements.list( - company_id="company_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = await client.accounting.income_statements.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -332,13 +312,16 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[ + IncomeStatementsRetrieveRequestExpandItem, typing.Sequence[IncomeStatementsRetrieveRequestExpandItem] + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -350,7 +333,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[IncomeStatementsRetrieveRequestExpandItem, typing.Sequence[IncomeStatementsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -382,8 +365,6 @@ async def retrieve( async def main() -> None: await client.accounting.income_statements.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) diff --git a/src/merge/resources/accounting/resources/income_statements/raw_client.py b/src/merge/resources/accounting/resources/income_statements/raw_client.py index 7bbb3315..15c5a68a 100644 --- a/src/merge/resources/accounting/resources/income_statements/raw_client.py +++ b/src/merge/resources/accounting/resources/income_statements/raw_client.py @@ -9,10 +9,13 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.income_statement import IncomeStatement from ...types.paginated_income_statement_list import PaginatedIncomeStatementList +from .types.income_statements_list_request_expand_item import IncomeStatementsListRequestExpandItem +from .types.income_statements_retrieve_request_expand_item import IncomeStatementsRetrieveRequestExpandItem class RawIncomeStatementsClient: @@ -26,7 +29,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[IncomeStatementsListRequestExpandItem, typing.Sequence[IncomeStatementsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -35,7 +40,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedIncomeStatementList]: + ) -> SyncPager[IncomeStatement, PaginatedIncomeStatementList]: """ Returns a list of `IncomeStatement` objects. @@ -53,7 +58,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[IncomeStatementsListRequestExpandItem, typing.Sequence[IncomeStatementsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -82,7 +87,7 @@ def list( Returns ------- - HttpResponse[PaginatedIncomeStatementList] + SyncPager[IncomeStatement, PaginatedIncomeStatementList] """ _response = self._client_wrapper.httpx_client.request( @@ -106,14 +111,32 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedIncomeStatementList, construct_type( type_=PaginatedIncomeStatementList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -123,7 +146,11 @@ def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[ + IncomeStatementsRetrieveRequestExpandItem, typing.Sequence[IncomeStatementsRetrieveRequestExpandItem] + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -135,7 +162,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[IncomeStatementsRetrieveRequestExpandItem, typing.Sequence[IncomeStatementsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -189,7 +216,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[IncomeStatementsListRequestExpandItem, typing.Sequence[IncomeStatementsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -198,7 +227,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedIncomeStatementList]: + ) -> AsyncPager[IncomeStatement, PaginatedIncomeStatementList]: """ Returns a list of `IncomeStatement` objects. @@ -216,7 +245,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[IncomeStatementsListRequestExpandItem, typing.Sequence[IncomeStatementsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -245,7 +274,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedIncomeStatementList] + AsyncPager[IncomeStatement, PaginatedIncomeStatementList] """ _response = await self._client_wrapper.httpx_client.request( @@ -269,14 +298,35 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedIncomeStatementList, construct_type( type_=PaginatedIncomeStatementList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -286,7 +336,11 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[ + IncomeStatementsRetrieveRequestExpandItem, typing.Sequence[IncomeStatementsRetrieveRequestExpandItem] + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -298,7 +352,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[IncomeStatementsRetrieveRequestExpandItem, typing.Sequence[IncomeStatementsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/accounting/resources/income_statements/types/__init__.py b/src/merge/resources/accounting/resources/income_statements/types/__init__.py new file mode 100644 index 00000000..1f73ecee --- /dev/null +++ b/src/merge/resources/accounting/resources/income_statements/types/__init__.py @@ -0,0 +1,38 @@ +# This file was auto-generated by Fern from our API Definition. + +# isort: skip_file + +import typing +from importlib import import_module + +if typing.TYPE_CHECKING: + from .income_statements_list_request_expand_item import IncomeStatementsListRequestExpandItem + from .income_statements_retrieve_request_expand_item import IncomeStatementsRetrieveRequestExpandItem +_dynamic_imports: typing.Dict[str, str] = { + "IncomeStatementsListRequestExpandItem": ".income_statements_list_request_expand_item", + "IncomeStatementsRetrieveRequestExpandItem": ".income_statements_retrieve_request_expand_item", +} + + +def __getattr__(attr_name: str) -> typing.Any: + module_name = _dynamic_imports.get(attr_name) + if module_name is None: + raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") + try: + module = import_module(module_name, __package__) + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) + except ImportError as e: + raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e + except AttributeError as e: + raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e + + +def __dir__(): + lazy_attrs = list(_dynamic_imports.keys()) + return sorted(lazy_attrs) + + +__all__ = ["IncomeStatementsListRequestExpandItem", "IncomeStatementsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/accounting/resources/income_statements/types/income_statements_list_request_expand_item.py b/src/merge/resources/accounting/resources/income_statements/types/income_statements_list_request_expand_item.py new file mode 100644 index 00000000..80ca0463 --- /dev/null +++ b/src/merge/resources/accounting/resources/income_statements/types/income_statements_list_request_expand_item.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class IncomeStatementsListRequestExpandItem(str, enum.Enum): + COMPANY = "company" + + def visit(self, company: typing.Callable[[], T_Result]) -> T_Result: + if self is IncomeStatementsListRequestExpandItem.COMPANY: + return company() diff --git a/src/merge/resources/accounting/resources/income_statements/types/income_statements_retrieve_request_expand_item.py b/src/merge/resources/accounting/resources/income_statements/types/income_statements_retrieve_request_expand_item.py new file mode 100644 index 00000000..3eee3d17 --- /dev/null +++ b/src/merge/resources/accounting/resources/income_statements/types/income_statements_retrieve_request_expand_item.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class IncomeStatementsRetrieveRequestExpandItem(str, enum.Enum): + COMPANY = "company" + + def visit(self, company: typing.Callable[[], T_Result]) -> T_Result: + if self is IncomeStatementsRetrieveRequestExpandItem.COMPANY: + return company() diff --git a/src/merge/resources/accounting/resources/invoices/__init__.py b/src/merge/resources/accounting/resources/invoices/__init__.py index 91efb449..217dc67f 100644 --- a/src/merge/resources/accounting/resources/invoices/__init__.py +++ b/src/merge/resources/accounting/resources/invoices/__init__.py @@ -7,16 +7,24 @@ if typing.TYPE_CHECKING: from .types import ( - InvoicesListRequestExpand, + InvoicesListRequestExpandItem, + InvoicesListRequestRemoteFields, + InvoicesListRequestShowEnumOrigins, InvoicesListRequestStatus, InvoicesListRequestType, - InvoicesRetrieveRequestExpand, + InvoicesRetrieveRequestExpandItem, + InvoicesRetrieveRequestRemoteFields, + InvoicesRetrieveRequestShowEnumOrigins, ) _dynamic_imports: typing.Dict[str, str] = { - "InvoicesListRequestExpand": ".types", + "InvoicesListRequestExpandItem": ".types", + "InvoicesListRequestRemoteFields": ".types", + "InvoicesListRequestShowEnumOrigins": ".types", "InvoicesListRequestStatus": ".types", "InvoicesListRequestType": ".types", - "InvoicesRetrieveRequestExpand": ".types", + "InvoicesRetrieveRequestExpandItem": ".types", + "InvoicesRetrieveRequestRemoteFields": ".types", + "InvoicesRetrieveRequestShowEnumOrigins": ".types", } @@ -26,8 +34,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -40,8 +50,12 @@ def __dir__(): __all__ = [ - "InvoicesListRequestExpand", + "InvoicesListRequestExpandItem", + "InvoicesListRequestRemoteFields", + "InvoicesListRequestShowEnumOrigins", "InvoicesListRequestStatus", "InvoicesListRequestType", - "InvoicesRetrieveRequestExpand", + "InvoicesRetrieveRequestExpandItem", + "InvoicesRetrieveRequestRemoteFields", + "InvoicesRetrieveRequestShowEnumOrigins", ] diff --git a/src/merge/resources/accounting/resources/invoices/client.py b/src/merge/resources/accounting/resources/invoices/client.py index 9ec8d516..359e81d3 100644 --- a/src/merge/resources/accounting/resources/invoices/client.py +++ b/src/merge/resources/accounting/resources/invoices/client.py @@ -4,6 +4,7 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.invoice import Invoice from ...types.invoice_request import InvoiceRequest @@ -11,11 +12,16 @@ from ...types.meta_response import MetaResponse from ...types.paginated_invoice_list import PaginatedInvoiceList from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList +from ...types.remote_field_class import RemoteFieldClass from .raw_client import AsyncRawInvoicesClient, RawInvoicesClient -from .types.invoices_list_request_expand import InvoicesListRequestExpand +from .types.invoices_list_request_expand_item import InvoicesListRequestExpandItem +from .types.invoices_list_request_remote_fields import InvoicesListRequestRemoteFields +from .types.invoices_list_request_show_enum_origins import InvoicesListRequestShowEnumOrigins from .types.invoices_list_request_status import InvoicesListRequestStatus from .types.invoices_list_request_type import InvoicesListRequestType -from .types.invoices_retrieve_request_expand import InvoicesRetrieveRequestExpand +from .types.invoices_retrieve_request_expand_item import InvoicesRetrieveRequestExpandItem +from .types.invoices_retrieve_request_remote_fields import InvoicesRetrieveRequestRemoteFields +from .types.invoices_retrieve_request_show_enum_origins import InvoicesRetrieveRequestShowEnumOrigins # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -44,7 +50,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[InvoicesListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[InvoicesListRequestExpandItem, typing.Sequence[InvoicesListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -55,13 +63,13 @@ def list( modified_before: typing.Optional[dt.datetime] = None, number: typing.Optional[str] = None, page_size: typing.Optional[int] = None, - remote_fields: typing.Optional[typing.Literal["type"]] = None, + remote_fields: typing.Optional[InvoicesListRequestRemoteFields] = None, remote_id: typing.Optional[str] = None, - show_enum_origins: typing.Optional[typing.Literal["type"]] = None, + show_enum_origins: typing.Optional[InvoicesListRequestShowEnumOrigins] = None, status: typing.Optional[InvoicesListRequestStatus] = None, type: typing.Optional[InvoicesListRequestType] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedInvoiceList: + ) -> SyncPager[Invoice, PaginatedInvoiceList]: """ Returns a list of `Invoice` objects. @@ -82,7 +90,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[InvoicesListRequestExpand] + expand : typing.Optional[typing.Union[InvoicesListRequestExpandItem, typing.Sequence[InvoicesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -115,13 +123,13 @@ def list( page_size : typing.Optional[int] Number of results to return per page. - remote_fields : typing.Optional[typing.Literal["type"]] + remote_fields : typing.Optional[InvoicesListRequestRemoteFields] Deprecated. Use show_enum_origins. remote_id : typing.Optional[str] The API provider's ID for the given object. - show_enum_origins : typing.Optional[typing.Literal["type"]] + show_enum_origins : typing.Optional[InvoicesListRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) status : typing.Optional[InvoicesListRequestStatus] @@ -145,59 +153,27 @@ def list( Returns ------- - PaginatedInvoiceList + SyncPager[Invoice, PaginatedInvoiceList] Examples -------- - import datetime - from merge import Merge - from merge.resources.accounting.resources.invoices import ( - InvoicesListRequestExpand, - InvoicesListRequestStatus, - InvoicesListRequestType, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.invoices.list( - company_id="company_id", - contact_id="contact_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = client.accounting.invoices.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=InvoicesListRequestExpand.ACCOUNTING_PERIOD, - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - issue_date_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - issue_date_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - number="number", - page_size=1, - remote_id="remote_id", - status=InvoicesListRequestStatus.DRAFT, - type=InvoicesListRequestType.ACCOUNTS_PAYABLE, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( company_id=company_id, contact_id=contact_id, created_after=created_after, @@ -221,7 +197,6 @@ def list( type=type, request_options=request_options, ) - return _response.data def create( self, @@ -264,8 +239,6 @@ def create( api_key="YOUR_API_KEY", ) client.accounting.invoices.create( - is_debug_mode=True, - run_async=True, model=InvoiceRequest(), ) """ @@ -278,12 +251,14 @@ def retrieve( self, id: str, *, - expand: typing.Optional[InvoicesRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[InvoicesRetrieveRequestExpandItem, typing.Sequence[InvoicesRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - remote_fields: typing.Optional[typing.Literal["type"]] = None, - show_enum_origins: typing.Optional[typing.Literal["type"]] = None, + remote_fields: typing.Optional[InvoicesRetrieveRequestRemoteFields] = None, + show_enum_origins: typing.Optional[InvoicesRetrieveRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, ) -> Invoice: """ @@ -293,7 +268,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[InvoicesRetrieveRequestExpand] + expand : typing.Optional[typing.Union[InvoicesRetrieveRequestExpandItem, typing.Sequence[InvoicesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -305,10 +280,10 @@ def retrieve( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - remote_fields : typing.Optional[typing.Literal["type"]] + remote_fields : typing.Optional[InvoicesRetrieveRequestRemoteFields] Deprecated. Use show_enum_origins. - show_enum_origins : typing.Optional[typing.Literal["type"]] + show_enum_origins : typing.Optional[InvoicesRetrieveRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -322,9 +297,6 @@ def retrieve( Examples -------- from merge import Merge - from merge.resources.accounting.resources.invoices import ( - InvoicesRetrieveRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -332,10 +304,6 @@ def retrieve( ) client.accounting.invoices.retrieve( id="id", - expand=InvoicesRetrieveRequestExpand.ACCOUNTING_PERIOD, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, ) """ _response = self._raw_client.retrieve( @@ -393,8 +361,6 @@ def partial_update( ) client.accounting.invoices.partial_update( id="id", - is_debug_mode=True, - run_async=True, model=InvoiceRequest(), ) """ @@ -414,7 +380,7 @@ def line_items_remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -446,7 +412,7 @@ def line_items_remote_field_classes_list( Returns ------- - PaginatedRemoteFieldClassList + SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] Examples @@ -457,17 +423,16 @@ def line_items_remote_field_classes_list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.invoices.line_items_remote_field_classes_list( + response = client.accounting.invoices.line_items_remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.line_items_remote_field_classes_list( + return self._raw_client.line_items_remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -477,7 +442,6 @@ def line_items_remote_field_classes_list( page_size=page_size, request_options=request_options, ) - return _response.data def meta_patch_retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ @@ -548,7 +512,7 @@ def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -580,7 +544,7 @@ def remote_field_classes_list( Returns ------- - PaginatedRemoteFieldClassList + SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] Examples @@ -591,17 +555,16 @@ def remote_field_classes_list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.invoices.remote_field_classes_list( + response = client.accounting.invoices.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.remote_field_classes_list( + return self._raw_client.remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -611,7 +574,6 @@ def remote_field_classes_list( page_size=page_size, request_options=request_options, ) - return _response.data class AsyncInvoicesClient: @@ -637,7 +599,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[InvoicesListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[InvoicesListRequestExpandItem, typing.Sequence[InvoicesListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -648,13 +612,13 @@ async def list( modified_before: typing.Optional[dt.datetime] = None, number: typing.Optional[str] = None, page_size: typing.Optional[int] = None, - remote_fields: typing.Optional[typing.Literal["type"]] = None, + remote_fields: typing.Optional[InvoicesListRequestRemoteFields] = None, remote_id: typing.Optional[str] = None, - show_enum_origins: typing.Optional[typing.Literal["type"]] = None, + show_enum_origins: typing.Optional[InvoicesListRequestShowEnumOrigins] = None, status: typing.Optional[InvoicesListRequestStatus] = None, type: typing.Optional[InvoicesListRequestType] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedInvoiceList: + ) -> AsyncPager[Invoice, PaginatedInvoiceList]: """ Returns a list of `Invoice` objects. @@ -675,7 +639,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[InvoicesListRequestExpand] + expand : typing.Optional[typing.Union[InvoicesListRequestExpandItem, typing.Sequence[InvoicesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -708,13 +672,13 @@ async def list( page_size : typing.Optional[int] Number of results to return per page. - remote_fields : typing.Optional[typing.Literal["type"]] + remote_fields : typing.Optional[InvoicesListRequestRemoteFields] Deprecated. Use show_enum_origins. remote_id : typing.Optional[str] The API provider's ID for the given object. - show_enum_origins : typing.Optional[typing.Literal["type"]] + show_enum_origins : typing.Optional[InvoicesListRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) status : typing.Optional[InvoicesListRequestStatus] @@ -738,20 +702,14 @@ async def list( Returns ------- - PaginatedInvoiceList + AsyncPager[Invoice, PaginatedInvoiceList] Examples -------- import asyncio - import datetime from merge import AsyncMerge - from merge.resources.accounting.resources.invoices import ( - InvoicesListRequestExpand, - InvoicesListRequestStatus, - InvoicesListRequestType, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -760,44 +718,20 @@ async def list( async def main() -> None: - await client.accounting.invoices.list( - company_id="company_id", - contact_id="contact_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = await client.accounting.invoices.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=InvoicesListRequestExpand.ACCOUNTING_PERIOD, - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - issue_date_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - issue_date_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - number="number", - page_size=1, - remote_id="remote_id", - status=InvoicesListRequestStatus.DRAFT, - type=InvoicesListRequestType.ACCOUNTS_PAYABLE, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( company_id=company_id, contact_id=contact_id, created_after=created_after, @@ -821,7 +755,6 @@ async def main() -> None: type=type, request_options=request_options, ) - return _response.data async def create( self, @@ -869,8 +802,6 @@ async def create( async def main() -> None: await client.accounting.invoices.create( - is_debug_mode=True, - run_async=True, model=InvoiceRequest(), ) @@ -886,12 +817,14 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[InvoicesRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[InvoicesRetrieveRequestExpandItem, typing.Sequence[InvoicesRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - remote_fields: typing.Optional[typing.Literal["type"]] = None, - show_enum_origins: typing.Optional[typing.Literal["type"]] = None, + remote_fields: typing.Optional[InvoicesRetrieveRequestRemoteFields] = None, + show_enum_origins: typing.Optional[InvoicesRetrieveRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, ) -> Invoice: """ @@ -901,7 +834,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[InvoicesRetrieveRequestExpand] + expand : typing.Optional[typing.Union[InvoicesRetrieveRequestExpandItem, typing.Sequence[InvoicesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -913,10 +846,10 @@ async def retrieve( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - remote_fields : typing.Optional[typing.Literal["type"]] + remote_fields : typing.Optional[InvoicesRetrieveRequestRemoteFields] Deprecated. Use show_enum_origins. - show_enum_origins : typing.Optional[typing.Literal["type"]] + show_enum_origins : typing.Optional[InvoicesRetrieveRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -932,9 +865,6 @@ async def retrieve( import asyncio from merge import AsyncMerge - from merge.resources.accounting.resources.invoices import ( - InvoicesRetrieveRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -945,10 +875,6 @@ async def retrieve( async def main() -> None: await client.accounting.invoices.retrieve( id="id", - expand=InvoicesRetrieveRequestExpand.ACCOUNTING_PERIOD, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, ) @@ -1014,8 +940,6 @@ async def partial_update( async def main() -> None: await client.accounting.invoices.partial_update( id="id", - is_debug_mode=True, - run_async=True, model=InvoiceRequest(), ) @@ -1038,7 +962,7 @@ async def line_items_remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -1070,7 +994,7 @@ async def line_items_remote_field_classes_list( Returns ------- - PaginatedRemoteFieldClassList + AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] Examples @@ -1086,20 +1010,22 @@ async def line_items_remote_field_classes_list( async def main() -> None: - await client.accounting.invoices.line_items_remote_field_classes_list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, + response = ( + await client.accounting.invoices.line_items_remote_field_classes_list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + ) ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.line_items_remote_field_classes_list( + return await self._raw_client.line_items_remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -1109,7 +1035,6 @@ async def main() -> None: page_size=page_size, request_options=request_options, ) - return _response.data async def meta_patch_retrieve( self, id: str, *, request_options: typing.Optional[RequestOptions] = None @@ -1198,7 +1123,7 @@ async def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -1230,7 +1155,7 @@ async def remote_field_classes_list( Returns ------- - PaginatedRemoteFieldClassList + AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] Examples @@ -1246,20 +1171,20 @@ async def remote_field_classes_list( async def main() -> None: - await client.accounting.invoices.remote_field_classes_list( + response = await client.accounting.invoices.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.remote_field_classes_list( + return await self._raw_client.remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -1269,4 +1194,3 @@ async def main() -> None: page_size=page_size, request_options=request_options, ) - return _response.data diff --git a/src/merge/resources/accounting/resources/invoices/raw_client.py b/src/merge/resources/accounting/resources/invoices/raw_client.py index 8fe8ca88..263b3842 100644 --- a/src/merge/resources/accounting/resources/invoices/raw_client.py +++ b/src/merge/resources/accounting/resources/invoices/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.invoice import Invoice @@ -17,10 +18,15 @@ from ...types.meta_response import MetaResponse from ...types.paginated_invoice_list import PaginatedInvoiceList from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList -from .types.invoices_list_request_expand import InvoicesListRequestExpand +from ...types.remote_field_class import RemoteFieldClass +from .types.invoices_list_request_expand_item import InvoicesListRequestExpandItem +from .types.invoices_list_request_remote_fields import InvoicesListRequestRemoteFields +from .types.invoices_list_request_show_enum_origins import InvoicesListRequestShowEnumOrigins from .types.invoices_list_request_status import InvoicesListRequestStatus from .types.invoices_list_request_type import InvoicesListRequestType -from .types.invoices_retrieve_request_expand import InvoicesRetrieveRequestExpand +from .types.invoices_retrieve_request_expand_item import InvoicesRetrieveRequestExpandItem +from .types.invoices_retrieve_request_remote_fields import InvoicesRetrieveRequestRemoteFields +from .types.invoices_retrieve_request_show_enum_origins import InvoicesRetrieveRequestShowEnumOrigins # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -38,7 +44,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[InvoicesListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[InvoicesListRequestExpandItem, typing.Sequence[InvoicesListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -49,13 +57,13 @@ def list( modified_before: typing.Optional[dt.datetime] = None, number: typing.Optional[str] = None, page_size: typing.Optional[int] = None, - remote_fields: typing.Optional[typing.Literal["type"]] = None, + remote_fields: typing.Optional[InvoicesListRequestRemoteFields] = None, remote_id: typing.Optional[str] = None, - show_enum_origins: typing.Optional[typing.Literal["type"]] = None, + show_enum_origins: typing.Optional[InvoicesListRequestShowEnumOrigins] = None, status: typing.Optional[InvoicesListRequestStatus] = None, type: typing.Optional[InvoicesListRequestType] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedInvoiceList]: + ) -> SyncPager[Invoice, PaginatedInvoiceList]: """ Returns a list of `Invoice` objects. @@ -76,7 +84,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[InvoicesListRequestExpand] + expand : typing.Optional[typing.Union[InvoicesListRequestExpandItem, typing.Sequence[InvoicesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -109,13 +117,13 @@ def list( page_size : typing.Optional[int] Number of results to return per page. - remote_fields : typing.Optional[typing.Literal["type"]] + remote_fields : typing.Optional[InvoicesListRequestRemoteFields] Deprecated. Use show_enum_origins. remote_id : typing.Optional[str] The API provider's ID for the given object. - show_enum_origins : typing.Optional[typing.Literal["type"]] + show_enum_origins : typing.Optional[InvoicesListRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) status : typing.Optional[InvoicesListRequestStatus] @@ -139,7 +147,7 @@ def list( Returns ------- - HttpResponse[PaginatedInvoiceList] + SyncPager[Invoice, PaginatedInvoiceList] """ _response = self._client_wrapper.httpx_client.request( @@ -172,14 +180,41 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedInvoiceList, construct_type( type_=PaginatedInvoiceList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + company_id=company_id, + contact_id=contact_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + issue_date_after=issue_date_after, + issue_date_before=issue_date_before, + modified_after=modified_after, + modified_before=modified_before, + number=number, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + status=status, + type=type, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -251,12 +286,14 @@ def retrieve( self, id: str, *, - expand: typing.Optional[InvoicesRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[InvoicesRetrieveRequestExpandItem, typing.Sequence[InvoicesRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - remote_fields: typing.Optional[typing.Literal["type"]] = None, - show_enum_origins: typing.Optional[typing.Literal["type"]] = None, + remote_fields: typing.Optional[InvoicesRetrieveRequestRemoteFields] = None, + show_enum_origins: typing.Optional[InvoicesRetrieveRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[Invoice]: """ @@ -266,7 +303,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[InvoicesRetrieveRequestExpand] + expand : typing.Optional[typing.Union[InvoicesRetrieveRequestExpandItem, typing.Sequence[InvoicesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -278,10 +315,10 @@ def retrieve( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - remote_fields : typing.Optional[typing.Literal["type"]] + remote_fields : typing.Optional[InvoicesRetrieveRequestRemoteFields] Deprecated. Use show_enum_origins. - show_enum_origins : typing.Optional[typing.Literal["type"]] + show_enum_origins : typing.Optional[InvoicesRetrieveRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -394,7 +431,7 @@ def line_items_remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedRemoteFieldClassList]: + ) -> SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -426,7 +463,7 @@ def line_items_remote_field_classes_list( Returns ------- - HttpResponse[PaginatedRemoteFieldClassList] + SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] """ _response = self._client_wrapper.httpx_client.request( @@ -445,14 +482,27 @@ def line_items_remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.line_items_remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -543,7 +593,7 @@ def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedRemoteFieldClassList]: + ) -> SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -575,7 +625,7 @@ def remote_field_classes_list( Returns ------- - HttpResponse[PaginatedRemoteFieldClassList] + SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] """ _response = self._client_wrapper.httpx_client.request( @@ -594,14 +644,27 @@ def remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -620,7 +683,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[InvoicesListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[InvoicesListRequestExpandItem, typing.Sequence[InvoicesListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -631,13 +696,13 @@ async def list( modified_before: typing.Optional[dt.datetime] = None, number: typing.Optional[str] = None, page_size: typing.Optional[int] = None, - remote_fields: typing.Optional[typing.Literal["type"]] = None, + remote_fields: typing.Optional[InvoicesListRequestRemoteFields] = None, remote_id: typing.Optional[str] = None, - show_enum_origins: typing.Optional[typing.Literal["type"]] = None, + show_enum_origins: typing.Optional[InvoicesListRequestShowEnumOrigins] = None, status: typing.Optional[InvoicesListRequestStatus] = None, type: typing.Optional[InvoicesListRequestType] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedInvoiceList]: + ) -> AsyncPager[Invoice, PaginatedInvoiceList]: """ Returns a list of `Invoice` objects. @@ -658,7 +723,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[InvoicesListRequestExpand] + expand : typing.Optional[typing.Union[InvoicesListRequestExpandItem, typing.Sequence[InvoicesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -691,13 +756,13 @@ async def list( page_size : typing.Optional[int] Number of results to return per page. - remote_fields : typing.Optional[typing.Literal["type"]] + remote_fields : typing.Optional[InvoicesListRequestRemoteFields] Deprecated. Use show_enum_origins. remote_id : typing.Optional[str] The API provider's ID for the given object. - show_enum_origins : typing.Optional[typing.Literal["type"]] + show_enum_origins : typing.Optional[InvoicesListRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) status : typing.Optional[InvoicesListRequestStatus] @@ -721,7 +786,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedInvoiceList] + AsyncPager[Invoice, PaginatedInvoiceList] """ _response = await self._client_wrapper.httpx_client.request( @@ -754,14 +819,44 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedInvoiceList, construct_type( type_=PaginatedInvoiceList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + company_id=company_id, + contact_id=contact_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + issue_date_after=issue_date_after, + issue_date_before=issue_date_before, + modified_after=modified_after, + modified_before=modified_before, + number=number, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + status=status, + type=type, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -833,12 +928,14 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[InvoicesRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[InvoicesRetrieveRequestExpandItem, typing.Sequence[InvoicesRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - remote_fields: typing.Optional[typing.Literal["type"]] = None, - show_enum_origins: typing.Optional[typing.Literal["type"]] = None, + remote_fields: typing.Optional[InvoicesRetrieveRequestRemoteFields] = None, + show_enum_origins: typing.Optional[InvoicesRetrieveRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[Invoice]: """ @@ -848,7 +945,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[InvoicesRetrieveRequestExpand] + expand : typing.Optional[typing.Union[InvoicesRetrieveRequestExpandItem, typing.Sequence[InvoicesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -860,10 +957,10 @@ async def retrieve( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - remote_fields : typing.Optional[typing.Literal["type"]] + remote_fields : typing.Optional[InvoicesRetrieveRequestRemoteFields] Deprecated. Use show_enum_origins. - show_enum_origins : typing.Optional[typing.Literal["type"]] + show_enum_origins : typing.Optional[InvoicesRetrieveRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -976,7 +1073,7 @@ async def line_items_remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedRemoteFieldClassList]: + ) -> AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -1008,7 +1105,7 @@ async def line_items_remote_field_classes_list( Returns ------- - AsyncHttpResponse[PaginatedRemoteFieldClassList] + AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] """ _response = await self._client_wrapper.httpx_client.request( @@ -1027,14 +1124,30 @@ async def line_items_remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.line_items_remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -1125,7 +1238,7 @@ async def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedRemoteFieldClassList]: + ) -> AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -1157,7 +1270,7 @@ async def remote_field_classes_list( Returns ------- - AsyncHttpResponse[PaginatedRemoteFieldClassList] + AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] """ _response = await self._client_wrapper.httpx_client.request( @@ -1176,14 +1289,30 @@ async def remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/accounting/resources/invoices/types/__init__.py b/src/merge/resources/accounting/resources/invoices/types/__init__.py index 4cfb6508..65e0809b 100644 --- a/src/merge/resources/accounting/resources/invoices/types/__init__.py +++ b/src/merge/resources/accounting/resources/invoices/types/__init__.py @@ -6,15 +6,23 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .invoices_list_request_expand import InvoicesListRequestExpand + from .invoices_list_request_expand_item import InvoicesListRequestExpandItem + from .invoices_list_request_remote_fields import InvoicesListRequestRemoteFields + from .invoices_list_request_show_enum_origins import InvoicesListRequestShowEnumOrigins from .invoices_list_request_status import InvoicesListRequestStatus from .invoices_list_request_type import InvoicesListRequestType - from .invoices_retrieve_request_expand import InvoicesRetrieveRequestExpand + from .invoices_retrieve_request_expand_item import InvoicesRetrieveRequestExpandItem + from .invoices_retrieve_request_remote_fields import InvoicesRetrieveRequestRemoteFields + from .invoices_retrieve_request_show_enum_origins import InvoicesRetrieveRequestShowEnumOrigins _dynamic_imports: typing.Dict[str, str] = { - "InvoicesListRequestExpand": ".invoices_list_request_expand", + "InvoicesListRequestExpandItem": ".invoices_list_request_expand_item", + "InvoicesListRequestRemoteFields": ".invoices_list_request_remote_fields", + "InvoicesListRequestShowEnumOrigins": ".invoices_list_request_show_enum_origins", "InvoicesListRequestStatus": ".invoices_list_request_status", "InvoicesListRequestType": ".invoices_list_request_type", - "InvoicesRetrieveRequestExpand": ".invoices_retrieve_request_expand", + "InvoicesRetrieveRequestExpandItem": ".invoices_retrieve_request_expand_item", + "InvoicesRetrieveRequestRemoteFields": ".invoices_retrieve_request_remote_fields", + "InvoicesRetrieveRequestShowEnumOrigins": ".invoices_retrieve_request_show_enum_origins", } @@ -24,8 +32,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -38,8 +48,12 @@ def __dir__(): __all__ = [ - "InvoicesListRequestExpand", + "InvoicesListRequestExpandItem", + "InvoicesListRequestRemoteFields", + "InvoicesListRequestShowEnumOrigins", "InvoicesListRequestStatus", "InvoicesListRequestType", - "InvoicesRetrieveRequestExpand", + "InvoicesRetrieveRequestExpandItem", + "InvoicesRetrieveRequestRemoteFields", + "InvoicesRetrieveRequestShowEnumOrigins", ] diff --git a/src/merge/resources/accounting/resources/invoices/types/invoices_list_request_expand.py b/src/merge/resources/accounting/resources/invoices/types/invoices_list_request_expand.py deleted file mode 100644 index 3183fdb2..00000000 --- a/src/merge/resources/accounting/resources/invoices/types/invoices_list_request_expand.py +++ /dev/null @@ -1,35091 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class InvoicesListRequestExpand(str, enum.Enum): - ACCOUNTING_PERIOD = "accounting_period" - ACCOUNTING_PERIOD_PAYMENT_TERM = "accounting_period,payment_term" - APPLIED_CREDIT_NOTES = "applied_credit_notes" - APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = "applied_credit_notes,accounting_period" - APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_credit_notes,accounting_period,payment_term" - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = "applied_credit_notes,applied_vendor_credits" - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "applied_credit_notes,applied_vendor_credits,accounting_period" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = "applied_credit_notes,applied_vendor_credits,company" - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "applied_credit_notes,applied_vendor_credits,company,employee" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = "applied_credit_notes,applied_vendor_credits,contact" - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "applied_credit_notes,applied_vendor_credits,contact,company" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "applied_credit_notes,applied_vendor_credits,contact,employee" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = "applied_credit_notes,applied_vendor_credits,employee" - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "applied_credit_notes,applied_vendor_credits,payment_term" - ) - APPLIED_CREDIT_NOTES_COMPANY = "applied_credit_notes,company" - APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = "applied_credit_notes,company,accounting_period" - APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_credit_notes,company,accounting_period,payment_term" - ) - APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = "applied_credit_notes,company,employee" - APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_credit_notes,company,employee,accounting_period" - APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_credit_notes,company,employee,accounting_period,payment_term" - ) - APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_credit_notes,company,employee,payment_term" - APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = "applied_credit_notes,company,payment_term" - APPLIED_CREDIT_NOTES_CONTACT = "applied_credit_notes,contact" - APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = "applied_credit_notes,contact,accounting_period" - APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_credit_notes,contact,accounting_period,payment_term" - ) - APPLIED_CREDIT_NOTES_CONTACT_COMPANY = "applied_credit_notes,contact,company" - APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = "applied_credit_notes,contact,company,accounting_period" - APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_credit_notes,contact,company,accounting_period,payment_term" - ) - APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = "applied_credit_notes,contact,company,employee" - APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_credit_notes,contact,company,employee,accounting_period" - ) - APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_credit_notes,contact,company,employee,accounting_period,payment_term" - ) - APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_credit_notes,contact,company,employee,payment_term" - ) - APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = "applied_credit_notes,contact,company,payment_term" - APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = "applied_credit_notes,contact,employee" - APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "applied_credit_notes,contact,employee,accounting_period" - APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = "applied_credit_notes,contact,employee,payment_term" - APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = "applied_credit_notes,contact,payment_term" - APPLIED_CREDIT_NOTES_EMPLOYEE = "applied_credit_notes,employee" - APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = "applied_credit_notes,employee,accounting_period" - APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_credit_notes,employee,accounting_period,payment_term" - ) - APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = "applied_credit_notes,employee,payment_term" - APPLIED_CREDIT_NOTES_PAYMENT_TERM = "applied_credit_notes,payment_term" - APPLIED_PAYMENTS = "applied_payments" - APPLIED_PAYMENTS_ACCOUNTING_PERIOD = "applied_payments,accounting_period" - APPLIED_PAYMENTS_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,accounting_period,payment_term" - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES = "applied_payments,applied_credit_notes" - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = "applied_payments,applied_credit_notes,accounting_period" - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "applied_payments,applied_credit_notes,applied_vendor_credits" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,company" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,company,employee" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,contact" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,employee" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY = "applied_payments,applied_credit_notes,company" - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,applied_credit_notes,company,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = "applied_payments,applied_credit_notes,company,employee" - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,applied_credit_notes,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,company,employee,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,company,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT = "applied_payments,applied_credit_notes,contact" - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,applied_credit_notes,contact,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = "applied_payments,applied_credit_notes,contact,company" - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,applied_credit_notes,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,applied_credit_notes,contact,company,employee" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,applied_credit_notes,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,contact,company,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = "applied_payments,applied_credit_notes,contact,employee" - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,applied_credit_notes,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,contact,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE = "applied_payments,applied_credit_notes,employee" - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,applied_credit_notes,employee,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,employee,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = "applied_payments,applied_credit_notes,payment_term" - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS = "applied_payments,applied_vendor_credits" - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "applied_payments,applied_vendor_credits,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_vendor_credits,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY = "applied_payments,applied_vendor_credits,company" - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,applied_vendor_credits,company,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_vendor_credits,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "applied_payments,applied_vendor_credits,company,employee" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,applied_vendor_credits,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,applied_vendor_credits,company,employee,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "applied_payments,applied_vendor_credits,company,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT = "applied_payments,applied_vendor_credits,contact" - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,applied_vendor_credits,contact,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_vendor_credits,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = "applied_payments,applied_vendor_credits,contact,company" - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,applied_vendor_credits,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,applied_vendor_credits,contact,company,employee" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,applied_vendor_credits,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,applied_vendor_credits,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,applied_vendor_credits,contact,company,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "applied_payments,applied_vendor_credits,contact,employee" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,applied_vendor_credits,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,applied_vendor_credits,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "applied_payments,applied_vendor_credits,contact,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE = "applied_payments,applied_vendor_credits,employee" - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,applied_vendor_credits,employee,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_vendor_credits,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,applied_vendor_credits,employee,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = "applied_payments,applied_vendor_credits,payment_term" - APPLIED_PAYMENTS_COMPANY = "applied_payments,company" - APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD = "applied_payments,company,accounting_period" - APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,company,accounting_period,payment_term" - APPLIED_PAYMENTS_COMPANY_EMPLOYEE = "applied_payments,company,employee" - APPLIED_PAYMENTS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,company,employee,accounting_period" - APPLIED_PAYMENTS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_payments,company,employee,payment_term" - APPLIED_PAYMENTS_COMPANY_PAYMENT_TERM = "applied_payments,company,payment_term" - APPLIED_PAYMENTS_CONTACT = "applied_payments,contact" - APPLIED_PAYMENTS_CONTACT_ACCOUNTING_PERIOD = "applied_payments,contact,accounting_period" - APPLIED_PAYMENTS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,contact,accounting_period,payment_term" - APPLIED_PAYMENTS_CONTACT_COMPANY = "applied_payments,contact,company" - APPLIED_PAYMENTS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "applied_payments,contact,company,accounting_period" - APPLIED_PAYMENTS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,contact,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_CONTACT_COMPANY_EMPLOYEE = "applied_payments,contact,company,employee" - APPLIED_PAYMENTS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,contact,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_payments,contact,company,employee,payment_term" - APPLIED_PAYMENTS_CONTACT_COMPANY_PAYMENT_TERM = "applied_payments,contact,company,payment_term" - APPLIED_PAYMENTS_CONTACT_EMPLOYEE = "applied_payments,contact,employee" - APPLIED_PAYMENTS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,contact,employee,accounting_period" - APPLIED_PAYMENTS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,contact,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_CONTACT_EMPLOYEE_PAYMENT_TERM = "applied_payments,contact,employee,payment_term" - APPLIED_PAYMENTS_CONTACT_PAYMENT_TERM = "applied_payments,contact,payment_term" - APPLIED_PAYMENTS_EMPLOYEE = "applied_payments,employee" - APPLIED_PAYMENTS_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,employee,accounting_period" - APPLIED_PAYMENTS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_EMPLOYEE_PAYMENT_TERM = "applied_payments,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS = "applied_payments,line_items" - APPLIED_PAYMENTS_LINE_ITEMS_ACCOUNTING_PERIOD = "applied_payments,line_items,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES = "applied_payments,line_items,applied_credit_notes" - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_credit_notes,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY = ( - "applied_payments,line_items,applied_credit_notes,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_credit_notes,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,applied_credit_notes,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_credit_notes,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT = ( - "applied_payments,line_items,applied_credit_notes,contact" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_credit_notes,contact,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "applied_payments,line_items,applied_credit_notes,contact,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_credit_notes,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,applied_credit_notes,contact,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_credit_notes,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,contact,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "applied_payments,line_items,applied_credit_notes,contact,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_credit_notes,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,contact,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "applied_payments,line_items,applied_credit_notes,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_credit_notes,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS = "applied_payments,line_items,applied_vendor_credits" - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_vendor_credits,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_vendor_credits,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY = ( - "applied_payments,line_items,applied_vendor_credits,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_vendor_credits,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_vendor_credits,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,applied_vendor_credits,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_vendor_credits,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,applied_vendor_credits,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,applied_vendor_credits,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT = ( - "applied_payments,line_items,applied_vendor_credits,contact" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_vendor_credits,contact,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_vendor_credits,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "applied_payments,line_items,applied_vendor_credits,contact,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_vendor_credits,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,applied_vendor_credits,contact,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,applied_vendor_credits,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,applied_vendor_credits,contact,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "applied_payments,line_items,applied_vendor_credits,contact,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_vendor_credits,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,applied_vendor_credits,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "applied_payments,line_items,applied_vendor_credits,contact,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "applied_payments,line_items,applied_vendor_credits,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_vendor_credits,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_vendor_credits,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,applied_vendor_credits,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "applied_payments,line_items,applied_vendor_credits,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_COMPANY = "applied_payments,line_items,company" - APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD = "applied_payments,line_items,company,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE = "applied_payments,line_items,company,employee" - APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_PAYMENT_TERM = "applied_payments,line_items,company,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT = "applied_payments,line_items,contact" - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD = "applied_payments,line_items,contact,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY = "applied_payments,line_items,contact,company" - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,contact,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE = "applied_payments,line_items,contact,company,employee" - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,contact,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,contact,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE = "applied_payments,line_items,contact,employee" - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,contact,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_PAYMENT_TERM = "applied_payments,line_items,contact,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_EMPLOYEE = "applied_payments,line_items,employee" - APPLIED_PAYMENTS_LINE_ITEMS_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_EMPLOYEE_PAYMENT_TERM = "applied_payments,line_items,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PAYMENT_TERM = "applied_payments,line_items,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS = "applied_payments,line_items,purchase_orders" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY = "applied_payments,line_items,purchase_orders,company" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,purchase_orders,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT = "applied_payments,line_items,purchase_orders,contact" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,contact,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY = ( - "applied_payments,line_items,purchase_orders,contact,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,contact,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,purchase_orders,contact,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,contact,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,contact,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE = ( - "applied_payments,line_items,purchase_orders,contact,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,contact,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,contact,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE = "applied_payments,line_items,purchase_orders,employee" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES = "applied_payments,line_items,tracking_categories" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY = "applied_payments,line_items,tracking_categories,company" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT = "applied_payments,line_items,tracking_categories,contact" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,contact,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY = ( - "applied_payments,line_items,tracking_categories,contact,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,contact,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,contact,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,contact,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,contact,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,contact,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,contact,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,contact,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS = ( - "applied_payments,line_items,tracking_categories,purchase_orders" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,purchase_orders,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY = ( - "applied_payments,line_items,tracking_categories,purchase_orders,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,purchase_orders,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,purchase_orders,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT = ( - "applied_payments,line_items,tracking_categories,purchase_orders,contact" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,purchase_orders,contact,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY = ( - "applied_payments,line_items,tracking_categories,purchase_orders,contact,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,purchase_orders,contact,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,contact,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,purchase_orders,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,purchase_orders,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,payment_term" - ) - APPLIED_PAYMENTS_PAYMENT_TERM = "applied_payments,payment_term" - APPLIED_PAYMENTS_PURCHASE_ORDERS = "applied_payments,purchase_orders" - APPLIED_PAYMENTS_PURCHASE_ORDERS_ACCOUNTING_PERIOD = "applied_payments,purchase_orders,accounting_period" - APPLIED_PAYMENTS_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES = "applied_payments,purchase_orders,applied_credit_notes" - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_credit_notes,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY = ( - "applied_payments,purchase_orders,applied_credit_notes,company" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_credit_notes,company,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "applied_payments,purchase_orders,applied_credit_notes,company,employee" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_credit_notes,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,company,employee,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,company,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT = ( - "applied_payments,purchase_orders,applied_credit_notes,contact" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_credit_notes,contact,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "applied_payments,purchase_orders,applied_credit_notes,contact,company" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_credit_notes,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,purchase_orders,applied_credit_notes,contact,company,employee" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,contact,company,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "applied_payments,purchase_orders,applied_credit_notes,contact,employee" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,contact,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "applied_payments,purchase_orders,applied_credit_notes,employee" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_credit_notes,employee,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,employee,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS = "applied_payments,purchase_orders,applied_vendor_credits" - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_vendor_credits,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY = ( - "applied_payments,purchase_orders,applied_vendor_credits,company" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_vendor_credits,company,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "applied_payments,purchase_orders,applied_vendor_credits,company,employee" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_vendor_credits,company,employee,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_vendor_credits,company,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT = ( - "applied_payments,purchase_orders,applied_vendor_credits,contact" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_vendor_credits,contact,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "applied_payments,purchase_orders,applied_vendor_credits,contact,company" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_vendor_credits,contact,company,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "applied_payments,purchase_orders,applied_vendor_credits,contact,employee" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_vendor_credits,contact,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "applied_payments,purchase_orders,applied_vendor_credits,employee" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_vendor_credits,employee,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_vendor_credits,employee,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_vendor_credits,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY = "applied_payments,purchase_orders,company" - APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,company,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE = "applied_payments,purchase_orders,company,employee" - APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,purchase_orders,company,employee,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM = "applied_payments,purchase_orders,company,payment_term" - APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT = "applied_payments,purchase_orders,contact" - APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,contact,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY = "applied_payments,purchase_orders,contact,company" - APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,contact,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,purchase_orders,contact,company,employee" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,contact,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,purchase_orders,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,purchase_orders,contact,company,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE = "applied_payments,purchase_orders,contact,employee" - APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,contact,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,purchase_orders,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM = "applied_payments,purchase_orders,contact,payment_term" - APPLIED_PAYMENTS_PURCHASE_ORDERS_EMPLOYEE = "applied_payments,purchase_orders,employee" - APPLIED_PAYMENTS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,employee,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM = "applied_payments,purchase_orders,employee,payment_term" - APPLIED_PAYMENTS_PURCHASE_ORDERS_PAYMENT_TERM = "applied_payments,purchase_orders,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES = "applied_payments,tracking_categories" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "applied_payments,tracking_categories,accounting_period" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES = ( - "applied_payments,tracking_categories,applied_credit_notes" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_credit_notes,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY = ( - "applied_payments,tracking_categories,applied_credit_notes,company" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_credit_notes,company,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "applied_payments,tracking_categories,applied_credit_notes,company,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_credit_notes,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,company,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,company,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT = ( - "applied_payments,tracking_categories,applied_credit_notes,contact" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_credit_notes,contact,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "applied_payments,tracking_categories,applied_credit_notes,contact,company" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_credit_notes,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,tracking_categories,applied_credit_notes,contact,company,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,contact,company,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "applied_payments,tracking_categories,applied_credit_notes,contact,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,contact,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "applied_payments,tracking_categories,applied_credit_notes,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_credit_notes,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS = ( - "applied_payments,tracking_categories,applied_vendor_credits" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_vendor_credits,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_vendor_credits,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "applied_payments,tracking_categories,applied_vendor_credits,company" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_vendor_credits,company,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "applied_payments,tracking_categories,applied_vendor_credits,company,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_vendor_credits,company,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_vendor_credits,company,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "applied_payments,tracking_categories,applied_vendor_credits,contact" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_vendor_credits,contact,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "applied_payments,tracking_categories,applied_vendor_credits,contact,company" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_vendor_credits,contact,company,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "applied_payments,tracking_categories,applied_vendor_credits,contact,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_vendor_credits,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_vendor_credits,contact,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "applied_payments,tracking_categories,applied_vendor_credits,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_vendor_credits,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_vendor_credits,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_vendor_credits,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY = "applied_payments,tracking_categories,company" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,company,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE = "applied_payments,tracking_categories,company,employee" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,company,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM = ( - "applied_payments,tracking_categories,company,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT = "applied_payments,tracking_categories,contact" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,contact,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY = "applied_payments,tracking_categories,contact,company" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,contact,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,tracking_categories,contact,company,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,contact,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,tracking_categories,contact,company,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE = "applied_payments,tracking_categories,contact,employee" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,contact,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_PAYMENT_TERM = ( - "applied_payments,tracking_categories,contact,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE = "applied_payments,tracking_categories,employee" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PAYMENT_TERM = "applied_payments,tracking_categories,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS = "applied_payments,tracking_categories,purchase_orders" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY = ( - "applied_payments,tracking_categories,purchase_orders,company" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,company,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE = ( - "applied_payments,tracking_categories,purchase_orders,company,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,company,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,company,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT = ( - "applied_payments,tracking_categories,purchase_orders,contact" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,contact,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY = ( - "applied_payments,tracking_categories,purchase_orders,contact,company" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,tracking_categories,purchase_orders,contact,company,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,contact,company,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE = ( - "applied_payments,tracking_categories,purchase_orders,contact,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,contact,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE = ( - "applied_payments,tracking_categories,purchase_orders,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,payment_term" - ) - APPLIED_VENDOR_CREDITS = "applied_vendor_credits" - APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = "applied_vendor_credits,accounting_period" - APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_vendor_credits,accounting_period,payment_term" - APPLIED_VENDOR_CREDITS_COMPANY = "applied_vendor_credits,company" - APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = "applied_vendor_credits,company,accounting_period" - APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_vendor_credits,company,accounting_period,payment_term" - ) - APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = "applied_vendor_credits,company,employee" - APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_vendor_credits,company,employee,accounting_period" - ) - APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_vendor_credits,company,employee,payment_term" - APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = "applied_vendor_credits,company,payment_term" - APPLIED_VENDOR_CREDITS_CONTACT = "applied_vendor_credits,contact" - APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = "applied_vendor_credits,contact,accounting_period" - APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_vendor_credits,contact,accounting_period,payment_term" - ) - APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = "applied_vendor_credits,contact,company" - APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_vendor_credits,contact,company,accounting_period" - ) - APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = "applied_vendor_credits,contact,company,employee" - APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_vendor_credits,contact,company,employee,accounting_period" - ) - APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - ) - APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_vendor_credits,contact,company,employee,payment_term" - ) - APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = "applied_vendor_credits,contact,company,payment_term" - APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = "applied_vendor_credits,contact,employee" - APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_vendor_credits,contact,employee,accounting_period" - ) - APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = "applied_vendor_credits,contact,employee,payment_term" - APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = "applied_vendor_credits,contact,payment_term" - APPLIED_VENDOR_CREDITS_EMPLOYEE = "applied_vendor_credits,employee" - APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = "applied_vendor_credits,employee,accounting_period" - APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_vendor_credits,employee,accounting_period,payment_term" - ) - APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = "applied_vendor_credits,employee,payment_term" - APPLIED_VENDOR_CREDITS_PAYMENT_TERM = "applied_vendor_credits,payment_term" - COMPANY = "company" - COMPANY_ACCOUNTING_PERIOD = "company,accounting_period" - COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "company,accounting_period,payment_term" - COMPANY_EMPLOYEE = "company,employee" - COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "company,employee,accounting_period" - COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "company,employee,accounting_period,payment_term" - COMPANY_EMPLOYEE_PAYMENT_TERM = "company,employee,payment_term" - COMPANY_PAYMENT_TERM = "company,payment_term" - CONTACT = "contact" - CONTACT_ACCOUNTING_PERIOD = "contact,accounting_period" - CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "contact,accounting_period,payment_term" - CONTACT_COMPANY = "contact,company" - CONTACT_COMPANY_ACCOUNTING_PERIOD = "contact,company,accounting_period" - CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "contact,company,accounting_period,payment_term" - CONTACT_COMPANY_EMPLOYEE = "contact,company,employee" - CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "contact,company,employee,accounting_period" - CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "contact,company,employee,accounting_period,payment_term" - CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "contact,company,employee,payment_term" - CONTACT_COMPANY_PAYMENT_TERM = "contact,company,payment_term" - CONTACT_EMPLOYEE = "contact,employee" - CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "contact,employee,accounting_period" - CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "contact,employee,accounting_period,payment_term" - CONTACT_EMPLOYEE_PAYMENT_TERM = "contact,employee,payment_term" - CONTACT_PAYMENT_TERM = "contact,payment_term" - EMPLOYEE = "employee" - EMPLOYEE_ACCOUNTING_PERIOD = "employee,accounting_period" - EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "employee,accounting_period,payment_term" - EMPLOYEE_PAYMENT_TERM = "employee,payment_term" - LINE_ITEMS = "line_items" - LINE_ITEMS_ACCOUNTING_PERIOD = "line_items,accounting_period" - LINE_ITEMS_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,accounting_period,payment_term" - LINE_ITEMS_APPLIED_CREDIT_NOTES = "line_items,applied_credit_notes" - LINE_ITEMS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = "line_items,applied_credit_notes,accounting_period" - LINE_ITEMS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_credit_notes,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = "line_items,applied_credit_notes,applied_vendor_credits" - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "line_items,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "line_items,applied_credit_notes,applied_vendor_credits,company" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "line_items,applied_credit_notes,applied_vendor_credits,company,employee" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "line_items,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "line_items,applied_credit_notes,applied_vendor_credits,contact" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "line_items,applied_credit_notes,applied_vendor_credits,contact,company" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "line_items,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "line_items,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "line_items,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "line_items,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "line_items,applied_credit_notes,applied_vendor_credits,employee" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "line_items,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "line_items,applied_credit_notes,applied_vendor_credits,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY = "line_items,applied_credit_notes,company" - LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,applied_credit_notes,company,accounting_period" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_credit_notes,company,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = "line_items,applied_credit_notes,company,employee" - LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,applied_credit_notes,company,employee,accounting_period" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,applied_credit_notes,company,employee,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = "line_items,applied_credit_notes,company,payment_term" - LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT = "line_items,applied_credit_notes,contact" - LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "line_items,applied_credit_notes,contact,accounting_period" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_credit_notes,contact,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = "line_items,applied_credit_notes,contact,company" - LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,applied_credit_notes,contact,company,accounting_period" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "line_items,applied_credit_notes,contact,company,employee" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,applied_credit_notes,contact,company,employee,accounting_period" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,applied_credit_notes,contact,company,employee,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "line_items,applied_credit_notes,contact,company,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = "line_items,applied_credit_notes,contact,employee" - LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,applied_credit_notes,contact,employee,accounting_period" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "line_items,applied_credit_notes,contact,employee,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = "line_items,applied_credit_notes,contact,payment_term" - LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE = "line_items,applied_credit_notes,employee" - LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,applied_credit_notes,employee,accounting_period" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_credit_notes,employee,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = "line_items,applied_credit_notes,employee,payment_term" - LINE_ITEMS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = "line_items,applied_credit_notes,payment_term" - LINE_ITEMS_APPLIED_VENDOR_CREDITS = "line_items,applied_vendor_credits" - LINE_ITEMS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = "line_items,applied_vendor_credits,accounting_period" - LINE_ITEMS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_vendor_credits,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY = "line_items,applied_vendor_credits,company" - LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,applied_vendor_credits,company,accounting_period" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_vendor_credits,company,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = "line_items,applied_vendor_credits,company,employee" - LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,applied_vendor_credits,company,employee,accounting_period" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,applied_vendor_credits,company,employee,payment_term" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = "line_items,applied_vendor_credits,company,payment_term" - LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT = "line_items,applied_vendor_credits,contact" - LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "line_items,applied_vendor_credits,contact,accounting_period" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_vendor_credits,contact,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = "line_items,applied_vendor_credits,contact,company" - LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,applied_vendor_credits,contact,company,accounting_period" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "line_items,applied_vendor_credits,contact,company,employee" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,applied_vendor_credits,contact,company,employee,accounting_period" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,applied_vendor_credits,contact,company,employee,payment_term" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "line_items,applied_vendor_credits,contact,company,payment_term" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = "line_items,applied_vendor_credits,contact,employee" - LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,applied_vendor_credits,contact,employee,accounting_period" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "line_items,applied_vendor_credits,contact,employee,payment_term" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = "line_items,applied_vendor_credits,contact,payment_term" - LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE = "line_items,applied_vendor_credits,employee" - LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,applied_vendor_credits,employee,accounting_period" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_vendor_credits,employee,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = "line_items,applied_vendor_credits,employee,payment_term" - LINE_ITEMS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = "line_items,applied_vendor_credits,payment_term" - LINE_ITEMS_COMPANY = "line_items,company" - LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD = "line_items,company,accounting_period" - LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,company,accounting_period,payment_term" - LINE_ITEMS_COMPANY_EMPLOYEE = "line_items,company,employee" - LINE_ITEMS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "line_items,company,employee,accounting_period" - LINE_ITEMS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_COMPANY_EMPLOYEE_PAYMENT_TERM = "line_items,company,employee,payment_term" - LINE_ITEMS_COMPANY_PAYMENT_TERM = "line_items,company,payment_term" - LINE_ITEMS_CONTACT = "line_items,contact" - LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD = "line_items,contact,accounting_period" - LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,contact,accounting_period,payment_term" - LINE_ITEMS_CONTACT_COMPANY = "line_items,contact,company" - LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "line_items,contact,company,accounting_period" - LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,contact,company,accounting_period,payment_term" - ) - LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE = "line_items,contact,company,employee" - LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "line_items,contact,company,employee,accounting_period" - LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,contact,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "line_items,contact,company,employee,payment_term" - LINE_ITEMS_CONTACT_COMPANY_PAYMENT_TERM = "line_items,contact,company,payment_term" - LINE_ITEMS_CONTACT_EMPLOYEE = "line_items,contact,employee" - LINE_ITEMS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "line_items,contact,employee,accounting_period" - LINE_ITEMS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,contact,employee,accounting_period,payment_term" - ) - LINE_ITEMS_CONTACT_EMPLOYEE_PAYMENT_TERM = "line_items,contact,employee,payment_term" - LINE_ITEMS_CONTACT_PAYMENT_TERM = "line_items,contact,payment_term" - LINE_ITEMS_EMPLOYEE = "line_items,employee" - LINE_ITEMS_EMPLOYEE_ACCOUNTING_PERIOD = "line_items,employee,accounting_period" - LINE_ITEMS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,employee,accounting_period,payment_term" - LINE_ITEMS_EMPLOYEE_PAYMENT_TERM = "line_items,employee,payment_term" - LINE_ITEMS_PAYMENT_TERM = "line_items,payment_term" - LINE_ITEMS_PURCHASE_ORDERS = "line_items,purchase_orders" - LINE_ITEMS_PURCHASE_ORDERS_ACCOUNTING_PERIOD = "line_items,purchase_orders,accounting_period" - LINE_ITEMS_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES = "line_items,purchase_orders,applied_credit_notes" - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_credit_notes,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY = "line_items,purchase_orders,applied_credit_notes,company" - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_credit_notes,company,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "line_items,purchase_orders,applied_credit_notes,company,employee" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,company,employee,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,company,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT = "line_items,purchase_orders,applied_credit_notes,contact" - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_credit_notes,contact,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "line_items,purchase_orders,applied_credit_notes,contact,company" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "line_items,purchase_orders,applied_credit_notes,contact,company,employee" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,contact,company,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "line_items,purchase_orders,applied_credit_notes,contact,employee" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,contact,employee,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,contact,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "line_items,purchase_orders,applied_credit_notes,employee" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_credit_notes,employee,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,employee,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS = "line_items,purchase_orders,applied_vendor_credits" - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_vendor_credits,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY = ( - "line_items,purchase_orders,applied_vendor_credits,company" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_vendor_credits,company,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "line_items,purchase_orders,applied_vendor_credits,company,employee" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_vendor_credits,company,employee,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_vendor_credits,company,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT = ( - "line_items,purchase_orders,applied_vendor_credits,contact" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_vendor_credits,contact,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "line_items,purchase_orders,applied_vendor_credits,contact,company" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "line_items,purchase_orders,applied_vendor_credits,contact,company,employee" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_vendor_credits,contact,company,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "line_items,purchase_orders,applied_vendor_credits,contact,employee" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_vendor_credits,contact,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "line_items,purchase_orders,applied_vendor_credits,employee" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_vendor_credits,employee,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_vendor_credits,employee,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_vendor_credits,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_COMPANY = "line_items,purchase_orders,company" - LINE_ITEMS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD = "line_items,purchase_orders,company,accounting_period" - LINE_ITEMS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,company,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE = "line_items,purchase_orders,company,employee" - LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,company,employee,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,purchase_orders,company,employee,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM = "line_items,purchase_orders,company,payment_term" - LINE_ITEMS_PURCHASE_ORDERS_CONTACT = "line_items,purchase_orders,contact" - LINE_ITEMS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD = "line_items,purchase_orders,contact,accounting_period" - LINE_ITEMS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,contact,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY = "line_items,purchase_orders,contact,company" - LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,contact,company,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,contact,company,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE = "line_items,purchase_orders,contact,company,employee" - LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,contact,company,employee,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,contact,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,purchase_orders,contact,company,employee,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM = "line_items,purchase_orders,contact,company,payment_term" - LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE = "line_items,purchase_orders,contact,employee" - LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,contact,employee,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,contact,employee,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "line_items,purchase_orders,contact,employee,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM = "line_items,purchase_orders,contact,payment_term" - LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE = "line_items,purchase_orders,employee" - LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD = "line_items,purchase_orders,employee,accounting_period" - LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,employee,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM = "line_items,purchase_orders,employee,payment_term" - LINE_ITEMS_PURCHASE_ORDERS_PAYMENT_TERM = "line_items,purchase_orders,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES = "line_items,tracking_categories" - LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "line_items,tracking_categories,accounting_period" - LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES = "line_items,tracking_categories,applied_credit_notes" - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_credit_notes,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY = ( - "line_items,tracking_categories,applied_credit_notes,company" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_credit_notes,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,company,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "line_items,tracking_categories,applied_credit_notes,company,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,company,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,company,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT = ( - "line_items,tracking_categories,applied_credit_notes,contact" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_credit_notes,contact,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "line_items,tracking_categories,applied_credit_notes,contact,company" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "line_items,tracking_categories,applied_credit_notes,contact,company,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,contact,company,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,contact,company,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "line_items,tracking_categories,applied_credit_notes,contact,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,contact,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,contact,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "line_items,tracking_categories,applied_credit_notes,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_credit_notes,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS = "line_items,tracking_categories,applied_vendor_credits" - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_vendor_credits,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_vendor_credits,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "line_items,tracking_categories,applied_vendor_credits,company" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_vendor_credits,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "line_items,tracking_categories,applied_vendor_credits,company,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_vendor_credits,company,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_vendor_credits,company,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "line_items,tracking_categories,applied_vendor_credits,contact" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_vendor_credits,contact,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "line_items,tracking_categories,applied_vendor_credits,contact,company" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "line_items,tracking_categories,applied_vendor_credits,contact,company,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_vendor_credits,contact,company,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "line_items,tracking_categories,applied_vendor_credits,contact,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_vendor_credits,contact,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_vendor_credits,contact,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "line_items,tracking_categories,applied_vendor_credits,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_vendor_credits,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_vendor_credits,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_vendor_credits,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_COMPANY = "line_items,tracking_categories,company" - LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,company,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE = "line_items,tracking_categories,company,employee" - LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,company,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,company,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM = "line_items,tracking_categories,company,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT = "line_items,tracking_categories,contact" - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,contact,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,contact,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY = "line_items,tracking_categories,contact,company" - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,contact,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,contact,company,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE = "line_items,tracking_categories,contact,company,employee" - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,contact,company,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,contact,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,contact,company,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_PAYMENT_TERM = ( - "line_items,tracking_categories,contact,company,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE = "line_items,tracking_categories,contact,employee" - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,contact,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,contact,employee,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,contact,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_PAYMENT_TERM = "line_items,tracking_categories,contact,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE = "line_items,tracking_categories,employee" - LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,employee,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_PAYMENT_TERM = "line_items,tracking_categories,employee,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PAYMENT_TERM = "line_items,tracking_categories,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS = "line_items,tracking_categories,purchase_orders" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,company" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY = "line_items,tracking_categories,purchase_orders,company" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,company,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE = ( - "line_items,tracking_categories,purchase_orders,company,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,company,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,company,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,company,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT = "line_items,tracking_categories,purchase_orders,contact" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,contact,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,contact,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY = ( - "line_items,tracking_categories,purchase_orders,contact,company" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,contact,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE = ( - "line_items,tracking_categories,purchase_orders,contact,company,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,contact,company,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,contact,company,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE = ( - "line_items,tracking_categories,purchase_orders,contact,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,contact,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,contact,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,contact,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE = "line_items,tracking_categories,purchase_orders,employee" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,employee,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,payment_term" - ) - PAYMENT_TERM = "payment_term" - PAYMENTS = "payments" - PAYMENTS_ACCOUNTING_PERIOD = "payments,accounting_period" - PAYMENTS_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,accounting_period,payment_term" - PAYMENTS_APPLIED_CREDIT_NOTES = "payments,applied_credit_notes" - PAYMENTS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = "payments,applied_credit_notes,accounting_period" - PAYMENTS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_credit_notes,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = "payments,applied_credit_notes,applied_vendor_credits" - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,applied_credit_notes,applied_vendor_credits,company" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,applied_credit_notes,applied_vendor_credits,company,employee" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,applied_credit_notes,applied_vendor_credits,contact" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,applied_credit_notes,applied_vendor_credits,contact,company" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,applied_credit_notes,applied_vendor_credits,employee" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,applied_credit_notes,applied_vendor_credits,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY = "payments,applied_credit_notes,company" - PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = "payments,applied_credit_notes,company,accounting_period" - PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_credit_notes,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = "payments,applied_credit_notes,company,employee" - PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_credit_notes,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_credit_notes,company,employee,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = "payments,applied_credit_notes,company,payment_term" - PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT = "payments,applied_credit_notes,contact" - PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = "payments,applied_credit_notes,contact,accounting_period" - PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_credit_notes,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = "payments,applied_credit_notes,contact,company" - PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_credit_notes,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = "payments,applied_credit_notes,contact,company,employee" - PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_credit_notes,contact,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_credit_notes,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_credit_notes,contact,company,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = "payments,applied_credit_notes,contact,employee" - PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_credit_notes,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_credit_notes,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = "payments,applied_credit_notes,contact,payment_term" - PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE = "payments,applied_credit_notes,employee" - PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_credit_notes,employee,accounting_period" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_credit_notes,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = "payments,applied_credit_notes,employee,payment_term" - PAYMENTS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = "payments,applied_credit_notes,payment_term" - PAYMENTS_APPLIED_PAYMENTS = "payments,applied_payments" - PAYMENTS_APPLIED_PAYMENTS_ACCOUNTING_PERIOD = "payments,applied_payments,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES = "payments,applied_payments,applied_credit_notes" - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_credit_notes,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY = "payments,applied_payments,applied_credit_notes,company" - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_credit_notes,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "payments,applied_payments,applied_credit_notes,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_credit_notes,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT = "payments,applied_payments,applied_credit_notes,contact" - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_credit_notes,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "payments,applied_payments,applied_credit_notes,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_credit_notes,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,applied_credit_notes,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_credit_notes,contact,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "payments,applied_payments,applied_credit_notes,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_credit_notes,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE = "payments,applied_payments,applied_credit_notes,employee" - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_credit_notes,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS = "payments,applied_payments,applied_vendor_credits" - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_vendor_credits,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,applied_payments,applied_vendor_credits,company" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_vendor_credits,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,applied_payments,applied_vendor_credits,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_vendor_credits,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,applied_payments,applied_vendor_credits,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_vendor_credits,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,applied_payments,applied_vendor_credits,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_vendor_credits,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_vendor_credits,contact,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,applied_vendor_credits,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,applied_payments,applied_vendor_credits,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_vendor_credits,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,applied_payments,applied_vendor_credits,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_vendor_credits,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,applied_payments,applied_vendor_credits,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_COMPANY = "payments,applied_payments,company" - PAYMENTS_APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_COMPANY_EMPLOYEE = "payments,applied_payments,company,employee" - PAYMENTS_APPLIED_PAYMENTS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_COMPANY_PAYMENT_TERM = "payments,applied_payments,company,payment_term" - PAYMENTS_APPLIED_PAYMENTS_CONTACT = "payments,applied_payments,contact" - PAYMENTS_APPLIED_PAYMENTS_CONTACT_ACCOUNTING_PERIOD = "payments,applied_payments,contact,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY = "payments,applied_payments,contact,company" - PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,contact,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY_EMPLOYEE = "payments,applied_payments,contact,company,employee" - PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,contact,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY_PAYMENT_TERM = "payments,applied_payments,contact,company,payment_term" - PAYMENTS_APPLIED_PAYMENTS_CONTACT_EMPLOYEE = "payments,applied_payments,contact,employee" - PAYMENTS_APPLIED_PAYMENTS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_CONTACT_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,contact,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_CONTACT_PAYMENT_TERM = "payments,applied_payments,contact,payment_term" - PAYMENTS_APPLIED_PAYMENTS_EMPLOYEE = "payments,applied_payments,employee" - PAYMENTS_APPLIED_PAYMENTS_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS = "payments,applied_payments,line_items" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES = ( - "payments,applied_payments,line_items,applied_credit_notes" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_credit_notes,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY = ( - "payments,applied_payments,line_items,applied_credit_notes,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_credit_notes,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,applied_credit_notes,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_credit_notes,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT = ( - "payments,applied_payments,line_items,applied_credit_notes,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_credit_notes,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "payments,applied_payments,line_items,applied_credit_notes,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_credit_notes,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,applied_credit_notes,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_credit_notes,contact,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "payments,applied_payments,line_items,applied_credit_notes,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_credit_notes,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "payments,applied_payments,line_items,applied_credit_notes,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_credit_notes,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS = ( - "payments,applied_payments,line_items,applied_vendor_credits" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_vendor_credits,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,applied_payments,line_items,applied_vendor_credits,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_vendor_credits,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,applied_vendor_credits,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_vendor_credits,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,applied_payments,line_items,applied_vendor_credits,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_vendor_credits,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,applied_payments,line_items,applied_vendor_credits,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_vendor_credits,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_vendor_credits,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,applied_payments,line_items,applied_vendor_credits,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_vendor_credits,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,applied_payments,line_items,applied_vendor_credits,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_vendor_credits,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_vendor_credits,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY = "payments,applied_payments,line_items,company" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE = "payments,applied_payments,line_items,company,employee" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT = "payments,applied_payments,line_items,contact" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY = "payments,applied_payments,line_items,contact,company" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,contact,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,contact,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE = "payments,applied_payments,line_items,contact,employee" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,line_items,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_EMPLOYEE = "payments,applied_payments,line_items,employee" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PAYMENT_TERM = "payments,applied_payments,line_items,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS = "payments,applied_payments,line_items,purchase_orders" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY = ( - "payments,applied_payments,line_items,purchase_orders,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,purchase_orders,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT = ( - "payments,applied_payments,line_items,purchase_orders,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY = ( - "payments,applied_payments,line_items,purchase_orders,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,contact,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,purchase_orders,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,contact,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE = ( - "payments,applied_payments,line_items,purchase_orders,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE = ( - "payments,applied_payments,line_items,purchase_orders,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES = ( - "payments,applied_payments,line_items,tracking_categories" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY = ( - "payments,applied_payments,line_items,tracking_categories,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT = ( - "payments,applied_payments,line_items,tracking_categories,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY = ( - "payments,applied_payments,line_items,tracking_categories,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,contact,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,contact,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PAYMENT_TERM = "payments,applied_payments,payment_term" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS = "payments,applied_payments,purchase_orders" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES = ( - "payments,applied_payments,purchase_orders,applied_credit_notes" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,company" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,company" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY = "payments,applied_payments,purchase_orders,company" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE = ( - "payments,applied_payments,purchase_orders,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT = "payments,applied_payments,purchase_orders,contact" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY = ( - "payments,applied_payments,purchase_orders,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,contact,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,purchase_orders,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,contact,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE = ( - "payments,applied_payments,purchase_orders,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_EMPLOYEE = "payments,applied_payments,purchase_orders,employee" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_PAYMENT_TERM = "payments,applied_payments,purchase_orders,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES = "payments,applied_payments,tracking_categories" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES = ( - "payments,applied_payments,tracking_categories,applied_credit_notes" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,company" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,company" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY = "payments,applied_payments,tracking_categories,company" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT = "payments,applied_payments,tracking_categories,contact" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY = ( - "payments,applied_payments,tracking_categories,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,contact,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,contact,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE = "payments,applied_payments,tracking_categories,employee" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS = ( - "payments,applied_payments,tracking_categories,purchase_orders" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,purchase_orders,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY = ( - "payments,applied_payments,tracking_categories,purchase_orders,company" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,purchase_orders,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,purchase_orders,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,purchase_orders,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT = ( - "payments,applied_payments,tracking_categories,purchase_orders,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,purchase_orders,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY = ( - "payments,applied_payments,tracking_categories,purchase_orders,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,purchase_orders,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,purchase_orders,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,purchase_orders,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,purchase_orders,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,purchase_orders,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,purchase_orders,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,payment_term" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS = "payments,applied_vendor_credits" - PAYMENTS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = "payments,applied_vendor_credits,accounting_period" - PAYMENTS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY = "payments,applied_vendor_credits,company" - PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_vendor_credits,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = "payments,applied_vendor_credits,company,employee" - PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_vendor_credits,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = "payments,applied_vendor_credits,company,payment_term" - PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT = "payments,applied_vendor_credits,contact" - PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_vendor_credits,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = "payments,applied_vendor_credits,contact,company" - PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_vendor_credits,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_vendor_credits,contact,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_vendor_credits,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = "payments,applied_vendor_credits,contact,employee" - PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_vendor_credits,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = "payments,applied_vendor_credits,contact,payment_term" - PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE = "payments,applied_vendor_credits,employee" - PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_vendor_credits,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = "payments,applied_vendor_credits,employee,payment_term" - PAYMENTS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = "payments,applied_vendor_credits,payment_term" - PAYMENTS_COMPANY = "payments,company" - PAYMENTS_COMPANY_ACCOUNTING_PERIOD = "payments,company,accounting_period" - PAYMENTS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,company,accounting_period,payment_term" - PAYMENTS_COMPANY_EMPLOYEE = "payments,company,employee" - PAYMENTS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,company,employee,accounting_period" - PAYMENTS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,company,employee,accounting_period,payment_term" - ) - PAYMENTS_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,company,employee,payment_term" - PAYMENTS_COMPANY_PAYMENT_TERM = "payments,company,payment_term" - PAYMENTS_CONTACT = "payments,contact" - PAYMENTS_CONTACT_ACCOUNTING_PERIOD = "payments,contact,accounting_period" - PAYMENTS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,contact,accounting_period,payment_term" - PAYMENTS_CONTACT_COMPANY = "payments,contact,company" - PAYMENTS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,contact,company,accounting_period" - PAYMENTS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,contact,company,accounting_period,payment_term" - PAYMENTS_CONTACT_COMPANY_EMPLOYEE = "payments,contact,company,employee" - PAYMENTS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,contact,company,employee,accounting_period" - PAYMENTS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,contact,company,employee,payment_term" - PAYMENTS_CONTACT_COMPANY_PAYMENT_TERM = "payments,contact,company,payment_term" - PAYMENTS_CONTACT_EMPLOYEE = "payments,contact,employee" - PAYMENTS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,contact,employee,accounting_period" - PAYMENTS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_CONTACT_EMPLOYEE_PAYMENT_TERM = "payments,contact,employee,payment_term" - PAYMENTS_CONTACT_PAYMENT_TERM = "payments,contact,payment_term" - PAYMENTS_EMPLOYEE = "payments,employee" - PAYMENTS_EMPLOYEE_ACCOUNTING_PERIOD = "payments,employee,accounting_period" - PAYMENTS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,employee,accounting_period,payment_term" - PAYMENTS_EMPLOYEE_PAYMENT_TERM = "payments,employee,payment_term" - PAYMENTS_LINE_ITEMS = "payments,line_items" - PAYMENTS_LINE_ITEMS_ACCOUNTING_PERIOD = "payments,line_items,accounting_period" - PAYMENTS_LINE_ITEMS_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES = "payments,line_items,applied_credit_notes" - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_credit_notes,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,company" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,employee" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY = "payments,line_items,applied_credit_notes,company" - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_credit_notes,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "payments,line_items,applied_credit_notes,company,employee" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_credit_notes,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT = "payments,line_items,applied_credit_notes,contact" - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_credit_notes,contact,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,contact,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "payments,line_items,applied_credit_notes,contact,company" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_credit_notes,contact,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "payments,line_items,applied_credit_notes,contact,company,employee" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_credit_notes,contact,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,contact,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,contact,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "payments,line_items,applied_credit_notes,contact,employee" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_credit_notes,contact,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,contact,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,contact,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE = "payments,line_items,applied_credit_notes,employee" - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_credit_notes,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = "payments,line_items,applied_credit_notes,payment_term" - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS = "payments,line_items,applied_vendor_credits" - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_vendor_credits,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY = "payments,line_items,applied_vendor_credits,company" - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_vendor_credits,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,line_items,applied_vendor_credits,company,employee" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_vendor_credits,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,line_items,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT = "payments,line_items,applied_vendor_credits,contact" - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_vendor_credits,contact,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,line_items,applied_vendor_credits,contact,company" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_vendor_credits,contact,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,line_items,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,applied_vendor_credits,contact,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,line_items,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,line_items,applied_vendor_credits,contact,employee" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_vendor_credits,contact,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,line_items,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE = "payments,line_items,applied_vendor_credits,employee" - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_vendor_credits,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = "payments,line_items,applied_vendor_credits,payment_term" - PAYMENTS_LINE_ITEMS_COMPANY = "payments,line_items,company" - PAYMENTS_LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD = "payments,line_items,company,accounting_period" - PAYMENTS_LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE = "payments,line_items,company,employee" - PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,company,employee,accounting_period" - PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,company,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,line_items,company,employee,payment_term" - PAYMENTS_LINE_ITEMS_COMPANY_PAYMENT_TERM = "payments,line_items,company,payment_term" - PAYMENTS_LINE_ITEMS_CONTACT = "payments,line_items,contact" - PAYMENTS_LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD = "payments,line_items,contact,accounting_period" - PAYMENTS_LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,contact,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_CONTACT_COMPANY = "payments,line_items,contact,company" - PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,line_items,contact,company,accounting_period" - PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,contact,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE = "payments,line_items,contact,company,employee" - PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,contact,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,contact,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_PAYMENT_TERM = "payments,line_items,contact,company,payment_term" - PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE = "payments,line_items,contact,employee" - PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,contact,employee,accounting_period" - PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE_PAYMENT_TERM = "payments,line_items,contact,employee,payment_term" - PAYMENTS_LINE_ITEMS_CONTACT_PAYMENT_TERM = "payments,line_items,contact,payment_term" - PAYMENTS_LINE_ITEMS_EMPLOYEE = "payments,line_items,employee" - PAYMENTS_LINE_ITEMS_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,employee,accounting_period" - PAYMENTS_LINE_ITEMS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_EMPLOYEE_PAYMENT_TERM = "payments,line_items,employee,payment_term" - PAYMENTS_LINE_ITEMS_PAYMENT_TERM = "payments,line_items,payment_term" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS = "payments,line_items,purchase_orders" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_ACCOUNTING_PERIOD = "payments,line_items,purchase_orders,accounting_period" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES = ( - "payments,line_items,purchase_orders,applied_credit_notes" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_credit_notes,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY = ( - "payments,line_items,purchase_orders,applied_credit_notes,company" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "payments,line_items,purchase_orders,applied_credit_notes,company,employee" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT = ( - "payments,line_items,purchase_orders,applied_credit_notes,contact" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "payments,line_items,purchase_orders,applied_credit_notes,contact,company" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,contact,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "payments,line_items,purchase_orders,applied_credit_notes,contact,employee" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,contact,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,contact,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "payments,line_items,purchase_orders,applied_credit_notes,employee" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS = ( - "payments,line_items,purchase_orders,applied_vendor_credits" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_vendor_credits,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,line_items,purchase_orders,applied_vendor_credits,company" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,line_items,purchase_orders,applied_vendor_credits,company,employee" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,line_items,purchase_orders,applied_vendor_credits,contact" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,line_items,purchase_orders,applied_vendor_credits,contact,company" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,line_items,purchase_orders,applied_vendor_credits,contact,employee" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,line_items,purchase_orders,applied_vendor_credits,employee" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_vendor_credits,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY = "payments,line_items,purchase_orders,company" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE = "payments,line_items,purchase_orders,company,employee" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,company,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT = "payments,line_items,purchase_orders,contact" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,contact,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,contact,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY = "payments,line_items,purchase_orders,contact,company" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,contact,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,contact,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,line_items,purchase_orders,contact,company,employee" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,contact,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,contact,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,contact,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE = "payments,line_items,purchase_orders,contact,employee" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,contact,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,contact,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,contact,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE = "payments,line_items,purchase_orders,employee" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_PAYMENT_TERM = "payments,line_items,purchase_orders,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES = "payments,line_items,tracking_categories" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES = ( - "payments,line_items,tracking_categories,applied_credit_notes" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_credit_notes,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY = ( - "payments,line_items,tracking_categories,applied_credit_notes,company" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "payments,line_items,tracking_categories,applied_credit_notes,company,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT = ( - "payments,line_items,tracking_categories,applied_credit_notes,contact" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "payments,line_items,tracking_categories,applied_credit_notes,contact,company" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,contact,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "payments,line_items,tracking_categories,applied_credit_notes,contact,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,contact,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,contact,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "payments,line_items,tracking_categories,applied_credit_notes,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS = ( - "payments,line_items,tracking_categories,applied_vendor_credits" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_vendor_credits,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,line_items,tracking_categories,applied_vendor_credits,company" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,line_items,tracking_categories,applied_vendor_credits,company,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,line_items,tracking_categories,applied_vendor_credits,contact" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,line_items,tracking_categories,applied_vendor_credits,contact,company" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,line_items,tracking_categories,applied_vendor_credits,contact,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,line_items,tracking_categories,applied_vendor_credits,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_vendor_credits,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY = "payments,line_items,tracking_categories,company" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE = ( - "payments,line_items,tracking_categories,company,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,company,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT = "payments,line_items,tracking_categories,contact" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,contact,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,contact,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY = "payments,line_items,tracking_categories,contact,company" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,contact,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,contact,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE = ( - "payments,line_items,tracking_categories,contact,company,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,contact,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,contact,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,contact,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE = ( - "payments,line_items,tracking_categories,contact,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,contact,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,contact,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,contact,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE = "payments,line_items,tracking_categories,employee" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PAYMENT_TERM = "payments,line_items,tracking_categories,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS = "payments,line_items,tracking_categories,purchase_orders" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,purchase_orders,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY = ( - "payments,line_items,tracking_categories,purchase_orders,company" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,purchase_orders,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE = ( - "payments,line_items,tracking_categories,purchase_orders,company,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT = ( - "payments,line_items,tracking_categories,purchase_orders,contact" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,purchase_orders,contact,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,contact,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY = ( - "payments,line_items,tracking_categories,purchase_orders,contact,company" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,line_items,tracking_categories,purchase_orders,contact,company,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,contact,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,contact,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE = ( - "payments,line_items,tracking_categories,purchase_orders,contact,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,contact,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,contact,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE = ( - "payments,line_items,tracking_categories,purchase_orders,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,purchase_orders,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,payment_term" - ) - PAYMENTS_PAYMENT_TERM = "payments,payment_term" - PAYMENTS_PURCHASE_ORDERS = "payments,purchase_orders" - PAYMENTS_PURCHASE_ORDERS_ACCOUNTING_PERIOD = "payments,purchase_orders,accounting_period" - PAYMENTS_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,purchase_orders,accounting_period,payment_term" - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES = "payments,purchase_orders,applied_credit_notes" - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_credit_notes,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY = "payments,purchase_orders,applied_credit_notes,company" - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_credit_notes,company,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "payments,purchase_orders,applied_credit_notes,company,employee" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_credit_notes,company,employee,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,company,employee,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,company,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT = "payments,purchase_orders,applied_credit_notes,contact" - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_credit_notes,contact,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "payments,purchase_orders,applied_credit_notes,contact,company" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_credit_notes,contact,company,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "payments,purchase_orders,applied_credit_notes,contact,company,employee" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,contact,company,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "payments,purchase_orders,applied_credit_notes,contact,employee" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,contact,employee,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,contact,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE = "payments,purchase_orders,applied_credit_notes,employee" - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_credit_notes,employee,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,employee,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS = "payments,purchase_orders,applied_vendor_credits" - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_vendor_credits,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY = "payments,purchase_orders,applied_vendor_credits,company" - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,purchase_orders,applied_vendor_credits,company,employee" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,purchase_orders,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,purchase_orders,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT = "payments,purchase_orders,applied_vendor_credits,contact" - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,purchase_orders,applied_vendor_credits,contact,company" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,purchase_orders,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,purchase_orders,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,purchase_orders,applied_vendor_credits,contact,employee" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,purchase_orders,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,purchase_orders,applied_vendor_credits,employee" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,purchase_orders,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,purchase_orders,applied_vendor_credits,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_COMPANY = "payments,purchase_orders,company" - PAYMENTS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD = "payments,purchase_orders,company,accounting_period" - PAYMENTS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,company,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE = "payments,purchase_orders,company,employee" - PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,company,employee,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,company,employee,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,purchase_orders,company,employee,payment_term" - PAYMENTS_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM = "payments,purchase_orders,company,payment_term" - PAYMENTS_PURCHASE_ORDERS_CONTACT = "payments,purchase_orders,contact" - PAYMENTS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD = "payments,purchase_orders,contact,accounting_period" - PAYMENTS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,contact,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY = "payments,purchase_orders,contact,company" - PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,contact,company,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,contact,company,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE = "payments,purchase_orders,contact,company,employee" - PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,contact,company,employee,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,purchase_orders,contact,company,employee,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM = "payments,purchase_orders,contact,company,payment_term" - PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE = "payments,purchase_orders,contact,employee" - PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,contact,employee,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM = "payments,purchase_orders,contact,employee,payment_term" - PAYMENTS_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM = "payments,purchase_orders,contact,payment_term" - PAYMENTS_PURCHASE_ORDERS_EMPLOYEE = "payments,purchase_orders,employee" - PAYMENTS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD = "payments,purchase_orders,employee,accounting_period" - PAYMENTS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,employee,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM = "payments,purchase_orders,employee,payment_term" - PAYMENTS_PURCHASE_ORDERS_PAYMENT_TERM = "payments,purchase_orders,payment_term" - PAYMENTS_TRACKING_CATEGORIES = "payments,tracking_categories" - PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "payments,tracking_categories,accounting_period" - PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES = "payments,tracking_categories,applied_credit_notes" - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_credit_notes,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY = ( - "payments,tracking_categories,applied_credit_notes,company" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_credit_notes,company,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,company,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "payments,tracking_categories,applied_credit_notes,company,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_credit_notes,company,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,company,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,company,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT = ( - "payments,tracking_categories,applied_credit_notes,contact" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_credit_notes,contact,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "payments,tracking_categories,applied_credit_notes,contact,company" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_credit_notes,contact,company,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "payments,tracking_categories,applied_credit_notes,contact,company,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,contact,company,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,contact,company,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "payments,tracking_categories,applied_credit_notes,contact,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,contact,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,contact,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "payments,tracking_categories,applied_credit_notes,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_credit_notes,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS = "payments,tracking_categories,applied_vendor_credits" - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_vendor_credits,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,tracking_categories,applied_vendor_credits,company" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,tracking_categories,applied_vendor_credits,company,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,tracking_categories,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,tracking_categories,applied_vendor_credits,contact" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,tracking_categories,applied_vendor_credits,contact,company" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,tracking_categories,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,tracking_categories,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,tracking_categories,applied_vendor_credits,contact,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,tracking_categories,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,tracking_categories,applied_vendor_credits,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,tracking_categories,applied_vendor_credits,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_COMPANY = "payments,tracking_categories,company" - PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = "payments,tracking_categories,company,accounting_period" - PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,company,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE = "payments,tracking_categories,company,employee" - PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,company,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,company,employee,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,company,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM = "payments,tracking_categories,company,payment_term" - PAYMENTS_TRACKING_CATEGORIES_CONTACT = "payments,tracking_categories,contact" - PAYMENTS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = "payments,tracking_categories,contact,accounting_period" - PAYMENTS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,contact,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY = "payments,tracking_categories,contact,company" - PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,contact,company,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,contact,company,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE = "payments,tracking_categories,contact,company,employee" - PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,contact,company,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,contact,company,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,tracking_categories,contact,company,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE = "payments,tracking_categories,contact,employee" - PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,contact,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,contact,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_CONTACT_PAYMENT_TERM = "payments,tracking_categories,contact,payment_term" - PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE = "payments,tracking_categories,employee" - PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD = "payments,tracking_categories,employee,accounting_period" - PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,employee,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE_PAYMENT_TERM = "payments,tracking_categories,employee,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PAYMENT_TERM = "payments,tracking_categories,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS = "payments,tracking_categories,purchase_orders" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,company" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,company" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY = "payments,tracking_categories,purchase_orders,company" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,company,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,company,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE = ( - "payments,tracking_categories,purchase_orders,company,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,company,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,company,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,company,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT = "payments,tracking_categories,purchase_orders,contact" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,contact,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,contact,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY = ( - "payments,tracking_categories,purchase_orders,contact,company" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,contact,company,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,tracking_categories,purchase_orders,contact,company,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,contact,company,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,contact,company,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE = ( - "payments,tracking_categories,purchase_orders,contact,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,contact,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,contact,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,contact,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE = "payments,tracking_categories,purchase_orders,employee" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,employee,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,payment_term" - ) - PURCHASE_ORDERS = "purchase_orders" - PURCHASE_ORDERS_ACCOUNTING_PERIOD = "purchase_orders,accounting_period" - PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM = "purchase_orders,accounting_period,payment_term" - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES = "purchase_orders,applied_credit_notes" - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = "purchase_orders,applied_credit_notes,accounting_period" - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,company" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY = "purchase_orders,applied_credit_notes,company" - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_credit_notes,company,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = "purchase_orders,applied_credit_notes,company,employee" - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_credit_notes,company,employee,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,company,employee,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,company,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT = "purchase_orders,applied_credit_notes,contact" - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_credit_notes,contact,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = "purchase_orders,applied_credit_notes,contact,company" - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_credit_notes,contact,company,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "purchase_orders,applied_credit_notes,contact,company,employee" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,contact,company,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = "purchase_orders,applied_credit_notes,contact,employee" - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_credit_notes,contact,employee,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,contact,employee,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,contact,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE = "purchase_orders,applied_credit_notes,employee" - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_credit_notes,employee,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,employee,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = "purchase_orders,applied_credit_notes,payment_term" - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS = "purchase_orders,applied_vendor_credits" - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_vendor_credits,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_vendor_credits,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY = "purchase_orders,applied_vendor_credits,company" - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_vendor_credits,company,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = "purchase_orders,applied_vendor_credits,company,employee" - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_vendor_credits,company,employee,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "purchase_orders,applied_vendor_credits,company,employee,payment_term" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "purchase_orders,applied_vendor_credits,company,payment_term" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT = "purchase_orders,applied_vendor_credits,contact" - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_vendor_credits,contact,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = "purchase_orders,applied_vendor_credits,contact,company" - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_vendor_credits,contact,company,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "purchase_orders,applied_vendor_credits,contact,company,employee" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "purchase_orders,applied_vendor_credits,contact,company,payment_term" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = "purchase_orders,applied_vendor_credits,contact,employee" - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "purchase_orders,applied_vendor_credits,contact,employee,payment_term" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "purchase_orders,applied_vendor_credits,contact,payment_term" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE = "purchase_orders,applied_vendor_credits,employee" - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_vendor_credits,employee,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "purchase_orders,applied_vendor_credits,employee,payment_term" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = "purchase_orders,applied_vendor_credits,payment_term" - PURCHASE_ORDERS_COMPANY = "purchase_orders,company" - PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD = "purchase_orders,company,accounting_period" - PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "purchase_orders,company,accounting_period,payment_term" - PURCHASE_ORDERS_COMPANY_EMPLOYEE = "purchase_orders,company,employee" - PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "purchase_orders,company,employee,accounting_period" - PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,company,employee,accounting_period,payment_term" - ) - PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM = "purchase_orders,company,employee,payment_term" - PURCHASE_ORDERS_COMPANY_PAYMENT_TERM = "purchase_orders,company,payment_term" - PURCHASE_ORDERS_CONTACT = "purchase_orders,contact" - PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD = "purchase_orders,contact,accounting_period" - PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "purchase_orders,contact,accounting_period,payment_term" - PURCHASE_ORDERS_CONTACT_COMPANY = "purchase_orders,contact,company" - PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "purchase_orders,contact,company,accounting_period" - PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,contact,company,accounting_period,payment_term" - ) - PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE = "purchase_orders,contact,company,employee" - PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "purchase_orders,contact,company,employee,accounting_period" - ) - PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,contact,company,employee,accounting_period,payment_term" - ) - PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "purchase_orders,contact,company,employee,payment_term" - PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM = "purchase_orders,contact,company,payment_term" - PURCHASE_ORDERS_CONTACT_EMPLOYEE = "purchase_orders,contact,employee" - PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "purchase_orders,contact,employee,accounting_period" - PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,contact,employee,accounting_period,payment_term" - ) - PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM = "purchase_orders,contact,employee,payment_term" - PURCHASE_ORDERS_CONTACT_PAYMENT_TERM = "purchase_orders,contact,payment_term" - PURCHASE_ORDERS_EMPLOYEE = "purchase_orders,employee" - PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD = "purchase_orders,employee,accounting_period" - PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "purchase_orders,employee,accounting_period,payment_term" - PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM = "purchase_orders,employee,payment_term" - PURCHASE_ORDERS_PAYMENT_TERM = "purchase_orders,payment_term" - TRACKING_CATEGORIES = "tracking_categories" - TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "tracking_categories,accounting_period" - TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM = "tracking_categories,accounting_period,payment_term" - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES = "tracking_categories,applied_credit_notes" - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_credit_notes,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,company" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,employee" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY = "tracking_categories,applied_credit_notes,company" - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_credit_notes,company,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,company,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "tracking_categories,applied_credit_notes,company,employee" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_credit_notes,company,employee,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,company,employee,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,company,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT = "tracking_categories,applied_credit_notes,contact" - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_credit_notes,contact,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,contact,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "tracking_categories,applied_credit_notes,contact,company" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_credit_notes,contact,company,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "tracking_categories,applied_credit_notes,contact,company,employee" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_credit_notes,contact,company,employee,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,contact,company,employee,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,contact,company,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "tracking_categories,applied_credit_notes,contact,employee" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_credit_notes,contact,employee,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,contact,employee,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,contact,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE = "tracking_categories,applied_credit_notes,employee" - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_credit_notes,employee,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,employee,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_PAYMENT_TERM = "tracking_categories,applied_credit_notes,payment_term" - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS = "tracking_categories,applied_vendor_credits" - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_vendor_credits,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_vendor_credits,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY = "tracking_categories,applied_vendor_credits,company" - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_vendor_credits,company,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_vendor_credits,company,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "tracking_categories,applied_vendor_credits,company,employee" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_vendor_credits,company,employee,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,applied_vendor_credits,company,employee,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "tracking_categories,applied_vendor_credits,company,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT = "tracking_categories,applied_vendor_credits,contact" - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_vendor_credits,contact,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "tracking_categories,applied_vendor_credits,contact,company" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_vendor_credits,contact,company,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "tracking_categories,applied_vendor_credits,contact,company,employee" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,applied_vendor_credits,contact,company,employee,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "tracking_categories,applied_vendor_credits,contact,company,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "tracking_categories,applied_vendor_credits,contact,employee" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_vendor_credits,contact,employee,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,applied_vendor_credits,contact,employee,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "tracking_categories,applied_vendor_credits,contact,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE = "tracking_categories,applied_vendor_credits,employee" - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_vendor_credits,employee,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,applied_vendor_credits,employee,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = "tracking_categories,applied_vendor_credits,payment_term" - TRACKING_CATEGORIES_COMPANY = "tracking_categories,company" - TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,company,accounting_period" - TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,company,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_COMPANY_EMPLOYEE = "tracking_categories,company,employee" - TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "tracking_categories,company,employee,accounting_period" - TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,company,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_COMPANY_EMPLOYEE_PAYMENT_TERM = "tracking_categories,company,employee,payment_term" - TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM = "tracking_categories,company,payment_term" - TRACKING_CATEGORIES_CONTACT = "tracking_categories,contact" - TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = "tracking_categories,contact,accounting_period" - TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,contact,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_CONTACT_COMPANY = "tracking_categories,contact,company" - TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,contact,company,accounting_period" - TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,contact,company,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE = "tracking_categories,contact,company,employee" - TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,contact,company,employee,accounting_period" - ) - TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,contact,company,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,contact,company,employee,payment_term" - ) - TRACKING_CATEGORIES_CONTACT_COMPANY_PAYMENT_TERM = "tracking_categories,contact,company,payment_term" - TRACKING_CATEGORIES_CONTACT_EMPLOYEE = "tracking_categories,contact,employee" - TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "tracking_categories,contact,employee,accounting_period" - TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,contact,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_CONTACT_EMPLOYEE_PAYMENT_TERM = "tracking_categories,contact,employee,payment_term" - TRACKING_CATEGORIES_CONTACT_PAYMENT_TERM = "tracking_categories,contact,payment_term" - TRACKING_CATEGORIES_EMPLOYEE = "tracking_categories,employee" - TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD = "tracking_categories,employee,accounting_period" - TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_EMPLOYEE_PAYMENT_TERM = "tracking_categories,employee,payment_term" - TRACKING_CATEGORIES_PAYMENT_TERM = "tracking_categories,payment_term" - TRACKING_CATEGORIES_PURCHASE_ORDERS = "tracking_categories,purchase_orders" - TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD = "tracking_categories,purchase_orders,accounting_period" - TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES = ( - "tracking_categories,purchase_orders,applied_credit_notes" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_credit_notes,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY = ( - "tracking_categories,purchase_orders,applied_credit_notes,company" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "tracking_categories,purchase_orders,applied_credit_notes,company,employee" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,company,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT = ( - "tracking_categories,purchase_orders,applied_credit_notes,contact" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "tracking_categories,purchase_orders,applied_credit_notes,contact,company" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "tracking_categories,purchase_orders,applied_credit_notes,contact,employee" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "tracking_categories,purchase_orders,applied_credit_notes,employee" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS = ( - "tracking_categories,purchase_orders,applied_vendor_credits" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_vendor_credits,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY = ( - "tracking_categories,purchase_orders,applied_vendor_credits,company" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "tracking_categories,purchase_orders,applied_vendor_credits,company,employee" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT = ( - "tracking_categories,purchase_orders,applied_vendor_credits,contact" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "tracking_categories,purchase_orders,applied_vendor_credits,contact,company" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "tracking_categories,purchase_orders,applied_vendor_credits,contact,employee" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "tracking_categories,purchase_orders,applied_vendor_credits,employee" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_vendor_credits,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY = "tracking_categories,purchase_orders,company" - TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,company,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,company,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE = "tracking_categories,purchase_orders,company,employee" - TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,company,employee,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,company,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,company,employee,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,company,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT = "tracking_categories,purchase_orders,contact" - TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,contact,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,contact,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY = "tracking_categories,purchase_orders,contact,company" - TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,contact,company,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,contact,company,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE = ( - "tracking_categories,purchase_orders,contact,company,employee" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,contact,company,employee,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,contact,company,employee,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,contact,company,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE = "tracking_categories,purchase_orders,contact,employee" - TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,contact,employee,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,contact,employee,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,contact,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE = "tracking_categories,purchase_orders,employee" - TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,employee,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,employee,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_PAYMENT_TERM = "tracking_categories,purchase_orders,payment_term" - - def visit( - self, - accounting_period: typing.Callable[[], T_Result], - accounting_period_payment_term: typing.Callable[[], T_Result], - applied_credit_notes: typing.Callable[[], T_Result], - applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - applied_credit_notes_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_company: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_contact: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_employee: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_company: typing.Callable[[], T_Result], - applied_credit_notes_company_accounting_period: typing.Callable[[], T_Result], - applied_credit_notes_company_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_company_employee: typing.Callable[[], T_Result], - applied_credit_notes_company_employee_accounting_period: typing.Callable[[], T_Result], - applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_company_employee_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_company_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_contact: typing.Callable[[], T_Result], - applied_credit_notes_contact_accounting_period: typing.Callable[[], T_Result], - applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_contact_company: typing.Callable[[], T_Result], - applied_credit_notes_contact_company_accounting_period: typing.Callable[[], T_Result], - applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_contact_company_employee: typing.Callable[[], T_Result], - applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_contact_company_employee_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_contact_company_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - applied_credit_notes_contact_employee_accounting_period: typing.Callable[[], T_Result], - applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_contact_employee_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_contact_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_employee: typing.Callable[[], T_Result], - applied_credit_notes_employee_accounting_period: typing.Callable[[], T_Result], - applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_employee_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_payment_term: typing.Callable[[], T_Result], - applied_payments: typing.Callable[[], T_Result], - applied_payments_accounting_period: typing.Callable[[], T_Result], - applied_payments_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_applied_vendor_credits: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_company: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_company: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_company_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_company_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_company_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_contact: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_contact_accounting_period: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_contact_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_contact_company_employee: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_contact_company_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_contact_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_contact_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_contact_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_employee: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_company: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_company_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_vendor_credits_company_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_contact: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_contact_accounting_period: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_contact_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_vendor_credits_contact_company_employee: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_contact_company_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_vendor_credits_contact_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_employee: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - applied_payments_company: typing.Callable[[], T_Result], - applied_payments_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_company_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_company_employee: typing.Callable[[], T_Result], - applied_payments_company_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_company_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_company_payment_term: typing.Callable[[], T_Result], - applied_payments_contact: typing.Callable[[], T_Result], - applied_payments_contact_accounting_period: typing.Callable[[], T_Result], - applied_payments_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_contact_company: typing.Callable[[], T_Result], - applied_payments_contact_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_contact_company_employee: typing.Callable[[], T_Result], - applied_payments_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_contact_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_contact_company_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_contact_company_payment_term: typing.Callable[[], T_Result], - applied_payments_contact_employee: typing.Callable[[], T_Result], - applied_payments_contact_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_contact_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_contact_payment_term: typing.Callable[[], T_Result], - applied_payments_employee: typing.Callable[[], T_Result], - applied_payments_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items: typing.Callable[[], T_Result], - applied_payments_line_items_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_company: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_company_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_company_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_contact: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_contact_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_contact_company_employee: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_contact_company_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_contact_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_contact_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_employee: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_vendor_credits_company: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_vendor_credits_company_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits_contact: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits_contact_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_vendor_credits_contact_company_employee: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_vendor_credits_contact_company_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_vendor_credits_contact_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits_employee: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_company: typing.Callable[[], T_Result], - applied_payments_line_items_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_company_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_company_employee: typing.Callable[[], T_Result], - applied_payments_line_items_company_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_company_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_company_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_contact: typing.Callable[[], T_Result], - applied_payments_line_items_contact_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_contact_company: typing.Callable[[], T_Result], - applied_payments_line_items_contact_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_contact_company_employee: typing.Callable[[], T_Result], - applied_payments_line_items_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_contact_company_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_contact_company_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_contact_employee: typing.Callable[[], T_Result], - applied_payments_line_items_contact_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_contact_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_contact_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_employee: typing.Callable[[], T_Result], - applied_payments_line_items_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_applied_credit_notes: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_applied_credit_notes_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_company: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_applied_credit_notes_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_contact: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_applied_credit_notes_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_contact_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_contact_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_employee: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_applied_credit_notes_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_applied_vendor_credits: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_company: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_contact: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_employee: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_company: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_company_employee: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_company_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_company_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_company_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_contact: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_contact_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_contact_company: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_contact_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_contact_company_employee: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_contact_company_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_contact_employee: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_contact_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_contact_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_contact_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_employee: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_applied_credit_notes: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_applied_credit_notes_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_company: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_applied_credit_notes_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_contact: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_applied_credit_notes_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_contact_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_contact_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_employee: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_applied_credit_notes_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_company: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_contact: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_employee: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_company: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_company_employee: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_company_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_company_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_contact: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_contact_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_contact_company: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_contact_company_employee: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_contact_company_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_contact_employee: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_contact_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_contact_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_employee: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_purchase_orders: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_purchase_orders_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_company: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_purchase_orders_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_company_employee: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_purchase_orders_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_contact: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_purchase_orders_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_contact_company: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_purchase_orders_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_contact_employee: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_purchase_orders_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_contact_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_employee: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_purchase_orders_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_payment_term: typing.Callable[[], T_Result], - applied_payments_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders: typing.Callable[[], T_Result], - applied_payments_purchase_orders_accounting_period: typing.Callable[[], T_Result], - applied_payments_purchase_orders_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_credit_notes: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_company: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_credit_notes_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_company_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_credit_notes_contact: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_credit_notes_contact_accounting_period: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_contact_company_employee: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_contact_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_credit_notes_employee: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_credit_notes_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_vendor_credits: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_company: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_vendor_credits_contact: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_contact_company_employee: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_vendor_credits_employee: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_company: typing.Callable[[], T_Result], - applied_payments_purchase_orders_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_purchase_orders_company_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_company_employee: typing.Callable[[], T_Result], - applied_payments_purchase_orders_company_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_purchase_orders_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_company_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_company_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_contact: typing.Callable[[], T_Result], - applied_payments_purchase_orders_contact_accounting_period: typing.Callable[[], T_Result], - applied_payments_purchase_orders_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_contact_company: typing.Callable[[], T_Result], - applied_payments_purchase_orders_contact_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_purchase_orders_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_contact_company_employee: typing.Callable[[], T_Result], - applied_payments_purchase_orders_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_purchase_orders_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_contact_company_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_contact_company_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_contact_employee: typing.Callable[[], T_Result], - applied_payments_purchase_orders_contact_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_purchase_orders_contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_contact_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_contact_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_employee: typing.Callable[[], T_Result], - applied_payments_purchase_orders_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_purchase_orders_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories: typing.Callable[[], T_Result], - applied_payments_tracking_categories_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_credit_notes: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_company: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_credit_notes_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_company_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_credit_notes_contact: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_credit_notes_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_contact_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_credit_notes_employee: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_credit_notes_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_vendor_credits: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_company: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_vendor_credits_contact: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_vendor_credits_employee: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_company: typing.Callable[[], T_Result], - applied_payments_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories_company_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_company_employee: typing.Callable[[], T_Result], - applied_payments_tracking_categories_company_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_company_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_company_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_contact: typing.Callable[[], T_Result], - applied_payments_tracking_categories_contact_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_contact_company: typing.Callable[[], T_Result], - applied_payments_tracking_categories_contact_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_contact_company_employee: typing.Callable[[], T_Result], - applied_payments_tracking_categories_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_contact_company_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_contact_company_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_contact_employee: typing.Callable[[], T_Result], - applied_payments_tracking_categories_contact_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_contact_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_contact_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_employee: typing.Callable[[], T_Result], - applied_payments_tracking_categories_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_purchase_orders: typing.Callable[[], T_Result], - applied_payments_tracking_categories_purchase_orders_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories_purchase_orders_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes: typing.Callable[[], T_Result], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_employee: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits: typing.Callable[[], T_Result], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_company: typing.Callable[[], T_Result], - applied_payments_tracking_categories_purchase_orders_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories_purchase_orders_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_company_employee: typing.Callable[[], T_Result], - applied_payments_tracking_categories_purchase_orders_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_company_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_purchase_orders_contact: typing.Callable[[], T_Result], - applied_payments_tracking_categories_purchase_orders_contact_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories_purchase_orders_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_contact_company: typing.Callable[[], T_Result], - applied_payments_tracking_categories_purchase_orders_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_contact_company_employee: typing.Callable[[], T_Result], - applied_payments_tracking_categories_purchase_orders_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_contact_employee: typing.Callable[[], T_Result], - applied_payments_tracking_categories_purchase_orders_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_contact_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_purchase_orders_employee: typing.Callable[[], T_Result], - applied_payments_tracking_categories_purchase_orders_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories_purchase_orders_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_purchase_orders_payment_term: typing.Callable[[], T_Result], - applied_vendor_credits: typing.Callable[[], T_Result], - applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - applied_vendor_credits_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_vendor_credits_company: typing.Callable[[], T_Result], - applied_vendor_credits_company_accounting_period: typing.Callable[[], T_Result], - applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - applied_vendor_credits_company_employee_accounting_period: typing.Callable[[], T_Result], - applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_vendor_credits_company_employee_payment_term: typing.Callable[[], T_Result], - applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - applied_vendor_credits_contact: typing.Callable[[], T_Result], - applied_vendor_credits_contact_accounting_period: typing.Callable[[], T_Result], - applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - applied_vendor_credits_contact_company_accounting_period: typing.Callable[[], T_Result], - applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_vendor_credits_contact_company_employee: typing.Callable[[], T_Result], - applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[[], T_Result], - applied_vendor_credits_contact_company_payment_term: typing.Callable[[], T_Result], - applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - applied_vendor_credits_contact_employee_accounting_period: typing.Callable[[], T_Result], - applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_vendor_credits_contact_employee_payment_term: typing.Callable[[], T_Result], - applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - applied_vendor_credits_employee: typing.Callable[[], T_Result], - applied_vendor_credits_employee_accounting_period: typing.Callable[[], T_Result], - applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - company: typing.Callable[[], T_Result], - company_accounting_period: typing.Callable[[], T_Result], - company_accounting_period_payment_term: typing.Callable[[], T_Result], - company_employee: typing.Callable[[], T_Result], - company_employee_accounting_period: typing.Callable[[], T_Result], - company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - company_employee_payment_term: typing.Callable[[], T_Result], - company_payment_term: typing.Callable[[], T_Result], - contact: typing.Callable[[], T_Result], - contact_accounting_period: typing.Callable[[], T_Result], - contact_accounting_period_payment_term: typing.Callable[[], T_Result], - contact_company: typing.Callable[[], T_Result], - contact_company_accounting_period: typing.Callable[[], T_Result], - contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - contact_company_employee: typing.Callable[[], T_Result], - contact_company_employee_accounting_period: typing.Callable[[], T_Result], - contact_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - contact_company_employee_payment_term: typing.Callable[[], T_Result], - contact_company_payment_term: typing.Callable[[], T_Result], - contact_employee: typing.Callable[[], T_Result], - contact_employee_accounting_period: typing.Callable[[], T_Result], - contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - contact_employee_payment_term: typing.Callable[[], T_Result], - contact_payment_term: typing.Callable[[], T_Result], - employee: typing.Callable[[], T_Result], - employee_accounting_period: typing.Callable[[], T_Result], - employee_accounting_period_payment_term: typing.Callable[[], T_Result], - employee_payment_term: typing.Callable[[], T_Result], - line_items: typing.Callable[[], T_Result], - line_items_accounting_period: typing.Callable[[], T_Result], - line_items_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes: typing.Callable[[], T_Result], - line_items_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - line_items_applied_credit_notes_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes_applied_vendor_credits: typing.Callable[[], T_Result], - line_items_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - line_items_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_applied_credit_notes_applied_vendor_credits_company: typing.Callable[[], T_Result], - line_items_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[[], T_Result], - line_items_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - line_items_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[[], T_Result], - line_items_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[[], T_Result], - line_items_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - line_items_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[[], T_Result], - line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - line_items_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - line_items_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[[], T_Result], - line_items_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes_company: typing.Callable[[], T_Result], - line_items_applied_credit_notes_company_accounting_period: typing.Callable[[], T_Result], - line_items_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - line_items_applied_credit_notes_company_employee_accounting_period: typing.Callable[[], T_Result], - line_items_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes_company_employee_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes_company_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes_contact: typing.Callable[[], T_Result], - line_items_applied_credit_notes_contact_accounting_period: typing.Callable[[], T_Result], - line_items_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - line_items_applied_credit_notes_contact_company_accounting_period: typing.Callable[[], T_Result], - line_items_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes_contact_company_employee: typing.Callable[[], T_Result], - line_items_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - line_items_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes_contact_company_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - line_items_applied_credit_notes_contact_employee_accounting_period: typing.Callable[[], T_Result], - line_items_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes_contact_employee_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes_contact_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes_employee: typing.Callable[[], T_Result], - line_items_applied_credit_notes_employee_accounting_period: typing.Callable[[], T_Result], - line_items_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes_employee_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - line_items_applied_vendor_credits: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_company: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_company_accounting_period: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_company_employee_accounting_period: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_applied_vendor_credits_company_employee_payment_term: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_contact: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_contact_accounting_period: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_contact_company_accounting_period: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_contact_company_employee: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_contact_company_payment_term: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_applied_vendor_credits_contact_employee_payment_term: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_employee: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_employee_accounting_period: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - line_items_company: typing.Callable[[], T_Result], - line_items_company_accounting_period: typing.Callable[[], T_Result], - line_items_company_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_company_employee: typing.Callable[[], T_Result], - line_items_company_employee_accounting_period: typing.Callable[[], T_Result], - line_items_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_company_employee_payment_term: typing.Callable[[], T_Result], - line_items_company_payment_term: typing.Callable[[], T_Result], - line_items_contact: typing.Callable[[], T_Result], - line_items_contact_accounting_period: typing.Callable[[], T_Result], - line_items_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_contact_company: typing.Callable[[], T_Result], - line_items_contact_company_accounting_period: typing.Callable[[], T_Result], - line_items_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_contact_company_employee: typing.Callable[[], T_Result], - line_items_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - line_items_contact_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_contact_company_employee_payment_term: typing.Callable[[], T_Result], - line_items_contact_company_payment_term: typing.Callable[[], T_Result], - line_items_contact_employee: typing.Callable[[], T_Result], - line_items_contact_employee_accounting_period: typing.Callable[[], T_Result], - line_items_contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_contact_employee_payment_term: typing.Callable[[], T_Result], - line_items_contact_payment_term: typing.Callable[[], T_Result], - line_items_employee: typing.Callable[[], T_Result], - line_items_employee_accounting_period: typing.Callable[[], T_Result], - line_items_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_employee_payment_term: typing.Callable[[], T_Result], - line_items_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders: typing.Callable[[], T_Result], - line_items_purchase_orders_accounting_period: typing.Callable[[], T_Result], - line_items_purchase_orders_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_company: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_company_accounting_period: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_company_employee_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_company_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_contact: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_contact_accounting_period: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_contact_company_employee: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_contact_company_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_contact_employee_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_contact_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_employee: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_employee_accounting_period: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_employee_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_company: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_company_accounting_period: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_vendor_credits_company_employee_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_contact: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_contact_accounting_period: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_vendor_credits_contact_company_employee: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_vendor_credits_contact_company_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_vendor_credits_contact_employee_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_employee: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_employee_accounting_period: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_company: typing.Callable[[], T_Result], - line_items_purchase_orders_company_accounting_period: typing.Callable[[], T_Result], - line_items_purchase_orders_company_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_company_employee: typing.Callable[[], T_Result], - line_items_purchase_orders_company_employee_accounting_period: typing.Callable[[], T_Result], - line_items_purchase_orders_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_company_employee_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_company_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_contact: typing.Callable[[], T_Result], - line_items_purchase_orders_contact_accounting_period: typing.Callable[[], T_Result], - line_items_purchase_orders_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_contact_company: typing.Callable[[], T_Result], - line_items_purchase_orders_contact_company_accounting_period: typing.Callable[[], T_Result], - line_items_purchase_orders_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_contact_company_employee: typing.Callable[[], T_Result], - line_items_purchase_orders_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - line_items_purchase_orders_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_contact_company_employee_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_contact_company_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_contact_employee: typing.Callable[[], T_Result], - line_items_purchase_orders_contact_employee_accounting_period: typing.Callable[[], T_Result], - line_items_purchase_orders_contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_contact_employee_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_contact_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_employee: typing.Callable[[], T_Result], - line_items_purchase_orders_employee_accounting_period: typing.Callable[[], T_Result], - line_items_purchase_orders_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_employee_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories: typing.Callable[[], T_Result], - line_items_tracking_categories_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_credit_notes: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_company: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_credit_notes_company_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_company_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_credit_notes_contact: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_credit_notes_contact_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_contact_company_employee: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_contact_company_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_contact_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_credit_notes_employee: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_credit_notes_employee_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_employee_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_vendor_credits: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_vendor_credits_company: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_vendor_credits_company_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_vendor_credits_contact: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_vendor_credits_contact_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_vendor_credits_contact_company_employee: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_vendor_credits_employee: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_vendor_credits_employee_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_company: typing.Callable[[], T_Result], - line_items_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_company_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_company_employee: typing.Callable[[], T_Result], - line_items_tracking_categories_company_employee_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_company_employee_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_company_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_contact: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_company: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_company_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_company_employee: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_contact_company_employee_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_company_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_employee: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_employee_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_employee_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_employee: typing.Callable[[], T_Result], - line_items_tracking_categories_employee_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_employee_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_applied_credit_notes: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_applied_credit_notes_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_company: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_company_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_contact: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_employee: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_applied_vendor_credits: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_company: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_company: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_company_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_company_employee: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_company_employee_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_company_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_contact: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_contact_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_contact_company: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_contact_company_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_contact_company_employee: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_contact_company_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_contact_employee: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_contact_employee_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_contact_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_employee: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_employee_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_employee_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_payment_term: typing.Callable[[], T_Result], - payment_term: typing.Callable[[], T_Result], - payments: typing.Callable[[], T_Result], - payments_accounting_period: typing.Callable[[], T_Result], - payments_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes: typing.Callable[[], T_Result], - payments_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - payments_applied_credit_notes_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes_applied_vendor_credits: typing.Callable[[], T_Result], - payments_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - payments_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_credit_notes_applied_vendor_credits_company: typing.Callable[[], T_Result], - payments_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - payments_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[[], T_Result], - payments_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[[], T_Result], - payments_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - payments_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[[], T_Result], - payments_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - payments_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[[], T_Result], - payments_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes_company: typing.Callable[[], T_Result], - payments_applied_credit_notes_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - payments_applied_credit_notes_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes_company_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes_company_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes_contact: typing.Callable[[], T_Result], - payments_applied_credit_notes_contact_accounting_period: typing.Callable[[], T_Result], - payments_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - payments_applied_credit_notes_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes_contact_company_employee: typing.Callable[[], T_Result], - payments_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes_contact_company_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - payments_applied_credit_notes_contact_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes_contact_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes_employee: typing.Callable[[], T_Result], - payments_applied_credit_notes_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - payments_applied_payments: typing.Callable[[], T_Result], - payments_applied_payments_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_applied_vendor_credits: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_company: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_company: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_company_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_company_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_contact: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_contact_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_contact_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_contact_company_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_contact_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_employee: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_company: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_vendor_credits_company_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_contact: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_contact_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_vendor_credits_contact_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_vendor_credits_contact_company_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_vendor_credits_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_employee: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_company: typing.Callable[[], T_Result], - payments_applied_payments_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_company_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_company_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_contact: typing.Callable[[], T_Result], - payments_applied_payments_contact_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_contact_company: typing.Callable[[], T_Result], - payments_applied_payments_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_contact_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_contact_company_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_contact_company_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_contact_employee: typing.Callable[[], T_Result], - payments_applied_payments_contact_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_contact_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_employee: typing.Callable[[], T_Result], - payments_applied_payments_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items: typing.Callable[[], T_Result], - payments_applied_payments_line_items_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_credit_notes: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_company: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_credit_notes_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_company_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_credit_notes_contact: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_credit_notes_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_contact_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_credit_notes_employee: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_credit_notes_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_vendor_credits: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_company: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_vendor_credits_contact: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_vendor_credits_employee: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_company: typing.Callable[[], T_Result], - payments_applied_payments_line_items_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_line_items_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_company_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_company_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_contact: typing.Callable[[], T_Result], - payments_applied_payments_line_items_contact_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_contact_company: typing.Callable[[], T_Result], - payments_applied_payments_line_items_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_contact_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_line_items_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_contact_company_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_contact_company_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_contact_employee: typing.Callable[[], T_Result], - payments_applied_payments_line_items_contact_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_contact_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_employee: typing.Callable[[], T_Result], - payments_applied_payments_line_items_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_purchase_orders: typing.Callable[[], T_Result], - payments_applied_payments_line_items_purchase_orders_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_purchase_orders_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes: typing.Callable[[], T_Result], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits: typing.Callable[[], T_Result], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_company: typing.Callable[[], T_Result], - payments_applied_payments_line_items_purchase_orders_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_purchase_orders_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_line_items_purchase_orders_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_company_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_purchase_orders_contact: typing.Callable[[], T_Result], - payments_applied_payments_line_items_purchase_orders_contact_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_purchase_orders_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_contact_company: typing.Callable[[], T_Result], - payments_applied_payments_line_items_purchase_orders_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_contact_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_line_items_purchase_orders_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_contact_employee: typing.Callable[[], T_Result], - payments_applied_payments_line_items_purchase_orders_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_contact_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_purchase_orders_employee: typing.Callable[[], T_Result], - payments_applied_payments_line_items_purchase_orders_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_purchase_orders_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_purchase_orders_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_company: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_company_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_contact: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_contact_company: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_contact_employee: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_contact_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_employee: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_purchase_orders: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_purchase_orders_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_company: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_purchase_orders_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_contact: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_applied_credit_notes: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_company: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_applied_credit_notes_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_contact: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_applied_credit_notes_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_employee: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_applied_credit_notes_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_applied_vendor_credits: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_company: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_contact: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_employee: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_company: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_company_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_company_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_contact: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_contact_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_contact_company: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_contact_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_contact_company_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_contact_company_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_contact_employee: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_contact_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_contact_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_employee: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_applied_credit_notes: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_applied_credit_notes_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_company: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_applied_credit_notes_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_contact: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_applied_credit_notes_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_employee: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_applied_credit_notes_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_applied_vendor_credits: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_company: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_contact: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_employee: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_company: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_company_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_company_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_contact: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_contact_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_contact_company: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_contact_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_contact_company_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_contact_employee: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_contact_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_contact_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_employee: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_purchase_orders: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_purchase_orders_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_purchase_orders_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_company: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_purchase_orders_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_purchase_orders_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_contact: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_purchase_orders_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_contact_company: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_purchase_orders_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_contact_employee: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_purchase_orders_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_employee: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_purchase_orders_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_payment_term: typing.Callable[[], T_Result], - payments_applied_vendor_credits: typing.Callable[[], T_Result], - payments_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - payments_applied_vendor_credits_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_vendor_credits_company: typing.Callable[[], T_Result], - payments_applied_vendor_credits_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - payments_applied_vendor_credits_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_vendor_credits_company_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - payments_applied_vendor_credits_contact: typing.Callable[[], T_Result], - payments_applied_vendor_credits_contact_accounting_period: typing.Callable[[], T_Result], - payments_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - payments_applied_vendor_credits_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_vendor_credits_contact_company_employee: typing.Callable[[], T_Result], - payments_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_vendor_credits_contact_company_payment_term: typing.Callable[[], T_Result], - payments_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - payments_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_vendor_credits_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - payments_applied_vendor_credits_employee: typing.Callable[[], T_Result], - payments_applied_vendor_credits_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - payments_company: typing.Callable[[], T_Result], - payments_company_accounting_period: typing.Callable[[], T_Result], - payments_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_company_employee: typing.Callable[[], T_Result], - payments_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_company_employee_payment_term: typing.Callable[[], T_Result], - payments_company_payment_term: typing.Callable[[], T_Result], - payments_contact: typing.Callable[[], T_Result], - payments_contact_accounting_period: typing.Callable[[], T_Result], - payments_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_contact_company: typing.Callable[[], T_Result], - payments_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_contact_company_employee: typing.Callable[[], T_Result], - payments_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_contact_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_contact_company_employee_payment_term: typing.Callable[[], T_Result], - payments_contact_company_payment_term: typing.Callable[[], T_Result], - payments_contact_employee: typing.Callable[[], T_Result], - payments_contact_employee_accounting_period: typing.Callable[[], T_Result], - payments_contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_contact_payment_term: typing.Callable[[], T_Result], - payments_employee: typing.Callable[[], T_Result], - payments_employee_accounting_period: typing.Callable[[], T_Result], - payments_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items: typing.Callable[[], T_Result], - payments_line_items_accounting_period: typing.Callable[[], T_Result], - payments_line_items_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_applied_vendor_credits: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_company: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_company: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_company_accounting_period: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_company_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_company_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_contact: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_contact_accounting_period: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_contact_company_employee: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_contact_company_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_contact_employee_accounting_period: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_contact_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_employee: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_employee_accounting_period: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_company: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_company_accounting_period: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_vendor_credits_company_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_contact: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_contact_accounting_period: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_vendor_credits_contact_company_employee: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_contact_company_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_vendor_credits_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_employee: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_employee_accounting_period: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - payments_line_items_company: typing.Callable[[], T_Result], - payments_line_items_company_accounting_period: typing.Callable[[], T_Result], - payments_line_items_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_company_employee: typing.Callable[[], T_Result], - payments_line_items_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_line_items_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_company_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_company_payment_term: typing.Callable[[], T_Result], - payments_line_items_contact: typing.Callable[[], T_Result], - payments_line_items_contact_accounting_period: typing.Callable[[], T_Result], - payments_line_items_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_contact_company: typing.Callable[[], T_Result], - payments_line_items_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_line_items_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_contact_company_employee: typing.Callable[[], T_Result], - payments_line_items_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_line_items_contact_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_contact_company_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_contact_company_payment_term: typing.Callable[[], T_Result], - payments_line_items_contact_employee: typing.Callable[[], T_Result], - payments_line_items_contact_employee_accounting_period: typing.Callable[[], T_Result], - payments_line_items_contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_contact_payment_term: typing.Callable[[], T_Result], - payments_line_items_employee: typing.Callable[[], T_Result], - payments_line_items_employee_accounting_period: typing.Callable[[], T_Result], - payments_line_items_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_accounting_period: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_credit_notes: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_company: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_credit_notes_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_company_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_credit_notes_contact: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_credit_notes_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_contact_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_credit_notes_employee: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_credit_notes_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_vendor_credits: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_company: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_vendor_credits_contact: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_vendor_credits_employee: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_company: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_company_accounting_period: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_company_employee: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_company_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_company_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_contact: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_contact_accounting_period: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_contact_company: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_contact_company_employee: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_contact_company_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_contact_company_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_contact_employee: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_contact_employee_accounting_period: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_contact_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_employee: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_employee_accounting_period: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_payment_term: typing.Callable[[], T_Result], - payments_line_items_tracking_categories: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_accounting_period: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_applied_credit_notes: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_company: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_applied_credit_notes_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_contact: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_applied_credit_notes_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_employee: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_applied_credit_notes_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_applied_vendor_credits: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_company: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_contact: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_employee: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_company: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_company_employee: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_company_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_company_payment_term: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_contact: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_contact_accounting_period: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_contact_company: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_contact_company_employee: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_contact_company_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_contact_company_payment_term: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_contact_employee: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_contact_employee_accounting_period: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_contact_payment_term: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_employee: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_employee_accounting_period: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_payment_term: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_purchase_orders: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_purchase_orders_accounting_period: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_purchase_orders_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_company: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_purchase_orders_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_company_employee: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_purchase_orders_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_company_payment_term: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_purchase_orders_contact: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_purchase_orders_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_contact_company: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_purchase_orders_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_contact_company_employee: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_purchase_orders_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_contact_employee: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_purchase_orders_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_contact_payment_term: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_purchase_orders_employee: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_purchase_orders_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_purchase_orders_payment_term: typing.Callable[[], T_Result], - payments_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders: typing.Callable[[], T_Result], - payments_purchase_orders_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_company: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_company_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_company_employee_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_company_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_contact: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_contact_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_contact_company_employee: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_contact_company_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_contact_employee_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_contact_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_employee: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_employee_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_employee_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_company: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_company_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_vendor_credits_company_employee_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_contact: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_contact_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_vendor_credits_contact_company_employee: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_vendor_credits_contact_company_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_vendor_credits_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_employee: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_employee_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_company: typing.Callable[[], T_Result], - payments_purchase_orders_company_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_company_employee: typing.Callable[[], T_Result], - payments_purchase_orders_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_company_employee_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_company_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_contact: typing.Callable[[], T_Result], - payments_purchase_orders_contact_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_contact_company: typing.Callable[[], T_Result], - payments_purchase_orders_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_contact_company_employee: typing.Callable[[], T_Result], - payments_purchase_orders_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_contact_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_contact_company_employee_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_contact_company_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_contact_employee: typing.Callable[[], T_Result], - payments_purchase_orders_contact_employee_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_contact_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_employee: typing.Callable[[], T_Result], - payments_purchase_orders_employee_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_employee_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories: typing.Callable[[], T_Result], - payments_tracking_categories_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_company: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_company_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_company_employee_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_company_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_contact: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_contact_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_contact_company_employee: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_contact_company_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_contact_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_employee: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_employee_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_employee_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_applied_vendor_credits: typing.Callable[[], T_Result], - payments_tracking_categories_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_vendor_credits_company: typing.Callable[[], T_Result], - payments_tracking_categories_applied_vendor_credits_company_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - payments_tracking_categories_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_applied_vendor_credits_contact: typing.Callable[[], T_Result], - payments_tracking_categories_applied_vendor_credits_contact_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - payments_tracking_categories_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_vendor_credits_contact_company_employee: typing.Callable[[], T_Result], - payments_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_vendor_credits_contact_company_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - payments_tracking_categories_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_applied_vendor_credits_employee: typing.Callable[[], T_Result], - payments_tracking_categories_applied_vendor_credits_employee_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_company: typing.Callable[[], T_Result], - payments_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_company_employee: typing.Callable[[], T_Result], - payments_tracking_categories_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_company_employee_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_company_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_contact: typing.Callable[[], T_Result], - payments_tracking_categories_contact_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_contact_company: typing.Callable[[], T_Result], - payments_tracking_categories_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_contact_company_employee: typing.Callable[[], T_Result], - payments_tracking_categories_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_contact_company_employee_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_contact_company_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_contact_employee: typing.Callable[[], T_Result], - payments_tracking_categories_contact_employee_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_contact_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_employee: typing.Callable[[], T_Result], - payments_tracking_categories_employee_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_employee_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_applied_credit_notes: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_applied_credit_notes_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_company: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_contact: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_employee: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_applied_vendor_credits: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_company: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_contact: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_employee: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_company: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_company_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_company_employee: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_company_employee_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_company_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_contact: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_contact_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_contact_company: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_contact_company_employee: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_contact_company_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_contact_employee: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_contact_employee_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_contact_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_employee: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_employee_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_employee_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_payment_term: typing.Callable[[], T_Result], - purchase_orders: typing.Callable[[], T_Result], - purchase_orders_accounting_period: typing.Callable[[], T_Result], - purchase_orders_accounting_period_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_accounting_period_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_applied_vendor_credits: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_company: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_company: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_company_accounting_period: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_company_employee_accounting_period: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_company_employee_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_company_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_contact: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_contact_accounting_period: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_contact_company_accounting_period: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_contact_company_employee: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_contact_company_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_contact_employee_accounting_period: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_contact_employee_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_contact_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_employee: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_employee_accounting_period: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_employee_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_accounting_period_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_company: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_company_accounting_period: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_company_employee_accounting_period: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_vendor_credits_company_employee_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_contact: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_contact_accounting_period: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_contact_company_accounting_period: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_vendor_credits_contact_company_employee: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_contact_company_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_vendor_credits_contact_employee_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_employee: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_employee_accounting_period: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - purchase_orders_company: typing.Callable[[], T_Result], - purchase_orders_company_accounting_period: typing.Callable[[], T_Result], - purchase_orders_company_accounting_period_payment_term: typing.Callable[[], T_Result], - purchase_orders_company_employee: typing.Callable[[], T_Result], - purchase_orders_company_employee_accounting_period: typing.Callable[[], T_Result], - purchase_orders_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - purchase_orders_company_employee_payment_term: typing.Callable[[], T_Result], - purchase_orders_company_payment_term: typing.Callable[[], T_Result], - purchase_orders_contact: typing.Callable[[], T_Result], - purchase_orders_contact_accounting_period: typing.Callable[[], T_Result], - purchase_orders_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - purchase_orders_contact_company: typing.Callable[[], T_Result], - purchase_orders_contact_company_accounting_period: typing.Callable[[], T_Result], - purchase_orders_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - purchase_orders_contact_company_employee: typing.Callable[[], T_Result], - purchase_orders_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - purchase_orders_contact_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - purchase_orders_contact_company_employee_payment_term: typing.Callable[[], T_Result], - purchase_orders_contact_company_payment_term: typing.Callable[[], T_Result], - purchase_orders_contact_employee: typing.Callable[[], T_Result], - purchase_orders_contact_employee_accounting_period: typing.Callable[[], T_Result], - purchase_orders_contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - purchase_orders_contact_employee_payment_term: typing.Callable[[], T_Result], - purchase_orders_contact_payment_term: typing.Callable[[], T_Result], - purchase_orders_employee: typing.Callable[[], T_Result], - purchase_orders_employee_accounting_period: typing.Callable[[], T_Result], - purchase_orders_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - purchase_orders_employee_payment_term: typing.Callable[[], T_Result], - purchase_orders_payment_term: typing.Callable[[], T_Result], - tracking_categories: typing.Callable[[], T_Result], - tracking_categories_accounting_period: typing.Callable[[], T_Result], - tracking_categories_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_applied_vendor_credits: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_company: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_company: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_company_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_company_employee_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_company_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_contact: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_contact_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_contact_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_contact_company_employee: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_contact_company_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_contact_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_contact_employee_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_contact_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_employee: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_employee_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_company: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_company_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_vendor_credits_company_employee_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_contact: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_contact_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_contact_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_vendor_credits_contact_company_employee: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_contact_company_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_vendor_credits_contact_employee_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_employee: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - tracking_categories_company: typing.Callable[[], T_Result], - tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_company_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_company_employee: typing.Callable[[], T_Result], - tracking_categories_company_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_company_employee_payment_term: typing.Callable[[], T_Result], - tracking_categories_company_payment_term: typing.Callable[[], T_Result], - tracking_categories_contact: typing.Callable[[], T_Result], - tracking_categories_contact_accounting_period: typing.Callable[[], T_Result], - tracking_categories_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_contact_company: typing.Callable[[], T_Result], - tracking_categories_contact_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_contact_company_employee: typing.Callable[[], T_Result], - tracking_categories_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_contact_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_contact_company_employee_payment_term: typing.Callable[[], T_Result], - tracking_categories_contact_company_payment_term: typing.Callable[[], T_Result], - tracking_categories_contact_employee: typing.Callable[[], T_Result], - tracking_categories_contact_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_contact_employee_payment_term: typing.Callable[[], T_Result], - tracking_categories_contact_payment_term: typing.Callable[[], T_Result], - tracking_categories_employee: typing.Callable[[], T_Result], - tracking_categories_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_employee_payment_term: typing.Callable[[], T_Result], - tracking_categories_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_accounting_period: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_credit_notes: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_company: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_company_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_credit_notes_contact: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_contact_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_credit_notes_employee: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_employee_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_vendor_credits: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_company: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_vendor_credits_contact: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_vendor_credits_employee: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_company: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_company_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_company_employee: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_company_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_company_employee_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_company_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_contact: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_contact_accounting_period: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_contact_company: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_contact_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_contact_company_employee: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_contact_company_employee_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_contact_company_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_contact_employee: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_contact_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_contact_employee_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_contact_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_employee: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_employee_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_payment_term: typing.Callable[[], T_Result], - ) -> T_Result: - if self is InvoicesListRequestExpand.ACCOUNTING_PERIOD: - return accounting_period() - if self is InvoicesListRequestExpand.ACCOUNTING_PERIOD_PAYMENT_TERM: - return accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES: - return applied_credit_notes() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD: - return applied_credit_notes_accounting_period() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_credit_notes_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS: - return applied_credit_notes_applied_vendor_credits() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD: - return applied_credit_notes_applied_vendor_credits_accounting_period() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY: - return applied_credit_notes_applied_vendor_credits_company() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD: - return applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE: - return applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM: - return applied_credit_notes_applied_vendor_credits_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT: - return applied_credit_notes_applied_vendor_credits_contact() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD: - return applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY: - return applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE: - return applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM: - return applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE: - return applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM: - return applied_credit_notes_applied_vendor_credits_contact_payment_term() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return applied_credit_notes_applied_vendor_credits_employee() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM: - return applied_credit_notes_applied_vendor_credits_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_COMPANY: - return applied_credit_notes_company() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD: - return applied_credit_notes_company_accounting_period() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_credit_notes_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE: - return applied_credit_notes_company_employee() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_credit_notes_company_employee_accounting_period() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_credit_notes_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM: - return applied_credit_notes_company_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM: - return applied_credit_notes_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_CONTACT: - return applied_credit_notes_contact() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD: - return applied_credit_notes_contact_accounting_period() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_credit_notes_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_CONTACT_COMPANY: - return applied_credit_notes_contact_company() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return applied_credit_notes_contact_company_accounting_period() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_credit_notes_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE: - return applied_credit_notes_contact_company_employee() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return applied_credit_notes_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM: - return applied_credit_notes_contact_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE: - return applied_credit_notes_contact_employee() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_credit_notes_contact_employee_accounting_period() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_credit_notes_contact_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM: - return applied_credit_notes_contact_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM: - return applied_credit_notes_contact_payment_term() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_EMPLOYEE: - return applied_credit_notes_employee() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_credit_notes_employee_accounting_period() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_credit_notes_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM: - return applied_credit_notes_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_PAYMENT_TERM: - return applied_credit_notes_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS: - return applied_payments() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_ACCOUNTING_PERIOD: - return applied_payments_accounting_period() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_payments_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES: - return applied_payments_applied_credit_notes() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD: - return applied_payments_applied_credit_notes_accounting_period() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_payments_applied_credit_notes_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS: - return applied_payments_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY: - return applied_payments_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT: - return applied_payments_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return applied_payments_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - applied_payments_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return applied_payments_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY: - return applied_payments_applied_credit_notes_company() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE: - return applied_payments_applied_credit_notes_company_employee() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_payments_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM: - return applied_payments_applied_credit_notes_company_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM: - return applied_payments_applied_credit_notes_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT: - return applied_payments_applied_credit_notes_contact() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD: - return applied_payments_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY: - return applied_payments_applied_credit_notes_contact_company() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE: - return applied_payments_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM: - return applied_payments_applied_credit_notes_contact_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE: - return applied_payments_applied_credit_notes_contact_employee() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_payments_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_contact_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM: - return applied_payments_applied_credit_notes_contact_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM: - return applied_payments_applied_credit_notes_contact_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE: - return applied_payments_applied_credit_notes_employee() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_payments_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM: - return applied_payments_applied_credit_notes_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_PAYMENT_TERM: - return applied_payments_applied_credit_notes_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS: - return applied_payments_applied_vendor_credits() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD: - return applied_payments_applied_vendor_credits_accounting_period() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_payments_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY: - return applied_payments_applied_vendor_credits_company() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_vendor_credits_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE: - return applied_payments_applied_vendor_credits_company_employee() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_payments_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_vendor_credits_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return applied_payments_applied_vendor_credits_company_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM: - return applied_payments_applied_vendor_credits_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT: - return applied_payments_applied_vendor_credits_contact() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD: - return applied_payments_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_vendor_credits_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY: - return applied_payments_applied_vendor_credits_contact_company() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_vendor_credits_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE: - return applied_payments_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_applied_vendor_credits_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM: - return applied_payments_applied_vendor_credits_contact_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE: - return applied_payments_applied_vendor_credits_contact_employee() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_payments_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return applied_payments_applied_vendor_credits_contact_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM: - return applied_payments_applied_vendor_credits_contact_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return applied_payments_applied_vendor_credits_employee() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_payments_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_vendor_credits_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM: - return applied_payments_applied_vendor_credits_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return applied_payments_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_COMPANY: - return applied_payments_company() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_company_accounting_period() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_payments_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_COMPANY_EMPLOYEE: - return applied_payments_company_employee() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_payments_company_employee_accounting_period() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_payments_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return applied_payments_company_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_COMPANY_PAYMENT_TERM: - return applied_payments_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_CONTACT: - return applied_payments_contact() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_CONTACT_ACCOUNTING_PERIOD: - return applied_payments_contact_accounting_period() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_payments_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_CONTACT_COMPANY: - return applied_payments_contact_company() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_contact_company_accounting_period() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_payments_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_CONTACT_COMPANY_EMPLOYEE: - return applied_payments_contact_company_employee() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_payments_contact_company_employee_accounting_period() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_payments_contact_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return applied_payments_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_CONTACT_COMPANY_PAYMENT_TERM: - return applied_payments_contact_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_CONTACT_EMPLOYEE: - return applied_payments_contact_employee() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_payments_contact_employee_accounting_period() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_payments_contact_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return applied_payments_contact_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_CONTACT_PAYMENT_TERM: - return applied_payments_contact_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_EMPLOYEE: - return applied_payments_employee() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_payments_employee_accounting_period() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_payments_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_EMPLOYEE_PAYMENT_TERM: - return applied_payments_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS: - return applied_payments_line_items() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_ACCOUNTING_PERIOD: - return applied_payments_line_items_accounting_period() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_payments_line_items_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES: - return applied_payments_line_items_applied_credit_notes() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD: - return applied_payments_line_items_applied_credit_notes_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS: - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return ( - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return ( - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return ( - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY: - return applied_payments_line_items_applied_credit_notes_company() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_line_items_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE: - return applied_payments_line_items_applied_credit_notes_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_company_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM: - return applied_payments_line_items_applied_credit_notes_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT: - return applied_payments_line_items_applied_credit_notes_contact() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD: - return applied_payments_line_items_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY: - return applied_payments_line_items_applied_credit_notes_contact_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE: - return applied_payments_line_items_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_contact_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE: - return applied_payments_line_items_applied_credit_notes_contact_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_contact_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM: - return applied_payments_line_items_applied_credit_notes_contact_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE: - return applied_payments_line_items_applied_credit_notes_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM: - return applied_payments_line_items_applied_credit_notes_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_PAYMENT_TERM: - return applied_payments_line_items_applied_credit_notes_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS: - return applied_payments_line_items_applied_vendor_credits() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD: - return applied_payments_line_items_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY: - return applied_payments_line_items_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_vendor_credits_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE: - return applied_payments_line_items_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_applied_vendor_credits_company_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM: - return applied_payments_line_items_applied_vendor_credits_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT: - return applied_payments_line_items_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_vendor_credits_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY: - return applied_payments_line_items_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_applied_vendor_credits_contact_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE: - return applied_payments_line_items_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_applied_vendor_credits_contact_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM: - return applied_payments_line_items_applied_vendor_credits_contact_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return applied_payments_line_items_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_vendor_credits_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM: - return applied_payments_line_items_applied_vendor_credits_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return applied_payments_line_items_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_COMPANY: - return applied_payments_line_items_company() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_line_items_company_accounting_period() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_payments_line_items_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE: - return applied_payments_line_items_company_employee() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_payments_line_items_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return applied_payments_line_items_company_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_PAYMENT_TERM: - return applied_payments_line_items_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT: - return applied_payments_line_items_contact() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD: - return applied_payments_line_items_contact_accounting_period() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_payments_line_items_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY: - return applied_payments_line_items_contact_company() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_line_items_contact_company_accounting_period() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_payments_line_items_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE: - return applied_payments_line_items_contact_company_employee() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_payments_line_items_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_contact_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return applied_payments_line_items_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_PAYMENT_TERM: - return applied_payments_line_items_contact_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE: - return applied_payments_line_items_contact_employee() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_payments_line_items_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_contact_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return applied_payments_line_items_contact_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_PAYMENT_TERM: - return applied_payments_line_items_contact_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_EMPLOYEE: - return applied_payments_line_items_employee() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_payments_line_items_employee_accounting_period() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_payments_line_items_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_EMPLOYEE_PAYMENT_TERM: - return applied_payments_line_items_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PAYMENT_TERM: - return applied_payments_line_items_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS: - return applied_payments_line_items_purchase_orders() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_ACCOUNTING_PERIOD: - return applied_payments_line_items_purchase_orders_accounting_period() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_payments_line_items_purchase_orders_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES: - return applied_payments_line_items_purchase_orders_applied_credit_notes() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return ( - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term() - ) - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY: - return applied_payments_line_items_purchase_orders_applied_credit_notes_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT: - return applied_payments_line_items_purchase_orders_applied_credit_notes_contact() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return ( - applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_contact_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_contact_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE: - return applied_payments_line_items_purchase_orders_applied_credit_notes_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS: - return applied_payments_line_items_purchase_orders_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY: - return applied_payments_line_items_purchase_orders_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - applied_payments_line_items_purchase_orders_applied_vendor_credits_company_employee_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT: - return applied_payments_line_items_purchase_orders_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return ( - applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_employee_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY: - return applied_payments_line_items_purchase_orders_company() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_line_items_purchase_orders_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE: - return applied_payments_line_items_purchase_orders_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return applied_payments_line_items_purchase_orders_company_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM: - return applied_payments_line_items_purchase_orders_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT: - return applied_payments_line_items_purchase_orders_contact() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD: - return applied_payments_line_items_purchase_orders_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY: - return applied_payments_line_items_purchase_orders_contact_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE: - return applied_payments_line_items_purchase_orders_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM: - return applied_payments_line_items_purchase_orders_contact_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE: - return applied_payments_line_items_purchase_orders_contact_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_contact_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return applied_payments_line_items_purchase_orders_contact_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM: - return applied_payments_line_items_purchase_orders_contact_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE: - return applied_payments_line_items_purchase_orders_employee() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_payments_line_items_purchase_orders_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM: - return applied_payments_line_items_purchase_orders_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_PAYMENT_TERM: - return applied_payments_line_items_purchase_orders_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES: - return applied_payments_line_items_tracking_categories() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return applied_payments_line_items_tracking_categories_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES: - return applied_payments_line_items_tracking_categories_applied_credit_notes() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return ( - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_company_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_contact() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return ( - applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_contact_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS: - return applied_payments_line_items_tracking_categories_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - applied_payments_line_items_tracking_categories_applied_vendor_credits_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return ( - applied_payments_line_items_tracking_categories_applied_vendor_credits_company_employee_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return ( - applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_employee_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY: - return applied_payments_line_items_tracking_categories_company() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_line_items_tracking_categories_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE: - return applied_payments_line_items_tracking_categories_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_company_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM: - return applied_payments_line_items_tracking_categories_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT: - return applied_payments_line_items_tracking_categories_contact() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD: - return applied_payments_line_items_tracking_categories_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY: - return applied_payments_line_items_tracking_categories_contact_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE: - return applied_payments_line_items_tracking_categories_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_contact_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE: - return applied_payments_line_items_tracking_categories_contact_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_contact_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_PAYMENT_TERM: - return applied_payments_line_items_tracking_categories_contact_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE: - return applied_payments_line_items_tracking_categories_employee() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_payments_line_items_tracking_categories_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_PAYMENT_TERM: - return applied_payments_line_items_tracking_categories_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PAYMENT_TERM: - return applied_payments_line_items_tracking_categories_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS: - return applied_payments_line_items_tracking_categories_purchase_orders() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD - ): - return ( - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE - ): - return ( - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY - ): - return ( - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE - ): - return ( - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return ( - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY: - return applied_payments_line_items_tracking_categories_purchase_orders_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - applied_payments_line_items_tracking_categories_purchase_orders_company_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_purchase_orders_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT: - return applied_payments_line_items_tracking_categories_purchase_orders_contact() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - applied_payments_line_items_tracking_categories_purchase_orders_contact_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY - ): - return applied_payments_line_items_tracking_categories_purchase_orders_contact_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_purchase_orders_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return ( - applied_payments_line_items_tracking_categories_purchase_orders_contact_company_employee_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_purchase_orders_contact_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_contact_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE: - return applied_payments_line_items_tracking_categories_purchase_orders_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PAYMENT_TERM: - return applied_payments_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS: - return applied_payments_purchase_orders() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_ACCOUNTING_PERIOD: - return applied_payments_purchase_orders_accounting_period() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_payments_purchase_orders_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES: - return applied_payments_purchase_orders_applied_credit_notes() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD: - return applied_payments_purchase_orders_applied_credit_notes_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return ( - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return ( - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return ( - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY: - return applied_payments_purchase_orders_applied_credit_notes_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE: - return applied_payments_purchase_orders_applied_credit_notes_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - applied_payments_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_company_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM: - return applied_payments_purchase_orders_applied_credit_notes_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT: - return applied_payments_purchase_orders_applied_credit_notes_contact() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY: - return applied_payments_purchase_orders_applied_credit_notes_contact_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - applied_payments_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_purchase_orders_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_contact_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE: - return applied_payments_purchase_orders_applied_credit_notes_contact_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - applied_payments_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_contact_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM: - return applied_payments_purchase_orders_applied_credit_notes_contact_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE: - return applied_payments_purchase_orders_applied_credit_notes_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM: - return applied_payments_purchase_orders_applied_credit_notes_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS: - return applied_payments_purchase_orders_applied_vendor_credits() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD: - return applied_payments_purchase_orders_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY: - return applied_payments_purchase_orders_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE: - return applied_payments_purchase_orders_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_vendor_credits_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT: - return applied_payments_purchase_orders_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY: - return applied_payments_purchase_orders_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - applied_payments_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_purchase_orders_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_vendor_credits_contact_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE: - return applied_payments_purchase_orders_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_vendor_credits_contact_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return applied_payments_purchase_orders_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_vendor_credits_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return applied_payments_purchase_orders_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY: - return applied_payments_purchase_orders_company() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_purchase_orders_company_accounting_period() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_payments_purchase_orders_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE: - return applied_payments_purchase_orders_company_employee() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_payments_purchase_orders_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return applied_payments_purchase_orders_company_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM: - return applied_payments_purchase_orders_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT: - return applied_payments_purchase_orders_contact() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD: - return applied_payments_purchase_orders_contact_accounting_period() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_payments_purchase_orders_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY: - return applied_payments_purchase_orders_contact_company() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_purchase_orders_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE: - return applied_payments_purchase_orders_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_contact_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return applied_payments_purchase_orders_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM: - return applied_payments_purchase_orders_contact_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE: - return applied_payments_purchase_orders_contact_employee() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_payments_purchase_orders_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_contact_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return applied_payments_purchase_orders_contact_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM: - return applied_payments_purchase_orders_contact_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_EMPLOYEE: - return applied_payments_purchase_orders_employee() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_payments_purchase_orders_employee_accounting_period() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_payments_purchase_orders_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM: - return applied_payments_purchase_orders_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_PAYMENT_TERM: - return applied_payments_purchase_orders_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES: - return applied_payments_tracking_categories() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return applied_payments_tracking_categories_accounting_period() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_payments_tracking_categories_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES: - return applied_payments_tracking_categories_applied_credit_notes() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_credit_notes_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return ( - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return ( - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return ( - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY: - return applied_payments_tracking_categories_applied_credit_notes_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE: - return applied_payments_tracking_categories_applied_credit_notes_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT: - return applied_payments_tracking_categories_applied_credit_notes_contact() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY: - return applied_payments_tracking_categories_applied_credit_notes_contact_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_tracking_categories_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - applied_payments_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_contact_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE: - return applied_payments_tracking_categories_applied_credit_notes_contact_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_contact_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE: - return applied_payments_tracking_categories_applied_credit_notes_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_PAYMENT_TERM: - return applied_payments_tracking_categories_applied_credit_notes_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS: - return applied_payments_tracking_categories_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY: - return applied_payments_tracking_categories_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return applied_payments_tracking_categories_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_vendor_credits_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT: - return applied_payments_tracking_categories_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return applied_payments_tracking_categories_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_tracking_categories_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - applied_payments_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return applied_payments_tracking_categories_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_vendor_credits_contact_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return applied_payments_tracking_categories_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_vendor_credits_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return applied_payments_tracking_categories_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY: - return applied_payments_tracking_categories_company() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_tracking_categories_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE: - return applied_payments_tracking_categories_company_employee() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_payments_tracking_categories_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_PAYMENT_TERM: - return applied_payments_tracking_categories_company_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM: - return applied_payments_tracking_categories_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT: - return applied_payments_tracking_categories_contact() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD: - return applied_payments_tracking_categories_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY: - return applied_payments_tracking_categories_contact_company() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_tracking_categories_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE: - return applied_payments_tracking_categories_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_contact_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return applied_payments_tracking_categories_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_PAYMENT_TERM: - return applied_payments_tracking_categories_contact_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE: - return applied_payments_tracking_categories_contact_employee() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_payments_tracking_categories_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_contact_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_PAYMENT_TERM: - return applied_payments_tracking_categories_contact_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_PAYMENT_TERM: - return applied_payments_tracking_categories_contact_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE: - return applied_payments_tracking_categories_employee() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_payments_tracking_categories_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE_PAYMENT_TERM: - return applied_payments_tracking_categories_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PAYMENT_TERM: - return applied_payments_tracking_categories_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS: - return applied_payments_tracking_categories_purchase_orders() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD: - return applied_payments_tracking_categories_purchase_orders_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES: - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return ( - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return ( - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return ( - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return ( - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY: - return applied_payments_tracking_categories_purchase_orders_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE: - return applied_payments_tracking_categories_purchase_orders_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - applied_payments_tracking_categories_purchase_orders_company_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_company_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM: - return applied_payments_tracking_categories_purchase_orders_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT: - return applied_payments_tracking_categories_purchase_orders_contact() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY: - return applied_payments_tracking_categories_purchase_orders_contact_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_tracking_categories_purchase_orders_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_contact_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE: - return applied_payments_tracking_categories_purchase_orders_contact_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - applied_payments_tracking_categories_purchase_orders_contact_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_contact_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM: - return applied_payments_tracking_categories_purchase_orders_contact_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE: - return applied_payments_tracking_categories_purchase_orders_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM: - return applied_payments_tracking_categories_purchase_orders_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_PAYMENT_TERM: - return applied_payments_tracking_categories_purchase_orders_payment_term() - if self is InvoicesListRequestExpand.APPLIED_VENDOR_CREDITS: - return applied_vendor_credits() - if self is InvoicesListRequestExpand.APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD: - return applied_vendor_credits_accounting_period() - if self is InvoicesListRequestExpand.APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_VENDOR_CREDITS_COMPANY: - return applied_vendor_credits_company() - if self is InvoicesListRequestExpand.APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD: - return applied_vendor_credits_company_accounting_period() - if self is InvoicesListRequestExpand.APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_vendor_credits_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE: - return applied_vendor_credits_company_employee() - if self is InvoicesListRequestExpand.APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_vendor_credits_company_employee_accounting_period() - if self is InvoicesListRequestExpand.APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_vendor_credits_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return applied_vendor_credits_company_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM: - return applied_vendor_credits_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_VENDOR_CREDITS_CONTACT: - return applied_vendor_credits_contact() - if self is InvoicesListRequestExpand.APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD: - return applied_vendor_credits_contact_accounting_period() - if self is InvoicesListRequestExpand.APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_vendor_credits_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_VENDOR_CREDITS_CONTACT_COMPANY: - return applied_vendor_credits_contact_company() - if self is InvoicesListRequestExpand.APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return applied_vendor_credits_contact_company_accounting_period() - if self is InvoicesListRequestExpand.APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_vendor_credits_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE: - return applied_vendor_credits_contact_company_employee() - if self is InvoicesListRequestExpand.APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return applied_vendor_credits_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM: - return applied_vendor_credits_contact_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE: - return applied_vendor_credits_contact_employee() - if self is InvoicesListRequestExpand.APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_vendor_credits_contact_employee_accounting_period() - if self is InvoicesListRequestExpand.APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_vendor_credits_contact_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return applied_vendor_credits_contact_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM: - return applied_vendor_credits_contact_payment_term() - if self is InvoicesListRequestExpand.APPLIED_VENDOR_CREDITS_EMPLOYEE: - return applied_vendor_credits_employee() - if self is InvoicesListRequestExpand.APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_vendor_credits_employee_accounting_period() - if self is InvoicesListRequestExpand.APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_vendor_credits_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM: - return applied_vendor_credits_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.COMPANY: - return company() - if self is InvoicesListRequestExpand.COMPANY_ACCOUNTING_PERIOD: - return company_accounting_period() - if self is InvoicesListRequestExpand.COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.COMPANY_EMPLOYEE: - return company_employee() - if self is InvoicesListRequestExpand.COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return company_employee_accounting_period() - if self is InvoicesListRequestExpand.COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.COMPANY_EMPLOYEE_PAYMENT_TERM: - return company_employee_payment_term() - if self is InvoicesListRequestExpand.COMPANY_PAYMENT_TERM: - return company_payment_term() - if self is InvoicesListRequestExpand.CONTACT: - return contact() - if self is InvoicesListRequestExpand.CONTACT_ACCOUNTING_PERIOD: - return contact_accounting_period() - if self is InvoicesListRequestExpand.CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.CONTACT_COMPANY: - return contact_company() - if self is InvoicesListRequestExpand.CONTACT_COMPANY_ACCOUNTING_PERIOD: - return contact_company_accounting_period() - if self is InvoicesListRequestExpand.CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.CONTACT_COMPANY_EMPLOYEE: - return contact_company_employee() - if self is InvoicesListRequestExpand.CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return contact_company_employee_accounting_period() - if self is InvoicesListRequestExpand.CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return contact_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.CONTACT_COMPANY_PAYMENT_TERM: - return contact_company_payment_term() - if self is InvoicesListRequestExpand.CONTACT_EMPLOYEE: - return contact_employee() - if self is InvoicesListRequestExpand.CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return contact_employee_accounting_period() - if self is InvoicesListRequestExpand.CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return contact_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.CONTACT_EMPLOYEE_PAYMENT_TERM: - return contact_employee_payment_term() - if self is InvoicesListRequestExpand.CONTACT_PAYMENT_TERM: - return contact_payment_term() - if self is InvoicesListRequestExpand.EMPLOYEE: - return employee() - if self is InvoicesListRequestExpand.EMPLOYEE_ACCOUNTING_PERIOD: - return employee_accounting_period() - if self is InvoicesListRequestExpand.EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.EMPLOYEE_PAYMENT_TERM: - return employee_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS: - return line_items() - if self is InvoicesListRequestExpand.LINE_ITEMS_ACCOUNTING_PERIOD: - return line_items_accounting_period() - if self is InvoicesListRequestExpand.LINE_ITEMS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES: - return line_items_applied_credit_notes() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD: - return line_items_applied_credit_notes_accounting_period() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_applied_credit_notes_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS: - return line_items_applied_credit_notes_applied_vendor_credits() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD: - return line_items_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY: - return line_items_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE: - return line_items_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - line_items_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return line_items_applied_credit_notes_applied_vendor_credits_company_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT: - return line_items_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return line_items_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY: - return line_items_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - line_items_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return line_items_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE: - return line_items_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - line_items_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return line_items_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return line_items_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return line_items_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return line_items_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return line_items_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY: - return line_items_applied_credit_notes_company() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD: - return line_items_applied_credit_notes_company_accounting_period() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_applied_credit_notes_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE: - return line_items_applied_credit_notes_company_employee() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_applied_credit_notes_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM: - return line_items_applied_credit_notes_company_employee_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM: - return line_items_applied_credit_notes_company_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT: - return line_items_applied_credit_notes_contact() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD: - return line_items_applied_credit_notes_contact_accounting_period() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_applied_credit_notes_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY: - return line_items_applied_credit_notes_contact_company() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return line_items_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_applied_credit_notes_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE: - return line_items_applied_credit_notes_contact_company_employee() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return line_items_applied_credit_notes_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM: - return line_items_applied_credit_notes_contact_company_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE: - return line_items_applied_credit_notes_contact_employee() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_applied_credit_notes_contact_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM: - return line_items_applied_credit_notes_contact_employee_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM: - return line_items_applied_credit_notes_contact_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE: - return line_items_applied_credit_notes_employee() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_applied_credit_notes_employee_accounting_period() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_applied_credit_notes_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM: - return line_items_applied_credit_notes_employee_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_PAYMENT_TERM: - return line_items_applied_credit_notes_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS: - return line_items_applied_vendor_credits() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD: - return line_items_applied_vendor_credits_accounting_period() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY: - return line_items_applied_vendor_credits_company() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD: - return line_items_applied_vendor_credits_company_accounting_period() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_applied_vendor_credits_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE: - return line_items_applied_vendor_credits_company_employee() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_applied_vendor_credits_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return line_items_applied_vendor_credits_company_employee_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM: - return line_items_applied_vendor_credits_company_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT: - return line_items_applied_vendor_credits_contact() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD: - return line_items_applied_vendor_credits_contact_accounting_period() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_applied_vendor_credits_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY: - return line_items_applied_vendor_credits_contact_company() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return line_items_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_applied_vendor_credits_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE: - return line_items_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return line_items_applied_vendor_credits_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM: - return line_items_applied_vendor_credits_contact_company_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE: - return line_items_applied_vendor_credits_contact_employee() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return line_items_applied_vendor_credits_contact_employee_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM: - return line_items_applied_vendor_credits_contact_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return line_items_applied_vendor_credits_employee() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_applied_vendor_credits_employee_accounting_period() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_applied_vendor_credits_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM: - return line_items_applied_vendor_credits_employee_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return line_items_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_COMPANY: - return line_items_company() - if self is InvoicesListRequestExpand.LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD: - return line_items_company_accounting_period() - if self is InvoicesListRequestExpand.LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_COMPANY_EMPLOYEE: - return line_items_company_employee() - if self is InvoicesListRequestExpand.LINE_ITEMS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_company_employee_accounting_period() - if self is InvoicesListRequestExpand.LINE_ITEMS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return line_items_company_employee_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_COMPANY_PAYMENT_TERM: - return line_items_company_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_CONTACT: - return line_items_contact() - if self is InvoicesListRequestExpand.LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD: - return line_items_contact_accounting_period() - if self is InvoicesListRequestExpand.LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_CONTACT_COMPANY: - return line_items_contact_company() - if self is InvoicesListRequestExpand.LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return line_items_contact_company_accounting_period() - if self is InvoicesListRequestExpand.LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE: - return line_items_contact_company_employee() - if self is InvoicesListRequestExpand.LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_contact_company_employee_accounting_period() - if self is InvoicesListRequestExpand.LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_contact_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return line_items_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_CONTACT_COMPANY_PAYMENT_TERM: - return line_items_contact_company_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_CONTACT_EMPLOYEE: - return line_items_contact_employee() - if self is InvoicesListRequestExpand.LINE_ITEMS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_contact_employee_accounting_period() - if self is InvoicesListRequestExpand.LINE_ITEMS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_contact_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return line_items_contact_employee_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_CONTACT_PAYMENT_TERM: - return line_items_contact_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_EMPLOYEE: - return line_items_employee() - if self is InvoicesListRequestExpand.LINE_ITEMS_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_employee_accounting_period() - if self is InvoicesListRequestExpand.LINE_ITEMS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_EMPLOYEE_PAYMENT_TERM: - return line_items_employee_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PAYMENT_TERM: - return line_items_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS: - return line_items_purchase_orders() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_ACCOUNTING_PERIOD: - return line_items_purchase_orders_accounting_period() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_purchase_orders_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES: - return line_items_purchase_orders_applied_credit_notes() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD: - return line_items_purchase_orders_applied_credit_notes_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS: - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return ( - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return ( - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY: - return line_items_purchase_orders_applied_credit_notes_company() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD: - return line_items_purchase_orders_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE: - return line_items_purchase_orders_applied_credit_notes_company_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_company_employee_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM: - return line_items_purchase_orders_applied_credit_notes_company_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT: - return line_items_purchase_orders_applied_credit_notes_contact() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD: - return line_items_purchase_orders_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY: - return line_items_purchase_orders_applied_credit_notes_contact_company() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE: - return line_items_purchase_orders_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_contact_company_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE: - return line_items_purchase_orders_applied_credit_notes_contact_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_contact_employee_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM: - return line_items_purchase_orders_applied_credit_notes_contact_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE: - return line_items_purchase_orders_applied_credit_notes_employee() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_purchase_orders_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM: - return line_items_purchase_orders_applied_credit_notes_employee_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM: - return line_items_purchase_orders_applied_credit_notes_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS: - return line_items_purchase_orders_applied_vendor_credits() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD: - return line_items_purchase_orders_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY: - return line_items_purchase_orders_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE: - return line_items_purchase_orders_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_vendor_credits_company_employee_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM: - return line_items_purchase_orders_applied_vendor_credits_company_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT: - return line_items_purchase_orders_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY: - return line_items_purchase_orders_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE: - return line_items_purchase_orders_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_vendor_credits_contact_company_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE: - return line_items_purchase_orders_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_vendor_credits_contact_employee_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM: - return line_items_purchase_orders_applied_vendor_credits_contact_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return line_items_purchase_orders_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM: - return line_items_purchase_orders_applied_vendor_credits_employee_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return line_items_purchase_orders_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_COMPANY: - return line_items_purchase_orders_company() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD: - return line_items_purchase_orders_company_accounting_period() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_purchase_orders_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE: - return line_items_purchase_orders_company_employee() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_purchase_orders_company_employee_accounting_period() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_purchase_orders_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return line_items_purchase_orders_company_employee_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM: - return line_items_purchase_orders_company_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_CONTACT: - return line_items_purchase_orders_contact() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD: - return line_items_purchase_orders_contact_accounting_period() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_purchase_orders_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY: - return line_items_purchase_orders_contact_company() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return line_items_purchase_orders_contact_company_accounting_period() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_purchase_orders_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE: - return line_items_purchase_orders_contact_company_employee() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_purchase_orders_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_contact_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return line_items_purchase_orders_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM: - return line_items_purchase_orders_contact_company_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE: - return line_items_purchase_orders_contact_employee() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_purchase_orders_contact_employee_accounting_period() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_purchase_orders_contact_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return line_items_purchase_orders_contact_employee_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM: - return line_items_purchase_orders_contact_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE: - return line_items_purchase_orders_employee() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_purchase_orders_employee_accounting_period() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_purchase_orders_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM: - return line_items_purchase_orders_employee_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_PAYMENT_TERM: - return line_items_purchase_orders_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES: - return line_items_tracking_categories() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return line_items_tracking_categories_accounting_period() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_tracking_categories_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES: - return line_items_tracking_categories_applied_credit_notes() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD: - return line_items_tracking_categories_applied_credit_notes_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS: - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return ( - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return ( - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY: - return line_items_tracking_categories_applied_credit_notes_company() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE: - return line_items_tracking_categories_applied_credit_notes_company_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_company_employee_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM: - return line_items_tracking_categories_applied_credit_notes_company_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT: - return line_items_tracking_categories_applied_credit_notes_contact() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY: - return line_items_tracking_categories_applied_credit_notes_contact_company() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return line_items_tracking_categories_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_contact_company_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE: - return line_items_tracking_categories_applied_credit_notes_contact_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_contact_employee_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM: - return line_items_tracking_categories_applied_credit_notes_contact_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE: - return line_items_tracking_categories_applied_credit_notes_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM: - return line_items_tracking_categories_applied_credit_notes_employee_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_PAYMENT_TERM: - return line_items_tracking_categories_applied_credit_notes_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS: - return line_items_tracking_categories_applied_vendor_credits() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD: - return line_items_tracking_categories_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY: - return line_items_tracking_categories_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_vendor_credits_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE: - return line_items_tracking_categories_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - line_items_tracking_categories_applied_vendor_credits_company_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_vendor_credits_company_employee_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM: - return line_items_tracking_categories_applied_vendor_credits_company_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT: - return line_items_tracking_categories_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_vendor_credits_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY: - return line_items_tracking_categories_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - line_items_tracking_categories_applied_vendor_credits_contact_company_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return line_items_tracking_categories_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_vendor_credits_contact_company_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE: - return line_items_tracking_categories_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - line_items_tracking_categories_applied_vendor_credits_contact_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_vendor_credits_contact_employee_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM: - return line_items_tracking_categories_applied_vendor_credits_contact_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return line_items_tracking_categories_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_vendor_credits_employee_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return line_items_tracking_categories_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_COMPANY: - return line_items_tracking_categories_company() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return line_items_tracking_categories_company_accounting_period() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_tracking_categories_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE: - return line_items_tracking_categories_company_employee() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_tracking_categories_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_PAYMENT_TERM: - return line_items_tracking_categories_company_employee_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM: - return line_items_tracking_categories_company_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT: - return line_items_tracking_categories_contact() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD: - return line_items_tracking_categories_contact_accounting_period() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_tracking_categories_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY: - return line_items_tracking_categories_contact_company() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return line_items_tracking_categories_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE: - return line_items_tracking_categories_contact_company_employee() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_tracking_categories_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_contact_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return line_items_tracking_categories_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_PAYMENT_TERM: - return line_items_tracking_categories_contact_company_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE: - return line_items_tracking_categories_contact_employee() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_tracking_categories_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_contact_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_PAYMENT_TERM: - return line_items_tracking_categories_contact_employee_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_PAYMENT_TERM: - return line_items_tracking_categories_contact_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE: - return line_items_tracking_categories_employee() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_tracking_categories_employee_accounting_period() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_tracking_categories_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_PAYMENT_TERM: - return line_items_tracking_categories_employee_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PAYMENT_TERM: - return line_items_tracking_categories_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS: - return line_items_tracking_categories_purchase_orders() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD: - return line_items_tracking_categories_purchase_orders_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES: - return line_items_tracking_categories_purchase_orders_applied_credit_notes() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_company() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_company_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_contact() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return ( - line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS: - return line_items_tracking_categories_purchase_orders_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - line_items_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY: - return line_items_tracking_categories_purchase_orders_company() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD: - return line_items_tracking_categories_purchase_orders_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE: - return line_items_tracking_categories_purchase_orders_company_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_company_employee_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM: - return line_items_tracking_categories_purchase_orders_company_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT: - return line_items_tracking_categories_purchase_orders_contact() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD: - return line_items_tracking_categories_purchase_orders_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY: - return line_items_tracking_categories_purchase_orders_contact_company() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE: - return line_items_tracking_categories_purchase_orders_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - line_items_tracking_categories_purchase_orders_contact_company_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_contact_company_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE: - return line_items_tracking_categories_purchase_orders_contact_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_contact_employee_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM: - return line_items_tracking_categories_purchase_orders_contact_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE: - return line_items_tracking_categories_purchase_orders_employee() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_tracking_categories_purchase_orders_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM: - return line_items_tracking_categories_purchase_orders_employee_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_PAYMENT_TERM: - return line_items_tracking_categories_purchase_orders_payment_term() - if self is InvoicesListRequestExpand.PAYMENT_TERM: - return payment_term() - if self is InvoicesListRequestExpand.PAYMENTS: - return payments() - if self is InvoicesListRequestExpand.PAYMENTS_ACCOUNTING_PERIOD: - return payments_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES: - return payments_applied_credit_notes() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD: - return payments_applied_credit_notes_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_applied_credit_notes_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS: - return payments_applied_credit_notes_applied_vendor_credits() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD: - return payments_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY: - return payments_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE: - return payments_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM: - return payments_applied_credit_notes_applied_vendor_credits_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT: - return payments_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY: - return payments_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE: - return payments_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM: - return payments_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return payments_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM: - return payments_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return payments_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY: - return payments_applied_credit_notes_company() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD: - return payments_applied_credit_notes_company_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_applied_credit_notes_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE: - return payments_applied_credit_notes_company_employee() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_credit_notes_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_applied_credit_notes_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM: - return payments_applied_credit_notes_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT: - return payments_applied_credit_notes_contact() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD: - return payments_applied_credit_notes_contact_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_applied_credit_notes_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY: - return payments_applied_credit_notes_contact_company() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return payments_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_credit_notes_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE: - return payments_applied_credit_notes_contact_company_employee() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_applied_credit_notes_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM: - return payments_applied_credit_notes_contact_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE: - return payments_applied_credit_notes_contact_employee() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_credit_notes_contact_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM: - return payments_applied_credit_notes_contact_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM: - return payments_applied_credit_notes_contact_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE: - return payments_applied_credit_notes_employee() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_applied_credit_notes_employee_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_applied_credit_notes_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM: - return payments_applied_credit_notes_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_PAYMENT_TERM: - return payments_applied_credit_notes_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS: - return payments_applied_payments() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_ACCOUNTING_PERIOD: - return payments_applied_payments_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_applied_payments_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES: - return payments_applied_payments_applied_credit_notes() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD: - return payments_applied_payments_applied_credit_notes_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS: - return payments_applied_payments_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_applied_payments_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY: - return payments_applied_payments_applied_credit_notes_company() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD: - return payments_applied_payments_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE: - return payments_applied_payments_applied_credit_notes_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM: - return payments_applied_payments_applied_credit_notes_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT: - return payments_applied_payments_applied_credit_notes_contact() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD: - return payments_applied_payments_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY: - return payments_applied_payments_applied_credit_notes_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE: - return payments_applied_payments_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_applied_payments_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_contact_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE: - return payments_applied_payments_applied_credit_notes_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_contact_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM: - return payments_applied_payments_applied_credit_notes_contact_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE: - return payments_applied_payments_applied_credit_notes_employee() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_applied_payments_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM: - return payments_applied_payments_applied_credit_notes_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_PAYMENT_TERM: - return payments_applied_payments_applied_credit_notes_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS: - return payments_applied_payments_applied_vendor_credits() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD: - return payments_applied_payments_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY: - return payments_applied_payments_applied_vendor_credits_company() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD: - return payments_applied_payments_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_vendor_credits_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE: - return payments_applied_payments_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_applied_vendor_credits_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM: - return payments_applied_payments_applied_vendor_credits_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT: - return payments_applied_payments_applied_vendor_credits_contact() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD: - return payments_applied_payments_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_vendor_credits_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY: - return payments_applied_payments_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_vendor_credits_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE: - return payments_applied_payments_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_applied_vendor_credits_contact_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE: - return payments_applied_payments_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_applied_vendor_credits_contact_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM: - return payments_applied_payments_applied_vendor_credits_contact_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return payments_applied_payments_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_vendor_credits_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM: - return payments_applied_payments_applied_vendor_credits_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return payments_applied_payments_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_COMPANY: - return payments_applied_payments_company() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD: - return payments_applied_payments_company_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_applied_payments_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_COMPANY_EMPLOYEE: - return payments_applied_payments_company_employee() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_applied_payments_company_employee_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_applied_payments_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_applied_payments_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_COMPANY_PAYMENT_TERM: - return payments_applied_payments_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT: - return payments_applied_payments_contact() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT_ACCOUNTING_PERIOD: - return payments_applied_payments_contact_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_applied_payments_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY: - return payments_applied_payments_contact_company() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return payments_applied_payments_contact_company_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_applied_payments_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY_EMPLOYEE: - return payments_applied_payments_contact_company_employee() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_applied_payments_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_contact_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_applied_payments_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY_PAYMENT_TERM: - return payments_applied_payments_contact_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT_EMPLOYEE: - return payments_applied_payments_contact_employee() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_applied_payments_contact_employee_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_applied_payments_contact_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return payments_applied_payments_contact_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT_PAYMENT_TERM: - return payments_applied_payments_contact_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_EMPLOYEE: - return payments_applied_payments_employee() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_applied_payments_employee_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_applied_payments_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_EMPLOYEE_PAYMENT_TERM: - return payments_applied_payments_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS: - return payments_applied_payments_line_items() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_ACCOUNTING_PERIOD: - return payments_applied_payments_line_items_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_applied_payments_line_items_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES: - return payments_applied_payments_line_items_applied_credit_notes() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_credit_notes_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return ( - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return ( - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return ( - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_employee_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY: - return payments_applied_payments_line_items_applied_credit_notes_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE: - return payments_applied_payments_line_items_applied_credit_notes_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT: - return payments_applied_payments_line_items_applied_credit_notes_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY: - return payments_applied_payments_line_items_applied_credit_notes_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - payments_applied_payments_line_items_applied_credit_notes_contact_company_employee_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_contact_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE: - return payments_applied_payments_line_items_applied_credit_notes_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_contact_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE: - return payments_applied_payments_line_items_applied_credit_notes_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_PAYMENT_TERM: - return payments_applied_payments_line_items_applied_credit_notes_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS: - return payments_applied_payments_line_items_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY: - return payments_applied_payments_line_items_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_vendor_credits_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT: - return payments_applied_payments_line_items_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_applied_payments_line_items_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - payments_applied_payments_line_items_applied_vendor_credits_contact_company_employee_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_applied_payments_line_items_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_vendor_credits_contact_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return payments_applied_payments_line_items_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_vendor_credits_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return payments_applied_payments_line_items_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY: - return payments_applied_payments_line_items_company() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD: - return payments_applied_payments_line_items_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE: - return payments_applied_payments_line_items_company_employee() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_applied_payments_line_items_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_applied_payments_line_items_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_PAYMENT_TERM: - return payments_applied_payments_line_items_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT: - return payments_applied_payments_line_items_contact() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD: - return payments_applied_payments_line_items_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY: - return payments_applied_payments_line_items_contact_company() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return payments_applied_payments_line_items_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE: - return payments_applied_payments_line_items_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_contact_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_applied_payments_line_items_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_PAYMENT_TERM: - return payments_applied_payments_line_items_contact_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE: - return payments_applied_payments_line_items_contact_employee() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_applied_payments_line_items_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_contact_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return payments_applied_payments_line_items_contact_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_PAYMENT_TERM: - return payments_applied_payments_line_items_contact_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_EMPLOYEE: - return payments_applied_payments_line_items_employee() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_applied_payments_line_items_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_EMPLOYEE_PAYMENT_TERM: - return payments_applied_payments_line_items_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PAYMENT_TERM: - return payments_applied_payments_line_items_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS: - return payments_applied_payments_line_items_purchase_orders() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_ACCOUNTING_PERIOD: - return payments_applied_payments_line_items_purchase_orders_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES: - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return ( - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_employee_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return ( - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_company_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return ( - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return ( - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_employee_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY: - return payments_applied_payments_line_items_purchase_orders_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE: - return payments_applied_payments_line_items_purchase_orders_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_applied_payments_line_items_purchase_orders_company_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM: - return payments_applied_payments_line_items_purchase_orders_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT: - return payments_applied_payments_line_items_purchase_orders_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY: - return payments_applied_payments_line_items_purchase_orders_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_purchase_orders_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_contact_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE: - return payments_applied_payments_line_items_purchase_orders_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_applied_payments_line_items_purchase_orders_contact_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_contact_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM: - return payments_applied_payments_line_items_purchase_orders_contact_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE: - return payments_applied_payments_line_items_purchase_orders_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM: - return payments_applied_payments_line_items_purchase_orders_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_PAYMENT_TERM: - return payments_applied_payments_line_items_purchase_orders_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES: - return payments_applied_payments_line_items_tracking_categories() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return payments_applied_payments_line_items_tracking_categories_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return ( - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return ( - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return ( - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_company_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return ( - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return ( - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_employee_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY: - return payments_applied_payments_line_items_tracking_categories_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE: - return payments_applied_payments_line_items_tracking_categories_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT: - return payments_applied_payments_line_items_tracking_categories_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY: - return payments_applied_payments_line_items_tracking_categories_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_contact_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE: - return payments_applied_payments_line_items_tracking_categories_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_contact_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE: - return payments_applied_payments_line_items_tracking_categories_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PAYMENT_TERM: - return payments_applied_payments_line_items_tracking_categories_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS: - return payments_applied_payments_line_items_tracking_categories_purchase_orders() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY - ): - return ( - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT - ): - return ( - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE - ): - return ( - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return ( - payments_applied_payments_line_items_tracking_categories_purchase_orders_company_employee_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM - ): - return ( - payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_company_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return ( - payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_employee_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PAYMENT_TERM: - return payments_applied_payments_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS: - return payments_applied_payments_purchase_orders() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_ACCOUNTING_PERIOD: - return payments_applied_payments_purchase_orders_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_applied_payments_purchase_orders_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES: - return payments_applied_payments_purchase_orders_applied_credit_notes() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return ( - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return ( - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return ( - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY: - return payments_applied_payments_purchase_orders_applied_credit_notes_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_applied_payments_purchase_orders_applied_credit_notes_company_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT: - return payments_applied_payments_purchase_orders_applied_credit_notes_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_applied_payments_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return ( - payments_applied_payments_purchase_orders_applied_credit_notes_contact_company_employee_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_contact_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE: - return payments_applied_payments_purchase_orders_applied_credit_notes_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_applied_payments_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS: - return payments_applied_payments_purchase_orders_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY: - return payments_applied_payments_purchase_orders_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT: - return payments_applied_payments_purchase_orders_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return ( - payments_applied_payments_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_contact_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return payments_applied_payments_purchase_orders_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY: - return payments_applied_payments_purchase_orders_company() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD: - return payments_applied_payments_purchase_orders_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE: - return payments_applied_payments_purchase_orders_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_applied_payments_purchase_orders_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM: - return payments_applied_payments_purchase_orders_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT: - return payments_applied_payments_purchase_orders_contact() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD: - return payments_applied_payments_purchase_orders_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY: - return payments_applied_payments_purchase_orders_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE: - return payments_applied_payments_purchase_orders_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM: - return payments_applied_payments_purchase_orders_contact_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE: - return payments_applied_payments_purchase_orders_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_contact_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return payments_applied_payments_purchase_orders_contact_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM: - return payments_applied_payments_purchase_orders_contact_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_EMPLOYEE: - return payments_applied_payments_purchase_orders_employee() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_applied_payments_purchase_orders_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM: - return payments_applied_payments_purchase_orders_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_PAYMENT_TERM: - return payments_applied_payments_purchase_orders_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES: - return payments_applied_payments_tracking_categories() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return payments_applied_payments_tracking_categories_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES: - return payments_applied_payments_tracking_categories_applied_credit_notes() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return ( - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_payment_term() - ) - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY: - return payments_applied_payments_tracking_categories_applied_credit_notes_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - payments_applied_payments_tracking_categories_applied_credit_notes_company_employee_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT: - return payments_applied_payments_tracking_categories_applied_credit_notes_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return ( - payments_applied_payments_tracking_categories_applied_credit_notes_contact_company_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - payments_applied_payments_tracking_categories_applied_credit_notes_contact_employee_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS: - return payments_applied_payments_tracking_categories_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return ( - payments_applied_payments_tracking_categories_applied_vendor_credits_contact_company_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY: - return payments_applied_payments_tracking_categories_company() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return payments_applied_payments_tracking_categories_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE: - return payments_applied_payments_tracking_categories_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM: - return payments_applied_payments_tracking_categories_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT: - return payments_applied_payments_tracking_categories_contact() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD: - return payments_applied_payments_tracking_categories_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY: - return payments_applied_payments_tracking_categories_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE: - return payments_applied_payments_tracking_categories_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_applied_payments_tracking_categories_contact_company_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_PAYMENT_TERM: - return payments_applied_payments_tracking_categories_contact_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE: - return payments_applied_payments_tracking_categories_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_contact_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_PAYMENT_TERM: - return payments_applied_payments_tracking_categories_contact_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE: - return payments_applied_payments_tracking_categories_employee() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_applied_payments_tracking_categories_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE_PAYMENT_TERM: - return payments_applied_payments_tracking_categories_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PAYMENT_TERM: - return payments_applied_payments_tracking_categories_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS: - return payments_applied_payments_tracking_categories_purchase_orders() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD - ): - return ( - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return ( - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return ( - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return ( - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return ( - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY: - return payments_applied_payments_tracking_categories_purchase_orders_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_applied_payments_tracking_categories_purchase_orders_company_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_purchase_orders_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT: - return payments_applied_payments_tracking_categories_purchase_orders_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_applied_payments_tracking_categories_purchase_orders_contact_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY - ): - return payments_applied_payments_tracking_categories_purchase_orders_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_purchase_orders_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_purchase_orders_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_contact_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE: - return payments_applied_payments_tracking_categories_purchase_orders_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_applied_payments_tracking_categories_purchase_orders_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_PAYMENT_TERM: - return payments_applied_payments_tracking_categories_purchase_orders_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS: - return payments_applied_vendor_credits() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD: - return payments_applied_vendor_credits_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY: - return payments_applied_vendor_credits_company() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD: - return payments_applied_vendor_credits_company_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_applied_vendor_credits_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE: - return payments_applied_vendor_credits_company_employee() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_vendor_credits_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_applied_vendor_credits_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM: - return payments_applied_vendor_credits_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT: - return payments_applied_vendor_credits_contact() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD: - return payments_applied_vendor_credits_contact_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_applied_vendor_credits_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY: - return payments_applied_vendor_credits_contact_company() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return payments_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_vendor_credits_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE: - return payments_applied_vendor_credits_contact_company_employee() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_applied_vendor_credits_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM: - return payments_applied_vendor_credits_contact_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE: - return payments_applied_vendor_credits_contact_employee() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return payments_applied_vendor_credits_contact_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM: - return payments_applied_vendor_credits_contact_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return payments_applied_vendor_credits_employee() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_applied_vendor_credits_employee_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_applied_vendor_credits_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM: - return payments_applied_vendor_credits_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return payments_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_COMPANY: - return payments_company() - if self is InvoicesListRequestExpand.PAYMENTS_COMPANY_ACCOUNTING_PERIOD: - return payments_company_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_COMPANY_EMPLOYEE: - return payments_company_employee() - if self is InvoicesListRequestExpand.PAYMENTS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_company_employee_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_COMPANY_PAYMENT_TERM: - return payments_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_CONTACT: - return payments_contact() - if self is InvoicesListRequestExpand.PAYMENTS_CONTACT_ACCOUNTING_PERIOD: - return payments_contact_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_CONTACT_COMPANY: - return payments_contact_company() - if self is InvoicesListRequestExpand.PAYMENTS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return payments_contact_company_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_CONTACT_COMPANY_EMPLOYEE: - return payments_contact_company_employee() - if self is InvoicesListRequestExpand.PAYMENTS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_contact_company_employee_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_contact_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_CONTACT_COMPANY_PAYMENT_TERM: - return payments_contact_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_CONTACT_EMPLOYEE: - return payments_contact_employee() - if self is InvoicesListRequestExpand.PAYMENTS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_contact_employee_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_contact_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return payments_contact_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_CONTACT_PAYMENT_TERM: - return payments_contact_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_EMPLOYEE: - return payments_employee() - if self is InvoicesListRequestExpand.PAYMENTS_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_employee_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_EMPLOYEE_PAYMENT_TERM: - return payments_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS: - return payments_line_items() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_ACCOUNTING_PERIOD: - return payments_line_items_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_line_items_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES: - return payments_line_items_applied_credit_notes() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD: - return payments_line_items_applied_credit_notes_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_line_items_applied_credit_notes_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS: - return payments_line_items_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY: - return payments_line_items_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_line_items_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT: - return payments_line_items_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_line_items_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return ( - payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return payments_line_items_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY: - return payments_line_items_applied_credit_notes_company() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD: - return payments_line_items_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE: - return payments_line_items_applied_credit_notes_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_line_items_applied_credit_notes_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM: - return payments_line_items_applied_credit_notes_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT: - return payments_line_items_applied_credit_notes_contact() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD: - return payments_line_items_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY: - return payments_line_items_applied_credit_notes_contact_company() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return payments_line_items_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE: - return payments_line_items_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM: - return payments_line_items_applied_credit_notes_contact_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE: - return payments_line_items_applied_credit_notes_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_contact_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM: - return payments_line_items_applied_credit_notes_contact_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM: - return payments_line_items_applied_credit_notes_contact_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE: - return payments_line_items_applied_credit_notes_employee() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_line_items_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM: - return payments_line_items_applied_credit_notes_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_PAYMENT_TERM: - return payments_line_items_applied_credit_notes_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS: - return payments_line_items_applied_vendor_credits() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD: - return payments_line_items_applied_vendor_credits_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_line_items_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY: - return payments_line_items_applied_vendor_credits_company() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD: - return payments_line_items_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_vendor_credits_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE: - return payments_line_items_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_vendor_credits_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_line_items_applied_vendor_credits_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM: - return payments_line_items_applied_vendor_credits_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT: - return payments_line_items_applied_vendor_credits_contact() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD: - return payments_line_items_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_vendor_credits_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY: - return payments_line_items_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_vendor_credits_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE: - return payments_line_items_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_applied_vendor_credits_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM: - return payments_line_items_applied_vendor_credits_contact_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE: - return payments_line_items_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return payments_line_items_applied_vendor_credits_contact_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM: - return payments_line_items_applied_vendor_credits_contact_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return payments_line_items_applied_vendor_credits_employee() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_line_items_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_vendor_credits_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM: - return payments_line_items_applied_vendor_credits_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return payments_line_items_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_COMPANY: - return payments_line_items_company() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD: - return payments_line_items_company_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_line_items_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE: - return payments_line_items_company_employee() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_line_items_company_employee_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_line_items_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_line_items_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_COMPANY_PAYMENT_TERM: - return payments_line_items_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT: - return payments_line_items_contact() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD: - return payments_line_items_contact_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_line_items_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT_COMPANY: - return payments_line_items_contact_company() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return payments_line_items_contact_company_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_line_items_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE: - return payments_line_items_contact_company_employee() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_line_items_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_contact_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_line_items_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_PAYMENT_TERM: - return payments_line_items_contact_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE: - return payments_line_items_contact_employee() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_line_items_contact_employee_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_line_items_contact_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return payments_line_items_contact_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT_PAYMENT_TERM: - return payments_line_items_contact_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_EMPLOYEE: - return payments_line_items_employee() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_line_items_employee_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_line_items_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_EMPLOYEE_PAYMENT_TERM: - return payments_line_items_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PAYMENT_TERM: - return payments_line_items_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS: - return payments_line_items_purchase_orders() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_ACCOUNTING_PERIOD: - return payments_line_items_purchase_orders_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_line_items_purchase_orders_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES: - return payments_line_items_purchase_orders_applied_credit_notes() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD: - return payments_line_items_purchase_orders_applied_credit_notes_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return ( - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return ( - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return ( - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY: - return payments_line_items_purchase_orders_applied_credit_notes_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE: - return payments_line_items_purchase_orders_applied_credit_notes_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT: - return payments_line_items_purchase_orders_applied_credit_notes_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY: - return payments_line_items_purchase_orders_applied_credit_notes_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_contact_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE: - return payments_line_items_purchase_orders_applied_credit_notes_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_contact_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE: - return payments_line_items_purchase_orders_applied_credit_notes_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM: - return payments_line_items_purchase_orders_applied_credit_notes_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS: - return payments_line_items_purchase_orders_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY: - return payments_line_items_purchase_orders_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_line_items_purchase_orders_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_vendor_credits_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT: - return payments_line_items_purchase_orders_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY: - return payments_line_items_purchase_orders_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_line_items_purchase_orders_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_vendor_credits_contact_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return payments_line_items_purchase_orders_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_vendor_credits_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return payments_line_items_purchase_orders_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY: - return payments_line_items_purchase_orders_company() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD: - return payments_line_items_purchase_orders_company_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_line_items_purchase_orders_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE: - return payments_line_items_purchase_orders_company_employee() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_line_items_purchase_orders_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_line_items_purchase_orders_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM: - return payments_line_items_purchase_orders_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT: - return payments_line_items_purchase_orders_contact() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD: - return payments_line_items_purchase_orders_contact_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_line_items_purchase_orders_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY: - return payments_line_items_purchase_orders_contact_company() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return payments_line_items_purchase_orders_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE: - return payments_line_items_purchase_orders_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_contact_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_line_items_purchase_orders_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM: - return payments_line_items_purchase_orders_contact_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE: - return payments_line_items_purchase_orders_contact_employee() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_line_items_purchase_orders_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_contact_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return payments_line_items_purchase_orders_contact_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM: - return payments_line_items_purchase_orders_contact_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE: - return payments_line_items_purchase_orders_employee() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_line_items_purchase_orders_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM: - return payments_line_items_purchase_orders_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_PAYMENT_TERM: - return payments_line_items_purchase_orders_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES: - return payments_line_items_tracking_categories() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return payments_line_items_tracking_categories_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_line_items_tracking_categories_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES: - return payments_line_items_tracking_categories_applied_credit_notes() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_credit_notes_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return ( - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return ( - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return ( - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY: - return payments_line_items_tracking_categories_applied_credit_notes_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE - ): - return payments_line_items_tracking_categories_applied_credit_notes_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT: - return payments_line_items_tracking_categories_applied_credit_notes_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY - ): - return payments_line_items_tracking_categories_applied_credit_notes_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE - ): - return payments_line_items_tracking_categories_applied_credit_notes_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_contact_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE: - return payments_line_items_tracking_categories_applied_credit_notes_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_line_items_tracking_categories_applied_credit_notes_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_PAYMENT_TERM: - return payments_line_items_tracking_categories_applied_credit_notes_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS: - return payments_line_items_tracking_categories_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY: - return payments_line_items_tracking_categories_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_line_items_tracking_categories_applied_vendor_credits_company_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_line_items_tracking_categories_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_vendor_credits_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT: - return payments_line_items_tracking_categories_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_line_items_tracking_categories_applied_vendor_credits_contact_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_line_items_tracking_categories_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return ( - payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_line_items_tracking_categories_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_vendor_credits_contact_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return payments_line_items_tracking_categories_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_line_items_tracking_categories_applied_vendor_credits_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY: - return payments_line_items_tracking_categories_company() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return payments_line_items_tracking_categories_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE: - return payments_line_items_tracking_categories_company_employee() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_line_items_tracking_categories_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_line_items_tracking_categories_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM: - return payments_line_items_tracking_categories_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT: - return payments_line_items_tracking_categories_contact() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD: - return payments_line_items_tracking_categories_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY: - return payments_line_items_tracking_categories_contact_company() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return payments_line_items_tracking_categories_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE: - return payments_line_items_tracking_categories_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_PAYMENT_TERM: - return payments_line_items_tracking_categories_contact_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE: - return payments_line_items_tracking_categories_contact_employee() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_line_items_tracking_categories_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_contact_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_PAYMENT_TERM: - return payments_line_items_tracking_categories_contact_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_PAYMENT_TERM: - return payments_line_items_tracking_categories_contact_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE: - return payments_line_items_tracking_categories_employee() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_line_items_tracking_categories_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_PAYMENT_TERM: - return payments_line_items_tracking_categories_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PAYMENT_TERM: - return payments_line_items_tracking_categories_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS: - return payments_line_items_tracking_categories_purchase_orders() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD: - return payments_line_items_tracking_categories_purchase_orders_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return ( - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return ( - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return ( - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return ( - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY: - return payments_line_items_tracking_categories_purchase_orders_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE: - return payments_line_items_tracking_categories_purchase_orders_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT: - return payments_line_items_tracking_categories_purchase_orders_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY: - return payments_line_items_tracking_categories_purchase_orders_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_line_items_tracking_categories_purchase_orders_contact_company_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_line_items_tracking_categories_purchase_orders_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_contact_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE: - return payments_line_items_tracking_categories_purchase_orders_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_contact_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE: - return payments_line_items_tracking_categories_purchase_orders_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_PAYMENT_TERM: - return payments_line_items_tracking_categories_purchase_orders_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PAYMENT_TERM: - return payments_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS: - return payments_purchase_orders() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_ACCOUNTING_PERIOD: - return payments_purchase_orders_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_purchase_orders_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES: - return payments_purchase_orders_applied_credit_notes() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD: - return payments_purchase_orders_applied_credit_notes_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS: - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return ( - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY: - return payments_purchase_orders_applied_credit_notes_company() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD: - return payments_purchase_orders_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE: - return payments_purchase_orders_applied_credit_notes_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_purchase_orders_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM: - return payments_purchase_orders_applied_credit_notes_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT: - return payments_purchase_orders_applied_credit_notes_contact() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD: - return payments_purchase_orders_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY: - return payments_purchase_orders_applied_credit_notes_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_purchase_orders_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE: - return payments_purchase_orders_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM: - return payments_purchase_orders_applied_credit_notes_contact_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE: - return payments_purchase_orders_applied_credit_notes_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_purchase_orders_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_contact_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM: - return payments_purchase_orders_applied_credit_notes_contact_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE: - return payments_purchase_orders_applied_credit_notes_employee() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_purchase_orders_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM: - return payments_purchase_orders_applied_credit_notes_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM: - return payments_purchase_orders_applied_credit_notes_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS: - return payments_purchase_orders_applied_vendor_credits() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD: - return payments_purchase_orders_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY: - return payments_purchase_orders_applied_vendor_credits_company() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD: - return payments_purchase_orders_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE: - return payments_purchase_orders_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_purchase_orders_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_purchase_orders_applied_vendor_credits_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM: - return payments_purchase_orders_applied_vendor_credits_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT: - return payments_purchase_orders_applied_vendor_credits_contact() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD: - return payments_purchase_orders_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY: - return payments_purchase_orders_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_purchase_orders_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE: - return payments_purchase_orders_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_purchase_orders_applied_vendor_credits_contact_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE: - return payments_purchase_orders_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_purchase_orders_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_purchase_orders_applied_vendor_credits_contact_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM: - return payments_purchase_orders_applied_vendor_credits_contact_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return payments_purchase_orders_applied_vendor_credits_employee() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_purchase_orders_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM: - return payments_purchase_orders_applied_vendor_credits_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return payments_purchase_orders_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_COMPANY: - return payments_purchase_orders_company() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD: - return payments_purchase_orders_company_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_purchase_orders_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE: - return payments_purchase_orders_company_employee() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_purchase_orders_company_employee_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_purchase_orders_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_purchase_orders_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM: - return payments_purchase_orders_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_CONTACT: - return payments_purchase_orders_contact() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD: - return payments_purchase_orders_contact_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_purchase_orders_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY: - return payments_purchase_orders_contact_company() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return payments_purchase_orders_contact_company_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_purchase_orders_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE: - return payments_purchase_orders_contact_company_employee() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_purchase_orders_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_contact_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_purchase_orders_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM: - return payments_purchase_orders_contact_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE: - return payments_purchase_orders_contact_employee() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_purchase_orders_contact_employee_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_purchase_orders_contact_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return payments_purchase_orders_contact_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM: - return payments_purchase_orders_contact_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_EMPLOYEE: - return payments_purchase_orders_employee() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_purchase_orders_employee_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_purchase_orders_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM: - return payments_purchase_orders_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_PAYMENT_TERM: - return payments_purchase_orders_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES: - return payments_tracking_categories() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return payments_tracking_categories_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_tracking_categories_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES: - return payments_tracking_categories_applied_credit_notes() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD: - return payments_tracking_categories_applied_credit_notes_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS: - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return ( - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return ( - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return ( - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY: - return payments_tracking_categories_applied_credit_notes_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE: - return payments_tracking_categories_applied_credit_notes_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM: - return payments_tracking_categories_applied_credit_notes_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT: - return payments_tracking_categories_applied_credit_notes_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY: - return payments_tracking_categories_applied_credit_notes_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE: - return payments_tracking_categories_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_contact_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE: - return payments_tracking_categories_applied_credit_notes_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_contact_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM: - return payments_tracking_categories_applied_credit_notes_contact_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE: - return payments_tracking_categories_applied_credit_notes_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM: - return payments_tracking_categories_applied_credit_notes_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_PAYMENT_TERM: - return payments_tracking_categories_applied_credit_notes_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS: - return payments_tracking_categories_applied_vendor_credits() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD: - return payments_tracking_categories_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY: - return payments_tracking_categories_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_vendor_credits_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE: - return payments_tracking_categories_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_applied_vendor_credits_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM: - return payments_tracking_categories_applied_vendor_credits_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT: - return payments_tracking_categories_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_vendor_credits_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY: - return payments_tracking_categories_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_tracking_categories_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_tracking_categories_applied_vendor_credits_contact_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE: - return payments_tracking_categories_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_applied_vendor_credits_contact_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM: - return payments_tracking_categories_applied_vendor_credits_contact_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return payments_tracking_categories_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_vendor_credits_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM: - return payments_tracking_categories_applied_vendor_credits_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return payments_tracking_categories_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_COMPANY: - return payments_tracking_categories_company() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return payments_tracking_categories_company_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_tracking_categories_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE: - return payments_tracking_categories_company_employee() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_tracking_categories_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_tracking_categories_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM: - return payments_tracking_categories_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT: - return payments_tracking_categories_contact() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD: - return payments_tracking_categories_contact_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_tracking_categories_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY: - return payments_tracking_categories_contact_company() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return payments_tracking_categories_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE: - return payments_tracking_categories_contact_company_employee() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_tracking_categories_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_contact_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_tracking_categories_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_PAYMENT_TERM: - return payments_tracking_categories_contact_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE: - return payments_tracking_categories_contact_employee() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_tracking_categories_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_contact_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_PAYMENT_TERM: - return payments_tracking_categories_contact_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT_PAYMENT_TERM: - return payments_tracking_categories_contact_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE: - return payments_tracking_categories_employee() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_tracking_categories_employee_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_tracking_categories_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE_PAYMENT_TERM: - return payments_tracking_categories_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PAYMENT_TERM: - return payments_tracking_categories_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS: - return payments_tracking_categories_purchase_orders() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD: - return payments_tracking_categories_purchase_orders_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES: - return payments_tracking_categories_purchase_orders_applied_credit_notes() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return ( - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term() - ) - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY: - return payments_tracking_categories_purchase_orders_applied_credit_notes_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT: - return payments_tracking_categories_purchase_orders_applied_credit_notes_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_contact_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE: - return payments_tracking_categories_purchase_orders_applied_credit_notes_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS: - return payments_tracking_categories_purchase_orders_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return ( - payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY: - return payments_tracking_categories_purchase_orders_company() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD: - return payments_tracking_categories_purchase_orders_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE: - return payments_tracking_categories_purchase_orders_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_tracking_categories_purchase_orders_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM: - return payments_tracking_categories_purchase_orders_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT: - return payments_tracking_categories_purchase_orders_contact() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD: - return payments_tracking_categories_purchase_orders_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY: - return payments_tracking_categories_purchase_orders_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE: - return payments_tracking_categories_purchase_orders_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_tracking_categories_purchase_orders_contact_company_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM: - return payments_tracking_categories_purchase_orders_contact_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE: - return payments_tracking_categories_purchase_orders_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_contact_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return payments_tracking_categories_purchase_orders_contact_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM: - return payments_tracking_categories_purchase_orders_contact_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE: - return payments_tracking_categories_purchase_orders_employee() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_tracking_categories_purchase_orders_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM: - return payments_tracking_categories_purchase_orders_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_PAYMENT_TERM: - return payments_tracking_categories_purchase_orders_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS: - return purchase_orders() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_ACCOUNTING_PERIOD: - return purchase_orders_accounting_period() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return purchase_orders_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES: - return purchase_orders_applied_credit_notes() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD: - return purchase_orders_applied_credit_notes_accounting_period() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM: - return purchase_orders_applied_credit_notes_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS: - return purchase_orders_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY: - return purchase_orders_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT: - return purchase_orders_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return purchase_orders_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY: - return purchase_orders_applied_credit_notes_company() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD: - return purchase_orders_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE: - return purchase_orders_applied_credit_notes_company_employee() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return purchase_orders_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM: - return purchase_orders_applied_credit_notes_company_employee_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM: - return purchase_orders_applied_credit_notes_company_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT: - return purchase_orders_applied_credit_notes_contact() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD: - return purchase_orders_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY: - return purchase_orders_applied_credit_notes_contact_company() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return purchase_orders_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE: - return purchase_orders_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return purchase_orders_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return purchase_orders_applied_credit_notes_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM: - return purchase_orders_applied_credit_notes_contact_company_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE: - return purchase_orders_applied_credit_notes_contact_employee() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return purchase_orders_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM: - return purchase_orders_applied_credit_notes_contact_employee_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM: - return purchase_orders_applied_credit_notes_contact_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE: - return purchase_orders_applied_credit_notes_employee() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD: - return purchase_orders_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM: - return purchase_orders_applied_credit_notes_employee_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM: - return purchase_orders_applied_credit_notes_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS: - return purchase_orders_applied_vendor_credits() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD: - return purchase_orders_applied_vendor_credits_accounting_period() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return purchase_orders_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY: - return purchase_orders_applied_vendor_credits_company() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD: - return purchase_orders_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_vendor_credits_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE: - return purchase_orders_applied_vendor_credits_company_employee() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return purchase_orders_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return purchase_orders_applied_vendor_credits_company_employee_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM: - return purchase_orders_applied_vendor_credits_company_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT: - return purchase_orders_applied_vendor_credits_contact() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD: - return purchase_orders_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY: - return purchase_orders_applied_vendor_credits_contact_company() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return purchase_orders_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE: - return purchase_orders_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return purchase_orders_applied_vendor_credits_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM: - return purchase_orders_applied_vendor_credits_contact_company_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE: - return purchase_orders_applied_vendor_credits_contact_employee() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return purchase_orders_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return purchase_orders_applied_vendor_credits_contact_employee_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM: - return purchase_orders_applied_vendor_credits_contact_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return purchase_orders_applied_vendor_credits_employee() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD: - return purchase_orders_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM: - return purchase_orders_applied_vendor_credits_employee_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return purchase_orders_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_COMPANY: - return purchase_orders_company() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD: - return purchase_orders_company_accounting_period() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return purchase_orders_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_COMPANY_EMPLOYEE: - return purchase_orders_company_employee() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return purchase_orders_company_employee_accounting_period() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return purchase_orders_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return purchase_orders_company_employee_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_COMPANY_PAYMENT_TERM: - return purchase_orders_company_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_CONTACT: - return purchase_orders_contact() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD: - return purchase_orders_contact_accounting_period() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return purchase_orders_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_CONTACT_COMPANY: - return purchase_orders_contact_company() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return purchase_orders_contact_company_accounting_period() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return purchase_orders_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE: - return purchase_orders_contact_company_employee() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return purchase_orders_contact_company_employee_accounting_period() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return purchase_orders_contact_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return purchase_orders_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM: - return purchase_orders_contact_company_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_CONTACT_EMPLOYEE: - return purchase_orders_contact_employee() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return purchase_orders_contact_employee_accounting_period() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return purchase_orders_contact_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return purchase_orders_contact_employee_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_CONTACT_PAYMENT_TERM: - return purchase_orders_contact_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_EMPLOYEE: - return purchase_orders_employee() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD: - return purchase_orders_employee_accounting_period() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return purchase_orders_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM: - return purchase_orders_employee_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_PAYMENT_TERM: - return purchase_orders_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES: - return tracking_categories() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return tracking_categories_accounting_period() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM: - return tracking_categories_accounting_period_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES: - return tracking_categories_applied_credit_notes() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD: - return tracking_categories_applied_credit_notes_accounting_period() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM: - return tracking_categories_applied_credit_notes_accounting_period_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS: - return tracking_categories_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY: - return tracking_categories_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_company_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT: - return tracking_categories_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return ( - tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return tracking_categories_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY: - return tracking_categories_applied_credit_notes_company() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE: - return tracking_categories_applied_credit_notes_company_employee() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM: - return tracking_categories_applied_credit_notes_company_employee_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM: - return tracking_categories_applied_credit_notes_company_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT: - return tracking_categories_applied_credit_notes_contact() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD: - return tracking_categories_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY: - return tracking_categories_applied_credit_notes_contact_company() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE: - return tracking_categories_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM: - return tracking_categories_applied_credit_notes_contact_company_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE: - return tracking_categories_applied_credit_notes_contact_employee() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_contact_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM: - return tracking_categories_applied_credit_notes_contact_employee_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM: - return tracking_categories_applied_credit_notes_contact_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE: - return tracking_categories_applied_credit_notes_employee() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD: - return tracking_categories_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM: - return tracking_categories_applied_credit_notes_employee_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_PAYMENT_TERM: - return tracking_categories_applied_credit_notes_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS: - return tracking_categories_applied_vendor_credits() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD: - return tracking_categories_applied_vendor_credits_accounting_period() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return tracking_categories_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY: - return tracking_categories_applied_vendor_credits_company() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_vendor_credits_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE: - return tracking_categories_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_vendor_credits_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return tracking_categories_applied_vendor_credits_company_employee_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM: - return tracking_categories_applied_vendor_credits_company_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT: - return tracking_categories_applied_vendor_credits_contact() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD: - return tracking_categories_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_vendor_credits_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY: - return tracking_categories_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return tracking_categories_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_vendor_credits_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE: - return tracking_categories_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return tracking_categories_applied_vendor_credits_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM: - return tracking_categories_applied_vendor_credits_contact_company_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE: - return tracking_categories_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return tracking_categories_applied_vendor_credits_contact_employee_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM: - return tracking_categories_applied_vendor_credits_contact_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return tracking_categories_applied_vendor_credits_employee() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD: - return tracking_categories_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_vendor_credits_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM: - return tracking_categories_applied_vendor_credits_employee_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return tracking_categories_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_COMPANY: - return tracking_categories_company() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_company_accounting_period() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return tracking_categories_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_COMPANY_EMPLOYEE: - return tracking_categories_company_employee() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return tracking_categories_company_employee_accounting_period() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return tracking_categories_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_COMPANY_EMPLOYEE_PAYMENT_TERM: - return tracking_categories_company_employee_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM: - return tracking_categories_company_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_CONTACT: - return tracking_categories_contact() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD: - return tracking_categories_contact_accounting_period() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return tracking_categories_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY: - return tracking_categories_contact_company() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_contact_company_accounting_period() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return tracking_categories_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE: - return tracking_categories_contact_company_employee() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return tracking_categories_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_contact_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return tracking_categories_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY_PAYMENT_TERM: - return tracking_categories_contact_company_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_CONTACT_EMPLOYEE: - return tracking_categories_contact_employee() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return tracking_categories_contact_employee_accounting_period() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return tracking_categories_contact_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_CONTACT_EMPLOYEE_PAYMENT_TERM: - return tracking_categories_contact_employee_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_CONTACT_PAYMENT_TERM: - return tracking_categories_contact_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_EMPLOYEE: - return tracking_categories_employee() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD: - return tracking_categories_employee_accounting_period() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return tracking_categories_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_EMPLOYEE_PAYMENT_TERM: - return tracking_categories_employee_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PAYMENT_TERM: - return tracking_categories_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS: - return tracking_categories_purchase_orders() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD: - return tracking_categories_purchase_orders_accounting_period() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return tracking_categories_purchase_orders_accounting_period_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES: - return tracking_categories_purchase_orders_applied_credit_notes() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD: - return tracking_categories_purchase_orders_applied_credit_notes_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return ( - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return ( - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return ( - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY: - return tracking_categories_purchase_orders_applied_credit_notes_company() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE: - return tracking_categories_purchase_orders_applied_credit_notes_company_employee() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_company_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT: - return tracking_categories_purchase_orders_applied_credit_notes_contact() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY: - return tracking_categories_purchase_orders_applied_credit_notes_contact_company() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_contact_company_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE: - return tracking_categories_purchase_orders_applied_credit_notes_contact_employee() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_contact_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE: - return tracking_categories_purchase_orders_applied_credit_notes_employee() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_employee_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM: - return tracking_categories_purchase_orders_applied_credit_notes_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS: - return tracking_categories_purchase_orders_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY: - return tracking_categories_purchase_orders_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return tracking_categories_purchase_orders_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_vendor_credits_company_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT: - return tracking_categories_purchase_orders_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY: - return tracking_categories_purchase_orders_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return tracking_categories_purchase_orders_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_vendor_credits_contact_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return tracking_categories_purchase_orders_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_vendor_credits_employee_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return tracking_categories_purchase_orders_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY: - return tracking_categories_purchase_orders_company() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_purchase_orders_company_accounting_period() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return tracking_categories_purchase_orders_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE: - return tracking_categories_purchase_orders_company_employee() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return tracking_categories_purchase_orders_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return tracking_categories_purchase_orders_company_employee_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM: - return tracking_categories_purchase_orders_company_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT: - return tracking_categories_purchase_orders_contact() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD: - return tracking_categories_purchase_orders_contact_accounting_period() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return tracking_categories_purchase_orders_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY: - return tracking_categories_purchase_orders_contact_company() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_purchase_orders_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE: - return tracking_categories_purchase_orders_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_contact_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return tracking_categories_purchase_orders_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM: - return tracking_categories_purchase_orders_contact_company_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE: - return tracking_categories_purchase_orders_contact_employee() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return tracking_categories_purchase_orders_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_contact_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return tracking_categories_purchase_orders_contact_employee_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM: - return tracking_categories_purchase_orders_contact_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE: - return tracking_categories_purchase_orders_employee() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD: - return tracking_categories_purchase_orders_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM: - return tracking_categories_purchase_orders_employee_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_PAYMENT_TERM: - return tracking_categories_purchase_orders_payment_term() diff --git a/src/merge/resources/accounting/resources/invoices/types/invoices_list_request_expand_item.py b/src/merge/resources/accounting/resources/invoices/types/invoices_list_request_expand_item.py new file mode 100644 index 00000000..85e63b2c --- /dev/null +++ b/src/merge/resources/accounting/resources/invoices/types/invoices_list_request_expand_item.py @@ -0,0 +1,61 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class InvoicesListRequestExpandItem(str, enum.Enum): + ACCOUNTING_PERIOD = "accounting_period" + APPLIED_CREDIT_NOTES = "applied_credit_notes" + APPLIED_PAYMENTS = "applied_payments" + APPLIED_VENDOR_CREDITS = "applied_vendor_credits" + COMPANY = "company" + CONTACT = "contact" + EMPLOYEE = "employee" + LINE_ITEMS = "line_items" + PAYMENT_TERM = "payment_term" + PAYMENTS = "payments" + PURCHASE_ORDERS = "purchase_orders" + TRACKING_CATEGORIES = "tracking_categories" + + def visit( + self, + accounting_period: typing.Callable[[], T_Result], + applied_credit_notes: typing.Callable[[], T_Result], + applied_payments: typing.Callable[[], T_Result], + applied_vendor_credits: typing.Callable[[], T_Result], + company: typing.Callable[[], T_Result], + contact: typing.Callable[[], T_Result], + employee: typing.Callable[[], T_Result], + line_items: typing.Callable[[], T_Result], + payment_term: typing.Callable[[], T_Result], + payments: typing.Callable[[], T_Result], + purchase_orders: typing.Callable[[], T_Result], + tracking_categories: typing.Callable[[], T_Result], + ) -> T_Result: + if self is InvoicesListRequestExpandItem.ACCOUNTING_PERIOD: + return accounting_period() + if self is InvoicesListRequestExpandItem.APPLIED_CREDIT_NOTES: + return applied_credit_notes() + if self is InvoicesListRequestExpandItem.APPLIED_PAYMENTS: + return applied_payments() + if self is InvoicesListRequestExpandItem.APPLIED_VENDOR_CREDITS: + return applied_vendor_credits() + if self is InvoicesListRequestExpandItem.COMPANY: + return company() + if self is InvoicesListRequestExpandItem.CONTACT: + return contact() + if self is InvoicesListRequestExpandItem.EMPLOYEE: + return employee() + if self is InvoicesListRequestExpandItem.LINE_ITEMS: + return line_items() + if self is InvoicesListRequestExpandItem.PAYMENT_TERM: + return payment_term() + if self is InvoicesListRequestExpandItem.PAYMENTS: + return payments() + if self is InvoicesListRequestExpandItem.PURCHASE_ORDERS: + return purchase_orders() + if self is InvoicesListRequestExpandItem.TRACKING_CATEGORIES: + return tracking_categories() diff --git a/src/merge/resources/accounting/resources/invoices/types/invoices_list_request_remote_fields.py b/src/merge/resources/accounting/resources/invoices/types/invoices_list_request_remote_fields.py new file mode 100644 index 00000000..43fc7fd3 --- /dev/null +++ b/src/merge/resources/accounting/resources/invoices/types/invoices_list_request_remote_fields.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class InvoicesListRequestRemoteFields(str, enum.Enum): + TYPE = "type" + + def visit(self, type: typing.Callable[[], T_Result]) -> T_Result: + if self is InvoicesListRequestRemoteFields.TYPE: + return type() diff --git a/src/merge/resources/accounting/resources/invoices/types/invoices_list_request_show_enum_origins.py b/src/merge/resources/accounting/resources/invoices/types/invoices_list_request_show_enum_origins.py new file mode 100644 index 00000000..ad176ddc --- /dev/null +++ b/src/merge/resources/accounting/resources/invoices/types/invoices_list_request_show_enum_origins.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class InvoicesListRequestShowEnumOrigins(str, enum.Enum): + TYPE = "type" + + def visit(self, type: typing.Callable[[], T_Result]) -> T_Result: + if self is InvoicesListRequestShowEnumOrigins.TYPE: + return type() diff --git a/src/merge/resources/accounting/resources/invoices/types/invoices_retrieve_request_expand.py b/src/merge/resources/accounting/resources/invoices/types/invoices_retrieve_request_expand.py deleted file mode 100644 index 94eda58f..00000000 --- a/src/merge/resources/accounting/resources/invoices/types/invoices_retrieve_request_expand.py +++ /dev/null @@ -1,35724 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class InvoicesRetrieveRequestExpand(str, enum.Enum): - ACCOUNTING_PERIOD = "accounting_period" - ACCOUNTING_PERIOD_PAYMENT_TERM = "accounting_period,payment_term" - APPLIED_CREDIT_NOTES = "applied_credit_notes" - APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = "applied_credit_notes,accounting_period" - APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_credit_notes,accounting_period,payment_term" - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = "applied_credit_notes,applied_vendor_credits" - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "applied_credit_notes,applied_vendor_credits,accounting_period" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = "applied_credit_notes,applied_vendor_credits,company" - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "applied_credit_notes,applied_vendor_credits,company,employee" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = "applied_credit_notes,applied_vendor_credits,contact" - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "applied_credit_notes,applied_vendor_credits,contact,company" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "applied_credit_notes,applied_vendor_credits,contact,employee" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = "applied_credit_notes,applied_vendor_credits,employee" - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "applied_credit_notes,applied_vendor_credits,payment_term" - ) - APPLIED_CREDIT_NOTES_COMPANY = "applied_credit_notes,company" - APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = "applied_credit_notes,company,accounting_period" - APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_credit_notes,company,accounting_period,payment_term" - ) - APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = "applied_credit_notes,company,employee" - APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_credit_notes,company,employee,accounting_period" - APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_credit_notes,company,employee,accounting_period,payment_term" - ) - APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_credit_notes,company,employee,payment_term" - APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = "applied_credit_notes,company,payment_term" - APPLIED_CREDIT_NOTES_CONTACT = "applied_credit_notes,contact" - APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = "applied_credit_notes,contact,accounting_period" - APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_credit_notes,contact,accounting_period,payment_term" - ) - APPLIED_CREDIT_NOTES_CONTACT_COMPANY = "applied_credit_notes,contact,company" - APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = "applied_credit_notes,contact,company,accounting_period" - APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_credit_notes,contact,company,accounting_period,payment_term" - ) - APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = "applied_credit_notes,contact,company,employee" - APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_credit_notes,contact,company,employee,accounting_period" - ) - APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_credit_notes,contact,company,employee,accounting_period,payment_term" - ) - APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_credit_notes,contact,company,employee,payment_term" - ) - APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = "applied_credit_notes,contact,company,payment_term" - APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = "applied_credit_notes,contact,employee" - APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "applied_credit_notes,contact,employee,accounting_period" - APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = "applied_credit_notes,contact,employee,payment_term" - APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = "applied_credit_notes,contact,payment_term" - APPLIED_CREDIT_NOTES_EMPLOYEE = "applied_credit_notes,employee" - APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = "applied_credit_notes,employee,accounting_period" - APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_credit_notes,employee,accounting_period,payment_term" - ) - APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = "applied_credit_notes,employee,payment_term" - APPLIED_CREDIT_NOTES_PAYMENT_TERM = "applied_credit_notes,payment_term" - APPLIED_PAYMENTS = "applied_payments" - APPLIED_PAYMENTS_ACCOUNTING_PERIOD = "applied_payments,accounting_period" - APPLIED_PAYMENTS_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,accounting_period,payment_term" - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES = "applied_payments,applied_credit_notes" - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = "applied_payments,applied_credit_notes,accounting_period" - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "applied_payments,applied_credit_notes,applied_vendor_credits" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,company" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,company,employee" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,contact" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,employee" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY = "applied_payments,applied_credit_notes,company" - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,applied_credit_notes,company,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = "applied_payments,applied_credit_notes,company,employee" - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,applied_credit_notes,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,company,employee,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,company,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT = "applied_payments,applied_credit_notes,contact" - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,applied_credit_notes,contact,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = "applied_payments,applied_credit_notes,contact,company" - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,applied_credit_notes,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,applied_credit_notes,contact,company,employee" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,applied_credit_notes,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,contact,company,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = "applied_payments,applied_credit_notes,contact,employee" - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,applied_credit_notes,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,contact,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE = "applied_payments,applied_credit_notes,employee" - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,applied_credit_notes,employee,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,employee,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = "applied_payments,applied_credit_notes,payment_term" - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS = "applied_payments,applied_vendor_credits" - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "applied_payments,applied_vendor_credits,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_vendor_credits,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY = "applied_payments,applied_vendor_credits,company" - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,applied_vendor_credits,company,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_vendor_credits,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "applied_payments,applied_vendor_credits,company,employee" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,applied_vendor_credits,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,applied_vendor_credits,company,employee,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "applied_payments,applied_vendor_credits,company,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT = "applied_payments,applied_vendor_credits,contact" - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,applied_vendor_credits,contact,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_vendor_credits,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = "applied_payments,applied_vendor_credits,contact,company" - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,applied_vendor_credits,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,applied_vendor_credits,contact,company,employee" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,applied_vendor_credits,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,applied_vendor_credits,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,applied_vendor_credits,contact,company,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "applied_payments,applied_vendor_credits,contact,employee" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,applied_vendor_credits,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,applied_vendor_credits,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "applied_payments,applied_vendor_credits,contact,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE = "applied_payments,applied_vendor_credits,employee" - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,applied_vendor_credits,employee,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_vendor_credits,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,applied_vendor_credits,employee,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = "applied_payments,applied_vendor_credits,payment_term" - APPLIED_PAYMENTS_COMPANY = "applied_payments,company" - APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD = "applied_payments,company,accounting_period" - APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,company,accounting_period,payment_term" - APPLIED_PAYMENTS_COMPANY_EMPLOYEE = "applied_payments,company,employee" - APPLIED_PAYMENTS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,company,employee,accounting_period" - APPLIED_PAYMENTS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_payments,company,employee,payment_term" - APPLIED_PAYMENTS_COMPANY_PAYMENT_TERM = "applied_payments,company,payment_term" - APPLIED_PAYMENTS_CONTACT = "applied_payments,contact" - APPLIED_PAYMENTS_CONTACT_ACCOUNTING_PERIOD = "applied_payments,contact,accounting_period" - APPLIED_PAYMENTS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,contact,accounting_period,payment_term" - APPLIED_PAYMENTS_CONTACT_COMPANY = "applied_payments,contact,company" - APPLIED_PAYMENTS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "applied_payments,contact,company,accounting_period" - APPLIED_PAYMENTS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,contact,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_CONTACT_COMPANY_EMPLOYEE = "applied_payments,contact,company,employee" - APPLIED_PAYMENTS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,contact,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_payments,contact,company,employee,payment_term" - APPLIED_PAYMENTS_CONTACT_COMPANY_PAYMENT_TERM = "applied_payments,contact,company,payment_term" - APPLIED_PAYMENTS_CONTACT_EMPLOYEE = "applied_payments,contact,employee" - APPLIED_PAYMENTS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,contact,employee,accounting_period" - APPLIED_PAYMENTS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,contact,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_CONTACT_EMPLOYEE_PAYMENT_TERM = "applied_payments,contact,employee,payment_term" - APPLIED_PAYMENTS_CONTACT_PAYMENT_TERM = "applied_payments,contact,payment_term" - APPLIED_PAYMENTS_EMPLOYEE = "applied_payments,employee" - APPLIED_PAYMENTS_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,employee,accounting_period" - APPLIED_PAYMENTS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_EMPLOYEE_PAYMENT_TERM = "applied_payments,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS = "applied_payments,line_items" - APPLIED_PAYMENTS_LINE_ITEMS_ACCOUNTING_PERIOD = "applied_payments,line_items,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES = "applied_payments,line_items,applied_credit_notes" - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_credit_notes,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY = ( - "applied_payments,line_items,applied_credit_notes,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_credit_notes,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,applied_credit_notes,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_credit_notes,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT = ( - "applied_payments,line_items,applied_credit_notes,contact" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_credit_notes,contact,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "applied_payments,line_items,applied_credit_notes,contact,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_credit_notes,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,applied_credit_notes,contact,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_credit_notes,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,contact,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "applied_payments,line_items,applied_credit_notes,contact,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_credit_notes,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,contact,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "applied_payments,line_items,applied_credit_notes,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_credit_notes,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS = "applied_payments,line_items,applied_vendor_credits" - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_vendor_credits,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_vendor_credits,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY = ( - "applied_payments,line_items,applied_vendor_credits,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_vendor_credits,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_vendor_credits,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,applied_vendor_credits,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_vendor_credits,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,applied_vendor_credits,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,applied_vendor_credits,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT = ( - "applied_payments,line_items,applied_vendor_credits,contact" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_vendor_credits,contact,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_vendor_credits,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "applied_payments,line_items,applied_vendor_credits,contact,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_vendor_credits,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,applied_vendor_credits,contact,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,applied_vendor_credits,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,applied_vendor_credits,contact,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "applied_payments,line_items,applied_vendor_credits,contact,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_vendor_credits,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,applied_vendor_credits,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "applied_payments,line_items,applied_vendor_credits,contact,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "applied_payments,line_items,applied_vendor_credits,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_vendor_credits,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_vendor_credits,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,applied_vendor_credits,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "applied_payments,line_items,applied_vendor_credits,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_COMPANY = "applied_payments,line_items,company" - APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD = "applied_payments,line_items,company,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE = "applied_payments,line_items,company,employee" - APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_PAYMENT_TERM = "applied_payments,line_items,company,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT = "applied_payments,line_items,contact" - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD = "applied_payments,line_items,contact,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY = "applied_payments,line_items,contact,company" - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,contact,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE = "applied_payments,line_items,contact,company,employee" - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,contact,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,contact,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE = "applied_payments,line_items,contact,employee" - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,contact,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_PAYMENT_TERM = "applied_payments,line_items,contact,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_EMPLOYEE = "applied_payments,line_items,employee" - APPLIED_PAYMENTS_LINE_ITEMS_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_EMPLOYEE_PAYMENT_TERM = "applied_payments,line_items,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PAYMENT_TERM = "applied_payments,line_items,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS = "applied_payments,line_items,purchase_orders" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY = "applied_payments,line_items,purchase_orders,company" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,purchase_orders,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT = "applied_payments,line_items,purchase_orders,contact" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,contact,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY = ( - "applied_payments,line_items,purchase_orders,contact,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,contact,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,purchase_orders,contact,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,contact,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,contact,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE = ( - "applied_payments,line_items,purchase_orders,contact,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,contact,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,contact,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE = "applied_payments,line_items,purchase_orders,employee" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES = "applied_payments,line_items,tracking_categories" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY = "applied_payments,line_items,tracking_categories,company" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT = "applied_payments,line_items,tracking_categories,contact" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,contact,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY = ( - "applied_payments,line_items,tracking_categories,contact,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,contact,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,contact,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,contact,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,contact,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,contact,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,contact,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,contact,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS = ( - "applied_payments,line_items,tracking_categories,purchase_orders" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,purchase_orders,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY = ( - "applied_payments,line_items,tracking_categories,purchase_orders,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,purchase_orders,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,purchase_orders,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT = ( - "applied_payments,line_items,tracking_categories,purchase_orders,contact" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,purchase_orders,contact,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY = ( - "applied_payments,line_items,tracking_categories,purchase_orders,contact,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,purchase_orders,contact,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,contact,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,purchase_orders,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,purchase_orders,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,payment_term" - ) - APPLIED_PAYMENTS_PAYMENT_TERM = "applied_payments,payment_term" - APPLIED_PAYMENTS_PURCHASE_ORDERS = "applied_payments,purchase_orders" - APPLIED_PAYMENTS_PURCHASE_ORDERS_ACCOUNTING_PERIOD = "applied_payments,purchase_orders,accounting_period" - APPLIED_PAYMENTS_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES = "applied_payments,purchase_orders,applied_credit_notes" - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_credit_notes,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY = ( - "applied_payments,purchase_orders,applied_credit_notes,company" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_credit_notes,company,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "applied_payments,purchase_orders,applied_credit_notes,company,employee" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_credit_notes,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,company,employee,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,company,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT = ( - "applied_payments,purchase_orders,applied_credit_notes,contact" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_credit_notes,contact,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "applied_payments,purchase_orders,applied_credit_notes,contact,company" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_credit_notes,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,purchase_orders,applied_credit_notes,contact,company,employee" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,contact,company,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "applied_payments,purchase_orders,applied_credit_notes,contact,employee" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,contact,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "applied_payments,purchase_orders,applied_credit_notes,employee" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_credit_notes,employee,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,employee,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS = "applied_payments,purchase_orders,applied_vendor_credits" - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_vendor_credits,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY = ( - "applied_payments,purchase_orders,applied_vendor_credits,company" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_vendor_credits,company,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "applied_payments,purchase_orders,applied_vendor_credits,company,employee" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_vendor_credits,company,employee,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_vendor_credits,company,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT = ( - "applied_payments,purchase_orders,applied_vendor_credits,contact" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_vendor_credits,contact,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "applied_payments,purchase_orders,applied_vendor_credits,contact,company" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_vendor_credits,contact,company,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "applied_payments,purchase_orders,applied_vendor_credits,contact,employee" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_vendor_credits,contact,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "applied_payments,purchase_orders,applied_vendor_credits,employee" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_vendor_credits,employee,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_vendor_credits,employee,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_vendor_credits,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY = "applied_payments,purchase_orders,company" - APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,company,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE = "applied_payments,purchase_orders,company,employee" - APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,purchase_orders,company,employee,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM = "applied_payments,purchase_orders,company,payment_term" - APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT = "applied_payments,purchase_orders,contact" - APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,contact,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY = "applied_payments,purchase_orders,contact,company" - APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,contact,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,purchase_orders,contact,company,employee" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,contact,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,purchase_orders,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,purchase_orders,contact,company,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE = "applied_payments,purchase_orders,contact,employee" - APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,contact,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,purchase_orders,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM = "applied_payments,purchase_orders,contact,payment_term" - APPLIED_PAYMENTS_PURCHASE_ORDERS_EMPLOYEE = "applied_payments,purchase_orders,employee" - APPLIED_PAYMENTS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,employee,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM = "applied_payments,purchase_orders,employee,payment_term" - APPLIED_PAYMENTS_PURCHASE_ORDERS_PAYMENT_TERM = "applied_payments,purchase_orders,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES = "applied_payments,tracking_categories" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "applied_payments,tracking_categories,accounting_period" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES = ( - "applied_payments,tracking_categories,applied_credit_notes" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_credit_notes,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY = ( - "applied_payments,tracking_categories,applied_credit_notes,company" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_credit_notes,company,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "applied_payments,tracking_categories,applied_credit_notes,company,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_credit_notes,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,company,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,company,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT = ( - "applied_payments,tracking_categories,applied_credit_notes,contact" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_credit_notes,contact,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "applied_payments,tracking_categories,applied_credit_notes,contact,company" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_credit_notes,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,tracking_categories,applied_credit_notes,contact,company,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,contact,company,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "applied_payments,tracking_categories,applied_credit_notes,contact,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,contact,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "applied_payments,tracking_categories,applied_credit_notes,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_credit_notes,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS = ( - "applied_payments,tracking_categories,applied_vendor_credits" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_vendor_credits,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_vendor_credits,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "applied_payments,tracking_categories,applied_vendor_credits,company" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_vendor_credits,company,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "applied_payments,tracking_categories,applied_vendor_credits,company,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_vendor_credits,company,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_vendor_credits,company,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "applied_payments,tracking_categories,applied_vendor_credits,contact" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_vendor_credits,contact,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "applied_payments,tracking_categories,applied_vendor_credits,contact,company" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_vendor_credits,contact,company,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "applied_payments,tracking_categories,applied_vendor_credits,contact,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_vendor_credits,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_vendor_credits,contact,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "applied_payments,tracking_categories,applied_vendor_credits,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_vendor_credits,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_vendor_credits,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_vendor_credits,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY = "applied_payments,tracking_categories,company" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,company,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE = "applied_payments,tracking_categories,company,employee" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,company,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM = ( - "applied_payments,tracking_categories,company,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT = "applied_payments,tracking_categories,contact" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,contact,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY = "applied_payments,tracking_categories,contact,company" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,contact,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,tracking_categories,contact,company,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,contact,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,tracking_categories,contact,company,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE = "applied_payments,tracking_categories,contact,employee" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,contact,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_PAYMENT_TERM = ( - "applied_payments,tracking_categories,contact,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE = "applied_payments,tracking_categories,employee" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PAYMENT_TERM = "applied_payments,tracking_categories,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS = "applied_payments,tracking_categories,purchase_orders" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY = ( - "applied_payments,tracking_categories,purchase_orders,company" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,company,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE = ( - "applied_payments,tracking_categories,purchase_orders,company,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,company,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,company,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT = ( - "applied_payments,tracking_categories,purchase_orders,contact" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,contact,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY = ( - "applied_payments,tracking_categories,purchase_orders,contact,company" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,tracking_categories,purchase_orders,contact,company,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,contact,company,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE = ( - "applied_payments,tracking_categories,purchase_orders,contact,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,contact,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE = ( - "applied_payments,tracking_categories,purchase_orders,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,payment_term" - ) - APPLIED_VENDOR_CREDITS = "applied_vendor_credits" - APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = "applied_vendor_credits,accounting_period" - APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_vendor_credits,accounting_period,payment_term" - APPLIED_VENDOR_CREDITS_COMPANY = "applied_vendor_credits,company" - APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = "applied_vendor_credits,company,accounting_period" - APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_vendor_credits,company,accounting_period,payment_term" - ) - APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = "applied_vendor_credits,company,employee" - APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_vendor_credits,company,employee,accounting_period" - ) - APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_vendor_credits,company,employee,payment_term" - APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = "applied_vendor_credits,company,payment_term" - APPLIED_VENDOR_CREDITS_CONTACT = "applied_vendor_credits,contact" - APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = "applied_vendor_credits,contact,accounting_period" - APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_vendor_credits,contact,accounting_period,payment_term" - ) - APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = "applied_vendor_credits,contact,company" - APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_vendor_credits,contact,company,accounting_period" - ) - APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = "applied_vendor_credits,contact,company,employee" - APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_vendor_credits,contact,company,employee,accounting_period" - ) - APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - ) - APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_vendor_credits,contact,company,employee,payment_term" - ) - APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = "applied_vendor_credits,contact,company,payment_term" - APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = "applied_vendor_credits,contact,employee" - APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_vendor_credits,contact,employee,accounting_period" - ) - APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = "applied_vendor_credits,contact,employee,payment_term" - APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = "applied_vendor_credits,contact,payment_term" - APPLIED_VENDOR_CREDITS_EMPLOYEE = "applied_vendor_credits,employee" - APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = "applied_vendor_credits,employee,accounting_period" - APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_vendor_credits,employee,accounting_period,payment_term" - ) - APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = "applied_vendor_credits,employee,payment_term" - APPLIED_VENDOR_CREDITS_PAYMENT_TERM = "applied_vendor_credits,payment_term" - COMPANY = "company" - COMPANY_ACCOUNTING_PERIOD = "company,accounting_period" - COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "company,accounting_period,payment_term" - COMPANY_EMPLOYEE = "company,employee" - COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "company,employee,accounting_period" - COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "company,employee,accounting_period,payment_term" - COMPANY_EMPLOYEE_PAYMENT_TERM = "company,employee,payment_term" - COMPANY_PAYMENT_TERM = "company,payment_term" - CONTACT = "contact" - CONTACT_ACCOUNTING_PERIOD = "contact,accounting_period" - CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "contact,accounting_period,payment_term" - CONTACT_COMPANY = "contact,company" - CONTACT_COMPANY_ACCOUNTING_PERIOD = "contact,company,accounting_period" - CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "contact,company,accounting_period,payment_term" - CONTACT_COMPANY_EMPLOYEE = "contact,company,employee" - CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "contact,company,employee,accounting_period" - CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "contact,company,employee,accounting_period,payment_term" - CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "contact,company,employee,payment_term" - CONTACT_COMPANY_PAYMENT_TERM = "contact,company,payment_term" - CONTACT_EMPLOYEE = "contact,employee" - CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "contact,employee,accounting_period" - CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "contact,employee,accounting_period,payment_term" - CONTACT_EMPLOYEE_PAYMENT_TERM = "contact,employee,payment_term" - CONTACT_PAYMENT_TERM = "contact,payment_term" - EMPLOYEE = "employee" - EMPLOYEE_ACCOUNTING_PERIOD = "employee,accounting_period" - EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "employee,accounting_period,payment_term" - EMPLOYEE_PAYMENT_TERM = "employee,payment_term" - LINE_ITEMS = "line_items" - LINE_ITEMS_ACCOUNTING_PERIOD = "line_items,accounting_period" - LINE_ITEMS_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,accounting_period,payment_term" - LINE_ITEMS_APPLIED_CREDIT_NOTES = "line_items,applied_credit_notes" - LINE_ITEMS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = "line_items,applied_credit_notes,accounting_period" - LINE_ITEMS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_credit_notes,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = "line_items,applied_credit_notes,applied_vendor_credits" - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "line_items,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "line_items,applied_credit_notes,applied_vendor_credits,company" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "line_items,applied_credit_notes,applied_vendor_credits,company,employee" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "line_items,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "line_items,applied_credit_notes,applied_vendor_credits,contact" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "line_items,applied_credit_notes,applied_vendor_credits,contact,company" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "line_items,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "line_items,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "line_items,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "line_items,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "line_items,applied_credit_notes,applied_vendor_credits,employee" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "line_items,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "line_items,applied_credit_notes,applied_vendor_credits,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY = "line_items,applied_credit_notes,company" - LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,applied_credit_notes,company,accounting_period" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_credit_notes,company,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = "line_items,applied_credit_notes,company,employee" - LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,applied_credit_notes,company,employee,accounting_period" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,applied_credit_notes,company,employee,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = "line_items,applied_credit_notes,company,payment_term" - LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT = "line_items,applied_credit_notes,contact" - LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "line_items,applied_credit_notes,contact,accounting_period" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_credit_notes,contact,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = "line_items,applied_credit_notes,contact,company" - LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,applied_credit_notes,contact,company,accounting_period" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "line_items,applied_credit_notes,contact,company,employee" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,applied_credit_notes,contact,company,employee,accounting_period" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,applied_credit_notes,contact,company,employee,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "line_items,applied_credit_notes,contact,company,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = "line_items,applied_credit_notes,contact,employee" - LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,applied_credit_notes,contact,employee,accounting_period" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "line_items,applied_credit_notes,contact,employee,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = "line_items,applied_credit_notes,contact,payment_term" - LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE = "line_items,applied_credit_notes,employee" - LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,applied_credit_notes,employee,accounting_period" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_credit_notes,employee,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = "line_items,applied_credit_notes,employee,payment_term" - LINE_ITEMS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = "line_items,applied_credit_notes,payment_term" - LINE_ITEMS_APPLIED_VENDOR_CREDITS = "line_items,applied_vendor_credits" - LINE_ITEMS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = "line_items,applied_vendor_credits,accounting_period" - LINE_ITEMS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_vendor_credits,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY = "line_items,applied_vendor_credits,company" - LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,applied_vendor_credits,company,accounting_period" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_vendor_credits,company,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = "line_items,applied_vendor_credits,company,employee" - LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,applied_vendor_credits,company,employee,accounting_period" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,applied_vendor_credits,company,employee,payment_term" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = "line_items,applied_vendor_credits,company,payment_term" - LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT = "line_items,applied_vendor_credits,contact" - LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "line_items,applied_vendor_credits,contact,accounting_period" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_vendor_credits,contact,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = "line_items,applied_vendor_credits,contact,company" - LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,applied_vendor_credits,contact,company,accounting_period" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "line_items,applied_vendor_credits,contact,company,employee" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,applied_vendor_credits,contact,company,employee,accounting_period" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,applied_vendor_credits,contact,company,employee,payment_term" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "line_items,applied_vendor_credits,contact,company,payment_term" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = "line_items,applied_vendor_credits,contact,employee" - LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,applied_vendor_credits,contact,employee,accounting_period" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "line_items,applied_vendor_credits,contact,employee,payment_term" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = "line_items,applied_vendor_credits,contact,payment_term" - LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE = "line_items,applied_vendor_credits,employee" - LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,applied_vendor_credits,employee,accounting_period" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_vendor_credits,employee,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = "line_items,applied_vendor_credits,employee,payment_term" - LINE_ITEMS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = "line_items,applied_vendor_credits,payment_term" - LINE_ITEMS_COMPANY = "line_items,company" - LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD = "line_items,company,accounting_period" - LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,company,accounting_period,payment_term" - LINE_ITEMS_COMPANY_EMPLOYEE = "line_items,company,employee" - LINE_ITEMS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "line_items,company,employee,accounting_period" - LINE_ITEMS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_COMPANY_EMPLOYEE_PAYMENT_TERM = "line_items,company,employee,payment_term" - LINE_ITEMS_COMPANY_PAYMENT_TERM = "line_items,company,payment_term" - LINE_ITEMS_CONTACT = "line_items,contact" - LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD = "line_items,contact,accounting_period" - LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,contact,accounting_period,payment_term" - LINE_ITEMS_CONTACT_COMPANY = "line_items,contact,company" - LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "line_items,contact,company,accounting_period" - LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,contact,company,accounting_period,payment_term" - ) - LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE = "line_items,contact,company,employee" - LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "line_items,contact,company,employee,accounting_period" - LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,contact,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "line_items,contact,company,employee,payment_term" - LINE_ITEMS_CONTACT_COMPANY_PAYMENT_TERM = "line_items,contact,company,payment_term" - LINE_ITEMS_CONTACT_EMPLOYEE = "line_items,contact,employee" - LINE_ITEMS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "line_items,contact,employee,accounting_period" - LINE_ITEMS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,contact,employee,accounting_period,payment_term" - ) - LINE_ITEMS_CONTACT_EMPLOYEE_PAYMENT_TERM = "line_items,contact,employee,payment_term" - LINE_ITEMS_CONTACT_PAYMENT_TERM = "line_items,contact,payment_term" - LINE_ITEMS_EMPLOYEE = "line_items,employee" - LINE_ITEMS_EMPLOYEE_ACCOUNTING_PERIOD = "line_items,employee,accounting_period" - LINE_ITEMS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,employee,accounting_period,payment_term" - LINE_ITEMS_EMPLOYEE_PAYMENT_TERM = "line_items,employee,payment_term" - LINE_ITEMS_PAYMENT_TERM = "line_items,payment_term" - LINE_ITEMS_PURCHASE_ORDERS = "line_items,purchase_orders" - LINE_ITEMS_PURCHASE_ORDERS_ACCOUNTING_PERIOD = "line_items,purchase_orders,accounting_period" - LINE_ITEMS_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES = "line_items,purchase_orders,applied_credit_notes" - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_credit_notes,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY = "line_items,purchase_orders,applied_credit_notes,company" - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_credit_notes,company,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "line_items,purchase_orders,applied_credit_notes,company,employee" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,company,employee,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,company,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT = "line_items,purchase_orders,applied_credit_notes,contact" - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_credit_notes,contact,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "line_items,purchase_orders,applied_credit_notes,contact,company" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "line_items,purchase_orders,applied_credit_notes,contact,company,employee" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,contact,company,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "line_items,purchase_orders,applied_credit_notes,contact,employee" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,contact,employee,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,contact,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "line_items,purchase_orders,applied_credit_notes,employee" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_credit_notes,employee,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,employee,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS = "line_items,purchase_orders,applied_vendor_credits" - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_vendor_credits,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY = ( - "line_items,purchase_orders,applied_vendor_credits,company" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_vendor_credits,company,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "line_items,purchase_orders,applied_vendor_credits,company,employee" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_vendor_credits,company,employee,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_vendor_credits,company,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT = ( - "line_items,purchase_orders,applied_vendor_credits,contact" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_vendor_credits,contact,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "line_items,purchase_orders,applied_vendor_credits,contact,company" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "line_items,purchase_orders,applied_vendor_credits,contact,company,employee" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_vendor_credits,contact,company,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "line_items,purchase_orders,applied_vendor_credits,contact,employee" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_vendor_credits,contact,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "line_items,purchase_orders,applied_vendor_credits,employee" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_vendor_credits,employee,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_vendor_credits,employee,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_vendor_credits,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_COMPANY = "line_items,purchase_orders,company" - LINE_ITEMS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD = "line_items,purchase_orders,company,accounting_period" - LINE_ITEMS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,company,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE = "line_items,purchase_orders,company,employee" - LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,company,employee,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,purchase_orders,company,employee,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM = "line_items,purchase_orders,company,payment_term" - LINE_ITEMS_PURCHASE_ORDERS_CONTACT = "line_items,purchase_orders,contact" - LINE_ITEMS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD = "line_items,purchase_orders,contact,accounting_period" - LINE_ITEMS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,contact,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY = "line_items,purchase_orders,contact,company" - LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,contact,company,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,contact,company,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE = "line_items,purchase_orders,contact,company,employee" - LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,contact,company,employee,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,contact,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,purchase_orders,contact,company,employee,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM = "line_items,purchase_orders,contact,company,payment_term" - LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE = "line_items,purchase_orders,contact,employee" - LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,contact,employee,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,contact,employee,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "line_items,purchase_orders,contact,employee,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM = "line_items,purchase_orders,contact,payment_term" - LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE = "line_items,purchase_orders,employee" - LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD = "line_items,purchase_orders,employee,accounting_period" - LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,employee,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM = "line_items,purchase_orders,employee,payment_term" - LINE_ITEMS_PURCHASE_ORDERS_PAYMENT_TERM = "line_items,purchase_orders,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES = "line_items,tracking_categories" - LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "line_items,tracking_categories,accounting_period" - LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES = "line_items,tracking_categories,applied_credit_notes" - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_credit_notes,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY = ( - "line_items,tracking_categories,applied_credit_notes,company" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_credit_notes,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,company,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "line_items,tracking_categories,applied_credit_notes,company,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,company,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,company,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT = ( - "line_items,tracking_categories,applied_credit_notes,contact" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_credit_notes,contact,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "line_items,tracking_categories,applied_credit_notes,contact,company" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "line_items,tracking_categories,applied_credit_notes,contact,company,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,contact,company,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,contact,company,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "line_items,tracking_categories,applied_credit_notes,contact,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,contact,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,contact,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "line_items,tracking_categories,applied_credit_notes,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_credit_notes,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS = "line_items,tracking_categories,applied_vendor_credits" - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_vendor_credits,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_vendor_credits,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "line_items,tracking_categories,applied_vendor_credits,company" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_vendor_credits,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "line_items,tracking_categories,applied_vendor_credits,company,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_vendor_credits,company,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_vendor_credits,company,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "line_items,tracking_categories,applied_vendor_credits,contact" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_vendor_credits,contact,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "line_items,tracking_categories,applied_vendor_credits,contact,company" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "line_items,tracking_categories,applied_vendor_credits,contact,company,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_vendor_credits,contact,company,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "line_items,tracking_categories,applied_vendor_credits,contact,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_vendor_credits,contact,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_vendor_credits,contact,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "line_items,tracking_categories,applied_vendor_credits,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_vendor_credits,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_vendor_credits,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_vendor_credits,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_COMPANY = "line_items,tracking_categories,company" - LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,company,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE = "line_items,tracking_categories,company,employee" - LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,company,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,company,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM = "line_items,tracking_categories,company,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT = "line_items,tracking_categories,contact" - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,contact,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,contact,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY = "line_items,tracking_categories,contact,company" - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,contact,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,contact,company,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE = "line_items,tracking_categories,contact,company,employee" - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,contact,company,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,contact,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,contact,company,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_PAYMENT_TERM = ( - "line_items,tracking_categories,contact,company,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE = "line_items,tracking_categories,contact,employee" - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,contact,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,contact,employee,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,contact,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_PAYMENT_TERM = "line_items,tracking_categories,contact,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE = "line_items,tracking_categories,employee" - LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,employee,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_PAYMENT_TERM = "line_items,tracking_categories,employee,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PAYMENT_TERM = "line_items,tracking_categories,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS = "line_items,tracking_categories,purchase_orders" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,company" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY = "line_items,tracking_categories,purchase_orders,company" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,company,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE = ( - "line_items,tracking_categories,purchase_orders,company,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,company,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,company,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,company,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT = "line_items,tracking_categories,purchase_orders,contact" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,contact,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,contact,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY = ( - "line_items,tracking_categories,purchase_orders,contact,company" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,contact,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE = ( - "line_items,tracking_categories,purchase_orders,contact,company,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,contact,company,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,contact,company,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE = ( - "line_items,tracking_categories,purchase_orders,contact,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,contact,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,contact,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,contact,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE = "line_items,tracking_categories,purchase_orders,employee" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,employee,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,payment_term" - ) - PAYMENT_TERM = "payment_term" - PAYMENTS = "payments" - PAYMENTS_ACCOUNTING_PERIOD = "payments,accounting_period" - PAYMENTS_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,accounting_period,payment_term" - PAYMENTS_APPLIED_CREDIT_NOTES = "payments,applied_credit_notes" - PAYMENTS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = "payments,applied_credit_notes,accounting_period" - PAYMENTS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_credit_notes,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = "payments,applied_credit_notes,applied_vendor_credits" - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,applied_credit_notes,applied_vendor_credits,company" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,applied_credit_notes,applied_vendor_credits,company,employee" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,applied_credit_notes,applied_vendor_credits,contact" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,applied_credit_notes,applied_vendor_credits,contact,company" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,applied_credit_notes,applied_vendor_credits,employee" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,applied_credit_notes,applied_vendor_credits,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY = "payments,applied_credit_notes,company" - PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = "payments,applied_credit_notes,company,accounting_period" - PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_credit_notes,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = "payments,applied_credit_notes,company,employee" - PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_credit_notes,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_credit_notes,company,employee,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = "payments,applied_credit_notes,company,payment_term" - PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT = "payments,applied_credit_notes,contact" - PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = "payments,applied_credit_notes,contact,accounting_period" - PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_credit_notes,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = "payments,applied_credit_notes,contact,company" - PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_credit_notes,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = "payments,applied_credit_notes,contact,company,employee" - PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_credit_notes,contact,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_credit_notes,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_credit_notes,contact,company,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = "payments,applied_credit_notes,contact,employee" - PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_credit_notes,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_credit_notes,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = "payments,applied_credit_notes,contact,payment_term" - PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE = "payments,applied_credit_notes,employee" - PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_credit_notes,employee,accounting_period" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_credit_notes,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = "payments,applied_credit_notes,employee,payment_term" - PAYMENTS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = "payments,applied_credit_notes,payment_term" - PAYMENTS_APPLIED_PAYMENTS = "payments,applied_payments" - PAYMENTS_APPLIED_PAYMENTS_ACCOUNTING_PERIOD = "payments,applied_payments,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES = "payments,applied_payments,applied_credit_notes" - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_credit_notes,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY = "payments,applied_payments,applied_credit_notes,company" - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_credit_notes,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "payments,applied_payments,applied_credit_notes,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_credit_notes,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT = "payments,applied_payments,applied_credit_notes,contact" - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_credit_notes,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "payments,applied_payments,applied_credit_notes,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_credit_notes,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,applied_credit_notes,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_credit_notes,contact,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "payments,applied_payments,applied_credit_notes,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_credit_notes,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE = "payments,applied_payments,applied_credit_notes,employee" - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_credit_notes,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS = "payments,applied_payments,applied_vendor_credits" - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_vendor_credits,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,applied_payments,applied_vendor_credits,company" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_vendor_credits,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,applied_payments,applied_vendor_credits,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_vendor_credits,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,applied_payments,applied_vendor_credits,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_vendor_credits,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,applied_payments,applied_vendor_credits,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_vendor_credits,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_vendor_credits,contact,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,applied_vendor_credits,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,applied_payments,applied_vendor_credits,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_vendor_credits,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,applied_payments,applied_vendor_credits,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_vendor_credits,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,applied_payments,applied_vendor_credits,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_COMPANY = "payments,applied_payments,company" - PAYMENTS_APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_COMPANY_EMPLOYEE = "payments,applied_payments,company,employee" - PAYMENTS_APPLIED_PAYMENTS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_COMPANY_PAYMENT_TERM = "payments,applied_payments,company,payment_term" - PAYMENTS_APPLIED_PAYMENTS_CONTACT = "payments,applied_payments,contact" - PAYMENTS_APPLIED_PAYMENTS_CONTACT_ACCOUNTING_PERIOD = "payments,applied_payments,contact,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY = "payments,applied_payments,contact,company" - PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,contact,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY_EMPLOYEE = "payments,applied_payments,contact,company,employee" - PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,contact,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY_PAYMENT_TERM = "payments,applied_payments,contact,company,payment_term" - PAYMENTS_APPLIED_PAYMENTS_CONTACT_EMPLOYEE = "payments,applied_payments,contact,employee" - PAYMENTS_APPLIED_PAYMENTS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_CONTACT_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,contact,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_CONTACT_PAYMENT_TERM = "payments,applied_payments,contact,payment_term" - PAYMENTS_APPLIED_PAYMENTS_EMPLOYEE = "payments,applied_payments,employee" - PAYMENTS_APPLIED_PAYMENTS_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS = "payments,applied_payments,line_items" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES = ( - "payments,applied_payments,line_items,applied_credit_notes" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_credit_notes,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY = ( - "payments,applied_payments,line_items,applied_credit_notes,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_credit_notes,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,applied_credit_notes,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_credit_notes,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT = ( - "payments,applied_payments,line_items,applied_credit_notes,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_credit_notes,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "payments,applied_payments,line_items,applied_credit_notes,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_credit_notes,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,applied_credit_notes,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_credit_notes,contact,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "payments,applied_payments,line_items,applied_credit_notes,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_credit_notes,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "payments,applied_payments,line_items,applied_credit_notes,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_credit_notes,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS = ( - "payments,applied_payments,line_items,applied_vendor_credits" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_vendor_credits,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,applied_payments,line_items,applied_vendor_credits,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_vendor_credits,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,applied_vendor_credits,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_vendor_credits,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,applied_payments,line_items,applied_vendor_credits,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_vendor_credits,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,applied_payments,line_items,applied_vendor_credits,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_vendor_credits,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_vendor_credits,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,applied_payments,line_items,applied_vendor_credits,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_vendor_credits,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,applied_payments,line_items,applied_vendor_credits,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_vendor_credits,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_vendor_credits,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY = "payments,applied_payments,line_items,company" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE = "payments,applied_payments,line_items,company,employee" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT = "payments,applied_payments,line_items,contact" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY = "payments,applied_payments,line_items,contact,company" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,contact,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,contact,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE = "payments,applied_payments,line_items,contact,employee" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,line_items,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_EMPLOYEE = "payments,applied_payments,line_items,employee" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PAYMENT_TERM = "payments,applied_payments,line_items,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS = "payments,applied_payments,line_items,purchase_orders" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY = ( - "payments,applied_payments,line_items,purchase_orders,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,purchase_orders,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT = ( - "payments,applied_payments,line_items,purchase_orders,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY = ( - "payments,applied_payments,line_items,purchase_orders,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,contact,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,purchase_orders,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,contact,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE = ( - "payments,applied_payments,line_items,purchase_orders,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE = ( - "payments,applied_payments,line_items,purchase_orders,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES = ( - "payments,applied_payments,line_items,tracking_categories" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY = ( - "payments,applied_payments,line_items,tracking_categories,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT = ( - "payments,applied_payments,line_items,tracking_categories,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY = ( - "payments,applied_payments,line_items,tracking_categories,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,contact,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,contact,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PAYMENT_TERM = "payments,applied_payments,payment_term" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS = "payments,applied_payments,purchase_orders" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES = ( - "payments,applied_payments,purchase_orders,applied_credit_notes" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,company" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,company" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY = "payments,applied_payments,purchase_orders,company" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE = ( - "payments,applied_payments,purchase_orders,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT = "payments,applied_payments,purchase_orders,contact" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY = ( - "payments,applied_payments,purchase_orders,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,contact,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,purchase_orders,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,contact,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE = ( - "payments,applied_payments,purchase_orders,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_EMPLOYEE = "payments,applied_payments,purchase_orders,employee" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_PAYMENT_TERM = "payments,applied_payments,purchase_orders,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES = "payments,applied_payments,tracking_categories" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES = ( - "payments,applied_payments,tracking_categories,applied_credit_notes" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,company" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,company" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY = "payments,applied_payments,tracking_categories,company" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT = "payments,applied_payments,tracking_categories,contact" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY = ( - "payments,applied_payments,tracking_categories,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,contact,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,contact,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE = "payments,applied_payments,tracking_categories,employee" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS = ( - "payments,applied_payments,tracking_categories,purchase_orders" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,purchase_orders,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY = ( - "payments,applied_payments,tracking_categories,purchase_orders,company" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,purchase_orders,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,purchase_orders,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,purchase_orders,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT = ( - "payments,applied_payments,tracking_categories,purchase_orders,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,purchase_orders,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY = ( - "payments,applied_payments,tracking_categories,purchase_orders,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,purchase_orders,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,purchase_orders,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,purchase_orders,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,purchase_orders,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,purchase_orders,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,purchase_orders,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,payment_term" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS = "payments,applied_vendor_credits" - PAYMENTS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = "payments,applied_vendor_credits,accounting_period" - PAYMENTS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY = "payments,applied_vendor_credits,company" - PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_vendor_credits,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = "payments,applied_vendor_credits,company,employee" - PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_vendor_credits,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = "payments,applied_vendor_credits,company,payment_term" - PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT = "payments,applied_vendor_credits,contact" - PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_vendor_credits,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = "payments,applied_vendor_credits,contact,company" - PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_vendor_credits,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_vendor_credits,contact,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_vendor_credits,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = "payments,applied_vendor_credits,contact,employee" - PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_vendor_credits,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = "payments,applied_vendor_credits,contact,payment_term" - PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE = "payments,applied_vendor_credits,employee" - PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_vendor_credits,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = "payments,applied_vendor_credits,employee,payment_term" - PAYMENTS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = "payments,applied_vendor_credits,payment_term" - PAYMENTS_COMPANY = "payments,company" - PAYMENTS_COMPANY_ACCOUNTING_PERIOD = "payments,company,accounting_period" - PAYMENTS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,company,accounting_period,payment_term" - PAYMENTS_COMPANY_EMPLOYEE = "payments,company,employee" - PAYMENTS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,company,employee,accounting_period" - PAYMENTS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,company,employee,accounting_period,payment_term" - ) - PAYMENTS_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,company,employee,payment_term" - PAYMENTS_COMPANY_PAYMENT_TERM = "payments,company,payment_term" - PAYMENTS_CONTACT = "payments,contact" - PAYMENTS_CONTACT_ACCOUNTING_PERIOD = "payments,contact,accounting_period" - PAYMENTS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,contact,accounting_period,payment_term" - PAYMENTS_CONTACT_COMPANY = "payments,contact,company" - PAYMENTS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,contact,company,accounting_period" - PAYMENTS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,contact,company,accounting_period,payment_term" - PAYMENTS_CONTACT_COMPANY_EMPLOYEE = "payments,contact,company,employee" - PAYMENTS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,contact,company,employee,accounting_period" - PAYMENTS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,contact,company,employee,payment_term" - PAYMENTS_CONTACT_COMPANY_PAYMENT_TERM = "payments,contact,company,payment_term" - PAYMENTS_CONTACT_EMPLOYEE = "payments,contact,employee" - PAYMENTS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,contact,employee,accounting_period" - PAYMENTS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_CONTACT_EMPLOYEE_PAYMENT_TERM = "payments,contact,employee,payment_term" - PAYMENTS_CONTACT_PAYMENT_TERM = "payments,contact,payment_term" - PAYMENTS_EMPLOYEE = "payments,employee" - PAYMENTS_EMPLOYEE_ACCOUNTING_PERIOD = "payments,employee,accounting_period" - PAYMENTS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,employee,accounting_period,payment_term" - PAYMENTS_EMPLOYEE_PAYMENT_TERM = "payments,employee,payment_term" - PAYMENTS_LINE_ITEMS = "payments,line_items" - PAYMENTS_LINE_ITEMS_ACCOUNTING_PERIOD = "payments,line_items,accounting_period" - PAYMENTS_LINE_ITEMS_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES = "payments,line_items,applied_credit_notes" - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_credit_notes,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,company" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,employee" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY = "payments,line_items,applied_credit_notes,company" - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_credit_notes,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "payments,line_items,applied_credit_notes,company,employee" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_credit_notes,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT = "payments,line_items,applied_credit_notes,contact" - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_credit_notes,contact,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,contact,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "payments,line_items,applied_credit_notes,contact,company" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_credit_notes,contact,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "payments,line_items,applied_credit_notes,contact,company,employee" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_credit_notes,contact,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,contact,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,contact,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "payments,line_items,applied_credit_notes,contact,employee" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_credit_notes,contact,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,contact,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,contact,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE = "payments,line_items,applied_credit_notes,employee" - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_credit_notes,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = "payments,line_items,applied_credit_notes,payment_term" - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS = "payments,line_items,applied_vendor_credits" - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_vendor_credits,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY = "payments,line_items,applied_vendor_credits,company" - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_vendor_credits,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,line_items,applied_vendor_credits,company,employee" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_vendor_credits,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,line_items,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT = "payments,line_items,applied_vendor_credits,contact" - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_vendor_credits,contact,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,line_items,applied_vendor_credits,contact,company" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_vendor_credits,contact,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,line_items,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,applied_vendor_credits,contact,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,line_items,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,line_items,applied_vendor_credits,contact,employee" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_vendor_credits,contact,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,line_items,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE = "payments,line_items,applied_vendor_credits,employee" - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_vendor_credits,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = "payments,line_items,applied_vendor_credits,payment_term" - PAYMENTS_LINE_ITEMS_COMPANY = "payments,line_items,company" - PAYMENTS_LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD = "payments,line_items,company,accounting_period" - PAYMENTS_LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE = "payments,line_items,company,employee" - PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,company,employee,accounting_period" - PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,company,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,line_items,company,employee,payment_term" - PAYMENTS_LINE_ITEMS_COMPANY_PAYMENT_TERM = "payments,line_items,company,payment_term" - PAYMENTS_LINE_ITEMS_CONTACT = "payments,line_items,contact" - PAYMENTS_LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD = "payments,line_items,contact,accounting_period" - PAYMENTS_LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,contact,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_CONTACT_COMPANY = "payments,line_items,contact,company" - PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,line_items,contact,company,accounting_period" - PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,contact,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE = "payments,line_items,contact,company,employee" - PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,contact,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,contact,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_PAYMENT_TERM = "payments,line_items,contact,company,payment_term" - PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE = "payments,line_items,contact,employee" - PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,contact,employee,accounting_period" - PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE_PAYMENT_TERM = "payments,line_items,contact,employee,payment_term" - PAYMENTS_LINE_ITEMS_CONTACT_PAYMENT_TERM = "payments,line_items,contact,payment_term" - PAYMENTS_LINE_ITEMS_EMPLOYEE = "payments,line_items,employee" - PAYMENTS_LINE_ITEMS_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,employee,accounting_period" - PAYMENTS_LINE_ITEMS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_EMPLOYEE_PAYMENT_TERM = "payments,line_items,employee,payment_term" - PAYMENTS_LINE_ITEMS_PAYMENT_TERM = "payments,line_items,payment_term" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS = "payments,line_items,purchase_orders" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_ACCOUNTING_PERIOD = "payments,line_items,purchase_orders,accounting_period" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES = ( - "payments,line_items,purchase_orders,applied_credit_notes" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_credit_notes,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY = ( - "payments,line_items,purchase_orders,applied_credit_notes,company" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "payments,line_items,purchase_orders,applied_credit_notes,company,employee" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT = ( - "payments,line_items,purchase_orders,applied_credit_notes,contact" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "payments,line_items,purchase_orders,applied_credit_notes,contact,company" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,contact,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "payments,line_items,purchase_orders,applied_credit_notes,contact,employee" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,contact,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,contact,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "payments,line_items,purchase_orders,applied_credit_notes,employee" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS = ( - "payments,line_items,purchase_orders,applied_vendor_credits" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_vendor_credits,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,line_items,purchase_orders,applied_vendor_credits,company" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,line_items,purchase_orders,applied_vendor_credits,company,employee" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,line_items,purchase_orders,applied_vendor_credits,contact" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,line_items,purchase_orders,applied_vendor_credits,contact,company" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,line_items,purchase_orders,applied_vendor_credits,contact,employee" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,line_items,purchase_orders,applied_vendor_credits,employee" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_vendor_credits,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY = "payments,line_items,purchase_orders,company" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE = "payments,line_items,purchase_orders,company,employee" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,company,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT = "payments,line_items,purchase_orders,contact" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,contact,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,contact,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY = "payments,line_items,purchase_orders,contact,company" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,contact,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,contact,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,line_items,purchase_orders,contact,company,employee" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,contact,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,contact,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,contact,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE = "payments,line_items,purchase_orders,contact,employee" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,contact,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,contact,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,contact,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE = "payments,line_items,purchase_orders,employee" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_PAYMENT_TERM = "payments,line_items,purchase_orders,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES = "payments,line_items,tracking_categories" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES = ( - "payments,line_items,tracking_categories,applied_credit_notes" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_credit_notes,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY = ( - "payments,line_items,tracking_categories,applied_credit_notes,company" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "payments,line_items,tracking_categories,applied_credit_notes,company,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT = ( - "payments,line_items,tracking_categories,applied_credit_notes,contact" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "payments,line_items,tracking_categories,applied_credit_notes,contact,company" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,contact,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "payments,line_items,tracking_categories,applied_credit_notes,contact,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,contact,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,contact,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "payments,line_items,tracking_categories,applied_credit_notes,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS = ( - "payments,line_items,tracking_categories,applied_vendor_credits" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_vendor_credits,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,line_items,tracking_categories,applied_vendor_credits,company" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,line_items,tracking_categories,applied_vendor_credits,company,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,line_items,tracking_categories,applied_vendor_credits,contact" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,line_items,tracking_categories,applied_vendor_credits,contact,company" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,line_items,tracking_categories,applied_vendor_credits,contact,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,line_items,tracking_categories,applied_vendor_credits,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_vendor_credits,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY = "payments,line_items,tracking_categories,company" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE = ( - "payments,line_items,tracking_categories,company,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,company,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT = "payments,line_items,tracking_categories,contact" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,contact,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,contact,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY = "payments,line_items,tracking_categories,contact,company" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,contact,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,contact,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE = ( - "payments,line_items,tracking_categories,contact,company,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,contact,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,contact,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,contact,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE = ( - "payments,line_items,tracking_categories,contact,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,contact,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,contact,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,contact,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE = "payments,line_items,tracking_categories,employee" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PAYMENT_TERM = "payments,line_items,tracking_categories,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS = "payments,line_items,tracking_categories,purchase_orders" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,purchase_orders,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY = ( - "payments,line_items,tracking_categories,purchase_orders,company" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,purchase_orders,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE = ( - "payments,line_items,tracking_categories,purchase_orders,company,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT = ( - "payments,line_items,tracking_categories,purchase_orders,contact" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,purchase_orders,contact,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,contact,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY = ( - "payments,line_items,tracking_categories,purchase_orders,contact,company" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,line_items,tracking_categories,purchase_orders,contact,company,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,contact,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,contact,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE = ( - "payments,line_items,tracking_categories,purchase_orders,contact,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,contact,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,contact,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE = ( - "payments,line_items,tracking_categories,purchase_orders,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,purchase_orders,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,payment_term" - ) - PAYMENTS_PAYMENT_TERM = "payments,payment_term" - PAYMENTS_PURCHASE_ORDERS = "payments,purchase_orders" - PAYMENTS_PURCHASE_ORDERS_ACCOUNTING_PERIOD = "payments,purchase_orders,accounting_period" - PAYMENTS_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,purchase_orders,accounting_period,payment_term" - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES = "payments,purchase_orders,applied_credit_notes" - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_credit_notes,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY = "payments,purchase_orders,applied_credit_notes,company" - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_credit_notes,company,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "payments,purchase_orders,applied_credit_notes,company,employee" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_credit_notes,company,employee,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,company,employee,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,company,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT = "payments,purchase_orders,applied_credit_notes,contact" - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_credit_notes,contact,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "payments,purchase_orders,applied_credit_notes,contact,company" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_credit_notes,contact,company,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "payments,purchase_orders,applied_credit_notes,contact,company,employee" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,contact,company,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "payments,purchase_orders,applied_credit_notes,contact,employee" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,contact,employee,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,contact,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE = "payments,purchase_orders,applied_credit_notes,employee" - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_credit_notes,employee,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,employee,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS = "payments,purchase_orders,applied_vendor_credits" - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_vendor_credits,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY = "payments,purchase_orders,applied_vendor_credits,company" - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,purchase_orders,applied_vendor_credits,company,employee" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,purchase_orders,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,purchase_orders,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT = "payments,purchase_orders,applied_vendor_credits,contact" - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,purchase_orders,applied_vendor_credits,contact,company" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,purchase_orders,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,purchase_orders,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,purchase_orders,applied_vendor_credits,contact,employee" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,purchase_orders,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,purchase_orders,applied_vendor_credits,employee" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,purchase_orders,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,purchase_orders,applied_vendor_credits,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_COMPANY = "payments,purchase_orders,company" - PAYMENTS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD = "payments,purchase_orders,company,accounting_period" - PAYMENTS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,company,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE = "payments,purchase_orders,company,employee" - PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,company,employee,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,company,employee,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,purchase_orders,company,employee,payment_term" - PAYMENTS_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM = "payments,purchase_orders,company,payment_term" - PAYMENTS_PURCHASE_ORDERS_CONTACT = "payments,purchase_orders,contact" - PAYMENTS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD = "payments,purchase_orders,contact,accounting_period" - PAYMENTS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,contact,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY = "payments,purchase_orders,contact,company" - PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,contact,company,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,contact,company,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE = "payments,purchase_orders,contact,company,employee" - PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,contact,company,employee,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,purchase_orders,contact,company,employee,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM = "payments,purchase_orders,contact,company,payment_term" - PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE = "payments,purchase_orders,contact,employee" - PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,contact,employee,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM = "payments,purchase_orders,contact,employee,payment_term" - PAYMENTS_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM = "payments,purchase_orders,contact,payment_term" - PAYMENTS_PURCHASE_ORDERS_EMPLOYEE = "payments,purchase_orders,employee" - PAYMENTS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD = "payments,purchase_orders,employee,accounting_period" - PAYMENTS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,employee,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM = "payments,purchase_orders,employee,payment_term" - PAYMENTS_PURCHASE_ORDERS_PAYMENT_TERM = "payments,purchase_orders,payment_term" - PAYMENTS_TRACKING_CATEGORIES = "payments,tracking_categories" - PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "payments,tracking_categories,accounting_period" - PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES = "payments,tracking_categories,applied_credit_notes" - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_credit_notes,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY = ( - "payments,tracking_categories,applied_credit_notes,company" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_credit_notes,company,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,company,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "payments,tracking_categories,applied_credit_notes,company,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_credit_notes,company,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,company,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,company,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT = ( - "payments,tracking_categories,applied_credit_notes,contact" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_credit_notes,contact,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "payments,tracking_categories,applied_credit_notes,contact,company" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_credit_notes,contact,company,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "payments,tracking_categories,applied_credit_notes,contact,company,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,contact,company,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,contact,company,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "payments,tracking_categories,applied_credit_notes,contact,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,contact,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,contact,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "payments,tracking_categories,applied_credit_notes,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_credit_notes,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS = "payments,tracking_categories,applied_vendor_credits" - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_vendor_credits,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,tracking_categories,applied_vendor_credits,company" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,tracking_categories,applied_vendor_credits,company,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,tracking_categories,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,tracking_categories,applied_vendor_credits,contact" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,tracking_categories,applied_vendor_credits,contact,company" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,tracking_categories,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,tracking_categories,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,tracking_categories,applied_vendor_credits,contact,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,tracking_categories,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,tracking_categories,applied_vendor_credits,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,tracking_categories,applied_vendor_credits,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_COMPANY = "payments,tracking_categories,company" - PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = "payments,tracking_categories,company,accounting_period" - PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,company,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE = "payments,tracking_categories,company,employee" - PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,company,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,company,employee,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,company,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM = "payments,tracking_categories,company,payment_term" - PAYMENTS_TRACKING_CATEGORIES_CONTACT = "payments,tracking_categories,contact" - PAYMENTS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = "payments,tracking_categories,contact,accounting_period" - PAYMENTS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,contact,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY = "payments,tracking_categories,contact,company" - PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,contact,company,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,contact,company,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE = "payments,tracking_categories,contact,company,employee" - PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,contact,company,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,contact,company,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,tracking_categories,contact,company,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE = "payments,tracking_categories,contact,employee" - PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,contact,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,contact,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_CONTACT_PAYMENT_TERM = "payments,tracking_categories,contact,payment_term" - PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE = "payments,tracking_categories,employee" - PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD = "payments,tracking_categories,employee,accounting_period" - PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,employee,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE_PAYMENT_TERM = "payments,tracking_categories,employee,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PAYMENT_TERM = "payments,tracking_categories,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS = "payments,tracking_categories,purchase_orders" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,company" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,company" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY = "payments,tracking_categories,purchase_orders,company" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,company,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,company,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE = ( - "payments,tracking_categories,purchase_orders,company,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,company,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,company,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,company,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT = "payments,tracking_categories,purchase_orders,contact" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,contact,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,contact,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY = ( - "payments,tracking_categories,purchase_orders,contact,company" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,contact,company,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,tracking_categories,purchase_orders,contact,company,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,contact,company,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,contact,company,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE = ( - "payments,tracking_categories,purchase_orders,contact,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,contact,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,contact,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,contact,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE = "payments,tracking_categories,purchase_orders,employee" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,employee,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,payment_term" - ) - PURCHASE_ORDERS = "purchase_orders" - PURCHASE_ORDERS_ACCOUNTING_PERIOD = "purchase_orders,accounting_period" - PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM = "purchase_orders,accounting_period,payment_term" - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES = "purchase_orders,applied_credit_notes" - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = "purchase_orders,applied_credit_notes,accounting_period" - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,company" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY = "purchase_orders,applied_credit_notes,company" - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_credit_notes,company,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = "purchase_orders,applied_credit_notes,company,employee" - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_credit_notes,company,employee,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,company,employee,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,company,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT = "purchase_orders,applied_credit_notes,contact" - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_credit_notes,contact,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = "purchase_orders,applied_credit_notes,contact,company" - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_credit_notes,contact,company,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "purchase_orders,applied_credit_notes,contact,company,employee" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,contact,company,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = "purchase_orders,applied_credit_notes,contact,employee" - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_credit_notes,contact,employee,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,contact,employee,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,contact,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE = "purchase_orders,applied_credit_notes,employee" - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_credit_notes,employee,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,employee,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = "purchase_orders,applied_credit_notes,payment_term" - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS = "purchase_orders,applied_vendor_credits" - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_vendor_credits,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_vendor_credits,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY = "purchase_orders,applied_vendor_credits,company" - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_vendor_credits,company,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = "purchase_orders,applied_vendor_credits,company,employee" - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_vendor_credits,company,employee,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "purchase_orders,applied_vendor_credits,company,employee,payment_term" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "purchase_orders,applied_vendor_credits,company,payment_term" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT = "purchase_orders,applied_vendor_credits,contact" - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_vendor_credits,contact,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = "purchase_orders,applied_vendor_credits,contact,company" - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_vendor_credits,contact,company,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "purchase_orders,applied_vendor_credits,contact,company,employee" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "purchase_orders,applied_vendor_credits,contact,company,payment_term" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = "purchase_orders,applied_vendor_credits,contact,employee" - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "purchase_orders,applied_vendor_credits,contact,employee,payment_term" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "purchase_orders,applied_vendor_credits,contact,payment_term" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE = "purchase_orders,applied_vendor_credits,employee" - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_vendor_credits,employee,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "purchase_orders,applied_vendor_credits,employee,payment_term" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = "purchase_orders,applied_vendor_credits,payment_term" - PURCHASE_ORDERS_COMPANY = "purchase_orders,company" - PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD = "purchase_orders,company,accounting_period" - PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "purchase_orders,company,accounting_period,payment_term" - PURCHASE_ORDERS_COMPANY_EMPLOYEE = "purchase_orders,company,employee" - PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "purchase_orders,company,employee,accounting_period" - PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,company,employee,accounting_period,payment_term" - ) - PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM = "purchase_orders,company,employee,payment_term" - PURCHASE_ORDERS_COMPANY_PAYMENT_TERM = "purchase_orders,company,payment_term" - PURCHASE_ORDERS_CONTACT = "purchase_orders,contact" - PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD = "purchase_orders,contact,accounting_period" - PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "purchase_orders,contact,accounting_period,payment_term" - PURCHASE_ORDERS_CONTACT_COMPANY = "purchase_orders,contact,company" - PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "purchase_orders,contact,company,accounting_period" - PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,contact,company,accounting_period,payment_term" - ) - PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE = "purchase_orders,contact,company,employee" - PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "purchase_orders,contact,company,employee,accounting_period" - ) - PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,contact,company,employee,accounting_period,payment_term" - ) - PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "purchase_orders,contact,company,employee,payment_term" - PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM = "purchase_orders,contact,company,payment_term" - PURCHASE_ORDERS_CONTACT_EMPLOYEE = "purchase_orders,contact,employee" - PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "purchase_orders,contact,employee,accounting_period" - PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,contact,employee,accounting_period,payment_term" - ) - PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM = "purchase_orders,contact,employee,payment_term" - PURCHASE_ORDERS_CONTACT_PAYMENT_TERM = "purchase_orders,contact,payment_term" - PURCHASE_ORDERS_EMPLOYEE = "purchase_orders,employee" - PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD = "purchase_orders,employee,accounting_period" - PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "purchase_orders,employee,accounting_period,payment_term" - PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM = "purchase_orders,employee,payment_term" - PURCHASE_ORDERS_PAYMENT_TERM = "purchase_orders,payment_term" - TRACKING_CATEGORIES = "tracking_categories" - TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "tracking_categories,accounting_period" - TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM = "tracking_categories,accounting_period,payment_term" - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES = "tracking_categories,applied_credit_notes" - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_credit_notes,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,company" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,employee" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY = "tracking_categories,applied_credit_notes,company" - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_credit_notes,company,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,company,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "tracking_categories,applied_credit_notes,company,employee" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_credit_notes,company,employee,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,company,employee,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,company,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT = "tracking_categories,applied_credit_notes,contact" - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_credit_notes,contact,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,contact,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "tracking_categories,applied_credit_notes,contact,company" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_credit_notes,contact,company,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "tracking_categories,applied_credit_notes,contact,company,employee" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_credit_notes,contact,company,employee,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,contact,company,employee,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,contact,company,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "tracking_categories,applied_credit_notes,contact,employee" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_credit_notes,contact,employee,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,contact,employee,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,contact,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE = "tracking_categories,applied_credit_notes,employee" - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_credit_notes,employee,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,employee,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_PAYMENT_TERM = "tracking_categories,applied_credit_notes,payment_term" - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS = "tracking_categories,applied_vendor_credits" - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_vendor_credits,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_vendor_credits,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY = "tracking_categories,applied_vendor_credits,company" - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_vendor_credits,company,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_vendor_credits,company,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "tracking_categories,applied_vendor_credits,company,employee" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_vendor_credits,company,employee,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,applied_vendor_credits,company,employee,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "tracking_categories,applied_vendor_credits,company,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT = "tracking_categories,applied_vendor_credits,contact" - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_vendor_credits,contact,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "tracking_categories,applied_vendor_credits,contact,company" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_vendor_credits,contact,company,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "tracking_categories,applied_vendor_credits,contact,company,employee" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,applied_vendor_credits,contact,company,employee,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "tracking_categories,applied_vendor_credits,contact,company,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "tracking_categories,applied_vendor_credits,contact,employee" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_vendor_credits,contact,employee,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,applied_vendor_credits,contact,employee,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "tracking_categories,applied_vendor_credits,contact,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE = "tracking_categories,applied_vendor_credits,employee" - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_vendor_credits,employee,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,applied_vendor_credits,employee,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = "tracking_categories,applied_vendor_credits,payment_term" - TRACKING_CATEGORIES_COMPANY = "tracking_categories,company" - TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,company,accounting_period" - TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,company,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_COMPANY_EMPLOYEE = "tracking_categories,company,employee" - TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "tracking_categories,company,employee,accounting_period" - TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,company,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_COMPANY_EMPLOYEE_PAYMENT_TERM = "tracking_categories,company,employee,payment_term" - TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM = "tracking_categories,company,payment_term" - TRACKING_CATEGORIES_CONTACT = "tracking_categories,contact" - TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = "tracking_categories,contact,accounting_period" - TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,contact,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_CONTACT_COMPANY = "tracking_categories,contact,company" - TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,contact,company,accounting_period" - TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,contact,company,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE = "tracking_categories,contact,company,employee" - TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,contact,company,employee,accounting_period" - ) - TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,contact,company,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,contact,company,employee,payment_term" - ) - TRACKING_CATEGORIES_CONTACT_COMPANY_PAYMENT_TERM = "tracking_categories,contact,company,payment_term" - TRACKING_CATEGORIES_CONTACT_EMPLOYEE = "tracking_categories,contact,employee" - TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "tracking_categories,contact,employee,accounting_period" - TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,contact,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_CONTACT_EMPLOYEE_PAYMENT_TERM = "tracking_categories,contact,employee,payment_term" - TRACKING_CATEGORIES_CONTACT_PAYMENT_TERM = "tracking_categories,contact,payment_term" - TRACKING_CATEGORIES_EMPLOYEE = "tracking_categories,employee" - TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD = "tracking_categories,employee,accounting_period" - TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_EMPLOYEE_PAYMENT_TERM = "tracking_categories,employee,payment_term" - TRACKING_CATEGORIES_PAYMENT_TERM = "tracking_categories,payment_term" - TRACKING_CATEGORIES_PURCHASE_ORDERS = "tracking_categories,purchase_orders" - TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD = "tracking_categories,purchase_orders,accounting_period" - TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES = ( - "tracking_categories,purchase_orders,applied_credit_notes" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_credit_notes,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY = ( - "tracking_categories,purchase_orders,applied_credit_notes,company" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "tracking_categories,purchase_orders,applied_credit_notes,company,employee" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,company,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT = ( - "tracking_categories,purchase_orders,applied_credit_notes,contact" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "tracking_categories,purchase_orders,applied_credit_notes,contact,company" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "tracking_categories,purchase_orders,applied_credit_notes,contact,employee" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "tracking_categories,purchase_orders,applied_credit_notes,employee" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS = ( - "tracking_categories,purchase_orders,applied_vendor_credits" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_vendor_credits,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY = ( - "tracking_categories,purchase_orders,applied_vendor_credits,company" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "tracking_categories,purchase_orders,applied_vendor_credits,company,employee" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT = ( - "tracking_categories,purchase_orders,applied_vendor_credits,contact" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "tracking_categories,purchase_orders,applied_vendor_credits,contact,company" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "tracking_categories,purchase_orders,applied_vendor_credits,contact,employee" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "tracking_categories,purchase_orders,applied_vendor_credits,employee" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_vendor_credits,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY = "tracking_categories,purchase_orders,company" - TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,company,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,company,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE = "tracking_categories,purchase_orders,company,employee" - TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,company,employee,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,company,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,company,employee,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,company,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT = "tracking_categories,purchase_orders,contact" - TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,contact,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,contact,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY = "tracking_categories,purchase_orders,contact,company" - TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,contact,company,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,contact,company,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE = ( - "tracking_categories,purchase_orders,contact,company,employee" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,contact,company,employee,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,contact,company,employee,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,contact,company,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE = "tracking_categories,purchase_orders,contact,employee" - TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,contact,employee,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,contact,employee,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,contact,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE = "tracking_categories,purchase_orders,employee" - TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,employee,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,employee,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_PAYMENT_TERM = "tracking_categories,purchase_orders,payment_term" - - def visit( - self, - accounting_period: typing.Callable[[], T_Result], - accounting_period_payment_term: typing.Callable[[], T_Result], - applied_credit_notes: typing.Callable[[], T_Result], - applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - applied_credit_notes_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_company: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_contact: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_employee: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_company: typing.Callable[[], T_Result], - applied_credit_notes_company_accounting_period: typing.Callable[[], T_Result], - applied_credit_notes_company_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_company_employee: typing.Callable[[], T_Result], - applied_credit_notes_company_employee_accounting_period: typing.Callable[[], T_Result], - applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_company_employee_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_company_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_contact: typing.Callable[[], T_Result], - applied_credit_notes_contact_accounting_period: typing.Callable[[], T_Result], - applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_contact_company: typing.Callable[[], T_Result], - applied_credit_notes_contact_company_accounting_period: typing.Callable[[], T_Result], - applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_contact_company_employee: typing.Callable[[], T_Result], - applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_contact_company_employee_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_contact_company_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - applied_credit_notes_contact_employee_accounting_period: typing.Callable[[], T_Result], - applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_contact_employee_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_contact_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_employee: typing.Callable[[], T_Result], - applied_credit_notes_employee_accounting_period: typing.Callable[[], T_Result], - applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_employee_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_payment_term: typing.Callable[[], T_Result], - applied_payments: typing.Callable[[], T_Result], - applied_payments_accounting_period: typing.Callable[[], T_Result], - applied_payments_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_applied_vendor_credits: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_company: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_company: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_company_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_company_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_company_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_contact: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_contact_accounting_period: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_contact_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_contact_company_employee: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_contact_company_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_contact_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_contact_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_contact_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_employee: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_company: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_company_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_vendor_credits_company_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_contact: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_contact_accounting_period: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_contact_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_vendor_credits_contact_company_employee: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_contact_company_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_vendor_credits_contact_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_employee: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - applied_payments_company: typing.Callable[[], T_Result], - applied_payments_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_company_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_company_employee: typing.Callable[[], T_Result], - applied_payments_company_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_company_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_company_payment_term: typing.Callable[[], T_Result], - applied_payments_contact: typing.Callable[[], T_Result], - applied_payments_contact_accounting_period: typing.Callable[[], T_Result], - applied_payments_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_contact_company: typing.Callable[[], T_Result], - applied_payments_contact_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_contact_company_employee: typing.Callable[[], T_Result], - applied_payments_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_contact_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_contact_company_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_contact_company_payment_term: typing.Callable[[], T_Result], - applied_payments_contact_employee: typing.Callable[[], T_Result], - applied_payments_contact_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_contact_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_contact_payment_term: typing.Callable[[], T_Result], - applied_payments_employee: typing.Callable[[], T_Result], - applied_payments_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items: typing.Callable[[], T_Result], - applied_payments_line_items_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_company: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_company_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_company_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_contact: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_contact_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_contact_company_employee: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_contact_company_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_contact_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_contact_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_employee: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_vendor_credits_company: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_vendor_credits_company_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits_contact: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits_contact_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_vendor_credits_contact_company_employee: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_vendor_credits_contact_company_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_vendor_credits_contact_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits_employee: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_company: typing.Callable[[], T_Result], - applied_payments_line_items_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_company_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_company_employee: typing.Callable[[], T_Result], - applied_payments_line_items_company_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_company_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_company_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_contact: typing.Callable[[], T_Result], - applied_payments_line_items_contact_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_contact_company: typing.Callable[[], T_Result], - applied_payments_line_items_contact_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_contact_company_employee: typing.Callable[[], T_Result], - applied_payments_line_items_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_contact_company_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_contact_company_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_contact_employee: typing.Callable[[], T_Result], - applied_payments_line_items_contact_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_contact_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_contact_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_employee: typing.Callable[[], T_Result], - applied_payments_line_items_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_applied_credit_notes: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_applied_credit_notes_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_company: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_applied_credit_notes_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_contact: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_applied_credit_notes_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_contact_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_contact_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_employee: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_applied_credit_notes_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_applied_vendor_credits: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_company: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_contact: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_employee: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_company: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_company_employee: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_company_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_company_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_company_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_contact: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_contact_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_contact_company: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_contact_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_contact_company_employee: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_contact_company_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_contact_employee: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_contact_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_contact_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_contact_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_employee: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_applied_credit_notes: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_applied_credit_notes_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_company: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_applied_credit_notes_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_contact: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_applied_credit_notes_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_contact_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_contact_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_employee: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_applied_credit_notes_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_company: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_contact: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_employee: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_company: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_company_employee: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_company_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_company_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_contact: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_contact_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_contact_company: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_contact_company_employee: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_contact_company_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_contact_employee: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_contact_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_contact_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_employee: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_purchase_orders: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_purchase_orders_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_company: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_purchase_orders_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_company_employee: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_purchase_orders_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_contact: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_purchase_orders_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_contact_company: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_purchase_orders_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_contact_employee: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_purchase_orders_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_contact_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_employee: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_purchase_orders_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_payment_term: typing.Callable[[], T_Result], - applied_payments_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders: typing.Callable[[], T_Result], - applied_payments_purchase_orders_accounting_period: typing.Callable[[], T_Result], - applied_payments_purchase_orders_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_credit_notes: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_company: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_credit_notes_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_company_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_credit_notes_contact: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_credit_notes_contact_accounting_period: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_contact_company_employee: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_contact_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_credit_notes_employee: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_credit_notes_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_vendor_credits: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_company: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_vendor_credits_contact: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_contact_company_employee: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_vendor_credits_employee: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_company: typing.Callable[[], T_Result], - applied_payments_purchase_orders_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_purchase_orders_company_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_company_employee: typing.Callable[[], T_Result], - applied_payments_purchase_orders_company_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_purchase_orders_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_company_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_company_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_contact: typing.Callable[[], T_Result], - applied_payments_purchase_orders_contact_accounting_period: typing.Callable[[], T_Result], - applied_payments_purchase_orders_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_contact_company: typing.Callable[[], T_Result], - applied_payments_purchase_orders_contact_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_purchase_orders_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_contact_company_employee: typing.Callable[[], T_Result], - applied_payments_purchase_orders_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_purchase_orders_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_contact_company_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_contact_company_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_contact_employee: typing.Callable[[], T_Result], - applied_payments_purchase_orders_contact_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_purchase_orders_contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_contact_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_contact_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_employee: typing.Callable[[], T_Result], - applied_payments_purchase_orders_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_purchase_orders_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories: typing.Callable[[], T_Result], - applied_payments_tracking_categories_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_credit_notes: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_company: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_credit_notes_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_company_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_credit_notes_contact: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_credit_notes_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_contact_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_credit_notes_employee: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_credit_notes_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_vendor_credits: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_company: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_vendor_credits_contact: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_vendor_credits_employee: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_company: typing.Callable[[], T_Result], - applied_payments_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories_company_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_company_employee: typing.Callable[[], T_Result], - applied_payments_tracking_categories_company_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_company_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_company_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_contact: typing.Callable[[], T_Result], - applied_payments_tracking_categories_contact_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_contact_company: typing.Callable[[], T_Result], - applied_payments_tracking_categories_contact_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_contact_company_employee: typing.Callable[[], T_Result], - applied_payments_tracking_categories_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_contact_company_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_contact_company_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_contact_employee: typing.Callable[[], T_Result], - applied_payments_tracking_categories_contact_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_contact_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_contact_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_employee: typing.Callable[[], T_Result], - applied_payments_tracking_categories_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_purchase_orders: typing.Callable[[], T_Result], - applied_payments_tracking_categories_purchase_orders_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories_purchase_orders_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes: typing.Callable[[], T_Result], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_employee: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits: typing.Callable[[], T_Result], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_company: typing.Callable[[], T_Result], - applied_payments_tracking_categories_purchase_orders_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories_purchase_orders_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_company_employee: typing.Callable[[], T_Result], - applied_payments_tracking_categories_purchase_orders_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_company_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_purchase_orders_contact: typing.Callable[[], T_Result], - applied_payments_tracking_categories_purchase_orders_contact_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories_purchase_orders_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_contact_company: typing.Callable[[], T_Result], - applied_payments_tracking_categories_purchase_orders_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_contact_company_employee: typing.Callable[[], T_Result], - applied_payments_tracking_categories_purchase_orders_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_contact_employee: typing.Callable[[], T_Result], - applied_payments_tracking_categories_purchase_orders_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_contact_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_purchase_orders_employee: typing.Callable[[], T_Result], - applied_payments_tracking_categories_purchase_orders_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories_purchase_orders_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_purchase_orders_payment_term: typing.Callable[[], T_Result], - applied_vendor_credits: typing.Callable[[], T_Result], - applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - applied_vendor_credits_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_vendor_credits_company: typing.Callable[[], T_Result], - applied_vendor_credits_company_accounting_period: typing.Callable[[], T_Result], - applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - applied_vendor_credits_company_employee_accounting_period: typing.Callable[[], T_Result], - applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_vendor_credits_company_employee_payment_term: typing.Callable[[], T_Result], - applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - applied_vendor_credits_contact: typing.Callable[[], T_Result], - applied_vendor_credits_contact_accounting_period: typing.Callable[[], T_Result], - applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - applied_vendor_credits_contact_company_accounting_period: typing.Callable[[], T_Result], - applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_vendor_credits_contact_company_employee: typing.Callable[[], T_Result], - applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[[], T_Result], - applied_vendor_credits_contact_company_payment_term: typing.Callable[[], T_Result], - applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - applied_vendor_credits_contact_employee_accounting_period: typing.Callable[[], T_Result], - applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_vendor_credits_contact_employee_payment_term: typing.Callable[[], T_Result], - applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - applied_vendor_credits_employee: typing.Callable[[], T_Result], - applied_vendor_credits_employee_accounting_period: typing.Callable[[], T_Result], - applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - company: typing.Callable[[], T_Result], - company_accounting_period: typing.Callable[[], T_Result], - company_accounting_period_payment_term: typing.Callable[[], T_Result], - company_employee: typing.Callable[[], T_Result], - company_employee_accounting_period: typing.Callable[[], T_Result], - company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - company_employee_payment_term: typing.Callable[[], T_Result], - company_payment_term: typing.Callable[[], T_Result], - contact: typing.Callable[[], T_Result], - contact_accounting_period: typing.Callable[[], T_Result], - contact_accounting_period_payment_term: typing.Callable[[], T_Result], - contact_company: typing.Callable[[], T_Result], - contact_company_accounting_period: typing.Callable[[], T_Result], - contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - contact_company_employee: typing.Callable[[], T_Result], - contact_company_employee_accounting_period: typing.Callable[[], T_Result], - contact_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - contact_company_employee_payment_term: typing.Callable[[], T_Result], - contact_company_payment_term: typing.Callable[[], T_Result], - contact_employee: typing.Callable[[], T_Result], - contact_employee_accounting_period: typing.Callable[[], T_Result], - contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - contact_employee_payment_term: typing.Callable[[], T_Result], - contact_payment_term: typing.Callable[[], T_Result], - employee: typing.Callable[[], T_Result], - employee_accounting_period: typing.Callable[[], T_Result], - employee_accounting_period_payment_term: typing.Callable[[], T_Result], - employee_payment_term: typing.Callable[[], T_Result], - line_items: typing.Callable[[], T_Result], - line_items_accounting_period: typing.Callable[[], T_Result], - line_items_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes: typing.Callable[[], T_Result], - line_items_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - line_items_applied_credit_notes_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes_applied_vendor_credits: typing.Callable[[], T_Result], - line_items_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - line_items_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_applied_credit_notes_applied_vendor_credits_company: typing.Callable[[], T_Result], - line_items_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[[], T_Result], - line_items_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - line_items_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[[], T_Result], - line_items_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[[], T_Result], - line_items_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - line_items_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[[], T_Result], - line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - line_items_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - line_items_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[[], T_Result], - line_items_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes_company: typing.Callable[[], T_Result], - line_items_applied_credit_notes_company_accounting_period: typing.Callable[[], T_Result], - line_items_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - line_items_applied_credit_notes_company_employee_accounting_period: typing.Callable[[], T_Result], - line_items_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes_company_employee_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes_company_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes_contact: typing.Callable[[], T_Result], - line_items_applied_credit_notes_contact_accounting_period: typing.Callable[[], T_Result], - line_items_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - line_items_applied_credit_notes_contact_company_accounting_period: typing.Callable[[], T_Result], - line_items_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes_contact_company_employee: typing.Callable[[], T_Result], - line_items_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - line_items_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes_contact_company_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - line_items_applied_credit_notes_contact_employee_accounting_period: typing.Callable[[], T_Result], - line_items_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes_contact_employee_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes_contact_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes_employee: typing.Callable[[], T_Result], - line_items_applied_credit_notes_employee_accounting_period: typing.Callable[[], T_Result], - line_items_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes_employee_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - line_items_applied_vendor_credits: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_company: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_company_accounting_period: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_company_employee_accounting_period: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_applied_vendor_credits_company_employee_payment_term: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_contact: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_contact_accounting_period: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_contact_company_accounting_period: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_contact_company_employee: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_contact_company_payment_term: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_applied_vendor_credits_contact_employee_payment_term: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_employee: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_employee_accounting_period: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - line_items_company: typing.Callable[[], T_Result], - line_items_company_accounting_period: typing.Callable[[], T_Result], - line_items_company_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_company_employee: typing.Callable[[], T_Result], - line_items_company_employee_accounting_period: typing.Callable[[], T_Result], - line_items_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_company_employee_payment_term: typing.Callable[[], T_Result], - line_items_company_payment_term: typing.Callable[[], T_Result], - line_items_contact: typing.Callable[[], T_Result], - line_items_contact_accounting_period: typing.Callable[[], T_Result], - line_items_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_contact_company: typing.Callable[[], T_Result], - line_items_contact_company_accounting_period: typing.Callable[[], T_Result], - line_items_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_contact_company_employee: typing.Callable[[], T_Result], - line_items_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - line_items_contact_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_contact_company_employee_payment_term: typing.Callable[[], T_Result], - line_items_contact_company_payment_term: typing.Callable[[], T_Result], - line_items_contact_employee: typing.Callable[[], T_Result], - line_items_contact_employee_accounting_period: typing.Callable[[], T_Result], - line_items_contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_contact_employee_payment_term: typing.Callable[[], T_Result], - line_items_contact_payment_term: typing.Callable[[], T_Result], - line_items_employee: typing.Callable[[], T_Result], - line_items_employee_accounting_period: typing.Callable[[], T_Result], - line_items_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_employee_payment_term: typing.Callable[[], T_Result], - line_items_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders: typing.Callable[[], T_Result], - line_items_purchase_orders_accounting_period: typing.Callable[[], T_Result], - line_items_purchase_orders_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_company: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_company_accounting_period: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_company_employee_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_company_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_contact: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_contact_accounting_period: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_contact_company_employee: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_contact_company_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_contact_employee_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_contact_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_employee: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_employee_accounting_period: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_employee_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_company: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_company_accounting_period: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_vendor_credits_company_employee_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_contact: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_contact_accounting_period: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_vendor_credits_contact_company_employee: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_vendor_credits_contact_company_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_vendor_credits_contact_employee_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_employee: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_employee_accounting_period: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_company: typing.Callable[[], T_Result], - line_items_purchase_orders_company_accounting_period: typing.Callable[[], T_Result], - line_items_purchase_orders_company_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_company_employee: typing.Callable[[], T_Result], - line_items_purchase_orders_company_employee_accounting_period: typing.Callable[[], T_Result], - line_items_purchase_orders_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_company_employee_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_company_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_contact: typing.Callable[[], T_Result], - line_items_purchase_orders_contact_accounting_period: typing.Callable[[], T_Result], - line_items_purchase_orders_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_contact_company: typing.Callable[[], T_Result], - line_items_purchase_orders_contact_company_accounting_period: typing.Callable[[], T_Result], - line_items_purchase_orders_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_contact_company_employee: typing.Callable[[], T_Result], - line_items_purchase_orders_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - line_items_purchase_orders_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_contact_company_employee_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_contact_company_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_contact_employee: typing.Callable[[], T_Result], - line_items_purchase_orders_contact_employee_accounting_period: typing.Callable[[], T_Result], - line_items_purchase_orders_contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_contact_employee_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_contact_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_employee: typing.Callable[[], T_Result], - line_items_purchase_orders_employee_accounting_period: typing.Callable[[], T_Result], - line_items_purchase_orders_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_employee_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories: typing.Callable[[], T_Result], - line_items_tracking_categories_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_credit_notes: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_company: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_credit_notes_company_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_company_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_credit_notes_contact: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_credit_notes_contact_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_contact_company_employee: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_contact_company_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_contact_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_credit_notes_employee: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_credit_notes_employee_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_employee_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_vendor_credits: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_vendor_credits_company: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_vendor_credits_company_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_vendor_credits_contact: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_vendor_credits_contact_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_vendor_credits_contact_company_employee: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_vendor_credits_employee: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_vendor_credits_employee_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_company: typing.Callable[[], T_Result], - line_items_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_company_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_company_employee: typing.Callable[[], T_Result], - line_items_tracking_categories_company_employee_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_company_employee_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_company_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_contact: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_company: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_company_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_company_employee: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_contact_company_employee_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_company_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_employee: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_employee_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_employee_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_employee: typing.Callable[[], T_Result], - line_items_tracking_categories_employee_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_employee_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_applied_credit_notes: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_applied_credit_notes_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_company: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_company_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_contact: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_employee: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_applied_vendor_credits: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_company: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_company: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_company_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_company_employee: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_company_employee_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_company_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_contact: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_contact_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_contact_company: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_contact_company_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_contact_company_employee: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_contact_company_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_contact_employee: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_contact_employee_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_contact_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_employee: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_employee_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_employee_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_payment_term: typing.Callable[[], T_Result], - payment_term: typing.Callable[[], T_Result], - payments: typing.Callable[[], T_Result], - payments_accounting_period: typing.Callable[[], T_Result], - payments_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes: typing.Callable[[], T_Result], - payments_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - payments_applied_credit_notes_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes_applied_vendor_credits: typing.Callable[[], T_Result], - payments_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - payments_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_credit_notes_applied_vendor_credits_company: typing.Callable[[], T_Result], - payments_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - payments_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[[], T_Result], - payments_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[[], T_Result], - payments_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - payments_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[[], T_Result], - payments_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - payments_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[[], T_Result], - payments_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes_company: typing.Callable[[], T_Result], - payments_applied_credit_notes_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - payments_applied_credit_notes_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes_company_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes_company_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes_contact: typing.Callable[[], T_Result], - payments_applied_credit_notes_contact_accounting_period: typing.Callable[[], T_Result], - payments_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - payments_applied_credit_notes_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes_contact_company_employee: typing.Callable[[], T_Result], - payments_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes_contact_company_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - payments_applied_credit_notes_contact_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes_contact_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes_employee: typing.Callable[[], T_Result], - payments_applied_credit_notes_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - payments_applied_payments: typing.Callable[[], T_Result], - payments_applied_payments_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_applied_vendor_credits: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_company: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_company: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_company_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_company_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_contact: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_contact_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_contact_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_contact_company_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_contact_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_employee: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_company: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_vendor_credits_company_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_contact: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_contact_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_vendor_credits_contact_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_vendor_credits_contact_company_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_vendor_credits_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_employee: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_company: typing.Callable[[], T_Result], - payments_applied_payments_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_company_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_company_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_contact: typing.Callable[[], T_Result], - payments_applied_payments_contact_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_contact_company: typing.Callable[[], T_Result], - payments_applied_payments_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_contact_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_contact_company_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_contact_company_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_contact_employee: typing.Callable[[], T_Result], - payments_applied_payments_contact_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_contact_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_employee: typing.Callable[[], T_Result], - payments_applied_payments_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items: typing.Callable[[], T_Result], - payments_applied_payments_line_items_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_credit_notes: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_company: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_credit_notes_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_company_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_credit_notes_contact: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_credit_notes_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_contact_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_credit_notes_employee: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_credit_notes_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_vendor_credits: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_company: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_vendor_credits_contact: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_vendor_credits_employee: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_company: typing.Callable[[], T_Result], - payments_applied_payments_line_items_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_line_items_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_company_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_company_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_contact: typing.Callable[[], T_Result], - payments_applied_payments_line_items_contact_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_contact_company: typing.Callable[[], T_Result], - payments_applied_payments_line_items_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_contact_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_line_items_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_contact_company_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_contact_company_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_contact_employee: typing.Callable[[], T_Result], - payments_applied_payments_line_items_contact_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_contact_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_employee: typing.Callable[[], T_Result], - payments_applied_payments_line_items_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_purchase_orders: typing.Callable[[], T_Result], - payments_applied_payments_line_items_purchase_orders_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_purchase_orders_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes: typing.Callable[[], T_Result], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits: typing.Callable[[], T_Result], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_company: typing.Callable[[], T_Result], - payments_applied_payments_line_items_purchase_orders_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_purchase_orders_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_line_items_purchase_orders_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_company_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_purchase_orders_contact: typing.Callable[[], T_Result], - payments_applied_payments_line_items_purchase_orders_contact_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_purchase_orders_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_contact_company: typing.Callable[[], T_Result], - payments_applied_payments_line_items_purchase_orders_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_contact_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_line_items_purchase_orders_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_contact_employee: typing.Callable[[], T_Result], - payments_applied_payments_line_items_purchase_orders_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_contact_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_purchase_orders_employee: typing.Callable[[], T_Result], - payments_applied_payments_line_items_purchase_orders_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_purchase_orders_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_purchase_orders_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_company: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_company_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_contact: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_contact_company: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_contact_employee: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_contact_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_employee: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_purchase_orders: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_purchase_orders_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_company: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_purchase_orders_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_contact: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_applied_credit_notes: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_company: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_applied_credit_notes_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_contact: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_applied_credit_notes_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_employee: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_applied_credit_notes_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_applied_vendor_credits: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_company: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_contact: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_employee: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_company: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_company_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_company_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_contact: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_contact_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_contact_company: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_contact_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_contact_company_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_contact_company_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_contact_employee: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_contact_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_contact_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_employee: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_applied_credit_notes: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_applied_credit_notes_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_company: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_applied_credit_notes_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_contact: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_applied_credit_notes_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_employee: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_applied_credit_notes_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_applied_vendor_credits: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_company: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_contact: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_employee: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_company: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_company_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_company_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_contact: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_contact_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_contact_company: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_contact_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_contact_company_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_contact_employee: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_contact_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_contact_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_employee: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_purchase_orders: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_purchase_orders_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_purchase_orders_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_company: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_purchase_orders_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_purchase_orders_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_contact: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_purchase_orders_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_contact_company: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_purchase_orders_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_contact_employee: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_purchase_orders_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_employee: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_purchase_orders_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_payment_term: typing.Callable[[], T_Result], - payments_applied_vendor_credits: typing.Callable[[], T_Result], - payments_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - payments_applied_vendor_credits_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_vendor_credits_company: typing.Callable[[], T_Result], - payments_applied_vendor_credits_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - payments_applied_vendor_credits_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_vendor_credits_company_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - payments_applied_vendor_credits_contact: typing.Callable[[], T_Result], - payments_applied_vendor_credits_contact_accounting_period: typing.Callable[[], T_Result], - payments_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - payments_applied_vendor_credits_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_vendor_credits_contact_company_employee: typing.Callable[[], T_Result], - payments_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_vendor_credits_contact_company_payment_term: typing.Callable[[], T_Result], - payments_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - payments_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_vendor_credits_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - payments_applied_vendor_credits_employee: typing.Callable[[], T_Result], - payments_applied_vendor_credits_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - payments_company: typing.Callable[[], T_Result], - payments_company_accounting_period: typing.Callable[[], T_Result], - payments_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_company_employee: typing.Callable[[], T_Result], - payments_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_company_employee_payment_term: typing.Callable[[], T_Result], - payments_company_payment_term: typing.Callable[[], T_Result], - payments_contact: typing.Callable[[], T_Result], - payments_contact_accounting_period: typing.Callable[[], T_Result], - payments_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_contact_company: typing.Callable[[], T_Result], - payments_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_contact_company_employee: typing.Callable[[], T_Result], - payments_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_contact_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_contact_company_employee_payment_term: typing.Callable[[], T_Result], - payments_contact_company_payment_term: typing.Callable[[], T_Result], - payments_contact_employee: typing.Callable[[], T_Result], - payments_contact_employee_accounting_period: typing.Callable[[], T_Result], - payments_contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_contact_payment_term: typing.Callable[[], T_Result], - payments_employee: typing.Callable[[], T_Result], - payments_employee_accounting_period: typing.Callable[[], T_Result], - payments_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items: typing.Callable[[], T_Result], - payments_line_items_accounting_period: typing.Callable[[], T_Result], - payments_line_items_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_applied_vendor_credits: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_company: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_company: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_company_accounting_period: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_company_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_company_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_contact: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_contact_accounting_period: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_contact_company_employee: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_contact_company_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_contact_employee_accounting_period: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_contact_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_employee: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_employee_accounting_period: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_company: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_company_accounting_period: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_vendor_credits_company_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_contact: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_contact_accounting_period: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_vendor_credits_contact_company_employee: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_contact_company_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_vendor_credits_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_employee: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_employee_accounting_period: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - payments_line_items_company: typing.Callable[[], T_Result], - payments_line_items_company_accounting_period: typing.Callable[[], T_Result], - payments_line_items_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_company_employee: typing.Callable[[], T_Result], - payments_line_items_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_line_items_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_company_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_company_payment_term: typing.Callable[[], T_Result], - payments_line_items_contact: typing.Callable[[], T_Result], - payments_line_items_contact_accounting_period: typing.Callable[[], T_Result], - payments_line_items_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_contact_company: typing.Callable[[], T_Result], - payments_line_items_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_line_items_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_contact_company_employee: typing.Callable[[], T_Result], - payments_line_items_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_line_items_contact_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_contact_company_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_contact_company_payment_term: typing.Callable[[], T_Result], - payments_line_items_contact_employee: typing.Callable[[], T_Result], - payments_line_items_contact_employee_accounting_period: typing.Callable[[], T_Result], - payments_line_items_contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_contact_payment_term: typing.Callable[[], T_Result], - payments_line_items_employee: typing.Callable[[], T_Result], - payments_line_items_employee_accounting_period: typing.Callable[[], T_Result], - payments_line_items_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_accounting_period: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_credit_notes: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_company: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_credit_notes_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_company_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_credit_notes_contact: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_credit_notes_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_contact_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_credit_notes_employee: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_credit_notes_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_vendor_credits: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_company: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_vendor_credits_contact: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_vendor_credits_employee: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_company: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_company_accounting_period: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_company_employee: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_company_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_company_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_contact: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_contact_accounting_period: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_contact_company: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_contact_company_employee: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_contact_company_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_contact_company_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_contact_employee: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_contact_employee_accounting_period: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_contact_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_employee: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_employee_accounting_period: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_payment_term: typing.Callable[[], T_Result], - payments_line_items_tracking_categories: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_accounting_period: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_applied_credit_notes: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_company: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_applied_credit_notes_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_contact: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_applied_credit_notes_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_employee: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_applied_credit_notes_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_applied_vendor_credits: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_company: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_contact: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_employee: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_company: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_company_employee: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_company_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_company_payment_term: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_contact: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_contact_accounting_period: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_contact_company: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_contact_company_employee: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_contact_company_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_contact_company_payment_term: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_contact_employee: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_contact_employee_accounting_period: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_contact_payment_term: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_employee: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_employee_accounting_period: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_payment_term: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_purchase_orders: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_purchase_orders_accounting_period: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_purchase_orders_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_company: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_purchase_orders_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_company_employee: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_purchase_orders_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_company_payment_term: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_purchase_orders_contact: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_purchase_orders_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_contact_company: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_purchase_orders_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_contact_company_employee: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_purchase_orders_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_contact_employee: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_purchase_orders_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_contact_payment_term: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_purchase_orders_employee: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_purchase_orders_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_purchase_orders_payment_term: typing.Callable[[], T_Result], - payments_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders: typing.Callable[[], T_Result], - payments_purchase_orders_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_company: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_company_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_company_employee_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_company_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_contact: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_contact_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_contact_company_employee: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_contact_company_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_contact_employee_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_contact_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_employee: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_employee_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_employee_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_company: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_company_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_vendor_credits_company_employee_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_contact: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_contact_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_vendor_credits_contact_company_employee: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_vendor_credits_contact_company_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_vendor_credits_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_employee: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_employee_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_company: typing.Callable[[], T_Result], - payments_purchase_orders_company_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_company_employee: typing.Callable[[], T_Result], - payments_purchase_orders_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_company_employee_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_company_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_contact: typing.Callable[[], T_Result], - payments_purchase_orders_contact_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_contact_company: typing.Callable[[], T_Result], - payments_purchase_orders_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_contact_company_employee: typing.Callable[[], T_Result], - payments_purchase_orders_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_contact_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_contact_company_employee_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_contact_company_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_contact_employee: typing.Callable[[], T_Result], - payments_purchase_orders_contact_employee_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_contact_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_employee: typing.Callable[[], T_Result], - payments_purchase_orders_employee_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_employee_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories: typing.Callable[[], T_Result], - payments_tracking_categories_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_company: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_company_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_company_employee_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_company_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_contact: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_contact_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_contact_company_employee: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_contact_company_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_contact_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_employee: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_employee_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_employee_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_applied_vendor_credits: typing.Callable[[], T_Result], - payments_tracking_categories_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_vendor_credits_company: typing.Callable[[], T_Result], - payments_tracking_categories_applied_vendor_credits_company_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - payments_tracking_categories_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_applied_vendor_credits_contact: typing.Callable[[], T_Result], - payments_tracking_categories_applied_vendor_credits_contact_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - payments_tracking_categories_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_vendor_credits_contact_company_employee: typing.Callable[[], T_Result], - payments_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_vendor_credits_contact_company_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - payments_tracking_categories_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_applied_vendor_credits_employee: typing.Callable[[], T_Result], - payments_tracking_categories_applied_vendor_credits_employee_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_company: typing.Callable[[], T_Result], - payments_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_company_employee: typing.Callable[[], T_Result], - payments_tracking_categories_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_company_employee_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_company_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_contact: typing.Callable[[], T_Result], - payments_tracking_categories_contact_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_contact_company: typing.Callable[[], T_Result], - payments_tracking_categories_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_contact_company_employee: typing.Callable[[], T_Result], - payments_tracking_categories_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_contact_company_employee_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_contact_company_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_contact_employee: typing.Callable[[], T_Result], - payments_tracking_categories_contact_employee_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_contact_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_employee: typing.Callable[[], T_Result], - payments_tracking_categories_employee_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_employee_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_applied_credit_notes: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_applied_credit_notes_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_company: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_contact: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_employee: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_applied_vendor_credits: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_company: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_contact: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_employee: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_company: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_company_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_company_employee: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_company_employee_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_company_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_contact: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_contact_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_contact_company: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_contact_company_employee: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_contact_company_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_contact_employee: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_contact_employee_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_contact_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_employee: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_employee_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_employee_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_payment_term: typing.Callable[[], T_Result], - purchase_orders: typing.Callable[[], T_Result], - purchase_orders_accounting_period: typing.Callable[[], T_Result], - purchase_orders_accounting_period_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_accounting_period_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_applied_vendor_credits: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_company: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_company: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_company_accounting_period: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_company_employee_accounting_period: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_company_employee_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_company_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_contact: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_contact_accounting_period: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_contact_company_accounting_period: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_contact_company_employee: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_contact_company_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_contact_employee_accounting_period: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_contact_employee_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_contact_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_employee: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_employee_accounting_period: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_employee_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_accounting_period_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_company: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_company_accounting_period: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_company_employee_accounting_period: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_vendor_credits_company_employee_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_contact: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_contact_accounting_period: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_contact_company_accounting_period: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_vendor_credits_contact_company_employee: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_contact_company_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_vendor_credits_contact_employee_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_employee: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_employee_accounting_period: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - purchase_orders_company: typing.Callable[[], T_Result], - purchase_orders_company_accounting_period: typing.Callable[[], T_Result], - purchase_orders_company_accounting_period_payment_term: typing.Callable[[], T_Result], - purchase_orders_company_employee: typing.Callable[[], T_Result], - purchase_orders_company_employee_accounting_period: typing.Callable[[], T_Result], - purchase_orders_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - purchase_orders_company_employee_payment_term: typing.Callable[[], T_Result], - purchase_orders_company_payment_term: typing.Callable[[], T_Result], - purchase_orders_contact: typing.Callable[[], T_Result], - purchase_orders_contact_accounting_period: typing.Callable[[], T_Result], - purchase_orders_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - purchase_orders_contact_company: typing.Callable[[], T_Result], - purchase_orders_contact_company_accounting_period: typing.Callable[[], T_Result], - purchase_orders_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - purchase_orders_contact_company_employee: typing.Callable[[], T_Result], - purchase_orders_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - purchase_orders_contact_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - purchase_orders_contact_company_employee_payment_term: typing.Callable[[], T_Result], - purchase_orders_contact_company_payment_term: typing.Callable[[], T_Result], - purchase_orders_contact_employee: typing.Callable[[], T_Result], - purchase_orders_contact_employee_accounting_period: typing.Callable[[], T_Result], - purchase_orders_contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - purchase_orders_contact_employee_payment_term: typing.Callable[[], T_Result], - purchase_orders_contact_payment_term: typing.Callable[[], T_Result], - purchase_orders_employee: typing.Callable[[], T_Result], - purchase_orders_employee_accounting_period: typing.Callable[[], T_Result], - purchase_orders_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - purchase_orders_employee_payment_term: typing.Callable[[], T_Result], - purchase_orders_payment_term: typing.Callable[[], T_Result], - tracking_categories: typing.Callable[[], T_Result], - tracking_categories_accounting_period: typing.Callable[[], T_Result], - tracking_categories_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_applied_vendor_credits: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_company: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_company: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_company_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_company_employee_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_company_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_contact: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_contact_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_contact_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_contact_company_employee: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_contact_company_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_contact_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_contact_employee_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_contact_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_employee: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_employee_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_company: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_company_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_vendor_credits_company_employee_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_contact: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_contact_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_contact_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_vendor_credits_contact_company_employee: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_contact_company_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_vendor_credits_contact_employee_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_employee: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - tracking_categories_company: typing.Callable[[], T_Result], - tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_company_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_company_employee: typing.Callable[[], T_Result], - tracking_categories_company_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_company_employee_payment_term: typing.Callable[[], T_Result], - tracking_categories_company_payment_term: typing.Callable[[], T_Result], - tracking_categories_contact: typing.Callable[[], T_Result], - tracking_categories_contact_accounting_period: typing.Callable[[], T_Result], - tracking_categories_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_contact_company: typing.Callable[[], T_Result], - tracking_categories_contact_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_contact_company_employee: typing.Callable[[], T_Result], - tracking_categories_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_contact_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_contact_company_employee_payment_term: typing.Callable[[], T_Result], - tracking_categories_contact_company_payment_term: typing.Callable[[], T_Result], - tracking_categories_contact_employee: typing.Callable[[], T_Result], - tracking_categories_contact_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_contact_employee_payment_term: typing.Callable[[], T_Result], - tracking_categories_contact_payment_term: typing.Callable[[], T_Result], - tracking_categories_employee: typing.Callable[[], T_Result], - tracking_categories_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_employee_payment_term: typing.Callable[[], T_Result], - tracking_categories_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_accounting_period: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_credit_notes: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_company: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_company_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_credit_notes_contact: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_contact_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_credit_notes_employee: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_employee_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_vendor_credits: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_company: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_vendor_credits_contact: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_vendor_credits_employee: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_company: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_company_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_company_employee: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_company_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_company_employee_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_company_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_contact: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_contact_accounting_period: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_contact_company: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_contact_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_contact_company_employee: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_contact_company_employee_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_contact_company_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_contact_employee: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_contact_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_contact_employee_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_contact_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_employee: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_employee_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_payment_term: typing.Callable[[], T_Result], - ) -> T_Result: - if self is InvoicesRetrieveRequestExpand.ACCOUNTING_PERIOD: - return accounting_period() - if self is InvoicesRetrieveRequestExpand.ACCOUNTING_PERIOD_PAYMENT_TERM: - return accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES: - return applied_credit_notes() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD: - return applied_credit_notes_accounting_period() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_credit_notes_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS: - return applied_credit_notes_applied_vendor_credits() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD: - return applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY: - return applied_credit_notes_applied_vendor_credits_company() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD: - return applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE: - return applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM: - return applied_credit_notes_applied_vendor_credits_company_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT: - return applied_credit_notes_applied_vendor_credits_contact() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD: - return applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY: - return applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE: - return applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE: - return applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM: - return applied_credit_notes_applied_vendor_credits_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return applied_credit_notes_applied_vendor_credits_employee() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM: - return applied_credit_notes_applied_vendor_credits_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_COMPANY: - return applied_credit_notes_company() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD: - return applied_credit_notes_company_accounting_period() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_credit_notes_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE: - return applied_credit_notes_company_employee() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_credit_notes_company_employee_accounting_period() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_credit_notes_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM: - return applied_credit_notes_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM: - return applied_credit_notes_company_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_CONTACT: - return applied_credit_notes_contact() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD: - return applied_credit_notes_contact_accounting_period() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_credit_notes_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_CONTACT_COMPANY: - return applied_credit_notes_contact_company() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return applied_credit_notes_contact_company_accounting_period() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_credit_notes_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE: - return applied_credit_notes_contact_company_employee() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return applied_credit_notes_contact_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM: - return applied_credit_notes_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE: - return applied_credit_notes_contact_employee() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_credit_notes_contact_employee_accounting_period() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_credit_notes_contact_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM: - return applied_credit_notes_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM: - return applied_credit_notes_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_EMPLOYEE: - return applied_credit_notes_employee() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_credit_notes_employee_accounting_period() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_credit_notes_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM: - return applied_credit_notes_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_PAYMENT_TERM: - return applied_credit_notes_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS: - return applied_payments() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_ACCOUNTING_PERIOD: - return applied_payments_accounting_period() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_payments_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES: - return applied_payments_applied_credit_notes() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD: - return applied_payments_applied_credit_notes_accounting_period() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_payments_applied_credit_notes_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS: - return applied_payments_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY: - return applied_payments_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_company_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT: - return applied_payments_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return applied_payments_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - applied_payments_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY: - return applied_payments_applied_credit_notes_company() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE: - return applied_payments_applied_credit_notes_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM: - return applied_payments_applied_credit_notes_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM: - return applied_payments_applied_credit_notes_company_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT: - return applied_payments_applied_credit_notes_contact() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD: - return applied_payments_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY: - return applied_payments_applied_credit_notes_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE: - return applied_payments_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_contact_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM: - return applied_payments_applied_credit_notes_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE: - return applied_payments_applied_credit_notes_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_contact_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM: - return applied_payments_applied_credit_notes_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM: - return applied_payments_applied_credit_notes_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE: - return applied_payments_applied_credit_notes_employee() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_payments_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM: - return applied_payments_applied_credit_notes_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_PAYMENT_TERM: - return applied_payments_applied_credit_notes_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS: - return applied_payments_applied_vendor_credits() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD: - return applied_payments_applied_vendor_credits_accounting_period() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_payments_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY: - return applied_payments_applied_vendor_credits_company() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_vendor_credits_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE: - return applied_payments_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_vendor_credits_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return applied_payments_applied_vendor_credits_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM: - return applied_payments_applied_vendor_credits_company_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT: - return applied_payments_applied_vendor_credits_contact() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD: - return applied_payments_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_vendor_credits_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY: - return applied_payments_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_vendor_credits_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE: - return applied_payments_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_applied_vendor_credits_contact_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM: - return applied_payments_applied_vendor_credits_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE: - return applied_payments_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return applied_payments_applied_vendor_credits_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM: - return applied_payments_applied_vendor_credits_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return applied_payments_applied_vendor_credits_employee() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_payments_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_vendor_credits_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM: - return applied_payments_applied_vendor_credits_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return applied_payments_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_COMPANY: - return applied_payments_company() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_company_accounting_period() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_payments_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_COMPANY_EMPLOYEE: - return applied_payments_company_employee() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_payments_company_employee_accounting_period() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_payments_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return applied_payments_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_COMPANY_PAYMENT_TERM: - return applied_payments_company_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_CONTACT: - return applied_payments_contact() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_CONTACT_ACCOUNTING_PERIOD: - return applied_payments_contact_accounting_period() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_payments_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_CONTACT_COMPANY: - return applied_payments_contact_company() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_contact_company_accounting_period() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_payments_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_CONTACT_COMPANY_EMPLOYEE: - return applied_payments_contact_company_employee() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_payments_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_contact_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return applied_payments_contact_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_CONTACT_COMPANY_PAYMENT_TERM: - return applied_payments_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_CONTACT_EMPLOYEE: - return applied_payments_contact_employee() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_payments_contact_employee_accounting_period() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_payments_contact_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return applied_payments_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_CONTACT_PAYMENT_TERM: - return applied_payments_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_EMPLOYEE: - return applied_payments_employee() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_payments_employee_accounting_period() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_payments_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_EMPLOYEE_PAYMENT_TERM: - return applied_payments_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS: - return applied_payments_line_items() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_ACCOUNTING_PERIOD: - return applied_payments_line_items_accounting_period() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_payments_line_items_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES: - return applied_payments_line_items_applied_credit_notes() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD: - return applied_payments_line_items_applied_credit_notes_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return ( - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return ( - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return ( - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY: - return applied_payments_line_items_applied_credit_notes_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE: - return applied_payments_line_items_applied_credit_notes_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM: - return applied_payments_line_items_applied_credit_notes_company_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT: - return applied_payments_line_items_applied_credit_notes_contact() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY: - return applied_payments_line_items_applied_credit_notes_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE: - return applied_payments_line_items_applied_credit_notes_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM: - return applied_payments_line_items_applied_credit_notes_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE: - return applied_payments_line_items_applied_credit_notes_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM: - return applied_payments_line_items_applied_credit_notes_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_PAYMENT_TERM: - return applied_payments_line_items_applied_credit_notes_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS: - return applied_payments_line_items_applied_vendor_credits() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD: - return applied_payments_line_items_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY: - return applied_payments_line_items_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_vendor_credits_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE: - return applied_payments_line_items_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_applied_vendor_credits_company_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT: - return applied_payments_line_items_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_vendor_credits_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY: - return applied_payments_line_items_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_applied_vendor_credits_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE: - return applied_payments_line_items_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return applied_payments_line_items_applied_vendor_credits_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return applied_payments_line_items_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_applied_vendor_credits_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return applied_payments_line_items_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_COMPANY: - return applied_payments_line_items_company() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_line_items_company_accounting_period() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_payments_line_items_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE: - return applied_payments_line_items_company_employee() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_payments_line_items_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return applied_payments_line_items_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_PAYMENT_TERM: - return applied_payments_line_items_company_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT: - return applied_payments_line_items_contact() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD: - return applied_payments_line_items_contact_accounting_period() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_payments_line_items_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY: - return applied_payments_line_items_contact_company() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_line_items_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE: - return applied_payments_line_items_contact_company_employee() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_payments_line_items_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_contact_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return applied_payments_line_items_contact_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_PAYMENT_TERM: - return applied_payments_line_items_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE: - return applied_payments_line_items_contact_employee() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_payments_line_items_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_contact_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return applied_payments_line_items_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_PAYMENT_TERM: - return applied_payments_line_items_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_EMPLOYEE: - return applied_payments_line_items_employee() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_payments_line_items_employee_accounting_period() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_payments_line_items_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_EMPLOYEE_PAYMENT_TERM: - return applied_payments_line_items_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PAYMENT_TERM: - return applied_payments_line_items_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS: - return applied_payments_line_items_purchase_orders() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_ACCOUNTING_PERIOD: - return applied_payments_line_items_purchase_orders_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES: - return applied_payments_line_items_purchase_orders_applied_credit_notes() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return ( - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_contact() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return ( - applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS: - return applied_payments_line_items_purchase_orders_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - applied_payments_line_items_purchase_orders_applied_vendor_credits_company_employee_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return ( - applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_employee_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY: - return applied_payments_line_items_purchase_orders_company() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_line_items_purchase_orders_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE: - return applied_payments_line_items_purchase_orders_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM: - return applied_payments_line_items_purchase_orders_company_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT: - return applied_payments_line_items_purchase_orders_contact() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD: - return applied_payments_line_items_purchase_orders_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY: - return applied_payments_line_items_purchase_orders_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE: - return applied_payments_line_items_purchase_orders_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE: - return applied_payments_line_items_purchase_orders_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM: - return applied_payments_line_items_purchase_orders_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE: - return applied_payments_line_items_purchase_orders_employee() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_payments_line_items_purchase_orders_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM: - return applied_payments_line_items_purchase_orders_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_PAYMENT_TERM: - return applied_payments_line_items_purchase_orders_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES: - return applied_payments_line_items_tracking_categories() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return applied_payments_line_items_tracking_categories_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES: - return applied_payments_line_items_tracking_categories_applied_credit_notes() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return ( - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_contact() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return ( - applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS: - return applied_payments_line_items_tracking_categories_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - applied_payments_line_items_tracking_categories_applied_vendor_credits_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return ( - applied_payments_line_items_tracking_categories_applied_vendor_credits_company_employee_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return ( - applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_employee_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY: - return applied_payments_line_items_tracking_categories_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE: - return applied_payments_line_items_tracking_categories_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM: - return applied_payments_line_items_tracking_categories_company_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT: - return applied_payments_line_items_tracking_categories_contact() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY: - return applied_payments_line_items_tracking_categories_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE: - return applied_payments_line_items_tracking_categories_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_PAYMENT_TERM: - return applied_payments_line_items_tracking_categories_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE: - return applied_payments_line_items_tracking_categories_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_PAYMENT_TERM: - return applied_payments_line_items_tracking_categories_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PAYMENT_TERM: - return applied_payments_line_items_tracking_categories_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS: - return applied_payments_line_items_tracking_categories_purchase_orders() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD - ): - return ( - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE - ): - return ( - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY - ): - return ( - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE - ): - return ( - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return ( - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY - ): - return applied_payments_line_items_tracking_categories_purchase_orders_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - applied_payments_line_items_tracking_categories_purchase_orders_company_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_purchase_orders_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT - ): - return applied_payments_line_items_tracking_categories_purchase_orders_contact() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - applied_payments_line_items_tracking_categories_purchase_orders_contact_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY - ): - return applied_payments_line_items_tracking_categories_purchase_orders_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_purchase_orders_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return ( - applied_payments_line_items_tracking_categories_purchase_orders_contact_company_employee_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_purchase_orders_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_purchase_orders_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PAYMENT_TERM: - return applied_payments_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS: - return applied_payments_purchase_orders() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_ACCOUNTING_PERIOD: - return applied_payments_purchase_orders_accounting_period() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_payments_purchase_orders_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES: - return applied_payments_purchase_orders_applied_credit_notes() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_credit_notes_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return ( - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return ( - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return ( - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY: - return applied_payments_purchase_orders_applied_credit_notes_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE: - return applied_payments_purchase_orders_applied_credit_notes_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - applied_payments_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_company_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT: - return applied_payments_purchase_orders_applied_credit_notes_contact() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY: - return applied_payments_purchase_orders_applied_credit_notes_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - applied_payments_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_purchase_orders_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE: - return applied_payments_purchase_orders_applied_credit_notes_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - applied_payments_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE: - return applied_payments_purchase_orders_applied_credit_notes_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM: - return applied_payments_purchase_orders_applied_credit_notes_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS: - return applied_payments_purchase_orders_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY: - return applied_payments_purchase_orders_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return applied_payments_purchase_orders_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_vendor_credits_company_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT: - return applied_payments_purchase_orders_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return applied_payments_purchase_orders_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - applied_payments_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_purchase_orders_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return applied_payments_purchase_orders_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_vendor_credits_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return applied_payments_purchase_orders_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_vendor_credits_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return applied_payments_purchase_orders_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY: - return applied_payments_purchase_orders_company() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_purchase_orders_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE: - return applied_payments_purchase_orders_company_employee() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_payments_purchase_orders_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return applied_payments_purchase_orders_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM: - return applied_payments_purchase_orders_company_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT: - return applied_payments_purchase_orders_contact() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD: - return applied_payments_purchase_orders_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY: - return applied_payments_purchase_orders_contact_company() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_purchase_orders_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE: - return applied_payments_purchase_orders_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_contact_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return applied_payments_purchase_orders_contact_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM: - return applied_payments_purchase_orders_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE: - return applied_payments_purchase_orders_contact_employee() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_payments_purchase_orders_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_contact_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return applied_payments_purchase_orders_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM: - return applied_payments_purchase_orders_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_EMPLOYEE: - return applied_payments_purchase_orders_employee() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_payments_purchase_orders_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM: - return applied_payments_purchase_orders_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_PAYMENT_TERM: - return applied_payments_purchase_orders_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES: - return applied_payments_tracking_categories() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return applied_payments_tracking_categories_accounting_period() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_payments_tracking_categories_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES: - return applied_payments_tracking_categories_applied_credit_notes() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_credit_notes_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return ( - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return ( - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return ( - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY: - return applied_payments_tracking_categories_applied_credit_notes_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE - ): - return applied_payments_tracking_categories_applied_credit_notes_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_company_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT: - return applied_payments_tracking_categories_applied_credit_notes_contact() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY - ): - return applied_payments_tracking_categories_applied_credit_notes_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_tracking_categories_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - applied_payments_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE - ): - return applied_payments_tracking_categories_applied_credit_notes_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE: - return applied_payments_tracking_categories_applied_credit_notes_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_PAYMENT_TERM: - return applied_payments_tracking_categories_applied_credit_notes_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS: - return applied_payments_tracking_categories_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY: - return applied_payments_tracking_categories_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return applied_payments_tracking_categories_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_vendor_credits_company_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT: - return applied_payments_tracking_categories_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return applied_payments_tracking_categories_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_tracking_categories_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - applied_payments_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return applied_payments_tracking_categories_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_vendor_credits_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return applied_payments_tracking_categories_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY: - return applied_payments_tracking_categories_company() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_tracking_categories_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE: - return applied_payments_tracking_categories_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_PAYMENT_TERM: - return applied_payments_tracking_categories_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM: - return applied_payments_tracking_categories_company_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT: - return applied_payments_tracking_categories_contact() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD: - return applied_payments_tracking_categories_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY: - return applied_payments_tracking_categories_contact_company() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_tracking_categories_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE: - return applied_payments_tracking_categories_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_contact_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_PAYMENT_TERM: - return applied_payments_tracking_categories_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE: - return applied_payments_tracking_categories_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_contact_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_PAYMENT_TERM: - return applied_payments_tracking_categories_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_PAYMENT_TERM: - return applied_payments_tracking_categories_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE: - return applied_payments_tracking_categories_employee() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_payments_tracking_categories_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE_PAYMENT_TERM: - return applied_payments_tracking_categories_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PAYMENT_TERM: - return applied_payments_tracking_categories_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS: - return applied_payments_tracking_categories_purchase_orders() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD: - return applied_payments_tracking_categories_purchase_orders_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return ( - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return ( - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return ( - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return ( - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY: - return applied_payments_tracking_categories_purchase_orders_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE: - return applied_payments_tracking_categories_purchase_orders_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - applied_payments_tracking_categories_purchase_orders_company_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_company_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT: - return applied_payments_tracking_categories_purchase_orders_contact() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY: - return applied_payments_tracking_categories_purchase_orders_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_tracking_categories_purchase_orders_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE: - return applied_payments_tracking_categories_purchase_orders_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - applied_payments_tracking_categories_purchase_orders_contact_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE: - return applied_payments_tracking_categories_purchase_orders_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_PAYMENT_TERM: - return applied_payments_tracking_categories_purchase_orders_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_VENDOR_CREDITS: - return applied_vendor_credits() - if self is InvoicesRetrieveRequestExpand.APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD: - return applied_vendor_credits_accounting_period() - if self is InvoicesRetrieveRequestExpand.APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_VENDOR_CREDITS_COMPANY: - return applied_vendor_credits_company() - if self is InvoicesRetrieveRequestExpand.APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD: - return applied_vendor_credits_company_accounting_period() - if self is InvoicesRetrieveRequestExpand.APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_vendor_credits_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE: - return applied_vendor_credits_company_employee() - if self is InvoicesRetrieveRequestExpand.APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_vendor_credits_company_employee_accounting_period() - if self is InvoicesRetrieveRequestExpand.APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_vendor_credits_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return applied_vendor_credits_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM: - return applied_vendor_credits_company_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_VENDOR_CREDITS_CONTACT: - return applied_vendor_credits_contact() - if self is InvoicesRetrieveRequestExpand.APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD: - return applied_vendor_credits_contact_accounting_period() - if self is InvoicesRetrieveRequestExpand.APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_vendor_credits_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_VENDOR_CREDITS_CONTACT_COMPANY: - return applied_vendor_credits_contact_company() - if self is InvoicesRetrieveRequestExpand.APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return applied_vendor_credits_contact_company_accounting_period() - if self is InvoicesRetrieveRequestExpand.APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_vendor_credits_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE: - return applied_vendor_credits_contact_company_employee() - if self is InvoicesRetrieveRequestExpand.APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return applied_vendor_credits_contact_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM: - return applied_vendor_credits_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE: - return applied_vendor_credits_contact_employee() - if self is InvoicesRetrieveRequestExpand.APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_vendor_credits_contact_employee_accounting_period() - if self is InvoicesRetrieveRequestExpand.APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_vendor_credits_contact_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return applied_vendor_credits_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM: - return applied_vendor_credits_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_VENDOR_CREDITS_EMPLOYEE: - return applied_vendor_credits_employee() - if self is InvoicesRetrieveRequestExpand.APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_vendor_credits_employee_accounting_period() - if self is InvoicesRetrieveRequestExpand.APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_vendor_credits_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM: - return applied_vendor_credits_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.COMPANY: - return company() - if self is InvoicesRetrieveRequestExpand.COMPANY_ACCOUNTING_PERIOD: - return company_accounting_period() - if self is InvoicesRetrieveRequestExpand.COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.COMPANY_EMPLOYEE: - return company_employee() - if self is InvoicesRetrieveRequestExpand.COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return company_employee_accounting_period() - if self is InvoicesRetrieveRequestExpand.COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.COMPANY_EMPLOYEE_PAYMENT_TERM: - return company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.COMPANY_PAYMENT_TERM: - return company_payment_term() - if self is InvoicesRetrieveRequestExpand.CONTACT: - return contact() - if self is InvoicesRetrieveRequestExpand.CONTACT_ACCOUNTING_PERIOD: - return contact_accounting_period() - if self is InvoicesRetrieveRequestExpand.CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.CONTACT_COMPANY: - return contact_company() - if self is InvoicesRetrieveRequestExpand.CONTACT_COMPANY_ACCOUNTING_PERIOD: - return contact_company_accounting_period() - if self is InvoicesRetrieveRequestExpand.CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.CONTACT_COMPANY_EMPLOYEE: - return contact_company_employee() - if self is InvoicesRetrieveRequestExpand.CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return contact_company_employee_accounting_period() - if self is InvoicesRetrieveRequestExpand.CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return contact_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return contact_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.CONTACT_COMPANY_PAYMENT_TERM: - return contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.CONTACT_EMPLOYEE: - return contact_employee() - if self is InvoicesRetrieveRequestExpand.CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return contact_employee_accounting_period() - if self is InvoicesRetrieveRequestExpand.CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return contact_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.CONTACT_EMPLOYEE_PAYMENT_TERM: - return contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.CONTACT_PAYMENT_TERM: - return contact_payment_term() - if self is InvoicesRetrieveRequestExpand.EMPLOYEE: - return employee() - if self is InvoicesRetrieveRequestExpand.EMPLOYEE_ACCOUNTING_PERIOD: - return employee_accounting_period() - if self is InvoicesRetrieveRequestExpand.EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.EMPLOYEE_PAYMENT_TERM: - return employee_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS: - return line_items() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_ACCOUNTING_PERIOD: - return line_items_accounting_period() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES: - return line_items_applied_credit_notes() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD: - return line_items_applied_credit_notes_accounting_period() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_applied_credit_notes_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS: - return line_items_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return line_items_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY: - return line_items_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return line_items_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - line_items_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return line_items_applied_credit_notes_applied_vendor_credits_company_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT: - return line_items_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return line_items_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY: - return line_items_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - line_items_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return line_items_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return line_items_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - line_items_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return line_items_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return line_items_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return line_items_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return line_items_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return line_items_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY: - return line_items_applied_credit_notes_company() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD: - return line_items_applied_credit_notes_company_accounting_period() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_applied_credit_notes_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE: - return line_items_applied_credit_notes_company_employee() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_applied_credit_notes_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM: - return line_items_applied_credit_notes_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM: - return line_items_applied_credit_notes_company_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT: - return line_items_applied_credit_notes_contact() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD: - return line_items_applied_credit_notes_contact_accounting_period() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_applied_credit_notes_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY: - return line_items_applied_credit_notes_contact_company() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return line_items_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_applied_credit_notes_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE: - return line_items_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return line_items_applied_credit_notes_contact_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM: - return line_items_applied_credit_notes_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE: - return line_items_applied_credit_notes_contact_employee() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_applied_credit_notes_contact_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM: - return line_items_applied_credit_notes_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM: - return line_items_applied_credit_notes_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE: - return line_items_applied_credit_notes_employee() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_applied_credit_notes_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM: - return line_items_applied_credit_notes_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_PAYMENT_TERM: - return line_items_applied_credit_notes_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS: - return line_items_applied_vendor_credits() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD: - return line_items_applied_vendor_credits_accounting_period() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY: - return line_items_applied_vendor_credits_company() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD: - return line_items_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_applied_vendor_credits_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE: - return line_items_applied_vendor_credits_company_employee() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_applied_vendor_credits_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return line_items_applied_vendor_credits_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM: - return line_items_applied_vendor_credits_company_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT: - return line_items_applied_vendor_credits_contact() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD: - return line_items_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_applied_vendor_credits_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY: - return line_items_applied_vendor_credits_contact_company() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return line_items_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_applied_vendor_credits_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE: - return line_items_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_applied_vendor_credits_contact_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM: - return line_items_applied_vendor_credits_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE: - return line_items_applied_vendor_credits_contact_employee() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return line_items_applied_vendor_credits_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM: - return line_items_applied_vendor_credits_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return line_items_applied_vendor_credits_employee() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_applied_vendor_credits_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM: - return line_items_applied_vendor_credits_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return line_items_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_COMPANY: - return line_items_company() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD: - return line_items_company_accounting_period() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_COMPANY_EMPLOYEE: - return line_items_company_employee() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_company_employee_accounting_period() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return line_items_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_COMPANY_PAYMENT_TERM: - return line_items_company_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_CONTACT: - return line_items_contact() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD: - return line_items_contact_accounting_period() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_CONTACT_COMPANY: - return line_items_contact_company() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return line_items_contact_company_accounting_period() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE: - return line_items_contact_company_employee() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_contact_company_employee_accounting_period() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_contact_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return line_items_contact_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_CONTACT_COMPANY_PAYMENT_TERM: - return line_items_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_CONTACT_EMPLOYEE: - return line_items_contact_employee() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_contact_employee_accounting_period() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_contact_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return line_items_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_CONTACT_PAYMENT_TERM: - return line_items_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_EMPLOYEE: - return line_items_employee() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_employee_accounting_period() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_EMPLOYEE_PAYMENT_TERM: - return line_items_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PAYMENT_TERM: - return line_items_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS: - return line_items_purchase_orders() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_ACCOUNTING_PERIOD: - return line_items_purchase_orders_accounting_period() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_purchase_orders_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES: - return line_items_purchase_orders_applied_credit_notes() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD: - return line_items_purchase_orders_applied_credit_notes_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS: - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return ( - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return ( - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY: - return line_items_purchase_orders_applied_credit_notes_company() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE: - return line_items_purchase_orders_applied_credit_notes_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM: - return line_items_purchase_orders_applied_credit_notes_company_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT: - return line_items_purchase_orders_applied_credit_notes_contact() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY: - return line_items_purchase_orders_applied_credit_notes_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return line_items_purchase_orders_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE: - return line_items_purchase_orders_applied_credit_notes_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM: - return line_items_purchase_orders_applied_credit_notes_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE: - return line_items_purchase_orders_applied_credit_notes_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM: - return line_items_purchase_orders_applied_credit_notes_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM: - return line_items_purchase_orders_applied_credit_notes_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS: - return line_items_purchase_orders_applied_vendor_credits() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD: - return line_items_purchase_orders_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY: - return line_items_purchase_orders_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE: - return line_items_purchase_orders_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_vendor_credits_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM: - return line_items_purchase_orders_applied_vendor_credits_company_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT: - return line_items_purchase_orders_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY: - return line_items_purchase_orders_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return line_items_purchase_orders_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_vendor_credits_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE: - return line_items_purchase_orders_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_vendor_credits_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM: - return line_items_purchase_orders_applied_vendor_credits_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return line_items_purchase_orders_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_vendor_credits_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return line_items_purchase_orders_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_COMPANY: - return line_items_purchase_orders_company() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD: - return line_items_purchase_orders_company_accounting_period() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_purchase_orders_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE: - return line_items_purchase_orders_company_employee() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_purchase_orders_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return line_items_purchase_orders_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM: - return line_items_purchase_orders_company_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_CONTACT: - return line_items_purchase_orders_contact() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD: - return line_items_purchase_orders_contact_accounting_period() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_purchase_orders_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY: - return line_items_purchase_orders_contact_company() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return line_items_purchase_orders_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE: - return line_items_purchase_orders_contact_company_employee() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_purchase_orders_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_contact_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return line_items_purchase_orders_contact_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM: - return line_items_purchase_orders_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE: - return line_items_purchase_orders_contact_employee() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_purchase_orders_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_contact_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return line_items_purchase_orders_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM: - return line_items_purchase_orders_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE: - return line_items_purchase_orders_employee() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_purchase_orders_employee_accounting_period() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_purchase_orders_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM: - return line_items_purchase_orders_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_PAYMENT_TERM: - return line_items_purchase_orders_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES: - return line_items_tracking_categories() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return line_items_tracking_categories_accounting_period() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_tracking_categories_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES: - return line_items_tracking_categories_applied_credit_notes() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD: - return line_items_tracking_categories_applied_credit_notes_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return ( - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return ( - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY: - return line_items_tracking_categories_applied_credit_notes_company() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE: - return line_items_tracking_categories_applied_credit_notes_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_company_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT: - return line_items_tracking_categories_applied_credit_notes_contact() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY: - return line_items_tracking_categories_applied_credit_notes_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return line_items_tracking_categories_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE: - return line_items_tracking_categories_applied_credit_notes_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE: - return line_items_tracking_categories_applied_credit_notes_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_PAYMENT_TERM: - return line_items_tracking_categories_applied_credit_notes_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS: - return line_items_tracking_categories_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY: - return line_items_tracking_categories_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_vendor_credits_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE: - return line_items_tracking_categories_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - line_items_tracking_categories_applied_vendor_credits_company_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_vendor_credits_company_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT: - return line_items_tracking_categories_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_vendor_credits_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY: - return line_items_tracking_categories_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - line_items_tracking_categories_applied_vendor_credits_contact_company_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return line_items_tracking_categories_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_vendor_credits_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE: - return line_items_tracking_categories_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - line_items_tracking_categories_applied_vendor_credits_contact_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_vendor_credits_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return line_items_tracking_categories_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_vendor_credits_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return line_items_tracking_categories_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_COMPANY: - return line_items_tracking_categories_company() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return line_items_tracking_categories_company_accounting_period() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_tracking_categories_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE: - return line_items_tracking_categories_company_employee() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_tracking_categories_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_PAYMENT_TERM: - return line_items_tracking_categories_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM: - return line_items_tracking_categories_company_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT: - return line_items_tracking_categories_contact() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD: - return line_items_tracking_categories_contact_accounting_period() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_tracking_categories_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY: - return line_items_tracking_categories_contact_company() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return line_items_tracking_categories_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE: - return line_items_tracking_categories_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_contact_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return line_items_tracking_categories_contact_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_PAYMENT_TERM: - return line_items_tracking_categories_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE: - return line_items_tracking_categories_contact_employee() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_tracking_categories_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_contact_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_PAYMENT_TERM: - return line_items_tracking_categories_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_PAYMENT_TERM: - return line_items_tracking_categories_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE: - return line_items_tracking_categories_employee() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_tracking_categories_employee_accounting_period() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_tracking_categories_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_PAYMENT_TERM: - return line_items_tracking_categories_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PAYMENT_TERM: - return line_items_tracking_categories_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS: - return line_items_tracking_categories_purchase_orders() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD: - return line_items_tracking_categories_purchase_orders_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES: - return line_items_tracking_categories_purchase_orders_applied_credit_notes() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_company() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_contact() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return ( - line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS: - return line_items_tracking_categories_purchase_orders_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - line_items_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY: - return line_items_tracking_categories_purchase_orders_company() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE: - return line_items_tracking_categories_purchase_orders_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM: - return line_items_tracking_categories_purchase_orders_company_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT: - return line_items_tracking_categories_purchase_orders_contact() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY: - return line_items_tracking_categories_purchase_orders_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE - ): - return line_items_tracking_categories_purchase_orders_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - line_items_tracking_categories_purchase_orders_contact_company_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE: - return line_items_tracking_categories_purchase_orders_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM: - return line_items_tracking_categories_purchase_orders_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE: - return line_items_tracking_categories_purchase_orders_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM: - return line_items_tracking_categories_purchase_orders_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_PAYMENT_TERM: - return line_items_tracking_categories_purchase_orders_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENT_TERM: - return payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS: - return payments() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_ACCOUNTING_PERIOD: - return payments_accounting_period() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES: - return payments_applied_credit_notes() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD: - return payments_applied_credit_notes_accounting_period() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_applied_credit_notes_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS: - return payments_applied_credit_notes_applied_vendor_credits() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD: - return payments_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY: - return payments_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE: - return payments_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_applied_credit_notes_applied_vendor_credits_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT: - return payments_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY: - return payments_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE: - return payments_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return payments_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return payments_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY: - return payments_applied_credit_notes_company() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD: - return payments_applied_credit_notes_company_accounting_period() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_applied_credit_notes_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE: - return payments_applied_credit_notes_company_employee() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_credit_notes_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_applied_credit_notes_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM: - return payments_applied_credit_notes_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT: - return payments_applied_credit_notes_contact() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD: - return payments_applied_credit_notes_contact_accounting_period() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_applied_credit_notes_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY: - return payments_applied_credit_notes_contact_company() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return payments_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_credit_notes_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE: - return payments_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_applied_credit_notes_contact_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM: - return payments_applied_credit_notes_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE: - return payments_applied_credit_notes_contact_employee() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_credit_notes_contact_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM: - return payments_applied_credit_notes_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM: - return payments_applied_credit_notes_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE: - return payments_applied_credit_notes_employee() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_applied_credit_notes_employee_accounting_period() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_applied_credit_notes_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM: - return payments_applied_credit_notes_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_PAYMENT_TERM: - return payments_applied_credit_notes_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS: - return payments_applied_payments() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_ACCOUNTING_PERIOD: - return payments_applied_payments_accounting_period() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_applied_payments_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES: - return payments_applied_payments_applied_credit_notes() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD: - return payments_applied_payments_applied_credit_notes_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS: - return payments_applied_payments_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_applied_payments_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY: - return payments_applied_payments_applied_credit_notes_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE: - return payments_applied_payments_applied_credit_notes_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM: - return payments_applied_payments_applied_credit_notes_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT: - return payments_applied_payments_applied_credit_notes_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY: - return payments_applied_payments_applied_credit_notes_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_applied_payments_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE: - return payments_applied_payments_applied_credit_notes_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM: - return payments_applied_payments_applied_credit_notes_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE: - return payments_applied_payments_applied_credit_notes_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM: - return payments_applied_payments_applied_credit_notes_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_PAYMENT_TERM: - return payments_applied_payments_applied_credit_notes_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS: - return payments_applied_payments_applied_vendor_credits() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD: - return payments_applied_payments_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY: - return payments_applied_payments_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_vendor_credits_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE: - return payments_applied_payments_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_applied_vendor_credits_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM: - return payments_applied_payments_applied_vendor_credits_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT: - return payments_applied_payments_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_vendor_credits_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY: - return payments_applied_payments_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_applied_vendor_credits_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE: - return payments_applied_payments_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_applied_vendor_credits_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM: - return payments_applied_payments_applied_vendor_credits_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return payments_applied_payments_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_vendor_credits_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM: - return payments_applied_payments_applied_vendor_credits_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return payments_applied_payments_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_COMPANY: - return payments_applied_payments_company() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD: - return payments_applied_payments_company_accounting_period() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_applied_payments_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_COMPANY_EMPLOYEE: - return payments_applied_payments_company_employee() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_applied_payments_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_applied_payments_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_COMPANY_PAYMENT_TERM: - return payments_applied_payments_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT: - return payments_applied_payments_contact() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT_ACCOUNTING_PERIOD: - return payments_applied_payments_contact_accounting_period() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_applied_payments_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY: - return payments_applied_payments_contact_company() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return payments_applied_payments_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY_EMPLOYEE: - return payments_applied_payments_contact_company_employee() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_applied_payments_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_contact_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_applied_payments_contact_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY_PAYMENT_TERM: - return payments_applied_payments_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT_EMPLOYEE: - return payments_applied_payments_contact_employee() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_applied_payments_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_contact_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return payments_applied_payments_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT_PAYMENT_TERM: - return payments_applied_payments_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_EMPLOYEE: - return payments_applied_payments_employee() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_applied_payments_employee_accounting_period() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_applied_payments_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_EMPLOYEE_PAYMENT_TERM: - return payments_applied_payments_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS: - return payments_applied_payments_line_items() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_ACCOUNTING_PERIOD: - return payments_applied_payments_line_items_accounting_period() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_applied_payments_line_items_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES: - return payments_applied_payments_line_items_applied_credit_notes() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_credit_notes_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return ( - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return ( - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return ( - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_employee_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY: - return payments_applied_payments_line_items_applied_credit_notes_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_applied_credit_notes_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT: - return payments_applied_payments_line_items_applied_credit_notes_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY - ): - return payments_applied_payments_line_items_applied_credit_notes_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - payments_applied_payments_line_items_applied_credit_notes_contact_company_employee_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE - ): - return payments_applied_payments_line_items_applied_credit_notes_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE: - return payments_applied_payments_line_items_applied_credit_notes_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_PAYMENT_TERM: - return payments_applied_payments_line_items_applied_credit_notes_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS: - return payments_applied_payments_line_items_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY: - return payments_applied_payments_line_items_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_vendor_credits_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT: - return payments_applied_payments_line_items_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_applied_payments_line_items_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - payments_applied_payments_line_items_applied_vendor_credits_contact_company_employee_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_applied_payments_line_items_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_vendor_credits_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return payments_applied_payments_line_items_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY: - return payments_applied_payments_line_items_company() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD: - return payments_applied_payments_line_items_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE: - return payments_applied_payments_line_items_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_applied_payments_line_items_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_PAYMENT_TERM: - return payments_applied_payments_line_items_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT: - return payments_applied_payments_line_items_contact() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD: - return payments_applied_payments_line_items_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY: - return payments_applied_payments_line_items_contact_company() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return payments_applied_payments_line_items_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE: - return payments_applied_payments_line_items_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_contact_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_PAYMENT_TERM: - return payments_applied_payments_line_items_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE: - return payments_applied_payments_line_items_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_contact_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return payments_applied_payments_line_items_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_PAYMENT_TERM: - return payments_applied_payments_line_items_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_EMPLOYEE: - return payments_applied_payments_line_items_employee() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_applied_payments_line_items_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_EMPLOYEE_PAYMENT_TERM: - return payments_applied_payments_line_items_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PAYMENT_TERM: - return payments_applied_payments_line_items_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS: - return payments_applied_payments_line_items_purchase_orders() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_ACCOUNTING_PERIOD: - return payments_applied_payments_line_items_purchase_orders_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return ( - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_employee_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return ( - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_company_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return ( - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return ( - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_employee_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY: - return payments_applied_payments_line_items_purchase_orders_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE: - return payments_applied_payments_line_items_purchase_orders_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_applied_payments_line_items_purchase_orders_company_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT: - return payments_applied_payments_line_items_purchase_orders_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY: - return payments_applied_payments_line_items_purchase_orders_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_purchase_orders_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE: - return payments_applied_payments_line_items_purchase_orders_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_applied_payments_line_items_purchase_orders_contact_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE: - return payments_applied_payments_line_items_purchase_orders_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_PAYMENT_TERM: - return payments_applied_payments_line_items_purchase_orders_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES: - return payments_applied_payments_line_items_tracking_categories() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return ( - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return ( - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return ( - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_company_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return ( - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return ( - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_employee_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY: - return payments_applied_payments_line_items_tracking_categories_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT: - return payments_applied_payments_line_items_tracking_categories_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY - ): - return payments_applied_payments_line_items_tracking_categories_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE: - return payments_applied_payments_line_items_tracking_categories_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PAYMENT_TERM: - return payments_applied_payments_line_items_tracking_categories_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY - ): - return ( - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT - ): - return ( - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE - ): - return ( - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return ( - payments_applied_payments_line_items_tracking_categories_purchase_orders_company_employee_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM - ): - return ( - payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_company_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return ( - payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_employee_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PAYMENT_TERM: - return payments_applied_payments_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS: - return payments_applied_payments_purchase_orders() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_ACCOUNTING_PERIOD: - return payments_applied_payments_purchase_orders_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES: - return payments_applied_payments_purchase_orders_applied_credit_notes() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return ( - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return ( - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return ( - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY: - return payments_applied_payments_purchase_orders_applied_credit_notes_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_applied_payments_purchase_orders_applied_credit_notes_company_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT: - return payments_applied_payments_purchase_orders_applied_credit_notes_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_applied_payments_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return ( - payments_applied_payments_purchase_orders_applied_credit_notes_contact_company_employee_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_applied_payments_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS: - return payments_applied_payments_purchase_orders_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return ( - payments_applied_payments_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY: - return payments_applied_payments_purchase_orders_company() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD: - return payments_applied_payments_purchase_orders_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE: - return payments_applied_payments_purchase_orders_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM: - return payments_applied_payments_purchase_orders_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT: - return payments_applied_payments_purchase_orders_contact() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD: - return payments_applied_payments_purchase_orders_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY: - return payments_applied_payments_purchase_orders_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE: - return payments_applied_payments_purchase_orders_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_contact_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM: - return payments_applied_payments_purchase_orders_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE: - return payments_applied_payments_purchase_orders_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM: - return payments_applied_payments_purchase_orders_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_EMPLOYEE: - return payments_applied_payments_purchase_orders_employee() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_applied_payments_purchase_orders_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM: - return payments_applied_payments_purchase_orders_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_PAYMENT_TERM: - return payments_applied_payments_purchase_orders_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES: - return payments_applied_payments_tracking_categories() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return payments_applied_payments_tracking_categories_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES: - return payments_applied_payments_tracking_categories_applied_credit_notes() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return ( - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - payments_applied_payments_tracking_categories_applied_credit_notes_company_employee_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return ( - payments_applied_payments_tracking_categories_applied_credit_notes_contact_company_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - payments_applied_payments_tracking_categories_applied_credit_notes_contact_employee_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS: - return payments_applied_payments_tracking_categories_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return ( - payments_applied_payments_tracking_categories_applied_vendor_credits_contact_company_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY: - return payments_applied_payments_tracking_categories_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE: - return payments_applied_payments_tracking_categories_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM: - return payments_applied_payments_tracking_categories_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT: - return payments_applied_payments_tracking_categories_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY: - return payments_applied_payments_tracking_categories_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE: - return payments_applied_payments_tracking_categories_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_applied_payments_tracking_categories_contact_company_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE: - return payments_applied_payments_tracking_categories_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_PAYMENT_TERM: - return payments_applied_payments_tracking_categories_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE: - return payments_applied_payments_tracking_categories_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE_PAYMENT_TERM: - return payments_applied_payments_tracking_categories_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PAYMENT_TERM: - return payments_applied_payments_tracking_categories_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS: - return payments_applied_payments_tracking_categories_purchase_orders() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD - ): - return ( - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return ( - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return ( - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return ( - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return ( - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY: - return payments_applied_payments_tracking_categories_purchase_orders_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_applied_payments_tracking_categories_purchase_orders_company_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_purchase_orders_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT: - return payments_applied_payments_tracking_categories_purchase_orders_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_applied_payments_tracking_categories_purchase_orders_contact_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY - ): - return payments_applied_payments_tracking_categories_purchase_orders_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_purchase_orders_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_purchase_orders_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE: - return payments_applied_payments_tracking_categories_purchase_orders_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_applied_payments_tracking_categories_purchase_orders_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS: - return payments_applied_vendor_credits() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD: - return payments_applied_vendor_credits_accounting_period() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY: - return payments_applied_vendor_credits_company() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD: - return payments_applied_vendor_credits_company_accounting_period() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_applied_vendor_credits_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE: - return payments_applied_vendor_credits_company_employee() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_vendor_credits_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_applied_vendor_credits_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM: - return payments_applied_vendor_credits_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT: - return payments_applied_vendor_credits_contact() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD: - return payments_applied_vendor_credits_contact_accounting_period() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_applied_vendor_credits_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY: - return payments_applied_vendor_credits_contact_company() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return payments_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_vendor_credits_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE: - return payments_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_applied_vendor_credits_contact_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM: - return payments_applied_vendor_credits_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE: - return payments_applied_vendor_credits_contact_employee() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return payments_applied_vendor_credits_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM: - return payments_applied_vendor_credits_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return payments_applied_vendor_credits_employee() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_vendor_credits_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM: - return payments_applied_vendor_credits_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return payments_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_COMPANY: - return payments_company() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_COMPANY_ACCOUNTING_PERIOD: - return payments_company_accounting_period() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_COMPANY_EMPLOYEE: - return payments_company_employee() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_company_employee_accounting_period() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_COMPANY_PAYMENT_TERM: - return payments_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_CONTACT: - return payments_contact() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_CONTACT_ACCOUNTING_PERIOD: - return payments_contact_accounting_period() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_CONTACT_COMPANY: - return payments_contact_company() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return payments_contact_company_accounting_period() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_CONTACT_COMPANY_EMPLOYEE: - return payments_contact_company_employee() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_contact_company_employee_accounting_period() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_contact_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_contact_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_CONTACT_COMPANY_PAYMENT_TERM: - return payments_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_CONTACT_EMPLOYEE: - return payments_contact_employee() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_contact_employee_accounting_period() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_contact_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return payments_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_CONTACT_PAYMENT_TERM: - return payments_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_EMPLOYEE: - return payments_employee() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_employee_accounting_period() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_EMPLOYEE_PAYMENT_TERM: - return payments_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS: - return payments_line_items() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_ACCOUNTING_PERIOD: - return payments_line_items_accounting_period() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_line_items_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES: - return payments_line_items_applied_credit_notes() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD: - return payments_line_items_applied_credit_notes_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS: - return payments_line_items_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_line_items_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_line_items_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return ( - payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY: - return payments_line_items_applied_credit_notes_company() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD: - return payments_line_items_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE: - return payments_line_items_applied_credit_notes_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_line_items_applied_credit_notes_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM: - return payments_line_items_applied_credit_notes_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT: - return payments_line_items_applied_credit_notes_contact() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD: - return payments_line_items_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY: - return payments_line_items_applied_credit_notes_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE: - return payments_line_items_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_contact_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM: - return payments_line_items_applied_credit_notes_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE: - return payments_line_items_applied_credit_notes_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_contact_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM: - return payments_line_items_applied_credit_notes_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM: - return payments_line_items_applied_credit_notes_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE: - return payments_line_items_applied_credit_notes_employee() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_line_items_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM: - return payments_line_items_applied_credit_notes_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_PAYMENT_TERM: - return payments_line_items_applied_credit_notes_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS: - return payments_line_items_applied_vendor_credits() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD: - return payments_line_items_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY: - return payments_line_items_applied_vendor_credits_company() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD: - return payments_line_items_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_vendor_credits_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE: - return payments_line_items_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_applied_vendor_credits_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM: - return payments_line_items_applied_vendor_credits_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT: - return payments_line_items_applied_vendor_credits_contact() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD: - return payments_line_items_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_vendor_credits_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY: - return payments_line_items_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_vendor_credits_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE: - return payments_line_items_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_line_items_applied_vendor_credits_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE: - return payments_line_items_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_applied_vendor_credits_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM: - return payments_line_items_applied_vendor_credits_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return payments_line_items_applied_vendor_credits_employee() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_line_items_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_vendor_credits_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM: - return payments_line_items_applied_vendor_credits_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return payments_line_items_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_COMPANY: - return payments_line_items_company() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD: - return payments_line_items_company_accounting_period() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_line_items_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE: - return payments_line_items_company_employee() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_line_items_company_employee_accounting_period() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_line_items_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_line_items_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_COMPANY_PAYMENT_TERM: - return payments_line_items_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT: - return payments_line_items_contact() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD: - return payments_line_items_contact_accounting_period() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_line_items_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT_COMPANY: - return payments_line_items_contact_company() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return payments_line_items_contact_company_accounting_period() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_line_items_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE: - return payments_line_items_contact_company_employee() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_line_items_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_contact_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_line_items_contact_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_PAYMENT_TERM: - return payments_line_items_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE: - return payments_line_items_contact_employee() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_line_items_contact_employee_accounting_period() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_line_items_contact_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return payments_line_items_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT_PAYMENT_TERM: - return payments_line_items_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_EMPLOYEE: - return payments_line_items_employee() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_line_items_employee_accounting_period() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_line_items_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_EMPLOYEE_PAYMENT_TERM: - return payments_line_items_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PAYMENT_TERM: - return payments_line_items_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS: - return payments_line_items_purchase_orders() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_ACCOUNTING_PERIOD: - return payments_line_items_purchase_orders_accounting_period() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_line_items_purchase_orders_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES: - return payments_line_items_purchase_orders_applied_credit_notes() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_credit_notes_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return ( - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return ( - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return ( - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY: - return payments_line_items_purchase_orders_applied_credit_notes_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE - ): - return payments_line_items_purchase_orders_applied_credit_notes_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT: - return payments_line_items_purchase_orders_applied_credit_notes_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY - ): - return payments_line_items_purchase_orders_applied_credit_notes_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE - ): - return payments_line_items_purchase_orders_applied_credit_notes_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE: - return payments_line_items_purchase_orders_applied_credit_notes_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM: - return payments_line_items_purchase_orders_applied_credit_notes_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS: - return payments_line_items_purchase_orders_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY: - return payments_line_items_purchase_orders_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_line_items_purchase_orders_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_vendor_credits_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT: - return payments_line_items_purchase_orders_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_line_items_purchase_orders_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_line_items_purchase_orders_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_vendor_credits_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return payments_line_items_purchase_orders_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY: - return payments_line_items_purchase_orders_company() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD: - return payments_line_items_purchase_orders_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE: - return payments_line_items_purchase_orders_company_employee() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_line_items_purchase_orders_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_line_items_purchase_orders_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM: - return payments_line_items_purchase_orders_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT: - return payments_line_items_purchase_orders_contact() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD: - return payments_line_items_purchase_orders_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY: - return payments_line_items_purchase_orders_contact_company() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return payments_line_items_purchase_orders_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE: - return payments_line_items_purchase_orders_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_contact_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM: - return payments_line_items_purchase_orders_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE: - return payments_line_items_purchase_orders_contact_employee() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_line_items_purchase_orders_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_contact_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return payments_line_items_purchase_orders_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM: - return payments_line_items_purchase_orders_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE: - return payments_line_items_purchase_orders_employee() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_line_items_purchase_orders_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM: - return payments_line_items_purchase_orders_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_PAYMENT_TERM: - return payments_line_items_purchase_orders_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES: - return payments_line_items_tracking_categories() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return payments_line_items_tracking_categories_accounting_period() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_line_items_tracking_categories_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES: - return payments_line_items_tracking_categories_applied_credit_notes() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_credit_notes_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return ( - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return ( - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return ( - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY: - return payments_line_items_tracking_categories_applied_credit_notes_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE - ): - return payments_line_items_tracking_categories_applied_credit_notes_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT: - return payments_line_items_tracking_categories_applied_credit_notes_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY - ): - return payments_line_items_tracking_categories_applied_credit_notes_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE - ): - return payments_line_items_tracking_categories_applied_credit_notes_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE: - return payments_line_items_tracking_categories_applied_credit_notes_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_line_items_tracking_categories_applied_credit_notes_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS: - return payments_line_items_tracking_categories_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY: - return payments_line_items_tracking_categories_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_line_items_tracking_categories_applied_vendor_credits_company_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_line_items_tracking_categories_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_vendor_credits_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT: - return payments_line_items_tracking_categories_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_line_items_tracking_categories_applied_vendor_credits_contact_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_line_items_tracking_categories_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return ( - payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_line_items_tracking_categories_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_line_items_tracking_categories_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_line_items_tracking_categories_applied_vendor_credits_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY: - return payments_line_items_tracking_categories_company() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return payments_line_items_tracking_categories_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE: - return payments_line_items_tracking_categories_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_line_items_tracking_categories_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM: - return payments_line_items_tracking_categories_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT: - return payments_line_items_tracking_categories_contact() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD: - return payments_line_items_tracking_categories_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY: - return payments_line_items_tracking_categories_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE: - return payments_line_items_tracking_categories_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_contact_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_PAYMENT_TERM: - return payments_line_items_tracking_categories_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE: - return payments_line_items_tracking_categories_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_contact_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_PAYMENT_TERM: - return payments_line_items_tracking_categories_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_PAYMENT_TERM: - return payments_line_items_tracking_categories_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE: - return payments_line_items_tracking_categories_employee() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_line_items_tracking_categories_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_PAYMENT_TERM: - return payments_line_items_tracking_categories_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PAYMENT_TERM: - return payments_line_items_tracking_categories_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS: - return payments_line_items_tracking_categories_purchase_orders() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return ( - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return ( - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return ( - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return ( - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY: - return payments_line_items_tracking_categories_purchase_orders_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE - ): - return payments_line_items_tracking_categories_purchase_orders_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT: - return payments_line_items_tracking_categories_purchase_orders_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY - ): - return payments_line_items_tracking_categories_purchase_orders_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_line_items_tracking_categories_purchase_orders_contact_company_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_line_items_tracking_categories_purchase_orders_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE - ): - return payments_line_items_tracking_categories_purchase_orders_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE: - return payments_line_items_tracking_categories_purchase_orders_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_PAYMENT_TERM: - return payments_line_items_tracking_categories_purchase_orders_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PAYMENT_TERM: - return payments_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS: - return payments_purchase_orders() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_ACCOUNTING_PERIOD: - return payments_purchase_orders_accounting_period() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_purchase_orders_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES: - return payments_purchase_orders_applied_credit_notes() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD: - return payments_purchase_orders_applied_credit_notes_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS: - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return ( - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY: - return payments_purchase_orders_applied_credit_notes_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return payments_purchase_orders_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE: - return payments_purchase_orders_applied_credit_notes_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_purchase_orders_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM: - return payments_purchase_orders_applied_credit_notes_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT: - return payments_purchase_orders_applied_credit_notes_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return payments_purchase_orders_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY: - return payments_purchase_orders_applied_credit_notes_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_purchase_orders_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE: - return payments_purchase_orders_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE: - return payments_purchase_orders_applied_credit_notes_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_purchase_orders_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM: - return payments_purchase_orders_applied_credit_notes_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE: - return payments_purchase_orders_applied_credit_notes_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_purchase_orders_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM: - return payments_purchase_orders_applied_credit_notes_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM: - return payments_purchase_orders_applied_credit_notes_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS: - return payments_purchase_orders_applied_vendor_credits() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD: - return payments_purchase_orders_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY: - return payments_purchase_orders_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_purchase_orders_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE: - return payments_purchase_orders_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_purchase_orders_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_purchase_orders_applied_vendor_credits_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM: - return payments_purchase_orders_applied_vendor_credits_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT: - return payments_purchase_orders_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_purchase_orders_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY: - return payments_purchase_orders_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_purchase_orders_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_purchase_orders_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_purchase_orders_applied_vendor_credits_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE: - return payments_purchase_orders_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_purchase_orders_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_purchase_orders_applied_vendor_credits_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM: - return payments_purchase_orders_applied_vendor_credits_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return payments_purchase_orders_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_purchase_orders_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM: - return payments_purchase_orders_applied_vendor_credits_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return payments_purchase_orders_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_COMPANY: - return payments_purchase_orders_company() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD: - return payments_purchase_orders_company_accounting_period() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_purchase_orders_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE: - return payments_purchase_orders_company_employee() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_purchase_orders_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_purchase_orders_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM: - return payments_purchase_orders_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_CONTACT: - return payments_purchase_orders_contact() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD: - return payments_purchase_orders_contact_accounting_period() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_purchase_orders_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY: - return payments_purchase_orders_contact_company() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return payments_purchase_orders_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE: - return payments_purchase_orders_contact_company_employee() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_purchase_orders_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_contact_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_purchase_orders_contact_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM: - return payments_purchase_orders_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE: - return payments_purchase_orders_contact_employee() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_purchase_orders_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_contact_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return payments_purchase_orders_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM: - return payments_purchase_orders_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_EMPLOYEE: - return payments_purchase_orders_employee() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_purchase_orders_employee_accounting_period() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_purchase_orders_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM: - return payments_purchase_orders_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_PAYMENT_TERM: - return payments_purchase_orders_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES: - return payments_tracking_categories() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return payments_tracking_categories_accounting_period() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_tracking_categories_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES: - return payments_tracking_categories_applied_credit_notes() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD: - return payments_tracking_categories_applied_credit_notes_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return ( - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return ( - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return ( - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY: - return payments_tracking_categories_applied_credit_notes_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE: - return payments_tracking_categories_applied_credit_notes_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM: - return payments_tracking_categories_applied_credit_notes_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT: - return payments_tracking_categories_applied_credit_notes_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY: - return payments_tracking_categories_applied_credit_notes_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return payments_tracking_categories_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE: - return payments_tracking_categories_applied_credit_notes_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM: - return payments_tracking_categories_applied_credit_notes_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE: - return payments_tracking_categories_applied_credit_notes_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_PAYMENT_TERM: - return payments_tracking_categories_applied_credit_notes_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS: - return payments_tracking_categories_applied_vendor_credits() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD: - return payments_tracking_categories_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY: - return payments_tracking_categories_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_vendor_credits_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE: - return payments_tracking_categories_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_tracking_categories_applied_vendor_credits_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT: - return payments_tracking_categories_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_vendor_credits_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY: - return payments_tracking_categories_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_tracking_categories_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_tracking_categories_applied_vendor_credits_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE: - return payments_tracking_categories_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_tracking_categories_applied_vendor_credits_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return payments_tracking_categories_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_applied_vendor_credits_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return payments_tracking_categories_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_COMPANY: - return payments_tracking_categories_company() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return payments_tracking_categories_company_accounting_period() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_tracking_categories_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE: - return payments_tracking_categories_company_employee() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_tracking_categories_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_tracking_categories_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM: - return payments_tracking_categories_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT: - return payments_tracking_categories_contact() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD: - return payments_tracking_categories_contact_accounting_period() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_tracking_categories_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY: - return payments_tracking_categories_contact_company() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return payments_tracking_categories_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE: - return payments_tracking_categories_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_contact_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_tracking_categories_contact_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_PAYMENT_TERM: - return payments_tracking_categories_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE: - return payments_tracking_categories_contact_employee() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_tracking_categories_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_contact_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_PAYMENT_TERM: - return payments_tracking_categories_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT_PAYMENT_TERM: - return payments_tracking_categories_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE: - return payments_tracking_categories_employee() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_tracking_categories_employee_accounting_period() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_tracking_categories_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE_PAYMENT_TERM: - return payments_tracking_categories_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PAYMENT_TERM: - return payments_tracking_categories_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS: - return payments_tracking_categories_purchase_orders() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD: - return payments_tracking_categories_purchase_orders_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES: - return payments_tracking_categories_purchase_orders_applied_credit_notes() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return ( - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS: - return payments_tracking_categories_purchase_orders_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return ( - payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY: - return payments_tracking_categories_purchase_orders_company() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD: - return payments_tracking_categories_purchase_orders_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE: - return payments_tracking_categories_purchase_orders_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM: - return payments_tracking_categories_purchase_orders_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT: - return payments_tracking_categories_purchase_orders_contact() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD: - return payments_tracking_categories_purchase_orders_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY: - return payments_tracking_categories_purchase_orders_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE: - return payments_tracking_categories_purchase_orders_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_tracking_categories_purchase_orders_contact_company_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE: - return payments_tracking_categories_purchase_orders_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM: - return payments_tracking_categories_purchase_orders_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE: - return payments_tracking_categories_purchase_orders_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM: - return payments_tracking_categories_purchase_orders_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_PAYMENT_TERM: - return payments_tracking_categories_purchase_orders_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS: - return purchase_orders() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_ACCOUNTING_PERIOD: - return purchase_orders_accounting_period() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return purchase_orders_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES: - return purchase_orders_applied_credit_notes() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD: - return purchase_orders_applied_credit_notes_accounting_period() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM: - return purchase_orders_applied_credit_notes_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS: - return purchase_orders_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY: - return purchase_orders_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT: - return purchase_orders_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return purchase_orders_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY: - return purchase_orders_applied_credit_notes_company() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD: - return purchase_orders_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE: - return purchase_orders_applied_credit_notes_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return purchase_orders_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM: - return purchase_orders_applied_credit_notes_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM: - return purchase_orders_applied_credit_notes_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT: - return purchase_orders_applied_credit_notes_contact() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD: - return purchase_orders_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY: - return purchase_orders_applied_credit_notes_contact_company() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return purchase_orders_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE: - return purchase_orders_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return purchase_orders_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_contact_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM: - return purchase_orders_applied_credit_notes_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE: - return purchase_orders_applied_credit_notes_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return purchase_orders_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM: - return purchase_orders_applied_credit_notes_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM: - return purchase_orders_applied_credit_notes_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE: - return purchase_orders_applied_credit_notes_employee() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD: - return purchase_orders_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM: - return purchase_orders_applied_credit_notes_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM: - return purchase_orders_applied_credit_notes_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS: - return purchase_orders_applied_vendor_credits() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD: - return purchase_orders_applied_vendor_credits_accounting_period() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return purchase_orders_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY: - return purchase_orders_applied_vendor_credits_company() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD: - return purchase_orders_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_vendor_credits_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE: - return purchase_orders_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return purchase_orders_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return purchase_orders_applied_vendor_credits_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM: - return purchase_orders_applied_vendor_credits_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT: - return purchase_orders_applied_vendor_credits_contact() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD: - return purchase_orders_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY: - return purchase_orders_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return purchase_orders_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE: - return purchase_orders_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return purchase_orders_applied_vendor_credits_contact_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM: - return purchase_orders_applied_vendor_credits_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE: - return purchase_orders_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return purchase_orders_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return purchase_orders_applied_vendor_credits_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM: - return purchase_orders_applied_vendor_credits_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return purchase_orders_applied_vendor_credits_employee() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD: - return purchase_orders_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM: - return purchase_orders_applied_vendor_credits_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return purchase_orders_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_COMPANY: - return purchase_orders_company() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD: - return purchase_orders_company_accounting_period() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return purchase_orders_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_COMPANY_EMPLOYEE: - return purchase_orders_company_employee() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return purchase_orders_company_employee_accounting_period() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return purchase_orders_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return purchase_orders_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_COMPANY_PAYMENT_TERM: - return purchase_orders_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_CONTACT: - return purchase_orders_contact() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD: - return purchase_orders_contact_accounting_period() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return purchase_orders_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_CONTACT_COMPANY: - return purchase_orders_contact_company() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return purchase_orders_contact_company_accounting_period() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return purchase_orders_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE: - return purchase_orders_contact_company_employee() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return purchase_orders_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_contact_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return purchase_orders_contact_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM: - return purchase_orders_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_CONTACT_EMPLOYEE: - return purchase_orders_contact_employee() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return purchase_orders_contact_employee_accounting_period() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return purchase_orders_contact_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return purchase_orders_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_CONTACT_PAYMENT_TERM: - return purchase_orders_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_EMPLOYEE: - return purchase_orders_employee() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD: - return purchase_orders_employee_accounting_period() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return purchase_orders_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM: - return purchase_orders_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_PAYMENT_TERM: - return purchase_orders_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES: - return tracking_categories() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return tracking_categories_accounting_period() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM: - return tracking_categories_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES: - return tracking_categories_applied_credit_notes() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD: - return tracking_categories_applied_credit_notes_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS: - return tracking_categories_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return ( - tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY: - return tracking_categories_applied_credit_notes_company() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE: - return tracking_categories_applied_credit_notes_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM: - return tracking_categories_applied_credit_notes_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM: - return tracking_categories_applied_credit_notes_company_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT: - return tracking_categories_applied_credit_notes_contact() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD: - return tracking_categories_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY: - return tracking_categories_applied_credit_notes_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return tracking_categories_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE: - return tracking_categories_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_contact_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM: - return tracking_categories_applied_credit_notes_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE: - return tracking_categories_applied_credit_notes_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_contact_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM: - return tracking_categories_applied_credit_notes_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM: - return tracking_categories_applied_credit_notes_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE: - return tracking_categories_applied_credit_notes_employee() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD: - return tracking_categories_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM: - return tracking_categories_applied_credit_notes_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_PAYMENT_TERM: - return tracking_categories_applied_credit_notes_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS: - return tracking_categories_applied_vendor_credits() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD: - return tracking_categories_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY: - return tracking_categories_applied_vendor_credits_company() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_vendor_credits_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE: - return tracking_categories_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return tracking_categories_applied_vendor_credits_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM: - return tracking_categories_applied_vendor_credits_company_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT: - return tracking_categories_applied_vendor_credits_contact() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD: - return tracking_categories_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_vendor_credits_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY: - return tracking_categories_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return tracking_categories_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_vendor_credits_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE: - return tracking_categories_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return tracking_categories_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return tracking_categories_applied_vendor_credits_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE: - return tracking_categories_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return tracking_categories_applied_vendor_credits_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM: - return tracking_categories_applied_vendor_credits_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return tracking_categories_applied_vendor_credits_employee() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD: - return tracking_categories_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_vendor_credits_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM: - return tracking_categories_applied_vendor_credits_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return tracking_categories_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_COMPANY: - return tracking_categories_company() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_company_accounting_period() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return tracking_categories_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_COMPANY_EMPLOYEE: - return tracking_categories_company_employee() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return tracking_categories_company_employee_accounting_period() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return tracking_categories_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_COMPANY_EMPLOYEE_PAYMENT_TERM: - return tracking_categories_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM: - return tracking_categories_company_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT: - return tracking_categories_contact() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD: - return tracking_categories_contact_accounting_period() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return tracking_categories_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY: - return tracking_categories_contact_company() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_contact_company_accounting_period() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return tracking_categories_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE: - return tracking_categories_contact_company_employee() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return tracking_categories_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_contact_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return tracking_categories_contact_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY_PAYMENT_TERM: - return tracking_categories_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_EMPLOYEE: - return tracking_categories_contact_employee() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return tracking_categories_contact_employee_accounting_period() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return tracking_categories_contact_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_EMPLOYEE_PAYMENT_TERM: - return tracking_categories_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_PAYMENT_TERM: - return tracking_categories_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_EMPLOYEE: - return tracking_categories_employee() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD: - return tracking_categories_employee_accounting_period() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return tracking_categories_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_EMPLOYEE_PAYMENT_TERM: - return tracking_categories_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PAYMENT_TERM: - return tracking_categories_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS: - return tracking_categories_purchase_orders() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD: - return tracking_categories_purchase_orders_accounting_period() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return tracking_categories_purchase_orders_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES: - return tracking_categories_purchase_orders_applied_credit_notes() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_credit_notes_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return ( - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return ( - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return ( - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY: - return tracking_categories_purchase_orders_applied_credit_notes_company() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE - ): - return tracking_categories_purchase_orders_applied_credit_notes_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_company_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT: - return tracking_categories_purchase_orders_applied_credit_notes_contact() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY - ): - return tracking_categories_purchase_orders_applied_credit_notes_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE - ): - return tracking_categories_purchase_orders_applied_credit_notes_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE: - return tracking_categories_purchase_orders_applied_credit_notes_employee() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM: - return tracking_categories_purchase_orders_applied_credit_notes_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS: - return tracking_categories_purchase_orders_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY: - return tracking_categories_purchase_orders_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return tracking_categories_purchase_orders_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_vendor_credits_company_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT: - return tracking_categories_purchase_orders_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return tracking_categories_purchase_orders_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return tracking_categories_purchase_orders_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_vendor_credits_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return tracking_categories_purchase_orders_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY: - return tracking_categories_purchase_orders_company() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_purchase_orders_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE: - return tracking_categories_purchase_orders_company_employee() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return tracking_categories_purchase_orders_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return tracking_categories_purchase_orders_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM: - return tracking_categories_purchase_orders_company_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT: - return tracking_categories_purchase_orders_contact() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD: - return tracking_categories_purchase_orders_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY: - return tracking_categories_purchase_orders_contact_company() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_purchase_orders_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE: - return tracking_categories_purchase_orders_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_contact_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM: - return tracking_categories_purchase_orders_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE: - return tracking_categories_purchase_orders_contact_employee() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return tracking_categories_purchase_orders_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_contact_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return tracking_categories_purchase_orders_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM: - return tracking_categories_purchase_orders_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE: - return tracking_categories_purchase_orders_employee() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD: - return tracking_categories_purchase_orders_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM: - return tracking_categories_purchase_orders_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_PAYMENT_TERM: - return tracking_categories_purchase_orders_payment_term() diff --git a/src/merge/resources/accounting/resources/invoices/types/invoices_retrieve_request_expand_item.py b/src/merge/resources/accounting/resources/invoices/types/invoices_retrieve_request_expand_item.py new file mode 100644 index 00000000..415f3da3 --- /dev/null +++ b/src/merge/resources/accounting/resources/invoices/types/invoices_retrieve_request_expand_item.py @@ -0,0 +1,61 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class InvoicesRetrieveRequestExpandItem(str, enum.Enum): + ACCOUNTING_PERIOD = "accounting_period" + APPLIED_CREDIT_NOTES = "applied_credit_notes" + APPLIED_PAYMENTS = "applied_payments" + APPLIED_VENDOR_CREDITS = "applied_vendor_credits" + COMPANY = "company" + CONTACT = "contact" + EMPLOYEE = "employee" + LINE_ITEMS = "line_items" + PAYMENT_TERM = "payment_term" + PAYMENTS = "payments" + PURCHASE_ORDERS = "purchase_orders" + TRACKING_CATEGORIES = "tracking_categories" + + def visit( + self, + accounting_period: typing.Callable[[], T_Result], + applied_credit_notes: typing.Callable[[], T_Result], + applied_payments: typing.Callable[[], T_Result], + applied_vendor_credits: typing.Callable[[], T_Result], + company: typing.Callable[[], T_Result], + contact: typing.Callable[[], T_Result], + employee: typing.Callable[[], T_Result], + line_items: typing.Callable[[], T_Result], + payment_term: typing.Callable[[], T_Result], + payments: typing.Callable[[], T_Result], + purchase_orders: typing.Callable[[], T_Result], + tracking_categories: typing.Callable[[], T_Result], + ) -> T_Result: + if self is InvoicesRetrieveRequestExpandItem.ACCOUNTING_PERIOD: + return accounting_period() + if self is InvoicesRetrieveRequestExpandItem.APPLIED_CREDIT_NOTES: + return applied_credit_notes() + if self is InvoicesRetrieveRequestExpandItem.APPLIED_PAYMENTS: + return applied_payments() + if self is InvoicesRetrieveRequestExpandItem.APPLIED_VENDOR_CREDITS: + return applied_vendor_credits() + if self is InvoicesRetrieveRequestExpandItem.COMPANY: + return company() + if self is InvoicesRetrieveRequestExpandItem.CONTACT: + return contact() + if self is InvoicesRetrieveRequestExpandItem.EMPLOYEE: + return employee() + if self is InvoicesRetrieveRequestExpandItem.LINE_ITEMS: + return line_items() + if self is InvoicesRetrieveRequestExpandItem.PAYMENT_TERM: + return payment_term() + if self is InvoicesRetrieveRequestExpandItem.PAYMENTS: + return payments() + if self is InvoicesRetrieveRequestExpandItem.PURCHASE_ORDERS: + return purchase_orders() + if self is InvoicesRetrieveRequestExpandItem.TRACKING_CATEGORIES: + return tracking_categories() diff --git a/src/merge/resources/accounting/resources/invoices/types/invoices_retrieve_request_remote_fields.py b/src/merge/resources/accounting/resources/invoices/types/invoices_retrieve_request_remote_fields.py new file mode 100644 index 00000000..d87e9ba5 --- /dev/null +++ b/src/merge/resources/accounting/resources/invoices/types/invoices_retrieve_request_remote_fields.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class InvoicesRetrieveRequestRemoteFields(str, enum.Enum): + TYPE = "type" + + def visit(self, type: typing.Callable[[], T_Result]) -> T_Result: + if self is InvoicesRetrieveRequestRemoteFields.TYPE: + return type() diff --git a/src/merge/resources/accounting/resources/invoices/types/invoices_retrieve_request_show_enum_origins.py b/src/merge/resources/accounting/resources/invoices/types/invoices_retrieve_request_show_enum_origins.py new file mode 100644 index 00000000..21e9bfeb --- /dev/null +++ b/src/merge/resources/accounting/resources/invoices/types/invoices_retrieve_request_show_enum_origins.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class InvoicesRetrieveRequestShowEnumOrigins(str, enum.Enum): + TYPE = "type" + + def visit(self, type: typing.Callable[[], T_Result]) -> T_Result: + if self is InvoicesRetrieveRequestShowEnumOrigins.TYPE: + return type() diff --git a/src/merge/resources/accounting/resources/issues/__init__.py b/src/merge/resources/accounting/resources/issues/__init__.py index 3ca1094b..45b33fe1 100644 --- a/src/merge/resources/accounting/resources/issues/__init__.py +++ b/src/merge/resources/accounting/resources/issues/__init__.py @@ -16,8 +16,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: diff --git a/src/merge/resources/accounting/resources/issues/client.py b/src/merge/resources/accounting/resources/issues/client.py index b4469343..78075fac 100644 --- a/src/merge/resources/accounting/resources/issues/client.py +++ b/src/merge/resources/accounting/resources/issues/client.py @@ -4,6 +4,7 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.issue import Issue from ...types.paginated_issue_list import PaginatedIssueList @@ -44,7 +45,7 @@ def list( start_date: typing.Optional[str] = None, status: typing.Optional[IssuesListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedIssueList: + ) -> SyncPager[Issue, PaginatedIssueList]: """ Gets all issues for Organization. @@ -97,46 +98,27 @@ def list( Returns ------- - PaginatedIssueList + SyncPager[Issue, PaginatedIssueList] Examples -------- - import datetime - from merge import Merge - from merge.resources.accounting.resources.issues import IssuesListRequestStatus client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.issues.list( - account_token="account_token", + response = client.accounting.issues.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_date="end_date", - end_user_organization_name="end_user_organization_name", - first_incident_time_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - first_incident_time_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - include_muted="include_muted", - integration_name="integration_name", - last_incident_time_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - last_incident_time_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - linked_account_id="linked_account_id", - page_size=1, - start_date="start_date", - status=IssuesListRequestStatus.ONGOING, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( account_token=account_token, cursor=cursor, end_date=end_date, @@ -153,7 +135,6 @@ def list( status=status, request_options=request_options, ) - return _response.data def retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> Issue: """ @@ -220,7 +201,7 @@ async def list( start_date: typing.Optional[str] = None, status: typing.Optional[IssuesListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedIssueList: + ) -> AsyncPager[Issue, PaginatedIssueList]: """ Gets all issues for Organization. @@ -273,16 +254,14 @@ async def list( Returns ------- - PaginatedIssueList + AsyncPager[Issue, PaginatedIssueList] Examples -------- import asyncio - import datetime from merge import AsyncMerge - from merge.resources.accounting.resources.issues import IssuesListRequestStatus client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -291,35 +270,20 @@ async def list( async def main() -> None: - await client.accounting.issues.list( - account_token="account_token", + response = await client.accounting.issues.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_date="end_date", - end_user_organization_name="end_user_organization_name", - first_incident_time_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - first_incident_time_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - include_muted="include_muted", - integration_name="integration_name", - last_incident_time_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - last_incident_time_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - linked_account_id="linked_account_id", - page_size=1, - start_date="start_date", - status=IssuesListRequestStatus.ONGOING, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( account_token=account_token, cursor=cursor, end_date=end_date, @@ -336,7 +300,6 @@ async def main() -> None: status=status, request_options=request_options, ) - return _response.data async def retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> Issue: """ diff --git a/src/merge/resources/accounting/resources/issues/raw_client.py b/src/merge/resources/accounting/resources/issues/raw_client.py index a44fb598..7876f381 100644 --- a/src/merge/resources/accounting/resources/issues/raw_client.py +++ b/src/merge/resources/accounting/resources/issues/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.issue import Issue @@ -38,7 +39,7 @@ def list( start_date: typing.Optional[str] = None, status: typing.Optional[IssuesListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedIssueList]: + ) -> SyncPager[Issue, PaginatedIssueList]: """ Gets all issues for Organization. @@ -91,7 +92,7 @@ def list( Returns ------- - HttpResponse[PaginatedIssueList] + SyncPager[Issue, PaginatedIssueList] """ _response = self._client_wrapper.httpx_client.request( @@ -125,14 +126,34 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedIssueList, construct_type( type_=PaginatedIssueList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + account_token=account_token, + cursor=_parsed_next, + end_date=end_date, + end_user_organization_name=end_user_organization_name, + first_incident_time_after=first_incident_time_after, + first_incident_time_before=first_incident_time_before, + include_muted=include_muted, + integration_name=integration_name, + last_incident_time_after=last_incident_time_after, + last_incident_time_before=last_incident_time_before, + linked_account_id=linked_account_id, + page_size=page_size, + start_date=start_date, + status=status, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -197,7 +218,7 @@ async def list( start_date: typing.Optional[str] = None, status: typing.Optional[IssuesListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedIssueList]: + ) -> AsyncPager[Issue, PaginatedIssueList]: """ Gets all issues for Organization. @@ -250,7 +271,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedIssueList] + AsyncPager[Issue, PaginatedIssueList] """ _response = await self._client_wrapper.httpx_client.request( @@ -284,14 +305,37 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedIssueList, construct_type( type_=PaginatedIssueList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + account_token=account_token, + cursor=_parsed_next, + end_date=end_date, + end_user_organization_name=end_user_organization_name, + first_incident_time_after=first_incident_time_after, + first_incident_time_before=first_incident_time_before, + include_muted=include_muted, + integration_name=integration_name, + last_incident_time_after=last_incident_time_after, + last_incident_time_before=last_incident_time_before, + linked_account_id=linked_account_id, + page_size=page_size, + start_date=start_date, + status=status, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/accounting/resources/issues/types/__init__.py b/src/merge/resources/accounting/resources/issues/types/__init__.py index 88fbf977..5e097583 100644 --- a/src/merge/resources/accounting/resources/issues/types/__init__.py +++ b/src/merge/resources/accounting/resources/issues/types/__init__.py @@ -16,8 +16,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: diff --git a/src/merge/resources/accounting/resources/items/__init__.py b/src/merge/resources/accounting/resources/items/__init__.py index f805d534..19bf2b1c 100644 --- a/src/merge/resources/accounting/resources/items/__init__.py +++ b/src/merge/resources/accounting/resources/items/__init__.py @@ -6,8 +6,22 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .types import ItemsListRequestExpand, ItemsRetrieveRequestExpand -_dynamic_imports: typing.Dict[str, str] = {"ItemsListRequestExpand": ".types", "ItemsRetrieveRequestExpand": ".types"} + from .types import ( + ItemsListRequestExpandItem, + ItemsListRequestRemoteFields, + ItemsListRequestShowEnumOrigins, + ItemsRetrieveRequestExpandItem, + ItemsRetrieveRequestRemoteFields, + ItemsRetrieveRequestShowEnumOrigins, + ) +_dynamic_imports: typing.Dict[str, str] = { + "ItemsListRequestExpandItem": ".types", + "ItemsListRequestRemoteFields": ".types", + "ItemsListRequestShowEnumOrigins": ".types", + "ItemsRetrieveRequestExpandItem": ".types", + "ItemsRetrieveRequestRemoteFields": ".types", + "ItemsRetrieveRequestShowEnumOrigins": ".types", +} def __getattr__(attr_name: str) -> typing.Any: @@ -16,8 +30,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -29,4 +45,11 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["ItemsListRequestExpand", "ItemsRetrieveRequestExpand"] +__all__ = [ + "ItemsListRequestExpandItem", + "ItemsListRequestRemoteFields", + "ItemsListRequestShowEnumOrigins", + "ItemsRetrieveRequestExpandItem", + "ItemsRetrieveRequestRemoteFields", + "ItemsRetrieveRequestShowEnumOrigins", +] diff --git a/src/merge/resources/accounting/resources/items/client.py b/src/merge/resources/accounting/resources/items/client.py index 6e6f4b14..1a6a417b 100644 --- a/src/merge/resources/accounting/resources/items/client.py +++ b/src/merge/resources/accounting/resources/items/client.py @@ -4,6 +4,7 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.item import Item from ...types.item_request_request import ItemRequestRequest @@ -12,8 +13,12 @@ from ...types.paginated_item_list import PaginatedItemList from ...types.patched_item_request_request import PatchedItemRequestRequest from .raw_client import AsyncRawItemsClient, RawItemsClient -from .types.items_list_request_expand import ItemsListRequestExpand -from .types.items_retrieve_request_expand import ItemsRetrieveRequestExpand +from .types.items_list_request_expand_item import ItemsListRequestExpandItem +from .types.items_list_request_remote_fields import ItemsListRequestRemoteFields +from .types.items_list_request_show_enum_origins import ItemsListRequestShowEnumOrigins +from .types.items_retrieve_request_expand_item import ItemsRetrieveRequestExpandItem +from .types.items_retrieve_request_remote_fields import ItemsRetrieveRequestRemoteFields +from .types.items_retrieve_request_show_enum_origins import ItemsRetrieveRequestShowEnumOrigins # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -41,18 +46,20 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[ItemsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ItemsListRequestExpandItem, typing.Sequence[ItemsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, modified_after: typing.Optional[dt.datetime] = None, modified_before: typing.Optional[dt.datetime] = None, page_size: typing.Optional[int] = None, - remote_fields: typing.Optional[typing.Literal["status"]] = None, + remote_fields: typing.Optional[ItemsListRequestRemoteFields] = None, remote_id: typing.Optional[str] = None, - show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + show_enum_origins: typing.Optional[ItemsListRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedItemList: + ) -> SyncPager[Item, PaginatedItemList]: """ Returns a list of `Item` objects. @@ -70,7 +77,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[ItemsListRequestExpand] + expand : typing.Optional[typing.Union[ItemsListRequestExpandItem, typing.Sequence[ItemsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -91,13 +98,13 @@ def list( page_size : typing.Optional[int] Number of results to return per page. - remote_fields : typing.Optional[typing.Literal["status"]] + remote_fields : typing.Optional[ItemsListRequestRemoteFields] Deprecated. Use show_enum_origins. remote_id : typing.Optional[str] The API provider's ID for the given object. - show_enum_origins : typing.Optional[typing.Literal["status"]] + show_enum_origins : typing.Optional[ItemsListRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -105,44 +112,27 @@ def list( Returns ------- - PaginatedItemList + SyncPager[Item, PaginatedItemList] Examples -------- - import datetime - from merge import Merge - from merge.resources.accounting.resources.items import ItemsListRequestExpand client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.items.list( - company_id="company_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = client.accounting.items.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=ItemsListRequestExpand.COMPANY, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -159,7 +149,6 @@ def list( show_enum_origins=show_enum_origins, request_options=request_options, ) - return _response.data def create( self, @@ -200,8 +189,6 @@ def create( api_key="YOUR_API_KEY", ) client.accounting.items.create( - is_debug_mode=True, - run_async=True, model=ItemRequestRequest(), ) """ @@ -214,11 +201,13 @@ def retrieve( self, id: str, *, - expand: typing.Optional[ItemsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ItemsRetrieveRequestExpandItem, typing.Sequence[ItemsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - remote_fields: typing.Optional[typing.Literal["status"]] = None, - show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + remote_fields: typing.Optional[ItemsRetrieveRequestRemoteFields] = None, + show_enum_origins: typing.Optional[ItemsRetrieveRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, ) -> Item: """ @@ -228,7 +217,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[ItemsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[ItemsRetrieveRequestExpandItem, typing.Sequence[ItemsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -237,10 +226,10 @@ def retrieve( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - remote_fields : typing.Optional[typing.Literal["status"]] + remote_fields : typing.Optional[ItemsRetrieveRequestRemoteFields] Deprecated. Use show_enum_origins. - show_enum_origins : typing.Optional[typing.Literal["status"]] + show_enum_origins : typing.Optional[ItemsRetrieveRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -254,9 +243,6 @@ def retrieve( Examples -------- from merge import Merge - from merge.resources.accounting.resources.items import ( - ItemsRetrieveRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -264,9 +250,6 @@ def retrieve( ) client.accounting.items.retrieve( id="id", - expand=ItemsRetrieveRequestExpand.COMPANY, - include_remote_data=True, - include_shell_data=True, ) """ _response = self._raw_client.retrieve( @@ -323,8 +306,6 @@ def partial_update( ) client.accounting.items.partial_update( id="id", - is_debug_mode=True, - run_async=True, model=PatchedItemRequestRequest(), ) """ @@ -414,18 +395,20 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[ItemsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ItemsListRequestExpandItem, typing.Sequence[ItemsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, modified_after: typing.Optional[dt.datetime] = None, modified_before: typing.Optional[dt.datetime] = None, page_size: typing.Optional[int] = None, - remote_fields: typing.Optional[typing.Literal["status"]] = None, + remote_fields: typing.Optional[ItemsListRequestRemoteFields] = None, remote_id: typing.Optional[str] = None, - show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + show_enum_origins: typing.Optional[ItemsListRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedItemList: + ) -> AsyncPager[Item, PaginatedItemList]: """ Returns a list of `Item` objects. @@ -443,7 +426,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[ItemsListRequestExpand] + expand : typing.Optional[typing.Union[ItemsListRequestExpandItem, typing.Sequence[ItemsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -464,13 +447,13 @@ async def list( page_size : typing.Optional[int] Number of results to return per page. - remote_fields : typing.Optional[typing.Literal["status"]] + remote_fields : typing.Optional[ItemsListRequestRemoteFields] Deprecated. Use show_enum_origins. remote_id : typing.Optional[str] The API provider's ID for the given object. - show_enum_origins : typing.Optional[typing.Literal["status"]] + show_enum_origins : typing.Optional[ItemsListRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -478,16 +461,14 @@ async def list( Returns ------- - PaginatedItemList + AsyncPager[Item, PaginatedItemList] Examples -------- import asyncio - import datetime from merge import AsyncMerge - from merge.resources.accounting.resources.items import ItemsListRequestExpand client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -496,33 +477,20 @@ async def list( async def main() -> None: - await client.accounting.items.list( - company_id="company_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = await client.accounting.items.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=ItemsListRequestExpand.COMPANY, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -539,7 +507,6 @@ async def main() -> None: show_enum_origins=show_enum_origins, request_options=request_options, ) - return _response.data async def create( self, @@ -585,8 +552,6 @@ async def create( async def main() -> None: await client.accounting.items.create( - is_debug_mode=True, - run_async=True, model=ItemRequestRequest(), ) @@ -602,11 +567,13 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[ItemsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ItemsRetrieveRequestExpandItem, typing.Sequence[ItemsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - remote_fields: typing.Optional[typing.Literal["status"]] = None, - show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + remote_fields: typing.Optional[ItemsRetrieveRequestRemoteFields] = None, + show_enum_origins: typing.Optional[ItemsRetrieveRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, ) -> Item: """ @@ -616,7 +583,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[ItemsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[ItemsRetrieveRequestExpandItem, typing.Sequence[ItemsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -625,10 +592,10 @@ async def retrieve( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - remote_fields : typing.Optional[typing.Literal["status"]] + remote_fields : typing.Optional[ItemsRetrieveRequestRemoteFields] Deprecated. Use show_enum_origins. - show_enum_origins : typing.Optional[typing.Literal["status"]] + show_enum_origins : typing.Optional[ItemsRetrieveRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -644,9 +611,6 @@ async def retrieve( import asyncio from merge import AsyncMerge - from merge.resources.accounting.resources.items import ( - ItemsRetrieveRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -657,9 +621,6 @@ async def retrieve( async def main() -> None: await client.accounting.items.retrieve( id="id", - expand=ItemsRetrieveRequestExpand.COMPANY, - include_remote_data=True, - include_shell_data=True, ) @@ -724,8 +685,6 @@ async def partial_update( async def main() -> None: await client.accounting.items.partial_update( id="id", - is_debug_mode=True, - run_async=True, model=PatchedItemRequestRequest(), ) diff --git a/src/merge/resources/accounting/resources/items/raw_client.py b/src/merge/resources/accounting/resources/items/raw_client.py index ab7550e3..838c0e45 100644 --- a/src/merge/resources/accounting/resources/items/raw_client.py +++ b/src/merge/resources/accounting/resources/items/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.item import Item @@ -17,8 +18,12 @@ from ...types.meta_response import MetaResponse from ...types.paginated_item_list import PaginatedItemList from ...types.patched_item_request_request import PatchedItemRequestRequest -from .types.items_list_request_expand import ItemsListRequestExpand -from .types.items_retrieve_request_expand import ItemsRetrieveRequestExpand +from .types.items_list_request_expand_item import ItemsListRequestExpandItem +from .types.items_list_request_remote_fields import ItemsListRequestRemoteFields +from .types.items_list_request_show_enum_origins import ItemsListRequestShowEnumOrigins +from .types.items_retrieve_request_expand_item import ItemsRetrieveRequestExpandItem +from .types.items_retrieve_request_remote_fields import ItemsRetrieveRequestRemoteFields +from .types.items_retrieve_request_show_enum_origins import ItemsRetrieveRequestShowEnumOrigins # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -35,18 +40,20 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[ItemsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ItemsListRequestExpandItem, typing.Sequence[ItemsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, modified_after: typing.Optional[dt.datetime] = None, modified_before: typing.Optional[dt.datetime] = None, page_size: typing.Optional[int] = None, - remote_fields: typing.Optional[typing.Literal["status"]] = None, + remote_fields: typing.Optional[ItemsListRequestRemoteFields] = None, remote_id: typing.Optional[str] = None, - show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + show_enum_origins: typing.Optional[ItemsListRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedItemList]: + ) -> SyncPager[Item, PaginatedItemList]: """ Returns a list of `Item` objects. @@ -64,7 +71,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[ItemsListRequestExpand] + expand : typing.Optional[typing.Union[ItemsListRequestExpandItem, typing.Sequence[ItemsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -85,13 +92,13 @@ def list( page_size : typing.Optional[int] Number of results to return per page. - remote_fields : typing.Optional[typing.Literal["status"]] + remote_fields : typing.Optional[ItemsListRequestRemoteFields] Deprecated. Use show_enum_origins. remote_id : typing.Optional[str] The API provider's ID for the given object. - show_enum_origins : typing.Optional[typing.Literal["status"]] + show_enum_origins : typing.Optional[ItemsListRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -99,7 +106,7 @@ def list( Returns ------- - HttpResponse[PaginatedItemList] + SyncPager[Item, PaginatedItemList] """ _response = self._client_wrapper.httpx_client.request( @@ -125,14 +132,34 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedItemList, construct_type( type_=PaginatedItemList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -202,11 +229,13 @@ def retrieve( self, id: str, *, - expand: typing.Optional[ItemsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ItemsRetrieveRequestExpandItem, typing.Sequence[ItemsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - remote_fields: typing.Optional[typing.Literal["status"]] = None, - show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + remote_fields: typing.Optional[ItemsRetrieveRequestRemoteFields] = None, + show_enum_origins: typing.Optional[ItemsRetrieveRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[Item]: """ @@ -216,7 +245,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[ItemsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[ItemsRetrieveRequestExpandItem, typing.Sequence[ItemsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -225,10 +254,10 @@ def retrieve( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - remote_fields : typing.Optional[typing.Literal["status"]] + remote_fields : typing.Optional[ItemsRetrieveRequestRemoteFields] Deprecated. Use show_enum_origins. - show_enum_origins : typing.Optional[typing.Literal["status"]] + show_enum_origins : typing.Optional[ItemsRetrieveRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -415,18 +444,20 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[ItemsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ItemsListRequestExpandItem, typing.Sequence[ItemsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, modified_after: typing.Optional[dt.datetime] = None, modified_before: typing.Optional[dt.datetime] = None, page_size: typing.Optional[int] = None, - remote_fields: typing.Optional[typing.Literal["status"]] = None, + remote_fields: typing.Optional[ItemsListRequestRemoteFields] = None, remote_id: typing.Optional[str] = None, - show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + show_enum_origins: typing.Optional[ItemsListRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedItemList]: + ) -> AsyncPager[Item, PaginatedItemList]: """ Returns a list of `Item` objects. @@ -444,7 +475,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[ItemsListRequestExpand] + expand : typing.Optional[typing.Union[ItemsListRequestExpandItem, typing.Sequence[ItemsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -465,13 +496,13 @@ async def list( page_size : typing.Optional[int] Number of results to return per page. - remote_fields : typing.Optional[typing.Literal["status"]] + remote_fields : typing.Optional[ItemsListRequestRemoteFields] Deprecated. Use show_enum_origins. remote_id : typing.Optional[str] The API provider's ID for the given object. - show_enum_origins : typing.Optional[typing.Literal["status"]] + show_enum_origins : typing.Optional[ItemsListRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -479,7 +510,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedItemList] + AsyncPager[Item, PaginatedItemList] """ _response = await self._client_wrapper.httpx_client.request( @@ -505,14 +536,37 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedItemList, construct_type( type_=PaginatedItemList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -582,11 +636,13 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[ItemsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ItemsRetrieveRequestExpandItem, typing.Sequence[ItemsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - remote_fields: typing.Optional[typing.Literal["status"]] = None, - show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + remote_fields: typing.Optional[ItemsRetrieveRequestRemoteFields] = None, + show_enum_origins: typing.Optional[ItemsRetrieveRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[Item]: """ @@ -596,7 +652,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[ItemsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[ItemsRetrieveRequestExpandItem, typing.Sequence[ItemsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -605,10 +661,10 @@ async def retrieve( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - remote_fields : typing.Optional[typing.Literal["status"]] + remote_fields : typing.Optional[ItemsRetrieveRequestRemoteFields] Deprecated. Use show_enum_origins. - show_enum_origins : typing.Optional[typing.Literal["status"]] + show_enum_origins : typing.Optional[ItemsRetrieveRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] diff --git a/src/merge/resources/accounting/resources/items/types/__init__.py b/src/merge/resources/accounting/resources/items/types/__init__.py index e3602950..cc111cd9 100644 --- a/src/merge/resources/accounting/resources/items/types/__init__.py +++ b/src/merge/resources/accounting/resources/items/types/__init__.py @@ -6,11 +6,19 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .items_list_request_expand import ItemsListRequestExpand - from .items_retrieve_request_expand import ItemsRetrieveRequestExpand + from .items_list_request_expand_item import ItemsListRequestExpandItem + from .items_list_request_remote_fields import ItemsListRequestRemoteFields + from .items_list_request_show_enum_origins import ItemsListRequestShowEnumOrigins + from .items_retrieve_request_expand_item import ItemsRetrieveRequestExpandItem + from .items_retrieve_request_remote_fields import ItemsRetrieveRequestRemoteFields + from .items_retrieve_request_show_enum_origins import ItemsRetrieveRequestShowEnumOrigins _dynamic_imports: typing.Dict[str, str] = { - "ItemsListRequestExpand": ".items_list_request_expand", - "ItemsRetrieveRequestExpand": ".items_retrieve_request_expand", + "ItemsListRequestExpandItem": ".items_list_request_expand_item", + "ItemsListRequestRemoteFields": ".items_list_request_remote_fields", + "ItemsListRequestShowEnumOrigins": ".items_list_request_show_enum_origins", + "ItemsRetrieveRequestExpandItem": ".items_retrieve_request_expand_item", + "ItemsRetrieveRequestRemoteFields": ".items_retrieve_request_remote_fields", + "ItemsRetrieveRequestShowEnumOrigins": ".items_retrieve_request_show_enum_origins", } @@ -20,8 +28,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -33,4 +43,11 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["ItemsListRequestExpand", "ItemsRetrieveRequestExpand"] +__all__ = [ + "ItemsListRequestExpandItem", + "ItemsListRequestRemoteFields", + "ItemsListRequestShowEnumOrigins", + "ItemsRetrieveRequestExpandItem", + "ItemsRetrieveRequestRemoteFields", + "ItemsRetrieveRequestShowEnumOrigins", +] diff --git a/src/merge/resources/accounting/resources/items/types/items_list_request_expand.py b/src/merge/resources/accounting/resources/items/types/items_list_request_expand.py deleted file mode 100644 index c5a6ca95..00000000 --- a/src/merge/resources/accounting/resources/items/types/items_list_request_expand.py +++ /dev/null @@ -1,145 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class ItemsListRequestExpand(str, enum.Enum): - COMPANY = "company" - COMPANY_PURCHASE_TAX_RATE = "company,purchase_tax_rate" - COMPANY_SALES_TAX_RATE = "company,sales_tax_rate" - COMPANY_SALES_TAX_RATE_PURCHASE_TAX_RATE = "company,sales_tax_rate,purchase_tax_rate" - PURCHASE_ACCOUNT = "purchase_account" - PURCHASE_ACCOUNT_COMPANY = "purchase_account,company" - PURCHASE_ACCOUNT_COMPANY_PURCHASE_TAX_RATE = "purchase_account,company,purchase_tax_rate" - PURCHASE_ACCOUNT_COMPANY_SALES_TAX_RATE = "purchase_account,company,sales_tax_rate" - PURCHASE_ACCOUNT_COMPANY_SALES_TAX_RATE_PURCHASE_TAX_RATE = ( - "purchase_account,company,sales_tax_rate,purchase_tax_rate" - ) - PURCHASE_ACCOUNT_PURCHASE_TAX_RATE = "purchase_account,purchase_tax_rate" - PURCHASE_ACCOUNT_SALES_ACCOUNT = "purchase_account,sales_account" - PURCHASE_ACCOUNT_SALES_ACCOUNT_COMPANY = "purchase_account,sales_account,company" - PURCHASE_ACCOUNT_SALES_ACCOUNT_COMPANY_PURCHASE_TAX_RATE = ( - "purchase_account,sales_account,company,purchase_tax_rate" - ) - PURCHASE_ACCOUNT_SALES_ACCOUNT_COMPANY_SALES_TAX_RATE = "purchase_account,sales_account,company,sales_tax_rate" - PURCHASE_ACCOUNT_SALES_ACCOUNT_COMPANY_SALES_TAX_RATE_PURCHASE_TAX_RATE = ( - "purchase_account,sales_account,company,sales_tax_rate,purchase_tax_rate" - ) - PURCHASE_ACCOUNT_SALES_ACCOUNT_PURCHASE_TAX_RATE = "purchase_account,sales_account,purchase_tax_rate" - PURCHASE_ACCOUNT_SALES_ACCOUNT_SALES_TAX_RATE = "purchase_account,sales_account,sales_tax_rate" - PURCHASE_ACCOUNT_SALES_ACCOUNT_SALES_TAX_RATE_PURCHASE_TAX_RATE = ( - "purchase_account,sales_account,sales_tax_rate,purchase_tax_rate" - ) - PURCHASE_ACCOUNT_SALES_TAX_RATE = "purchase_account,sales_tax_rate" - PURCHASE_ACCOUNT_SALES_TAX_RATE_PURCHASE_TAX_RATE = "purchase_account,sales_tax_rate,purchase_tax_rate" - PURCHASE_TAX_RATE = "purchase_tax_rate" - SALES_ACCOUNT = "sales_account" - SALES_ACCOUNT_COMPANY = "sales_account,company" - SALES_ACCOUNT_COMPANY_PURCHASE_TAX_RATE = "sales_account,company,purchase_tax_rate" - SALES_ACCOUNT_COMPANY_SALES_TAX_RATE = "sales_account,company,sales_tax_rate" - SALES_ACCOUNT_COMPANY_SALES_TAX_RATE_PURCHASE_TAX_RATE = "sales_account,company,sales_tax_rate,purchase_tax_rate" - SALES_ACCOUNT_PURCHASE_TAX_RATE = "sales_account,purchase_tax_rate" - SALES_ACCOUNT_SALES_TAX_RATE = "sales_account,sales_tax_rate" - SALES_ACCOUNT_SALES_TAX_RATE_PURCHASE_TAX_RATE = "sales_account,sales_tax_rate,purchase_tax_rate" - SALES_TAX_RATE = "sales_tax_rate" - SALES_TAX_RATE_PURCHASE_TAX_RATE = "sales_tax_rate,purchase_tax_rate" - - def visit( - self, - company: typing.Callable[[], T_Result], - company_purchase_tax_rate: typing.Callable[[], T_Result], - company_sales_tax_rate: typing.Callable[[], T_Result], - company_sales_tax_rate_purchase_tax_rate: typing.Callable[[], T_Result], - purchase_account: typing.Callable[[], T_Result], - purchase_account_company: typing.Callable[[], T_Result], - purchase_account_company_purchase_tax_rate: typing.Callable[[], T_Result], - purchase_account_company_sales_tax_rate: typing.Callable[[], T_Result], - purchase_account_company_sales_tax_rate_purchase_tax_rate: typing.Callable[[], T_Result], - purchase_account_purchase_tax_rate: typing.Callable[[], T_Result], - purchase_account_sales_account: typing.Callable[[], T_Result], - purchase_account_sales_account_company: typing.Callable[[], T_Result], - purchase_account_sales_account_company_purchase_tax_rate: typing.Callable[[], T_Result], - purchase_account_sales_account_company_sales_tax_rate: typing.Callable[[], T_Result], - purchase_account_sales_account_company_sales_tax_rate_purchase_tax_rate: typing.Callable[[], T_Result], - purchase_account_sales_account_purchase_tax_rate: typing.Callable[[], T_Result], - purchase_account_sales_account_sales_tax_rate: typing.Callable[[], T_Result], - purchase_account_sales_account_sales_tax_rate_purchase_tax_rate: typing.Callable[[], T_Result], - purchase_account_sales_tax_rate: typing.Callable[[], T_Result], - purchase_account_sales_tax_rate_purchase_tax_rate: typing.Callable[[], T_Result], - purchase_tax_rate: typing.Callable[[], T_Result], - sales_account: typing.Callable[[], T_Result], - sales_account_company: typing.Callable[[], T_Result], - sales_account_company_purchase_tax_rate: typing.Callable[[], T_Result], - sales_account_company_sales_tax_rate: typing.Callable[[], T_Result], - sales_account_company_sales_tax_rate_purchase_tax_rate: typing.Callable[[], T_Result], - sales_account_purchase_tax_rate: typing.Callable[[], T_Result], - sales_account_sales_tax_rate: typing.Callable[[], T_Result], - sales_account_sales_tax_rate_purchase_tax_rate: typing.Callable[[], T_Result], - sales_tax_rate: typing.Callable[[], T_Result], - sales_tax_rate_purchase_tax_rate: typing.Callable[[], T_Result], - ) -> T_Result: - if self is ItemsListRequestExpand.COMPANY: - return company() - if self is ItemsListRequestExpand.COMPANY_PURCHASE_TAX_RATE: - return company_purchase_tax_rate() - if self is ItemsListRequestExpand.COMPANY_SALES_TAX_RATE: - return company_sales_tax_rate() - if self is ItemsListRequestExpand.COMPANY_SALES_TAX_RATE_PURCHASE_TAX_RATE: - return company_sales_tax_rate_purchase_tax_rate() - if self is ItemsListRequestExpand.PURCHASE_ACCOUNT: - return purchase_account() - if self is ItemsListRequestExpand.PURCHASE_ACCOUNT_COMPANY: - return purchase_account_company() - if self is ItemsListRequestExpand.PURCHASE_ACCOUNT_COMPANY_PURCHASE_TAX_RATE: - return purchase_account_company_purchase_tax_rate() - if self is ItemsListRequestExpand.PURCHASE_ACCOUNT_COMPANY_SALES_TAX_RATE: - return purchase_account_company_sales_tax_rate() - if self is ItemsListRequestExpand.PURCHASE_ACCOUNT_COMPANY_SALES_TAX_RATE_PURCHASE_TAX_RATE: - return purchase_account_company_sales_tax_rate_purchase_tax_rate() - if self is ItemsListRequestExpand.PURCHASE_ACCOUNT_PURCHASE_TAX_RATE: - return purchase_account_purchase_tax_rate() - if self is ItemsListRequestExpand.PURCHASE_ACCOUNT_SALES_ACCOUNT: - return purchase_account_sales_account() - if self is ItemsListRequestExpand.PURCHASE_ACCOUNT_SALES_ACCOUNT_COMPANY: - return purchase_account_sales_account_company() - if self is ItemsListRequestExpand.PURCHASE_ACCOUNT_SALES_ACCOUNT_COMPANY_PURCHASE_TAX_RATE: - return purchase_account_sales_account_company_purchase_tax_rate() - if self is ItemsListRequestExpand.PURCHASE_ACCOUNT_SALES_ACCOUNT_COMPANY_SALES_TAX_RATE: - return purchase_account_sales_account_company_sales_tax_rate() - if self is ItemsListRequestExpand.PURCHASE_ACCOUNT_SALES_ACCOUNT_COMPANY_SALES_TAX_RATE_PURCHASE_TAX_RATE: - return purchase_account_sales_account_company_sales_tax_rate_purchase_tax_rate() - if self is ItemsListRequestExpand.PURCHASE_ACCOUNT_SALES_ACCOUNT_PURCHASE_TAX_RATE: - return purchase_account_sales_account_purchase_tax_rate() - if self is ItemsListRequestExpand.PURCHASE_ACCOUNT_SALES_ACCOUNT_SALES_TAX_RATE: - return purchase_account_sales_account_sales_tax_rate() - if self is ItemsListRequestExpand.PURCHASE_ACCOUNT_SALES_ACCOUNT_SALES_TAX_RATE_PURCHASE_TAX_RATE: - return purchase_account_sales_account_sales_tax_rate_purchase_tax_rate() - if self is ItemsListRequestExpand.PURCHASE_ACCOUNT_SALES_TAX_RATE: - return purchase_account_sales_tax_rate() - if self is ItemsListRequestExpand.PURCHASE_ACCOUNT_SALES_TAX_RATE_PURCHASE_TAX_RATE: - return purchase_account_sales_tax_rate_purchase_tax_rate() - if self is ItemsListRequestExpand.PURCHASE_TAX_RATE: - return purchase_tax_rate() - if self is ItemsListRequestExpand.SALES_ACCOUNT: - return sales_account() - if self is ItemsListRequestExpand.SALES_ACCOUNT_COMPANY: - return sales_account_company() - if self is ItemsListRequestExpand.SALES_ACCOUNT_COMPANY_PURCHASE_TAX_RATE: - return sales_account_company_purchase_tax_rate() - if self is ItemsListRequestExpand.SALES_ACCOUNT_COMPANY_SALES_TAX_RATE: - return sales_account_company_sales_tax_rate() - if self is ItemsListRequestExpand.SALES_ACCOUNT_COMPANY_SALES_TAX_RATE_PURCHASE_TAX_RATE: - return sales_account_company_sales_tax_rate_purchase_tax_rate() - if self is ItemsListRequestExpand.SALES_ACCOUNT_PURCHASE_TAX_RATE: - return sales_account_purchase_tax_rate() - if self is ItemsListRequestExpand.SALES_ACCOUNT_SALES_TAX_RATE: - return sales_account_sales_tax_rate() - if self is ItemsListRequestExpand.SALES_ACCOUNT_SALES_TAX_RATE_PURCHASE_TAX_RATE: - return sales_account_sales_tax_rate_purchase_tax_rate() - if self is ItemsListRequestExpand.SALES_TAX_RATE: - return sales_tax_rate() - if self is ItemsListRequestExpand.SALES_TAX_RATE_PURCHASE_TAX_RATE: - return sales_tax_rate_purchase_tax_rate() diff --git a/src/merge/resources/accounting/resources/items/types/items_list_request_expand_item.py b/src/merge/resources/accounting/resources/items/types/items_list_request_expand_item.py new file mode 100644 index 00000000..2cf676c2 --- /dev/null +++ b/src/merge/resources/accounting/resources/items/types/items_list_request_expand_item.py @@ -0,0 +1,33 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class ItemsListRequestExpandItem(str, enum.Enum): + COMPANY = "company" + PURCHASE_ACCOUNT = "purchase_account" + PURCHASE_TAX_RATE = "purchase_tax_rate" + SALES_ACCOUNT = "sales_account" + SALES_TAX_RATE = "sales_tax_rate" + + def visit( + self, + company: typing.Callable[[], T_Result], + purchase_account: typing.Callable[[], T_Result], + purchase_tax_rate: typing.Callable[[], T_Result], + sales_account: typing.Callable[[], T_Result], + sales_tax_rate: typing.Callable[[], T_Result], + ) -> T_Result: + if self is ItemsListRequestExpandItem.COMPANY: + return company() + if self is ItemsListRequestExpandItem.PURCHASE_ACCOUNT: + return purchase_account() + if self is ItemsListRequestExpandItem.PURCHASE_TAX_RATE: + return purchase_tax_rate() + if self is ItemsListRequestExpandItem.SALES_ACCOUNT: + return sales_account() + if self is ItemsListRequestExpandItem.SALES_TAX_RATE: + return sales_tax_rate() diff --git a/src/merge/resources/accounting/resources/items/types/items_list_request_remote_fields.py b/src/merge/resources/accounting/resources/items/types/items_list_request_remote_fields.py new file mode 100644 index 00000000..696555c3 --- /dev/null +++ b/src/merge/resources/accounting/resources/items/types/items_list_request_remote_fields.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class ItemsListRequestRemoteFields(str, enum.Enum): + STATUS = "status" + + def visit(self, status: typing.Callable[[], T_Result]) -> T_Result: + if self is ItemsListRequestRemoteFields.STATUS: + return status() diff --git a/src/merge/resources/accounting/resources/items/types/items_list_request_show_enum_origins.py b/src/merge/resources/accounting/resources/items/types/items_list_request_show_enum_origins.py new file mode 100644 index 00000000..950b6eeb --- /dev/null +++ b/src/merge/resources/accounting/resources/items/types/items_list_request_show_enum_origins.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class ItemsListRequestShowEnumOrigins(str, enum.Enum): + STATUS = "status" + + def visit(self, status: typing.Callable[[], T_Result]) -> T_Result: + if self is ItemsListRequestShowEnumOrigins.STATUS: + return status() diff --git a/src/merge/resources/accounting/resources/items/types/items_retrieve_request_expand.py b/src/merge/resources/accounting/resources/items/types/items_retrieve_request_expand.py deleted file mode 100644 index a0331335..00000000 --- a/src/merge/resources/accounting/resources/items/types/items_retrieve_request_expand.py +++ /dev/null @@ -1,145 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class ItemsRetrieveRequestExpand(str, enum.Enum): - COMPANY = "company" - COMPANY_PURCHASE_TAX_RATE = "company,purchase_tax_rate" - COMPANY_SALES_TAX_RATE = "company,sales_tax_rate" - COMPANY_SALES_TAX_RATE_PURCHASE_TAX_RATE = "company,sales_tax_rate,purchase_tax_rate" - PURCHASE_ACCOUNT = "purchase_account" - PURCHASE_ACCOUNT_COMPANY = "purchase_account,company" - PURCHASE_ACCOUNT_COMPANY_PURCHASE_TAX_RATE = "purchase_account,company,purchase_tax_rate" - PURCHASE_ACCOUNT_COMPANY_SALES_TAX_RATE = "purchase_account,company,sales_tax_rate" - PURCHASE_ACCOUNT_COMPANY_SALES_TAX_RATE_PURCHASE_TAX_RATE = ( - "purchase_account,company,sales_tax_rate,purchase_tax_rate" - ) - PURCHASE_ACCOUNT_PURCHASE_TAX_RATE = "purchase_account,purchase_tax_rate" - PURCHASE_ACCOUNT_SALES_ACCOUNT = "purchase_account,sales_account" - PURCHASE_ACCOUNT_SALES_ACCOUNT_COMPANY = "purchase_account,sales_account,company" - PURCHASE_ACCOUNT_SALES_ACCOUNT_COMPANY_PURCHASE_TAX_RATE = ( - "purchase_account,sales_account,company,purchase_tax_rate" - ) - PURCHASE_ACCOUNT_SALES_ACCOUNT_COMPANY_SALES_TAX_RATE = "purchase_account,sales_account,company,sales_tax_rate" - PURCHASE_ACCOUNT_SALES_ACCOUNT_COMPANY_SALES_TAX_RATE_PURCHASE_TAX_RATE = ( - "purchase_account,sales_account,company,sales_tax_rate,purchase_tax_rate" - ) - PURCHASE_ACCOUNT_SALES_ACCOUNT_PURCHASE_TAX_RATE = "purchase_account,sales_account,purchase_tax_rate" - PURCHASE_ACCOUNT_SALES_ACCOUNT_SALES_TAX_RATE = "purchase_account,sales_account,sales_tax_rate" - PURCHASE_ACCOUNT_SALES_ACCOUNT_SALES_TAX_RATE_PURCHASE_TAX_RATE = ( - "purchase_account,sales_account,sales_tax_rate,purchase_tax_rate" - ) - PURCHASE_ACCOUNT_SALES_TAX_RATE = "purchase_account,sales_tax_rate" - PURCHASE_ACCOUNT_SALES_TAX_RATE_PURCHASE_TAX_RATE = "purchase_account,sales_tax_rate,purchase_tax_rate" - PURCHASE_TAX_RATE = "purchase_tax_rate" - SALES_ACCOUNT = "sales_account" - SALES_ACCOUNT_COMPANY = "sales_account,company" - SALES_ACCOUNT_COMPANY_PURCHASE_TAX_RATE = "sales_account,company,purchase_tax_rate" - SALES_ACCOUNT_COMPANY_SALES_TAX_RATE = "sales_account,company,sales_tax_rate" - SALES_ACCOUNT_COMPANY_SALES_TAX_RATE_PURCHASE_TAX_RATE = "sales_account,company,sales_tax_rate,purchase_tax_rate" - SALES_ACCOUNT_PURCHASE_TAX_RATE = "sales_account,purchase_tax_rate" - SALES_ACCOUNT_SALES_TAX_RATE = "sales_account,sales_tax_rate" - SALES_ACCOUNT_SALES_TAX_RATE_PURCHASE_TAX_RATE = "sales_account,sales_tax_rate,purchase_tax_rate" - SALES_TAX_RATE = "sales_tax_rate" - SALES_TAX_RATE_PURCHASE_TAX_RATE = "sales_tax_rate,purchase_tax_rate" - - def visit( - self, - company: typing.Callable[[], T_Result], - company_purchase_tax_rate: typing.Callable[[], T_Result], - company_sales_tax_rate: typing.Callable[[], T_Result], - company_sales_tax_rate_purchase_tax_rate: typing.Callable[[], T_Result], - purchase_account: typing.Callable[[], T_Result], - purchase_account_company: typing.Callable[[], T_Result], - purchase_account_company_purchase_tax_rate: typing.Callable[[], T_Result], - purchase_account_company_sales_tax_rate: typing.Callable[[], T_Result], - purchase_account_company_sales_tax_rate_purchase_tax_rate: typing.Callable[[], T_Result], - purchase_account_purchase_tax_rate: typing.Callable[[], T_Result], - purchase_account_sales_account: typing.Callable[[], T_Result], - purchase_account_sales_account_company: typing.Callable[[], T_Result], - purchase_account_sales_account_company_purchase_tax_rate: typing.Callable[[], T_Result], - purchase_account_sales_account_company_sales_tax_rate: typing.Callable[[], T_Result], - purchase_account_sales_account_company_sales_tax_rate_purchase_tax_rate: typing.Callable[[], T_Result], - purchase_account_sales_account_purchase_tax_rate: typing.Callable[[], T_Result], - purchase_account_sales_account_sales_tax_rate: typing.Callable[[], T_Result], - purchase_account_sales_account_sales_tax_rate_purchase_tax_rate: typing.Callable[[], T_Result], - purchase_account_sales_tax_rate: typing.Callable[[], T_Result], - purchase_account_sales_tax_rate_purchase_tax_rate: typing.Callable[[], T_Result], - purchase_tax_rate: typing.Callable[[], T_Result], - sales_account: typing.Callable[[], T_Result], - sales_account_company: typing.Callable[[], T_Result], - sales_account_company_purchase_tax_rate: typing.Callable[[], T_Result], - sales_account_company_sales_tax_rate: typing.Callable[[], T_Result], - sales_account_company_sales_tax_rate_purchase_tax_rate: typing.Callable[[], T_Result], - sales_account_purchase_tax_rate: typing.Callable[[], T_Result], - sales_account_sales_tax_rate: typing.Callable[[], T_Result], - sales_account_sales_tax_rate_purchase_tax_rate: typing.Callable[[], T_Result], - sales_tax_rate: typing.Callable[[], T_Result], - sales_tax_rate_purchase_tax_rate: typing.Callable[[], T_Result], - ) -> T_Result: - if self is ItemsRetrieveRequestExpand.COMPANY: - return company() - if self is ItemsRetrieveRequestExpand.COMPANY_PURCHASE_TAX_RATE: - return company_purchase_tax_rate() - if self is ItemsRetrieveRequestExpand.COMPANY_SALES_TAX_RATE: - return company_sales_tax_rate() - if self is ItemsRetrieveRequestExpand.COMPANY_SALES_TAX_RATE_PURCHASE_TAX_RATE: - return company_sales_tax_rate_purchase_tax_rate() - if self is ItemsRetrieveRequestExpand.PURCHASE_ACCOUNT: - return purchase_account() - if self is ItemsRetrieveRequestExpand.PURCHASE_ACCOUNT_COMPANY: - return purchase_account_company() - if self is ItemsRetrieveRequestExpand.PURCHASE_ACCOUNT_COMPANY_PURCHASE_TAX_RATE: - return purchase_account_company_purchase_tax_rate() - if self is ItemsRetrieveRequestExpand.PURCHASE_ACCOUNT_COMPANY_SALES_TAX_RATE: - return purchase_account_company_sales_tax_rate() - if self is ItemsRetrieveRequestExpand.PURCHASE_ACCOUNT_COMPANY_SALES_TAX_RATE_PURCHASE_TAX_RATE: - return purchase_account_company_sales_tax_rate_purchase_tax_rate() - if self is ItemsRetrieveRequestExpand.PURCHASE_ACCOUNT_PURCHASE_TAX_RATE: - return purchase_account_purchase_tax_rate() - if self is ItemsRetrieveRequestExpand.PURCHASE_ACCOUNT_SALES_ACCOUNT: - return purchase_account_sales_account() - if self is ItemsRetrieveRequestExpand.PURCHASE_ACCOUNT_SALES_ACCOUNT_COMPANY: - return purchase_account_sales_account_company() - if self is ItemsRetrieveRequestExpand.PURCHASE_ACCOUNT_SALES_ACCOUNT_COMPANY_PURCHASE_TAX_RATE: - return purchase_account_sales_account_company_purchase_tax_rate() - if self is ItemsRetrieveRequestExpand.PURCHASE_ACCOUNT_SALES_ACCOUNT_COMPANY_SALES_TAX_RATE: - return purchase_account_sales_account_company_sales_tax_rate() - if self is ItemsRetrieveRequestExpand.PURCHASE_ACCOUNT_SALES_ACCOUNT_COMPANY_SALES_TAX_RATE_PURCHASE_TAX_RATE: - return purchase_account_sales_account_company_sales_tax_rate_purchase_tax_rate() - if self is ItemsRetrieveRequestExpand.PURCHASE_ACCOUNT_SALES_ACCOUNT_PURCHASE_TAX_RATE: - return purchase_account_sales_account_purchase_tax_rate() - if self is ItemsRetrieveRequestExpand.PURCHASE_ACCOUNT_SALES_ACCOUNT_SALES_TAX_RATE: - return purchase_account_sales_account_sales_tax_rate() - if self is ItemsRetrieveRequestExpand.PURCHASE_ACCOUNT_SALES_ACCOUNT_SALES_TAX_RATE_PURCHASE_TAX_RATE: - return purchase_account_sales_account_sales_tax_rate_purchase_tax_rate() - if self is ItemsRetrieveRequestExpand.PURCHASE_ACCOUNT_SALES_TAX_RATE: - return purchase_account_sales_tax_rate() - if self is ItemsRetrieveRequestExpand.PURCHASE_ACCOUNT_SALES_TAX_RATE_PURCHASE_TAX_RATE: - return purchase_account_sales_tax_rate_purchase_tax_rate() - if self is ItemsRetrieveRequestExpand.PURCHASE_TAX_RATE: - return purchase_tax_rate() - if self is ItemsRetrieveRequestExpand.SALES_ACCOUNT: - return sales_account() - if self is ItemsRetrieveRequestExpand.SALES_ACCOUNT_COMPANY: - return sales_account_company() - if self is ItemsRetrieveRequestExpand.SALES_ACCOUNT_COMPANY_PURCHASE_TAX_RATE: - return sales_account_company_purchase_tax_rate() - if self is ItemsRetrieveRequestExpand.SALES_ACCOUNT_COMPANY_SALES_TAX_RATE: - return sales_account_company_sales_tax_rate() - if self is ItemsRetrieveRequestExpand.SALES_ACCOUNT_COMPANY_SALES_TAX_RATE_PURCHASE_TAX_RATE: - return sales_account_company_sales_tax_rate_purchase_tax_rate() - if self is ItemsRetrieveRequestExpand.SALES_ACCOUNT_PURCHASE_TAX_RATE: - return sales_account_purchase_tax_rate() - if self is ItemsRetrieveRequestExpand.SALES_ACCOUNT_SALES_TAX_RATE: - return sales_account_sales_tax_rate() - if self is ItemsRetrieveRequestExpand.SALES_ACCOUNT_SALES_TAX_RATE_PURCHASE_TAX_RATE: - return sales_account_sales_tax_rate_purchase_tax_rate() - if self is ItemsRetrieveRequestExpand.SALES_TAX_RATE: - return sales_tax_rate() - if self is ItemsRetrieveRequestExpand.SALES_TAX_RATE_PURCHASE_TAX_RATE: - return sales_tax_rate_purchase_tax_rate() diff --git a/src/merge/resources/accounting/resources/items/types/items_retrieve_request_expand_item.py b/src/merge/resources/accounting/resources/items/types/items_retrieve_request_expand_item.py new file mode 100644 index 00000000..6dad67a3 --- /dev/null +++ b/src/merge/resources/accounting/resources/items/types/items_retrieve_request_expand_item.py @@ -0,0 +1,33 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class ItemsRetrieveRequestExpandItem(str, enum.Enum): + COMPANY = "company" + PURCHASE_ACCOUNT = "purchase_account" + PURCHASE_TAX_RATE = "purchase_tax_rate" + SALES_ACCOUNT = "sales_account" + SALES_TAX_RATE = "sales_tax_rate" + + def visit( + self, + company: typing.Callable[[], T_Result], + purchase_account: typing.Callable[[], T_Result], + purchase_tax_rate: typing.Callable[[], T_Result], + sales_account: typing.Callable[[], T_Result], + sales_tax_rate: typing.Callable[[], T_Result], + ) -> T_Result: + if self is ItemsRetrieveRequestExpandItem.COMPANY: + return company() + if self is ItemsRetrieveRequestExpandItem.PURCHASE_ACCOUNT: + return purchase_account() + if self is ItemsRetrieveRequestExpandItem.PURCHASE_TAX_RATE: + return purchase_tax_rate() + if self is ItemsRetrieveRequestExpandItem.SALES_ACCOUNT: + return sales_account() + if self is ItemsRetrieveRequestExpandItem.SALES_TAX_RATE: + return sales_tax_rate() diff --git a/src/merge/resources/accounting/resources/items/types/items_retrieve_request_remote_fields.py b/src/merge/resources/accounting/resources/items/types/items_retrieve_request_remote_fields.py new file mode 100644 index 00000000..133d109b --- /dev/null +++ b/src/merge/resources/accounting/resources/items/types/items_retrieve_request_remote_fields.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class ItemsRetrieveRequestRemoteFields(str, enum.Enum): + STATUS = "status" + + def visit(self, status: typing.Callable[[], T_Result]) -> T_Result: + if self is ItemsRetrieveRequestRemoteFields.STATUS: + return status() diff --git a/src/merge/resources/accounting/resources/items/types/items_retrieve_request_show_enum_origins.py b/src/merge/resources/accounting/resources/items/types/items_retrieve_request_show_enum_origins.py new file mode 100644 index 00000000..513c846e --- /dev/null +++ b/src/merge/resources/accounting/resources/items/types/items_retrieve_request_show_enum_origins.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class ItemsRetrieveRequestShowEnumOrigins(str, enum.Enum): + STATUS = "status" + + def visit(self, status: typing.Callable[[], T_Result]) -> T_Result: + if self is ItemsRetrieveRequestShowEnumOrigins.STATUS: + return status() diff --git a/src/merge/resources/accounting/resources/journal_entries/__init__.py b/src/merge/resources/accounting/resources/journal_entries/__init__.py index a104fe9f..3cb2c57b 100644 --- a/src/merge/resources/accounting/resources/journal_entries/__init__.py +++ b/src/merge/resources/accounting/resources/journal_entries/__init__.py @@ -6,10 +6,10 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .types import JournalEntriesListRequestExpand, JournalEntriesRetrieveRequestExpand + from .types import JournalEntriesListRequestExpandItem, JournalEntriesRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "JournalEntriesListRequestExpand": ".types", - "JournalEntriesRetrieveRequestExpand": ".types", + "JournalEntriesListRequestExpandItem": ".types", + "JournalEntriesRetrieveRequestExpandItem": ".types", } @@ -19,8 +19,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -32,4 +34,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["JournalEntriesListRequestExpand", "JournalEntriesRetrieveRequestExpand"] +__all__ = ["JournalEntriesListRequestExpandItem", "JournalEntriesRetrieveRequestExpandItem"] diff --git a/src/merge/resources/accounting/resources/journal_entries/client.py b/src/merge/resources/accounting/resources/journal_entries/client.py index 43249ba4..4b2dea71 100644 --- a/src/merge/resources/accounting/resources/journal_entries/client.py +++ b/src/merge/resources/accounting/resources/journal_entries/client.py @@ -4,6 +4,7 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.journal_entry import JournalEntry from ...types.journal_entry_request import JournalEntryRequest @@ -11,9 +12,10 @@ from ...types.meta_response import MetaResponse from ...types.paginated_journal_entry_list import PaginatedJournalEntryList from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList +from ...types.remote_field_class import RemoteFieldClass from .raw_client import AsyncRawJournalEntriesClient, RawJournalEntriesClient -from .types.journal_entries_list_request_expand import JournalEntriesListRequestExpand -from .types.journal_entries_retrieve_request_expand import JournalEntriesRetrieveRequestExpand +from .types.journal_entries_list_request_expand_item import JournalEntriesListRequestExpandItem +from .types.journal_entries_retrieve_request_expand_item import JournalEntriesRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -41,7 +43,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[JournalEntriesListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[JournalEntriesListRequestExpandItem, typing.Sequence[JournalEntriesListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -53,7 +57,7 @@ def list( transaction_date_after: typing.Optional[dt.datetime] = None, transaction_date_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedJournalEntryList: + ) -> SyncPager[JournalEntry, PaginatedJournalEntryList]: """ Returns a list of `JournalEntry` objects. @@ -71,7 +75,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[JournalEntriesListRequestExpand] + expand : typing.Optional[typing.Union[JournalEntriesListRequestExpandItem, typing.Sequence[JournalEntriesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -109,53 +113,27 @@ def list( Returns ------- - PaginatedJournalEntryList + SyncPager[JournalEntry, PaginatedJournalEntryList] Examples -------- - import datetime - from merge import Merge - from merge.resources.accounting.resources.journal_entries import ( - JournalEntriesListRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.journal_entries.list( - company_id="company_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = client.accounting.journal_entries.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=JournalEntriesListRequestExpand.ACCOUNTING_PERIOD, - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", - transaction_date_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - transaction_date_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -173,7 +151,6 @@ def list( transaction_date_before=transaction_date_before, request_options=request_options, ) - return _response.data def create( self, @@ -214,8 +191,6 @@ def create( api_key="YOUR_API_KEY", ) client.accounting.journal_entries.create( - is_debug_mode=True, - run_async=True, model=JournalEntryRequest(), ) """ @@ -228,7 +203,11 @@ def retrieve( self, id: str, *, - expand: typing.Optional[JournalEntriesRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + JournalEntriesRetrieveRequestExpandItem, typing.Sequence[JournalEntriesRetrieveRequestExpandItem] + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -241,7 +220,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[JournalEntriesRetrieveRequestExpand] + expand : typing.Optional[typing.Union[JournalEntriesRetrieveRequestExpandItem, typing.Sequence[JournalEntriesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -264,9 +243,6 @@ def retrieve( Examples -------- from merge import Merge - from merge.resources.accounting.resources.journal_entries import ( - JournalEntriesRetrieveRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -274,10 +250,6 @@ def retrieve( ) client.accounting.journal_entries.retrieve( id="id", - expand=JournalEntriesRetrieveRequestExpand.ACCOUNTING_PERIOD, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, ) """ _response = self._raw_client.retrieve( @@ -301,7 +273,7 @@ def lines_remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -333,7 +305,7 @@ def lines_remote_field_classes_list( Returns ------- - PaginatedRemoteFieldClassList + SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] Examples @@ -344,17 +316,16 @@ def lines_remote_field_classes_list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.journal_entries.lines_remote_field_classes_list( + response = client.accounting.journal_entries.lines_remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.lines_remote_field_classes_list( + return self._raw_client.lines_remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -364,7 +335,6 @@ def lines_remote_field_classes_list( page_size=page_size, request_options=request_options, ) - return _response.data def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ @@ -404,7 +374,7 @@ def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -436,7 +406,7 @@ def remote_field_classes_list( Returns ------- - PaginatedRemoteFieldClassList + SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] Examples @@ -447,17 +417,16 @@ def remote_field_classes_list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.journal_entries.remote_field_classes_list( + response = client.accounting.journal_entries.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.remote_field_classes_list( + return self._raw_client.remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -467,7 +436,6 @@ def remote_field_classes_list( page_size=page_size, request_options=request_options, ) - return _response.data class AsyncJournalEntriesClient: @@ -492,7 +460,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[JournalEntriesListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[JournalEntriesListRequestExpandItem, typing.Sequence[JournalEntriesListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -504,7 +474,7 @@ async def list( transaction_date_after: typing.Optional[dt.datetime] = None, transaction_date_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedJournalEntryList: + ) -> AsyncPager[JournalEntry, PaginatedJournalEntryList]: """ Returns a list of `JournalEntry` objects. @@ -522,7 +492,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[JournalEntriesListRequestExpand] + expand : typing.Optional[typing.Union[JournalEntriesListRequestExpandItem, typing.Sequence[JournalEntriesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -560,18 +530,14 @@ async def list( Returns ------- - PaginatedJournalEntryList + AsyncPager[JournalEntry, PaginatedJournalEntryList] Examples -------- import asyncio - import datetime from merge import AsyncMerge - from merge.resources.accounting.resources.journal_entries import ( - JournalEntriesListRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -580,40 +546,20 @@ async def list( async def main() -> None: - await client.accounting.journal_entries.list( - company_id="company_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = await client.accounting.journal_entries.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=JournalEntriesListRequestExpand.ACCOUNTING_PERIOD, - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", - transaction_date_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - transaction_date_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -631,7 +577,6 @@ async def main() -> None: transaction_date_before=transaction_date_before, request_options=request_options, ) - return _response.data async def create( self, @@ -677,8 +622,6 @@ async def create( async def main() -> None: await client.accounting.journal_entries.create( - is_debug_mode=True, - run_async=True, model=JournalEntryRequest(), ) @@ -694,7 +637,11 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[JournalEntriesRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + JournalEntriesRetrieveRequestExpandItem, typing.Sequence[JournalEntriesRetrieveRequestExpandItem] + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -707,7 +654,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[JournalEntriesRetrieveRequestExpand] + expand : typing.Optional[typing.Union[JournalEntriesRetrieveRequestExpandItem, typing.Sequence[JournalEntriesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -732,9 +679,6 @@ async def retrieve( import asyncio from merge import AsyncMerge - from merge.resources.accounting.resources.journal_entries import ( - JournalEntriesRetrieveRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -745,10 +689,6 @@ async def retrieve( async def main() -> None: await client.accounting.journal_entries.retrieve( id="id", - expand=JournalEntriesRetrieveRequestExpand.ACCOUNTING_PERIOD, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, ) @@ -775,7 +715,7 @@ async def lines_remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -807,7 +747,7 @@ async def lines_remote_field_classes_list( Returns ------- - PaginatedRemoteFieldClassList + AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] Examples @@ -823,20 +763,22 @@ async def lines_remote_field_classes_list( async def main() -> None: - await client.accounting.journal_entries.lines_remote_field_classes_list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, + response = ( + await client.accounting.journal_entries.lines_remote_field_classes_list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + ) ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.lines_remote_field_classes_list( + return await self._raw_client.lines_remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -846,7 +788,6 @@ async def main() -> None: page_size=page_size, request_options=request_options, ) - return _response.data async def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ @@ -894,7 +835,7 @@ async def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -926,7 +867,7 @@ async def remote_field_classes_list( Returns ------- - PaginatedRemoteFieldClassList + AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] Examples @@ -942,20 +883,22 @@ async def remote_field_classes_list( async def main() -> None: - await client.accounting.journal_entries.remote_field_classes_list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, + response = ( + await client.accounting.journal_entries.remote_field_classes_list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + ) ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.remote_field_classes_list( + return await self._raw_client.remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -965,4 +908,3 @@ async def main() -> None: page_size=page_size, request_options=request_options, ) - return _response.data diff --git a/src/merge/resources/accounting/resources/journal_entries/raw_client.py b/src/merge/resources/accounting/resources/journal_entries/raw_client.py index 622bede3..53be467c 100644 --- a/src/merge/resources/accounting/resources/journal_entries/raw_client.py +++ b/src/merge/resources/accounting/resources/journal_entries/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.journal_entry import JournalEntry @@ -17,8 +18,9 @@ from ...types.meta_response import MetaResponse from ...types.paginated_journal_entry_list import PaginatedJournalEntryList from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList -from .types.journal_entries_list_request_expand import JournalEntriesListRequestExpand -from .types.journal_entries_retrieve_request_expand import JournalEntriesRetrieveRequestExpand +from ...types.remote_field_class import RemoteFieldClass +from .types.journal_entries_list_request_expand_item import JournalEntriesListRequestExpandItem +from .types.journal_entries_retrieve_request_expand_item import JournalEntriesRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -35,7 +37,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[JournalEntriesListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[JournalEntriesListRequestExpandItem, typing.Sequence[JournalEntriesListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -47,7 +51,7 @@ def list( transaction_date_after: typing.Optional[dt.datetime] = None, transaction_date_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedJournalEntryList]: + ) -> SyncPager[JournalEntry, PaginatedJournalEntryList]: """ Returns a list of `JournalEntry` objects. @@ -65,7 +69,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[JournalEntriesListRequestExpand] + expand : typing.Optional[typing.Union[JournalEntriesListRequestExpandItem, typing.Sequence[JournalEntriesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -103,7 +107,7 @@ def list( Returns ------- - HttpResponse[PaginatedJournalEntryList] + SyncPager[JournalEntry, PaginatedJournalEntryList] """ _response = self._client_wrapper.httpx_client.request( @@ -134,14 +138,35 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedJournalEntryList, construct_type( type_=PaginatedJournalEntryList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + transaction_date_after=transaction_date_after, + transaction_date_before=transaction_date_before, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -211,7 +236,11 @@ def retrieve( self, id: str, *, - expand: typing.Optional[JournalEntriesRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + JournalEntriesRetrieveRequestExpandItem, typing.Sequence[JournalEntriesRetrieveRequestExpandItem] + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -224,7 +253,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[JournalEntriesRetrieveRequestExpand] + expand : typing.Optional[typing.Union[JournalEntriesRetrieveRequestExpandItem, typing.Sequence[JournalEntriesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -281,7 +310,7 @@ def lines_remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedRemoteFieldClassList]: + ) -> SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -313,7 +342,7 @@ def lines_remote_field_classes_list( Returns ------- - HttpResponse[PaginatedRemoteFieldClassList] + SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] """ _response = self._client_wrapper.httpx_client.request( @@ -332,14 +361,27 @@ def lines_remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.lines_remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -392,7 +434,7 @@ def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedRemoteFieldClassList]: + ) -> SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -424,7 +466,7 @@ def remote_field_classes_list( Returns ------- - HttpResponse[PaginatedRemoteFieldClassList] + SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] """ _response = self._client_wrapper.httpx_client.request( @@ -443,14 +485,27 @@ def remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -468,7 +523,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[JournalEntriesListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[JournalEntriesListRequestExpandItem, typing.Sequence[JournalEntriesListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -480,7 +537,7 @@ async def list( transaction_date_after: typing.Optional[dt.datetime] = None, transaction_date_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedJournalEntryList]: + ) -> AsyncPager[JournalEntry, PaginatedJournalEntryList]: """ Returns a list of `JournalEntry` objects. @@ -498,7 +555,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[JournalEntriesListRequestExpand] + expand : typing.Optional[typing.Union[JournalEntriesListRequestExpandItem, typing.Sequence[JournalEntriesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -536,7 +593,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedJournalEntryList] + AsyncPager[JournalEntry, PaginatedJournalEntryList] """ _response = await self._client_wrapper.httpx_client.request( @@ -567,14 +624,38 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedJournalEntryList, construct_type( type_=PaginatedJournalEntryList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + transaction_date_after=transaction_date_after, + transaction_date_before=transaction_date_before, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -644,7 +725,11 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[JournalEntriesRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + JournalEntriesRetrieveRequestExpandItem, typing.Sequence[JournalEntriesRetrieveRequestExpandItem] + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -657,7 +742,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[JournalEntriesRetrieveRequestExpand] + expand : typing.Optional[typing.Union[JournalEntriesRetrieveRequestExpandItem, typing.Sequence[JournalEntriesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -714,7 +799,7 @@ async def lines_remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedRemoteFieldClassList]: + ) -> AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -746,7 +831,7 @@ async def lines_remote_field_classes_list( Returns ------- - AsyncHttpResponse[PaginatedRemoteFieldClassList] + AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] """ _response = await self._client_wrapper.httpx_client.request( @@ -765,14 +850,30 @@ async def lines_remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.lines_remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -825,7 +926,7 @@ async def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedRemoteFieldClassList]: + ) -> AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -857,7 +958,7 @@ async def remote_field_classes_list( Returns ------- - AsyncHttpResponse[PaginatedRemoteFieldClassList] + AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] """ _response = await self._client_wrapper.httpx_client.request( @@ -876,14 +977,30 @@ async def remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/accounting/resources/journal_entries/types/__init__.py b/src/merge/resources/accounting/resources/journal_entries/types/__init__.py index 3b9f1aaf..929919c5 100644 --- a/src/merge/resources/accounting/resources/journal_entries/types/__init__.py +++ b/src/merge/resources/accounting/resources/journal_entries/types/__init__.py @@ -6,11 +6,11 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .journal_entries_list_request_expand import JournalEntriesListRequestExpand - from .journal_entries_retrieve_request_expand import JournalEntriesRetrieveRequestExpand + from .journal_entries_list_request_expand_item import JournalEntriesListRequestExpandItem + from .journal_entries_retrieve_request_expand_item import JournalEntriesRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "JournalEntriesListRequestExpand": ".journal_entries_list_request_expand", - "JournalEntriesRetrieveRequestExpand": ".journal_entries_retrieve_request_expand", + "JournalEntriesListRequestExpandItem": ".journal_entries_list_request_expand_item", + "JournalEntriesRetrieveRequestExpandItem": ".journal_entries_retrieve_request_expand_item", } @@ -20,8 +20,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -33,4 +35,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["JournalEntriesListRequestExpand", "JournalEntriesRetrieveRequestExpand"] +__all__ = ["JournalEntriesListRequestExpandItem", "JournalEntriesRetrieveRequestExpandItem"] diff --git a/src/merge/resources/accounting/resources/journal_entries/types/journal_entries_list_request_expand.py b/src/merge/resources/accounting/resources/journal_entries/types/journal_entries_list_request_expand.py deleted file mode 100644 index d5a47081..00000000 --- a/src/merge/resources/accounting/resources/journal_entries/types/journal_entries_list_request_expand.py +++ /dev/null @@ -1,294 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class JournalEntriesListRequestExpand(str, enum.Enum): - ACCOUNTING_PERIOD = "accounting_period" - APPLIED_PAYMENTS = "applied_payments" - APPLIED_PAYMENTS_ACCOUNTING_PERIOD = "applied_payments,accounting_period" - APPLIED_PAYMENTS_COMPANY = "applied_payments,company" - APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD = "applied_payments,company,accounting_period" - APPLIED_PAYMENTS_TRACKING_CATEGORIES = "applied_payments,tracking_categories" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "applied_payments,tracking_categories,accounting_period" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY = "applied_payments,tracking_categories,company" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,company,accounting_period" - ) - COMPANY = "company" - COMPANY_ACCOUNTING_PERIOD = "company,accounting_period" - LINES = "lines" - LINES_ACCOUNTING_PERIOD = "lines,accounting_period" - LINES_APPLIED_PAYMENTS = "lines,applied_payments" - LINES_APPLIED_PAYMENTS_ACCOUNTING_PERIOD = "lines,applied_payments,accounting_period" - LINES_APPLIED_PAYMENTS_COMPANY = "lines,applied_payments,company" - LINES_APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD = "lines,applied_payments,company,accounting_period" - LINES_APPLIED_PAYMENTS_TRACKING_CATEGORIES = "lines,applied_payments,tracking_categories" - LINES_APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = ( - "lines,applied_payments,tracking_categories,accounting_period" - ) - LINES_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY = "lines,applied_payments,tracking_categories,company" - LINES_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "lines,applied_payments,tracking_categories,company,accounting_period" - ) - LINES_COMPANY = "lines,company" - LINES_COMPANY_ACCOUNTING_PERIOD = "lines,company,accounting_period" - LINES_PAYMENTS = "lines,payments" - LINES_PAYMENTS_ACCOUNTING_PERIOD = "lines,payments,accounting_period" - LINES_PAYMENTS_APPLIED_PAYMENTS = "lines,payments,applied_payments" - LINES_PAYMENTS_APPLIED_PAYMENTS_ACCOUNTING_PERIOD = "lines,payments,applied_payments,accounting_period" - LINES_PAYMENTS_APPLIED_PAYMENTS_COMPANY = "lines,payments,applied_payments,company" - LINES_PAYMENTS_APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD = ( - "lines,payments,applied_payments,company,accounting_period" - ) - LINES_PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES = "lines,payments,applied_payments,tracking_categories" - LINES_PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = ( - "lines,payments,applied_payments,tracking_categories,accounting_period" - ) - LINES_PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY = ( - "lines,payments,applied_payments,tracking_categories,company" - ) - LINES_PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "lines,payments,applied_payments,tracking_categories,company,accounting_period" - ) - LINES_PAYMENTS_COMPANY = "lines,payments,company" - LINES_PAYMENTS_COMPANY_ACCOUNTING_PERIOD = "lines,payments,company,accounting_period" - LINES_PAYMENTS_TRACKING_CATEGORIES = "lines,payments,tracking_categories" - LINES_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "lines,payments,tracking_categories,accounting_period" - LINES_PAYMENTS_TRACKING_CATEGORIES_COMPANY = "lines,payments,tracking_categories,company" - LINES_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "lines,payments,tracking_categories,company,accounting_period" - ) - LINES_TRACKING_CATEGORIES = "lines,tracking_categories" - LINES_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "lines,tracking_categories,accounting_period" - LINES_TRACKING_CATEGORIES_COMPANY = "lines,tracking_categories,company" - LINES_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = "lines,tracking_categories,company,accounting_period" - PAYMENTS = "payments" - PAYMENTS_ACCOUNTING_PERIOD = "payments,accounting_period" - PAYMENTS_APPLIED_PAYMENTS = "payments,applied_payments" - PAYMENTS_APPLIED_PAYMENTS_ACCOUNTING_PERIOD = "payments,applied_payments,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_COMPANY = "payments,applied_payments,company" - PAYMENTS_APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES = "payments,applied_payments,tracking_categories" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY = "payments,applied_payments,tracking_categories,company" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,company,accounting_period" - ) - PAYMENTS_COMPANY = "payments,company" - PAYMENTS_COMPANY_ACCOUNTING_PERIOD = "payments,company,accounting_period" - PAYMENTS_TRACKING_CATEGORIES = "payments,tracking_categories" - PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "payments,tracking_categories,accounting_period" - PAYMENTS_TRACKING_CATEGORIES_COMPANY = "payments,tracking_categories,company" - PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = "payments,tracking_categories,company,accounting_period" - TRACKING_CATEGORIES = "tracking_categories" - TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "tracking_categories,accounting_period" - TRACKING_CATEGORIES_COMPANY = "tracking_categories,company" - TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,company,accounting_period" - - def visit( - self, - accounting_period: typing.Callable[[], T_Result], - applied_payments: typing.Callable[[], T_Result], - applied_payments_accounting_period: typing.Callable[[], T_Result], - applied_payments_company: typing.Callable[[], T_Result], - applied_payments_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories: typing.Callable[[], T_Result], - applied_payments_tracking_categories_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories_company: typing.Callable[[], T_Result], - applied_payments_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - company: typing.Callable[[], T_Result], - company_accounting_period: typing.Callable[[], T_Result], - lines: typing.Callable[[], T_Result], - lines_accounting_period: typing.Callable[[], T_Result], - lines_applied_payments: typing.Callable[[], T_Result], - lines_applied_payments_accounting_period: typing.Callable[[], T_Result], - lines_applied_payments_company: typing.Callable[[], T_Result], - lines_applied_payments_company_accounting_period: typing.Callable[[], T_Result], - lines_applied_payments_tracking_categories: typing.Callable[[], T_Result], - lines_applied_payments_tracking_categories_accounting_period: typing.Callable[[], T_Result], - lines_applied_payments_tracking_categories_company: typing.Callable[[], T_Result], - lines_applied_payments_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - lines_company: typing.Callable[[], T_Result], - lines_company_accounting_period: typing.Callable[[], T_Result], - lines_payments: typing.Callable[[], T_Result], - lines_payments_accounting_period: typing.Callable[[], T_Result], - lines_payments_applied_payments: typing.Callable[[], T_Result], - lines_payments_applied_payments_accounting_period: typing.Callable[[], T_Result], - lines_payments_applied_payments_company: typing.Callable[[], T_Result], - lines_payments_applied_payments_company_accounting_period: typing.Callable[[], T_Result], - lines_payments_applied_payments_tracking_categories: typing.Callable[[], T_Result], - lines_payments_applied_payments_tracking_categories_accounting_period: typing.Callable[[], T_Result], - lines_payments_applied_payments_tracking_categories_company: typing.Callable[[], T_Result], - lines_payments_applied_payments_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - lines_payments_company: typing.Callable[[], T_Result], - lines_payments_company_accounting_period: typing.Callable[[], T_Result], - lines_payments_tracking_categories: typing.Callable[[], T_Result], - lines_payments_tracking_categories_accounting_period: typing.Callable[[], T_Result], - lines_payments_tracking_categories_company: typing.Callable[[], T_Result], - lines_payments_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - lines_tracking_categories: typing.Callable[[], T_Result], - lines_tracking_categories_accounting_period: typing.Callable[[], T_Result], - lines_tracking_categories_company: typing.Callable[[], T_Result], - lines_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - payments: typing.Callable[[], T_Result], - payments_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments: typing.Callable[[], T_Result], - payments_applied_payments_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_company: typing.Callable[[], T_Result], - payments_applied_payments_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_company: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - payments_company: typing.Callable[[], T_Result], - payments_company_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories: typing.Callable[[], T_Result], - payments_tracking_categories_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_company: typing.Callable[[], T_Result], - payments_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories: typing.Callable[[], T_Result], - tracking_categories_accounting_period: typing.Callable[[], T_Result], - tracking_categories_company: typing.Callable[[], T_Result], - tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - ) -> T_Result: - if self is JournalEntriesListRequestExpand.ACCOUNTING_PERIOD: - return accounting_period() - if self is JournalEntriesListRequestExpand.APPLIED_PAYMENTS: - return applied_payments() - if self is JournalEntriesListRequestExpand.APPLIED_PAYMENTS_ACCOUNTING_PERIOD: - return applied_payments_accounting_period() - if self is JournalEntriesListRequestExpand.APPLIED_PAYMENTS_COMPANY: - return applied_payments_company() - if self is JournalEntriesListRequestExpand.APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_company_accounting_period() - if self is JournalEntriesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES: - return applied_payments_tracking_categories() - if self is JournalEntriesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return applied_payments_tracking_categories_accounting_period() - if self is JournalEntriesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY: - return applied_payments_tracking_categories_company() - if self is JournalEntriesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_tracking_categories_company_accounting_period() - if self is JournalEntriesListRequestExpand.COMPANY: - return company() - if self is JournalEntriesListRequestExpand.COMPANY_ACCOUNTING_PERIOD: - return company_accounting_period() - if self is JournalEntriesListRequestExpand.LINES: - return lines() - if self is JournalEntriesListRequestExpand.LINES_ACCOUNTING_PERIOD: - return lines_accounting_period() - if self is JournalEntriesListRequestExpand.LINES_APPLIED_PAYMENTS: - return lines_applied_payments() - if self is JournalEntriesListRequestExpand.LINES_APPLIED_PAYMENTS_ACCOUNTING_PERIOD: - return lines_applied_payments_accounting_period() - if self is JournalEntriesListRequestExpand.LINES_APPLIED_PAYMENTS_COMPANY: - return lines_applied_payments_company() - if self is JournalEntriesListRequestExpand.LINES_APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD: - return lines_applied_payments_company_accounting_period() - if self is JournalEntriesListRequestExpand.LINES_APPLIED_PAYMENTS_TRACKING_CATEGORIES: - return lines_applied_payments_tracking_categories() - if self is JournalEntriesListRequestExpand.LINES_APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return lines_applied_payments_tracking_categories_accounting_period() - if self is JournalEntriesListRequestExpand.LINES_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY: - return lines_applied_payments_tracking_categories_company() - if self is JournalEntriesListRequestExpand.LINES_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return lines_applied_payments_tracking_categories_company_accounting_period() - if self is JournalEntriesListRequestExpand.LINES_COMPANY: - return lines_company() - if self is JournalEntriesListRequestExpand.LINES_COMPANY_ACCOUNTING_PERIOD: - return lines_company_accounting_period() - if self is JournalEntriesListRequestExpand.LINES_PAYMENTS: - return lines_payments() - if self is JournalEntriesListRequestExpand.LINES_PAYMENTS_ACCOUNTING_PERIOD: - return lines_payments_accounting_period() - if self is JournalEntriesListRequestExpand.LINES_PAYMENTS_APPLIED_PAYMENTS: - return lines_payments_applied_payments() - if self is JournalEntriesListRequestExpand.LINES_PAYMENTS_APPLIED_PAYMENTS_ACCOUNTING_PERIOD: - return lines_payments_applied_payments_accounting_period() - if self is JournalEntriesListRequestExpand.LINES_PAYMENTS_APPLIED_PAYMENTS_COMPANY: - return lines_payments_applied_payments_company() - if self is JournalEntriesListRequestExpand.LINES_PAYMENTS_APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD: - return lines_payments_applied_payments_company_accounting_period() - if self is JournalEntriesListRequestExpand.LINES_PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES: - return lines_payments_applied_payments_tracking_categories() - if ( - self - is JournalEntriesListRequestExpand.LINES_PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD - ): - return lines_payments_applied_payments_tracking_categories_accounting_period() - if self is JournalEntriesListRequestExpand.LINES_PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY: - return lines_payments_applied_payments_tracking_categories_company() - if ( - self - is JournalEntriesListRequestExpand.LINES_PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD - ): - return lines_payments_applied_payments_tracking_categories_company_accounting_period() - if self is JournalEntriesListRequestExpand.LINES_PAYMENTS_COMPANY: - return lines_payments_company() - if self is JournalEntriesListRequestExpand.LINES_PAYMENTS_COMPANY_ACCOUNTING_PERIOD: - return lines_payments_company_accounting_period() - if self is JournalEntriesListRequestExpand.LINES_PAYMENTS_TRACKING_CATEGORIES: - return lines_payments_tracking_categories() - if self is JournalEntriesListRequestExpand.LINES_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return lines_payments_tracking_categories_accounting_period() - if self is JournalEntriesListRequestExpand.LINES_PAYMENTS_TRACKING_CATEGORIES_COMPANY: - return lines_payments_tracking_categories_company() - if self is JournalEntriesListRequestExpand.LINES_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return lines_payments_tracking_categories_company_accounting_period() - if self is JournalEntriesListRequestExpand.LINES_TRACKING_CATEGORIES: - return lines_tracking_categories() - if self is JournalEntriesListRequestExpand.LINES_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return lines_tracking_categories_accounting_period() - if self is JournalEntriesListRequestExpand.LINES_TRACKING_CATEGORIES_COMPANY: - return lines_tracking_categories_company() - if self is JournalEntriesListRequestExpand.LINES_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return lines_tracking_categories_company_accounting_period() - if self is JournalEntriesListRequestExpand.PAYMENTS: - return payments() - if self is JournalEntriesListRequestExpand.PAYMENTS_ACCOUNTING_PERIOD: - return payments_accounting_period() - if self is JournalEntriesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS: - return payments_applied_payments() - if self is JournalEntriesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_ACCOUNTING_PERIOD: - return payments_applied_payments_accounting_period() - if self is JournalEntriesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_COMPANY: - return payments_applied_payments_company() - if self is JournalEntriesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD: - return payments_applied_payments_company_accounting_period() - if self is JournalEntriesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES: - return payments_applied_payments_tracking_categories() - if self is JournalEntriesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return payments_applied_payments_tracking_categories_accounting_period() - if self is JournalEntriesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY: - return payments_applied_payments_tracking_categories_company() - if ( - self - is JournalEntriesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_company_accounting_period() - if self is JournalEntriesListRequestExpand.PAYMENTS_COMPANY: - return payments_company() - if self is JournalEntriesListRequestExpand.PAYMENTS_COMPANY_ACCOUNTING_PERIOD: - return payments_company_accounting_period() - if self is JournalEntriesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES: - return payments_tracking_categories() - if self is JournalEntriesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return payments_tracking_categories_accounting_period() - if self is JournalEntriesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_COMPANY: - return payments_tracking_categories_company() - if self is JournalEntriesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return payments_tracking_categories_company_accounting_period() - if self is JournalEntriesListRequestExpand.TRACKING_CATEGORIES: - return tracking_categories() - if self is JournalEntriesListRequestExpand.TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return tracking_categories_accounting_period() - if self is JournalEntriesListRequestExpand.TRACKING_CATEGORIES_COMPANY: - return tracking_categories_company() - if self is JournalEntriesListRequestExpand.TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_company_accounting_period() diff --git a/src/merge/resources/accounting/resources/journal_entries/types/journal_entries_list_request_expand_item.py b/src/merge/resources/accounting/resources/journal_entries/types/journal_entries_list_request_expand_item.py new file mode 100644 index 00000000..b7942027 --- /dev/null +++ b/src/merge/resources/accounting/resources/journal_entries/types/journal_entries_list_request_expand_item.py @@ -0,0 +1,37 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class JournalEntriesListRequestExpandItem(str, enum.Enum): + ACCOUNTING_PERIOD = "accounting_period" + APPLIED_PAYMENTS = "applied_payments" + COMPANY = "company" + LINES = "lines" + PAYMENTS = "payments" + TRACKING_CATEGORIES = "tracking_categories" + + def visit( + self, + accounting_period: typing.Callable[[], T_Result], + applied_payments: typing.Callable[[], T_Result], + company: typing.Callable[[], T_Result], + lines: typing.Callable[[], T_Result], + payments: typing.Callable[[], T_Result], + tracking_categories: typing.Callable[[], T_Result], + ) -> T_Result: + if self is JournalEntriesListRequestExpandItem.ACCOUNTING_PERIOD: + return accounting_period() + if self is JournalEntriesListRequestExpandItem.APPLIED_PAYMENTS: + return applied_payments() + if self is JournalEntriesListRequestExpandItem.COMPANY: + return company() + if self is JournalEntriesListRequestExpandItem.LINES: + return lines() + if self is JournalEntriesListRequestExpandItem.PAYMENTS: + return payments() + if self is JournalEntriesListRequestExpandItem.TRACKING_CATEGORIES: + return tracking_categories() diff --git a/src/merge/resources/accounting/resources/journal_entries/types/journal_entries_retrieve_request_expand.py b/src/merge/resources/accounting/resources/journal_entries/types/journal_entries_retrieve_request_expand.py deleted file mode 100644 index bdac2481..00000000 --- a/src/merge/resources/accounting/resources/journal_entries/types/journal_entries_retrieve_request_expand.py +++ /dev/null @@ -1,297 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class JournalEntriesRetrieveRequestExpand(str, enum.Enum): - ACCOUNTING_PERIOD = "accounting_period" - APPLIED_PAYMENTS = "applied_payments" - APPLIED_PAYMENTS_ACCOUNTING_PERIOD = "applied_payments,accounting_period" - APPLIED_PAYMENTS_COMPANY = "applied_payments,company" - APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD = "applied_payments,company,accounting_period" - APPLIED_PAYMENTS_TRACKING_CATEGORIES = "applied_payments,tracking_categories" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "applied_payments,tracking_categories,accounting_period" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY = "applied_payments,tracking_categories,company" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,company,accounting_period" - ) - COMPANY = "company" - COMPANY_ACCOUNTING_PERIOD = "company,accounting_period" - LINES = "lines" - LINES_ACCOUNTING_PERIOD = "lines,accounting_period" - LINES_APPLIED_PAYMENTS = "lines,applied_payments" - LINES_APPLIED_PAYMENTS_ACCOUNTING_PERIOD = "lines,applied_payments,accounting_period" - LINES_APPLIED_PAYMENTS_COMPANY = "lines,applied_payments,company" - LINES_APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD = "lines,applied_payments,company,accounting_period" - LINES_APPLIED_PAYMENTS_TRACKING_CATEGORIES = "lines,applied_payments,tracking_categories" - LINES_APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = ( - "lines,applied_payments,tracking_categories,accounting_period" - ) - LINES_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY = "lines,applied_payments,tracking_categories,company" - LINES_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "lines,applied_payments,tracking_categories,company,accounting_period" - ) - LINES_COMPANY = "lines,company" - LINES_COMPANY_ACCOUNTING_PERIOD = "lines,company,accounting_period" - LINES_PAYMENTS = "lines,payments" - LINES_PAYMENTS_ACCOUNTING_PERIOD = "lines,payments,accounting_period" - LINES_PAYMENTS_APPLIED_PAYMENTS = "lines,payments,applied_payments" - LINES_PAYMENTS_APPLIED_PAYMENTS_ACCOUNTING_PERIOD = "lines,payments,applied_payments,accounting_period" - LINES_PAYMENTS_APPLIED_PAYMENTS_COMPANY = "lines,payments,applied_payments,company" - LINES_PAYMENTS_APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD = ( - "lines,payments,applied_payments,company,accounting_period" - ) - LINES_PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES = "lines,payments,applied_payments,tracking_categories" - LINES_PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = ( - "lines,payments,applied_payments,tracking_categories,accounting_period" - ) - LINES_PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY = ( - "lines,payments,applied_payments,tracking_categories,company" - ) - LINES_PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "lines,payments,applied_payments,tracking_categories,company,accounting_period" - ) - LINES_PAYMENTS_COMPANY = "lines,payments,company" - LINES_PAYMENTS_COMPANY_ACCOUNTING_PERIOD = "lines,payments,company,accounting_period" - LINES_PAYMENTS_TRACKING_CATEGORIES = "lines,payments,tracking_categories" - LINES_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "lines,payments,tracking_categories,accounting_period" - LINES_PAYMENTS_TRACKING_CATEGORIES_COMPANY = "lines,payments,tracking_categories,company" - LINES_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "lines,payments,tracking_categories,company,accounting_period" - ) - LINES_TRACKING_CATEGORIES = "lines,tracking_categories" - LINES_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "lines,tracking_categories,accounting_period" - LINES_TRACKING_CATEGORIES_COMPANY = "lines,tracking_categories,company" - LINES_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = "lines,tracking_categories,company,accounting_period" - PAYMENTS = "payments" - PAYMENTS_ACCOUNTING_PERIOD = "payments,accounting_period" - PAYMENTS_APPLIED_PAYMENTS = "payments,applied_payments" - PAYMENTS_APPLIED_PAYMENTS_ACCOUNTING_PERIOD = "payments,applied_payments,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_COMPANY = "payments,applied_payments,company" - PAYMENTS_APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES = "payments,applied_payments,tracking_categories" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY = "payments,applied_payments,tracking_categories,company" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,company,accounting_period" - ) - PAYMENTS_COMPANY = "payments,company" - PAYMENTS_COMPANY_ACCOUNTING_PERIOD = "payments,company,accounting_period" - PAYMENTS_TRACKING_CATEGORIES = "payments,tracking_categories" - PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "payments,tracking_categories,accounting_period" - PAYMENTS_TRACKING_CATEGORIES_COMPANY = "payments,tracking_categories,company" - PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = "payments,tracking_categories,company,accounting_period" - TRACKING_CATEGORIES = "tracking_categories" - TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "tracking_categories,accounting_period" - TRACKING_CATEGORIES_COMPANY = "tracking_categories,company" - TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,company,accounting_period" - - def visit( - self, - accounting_period: typing.Callable[[], T_Result], - applied_payments: typing.Callable[[], T_Result], - applied_payments_accounting_period: typing.Callable[[], T_Result], - applied_payments_company: typing.Callable[[], T_Result], - applied_payments_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories: typing.Callable[[], T_Result], - applied_payments_tracking_categories_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories_company: typing.Callable[[], T_Result], - applied_payments_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - company: typing.Callable[[], T_Result], - company_accounting_period: typing.Callable[[], T_Result], - lines: typing.Callable[[], T_Result], - lines_accounting_period: typing.Callable[[], T_Result], - lines_applied_payments: typing.Callable[[], T_Result], - lines_applied_payments_accounting_period: typing.Callable[[], T_Result], - lines_applied_payments_company: typing.Callable[[], T_Result], - lines_applied_payments_company_accounting_period: typing.Callable[[], T_Result], - lines_applied_payments_tracking_categories: typing.Callable[[], T_Result], - lines_applied_payments_tracking_categories_accounting_period: typing.Callable[[], T_Result], - lines_applied_payments_tracking_categories_company: typing.Callable[[], T_Result], - lines_applied_payments_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - lines_company: typing.Callable[[], T_Result], - lines_company_accounting_period: typing.Callable[[], T_Result], - lines_payments: typing.Callable[[], T_Result], - lines_payments_accounting_period: typing.Callable[[], T_Result], - lines_payments_applied_payments: typing.Callable[[], T_Result], - lines_payments_applied_payments_accounting_period: typing.Callable[[], T_Result], - lines_payments_applied_payments_company: typing.Callable[[], T_Result], - lines_payments_applied_payments_company_accounting_period: typing.Callable[[], T_Result], - lines_payments_applied_payments_tracking_categories: typing.Callable[[], T_Result], - lines_payments_applied_payments_tracking_categories_accounting_period: typing.Callable[[], T_Result], - lines_payments_applied_payments_tracking_categories_company: typing.Callable[[], T_Result], - lines_payments_applied_payments_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - lines_payments_company: typing.Callable[[], T_Result], - lines_payments_company_accounting_period: typing.Callable[[], T_Result], - lines_payments_tracking_categories: typing.Callable[[], T_Result], - lines_payments_tracking_categories_accounting_period: typing.Callable[[], T_Result], - lines_payments_tracking_categories_company: typing.Callable[[], T_Result], - lines_payments_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - lines_tracking_categories: typing.Callable[[], T_Result], - lines_tracking_categories_accounting_period: typing.Callable[[], T_Result], - lines_tracking_categories_company: typing.Callable[[], T_Result], - lines_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - payments: typing.Callable[[], T_Result], - payments_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments: typing.Callable[[], T_Result], - payments_applied_payments_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_company: typing.Callable[[], T_Result], - payments_applied_payments_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_company: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - payments_company: typing.Callable[[], T_Result], - payments_company_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories: typing.Callable[[], T_Result], - payments_tracking_categories_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_company: typing.Callable[[], T_Result], - payments_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories: typing.Callable[[], T_Result], - tracking_categories_accounting_period: typing.Callable[[], T_Result], - tracking_categories_company: typing.Callable[[], T_Result], - tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - ) -> T_Result: - if self is JournalEntriesRetrieveRequestExpand.ACCOUNTING_PERIOD: - return accounting_period() - if self is JournalEntriesRetrieveRequestExpand.APPLIED_PAYMENTS: - return applied_payments() - if self is JournalEntriesRetrieveRequestExpand.APPLIED_PAYMENTS_ACCOUNTING_PERIOD: - return applied_payments_accounting_period() - if self is JournalEntriesRetrieveRequestExpand.APPLIED_PAYMENTS_COMPANY: - return applied_payments_company() - if self is JournalEntriesRetrieveRequestExpand.APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_company_accounting_period() - if self is JournalEntriesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES: - return applied_payments_tracking_categories() - if self is JournalEntriesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return applied_payments_tracking_categories_accounting_period() - if self is JournalEntriesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY: - return applied_payments_tracking_categories_company() - if self is JournalEntriesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_tracking_categories_company_accounting_period() - if self is JournalEntriesRetrieveRequestExpand.COMPANY: - return company() - if self is JournalEntriesRetrieveRequestExpand.COMPANY_ACCOUNTING_PERIOD: - return company_accounting_period() - if self is JournalEntriesRetrieveRequestExpand.LINES: - return lines() - if self is JournalEntriesRetrieveRequestExpand.LINES_ACCOUNTING_PERIOD: - return lines_accounting_period() - if self is JournalEntriesRetrieveRequestExpand.LINES_APPLIED_PAYMENTS: - return lines_applied_payments() - if self is JournalEntriesRetrieveRequestExpand.LINES_APPLIED_PAYMENTS_ACCOUNTING_PERIOD: - return lines_applied_payments_accounting_period() - if self is JournalEntriesRetrieveRequestExpand.LINES_APPLIED_PAYMENTS_COMPANY: - return lines_applied_payments_company() - if self is JournalEntriesRetrieveRequestExpand.LINES_APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD: - return lines_applied_payments_company_accounting_period() - if self is JournalEntriesRetrieveRequestExpand.LINES_APPLIED_PAYMENTS_TRACKING_CATEGORIES: - return lines_applied_payments_tracking_categories() - if self is JournalEntriesRetrieveRequestExpand.LINES_APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return lines_applied_payments_tracking_categories_accounting_period() - if self is JournalEntriesRetrieveRequestExpand.LINES_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY: - return lines_applied_payments_tracking_categories_company() - if ( - self - is JournalEntriesRetrieveRequestExpand.LINES_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD - ): - return lines_applied_payments_tracking_categories_company_accounting_period() - if self is JournalEntriesRetrieveRequestExpand.LINES_COMPANY: - return lines_company() - if self is JournalEntriesRetrieveRequestExpand.LINES_COMPANY_ACCOUNTING_PERIOD: - return lines_company_accounting_period() - if self is JournalEntriesRetrieveRequestExpand.LINES_PAYMENTS: - return lines_payments() - if self is JournalEntriesRetrieveRequestExpand.LINES_PAYMENTS_ACCOUNTING_PERIOD: - return lines_payments_accounting_period() - if self is JournalEntriesRetrieveRequestExpand.LINES_PAYMENTS_APPLIED_PAYMENTS: - return lines_payments_applied_payments() - if self is JournalEntriesRetrieveRequestExpand.LINES_PAYMENTS_APPLIED_PAYMENTS_ACCOUNTING_PERIOD: - return lines_payments_applied_payments_accounting_period() - if self is JournalEntriesRetrieveRequestExpand.LINES_PAYMENTS_APPLIED_PAYMENTS_COMPANY: - return lines_payments_applied_payments_company() - if self is JournalEntriesRetrieveRequestExpand.LINES_PAYMENTS_APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD: - return lines_payments_applied_payments_company_accounting_period() - if self is JournalEntriesRetrieveRequestExpand.LINES_PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES: - return lines_payments_applied_payments_tracking_categories() - if ( - self - is JournalEntriesRetrieveRequestExpand.LINES_PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD - ): - return lines_payments_applied_payments_tracking_categories_accounting_period() - if self is JournalEntriesRetrieveRequestExpand.LINES_PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY: - return lines_payments_applied_payments_tracking_categories_company() - if ( - self - is JournalEntriesRetrieveRequestExpand.LINES_PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD - ): - return lines_payments_applied_payments_tracking_categories_company_accounting_period() - if self is JournalEntriesRetrieveRequestExpand.LINES_PAYMENTS_COMPANY: - return lines_payments_company() - if self is JournalEntriesRetrieveRequestExpand.LINES_PAYMENTS_COMPANY_ACCOUNTING_PERIOD: - return lines_payments_company_accounting_period() - if self is JournalEntriesRetrieveRequestExpand.LINES_PAYMENTS_TRACKING_CATEGORIES: - return lines_payments_tracking_categories() - if self is JournalEntriesRetrieveRequestExpand.LINES_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return lines_payments_tracking_categories_accounting_period() - if self is JournalEntriesRetrieveRequestExpand.LINES_PAYMENTS_TRACKING_CATEGORIES_COMPANY: - return lines_payments_tracking_categories_company() - if self is JournalEntriesRetrieveRequestExpand.LINES_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return lines_payments_tracking_categories_company_accounting_period() - if self is JournalEntriesRetrieveRequestExpand.LINES_TRACKING_CATEGORIES: - return lines_tracking_categories() - if self is JournalEntriesRetrieveRequestExpand.LINES_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return lines_tracking_categories_accounting_period() - if self is JournalEntriesRetrieveRequestExpand.LINES_TRACKING_CATEGORIES_COMPANY: - return lines_tracking_categories_company() - if self is JournalEntriesRetrieveRequestExpand.LINES_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return lines_tracking_categories_company_accounting_period() - if self is JournalEntriesRetrieveRequestExpand.PAYMENTS: - return payments() - if self is JournalEntriesRetrieveRequestExpand.PAYMENTS_ACCOUNTING_PERIOD: - return payments_accounting_period() - if self is JournalEntriesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS: - return payments_applied_payments() - if self is JournalEntriesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_ACCOUNTING_PERIOD: - return payments_applied_payments_accounting_period() - if self is JournalEntriesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_COMPANY: - return payments_applied_payments_company() - if self is JournalEntriesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD: - return payments_applied_payments_company_accounting_period() - if self is JournalEntriesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES: - return payments_applied_payments_tracking_categories() - if self is JournalEntriesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return payments_applied_payments_tracking_categories_accounting_period() - if self is JournalEntriesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY: - return payments_applied_payments_tracking_categories_company() - if ( - self - is JournalEntriesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_company_accounting_period() - if self is JournalEntriesRetrieveRequestExpand.PAYMENTS_COMPANY: - return payments_company() - if self is JournalEntriesRetrieveRequestExpand.PAYMENTS_COMPANY_ACCOUNTING_PERIOD: - return payments_company_accounting_period() - if self is JournalEntriesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES: - return payments_tracking_categories() - if self is JournalEntriesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return payments_tracking_categories_accounting_period() - if self is JournalEntriesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_COMPANY: - return payments_tracking_categories_company() - if self is JournalEntriesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return payments_tracking_categories_company_accounting_period() - if self is JournalEntriesRetrieveRequestExpand.TRACKING_CATEGORIES: - return tracking_categories() - if self is JournalEntriesRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return tracking_categories_accounting_period() - if self is JournalEntriesRetrieveRequestExpand.TRACKING_CATEGORIES_COMPANY: - return tracking_categories_company() - if self is JournalEntriesRetrieveRequestExpand.TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_company_accounting_period() diff --git a/src/merge/resources/accounting/resources/journal_entries/types/journal_entries_retrieve_request_expand_item.py b/src/merge/resources/accounting/resources/journal_entries/types/journal_entries_retrieve_request_expand_item.py new file mode 100644 index 00000000..d0d1f3ee --- /dev/null +++ b/src/merge/resources/accounting/resources/journal_entries/types/journal_entries_retrieve_request_expand_item.py @@ -0,0 +1,37 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class JournalEntriesRetrieveRequestExpandItem(str, enum.Enum): + ACCOUNTING_PERIOD = "accounting_period" + APPLIED_PAYMENTS = "applied_payments" + COMPANY = "company" + LINES = "lines" + PAYMENTS = "payments" + TRACKING_CATEGORIES = "tracking_categories" + + def visit( + self, + accounting_period: typing.Callable[[], T_Result], + applied_payments: typing.Callable[[], T_Result], + company: typing.Callable[[], T_Result], + lines: typing.Callable[[], T_Result], + payments: typing.Callable[[], T_Result], + tracking_categories: typing.Callable[[], T_Result], + ) -> T_Result: + if self is JournalEntriesRetrieveRequestExpandItem.ACCOUNTING_PERIOD: + return accounting_period() + if self is JournalEntriesRetrieveRequestExpandItem.APPLIED_PAYMENTS: + return applied_payments() + if self is JournalEntriesRetrieveRequestExpandItem.COMPANY: + return company() + if self is JournalEntriesRetrieveRequestExpandItem.LINES: + return lines() + if self is JournalEntriesRetrieveRequestExpandItem.PAYMENTS: + return payments() + if self is JournalEntriesRetrieveRequestExpandItem.TRACKING_CATEGORIES: + return tracking_categories() diff --git a/src/merge/resources/accounting/resources/link_token/__init__.py b/src/merge/resources/accounting/resources/link_token/__init__.py index 3bad6adf..15700960 100644 --- a/src/merge/resources/accounting/resources/link_token/__init__.py +++ b/src/merge/resources/accounting/resources/link_token/__init__.py @@ -16,8 +16,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: diff --git a/src/merge/resources/accounting/resources/link_token/client.py b/src/merge/resources/accounting/resources/link_token/client.py index 840832bb..f532f33e 100644 --- a/src/merge/resources/accounting/resources/link_token/client.py +++ b/src/merge/resources/accounting/resources/link_token/client.py @@ -47,7 +47,7 @@ def create( ] = OMIT, language: typing.Optional[EndUserDetailsRequestLanguage] = OMIT, are_syncs_disabled: typing.Optional[bool] = OMIT, - integration_specific_config: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, + integration_specific_config: typing.Optional[typing.Dict[str, typing.Any]] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> LinkToken: """ @@ -94,7 +94,7 @@ def create( are_syncs_disabled : typing.Optional[bool] The boolean that indicates whether initial, periodic, and force syncs will be disabled. - integration_specific_config : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] + integration_specific_config : typing.Optional[typing.Dict[str, typing.Any]] A JSON object containing integration-specific configuration options. request_options : typing.Optional[RequestOptions] @@ -172,7 +172,7 @@ async def create( ] = OMIT, language: typing.Optional[EndUserDetailsRequestLanguage] = OMIT, are_syncs_disabled: typing.Optional[bool] = OMIT, - integration_specific_config: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, + integration_specific_config: typing.Optional[typing.Dict[str, typing.Any]] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> LinkToken: """ @@ -219,7 +219,7 @@ async def create( are_syncs_disabled : typing.Optional[bool] The boolean that indicates whether initial, periodic, and force syncs will be disabled. - integration_specific_config : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] + integration_specific_config : typing.Optional[typing.Dict[str, typing.Any]] A JSON object containing integration-specific configuration options. request_options : typing.Optional[RequestOptions] diff --git a/src/merge/resources/accounting/resources/link_token/raw_client.py b/src/merge/resources/accounting/resources/link_token/raw_client.py index 06ad90b6..4bd1874e 100644 --- a/src/merge/resources/accounting/resources/link_token/raw_client.py +++ b/src/merge/resources/accounting/resources/link_token/raw_client.py @@ -39,7 +39,7 @@ def create( ] = OMIT, language: typing.Optional[EndUserDetailsRequestLanguage] = OMIT, are_syncs_disabled: typing.Optional[bool] = OMIT, - integration_specific_config: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, + integration_specific_config: typing.Optional[typing.Dict[str, typing.Any]] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[LinkToken]: """ @@ -86,7 +86,7 @@ def create( are_syncs_disabled : typing.Optional[bool] The boolean that indicates whether initial, periodic, and force syncs will be disabled. - integration_specific_config : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] + integration_specific_config : typing.Optional[typing.Dict[str, typing.Any]] A JSON object containing integration-specific configuration options. request_options : typing.Optional[RequestOptions] @@ -158,7 +158,7 @@ async def create( ] = OMIT, language: typing.Optional[EndUserDetailsRequestLanguage] = OMIT, are_syncs_disabled: typing.Optional[bool] = OMIT, - integration_specific_config: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, + integration_specific_config: typing.Optional[typing.Dict[str, typing.Any]] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[LinkToken]: """ @@ -205,7 +205,7 @@ async def create( are_syncs_disabled : typing.Optional[bool] The boolean that indicates whether initial, periodic, and force syncs will be disabled. - integration_specific_config : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] + integration_specific_config : typing.Optional[typing.Dict[str, typing.Any]] A JSON object containing integration-specific configuration options. request_options : typing.Optional[RequestOptions] diff --git a/src/merge/resources/accounting/resources/link_token/types/__init__.py b/src/merge/resources/accounting/resources/link_token/types/__init__.py index e9a7d3b9..dad2a14a 100644 --- a/src/merge/resources/accounting/resources/link_token/types/__init__.py +++ b/src/merge/resources/accounting/resources/link_token/types/__init__.py @@ -16,8 +16,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: diff --git a/src/merge/resources/accounting/resources/linked_accounts/__init__.py b/src/merge/resources/accounting/resources/linked_accounts/__init__.py index 0b9e42b4..12e213b7 100644 --- a/src/merge/resources/accounting/resources/linked_accounts/__init__.py +++ b/src/merge/resources/accounting/resources/linked_accounts/__init__.py @@ -16,8 +16,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: diff --git a/src/merge/resources/accounting/resources/linked_accounts/client.py b/src/merge/resources/accounting/resources/linked_accounts/client.py index 3fceae3a..068e4c8c 100644 --- a/src/merge/resources/accounting/resources/linked_accounts/client.py +++ b/src/merge/resources/accounting/resources/linked_accounts/client.py @@ -3,7 +3,9 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions +from ...types.account_details_and_actions import AccountDetailsAndActions from ...types.paginated_account_details_and_actions_list import PaginatedAccountDetailsAndActionsList from .raw_client import AsyncRawLinkedAccountsClient, RawLinkedAccountsClient from .types.linked_accounts_list_request_category import LinkedAccountsListRequestCategory @@ -41,7 +43,7 @@ def list( page_size: typing.Optional[int] = None, status: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAccountDetailsAndActionsList: + ) -> SyncPager[AccountDetailsAndActions, PaginatedAccountDetailsAndActionsList]: """ List linked accounts for your organization. @@ -98,37 +100,27 @@ def list( Returns ------- - PaginatedAccountDetailsAndActionsList + SyncPager[AccountDetailsAndActions, PaginatedAccountDetailsAndActionsList] Examples -------- from merge import Merge - from merge.resources.accounting.resources.linked_accounts import ( - LinkedAccountsListRequestCategory, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.linked_accounts.list( - category=LinkedAccountsListRequestCategory.ACCOUNTING, + response = client.accounting.linked_accounts.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_user_email_address="end_user_email_address", - end_user_organization_name="end_user_organization_name", - end_user_origin_id="end_user_origin_id", - end_user_origin_ids="end_user_origin_ids", - id="id", - ids="ids", - include_duplicates=True, - integration_name="integration_name", - is_test_account="is_test_account", - page_size=1, - status="status", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( category=category, cursor=cursor, end_user_email_address=end_user_email_address, @@ -144,7 +136,6 @@ def list( status=status, request_options=request_options, ) - return _response.data class AsyncLinkedAccountsClient: @@ -179,7 +170,7 @@ async def list( page_size: typing.Optional[int] = None, status: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAccountDetailsAndActionsList: + ) -> AsyncPager[AccountDetailsAndActions, PaginatedAccountDetailsAndActionsList]: """ List linked accounts for your organization. @@ -236,7 +227,7 @@ async def list( Returns ------- - PaginatedAccountDetailsAndActionsList + AsyncPager[AccountDetailsAndActions, PaginatedAccountDetailsAndActionsList] Examples @@ -244,9 +235,6 @@ async def list( import asyncio from merge import AsyncMerge - from merge.resources.accounting.resources.linked_accounts import ( - LinkedAccountsListRequestCategory, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -255,26 +243,20 @@ async def list( async def main() -> None: - await client.accounting.linked_accounts.list( - category=LinkedAccountsListRequestCategory.ACCOUNTING, + response = await client.accounting.linked_accounts.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_user_email_address="end_user_email_address", - end_user_organization_name="end_user_organization_name", - end_user_origin_id="end_user_origin_id", - end_user_origin_ids="end_user_origin_ids", - id="id", - ids="ids", - include_duplicates=True, - integration_name="integration_name", - is_test_account="is_test_account", - page_size=1, - status="status", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( category=category, cursor=cursor, end_user_email_address=end_user_email_address, @@ -290,4 +272,3 @@ async def main() -> None: status=status, request_options=request_options, ) - return _response.data diff --git a/src/merge/resources/accounting/resources/linked_accounts/raw_client.py b/src/merge/resources/accounting/resources/linked_accounts/raw_client.py index ccb799fd..82156e2d 100644 --- a/src/merge/resources/accounting/resources/linked_accounts/raw_client.py +++ b/src/merge/resources/accounting/resources/linked_accounts/raw_client.py @@ -5,9 +5,10 @@ from .....core.api_error import ApiError from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type +from ...types.account_details_and_actions import AccountDetailsAndActions from ...types.paginated_account_details_and_actions_list import PaginatedAccountDetailsAndActionsList from .types.linked_accounts_list_request_category import LinkedAccountsListRequestCategory @@ -33,7 +34,7 @@ def list( page_size: typing.Optional[int] = None, status: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedAccountDetailsAndActionsList]: + ) -> SyncPager[AccountDetailsAndActions, PaginatedAccountDetailsAndActionsList]: """ List linked accounts for your organization. @@ -90,7 +91,7 @@ def list( Returns ------- - HttpResponse[PaginatedAccountDetailsAndActionsList] + SyncPager[AccountDetailsAndActions, PaginatedAccountDetailsAndActionsList] """ _response = self._client_wrapper.httpx_client.request( @@ -115,14 +116,33 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAccountDetailsAndActionsList, construct_type( type_=PaginatedAccountDetailsAndActionsList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + category=category, + cursor=_parsed_next, + end_user_email_address=end_user_email_address, + end_user_organization_name=end_user_organization_name, + end_user_origin_id=end_user_origin_id, + end_user_origin_ids=end_user_origin_ids, + id=id, + ids=ids, + include_duplicates=include_duplicates, + integration_name=integration_name, + is_test_account=is_test_account, + page_size=page_size, + status=status, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -150,7 +170,7 @@ async def list( page_size: typing.Optional[int] = None, status: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedAccountDetailsAndActionsList]: + ) -> AsyncPager[AccountDetailsAndActions, PaginatedAccountDetailsAndActionsList]: """ List linked accounts for your organization. @@ -207,7 +227,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedAccountDetailsAndActionsList] + AsyncPager[AccountDetailsAndActions, PaginatedAccountDetailsAndActionsList] """ _response = await self._client_wrapper.httpx_client.request( @@ -232,14 +252,36 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAccountDetailsAndActionsList, construct_type( type_=PaginatedAccountDetailsAndActionsList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + category=category, + cursor=_parsed_next, + end_user_email_address=end_user_email_address, + end_user_organization_name=end_user_organization_name, + end_user_origin_id=end_user_origin_id, + end_user_origin_ids=end_user_origin_ids, + id=id, + ids=ids, + include_duplicates=include_duplicates, + integration_name=integration_name, + is_test_account=is_test_account, + page_size=page_size, + status=status, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/accounting/resources/linked_accounts/types/__init__.py b/src/merge/resources/accounting/resources/linked_accounts/types/__init__.py index a28f38cc..a884db6a 100644 --- a/src/merge/resources/accounting/resources/linked_accounts/types/__init__.py +++ b/src/merge/resources/accounting/resources/linked_accounts/types/__init__.py @@ -18,8 +18,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: diff --git a/src/merge/resources/accounting/resources/payment_methods/client.py b/src/merge/resources/accounting/resources/payment_methods/client.py index f1761ebf..6c2c4bcb 100644 --- a/src/merge/resources/accounting/resources/payment_methods/client.py +++ b/src/merge/resources/accounting/resources/payment_methods/client.py @@ -3,6 +3,7 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.paginated_payment_method_list import PaginatedPaymentMethodList from ...types.payment_method import PaymentMethod @@ -33,7 +34,7 @@ def list( include_shell_data: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedPaymentMethodList: + ) -> SyncPager[PaymentMethod, PaginatedPaymentMethodList]: """ Returns a list of `PaymentMethod` objects. @@ -59,7 +60,7 @@ def list( Returns ------- - PaginatedPaymentMethodList + SyncPager[PaymentMethod, PaginatedPaymentMethodList] Examples @@ -70,15 +71,16 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.payment_methods.list( + response = client.accounting.payment_methods.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - page_size=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -86,7 +88,6 @@ def list( page_size=page_size, request_options=request_options, ) - return _response.data def retrieve( self, @@ -127,8 +128,6 @@ def retrieve( ) client.accounting.payment_methods.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) """ _response = self._raw_client.retrieve( @@ -164,7 +163,7 @@ async def list( include_shell_data: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedPaymentMethodList: + ) -> AsyncPager[PaymentMethod, PaginatedPaymentMethodList]: """ Returns a list of `PaymentMethod` objects. @@ -190,7 +189,7 @@ async def list( Returns ------- - PaginatedPaymentMethodList + AsyncPager[PaymentMethod, PaginatedPaymentMethodList] Examples @@ -206,18 +205,20 @@ async def list( async def main() -> None: - await client.accounting.payment_methods.list( + response = await client.accounting.payment_methods.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - page_size=1, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -225,7 +226,6 @@ async def main() -> None: page_size=page_size, request_options=request_options, ) - return _response.data async def retrieve( self, @@ -271,8 +271,6 @@ async def retrieve( async def main() -> None: await client.accounting.payment_methods.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) diff --git a/src/merge/resources/accounting/resources/payment_methods/raw_client.py b/src/merge/resources/accounting/resources/payment_methods/raw_client.py index 78256eba..4e632c67 100644 --- a/src/merge/resources/accounting/resources/payment_methods/raw_client.py +++ b/src/merge/resources/accounting/resources/payment_methods/raw_client.py @@ -7,6 +7,7 @@ from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.paginated_payment_method_list import PaginatedPaymentMethodList @@ -26,7 +27,7 @@ def list( include_shell_data: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedPaymentMethodList]: + ) -> SyncPager[PaymentMethod, PaginatedPaymentMethodList]: """ Returns a list of `PaymentMethod` objects. @@ -52,7 +53,7 @@ def list( Returns ------- - HttpResponse[PaginatedPaymentMethodList] + SyncPager[PaymentMethod, PaginatedPaymentMethodList] """ _response = self._client_wrapper.httpx_client.request( @@ -69,14 +70,25 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedPaymentMethodList, construct_type( type_=PaginatedPaymentMethodList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + page_size=page_size, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -149,7 +161,7 @@ async def list( include_shell_data: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedPaymentMethodList]: + ) -> AsyncPager[PaymentMethod, PaginatedPaymentMethodList]: """ Returns a list of `PaymentMethod` objects. @@ -175,7 +187,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedPaymentMethodList] + AsyncPager[PaymentMethod, PaginatedPaymentMethodList] """ _response = await self._client_wrapper.httpx_client.request( @@ -192,14 +204,28 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedPaymentMethodList, construct_type( type_=PaginatedPaymentMethodList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/accounting/resources/payment_terms/__init__.py b/src/merge/resources/accounting/resources/payment_terms/__init__.py index 5cde0202..dcd5199d 100644 --- a/src/merge/resources/accounting/resources/payment_terms/__init__.py +++ b/src/merge/resources/accounting/resources/payment_terms/__init__.py @@ -2,3 +2,36 @@ # isort: skip_file +import typing +from importlib import import_module + +if typing.TYPE_CHECKING: + from .types import PaymentTermsListRequestExpandItem, PaymentTermsRetrieveRequestExpandItem +_dynamic_imports: typing.Dict[str, str] = { + "PaymentTermsListRequestExpandItem": ".types", + "PaymentTermsRetrieveRequestExpandItem": ".types", +} + + +def __getattr__(attr_name: str) -> typing.Any: + module_name = _dynamic_imports.get(attr_name) + if module_name is None: + raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") + try: + module = import_module(module_name, __package__) + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) + except ImportError as e: + raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e + except AttributeError as e: + raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e + + +def __dir__(): + lazy_attrs = list(_dynamic_imports.keys()) + return sorted(lazy_attrs) + + +__all__ = ["PaymentTermsListRequestExpandItem", "PaymentTermsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/accounting/resources/payment_terms/client.py b/src/merge/resources/accounting/resources/payment_terms/client.py index 89107e4e..95ac7e7d 100644 --- a/src/merge/resources/accounting/resources/payment_terms/client.py +++ b/src/merge/resources/accounting/resources/payment_terms/client.py @@ -3,10 +3,13 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.paginated_payment_term_list import PaginatedPaymentTermList from ...types.payment_term import PaymentTerm from .raw_client import AsyncRawPaymentTermsClient, RawPaymentTermsClient +from .types.payment_terms_list_request_expand_item import PaymentTermsListRequestExpandItem +from .types.payment_terms_retrieve_request_expand_item import PaymentTermsRetrieveRequestExpandItem class PaymentTermsClient: @@ -28,13 +31,15 @@ def list( self, *, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[PaymentTermsListRequestExpandItem, typing.Sequence[PaymentTermsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedPaymentTermList: + ) -> SyncPager[PaymentTerm, PaginatedPaymentTermList]: """ Returns a list of `PaymentTerm` objects. @@ -43,7 +48,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[PaymentTermsListRequestExpandItem, typing.Sequence[PaymentTermsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -63,7 +68,7 @@ def list( Returns ------- - PaginatedPaymentTermList + SyncPager[PaymentTerm, PaginatedPaymentTermList] Examples @@ -74,15 +79,16 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.payment_terms.list( + response = client.accounting.payment_terms.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - page_size=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( cursor=cursor, expand=expand, include_deleted_data=include_deleted_data, @@ -91,13 +97,14 @@ def list( page_size=page_size, request_options=request_options, ) - return _response.data def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[PaymentTermsRetrieveRequestExpandItem, typing.Sequence[PaymentTermsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -109,7 +116,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[PaymentTermsRetrieveRequestExpandItem, typing.Sequence[PaymentTermsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -136,8 +143,6 @@ def retrieve( ) client.accounting.payment_terms.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) """ _response = self._raw_client.retrieve( @@ -169,13 +174,15 @@ async def list( self, *, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[PaymentTermsListRequestExpandItem, typing.Sequence[PaymentTermsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedPaymentTermList: + ) -> AsyncPager[PaymentTerm, PaginatedPaymentTermList]: """ Returns a list of `PaymentTerm` objects. @@ -184,7 +191,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[PaymentTermsListRequestExpandItem, typing.Sequence[PaymentTermsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -204,7 +211,7 @@ async def list( Returns ------- - PaginatedPaymentTermList + AsyncPager[PaymentTerm, PaginatedPaymentTermList] Examples @@ -220,18 +227,20 @@ async def list( async def main() -> None: - await client.accounting.payment_terms.list( + response = await client.accounting.payment_terms.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - page_size=1, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( cursor=cursor, expand=expand, include_deleted_data=include_deleted_data, @@ -240,13 +249,14 @@ async def main() -> None: page_size=page_size, request_options=request_options, ) - return _response.data async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[PaymentTermsRetrieveRequestExpandItem, typing.Sequence[PaymentTermsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -258,7 +268,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[PaymentTermsRetrieveRequestExpandItem, typing.Sequence[PaymentTermsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -290,8 +300,6 @@ async def retrieve( async def main() -> None: await client.accounting.payment_terms.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) diff --git a/src/merge/resources/accounting/resources/payment_terms/raw_client.py b/src/merge/resources/accounting/resources/payment_terms/raw_client.py index 17476644..80c43653 100644 --- a/src/merge/resources/accounting/resources/payment_terms/raw_client.py +++ b/src/merge/resources/accounting/resources/payment_terms/raw_client.py @@ -7,10 +7,13 @@ from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.paginated_payment_term_list import PaginatedPaymentTermList from ...types.payment_term import PaymentTerm +from .types.payment_terms_list_request_expand_item import PaymentTermsListRequestExpandItem +from .types.payment_terms_retrieve_request_expand_item import PaymentTermsRetrieveRequestExpandItem class RawPaymentTermsClient: @@ -21,13 +24,15 @@ def list( self, *, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[PaymentTermsListRequestExpandItem, typing.Sequence[PaymentTermsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedPaymentTermList]: + ) -> SyncPager[PaymentTerm, PaginatedPaymentTermList]: """ Returns a list of `PaymentTerm` objects. @@ -36,7 +41,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[PaymentTermsListRequestExpandItem, typing.Sequence[PaymentTermsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -56,7 +61,7 @@ def list( Returns ------- - HttpResponse[PaginatedPaymentTermList] + SyncPager[PaymentTerm, PaginatedPaymentTermList] """ _response = self._client_wrapper.httpx_client.request( @@ -74,14 +79,26 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedPaymentTermList, construct_type( type_=PaginatedPaymentTermList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + page_size=page_size, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -91,7 +108,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[PaymentTermsRetrieveRequestExpandItem, typing.Sequence[PaymentTermsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -103,7 +122,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[PaymentTermsRetrieveRequestExpandItem, typing.Sequence[PaymentTermsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -154,13 +173,15 @@ async def list( self, *, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[PaymentTermsListRequestExpandItem, typing.Sequence[PaymentTermsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedPaymentTermList]: + ) -> AsyncPager[PaymentTerm, PaginatedPaymentTermList]: """ Returns a list of `PaymentTerm` objects. @@ -169,7 +190,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[PaymentTermsListRequestExpandItem, typing.Sequence[PaymentTermsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -189,7 +210,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedPaymentTermList] + AsyncPager[PaymentTerm, PaginatedPaymentTermList] """ _response = await self._client_wrapper.httpx_client.request( @@ -207,14 +228,29 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedPaymentTermList, construct_type( type_=PaginatedPaymentTermList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -224,7 +260,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[PaymentTermsRetrieveRequestExpandItem, typing.Sequence[PaymentTermsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -236,7 +274,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[PaymentTermsRetrieveRequestExpandItem, typing.Sequence[PaymentTermsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/accounting/resources/payment_terms/types/__init__.py b/src/merge/resources/accounting/resources/payment_terms/types/__init__.py new file mode 100644 index 00000000..e9f41462 --- /dev/null +++ b/src/merge/resources/accounting/resources/payment_terms/types/__init__.py @@ -0,0 +1,38 @@ +# This file was auto-generated by Fern from our API Definition. + +# isort: skip_file + +import typing +from importlib import import_module + +if typing.TYPE_CHECKING: + from .payment_terms_list_request_expand_item import PaymentTermsListRequestExpandItem + from .payment_terms_retrieve_request_expand_item import PaymentTermsRetrieveRequestExpandItem +_dynamic_imports: typing.Dict[str, str] = { + "PaymentTermsListRequestExpandItem": ".payment_terms_list_request_expand_item", + "PaymentTermsRetrieveRequestExpandItem": ".payment_terms_retrieve_request_expand_item", +} + + +def __getattr__(attr_name: str) -> typing.Any: + module_name = _dynamic_imports.get(attr_name) + if module_name is None: + raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") + try: + module = import_module(module_name, __package__) + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) + except ImportError as e: + raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e + except AttributeError as e: + raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e + + +def __dir__(): + lazy_attrs = list(_dynamic_imports.keys()) + return sorted(lazy_attrs) + + +__all__ = ["PaymentTermsListRequestExpandItem", "PaymentTermsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/accounting/resources/payment_terms/types/payment_terms_list_request_expand_item.py b/src/merge/resources/accounting/resources/payment_terms/types/payment_terms_list_request_expand_item.py new file mode 100644 index 00000000..154e0f6a --- /dev/null +++ b/src/merge/resources/accounting/resources/payment_terms/types/payment_terms_list_request_expand_item.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class PaymentTermsListRequestExpandItem(str, enum.Enum): + COMPANY = "company" + + def visit(self, company: typing.Callable[[], T_Result]) -> T_Result: + if self is PaymentTermsListRequestExpandItem.COMPANY: + return company() diff --git a/src/merge/resources/accounting/resources/payment_terms/types/payment_terms_retrieve_request_expand_item.py b/src/merge/resources/accounting/resources/payment_terms/types/payment_terms_retrieve_request_expand_item.py new file mode 100644 index 00000000..9a01253c --- /dev/null +++ b/src/merge/resources/accounting/resources/payment_terms/types/payment_terms_retrieve_request_expand_item.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class PaymentTermsRetrieveRequestExpandItem(str, enum.Enum): + COMPANY = "company" + + def visit(self, company: typing.Callable[[], T_Result]) -> T_Result: + if self is PaymentTermsRetrieveRequestExpandItem.COMPANY: + return company() diff --git a/src/merge/resources/accounting/resources/payments/__init__.py b/src/merge/resources/accounting/resources/payments/__init__.py index 684c991d..281e5e2d 100644 --- a/src/merge/resources/accounting/resources/payments/__init__.py +++ b/src/merge/resources/accounting/resources/payments/__init__.py @@ -6,10 +6,10 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .types import PaymentsListRequestExpand, PaymentsRetrieveRequestExpand + from .types import PaymentsListRequestExpandItem, PaymentsRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "PaymentsListRequestExpand": ".types", - "PaymentsRetrieveRequestExpand": ".types", + "PaymentsListRequestExpandItem": ".types", + "PaymentsRetrieveRequestExpandItem": ".types", } @@ -19,8 +19,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -32,4 +34,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["PaymentsListRequestExpand", "PaymentsRetrieveRequestExpand"] +__all__ = ["PaymentsListRequestExpandItem", "PaymentsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/accounting/resources/payments/client.py b/src/merge/resources/accounting/resources/payments/client.py index a6cae803..e7999f5b 100644 --- a/src/merge/resources/accounting/resources/payments/client.py +++ b/src/merge/resources/accounting/resources/payments/client.py @@ -4,6 +4,7 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.meta_response import MetaResponse from ...types.paginated_payment_list import PaginatedPaymentList @@ -12,9 +13,10 @@ from ...types.payment import Payment from ...types.payment_request import PaymentRequest from ...types.payment_response import PaymentResponse +from ...types.remote_field_class import RemoteFieldClass from .raw_client import AsyncRawPaymentsClient, RawPaymentsClient -from .types.payments_list_request_expand import PaymentsListRequestExpand -from .types.payments_retrieve_request_expand import PaymentsRetrieveRequestExpand +from .types.payments_list_request_expand_item import PaymentsListRequestExpandItem +from .types.payments_retrieve_request_expand_item import PaymentsRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -44,7 +46,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[PaymentsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[PaymentsListRequestExpandItem, typing.Sequence[PaymentsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -56,7 +60,7 @@ def list( transaction_date_after: typing.Optional[dt.datetime] = None, transaction_date_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedPaymentList: + ) -> SyncPager[Payment, PaginatedPaymentList]: """ Returns a list of `Payment` objects. @@ -80,7 +84,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[PaymentsListRequestExpand] + expand : typing.Optional[typing.Union[PaymentsListRequestExpandItem, typing.Sequence[PaymentsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -118,55 +122,27 @@ def list( Returns ------- - PaginatedPaymentList + SyncPager[Payment, PaginatedPaymentList] Examples -------- - import datetime - from merge import Merge - from merge.resources.accounting.resources.payments import ( - PaymentsListRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.payments.list( - account_id="account_id", - company_id="company_id", - contact_id="contact_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = client.accounting.payments.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=PaymentsListRequestExpand.ACCOUNT, - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", - transaction_date_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - transaction_date_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( account_id=account_id, company_id=company_id, contact_id=contact_id, @@ -186,7 +162,6 @@ def list( transaction_date_before=transaction_date_before, request_options=request_options, ) - return _response.data def create( self, @@ -227,8 +202,6 @@ def create( api_key="YOUR_API_KEY", ) client.accounting.payments.create( - is_debug_mode=True, - run_async=True, model=PaymentRequest(), ) """ @@ -241,7 +214,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[PaymentsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[PaymentsRetrieveRequestExpandItem, typing.Sequence[PaymentsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -254,7 +229,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[PaymentsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[PaymentsRetrieveRequestExpandItem, typing.Sequence[PaymentsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -277,9 +252,6 @@ def retrieve( Examples -------- from merge import Merge - from merge.resources.accounting.resources.payments import ( - PaymentsRetrieveRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -287,10 +259,6 @@ def retrieve( ) client.accounting.payments.retrieve( id="id", - expand=PaymentsRetrieveRequestExpand.ACCOUNT, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, ) """ _response = self._raw_client.retrieve( @@ -346,8 +314,6 @@ def partial_update( ) client.accounting.payments.partial_update( id="id", - is_debug_mode=True, - run_async=True, model=PatchedPaymentRequest(), ) """ @@ -367,7 +333,7 @@ def line_items_remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -399,7 +365,7 @@ def line_items_remote_field_classes_list( Returns ------- - PaginatedRemoteFieldClassList + SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] Examples @@ -410,17 +376,16 @@ def line_items_remote_field_classes_list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.payments.line_items_remote_field_classes_list( + response = client.accounting.payments.line_items_remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.line_items_remote_field_classes_list( + return self._raw_client.line_items_remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -430,7 +395,6 @@ def line_items_remote_field_classes_list( page_size=page_size, request_options=request_options, ) - return _response.data def meta_patch_retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ @@ -501,7 +465,7 @@ def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -533,7 +497,7 @@ def remote_field_classes_list( Returns ------- - PaginatedRemoteFieldClassList + SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] Examples @@ -544,17 +508,16 @@ def remote_field_classes_list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.payments.remote_field_classes_list( + response = client.accounting.payments.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.remote_field_classes_list( + return self._raw_client.remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -564,7 +527,6 @@ def remote_field_classes_list( page_size=page_size, request_options=request_options, ) - return _response.data class AsyncPaymentsClient: @@ -591,7 +553,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[PaymentsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[PaymentsListRequestExpandItem, typing.Sequence[PaymentsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -603,7 +567,7 @@ async def list( transaction_date_after: typing.Optional[dt.datetime] = None, transaction_date_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedPaymentList: + ) -> AsyncPager[Payment, PaginatedPaymentList]: """ Returns a list of `Payment` objects. @@ -627,7 +591,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[PaymentsListRequestExpand] + expand : typing.Optional[typing.Union[PaymentsListRequestExpandItem, typing.Sequence[PaymentsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -665,18 +629,14 @@ async def list( Returns ------- - PaginatedPaymentList + AsyncPager[Payment, PaginatedPaymentList] Examples -------- import asyncio - import datetime from merge import AsyncMerge - from merge.resources.accounting.resources.payments import ( - PaymentsListRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -685,42 +645,20 @@ async def list( async def main() -> None: - await client.accounting.payments.list( - account_id="account_id", - company_id="company_id", - contact_id="contact_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = await client.accounting.payments.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=PaymentsListRequestExpand.ACCOUNT, - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", - transaction_date_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - transaction_date_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( account_id=account_id, company_id=company_id, contact_id=contact_id, @@ -740,7 +678,6 @@ async def main() -> None: transaction_date_before=transaction_date_before, request_options=request_options, ) - return _response.data async def create( self, @@ -786,8 +723,6 @@ async def create( async def main() -> None: await client.accounting.payments.create( - is_debug_mode=True, - run_async=True, model=PaymentRequest(), ) @@ -803,7 +738,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[PaymentsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[PaymentsRetrieveRequestExpandItem, typing.Sequence[PaymentsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -816,7 +753,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[PaymentsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[PaymentsRetrieveRequestExpandItem, typing.Sequence[PaymentsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -841,9 +778,6 @@ async def retrieve( import asyncio from merge import AsyncMerge - from merge.resources.accounting.resources.payments import ( - PaymentsRetrieveRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -854,10 +788,6 @@ async def retrieve( async def main() -> None: await client.accounting.payments.retrieve( id="id", - expand=PaymentsRetrieveRequestExpand.ACCOUNT, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, ) @@ -921,8 +851,6 @@ async def partial_update( async def main() -> None: await client.accounting.payments.partial_update( id="id", - is_debug_mode=True, - run_async=True, model=PatchedPaymentRequest(), ) @@ -945,7 +873,7 @@ async def line_items_remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -977,7 +905,7 @@ async def line_items_remote_field_classes_list( Returns ------- - PaginatedRemoteFieldClassList + AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] Examples @@ -993,20 +921,22 @@ async def line_items_remote_field_classes_list( async def main() -> None: - await client.accounting.payments.line_items_remote_field_classes_list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, + response = ( + await client.accounting.payments.line_items_remote_field_classes_list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + ) ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.line_items_remote_field_classes_list( + return await self._raw_client.line_items_remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -1016,7 +946,6 @@ async def main() -> None: page_size=page_size, request_options=request_options, ) - return _response.data async def meta_patch_retrieve( self, id: str, *, request_options: typing.Optional[RequestOptions] = None @@ -1105,7 +1034,7 @@ async def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -1137,7 +1066,7 @@ async def remote_field_classes_list( Returns ------- - PaginatedRemoteFieldClassList + AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] Examples @@ -1153,20 +1082,20 @@ async def remote_field_classes_list( async def main() -> None: - await client.accounting.payments.remote_field_classes_list( + response = await client.accounting.payments.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.remote_field_classes_list( + return await self._raw_client.remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -1176,4 +1105,3 @@ async def main() -> None: page_size=page_size, request_options=request_options, ) - return _response.data diff --git a/src/merge/resources/accounting/resources/payments/raw_client.py b/src/merge/resources/accounting/resources/payments/raw_client.py index 590f6502..54e403b3 100644 --- a/src/merge/resources/accounting/resources/payments/raw_client.py +++ b/src/merge/resources/accounting/resources/payments/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.meta_response import MetaResponse @@ -18,8 +19,9 @@ from ...types.payment import Payment from ...types.payment_request import PaymentRequest from ...types.payment_response import PaymentResponse -from .types.payments_list_request_expand import PaymentsListRequestExpand -from .types.payments_retrieve_request_expand import PaymentsRetrieveRequestExpand +from ...types.remote_field_class import RemoteFieldClass +from .types.payments_list_request_expand_item import PaymentsListRequestExpandItem +from .types.payments_retrieve_request_expand_item import PaymentsRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -38,7 +40,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[PaymentsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[PaymentsListRequestExpandItem, typing.Sequence[PaymentsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -50,7 +54,7 @@ def list( transaction_date_after: typing.Optional[dt.datetime] = None, transaction_date_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedPaymentList]: + ) -> SyncPager[Payment, PaginatedPaymentList]: """ Returns a list of `Payment` objects. @@ -74,7 +78,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[PaymentsListRequestExpand] + expand : typing.Optional[typing.Union[PaymentsListRequestExpandItem, typing.Sequence[PaymentsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -112,7 +116,7 @@ def list( Returns ------- - HttpResponse[PaginatedPaymentList] + SyncPager[Payment, PaginatedPaymentList] """ _response = self._client_wrapper.httpx_client.request( @@ -145,14 +149,37 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedPaymentList, construct_type( type_=PaginatedPaymentList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + account_id=account_id, + company_id=company_id, + contact_id=contact_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + transaction_date_after=transaction_date_after, + transaction_date_before=transaction_date_before, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -222,7 +249,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[PaymentsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[PaymentsRetrieveRequestExpandItem, typing.Sequence[PaymentsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -235,7 +264,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[PaymentsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[PaymentsRetrieveRequestExpandItem, typing.Sequence[PaymentsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -355,7 +384,7 @@ def line_items_remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedRemoteFieldClassList]: + ) -> SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -387,7 +416,7 @@ def line_items_remote_field_classes_list( Returns ------- - HttpResponse[PaginatedRemoteFieldClassList] + SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] """ _response = self._client_wrapper.httpx_client.request( @@ -406,14 +435,27 @@ def line_items_remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.line_items_remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -504,7 +546,7 @@ def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedRemoteFieldClassList]: + ) -> SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -536,7 +578,7 @@ def remote_field_classes_list( Returns ------- - HttpResponse[PaginatedRemoteFieldClassList] + SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] """ _response = self._client_wrapper.httpx_client.request( @@ -555,14 +597,27 @@ def remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -582,7 +637,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[PaymentsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[PaymentsListRequestExpandItem, typing.Sequence[PaymentsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -594,7 +651,7 @@ async def list( transaction_date_after: typing.Optional[dt.datetime] = None, transaction_date_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedPaymentList]: + ) -> AsyncPager[Payment, PaginatedPaymentList]: """ Returns a list of `Payment` objects. @@ -618,7 +675,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[PaymentsListRequestExpand] + expand : typing.Optional[typing.Union[PaymentsListRequestExpandItem, typing.Sequence[PaymentsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -656,7 +713,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedPaymentList] + AsyncPager[Payment, PaginatedPaymentList] """ _response = await self._client_wrapper.httpx_client.request( @@ -689,14 +746,40 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedPaymentList, construct_type( type_=PaginatedPaymentList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + account_id=account_id, + company_id=company_id, + contact_id=contact_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + transaction_date_after=transaction_date_after, + transaction_date_before=transaction_date_before, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -766,7 +849,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[PaymentsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[PaymentsRetrieveRequestExpandItem, typing.Sequence[PaymentsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -779,7 +864,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[PaymentsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[PaymentsRetrieveRequestExpandItem, typing.Sequence[PaymentsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -899,7 +984,7 @@ async def line_items_remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedRemoteFieldClassList]: + ) -> AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -931,7 +1016,7 @@ async def line_items_remote_field_classes_list( Returns ------- - AsyncHttpResponse[PaginatedRemoteFieldClassList] + AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] """ _response = await self._client_wrapper.httpx_client.request( @@ -950,14 +1035,30 @@ async def line_items_remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.line_items_remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -1048,7 +1149,7 @@ async def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedRemoteFieldClassList]: + ) -> AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -1080,7 +1181,7 @@ async def remote_field_classes_list( Returns ------- - AsyncHttpResponse[PaginatedRemoteFieldClassList] + AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] """ _response = await self._client_wrapper.httpx_client.request( @@ -1099,14 +1200,30 @@ async def remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/accounting/resources/payments/types/__init__.py b/src/merge/resources/accounting/resources/payments/types/__init__.py index f0d810e9..f0fb47a2 100644 --- a/src/merge/resources/accounting/resources/payments/types/__init__.py +++ b/src/merge/resources/accounting/resources/payments/types/__init__.py @@ -6,11 +6,11 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .payments_list_request_expand import PaymentsListRequestExpand - from .payments_retrieve_request_expand import PaymentsRetrieveRequestExpand + from .payments_list_request_expand_item import PaymentsListRequestExpandItem + from .payments_retrieve_request_expand_item import PaymentsRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "PaymentsListRequestExpand": ".payments_list_request_expand", - "PaymentsRetrieveRequestExpand": ".payments_retrieve_request_expand", + "PaymentsListRequestExpandItem": ".payments_list_request_expand_item", + "PaymentsRetrieveRequestExpandItem": ".payments_retrieve_request_expand_item", } @@ -20,8 +20,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -33,4 +35,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["PaymentsListRequestExpand", "PaymentsRetrieveRequestExpand"] +__all__ = ["PaymentsListRequestExpandItem", "PaymentsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/accounting/resources/payments/types/payments_list_request_expand.py b/src/merge/resources/accounting/resources/payments/types/payments_list_request_expand.py deleted file mode 100644 index f22783c7..00000000 --- a/src/merge/resources/accounting/resources/payments/types/payments_list_request_expand.py +++ /dev/null @@ -1,641 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class PaymentsListRequestExpand(str, enum.Enum): - ACCOUNT = "account" - ACCOUNT_ACCOUNTING_PERIOD = "account,accounting_period" - ACCOUNT_ACCOUNTING_PERIOD_PAYMENT_METHOD = "account,accounting_period,payment_method" - ACCOUNT_COMPANY = "account,company" - ACCOUNT_COMPANY_ACCOUNTING_PERIOD = "account,company,accounting_period" - ACCOUNT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD = "account,company,accounting_period,payment_method" - ACCOUNT_COMPANY_PAYMENT_METHOD = "account,company,payment_method" - ACCOUNT_PAYMENT_METHOD = "account,payment_method" - ACCOUNTING_PERIOD = "accounting_period" - ACCOUNTING_PERIOD_PAYMENT_METHOD = "accounting_period,payment_method" - APPLIED_TO_LINES = "applied_to_lines" - APPLIED_TO_LINES_ACCOUNT = "applied_to_lines,account" - APPLIED_TO_LINES_ACCOUNT_ACCOUNTING_PERIOD = "applied_to_lines,account,accounting_period" - APPLIED_TO_LINES_ACCOUNT_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "applied_to_lines,account,accounting_period,payment_method" - ) - APPLIED_TO_LINES_ACCOUNT_COMPANY = "applied_to_lines,account,company" - APPLIED_TO_LINES_ACCOUNT_COMPANY_ACCOUNTING_PERIOD = "applied_to_lines,account,company,accounting_period" - APPLIED_TO_LINES_ACCOUNT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "applied_to_lines,account,company,accounting_period,payment_method" - ) - APPLIED_TO_LINES_ACCOUNT_COMPANY_PAYMENT_METHOD = "applied_to_lines,account,company,payment_method" - APPLIED_TO_LINES_ACCOUNT_PAYMENT_METHOD = "applied_to_lines,account,payment_method" - APPLIED_TO_LINES_ACCOUNTING_PERIOD = "applied_to_lines,accounting_period" - APPLIED_TO_LINES_ACCOUNTING_PERIOD_PAYMENT_METHOD = "applied_to_lines,accounting_period,payment_method" - APPLIED_TO_LINES_COMPANY = "applied_to_lines,company" - APPLIED_TO_LINES_COMPANY_ACCOUNTING_PERIOD = "applied_to_lines,company,accounting_period" - APPLIED_TO_LINES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "applied_to_lines,company,accounting_period,payment_method" - ) - APPLIED_TO_LINES_COMPANY_PAYMENT_METHOD = "applied_to_lines,company,payment_method" - APPLIED_TO_LINES_CONTACT = "applied_to_lines,contact" - APPLIED_TO_LINES_CONTACT_ACCOUNT = "applied_to_lines,contact,account" - APPLIED_TO_LINES_CONTACT_ACCOUNT_ACCOUNTING_PERIOD = "applied_to_lines,contact,account,accounting_period" - APPLIED_TO_LINES_CONTACT_ACCOUNT_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "applied_to_lines,contact,account,accounting_period,payment_method" - ) - APPLIED_TO_LINES_CONTACT_ACCOUNT_COMPANY = "applied_to_lines,contact,account,company" - APPLIED_TO_LINES_CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_to_lines,contact,account,company,accounting_period" - ) - APPLIED_TO_LINES_CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "applied_to_lines,contact,account,company,accounting_period,payment_method" - ) - APPLIED_TO_LINES_CONTACT_ACCOUNT_COMPANY_PAYMENT_METHOD = "applied_to_lines,contact,account,company,payment_method" - APPLIED_TO_LINES_CONTACT_ACCOUNT_PAYMENT_METHOD = "applied_to_lines,contact,account,payment_method" - APPLIED_TO_LINES_CONTACT_ACCOUNTING_PERIOD = "applied_to_lines,contact,accounting_period" - APPLIED_TO_LINES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "applied_to_lines,contact,accounting_period,payment_method" - ) - APPLIED_TO_LINES_CONTACT_COMPANY = "applied_to_lines,contact,company" - APPLIED_TO_LINES_CONTACT_COMPANY_ACCOUNTING_PERIOD = "applied_to_lines,contact,company,accounting_period" - APPLIED_TO_LINES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "applied_to_lines,contact,company,accounting_period,payment_method" - ) - APPLIED_TO_LINES_CONTACT_COMPANY_PAYMENT_METHOD = "applied_to_lines,contact,company,payment_method" - APPLIED_TO_LINES_CONTACT_PAYMENT_METHOD = "applied_to_lines,contact,payment_method" - APPLIED_TO_LINES_PAYMENT_METHOD = "applied_to_lines,payment_method" - COMPANY = "company" - COMPANY_ACCOUNTING_PERIOD = "company,accounting_period" - COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD = "company,accounting_period,payment_method" - COMPANY_PAYMENT_METHOD = "company,payment_method" - CONTACT = "contact" - CONTACT_ACCOUNT = "contact,account" - CONTACT_ACCOUNT_ACCOUNTING_PERIOD = "contact,account,accounting_period" - CONTACT_ACCOUNT_ACCOUNTING_PERIOD_PAYMENT_METHOD = "contact,account,accounting_period,payment_method" - CONTACT_ACCOUNT_COMPANY = "contact,account,company" - CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD = "contact,account,company,accounting_period" - CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "contact,account,company,accounting_period,payment_method" - ) - CONTACT_ACCOUNT_COMPANY_PAYMENT_METHOD = "contact,account,company,payment_method" - CONTACT_ACCOUNT_PAYMENT_METHOD = "contact,account,payment_method" - CONTACT_ACCOUNTING_PERIOD = "contact,accounting_period" - CONTACT_ACCOUNTING_PERIOD_PAYMENT_METHOD = "contact,accounting_period,payment_method" - CONTACT_COMPANY = "contact,company" - CONTACT_COMPANY_ACCOUNTING_PERIOD = "contact,company,accounting_period" - CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD = "contact,company,accounting_period,payment_method" - CONTACT_COMPANY_PAYMENT_METHOD = "contact,company,payment_method" - CONTACT_PAYMENT_METHOD = "contact,payment_method" - PAYMENT_METHOD = "payment_method" - TRACKING_CATEGORIES = "tracking_categories" - TRACKING_CATEGORIES_ACCOUNT = "tracking_categories,account" - TRACKING_CATEGORIES_ACCOUNT_ACCOUNTING_PERIOD = "tracking_categories,account,accounting_period" - TRACKING_CATEGORIES_ACCOUNT_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "tracking_categories,account,accounting_period,payment_method" - ) - TRACKING_CATEGORIES_ACCOUNT_COMPANY = "tracking_categories,account,company" - TRACKING_CATEGORIES_ACCOUNT_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,account,company,accounting_period" - TRACKING_CATEGORIES_ACCOUNT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "tracking_categories,account,company,accounting_period,payment_method" - ) - TRACKING_CATEGORIES_ACCOUNT_COMPANY_PAYMENT_METHOD = "tracking_categories,account,company,payment_method" - TRACKING_CATEGORIES_ACCOUNT_PAYMENT_METHOD = "tracking_categories,account,payment_method" - TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "tracking_categories,accounting_period" - TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_METHOD = "tracking_categories,accounting_period,payment_method" - TRACKING_CATEGORIES_APPLIED_TO_LINES = "tracking_categories,applied_to_lines" - TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNT = "tracking_categories,applied_to_lines,account" - TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNT_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_to_lines,account,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNT_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "tracking_categories,applied_to_lines,account,accounting_period,payment_method" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNT_COMPANY = "tracking_categories,applied_to_lines,account,company" - TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNT_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_to_lines,account,company,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "tracking_categories,applied_to_lines,account,company,accounting_period,payment_method" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNT_COMPANY_PAYMENT_METHOD = ( - "tracking_categories,applied_to_lines,account,company,payment_method" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNT_PAYMENT_METHOD = ( - "tracking_categories,applied_to_lines,account,payment_method" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNTING_PERIOD = "tracking_categories,applied_to_lines,accounting_period" - TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "tracking_categories,applied_to_lines,accounting_period,payment_method" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_COMPANY = "tracking_categories,applied_to_lines,company" - TRACKING_CATEGORIES_APPLIED_TO_LINES_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_to_lines,company,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "tracking_categories,applied_to_lines,company,accounting_period,payment_method" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_COMPANY_PAYMENT_METHOD = ( - "tracking_categories,applied_to_lines,company,payment_method" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT = "tracking_categories,applied_to_lines,contact" - TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNT = "tracking_categories,applied_to_lines,contact,account" - TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNT_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_to_lines,contact,account,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNT_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "tracking_categories,applied_to_lines,contact,account,accounting_period,payment_method" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNT_COMPANY = ( - "tracking_categories,applied_to_lines,contact,account,company" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_to_lines,contact,account,company,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "tracking_categories,applied_to_lines,contact,account,company,accounting_period,payment_method" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNT_COMPANY_PAYMENT_METHOD = ( - "tracking_categories,applied_to_lines,contact,account,company,payment_method" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNT_PAYMENT_METHOD = ( - "tracking_categories,applied_to_lines,contact,account,payment_method" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_to_lines,contact,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "tracking_categories,applied_to_lines,contact,accounting_period,payment_method" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_COMPANY = "tracking_categories,applied_to_lines,contact,company" - TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_to_lines,contact,company,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "tracking_categories,applied_to_lines,contact,company,accounting_period,payment_method" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_COMPANY_PAYMENT_METHOD = ( - "tracking_categories,applied_to_lines,contact,company,payment_method" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_PAYMENT_METHOD = ( - "tracking_categories,applied_to_lines,contact,payment_method" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_PAYMENT_METHOD = "tracking_categories,applied_to_lines,payment_method" - TRACKING_CATEGORIES_COMPANY = "tracking_categories,company" - TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,company,accounting_period" - TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "tracking_categories,company,accounting_period,payment_method" - ) - TRACKING_CATEGORIES_COMPANY_PAYMENT_METHOD = "tracking_categories,company,payment_method" - TRACKING_CATEGORIES_CONTACT = "tracking_categories,contact" - TRACKING_CATEGORIES_CONTACT_ACCOUNT = "tracking_categories,contact,account" - TRACKING_CATEGORIES_CONTACT_ACCOUNT_ACCOUNTING_PERIOD = "tracking_categories,contact,account,accounting_period" - TRACKING_CATEGORIES_CONTACT_ACCOUNT_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "tracking_categories,contact,account,accounting_period,payment_method" - ) - TRACKING_CATEGORIES_CONTACT_ACCOUNT_COMPANY = "tracking_categories,contact,account,company" - TRACKING_CATEGORIES_CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,contact,account,company,accounting_period" - ) - TRACKING_CATEGORIES_CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "tracking_categories,contact,account,company,accounting_period,payment_method" - ) - TRACKING_CATEGORIES_CONTACT_ACCOUNT_COMPANY_PAYMENT_METHOD = ( - "tracking_categories,contact,account,company,payment_method" - ) - TRACKING_CATEGORIES_CONTACT_ACCOUNT_PAYMENT_METHOD = "tracking_categories,contact,account,payment_method" - TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = "tracking_categories,contact,accounting_period" - TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "tracking_categories,contact,accounting_period,payment_method" - ) - TRACKING_CATEGORIES_CONTACT_COMPANY = "tracking_categories,contact,company" - TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,contact,company,accounting_period" - TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "tracking_categories,contact,company,accounting_period,payment_method" - ) - TRACKING_CATEGORIES_CONTACT_COMPANY_PAYMENT_METHOD = "tracking_categories,contact,company,payment_method" - TRACKING_CATEGORIES_CONTACT_PAYMENT_METHOD = "tracking_categories,contact,payment_method" - TRACKING_CATEGORIES_PAYMENT_METHOD = "tracking_categories,payment_method" - - def visit( - self, - account: typing.Callable[[], T_Result], - account_accounting_period: typing.Callable[[], T_Result], - account_accounting_period_payment_method: typing.Callable[[], T_Result], - account_company: typing.Callable[[], T_Result], - account_company_accounting_period: typing.Callable[[], T_Result], - account_company_accounting_period_payment_method: typing.Callable[[], T_Result], - account_company_payment_method: typing.Callable[[], T_Result], - account_payment_method: typing.Callable[[], T_Result], - accounting_period: typing.Callable[[], T_Result], - accounting_period_payment_method: typing.Callable[[], T_Result], - applied_to_lines: typing.Callable[[], T_Result], - applied_to_lines_account: typing.Callable[[], T_Result], - applied_to_lines_account_accounting_period: typing.Callable[[], T_Result], - applied_to_lines_account_accounting_period_payment_method: typing.Callable[[], T_Result], - applied_to_lines_account_company: typing.Callable[[], T_Result], - applied_to_lines_account_company_accounting_period: typing.Callable[[], T_Result], - applied_to_lines_account_company_accounting_period_payment_method: typing.Callable[[], T_Result], - applied_to_lines_account_company_payment_method: typing.Callable[[], T_Result], - applied_to_lines_account_payment_method: typing.Callable[[], T_Result], - applied_to_lines_accounting_period: typing.Callable[[], T_Result], - applied_to_lines_accounting_period_payment_method: typing.Callable[[], T_Result], - applied_to_lines_company: typing.Callable[[], T_Result], - applied_to_lines_company_accounting_period: typing.Callable[[], T_Result], - applied_to_lines_company_accounting_period_payment_method: typing.Callable[[], T_Result], - applied_to_lines_company_payment_method: typing.Callable[[], T_Result], - applied_to_lines_contact: typing.Callable[[], T_Result], - applied_to_lines_contact_account: typing.Callable[[], T_Result], - applied_to_lines_contact_account_accounting_period: typing.Callable[[], T_Result], - applied_to_lines_contact_account_accounting_period_payment_method: typing.Callable[[], T_Result], - applied_to_lines_contact_account_company: typing.Callable[[], T_Result], - applied_to_lines_contact_account_company_accounting_period: typing.Callable[[], T_Result], - applied_to_lines_contact_account_company_accounting_period_payment_method: typing.Callable[[], T_Result], - applied_to_lines_contact_account_company_payment_method: typing.Callable[[], T_Result], - applied_to_lines_contact_account_payment_method: typing.Callable[[], T_Result], - applied_to_lines_contact_accounting_period: typing.Callable[[], T_Result], - applied_to_lines_contact_accounting_period_payment_method: typing.Callable[[], T_Result], - applied_to_lines_contact_company: typing.Callable[[], T_Result], - applied_to_lines_contact_company_accounting_period: typing.Callable[[], T_Result], - applied_to_lines_contact_company_accounting_period_payment_method: typing.Callable[[], T_Result], - applied_to_lines_contact_company_payment_method: typing.Callable[[], T_Result], - applied_to_lines_contact_payment_method: typing.Callable[[], T_Result], - applied_to_lines_payment_method: typing.Callable[[], T_Result], - company: typing.Callable[[], T_Result], - company_accounting_period: typing.Callable[[], T_Result], - company_accounting_period_payment_method: typing.Callable[[], T_Result], - company_payment_method: typing.Callable[[], T_Result], - contact: typing.Callable[[], T_Result], - contact_account: typing.Callable[[], T_Result], - contact_account_accounting_period: typing.Callable[[], T_Result], - contact_account_accounting_period_payment_method: typing.Callable[[], T_Result], - contact_account_company: typing.Callable[[], T_Result], - contact_account_company_accounting_period: typing.Callable[[], T_Result], - contact_account_company_accounting_period_payment_method: typing.Callable[[], T_Result], - contact_account_company_payment_method: typing.Callable[[], T_Result], - contact_account_payment_method: typing.Callable[[], T_Result], - contact_accounting_period: typing.Callable[[], T_Result], - contact_accounting_period_payment_method: typing.Callable[[], T_Result], - contact_company: typing.Callable[[], T_Result], - contact_company_accounting_period: typing.Callable[[], T_Result], - contact_company_accounting_period_payment_method: typing.Callable[[], T_Result], - contact_company_payment_method: typing.Callable[[], T_Result], - contact_payment_method: typing.Callable[[], T_Result], - payment_method: typing.Callable[[], T_Result], - tracking_categories: typing.Callable[[], T_Result], - tracking_categories_account: typing.Callable[[], T_Result], - tracking_categories_account_accounting_period: typing.Callable[[], T_Result], - tracking_categories_account_accounting_period_payment_method: typing.Callable[[], T_Result], - tracking_categories_account_company: typing.Callable[[], T_Result], - tracking_categories_account_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_account_company_accounting_period_payment_method: typing.Callable[[], T_Result], - tracking_categories_account_company_payment_method: typing.Callable[[], T_Result], - tracking_categories_account_payment_method: typing.Callable[[], T_Result], - tracking_categories_accounting_period: typing.Callable[[], T_Result], - tracking_categories_accounting_period_payment_method: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_account: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_account_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_account_accounting_period_payment_method: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_account_company: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_account_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_account_company_accounting_period_payment_method: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_to_lines_account_company_payment_method: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_account_payment_method: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_accounting_period_payment_method: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_company: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_company_accounting_period_payment_method: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_company_payment_method: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_contact: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_contact_account: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_contact_account_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_contact_account_accounting_period_payment_method: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_to_lines_contact_account_company: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_contact_account_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_contact_account_company_accounting_period_payment_method: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_to_lines_contact_account_company_payment_method: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_contact_account_payment_method: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_contact_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_contact_accounting_period_payment_method: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_contact_company: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_contact_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_contact_company_accounting_period_payment_method: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_to_lines_contact_company_payment_method: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_contact_payment_method: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_payment_method: typing.Callable[[], T_Result], - tracking_categories_company: typing.Callable[[], T_Result], - tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_company_accounting_period_payment_method: typing.Callable[[], T_Result], - tracking_categories_company_payment_method: typing.Callable[[], T_Result], - tracking_categories_contact: typing.Callable[[], T_Result], - tracking_categories_contact_account: typing.Callable[[], T_Result], - tracking_categories_contact_account_accounting_period: typing.Callable[[], T_Result], - tracking_categories_contact_account_accounting_period_payment_method: typing.Callable[[], T_Result], - tracking_categories_contact_account_company: typing.Callable[[], T_Result], - tracking_categories_contact_account_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_contact_account_company_accounting_period_payment_method: typing.Callable[[], T_Result], - tracking_categories_contact_account_company_payment_method: typing.Callable[[], T_Result], - tracking_categories_contact_account_payment_method: typing.Callable[[], T_Result], - tracking_categories_contact_accounting_period: typing.Callable[[], T_Result], - tracking_categories_contact_accounting_period_payment_method: typing.Callable[[], T_Result], - tracking_categories_contact_company: typing.Callable[[], T_Result], - tracking_categories_contact_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_contact_company_accounting_period_payment_method: typing.Callable[[], T_Result], - tracking_categories_contact_company_payment_method: typing.Callable[[], T_Result], - tracking_categories_contact_payment_method: typing.Callable[[], T_Result], - tracking_categories_payment_method: typing.Callable[[], T_Result], - ) -> T_Result: - if self is PaymentsListRequestExpand.ACCOUNT: - return account() - if self is PaymentsListRequestExpand.ACCOUNT_ACCOUNTING_PERIOD: - return account_accounting_period() - if self is PaymentsListRequestExpand.ACCOUNT_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return account_accounting_period_payment_method() - if self is PaymentsListRequestExpand.ACCOUNT_COMPANY: - return account_company() - if self is PaymentsListRequestExpand.ACCOUNT_COMPANY_ACCOUNTING_PERIOD: - return account_company_accounting_period() - if self is PaymentsListRequestExpand.ACCOUNT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return account_company_accounting_period_payment_method() - if self is PaymentsListRequestExpand.ACCOUNT_COMPANY_PAYMENT_METHOD: - return account_company_payment_method() - if self is PaymentsListRequestExpand.ACCOUNT_PAYMENT_METHOD: - return account_payment_method() - if self is PaymentsListRequestExpand.ACCOUNTING_PERIOD: - return accounting_period() - if self is PaymentsListRequestExpand.ACCOUNTING_PERIOD_PAYMENT_METHOD: - return accounting_period_payment_method() - if self is PaymentsListRequestExpand.APPLIED_TO_LINES: - return applied_to_lines() - if self is PaymentsListRequestExpand.APPLIED_TO_LINES_ACCOUNT: - return applied_to_lines_account() - if self is PaymentsListRequestExpand.APPLIED_TO_LINES_ACCOUNT_ACCOUNTING_PERIOD: - return applied_to_lines_account_accounting_period() - if self is PaymentsListRequestExpand.APPLIED_TO_LINES_ACCOUNT_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return applied_to_lines_account_accounting_period_payment_method() - if self is PaymentsListRequestExpand.APPLIED_TO_LINES_ACCOUNT_COMPANY: - return applied_to_lines_account_company() - if self is PaymentsListRequestExpand.APPLIED_TO_LINES_ACCOUNT_COMPANY_ACCOUNTING_PERIOD: - return applied_to_lines_account_company_accounting_period() - if self is PaymentsListRequestExpand.APPLIED_TO_LINES_ACCOUNT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return applied_to_lines_account_company_accounting_period_payment_method() - if self is PaymentsListRequestExpand.APPLIED_TO_LINES_ACCOUNT_COMPANY_PAYMENT_METHOD: - return applied_to_lines_account_company_payment_method() - if self is PaymentsListRequestExpand.APPLIED_TO_LINES_ACCOUNT_PAYMENT_METHOD: - return applied_to_lines_account_payment_method() - if self is PaymentsListRequestExpand.APPLIED_TO_LINES_ACCOUNTING_PERIOD: - return applied_to_lines_accounting_period() - if self is PaymentsListRequestExpand.APPLIED_TO_LINES_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return applied_to_lines_accounting_period_payment_method() - if self is PaymentsListRequestExpand.APPLIED_TO_LINES_COMPANY: - return applied_to_lines_company() - if self is PaymentsListRequestExpand.APPLIED_TO_LINES_COMPANY_ACCOUNTING_PERIOD: - return applied_to_lines_company_accounting_period() - if self is PaymentsListRequestExpand.APPLIED_TO_LINES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return applied_to_lines_company_accounting_period_payment_method() - if self is PaymentsListRequestExpand.APPLIED_TO_LINES_COMPANY_PAYMENT_METHOD: - return applied_to_lines_company_payment_method() - if self is PaymentsListRequestExpand.APPLIED_TO_LINES_CONTACT: - return applied_to_lines_contact() - if self is PaymentsListRequestExpand.APPLIED_TO_LINES_CONTACT_ACCOUNT: - return applied_to_lines_contact_account() - if self is PaymentsListRequestExpand.APPLIED_TO_LINES_CONTACT_ACCOUNT_ACCOUNTING_PERIOD: - return applied_to_lines_contact_account_accounting_period() - if self is PaymentsListRequestExpand.APPLIED_TO_LINES_CONTACT_ACCOUNT_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return applied_to_lines_contact_account_accounting_period_payment_method() - if self is PaymentsListRequestExpand.APPLIED_TO_LINES_CONTACT_ACCOUNT_COMPANY: - return applied_to_lines_contact_account_company() - if self is PaymentsListRequestExpand.APPLIED_TO_LINES_CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD: - return applied_to_lines_contact_account_company_accounting_period() - if self is PaymentsListRequestExpand.APPLIED_TO_LINES_CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return applied_to_lines_contact_account_company_accounting_period_payment_method() - if self is PaymentsListRequestExpand.APPLIED_TO_LINES_CONTACT_ACCOUNT_COMPANY_PAYMENT_METHOD: - return applied_to_lines_contact_account_company_payment_method() - if self is PaymentsListRequestExpand.APPLIED_TO_LINES_CONTACT_ACCOUNT_PAYMENT_METHOD: - return applied_to_lines_contact_account_payment_method() - if self is PaymentsListRequestExpand.APPLIED_TO_LINES_CONTACT_ACCOUNTING_PERIOD: - return applied_to_lines_contact_accounting_period() - if self is PaymentsListRequestExpand.APPLIED_TO_LINES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return applied_to_lines_contact_accounting_period_payment_method() - if self is PaymentsListRequestExpand.APPLIED_TO_LINES_CONTACT_COMPANY: - return applied_to_lines_contact_company() - if self is PaymentsListRequestExpand.APPLIED_TO_LINES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return applied_to_lines_contact_company_accounting_period() - if self is PaymentsListRequestExpand.APPLIED_TO_LINES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return applied_to_lines_contact_company_accounting_period_payment_method() - if self is PaymentsListRequestExpand.APPLIED_TO_LINES_CONTACT_COMPANY_PAYMENT_METHOD: - return applied_to_lines_contact_company_payment_method() - if self is PaymentsListRequestExpand.APPLIED_TO_LINES_CONTACT_PAYMENT_METHOD: - return applied_to_lines_contact_payment_method() - if self is PaymentsListRequestExpand.APPLIED_TO_LINES_PAYMENT_METHOD: - return applied_to_lines_payment_method() - if self is PaymentsListRequestExpand.COMPANY: - return company() - if self is PaymentsListRequestExpand.COMPANY_ACCOUNTING_PERIOD: - return company_accounting_period() - if self is PaymentsListRequestExpand.COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return company_accounting_period_payment_method() - if self is PaymentsListRequestExpand.COMPANY_PAYMENT_METHOD: - return company_payment_method() - if self is PaymentsListRequestExpand.CONTACT: - return contact() - if self is PaymentsListRequestExpand.CONTACT_ACCOUNT: - return contact_account() - if self is PaymentsListRequestExpand.CONTACT_ACCOUNT_ACCOUNTING_PERIOD: - return contact_account_accounting_period() - if self is PaymentsListRequestExpand.CONTACT_ACCOUNT_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return contact_account_accounting_period_payment_method() - if self is PaymentsListRequestExpand.CONTACT_ACCOUNT_COMPANY: - return contact_account_company() - if self is PaymentsListRequestExpand.CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD: - return contact_account_company_accounting_period() - if self is PaymentsListRequestExpand.CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return contact_account_company_accounting_period_payment_method() - if self is PaymentsListRequestExpand.CONTACT_ACCOUNT_COMPANY_PAYMENT_METHOD: - return contact_account_company_payment_method() - if self is PaymentsListRequestExpand.CONTACT_ACCOUNT_PAYMENT_METHOD: - return contact_account_payment_method() - if self is PaymentsListRequestExpand.CONTACT_ACCOUNTING_PERIOD: - return contact_accounting_period() - if self is PaymentsListRequestExpand.CONTACT_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return contact_accounting_period_payment_method() - if self is PaymentsListRequestExpand.CONTACT_COMPANY: - return contact_company() - if self is PaymentsListRequestExpand.CONTACT_COMPANY_ACCOUNTING_PERIOD: - return contact_company_accounting_period() - if self is PaymentsListRequestExpand.CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return contact_company_accounting_period_payment_method() - if self is PaymentsListRequestExpand.CONTACT_COMPANY_PAYMENT_METHOD: - return contact_company_payment_method() - if self is PaymentsListRequestExpand.CONTACT_PAYMENT_METHOD: - return contact_payment_method() - if self is PaymentsListRequestExpand.PAYMENT_METHOD: - return payment_method() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES: - return tracking_categories() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_ACCOUNT: - return tracking_categories_account() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_ACCOUNT_ACCOUNTING_PERIOD: - return tracking_categories_account_accounting_period() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_ACCOUNT_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return tracking_categories_account_accounting_period_payment_method() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_ACCOUNT_COMPANY: - return tracking_categories_account_company() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_ACCOUNT_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_account_company_accounting_period() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_ACCOUNT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return tracking_categories_account_company_accounting_period_payment_method() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_ACCOUNT_COMPANY_PAYMENT_METHOD: - return tracking_categories_account_company_payment_method() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_ACCOUNT_PAYMENT_METHOD: - return tracking_categories_account_payment_method() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return tracking_categories_accounting_period() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return tracking_categories_accounting_period_payment_method() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES: - return tracking_categories_applied_to_lines() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNT: - return tracking_categories_applied_to_lines_account() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNT_ACCOUNTING_PERIOD: - return tracking_categories_applied_to_lines_account_accounting_period() - if ( - self - is PaymentsListRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNT_ACCOUNTING_PERIOD_PAYMENT_METHOD - ): - return tracking_categories_applied_to_lines_account_accounting_period_payment_method() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNT_COMPANY: - return tracking_categories_applied_to_lines_account_company() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNT_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_applied_to_lines_account_company_accounting_period() - if ( - self - is PaymentsListRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD - ): - return tracking_categories_applied_to_lines_account_company_accounting_period_payment_method() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNT_COMPANY_PAYMENT_METHOD: - return tracking_categories_applied_to_lines_account_company_payment_method() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNT_PAYMENT_METHOD: - return tracking_categories_applied_to_lines_account_payment_method() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNTING_PERIOD: - return tracking_categories_applied_to_lines_accounting_period() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return tracking_categories_applied_to_lines_accounting_period_payment_method() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_COMPANY: - return tracking_categories_applied_to_lines_company() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_applied_to_lines_company_accounting_period() - if ( - self - is PaymentsListRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD - ): - return tracking_categories_applied_to_lines_company_accounting_period_payment_method() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_COMPANY_PAYMENT_METHOD: - return tracking_categories_applied_to_lines_company_payment_method() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT: - return tracking_categories_applied_to_lines_contact() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNT: - return tracking_categories_applied_to_lines_contact_account() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNT_ACCOUNTING_PERIOD: - return tracking_categories_applied_to_lines_contact_account_accounting_period() - if ( - self - is PaymentsListRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNT_ACCOUNTING_PERIOD_PAYMENT_METHOD - ): - return tracking_categories_applied_to_lines_contact_account_accounting_period_payment_method() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNT_COMPANY: - return tracking_categories_applied_to_lines_contact_account_company() - if ( - self - is PaymentsListRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD - ): - return tracking_categories_applied_to_lines_contact_account_company_accounting_period() - if ( - self - is PaymentsListRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD - ): - return tracking_categories_applied_to_lines_contact_account_company_accounting_period_payment_method() - if ( - self - is PaymentsListRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNT_COMPANY_PAYMENT_METHOD - ): - return tracking_categories_applied_to_lines_contact_account_company_payment_method() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNT_PAYMENT_METHOD: - return tracking_categories_applied_to_lines_contact_account_payment_method() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNTING_PERIOD: - return tracking_categories_applied_to_lines_contact_accounting_period() - if ( - self - is PaymentsListRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_METHOD - ): - return tracking_categories_applied_to_lines_contact_accounting_period_payment_method() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_COMPANY: - return tracking_categories_applied_to_lines_contact_company() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_applied_to_lines_contact_company_accounting_period() - if ( - self - is PaymentsListRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD - ): - return tracking_categories_applied_to_lines_contact_company_accounting_period_payment_method() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_COMPANY_PAYMENT_METHOD: - return tracking_categories_applied_to_lines_contact_company_payment_method() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_PAYMENT_METHOD: - return tracking_categories_applied_to_lines_contact_payment_method() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_PAYMENT_METHOD: - return tracking_categories_applied_to_lines_payment_method() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_COMPANY: - return tracking_categories_company() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_company_accounting_period() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return tracking_categories_company_accounting_period_payment_method() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_COMPANY_PAYMENT_METHOD: - return tracking_categories_company_payment_method() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_CONTACT: - return tracking_categories_contact() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNT: - return tracking_categories_contact_account() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNT_ACCOUNTING_PERIOD: - return tracking_categories_contact_account_accounting_period() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNT_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return tracking_categories_contact_account_accounting_period_payment_method() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNT_COMPANY: - return tracking_categories_contact_account_company() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_contact_account_company_accounting_period() - if ( - self - is PaymentsListRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD - ): - return tracking_categories_contact_account_company_accounting_period_payment_method() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNT_COMPANY_PAYMENT_METHOD: - return tracking_categories_contact_account_company_payment_method() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNT_PAYMENT_METHOD: - return tracking_categories_contact_account_payment_method() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD: - return tracking_categories_contact_accounting_period() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return tracking_categories_contact_accounting_period_payment_method() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY: - return tracking_categories_contact_company() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_contact_company_accounting_period() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return tracking_categories_contact_company_accounting_period_payment_method() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY_PAYMENT_METHOD: - return tracking_categories_contact_company_payment_method() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_CONTACT_PAYMENT_METHOD: - return tracking_categories_contact_payment_method() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_PAYMENT_METHOD: - return tracking_categories_payment_method() diff --git a/src/merge/resources/accounting/resources/payments/types/payments_list_request_expand_item.py b/src/merge/resources/accounting/resources/payments/types/payments_list_request_expand_item.py new file mode 100644 index 00000000..6ae2b539 --- /dev/null +++ b/src/merge/resources/accounting/resources/payments/types/payments_list_request_expand_item.py @@ -0,0 +1,41 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class PaymentsListRequestExpandItem(str, enum.Enum): + ACCOUNT = "account" + ACCOUNTING_PERIOD = "accounting_period" + APPLIED_TO_LINES = "applied_to_lines" + COMPANY = "company" + CONTACT = "contact" + PAYMENT_METHOD = "payment_method" + TRACKING_CATEGORIES = "tracking_categories" + + def visit( + self, + account: typing.Callable[[], T_Result], + accounting_period: typing.Callable[[], T_Result], + applied_to_lines: typing.Callable[[], T_Result], + company: typing.Callable[[], T_Result], + contact: typing.Callable[[], T_Result], + payment_method: typing.Callable[[], T_Result], + tracking_categories: typing.Callable[[], T_Result], + ) -> T_Result: + if self is PaymentsListRequestExpandItem.ACCOUNT: + return account() + if self is PaymentsListRequestExpandItem.ACCOUNTING_PERIOD: + return accounting_period() + if self is PaymentsListRequestExpandItem.APPLIED_TO_LINES: + return applied_to_lines() + if self is PaymentsListRequestExpandItem.COMPANY: + return company() + if self is PaymentsListRequestExpandItem.CONTACT: + return contact() + if self is PaymentsListRequestExpandItem.PAYMENT_METHOD: + return payment_method() + if self is PaymentsListRequestExpandItem.TRACKING_CATEGORIES: + return tracking_categories() diff --git a/src/merge/resources/accounting/resources/payments/types/payments_retrieve_request_expand.py b/src/merge/resources/accounting/resources/payments/types/payments_retrieve_request_expand.py deleted file mode 100644 index fea64353..00000000 --- a/src/merge/resources/accounting/resources/payments/types/payments_retrieve_request_expand.py +++ /dev/null @@ -1,644 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class PaymentsRetrieveRequestExpand(str, enum.Enum): - ACCOUNT = "account" - ACCOUNT_ACCOUNTING_PERIOD = "account,accounting_period" - ACCOUNT_ACCOUNTING_PERIOD_PAYMENT_METHOD = "account,accounting_period,payment_method" - ACCOUNT_COMPANY = "account,company" - ACCOUNT_COMPANY_ACCOUNTING_PERIOD = "account,company,accounting_period" - ACCOUNT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD = "account,company,accounting_period,payment_method" - ACCOUNT_COMPANY_PAYMENT_METHOD = "account,company,payment_method" - ACCOUNT_PAYMENT_METHOD = "account,payment_method" - ACCOUNTING_PERIOD = "accounting_period" - ACCOUNTING_PERIOD_PAYMENT_METHOD = "accounting_period,payment_method" - APPLIED_TO_LINES = "applied_to_lines" - APPLIED_TO_LINES_ACCOUNT = "applied_to_lines,account" - APPLIED_TO_LINES_ACCOUNT_ACCOUNTING_PERIOD = "applied_to_lines,account,accounting_period" - APPLIED_TO_LINES_ACCOUNT_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "applied_to_lines,account,accounting_period,payment_method" - ) - APPLIED_TO_LINES_ACCOUNT_COMPANY = "applied_to_lines,account,company" - APPLIED_TO_LINES_ACCOUNT_COMPANY_ACCOUNTING_PERIOD = "applied_to_lines,account,company,accounting_period" - APPLIED_TO_LINES_ACCOUNT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "applied_to_lines,account,company,accounting_period,payment_method" - ) - APPLIED_TO_LINES_ACCOUNT_COMPANY_PAYMENT_METHOD = "applied_to_lines,account,company,payment_method" - APPLIED_TO_LINES_ACCOUNT_PAYMENT_METHOD = "applied_to_lines,account,payment_method" - APPLIED_TO_LINES_ACCOUNTING_PERIOD = "applied_to_lines,accounting_period" - APPLIED_TO_LINES_ACCOUNTING_PERIOD_PAYMENT_METHOD = "applied_to_lines,accounting_period,payment_method" - APPLIED_TO_LINES_COMPANY = "applied_to_lines,company" - APPLIED_TO_LINES_COMPANY_ACCOUNTING_PERIOD = "applied_to_lines,company,accounting_period" - APPLIED_TO_LINES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "applied_to_lines,company,accounting_period,payment_method" - ) - APPLIED_TO_LINES_COMPANY_PAYMENT_METHOD = "applied_to_lines,company,payment_method" - APPLIED_TO_LINES_CONTACT = "applied_to_lines,contact" - APPLIED_TO_LINES_CONTACT_ACCOUNT = "applied_to_lines,contact,account" - APPLIED_TO_LINES_CONTACT_ACCOUNT_ACCOUNTING_PERIOD = "applied_to_lines,contact,account,accounting_period" - APPLIED_TO_LINES_CONTACT_ACCOUNT_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "applied_to_lines,contact,account,accounting_period,payment_method" - ) - APPLIED_TO_LINES_CONTACT_ACCOUNT_COMPANY = "applied_to_lines,contact,account,company" - APPLIED_TO_LINES_CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_to_lines,contact,account,company,accounting_period" - ) - APPLIED_TO_LINES_CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "applied_to_lines,contact,account,company,accounting_period,payment_method" - ) - APPLIED_TO_LINES_CONTACT_ACCOUNT_COMPANY_PAYMENT_METHOD = "applied_to_lines,contact,account,company,payment_method" - APPLIED_TO_LINES_CONTACT_ACCOUNT_PAYMENT_METHOD = "applied_to_lines,contact,account,payment_method" - APPLIED_TO_LINES_CONTACT_ACCOUNTING_PERIOD = "applied_to_lines,contact,accounting_period" - APPLIED_TO_LINES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "applied_to_lines,contact,accounting_period,payment_method" - ) - APPLIED_TO_LINES_CONTACT_COMPANY = "applied_to_lines,contact,company" - APPLIED_TO_LINES_CONTACT_COMPANY_ACCOUNTING_PERIOD = "applied_to_lines,contact,company,accounting_period" - APPLIED_TO_LINES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "applied_to_lines,contact,company,accounting_period,payment_method" - ) - APPLIED_TO_LINES_CONTACT_COMPANY_PAYMENT_METHOD = "applied_to_lines,contact,company,payment_method" - APPLIED_TO_LINES_CONTACT_PAYMENT_METHOD = "applied_to_lines,contact,payment_method" - APPLIED_TO_LINES_PAYMENT_METHOD = "applied_to_lines,payment_method" - COMPANY = "company" - COMPANY_ACCOUNTING_PERIOD = "company,accounting_period" - COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD = "company,accounting_period,payment_method" - COMPANY_PAYMENT_METHOD = "company,payment_method" - CONTACT = "contact" - CONTACT_ACCOUNT = "contact,account" - CONTACT_ACCOUNT_ACCOUNTING_PERIOD = "contact,account,accounting_period" - CONTACT_ACCOUNT_ACCOUNTING_PERIOD_PAYMENT_METHOD = "contact,account,accounting_period,payment_method" - CONTACT_ACCOUNT_COMPANY = "contact,account,company" - CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD = "contact,account,company,accounting_period" - CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "contact,account,company,accounting_period,payment_method" - ) - CONTACT_ACCOUNT_COMPANY_PAYMENT_METHOD = "contact,account,company,payment_method" - CONTACT_ACCOUNT_PAYMENT_METHOD = "contact,account,payment_method" - CONTACT_ACCOUNTING_PERIOD = "contact,accounting_period" - CONTACT_ACCOUNTING_PERIOD_PAYMENT_METHOD = "contact,accounting_period,payment_method" - CONTACT_COMPANY = "contact,company" - CONTACT_COMPANY_ACCOUNTING_PERIOD = "contact,company,accounting_period" - CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD = "contact,company,accounting_period,payment_method" - CONTACT_COMPANY_PAYMENT_METHOD = "contact,company,payment_method" - CONTACT_PAYMENT_METHOD = "contact,payment_method" - PAYMENT_METHOD = "payment_method" - TRACKING_CATEGORIES = "tracking_categories" - TRACKING_CATEGORIES_ACCOUNT = "tracking_categories,account" - TRACKING_CATEGORIES_ACCOUNT_ACCOUNTING_PERIOD = "tracking_categories,account,accounting_period" - TRACKING_CATEGORIES_ACCOUNT_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "tracking_categories,account,accounting_period,payment_method" - ) - TRACKING_CATEGORIES_ACCOUNT_COMPANY = "tracking_categories,account,company" - TRACKING_CATEGORIES_ACCOUNT_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,account,company,accounting_period" - TRACKING_CATEGORIES_ACCOUNT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "tracking_categories,account,company,accounting_period,payment_method" - ) - TRACKING_CATEGORIES_ACCOUNT_COMPANY_PAYMENT_METHOD = "tracking_categories,account,company,payment_method" - TRACKING_CATEGORIES_ACCOUNT_PAYMENT_METHOD = "tracking_categories,account,payment_method" - TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "tracking_categories,accounting_period" - TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_METHOD = "tracking_categories,accounting_period,payment_method" - TRACKING_CATEGORIES_APPLIED_TO_LINES = "tracking_categories,applied_to_lines" - TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNT = "tracking_categories,applied_to_lines,account" - TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNT_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_to_lines,account,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNT_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "tracking_categories,applied_to_lines,account,accounting_period,payment_method" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNT_COMPANY = "tracking_categories,applied_to_lines,account,company" - TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNT_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_to_lines,account,company,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "tracking_categories,applied_to_lines,account,company,accounting_period,payment_method" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNT_COMPANY_PAYMENT_METHOD = ( - "tracking_categories,applied_to_lines,account,company,payment_method" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNT_PAYMENT_METHOD = ( - "tracking_categories,applied_to_lines,account,payment_method" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNTING_PERIOD = "tracking_categories,applied_to_lines,accounting_period" - TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "tracking_categories,applied_to_lines,accounting_period,payment_method" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_COMPANY = "tracking_categories,applied_to_lines,company" - TRACKING_CATEGORIES_APPLIED_TO_LINES_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_to_lines,company,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "tracking_categories,applied_to_lines,company,accounting_period,payment_method" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_COMPANY_PAYMENT_METHOD = ( - "tracking_categories,applied_to_lines,company,payment_method" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT = "tracking_categories,applied_to_lines,contact" - TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNT = "tracking_categories,applied_to_lines,contact,account" - TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNT_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_to_lines,contact,account,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNT_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "tracking_categories,applied_to_lines,contact,account,accounting_period,payment_method" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNT_COMPANY = ( - "tracking_categories,applied_to_lines,contact,account,company" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_to_lines,contact,account,company,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "tracking_categories,applied_to_lines,contact,account,company,accounting_period,payment_method" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNT_COMPANY_PAYMENT_METHOD = ( - "tracking_categories,applied_to_lines,contact,account,company,payment_method" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNT_PAYMENT_METHOD = ( - "tracking_categories,applied_to_lines,contact,account,payment_method" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_to_lines,contact,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "tracking_categories,applied_to_lines,contact,accounting_period,payment_method" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_COMPANY = "tracking_categories,applied_to_lines,contact,company" - TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_to_lines,contact,company,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "tracking_categories,applied_to_lines,contact,company,accounting_period,payment_method" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_COMPANY_PAYMENT_METHOD = ( - "tracking_categories,applied_to_lines,contact,company,payment_method" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_PAYMENT_METHOD = ( - "tracking_categories,applied_to_lines,contact,payment_method" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_PAYMENT_METHOD = "tracking_categories,applied_to_lines,payment_method" - TRACKING_CATEGORIES_COMPANY = "tracking_categories,company" - TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,company,accounting_period" - TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "tracking_categories,company,accounting_period,payment_method" - ) - TRACKING_CATEGORIES_COMPANY_PAYMENT_METHOD = "tracking_categories,company,payment_method" - TRACKING_CATEGORIES_CONTACT = "tracking_categories,contact" - TRACKING_CATEGORIES_CONTACT_ACCOUNT = "tracking_categories,contact,account" - TRACKING_CATEGORIES_CONTACT_ACCOUNT_ACCOUNTING_PERIOD = "tracking_categories,contact,account,accounting_period" - TRACKING_CATEGORIES_CONTACT_ACCOUNT_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "tracking_categories,contact,account,accounting_period,payment_method" - ) - TRACKING_CATEGORIES_CONTACT_ACCOUNT_COMPANY = "tracking_categories,contact,account,company" - TRACKING_CATEGORIES_CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,contact,account,company,accounting_period" - ) - TRACKING_CATEGORIES_CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "tracking_categories,contact,account,company,accounting_period,payment_method" - ) - TRACKING_CATEGORIES_CONTACT_ACCOUNT_COMPANY_PAYMENT_METHOD = ( - "tracking_categories,contact,account,company,payment_method" - ) - TRACKING_CATEGORIES_CONTACT_ACCOUNT_PAYMENT_METHOD = "tracking_categories,contact,account,payment_method" - TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = "tracking_categories,contact,accounting_period" - TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "tracking_categories,contact,accounting_period,payment_method" - ) - TRACKING_CATEGORIES_CONTACT_COMPANY = "tracking_categories,contact,company" - TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,contact,company,accounting_period" - TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "tracking_categories,contact,company,accounting_period,payment_method" - ) - TRACKING_CATEGORIES_CONTACT_COMPANY_PAYMENT_METHOD = "tracking_categories,contact,company,payment_method" - TRACKING_CATEGORIES_CONTACT_PAYMENT_METHOD = "tracking_categories,contact,payment_method" - TRACKING_CATEGORIES_PAYMENT_METHOD = "tracking_categories,payment_method" - - def visit( - self, - account: typing.Callable[[], T_Result], - account_accounting_period: typing.Callable[[], T_Result], - account_accounting_period_payment_method: typing.Callable[[], T_Result], - account_company: typing.Callable[[], T_Result], - account_company_accounting_period: typing.Callable[[], T_Result], - account_company_accounting_period_payment_method: typing.Callable[[], T_Result], - account_company_payment_method: typing.Callable[[], T_Result], - account_payment_method: typing.Callable[[], T_Result], - accounting_period: typing.Callable[[], T_Result], - accounting_period_payment_method: typing.Callable[[], T_Result], - applied_to_lines: typing.Callable[[], T_Result], - applied_to_lines_account: typing.Callable[[], T_Result], - applied_to_lines_account_accounting_period: typing.Callable[[], T_Result], - applied_to_lines_account_accounting_period_payment_method: typing.Callable[[], T_Result], - applied_to_lines_account_company: typing.Callable[[], T_Result], - applied_to_lines_account_company_accounting_period: typing.Callable[[], T_Result], - applied_to_lines_account_company_accounting_period_payment_method: typing.Callable[[], T_Result], - applied_to_lines_account_company_payment_method: typing.Callable[[], T_Result], - applied_to_lines_account_payment_method: typing.Callable[[], T_Result], - applied_to_lines_accounting_period: typing.Callable[[], T_Result], - applied_to_lines_accounting_period_payment_method: typing.Callable[[], T_Result], - applied_to_lines_company: typing.Callable[[], T_Result], - applied_to_lines_company_accounting_period: typing.Callable[[], T_Result], - applied_to_lines_company_accounting_period_payment_method: typing.Callable[[], T_Result], - applied_to_lines_company_payment_method: typing.Callable[[], T_Result], - applied_to_lines_contact: typing.Callable[[], T_Result], - applied_to_lines_contact_account: typing.Callable[[], T_Result], - applied_to_lines_contact_account_accounting_period: typing.Callable[[], T_Result], - applied_to_lines_contact_account_accounting_period_payment_method: typing.Callable[[], T_Result], - applied_to_lines_contact_account_company: typing.Callable[[], T_Result], - applied_to_lines_contact_account_company_accounting_period: typing.Callable[[], T_Result], - applied_to_lines_contact_account_company_accounting_period_payment_method: typing.Callable[[], T_Result], - applied_to_lines_contact_account_company_payment_method: typing.Callable[[], T_Result], - applied_to_lines_contact_account_payment_method: typing.Callable[[], T_Result], - applied_to_lines_contact_accounting_period: typing.Callable[[], T_Result], - applied_to_lines_contact_accounting_period_payment_method: typing.Callable[[], T_Result], - applied_to_lines_contact_company: typing.Callable[[], T_Result], - applied_to_lines_contact_company_accounting_period: typing.Callable[[], T_Result], - applied_to_lines_contact_company_accounting_period_payment_method: typing.Callable[[], T_Result], - applied_to_lines_contact_company_payment_method: typing.Callable[[], T_Result], - applied_to_lines_contact_payment_method: typing.Callable[[], T_Result], - applied_to_lines_payment_method: typing.Callable[[], T_Result], - company: typing.Callable[[], T_Result], - company_accounting_period: typing.Callable[[], T_Result], - company_accounting_period_payment_method: typing.Callable[[], T_Result], - company_payment_method: typing.Callable[[], T_Result], - contact: typing.Callable[[], T_Result], - contact_account: typing.Callable[[], T_Result], - contact_account_accounting_period: typing.Callable[[], T_Result], - contact_account_accounting_period_payment_method: typing.Callable[[], T_Result], - contact_account_company: typing.Callable[[], T_Result], - contact_account_company_accounting_period: typing.Callable[[], T_Result], - contact_account_company_accounting_period_payment_method: typing.Callable[[], T_Result], - contact_account_company_payment_method: typing.Callable[[], T_Result], - contact_account_payment_method: typing.Callable[[], T_Result], - contact_accounting_period: typing.Callable[[], T_Result], - contact_accounting_period_payment_method: typing.Callable[[], T_Result], - contact_company: typing.Callable[[], T_Result], - contact_company_accounting_period: typing.Callable[[], T_Result], - contact_company_accounting_period_payment_method: typing.Callable[[], T_Result], - contact_company_payment_method: typing.Callable[[], T_Result], - contact_payment_method: typing.Callable[[], T_Result], - payment_method: typing.Callable[[], T_Result], - tracking_categories: typing.Callable[[], T_Result], - tracking_categories_account: typing.Callable[[], T_Result], - tracking_categories_account_accounting_period: typing.Callable[[], T_Result], - tracking_categories_account_accounting_period_payment_method: typing.Callable[[], T_Result], - tracking_categories_account_company: typing.Callable[[], T_Result], - tracking_categories_account_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_account_company_accounting_period_payment_method: typing.Callable[[], T_Result], - tracking_categories_account_company_payment_method: typing.Callable[[], T_Result], - tracking_categories_account_payment_method: typing.Callable[[], T_Result], - tracking_categories_accounting_period: typing.Callable[[], T_Result], - tracking_categories_accounting_period_payment_method: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_account: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_account_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_account_accounting_period_payment_method: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_account_company: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_account_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_account_company_accounting_period_payment_method: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_to_lines_account_company_payment_method: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_account_payment_method: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_accounting_period_payment_method: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_company: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_company_accounting_period_payment_method: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_company_payment_method: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_contact: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_contact_account: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_contact_account_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_contact_account_accounting_period_payment_method: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_to_lines_contact_account_company: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_contact_account_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_contact_account_company_accounting_period_payment_method: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_to_lines_contact_account_company_payment_method: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_contact_account_payment_method: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_contact_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_contact_accounting_period_payment_method: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_contact_company: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_contact_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_contact_company_accounting_period_payment_method: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_to_lines_contact_company_payment_method: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_contact_payment_method: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_payment_method: typing.Callable[[], T_Result], - tracking_categories_company: typing.Callable[[], T_Result], - tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_company_accounting_period_payment_method: typing.Callable[[], T_Result], - tracking_categories_company_payment_method: typing.Callable[[], T_Result], - tracking_categories_contact: typing.Callable[[], T_Result], - tracking_categories_contact_account: typing.Callable[[], T_Result], - tracking_categories_contact_account_accounting_period: typing.Callable[[], T_Result], - tracking_categories_contact_account_accounting_period_payment_method: typing.Callable[[], T_Result], - tracking_categories_contact_account_company: typing.Callable[[], T_Result], - tracking_categories_contact_account_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_contact_account_company_accounting_period_payment_method: typing.Callable[[], T_Result], - tracking_categories_contact_account_company_payment_method: typing.Callable[[], T_Result], - tracking_categories_contact_account_payment_method: typing.Callable[[], T_Result], - tracking_categories_contact_accounting_period: typing.Callable[[], T_Result], - tracking_categories_contact_accounting_period_payment_method: typing.Callable[[], T_Result], - tracking_categories_contact_company: typing.Callable[[], T_Result], - tracking_categories_contact_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_contact_company_accounting_period_payment_method: typing.Callable[[], T_Result], - tracking_categories_contact_company_payment_method: typing.Callable[[], T_Result], - tracking_categories_contact_payment_method: typing.Callable[[], T_Result], - tracking_categories_payment_method: typing.Callable[[], T_Result], - ) -> T_Result: - if self is PaymentsRetrieveRequestExpand.ACCOUNT: - return account() - if self is PaymentsRetrieveRequestExpand.ACCOUNT_ACCOUNTING_PERIOD: - return account_accounting_period() - if self is PaymentsRetrieveRequestExpand.ACCOUNT_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return account_accounting_period_payment_method() - if self is PaymentsRetrieveRequestExpand.ACCOUNT_COMPANY: - return account_company() - if self is PaymentsRetrieveRequestExpand.ACCOUNT_COMPANY_ACCOUNTING_PERIOD: - return account_company_accounting_period() - if self is PaymentsRetrieveRequestExpand.ACCOUNT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return account_company_accounting_period_payment_method() - if self is PaymentsRetrieveRequestExpand.ACCOUNT_COMPANY_PAYMENT_METHOD: - return account_company_payment_method() - if self is PaymentsRetrieveRequestExpand.ACCOUNT_PAYMENT_METHOD: - return account_payment_method() - if self is PaymentsRetrieveRequestExpand.ACCOUNTING_PERIOD: - return accounting_period() - if self is PaymentsRetrieveRequestExpand.ACCOUNTING_PERIOD_PAYMENT_METHOD: - return accounting_period_payment_method() - if self is PaymentsRetrieveRequestExpand.APPLIED_TO_LINES: - return applied_to_lines() - if self is PaymentsRetrieveRequestExpand.APPLIED_TO_LINES_ACCOUNT: - return applied_to_lines_account() - if self is PaymentsRetrieveRequestExpand.APPLIED_TO_LINES_ACCOUNT_ACCOUNTING_PERIOD: - return applied_to_lines_account_accounting_period() - if self is PaymentsRetrieveRequestExpand.APPLIED_TO_LINES_ACCOUNT_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return applied_to_lines_account_accounting_period_payment_method() - if self is PaymentsRetrieveRequestExpand.APPLIED_TO_LINES_ACCOUNT_COMPANY: - return applied_to_lines_account_company() - if self is PaymentsRetrieveRequestExpand.APPLIED_TO_LINES_ACCOUNT_COMPANY_ACCOUNTING_PERIOD: - return applied_to_lines_account_company_accounting_period() - if self is PaymentsRetrieveRequestExpand.APPLIED_TO_LINES_ACCOUNT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return applied_to_lines_account_company_accounting_period_payment_method() - if self is PaymentsRetrieveRequestExpand.APPLIED_TO_LINES_ACCOUNT_COMPANY_PAYMENT_METHOD: - return applied_to_lines_account_company_payment_method() - if self is PaymentsRetrieveRequestExpand.APPLIED_TO_LINES_ACCOUNT_PAYMENT_METHOD: - return applied_to_lines_account_payment_method() - if self is PaymentsRetrieveRequestExpand.APPLIED_TO_LINES_ACCOUNTING_PERIOD: - return applied_to_lines_accounting_period() - if self is PaymentsRetrieveRequestExpand.APPLIED_TO_LINES_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return applied_to_lines_accounting_period_payment_method() - if self is PaymentsRetrieveRequestExpand.APPLIED_TO_LINES_COMPANY: - return applied_to_lines_company() - if self is PaymentsRetrieveRequestExpand.APPLIED_TO_LINES_COMPANY_ACCOUNTING_PERIOD: - return applied_to_lines_company_accounting_period() - if self is PaymentsRetrieveRequestExpand.APPLIED_TO_LINES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return applied_to_lines_company_accounting_period_payment_method() - if self is PaymentsRetrieveRequestExpand.APPLIED_TO_LINES_COMPANY_PAYMENT_METHOD: - return applied_to_lines_company_payment_method() - if self is PaymentsRetrieveRequestExpand.APPLIED_TO_LINES_CONTACT: - return applied_to_lines_contact() - if self is PaymentsRetrieveRequestExpand.APPLIED_TO_LINES_CONTACT_ACCOUNT: - return applied_to_lines_contact_account() - if self is PaymentsRetrieveRequestExpand.APPLIED_TO_LINES_CONTACT_ACCOUNT_ACCOUNTING_PERIOD: - return applied_to_lines_contact_account_accounting_period() - if self is PaymentsRetrieveRequestExpand.APPLIED_TO_LINES_CONTACT_ACCOUNT_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return applied_to_lines_contact_account_accounting_period_payment_method() - if self is PaymentsRetrieveRequestExpand.APPLIED_TO_LINES_CONTACT_ACCOUNT_COMPANY: - return applied_to_lines_contact_account_company() - if self is PaymentsRetrieveRequestExpand.APPLIED_TO_LINES_CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD: - return applied_to_lines_contact_account_company_accounting_period() - if ( - self - is PaymentsRetrieveRequestExpand.APPLIED_TO_LINES_CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD - ): - return applied_to_lines_contact_account_company_accounting_period_payment_method() - if self is PaymentsRetrieveRequestExpand.APPLIED_TO_LINES_CONTACT_ACCOUNT_COMPANY_PAYMENT_METHOD: - return applied_to_lines_contact_account_company_payment_method() - if self is PaymentsRetrieveRequestExpand.APPLIED_TO_LINES_CONTACT_ACCOUNT_PAYMENT_METHOD: - return applied_to_lines_contact_account_payment_method() - if self is PaymentsRetrieveRequestExpand.APPLIED_TO_LINES_CONTACT_ACCOUNTING_PERIOD: - return applied_to_lines_contact_accounting_period() - if self is PaymentsRetrieveRequestExpand.APPLIED_TO_LINES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return applied_to_lines_contact_accounting_period_payment_method() - if self is PaymentsRetrieveRequestExpand.APPLIED_TO_LINES_CONTACT_COMPANY: - return applied_to_lines_contact_company() - if self is PaymentsRetrieveRequestExpand.APPLIED_TO_LINES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return applied_to_lines_contact_company_accounting_period() - if self is PaymentsRetrieveRequestExpand.APPLIED_TO_LINES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return applied_to_lines_contact_company_accounting_period_payment_method() - if self is PaymentsRetrieveRequestExpand.APPLIED_TO_LINES_CONTACT_COMPANY_PAYMENT_METHOD: - return applied_to_lines_contact_company_payment_method() - if self is PaymentsRetrieveRequestExpand.APPLIED_TO_LINES_CONTACT_PAYMENT_METHOD: - return applied_to_lines_contact_payment_method() - if self is PaymentsRetrieveRequestExpand.APPLIED_TO_LINES_PAYMENT_METHOD: - return applied_to_lines_payment_method() - if self is PaymentsRetrieveRequestExpand.COMPANY: - return company() - if self is PaymentsRetrieveRequestExpand.COMPANY_ACCOUNTING_PERIOD: - return company_accounting_period() - if self is PaymentsRetrieveRequestExpand.COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return company_accounting_period_payment_method() - if self is PaymentsRetrieveRequestExpand.COMPANY_PAYMENT_METHOD: - return company_payment_method() - if self is PaymentsRetrieveRequestExpand.CONTACT: - return contact() - if self is PaymentsRetrieveRequestExpand.CONTACT_ACCOUNT: - return contact_account() - if self is PaymentsRetrieveRequestExpand.CONTACT_ACCOUNT_ACCOUNTING_PERIOD: - return contact_account_accounting_period() - if self is PaymentsRetrieveRequestExpand.CONTACT_ACCOUNT_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return contact_account_accounting_period_payment_method() - if self is PaymentsRetrieveRequestExpand.CONTACT_ACCOUNT_COMPANY: - return contact_account_company() - if self is PaymentsRetrieveRequestExpand.CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD: - return contact_account_company_accounting_period() - if self is PaymentsRetrieveRequestExpand.CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return contact_account_company_accounting_period_payment_method() - if self is PaymentsRetrieveRequestExpand.CONTACT_ACCOUNT_COMPANY_PAYMENT_METHOD: - return contact_account_company_payment_method() - if self is PaymentsRetrieveRequestExpand.CONTACT_ACCOUNT_PAYMENT_METHOD: - return contact_account_payment_method() - if self is PaymentsRetrieveRequestExpand.CONTACT_ACCOUNTING_PERIOD: - return contact_accounting_period() - if self is PaymentsRetrieveRequestExpand.CONTACT_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return contact_accounting_period_payment_method() - if self is PaymentsRetrieveRequestExpand.CONTACT_COMPANY: - return contact_company() - if self is PaymentsRetrieveRequestExpand.CONTACT_COMPANY_ACCOUNTING_PERIOD: - return contact_company_accounting_period() - if self is PaymentsRetrieveRequestExpand.CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return contact_company_accounting_period_payment_method() - if self is PaymentsRetrieveRequestExpand.CONTACT_COMPANY_PAYMENT_METHOD: - return contact_company_payment_method() - if self is PaymentsRetrieveRequestExpand.CONTACT_PAYMENT_METHOD: - return contact_payment_method() - if self is PaymentsRetrieveRequestExpand.PAYMENT_METHOD: - return payment_method() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES: - return tracking_categories() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNT: - return tracking_categories_account() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNT_ACCOUNTING_PERIOD: - return tracking_categories_account_accounting_period() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNT_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return tracking_categories_account_accounting_period_payment_method() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNT_COMPANY: - return tracking_categories_account_company() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNT_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_account_company_accounting_period() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return tracking_categories_account_company_accounting_period_payment_method() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNT_COMPANY_PAYMENT_METHOD: - return tracking_categories_account_company_payment_method() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNT_PAYMENT_METHOD: - return tracking_categories_account_payment_method() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return tracking_categories_accounting_period() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return tracking_categories_accounting_period_payment_method() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES: - return tracking_categories_applied_to_lines() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNT: - return tracking_categories_applied_to_lines_account() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNT_ACCOUNTING_PERIOD: - return tracking_categories_applied_to_lines_account_accounting_period() - if ( - self - is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNT_ACCOUNTING_PERIOD_PAYMENT_METHOD - ): - return tracking_categories_applied_to_lines_account_accounting_period_payment_method() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNT_COMPANY: - return tracking_categories_applied_to_lines_account_company() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNT_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_applied_to_lines_account_company_accounting_period() - if ( - self - is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD - ): - return tracking_categories_applied_to_lines_account_company_accounting_period_payment_method() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNT_COMPANY_PAYMENT_METHOD: - return tracking_categories_applied_to_lines_account_company_payment_method() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNT_PAYMENT_METHOD: - return tracking_categories_applied_to_lines_account_payment_method() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNTING_PERIOD: - return tracking_categories_applied_to_lines_accounting_period() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return tracking_categories_applied_to_lines_accounting_period_payment_method() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_COMPANY: - return tracking_categories_applied_to_lines_company() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_applied_to_lines_company_accounting_period() - if ( - self - is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD - ): - return tracking_categories_applied_to_lines_company_accounting_period_payment_method() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_COMPANY_PAYMENT_METHOD: - return tracking_categories_applied_to_lines_company_payment_method() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT: - return tracking_categories_applied_to_lines_contact() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNT: - return tracking_categories_applied_to_lines_contact_account() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNT_ACCOUNTING_PERIOD: - return tracking_categories_applied_to_lines_contact_account_accounting_period() - if ( - self - is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNT_ACCOUNTING_PERIOD_PAYMENT_METHOD - ): - return tracking_categories_applied_to_lines_contact_account_accounting_period_payment_method() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNT_COMPANY: - return tracking_categories_applied_to_lines_contact_account_company() - if ( - self - is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD - ): - return tracking_categories_applied_to_lines_contact_account_company_accounting_period() - if ( - self - is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD - ): - return tracking_categories_applied_to_lines_contact_account_company_accounting_period_payment_method() - if ( - self - is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNT_COMPANY_PAYMENT_METHOD - ): - return tracking_categories_applied_to_lines_contact_account_company_payment_method() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNT_PAYMENT_METHOD: - return tracking_categories_applied_to_lines_contact_account_payment_method() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNTING_PERIOD: - return tracking_categories_applied_to_lines_contact_accounting_period() - if ( - self - is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_METHOD - ): - return tracking_categories_applied_to_lines_contact_accounting_period_payment_method() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_COMPANY: - return tracking_categories_applied_to_lines_contact_company() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_applied_to_lines_contact_company_accounting_period() - if ( - self - is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD - ): - return tracking_categories_applied_to_lines_contact_company_accounting_period_payment_method() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_COMPANY_PAYMENT_METHOD: - return tracking_categories_applied_to_lines_contact_company_payment_method() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_PAYMENT_METHOD: - return tracking_categories_applied_to_lines_contact_payment_method() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_PAYMENT_METHOD: - return tracking_categories_applied_to_lines_payment_method() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_COMPANY: - return tracking_categories_company() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_company_accounting_period() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return tracking_categories_company_accounting_period_payment_method() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_COMPANY_PAYMENT_METHOD: - return tracking_categories_company_payment_method() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT: - return tracking_categories_contact() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNT: - return tracking_categories_contact_account() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNT_ACCOUNTING_PERIOD: - return tracking_categories_contact_account_accounting_period() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNT_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return tracking_categories_contact_account_accounting_period_payment_method() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNT_COMPANY: - return tracking_categories_contact_account_company() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_contact_account_company_accounting_period() - if ( - self - is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD - ): - return tracking_categories_contact_account_company_accounting_period_payment_method() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNT_COMPANY_PAYMENT_METHOD: - return tracking_categories_contact_account_company_payment_method() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNT_PAYMENT_METHOD: - return tracking_categories_contact_account_payment_method() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD: - return tracking_categories_contact_accounting_period() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return tracking_categories_contact_accounting_period_payment_method() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY: - return tracking_categories_contact_company() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_contact_company_accounting_period() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return tracking_categories_contact_company_accounting_period_payment_method() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY_PAYMENT_METHOD: - return tracking_categories_contact_company_payment_method() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_PAYMENT_METHOD: - return tracking_categories_contact_payment_method() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_PAYMENT_METHOD: - return tracking_categories_payment_method() diff --git a/src/merge/resources/accounting/resources/payments/types/payments_retrieve_request_expand_item.py b/src/merge/resources/accounting/resources/payments/types/payments_retrieve_request_expand_item.py new file mode 100644 index 00000000..037761ae --- /dev/null +++ b/src/merge/resources/accounting/resources/payments/types/payments_retrieve_request_expand_item.py @@ -0,0 +1,41 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class PaymentsRetrieveRequestExpandItem(str, enum.Enum): + ACCOUNT = "account" + ACCOUNTING_PERIOD = "accounting_period" + APPLIED_TO_LINES = "applied_to_lines" + COMPANY = "company" + CONTACT = "contact" + PAYMENT_METHOD = "payment_method" + TRACKING_CATEGORIES = "tracking_categories" + + def visit( + self, + account: typing.Callable[[], T_Result], + accounting_period: typing.Callable[[], T_Result], + applied_to_lines: typing.Callable[[], T_Result], + company: typing.Callable[[], T_Result], + contact: typing.Callable[[], T_Result], + payment_method: typing.Callable[[], T_Result], + tracking_categories: typing.Callable[[], T_Result], + ) -> T_Result: + if self is PaymentsRetrieveRequestExpandItem.ACCOUNT: + return account() + if self is PaymentsRetrieveRequestExpandItem.ACCOUNTING_PERIOD: + return accounting_period() + if self is PaymentsRetrieveRequestExpandItem.APPLIED_TO_LINES: + return applied_to_lines() + if self is PaymentsRetrieveRequestExpandItem.COMPANY: + return company() + if self is PaymentsRetrieveRequestExpandItem.CONTACT: + return contact() + if self is PaymentsRetrieveRequestExpandItem.PAYMENT_METHOD: + return payment_method() + if self is PaymentsRetrieveRequestExpandItem.TRACKING_CATEGORIES: + return tracking_categories() diff --git a/src/merge/resources/accounting/resources/phone_numbers/client.py b/src/merge/resources/accounting/resources/phone_numbers/client.py index 65aa5178..e794ee7f 100644 --- a/src/merge/resources/accounting/resources/phone_numbers/client.py +++ b/src/merge/resources/accounting/resources/phone_numbers/client.py @@ -62,8 +62,6 @@ def retrieve( ) client.accounting.phone_numbers.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) """ _response = self._raw_client.retrieve( @@ -134,8 +132,6 @@ async def retrieve( async def main() -> None: await client.accounting.phone_numbers.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) diff --git a/src/merge/resources/accounting/resources/projects/__init__.py b/src/merge/resources/accounting/resources/projects/__init__.py index 0b00b3f8..c7ddedad 100644 --- a/src/merge/resources/accounting/resources/projects/__init__.py +++ b/src/merge/resources/accounting/resources/projects/__init__.py @@ -6,10 +6,10 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .types import ProjectsListRequestExpand, ProjectsRetrieveRequestExpand + from .types import ProjectsListRequestExpandItem, ProjectsRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "ProjectsListRequestExpand": ".types", - "ProjectsRetrieveRequestExpand": ".types", + "ProjectsListRequestExpandItem": ".types", + "ProjectsRetrieveRequestExpandItem": ".types", } @@ -19,8 +19,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -32,4 +34,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["ProjectsListRequestExpand", "ProjectsRetrieveRequestExpand"] +__all__ = ["ProjectsListRequestExpandItem", "ProjectsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/accounting/resources/projects/client.py b/src/merge/resources/accounting/resources/projects/client.py index 22263c6b..1e08a180 100644 --- a/src/merge/resources/accounting/resources/projects/client.py +++ b/src/merge/resources/accounting/resources/projects/client.py @@ -1,6 +1,5 @@ # This file was auto-generated by Fern from our API Definition. -import datetime as dt import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper @@ -8,8 +7,8 @@ from ...types.paginated_project_list import PaginatedProjectList from ...types.project import Project from .raw_client import AsyncRawProjectsClient, RawProjectsClient -from .types.projects_list_request_expand import ProjectsListRequestExpand -from .types.projects_retrieve_request_expand import ProjectsRetrieveRequestExpand +from .types.projects_list_request_expand_item import ProjectsListRequestExpandItem +from .types.projects_retrieve_request_expand_item import ProjectsRetrieveRequestExpandItem class ProjectsClient: @@ -30,18 +29,14 @@ def with_raw_response(self) -> RawProjectsClient: def list( self, *, - company_id: typing.Optional[str] = None, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[ProjectsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ProjectsListRequestExpandItem, typing.Sequence[ProjectsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, ) -> PaginatedProjectList: """ @@ -49,19 +44,10 @@ def list( Parameters ---------- - company_id : typing.Optional[str] - If provided, will only return projects for this company. - - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[ProjectsListRequestExpand] + expand : typing.Optional[typing.Union[ProjectsListRequestExpandItem, typing.Sequence[ProjectsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -73,18 +59,9 @@ def list( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - page_size : typing.Optional[int] Number of results to return per page. - remote_id : typing.Optional[str] - The API provider's ID for the given object. - request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -95,53 +72,23 @@ def list( Examples -------- - import datetime - from merge import Merge - from merge.resources.accounting.resources.projects import ( - ProjectsListRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) client.accounting.projects.list( - company_id="company_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=ProjectsListRequestExpand.COMPANY, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) """ _response = self._raw_client.list( - company_id=company_id, - created_after=created_after, - created_before=created_before, cursor=cursor, expand=expand, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, include_shell_data=include_shell_data, - modified_after=modified_after, - modified_before=modified_before, page_size=page_size, - remote_id=remote_id, request_options=request_options, ) return _response.data @@ -150,7 +97,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[ProjectsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ProjectsRetrieveRequestExpandItem, typing.Sequence[ProjectsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -162,7 +111,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[ProjectsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[ProjectsRetrieveRequestExpandItem, typing.Sequence[ProjectsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -182,9 +131,6 @@ def retrieve( Examples -------- from merge import Merge - from merge.resources.accounting.resources.projects import ( - ProjectsRetrieveRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -192,9 +138,6 @@ def retrieve( ) client.accounting.projects.retrieve( id="id", - expand=ProjectsRetrieveRequestExpand.COMPANY, - include_remote_data=True, - include_shell_data=True, ) """ _response = self._raw_client.retrieve( @@ -225,18 +168,14 @@ def with_raw_response(self) -> AsyncRawProjectsClient: async def list( self, *, - company_id: typing.Optional[str] = None, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[ProjectsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ProjectsListRequestExpandItem, typing.Sequence[ProjectsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, ) -> PaginatedProjectList: """ @@ -244,19 +183,10 @@ async def list( Parameters ---------- - company_id : typing.Optional[str] - If provided, will only return projects for this company. - - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[ProjectsListRequestExpand] + expand : typing.Optional[typing.Union[ProjectsListRequestExpandItem, typing.Sequence[ProjectsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -268,18 +198,9 @@ async def list( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - page_size : typing.Optional[int] Number of results to return per page. - remote_id : typing.Optional[str] - The API provider's ID for the given object. - request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -291,12 +212,8 @@ async def list( Examples -------- import asyncio - import datetime from merge import AsyncMerge - from merge.resources.accounting.resources.projects import ( - ProjectsListRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -306,44 +223,19 @@ async def list( async def main() -> None: await client.accounting.projects.list( - company_id="company_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=ProjectsListRequestExpand.COMPANY, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) asyncio.run(main()) """ _response = await self._raw_client.list( - company_id=company_id, - created_after=created_after, - created_before=created_before, cursor=cursor, expand=expand, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, include_shell_data=include_shell_data, - modified_after=modified_after, - modified_before=modified_before, page_size=page_size, - remote_id=remote_id, request_options=request_options, ) return _response.data @@ -352,7 +244,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[ProjectsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ProjectsRetrieveRequestExpandItem, typing.Sequence[ProjectsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -364,7 +258,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[ProjectsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[ProjectsRetrieveRequestExpandItem, typing.Sequence[ProjectsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -386,9 +280,6 @@ async def retrieve( import asyncio from merge import AsyncMerge - from merge.resources.accounting.resources.projects import ( - ProjectsRetrieveRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -399,9 +290,6 @@ async def retrieve( async def main() -> None: await client.accounting.projects.retrieve( id="id", - expand=ProjectsRetrieveRequestExpand.COMPANY, - include_remote_data=True, - include_shell_data=True, ) diff --git a/src/merge/resources/accounting/resources/projects/raw_client.py b/src/merge/resources/accounting/resources/projects/raw_client.py index bd66cec8..5a13901e 100644 --- a/src/merge/resources/accounting/resources/projects/raw_client.py +++ b/src/merge/resources/accounting/resources/projects/raw_client.py @@ -1,20 +1,18 @@ # This file was auto-generated by Fern from our API Definition. -import datetime as dt import typing from json.decoder import JSONDecodeError from .....core.api_error import ApiError from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.paginated_project_list import PaginatedProjectList from ...types.project import Project -from .types.projects_list_request_expand import ProjectsListRequestExpand -from .types.projects_retrieve_request_expand import ProjectsRetrieveRequestExpand +from .types.projects_list_request_expand_item import ProjectsListRequestExpandItem +from .types.projects_retrieve_request_expand_item import ProjectsRetrieveRequestExpandItem class RawProjectsClient: @@ -24,18 +22,14 @@ def __init__(self, *, client_wrapper: SyncClientWrapper): def list( self, *, - company_id: typing.Optional[str] = None, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[ProjectsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ProjectsListRequestExpandItem, typing.Sequence[ProjectsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[PaginatedProjectList]: """ @@ -43,19 +37,10 @@ def list( Parameters ---------- - company_id : typing.Optional[str] - If provided, will only return projects for this company. - - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[ProjectsListRequestExpand] + expand : typing.Optional[typing.Union[ProjectsListRequestExpandItem, typing.Sequence[ProjectsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -67,18 +52,9 @@ def list( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - page_size : typing.Optional[int] Number of results to return per page. - remote_id : typing.Optional[str] - The API provider's ID for the given object. - request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -91,18 +67,12 @@ def list( "accounting/v1/projects", method="GET", params={ - "company_id": company_id, - "created_after": serialize_datetime(created_after) if created_after is not None else None, - "created_before": serialize_datetime(created_before) if created_before is not None else None, "cursor": cursor, "expand": expand, "include_deleted_data": include_deleted_data, "include_remote_data": include_remote_data, "include_shell_data": include_shell_data, - "modified_after": serialize_datetime(modified_after) if modified_after is not None else None, - "modified_before": serialize_datetime(modified_before) if modified_before is not None else None, "page_size": page_size, - "remote_id": remote_id, }, request_options=request_options, ) @@ -125,7 +95,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[ProjectsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ProjectsRetrieveRequestExpandItem, typing.Sequence[ProjectsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -137,7 +109,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[ProjectsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[ProjectsRetrieveRequestExpandItem, typing.Sequence[ProjectsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -187,18 +159,14 @@ def __init__(self, *, client_wrapper: AsyncClientWrapper): async def list( self, *, - company_id: typing.Optional[str] = None, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[ProjectsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ProjectsListRequestExpandItem, typing.Sequence[ProjectsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[PaginatedProjectList]: """ @@ -206,19 +174,10 @@ async def list( Parameters ---------- - company_id : typing.Optional[str] - If provided, will only return projects for this company. - - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[ProjectsListRequestExpand] + expand : typing.Optional[typing.Union[ProjectsListRequestExpandItem, typing.Sequence[ProjectsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -230,18 +189,9 @@ async def list( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - page_size : typing.Optional[int] Number of results to return per page. - remote_id : typing.Optional[str] - The API provider's ID for the given object. - request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -254,18 +204,12 @@ async def list( "accounting/v1/projects", method="GET", params={ - "company_id": company_id, - "created_after": serialize_datetime(created_after) if created_after is not None else None, - "created_before": serialize_datetime(created_before) if created_before is not None else None, "cursor": cursor, "expand": expand, "include_deleted_data": include_deleted_data, "include_remote_data": include_remote_data, "include_shell_data": include_shell_data, - "modified_after": serialize_datetime(modified_after) if modified_after is not None else None, - "modified_before": serialize_datetime(modified_before) if modified_before is not None else None, "page_size": page_size, - "remote_id": remote_id, }, request_options=request_options, ) @@ -288,7 +232,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[ProjectsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ProjectsRetrieveRequestExpandItem, typing.Sequence[ProjectsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -300,7 +246,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[ProjectsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[ProjectsRetrieveRequestExpandItem, typing.Sequence[ProjectsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/accounting/resources/projects/types/__init__.py b/src/merge/resources/accounting/resources/projects/types/__init__.py index a419e49d..6d5fe8bc 100644 --- a/src/merge/resources/accounting/resources/projects/types/__init__.py +++ b/src/merge/resources/accounting/resources/projects/types/__init__.py @@ -6,11 +6,11 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .projects_list_request_expand import ProjectsListRequestExpand - from .projects_retrieve_request_expand import ProjectsRetrieveRequestExpand + from .projects_list_request_expand_item import ProjectsListRequestExpandItem + from .projects_retrieve_request_expand_item import ProjectsRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "ProjectsListRequestExpand": ".projects_list_request_expand", - "ProjectsRetrieveRequestExpand": ".projects_retrieve_request_expand", + "ProjectsListRequestExpandItem": ".projects_list_request_expand_item", + "ProjectsRetrieveRequestExpandItem": ".projects_retrieve_request_expand_item", } @@ -20,8 +20,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -33,4 +35,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["ProjectsListRequestExpand", "ProjectsRetrieveRequestExpand"] +__all__ = ["ProjectsListRequestExpandItem", "ProjectsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/accounting/resources/projects/types/projects_list_request_expand.py b/src/merge/resources/accounting/resources/projects/types/projects_list_request_expand.py deleted file mode 100644 index e1f087c4..00000000 --- a/src/merge/resources/accounting/resources/projects/types/projects_list_request_expand.py +++ /dev/null @@ -1,25 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class ProjectsListRequestExpand(str, enum.Enum): - COMPANY = "company" - COMPANY_CONTACT = "company,contact" - CONTACT = "contact" - - def visit( - self, - company: typing.Callable[[], T_Result], - company_contact: typing.Callable[[], T_Result], - contact: typing.Callable[[], T_Result], - ) -> T_Result: - if self is ProjectsListRequestExpand.COMPANY: - return company() - if self is ProjectsListRequestExpand.COMPANY_CONTACT: - return company_contact() - if self is ProjectsListRequestExpand.CONTACT: - return contact() diff --git a/src/merge/resources/accounting/resources/projects/types/projects_list_request_expand_item.py b/src/merge/resources/accounting/resources/projects/types/projects_list_request_expand_item.py new file mode 100644 index 00000000..0a06a67b --- /dev/null +++ b/src/merge/resources/accounting/resources/projects/types/projects_list_request_expand_item.py @@ -0,0 +1,17 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class ProjectsListRequestExpandItem(str, enum.Enum): + COMPANY = "company" + CONTACT = "contact" + + def visit(self, company: typing.Callable[[], T_Result], contact: typing.Callable[[], T_Result]) -> T_Result: + if self is ProjectsListRequestExpandItem.COMPANY: + return company() + if self is ProjectsListRequestExpandItem.CONTACT: + return contact() diff --git a/src/merge/resources/accounting/resources/projects/types/projects_retrieve_request_expand.py b/src/merge/resources/accounting/resources/projects/types/projects_retrieve_request_expand.py deleted file mode 100644 index 7aa1205a..00000000 --- a/src/merge/resources/accounting/resources/projects/types/projects_retrieve_request_expand.py +++ /dev/null @@ -1,25 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class ProjectsRetrieveRequestExpand(str, enum.Enum): - COMPANY = "company" - COMPANY_CONTACT = "company,contact" - CONTACT = "contact" - - def visit( - self, - company: typing.Callable[[], T_Result], - company_contact: typing.Callable[[], T_Result], - contact: typing.Callable[[], T_Result], - ) -> T_Result: - if self is ProjectsRetrieveRequestExpand.COMPANY: - return company() - if self is ProjectsRetrieveRequestExpand.COMPANY_CONTACT: - return company_contact() - if self is ProjectsRetrieveRequestExpand.CONTACT: - return contact() diff --git a/src/merge/resources/accounting/resources/projects/types/projects_retrieve_request_expand_item.py b/src/merge/resources/accounting/resources/projects/types/projects_retrieve_request_expand_item.py new file mode 100644 index 00000000..14927ee8 --- /dev/null +++ b/src/merge/resources/accounting/resources/projects/types/projects_retrieve_request_expand_item.py @@ -0,0 +1,17 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class ProjectsRetrieveRequestExpandItem(str, enum.Enum): + COMPANY = "company" + CONTACT = "contact" + + def visit(self, company: typing.Callable[[], T_Result], contact: typing.Callable[[], T_Result]) -> T_Result: + if self is ProjectsRetrieveRequestExpandItem.COMPANY: + return company() + if self is ProjectsRetrieveRequestExpandItem.CONTACT: + return contact() diff --git a/src/merge/resources/accounting/resources/purchase_orders/__init__.py b/src/merge/resources/accounting/resources/purchase_orders/__init__.py index 60161453..1b0cf82a 100644 --- a/src/merge/resources/accounting/resources/purchase_orders/__init__.py +++ b/src/merge/resources/accounting/resources/purchase_orders/__init__.py @@ -6,10 +6,21 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .types import PurchaseOrdersListRequestExpand, PurchaseOrdersRetrieveRequestExpand + from .types import ( + PurchaseOrdersListRequestExpandItem, + PurchaseOrdersListRequestRemoteFields, + PurchaseOrdersListRequestShowEnumOrigins, + PurchaseOrdersRetrieveRequestExpandItem, + PurchaseOrdersRetrieveRequestRemoteFields, + PurchaseOrdersRetrieveRequestShowEnumOrigins, + ) _dynamic_imports: typing.Dict[str, str] = { - "PurchaseOrdersListRequestExpand": ".types", - "PurchaseOrdersRetrieveRequestExpand": ".types", + "PurchaseOrdersListRequestExpandItem": ".types", + "PurchaseOrdersListRequestRemoteFields": ".types", + "PurchaseOrdersListRequestShowEnumOrigins": ".types", + "PurchaseOrdersRetrieveRequestExpandItem": ".types", + "PurchaseOrdersRetrieveRequestRemoteFields": ".types", + "PurchaseOrdersRetrieveRequestShowEnumOrigins": ".types", } @@ -19,8 +30,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -32,4 +45,11 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["PurchaseOrdersListRequestExpand", "PurchaseOrdersRetrieveRequestExpand"] +__all__ = [ + "PurchaseOrdersListRequestExpandItem", + "PurchaseOrdersListRequestRemoteFields", + "PurchaseOrdersListRequestShowEnumOrigins", + "PurchaseOrdersRetrieveRequestExpandItem", + "PurchaseOrdersRetrieveRequestRemoteFields", + "PurchaseOrdersRetrieveRequestShowEnumOrigins", +] diff --git a/src/merge/resources/accounting/resources/purchase_orders/client.py b/src/merge/resources/accounting/resources/purchase_orders/client.py index 1aeb1d72..3c4764d1 100644 --- a/src/merge/resources/accounting/resources/purchase_orders/client.py +++ b/src/merge/resources/accounting/resources/purchase_orders/client.py @@ -4,6 +4,7 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.meta_response import MetaResponse from ...types.paginated_purchase_order_list import PaginatedPurchaseOrderList @@ -11,9 +12,14 @@ from ...types.purchase_order import PurchaseOrder from ...types.purchase_order_request import PurchaseOrderRequest from ...types.purchase_order_response import PurchaseOrderResponse +from ...types.remote_field_class import RemoteFieldClass from .raw_client import AsyncRawPurchaseOrdersClient, RawPurchaseOrdersClient -from .types.purchase_orders_list_request_expand import PurchaseOrdersListRequestExpand -from .types.purchase_orders_retrieve_request_expand import PurchaseOrdersRetrieveRequestExpand +from .types.purchase_orders_list_request_expand_item import PurchaseOrdersListRequestExpandItem +from .types.purchase_orders_list_request_remote_fields import PurchaseOrdersListRequestRemoteFields +from .types.purchase_orders_list_request_show_enum_origins import PurchaseOrdersListRequestShowEnumOrigins +from .types.purchase_orders_retrieve_request_expand_item import PurchaseOrdersRetrieveRequestExpandItem +from .types.purchase_orders_retrieve_request_remote_fields import PurchaseOrdersRetrieveRequestRemoteFields +from .types.purchase_orders_retrieve_request_show_enum_origins import PurchaseOrdersRetrieveRequestShowEnumOrigins # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -41,7 +47,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[PurchaseOrdersListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[PurchaseOrdersListRequestExpandItem, typing.Sequence[PurchaseOrdersListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -51,11 +59,11 @@ def list( modified_after: typing.Optional[dt.datetime] = None, modified_before: typing.Optional[dt.datetime] = None, page_size: typing.Optional[int] = None, - remote_fields: typing.Optional[typing.Literal["status"]] = None, + remote_fields: typing.Optional[PurchaseOrdersListRequestRemoteFields] = None, remote_id: typing.Optional[str] = None, - show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + show_enum_origins: typing.Optional[PurchaseOrdersListRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedPurchaseOrderList: + ) -> SyncPager[PurchaseOrder, PaginatedPurchaseOrderList]: """ Returns a list of `PurchaseOrder` objects. @@ -73,7 +81,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[PurchaseOrdersListRequestExpand] + expand : typing.Optional[typing.Union[PurchaseOrdersListRequestExpandItem, typing.Sequence[PurchaseOrdersListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -103,13 +111,13 @@ def list( page_size : typing.Optional[int] Number of results to return per page. - remote_fields : typing.Optional[typing.Literal["status"]] + remote_fields : typing.Optional[PurchaseOrdersListRequestRemoteFields] Deprecated. Use show_enum_origins. remote_id : typing.Optional[str] The API provider's ID for the given object. - show_enum_origins : typing.Optional[typing.Literal["status"]] + show_enum_origins : typing.Optional[PurchaseOrdersListRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -117,53 +125,27 @@ def list( Returns ------- - PaginatedPurchaseOrderList + SyncPager[PurchaseOrder, PaginatedPurchaseOrderList] Examples -------- - import datetime - from merge import Merge - from merge.resources.accounting.resources.purchase_orders import ( - PurchaseOrdersListRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.purchase_orders.list( - company_id="company_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = client.accounting.purchase_orders.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=PurchaseOrdersListRequestExpand.ACCOUNTING_PERIOD, - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - issue_date_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - issue_date_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -183,7 +165,6 @@ def list( show_enum_origins=show_enum_origins, request_options=request_options, ) - return _response.data def create( self, @@ -224,8 +205,6 @@ def create( api_key="YOUR_API_KEY", ) client.accounting.purchase_orders.create( - is_debug_mode=True, - run_async=True, model=PurchaseOrderRequest(), ) """ @@ -238,12 +217,16 @@ def retrieve( self, id: str, *, - expand: typing.Optional[PurchaseOrdersRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + PurchaseOrdersRetrieveRequestExpandItem, typing.Sequence[PurchaseOrdersRetrieveRequestExpandItem] + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - remote_fields: typing.Optional[typing.Literal["status"]] = None, - show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + remote_fields: typing.Optional[PurchaseOrdersRetrieveRequestRemoteFields] = None, + show_enum_origins: typing.Optional[PurchaseOrdersRetrieveRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, ) -> PurchaseOrder: """ @@ -253,7 +236,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[PurchaseOrdersRetrieveRequestExpand] + expand : typing.Optional[typing.Union[PurchaseOrdersRetrieveRequestExpandItem, typing.Sequence[PurchaseOrdersRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -265,10 +248,10 @@ def retrieve( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - remote_fields : typing.Optional[typing.Literal["status"]] + remote_fields : typing.Optional[PurchaseOrdersRetrieveRequestRemoteFields] Deprecated. Use show_enum_origins. - show_enum_origins : typing.Optional[typing.Literal["status"]] + show_enum_origins : typing.Optional[PurchaseOrdersRetrieveRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -282,9 +265,6 @@ def retrieve( Examples -------- from merge import Merge - from merge.resources.accounting.resources.purchase_orders import ( - PurchaseOrdersRetrieveRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -292,10 +272,6 @@ def retrieve( ) client.accounting.purchase_orders.retrieve( id="id", - expand=PurchaseOrdersRetrieveRequestExpand.ACCOUNTING_PERIOD, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, ) """ _response = self._raw_client.retrieve( @@ -321,7 +297,7 @@ def line_items_remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -353,7 +329,7 @@ def line_items_remote_field_classes_list( Returns ------- - PaginatedRemoteFieldClassList + SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] Examples @@ -364,17 +340,18 @@ def line_items_remote_field_classes_list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.purchase_orders.line_items_remote_field_classes_list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, + response = ( + client.accounting.purchase_orders.line_items_remote_field_classes_list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + ) ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.line_items_remote_field_classes_list( + return self._raw_client.line_items_remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -384,7 +361,6 @@ def line_items_remote_field_classes_list( page_size=page_size, request_options=request_options, ) - return _response.data def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ @@ -424,7 +400,7 @@ def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -456,7 +432,7 @@ def remote_field_classes_list( Returns ------- - PaginatedRemoteFieldClassList + SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] Examples @@ -467,17 +443,16 @@ def remote_field_classes_list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.purchase_orders.remote_field_classes_list( + response = client.accounting.purchase_orders.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.remote_field_classes_list( + return self._raw_client.remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -487,7 +462,6 @@ def remote_field_classes_list( page_size=page_size, request_options=request_options, ) - return _response.data class AsyncPurchaseOrdersClient: @@ -512,7 +486,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[PurchaseOrdersListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[PurchaseOrdersListRequestExpandItem, typing.Sequence[PurchaseOrdersListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -522,11 +498,11 @@ async def list( modified_after: typing.Optional[dt.datetime] = None, modified_before: typing.Optional[dt.datetime] = None, page_size: typing.Optional[int] = None, - remote_fields: typing.Optional[typing.Literal["status"]] = None, + remote_fields: typing.Optional[PurchaseOrdersListRequestRemoteFields] = None, remote_id: typing.Optional[str] = None, - show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + show_enum_origins: typing.Optional[PurchaseOrdersListRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedPurchaseOrderList: + ) -> AsyncPager[PurchaseOrder, PaginatedPurchaseOrderList]: """ Returns a list of `PurchaseOrder` objects. @@ -544,7 +520,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[PurchaseOrdersListRequestExpand] + expand : typing.Optional[typing.Union[PurchaseOrdersListRequestExpandItem, typing.Sequence[PurchaseOrdersListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -574,13 +550,13 @@ async def list( page_size : typing.Optional[int] Number of results to return per page. - remote_fields : typing.Optional[typing.Literal["status"]] + remote_fields : typing.Optional[PurchaseOrdersListRequestRemoteFields] Deprecated. Use show_enum_origins. remote_id : typing.Optional[str] The API provider's ID for the given object. - show_enum_origins : typing.Optional[typing.Literal["status"]] + show_enum_origins : typing.Optional[PurchaseOrdersListRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -588,18 +564,14 @@ async def list( Returns ------- - PaginatedPurchaseOrderList + AsyncPager[PurchaseOrder, PaginatedPurchaseOrderList] Examples -------- import asyncio - import datetime from merge import AsyncMerge - from merge.resources.accounting.resources.purchase_orders import ( - PurchaseOrdersListRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -608,40 +580,20 @@ async def list( async def main() -> None: - await client.accounting.purchase_orders.list( - company_id="company_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = await client.accounting.purchase_orders.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=PurchaseOrdersListRequestExpand.ACCOUNTING_PERIOD, - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - issue_date_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - issue_date_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -661,7 +613,6 @@ async def main() -> None: show_enum_origins=show_enum_origins, request_options=request_options, ) - return _response.data async def create( self, @@ -707,8 +658,6 @@ async def create( async def main() -> None: await client.accounting.purchase_orders.create( - is_debug_mode=True, - run_async=True, model=PurchaseOrderRequest(), ) @@ -724,12 +673,16 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[PurchaseOrdersRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + PurchaseOrdersRetrieveRequestExpandItem, typing.Sequence[PurchaseOrdersRetrieveRequestExpandItem] + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - remote_fields: typing.Optional[typing.Literal["status"]] = None, - show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + remote_fields: typing.Optional[PurchaseOrdersRetrieveRequestRemoteFields] = None, + show_enum_origins: typing.Optional[PurchaseOrdersRetrieveRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, ) -> PurchaseOrder: """ @@ -739,7 +692,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[PurchaseOrdersRetrieveRequestExpand] + expand : typing.Optional[typing.Union[PurchaseOrdersRetrieveRequestExpandItem, typing.Sequence[PurchaseOrdersRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -751,10 +704,10 @@ async def retrieve( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - remote_fields : typing.Optional[typing.Literal["status"]] + remote_fields : typing.Optional[PurchaseOrdersRetrieveRequestRemoteFields] Deprecated. Use show_enum_origins. - show_enum_origins : typing.Optional[typing.Literal["status"]] + show_enum_origins : typing.Optional[PurchaseOrdersRetrieveRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -770,9 +723,6 @@ async def retrieve( import asyncio from merge import AsyncMerge - from merge.resources.accounting.resources.purchase_orders import ( - PurchaseOrdersRetrieveRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -783,10 +733,6 @@ async def retrieve( async def main() -> None: await client.accounting.purchase_orders.retrieve( id="id", - expand=PurchaseOrdersRetrieveRequestExpand.ACCOUNTING_PERIOD, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, ) @@ -815,7 +761,7 @@ async def line_items_remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -847,7 +793,7 @@ async def line_items_remote_field_classes_list( Returns ------- - PaginatedRemoteFieldClassList + AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] Examples @@ -863,20 +809,20 @@ async def line_items_remote_field_classes_list( async def main() -> None: - await client.accounting.purchase_orders.line_items_remote_field_classes_list( + response = await client.accounting.purchase_orders.line_items_remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.line_items_remote_field_classes_list( + return await self._raw_client.line_items_remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -886,7 +832,6 @@ async def main() -> None: page_size=page_size, request_options=request_options, ) - return _response.data async def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ @@ -934,7 +879,7 @@ async def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -966,7 +911,7 @@ async def remote_field_classes_list( Returns ------- - PaginatedRemoteFieldClassList + AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] Examples @@ -982,20 +927,22 @@ async def remote_field_classes_list( async def main() -> None: - await client.accounting.purchase_orders.remote_field_classes_list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, + response = ( + await client.accounting.purchase_orders.remote_field_classes_list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + ) ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.remote_field_classes_list( + return await self._raw_client.remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -1005,4 +952,3 @@ async def main() -> None: page_size=page_size, request_options=request_options, ) - return _response.data diff --git a/src/merge/resources/accounting/resources/purchase_orders/raw_client.py b/src/merge/resources/accounting/resources/purchase_orders/raw_client.py index 035a7463..558d19e9 100644 --- a/src/merge/resources/accounting/resources/purchase_orders/raw_client.py +++ b/src/merge/resources/accounting/resources/purchase_orders/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.meta_response import MetaResponse @@ -17,8 +18,13 @@ from ...types.purchase_order import PurchaseOrder from ...types.purchase_order_request import PurchaseOrderRequest from ...types.purchase_order_response import PurchaseOrderResponse -from .types.purchase_orders_list_request_expand import PurchaseOrdersListRequestExpand -from .types.purchase_orders_retrieve_request_expand import PurchaseOrdersRetrieveRequestExpand +from ...types.remote_field_class import RemoteFieldClass +from .types.purchase_orders_list_request_expand_item import PurchaseOrdersListRequestExpandItem +from .types.purchase_orders_list_request_remote_fields import PurchaseOrdersListRequestRemoteFields +from .types.purchase_orders_list_request_show_enum_origins import PurchaseOrdersListRequestShowEnumOrigins +from .types.purchase_orders_retrieve_request_expand_item import PurchaseOrdersRetrieveRequestExpandItem +from .types.purchase_orders_retrieve_request_remote_fields import PurchaseOrdersRetrieveRequestRemoteFields +from .types.purchase_orders_retrieve_request_show_enum_origins import PurchaseOrdersRetrieveRequestShowEnumOrigins # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -35,7 +41,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[PurchaseOrdersListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[PurchaseOrdersListRequestExpandItem, typing.Sequence[PurchaseOrdersListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -45,11 +53,11 @@ def list( modified_after: typing.Optional[dt.datetime] = None, modified_before: typing.Optional[dt.datetime] = None, page_size: typing.Optional[int] = None, - remote_fields: typing.Optional[typing.Literal["status"]] = None, + remote_fields: typing.Optional[PurchaseOrdersListRequestRemoteFields] = None, remote_id: typing.Optional[str] = None, - show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + show_enum_origins: typing.Optional[PurchaseOrdersListRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedPurchaseOrderList]: + ) -> SyncPager[PurchaseOrder, PaginatedPurchaseOrderList]: """ Returns a list of `PurchaseOrder` objects. @@ -67,7 +75,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[PurchaseOrdersListRequestExpand] + expand : typing.Optional[typing.Union[PurchaseOrdersListRequestExpandItem, typing.Sequence[PurchaseOrdersListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -97,13 +105,13 @@ def list( page_size : typing.Optional[int] Number of results to return per page. - remote_fields : typing.Optional[typing.Literal["status"]] + remote_fields : typing.Optional[PurchaseOrdersListRequestRemoteFields] Deprecated. Use show_enum_origins. remote_id : typing.Optional[str] The API provider's ID for the given object. - show_enum_origins : typing.Optional[typing.Literal["status"]] + show_enum_origins : typing.Optional[PurchaseOrdersListRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -111,7 +119,7 @@ def list( Returns ------- - HttpResponse[PaginatedPurchaseOrderList] + SyncPager[PurchaseOrder, PaginatedPurchaseOrderList] """ _response = self._client_wrapper.httpx_client.request( @@ -140,14 +148,37 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedPurchaseOrderList, construct_type( type_=PaginatedPurchaseOrderList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + issue_date_after=issue_date_after, + issue_date_before=issue_date_before, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -217,12 +248,16 @@ def retrieve( self, id: str, *, - expand: typing.Optional[PurchaseOrdersRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + PurchaseOrdersRetrieveRequestExpandItem, typing.Sequence[PurchaseOrdersRetrieveRequestExpandItem] + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - remote_fields: typing.Optional[typing.Literal["status"]] = None, - show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + remote_fields: typing.Optional[PurchaseOrdersRetrieveRequestRemoteFields] = None, + show_enum_origins: typing.Optional[PurchaseOrdersRetrieveRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[PurchaseOrder]: """ @@ -232,7 +267,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[PurchaseOrdersRetrieveRequestExpand] + expand : typing.Optional[typing.Union[PurchaseOrdersRetrieveRequestExpandItem, typing.Sequence[PurchaseOrdersRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -244,10 +279,10 @@ def retrieve( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - remote_fields : typing.Optional[typing.Literal["status"]] + remote_fields : typing.Optional[PurchaseOrdersRetrieveRequestRemoteFields] Deprecated. Use show_enum_origins. - show_enum_origins : typing.Optional[typing.Literal["status"]] + show_enum_origins : typing.Optional[PurchaseOrdersRetrieveRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -297,7 +332,7 @@ def line_items_remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedRemoteFieldClassList]: + ) -> SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -329,7 +364,7 @@ def line_items_remote_field_classes_list( Returns ------- - HttpResponse[PaginatedRemoteFieldClassList] + SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] """ _response = self._client_wrapper.httpx_client.request( @@ -348,14 +383,27 @@ def line_items_remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.line_items_remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -408,7 +456,7 @@ def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedRemoteFieldClassList]: + ) -> SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -440,7 +488,7 @@ def remote_field_classes_list( Returns ------- - HttpResponse[PaginatedRemoteFieldClassList] + SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] """ _response = self._client_wrapper.httpx_client.request( @@ -459,14 +507,27 @@ def remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -484,7 +545,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[PurchaseOrdersListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[PurchaseOrdersListRequestExpandItem, typing.Sequence[PurchaseOrdersListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -494,11 +557,11 @@ async def list( modified_after: typing.Optional[dt.datetime] = None, modified_before: typing.Optional[dt.datetime] = None, page_size: typing.Optional[int] = None, - remote_fields: typing.Optional[typing.Literal["status"]] = None, + remote_fields: typing.Optional[PurchaseOrdersListRequestRemoteFields] = None, remote_id: typing.Optional[str] = None, - show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + show_enum_origins: typing.Optional[PurchaseOrdersListRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedPurchaseOrderList]: + ) -> AsyncPager[PurchaseOrder, PaginatedPurchaseOrderList]: """ Returns a list of `PurchaseOrder` objects. @@ -516,7 +579,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[PurchaseOrdersListRequestExpand] + expand : typing.Optional[typing.Union[PurchaseOrdersListRequestExpandItem, typing.Sequence[PurchaseOrdersListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -546,13 +609,13 @@ async def list( page_size : typing.Optional[int] Number of results to return per page. - remote_fields : typing.Optional[typing.Literal["status"]] + remote_fields : typing.Optional[PurchaseOrdersListRequestRemoteFields] Deprecated. Use show_enum_origins. remote_id : typing.Optional[str] The API provider's ID for the given object. - show_enum_origins : typing.Optional[typing.Literal["status"]] + show_enum_origins : typing.Optional[PurchaseOrdersListRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -560,7 +623,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedPurchaseOrderList] + AsyncPager[PurchaseOrder, PaginatedPurchaseOrderList] """ _response = await self._client_wrapper.httpx_client.request( @@ -589,14 +652,40 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedPurchaseOrderList, construct_type( type_=PaginatedPurchaseOrderList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + issue_date_after=issue_date_after, + issue_date_before=issue_date_before, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -666,12 +755,16 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[PurchaseOrdersRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + PurchaseOrdersRetrieveRequestExpandItem, typing.Sequence[PurchaseOrdersRetrieveRequestExpandItem] + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - remote_fields: typing.Optional[typing.Literal["status"]] = None, - show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + remote_fields: typing.Optional[PurchaseOrdersRetrieveRequestRemoteFields] = None, + show_enum_origins: typing.Optional[PurchaseOrdersRetrieveRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[PurchaseOrder]: """ @@ -681,7 +774,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[PurchaseOrdersRetrieveRequestExpand] + expand : typing.Optional[typing.Union[PurchaseOrdersRetrieveRequestExpandItem, typing.Sequence[PurchaseOrdersRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -693,10 +786,10 @@ async def retrieve( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - remote_fields : typing.Optional[typing.Literal["status"]] + remote_fields : typing.Optional[PurchaseOrdersRetrieveRequestRemoteFields] Deprecated. Use show_enum_origins. - show_enum_origins : typing.Optional[typing.Literal["status"]] + show_enum_origins : typing.Optional[PurchaseOrdersRetrieveRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -746,7 +839,7 @@ async def line_items_remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedRemoteFieldClassList]: + ) -> AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -778,7 +871,7 @@ async def line_items_remote_field_classes_list( Returns ------- - AsyncHttpResponse[PaginatedRemoteFieldClassList] + AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] """ _response = await self._client_wrapper.httpx_client.request( @@ -797,14 +890,30 @@ async def line_items_remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.line_items_remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -857,7 +966,7 @@ async def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedRemoteFieldClassList]: + ) -> AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -889,7 +998,7 @@ async def remote_field_classes_list( Returns ------- - AsyncHttpResponse[PaginatedRemoteFieldClassList] + AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] """ _response = await self._client_wrapper.httpx_client.request( @@ -908,14 +1017,30 @@ async def remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/accounting/resources/purchase_orders/types/__init__.py b/src/merge/resources/accounting/resources/purchase_orders/types/__init__.py index 60547917..6bf8f2be 100644 --- a/src/merge/resources/accounting/resources/purchase_orders/types/__init__.py +++ b/src/merge/resources/accounting/resources/purchase_orders/types/__init__.py @@ -6,11 +6,19 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .purchase_orders_list_request_expand import PurchaseOrdersListRequestExpand - from .purchase_orders_retrieve_request_expand import PurchaseOrdersRetrieveRequestExpand + from .purchase_orders_list_request_expand_item import PurchaseOrdersListRequestExpandItem + from .purchase_orders_list_request_remote_fields import PurchaseOrdersListRequestRemoteFields + from .purchase_orders_list_request_show_enum_origins import PurchaseOrdersListRequestShowEnumOrigins + from .purchase_orders_retrieve_request_expand_item import PurchaseOrdersRetrieveRequestExpandItem + from .purchase_orders_retrieve_request_remote_fields import PurchaseOrdersRetrieveRequestRemoteFields + from .purchase_orders_retrieve_request_show_enum_origins import PurchaseOrdersRetrieveRequestShowEnumOrigins _dynamic_imports: typing.Dict[str, str] = { - "PurchaseOrdersListRequestExpand": ".purchase_orders_list_request_expand", - "PurchaseOrdersRetrieveRequestExpand": ".purchase_orders_retrieve_request_expand", + "PurchaseOrdersListRequestExpandItem": ".purchase_orders_list_request_expand_item", + "PurchaseOrdersListRequestRemoteFields": ".purchase_orders_list_request_remote_fields", + "PurchaseOrdersListRequestShowEnumOrigins": ".purchase_orders_list_request_show_enum_origins", + "PurchaseOrdersRetrieveRequestExpandItem": ".purchase_orders_retrieve_request_expand_item", + "PurchaseOrdersRetrieveRequestRemoteFields": ".purchase_orders_retrieve_request_remote_fields", + "PurchaseOrdersRetrieveRequestShowEnumOrigins": ".purchase_orders_retrieve_request_show_enum_origins", } @@ -20,8 +28,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -33,4 +43,11 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["PurchaseOrdersListRequestExpand", "PurchaseOrdersRetrieveRequestExpand"] +__all__ = [ + "PurchaseOrdersListRequestExpandItem", + "PurchaseOrdersListRequestRemoteFields", + "PurchaseOrdersListRequestShowEnumOrigins", + "PurchaseOrdersRetrieveRequestExpandItem", + "PurchaseOrdersRetrieveRequestRemoteFields", + "PurchaseOrdersRetrieveRequestShowEnumOrigins", +] diff --git a/src/merge/resources/accounting/resources/purchase_orders/types/purchase_orders_list_request_expand.py b/src/merge/resources/accounting/resources/purchase_orders/types/purchase_orders_list_request_expand.py deleted file mode 100644 index 7fbb9f9d..00000000 --- a/src/merge/resources/accounting/resources/purchase_orders/types/purchase_orders_list_request_expand.py +++ /dev/null @@ -1,654 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class PurchaseOrdersListRequestExpand(str, enum.Enum): - ACCOUNTING_PERIOD = "accounting_period" - ACCOUNTING_PERIOD_PAYMENT_TERM = "accounting_period,payment_term" - COMPANY = "company" - COMPANY_ACCOUNTING_PERIOD = "company,accounting_period" - COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "company,accounting_period,payment_term" - COMPANY_PAYMENT_TERM = "company,payment_term" - DELIVERY_ADDRESS = "delivery_address" - DELIVERY_ADDRESS_ACCOUNTING_PERIOD = "delivery_address,accounting_period" - DELIVERY_ADDRESS_ACCOUNTING_PERIOD_PAYMENT_TERM = "delivery_address,accounting_period,payment_term" - DELIVERY_ADDRESS_COMPANY = "delivery_address,company" - DELIVERY_ADDRESS_COMPANY_ACCOUNTING_PERIOD = "delivery_address,company,accounting_period" - DELIVERY_ADDRESS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "delivery_address,company,accounting_period,payment_term" - DELIVERY_ADDRESS_COMPANY_PAYMENT_TERM = "delivery_address,company,payment_term" - DELIVERY_ADDRESS_PAYMENT_TERM = "delivery_address,payment_term" - DELIVERY_ADDRESS_VENDOR = "delivery_address,vendor" - DELIVERY_ADDRESS_VENDOR_ACCOUNTING_PERIOD = "delivery_address,vendor,accounting_period" - DELIVERY_ADDRESS_VENDOR_ACCOUNTING_PERIOD_PAYMENT_TERM = "delivery_address,vendor,accounting_period,payment_term" - DELIVERY_ADDRESS_VENDOR_COMPANY = "delivery_address,vendor,company" - DELIVERY_ADDRESS_VENDOR_COMPANY_ACCOUNTING_PERIOD = "delivery_address,vendor,company,accounting_period" - DELIVERY_ADDRESS_VENDOR_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "delivery_address,vendor,company,accounting_period,payment_term" - ) - DELIVERY_ADDRESS_VENDOR_COMPANY_PAYMENT_TERM = "delivery_address,vendor,company,payment_term" - DELIVERY_ADDRESS_VENDOR_PAYMENT_TERM = "delivery_address,vendor,payment_term" - LINE_ITEMS = "line_items" - LINE_ITEMS_ACCOUNTING_PERIOD = "line_items,accounting_period" - LINE_ITEMS_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,accounting_period,payment_term" - LINE_ITEMS_COMPANY = "line_items,company" - LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD = "line_items,company,accounting_period" - LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,company,accounting_period,payment_term" - LINE_ITEMS_COMPANY_PAYMENT_TERM = "line_items,company,payment_term" - LINE_ITEMS_DELIVERY_ADDRESS = "line_items,delivery_address" - LINE_ITEMS_DELIVERY_ADDRESS_ACCOUNTING_PERIOD = "line_items,delivery_address,accounting_period" - LINE_ITEMS_DELIVERY_ADDRESS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,delivery_address,accounting_period,payment_term" - ) - LINE_ITEMS_DELIVERY_ADDRESS_COMPANY = "line_items,delivery_address,company" - LINE_ITEMS_DELIVERY_ADDRESS_COMPANY_ACCOUNTING_PERIOD = "line_items,delivery_address,company,accounting_period" - LINE_ITEMS_DELIVERY_ADDRESS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,delivery_address,company,accounting_period,payment_term" - ) - LINE_ITEMS_DELIVERY_ADDRESS_COMPANY_PAYMENT_TERM = "line_items,delivery_address,company,payment_term" - LINE_ITEMS_DELIVERY_ADDRESS_PAYMENT_TERM = "line_items,delivery_address,payment_term" - LINE_ITEMS_DELIVERY_ADDRESS_VENDOR = "line_items,delivery_address,vendor" - LINE_ITEMS_DELIVERY_ADDRESS_VENDOR_ACCOUNTING_PERIOD = "line_items,delivery_address,vendor,accounting_period" - LINE_ITEMS_DELIVERY_ADDRESS_VENDOR_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,delivery_address,vendor,accounting_period,payment_term" - ) - LINE_ITEMS_DELIVERY_ADDRESS_VENDOR_COMPANY = "line_items,delivery_address,vendor,company" - LINE_ITEMS_DELIVERY_ADDRESS_VENDOR_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,delivery_address,vendor,company,accounting_period" - ) - LINE_ITEMS_DELIVERY_ADDRESS_VENDOR_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,delivery_address,vendor,company,accounting_period,payment_term" - ) - LINE_ITEMS_DELIVERY_ADDRESS_VENDOR_COMPANY_PAYMENT_TERM = "line_items,delivery_address,vendor,company,payment_term" - LINE_ITEMS_DELIVERY_ADDRESS_VENDOR_PAYMENT_TERM = "line_items,delivery_address,vendor,payment_term" - LINE_ITEMS_PAYMENT_TERM = "line_items,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES = "line_items,tracking_categories" - LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "line_items,tracking_categories,accounting_period" - LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_COMPANY = "line_items,tracking_categories,company" - LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,company,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM = "line_items,tracking_categories,company,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS = "line_items,tracking_categories,delivery_address" - LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,delivery_address,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,delivery_address,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_COMPANY = "line_items,tracking_categories,delivery_address,company" - LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,delivery_address,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,delivery_address,company,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_COMPANY_PAYMENT_TERM = ( - "line_items,tracking_categories,delivery_address,company,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_PAYMENT_TERM = ( - "line_items,tracking_categories,delivery_address,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR = "line_items,tracking_categories,delivery_address,vendor" - LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,delivery_address,vendor,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,delivery_address,vendor,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_COMPANY = ( - "line_items,tracking_categories,delivery_address,vendor,company" - ) - LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,delivery_address,vendor,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,delivery_address,vendor,company,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_COMPANY_PAYMENT_TERM = ( - "line_items,tracking_categories,delivery_address,vendor,company,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_PAYMENT_TERM = ( - "line_items,tracking_categories,delivery_address,vendor,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PAYMENT_TERM = "line_items,tracking_categories,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_VENDOR = "line_items,tracking_categories,vendor" - LINE_ITEMS_TRACKING_CATEGORIES_VENDOR_ACCOUNTING_PERIOD = "line_items,tracking_categories,vendor,accounting_period" - LINE_ITEMS_TRACKING_CATEGORIES_VENDOR_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,vendor,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_VENDOR_COMPANY = "line_items,tracking_categories,vendor,company" - LINE_ITEMS_TRACKING_CATEGORIES_VENDOR_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,vendor,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_VENDOR_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,vendor,company,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_VENDOR_COMPANY_PAYMENT_TERM = ( - "line_items,tracking_categories,vendor,company,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_VENDOR_PAYMENT_TERM = "line_items,tracking_categories,vendor,payment_term" - LINE_ITEMS_VENDOR = "line_items,vendor" - LINE_ITEMS_VENDOR_ACCOUNTING_PERIOD = "line_items,vendor,accounting_period" - LINE_ITEMS_VENDOR_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,vendor,accounting_period,payment_term" - LINE_ITEMS_VENDOR_COMPANY = "line_items,vendor,company" - LINE_ITEMS_VENDOR_COMPANY_ACCOUNTING_PERIOD = "line_items,vendor,company,accounting_period" - LINE_ITEMS_VENDOR_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,vendor,company,accounting_period,payment_term" - ) - LINE_ITEMS_VENDOR_COMPANY_PAYMENT_TERM = "line_items,vendor,company,payment_term" - LINE_ITEMS_VENDOR_PAYMENT_TERM = "line_items,vendor,payment_term" - PAYMENT_TERM = "payment_term" - TRACKING_CATEGORIES = "tracking_categories" - TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "tracking_categories,accounting_period" - TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM = "tracking_categories,accounting_period,payment_term" - TRACKING_CATEGORIES_COMPANY = "tracking_categories,company" - TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,company,accounting_period" - TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,company,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM = "tracking_categories,company,payment_term" - TRACKING_CATEGORIES_DELIVERY_ADDRESS = "tracking_categories,delivery_address" - TRACKING_CATEGORIES_DELIVERY_ADDRESS_ACCOUNTING_PERIOD = "tracking_categories,delivery_address,accounting_period" - TRACKING_CATEGORIES_DELIVERY_ADDRESS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,delivery_address,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_DELIVERY_ADDRESS_COMPANY = "tracking_categories,delivery_address,company" - TRACKING_CATEGORIES_DELIVERY_ADDRESS_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,delivery_address,company,accounting_period" - ) - TRACKING_CATEGORIES_DELIVERY_ADDRESS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,delivery_address,company,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_DELIVERY_ADDRESS_COMPANY_PAYMENT_TERM = ( - "tracking_categories,delivery_address,company,payment_term" - ) - TRACKING_CATEGORIES_DELIVERY_ADDRESS_PAYMENT_TERM = "tracking_categories,delivery_address,payment_term" - TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR = "tracking_categories,delivery_address,vendor" - TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_ACCOUNTING_PERIOD = ( - "tracking_categories,delivery_address,vendor,accounting_period" - ) - TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,delivery_address,vendor,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_COMPANY = "tracking_categories,delivery_address,vendor,company" - TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,delivery_address,vendor,company,accounting_period" - ) - TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,delivery_address,vendor,company,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_COMPANY_PAYMENT_TERM = ( - "tracking_categories,delivery_address,vendor,company,payment_term" - ) - TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_PAYMENT_TERM = ( - "tracking_categories,delivery_address,vendor,payment_term" - ) - TRACKING_CATEGORIES_PAYMENT_TERM = "tracking_categories,payment_term" - TRACKING_CATEGORIES_VENDOR = "tracking_categories,vendor" - TRACKING_CATEGORIES_VENDOR_ACCOUNTING_PERIOD = "tracking_categories,vendor,accounting_period" - TRACKING_CATEGORIES_VENDOR_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,vendor,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_VENDOR_COMPANY = "tracking_categories,vendor,company" - TRACKING_CATEGORIES_VENDOR_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,vendor,company,accounting_period" - TRACKING_CATEGORIES_VENDOR_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,vendor,company,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_VENDOR_COMPANY_PAYMENT_TERM = "tracking_categories,vendor,company,payment_term" - TRACKING_CATEGORIES_VENDOR_PAYMENT_TERM = "tracking_categories,vendor,payment_term" - VENDOR = "vendor" - VENDOR_ACCOUNTING_PERIOD = "vendor,accounting_period" - VENDOR_ACCOUNTING_PERIOD_PAYMENT_TERM = "vendor,accounting_period,payment_term" - VENDOR_COMPANY = "vendor,company" - VENDOR_COMPANY_ACCOUNTING_PERIOD = "vendor,company,accounting_period" - VENDOR_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "vendor,company,accounting_period,payment_term" - VENDOR_COMPANY_PAYMENT_TERM = "vendor,company,payment_term" - VENDOR_PAYMENT_TERM = "vendor,payment_term" - - def visit( - self, - accounting_period: typing.Callable[[], T_Result], - accounting_period_payment_term: typing.Callable[[], T_Result], - company: typing.Callable[[], T_Result], - company_accounting_period: typing.Callable[[], T_Result], - company_accounting_period_payment_term: typing.Callable[[], T_Result], - company_payment_term: typing.Callable[[], T_Result], - delivery_address: typing.Callable[[], T_Result], - delivery_address_accounting_period: typing.Callable[[], T_Result], - delivery_address_accounting_period_payment_term: typing.Callable[[], T_Result], - delivery_address_company: typing.Callable[[], T_Result], - delivery_address_company_accounting_period: typing.Callable[[], T_Result], - delivery_address_company_accounting_period_payment_term: typing.Callable[[], T_Result], - delivery_address_company_payment_term: typing.Callable[[], T_Result], - delivery_address_payment_term: typing.Callable[[], T_Result], - delivery_address_vendor: typing.Callable[[], T_Result], - delivery_address_vendor_accounting_period: typing.Callable[[], T_Result], - delivery_address_vendor_accounting_period_payment_term: typing.Callable[[], T_Result], - delivery_address_vendor_company: typing.Callable[[], T_Result], - delivery_address_vendor_company_accounting_period: typing.Callable[[], T_Result], - delivery_address_vendor_company_accounting_period_payment_term: typing.Callable[[], T_Result], - delivery_address_vendor_company_payment_term: typing.Callable[[], T_Result], - delivery_address_vendor_payment_term: typing.Callable[[], T_Result], - line_items: typing.Callable[[], T_Result], - line_items_accounting_period: typing.Callable[[], T_Result], - line_items_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_company: typing.Callable[[], T_Result], - line_items_company_accounting_period: typing.Callable[[], T_Result], - line_items_company_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_company_payment_term: typing.Callable[[], T_Result], - line_items_delivery_address: typing.Callable[[], T_Result], - line_items_delivery_address_accounting_period: typing.Callable[[], T_Result], - line_items_delivery_address_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_delivery_address_company: typing.Callable[[], T_Result], - line_items_delivery_address_company_accounting_period: typing.Callable[[], T_Result], - line_items_delivery_address_company_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_delivery_address_company_payment_term: typing.Callable[[], T_Result], - line_items_delivery_address_payment_term: typing.Callable[[], T_Result], - line_items_delivery_address_vendor: typing.Callable[[], T_Result], - line_items_delivery_address_vendor_accounting_period: typing.Callable[[], T_Result], - line_items_delivery_address_vendor_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_delivery_address_vendor_company: typing.Callable[[], T_Result], - line_items_delivery_address_vendor_company_accounting_period: typing.Callable[[], T_Result], - line_items_delivery_address_vendor_company_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_delivery_address_vendor_company_payment_term: typing.Callable[[], T_Result], - line_items_delivery_address_vendor_payment_term: typing.Callable[[], T_Result], - line_items_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories: typing.Callable[[], T_Result], - line_items_tracking_categories_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_company: typing.Callable[[], T_Result], - line_items_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_company_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_company_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_delivery_address: typing.Callable[[], T_Result], - line_items_tracking_categories_delivery_address_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_delivery_address_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_delivery_address_company: typing.Callable[[], T_Result], - line_items_tracking_categories_delivery_address_company_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_delivery_address_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_delivery_address_company_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_delivery_address_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_delivery_address_vendor: typing.Callable[[], T_Result], - line_items_tracking_categories_delivery_address_vendor_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_delivery_address_vendor_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_delivery_address_vendor_company: typing.Callable[[], T_Result], - line_items_tracking_categories_delivery_address_vendor_company_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_delivery_address_vendor_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_delivery_address_vendor_company_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_delivery_address_vendor_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_vendor: typing.Callable[[], T_Result], - line_items_tracking_categories_vendor_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_vendor_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_vendor_company: typing.Callable[[], T_Result], - line_items_tracking_categories_vendor_company_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_vendor_company_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_vendor_company_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_vendor_payment_term: typing.Callable[[], T_Result], - line_items_vendor: typing.Callable[[], T_Result], - line_items_vendor_accounting_period: typing.Callable[[], T_Result], - line_items_vendor_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_vendor_company: typing.Callable[[], T_Result], - line_items_vendor_company_accounting_period: typing.Callable[[], T_Result], - line_items_vendor_company_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_vendor_company_payment_term: typing.Callable[[], T_Result], - line_items_vendor_payment_term: typing.Callable[[], T_Result], - payment_term: typing.Callable[[], T_Result], - tracking_categories: typing.Callable[[], T_Result], - tracking_categories_accounting_period: typing.Callable[[], T_Result], - tracking_categories_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_company: typing.Callable[[], T_Result], - tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_company_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_company_payment_term: typing.Callable[[], T_Result], - tracking_categories_delivery_address: typing.Callable[[], T_Result], - tracking_categories_delivery_address_accounting_period: typing.Callable[[], T_Result], - tracking_categories_delivery_address_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_delivery_address_company: typing.Callable[[], T_Result], - tracking_categories_delivery_address_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_delivery_address_company_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_delivery_address_company_payment_term: typing.Callable[[], T_Result], - tracking_categories_delivery_address_payment_term: typing.Callable[[], T_Result], - tracking_categories_delivery_address_vendor: typing.Callable[[], T_Result], - tracking_categories_delivery_address_vendor_accounting_period: typing.Callable[[], T_Result], - tracking_categories_delivery_address_vendor_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_delivery_address_vendor_company: typing.Callable[[], T_Result], - tracking_categories_delivery_address_vendor_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_delivery_address_vendor_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_delivery_address_vendor_company_payment_term: typing.Callable[[], T_Result], - tracking_categories_delivery_address_vendor_payment_term: typing.Callable[[], T_Result], - tracking_categories_payment_term: typing.Callable[[], T_Result], - tracking_categories_vendor: typing.Callable[[], T_Result], - tracking_categories_vendor_accounting_period: typing.Callable[[], T_Result], - tracking_categories_vendor_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_vendor_company: typing.Callable[[], T_Result], - tracking_categories_vendor_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_vendor_company_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_vendor_company_payment_term: typing.Callable[[], T_Result], - tracking_categories_vendor_payment_term: typing.Callable[[], T_Result], - vendor: typing.Callable[[], T_Result], - vendor_accounting_period: typing.Callable[[], T_Result], - vendor_accounting_period_payment_term: typing.Callable[[], T_Result], - vendor_company: typing.Callable[[], T_Result], - vendor_company_accounting_period: typing.Callable[[], T_Result], - vendor_company_accounting_period_payment_term: typing.Callable[[], T_Result], - vendor_company_payment_term: typing.Callable[[], T_Result], - vendor_payment_term: typing.Callable[[], T_Result], - ) -> T_Result: - if self is PurchaseOrdersListRequestExpand.ACCOUNTING_PERIOD: - return accounting_period() - if self is PurchaseOrdersListRequestExpand.ACCOUNTING_PERIOD_PAYMENT_TERM: - return accounting_period_payment_term() - if self is PurchaseOrdersListRequestExpand.COMPANY: - return company() - if self is PurchaseOrdersListRequestExpand.COMPANY_ACCOUNTING_PERIOD: - return company_accounting_period() - if self is PurchaseOrdersListRequestExpand.COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return company_accounting_period_payment_term() - if self is PurchaseOrdersListRequestExpand.COMPANY_PAYMENT_TERM: - return company_payment_term() - if self is PurchaseOrdersListRequestExpand.DELIVERY_ADDRESS: - return delivery_address() - if self is PurchaseOrdersListRequestExpand.DELIVERY_ADDRESS_ACCOUNTING_PERIOD: - return delivery_address_accounting_period() - if self is PurchaseOrdersListRequestExpand.DELIVERY_ADDRESS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return delivery_address_accounting_period_payment_term() - if self is PurchaseOrdersListRequestExpand.DELIVERY_ADDRESS_COMPANY: - return delivery_address_company() - if self is PurchaseOrdersListRequestExpand.DELIVERY_ADDRESS_COMPANY_ACCOUNTING_PERIOD: - return delivery_address_company_accounting_period() - if self is PurchaseOrdersListRequestExpand.DELIVERY_ADDRESS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return delivery_address_company_accounting_period_payment_term() - if self is PurchaseOrdersListRequestExpand.DELIVERY_ADDRESS_COMPANY_PAYMENT_TERM: - return delivery_address_company_payment_term() - if self is PurchaseOrdersListRequestExpand.DELIVERY_ADDRESS_PAYMENT_TERM: - return delivery_address_payment_term() - if self is PurchaseOrdersListRequestExpand.DELIVERY_ADDRESS_VENDOR: - return delivery_address_vendor() - if self is PurchaseOrdersListRequestExpand.DELIVERY_ADDRESS_VENDOR_ACCOUNTING_PERIOD: - return delivery_address_vendor_accounting_period() - if self is PurchaseOrdersListRequestExpand.DELIVERY_ADDRESS_VENDOR_ACCOUNTING_PERIOD_PAYMENT_TERM: - return delivery_address_vendor_accounting_period_payment_term() - if self is PurchaseOrdersListRequestExpand.DELIVERY_ADDRESS_VENDOR_COMPANY: - return delivery_address_vendor_company() - if self is PurchaseOrdersListRequestExpand.DELIVERY_ADDRESS_VENDOR_COMPANY_ACCOUNTING_PERIOD: - return delivery_address_vendor_company_accounting_period() - if self is PurchaseOrdersListRequestExpand.DELIVERY_ADDRESS_VENDOR_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return delivery_address_vendor_company_accounting_period_payment_term() - if self is PurchaseOrdersListRequestExpand.DELIVERY_ADDRESS_VENDOR_COMPANY_PAYMENT_TERM: - return delivery_address_vendor_company_payment_term() - if self is PurchaseOrdersListRequestExpand.DELIVERY_ADDRESS_VENDOR_PAYMENT_TERM: - return delivery_address_vendor_payment_term() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS: - return line_items() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_ACCOUNTING_PERIOD: - return line_items_accounting_period() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_accounting_period_payment_term() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_COMPANY: - return line_items_company() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD: - return line_items_company_accounting_period() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_company_accounting_period_payment_term() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_COMPANY_PAYMENT_TERM: - return line_items_company_payment_term() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_DELIVERY_ADDRESS: - return line_items_delivery_address() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_DELIVERY_ADDRESS_ACCOUNTING_PERIOD: - return line_items_delivery_address_accounting_period() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_DELIVERY_ADDRESS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_delivery_address_accounting_period_payment_term() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_DELIVERY_ADDRESS_COMPANY: - return line_items_delivery_address_company() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_DELIVERY_ADDRESS_COMPANY_ACCOUNTING_PERIOD: - return line_items_delivery_address_company_accounting_period() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_DELIVERY_ADDRESS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_delivery_address_company_accounting_period_payment_term() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_DELIVERY_ADDRESS_COMPANY_PAYMENT_TERM: - return line_items_delivery_address_company_payment_term() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_DELIVERY_ADDRESS_PAYMENT_TERM: - return line_items_delivery_address_payment_term() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_DELIVERY_ADDRESS_VENDOR: - return line_items_delivery_address_vendor() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_DELIVERY_ADDRESS_VENDOR_ACCOUNTING_PERIOD: - return line_items_delivery_address_vendor_accounting_period() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_DELIVERY_ADDRESS_VENDOR_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_delivery_address_vendor_accounting_period_payment_term() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_DELIVERY_ADDRESS_VENDOR_COMPANY: - return line_items_delivery_address_vendor_company() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_DELIVERY_ADDRESS_VENDOR_COMPANY_ACCOUNTING_PERIOD: - return line_items_delivery_address_vendor_company_accounting_period() - if ( - self - is PurchaseOrdersListRequestExpand.LINE_ITEMS_DELIVERY_ADDRESS_VENDOR_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_delivery_address_vendor_company_accounting_period_payment_term() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_DELIVERY_ADDRESS_VENDOR_COMPANY_PAYMENT_TERM: - return line_items_delivery_address_vendor_company_payment_term() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_DELIVERY_ADDRESS_VENDOR_PAYMENT_TERM: - return line_items_delivery_address_vendor_payment_term() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_PAYMENT_TERM: - return line_items_payment_term() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES: - return line_items_tracking_categories() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return line_items_tracking_categories_accounting_period() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_tracking_categories_accounting_period_payment_term() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_COMPANY: - return line_items_tracking_categories_company() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return line_items_tracking_categories_company_accounting_period() - if ( - self - is PurchaseOrdersListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_company_accounting_period_payment_term() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM: - return line_items_tracking_categories_company_payment_term() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS: - return line_items_tracking_categories_delivery_address() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_ACCOUNTING_PERIOD: - return line_items_tracking_categories_delivery_address_accounting_period() - if ( - self - is PurchaseOrdersListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_delivery_address_accounting_period_payment_term() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_COMPANY: - return line_items_tracking_categories_delivery_address_company() - if ( - self - is PurchaseOrdersListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_delivery_address_company_accounting_period() - if ( - self - is PurchaseOrdersListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_delivery_address_company_accounting_period_payment_term() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_COMPANY_PAYMENT_TERM: - return line_items_tracking_categories_delivery_address_company_payment_term() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_PAYMENT_TERM: - return line_items_tracking_categories_delivery_address_payment_term() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR: - return line_items_tracking_categories_delivery_address_vendor() - if ( - self - is PurchaseOrdersListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_delivery_address_vendor_accounting_period() - if ( - self - is PurchaseOrdersListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_delivery_address_vendor_accounting_period_payment_term() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_COMPANY: - return line_items_tracking_categories_delivery_address_vendor_company() - if ( - self - is PurchaseOrdersListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_delivery_address_vendor_company_accounting_period() - if ( - self - is PurchaseOrdersListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_delivery_address_vendor_company_accounting_period_payment_term() - if ( - self - is PurchaseOrdersListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_COMPANY_PAYMENT_TERM - ): - return line_items_tracking_categories_delivery_address_vendor_company_payment_term() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_PAYMENT_TERM: - return line_items_tracking_categories_delivery_address_vendor_payment_term() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PAYMENT_TERM: - return line_items_tracking_categories_payment_term() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_VENDOR: - return line_items_tracking_categories_vendor() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_VENDOR_ACCOUNTING_PERIOD: - return line_items_tracking_categories_vendor_accounting_period() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_VENDOR_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_tracking_categories_vendor_accounting_period_payment_term() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_VENDOR_COMPANY: - return line_items_tracking_categories_vendor_company() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_VENDOR_COMPANY_ACCOUNTING_PERIOD: - return line_items_tracking_categories_vendor_company_accounting_period() - if ( - self - is PurchaseOrdersListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_VENDOR_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_vendor_company_accounting_period_payment_term() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_VENDOR_COMPANY_PAYMENT_TERM: - return line_items_tracking_categories_vendor_company_payment_term() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_VENDOR_PAYMENT_TERM: - return line_items_tracking_categories_vendor_payment_term() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_VENDOR: - return line_items_vendor() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_VENDOR_ACCOUNTING_PERIOD: - return line_items_vendor_accounting_period() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_VENDOR_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_vendor_accounting_period_payment_term() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_VENDOR_COMPANY: - return line_items_vendor_company() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_VENDOR_COMPANY_ACCOUNTING_PERIOD: - return line_items_vendor_company_accounting_period() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_VENDOR_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_vendor_company_accounting_period_payment_term() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_VENDOR_COMPANY_PAYMENT_TERM: - return line_items_vendor_company_payment_term() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_VENDOR_PAYMENT_TERM: - return line_items_vendor_payment_term() - if self is PurchaseOrdersListRequestExpand.PAYMENT_TERM: - return payment_term() - if self is PurchaseOrdersListRequestExpand.TRACKING_CATEGORIES: - return tracking_categories() - if self is PurchaseOrdersListRequestExpand.TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return tracking_categories_accounting_period() - if self is PurchaseOrdersListRequestExpand.TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM: - return tracking_categories_accounting_period_payment_term() - if self is PurchaseOrdersListRequestExpand.TRACKING_CATEGORIES_COMPANY: - return tracking_categories_company() - if self is PurchaseOrdersListRequestExpand.TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_company_accounting_period() - if self is PurchaseOrdersListRequestExpand.TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return tracking_categories_company_accounting_period_payment_term() - if self is PurchaseOrdersListRequestExpand.TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM: - return tracking_categories_company_payment_term() - if self is PurchaseOrdersListRequestExpand.TRACKING_CATEGORIES_DELIVERY_ADDRESS: - return tracking_categories_delivery_address() - if self is PurchaseOrdersListRequestExpand.TRACKING_CATEGORIES_DELIVERY_ADDRESS_ACCOUNTING_PERIOD: - return tracking_categories_delivery_address_accounting_period() - if self is PurchaseOrdersListRequestExpand.TRACKING_CATEGORIES_DELIVERY_ADDRESS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return tracking_categories_delivery_address_accounting_period_payment_term() - if self is PurchaseOrdersListRequestExpand.TRACKING_CATEGORIES_DELIVERY_ADDRESS_COMPANY: - return tracking_categories_delivery_address_company() - if self is PurchaseOrdersListRequestExpand.TRACKING_CATEGORIES_DELIVERY_ADDRESS_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_delivery_address_company_accounting_period() - if ( - self - is PurchaseOrdersListRequestExpand.TRACKING_CATEGORIES_DELIVERY_ADDRESS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_delivery_address_company_accounting_period_payment_term() - if self is PurchaseOrdersListRequestExpand.TRACKING_CATEGORIES_DELIVERY_ADDRESS_COMPANY_PAYMENT_TERM: - return tracking_categories_delivery_address_company_payment_term() - if self is PurchaseOrdersListRequestExpand.TRACKING_CATEGORIES_DELIVERY_ADDRESS_PAYMENT_TERM: - return tracking_categories_delivery_address_payment_term() - if self is PurchaseOrdersListRequestExpand.TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR: - return tracking_categories_delivery_address_vendor() - if self is PurchaseOrdersListRequestExpand.TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_ACCOUNTING_PERIOD: - return tracking_categories_delivery_address_vendor_accounting_period() - if ( - self - is PurchaseOrdersListRequestExpand.TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_delivery_address_vendor_accounting_period_payment_term() - if self is PurchaseOrdersListRequestExpand.TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_COMPANY: - return tracking_categories_delivery_address_vendor_company() - if ( - self - is PurchaseOrdersListRequestExpand.TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_COMPANY_ACCOUNTING_PERIOD - ): - return tracking_categories_delivery_address_vendor_company_accounting_period() - if ( - self - is PurchaseOrdersListRequestExpand.TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_delivery_address_vendor_company_accounting_period_payment_term() - if self is PurchaseOrdersListRequestExpand.TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_COMPANY_PAYMENT_TERM: - return tracking_categories_delivery_address_vendor_company_payment_term() - if self is PurchaseOrdersListRequestExpand.TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_PAYMENT_TERM: - return tracking_categories_delivery_address_vendor_payment_term() - if self is PurchaseOrdersListRequestExpand.TRACKING_CATEGORIES_PAYMENT_TERM: - return tracking_categories_payment_term() - if self is PurchaseOrdersListRequestExpand.TRACKING_CATEGORIES_VENDOR: - return tracking_categories_vendor() - if self is PurchaseOrdersListRequestExpand.TRACKING_CATEGORIES_VENDOR_ACCOUNTING_PERIOD: - return tracking_categories_vendor_accounting_period() - if self is PurchaseOrdersListRequestExpand.TRACKING_CATEGORIES_VENDOR_ACCOUNTING_PERIOD_PAYMENT_TERM: - return tracking_categories_vendor_accounting_period_payment_term() - if self is PurchaseOrdersListRequestExpand.TRACKING_CATEGORIES_VENDOR_COMPANY: - return tracking_categories_vendor_company() - if self is PurchaseOrdersListRequestExpand.TRACKING_CATEGORIES_VENDOR_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_vendor_company_accounting_period() - if self is PurchaseOrdersListRequestExpand.TRACKING_CATEGORIES_VENDOR_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return tracking_categories_vendor_company_accounting_period_payment_term() - if self is PurchaseOrdersListRequestExpand.TRACKING_CATEGORIES_VENDOR_COMPANY_PAYMENT_TERM: - return tracking_categories_vendor_company_payment_term() - if self is PurchaseOrdersListRequestExpand.TRACKING_CATEGORIES_VENDOR_PAYMENT_TERM: - return tracking_categories_vendor_payment_term() - if self is PurchaseOrdersListRequestExpand.VENDOR: - return vendor() - if self is PurchaseOrdersListRequestExpand.VENDOR_ACCOUNTING_PERIOD: - return vendor_accounting_period() - if self is PurchaseOrdersListRequestExpand.VENDOR_ACCOUNTING_PERIOD_PAYMENT_TERM: - return vendor_accounting_period_payment_term() - if self is PurchaseOrdersListRequestExpand.VENDOR_COMPANY: - return vendor_company() - if self is PurchaseOrdersListRequestExpand.VENDOR_COMPANY_ACCOUNTING_PERIOD: - return vendor_company_accounting_period() - if self is PurchaseOrdersListRequestExpand.VENDOR_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return vendor_company_accounting_period_payment_term() - if self is PurchaseOrdersListRequestExpand.VENDOR_COMPANY_PAYMENT_TERM: - return vendor_company_payment_term() - if self is PurchaseOrdersListRequestExpand.VENDOR_PAYMENT_TERM: - return vendor_payment_term() diff --git a/src/merge/resources/accounting/resources/purchase_orders/types/purchase_orders_list_request_expand_item.py b/src/merge/resources/accounting/resources/purchase_orders/types/purchase_orders_list_request_expand_item.py new file mode 100644 index 00000000..55354de8 --- /dev/null +++ b/src/merge/resources/accounting/resources/purchase_orders/types/purchase_orders_list_request_expand_item.py @@ -0,0 +1,41 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class PurchaseOrdersListRequestExpandItem(str, enum.Enum): + ACCOUNTING_PERIOD = "accounting_period" + COMPANY = "company" + DELIVERY_ADDRESS = "delivery_address" + LINE_ITEMS = "line_items" + PAYMENT_TERM = "payment_term" + TRACKING_CATEGORIES = "tracking_categories" + VENDOR = "vendor" + + def visit( + self, + accounting_period: typing.Callable[[], T_Result], + company: typing.Callable[[], T_Result], + delivery_address: typing.Callable[[], T_Result], + line_items: typing.Callable[[], T_Result], + payment_term: typing.Callable[[], T_Result], + tracking_categories: typing.Callable[[], T_Result], + vendor: typing.Callable[[], T_Result], + ) -> T_Result: + if self is PurchaseOrdersListRequestExpandItem.ACCOUNTING_PERIOD: + return accounting_period() + if self is PurchaseOrdersListRequestExpandItem.COMPANY: + return company() + if self is PurchaseOrdersListRequestExpandItem.DELIVERY_ADDRESS: + return delivery_address() + if self is PurchaseOrdersListRequestExpandItem.LINE_ITEMS: + return line_items() + if self is PurchaseOrdersListRequestExpandItem.PAYMENT_TERM: + return payment_term() + if self is PurchaseOrdersListRequestExpandItem.TRACKING_CATEGORIES: + return tracking_categories() + if self is PurchaseOrdersListRequestExpandItem.VENDOR: + return vendor() diff --git a/src/merge/resources/accounting/resources/purchase_orders/types/purchase_orders_list_request_remote_fields.py b/src/merge/resources/accounting/resources/purchase_orders/types/purchase_orders_list_request_remote_fields.py new file mode 100644 index 00000000..09e74e6a --- /dev/null +++ b/src/merge/resources/accounting/resources/purchase_orders/types/purchase_orders_list_request_remote_fields.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class PurchaseOrdersListRequestRemoteFields(str, enum.Enum): + STATUS = "status" + + def visit(self, status: typing.Callable[[], T_Result]) -> T_Result: + if self is PurchaseOrdersListRequestRemoteFields.STATUS: + return status() diff --git a/src/merge/resources/accounting/resources/purchase_orders/types/purchase_orders_list_request_show_enum_origins.py b/src/merge/resources/accounting/resources/purchase_orders/types/purchase_orders_list_request_show_enum_origins.py new file mode 100644 index 00000000..9742cb06 --- /dev/null +++ b/src/merge/resources/accounting/resources/purchase_orders/types/purchase_orders_list_request_show_enum_origins.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class PurchaseOrdersListRequestShowEnumOrigins(str, enum.Enum): + STATUS = "status" + + def visit(self, status: typing.Callable[[], T_Result]) -> T_Result: + if self is PurchaseOrdersListRequestShowEnumOrigins.STATUS: + return status() diff --git a/src/merge/resources/accounting/resources/purchase_orders/types/purchase_orders_retrieve_request_expand.py b/src/merge/resources/accounting/resources/purchase_orders/types/purchase_orders_retrieve_request_expand.py deleted file mode 100644 index 53b497d2..00000000 --- a/src/merge/resources/accounting/resources/purchase_orders/types/purchase_orders_retrieve_request_expand.py +++ /dev/null @@ -1,678 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class PurchaseOrdersRetrieveRequestExpand(str, enum.Enum): - ACCOUNTING_PERIOD = "accounting_period" - ACCOUNTING_PERIOD_PAYMENT_TERM = "accounting_period,payment_term" - COMPANY = "company" - COMPANY_ACCOUNTING_PERIOD = "company,accounting_period" - COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "company,accounting_period,payment_term" - COMPANY_PAYMENT_TERM = "company,payment_term" - DELIVERY_ADDRESS = "delivery_address" - DELIVERY_ADDRESS_ACCOUNTING_PERIOD = "delivery_address,accounting_period" - DELIVERY_ADDRESS_ACCOUNTING_PERIOD_PAYMENT_TERM = "delivery_address,accounting_period,payment_term" - DELIVERY_ADDRESS_COMPANY = "delivery_address,company" - DELIVERY_ADDRESS_COMPANY_ACCOUNTING_PERIOD = "delivery_address,company,accounting_period" - DELIVERY_ADDRESS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "delivery_address,company,accounting_period,payment_term" - DELIVERY_ADDRESS_COMPANY_PAYMENT_TERM = "delivery_address,company,payment_term" - DELIVERY_ADDRESS_PAYMENT_TERM = "delivery_address,payment_term" - DELIVERY_ADDRESS_VENDOR = "delivery_address,vendor" - DELIVERY_ADDRESS_VENDOR_ACCOUNTING_PERIOD = "delivery_address,vendor,accounting_period" - DELIVERY_ADDRESS_VENDOR_ACCOUNTING_PERIOD_PAYMENT_TERM = "delivery_address,vendor,accounting_period,payment_term" - DELIVERY_ADDRESS_VENDOR_COMPANY = "delivery_address,vendor,company" - DELIVERY_ADDRESS_VENDOR_COMPANY_ACCOUNTING_PERIOD = "delivery_address,vendor,company,accounting_period" - DELIVERY_ADDRESS_VENDOR_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "delivery_address,vendor,company,accounting_period,payment_term" - ) - DELIVERY_ADDRESS_VENDOR_COMPANY_PAYMENT_TERM = "delivery_address,vendor,company,payment_term" - DELIVERY_ADDRESS_VENDOR_PAYMENT_TERM = "delivery_address,vendor,payment_term" - LINE_ITEMS = "line_items" - LINE_ITEMS_ACCOUNTING_PERIOD = "line_items,accounting_period" - LINE_ITEMS_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,accounting_period,payment_term" - LINE_ITEMS_COMPANY = "line_items,company" - LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD = "line_items,company,accounting_period" - LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,company,accounting_period,payment_term" - LINE_ITEMS_COMPANY_PAYMENT_TERM = "line_items,company,payment_term" - LINE_ITEMS_DELIVERY_ADDRESS = "line_items,delivery_address" - LINE_ITEMS_DELIVERY_ADDRESS_ACCOUNTING_PERIOD = "line_items,delivery_address,accounting_period" - LINE_ITEMS_DELIVERY_ADDRESS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,delivery_address,accounting_period,payment_term" - ) - LINE_ITEMS_DELIVERY_ADDRESS_COMPANY = "line_items,delivery_address,company" - LINE_ITEMS_DELIVERY_ADDRESS_COMPANY_ACCOUNTING_PERIOD = "line_items,delivery_address,company,accounting_period" - LINE_ITEMS_DELIVERY_ADDRESS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,delivery_address,company,accounting_period,payment_term" - ) - LINE_ITEMS_DELIVERY_ADDRESS_COMPANY_PAYMENT_TERM = "line_items,delivery_address,company,payment_term" - LINE_ITEMS_DELIVERY_ADDRESS_PAYMENT_TERM = "line_items,delivery_address,payment_term" - LINE_ITEMS_DELIVERY_ADDRESS_VENDOR = "line_items,delivery_address,vendor" - LINE_ITEMS_DELIVERY_ADDRESS_VENDOR_ACCOUNTING_PERIOD = "line_items,delivery_address,vendor,accounting_period" - LINE_ITEMS_DELIVERY_ADDRESS_VENDOR_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,delivery_address,vendor,accounting_period,payment_term" - ) - LINE_ITEMS_DELIVERY_ADDRESS_VENDOR_COMPANY = "line_items,delivery_address,vendor,company" - LINE_ITEMS_DELIVERY_ADDRESS_VENDOR_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,delivery_address,vendor,company,accounting_period" - ) - LINE_ITEMS_DELIVERY_ADDRESS_VENDOR_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,delivery_address,vendor,company,accounting_period,payment_term" - ) - LINE_ITEMS_DELIVERY_ADDRESS_VENDOR_COMPANY_PAYMENT_TERM = "line_items,delivery_address,vendor,company,payment_term" - LINE_ITEMS_DELIVERY_ADDRESS_VENDOR_PAYMENT_TERM = "line_items,delivery_address,vendor,payment_term" - LINE_ITEMS_PAYMENT_TERM = "line_items,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES = "line_items,tracking_categories" - LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "line_items,tracking_categories,accounting_period" - LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_COMPANY = "line_items,tracking_categories,company" - LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,company,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM = "line_items,tracking_categories,company,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS = "line_items,tracking_categories,delivery_address" - LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,delivery_address,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,delivery_address,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_COMPANY = "line_items,tracking_categories,delivery_address,company" - LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,delivery_address,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,delivery_address,company,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_COMPANY_PAYMENT_TERM = ( - "line_items,tracking_categories,delivery_address,company,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_PAYMENT_TERM = ( - "line_items,tracking_categories,delivery_address,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR = "line_items,tracking_categories,delivery_address,vendor" - LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,delivery_address,vendor,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,delivery_address,vendor,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_COMPANY = ( - "line_items,tracking_categories,delivery_address,vendor,company" - ) - LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,delivery_address,vendor,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,delivery_address,vendor,company,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_COMPANY_PAYMENT_TERM = ( - "line_items,tracking_categories,delivery_address,vendor,company,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_PAYMENT_TERM = ( - "line_items,tracking_categories,delivery_address,vendor,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PAYMENT_TERM = "line_items,tracking_categories,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_VENDOR = "line_items,tracking_categories,vendor" - LINE_ITEMS_TRACKING_CATEGORIES_VENDOR_ACCOUNTING_PERIOD = "line_items,tracking_categories,vendor,accounting_period" - LINE_ITEMS_TRACKING_CATEGORIES_VENDOR_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,vendor,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_VENDOR_COMPANY = "line_items,tracking_categories,vendor,company" - LINE_ITEMS_TRACKING_CATEGORIES_VENDOR_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,vendor,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_VENDOR_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,vendor,company,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_VENDOR_COMPANY_PAYMENT_TERM = ( - "line_items,tracking_categories,vendor,company,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_VENDOR_PAYMENT_TERM = "line_items,tracking_categories,vendor,payment_term" - LINE_ITEMS_VENDOR = "line_items,vendor" - LINE_ITEMS_VENDOR_ACCOUNTING_PERIOD = "line_items,vendor,accounting_period" - LINE_ITEMS_VENDOR_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,vendor,accounting_period,payment_term" - LINE_ITEMS_VENDOR_COMPANY = "line_items,vendor,company" - LINE_ITEMS_VENDOR_COMPANY_ACCOUNTING_PERIOD = "line_items,vendor,company,accounting_period" - LINE_ITEMS_VENDOR_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,vendor,company,accounting_period,payment_term" - ) - LINE_ITEMS_VENDOR_COMPANY_PAYMENT_TERM = "line_items,vendor,company,payment_term" - LINE_ITEMS_VENDOR_PAYMENT_TERM = "line_items,vendor,payment_term" - PAYMENT_TERM = "payment_term" - TRACKING_CATEGORIES = "tracking_categories" - TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "tracking_categories,accounting_period" - TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM = "tracking_categories,accounting_period,payment_term" - TRACKING_CATEGORIES_COMPANY = "tracking_categories,company" - TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,company,accounting_period" - TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,company,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM = "tracking_categories,company,payment_term" - TRACKING_CATEGORIES_DELIVERY_ADDRESS = "tracking_categories,delivery_address" - TRACKING_CATEGORIES_DELIVERY_ADDRESS_ACCOUNTING_PERIOD = "tracking_categories,delivery_address,accounting_period" - TRACKING_CATEGORIES_DELIVERY_ADDRESS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,delivery_address,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_DELIVERY_ADDRESS_COMPANY = "tracking_categories,delivery_address,company" - TRACKING_CATEGORIES_DELIVERY_ADDRESS_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,delivery_address,company,accounting_period" - ) - TRACKING_CATEGORIES_DELIVERY_ADDRESS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,delivery_address,company,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_DELIVERY_ADDRESS_COMPANY_PAYMENT_TERM = ( - "tracking_categories,delivery_address,company,payment_term" - ) - TRACKING_CATEGORIES_DELIVERY_ADDRESS_PAYMENT_TERM = "tracking_categories,delivery_address,payment_term" - TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR = "tracking_categories,delivery_address,vendor" - TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_ACCOUNTING_PERIOD = ( - "tracking_categories,delivery_address,vendor,accounting_period" - ) - TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,delivery_address,vendor,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_COMPANY = "tracking_categories,delivery_address,vendor,company" - TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,delivery_address,vendor,company,accounting_period" - ) - TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,delivery_address,vendor,company,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_COMPANY_PAYMENT_TERM = ( - "tracking_categories,delivery_address,vendor,company,payment_term" - ) - TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_PAYMENT_TERM = ( - "tracking_categories,delivery_address,vendor,payment_term" - ) - TRACKING_CATEGORIES_PAYMENT_TERM = "tracking_categories,payment_term" - TRACKING_CATEGORIES_VENDOR = "tracking_categories,vendor" - TRACKING_CATEGORIES_VENDOR_ACCOUNTING_PERIOD = "tracking_categories,vendor,accounting_period" - TRACKING_CATEGORIES_VENDOR_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,vendor,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_VENDOR_COMPANY = "tracking_categories,vendor,company" - TRACKING_CATEGORIES_VENDOR_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,vendor,company,accounting_period" - TRACKING_CATEGORIES_VENDOR_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,vendor,company,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_VENDOR_COMPANY_PAYMENT_TERM = "tracking_categories,vendor,company,payment_term" - TRACKING_CATEGORIES_VENDOR_PAYMENT_TERM = "tracking_categories,vendor,payment_term" - VENDOR = "vendor" - VENDOR_ACCOUNTING_PERIOD = "vendor,accounting_period" - VENDOR_ACCOUNTING_PERIOD_PAYMENT_TERM = "vendor,accounting_period,payment_term" - VENDOR_COMPANY = "vendor,company" - VENDOR_COMPANY_ACCOUNTING_PERIOD = "vendor,company,accounting_period" - VENDOR_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "vendor,company,accounting_period,payment_term" - VENDOR_COMPANY_PAYMENT_TERM = "vendor,company,payment_term" - VENDOR_PAYMENT_TERM = "vendor,payment_term" - - def visit( - self, - accounting_period: typing.Callable[[], T_Result], - accounting_period_payment_term: typing.Callable[[], T_Result], - company: typing.Callable[[], T_Result], - company_accounting_period: typing.Callable[[], T_Result], - company_accounting_period_payment_term: typing.Callable[[], T_Result], - company_payment_term: typing.Callable[[], T_Result], - delivery_address: typing.Callable[[], T_Result], - delivery_address_accounting_period: typing.Callable[[], T_Result], - delivery_address_accounting_period_payment_term: typing.Callable[[], T_Result], - delivery_address_company: typing.Callable[[], T_Result], - delivery_address_company_accounting_period: typing.Callable[[], T_Result], - delivery_address_company_accounting_period_payment_term: typing.Callable[[], T_Result], - delivery_address_company_payment_term: typing.Callable[[], T_Result], - delivery_address_payment_term: typing.Callable[[], T_Result], - delivery_address_vendor: typing.Callable[[], T_Result], - delivery_address_vendor_accounting_period: typing.Callable[[], T_Result], - delivery_address_vendor_accounting_period_payment_term: typing.Callable[[], T_Result], - delivery_address_vendor_company: typing.Callable[[], T_Result], - delivery_address_vendor_company_accounting_period: typing.Callable[[], T_Result], - delivery_address_vendor_company_accounting_period_payment_term: typing.Callable[[], T_Result], - delivery_address_vendor_company_payment_term: typing.Callable[[], T_Result], - delivery_address_vendor_payment_term: typing.Callable[[], T_Result], - line_items: typing.Callable[[], T_Result], - line_items_accounting_period: typing.Callable[[], T_Result], - line_items_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_company: typing.Callable[[], T_Result], - line_items_company_accounting_period: typing.Callable[[], T_Result], - line_items_company_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_company_payment_term: typing.Callable[[], T_Result], - line_items_delivery_address: typing.Callable[[], T_Result], - line_items_delivery_address_accounting_period: typing.Callable[[], T_Result], - line_items_delivery_address_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_delivery_address_company: typing.Callable[[], T_Result], - line_items_delivery_address_company_accounting_period: typing.Callable[[], T_Result], - line_items_delivery_address_company_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_delivery_address_company_payment_term: typing.Callable[[], T_Result], - line_items_delivery_address_payment_term: typing.Callable[[], T_Result], - line_items_delivery_address_vendor: typing.Callable[[], T_Result], - line_items_delivery_address_vendor_accounting_period: typing.Callable[[], T_Result], - line_items_delivery_address_vendor_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_delivery_address_vendor_company: typing.Callable[[], T_Result], - line_items_delivery_address_vendor_company_accounting_period: typing.Callable[[], T_Result], - line_items_delivery_address_vendor_company_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_delivery_address_vendor_company_payment_term: typing.Callable[[], T_Result], - line_items_delivery_address_vendor_payment_term: typing.Callable[[], T_Result], - line_items_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories: typing.Callable[[], T_Result], - line_items_tracking_categories_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_company: typing.Callable[[], T_Result], - line_items_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_company_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_company_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_delivery_address: typing.Callable[[], T_Result], - line_items_tracking_categories_delivery_address_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_delivery_address_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_delivery_address_company: typing.Callable[[], T_Result], - line_items_tracking_categories_delivery_address_company_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_delivery_address_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_delivery_address_company_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_delivery_address_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_delivery_address_vendor: typing.Callable[[], T_Result], - line_items_tracking_categories_delivery_address_vendor_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_delivery_address_vendor_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_delivery_address_vendor_company: typing.Callable[[], T_Result], - line_items_tracking_categories_delivery_address_vendor_company_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_delivery_address_vendor_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_delivery_address_vendor_company_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_delivery_address_vendor_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_vendor: typing.Callable[[], T_Result], - line_items_tracking_categories_vendor_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_vendor_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_vendor_company: typing.Callable[[], T_Result], - line_items_tracking_categories_vendor_company_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_vendor_company_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_vendor_company_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_vendor_payment_term: typing.Callable[[], T_Result], - line_items_vendor: typing.Callable[[], T_Result], - line_items_vendor_accounting_period: typing.Callable[[], T_Result], - line_items_vendor_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_vendor_company: typing.Callable[[], T_Result], - line_items_vendor_company_accounting_period: typing.Callable[[], T_Result], - line_items_vendor_company_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_vendor_company_payment_term: typing.Callable[[], T_Result], - line_items_vendor_payment_term: typing.Callable[[], T_Result], - payment_term: typing.Callable[[], T_Result], - tracking_categories: typing.Callable[[], T_Result], - tracking_categories_accounting_period: typing.Callable[[], T_Result], - tracking_categories_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_company: typing.Callable[[], T_Result], - tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_company_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_company_payment_term: typing.Callable[[], T_Result], - tracking_categories_delivery_address: typing.Callable[[], T_Result], - tracking_categories_delivery_address_accounting_period: typing.Callable[[], T_Result], - tracking_categories_delivery_address_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_delivery_address_company: typing.Callable[[], T_Result], - tracking_categories_delivery_address_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_delivery_address_company_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_delivery_address_company_payment_term: typing.Callable[[], T_Result], - tracking_categories_delivery_address_payment_term: typing.Callable[[], T_Result], - tracking_categories_delivery_address_vendor: typing.Callable[[], T_Result], - tracking_categories_delivery_address_vendor_accounting_period: typing.Callable[[], T_Result], - tracking_categories_delivery_address_vendor_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_delivery_address_vendor_company: typing.Callable[[], T_Result], - tracking_categories_delivery_address_vendor_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_delivery_address_vendor_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_delivery_address_vendor_company_payment_term: typing.Callable[[], T_Result], - tracking_categories_delivery_address_vendor_payment_term: typing.Callable[[], T_Result], - tracking_categories_payment_term: typing.Callable[[], T_Result], - tracking_categories_vendor: typing.Callable[[], T_Result], - tracking_categories_vendor_accounting_period: typing.Callable[[], T_Result], - tracking_categories_vendor_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_vendor_company: typing.Callable[[], T_Result], - tracking_categories_vendor_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_vendor_company_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_vendor_company_payment_term: typing.Callable[[], T_Result], - tracking_categories_vendor_payment_term: typing.Callable[[], T_Result], - vendor: typing.Callable[[], T_Result], - vendor_accounting_period: typing.Callable[[], T_Result], - vendor_accounting_period_payment_term: typing.Callable[[], T_Result], - vendor_company: typing.Callable[[], T_Result], - vendor_company_accounting_period: typing.Callable[[], T_Result], - vendor_company_accounting_period_payment_term: typing.Callable[[], T_Result], - vendor_company_payment_term: typing.Callable[[], T_Result], - vendor_payment_term: typing.Callable[[], T_Result], - ) -> T_Result: - if self is PurchaseOrdersRetrieveRequestExpand.ACCOUNTING_PERIOD: - return accounting_period() - if self is PurchaseOrdersRetrieveRequestExpand.ACCOUNTING_PERIOD_PAYMENT_TERM: - return accounting_period_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.COMPANY: - return company() - if self is PurchaseOrdersRetrieveRequestExpand.COMPANY_ACCOUNTING_PERIOD: - return company_accounting_period() - if self is PurchaseOrdersRetrieveRequestExpand.COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return company_accounting_period_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.COMPANY_PAYMENT_TERM: - return company_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.DELIVERY_ADDRESS: - return delivery_address() - if self is PurchaseOrdersRetrieveRequestExpand.DELIVERY_ADDRESS_ACCOUNTING_PERIOD: - return delivery_address_accounting_period() - if self is PurchaseOrdersRetrieveRequestExpand.DELIVERY_ADDRESS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return delivery_address_accounting_period_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.DELIVERY_ADDRESS_COMPANY: - return delivery_address_company() - if self is PurchaseOrdersRetrieveRequestExpand.DELIVERY_ADDRESS_COMPANY_ACCOUNTING_PERIOD: - return delivery_address_company_accounting_period() - if self is PurchaseOrdersRetrieveRequestExpand.DELIVERY_ADDRESS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return delivery_address_company_accounting_period_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.DELIVERY_ADDRESS_COMPANY_PAYMENT_TERM: - return delivery_address_company_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.DELIVERY_ADDRESS_PAYMENT_TERM: - return delivery_address_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.DELIVERY_ADDRESS_VENDOR: - return delivery_address_vendor() - if self is PurchaseOrdersRetrieveRequestExpand.DELIVERY_ADDRESS_VENDOR_ACCOUNTING_PERIOD: - return delivery_address_vendor_accounting_period() - if self is PurchaseOrdersRetrieveRequestExpand.DELIVERY_ADDRESS_VENDOR_ACCOUNTING_PERIOD_PAYMENT_TERM: - return delivery_address_vendor_accounting_period_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.DELIVERY_ADDRESS_VENDOR_COMPANY: - return delivery_address_vendor_company() - if self is PurchaseOrdersRetrieveRequestExpand.DELIVERY_ADDRESS_VENDOR_COMPANY_ACCOUNTING_PERIOD: - return delivery_address_vendor_company_accounting_period() - if self is PurchaseOrdersRetrieveRequestExpand.DELIVERY_ADDRESS_VENDOR_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return delivery_address_vendor_company_accounting_period_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.DELIVERY_ADDRESS_VENDOR_COMPANY_PAYMENT_TERM: - return delivery_address_vendor_company_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.DELIVERY_ADDRESS_VENDOR_PAYMENT_TERM: - return delivery_address_vendor_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS: - return line_items() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_ACCOUNTING_PERIOD: - return line_items_accounting_period() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_accounting_period_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_COMPANY: - return line_items_company() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD: - return line_items_company_accounting_period() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_company_accounting_period_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_COMPANY_PAYMENT_TERM: - return line_items_company_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_DELIVERY_ADDRESS: - return line_items_delivery_address() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_DELIVERY_ADDRESS_ACCOUNTING_PERIOD: - return line_items_delivery_address_accounting_period() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_DELIVERY_ADDRESS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_delivery_address_accounting_period_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_DELIVERY_ADDRESS_COMPANY: - return line_items_delivery_address_company() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_DELIVERY_ADDRESS_COMPANY_ACCOUNTING_PERIOD: - return line_items_delivery_address_company_accounting_period() - if ( - self - is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_DELIVERY_ADDRESS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_delivery_address_company_accounting_period_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_DELIVERY_ADDRESS_COMPANY_PAYMENT_TERM: - return line_items_delivery_address_company_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_DELIVERY_ADDRESS_PAYMENT_TERM: - return line_items_delivery_address_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_DELIVERY_ADDRESS_VENDOR: - return line_items_delivery_address_vendor() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_DELIVERY_ADDRESS_VENDOR_ACCOUNTING_PERIOD: - return line_items_delivery_address_vendor_accounting_period() - if ( - self - is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_DELIVERY_ADDRESS_VENDOR_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_delivery_address_vendor_accounting_period_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_DELIVERY_ADDRESS_VENDOR_COMPANY: - return line_items_delivery_address_vendor_company() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_DELIVERY_ADDRESS_VENDOR_COMPANY_ACCOUNTING_PERIOD: - return line_items_delivery_address_vendor_company_accounting_period() - if ( - self - is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_DELIVERY_ADDRESS_VENDOR_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_delivery_address_vendor_company_accounting_period_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_DELIVERY_ADDRESS_VENDOR_COMPANY_PAYMENT_TERM: - return line_items_delivery_address_vendor_company_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_DELIVERY_ADDRESS_VENDOR_PAYMENT_TERM: - return line_items_delivery_address_vendor_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_PAYMENT_TERM: - return line_items_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES: - return line_items_tracking_categories() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return line_items_tracking_categories_accounting_period() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_tracking_categories_accounting_period_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_COMPANY: - return line_items_tracking_categories_company() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return line_items_tracking_categories_company_accounting_period() - if ( - self - is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_company_accounting_period_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM: - return line_items_tracking_categories_company_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS: - return line_items_tracking_categories_delivery_address() - if ( - self - is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_delivery_address_accounting_period() - if ( - self - is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_delivery_address_accounting_period_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_COMPANY: - return line_items_tracking_categories_delivery_address_company() - if ( - self - is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_delivery_address_company_accounting_period() - if ( - self - is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_delivery_address_company_accounting_period_payment_term() - if ( - self - is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_COMPANY_PAYMENT_TERM - ): - return line_items_tracking_categories_delivery_address_company_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_PAYMENT_TERM: - return line_items_tracking_categories_delivery_address_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR: - return line_items_tracking_categories_delivery_address_vendor() - if ( - self - is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_delivery_address_vendor_accounting_period() - if ( - self - is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_delivery_address_vendor_accounting_period_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_COMPANY: - return line_items_tracking_categories_delivery_address_vendor_company() - if ( - self - is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_delivery_address_vendor_company_accounting_period() - if ( - self - is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_delivery_address_vendor_company_accounting_period_payment_term() - if ( - self - is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_COMPANY_PAYMENT_TERM - ): - return line_items_tracking_categories_delivery_address_vendor_company_payment_term() - if ( - self - is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_PAYMENT_TERM - ): - return line_items_tracking_categories_delivery_address_vendor_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PAYMENT_TERM: - return line_items_tracking_categories_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_VENDOR: - return line_items_tracking_categories_vendor() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_VENDOR_ACCOUNTING_PERIOD: - return line_items_tracking_categories_vendor_accounting_period() - if ( - self - is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_VENDOR_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_vendor_accounting_period_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_VENDOR_COMPANY: - return line_items_tracking_categories_vendor_company() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_VENDOR_COMPANY_ACCOUNTING_PERIOD: - return line_items_tracking_categories_vendor_company_accounting_period() - if ( - self - is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_VENDOR_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_vendor_company_accounting_period_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_VENDOR_COMPANY_PAYMENT_TERM: - return line_items_tracking_categories_vendor_company_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_VENDOR_PAYMENT_TERM: - return line_items_tracking_categories_vendor_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_VENDOR: - return line_items_vendor() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_VENDOR_ACCOUNTING_PERIOD: - return line_items_vendor_accounting_period() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_VENDOR_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_vendor_accounting_period_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_VENDOR_COMPANY: - return line_items_vendor_company() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_VENDOR_COMPANY_ACCOUNTING_PERIOD: - return line_items_vendor_company_accounting_period() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_VENDOR_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_vendor_company_accounting_period_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_VENDOR_COMPANY_PAYMENT_TERM: - return line_items_vendor_company_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_VENDOR_PAYMENT_TERM: - return line_items_vendor_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.PAYMENT_TERM: - return payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.TRACKING_CATEGORIES: - return tracking_categories() - if self is PurchaseOrdersRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return tracking_categories_accounting_period() - if self is PurchaseOrdersRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM: - return tracking_categories_accounting_period_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.TRACKING_CATEGORIES_COMPANY: - return tracking_categories_company() - if self is PurchaseOrdersRetrieveRequestExpand.TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_company_accounting_period() - if self is PurchaseOrdersRetrieveRequestExpand.TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return tracking_categories_company_accounting_period_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM: - return tracking_categories_company_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.TRACKING_CATEGORIES_DELIVERY_ADDRESS: - return tracking_categories_delivery_address() - if self is PurchaseOrdersRetrieveRequestExpand.TRACKING_CATEGORIES_DELIVERY_ADDRESS_ACCOUNTING_PERIOD: - return tracking_categories_delivery_address_accounting_period() - if ( - self - is PurchaseOrdersRetrieveRequestExpand.TRACKING_CATEGORIES_DELIVERY_ADDRESS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_delivery_address_accounting_period_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.TRACKING_CATEGORIES_DELIVERY_ADDRESS_COMPANY: - return tracking_categories_delivery_address_company() - if self is PurchaseOrdersRetrieveRequestExpand.TRACKING_CATEGORIES_DELIVERY_ADDRESS_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_delivery_address_company_accounting_period() - if ( - self - is PurchaseOrdersRetrieveRequestExpand.TRACKING_CATEGORIES_DELIVERY_ADDRESS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_delivery_address_company_accounting_period_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.TRACKING_CATEGORIES_DELIVERY_ADDRESS_COMPANY_PAYMENT_TERM: - return tracking_categories_delivery_address_company_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.TRACKING_CATEGORIES_DELIVERY_ADDRESS_PAYMENT_TERM: - return tracking_categories_delivery_address_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR: - return tracking_categories_delivery_address_vendor() - if self is PurchaseOrdersRetrieveRequestExpand.TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_ACCOUNTING_PERIOD: - return tracking_categories_delivery_address_vendor_accounting_period() - if ( - self - is PurchaseOrdersRetrieveRequestExpand.TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_delivery_address_vendor_accounting_period_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_COMPANY: - return tracking_categories_delivery_address_vendor_company() - if ( - self - is PurchaseOrdersRetrieveRequestExpand.TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_COMPANY_ACCOUNTING_PERIOD - ): - return tracking_categories_delivery_address_vendor_company_accounting_period() - if ( - self - is PurchaseOrdersRetrieveRequestExpand.TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_delivery_address_vendor_company_accounting_period_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_COMPANY_PAYMENT_TERM: - return tracking_categories_delivery_address_vendor_company_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_PAYMENT_TERM: - return tracking_categories_delivery_address_vendor_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.TRACKING_CATEGORIES_PAYMENT_TERM: - return tracking_categories_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.TRACKING_CATEGORIES_VENDOR: - return tracking_categories_vendor() - if self is PurchaseOrdersRetrieveRequestExpand.TRACKING_CATEGORIES_VENDOR_ACCOUNTING_PERIOD: - return tracking_categories_vendor_accounting_period() - if self is PurchaseOrdersRetrieveRequestExpand.TRACKING_CATEGORIES_VENDOR_ACCOUNTING_PERIOD_PAYMENT_TERM: - return tracking_categories_vendor_accounting_period_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.TRACKING_CATEGORIES_VENDOR_COMPANY: - return tracking_categories_vendor_company() - if self is PurchaseOrdersRetrieveRequestExpand.TRACKING_CATEGORIES_VENDOR_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_vendor_company_accounting_period() - if ( - self - is PurchaseOrdersRetrieveRequestExpand.TRACKING_CATEGORIES_VENDOR_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_vendor_company_accounting_period_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.TRACKING_CATEGORIES_VENDOR_COMPANY_PAYMENT_TERM: - return tracking_categories_vendor_company_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.TRACKING_CATEGORIES_VENDOR_PAYMENT_TERM: - return tracking_categories_vendor_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.VENDOR: - return vendor() - if self is PurchaseOrdersRetrieveRequestExpand.VENDOR_ACCOUNTING_PERIOD: - return vendor_accounting_period() - if self is PurchaseOrdersRetrieveRequestExpand.VENDOR_ACCOUNTING_PERIOD_PAYMENT_TERM: - return vendor_accounting_period_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.VENDOR_COMPANY: - return vendor_company() - if self is PurchaseOrdersRetrieveRequestExpand.VENDOR_COMPANY_ACCOUNTING_PERIOD: - return vendor_company_accounting_period() - if self is PurchaseOrdersRetrieveRequestExpand.VENDOR_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return vendor_company_accounting_period_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.VENDOR_COMPANY_PAYMENT_TERM: - return vendor_company_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.VENDOR_PAYMENT_TERM: - return vendor_payment_term() diff --git a/src/merge/resources/accounting/resources/purchase_orders/types/purchase_orders_retrieve_request_expand_item.py b/src/merge/resources/accounting/resources/purchase_orders/types/purchase_orders_retrieve_request_expand_item.py new file mode 100644 index 00000000..775024d1 --- /dev/null +++ b/src/merge/resources/accounting/resources/purchase_orders/types/purchase_orders_retrieve_request_expand_item.py @@ -0,0 +1,41 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class PurchaseOrdersRetrieveRequestExpandItem(str, enum.Enum): + ACCOUNTING_PERIOD = "accounting_period" + COMPANY = "company" + DELIVERY_ADDRESS = "delivery_address" + LINE_ITEMS = "line_items" + PAYMENT_TERM = "payment_term" + TRACKING_CATEGORIES = "tracking_categories" + VENDOR = "vendor" + + def visit( + self, + accounting_period: typing.Callable[[], T_Result], + company: typing.Callable[[], T_Result], + delivery_address: typing.Callable[[], T_Result], + line_items: typing.Callable[[], T_Result], + payment_term: typing.Callable[[], T_Result], + tracking_categories: typing.Callable[[], T_Result], + vendor: typing.Callable[[], T_Result], + ) -> T_Result: + if self is PurchaseOrdersRetrieveRequestExpandItem.ACCOUNTING_PERIOD: + return accounting_period() + if self is PurchaseOrdersRetrieveRequestExpandItem.COMPANY: + return company() + if self is PurchaseOrdersRetrieveRequestExpandItem.DELIVERY_ADDRESS: + return delivery_address() + if self is PurchaseOrdersRetrieveRequestExpandItem.LINE_ITEMS: + return line_items() + if self is PurchaseOrdersRetrieveRequestExpandItem.PAYMENT_TERM: + return payment_term() + if self is PurchaseOrdersRetrieveRequestExpandItem.TRACKING_CATEGORIES: + return tracking_categories() + if self is PurchaseOrdersRetrieveRequestExpandItem.VENDOR: + return vendor() diff --git a/src/merge/resources/accounting/resources/purchase_orders/types/purchase_orders_retrieve_request_remote_fields.py b/src/merge/resources/accounting/resources/purchase_orders/types/purchase_orders_retrieve_request_remote_fields.py new file mode 100644 index 00000000..10be9198 --- /dev/null +++ b/src/merge/resources/accounting/resources/purchase_orders/types/purchase_orders_retrieve_request_remote_fields.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class PurchaseOrdersRetrieveRequestRemoteFields(str, enum.Enum): + STATUS = "status" + + def visit(self, status: typing.Callable[[], T_Result]) -> T_Result: + if self is PurchaseOrdersRetrieveRequestRemoteFields.STATUS: + return status() diff --git a/src/merge/resources/accounting/resources/purchase_orders/types/purchase_orders_retrieve_request_show_enum_origins.py b/src/merge/resources/accounting/resources/purchase_orders/types/purchase_orders_retrieve_request_show_enum_origins.py new file mode 100644 index 00000000..1b063bb1 --- /dev/null +++ b/src/merge/resources/accounting/resources/purchase_orders/types/purchase_orders_retrieve_request_show_enum_origins.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class PurchaseOrdersRetrieveRequestShowEnumOrigins(str, enum.Enum): + STATUS = "status" + + def visit(self, status: typing.Callable[[], T_Result]) -> T_Result: + if self is PurchaseOrdersRetrieveRequestShowEnumOrigins.STATUS: + return status() diff --git a/src/merge/resources/accounting/resources/sync_status/client.py b/src/merge/resources/accounting/resources/sync_status/client.py index 0f2b6791..313e547d 100644 --- a/src/merge/resources/accounting/resources/sync_status/client.py +++ b/src/merge/resources/accounting/resources/sync_status/client.py @@ -3,8 +3,10 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.paginated_sync_status_list import PaginatedSyncStatusList +from ...types.sync_status import SyncStatus from .raw_client import AsyncRawSyncStatusClient, RawSyncStatusClient @@ -29,7 +31,7 @@ def list( cursor: typing.Optional[str] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedSyncStatusList: + ) -> SyncPager[SyncStatus, PaginatedSyncStatusList]: """ Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). @@ -46,7 +48,7 @@ def list( Returns ------- - PaginatedSyncStatusList + SyncPager[SyncStatus, PaginatedSyncStatusList] Examples @@ -57,13 +59,16 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.sync_status.list( + response = client.accounting.sync_status.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - page_size=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list(cursor=cursor, page_size=page_size, request_options=request_options) - return _response.data + return self._raw_client.list(cursor=cursor, page_size=page_size, request_options=request_options) class AsyncSyncStatusClient: @@ -87,7 +92,7 @@ async def list( cursor: typing.Optional[str] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedSyncStatusList: + ) -> AsyncPager[SyncStatus, PaginatedSyncStatusList]: """ Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). @@ -104,7 +109,7 @@ async def list( Returns ------- - PaginatedSyncStatusList + AsyncPager[SyncStatus, PaginatedSyncStatusList] Examples @@ -120,13 +125,17 @@ async def list( async def main() -> None: - await client.accounting.sync_status.list( + response = await client.accounting.sync_status.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - page_size=1, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list(cursor=cursor, page_size=page_size, request_options=request_options) - return _response.data + return await self._raw_client.list(cursor=cursor, page_size=page_size, request_options=request_options) diff --git a/src/merge/resources/accounting/resources/sync_status/raw_client.py b/src/merge/resources/accounting/resources/sync_status/raw_client.py index bff0c1b7..813cdff8 100644 --- a/src/merge/resources/accounting/resources/sync_status/raw_client.py +++ b/src/merge/resources/accounting/resources/sync_status/raw_client.py @@ -5,10 +5,11 @@ from .....core.api_error import ApiError from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.paginated_sync_status_list import PaginatedSyncStatusList +from ...types.sync_status import SyncStatus class RawSyncStatusClient: @@ -21,7 +22,7 @@ def list( cursor: typing.Optional[str] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedSyncStatusList]: + ) -> SyncPager[SyncStatus, PaginatedSyncStatusList]: """ Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). @@ -38,7 +39,7 @@ def list( Returns ------- - HttpResponse[PaginatedSyncStatusList] + SyncPager[SyncStatus, PaginatedSyncStatusList] """ _response = self._client_wrapper.httpx_client.request( @@ -52,14 +53,22 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedSyncStatusList, construct_type( type_=PaginatedSyncStatusList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + cursor=_parsed_next, + page_size=page_size, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -76,7 +85,7 @@ async def list( cursor: typing.Optional[str] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedSyncStatusList]: + ) -> AsyncPager[SyncStatus, PaginatedSyncStatusList]: """ Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). @@ -93,7 +102,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedSyncStatusList] + AsyncPager[SyncStatus, PaginatedSyncStatusList] """ _response = await self._client_wrapper.httpx_client.request( @@ -107,14 +116,25 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedSyncStatusList, construct_type( type_=PaginatedSyncStatusList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + cursor=_parsed_next, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/accounting/resources/tax_rates/__init__.py b/src/merge/resources/accounting/resources/tax_rates/__init__.py index 5cde0202..9d21db61 100644 --- a/src/merge/resources/accounting/resources/tax_rates/__init__.py +++ b/src/merge/resources/accounting/resources/tax_rates/__init__.py @@ -2,3 +2,36 @@ # isort: skip_file +import typing +from importlib import import_module + +if typing.TYPE_CHECKING: + from .types import TaxRatesListRequestExpandItem, TaxRatesRetrieveRequestExpandItem +_dynamic_imports: typing.Dict[str, str] = { + "TaxRatesListRequestExpandItem": ".types", + "TaxRatesRetrieveRequestExpandItem": ".types", +} + + +def __getattr__(attr_name: str) -> typing.Any: + module_name = _dynamic_imports.get(attr_name) + if module_name is None: + raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") + try: + module = import_module(module_name, __package__) + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) + except ImportError as e: + raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e + except AttributeError as e: + raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e + + +def __dir__(): + lazy_attrs = list(_dynamic_imports.keys()) + return sorted(lazy_attrs) + + +__all__ = ["TaxRatesListRequestExpandItem", "TaxRatesRetrieveRequestExpandItem"] diff --git a/src/merge/resources/accounting/resources/tax_rates/client.py b/src/merge/resources/accounting/resources/tax_rates/client.py index b63969c8..e11f61de 100644 --- a/src/merge/resources/accounting/resources/tax_rates/client.py +++ b/src/merge/resources/accounting/resources/tax_rates/client.py @@ -4,10 +4,13 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.paginated_tax_rate_list import PaginatedTaxRateList from ...types.tax_rate import TaxRate from .raw_client import AsyncRawTaxRatesClient, RawTaxRatesClient +from .types.tax_rates_list_request_expand_item import TaxRatesListRequestExpandItem +from .types.tax_rates_retrieve_request_expand_item import TaxRatesRetrieveRequestExpandItem class TaxRatesClient: @@ -32,7 +35,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[TaxRatesListRequestExpandItem, typing.Sequence[TaxRatesListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -42,7 +47,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedTaxRateList: + ) -> SyncPager[TaxRate, PaginatedTaxRateList]: """ Returns a list of `TaxRate` objects. @@ -60,7 +65,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[TaxRatesListRequestExpandItem, typing.Sequence[TaxRatesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -92,43 +97,27 @@ def list( Returns ------- - PaginatedTaxRateList + SyncPager[TaxRate, PaginatedTaxRateList] Examples -------- - import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.tax_rates.list( - company_id="company_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = client.accounting.tax_rates.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - name="name", - page_size=1, - remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -144,13 +133,14 @@ def list( remote_id=remote_id, request_options=request_options, ) - return _response.data def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[TaxRatesRetrieveRequestExpandItem, typing.Sequence[TaxRatesRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -162,7 +152,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[TaxRatesRetrieveRequestExpandItem, typing.Sequence[TaxRatesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -189,8 +179,6 @@ def retrieve( ) client.accounting.tax_rates.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) """ _response = self._raw_client.retrieve( @@ -225,7 +213,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[TaxRatesListRequestExpandItem, typing.Sequence[TaxRatesListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -235,7 +225,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedTaxRateList: + ) -> AsyncPager[TaxRate, PaginatedTaxRateList]: """ Returns a list of `TaxRate` objects. @@ -253,7 +243,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[TaxRatesListRequestExpandItem, typing.Sequence[TaxRatesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -285,13 +275,12 @@ async def list( Returns ------- - PaginatedTaxRateList + AsyncPager[TaxRate, PaginatedTaxRateList] Examples -------- import asyncio - import datetime from merge import AsyncMerge @@ -302,33 +291,20 @@ async def list( async def main() -> None: - await client.accounting.tax_rates.list( - company_id="company_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = await client.accounting.tax_rates.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - name="name", - page_size=1, - remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -344,13 +320,14 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[TaxRatesRetrieveRequestExpandItem, typing.Sequence[TaxRatesRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -362,7 +339,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[TaxRatesRetrieveRequestExpandItem, typing.Sequence[TaxRatesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -394,8 +371,6 @@ async def retrieve( async def main() -> None: await client.accounting.tax_rates.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) diff --git a/src/merge/resources/accounting/resources/tax_rates/raw_client.py b/src/merge/resources/accounting/resources/tax_rates/raw_client.py index 349c6857..2d29ed16 100644 --- a/src/merge/resources/accounting/resources/tax_rates/raw_client.py +++ b/src/merge/resources/accounting/resources/tax_rates/raw_client.py @@ -9,10 +9,13 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.paginated_tax_rate_list import PaginatedTaxRateList from ...types.tax_rate import TaxRate +from .types.tax_rates_list_request_expand_item import TaxRatesListRequestExpandItem +from .types.tax_rates_retrieve_request_expand_item import TaxRatesRetrieveRequestExpandItem class RawTaxRatesClient: @@ -26,7 +29,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[TaxRatesListRequestExpandItem, typing.Sequence[TaxRatesListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -36,7 +41,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedTaxRateList]: + ) -> SyncPager[TaxRate, PaginatedTaxRateList]: """ Returns a list of `TaxRate` objects. @@ -54,7 +59,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[TaxRatesListRequestExpandItem, typing.Sequence[TaxRatesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -86,7 +91,7 @@ def list( Returns ------- - HttpResponse[PaginatedTaxRateList] + SyncPager[TaxRate, PaginatedTaxRateList] """ _response = self._client_wrapper.httpx_client.request( @@ -111,14 +116,33 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedTaxRateList, construct_type( type_=PaginatedTaxRateList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + name=name, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -128,7 +152,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[TaxRatesRetrieveRequestExpandItem, typing.Sequence[TaxRatesRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -140,7 +166,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[TaxRatesRetrieveRequestExpandItem, typing.Sequence[TaxRatesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -194,7 +220,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[TaxRatesListRequestExpandItem, typing.Sequence[TaxRatesListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -204,7 +232,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedTaxRateList]: + ) -> AsyncPager[TaxRate, PaginatedTaxRateList]: """ Returns a list of `TaxRate` objects. @@ -222,7 +250,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[TaxRatesListRequestExpandItem, typing.Sequence[TaxRatesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -254,7 +282,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedTaxRateList] + AsyncPager[TaxRate, PaginatedTaxRateList] """ _response = await self._client_wrapper.httpx_client.request( @@ -279,14 +307,36 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedTaxRateList, construct_type( type_=PaginatedTaxRateList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + name=name, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -296,7 +346,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[TaxRatesRetrieveRequestExpandItem, typing.Sequence[TaxRatesRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -308,7 +360,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[TaxRatesRetrieveRequestExpandItem, typing.Sequence[TaxRatesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/accounting/resources/tax_rates/types/__init__.py b/src/merge/resources/accounting/resources/tax_rates/types/__init__.py new file mode 100644 index 00000000..c9e2bc2c --- /dev/null +++ b/src/merge/resources/accounting/resources/tax_rates/types/__init__.py @@ -0,0 +1,38 @@ +# This file was auto-generated by Fern from our API Definition. + +# isort: skip_file + +import typing +from importlib import import_module + +if typing.TYPE_CHECKING: + from .tax_rates_list_request_expand_item import TaxRatesListRequestExpandItem + from .tax_rates_retrieve_request_expand_item import TaxRatesRetrieveRequestExpandItem +_dynamic_imports: typing.Dict[str, str] = { + "TaxRatesListRequestExpandItem": ".tax_rates_list_request_expand_item", + "TaxRatesRetrieveRequestExpandItem": ".tax_rates_retrieve_request_expand_item", +} + + +def __getattr__(attr_name: str) -> typing.Any: + module_name = _dynamic_imports.get(attr_name) + if module_name is None: + raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") + try: + module = import_module(module_name, __package__) + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) + except ImportError as e: + raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e + except AttributeError as e: + raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e + + +def __dir__(): + lazy_attrs = list(_dynamic_imports.keys()) + return sorted(lazy_attrs) + + +__all__ = ["TaxRatesListRequestExpandItem", "TaxRatesRetrieveRequestExpandItem"] diff --git a/src/merge/resources/accounting/resources/tax_rates/types/tax_rates_list_request_expand_item.py b/src/merge/resources/accounting/resources/tax_rates/types/tax_rates_list_request_expand_item.py new file mode 100644 index 00000000..6bda22df --- /dev/null +++ b/src/merge/resources/accounting/resources/tax_rates/types/tax_rates_list_request_expand_item.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class TaxRatesListRequestExpandItem(str, enum.Enum): + COMPANY = "company" + + def visit(self, company: typing.Callable[[], T_Result]) -> T_Result: + if self is TaxRatesListRequestExpandItem.COMPANY: + return company() diff --git a/src/merge/resources/accounting/resources/tax_rates/types/tax_rates_retrieve_request_expand_item.py b/src/merge/resources/accounting/resources/tax_rates/types/tax_rates_retrieve_request_expand_item.py new file mode 100644 index 00000000..202daca0 --- /dev/null +++ b/src/merge/resources/accounting/resources/tax_rates/types/tax_rates_retrieve_request_expand_item.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class TaxRatesRetrieveRequestExpandItem(str, enum.Enum): + COMPANY = "company" + + def visit(self, company: typing.Callable[[], T_Result]) -> T_Result: + if self is TaxRatesRetrieveRequestExpandItem.COMPANY: + return company() diff --git a/src/merge/resources/accounting/resources/tracking_categories/__init__.py b/src/merge/resources/accounting/resources/tracking_categories/__init__.py index 6f5cbc5a..b14061d4 100644 --- a/src/merge/resources/accounting/resources/tracking_categories/__init__.py +++ b/src/merge/resources/accounting/resources/tracking_categories/__init__.py @@ -6,10 +6,25 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .types import TrackingCategoriesListRequestCategoryType, TrackingCategoriesListRequestStatus + from .types import ( + TrackingCategoriesListRequestCategoryType, + TrackingCategoriesListRequestExpandItem, + TrackingCategoriesListRequestRemoteFields, + TrackingCategoriesListRequestShowEnumOrigins, + TrackingCategoriesListRequestStatus, + TrackingCategoriesRetrieveRequestExpandItem, + TrackingCategoriesRetrieveRequestRemoteFields, + TrackingCategoriesRetrieveRequestShowEnumOrigins, + ) _dynamic_imports: typing.Dict[str, str] = { "TrackingCategoriesListRequestCategoryType": ".types", + "TrackingCategoriesListRequestExpandItem": ".types", + "TrackingCategoriesListRequestRemoteFields": ".types", + "TrackingCategoriesListRequestShowEnumOrigins": ".types", "TrackingCategoriesListRequestStatus": ".types", + "TrackingCategoriesRetrieveRequestExpandItem": ".types", + "TrackingCategoriesRetrieveRequestRemoteFields": ".types", + "TrackingCategoriesRetrieveRequestShowEnumOrigins": ".types", } @@ -19,8 +34,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -32,4 +49,13 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["TrackingCategoriesListRequestCategoryType", "TrackingCategoriesListRequestStatus"] +__all__ = [ + "TrackingCategoriesListRequestCategoryType", + "TrackingCategoriesListRequestExpandItem", + "TrackingCategoriesListRequestRemoteFields", + "TrackingCategoriesListRequestShowEnumOrigins", + "TrackingCategoriesListRequestStatus", + "TrackingCategoriesRetrieveRequestExpandItem", + "TrackingCategoriesRetrieveRequestRemoteFields", + "TrackingCategoriesRetrieveRequestShowEnumOrigins", +] diff --git a/src/merge/resources/accounting/resources/tracking_categories/client.py b/src/merge/resources/accounting/resources/tracking_categories/client.py index c2f68550..d0a0c46b 100644 --- a/src/merge/resources/accounting/resources/tracking_categories/client.py +++ b/src/merge/resources/accounting/resources/tracking_categories/client.py @@ -4,12 +4,21 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.paginated_tracking_category_list import PaginatedTrackingCategoryList from ...types.tracking_category import TrackingCategory from .raw_client import AsyncRawTrackingCategoriesClient, RawTrackingCategoriesClient from .types.tracking_categories_list_request_category_type import TrackingCategoriesListRequestCategoryType +from .types.tracking_categories_list_request_expand_item import TrackingCategoriesListRequestExpandItem +from .types.tracking_categories_list_request_remote_fields import TrackingCategoriesListRequestRemoteFields +from .types.tracking_categories_list_request_show_enum_origins import TrackingCategoriesListRequestShowEnumOrigins from .types.tracking_categories_list_request_status import TrackingCategoriesListRequestStatus +from .types.tracking_categories_retrieve_request_expand_item import TrackingCategoriesRetrieveRequestExpandItem +from .types.tracking_categories_retrieve_request_remote_fields import TrackingCategoriesRetrieveRequestRemoteFields +from .types.tracking_categories_retrieve_request_show_enum_origins import ( + TrackingCategoriesRetrieveRequestShowEnumOrigins, +) class TrackingCategoriesClient: @@ -35,7 +44,11 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[ + TrackingCategoriesListRequestExpandItem, typing.Sequence[TrackingCategoriesListRequestExpandItem] + ] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -43,12 +56,12 @@ def list( modified_before: typing.Optional[dt.datetime] = None, name: typing.Optional[str] = None, page_size: typing.Optional[int] = None, - remote_fields: typing.Optional[typing.Literal["status"]] = None, + remote_fields: typing.Optional[TrackingCategoriesListRequestRemoteFields] = None, remote_id: typing.Optional[str] = None, - show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + show_enum_origins: typing.Optional[TrackingCategoriesListRequestShowEnumOrigins] = None, status: typing.Optional[TrackingCategoriesListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedTrackingCategoryList: + ) -> SyncPager[TrackingCategory, PaginatedTrackingCategoryList]: """ Returns a list of `TrackingCategory` objects. @@ -69,7 +82,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[TrackingCategoriesListRequestExpandItem, typing.Sequence[TrackingCategoriesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -93,13 +106,13 @@ def list( page_size : typing.Optional[int] Number of results to return per page. - remote_fields : typing.Optional[typing.Literal["status"]] + remote_fields : typing.Optional[TrackingCategoriesListRequestRemoteFields] Deprecated. Use show_enum_origins. remote_id : typing.Optional[str] The API provider's ID for the given object. - show_enum_origins : typing.Optional[typing.Literal["status"]] + show_enum_origins : typing.Optional[TrackingCategoriesListRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) status : typing.Optional[TrackingCategoriesListRequestStatus] @@ -110,49 +123,27 @@ def list( Returns ------- - PaginatedTrackingCategoryList + SyncPager[TrackingCategory, PaginatedTrackingCategoryList] Examples -------- - import datetime - from merge import Merge - from merge.resources.accounting.resources.tracking_categories import ( - TrackingCategoriesListRequestCategoryType, - TrackingCategoriesListRequestStatus, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.tracking_categories.list( - category_type=TrackingCategoriesListRequestCategoryType.EMPTY, - company_id="company_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = client.accounting.tracking_categories.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - name="name", - page_size=1, - remote_id="remote_id", - status=TrackingCategoriesListRequestStatus.EMPTY, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( category_type=category_type, company_id=company_id, created_after=created_after, @@ -172,17 +163,21 @@ def list( status=status, request_options=request_options, ) - return _response.data def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[ + TrackingCategoriesRetrieveRequestExpandItem, + typing.Sequence[TrackingCategoriesRetrieveRequestExpandItem], + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - remote_fields: typing.Optional[typing.Literal["status"]] = None, - show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + remote_fields: typing.Optional[TrackingCategoriesRetrieveRequestRemoteFields] = None, + show_enum_origins: typing.Optional[TrackingCategoriesRetrieveRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, ) -> TrackingCategory: """ @@ -192,7 +187,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[TrackingCategoriesRetrieveRequestExpandItem, typing.Sequence[TrackingCategoriesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -201,10 +196,10 @@ def retrieve( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - remote_fields : typing.Optional[typing.Literal["status"]] + remote_fields : typing.Optional[TrackingCategoriesRetrieveRequestRemoteFields] Deprecated. Use show_enum_origins. - show_enum_origins : typing.Optional[typing.Literal["status"]] + show_enum_origins : typing.Optional[TrackingCategoriesRetrieveRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -225,8 +220,6 @@ def retrieve( ) client.accounting.tracking_categories.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) """ _response = self._raw_client.retrieve( @@ -264,7 +257,11 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[ + TrackingCategoriesListRequestExpandItem, typing.Sequence[TrackingCategoriesListRequestExpandItem] + ] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -272,12 +269,12 @@ async def list( modified_before: typing.Optional[dt.datetime] = None, name: typing.Optional[str] = None, page_size: typing.Optional[int] = None, - remote_fields: typing.Optional[typing.Literal["status"]] = None, + remote_fields: typing.Optional[TrackingCategoriesListRequestRemoteFields] = None, remote_id: typing.Optional[str] = None, - show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + show_enum_origins: typing.Optional[TrackingCategoriesListRequestShowEnumOrigins] = None, status: typing.Optional[TrackingCategoriesListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedTrackingCategoryList: + ) -> AsyncPager[TrackingCategory, PaginatedTrackingCategoryList]: """ Returns a list of `TrackingCategory` objects. @@ -298,7 +295,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[TrackingCategoriesListRequestExpandItem, typing.Sequence[TrackingCategoriesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -322,13 +319,13 @@ async def list( page_size : typing.Optional[int] Number of results to return per page. - remote_fields : typing.Optional[typing.Literal["status"]] + remote_fields : typing.Optional[TrackingCategoriesListRequestRemoteFields] Deprecated. Use show_enum_origins. remote_id : typing.Optional[str] The API provider's ID for the given object. - show_enum_origins : typing.Optional[typing.Literal["status"]] + show_enum_origins : typing.Optional[TrackingCategoriesListRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) status : typing.Optional[TrackingCategoriesListRequestStatus] @@ -339,19 +336,14 @@ async def list( Returns ------- - PaginatedTrackingCategoryList + AsyncPager[TrackingCategory, PaginatedTrackingCategoryList] Examples -------- import asyncio - import datetime from merge import AsyncMerge - from merge.resources.accounting.resources.tracking_categories import ( - TrackingCategoriesListRequestCategoryType, - TrackingCategoriesListRequestStatus, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -360,35 +352,20 @@ async def list( async def main() -> None: - await client.accounting.tracking_categories.list( - category_type=TrackingCategoriesListRequestCategoryType.EMPTY, - company_id="company_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = await client.accounting.tracking_categories.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - name="name", - page_size=1, - remote_id="remote_id", - status=TrackingCategoriesListRequestStatus.EMPTY, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( category_type=category_type, company_id=company_id, created_after=created_after, @@ -408,17 +385,21 @@ async def main() -> None: status=status, request_options=request_options, ) - return _response.data async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[ + TrackingCategoriesRetrieveRequestExpandItem, + typing.Sequence[TrackingCategoriesRetrieveRequestExpandItem], + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - remote_fields: typing.Optional[typing.Literal["status"]] = None, - show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + remote_fields: typing.Optional[TrackingCategoriesRetrieveRequestRemoteFields] = None, + show_enum_origins: typing.Optional[TrackingCategoriesRetrieveRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, ) -> TrackingCategory: """ @@ -428,7 +409,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[TrackingCategoriesRetrieveRequestExpandItem, typing.Sequence[TrackingCategoriesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -437,10 +418,10 @@ async def retrieve( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - remote_fields : typing.Optional[typing.Literal["status"]] + remote_fields : typing.Optional[TrackingCategoriesRetrieveRequestRemoteFields] Deprecated. Use show_enum_origins. - show_enum_origins : typing.Optional[typing.Literal["status"]] + show_enum_origins : typing.Optional[TrackingCategoriesRetrieveRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -466,8 +447,6 @@ async def retrieve( async def main() -> None: await client.accounting.tracking_categories.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) diff --git a/src/merge/resources/accounting/resources/tracking_categories/raw_client.py b/src/merge/resources/accounting/resources/tracking_categories/raw_client.py index 2b73c9ef..a71bf35f 100644 --- a/src/merge/resources/accounting/resources/tracking_categories/raw_client.py +++ b/src/merge/resources/accounting/resources/tracking_categories/raw_client.py @@ -9,12 +9,21 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.paginated_tracking_category_list import PaginatedTrackingCategoryList from ...types.tracking_category import TrackingCategory from .types.tracking_categories_list_request_category_type import TrackingCategoriesListRequestCategoryType +from .types.tracking_categories_list_request_expand_item import TrackingCategoriesListRequestExpandItem +from .types.tracking_categories_list_request_remote_fields import TrackingCategoriesListRequestRemoteFields +from .types.tracking_categories_list_request_show_enum_origins import TrackingCategoriesListRequestShowEnumOrigins from .types.tracking_categories_list_request_status import TrackingCategoriesListRequestStatus +from .types.tracking_categories_retrieve_request_expand_item import TrackingCategoriesRetrieveRequestExpandItem +from .types.tracking_categories_retrieve_request_remote_fields import TrackingCategoriesRetrieveRequestRemoteFields +from .types.tracking_categories_retrieve_request_show_enum_origins import ( + TrackingCategoriesRetrieveRequestShowEnumOrigins, +) class RawTrackingCategoriesClient: @@ -29,7 +38,11 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[ + TrackingCategoriesListRequestExpandItem, typing.Sequence[TrackingCategoriesListRequestExpandItem] + ] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -37,12 +50,12 @@ def list( modified_before: typing.Optional[dt.datetime] = None, name: typing.Optional[str] = None, page_size: typing.Optional[int] = None, - remote_fields: typing.Optional[typing.Literal["status"]] = None, + remote_fields: typing.Optional[TrackingCategoriesListRequestRemoteFields] = None, remote_id: typing.Optional[str] = None, - show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + show_enum_origins: typing.Optional[TrackingCategoriesListRequestShowEnumOrigins] = None, status: typing.Optional[TrackingCategoriesListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedTrackingCategoryList]: + ) -> SyncPager[TrackingCategory, PaginatedTrackingCategoryList]: """ Returns a list of `TrackingCategory` objects. @@ -63,7 +76,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[TrackingCategoriesListRequestExpandItem, typing.Sequence[TrackingCategoriesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -87,13 +100,13 @@ def list( page_size : typing.Optional[int] Number of results to return per page. - remote_fields : typing.Optional[typing.Literal["status"]] + remote_fields : typing.Optional[TrackingCategoriesListRequestRemoteFields] Deprecated. Use show_enum_origins. remote_id : typing.Optional[str] The API provider's ID for the given object. - show_enum_origins : typing.Optional[typing.Literal["status"]] + show_enum_origins : typing.Optional[TrackingCategoriesListRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) status : typing.Optional[TrackingCategoriesListRequestStatus] @@ -104,7 +117,7 @@ def list( Returns ------- - HttpResponse[PaginatedTrackingCategoryList] + SyncPager[TrackingCategory, PaginatedTrackingCategoryList] """ _response = self._client_wrapper.httpx_client.request( @@ -133,14 +146,37 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedTrackingCategoryList, construct_type( type_=PaginatedTrackingCategoryList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + category_type=category_type, + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + name=name, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + status=status, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -150,11 +186,16 @@ def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[ + TrackingCategoriesRetrieveRequestExpandItem, + typing.Sequence[TrackingCategoriesRetrieveRequestExpandItem], + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - remote_fields: typing.Optional[typing.Literal["status"]] = None, - show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + remote_fields: typing.Optional[TrackingCategoriesRetrieveRequestRemoteFields] = None, + show_enum_origins: typing.Optional[TrackingCategoriesRetrieveRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[TrackingCategory]: """ @@ -164,7 +205,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[TrackingCategoriesRetrieveRequestExpandItem, typing.Sequence[TrackingCategoriesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -173,10 +214,10 @@ def retrieve( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - remote_fields : typing.Optional[typing.Literal["status"]] + remote_fields : typing.Optional[TrackingCategoriesRetrieveRequestRemoteFields] Deprecated. Use show_enum_origins. - show_enum_origins : typing.Optional[typing.Literal["status"]] + show_enum_origins : typing.Optional[TrackingCategoriesRetrieveRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -227,7 +268,11 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[ + TrackingCategoriesListRequestExpandItem, typing.Sequence[TrackingCategoriesListRequestExpandItem] + ] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -235,12 +280,12 @@ async def list( modified_before: typing.Optional[dt.datetime] = None, name: typing.Optional[str] = None, page_size: typing.Optional[int] = None, - remote_fields: typing.Optional[typing.Literal["status"]] = None, + remote_fields: typing.Optional[TrackingCategoriesListRequestRemoteFields] = None, remote_id: typing.Optional[str] = None, - show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + show_enum_origins: typing.Optional[TrackingCategoriesListRequestShowEnumOrigins] = None, status: typing.Optional[TrackingCategoriesListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedTrackingCategoryList]: + ) -> AsyncPager[TrackingCategory, PaginatedTrackingCategoryList]: """ Returns a list of `TrackingCategory` objects. @@ -261,7 +306,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[TrackingCategoriesListRequestExpandItem, typing.Sequence[TrackingCategoriesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -285,13 +330,13 @@ async def list( page_size : typing.Optional[int] Number of results to return per page. - remote_fields : typing.Optional[typing.Literal["status"]] + remote_fields : typing.Optional[TrackingCategoriesListRequestRemoteFields] Deprecated. Use show_enum_origins. remote_id : typing.Optional[str] The API provider's ID for the given object. - show_enum_origins : typing.Optional[typing.Literal["status"]] + show_enum_origins : typing.Optional[TrackingCategoriesListRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) status : typing.Optional[TrackingCategoriesListRequestStatus] @@ -302,7 +347,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedTrackingCategoryList] + AsyncPager[TrackingCategory, PaginatedTrackingCategoryList] """ _response = await self._client_wrapper.httpx_client.request( @@ -331,14 +376,40 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedTrackingCategoryList, construct_type( type_=PaginatedTrackingCategoryList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + category_type=category_type, + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + name=name, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + status=status, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -348,11 +419,16 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[ + TrackingCategoriesRetrieveRequestExpandItem, + typing.Sequence[TrackingCategoriesRetrieveRequestExpandItem], + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - remote_fields: typing.Optional[typing.Literal["status"]] = None, - show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + remote_fields: typing.Optional[TrackingCategoriesRetrieveRequestRemoteFields] = None, + show_enum_origins: typing.Optional[TrackingCategoriesRetrieveRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[TrackingCategory]: """ @@ -362,7 +438,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[TrackingCategoriesRetrieveRequestExpandItem, typing.Sequence[TrackingCategoriesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -371,10 +447,10 @@ async def retrieve( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - remote_fields : typing.Optional[typing.Literal["status"]] + remote_fields : typing.Optional[TrackingCategoriesRetrieveRequestRemoteFields] Deprecated. Use show_enum_origins. - show_enum_origins : typing.Optional[typing.Literal["status"]] + show_enum_origins : typing.Optional[TrackingCategoriesRetrieveRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] diff --git a/src/merge/resources/accounting/resources/tracking_categories/types/__init__.py b/src/merge/resources/accounting/resources/tracking_categories/types/__init__.py index 702a54d3..cebe89e7 100644 --- a/src/merge/resources/accounting/resources/tracking_categories/types/__init__.py +++ b/src/merge/resources/accounting/resources/tracking_categories/types/__init__.py @@ -7,10 +7,22 @@ if typing.TYPE_CHECKING: from .tracking_categories_list_request_category_type import TrackingCategoriesListRequestCategoryType + from .tracking_categories_list_request_expand_item import TrackingCategoriesListRequestExpandItem + from .tracking_categories_list_request_remote_fields import TrackingCategoriesListRequestRemoteFields + from .tracking_categories_list_request_show_enum_origins import TrackingCategoriesListRequestShowEnumOrigins from .tracking_categories_list_request_status import TrackingCategoriesListRequestStatus + from .tracking_categories_retrieve_request_expand_item import TrackingCategoriesRetrieveRequestExpandItem + from .tracking_categories_retrieve_request_remote_fields import TrackingCategoriesRetrieveRequestRemoteFields + from .tracking_categories_retrieve_request_show_enum_origins import TrackingCategoriesRetrieveRequestShowEnumOrigins _dynamic_imports: typing.Dict[str, str] = { "TrackingCategoriesListRequestCategoryType": ".tracking_categories_list_request_category_type", + "TrackingCategoriesListRequestExpandItem": ".tracking_categories_list_request_expand_item", + "TrackingCategoriesListRequestRemoteFields": ".tracking_categories_list_request_remote_fields", + "TrackingCategoriesListRequestShowEnumOrigins": ".tracking_categories_list_request_show_enum_origins", "TrackingCategoriesListRequestStatus": ".tracking_categories_list_request_status", + "TrackingCategoriesRetrieveRequestExpandItem": ".tracking_categories_retrieve_request_expand_item", + "TrackingCategoriesRetrieveRequestRemoteFields": ".tracking_categories_retrieve_request_remote_fields", + "TrackingCategoriesRetrieveRequestShowEnumOrigins": ".tracking_categories_retrieve_request_show_enum_origins", } @@ -20,8 +32,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -33,4 +47,13 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["TrackingCategoriesListRequestCategoryType", "TrackingCategoriesListRequestStatus"] +__all__ = [ + "TrackingCategoriesListRequestCategoryType", + "TrackingCategoriesListRequestExpandItem", + "TrackingCategoriesListRequestRemoteFields", + "TrackingCategoriesListRequestShowEnumOrigins", + "TrackingCategoriesListRequestStatus", + "TrackingCategoriesRetrieveRequestExpandItem", + "TrackingCategoriesRetrieveRequestRemoteFields", + "TrackingCategoriesRetrieveRequestShowEnumOrigins", +] diff --git a/src/merge/resources/accounting/resources/tracking_categories/types/tracking_categories_list_request_expand_item.py b/src/merge/resources/accounting/resources/tracking_categories/types/tracking_categories_list_request_expand_item.py new file mode 100644 index 00000000..a5981d6a --- /dev/null +++ b/src/merge/resources/accounting/resources/tracking_categories/types/tracking_categories_list_request_expand_item.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class TrackingCategoriesListRequestExpandItem(str, enum.Enum): + COMPANY = "company" + + def visit(self, company: typing.Callable[[], T_Result]) -> T_Result: + if self is TrackingCategoriesListRequestExpandItem.COMPANY: + return company() diff --git a/src/merge/resources/accounting/resources/tracking_categories/types/tracking_categories_list_request_remote_fields.py b/src/merge/resources/accounting/resources/tracking_categories/types/tracking_categories_list_request_remote_fields.py new file mode 100644 index 00000000..7d2a6d5b --- /dev/null +++ b/src/merge/resources/accounting/resources/tracking_categories/types/tracking_categories_list_request_remote_fields.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class TrackingCategoriesListRequestRemoteFields(str, enum.Enum): + STATUS = "status" + + def visit(self, status: typing.Callable[[], T_Result]) -> T_Result: + if self is TrackingCategoriesListRequestRemoteFields.STATUS: + return status() diff --git a/src/merge/resources/accounting/resources/tracking_categories/types/tracking_categories_list_request_show_enum_origins.py b/src/merge/resources/accounting/resources/tracking_categories/types/tracking_categories_list_request_show_enum_origins.py new file mode 100644 index 00000000..6a6e6db7 --- /dev/null +++ b/src/merge/resources/accounting/resources/tracking_categories/types/tracking_categories_list_request_show_enum_origins.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class TrackingCategoriesListRequestShowEnumOrigins(str, enum.Enum): + STATUS = "status" + + def visit(self, status: typing.Callable[[], T_Result]) -> T_Result: + if self is TrackingCategoriesListRequestShowEnumOrigins.STATUS: + return status() diff --git a/src/merge/resources/accounting/resources/tracking_categories/types/tracking_categories_retrieve_request_expand_item.py b/src/merge/resources/accounting/resources/tracking_categories/types/tracking_categories_retrieve_request_expand_item.py new file mode 100644 index 00000000..0394f768 --- /dev/null +++ b/src/merge/resources/accounting/resources/tracking_categories/types/tracking_categories_retrieve_request_expand_item.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class TrackingCategoriesRetrieveRequestExpandItem(str, enum.Enum): + COMPANY = "company" + + def visit(self, company: typing.Callable[[], T_Result]) -> T_Result: + if self is TrackingCategoriesRetrieveRequestExpandItem.COMPANY: + return company() diff --git a/src/merge/resources/accounting/resources/tracking_categories/types/tracking_categories_retrieve_request_remote_fields.py b/src/merge/resources/accounting/resources/tracking_categories/types/tracking_categories_retrieve_request_remote_fields.py new file mode 100644 index 00000000..2d6c2d64 --- /dev/null +++ b/src/merge/resources/accounting/resources/tracking_categories/types/tracking_categories_retrieve_request_remote_fields.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class TrackingCategoriesRetrieveRequestRemoteFields(str, enum.Enum): + STATUS = "status" + + def visit(self, status: typing.Callable[[], T_Result]) -> T_Result: + if self is TrackingCategoriesRetrieveRequestRemoteFields.STATUS: + return status() diff --git a/src/merge/resources/accounting/resources/tracking_categories/types/tracking_categories_retrieve_request_show_enum_origins.py b/src/merge/resources/accounting/resources/tracking_categories/types/tracking_categories_retrieve_request_show_enum_origins.py new file mode 100644 index 00000000..42c921d8 --- /dev/null +++ b/src/merge/resources/accounting/resources/tracking_categories/types/tracking_categories_retrieve_request_show_enum_origins.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class TrackingCategoriesRetrieveRequestShowEnumOrigins(str, enum.Enum): + STATUS = "status" + + def visit(self, status: typing.Callable[[], T_Result]) -> T_Result: + if self is TrackingCategoriesRetrieveRequestShowEnumOrigins.STATUS: + return status() diff --git a/src/merge/resources/accounting/resources/transactions/__init__.py b/src/merge/resources/accounting/resources/transactions/__init__.py index 33273208..3697bbc7 100644 --- a/src/merge/resources/accounting/resources/transactions/__init__.py +++ b/src/merge/resources/accounting/resources/transactions/__init__.py @@ -6,10 +6,10 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .types import TransactionsListRequestExpand, TransactionsRetrieveRequestExpand + from .types import TransactionsListRequestExpandItem, TransactionsRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "TransactionsListRequestExpand": ".types", - "TransactionsRetrieveRequestExpand": ".types", + "TransactionsListRequestExpandItem": ".types", + "TransactionsRetrieveRequestExpandItem": ".types", } @@ -19,8 +19,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -32,4 +34,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["TransactionsListRequestExpand", "TransactionsRetrieveRequestExpand"] +__all__ = ["TransactionsListRequestExpandItem", "TransactionsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/accounting/resources/transactions/client.py b/src/merge/resources/accounting/resources/transactions/client.py index a7842616..ba243a3f 100644 --- a/src/merge/resources/accounting/resources/transactions/client.py +++ b/src/merge/resources/accounting/resources/transactions/client.py @@ -4,12 +4,13 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.paginated_transaction_list import PaginatedTransactionList from ...types.transaction import Transaction from .raw_client import AsyncRawTransactionsClient, RawTransactionsClient -from .types.transactions_list_request_expand import TransactionsListRequestExpand -from .types.transactions_retrieve_request_expand import TransactionsRetrieveRequestExpand +from .types.transactions_list_request_expand_item import TransactionsListRequestExpandItem +from .types.transactions_retrieve_request_expand_item import TransactionsRetrieveRequestExpandItem class TransactionsClient: @@ -34,7 +35,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[TransactionsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[TransactionsListRequestExpandItem, typing.Sequence[TransactionsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -45,7 +48,7 @@ def list( transaction_date_after: typing.Optional[dt.datetime] = None, transaction_date_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedTransactionList: + ) -> SyncPager[Transaction, PaginatedTransactionList]: """ Returns a list of `Transaction` objects. @@ -63,7 +66,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[TransactionsListRequestExpand] + expand : typing.Optional[typing.Union[TransactionsListRequestExpandItem, typing.Sequence[TransactionsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -98,52 +101,27 @@ def list( Returns ------- - PaginatedTransactionList + SyncPager[Transaction, PaginatedTransactionList] Examples -------- - import datetime - from merge import Merge - from merge.resources.accounting.resources.transactions import ( - TransactionsListRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.transactions.list( - company_id="company_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = client.accounting.transactions.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=TransactionsListRequestExpand.ACCOUNT, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", - transaction_date_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - transaction_date_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -160,13 +138,14 @@ def list( transaction_date_before=transaction_date_before, request_options=request_options, ) - return _response.data def retrieve( self, id: str, *, - expand: typing.Optional[TransactionsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[TransactionsRetrieveRequestExpandItem, typing.Sequence[TransactionsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -178,7 +157,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[TransactionsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[TransactionsRetrieveRequestExpandItem, typing.Sequence[TransactionsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -198,9 +177,6 @@ def retrieve( Examples -------- from merge import Merge - from merge.resources.accounting.resources.transactions import ( - TransactionsRetrieveRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -208,9 +184,6 @@ def retrieve( ) client.accounting.transactions.retrieve( id="id", - expand=TransactionsRetrieveRequestExpand.ACCOUNT, - include_remote_data=True, - include_shell_data=True, ) """ _response = self._raw_client.retrieve( @@ -245,7 +218,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[TransactionsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[TransactionsListRequestExpandItem, typing.Sequence[TransactionsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -256,7 +231,7 @@ async def list( transaction_date_after: typing.Optional[dt.datetime] = None, transaction_date_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedTransactionList: + ) -> AsyncPager[Transaction, PaginatedTransactionList]: """ Returns a list of `Transaction` objects. @@ -274,7 +249,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[TransactionsListRequestExpand] + expand : typing.Optional[typing.Union[TransactionsListRequestExpandItem, typing.Sequence[TransactionsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -309,18 +284,14 @@ async def list( Returns ------- - PaginatedTransactionList + AsyncPager[Transaction, PaginatedTransactionList] Examples -------- import asyncio - import datetime from merge import AsyncMerge - from merge.resources.accounting.resources.transactions import ( - TransactionsListRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -329,39 +300,20 @@ async def list( async def main() -> None: - await client.accounting.transactions.list( - company_id="company_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = await client.accounting.transactions.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=TransactionsListRequestExpand.ACCOUNT, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", - transaction_date_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - transaction_date_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -378,13 +330,14 @@ async def main() -> None: transaction_date_before=transaction_date_before, request_options=request_options, ) - return _response.data async def retrieve( self, id: str, *, - expand: typing.Optional[TransactionsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[TransactionsRetrieveRequestExpandItem, typing.Sequence[TransactionsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -396,7 +349,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[TransactionsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[TransactionsRetrieveRequestExpandItem, typing.Sequence[TransactionsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -418,9 +371,6 @@ async def retrieve( import asyncio from merge import AsyncMerge - from merge.resources.accounting.resources.transactions import ( - TransactionsRetrieveRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -431,9 +381,6 @@ async def retrieve( async def main() -> None: await client.accounting.transactions.retrieve( id="id", - expand=TransactionsRetrieveRequestExpand.ACCOUNT, - include_remote_data=True, - include_shell_data=True, ) diff --git a/src/merge/resources/accounting/resources/transactions/raw_client.py b/src/merge/resources/accounting/resources/transactions/raw_client.py index ad8a91c3..df9e948a 100644 --- a/src/merge/resources/accounting/resources/transactions/raw_client.py +++ b/src/merge/resources/accounting/resources/transactions/raw_client.py @@ -9,12 +9,13 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.paginated_transaction_list import PaginatedTransactionList from ...types.transaction import Transaction -from .types.transactions_list_request_expand import TransactionsListRequestExpand -from .types.transactions_retrieve_request_expand import TransactionsRetrieveRequestExpand +from .types.transactions_list_request_expand_item import TransactionsListRequestExpandItem +from .types.transactions_retrieve_request_expand_item import TransactionsRetrieveRequestExpandItem class RawTransactionsClient: @@ -28,7 +29,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[TransactionsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[TransactionsListRequestExpandItem, typing.Sequence[TransactionsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -39,7 +42,7 @@ def list( transaction_date_after: typing.Optional[dt.datetime] = None, transaction_date_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedTransactionList]: + ) -> SyncPager[Transaction, PaginatedTransactionList]: """ Returns a list of `Transaction` objects. @@ -57,7 +60,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[TransactionsListRequestExpand] + expand : typing.Optional[typing.Union[TransactionsListRequestExpandItem, typing.Sequence[TransactionsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -92,7 +95,7 @@ def list( Returns ------- - HttpResponse[PaginatedTransactionList] + SyncPager[Transaction, PaginatedTransactionList] """ _response = self._client_wrapper.httpx_client.request( @@ -122,14 +125,34 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedTransactionList, construct_type( type_=PaginatedTransactionList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + transaction_date_after=transaction_date_after, + transaction_date_before=transaction_date_before, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -139,7 +162,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[TransactionsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[TransactionsRetrieveRequestExpandItem, typing.Sequence[TransactionsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -151,7 +176,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[TransactionsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[TransactionsRetrieveRequestExpandItem, typing.Sequence[TransactionsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -205,7 +230,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[TransactionsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[TransactionsListRequestExpandItem, typing.Sequence[TransactionsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -216,7 +243,7 @@ async def list( transaction_date_after: typing.Optional[dt.datetime] = None, transaction_date_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedTransactionList]: + ) -> AsyncPager[Transaction, PaginatedTransactionList]: """ Returns a list of `Transaction` objects. @@ -234,7 +261,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[TransactionsListRequestExpand] + expand : typing.Optional[typing.Union[TransactionsListRequestExpandItem, typing.Sequence[TransactionsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -269,7 +296,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedTransactionList] + AsyncPager[Transaction, PaginatedTransactionList] """ _response = await self._client_wrapper.httpx_client.request( @@ -299,14 +326,37 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedTransactionList, construct_type( type_=PaginatedTransactionList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + transaction_date_after=transaction_date_after, + transaction_date_before=transaction_date_before, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -316,7 +366,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[TransactionsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[TransactionsRetrieveRequestExpandItem, typing.Sequence[TransactionsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -328,7 +380,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[TransactionsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[TransactionsRetrieveRequestExpandItem, typing.Sequence[TransactionsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/accounting/resources/transactions/types/__init__.py b/src/merge/resources/accounting/resources/transactions/types/__init__.py index 4b58f5e5..147d4384 100644 --- a/src/merge/resources/accounting/resources/transactions/types/__init__.py +++ b/src/merge/resources/accounting/resources/transactions/types/__init__.py @@ -6,11 +6,11 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .transactions_list_request_expand import TransactionsListRequestExpand - from .transactions_retrieve_request_expand import TransactionsRetrieveRequestExpand + from .transactions_list_request_expand_item import TransactionsListRequestExpandItem + from .transactions_retrieve_request_expand_item import TransactionsRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "TransactionsListRequestExpand": ".transactions_list_request_expand", - "TransactionsRetrieveRequestExpand": ".transactions_retrieve_request_expand", + "TransactionsListRequestExpandItem": ".transactions_list_request_expand_item", + "TransactionsRetrieveRequestExpandItem": ".transactions_retrieve_request_expand_item", } @@ -20,8 +20,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -33,4 +35,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["TransactionsListRequestExpand", "TransactionsRetrieveRequestExpand"] +__all__ = ["TransactionsListRequestExpandItem", "TransactionsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/accounting/resources/transactions/types/transactions_list_request_expand.py b/src/merge/resources/accounting/resources/transactions/types/transactions_list_request_expand.py deleted file mode 100644 index 8246398b..00000000 --- a/src/merge/resources/accounting/resources/transactions/types/transactions_list_request_expand.py +++ /dev/null @@ -1,284 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class TransactionsListRequestExpand(str, enum.Enum): - ACCOUNT = "account" - ACCOUNT_ACCOUNTING_PERIOD = "account,accounting_period" - ACCOUNT_COMPANY = "account,company" - ACCOUNT_COMPANY_ACCOUNTING_PERIOD = "account,company,accounting_period" - ACCOUNTING_PERIOD = "accounting_period" - COMPANY = "company" - COMPANY_ACCOUNTING_PERIOD = "company,accounting_period" - CONTACT = "contact" - CONTACT_ACCOUNT = "contact,account" - CONTACT_ACCOUNT_ACCOUNTING_PERIOD = "contact,account,accounting_period" - CONTACT_ACCOUNT_COMPANY = "contact,account,company" - CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD = "contact,account,company,accounting_period" - CONTACT_ACCOUNTING_PERIOD = "contact,accounting_period" - CONTACT_COMPANY = "contact,company" - CONTACT_COMPANY_ACCOUNTING_PERIOD = "contact,company,accounting_period" - LINE_ITEMS = "line_items" - LINE_ITEMS_ACCOUNT = "line_items,account" - LINE_ITEMS_ACCOUNT_ACCOUNTING_PERIOD = "line_items,account,accounting_period" - LINE_ITEMS_ACCOUNT_COMPANY = "line_items,account,company" - LINE_ITEMS_ACCOUNT_COMPANY_ACCOUNTING_PERIOD = "line_items,account,company,accounting_period" - LINE_ITEMS_ACCOUNTING_PERIOD = "line_items,accounting_period" - LINE_ITEMS_COMPANY = "line_items,company" - LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD = "line_items,company,accounting_period" - LINE_ITEMS_CONTACT = "line_items,contact" - LINE_ITEMS_CONTACT_ACCOUNT = "line_items,contact,account" - LINE_ITEMS_CONTACT_ACCOUNT_ACCOUNTING_PERIOD = "line_items,contact,account,accounting_period" - LINE_ITEMS_CONTACT_ACCOUNT_COMPANY = "line_items,contact,account,company" - LINE_ITEMS_CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD = "line_items,contact,account,company,accounting_period" - LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD = "line_items,contact,accounting_period" - LINE_ITEMS_CONTACT_COMPANY = "line_items,contact,company" - LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "line_items,contact,company,accounting_period" - LINE_ITEMS_TRACKING_CATEGORIES = "line_items,tracking_categories" - LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNT = "line_items,tracking_categories,account" - LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNT_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,account,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNT_COMPANY = "line_items,tracking_categories,account,company" - LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNT_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,account,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "line_items,tracking_categories,accounting_period" - LINE_ITEMS_TRACKING_CATEGORIES_COMPANY = "line_items,tracking_categories,company" - LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT = "line_items,tracking_categories,contact" - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNT = "line_items,tracking_categories,contact,account" - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNT_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,contact,account,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNT_COMPANY = "line_items,tracking_categories,contact,account,company" - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,contact,account,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,contact,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY = "line_items,tracking_categories,contact,company" - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,contact,company,accounting_period" - ) - TRACKING_CATEGORIES = "tracking_categories" - TRACKING_CATEGORIES_ACCOUNT = "tracking_categories,account" - TRACKING_CATEGORIES_ACCOUNT_ACCOUNTING_PERIOD = "tracking_categories,account,accounting_period" - TRACKING_CATEGORIES_ACCOUNT_COMPANY = "tracking_categories,account,company" - TRACKING_CATEGORIES_ACCOUNT_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,account,company,accounting_period" - TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "tracking_categories,accounting_period" - TRACKING_CATEGORIES_COMPANY = "tracking_categories,company" - TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,company,accounting_period" - TRACKING_CATEGORIES_CONTACT = "tracking_categories,contact" - TRACKING_CATEGORIES_CONTACT_ACCOUNT = "tracking_categories,contact,account" - TRACKING_CATEGORIES_CONTACT_ACCOUNT_ACCOUNTING_PERIOD = "tracking_categories,contact,account,accounting_period" - TRACKING_CATEGORIES_CONTACT_ACCOUNT_COMPANY = "tracking_categories,contact,account,company" - TRACKING_CATEGORIES_CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,contact,account,company,accounting_period" - ) - TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = "tracking_categories,contact,accounting_period" - TRACKING_CATEGORIES_CONTACT_COMPANY = "tracking_categories,contact,company" - TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,contact,company,accounting_period" - - def visit( - self, - account: typing.Callable[[], T_Result], - account_accounting_period: typing.Callable[[], T_Result], - account_company: typing.Callable[[], T_Result], - account_company_accounting_period: typing.Callable[[], T_Result], - accounting_period: typing.Callable[[], T_Result], - company: typing.Callable[[], T_Result], - company_accounting_period: typing.Callable[[], T_Result], - contact: typing.Callable[[], T_Result], - contact_account: typing.Callable[[], T_Result], - contact_account_accounting_period: typing.Callable[[], T_Result], - contact_account_company: typing.Callable[[], T_Result], - contact_account_company_accounting_period: typing.Callable[[], T_Result], - contact_accounting_period: typing.Callable[[], T_Result], - contact_company: typing.Callable[[], T_Result], - contact_company_accounting_period: typing.Callable[[], T_Result], - line_items: typing.Callable[[], T_Result], - line_items_account: typing.Callable[[], T_Result], - line_items_account_accounting_period: typing.Callable[[], T_Result], - line_items_account_company: typing.Callable[[], T_Result], - line_items_account_company_accounting_period: typing.Callable[[], T_Result], - line_items_accounting_period: typing.Callable[[], T_Result], - line_items_company: typing.Callable[[], T_Result], - line_items_company_accounting_period: typing.Callable[[], T_Result], - line_items_contact: typing.Callable[[], T_Result], - line_items_contact_account: typing.Callable[[], T_Result], - line_items_contact_account_accounting_period: typing.Callable[[], T_Result], - line_items_contact_account_company: typing.Callable[[], T_Result], - line_items_contact_account_company_accounting_period: typing.Callable[[], T_Result], - line_items_contact_accounting_period: typing.Callable[[], T_Result], - line_items_contact_company: typing.Callable[[], T_Result], - line_items_contact_company_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories: typing.Callable[[], T_Result], - line_items_tracking_categories_account: typing.Callable[[], T_Result], - line_items_tracking_categories_account_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_account_company: typing.Callable[[], T_Result], - line_items_tracking_categories_account_company_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_company: typing.Callable[[], T_Result], - line_items_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_contact: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_account: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_account_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_account_company: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_account_company_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_company: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories: typing.Callable[[], T_Result], - tracking_categories_account: typing.Callable[[], T_Result], - tracking_categories_account_accounting_period: typing.Callable[[], T_Result], - tracking_categories_account_company: typing.Callable[[], T_Result], - tracking_categories_account_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_accounting_period: typing.Callable[[], T_Result], - tracking_categories_company: typing.Callable[[], T_Result], - tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_contact: typing.Callable[[], T_Result], - tracking_categories_contact_account: typing.Callable[[], T_Result], - tracking_categories_contact_account_accounting_period: typing.Callable[[], T_Result], - tracking_categories_contact_account_company: typing.Callable[[], T_Result], - tracking_categories_contact_account_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_contact_accounting_period: typing.Callable[[], T_Result], - tracking_categories_contact_company: typing.Callable[[], T_Result], - tracking_categories_contact_company_accounting_period: typing.Callable[[], T_Result], - ) -> T_Result: - if self is TransactionsListRequestExpand.ACCOUNT: - return account() - if self is TransactionsListRequestExpand.ACCOUNT_ACCOUNTING_PERIOD: - return account_accounting_period() - if self is TransactionsListRequestExpand.ACCOUNT_COMPANY: - return account_company() - if self is TransactionsListRequestExpand.ACCOUNT_COMPANY_ACCOUNTING_PERIOD: - return account_company_accounting_period() - if self is TransactionsListRequestExpand.ACCOUNTING_PERIOD: - return accounting_period() - if self is TransactionsListRequestExpand.COMPANY: - return company() - if self is TransactionsListRequestExpand.COMPANY_ACCOUNTING_PERIOD: - return company_accounting_period() - if self is TransactionsListRequestExpand.CONTACT: - return contact() - if self is TransactionsListRequestExpand.CONTACT_ACCOUNT: - return contact_account() - if self is TransactionsListRequestExpand.CONTACT_ACCOUNT_ACCOUNTING_PERIOD: - return contact_account_accounting_period() - if self is TransactionsListRequestExpand.CONTACT_ACCOUNT_COMPANY: - return contact_account_company() - if self is TransactionsListRequestExpand.CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD: - return contact_account_company_accounting_period() - if self is TransactionsListRequestExpand.CONTACT_ACCOUNTING_PERIOD: - return contact_accounting_period() - if self is TransactionsListRequestExpand.CONTACT_COMPANY: - return contact_company() - if self is TransactionsListRequestExpand.CONTACT_COMPANY_ACCOUNTING_PERIOD: - return contact_company_accounting_period() - if self is TransactionsListRequestExpand.LINE_ITEMS: - return line_items() - if self is TransactionsListRequestExpand.LINE_ITEMS_ACCOUNT: - return line_items_account() - if self is TransactionsListRequestExpand.LINE_ITEMS_ACCOUNT_ACCOUNTING_PERIOD: - return line_items_account_accounting_period() - if self is TransactionsListRequestExpand.LINE_ITEMS_ACCOUNT_COMPANY: - return line_items_account_company() - if self is TransactionsListRequestExpand.LINE_ITEMS_ACCOUNT_COMPANY_ACCOUNTING_PERIOD: - return line_items_account_company_accounting_period() - if self is TransactionsListRequestExpand.LINE_ITEMS_ACCOUNTING_PERIOD: - return line_items_accounting_period() - if self is TransactionsListRequestExpand.LINE_ITEMS_COMPANY: - return line_items_company() - if self is TransactionsListRequestExpand.LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD: - return line_items_company_accounting_period() - if self is TransactionsListRequestExpand.LINE_ITEMS_CONTACT: - return line_items_contact() - if self is TransactionsListRequestExpand.LINE_ITEMS_CONTACT_ACCOUNT: - return line_items_contact_account() - if self is TransactionsListRequestExpand.LINE_ITEMS_CONTACT_ACCOUNT_ACCOUNTING_PERIOD: - return line_items_contact_account_accounting_period() - if self is TransactionsListRequestExpand.LINE_ITEMS_CONTACT_ACCOUNT_COMPANY: - return line_items_contact_account_company() - if self is TransactionsListRequestExpand.LINE_ITEMS_CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD: - return line_items_contact_account_company_accounting_period() - if self is TransactionsListRequestExpand.LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD: - return line_items_contact_accounting_period() - if self is TransactionsListRequestExpand.LINE_ITEMS_CONTACT_COMPANY: - return line_items_contact_company() - if self is TransactionsListRequestExpand.LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return line_items_contact_company_accounting_period() - if self is TransactionsListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES: - return line_items_tracking_categories() - if self is TransactionsListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNT: - return line_items_tracking_categories_account() - if self is TransactionsListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNT_ACCOUNTING_PERIOD: - return line_items_tracking_categories_account_accounting_period() - if self is TransactionsListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNT_COMPANY: - return line_items_tracking_categories_account_company() - if self is TransactionsListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNT_COMPANY_ACCOUNTING_PERIOD: - return line_items_tracking_categories_account_company_accounting_period() - if self is TransactionsListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return line_items_tracking_categories_accounting_period() - if self is TransactionsListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_COMPANY: - return line_items_tracking_categories_company() - if self is TransactionsListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return line_items_tracking_categories_company_accounting_period() - if self is TransactionsListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT: - return line_items_tracking_categories_contact() - if self is TransactionsListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNT: - return line_items_tracking_categories_contact_account() - if self is TransactionsListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNT_ACCOUNTING_PERIOD: - return line_items_tracking_categories_contact_account_accounting_period() - if self is TransactionsListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNT_COMPANY: - return line_items_tracking_categories_contact_account_company() - if ( - self - is TransactionsListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_contact_account_company_accounting_period() - if self is TransactionsListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD: - return line_items_tracking_categories_contact_accounting_period() - if self is TransactionsListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY: - return line_items_tracking_categories_contact_company() - if self is TransactionsListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return line_items_tracking_categories_contact_company_accounting_period() - if self is TransactionsListRequestExpand.TRACKING_CATEGORIES: - return tracking_categories() - if self is TransactionsListRequestExpand.TRACKING_CATEGORIES_ACCOUNT: - return tracking_categories_account() - if self is TransactionsListRequestExpand.TRACKING_CATEGORIES_ACCOUNT_ACCOUNTING_PERIOD: - return tracking_categories_account_accounting_period() - if self is TransactionsListRequestExpand.TRACKING_CATEGORIES_ACCOUNT_COMPANY: - return tracking_categories_account_company() - if self is TransactionsListRequestExpand.TRACKING_CATEGORIES_ACCOUNT_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_account_company_accounting_period() - if self is TransactionsListRequestExpand.TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return tracking_categories_accounting_period() - if self is TransactionsListRequestExpand.TRACKING_CATEGORIES_COMPANY: - return tracking_categories_company() - if self is TransactionsListRequestExpand.TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_company_accounting_period() - if self is TransactionsListRequestExpand.TRACKING_CATEGORIES_CONTACT: - return tracking_categories_contact() - if self is TransactionsListRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNT: - return tracking_categories_contact_account() - if self is TransactionsListRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNT_ACCOUNTING_PERIOD: - return tracking_categories_contact_account_accounting_period() - if self is TransactionsListRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNT_COMPANY: - return tracking_categories_contact_account_company() - if self is TransactionsListRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_contact_account_company_accounting_period() - if self is TransactionsListRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD: - return tracking_categories_contact_accounting_period() - if self is TransactionsListRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY: - return tracking_categories_contact_company() - if self is TransactionsListRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_contact_company_accounting_period() diff --git a/src/merge/resources/accounting/resources/transactions/types/transactions_list_request_expand_item.py b/src/merge/resources/accounting/resources/transactions/types/transactions_list_request_expand_item.py new file mode 100644 index 00000000..8d80b9fc --- /dev/null +++ b/src/merge/resources/accounting/resources/transactions/types/transactions_list_request_expand_item.py @@ -0,0 +1,33 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class TransactionsListRequestExpandItem(str, enum.Enum): + ACCOUNT = "account" + ACCOUNTING_PERIOD = "accounting_period" + CONTACT = "contact" + LINE_ITEMS = "line_items" + TRACKING_CATEGORIES = "tracking_categories" + + def visit( + self, + account: typing.Callable[[], T_Result], + accounting_period: typing.Callable[[], T_Result], + contact: typing.Callable[[], T_Result], + line_items: typing.Callable[[], T_Result], + tracking_categories: typing.Callable[[], T_Result], + ) -> T_Result: + if self is TransactionsListRequestExpandItem.ACCOUNT: + return account() + if self is TransactionsListRequestExpandItem.ACCOUNTING_PERIOD: + return accounting_period() + if self is TransactionsListRequestExpandItem.CONTACT: + return contact() + if self is TransactionsListRequestExpandItem.LINE_ITEMS: + return line_items() + if self is TransactionsListRequestExpandItem.TRACKING_CATEGORIES: + return tracking_categories() diff --git a/src/merge/resources/accounting/resources/transactions/types/transactions_retrieve_request_expand.py b/src/merge/resources/accounting/resources/transactions/types/transactions_retrieve_request_expand.py deleted file mode 100644 index 89925077..00000000 --- a/src/merge/resources/accounting/resources/transactions/types/transactions_retrieve_request_expand.py +++ /dev/null @@ -1,284 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class TransactionsRetrieveRequestExpand(str, enum.Enum): - ACCOUNT = "account" - ACCOUNT_ACCOUNTING_PERIOD = "account,accounting_period" - ACCOUNT_COMPANY = "account,company" - ACCOUNT_COMPANY_ACCOUNTING_PERIOD = "account,company,accounting_period" - ACCOUNTING_PERIOD = "accounting_period" - COMPANY = "company" - COMPANY_ACCOUNTING_PERIOD = "company,accounting_period" - CONTACT = "contact" - CONTACT_ACCOUNT = "contact,account" - CONTACT_ACCOUNT_ACCOUNTING_PERIOD = "contact,account,accounting_period" - CONTACT_ACCOUNT_COMPANY = "contact,account,company" - CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD = "contact,account,company,accounting_period" - CONTACT_ACCOUNTING_PERIOD = "contact,accounting_period" - CONTACT_COMPANY = "contact,company" - CONTACT_COMPANY_ACCOUNTING_PERIOD = "contact,company,accounting_period" - LINE_ITEMS = "line_items" - LINE_ITEMS_ACCOUNT = "line_items,account" - LINE_ITEMS_ACCOUNT_ACCOUNTING_PERIOD = "line_items,account,accounting_period" - LINE_ITEMS_ACCOUNT_COMPANY = "line_items,account,company" - LINE_ITEMS_ACCOUNT_COMPANY_ACCOUNTING_PERIOD = "line_items,account,company,accounting_period" - LINE_ITEMS_ACCOUNTING_PERIOD = "line_items,accounting_period" - LINE_ITEMS_COMPANY = "line_items,company" - LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD = "line_items,company,accounting_period" - LINE_ITEMS_CONTACT = "line_items,contact" - LINE_ITEMS_CONTACT_ACCOUNT = "line_items,contact,account" - LINE_ITEMS_CONTACT_ACCOUNT_ACCOUNTING_PERIOD = "line_items,contact,account,accounting_period" - LINE_ITEMS_CONTACT_ACCOUNT_COMPANY = "line_items,contact,account,company" - LINE_ITEMS_CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD = "line_items,contact,account,company,accounting_period" - LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD = "line_items,contact,accounting_period" - LINE_ITEMS_CONTACT_COMPANY = "line_items,contact,company" - LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "line_items,contact,company,accounting_period" - LINE_ITEMS_TRACKING_CATEGORIES = "line_items,tracking_categories" - LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNT = "line_items,tracking_categories,account" - LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNT_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,account,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNT_COMPANY = "line_items,tracking_categories,account,company" - LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNT_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,account,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "line_items,tracking_categories,accounting_period" - LINE_ITEMS_TRACKING_CATEGORIES_COMPANY = "line_items,tracking_categories,company" - LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT = "line_items,tracking_categories,contact" - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNT = "line_items,tracking_categories,contact,account" - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNT_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,contact,account,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNT_COMPANY = "line_items,tracking_categories,contact,account,company" - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,contact,account,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,contact,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY = "line_items,tracking_categories,contact,company" - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,contact,company,accounting_period" - ) - TRACKING_CATEGORIES = "tracking_categories" - TRACKING_CATEGORIES_ACCOUNT = "tracking_categories,account" - TRACKING_CATEGORIES_ACCOUNT_ACCOUNTING_PERIOD = "tracking_categories,account,accounting_period" - TRACKING_CATEGORIES_ACCOUNT_COMPANY = "tracking_categories,account,company" - TRACKING_CATEGORIES_ACCOUNT_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,account,company,accounting_period" - TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "tracking_categories,accounting_period" - TRACKING_CATEGORIES_COMPANY = "tracking_categories,company" - TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,company,accounting_period" - TRACKING_CATEGORIES_CONTACT = "tracking_categories,contact" - TRACKING_CATEGORIES_CONTACT_ACCOUNT = "tracking_categories,contact,account" - TRACKING_CATEGORIES_CONTACT_ACCOUNT_ACCOUNTING_PERIOD = "tracking_categories,contact,account,accounting_period" - TRACKING_CATEGORIES_CONTACT_ACCOUNT_COMPANY = "tracking_categories,contact,account,company" - TRACKING_CATEGORIES_CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,contact,account,company,accounting_period" - ) - TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = "tracking_categories,contact,accounting_period" - TRACKING_CATEGORIES_CONTACT_COMPANY = "tracking_categories,contact,company" - TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,contact,company,accounting_period" - - def visit( - self, - account: typing.Callable[[], T_Result], - account_accounting_period: typing.Callable[[], T_Result], - account_company: typing.Callable[[], T_Result], - account_company_accounting_period: typing.Callable[[], T_Result], - accounting_period: typing.Callable[[], T_Result], - company: typing.Callable[[], T_Result], - company_accounting_period: typing.Callable[[], T_Result], - contact: typing.Callable[[], T_Result], - contact_account: typing.Callable[[], T_Result], - contact_account_accounting_period: typing.Callable[[], T_Result], - contact_account_company: typing.Callable[[], T_Result], - contact_account_company_accounting_period: typing.Callable[[], T_Result], - contact_accounting_period: typing.Callable[[], T_Result], - contact_company: typing.Callable[[], T_Result], - contact_company_accounting_period: typing.Callable[[], T_Result], - line_items: typing.Callable[[], T_Result], - line_items_account: typing.Callable[[], T_Result], - line_items_account_accounting_period: typing.Callable[[], T_Result], - line_items_account_company: typing.Callable[[], T_Result], - line_items_account_company_accounting_period: typing.Callable[[], T_Result], - line_items_accounting_period: typing.Callable[[], T_Result], - line_items_company: typing.Callable[[], T_Result], - line_items_company_accounting_period: typing.Callable[[], T_Result], - line_items_contact: typing.Callable[[], T_Result], - line_items_contact_account: typing.Callable[[], T_Result], - line_items_contact_account_accounting_period: typing.Callable[[], T_Result], - line_items_contact_account_company: typing.Callable[[], T_Result], - line_items_contact_account_company_accounting_period: typing.Callable[[], T_Result], - line_items_contact_accounting_period: typing.Callable[[], T_Result], - line_items_contact_company: typing.Callable[[], T_Result], - line_items_contact_company_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories: typing.Callable[[], T_Result], - line_items_tracking_categories_account: typing.Callable[[], T_Result], - line_items_tracking_categories_account_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_account_company: typing.Callable[[], T_Result], - line_items_tracking_categories_account_company_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_company: typing.Callable[[], T_Result], - line_items_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_contact: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_account: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_account_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_account_company: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_account_company_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_company: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories: typing.Callable[[], T_Result], - tracking_categories_account: typing.Callable[[], T_Result], - tracking_categories_account_accounting_period: typing.Callable[[], T_Result], - tracking_categories_account_company: typing.Callable[[], T_Result], - tracking_categories_account_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_accounting_period: typing.Callable[[], T_Result], - tracking_categories_company: typing.Callable[[], T_Result], - tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_contact: typing.Callable[[], T_Result], - tracking_categories_contact_account: typing.Callable[[], T_Result], - tracking_categories_contact_account_accounting_period: typing.Callable[[], T_Result], - tracking_categories_contact_account_company: typing.Callable[[], T_Result], - tracking_categories_contact_account_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_contact_accounting_period: typing.Callable[[], T_Result], - tracking_categories_contact_company: typing.Callable[[], T_Result], - tracking_categories_contact_company_accounting_period: typing.Callable[[], T_Result], - ) -> T_Result: - if self is TransactionsRetrieveRequestExpand.ACCOUNT: - return account() - if self is TransactionsRetrieveRequestExpand.ACCOUNT_ACCOUNTING_PERIOD: - return account_accounting_period() - if self is TransactionsRetrieveRequestExpand.ACCOUNT_COMPANY: - return account_company() - if self is TransactionsRetrieveRequestExpand.ACCOUNT_COMPANY_ACCOUNTING_PERIOD: - return account_company_accounting_period() - if self is TransactionsRetrieveRequestExpand.ACCOUNTING_PERIOD: - return accounting_period() - if self is TransactionsRetrieveRequestExpand.COMPANY: - return company() - if self is TransactionsRetrieveRequestExpand.COMPANY_ACCOUNTING_PERIOD: - return company_accounting_period() - if self is TransactionsRetrieveRequestExpand.CONTACT: - return contact() - if self is TransactionsRetrieveRequestExpand.CONTACT_ACCOUNT: - return contact_account() - if self is TransactionsRetrieveRequestExpand.CONTACT_ACCOUNT_ACCOUNTING_PERIOD: - return contact_account_accounting_period() - if self is TransactionsRetrieveRequestExpand.CONTACT_ACCOUNT_COMPANY: - return contact_account_company() - if self is TransactionsRetrieveRequestExpand.CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD: - return contact_account_company_accounting_period() - if self is TransactionsRetrieveRequestExpand.CONTACT_ACCOUNTING_PERIOD: - return contact_accounting_period() - if self is TransactionsRetrieveRequestExpand.CONTACT_COMPANY: - return contact_company() - if self is TransactionsRetrieveRequestExpand.CONTACT_COMPANY_ACCOUNTING_PERIOD: - return contact_company_accounting_period() - if self is TransactionsRetrieveRequestExpand.LINE_ITEMS: - return line_items() - if self is TransactionsRetrieveRequestExpand.LINE_ITEMS_ACCOUNT: - return line_items_account() - if self is TransactionsRetrieveRequestExpand.LINE_ITEMS_ACCOUNT_ACCOUNTING_PERIOD: - return line_items_account_accounting_period() - if self is TransactionsRetrieveRequestExpand.LINE_ITEMS_ACCOUNT_COMPANY: - return line_items_account_company() - if self is TransactionsRetrieveRequestExpand.LINE_ITEMS_ACCOUNT_COMPANY_ACCOUNTING_PERIOD: - return line_items_account_company_accounting_period() - if self is TransactionsRetrieveRequestExpand.LINE_ITEMS_ACCOUNTING_PERIOD: - return line_items_accounting_period() - if self is TransactionsRetrieveRequestExpand.LINE_ITEMS_COMPANY: - return line_items_company() - if self is TransactionsRetrieveRequestExpand.LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD: - return line_items_company_accounting_period() - if self is TransactionsRetrieveRequestExpand.LINE_ITEMS_CONTACT: - return line_items_contact() - if self is TransactionsRetrieveRequestExpand.LINE_ITEMS_CONTACT_ACCOUNT: - return line_items_contact_account() - if self is TransactionsRetrieveRequestExpand.LINE_ITEMS_CONTACT_ACCOUNT_ACCOUNTING_PERIOD: - return line_items_contact_account_accounting_period() - if self is TransactionsRetrieveRequestExpand.LINE_ITEMS_CONTACT_ACCOUNT_COMPANY: - return line_items_contact_account_company() - if self is TransactionsRetrieveRequestExpand.LINE_ITEMS_CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD: - return line_items_contact_account_company_accounting_period() - if self is TransactionsRetrieveRequestExpand.LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD: - return line_items_contact_accounting_period() - if self is TransactionsRetrieveRequestExpand.LINE_ITEMS_CONTACT_COMPANY: - return line_items_contact_company() - if self is TransactionsRetrieveRequestExpand.LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return line_items_contact_company_accounting_period() - if self is TransactionsRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES: - return line_items_tracking_categories() - if self is TransactionsRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNT: - return line_items_tracking_categories_account() - if self is TransactionsRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNT_ACCOUNTING_PERIOD: - return line_items_tracking_categories_account_accounting_period() - if self is TransactionsRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNT_COMPANY: - return line_items_tracking_categories_account_company() - if self is TransactionsRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNT_COMPANY_ACCOUNTING_PERIOD: - return line_items_tracking_categories_account_company_accounting_period() - if self is TransactionsRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return line_items_tracking_categories_accounting_period() - if self is TransactionsRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_COMPANY: - return line_items_tracking_categories_company() - if self is TransactionsRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return line_items_tracking_categories_company_accounting_period() - if self is TransactionsRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT: - return line_items_tracking_categories_contact() - if self is TransactionsRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNT: - return line_items_tracking_categories_contact_account() - if self is TransactionsRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNT_ACCOUNTING_PERIOD: - return line_items_tracking_categories_contact_account_accounting_period() - if self is TransactionsRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNT_COMPANY: - return line_items_tracking_categories_contact_account_company() - if ( - self - is TransactionsRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_contact_account_company_accounting_period() - if self is TransactionsRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD: - return line_items_tracking_categories_contact_accounting_period() - if self is TransactionsRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY: - return line_items_tracking_categories_contact_company() - if self is TransactionsRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return line_items_tracking_categories_contact_company_accounting_period() - if self is TransactionsRetrieveRequestExpand.TRACKING_CATEGORIES: - return tracking_categories() - if self is TransactionsRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNT: - return tracking_categories_account() - if self is TransactionsRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNT_ACCOUNTING_PERIOD: - return tracking_categories_account_accounting_period() - if self is TransactionsRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNT_COMPANY: - return tracking_categories_account_company() - if self is TransactionsRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNT_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_account_company_accounting_period() - if self is TransactionsRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return tracking_categories_accounting_period() - if self is TransactionsRetrieveRequestExpand.TRACKING_CATEGORIES_COMPANY: - return tracking_categories_company() - if self is TransactionsRetrieveRequestExpand.TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_company_accounting_period() - if self is TransactionsRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT: - return tracking_categories_contact() - if self is TransactionsRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNT: - return tracking_categories_contact_account() - if self is TransactionsRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNT_ACCOUNTING_PERIOD: - return tracking_categories_contact_account_accounting_period() - if self is TransactionsRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNT_COMPANY: - return tracking_categories_contact_account_company() - if self is TransactionsRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_contact_account_company_accounting_period() - if self is TransactionsRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD: - return tracking_categories_contact_accounting_period() - if self is TransactionsRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY: - return tracking_categories_contact_company() - if self is TransactionsRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_contact_company_accounting_period() diff --git a/src/merge/resources/accounting/resources/transactions/types/transactions_retrieve_request_expand_item.py b/src/merge/resources/accounting/resources/transactions/types/transactions_retrieve_request_expand_item.py new file mode 100644 index 00000000..c1c869b0 --- /dev/null +++ b/src/merge/resources/accounting/resources/transactions/types/transactions_retrieve_request_expand_item.py @@ -0,0 +1,33 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class TransactionsRetrieveRequestExpandItem(str, enum.Enum): + ACCOUNT = "account" + ACCOUNTING_PERIOD = "accounting_period" + CONTACT = "contact" + LINE_ITEMS = "line_items" + TRACKING_CATEGORIES = "tracking_categories" + + def visit( + self, + account: typing.Callable[[], T_Result], + accounting_period: typing.Callable[[], T_Result], + contact: typing.Callable[[], T_Result], + line_items: typing.Callable[[], T_Result], + tracking_categories: typing.Callable[[], T_Result], + ) -> T_Result: + if self is TransactionsRetrieveRequestExpandItem.ACCOUNT: + return account() + if self is TransactionsRetrieveRequestExpandItem.ACCOUNTING_PERIOD: + return accounting_period() + if self is TransactionsRetrieveRequestExpandItem.CONTACT: + return contact() + if self is TransactionsRetrieveRequestExpandItem.LINE_ITEMS: + return line_items() + if self is TransactionsRetrieveRequestExpandItem.TRACKING_CATEGORIES: + return tracking_categories() diff --git a/src/merge/resources/accounting/resources/vendor_credits/__init__.py b/src/merge/resources/accounting/resources/vendor_credits/__init__.py index 1ef466d1..828f5681 100644 --- a/src/merge/resources/accounting/resources/vendor_credits/__init__.py +++ b/src/merge/resources/accounting/resources/vendor_credits/__init__.py @@ -6,10 +6,10 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .types import VendorCreditsListRequestExpand, VendorCreditsRetrieveRequestExpand + from .types import VendorCreditsListRequestExpandItem, VendorCreditsRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "VendorCreditsListRequestExpand": ".types", - "VendorCreditsRetrieveRequestExpand": ".types", + "VendorCreditsListRequestExpandItem": ".types", + "VendorCreditsRetrieveRequestExpandItem": ".types", } @@ -19,8 +19,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -32,4 +34,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["VendorCreditsListRequestExpand", "VendorCreditsRetrieveRequestExpand"] +__all__ = ["VendorCreditsListRequestExpandItem", "VendorCreditsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/accounting/resources/vendor_credits/client.py b/src/merge/resources/accounting/resources/vendor_credits/client.py index 7b599489..90a31093 100644 --- a/src/merge/resources/accounting/resources/vendor_credits/client.py +++ b/src/merge/resources/accounting/resources/vendor_credits/client.py @@ -4,6 +4,7 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.meta_response import MetaResponse from ...types.paginated_vendor_credit_list import PaginatedVendorCreditList @@ -11,8 +12,8 @@ from ...types.vendor_credit_request import VendorCreditRequest from ...types.vendor_credit_response import VendorCreditResponse from .raw_client import AsyncRawVendorCreditsClient, RawVendorCreditsClient -from .types.vendor_credits_list_request_expand import VendorCreditsListRequestExpand -from .types.vendor_credits_retrieve_request_expand import VendorCreditsRetrieveRequestExpand +from .types.vendor_credits_list_request_expand_item import VendorCreditsListRequestExpandItem +from .types.vendor_credits_retrieve_request_expand_item import VendorCreditsRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -40,7 +41,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[VendorCreditsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[VendorCreditsListRequestExpandItem, typing.Sequence[VendorCreditsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -51,7 +54,7 @@ def list( transaction_date_after: typing.Optional[dt.datetime] = None, transaction_date_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedVendorCreditList: + ) -> SyncPager[VendorCredit, PaginatedVendorCreditList]: """ Returns a list of `VendorCredit` objects. @@ -69,7 +72,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[VendorCreditsListRequestExpand] + expand : typing.Optional[typing.Union[VendorCreditsListRequestExpandItem, typing.Sequence[VendorCreditsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -104,52 +107,27 @@ def list( Returns ------- - PaginatedVendorCreditList + SyncPager[VendorCredit, PaginatedVendorCreditList] Examples -------- - import datetime - from merge import Merge - from merge.resources.accounting.resources.vendor_credits import ( - VendorCreditsListRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.vendor_credits.list( - company_id="company_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = client.accounting.vendor_credits.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=VendorCreditsListRequestExpand.ACCOUNTING_PERIOD, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", - transaction_date_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - transaction_date_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -166,7 +144,6 @@ def list( transaction_date_before=transaction_date_before, request_options=request_options, ) - return _response.data def create( self, @@ -207,8 +184,6 @@ def create( api_key="YOUR_API_KEY", ) client.accounting.vendor_credits.create( - is_debug_mode=True, - run_async=True, model=VendorCreditRequest(), ) """ @@ -221,7 +196,11 @@ def retrieve( self, id: str, *, - expand: typing.Optional[VendorCreditsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + VendorCreditsRetrieveRequestExpandItem, typing.Sequence[VendorCreditsRetrieveRequestExpandItem] + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -233,7 +212,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[VendorCreditsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[VendorCreditsRetrieveRequestExpandItem, typing.Sequence[VendorCreditsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -253,9 +232,6 @@ def retrieve( Examples -------- from merge import Merge - from merge.resources.accounting.resources.vendor_credits import ( - VendorCreditsRetrieveRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -263,9 +239,6 @@ def retrieve( ) client.accounting.vendor_credits.retrieve( id="id", - expand=VendorCreditsRetrieveRequestExpand.ACCOUNTING_PERIOD, - include_remote_data=True, - include_shell_data=True, ) """ _response = self._raw_client.retrieve( @@ -327,7 +300,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[VendorCreditsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[VendorCreditsListRequestExpandItem, typing.Sequence[VendorCreditsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -338,7 +313,7 @@ async def list( transaction_date_after: typing.Optional[dt.datetime] = None, transaction_date_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedVendorCreditList: + ) -> AsyncPager[VendorCredit, PaginatedVendorCreditList]: """ Returns a list of `VendorCredit` objects. @@ -356,7 +331,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[VendorCreditsListRequestExpand] + expand : typing.Optional[typing.Union[VendorCreditsListRequestExpandItem, typing.Sequence[VendorCreditsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -391,18 +366,14 @@ async def list( Returns ------- - PaginatedVendorCreditList + AsyncPager[VendorCredit, PaginatedVendorCreditList] Examples -------- import asyncio - import datetime from merge import AsyncMerge - from merge.resources.accounting.resources.vendor_credits import ( - VendorCreditsListRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -411,39 +382,20 @@ async def list( async def main() -> None: - await client.accounting.vendor_credits.list( - company_id="company_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = await client.accounting.vendor_credits.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=VendorCreditsListRequestExpand.ACCOUNTING_PERIOD, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", - transaction_date_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - transaction_date_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -460,7 +412,6 @@ async def main() -> None: transaction_date_before=transaction_date_before, request_options=request_options, ) - return _response.data async def create( self, @@ -506,8 +457,6 @@ async def create( async def main() -> None: await client.accounting.vendor_credits.create( - is_debug_mode=True, - run_async=True, model=VendorCreditRequest(), ) @@ -523,7 +472,11 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[VendorCreditsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + VendorCreditsRetrieveRequestExpandItem, typing.Sequence[VendorCreditsRetrieveRequestExpandItem] + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -535,7 +488,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[VendorCreditsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[VendorCreditsRetrieveRequestExpandItem, typing.Sequence[VendorCreditsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -557,9 +510,6 @@ async def retrieve( import asyncio from merge import AsyncMerge - from merge.resources.accounting.resources.vendor_credits import ( - VendorCreditsRetrieveRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -570,9 +520,6 @@ async def retrieve( async def main() -> None: await client.accounting.vendor_credits.retrieve( id="id", - expand=VendorCreditsRetrieveRequestExpand.ACCOUNTING_PERIOD, - include_remote_data=True, - include_shell_data=True, ) diff --git a/src/merge/resources/accounting/resources/vendor_credits/raw_client.py b/src/merge/resources/accounting/resources/vendor_credits/raw_client.py index 95c4e621..2ffd68e0 100644 --- a/src/merge/resources/accounting/resources/vendor_credits/raw_client.py +++ b/src/merge/resources/accounting/resources/vendor_credits/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.meta_response import MetaResponse @@ -16,8 +17,8 @@ from ...types.vendor_credit import VendorCredit from ...types.vendor_credit_request import VendorCreditRequest from ...types.vendor_credit_response import VendorCreditResponse -from .types.vendor_credits_list_request_expand import VendorCreditsListRequestExpand -from .types.vendor_credits_retrieve_request_expand import VendorCreditsRetrieveRequestExpand +from .types.vendor_credits_list_request_expand_item import VendorCreditsListRequestExpandItem +from .types.vendor_credits_retrieve_request_expand_item import VendorCreditsRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -34,7 +35,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[VendorCreditsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[VendorCreditsListRequestExpandItem, typing.Sequence[VendorCreditsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -45,7 +48,7 @@ def list( transaction_date_after: typing.Optional[dt.datetime] = None, transaction_date_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedVendorCreditList]: + ) -> SyncPager[VendorCredit, PaginatedVendorCreditList]: """ Returns a list of `VendorCredit` objects. @@ -63,7 +66,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[VendorCreditsListRequestExpand] + expand : typing.Optional[typing.Union[VendorCreditsListRequestExpandItem, typing.Sequence[VendorCreditsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -98,7 +101,7 @@ def list( Returns ------- - HttpResponse[PaginatedVendorCreditList] + SyncPager[VendorCredit, PaginatedVendorCreditList] """ _response = self._client_wrapper.httpx_client.request( @@ -128,14 +131,34 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedVendorCreditList, construct_type( type_=PaginatedVendorCreditList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + transaction_date_after=transaction_date_after, + transaction_date_before=transaction_date_before, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -205,7 +228,11 @@ def retrieve( self, id: str, *, - expand: typing.Optional[VendorCreditsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + VendorCreditsRetrieveRequestExpandItem, typing.Sequence[VendorCreditsRetrieveRequestExpandItem] + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -217,7 +244,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[VendorCreditsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[VendorCreditsRetrieveRequestExpandItem, typing.Sequence[VendorCreditsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -307,7 +334,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[VendorCreditsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[VendorCreditsListRequestExpandItem, typing.Sequence[VendorCreditsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -318,7 +347,7 @@ async def list( transaction_date_after: typing.Optional[dt.datetime] = None, transaction_date_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedVendorCreditList]: + ) -> AsyncPager[VendorCredit, PaginatedVendorCreditList]: """ Returns a list of `VendorCredit` objects. @@ -336,7 +365,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[VendorCreditsListRequestExpand] + expand : typing.Optional[typing.Union[VendorCreditsListRequestExpandItem, typing.Sequence[VendorCreditsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -371,7 +400,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedVendorCreditList] + AsyncPager[VendorCredit, PaginatedVendorCreditList] """ _response = await self._client_wrapper.httpx_client.request( @@ -401,14 +430,37 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedVendorCreditList, construct_type( type_=PaginatedVendorCreditList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + transaction_date_after=transaction_date_after, + transaction_date_before=transaction_date_before, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -478,7 +530,11 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[VendorCreditsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + VendorCreditsRetrieveRequestExpandItem, typing.Sequence[VendorCreditsRetrieveRequestExpandItem] + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -490,7 +546,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[VendorCreditsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[VendorCreditsRetrieveRequestExpandItem, typing.Sequence[VendorCreditsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/accounting/resources/vendor_credits/types/__init__.py b/src/merge/resources/accounting/resources/vendor_credits/types/__init__.py index 426f9ce5..ab4fcefe 100644 --- a/src/merge/resources/accounting/resources/vendor_credits/types/__init__.py +++ b/src/merge/resources/accounting/resources/vendor_credits/types/__init__.py @@ -6,11 +6,11 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .vendor_credits_list_request_expand import VendorCreditsListRequestExpand - from .vendor_credits_retrieve_request_expand import VendorCreditsRetrieveRequestExpand + from .vendor_credits_list_request_expand_item import VendorCreditsListRequestExpandItem + from .vendor_credits_retrieve_request_expand_item import VendorCreditsRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "VendorCreditsListRequestExpand": ".vendor_credits_list_request_expand", - "VendorCreditsRetrieveRequestExpand": ".vendor_credits_retrieve_request_expand", + "VendorCreditsListRequestExpandItem": ".vendor_credits_list_request_expand_item", + "VendorCreditsRetrieveRequestExpandItem": ".vendor_credits_retrieve_request_expand_item", } @@ -20,8 +20,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -33,4 +35,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["VendorCreditsListRequestExpand", "VendorCreditsRetrieveRequestExpand"] +__all__ = ["VendorCreditsListRequestExpandItem", "VendorCreditsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/accounting/resources/vendor_credits/types/vendor_credits_list_request_expand.py b/src/merge/resources/accounting/resources/vendor_credits/types/vendor_credits_list_request_expand.py deleted file mode 100644 index 675c95e9..00000000 --- a/src/merge/resources/accounting/resources/vendor_credits/types/vendor_credits_list_request_expand.py +++ /dev/null @@ -1,139 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class VendorCreditsListRequestExpand(str, enum.Enum): - ACCOUNTING_PERIOD = "accounting_period" - COMPANY = "company" - COMPANY_ACCOUNTING_PERIOD = "company,accounting_period" - LINES = "lines" - LINES_ACCOUNTING_PERIOD = "lines,accounting_period" - LINES_COMPANY = "lines,company" - LINES_COMPANY_ACCOUNTING_PERIOD = "lines,company,accounting_period" - LINES_TRACKING_CATEGORIES = "lines,tracking_categories" - LINES_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "lines,tracking_categories,accounting_period" - LINES_TRACKING_CATEGORIES_COMPANY = "lines,tracking_categories,company" - LINES_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = "lines,tracking_categories,company,accounting_period" - LINES_TRACKING_CATEGORIES_VENDOR = "lines,tracking_categories,vendor" - LINES_TRACKING_CATEGORIES_VENDOR_ACCOUNTING_PERIOD = "lines,tracking_categories,vendor,accounting_period" - LINES_TRACKING_CATEGORIES_VENDOR_COMPANY = "lines,tracking_categories,vendor,company" - LINES_TRACKING_CATEGORIES_VENDOR_COMPANY_ACCOUNTING_PERIOD = ( - "lines,tracking_categories,vendor,company,accounting_period" - ) - LINES_VENDOR = "lines,vendor" - LINES_VENDOR_ACCOUNTING_PERIOD = "lines,vendor,accounting_period" - LINES_VENDOR_COMPANY = "lines,vendor,company" - LINES_VENDOR_COMPANY_ACCOUNTING_PERIOD = "lines,vendor,company,accounting_period" - TRACKING_CATEGORIES = "tracking_categories" - TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "tracking_categories,accounting_period" - TRACKING_CATEGORIES_COMPANY = "tracking_categories,company" - TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,company,accounting_period" - TRACKING_CATEGORIES_VENDOR = "tracking_categories,vendor" - TRACKING_CATEGORIES_VENDOR_ACCOUNTING_PERIOD = "tracking_categories,vendor,accounting_period" - TRACKING_CATEGORIES_VENDOR_COMPANY = "tracking_categories,vendor,company" - TRACKING_CATEGORIES_VENDOR_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,vendor,company,accounting_period" - VENDOR = "vendor" - VENDOR_ACCOUNTING_PERIOD = "vendor,accounting_period" - VENDOR_COMPANY = "vendor,company" - VENDOR_COMPANY_ACCOUNTING_PERIOD = "vendor,company,accounting_period" - - def visit( - self, - accounting_period: typing.Callable[[], T_Result], - company: typing.Callable[[], T_Result], - company_accounting_period: typing.Callable[[], T_Result], - lines: typing.Callable[[], T_Result], - lines_accounting_period: typing.Callable[[], T_Result], - lines_company: typing.Callable[[], T_Result], - lines_company_accounting_period: typing.Callable[[], T_Result], - lines_tracking_categories: typing.Callable[[], T_Result], - lines_tracking_categories_accounting_period: typing.Callable[[], T_Result], - lines_tracking_categories_company: typing.Callable[[], T_Result], - lines_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - lines_tracking_categories_vendor: typing.Callable[[], T_Result], - lines_tracking_categories_vendor_accounting_period: typing.Callable[[], T_Result], - lines_tracking_categories_vendor_company: typing.Callable[[], T_Result], - lines_tracking_categories_vendor_company_accounting_period: typing.Callable[[], T_Result], - lines_vendor: typing.Callable[[], T_Result], - lines_vendor_accounting_period: typing.Callable[[], T_Result], - lines_vendor_company: typing.Callable[[], T_Result], - lines_vendor_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories: typing.Callable[[], T_Result], - tracking_categories_accounting_period: typing.Callable[[], T_Result], - tracking_categories_company: typing.Callable[[], T_Result], - tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_vendor: typing.Callable[[], T_Result], - tracking_categories_vendor_accounting_period: typing.Callable[[], T_Result], - tracking_categories_vendor_company: typing.Callable[[], T_Result], - tracking_categories_vendor_company_accounting_period: typing.Callable[[], T_Result], - vendor: typing.Callable[[], T_Result], - vendor_accounting_period: typing.Callable[[], T_Result], - vendor_company: typing.Callable[[], T_Result], - vendor_company_accounting_period: typing.Callable[[], T_Result], - ) -> T_Result: - if self is VendorCreditsListRequestExpand.ACCOUNTING_PERIOD: - return accounting_period() - if self is VendorCreditsListRequestExpand.COMPANY: - return company() - if self is VendorCreditsListRequestExpand.COMPANY_ACCOUNTING_PERIOD: - return company_accounting_period() - if self is VendorCreditsListRequestExpand.LINES: - return lines() - if self is VendorCreditsListRequestExpand.LINES_ACCOUNTING_PERIOD: - return lines_accounting_period() - if self is VendorCreditsListRequestExpand.LINES_COMPANY: - return lines_company() - if self is VendorCreditsListRequestExpand.LINES_COMPANY_ACCOUNTING_PERIOD: - return lines_company_accounting_period() - if self is VendorCreditsListRequestExpand.LINES_TRACKING_CATEGORIES: - return lines_tracking_categories() - if self is VendorCreditsListRequestExpand.LINES_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return lines_tracking_categories_accounting_period() - if self is VendorCreditsListRequestExpand.LINES_TRACKING_CATEGORIES_COMPANY: - return lines_tracking_categories_company() - if self is VendorCreditsListRequestExpand.LINES_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return lines_tracking_categories_company_accounting_period() - if self is VendorCreditsListRequestExpand.LINES_TRACKING_CATEGORIES_VENDOR: - return lines_tracking_categories_vendor() - if self is VendorCreditsListRequestExpand.LINES_TRACKING_CATEGORIES_VENDOR_ACCOUNTING_PERIOD: - return lines_tracking_categories_vendor_accounting_period() - if self is VendorCreditsListRequestExpand.LINES_TRACKING_CATEGORIES_VENDOR_COMPANY: - return lines_tracking_categories_vendor_company() - if self is VendorCreditsListRequestExpand.LINES_TRACKING_CATEGORIES_VENDOR_COMPANY_ACCOUNTING_PERIOD: - return lines_tracking_categories_vendor_company_accounting_period() - if self is VendorCreditsListRequestExpand.LINES_VENDOR: - return lines_vendor() - if self is VendorCreditsListRequestExpand.LINES_VENDOR_ACCOUNTING_PERIOD: - return lines_vendor_accounting_period() - if self is VendorCreditsListRequestExpand.LINES_VENDOR_COMPANY: - return lines_vendor_company() - if self is VendorCreditsListRequestExpand.LINES_VENDOR_COMPANY_ACCOUNTING_PERIOD: - return lines_vendor_company_accounting_period() - if self is VendorCreditsListRequestExpand.TRACKING_CATEGORIES: - return tracking_categories() - if self is VendorCreditsListRequestExpand.TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return tracking_categories_accounting_period() - if self is VendorCreditsListRequestExpand.TRACKING_CATEGORIES_COMPANY: - return tracking_categories_company() - if self is VendorCreditsListRequestExpand.TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_company_accounting_period() - if self is VendorCreditsListRequestExpand.TRACKING_CATEGORIES_VENDOR: - return tracking_categories_vendor() - if self is VendorCreditsListRequestExpand.TRACKING_CATEGORIES_VENDOR_ACCOUNTING_PERIOD: - return tracking_categories_vendor_accounting_period() - if self is VendorCreditsListRequestExpand.TRACKING_CATEGORIES_VENDOR_COMPANY: - return tracking_categories_vendor_company() - if self is VendorCreditsListRequestExpand.TRACKING_CATEGORIES_VENDOR_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_vendor_company_accounting_period() - if self is VendorCreditsListRequestExpand.VENDOR: - return vendor() - if self is VendorCreditsListRequestExpand.VENDOR_ACCOUNTING_PERIOD: - return vendor_accounting_period() - if self is VendorCreditsListRequestExpand.VENDOR_COMPANY: - return vendor_company() - if self is VendorCreditsListRequestExpand.VENDOR_COMPANY_ACCOUNTING_PERIOD: - return vendor_company_accounting_period() diff --git a/src/merge/resources/accounting/resources/vendor_credits/types/vendor_credits_list_request_expand_item.py b/src/merge/resources/accounting/resources/vendor_credits/types/vendor_credits_list_request_expand_item.py new file mode 100644 index 00000000..f13f5f69 --- /dev/null +++ b/src/merge/resources/accounting/resources/vendor_credits/types/vendor_credits_list_request_expand_item.py @@ -0,0 +1,33 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class VendorCreditsListRequestExpandItem(str, enum.Enum): + ACCOUNTING_PERIOD = "accounting_period" + COMPANY = "company" + LINES = "lines" + TRACKING_CATEGORIES = "tracking_categories" + VENDOR = "vendor" + + def visit( + self, + accounting_period: typing.Callable[[], T_Result], + company: typing.Callable[[], T_Result], + lines: typing.Callable[[], T_Result], + tracking_categories: typing.Callable[[], T_Result], + vendor: typing.Callable[[], T_Result], + ) -> T_Result: + if self is VendorCreditsListRequestExpandItem.ACCOUNTING_PERIOD: + return accounting_period() + if self is VendorCreditsListRequestExpandItem.COMPANY: + return company() + if self is VendorCreditsListRequestExpandItem.LINES: + return lines() + if self is VendorCreditsListRequestExpandItem.TRACKING_CATEGORIES: + return tracking_categories() + if self is VendorCreditsListRequestExpandItem.VENDOR: + return vendor() diff --git a/src/merge/resources/accounting/resources/vendor_credits/types/vendor_credits_retrieve_request_expand.py b/src/merge/resources/accounting/resources/vendor_credits/types/vendor_credits_retrieve_request_expand.py deleted file mode 100644 index a6288272..00000000 --- a/src/merge/resources/accounting/resources/vendor_credits/types/vendor_credits_retrieve_request_expand.py +++ /dev/null @@ -1,139 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class VendorCreditsRetrieveRequestExpand(str, enum.Enum): - ACCOUNTING_PERIOD = "accounting_period" - COMPANY = "company" - COMPANY_ACCOUNTING_PERIOD = "company,accounting_period" - LINES = "lines" - LINES_ACCOUNTING_PERIOD = "lines,accounting_period" - LINES_COMPANY = "lines,company" - LINES_COMPANY_ACCOUNTING_PERIOD = "lines,company,accounting_period" - LINES_TRACKING_CATEGORIES = "lines,tracking_categories" - LINES_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "lines,tracking_categories,accounting_period" - LINES_TRACKING_CATEGORIES_COMPANY = "lines,tracking_categories,company" - LINES_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = "lines,tracking_categories,company,accounting_period" - LINES_TRACKING_CATEGORIES_VENDOR = "lines,tracking_categories,vendor" - LINES_TRACKING_CATEGORIES_VENDOR_ACCOUNTING_PERIOD = "lines,tracking_categories,vendor,accounting_period" - LINES_TRACKING_CATEGORIES_VENDOR_COMPANY = "lines,tracking_categories,vendor,company" - LINES_TRACKING_CATEGORIES_VENDOR_COMPANY_ACCOUNTING_PERIOD = ( - "lines,tracking_categories,vendor,company,accounting_period" - ) - LINES_VENDOR = "lines,vendor" - LINES_VENDOR_ACCOUNTING_PERIOD = "lines,vendor,accounting_period" - LINES_VENDOR_COMPANY = "lines,vendor,company" - LINES_VENDOR_COMPANY_ACCOUNTING_PERIOD = "lines,vendor,company,accounting_period" - TRACKING_CATEGORIES = "tracking_categories" - TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "tracking_categories,accounting_period" - TRACKING_CATEGORIES_COMPANY = "tracking_categories,company" - TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,company,accounting_period" - TRACKING_CATEGORIES_VENDOR = "tracking_categories,vendor" - TRACKING_CATEGORIES_VENDOR_ACCOUNTING_PERIOD = "tracking_categories,vendor,accounting_period" - TRACKING_CATEGORIES_VENDOR_COMPANY = "tracking_categories,vendor,company" - TRACKING_CATEGORIES_VENDOR_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,vendor,company,accounting_period" - VENDOR = "vendor" - VENDOR_ACCOUNTING_PERIOD = "vendor,accounting_period" - VENDOR_COMPANY = "vendor,company" - VENDOR_COMPANY_ACCOUNTING_PERIOD = "vendor,company,accounting_period" - - def visit( - self, - accounting_period: typing.Callable[[], T_Result], - company: typing.Callable[[], T_Result], - company_accounting_period: typing.Callable[[], T_Result], - lines: typing.Callable[[], T_Result], - lines_accounting_period: typing.Callable[[], T_Result], - lines_company: typing.Callable[[], T_Result], - lines_company_accounting_period: typing.Callable[[], T_Result], - lines_tracking_categories: typing.Callable[[], T_Result], - lines_tracking_categories_accounting_period: typing.Callable[[], T_Result], - lines_tracking_categories_company: typing.Callable[[], T_Result], - lines_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - lines_tracking_categories_vendor: typing.Callable[[], T_Result], - lines_tracking_categories_vendor_accounting_period: typing.Callable[[], T_Result], - lines_tracking_categories_vendor_company: typing.Callable[[], T_Result], - lines_tracking_categories_vendor_company_accounting_period: typing.Callable[[], T_Result], - lines_vendor: typing.Callable[[], T_Result], - lines_vendor_accounting_period: typing.Callable[[], T_Result], - lines_vendor_company: typing.Callable[[], T_Result], - lines_vendor_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories: typing.Callable[[], T_Result], - tracking_categories_accounting_period: typing.Callable[[], T_Result], - tracking_categories_company: typing.Callable[[], T_Result], - tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_vendor: typing.Callable[[], T_Result], - tracking_categories_vendor_accounting_period: typing.Callable[[], T_Result], - tracking_categories_vendor_company: typing.Callable[[], T_Result], - tracking_categories_vendor_company_accounting_period: typing.Callable[[], T_Result], - vendor: typing.Callable[[], T_Result], - vendor_accounting_period: typing.Callable[[], T_Result], - vendor_company: typing.Callable[[], T_Result], - vendor_company_accounting_period: typing.Callable[[], T_Result], - ) -> T_Result: - if self is VendorCreditsRetrieveRequestExpand.ACCOUNTING_PERIOD: - return accounting_period() - if self is VendorCreditsRetrieveRequestExpand.COMPANY: - return company() - if self is VendorCreditsRetrieveRequestExpand.COMPANY_ACCOUNTING_PERIOD: - return company_accounting_period() - if self is VendorCreditsRetrieveRequestExpand.LINES: - return lines() - if self is VendorCreditsRetrieveRequestExpand.LINES_ACCOUNTING_PERIOD: - return lines_accounting_period() - if self is VendorCreditsRetrieveRequestExpand.LINES_COMPANY: - return lines_company() - if self is VendorCreditsRetrieveRequestExpand.LINES_COMPANY_ACCOUNTING_PERIOD: - return lines_company_accounting_period() - if self is VendorCreditsRetrieveRequestExpand.LINES_TRACKING_CATEGORIES: - return lines_tracking_categories() - if self is VendorCreditsRetrieveRequestExpand.LINES_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return lines_tracking_categories_accounting_period() - if self is VendorCreditsRetrieveRequestExpand.LINES_TRACKING_CATEGORIES_COMPANY: - return lines_tracking_categories_company() - if self is VendorCreditsRetrieveRequestExpand.LINES_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return lines_tracking_categories_company_accounting_period() - if self is VendorCreditsRetrieveRequestExpand.LINES_TRACKING_CATEGORIES_VENDOR: - return lines_tracking_categories_vendor() - if self is VendorCreditsRetrieveRequestExpand.LINES_TRACKING_CATEGORIES_VENDOR_ACCOUNTING_PERIOD: - return lines_tracking_categories_vendor_accounting_period() - if self is VendorCreditsRetrieveRequestExpand.LINES_TRACKING_CATEGORIES_VENDOR_COMPANY: - return lines_tracking_categories_vendor_company() - if self is VendorCreditsRetrieveRequestExpand.LINES_TRACKING_CATEGORIES_VENDOR_COMPANY_ACCOUNTING_PERIOD: - return lines_tracking_categories_vendor_company_accounting_period() - if self is VendorCreditsRetrieveRequestExpand.LINES_VENDOR: - return lines_vendor() - if self is VendorCreditsRetrieveRequestExpand.LINES_VENDOR_ACCOUNTING_PERIOD: - return lines_vendor_accounting_period() - if self is VendorCreditsRetrieveRequestExpand.LINES_VENDOR_COMPANY: - return lines_vendor_company() - if self is VendorCreditsRetrieveRequestExpand.LINES_VENDOR_COMPANY_ACCOUNTING_PERIOD: - return lines_vendor_company_accounting_period() - if self is VendorCreditsRetrieveRequestExpand.TRACKING_CATEGORIES: - return tracking_categories() - if self is VendorCreditsRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return tracking_categories_accounting_period() - if self is VendorCreditsRetrieveRequestExpand.TRACKING_CATEGORIES_COMPANY: - return tracking_categories_company() - if self is VendorCreditsRetrieveRequestExpand.TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_company_accounting_period() - if self is VendorCreditsRetrieveRequestExpand.TRACKING_CATEGORIES_VENDOR: - return tracking_categories_vendor() - if self is VendorCreditsRetrieveRequestExpand.TRACKING_CATEGORIES_VENDOR_ACCOUNTING_PERIOD: - return tracking_categories_vendor_accounting_period() - if self is VendorCreditsRetrieveRequestExpand.TRACKING_CATEGORIES_VENDOR_COMPANY: - return tracking_categories_vendor_company() - if self is VendorCreditsRetrieveRequestExpand.TRACKING_CATEGORIES_VENDOR_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_vendor_company_accounting_period() - if self is VendorCreditsRetrieveRequestExpand.VENDOR: - return vendor() - if self is VendorCreditsRetrieveRequestExpand.VENDOR_ACCOUNTING_PERIOD: - return vendor_accounting_period() - if self is VendorCreditsRetrieveRequestExpand.VENDOR_COMPANY: - return vendor_company() - if self is VendorCreditsRetrieveRequestExpand.VENDOR_COMPANY_ACCOUNTING_PERIOD: - return vendor_company_accounting_period() diff --git a/src/merge/resources/accounting/resources/vendor_credits/types/vendor_credits_retrieve_request_expand_item.py b/src/merge/resources/accounting/resources/vendor_credits/types/vendor_credits_retrieve_request_expand_item.py new file mode 100644 index 00000000..ecc39a29 --- /dev/null +++ b/src/merge/resources/accounting/resources/vendor_credits/types/vendor_credits_retrieve_request_expand_item.py @@ -0,0 +1,33 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class VendorCreditsRetrieveRequestExpandItem(str, enum.Enum): + ACCOUNTING_PERIOD = "accounting_period" + COMPANY = "company" + LINES = "lines" + TRACKING_CATEGORIES = "tracking_categories" + VENDOR = "vendor" + + def visit( + self, + accounting_period: typing.Callable[[], T_Result], + company: typing.Callable[[], T_Result], + lines: typing.Callable[[], T_Result], + tracking_categories: typing.Callable[[], T_Result], + vendor: typing.Callable[[], T_Result], + ) -> T_Result: + if self is VendorCreditsRetrieveRequestExpandItem.ACCOUNTING_PERIOD: + return accounting_period() + if self is VendorCreditsRetrieveRequestExpandItem.COMPANY: + return company() + if self is VendorCreditsRetrieveRequestExpandItem.LINES: + return lines() + if self is VendorCreditsRetrieveRequestExpandItem.TRACKING_CATEGORIES: + return tracking_categories() + if self is VendorCreditsRetrieveRequestExpandItem.VENDOR: + return vendor() diff --git a/src/merge/resources/accounting/types/__init__.py b/src/merge/resources/accounting/types/__init__.py index 904eaae3..9e375bd5 100644 --- a/src/merge/resources/accounting/types/__init__.py +++ b/src/merge/resources/accounting/types/__init__.py @@ -17,7 +17,6 @@ from .account_details_and_actions_integration import AccountDetailsAndActionsIntegration from .account_details_and_actions_status import AccountDetailsAndActionsStatus from .account_details_and_actions_status_enum import AccountDetailsAndActionsStatusEnum - from .account_details_category import AccountDetailsCategory from .account_integration import AccountIntegration from .account_request import AccountRequest from .account_request_account_type import AccountRequestAccountType @@ -84,7 +83,6 @@ from .common_model_scope_api import CommonModelScopeApi from .common_model_scopes_body_request import CommonModelScopesBodyRequest from .company_info import CompanyInfo - from .company_info_currency import CompanyInfoCurrency from .component_type_enum import ComponentTypeEnum from .contact import Contact from .contact_addresses_item import ContactAddressesItem @@ -133,7 +131,6 @@ from .credit_note_tracking_categories_item import CreditNoteTrackingCategoriesItem from .credit_or_debit_enum import CreditOrDebitEnum from .data_passthrough_request import DataPassthroughRequest - from .data_passthrough_request_method import DataPassthroughRequestMethod from .debug_mode_log import DebugModeLog from .debug_model_log_summary import DebugModelLogSummary from .employee import Employee @@ -153,7 +150,6 @@ from .expense_line import ExpenseLine from .expense_line_account import ExpenseLineAccount from .expense_line_contact import ExpenseLineContact - from .expense_line_currency import ExpenseLineCurrency from .expense_line_employee import ExpenseLineEmployee from .expense_line_item import ExpenseLineItem from .expense_line_project import ExpenseLineProject @@ -168,35 +164,11 @@ from .expense_line_request_tracking_category import ExpenseLineRequestTrackingCategory from .expense_line_tracking_categories_item import ExpenseLineTrackingCategoriesItem from .expense_line_tracking_category import ExpenseLineTrackingCategory - from .expense_report import ExpenseReport - from .expense_report_company import ExpenseReportCompany - from .expense_report_line import ExpenseReportLine - from .expense_report_line_account import ExpenseReportLineAccount - from .expense_report_line_company import ExpenseReportLineCompany - from .expense_report_line_contact import ExpenseReportLineContact - from .expense_report_line_employee import ExpenseReportLineEmployee - from .expense_report_line_project import ExpenseReportLineProject - from .expense_report_line_request import ExpenseReportLineRequest - from .expense_report_line_request_account import ExpenseReportLineRequestAccount - from .expense_report_line_request_company import ExpenseReportLineRequestCompany - from .expense_report_line_request_contact import ExpenseReportLineRequestContact - from .expense_report_line_request_employee import ExpenseReportLineRequestEmployee - from .expense_report_line_request_project import ExpenseReportLineRequestProject - from .expense_report_line_request_tax_rate import ExpenseReportLineRequestTaxRate - from .expense_report_line_tax_rate import ExpenseReportLineTaxRate - from .expense_report_request import ExpenseReportRequest - from .expense_report_request_accounting_period import ExpenseReportRequestAccountingPeriod - from .expense_report_request_company import ExpenseReportRequestCompany - from .expense_report_request_employee import ExpenseReportRequestEmployee - from .expense_report_response import ExpenseReportResponse - from .expense_report_status import ExpenseReportStatus - from .expense_report_status_enum import ExpenseReportStatusEnum from .expense_request import ExpenseRequest from .expense_request_account import ExpenseRequestAccount from .expense_request_accounting_period import ExpenseRequestAccountingPeriod from .expense_request_company import ExpenseRequestCompany from .expense_request_contact import ExpenseRequestContact - from .expense_request_currency import ExpenseRequestCurrency from .expense_request_employee import ExpenseRequestEmployee from .expense_request_tracking_categories_item import ExpenseRequestTrackingCategoriesItem from .expense_response import ExpenseResponse @@ -224,7 +196,6 @@ ) from .general_ledger_transaction_line import GeneralLedgerTransactionLine from .general_ledger_transaction_line_account import GeneralLedgerTransactionLineAccount - from .general_ledger_transaction_line_base_currency import GeneralLedgerTransactionLineBaseCurrency from .general_ledger_transaction_line_company import GeneralLedgerTransactionLineCompany from .general_ledger_transaction_line_contact import GeneralLedgerTransactionLineContact from .general_ledger_transaction_line_employee import GeneralLedgerTransactionLineEmployee @@ -288,7 +259,6 @@ from .invoice_status import InvoiceStatus from .invoice_status_enum import InvoiceStatusEnum from .invoice_tracking_categories_item import InvoiceTrackingCategoriesItem - from .invoice_type import InvoiceType from .invoice_type_enum import InvoiceTypeEnum from .issue import Issue from .issue_status import IssueStatus @@ -351,7 +321,6 @@ from .model_permission_deserializer import ModelPermissionDeserializer from .model_permission_deserializer_request import ModelPermissionDeserializerRequest from .multipart_form_field_request import MultipartFormFieldRequest - from .multipart_form_field_request_encoding import MultipartFormFieldRequestEncoding from .paginated_account_details_and_actions_list import PaginatedAccountDetailsAndActionsList from .paginated_account_list import PaginatedAccountList from .paginated_accounting_attachment_list import PaginatedAccountingAttachmentList @@ -366,8 +335,6 @@ from .paginated_credit_note_list import PaginatedCreditNoteList from .paginated_employee_list import PaginatedEmployeeList from .paginated_expense_list import PaginatedExpenseList - from .paginated_expense_report_line_list import PaginatedExpenseReportLineList - from .paginated_expense_report_list import PaginatedExpenseReportList from .paginated_general_ledger_transaction_list import PaginatedGeneralLedgerTransactionList from .paginated_income_statement_list import PaginatedIncomeStatementList from .paginated_invoice_list import PaginatedInvoiceList @@ -385,8 +352,6 @@ from .paginated_tracking_category_list import PaginatedTrackingCategoryList from .paginated_transaction_list import PaginatedTransactionList from .paginated_vendor_credit_list import PaginatedVendorCreditList - from .patched_contact_request import PatchedContactRequest - from .patched_contact_request_addresses_item import PatchedContactRequestAddressesItem from .patched_item_request_request import PatchedItemRequestRequest from .patched_item_request_request_status import PatchedItemRequestRequestStatus from .patched_item_request_request_type import PatchedItemRequestRequestType @@ -474,10 +439,11 @@ from .response_type_enum import ResponseTypeEnum from .role_enum import RoleEnum from .selective_sync_configurations_usage_enum import SelectiveSyncConfigurationsUsageEnum - from .status_7_d_1_enum import Status7D1Enum - from .status_895_enum import Status895Enum - from .status_fd_5_enum import StatusFd5Enum + from .status7d1enum import Status7D1Enum + from .status895enum import Status895Enum + from .status_fd5enum import StatusFd5Enum from .sync_status import SyncStatus + from .sync_status_last_sync_result import SyncStatusLastSyncResult from .sync_status_status import SyncStatusStatus from .tax_component import TaxComponent from .tax_component_component_type import TaxComponentComponentType @@ -499,7 +465,7 @@ from .transaction_line_item_currency import TransactionLineItemCurrency from .transaction_line_item_item import TransactionLineItemItem from .transaction_tracking_categories_item import TransactionTrackingCategoriesItem - from .type_2_bb_enum import Type2BbEnum + from .type2bb_enum import Type2BbEnum from .underlying_transaction_type_enum import UnderlyingTransactionTypeEnum from .validation_problem_source import ValidationProblemSource from .vendor_credit import VendorCredit @@ -545,7 +511,6 @@ "AccountDetailsAndActionsIntegration": ".account_details_and_actions_integration", "AccountDetailsAndActionsStatus": ".account_details_and_actions_status", "AccountDetailsAndActionsStatusEnum": ".account_details_and_actions_status_enum", - "AccountDetailsCategory": ".account_details_category", "AccountIntegration": ".account_integration", "AccountRequest": ".account_request", "AccountRequestAccountType": ".account_request_account_type", @@ -610,7 +575,6 @@ "CommonModelScopeApi": ".common_model_scope_api", "CommonModelScopesBodyRequest": ".common_model_scopes_body_request", "CompanyInfo": ".company_info", - "CompanyInfoCurrency": ".company_info_currency", "ComponentTypeEnum": ".component_type_enum", "Contact": ".contact", "ContactAddressesItem": ".contact_addresses_item", @@ -659,7 +623,6 @@ "CreditNoteTrackingCategoriesItem": ".credit_note_tracking_categories_item", "CreditOrDebitEnum": ".credit_or_debit_enum", "DataPassthroughRequest": ".data_passthrough_request", - "DataPassthroughRequestMethod": ".data_passthrough_request_method", "DebugModeLog": ".debug_mode_log", "DebugModelLogSummary": ".debug_model_log_summary", "Employee": ".employee", @@ -679,7 +642,6 @@ "ExpenseLine": ".expense_line", "ExpenseLineAccount": ".expense_line_account", "ExpenseLineContact": ".expense_line_contact", - "ExpenseLineCurrency": ".expense_line_currency", "ExpenseLineEmployee": ".expense_line_employee", "ExpenseLineItem": ".expense_line_item", "ExpenseLineProject": ".expense_line_project", @@ -694,35 +656,11 @@ "ExpenseLineRequestTrackingCategory": ".expense_line_request_tracking_category", "ExpenseLineTrackingCategoriesItem": ".expense_line_tracking_categories_item", "ExpenseLineTrackingCategory": ".expense_line_tracking_category", - "ExpenseReport": ".expense_report", - "ExpenseReportCompany": ".expense_report_company", - "ExpenseReportLine": ".expense_report_line", - "ExpenseReportLineAccount": ".expense_report_line_account", - "ExpenseReportLineCompany": ".expense_report_line_company", - "ExpenseReportLineContact": ".expense_report_line_contact", - "ExpenseReportLineEmployee": ".expense_report_line_employee", - "ExpenseReportLineProject": ".expense_report_line_project", - "ExpenseReportLineRequest": ".expense_report_line_request", - "ExpenseReportLineRequestAccount": ".expense_report_line_request_account", - "ExpenseReportLineRequestCompany": ".expense_report_line_request_company", - "ExpenseReportLineRequestContact": ".expense_report_line_request_contact", - "ExpenseReportLineRequestEmployee": ".expense_report_line_request_employee", - "ExpenseReportLineRequestProject": ".expense_report_line_request_project", - "ExpenseReportLineRequestTaxRate": ".expense_report_line_request_tax_rate", - "ExpenseReportLineTaxRate": ".expense_report_line_tax_rate", - "ExpenseReportRequest": ".expense_report_request", - "ExpenseReportRequestAccountingPeriod": ".expense_report_request_accounting_period", - "ExpenseReportRequestCompany": ".expense_report_request_company", - "ExpenseReportRequestEmployee": ".expense_report_request_employee", - "ExpenseReportResponse": ".expense_report_response", - "ExpenseReportStatus": ".expense_report_status", - "ExpenseReportStatusEnum": ".expense_report_status_enum", "ExpenseRequest": ".expense_request", "ExpenseRequestAccount": ".expense_request_account", "ExpenseRequestAccountingPeriod": ".expense_request_accounting_period", "ExpenseRequestCompany": ".expense_request_company", "ExpenseRequestContact": ".expense_request_contact", - "ExpenseRequestCurrency": ".expense_request_currency", "ExpenseRequestEmployee": ".expense_request_employee", "ExpenseRequestTrackingCategoriesItem": ".expense_request_tracking_categories_item", "ExpenseResponse": ".expense_response", @@ -746,7 +684,6 @@ "GeneralLedgerTransactionGeneralLedgerTransactionLinesItem": ".general_ledger_transaction_general_ledger_transaction_lines_item", "GeneralLedgerTransactionLine": ".general_ledger_transaction_line", "GeneralLedgerTransactionLineAccount": ".general_ledger_transaction_line_account", - "GeneralLedgerTransactionLineBaseCurrency": ".general_ledger_transaction_line_base_currency", "GeneralLedgerTransactionLineCompany": ".general_ledger_transaction_line_company", "GeneralLedgerTransactionLineContact": ".general_ledger_transaction_line_contact", "GeneralLedgerTransactionLineEmployee": ".general_ledger_transaction_line_employee", @@ -806,7 +743,6 @@ "InvoiceStatus": ".invoice_status", "InvoiceStatusEnum": ".invoice_status_enum", "InvoiceTrackingCategoriesItem": ".invoice_tracking_categories_item", - "InvoiceType": ".invoice_type", "InvoiceTypeEnum": ".invoice_type_enum", "Issue": ".issue", "IssueStatus": ".issue_status", @@ -869,7 +805,6 @@ "ModelPermissionDeserializer": ".model_permission_deserializer", "ModelPermissionDeserializerRequest": ".model_permission_deserializer_request", "MultipartFormFieldRequest": ".multipart_form_field_request", - "MultipartFormFieldRequestEncoding": ".multipart_form_field_request_encoding", "PaginatedAccountDetailsAndActionsList": ".paginated_account_details_and_actions_list", "PaginatedAccountList": ".paginated_account_list", "PaginatedAccountingAttachmentList": ".paginated_accounting_attachment_list", @@ -884,8 +819,6 @@ "PaginatedCreditNoteList": ".paginated_credit_note_list", "PaginatedEmployeeList": ".paginated_employee_list", "PaginatedExpenseList": ".paginated_expense_list", - "PaginatedExpenseReportLineList": ".paginated_expense_report_line_list", - "PaginatedExpenseReportList": ".paginated_expense_report_list", "PaginatedGeneralLedgerTransactionList": ".paginated_general_ledger_transaction_list", "PaginatedIncomeStatementList": ".paginated_income_statement_list", "PaginatedInvoiceList": ".paginated_invoice_list", @@ -903,8 +836,6 @@ "PaginatedTrackingCategoryList": ".paginated_tracking_category_list", "PaginatedTransactionList": ".paginated_transaction_list", "PaginatedVendorCreditList": ".paginated_vendor_credit_list", - "PatchedContactRequest": ".patched_contact_request", - "PatchedContactRequestAddressesItem": ".patched_contact_request_addresses_item", "PatchedItemRequestRequest": ".patched_item_request_request", "PatchedItemRequestRequestStatus": ".patched_item_request_request_status", "PatchedItemRequestRequestType": ".patched_item_request_request_type", @@ -992,10 +923,11 @@ "ResponseTypeEnum": ".response_type_enum", "RoleEnum": ".role_enum", "SelectiveSyncConfigurationsUsageEnum": ".selective_sync_configurations_usage_enum", - "Status7D1Enum": ".status_7_d_1_enum", - "Status895Enum": ".status_895_enum", - "StatusFd5Enum": ".status_fd_5_enum", + "Status7D1Enum": ".status7d1enum", + "Status895Enum": ".status895enum", + "StatusFd5Enum": ".status_fd5enum", "SyncStatus": ".sync_status", + "SyncStatusLastSyncResult": ".sync_status_last_sync_result", "SyncStatusStatus": ".sync_status_status", "TaxComponent": ".tax_component", "TaxComponentComponentType": ".tax_component_component_type", @@ -1017,7 +949,7 @@ "TransactionLineItemCurrency": ".transaction_line_item_currency", "TransactionLineItemItem": ".transaction_line_item_item", "TransactionTrackingCategoriesItem": ".transaction_tracking_categories_item", - "Type2BbEnum": ".type_2_bb_enum", + "Type2BbEnum": ".type2bb_enum", "UnderlyingTransactionTypeEnum": ".underlying_transaction_type_enum", "ValidationProblemSource": ".validation_problem_source", "VendorCredit": ".vendor_credit", @@ -1058,8 +990,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -1083,7 +1017,6 @@ def __dir__(): "AccountDetailsAndActionsIntegration", "AccountDetailsAndActionsStatus", "AccountDetailsAndActionsStatusEnum", - "AccountDetailsCategory", "AccountIntegration", "AccountRequest", "AccountRequestAccountType", @@ -1148,7 +1081,6 @@ def __dir__(): "CommonModelScopeApi", "CommonModelScopesBodyRequest", "CompanyInfo", - "CompanyInfoCurrency", "ComponentTypeEnum", "Contact", "ContactAddressesItem", @@ -1197,7 +1129,6 @@ def __dir__(): "CreditNoteTrackingCategoriesItem", "CreditOrDebitEnum", "DataPassthroughRequest", - "DataPassthroughRequestMethod", "DebugModeLog", "DebugModelLogSummary", "Employee", @@ -1217,7 +1148,6 @@ def __dir__(): "ExpenseLine", "ExpenseLineAccount", "ExpenseLineContact", - "ExpenseLineCurrency", "ExpenseLineEmployee", "ExpenseLineItem", "ExpenseLineProject", @@ -1232,35 +1162,11 @@ def __dir__(): "ExpenseLineRequestTrackingCategory", "ExpenseLineTrackingCategoriesItem", "ExpenseLineTrackingCategory", - "ExpenseReport", - "ExpenseReportCompany", - "ExpenseReportLine", - "ExpenseReportLineAccount", - "ExpenseReportLineCompany", - "ExpenseReportLineContact", - "ExpenseReportLineEmployee", - "ExpenseReportLineProject", - "ExpenseReportLineRequest", - "ExpenseReportLineRequestAccount", - "ExpenseReportLineRequestCompany", - "ExpenseReportLineRequestContact", - "ExpenseReportLineRequestEmployee", - "ExpenseReportLineRequestProject", - "ExpenseReportLineRequestTaxRate", - "ExpenseReportLineTaxRate", - "ExpenseReportRequest", - "ExpenseReportRequestAccountingPeriod", - "ExpenseReportRequestCompany", - "ExpenseReportRequestEmployee", - "ExpenseReportResponse", - "ExpenseReportStatus", - "ExpenseReportStatusEnum", "ExpenseRequest", "ExpenseRequestAccount", "ExpenseRequestAccountingPeriod", "ExpenseRequestCompany", "ExpenseRequestContact", - "ExpenseRequestCurrency", "ExpenseRequestEmployee", "ExpenseRequestTrackingCategoriesItem", "ExpenseResponse", @@ -1284,7 +1190,6 @@ def __dir__(): "GeneralLedgerTransactionGeneralLedgerTransactionLinesItem", "GeneralLedgerTransactionLine", "GeneralLedgerTransactionLineAccount", - "GeneralLedgerTransactionLineBaseCurrency", "GeneralLedgerTransactionLineCompany", "GeneralLedgerTransactionLineContact", "GeneralLedgerTransactionLineEmployee", @@ -1344,7 +1249,6 @@ def __dir__(): "InvoiceStatus", "InvoiceStatusEnum", "InvoiceTrackingCategoriesItem", - "InvoiceType", "InvoiceTypeEnum", "Issue", "IssueStatus", @@ -1407,7 +1311,6 @@ def __dir__(): "ModelPermissionDeserializer", "ModelPermissionDeserializerRequest", "MultipartFormFieldRequest", - "MultipartFormFieldRequestEncoding", "PaginatedAccountDetailsAndActionsList", "PaginatedAccountList", "PaginatedAccountingAttachmentList", @@ -1422,8 +1325,6 @@ def __dir__(): "PaginatedCreditNoteList", "PaginatedEmployeeList", "PaginatedExpenseList", - "PaginatedExpenseReportLineList", - "PaginatedExpenseReportList", "PaginatedGeneralLedgerTransactionList", "PaginatedIncomeStatementList", "PaginatedInvoiceList", @@ -1441,8 +1342,6 @@ def __dir__(): "PaginatedTrackingCategoryList", "PaginatedTransactionList", "PaginatedVendorCreditList", - "PatchedContactRequest", - "PatchedContactRequestAddressesItem", "PatchedItemRequestRequest", "PatchedItemRequestRequestStatus", "PatchedItemRequestRequestType", @@ -1534,6 +1433,7 @@ def __dir__(): "Status895Enum", "StatusFd5Enum", "SyncStatus", + "SyncStatusLastSyncResult", "SyncStatusStatus", "TaxComponent", "TaxComponentComponentType", diff --git a/src/merge/resources/accounting/types/account.py b/src/merge/resources/accounting/types/account.py index 48026248..17eb2a35 100644 --- a/src/merge/resources/accounting/types/account.py +++ b/src/merge/resources/accounting/types/account.py @@ -437,7 +437,7 @@ class Account(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/accounting/types/account_details.py b/src/merge/resources/accounting/types/account_details.py index 98923cd8..58b10279 100644 --- a/src/merge/resources/accounting/types/account_details.py +++ b/src/merge/resources/accounting/types/account_details.py @@ -6,14 +6,14 @@ import pydantic from ....core.pydantic_utilities import IS_PYDANTIC_V2 from ....core.unchecked_base_model import UncheckedBaseModel -from .account_details_category import AccountDetailsCategory +from .category_enum import CategoryEnum class AccountDetails(UncheckedBaseModel): id: typing.Optional[str] = None integration: typing.Optional[str] = None integration_slug: typing.Optional[str] = None - category: typing.Optional[AccountDetailsCategory] = None + category: typing.Optional[CategoryEnum] = None end_user_origin_id: typing.Optional[str] = None end_user_organization_name: typing.Optional[str] = None end_user_email_address: typing.Optional[str] = None diff --git a/src/merge/resources/accounting/types/account_details_and_actions.py b/src/merge/resources/accounting/types/account_details_and_actions.py index 93c874ed..a16114f6 100644 --- a/src/merge/resources/accounting/types/account_details_and_actions.py +++ b/src/merge/resources/accounting/types/account_details_and_actions.py @@ -42,7 +42,6 @@ class AccountDetailsAndActions(UncheckedBaseModel): integration: typing.Optional[AccountDetailsAndActionsIntegration] = None account_type: str completed_at: dt.datetime - integration_specific_fields: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/accounting/types/account_integration.py b/src/merge/resources/accounting/types/account_integration.py index ef8b260d..7bc872ca 100644 --- a/src/merge/resources/accounting/types/account_integration.py +++ b/src/merge/resources/accounting/types/account_integration.py @@ -40,9 +40,7 @@ class AccountIntegration(UncheckedBaseModel): """ slug: typing.Optional[str] = None - api_endpoints_to_documentation_urls: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = ( - pydantic.Field(default=None) - ) + api_endpoints_to_documentation_urls: typing.Optional[typing.Dict[str, typing.Any]] = pydantic.Field(default=None) """ Mapping of API endpoints to documentation urls for support. Example: {'GET': [['/common-model-scopes', 'https://docs.merge.dev/accounting/common-model-scopes/#common_model_scopes_retrieve'],['/common-model-actions', 'https://docs.merge.dev/accounting/common-model-actions/#common_model_actions_retrieve']], 'POST': []} """ @@ -52,7 +50,7 @@ class AccountIntegration(UncheckedBaseModel): Setup guide URL for third party webhook creation. Exposed in Merge Docs. """ - category_beta_status: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = pydantic.Field(default=None) + category_beta_status: typing.Optional[typing.Dict[str, typing.Any]] = pydantic.Field(default=None) """ Category or categories this integration is in beta status for. """ diff --git a/src/merge/resources/accounting/types/account_request.py b/src/merge/resources/accounting/types/account_request.py index 471e444e..2a66ef38 100644 --- a/src/merge/resources/accounting/types/account_request.py +++ b/src/merge/resources/accounting/types/account_request.py @@ -414,8 +414,8 @@ class AccountRequest(UncheckedBaseModel): The company the account belongs to. """ - integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + integration_params: typing.Optional[typing.Dict[str, typing.Any]] = None + linked_account_params: typing.Optional[typing.Dict[str, typing.Any]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/accounting/types/accounting_attachment.py b/src/merge/resources/accounting/types/accounting_attachment.py index c7076640..ae341bcc 100644 --- a/src/merge/resources/accounting/types/accounting_attachment.py +++ b/src/merge/resources/accounting/types/accounting_attachment.py @@ -55,7 +55,7 @@ class AccountingAttachment(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/accounting/types/accounting_attachment_request.py b/src/merge/resources/accounting/types/accounting_attachment_request.py index a846f08a..1d095f72 100644 --- a/src/merge/resources/accounting/types/accounting_attachment_request.py +++ b/src/merge/resources/accounting/types/accounting_attachment_request.py @@ -32,8 +32,8 @@ class AccountingAttachmentRequest(UncheckedBaseModel): The company the accounting attachment belongs to. """ - integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + integration_params: typing.Optional[typing.Dict[str, typing.Any]] = None + linked_account_params: typing.Optional[typing.Dict[str, typing.Any]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/accounting/types/accounting_period.py b/src/merge/resources/accounting/types/accounting_period.py index eed33108..f3f29d22 100644 --- a/src/merge/resources/accounting/types/accounting_period.py +++ b/src/merge/resources/accounting/types/accounting_period.py @@ -52,7 +52,7 @@ class AccountingPeriod(UncheckedBaseModel): End date of the period """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/accounting/types/accounting_period_status.py b/src/merge/resources/accounting/types/accounting_period_status.py index c53ff70c..70ab6e27 100644 --- a/src/merge/resources/accounting/types/accounting_period_status.py +++ b/src/merge/resources/accounting/types/accounting_period_status.py @@ -2,6 +2,6 @@ import typing -from .status_895_enum import Status895Enum +from .status895enum import Status895Enum AccountingPeriodStatus = typing.Union[Status895Enum, str] diff --git a/src/merge/resources/accounting/types/accounting_phone_number_request.py b/src/merge/resources/accounting/types/accounting_phone_number_request.py index 1bb6e597..a2758beb 100644 --- a/src/merge/resources/accounting/types/accounting_phone_number_request.py +++ b/src/merge/resources/accounting/types/accounting_phone_number_request.py @@ -27,8 +27,8 @@ class AccountingPhoneNumberRequest(UncheckedBaseModel): The phone number's type. """ - integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + integration_params: typing.Optional[typing.Dict[str, typing.Any]] = None + linked_account_params: typing.Optional[typing.Dict[str, typing.Any]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/accounting/types/address.py b/src/merge/resources/accounting/types/address.py index 196a516f..b3482ebd 100644 --- a/src/merge/resources/accounting/types/address.py +++ b/src/merge/resources/accounting/types/address.py @@ -38,12 +38,12 @@ class Address(UncheckedBaseModel): * `SHIPPING` - SHIPPING """ - street_1: typing.Optional[str] = pydantic.Field(default=None) + street1: typing.Optional[str] = pydantic.Field(alias="street_1", default=None) """ Line 1 of the address's street. """ - street_2: typing.Optional[str] = pydantic.Field(default=None) + street2: typing.Optional[str] = pydantic.Field(alias="street_2", default=None) """ Line 2 of the address's street. """ @@ -53,7 +53,7 @@ class Address(UncheckedBaseModel): The address's city. """ - state: typing.Optional[typing.Optional[typing.Any]] = pydantic.Field(default=None) + state: typing.Optional[typing.Any] = pydantic.Field(default=None) """ The address's state or region. """ diff --git a/src/merge/resources/accounting/types/address_request.py b/src/merge/resources/accounting/types/address_request.py index a7545759..0421193f 100644 --- a/src/merge/resources/accounting/types/address_request.py +++ b/src/merge/resources/accounting/types/address_request.py @@ -27,12 +27,12 @@ class AddressRequest(UncheckedBaseModel): * `SHIPPING` - SHIPPING """ - street_1: typing.Optional[str] = pydantic.Field(default=None) + street1: typing.Optional[str] = pydantic.Field(alias="street_1", default=None) """ Line 1 of the address's street. """ - street_2: typing.Optional[str] = pydantic.Field(default=None) + street2: typing.Optional[str] = pydantic.Field(alias="street_2", default=None) """ Line 2 of the address's street. """ @@ -307,8 +307,8 @@ class AddressRequest(UncheckedBaseModel): The address's zip code. """ - integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + integration_params: typing.Optional[typing.Dict[str, typing.Any]] = None + linked_account_params: typing.Optional[typing.Dict[str, typing.Any]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/accounting/types/advanced_metadata.py b/src/merge/resources/accounting/types/advanced_metadata.py index 60b5d072..aef64bb3 100644 --- a/src/merge/resources/accounting/types/advanced_metadata.py +++ b/src/merge/resources/accounting/types/advanced_metadata.py @@ -13,7 +13,7 @@ class AdvancedMetadata(UncheckedBaseModel): description: typing.Optional[str] = None is_required: typing.Optional[bool] = None is_custom: typing.Optional[bool] = None - field_choices: typing.Optional[typing.List[typing.Optional[typing.Any]]] = None + field_choices: typing.Optional[typing.List[typing.Any]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/accounting/types/async_post_task_result.py b/src/merge/resources/accounting/types/async_post_task_result.py index 3cd4ef00..bece6643 100644 --- a/src/merge/resources/accounting/types/async_post_task_result.py +++ b/src/merge/resources/accounting/types/async_post_task_result.py @@ -9,7 +9,7 @@ class AsyncPostTaskResult(UncheckedBaseModel): status_code: typing.Optional[int] = None - response: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + response: typing.Optional[typing.Dict[str, typing.Any]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/accounting/types/balance_sheet.py b/src/merge/resources/accounting/types/balance_sheet.py index f882760e..47d38202 100644 --- a/src/merge/resources/accounting/types/balance_sheet.py +++ b/src/merge/resources/accounting/types/balance_sheet.py @@ -383,7 +383,7 @@ class BalanceSheet(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/accounting/types/bank_feed_account.py b/src/merge/resources/accounting/types/bank_feed_account.py index f901ca6a..eea913e7 100644 --- a/src/merge/resources/accounting/types/bank_feed_account.py +++ b/src/merge/resources/accounting/types/bank_feed_account.py @@ -405,8 +405,8 @@ class BankFeedAccount(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - remote_data: typing.Optional[typing.List[typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None + remote_data: typing.Optional[typing.List[typing.Optional[typing.Dict[str, typing.Any]]]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/accounting/types/bank_feed_account_request.py b/src/merge/resources/accounting/types/bank_feed_account_request.py index c87b7395..713f6423 100644 --- a/src/merge/resources/accounting/types/bank_feed_account_request.py +++ b/src/merge/resources/accounting/types/bank_feed_account_request.py @@ -384,8 +384,8 @@ class BankFeedAccountRequest(UncheckedBaseModel): * `CREDIT_CARD` - CREDIT_CARD """ - integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + integration_params: typing.Optional[typing.Dict[str, typing.Any]] = None + linked_account_params: typing.Optional[typing.Dict[str, typing.Any]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/accounting/types/bank_feed_transaction_request_request.py b/src/merge/resources/accounting/types/bank_feed_transaction_request_request.py index f5f9e482..bb2d8775 100644 --- a/src/merge/resources/accounting/types/bank_feed_transaction_request_request.py +++ b/src/merge/resources/accounting/types/bank_feed_transaction_request_request.py @@ -68,8 +68,8 @@ class BankFeedTransactionRequestRequest(UncheckedBaseModel): The customer’s identifier for the transaction. """ - integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + integration_params: typing.Optional[typing.Dict[str, typing.Any]] = None + linked_account_params: typing.Optional[typing.Dict[str, typing.Any]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/accounting/types/cash_flow_statement.py b/src/merge/resources/accounting/types/cash_flow_statement.py index ef460a0e..024b5bad 100644 --- a/src/merge/resources/accounting/types/cash_flow_statement.py +++ b/src/merge/resources/accounting/types/cash_flow_statement.py @@ -393,7 +393,7 @@ class CashFlowStatement(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/accounting/types/company_info.py b/src/merge/resources/accounting/types/company_info.py index 1f8a46ef..2847e670 100644 --- a/src/merge/resources/accounting/types/company_info.py +++ b/src/merge/resources/accounting/types/company_info.py @@ -8,7 +8,6 @@ from ....core.unchecked_base_model import UncheckedBaseModel from .accounting_phone_number import AccountingPhoneNumber from .address import Address -from .company_info_currency import CompanyInfoCurrency from .remote_data import RemoteData @@ -63,7 +62,7 @@ class CompanyInfo(UncheckedBaseModel): The company's fiscal year end day. """ - currency: typing.Optional[CompanyInfoCurrency] = pydantic.Field(default=None) + currency: typing.Optional[typing.Any] = pydantic.Field(default=None) """ The currency set in the company's accounting platform. @@ -392,7 +391,7 @@ class CompanyInfo(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/accounting/types/company_info_currency.py b/src/merge/resources/accounting/types/company_info_currency.py deleted file mode 100644 index 52874769..00000000 --- a/src/merge/resources/accounting/types/company_info_currency.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .transaction_currency_enum import TransactionCurrencyEnum - -CompanyInfoCurrency = typing.Union[TransactionCurrencyEnum, str] diff --git a/src/merge/resources/accounting/types/contact.py b/src/merge/resources/accounting/types/contact.py index f036ebc6..3783a460 100644 --- a/src/merge/resources/accounting/types/contact.py +++ b/src/merge/resources/accounting/types/contact.py @@ -104,7 +104,7 @@ class Contact(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None remote_fields: typing.Optional[typing.List[RemoteField]] = None diff --git a/src/merge/resources/accounting/types/contact_request.py b/src/merge/resources/accounting/types/contact_request.py index e324842c..a30f6ea8 100644 --- a/src/merge/resources/accounting/types/contact_request.py +++ b/src/merge/resources/accounting/types/contact_request.py @@ -76,8 +76,8 @@ class ContactRequest(UncheckedBaseModel): `AccountingPhoneNumber` object for the given `Contacts` object. """ - integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + integration_params: typing.Optional[typing.Dict[str, typing.Any]] = None + linked_account_params: typing.Optional[typing.Dict[str, typing.Any]] = None remote_fields: typing.Optional[typing.List[RemoteFieldRequest]] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/accounting/types/contact_request_status.py b/src/merge/resources/accounting/types/contact_request_status.py index b12e4d58..111e59f2 100644 --- a/src/merge/resources/accounting/types/contact_request_status.py +++ b/src/merge/resources/accounting/types/contact_request_status.py @@ -2,6 +2,6 @@ import typing -from .status_7_d_1_enum import Status7D1Enum +from .status7d1enum import Status7D1Enum ContactRequestStatus = typing.Union[Status7D1Enum, str] diff --git a/src/merge/resources/accounting/types/contact_status.py b/src/merge/resources/accounting/types/contact_status.py index fc5b2d28..2192c107 100644 --- a/src/merge/resources/accounting/types/contact_status.py +++ b/src/merge/resources/accounting/types/contact_status.py @@ -2,6 +2,6 @@ import typing -from .status_7_d_1_enum import Status7D1Enum +from .status7d1enum import Status7D1Enum ContactStatus = typing.Union[Status7D1Enum, str] diff --git a/src/merge/resources/accounting/types/credit_note.py b/src/merge/resources/accounting/types/credit_note.py index 58be8048..fc68efe1 100644 --- a/src/merge/resources/accounting/types/credit_note.py +++ b/src/merge/resources/accounting/types/credit_note.py @@ -446,7 +446,7 @@ class CreditNote(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None if IS_PYDANTIC_V2: @@ -459,11 +459,6 @@ class Config: extra = pydantic.Extra.allow -from .credit_note_apply_line_for_credit_note import CreditNoteApplyLineForCreditNote # noqa: E402, F401, I001 -from .credit_note_apply_line_for_invoice import CreditNoteApplyLineForInvoice # noqa: E402, F401, I001 -from .invoice import Invoice # noqa: E402, F401, I001 -from .vendor_credit import VendorCredit # noqa: E402, F401, I001 -from .vendor_credit_apply_line_for_invoice import VendorCreditApplyLineForInvoice # noqa: E402, F401, I001 -from .vendor_credit_apply_line_for_vendor_credit import VendorCreditApplyLineForVendorCredit # noqa: E402, F401, I001 +from .credit_note_apply_line_for_credit_note import CreditNoteApplyLineForCreditNote # noqa: E402, I001 update_forward_refs(CreditNote) diff --git a/src/merge/resources/accounting/types/credit_note_apply_line_for_credit_note.py b/src/merge/resources/accounting/types/credit_note_apply_line_for_credit_note.py index 643aa3cd..5938c9ad 100644 --- a/src/merge/resources/accounting/types/credit_note_apply_line_for_credit_note.py +++ b/src/merge/resources/accounting/types/credit_note_apply_line_for_credit_note.py @@ -61,12 +61,7 @@ class Config: extra = pydantic.Extra.allow -from .credit_note import CreditNote # noqa: E402, F401, I001 -from .credit_note_apply_line_for_invoice import CreditNoteApplyLineForInvoice # noqa: E402, F401, I001 -from .invoice import Invoice # noqa: E402, F401, I001 -from .vendor_credit import VendorCredit # noqa: E402, F401, I001 -from .vendor_credit_apply_line_for_invoice import VendorCreditApplyLineForInvoice # noqa: E402, F401, I001 -from .vendor_credit_apply_line_for_vendor_credit import VendorCreditApplyLineForVendorCredit # noqa: E402, F401, I001 -from .credit_note_apply_line_for_credit_note_invoice import CreditNoteApplyLineForCreditNoteInvoice # noqa: E402, F401, I001 - -update_forward_refs(CreditNoteApplyLineForCreditNote) +from .invoice import Invoice # noqa: E402, I001 +from .credit_note_apply_line_for_credit_note_invoice import CreditNoteApplyLineForCreditNoteInvoice # noqa: E402, I001 + +update_forward_refs(CreditNoteApplyLineForCreditNote, Invoice=Invoice) diff --git a/src/merge/resources/accounting/types/credit_note_apply_line_for_credit_note_request.py b/src/merge/resources/accounting/types/credit_note_apply_line_for_credit_note_request.py index 0256e246..c1265fb1 100644 --- a/src/merge/resources/accounting/types/credit_note_apply_line_for_credit_note_request.py +++ b/src/merge/resources/accounting/types/credit_note_apply_line_for_credit_note_request.py @@ -37,8 +37,8 @@ class CreditNoteApplyLineForCreditNoteRequest(UncheckedBaseModel): The amount of the Credit Note applied to the invoice. """ - integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + integration_params: typing.Optional[typing.Dict[str, typing.Any]] = None + linked_account_params: typing.Optional[typing.Dict[str, typing.Any]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 @@ -50,12 +50,4 @@ class Config: extra = pydantic.Extra.allow -from .credit_note import CreditNote # noqa: E402, F401, I001 -from .credit_note_apply_line_for_credit_note import CreditNoteApplyLineForCreditNote # noqa: E402, F401, I001 -from .credit_note_apply_line_for_invoice import CreditNoteApplyLineForInvoice # noqa: E402, F401, I001 -from .invoice import Invoice # noqa: E402, F401, I001 -from .vendor_credit import VendorCredit # noqa: E402, F401, I001 -from .vendor_credit_apply_line_for_invoice import VendorCreditApplyLineForInvoice # noqa: E402, F401, I001 -from .vendor_credit_apply_line_for_vendor_credit import VendorCreditApplyLineForVendorCredit # noqa: E402, F401, I001 - update_forward_refs(CreditNoteApplyLineForCreditNoteRequest) diff --git a/src/merge/resources/accounting/types/credit_note_apply_line_for_invoice.py b/src/merge/resources/accounting/types/credit_note_apply_line_for_invoice.py index f56415f9..db608f21 100644 --- a/src/merge/resources/accounting/types/credit_note_apply_line_for_invoice.py +++ b/src/merge/resources/accounting/types/credit_note_apply_line_for_invoice.py @@ -61,12 +61,7 @@ class Config: extra = pydantic.Extra.allow -from .credit_note import CreditNote # noqa: E402, F401, I001 -from .credit_note_apply_line_for_credit_note import CreditNoteApplyLineForCreditNote # noqa: E402, F401, I001 -from .invoice import Invoice # noqa: E402, F401, I001 -from .vendor_credit import VendorCredit # noqa: E402, F401, I001 -from .vendor_credit_apply_line_for_invoice import VendorCreditApplyLineForInvoice # noqa: E402, F401, I001 -from .vendor_credit_apply_line_for_vendor_credit import VendorCreditApplyLineForVendorCredit # noqa: E402, F401, I001 -from .credit_note_apply_line_for_invoice_credit_note import CreditNoteApplyLineForInvoiceCreditNote # noqa: E402, F401, I001 - -update_forward_refs(CreditNoteApplyLineForInvoice) +from .credit_note import CreditNote # noqa: E402, I001 +from .credit_note_apply_line_for_invoice_credit_note import CreditNoteApplyLineForInvoiceCreditNote # noqa: E402, I001 + +update_forward_refs(CreditNoteApplyLineForInvoice, CreditNote=CreditNote) diff --git a/src/merge/resources/accounting/types/credit_note_line_item_request.py b/src/merge/resources/accounting/types/credit_note_line_item_request.py index f6e5048b..60da22a5 100644 --- a/src/merge/resources/accounting/types/credit_note_line_item_request.py +++ b/src/merge/resources/accounting/types/credit_note_line_item_request.py @@ -88,8 +88,8 @@ class CreditNoteLineItemRequest(UncheckedBaseModel): """ project: typing.Optional[CreditNoteLineItemRequestProject] = None - integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + integration_params: typing.Optional[typing.Dict[str, typing.Any]] = None + linked_account_params: typing.Optional[typing.Dict[str, typing.Any]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/accounting/types/credit_note_line_item_request_project.py b/src/merge/resources/accounting/types/credit_note_line_item_request_project.py index 334b238e..d9727951 100644 --- a/src/merge/resources/accounting/types/credit_note_line_item_request_project.py +++ b/src/merge/resources/accounting/types/credit_note_line_item_request_project.py @@ -2,6 +2,6 @@ import typing -from .contact import Contact +from .project import Project -CreditNoteLineItemRequestProject = typing.Union[str, Contact] +CreditNoteLineItemRequestProject = typing.Union[str, Project] diff --git a/src/merge/resources/accounting/types/credit_note_request.py b/src/merge/resources/accounting/types/credit_note_request.py index 48e28f06..6bbd27a7 100644 --- a/src/merge/resources/accounting/types/credit_note_request.py +++ b/src/merge/resources/accounting/types/credit_note_request.py @@ -419,8 +419,8 @@ class CreditNoteRequest(UncheckedBaseModel): A list of the CreditNote Applied to Lines common models related to a given Credit Note """ - integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + integration_params: typing.Optional[typing.Dict[str, typing.Any]] = None + linked_account_params: typing.Optional[typing.Dict[str, typing.Any]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 @@ -432,12 +432,4 @@ class Config: extra = pydantic.Extra.allow -from .credit_note import CreditNote # noqa: E402, F401, I001 -from .credit_note_apply_line_for_credit_note import CreditNoteApplyLineForCreditNote # noqa: E402, F401, I001 -from .credit_note_apply_line_for_invoice import CreditNoteApplyLineForInvoice # noqa: E402, F401, I001 -from .invoice import Invoice # noqa: E402, F401, I001 -from .vendor_credit import VendorCredit # noqa: E402, F401, I001 -from .vendor_credit_apply_line_for_invoice import VendorCreditApplyLineForInvoice # noqa: E402, F401, I001 -from .vendor_credit_apply_line_for_vendor_credit import VendorCreditApplyLineForVendorCredit # noqa: E402, F401, I001 - update_forward_refs(CreditNoteRequest) diff --git a/src/merge/resources/accounting/types/credit_note_response.py b/src/merge/resources/accounting/types/credit_note_response.py index 587bb615..17b63762 100644 --- a/src/merge/resources/accounting/types/credit_note_response.py +++ b/src/merge/resources/accounting/types/credit_note_response.py @@ -28,12 +28,6 @@ class Config: extra = pydantic.Extra.allow -from .credit_note import CreditNote # noqa: E402, F401, I001 -from .credit_note_apply_line_for_credit_note import CreditNoteApplyLineForCreditNote # noqa: E402, F401, I001 -from .credit_note_apply_line_for_invoice import CreditNoteApplyLineForInvoice # noqa: E402, F401, I001 -from .invoice import Invoice # noqa: E402, F401, I001 -from .vendor_credit import VendorCredit # noqa: E402, F401, I001 -from .vendor_credit_apply_line_for_invoice import VendorCreditApplyLineForInvoice # noqa: E402, F401, I001 -from .vendor_credit_apply_line_for_vendor_credit import VendorCreditApplyLineForVendorCredit # noqa: E402, F401, I001 +from .credit_note import CreditNote # noqa: E402, I001 update_forward_refs(CreditNoteResponse) diff --git a/src/merge/resources/accounting/types/data_passthrough_request.py b/src/merge/resources/accounting/types/data_passthrough_request.py index 67f3359e..df3af029 100644 --- a/src/merge/resources/accounting/types/data_passthrough_request.py +++ b/src/merge/resources/accounting/types/data_passthrough_request.py @@ -5,7 +5,7 @@ import pydantic from ....core.pydantic_utilities import IS_PYDANTIC_V2 from ....core.unchecked_base_model import UncheckedBaseModel -from .data_passthrough_request_method import DataPassthroughRequestMethod +from .method_enum import MethodEnum from .multipart_form_field_request import MultipartFormFieldRequest from .request_format_enum import RequestFormatEnum @@ -20,7 +20,7 @@ class DataPassthroughRequest(UncheckedBaseModel): Create a `DataPassthrough` to get team hierarchies from your Rippling integration. """ - method: DataPassthroughRequestMethod + method: MethodEnum path: str = pydantic.Field() """ The path of the request in the third party's platform. @@ -41,7 +41,7 @@ class DataPassthroughRequest(UncheckedBaseModel): Pass an array of `MultipartFormField` objects in here instead of using the `data` param if `request_format` is set to `MULTIPART`. """ - headers: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = pydantic.Field(default=None) + headers: typing.Optional[typing.Dict[str, typing.Any]] = pydantic.Field(default=None) """ The headers to use for the request (Merge will handle the account's authorization headers). `Content-Type` header is required for passthrough. Choose content type corresponding to expected format of receiving server. """ diff --git a/src/merge/resources/accounting/types/data_passthrough_request_method.py b/src/merge/resources/accounting/types/data_passthrough_request_method.py deleted file mode 100644 index 58874cbf..00000000 --- a/src/merge/resources/accounting/types/data_passthrough_request_method.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .method_enum import MethodEnum - -DataPassthroughRequestMethod = typing.Union[MethodEnum, str] diff --git a/src/merge/resources/accounting/types/employee.py b/src/merge/resources/accounting/types/employee.py index 145497c2..2f6e6d1c 100644 --- a/src/merge/resources/accounting/types/employee.py +++ b/src/merge/resources/accounting/types/employee.py @@ -82,7 +82,7 @@ class Employee(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/accounting/types/employee_status.py b/src/merge/resources/accounting/types/employee_status.py index 69151268..0d3180ad 100644 --- a/src/merge/resources/accounting/types/employee_status.py +++ b/src/merge/resources/accounting/types/employee_status.py @@ -2,6 +2,6 @@ import typing -from .status_895_enum import Status895Enum +from .status895enum import Status895Enum EmployeeStatus = typing.Union[Status895Enum, str] diff --git a/src/merge/resources/accounting/types/encoding_enum.py b/src/merge/resources/accounting/types/encoding_enum.py index 7454647e..ceb8c474 100644 --- a/src/merge/resources/accounting/types/encoding_enum.py +++ b/src/merge/resources/accounting/types/encoding_enum.py @@ -14,18 +14,18 @@ class EncodingEnum(str, enum.Enum): """ RAW = "RAW" - BASE_64 = "BASE64" - GZIP_BASE_64 = "GZIP_BASE64" + BASE64 = "BASE64" + GZIP_BASE64 = "GZIP_BASE64" def visit( self, raw: typing.Callable[[], T_Result], - base_64: typing.Callable[[], T_Result], - gzip_base_64: typing.Callable[[], T_Result], + base64: typing.Callable[[], T_Result], + gzip_base64: typing.Callable[[], T_Result], ) -> T_Result: if self is EncodingEnum.RAW: return raw() - if self is EncodingEnum.BASE_64: - return base_64() - if self is EncodingEnum.GZIP_BASE_64: - return gzip_base_64() + if self is EncodingEnum.BASE64: + return base64() + if self is EncodingEnum.GZIP_BASE64: + return gzip_base64() diff --git a/src/merge/resources/accounting/types/expense.py b/src/merge/resources/accounting/types/expense.py index a995193a..79aada28 100644 --- a/src/merge/resources/accounting/types/expense.py +++ b/src/merge/resources/accounting/types/expense.py @@ -430,7 +430,7 @@ class Expense(UncheckedBaseModel): The accounting period that the Expense was generated in. """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None remote_fields: typing.Optional[typing.List[RemoteField]] = None diff --git a/src/merge/resources/accounting/types/expense_line.py b/src/merge/resources/accounting/types/expense_line.py index 7ff6f26f..2f769562 100644 --- a/src/merge/resources/accounting/types/expense_line.py +++ b/src/merge/resources/accounting/types/expense_line.py @@ -8,12 +8,12 @@ from ....core.unchecked_base_model import UncheckedBaseModel from .expense_line_account import ExpenseLineAccount from .expense_line_contact import ExpenseLineContact -from .expense_line_currency import ExpenseLineCurrency from .expense_line_employee import ExpenseLineEmployee from .expense_line_item import ExpenseLineItem from .expense_line_project import ExpenseLineProject from .expense_line_tracking_categories_item import ExpenseLineTrackingCategoriesItem from .expense_line_tracking_category import ExpenseLineTrackingCategory +from .transaction_currency_enum import TransactionCurrencyEnum class ExpenseLine(UncheckedBaseModel): @@ -70,7 +70,7 @@ class ExpenseLine(UncheckedBaseModel): The employee this overall transaction relates to. """ - currency: typing.Optional[ExpenseLineCurrency] = pydantic.Field(default=None) + currency: typing.Optional[TransactionCurrencyEnum] = pydantic.Field(default=None) """ The expense line item's currency. diff --git a/src/merge/resources/accounting/types/expense_line_currency.py b/src/merge/resources/accounting/types/expense_line_currency.py deleted file mode 100644 index 82f51331..00000000 --- a/src/merge/resources/accounting/types/expense_line_currency.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .transaction_currency_enum import TransactionCurrencyEnum - -ExpenseLineCurrency = typing.Union[TransactionCurrencyEnum, str] diff --git a/src/merge/resources/accounting/types/expense_line_request.py b/src/merge/resources/accounting/types/expense_line_request.py index c9fbb2e0..77db4b9c 100644 --- a/src/merge/resources/accounting/types/expense_line_request.py +++ b/src/merge/resources/accounting/types/expense_line_request.py @@ -397,8 +397,8 @@ class ExpenseLineRequest(UncheckedBaseModel): The tax rate that applies to this line item. """ - integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + integration_params: typing.Optional[typing.Dict[str, typing.Any]] = None + linked_account_params: typing.Optional[typing.Dict[str, typing.Any]] = None remote_fields: typing.Optional[typing.List[RemoteFieldRequest]] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/accounting/types/expense_line_request_project.py b/src/merge/resources/accounting/types/expense_line_request_project.py index a4a23629..3b00a37e 100644 --- a/src/merge/resources/accounting/types/expense_line_request_project.py +++ b/src/merge/resources/accounting/types/expense_line_request_project.py @@ -2,6 +2,6 @@ import typing -from .contact import Contact +from .project import Project -ExpenseLineRequestProject = typing.Union[str, Contact] +ExpenseLineRequestProject = typing.Union[str, Project] diff --git a/src/merge/resources/accounting/types/expense_report.py b/src/merge/resources/accounting/types/expense_report.py deleted file mode 100644 index 9cd03e8d..00000000 --- a/src/merge/resources/accounting/types/expense_report.py +++ /dev/null @@ -1,423 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .expense_report_company import ExpenseReportCompany -from .expense_report_line import ExpenseReportLine -from .expense_report_status import ExpenseReportStatus -from .remote_data import RemoteData -from .remote_field import RemoteField -from .transaction_currency_enum import TransactionCurrencyEnum - - -class ExpenseReport(UncheckedBaseModel): - """ - # The ExpenseReport Object - ### Description - The `ExpenseReport` object represents a collection of expenses submitted for review and reimbursement. - It includes details about the submitter, status, amounts, and associated metadata. - - ### Usage Example - Fetch from the `GET ExpenseReport` endpoint to view details of expense reports and their line items. - """ - - id: typing.Optional[str] = None - remote_id: typing.Optional[str] = pydantic.Field(default=None) - """ - The third-party API ID of the matching object. - """ - - created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - The datetime that this object was created by Merge. - """ - - modified_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - The datetime that this object was modified by Merge. - """ - - report_date: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - The date of the expense report. - """ - - report_identifier: typing.Optional[str] = pydantic.Field(default=None) - """ - Human-readable expense report identifier. - """ - - employee: typing.Optional[str] = pydantic.Field(default=None) - """ - Identifier for the employee who submitted or is associated with the expense report - """ - - status: typing.Optional[ExpenseReportStatus] = pydantic.Field(default=None) - """ - Overall status of the expense report. One of DRAFT, SUBMITTED, APPROVED, REJECTED - - * `DRAFT` - DRAFT - * `SUBMITTED` - SUBMITTED - * `APPROVED` - APPROVED - * `REJECTED` - REJECTED - """ - - total_amount: typing.Optional[float] = pydantic.Field(default=None) - """ - Total amount of the expense report - """ - - lines: typing.Optional[typing.List[ExpenseReportLine]] = None - currency: typing.Optional[TransactionCurrencyEnum] = pydantic.Field(default=None) - """ - Currency code for the expense report - - * `XUA` - ADB Unit of Account - * `AFN` - Afghan Afghani - * `AFA` - Afghan Afghani (1927–2002) - * `ALL` - Albanian Lek - * `ALK` - Albanian Lek (1946–1965) - * `DZD` - Algerian Dinar - * `ADP` - Andorran Peseta - * `AOA` - Angolan Kwanza - * `AOK` - Angolan Kwanza (1977–1991) - * `AON` - Angolan New Kwanza (1990–2000) - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - * `ARA` - Argentine Austral - * `ARS` - Argentine Peso - * `ARM` - Argentine Peso (1881–1970) - * `ARP` - Argentine Peso (1983–1985) - * `ARL` - Argentine Peso Ley (1970–1983) - * `AMD` - Armenian Dram - * `AWG` - Aruban Florin - * `AUD` - Australian Dollar - * `ATS` - Austrian Schilling - * `AZN` - Azerbaijani Manat - * `AZM` - Azerbaijani Manat (1993–2006) - * `BSD` - Bahamian Dollar - * `BHD` - Bahraini Dinar - * `BDT` - Bangladeshi Taka - * `BBD` - Barbadian Dollar - * `BYN` - Belarusian Ruble - * `BYB` - Belarusian Ruble (1994–1999) - * `BYR` - Belarusian Ruble (2000–2016) - * `BEF` - Belgian Franc - * `BEC` - Belgian Franc (convertible) - * `BEL` - Belgian Franc (financial) - * `BZD` - Belize Dollar - * `BMD` - Bermudan Dollar - * `BTN` - Bhutanese Ngultrum - * `BOB` - Bolivian Boliviano - * `BOL` - Bolivian Boliviano (1863–1963) - * `BOV` - Bolivian Mvdol - * `BOP` - Bolivian Peso - * `BAM` - Bosnia-Herzegovina Convertible Mark - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - * `BWP` - Botswanan Pula - * `BRC` - Brazilian Cruzado (1986–1989) - * `BRZ` - Brazilian Cruzeiro (1942–1967) - * `BRE` - Brazilian Cruzeiro (1990–1993) - * `BRR` - Brazilian Cruzeiro (1993–1994) - * `BRN` - Brazilian New Cruzado (1989–1990) - * `BRB` - Brazilian New Cruzeiro (1967–1986) - * `BRL` - Brazilian Real - * `GBP` - British Pound - * `BND` - Brunei Dollar - * `BGL` - Bulgarian Hard Lev - * `BGN` - Bulgarian Lev - * `BGO` - Bulgarian Lev (1879–1952) - * `BGM` - Bulgarian Socialist Lev - * `BUK` - Burmese Kyat - * `BIF` - Burundian Franc - * `XPF` - CFP Franc - * `KHR` - Cambodian Riel - * `CAD` - Canadian Dollar - * `CVE` - Cape Verdean Escudo - * `KYD` - Cayman Islands Dollar - * `XAF` - Central African CFA Franc - * `CLE` - Chilean Escudo - * `CLP` - Chilean Peso - * `CLF` - Chilean Unit of Account (UF) - * `CNX` - Chinese People’s Bank Dollar - * `CNY` - Chinese Yuan - * `CNH` - Chinese Yuan (offshore) - * `COP` - Colombian Peso - * `COU` - Colombian Real Value Unit - * `KMF` - Comorian Franc - * `CDF` - Congolese Franc - * `CRC` - Costa Rican Colón - * `HRD` - Croatian Dinar - * `HRK` - Croatian Kuna - * `CUC` - Cuban Convertible Peso - * `CUP` - Cuban Peso - * `CYP` - Cypriot Pound - * `CZK` - Czech Koruna - * `CSK` - Czechoslovak Hard Koruna - * `DKK` - Danish Krone - * `DJF` - Djiboutian Franc - * `DOP` - Dominican Peso - * `NLG` - Dutch Guilder - * `XCD` - East Caribbean Dollar - * `DDM` - East German Mark - * `ECS` - Ecuadorian Sucre - * `ECV` - Ecuadorian Unit of Constant Value - * `EGP` - Egyptian Pound - * `GQE` - Equatorial Guinean Ekwele - * `ERN` - Eritrean Nakfa - * `EEK` - Estonian Kroon - * `ETB` - Ethiopian Birr - * `EUR` - Euro - * `XBA` - European Composite Unit - * `XEU` - European Currency Unit - * `XBB` - European Monetary Unit - * `XBC` - European Unit of Account (XBC) - * `XBD` - European Unit of Account (XBD) - * `FKP` - Falkland Islands Pound - * `FJD` - Fijian Dollar - * `FIM` - Finnish Markka - * `FRF` - French Franc - * `XFO` - French Gold Franc - * `XFU` - French UIC-Franc - * `GMD` - Gambian Dalasi - * `GEK` - Georgian Kupon Larit - * `GEL` - Georgian Lari - * `DEM` - German Mark - * `GHS` - Ghanaian Cedi - * `GHC` - Ghanaian Cedi (1979–2007) - * `GIP` - Gibraltar Pound - * `XAU` - Gold - * `GRD` - Greek Drachma - * `GTQ` - Guatemalan Quetzal - * `GWP` - Guinea-Bissau Peso - * `GNF` - Guinean Franc - * `GNS` - Guinean Syli - * `GYD` - Guyanaese Dollar - * `HTG` - Haitian Gourde - * `HNL` - Honduran Lempira - * `HKD` - Hong Kong Dollar - * `HUF` - Hungarian Forint - * `IMP` - IMP - * `ISK` - Icelandic Króna - * `ISJ` - Icelandic Króna (1918–1981) - * `INR` - Indian Rupee - * `IDR` - Indonesian Rupiah - * `IRR` - Iranian Rial - * `IQD` - Iraqi Dinar - * `IEP` - Irish Pound - * `ILS` - Israeli New Shekel - * `ILP` - Israeli Pound - * `ILR` - Israeli Shekel (1980–1985) - * `ITL` - Italian Lira - * `JMD` - Jamaican Dollar - * `JPY` - Japanese Yen - * `JOD` - Jordanian Dinar - * `KZT` - Kazakhstani Tenge - * `KES` - Kenyan Shilling - * `KWD` - Kuwaiti Dinar - * `KGS` - Kyrgystani Som - * `LAK` - Laotian Kip - * `LVL` - Latvian Lats - * `LVR` - Latvian Ruble - * `LBP` - Lebanese Pound - * `LSL` - Lesotho Loti - * `LRD` - Liberian Dollar - * `LYD` - Libyan Dinar - * `LTL` - Lithuanian Litas - * `LTT` - Lithuanian Talonas - * `LUL` - Luxembourg Financial Franc - * `LUC` - Luxembourgian Convertible Franc - * `LUF` - Luxembourgian Franc - * `MOP` - Macanese Pataca - * `MKD` - Macedonian Denar - * `MKN` - Macedonian Denar (1992–1993) - * `MGA` - Malagasy Ariary - * `MGF` - Malagasy Franc - * `MWK` - Malawian Kwacha - * `MYR` - Malaysian Ringgit - * `MVR` - Maldivian Rufiyaa - * `MVP` - Maldivian Rupee (1947–1981) - * `MLF` - Malian Franc - * `MTL` - Maltese Lira - * `MTP` - Maltese Pound - * `MRU` - Mauritanian Ouguiya - * `MRO` - Mauritanian Ouguiya (1973–2017) - * `MUR` - Mauritian Rupee - * `MXV` - Mexican Investment Unit - * `MXN` - Mexican Peso - * `MXP` - Mexican Silver Peso (1861–1992) - * `MDC` - Moldovan Cupon - * `MDL` - Moldovan Leu - * `MCF` - Monegasque Franc - * `MNT` - Mongolian Tugrik - * `MAD` - Moroccan Dirham - * `MAF` - Moroccan Franc - * `MZE` - Mozambican Escudo - * `MZN` - Mozambican Metical - * `MZM` - Mozambican Metical (1980–2006) - * `MMK` - Myanmar Kyat - * `NAD` - Namibian Dollar - * `NPR` - Nepalese Rupee - * `ANG` - Netherlands Antillean Guilder - * `TWD` - New Taiwan Dollar - * `NZD` - New Zealand Dollar - * `NIO` - Nicaraguan Córdoba - * `NIC` - Nicaraguan Córdoba (1988–1991) - * `NGN` - Nigerian Naira - * `KPW` - North Korean Won - * `NOK` - Norwegian Krone - * `OMR` - Omani Rial - * `PKR` - Pakistani Rupee - * `XPD` - Palladium - * `PAB` - Panamanian Balboa - * `PGK` - Papua New Guinean Kina - * `PYG` - Paraguayan Guarani - * `PEI` - Peruvian Inti - * `PEN` - Peruvian Sol - * `PES` - Peruvian Sol (1863–1965) - * `PHP` - Philippine Peso - * `XPT` - Platinum - * `PLN` - Polish Zloty - * `PLZ` - Polish Zloty (1950–1995) - * `PTE` - Portuguese Escudo - * `GWE` - Portuguese Guinea Escudo - * `QAR` - Qatari Rial - * `XRE` - RINET Funds - * `RHD` - Rhodesian Dollar - * `RON` - Romanian Leu - * `ROL` - Romanian Leu (1952–2006) - * `RUB` - Russian Ruble - * `RUR` - Russian Ruble (1991–1998) - * `RWF` - Rwandan Franc - * `SVC` - Salvadoran Colón - * `WST` - Samoan Tala - * `SAR` - Saudi Riyal - * `RSD` - Serbian Dinar - * `CSD` - Serbian Dinar (2002–2006) - * `SCR` - Seychellois Rupee - * `SLL` - Sierra Leonean Leone - * `XAG` - Silver - * `SGD` - Singapore Dollar - * `SKK` - Slovak Koruna - * `SIT` - Slovenian Tolar - * `SBD` - Solomon Islands Dollar - * `SOS` - Somali Shilling - * `ZAR` - South African Rand - * `ZAL` - South African Rand (financial) - * `KRH` - South Korean Hwan (1953–1962) - * `KRW` - South Korean Won - * `KRO` - South Korean Won (1945–1953) - * `SSP` - South Sudanese Pound - * `SUR` - Soviet Rouble - * `ESP` - Spanish Peseta - * `ESA` - Spanish Peseta (A account) - * `ESB` - Spanish Peseta (convertible account) - * `XDR` - Special Drawing Rights - * `LKR` - Sri Lankan Rupee - * `SHP` - St. Helena Pound - * `XSU` - Sucre - * `SDD` - Sudanese Dinar (1992–2007) - * `SDG` - Sudanese Pound - * `SDP` - Sudanese Pound (1957–1998) - * `SRD` - Surinamese Dollar - * `SRG` - Surinamese Guilder - * `SZL` - Swazi Lilangeni - * `SEK` - Swedish Krona - * `CHF` - Swiss Franc - * `SYP` - Syrian Pound - * `STN` - São Tomé & Príncipe Dobra - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - * `TVD` - TVD - * `TJR` - Tajikistani Ruble - * `TJS` - Tajikistani Somoni - * `TZS` - Tanzanian Shilling - * `XTS` - Testing Currency Code - * `THB` - Thai Baht - * `XXX` - The codes assigned for transactions where no currency is involved - * `TPE` - Timorese Escudo - * `TOP` - Tongan Paʻanga - * `TTD` - Trinidad & Tobago Dollar - * `TND` - Tunisian Dinar - * `TRY` - Turkish Lira - * `TRL` - Turkish Lira (1922–2005) - * `TMT` - Turkmenistani Manat - * `TMM` - Turkmenistani Manat (1993–2009) - * `USD` - US Dollar - * `USN` - US Dollar (Next day) - * `USS` - US Dollar (Same day) - * `UGX` - Ugandan Shilling - * `UGS` - Ugandan Shilling (1966–1987) - * `UAH` - Ukrainian Hryvnia - * `UAK` - Ukrainian Karbovanets - * `AED` - United Arab Emirates Dirham - * `UYW` - Uruguayan Nominal Wage Index Unit - * `UYU` - Uruguayan Peso - * `UYP` - Uruguayan Peso (1975–1993) - * `UYI` - Uruguayan Peso (Indexed Units) - * `UZS` - Uzbekistani Som - * `VUV` - Vanuatu Vatu - * `VES` - Venezuelan Bolívar - * `VEB` - Venezuelan Bolívar (1871–2008) - * `VEF` - Venezuelan Bolívar (2008–2018) - * `VND` - Vietnamese Dong - * `VNN` - Vietnamese Dong (1978–1985) - * `CHE` - WIR Euro - * `CHW` - WIR Franc - * `XOF` - West African CFA Franc - * `YDD` - Yemeni Dinar - * `YER` - Yemeni Rial - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - * `YUM` - Yugoslavian New Dinar (1994–2002) - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - * `ZWN` - ZWN - * `ZRN` - Zairean New Zaire (1993–1998) - * `ZRZ` - Zairean Zaire (1971–1993) - * `ZMW` - Zambian Kwacha - * `ZMK` - Zambian Kwacha (1968–2012) - * `ZWD` - Zimbabwean Dollar (1980–2008) - * `ZWR` - Zimbabwean Dollar (2008) - * `ZWL` - Zimbabwean Dollar (2009) - """ - - description: typing.Optional[str] = pydantic.Field(default=None) - """ - A brief description or purpose for the expense report - """ - - accounting_period: typing.Optional[str] = pydantic.Field(default=None) - """ - The accounting period the report was posted in - """ - - company: typing.Optional[ExpenseReportCompany] = pydantic.Field(default=None) - """ - The subsidiary that the expense report is created in - """ - - tracking_categories: typing.List[str] = pydantic.Field() - """ - The related tracking categories associated with the expense report - """ - - remote_was_deleted: typing.Optional[bool] = pydantic.Field(default=None) - """ - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - """ - - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - remote_data: typing.Optional[typing.List[RemoteData]] = None - remote_fields: typing.Optional[typing.List[RemoteField]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/accounting/types/expense_report_company.py b/src/merge/resources/accounting/types/expense_report_company.py deleted file mode 100644 index 25c0a252..00000000 --- a/src/merge/resources/accounting/types/expense_report_company.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .company_info import CompanyInfo - -ExpenseReportCompany = typing.Union[str, CompanyInfo] diff --git a/src/merge/resources/accounting/types/expense_report_line.py b/src/merge/resources/accounting/types/expense_report_line.py deleted file mode 100644 index a5b01dfc..00000000 --- a/src/merge/resources/accounting/types/expense_report_line.py +++ /dev/null @@ -1,441 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .expense_report_line_account import ExpenseReportLineAccount -from .expense_report_line_company import ExpenseReportLineCompany -from .expense_report_line_contact import ExpenseReportLineContact -from .expense_report_line_employee import ExpenseReportLineEmployee -from .expense_report_line_project import ExpenseReportLineProject -from .expense_report_line_tax_rate import ExpenseReportLineTaxRate -from .remote_field import RemoteField -from .transaction_currency_enum import TransactionCurrencyEnum - - -class ExpenseReportLine(UncheckedBaseModel): - """ - # The ExpenseReportLine Object - ### Description - The `ExpenseReportLine` object represents an individual line item within an expense report, containing details about - a specific expense such as amount, description, and associated metadata. - - ### Usage Example - Fetch from the `GET ExpenseReport` endpoint and expand the lines field to view all line items in the expense report. - """ - - id: typing.Optional[str] = None - remote_id: typing.Optional[str] = pydantic.Field(default=None) - """ - The third-party API ID of the matching object. - """ - - created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - The datetime that this object was created by Merge. - """ - - modified_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - The datetime that this object was modified by Merge. - """ - - account: typing.Optional[ExpenseReportLineAccount] = None - description: typing.Optional[str] = pydantic.Field(default=None) - """ - Description of the individual expense. - """ - - expense_date: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - The date the individual expense was incurred. - """ - - amount: typing.Optional[float] = pydantic.Field(default=None) - """ - The amount of the expense for the line item. - """ - - currency: typing.Optional[TransactionCurrencyEnum] = pydantic.Field(default=None) - """ - Currency of the expense line (if different from the report currency). - - * `XUA` - ADB Unit of Account - * `AFN` - Afghan Afghani - * `AFA` - Afghan Afghani (1927–2002) - * `ALL` - Albanian Lek - * `ALK` - Albanian Lek (1946–1965) - * `DZD` - Algerian Dinar - * `ADP` - Andorran Peseta - * `AOA` - Angolan Kwanza - * `AOK` - Angolan Kwanza (1977–1991) - * `AON` - Angolan New Kwanza (1990–2000) - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - * `ARA` - Argentine Austral - * `ARS` - Argentine Peso - * `ARM` - Argentine Peso (1881–1970) - * `ARP` - Argentine Peso (1983–1985) - * `ARL` - Argentine Peso Ley (1970–1983) - * `AMD` - Armenian Dram - * `AWG` - Aruban Florin - * `AUD` - Australian Dollar - * `ATS` - Austrian Schilling - * `AZN` - Azerbaijani Manat - * `AZM` - Azerbaijani Manat (1993–2006) - * `BSD` - Bahamian Dollar - * `BHD` - Bahraini Dinar - * `BDT` - Bangladeshi Taka - * `BBD` - Barbadian Dollar - * `BYN` - Belarusian Ruble - * `BYB` - Belarusian Ruble (1994–1999) - * `BYR` - Belarusian Ruble (2000–2016) - * `BEF` - Belgian Franc - * `BEC` - Belgian Franc (convertible) - * `BEL` - Belgian Franc (financial) - * `BZD` - Belize Dollar - * `BMD` - Bermudan Dollar - * `BTN` - Bhutanese Ngultrum - * `BOB` - Bolivian Boliviano - * `BOL` - Bolivian Boliviano (1863–1963) - * `BOV` - Bolivian Mvdol - * `BOP` - Bolivian Peso - * `BAM` - Bosnia-Herzegovina Convertible Mark - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - * `BWP` - Botswanan Pula - * `BRC` - Brazilian Cruzado (1986–1989) - * `BRZ` - Brazilian Cruzeiro (1942–1967) - * `BRE` - Brazilian Cruzeiro (1990–1993) - * `BRR` - Brazilian Cruzeiro (1993–1994) - * `BRN` - Brazilian New Cruzado (1989–1990) - * `BRB` - Brazilian New Cruzeiro (1967–1986) - * `BRL` - Brazilian Real - * `GBP` - British Pound - * `BND` - Brunei Dollar - * `BGL` - Bulgarian Hard Lev - * `BGN` - Bulgarian Lev - * `BGO` - Bulgarian Lev (1879–1952) - * `BGM` - Bulgarian Socialist Lev - * `BUK` - Burmese Kyat - * `BIF` - Burundian Franc - * `XPF` - CFP Franc - * `KHR` - Cambodian Riel - * `CAD` - Canadian Dollar - * `CVE` - Cape Verdean Escudo - * `KYD` - Cayman Islands Dollar - * `XAF` - Central African CFA Franc - * `CLE` - Chilean Escudo - * `CLP` - Chilean Peso - * `CLF` - Chilean Unit of Account (UF) - * `CNX` - Chinese People’s Bank Dollar - * `CNY` - Chinese Yuan - * `CNH` - Chinese Yuan (offshore) - * `COP` - Colombian Peso - * `COU` - Colombian Real Value Unit - * `KMF` - Comorian Franc - * `CDF` - Congolese Franc - * `CRC` - Costa Rican Colón - * `HRD` - Croatian Dinar - * `HRK` - Croatian Kuna - * `CUC` - Cuban Convertible Peso - * `CUP` - Cuban Peso - * `CYP` - Cypriot Pound - * `CZK` - Czech Koruna - * `CSK` - Czechoslovak Hard Koruna - * `DKK` - Danish Krone - * `DJF` - Djiboutian Franc - * `DOP` - Dominican Peso - * `NLG` - Dutch Guilder - * `XCD` - East Caribbean Dollar - * `DDM` - East German Mark - * `ECS` - Ecuadorian Sucre - * `ECV` - Ecuadorian Unit of Constant Value - * `EGP` - Egyptian Pound - * `GQE` - Equatorial Guinean Ekwele - * `ERN` - Eritrean Nakfa - * `EEK` - Estonian Kroon - * `ETB` - Ethiopian Birr - * `EUR` - Euro - * `XBA` - European Composite Unit - * `XEU` - European Currency Unit - * `XBB` - European Monetary Unit - * `XBC` - European Unit of Account (XBC) - * `XBD` - European Unit of Account (XBD) - * `FKP` - Falkland Islands Pound - * `FJD` - Fijian Dollar - * `FIM` - Finnish Markka - * `FRF` - French Franc - * `XFO` - French Gold Franc - * `XFU` - French UIC-Franc - * `GMD` - Gambian Dalasi - * `GEK` - Georgian Kupon Larit - * `GEL` - Georgian Lari - * `DEM` - German Mark - * `GHS` - Ghanaian Cedi - * `GHC` - Ghanaian Cedi (1979–2007) - * `GIP` - Gibraltar Pound - * `XAU` - Gold - * `GRD` - Greek Drachma - * `GTQ` - Guatemalan Quetzal - * `GWP` - Guinea-Bissau Peso - * `GNF` - Guinean Franc - * `GNS` - Guinean Syli - * `GYD` - Guyanaese Dollar - * `HTG` - Haitian Gourde - * `HNL` - Honduran Lempira - * `HKD` - Hong Kong Dollar - * `HUF` - Hungarian Forint - * `IMP` - IMP - * `ISK` - Icelandic Króna - * `ISJ` - Icelandic Króna (1918–1981) - * `INR` - Indian Rupee - * `IDR` - Indonesian Rupiah - * `IRR` - Iranian Rial - * `IQD` - Iraqi Dinar - * `IEP` - Irish Pound - * `ILS` - Israeli New Shekel - * `ILP` - Israeli Pound - * `ILR` - Israeli Shekel (1980–1985) - * `ITL` - Italian Lira - * `JMD` - Jamaican Dollar - * `JPY` - Japanese Yen - * `JOD` - Jordanian Dinar - * `KZT` - Kazakhstani Tenge - * `KES` - Kenyan Shilling - * `KWD` - Kuwaiti Dinar - * `KGS` - Kyrgystani Som - * `LAK` - Laotian Kip - * `LVL` - Latvian Lats - * `LVR` - Latvian Ruble - * `LBP` - Lebanese Pound - * `LSL` - Lesotho Loti - * `LRD` - Liberian Dollar - * `LYD` - Libyan Dinar - * `LTL` - Lithuanian Litas - * `LTT` - Lithuanian Talonas - * `LUL` - Luxembourg Financial Franc - * `LUC` - Luxembourgian Convertible Franc - * `LUF` - Luxembourgian Franc - * `MOP` - Macanese Pataca - * `MKD` - Macedonian Denar - * `MKN` - Macedonian Denar (1992–1993) - * `MGA` - Malagasy Ariary - * `MGF` - Malagasy Franc - * `MWK` - Malawian Kwacha - * `MYR` - Malaysian Ringgit - * `MVR` - Maldivian Rufiyaa - * `MVP` - Maldivian Rupee (1947–1981) - * `MLF` - Malian Franc - * `MTL` - Maltese Lira - * `MTP` - Maltese Pound - * `MRU` - Mauritanian Ouguiya - * `MRO` - Mauritanian Ouguiya (1973–2017) - * `MUR` - Mauritian Rupee - * `MXV` - Mexican Investment Unit - * `MXN` - Mexican Peso - * `MXP` - Mexican Silver Peso (1861–1992) - * `MDC` - Moldovan Cupon - * `MDL` - Moldovan Leu - * `MCF` - Monegasque Franc - * `MNT` - Mongolian Tugrik - * `MAD` - Moroccan Dirham - * `MAF` - Moroccan Franc - * `MZE` - Mozambican Escudo - * `MZN` - Mozambican Metical - * `MZM` - Mozambican Metical (1980–2006) - * `MMK` - Myanmar Kyat - * `NAD` - Namibian Dollar - * `NPR` - Nepalese Rupee - * `ANG` - Netherlands Antillean Guilder - * `TWD` - New Taiwan Dollar - * `NZD` - New Zealand Dollar - * `NIO` - Nicaraguan Córdoba - * `NIC` - Nicaraguan Córdoba (1988–1991) - * `NGN` - Nigerian Naira - * `KPW` - North Korean Won - * `NOK` - Norwegian Krone - * `OMR` - Omani Rial - * `PKR` - Pakistani Rupee - * `XPD` - Palladium - * `PAB` - Panamanian Balboa - * `PGK` - Papua New Guinean Kina - * `PYG` - Paraguayan Guarani - * `PEI` - Peruvian Inti - * `PEN` - Peruvian Sol - * `PES` - Peruvian Sol (1863–1965) - * `PHP` - Philippine Peso - * `XPT` - Platinum - * `PLN` - Polish Zloty - * `PLZ` - Polish Zloty (1950–1995) - * `PTE` - Portuguese Escudo - * `GWE` - Portuguese Guinea Escudo - * `QAR` - Qatari Rial - * `XRE` - RINET Funds - * `RHD` - Rhodesian Dollar - * `RON` - Romanian Leu - * `ROL` - Romanian Leu (1952–2006) - * `RUB` - Russian Ruble - * `RUR` - Russian Ruble (1991–1998) - * `RWF` - Rwandan Franc - * `SVC` - Salvadoran Colón - * `WST` - Samoan Tala - * `SAR` - Saudi Riyal - * `RSD` - Serbian Dinar - * `CSD` - Serbian Dinar (2002–2006) - * `SCR` - Seychellois Rupee - * `SLL` - Sierra Leonean Leone - * `XAG` - Silver - * `SGD` - Singapore Dollar - * `SKK` - Slovak Koruna - * `SIT` - Slovenian Tolar - * `SBD` - Solomon Islands Dollar - * `SOS` - Somali Shilling - * `ZAR` - South African Rand - * `ZAL` - South African Rand (financial) - * `KRH` - South Korean Hwan (1953–1962) - * `KRW` - South Korean Won - * `KRO` - South Korean Won (1945–1953) - * `SSP` - South Sudanese Pound - * `SUR` - Soviet Rouble - * `ESP` - Spanish Peseta - * `ESA` - Spanish Peseta (A account) - * `ESB` - Spanish Peseta (convertible account) - * `XDR` - Special Drawing Rights - * `LKR` - Sri Lankan Rupee - * `SHP` - St. Helena Pound - * `XSU` - Sucre - * `SDD` - Sudanese Dinar (1992–2007) - * `SDG` - Sudanese Pound - * `SDP` - Sudanese Pound (1957–1998) - * `SRD` - Surinamese Dollar - * `SRG` - Surinamese Guilder - * `SZL` - Swazi Lilangeni - * `SEK` - Swedish Krona - * `CHF` - Swiss Franc - * `SYP` - Syrian Pound - * `STN` - São Tomé & Príncipe Dobra - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - * `TVD` - TVD - * `TJR` - Tajikistani Ruble - * `TJS` - Tajikistani Somoni - * `TZS` - Tanzanian Shilling - * `XTS` - Testing Currency Code - * `THB` - Thai Baht - * `XXX` - The codes assigned for transactions where no currency is involved - * `TPE` - Timorese Escudo - * `TOP` - Tongan Paʻanga - * `TTD` - Trinidad & Tobago Dollar - * `TND` - Tunisian Dinar - * `TRY` - Turkish Lira - * `TRL` - Turkish Lira (1922–2005) - * `TMT` - Turkmenistani Manat - * `TMM` - Turkmenistani Manat (1993–2009) - * `USD` - US Dollar - * `USN` - US Dollar (Next day) - * `USS` - US Dollar (Same day) - * `UGX` - Ugandan Shilling - * `UGS` - Ugandan Shilling (1966–1987) - * `UAH` - Ukrainian Hryvnia - * `UAK` - Ukrainian Karbovanets - * `AED` - United Arab Emirates Dirham - * `UYW` - Uruguayan Nominal Wage Index Unit - * `UYU` - Uruguayan Peso - * `UYP` - Uruguayan Peso (1975–1993) - * `UYI` - Uruguayan Peso (Indexed Units) - * `UZS` - Uzbekistani Som - * `VUV` - Vanuatu Vatu - * `VES` - Venezuelan Bolívar - * `VEB` - Venezuelan Bolívar (1871–2008) - * `VEF` - Venezuelan Bolívar (2008–2018) - * `VND` - Vietnamese Dong - * `VNN` - Vietnamese Dong (1978–1985) - * `CHE` - WIR Euro - * `CHW` - WIR Franc - * `XOF` - West African CFA Franc - * `YDD` - Yemeni Dinar - * `YER` - Yemeni Rial - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - * `YUM` - Yugoslavian New Dinar (1994–2002) - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - * `ZWN` - ZWN - * `ZRN` - Zairean New Zaire (1993–1998) - * `ZRZ` - Zairean Zaire (1971–1993) - * `ZMW` - Zambian Kwacha - * `ZMK` - Zambian Kwacha (1968–2012) - * `ZWD` - Zimbabwean Dollar (1980–2008) - * `ZWR` - Zimbabwean Dollar (2008) - * `ZWL` - Zimbabwean Dollar (2009) - """ - - exchange_rate: typing.Optional[str] = pydantic.Field(default=None) - """ - Exchange rate used if the line item is in a foreign currency. - """ - - is_billable: typing.Optional[bool] = pydantic.Field(default=None) - """ - Whether the expense line is billable to a client or project. - """ - - tracking_categories: typing.List[str] = pydantic.Field() - """ - The related tracking categories associated with the expense report (Department, Location, Class, Expense Category) - """ - - employee: typing.Optional[ExpenseReportLineEmployee] = pydantic.Field(default=None) - """ - Identifier for the employee who submitted or is associated with the expense report - """ - - project: typing.Optional[ExpenseReportLineProject] = None - company: typing.Optional[ExpenseReportLineCompany] = pydantic.Field(default=None) - """ - The subsidiary that the expense report is created in - """ - - contact: typing.Optional[ExpenseReportLineContact] = None - quantity: typing.Optional[float] = pydantic.Field(default=None) - """ - Quantity for the expense line (e.g., miles driven, items purchased). - """ - - unit_price: typing.Optional[float] = pydantic.Field(default=None) - """ - Price per unit for the expense line (if applicable). - """ - - non_reimbursable: typing.Optional[bool] = pydantic.Field(default=None) - """ - Whether the expense line is non-reimbursable (e.g., paid via company card). - """ - - tax_amount: typing.Optional[float] = pydantic.Field(default=None) - """ - Tax amount applicable for the line item. - """ - - inclusive_of_tax: typing.Optional[bool] = pydantic.Field(default=None) - """ - Whether the amount is inclusive of tax. - """ - - tax_rate: typing.Optional[ExpenseReportLineTaxRate] = None - remote_was_deleted: typing.Optional[bool] = pydantic.Field(default=None) - """ - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - """ - - remote_fields: typing.Optional[typing.List[RemoteField]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/accounting/types/expense_report_line_account.py b/src/merge/resources/accounting/types/expense_report_line_account.py deleted file mode 100644 index 4494e2da..00000000 --- a/src/merge/resources/accounting/types/expense_report_line_account.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .account import Account - -ExpenseReportLineAccount = typing.Union[str, Account] diff --git a/src/merge/resources/accounting/types/expense_report_line_company.py b/src/merge/resources/accounting/types/expense_report_line_company.py deleted file mode 100644 index 8c43e25a..00000000 --- a/src/merge/resources/accounting/types/expense_report_line_company.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .company_info import CompanyInfo - -ExpenseReportLineCompany = typing.Union[str, CompanyInfo] diff --git a/src/merge/resources/accounting/types/expense_report_line_contact.py b/src/merge/resources/accounting/types/expense_report_line_contact.py deleted file mode 100644 index 83c30234..00000000 --- a/src/merge/resources/accounting/types/expense_report_line_contact.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .contact import Contact - -ExpenseReportLineContact = typing.Union[str, Contact] diff --git a/src/merge/resources/accounting/types/expense_report_line_employee.py b/src/merge/resources/accounting/types/expense_report_line_employee.py deleted file mode 100644 index 7765b49d..00000000 --- a/src/merge/resources/accounting/types/expense_report_line_employee.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .employee import Employee - -ExpenseReportLineEmployee = typing.Union[str, Employee] diff --git a/src/merge/resources/accounting/types/expense_report_line_project.py b/src/merge/resources/accounting/types/expense_report_line_project.py deleted file mode 100644 index 21c40fb1..00000000 --- a/src/merge/resources/accounting/types/expense_report_line_project.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .project import Project - -ExpenseReportLineProject = typing.Union[str, Project] diff --git a/src/merge/resources/accounting/types/expense_report_line_request.py b/src/merge/resources/accounting/types/expense_report_line_request.py deleted file mode 100644 index cc0cf8ad..00000000 --- a/src/merge/resources/accounting/types/expense_report_line_request.py +++ /dev/null @@ -1,427 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .expense_report_line_request_account import ExpenseReportLineRequestAccount -from .expense_report_line_request_company import ExpenseReportLineRequestCompany -from .expense_report_line_request_contact import ExpenseReportLineRequestContact -from .expense_report_line_request_employee import ExpenseReportLineRequestEmployee -from .expense_report_line_request_project import ExpenseReportLineRequestProject -from .expense_report_line_request_tax_rate import ExpenseReportLineRequestTaxRate -from .remote_field_request import RemoteFieldRequest -from .transaction_currency_enum import TransactionCurrencyEnum - - -class ExpenseReportLineRequest(UncheckedBaseModel): - """ - # The ExpenseReportLine Object - ### Description - The `ExpenseReportLine` object represents an individual line item within an expense report, containing details about - a specific expense such as amount, description, and associated metadata. - - ### Usage Example - Fetch from the `GET ExpenseReport` endpoint and expand the lines field to view all line items in the expense report. - """ - - remote_id: typing.Optional[str] = pydantic.Field(default=None) - """ - The third-party API ID of the matching object. - """ - - account: typing.Optional[ExpenseReportLineRequestAccount] = None - description: typing.Optional[str] = pydantic.Field(default=None) - """ - Description of the individual expense. - """ - - expense_date: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - The date the individual expense was incurred. - """ - - amount: typing.Optional[float] = pydantic.Field(default=None) - """ - The amount of the expense for the line item. - """ - - currency: typing.Optional[TransactionCurrencyEnum] = pydantic.Field(default=None) - """ - Currency of the expense line (if different from the report currency). - - * `XUA` - ADB Unit of Account - * `AFN` - Afghan Afghani - * `AFA` - Afghan Afghani (1927–2002) - * `ALL` - Albanian Lek - * `ALK` - Albanian Lek (1946–1965) - * `DZD` - Algerian Dinar - * `ADP` - Andorran Peseta - * `AOA` - Angolan Kwanza - * `AOK` - Angolan Kwanza (1977–1991) - * `AON` - Angolan New Kwanza (1990–2000) - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - * `ARA` - Argentine Austral - * `ARS` - Argentine Peso - * `ARM` - Argentine Peso (1881–1970) - * `ARP` - Argentine Peso (1983–1985) - * `ARL` - Argentine Peso Ley (1970–1983) - * `AMD` - Armenian Dram - * `AWG` - Aruban Florin - * `AUD` - Australian Dollar - * `ATS` - Austrian Schilling - * `AZN` - Azerbaijani Manat - * `AZM` - Azerbaijani Manat (1993–2006) - * `BSD` - Bahamian Dollar - * `BHD` - Bahraini Dinar - * `BDT` - Bangladeshi Taka - * `BBD` - Barbadian Dollar - * `BYN` - Belarusian Ruble - * `BYB` - Belarusian Ruble (1994–1999) - * `BYR` - Belarusian Ruble (2000–2016) - * `BEF` - Belgian Franc - * `BEC` - Belgian Franc (convertible) - * `BEL` - Belgian Franc (financial) - * `BZD` - Belize Dollar - * `BMD` - Bermudan Dollar - * `BTN` - Bhutanese Ngultrum - * `BOB` - Bolivian Boliviano - * `BOL` - Bolivian Boliviano (1863–1963) - * `BOV` - Bolivian Mvdol - * `BOP` - Bolivian Peso - * `BAM` - Bosnia-Herzegovina Convertible Mark - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - * `BWP` - Botswanan Pula - * `BRC` - Brazilian Cruzado (1986–1989) - * `BRZ` - Brazilian Cruzeiro (1942–1967) - * `BRE` - Brazilian Cruzeiro (1990–1993) - * `BRR` - Brazilian Cruzeiro (1993–1994) - * `BRN` - Brazilian New Cruzado (1989–1990) - * `BRB` - Brazilian New Cruzeiro (1967–1986) - * `BRL` - Brazilian Real - * `GBP` - British Pound - * `BND` - Brunei Dollar - * `BGL` - Bulgarian Hard Lev - * `BGN` - Bulgarian Lev - * `BGO` - Bulgarian Lev (1879–1952) - * `BGM` - Bulgarian Socialist Lev - * `BUK` - Burmese Kyat - * `BIF` - Burundian Franc - * `XPF` - CFP Franc - * `KHR` - Cambodian Riel - * `CAD` - Canadian Dollar - * `CVE` - Cape Verdean Escudo - * `KYD` - Cayman Islands Dollar - * `XAF` - Central African CFA Franc - * `CLE` - Chilean Escudo - * `CLP` - Chilean Peso - * `CLF` - Chilean Unit of Account (UF) - * `CNX` - Chinese People’s Bank Dollar - * `CNY` - Chinese Yuan - * `CNH` - Chinese Yuan (offshore) - * `COP` - Colombian Peso - * `COU` - Colombian Real Value Unit - * `KMF` - Comorian Franc - * `CDF` - Congolese Franc - * `CRC` - Costa Rican Colón - * `HRD` - Croatian Dinar - * `HRK` - Croatian Kuna - * `CUC` - Cuban Convertible Peso - * `CUP` - Cuban Peso - * `CYP` - Cypriot Pound - * `CZK` - Czech Koruna - * `CSK` - Czechoslovak Hard Koruna - * `DKK` - Danish Krone - * `DJF` - Djiboutian Franc - * `DOP` - Dominican Peso - * `NLG` - Dutch Guilder - * `XCD` - East Caribbean Dollar - * `DDM` - East German Mark - * `ECS` - Ecuadorian Sucre - * `ECV` - Ecuadorian Unit of Constant Value - * `EGP` - Egyptian Pound - * `GQE` - Equatorial Guinean Ekwele - * `ERN` - Eritrean Nakfa - * `EEK` - Estonian Kroon - * `ETB` - Ethiopian Birr - * `EUR` - Euro - * `XBA` - European Composite Unit - * `XEU` - European Currency Unit - * `XBB` - European Monetary Unit - * `XBC` - European Unit of Account (XBC) - * `XBD` - European Unit of Account (XBD) - * `FKP` - Falkland Islands Pound - * `FJD` - Fijian Dollar - * `FIM` - Finnish Markka - * `FRF` - French Franc - * `XFO` - French Gold Franc - * `XFU` - French UIC-Franc - * `GMD` - Gambian Dalasi - * `GEK` - Georgian Kupon Larit - * `GEL` - Georgian Lari - * `DEM` - German Mark - * `GHS` - Ghanaian Cedi - * `GHC` - Ghanaian Cedi (1979–2007) - * `GIP` - Gibraltar Pound - * `XAU` - Gold - * `GRD` - Greek Drachma - * `GTQ` - Guatemalan Quetzal - * `GWP` - Guinea-Bissau Peso - * `GNF` - Guinean Franc - * `GNS` - Guinean Syli - * `GYD` - Guyanaese Dollar - * `HTG` - Haitian Gourde - * `HNL` - Honduran Lempira - * `HKD` - Hong Kong Dollar - * `HUF` - Hungarian Forint - * `IMP` - IMP - * `ISK` - Icelandic Króna - * `ISJ` - Icelandic Króna (1918–1981) - * `INR` - Indian Rupee - * `IDR` - Indonesian Rupiah - * `IRR` - Iranian Rial - * `IQD` - Iraqi Dinar - * `IEP` - Irish Pound - * `ILS` - Israeli New Shekel - * `ILP` - Israeli Pound - * `ILR` - Israeli Shekel (1980–1985) - * `ITL` - Italian Lira - * `JMD` - Jamaican Dollar - * `JPY` - Japanese Yen - * `JOD` - Jordanian Dinar - * `KZT` - Kazakhstani Tenge - * `KES` - Kenyan Shilling - * `KWD` - Kuwaiti Dinar - * `KGS` - Kyrgystani Som - * `LAK` - Laotian Kip - * `LVL` - Latvian Lats - * `LVR` - Latvian Ruble - * `LBP` - Lebanese Pound - * `LSL` - Lesotho Loti - * `LRD` - Liberian Dollar - * `LYD` - Libyan Dinar - * `LTL` - Lithuanian Litas - * `LTT` - Lithuanian Talonas - * `LUL` - Luxembourg Financial Franc - * `LUC` - Luxembourgian Convertible Franc - * `LUF` - Luxembourgian Franc - * `MOP` - Macanese Pataca - * `MKD` - Macedonian Denar - * `MKN` - Macedonian Denar (1992–1993) - * `MGA` - Malagasy Ariary - * `MGF` - Malagasy Franc - * `MWK` - Malawian Kwacha - * `MYR` - Malaysian Ringgit - * `MVR` - Maldivian Rufiyaa - * `MVP` - Maldivian Rupee (1947–1981) - * `MLF` - Malian Franc - * `MTL` - Maltese Lira - * `MTP` - Maltese Pound - * `MRU` - Mauritanian Ouguiya - * `MRO` - Mauritanian Ouguiya (1973–2017) - * `MUR` - Mauritian Rupee - * `MXV` - Mexican Investment Unit - * `MXN` - Mexican Peso - * `MXP` - Mexican Silver Peso (1861–1992) - * `MDC` - Moldovan Cupon - * `MDL` - Moldovan Leu - * `MCF` - Monegasque Franc - * `MNT` - Mongolian Tugrik - * `MAD` - Moroccan Dirham - * `MAF` - Moroccan Franc - * `MZE` - Mozambican Escudo - * `MZN` - Mozambican Metical - * `MZM` - Mozambican Metical (1980–2006) - * `MMK` - Myanmar Kyat - * `NAD` - Namibian Dollar - * `NPR` - Nepalese Rupee - * `ANG` - Netherlands Antillean Guilder - * `TWD` - New Taiwan Dollar - * `NZD` - New Zealand Dollar - * `NIO` - Nicaraguan Córdoba - * `NIC` - Nicaraguan Córdoba (1988–1991) - * `NGN` - Nigerian Naira - * `KPW` - North Korean Won - * `NOK` - Norwegian Krone - * `OMR` - Omani Rial - * `PKR` - Pakistani Rupee - * `XPD` - Palladium - * `PAB` - Panamanian Balboa - * `PGK` - Papua New Guinean Kina - * `PYG` - Paraguayan Guarani - * `PEI` - Peruvian Inti - * `PEN` - Peruvian Sol - * `PES` - Peruvian Sol (1863–1965) - * `PHP` - Philippine Peso - * `XPT` - Platinum - * `PLN` - Polish Zloty - * `PLZ` - Polish Zloty (1950–1995) - * `PTE` - Portuguese Escudo - * `GWE` - Portuguese Guinea Escudo - * `QAR` - Qatari Rial - * `XRE` - RINET Funds - * `RHD` - Rhodesian Dollar - * `RON` - Romanian Leu - * `ROL` - Romanian Leu (1952–2006) - * `RUB` - Russian Ruble - * `RUR` - Russian Ruble (1991–1998) - * `RWF` - Rwandan Franc - * `SVC` - Salvadoran Colón - * `WST` - Samoan Tala - * `SAR` - Saudi Riyal - * `RSD` - Serbian Dinar - * `CSD` - Serbian Dinar (2002–2006) - * `SCR` - Seychellois Rupee - * `SLL` - Sierra Leonean Leone - * `XAG` - Silver - * `SGD` - Singapore Dollar - * `SKK` - Slovak Koruna - * `SIT` - Slovenian Tolar - * `SBD` - Solomon Islands Dollar - * `SOS` - Somali Shilling - * `ZAR` - South African Rand - * `ZAL` - South African Rand (financial) - * `KRH` - South Korean Hwan (1953–1962) - * `KRW` - South Korean Won - * `KRO` - South Korean Won (1945–1953) - * `SSP` - South Sudanese Pound - * `SUR` - Soviet Rouble - * `ESP` - Spanish Peseta - * `ESA` - Spanish Peseta (A account) - * `ESB` - Spanish Peseta (convertible account) - * `XDR` - Special Drawing Rights - * `LKR` - Sri Lankan Rupee - * `SHP` - St. Helena Pound - * `XSU` - Sucre - * `SDD` - Sudanese Dinar (1992–2007) - * `SDG` - Sudanese Pound - * `SDP` - Sudanese Pound (1957–1998) - * `SRD` - Surinamese Dollar - * `SRG` - Surinamese Guilder - * `SZL` - Swazi Lilangeni - * `SEK` - Swedish Krona - * `CHF` - Swiss Franc - * `SYP` - Syrian Pound - * `STN` - São Tomé & Príncipe Dobra - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - * `TVD` - TVD - * `TJR` - Tajikistani Ruble - * `TJS` - Tajikistani Somoni - * `TZS` - Tanzanian Shilling - * `XTS` - Testing Currency Code - * `THB` - Thai Baht - * `XXX` - The codes assigned for transactions where no currency is involved - * `TPE` - Timorese Escudo - * `TOP` - Tongan Paʻanga - * `TTD` - Trinidad & Tobago Dollar - * `TND` - Tunisian Dinar - * `TRY` - Turkish Lira - * `TRL` - Turkish Lira (1922–2005) - * `TMT` - Turkmenistani Manat - * `TMM` - Turkmenistani Manat (1993–2009) - * `USD` - US Dollar - * `USN` - US Dollar (Next day) - * `USS` - US Dollar (Same day) - * `UGX` - Ugandan Shilling - * `UGS` - Ugandan Shilling (1966–1987) - * `UAH` - Ukrainian Hryvnia - * `UAK` - Ukrainian Karbovanets - * `AED` - United Arab Emirates Dirham - * `UYW` - Uruguayan Nominal Wage Index Unit - * `UYU` - Uruguayan Peso - * `UYP` - Uruguayan Peso (1975–1993) - * `UYI` - Uruguayan Peso (Indexed Units) - * `UZS` - Uzbekistani Som - * `VUV` - Vanuatu Vatu - * `VES` - Venezuelan Bolívar - * `VEB` - Venezuelan Bolívar (1871–2008) - * `VEF` - Venezuelan Bolívar (2008–2018) - * `VND` - Vietnamese Dong - * `VNN` - Vietnamese Dong (1978–1985) - * `CHE` - WIR Euro - * `CHW` - WIR Franc - * `XOF` - West African CFA Franc - * `YDD` - Yemeni Dinar - * `YER` - Yemeni Rial - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - * `YUM` - Yugoslavian New Dinar (1994–2002) - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - * `ZWN` - ZWN - * `ZRN` - Zairean New Zaire (1993–1998) - * `ZRZ` - Zairean Zaire (1971–1993) - * `ZMW` - Zambian Kwacha - * `ZMK` - Zambian Kwacha (1968–2012) - * `ZWD` - Zimbabwean Dollar (1980–2008) - * `ZWR` - Zimbabwean Dollar (2008) - * `ZWL` - Zimbabwean Dollar (2009) - """ - - exchange_rate: typing.Optional[str] = pydantic.Field(default=None) - """ - Exchange rate used if the line item is in a foreign currency. - """ - - is_billable: typing.Optional[bool] = pydantic.Field(default=None) - """ - Whether the expense line is billable to a client or project. - """ - - tracking_categories: typing.List[str] = pydantic.Field() - """ - The related tracking categories associated with the expense report (Department, Location, Class, Expense Category) - """ - - employee: typing.Optional[ExpenseReportLineRequestEmployee] = pydantic.Field(default=None) - """ - Identifier for the employee who submitted or is associated with the expense report - """ - - project: typing.Optional[ExpenseReportLineRequestProject] = None - company: typing.Optional[ExpenseReportLineRequestCompany] = pydantic.Field(default=None) - """ - The subsidiary that the expense report is created in - """ - - contact: typing.Optional[ExpenseReportLineRequestContact] = None - quantity: typing.Optional[float] = pydantic.Field(default=None) - """ - Quantity for the expense line (e.g., miles driven, items purchased). - """ - - unit_price: typing.Optional[float] = pydantic.Field(default=None) - """ - Price per unit for the expense line (if applicable). - """ - - non_reimbursable: typing.Optional[bool] = pydantic.Field(default=None) - """ - Whether the expense line is non-reimbursable (e.g., paid via company card). - """ - - tax_amount: typing.Optional[float] = pydantic.Field(default=None) - """ - Tax amount applicable for the line item. - """ - - inclusive_of_tax: typing.Optional[bool] = pydantic.Field(default=None) - """ - Whether the amount is inclusive of tax. - """ - - tax_rate: typing.Optional[ExpenseReportLineRequestTaxRate] = None - integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - remote_fields: typing.Optional[typing.List[RemoteFieldRequest]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/accounting/types/expense_report_line_request_account.py b/src/merge/resources/accounting/types/expense_report_line_request_account.py deleted file mode 100644 index dc8d9687..00000000 --- a/src/merge/resources/accounting/types/expense_report_line_request_account.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .account import Account - -ExpenseReportLineRequestAccount = typing.Union[str, Account] diff --git a/src/merge/resources/accounting/types/expense_report_line_request_company.py b/src/merge/resources/accounting/types/expense_report_line_request_company.py deleted file mode 100644 index 3c611820..00000000 --- a/src/merge/resources/accounting/types/expense_report_line_request_company.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .company_info import CompanyInfo - -ExpenseReportLineRequestCompany = typing.Union[str, CompanyInfo] diff --git a/src/merge/resources/accounting/types/expense_report_line_request_contact.py b/src/merge/resources/accounting/types/expense_report_line_request_contact.py deleted file mode 100644 index f6ed150e..00000000 --- a/src/merge/resources/accounting/types/expense_report_line_request_contact.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .contact import Contact - -ExpenseReportLineRequestContact = typing.Union[str, Contact] diff --git a/src/merge/resources/accounting/types/expense_report_line_request_employee.py b/src/merge/resources/accounting/types/expense_report_line_request_employee.py deleted file mode 100644 index 22cc3988..00000000 --- a/src/merge/resources/accounting/types/expense_report_line_request_employee.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .employee import Employee - -ExpenseReportLineRequestEmployee = typing.Union[str, Employee] diff --git a/src/merge/resources/accounting/types/expense_report_line_request_project.py b/src/merge/resources/accounting/types/expense_report_line_request_project.py deleted file mode 100644 index 47636a9e..00000000 --- a/src/merge/resources/accounting/types/expense_report_line_request_project.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .project import Project - -ExpenseReportLineRequestProject = typing.Union[str, Project] diff --git a/src/merge/resources/accounting/types/expense_report_line_request_tax_rate.py b/src/merge/resources/accounting/types/expense_report_line_request_tax_rate.py deleted file mode 100644 index 3c045256..00000000 --- a/src/merge/resources/accounting/types/expense_report_line_request_tax_rate.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .tax_rate import TaxRate - -ExpenseReportLineRequestTaxRate = typing.Union[str, TaxRate] diff --git a/src/merge/resources/accounting/types/expense_report_line_tax_rate.py b/src/merge/resources/accounting/types/expense_report_line_tax_rate.py deleted file mode 100644 index aff1780e..00000000 --- a/src/merge/resources/accounting/types/expense_report_line_tax_rate.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .tax_rate import TaxRate - -ExpenseReportLineTaxRate = typing.Union[str, TaxRate] diff --git a/src/merge/resources/accounting/types/expense_report_request.py b/src/merge/resources/accounting/types/expense_report_request.py deleted file mode 100644 index 00243adf..00000000 --- a/src/merge/resources/accounting/types/expense_report_request.py +++ /dev/null @@ -1,401 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .expense_report_request_accounting_period import ExpenseReportRequestAccountingPeriod -from .expense_report_request_company import ExpenseReportRequestCompany -from .expense_report_request_employee import ExpenseReportRequestEmployee -from .expense_report_status_enum import ExpenseReportStatusEnum -from .remote_field_request import RemoteFieldRequest -from .transaction_currency_enum import TransactionCurrencyEnum - - -class ExpenseReportRequest(UncheckedBaseModel): - """ - # The ExpenseReport Object - ### Description - The `ExpenseReport` object represents a collection of expenses submitted for review and reimbursement. - It includes details about the submitter, status, amounts, and associated metadata. - - ### Usage Example - Fetch from the `GET ExpenseReport` endpoint to view details of expense reports and their line items. - """ - - report_date: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - The date of the expense report. - """ - - report_identifier: typing.Optional[str] = pydantic.Field(default=None) - """ - Human-readable expense report identifier. - """ - - employee: typing.Optional[ExpenseReportRequestEmployee] = pydantic.Field(default=None) - """ - Identifier for the employee who submitted or is associated with the expense report - """ - - status: typing.Optional[ExpenseReportStatusEnum] = pydantic.Field(default=None) - """ - Overall status of the expense report. One of DRAFT, SUBMITTED, APPROVED, REJECTED - - * `DRAFT` - DRAFT - * `SUBMITTED` - SUBMITTED - * `APPROVED` - APPROVED - * `REJECTED` - REJECTED - """ - - total_amount: typing.Optional[float] = pydantic.Field(default=None) - """ - Total amount of the expense report - """ - - currency: typing.Optional[TransactionCurrencyEnum] = pydantic.Field(default=None) - """ - Currency code for the expense report - - * `XUA` - ADB Unit of Account - * `AFN` - Afghan Afghani - * `AFA` - Afghan Afghani (1927–2002) - * `ALL` - Albanian Lek - * `ALK` - Albanian Lek (1946–1965) - * `DZD` - Algerian Dinar - * `ADP` - Andorran Peseta - * `AOA` - Angolan Kwanza - * `AOK` - Angolan Kwanza (1977–1991) - * `AON` - Angolan New Kwanza (1990–2000) - * `AOR` - Angolan Readjusted Kwanza (1995–1999) - * `ARA` - Argentine Austral - * `ARS` - Argentine Peso - * `ARM` - Argentine Peso (1881–1970) - * `ARP` - Argentine Peso (1983–1985) - * `ARL` - Argentine Peso Ley (1970–1983) - * `AMD` - Armenian Dram - * `AWG` - Aruban Florin - * `AUD` - Australian Dollar - * `ATS` - Austrian Schilling - * `AZN` - Azerbaijani Manat - * `AZM` - Azerbaijani Manat (1993–2006) - * `BSD` - Bahamian Dollar - * `BHD` - Bahraini Dinar - * `BDT` - Bangladeshi Taka - * `BBD` - Barbadian Dollar - * `BYN` - Belarusian Ruble - * `BYB` - Belarusian Ruble (1994–1999) - * `BYR` - Belarusian Ruble (2000–2016) - * `BEF` - Belgian Franc - * `BEC` - Belgian Franc (convertible) - * `BEL` - Belgian Franc (financial) - * `BZD` - Belize Dollar - * `BMD` - Bermudan Dollar - * `BTN` - Bhutanese Ngultrum - * `BOB` - Bolivian Boliviano - * `BOL` - Bolivian Boliviano (1863–1963) - * `BOV` - Bolivian Mvdol - * `BOP` - Bolivian Peso - * `BAM` - Bosnia-Herzegovina Convertible Mark - * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - * `BWP` - Botswanan Pula - * `BRC` - Brazilian Cruzado (1986–1989) - * `BRZ` - Brazilian Cruzeiro (1942–1967) - * `BRE` - Brazilian Cruzeiro (1990–1993) - * `BRR` - Brazilian Cruzeiro (1993–1994) - * `BRN` - Brazilian New Cruzado (1989–1990) - * `BRB` - Brazilian New Cruzeiro (1967–1986) - * `BRL` - Brazilian Real - * `GBP` - British Pound - * `BND` - Brunei Dollar - * `BGL` - Bulgarian Hard Lev - * `BGN` - Bulgarian Lev - * `BGO` - Bulgarian Lev (1879–1952) - * `BGM` - Bulgarian Socialist Lev - * `BUK` - Burmese Kyat - * `BIF` - Burundian Franc - * `XPF` - CFP Franc - * `KHR` - Cambodian Riel - * `CAD` - Canadian Dollar - * `CVE` - Cape Verdean Escudo - * `KYD` - Cayman Islands Dollar - * `XAF` - Central African CFA Franc - * `CLE` - Chilean Escudo - * `CLP` - Chilean Peso - * `CLF` - Chilean Unit of Account (UF) - * `CNX` - Chinese People’s Bank Dollar - * `CNY` - Chinese Yuan - * `CNH` - Chinese Yuan (offshore) - * `COP` - Colombian Peso - * `COU` - Colombian Real Value Unit - * `KMF` - Comorian Franc - * `CDF` - Congolese Franc - * `CRC` - Costa Rican Colón - * `HRD` - Croatian Dinar - * `HRK` - Croatian Kuna - * `CUC` - Cuban Convertible Peso - * `CUP` - Cuban Peso - * `CYP` - Cypriot Pound - * `CZK` - Czech Koruna - * `CSK` - Czechoslovak Hard Koruna - * `DKK` - Danish Krone - * `DJF` - Djiboutian Franc - * `DOP` - Dominican Peso - * `NLG` - Dutch Guilder - * `XCD` - East Caribbean Dollar - * `DDM` - East German Mark - * `ECS` - Ecuadorian Sucre - * `ECV` - Ecuadorian Unit of Constant Value - * `EGP` - Egyptian Pound - * `GQE` - Equatorial Guinean Ekwele - * `ERN` - Eritrean Nakfa - * `EEK` - Estonian Kroon - * `ETB` - Ethiopian Birr - * `EUR` - Euro - * `XBA` - European Composite Unit - * `XEU` - European Currency Unit - * `XBB` - European Monetary Unit - * `XBC` - European Unit of Account (XBC) - * `XBD` - European Unit of Account (XBD) - * `FKP` - Falkland Islands Pound - * `FJD` - Fijian Dollar - * `FIM` - Finnish Markka - * `FRF` - French Franc - * `XFO` - French Gold Franc - * `XFU` - French UIC-Franc - * `GMD` - Gambian Dalasi - * `GEK` - Georgian Kupon Larit - * `GEL` - Georgian Lari - * `DEM` - German Mark - * `GHS` - Ghanaian Cedi - * `GHC` - Ghanaian Cedi (1979–2007) - * `GIP` - Gibraltar Pound - * `XAU` - Gold - * `GRD` - Greek Drachma - * `GTQ` - Guatemalan Quetzal - * `GWP` - Guinea-Bissau Peso - * `GNF` - Guinean Franc - * `GNS` - Guinean Syli - * `GYD` - Guyanaese Dollar - * `HTG` - Haitian Gourde - * `HNL` - Honduran Lempira - * `HKD` - Hong Kong Dollar - * `HUF` - Hungarian Forint - * `IMP` - IMP - * `ISK` - Icelandic Króna - * `ISJ` - Icelandic Króna (1918–1981) - * `INR` - Indian Rupee - * `IDR` - Indonesian Rupiah - * `IRR` - Iranian Rial - * `IQD` - Iraqi Dinar - * `IEP` - Irish Pound - * `ILS` - Israeli New Shekel - * `ILP` - Israeli Pound - * `ILR` - Israeli Shekel (1980–1985) - * `ITL` - Italian Lira - * `JMD` - Jamaican Dollar - * `JPY` - Japanese Yen - * `JOD` - Jordanian Dinar - * `KZT` - Kazakhstani Tenge - * `KES` - Kenyan Shilling - * `KWD` - Kuwaiti Dinar - * `KGS` - Kyrgystani Som - * `LAK` - Laotian Kip - * `LVL` - Latvian Lats - * `LVR` - Latvian Ruble - * `LBP` - Lebanese Pound - * `LSL` - Lesotho Loti - * `LRD` - Liberian Dollar - * `LYD` - Libyan Dinar - * `LTL` - Lithuanian Litas - * `LTT` - Lithuanian Talonas - * `LUL` - Luxembourg Financial Franc - * `LUC` - Luxembourgian Convertible Franc - * `LUF` - Luxembourgian Franc - * `MOP` - Macanese Pataca - * `MKD` - Macedonian Denar - * `MKN` - Macedonian Denar (1992–1993) - * `MGA` - Malagasy Ariary - * `MGF` - Malagasy Franc - * `MWK` - Malawian Kwacha - * `MYR` - Malaysian Ringgit - * `MVR` - Maldivian Rufiyaa - * `MVP` - Maldivian Rupee (1947–1981) - * `MLF` - Malian Franc - * `MTL` - Maltese Lira - * `MTP` - Maltese Pound - * `MRU` - Mauritanian Ouguiya - * `MRO` - Mauritanian Ouguiya (1973–2017) - * `MUR` - Mauritian Rupee - * `MXV` - Mexican Investment Unit - * `MXN` - Mexican Peso - * `MXP` - Mexican Silver Peso (1861–1992) - * `MDC` - Moldovan Cupon - * `MDL` - Moldovan Leu - * `MCF` - Monegasque Franc - * `MNT` - Mongolian Tugrik - * `MAD` - Moroccan Dirham - * `MAF` - Moroccan Franc - * `MZE` - Mozambican Escudo - * `MZN` - Mozambican Metical - * `MZM` - Mozambican Metical (1980–2006) - * `MMK` - Myanmar Kyat - * `NAD` - Namibian Dollar - * `NPR` - Nepalese Rupee - * `ANG` - Netherlands Antillean Guilder - * `TWD` - New Taiwan Dollar - * `NZD` - New Zealand Dollar - * `NIO` - Nicaraguan Córdoba - * `NIC` - Nicaraguan Córdoba (1988–1991) - * `NGN` - Nigerian Naira - * `KPW` - North Korean Won - * `NOK` - Norwegian Krone - * `OMR` - Omani Rial - * `PKR` - Pakistani Rupee - * `XPD` - Palladium - * `PAB` - Panamanian Balboa - * `PGK` - Papua New Guinean Kina - * `PYG` - Paraguayan Guarani - * `PEI` - Peruvian Inti - * `PEN` - Peruvian Sol - * `PES` - Peruvian Sol (1863–1965) - * `PHP` - Philippine Peso - * `XPT` - Platinum - * `PLN` - Polish Zloty - * `PLZ` - Polish Zloty (1950–1995) - * `PTE` - Portuguese Escudo - * `GWE` - Portuguese Guinea Escudo - * `QAR` - Qatari Rial - * `XRE` - RINET Funds - * `RHD` - Rhodesian Dollar - * `RON` - Romanian Leu - * `ROL` - Romanian Leu (1952–2006) - * `RUB` - Russian Ruble - * `RUR` - Russian Ruble (1991–1998) - * `RWF` - Rwandan Franc - * `SVC` - Salvadoran Colón - * `WST` - Samoan Tala - * `SAR` - Saudi Riyal - * `RSD` - Serbian Dinar - * `CSD` - Serbian Dinar (2002–2006) - * `SCR` - Seychellois Rupee - * `SLL` - Sierra Leonean Leone - * `XAG` - Silver - * `SGD` - Singapore Dollar - * `SKK` - Slovak Koruna - * `SIT` - Slovenian Tolar - * `SBD` - Solomon Islands Dollar - * `SOS` - Somali Shilling - * `ZAR` - South African Rand - * `ZAL` - South African Rand (financial) - * `KRH` - South Korean Hwan (1953–1962) - * `KRW` - South Korean Won - * `KRO` - South Korean Won (1945–1953) - * `SSP` - South Sudanese Pound - * `SUR` - Soviet Rouble - * `ESP` - Spanish Peseta - * `ESA` - Spanish Peseta (A account) - * `ESB` - Spanish Peseta (convertible account) - * `XDR` - Special Drawing Rights - * `LKR` - Sri Lankan Rupee - * `SHP` - St. Helena Pound - * `XSU` - Sucre - * `SDD` - Sudanese Dinar (1992–2007) - * `SDG` - Sudanese Pound - * `SDP` - Sudanese Pound (1957–1998) - * `SRD` - Surinamese Dollar - * `SRG` - Surinamese Guilder - * `SZL` - Swazi Lilangeni - * `SEK` - Swedish Krona - * `CHF` - Swiss Franc - * `SYP` - Syrian Pound - * `STN` - São Tomé & Príncipe Dobra - * `STD` - São Tomé & Príncipe Dobra (1977–2017) - * `TVD` - TVD - * `TJR` - Tajikistani Ruble - * `TJS` - Tajikistani Somoni - * `TZS` - Tanzanian Shilling - * `XTS` - Testing Currency Code - * `THB` - Thai Baht - * `XXX` - The codes assigned for transactions where no currency is involved - * `TPE` - Timorese Escudo - * `TOP` - Tongan Paʻanga - * `TTD` - Trinidad & Tobago Dollar - * `TND` - Tunisian Dinar - * `TRY` - Turkish Lira - * `TRL` - Turkish Lira (1922–2005) - * `TMT` - Turkmenistani Manat - * `TMM` - Turkmenistani Manat (1993–2009) - * `USD` - US Dollar - * `USN` - US Dollar (Next day) - * `USS` - US Dollar (Same day) - * `UGX` - Ugandan Shilling - * `UGS` - Ugandan Shilling (1966–1987) - * `UAH` - Ukrainian Hryvnia - * `UAK` - Ukrainian Karbovanets - * `AED` - United Arab Emirates Dirham - * `UYW` - Uruguayan Nominal Wage Index Unit - * `UYU` - Uruguayan Peso - * `UYP` - Uruguayan Peso (1975–1993) - * `UYI` - Uruguayan Peso (Indexed Units) - * `UZS` - Uzbekistani Som - * `VUV` - Vanuatu Vatu - * `VES` - Venezuelan Bolívar - * `VEB` - Venezuelan Bolívar (1871–2008) - * `VEF` - Venezuelan Bolívar (2008–2018) - * `VND` - Vietnamese Dong - * `VNN` - Vietnamese Dong (1978–1985) - * `CHE` - WIR Euro - * `CHW` - WIR Franc - * `XOF` - West African CFA Franc - * `YDD` - Yemeni Dinar - * `YER` - Yemeni Rial - * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - * `YUD` - Yugoslavian Hard Dinar (1966–1990) - * `YUM` - Yugoslavian New Dinar (1994–2002) - * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - * `ZWN` - ZWN - * `ZRN` - Zairean New Zaire (1993–1998) - * `ZRZ` - Zairean Zaire (1971–1993) - * `ZMW` - Zambian Kwacha - * `ZMK` - Zambian Kwacha (1968–2012) - * `ZWD` - Zimbabwean Dollar (1980–2008) - * `ZWR` - Zimbabwean Dollar (2008) - * `ZWL` - Zimbabwean Dollar (2009) - """ - - description: typing.Optional[str] = pydantic.Field(default=None) - """ - A brief description or purpose for the expense report - """ - - accounting_period: typing.Optional[ExpenseReportRequestAccountingPeriod] = pydantic.Field(default=None) - """ - The accounting period the report was posted in - """ - - company: typing.Optional[ExpenseReportRequestCompany] = pydantic.Field(default=None) - """ - The subsidiary that the expense report is created in - """ - - tracking_categories: typing.List[str] = pydantic.Field() - """ - The related tracking categories associated with the expense report - """ - - integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - remote_fields: typing.Optional[typing.List[RemoteFieldRequest]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/accounting/types/expense_report_request_accounting_period.py b/src/merge/resources/accounting/types/expense_report_request_accounting_period.py deleted file mode 100644 index b789b0cc..00000000 --- a/src/merge/resources/accounting/types/expense_report_request_accounting_period.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .accounting_period import AccountingPeriod - -ExpenseReportRequestAccountingPeriod = typing.Union[str, AccountingPeriod] diff --git a/src/merge/resources/accounting/types/expense_report_request_company.py b/src/merge/resources/accounting/types/expense_report_request_company.py deleted file mode 100644 index d2062a72..00000000 --- a/src/merge/resources/accounting/types/expense_report_request_company.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .company_info import CompanyInfo - -ExpenseReportRequestCompany = typing.Union[str, CompanyInfo] diff --git a/src/merge/resources/accounting/types/expense_report_request_employee.py b/src/merge/resources/accounting/types/expense_report_request_employee.py deleted file mode 100644 index 7139be1a..00000000 --- a/src/merge/resources/accounting/types/expense_report_request_employee.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .employee import Employee - -ExpenseReportRequestEmployee = typing.Union[str, Employee] diff --git a/src/merge/resources/accounting/types/expense_report_response.py b/src/merge/resources/accounting/types/expense_report_response.py deleted file mode 100644 index 9d0523de..00000000 --- a/src/merge/resources/accounting/types/expense_report_response.py +++ /dev/null @@ -1,27 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .debug_mode_log import DebugModeLog -from .error_validation_problem import ErrorValidationProblem -from .expense_report import ExpenseReport -from .warning_validation_problem import WarningValidationProblem - - -class ExpenseReportResponse(UncheckedBaseModel): - model: ExpenseReport - warnings: typing.List[WarningValidationProblem] - errors: typing.List[ErrorValidationProblem] - logs: typing.Optional[typing.List[DebugModeLog]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/accounting/types/expense_report_status.py b/src/merge/resources/accounting/types/expense_report_status.py deleted file mode 100644 index 5a590228..00000000 --- a/src/merge/resources/accounting/types/expense_report_status.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .expense_report_status_enum import ExpenseReportStatusEnum - -ExpenseReportStatus = typing.Union[ExpenseReportStatusEnum, str] diff --git a/src/merge/resources/accounting/types/expense_report_status_enum.py b/src/merge/resources/accounting/types/expense_report_status_enum.py deleted file mode 100644 index 79e72fd5..00000000 --- a/src/merge/resources/accounting/types/expense_report_status_enum.py +++ /dev/null @@ -1,36 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class ExpenseReportStatusEnum(str, enum.Enum): - """ - * `DRAFT` - DRAFT - * `SUBMITTED` - SUBMITTED - * `APPROVED` - APPROVED - * `REJECTED` - REJECTED - """ - - DRAFT = "DRAFT" - SUBMITTED = "SUBMITTED" - APPROVED = "APPROVED" - REJECTED = "REJECTED" - - def visit( - self, - draft: typing.Callable[[], T_Result], - submitted: typing.Callable[[], T_Result], - approved: typing.Callable[[], T_Result], - rejected: typing.Callable[[], T_Result], - ) -> T_Result: - if self is ExpenseReportStatusEnum.DRAFT: - return draft() - if self is ExpenseReportStatusEnum.SUBMITTED: - return submitted() - if self is ExpenseReportStatusEnum.APPROVED: - return approved() - if self is ExpenseReportStatusEnum.REJECTED: - return rejected() diff --git a/src/merge/resources/accounting/types/expense_request.py b/src/merge/resources/accounting/types/expense_request.py index b7385ad5..303e9bf6 100644 --- a/src/merge/resources/accounting/types/expense_request.py +++ b/src/merge/resources/accounting/types/expense_request.py @@ -11,10 +11,10 @@ from .expense_request_accounting_period import ExpenseRequestAccountingPeriod from .expense_request_company import ExpenseRequestCompany from .expense_request_contact import ExpenseRequestContact -from .expense_request_currency import ExpenseRequestCurrency from .expense_request_employee import ExpenseRequestEmployee from .expense_request_tracking_categories_item import ExpenseRequestTrackingCategoriesItem from .remote_field_request import RemoteFieldRequest +from .transaction_currency_enum import TransactionCurrencyEnum class ExpenseRequest(UncheckedBaseModel): @@ -59,7 +59,7 @@ class ExpenseRequest(UncheckedBaseModel): The expense's total tax amount. """ - currency: typing.Optional[ExpenseRequestCurrency] = pydantic.Field(default=None) + currency: typing.Optional[TransactionCurrencyEnum] = pydantic.Field(default=None) """ The expense's currency. @@ -403,8 +403,8 @@ class ExpenseRequest(UncheckedBaseModel): The accounting period that the Expense was generated in. """ - integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + integration_params: typing.Optional[typing.Dict[str, typing.Any]] = None + linked_account_params: typing.Optional[typing.Dict[str, typing.Any]] = None remote_fields: typing.Optional[typing.List[RemoteFieldRequest]] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/accounting/types/expense_request_currency.py b/src/merge/resources/accounting/types/expense_request_currency.py deleted file mode 100644 index af5c01f3..00000000 --- a/src/merge/resources/accounting/types/expense_request_currency.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .transaction_currency_enum import TransactionCurrencyEnum - -ExpenseRequestCurrency = typing.Union[TransactionCurrencyEnum, str] diff --git a/src/merge/resources/accounting/types/external_target_field_api_response.py b/src/merge/resources/accounting/types/external_target_field_api_response.py index 6e7dbf94..a053d2d2 100644 --- a/src/merge/resources/accounting/types/external_target_field_api_response.py +++ b/src/merge/resources/accounting/types/external_target_field_api_response.py @@ -31,9 +31,6 @@ class ExternalTargetFieldApiResponse(UncheckedBaseModel): purchase_order: typing.Optional[typing.List[ExternalTargetFieldApi]] = pydantic.Field( alias="PurchaseOrder", default=None ) - expense_report: typing.Optional[typing.List[ExternalTargetFieldApi]] = pydantic.Field( - alias="ExpenseReport", default=None - ) tracking_category: typing.Optional[typing.List[ExternalTargetFieldApi]] = pydantic.Field( alias="TrackingCategory", default=None ) diff --git a/src/merge/resources/accounting/types/field_mapping_api_instance_remote_field.py b/src/merge/resources/accounting/types/field_mapping_api_instance_remote_field.py index 578a2b10..f3d5a8cb 100644 --- a/src/merge/resources/accounting/types/field_mapping_api_instance_remote_field.py +++ b/src/merge/resources/accounting/types/field_mapping_api_instance_remote_field.py @@ -12,9 +12,7 @@ class FieldMappingApiInstanceRemoteField(UncheckedBaseModel): remote_key_name: typing.Optional[str] = None - schema_: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = pydantic.Field( - alias="schema", default=None - ) + schema_: typing.Optional[typing.Dict[str, typing.Any]] = pydantic.Field(alias="schema", default=None) remote_endpoint_info: FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo if IS_PYDANTIC_V2: diff --git a/src/merge/resources/accounting/types/field_mapping_api_instance_response.py b/src/merge/resources/accounting/types/field_mapping_api_instance_response.py index dceac32c..e03dc1bf 100644 --- a/src/merge/resources/accounting/types/field_mapping_api_instance_response.py +++ b/src/merge/resources/accounting/types/field_mapping_api_instance_response.py @@ -33,9 +33,6 @@ class FieldMappingApiInstanceResponse(UncheckedBaseModel): purchase_order: typing.Optional[typing.List[FieldMappingApiInstance]] = pydantic.Field( alias="PurchaseOrder", default=None ) - expense_report: typing.Optional[typing.List[FieldMappingApiInstance]] = pydantic.Field( - alias="ExpenseReport", default=None - ) tracking_category: typing.Optional[typing.List[FieldMappingApiInstance]] = pydantic.Field( alias="TrackingCategory", default=None ) diff --git a/src/merge/resources/accounting/types/field_permission_deserializer.py b/src/merge/resources/accounting/types/field_permission_deserializer.py index 1d71ae04..407ed547 100644 --- a/src/merge/resources/accounting/types/field_permission_deserializer.py +++ b/src/merge/resources/accounting/types/field_permission_deserializer.py @@ -8,8 +8,8 @@ class FieldPermissionDeserializer(UncheckedBaseModel): - enabled_fields: typing.Optional[typing.List[typing.Optional[typing.Any]]] = None - disabled_fields: typing.Optional[typing.List[typing.Optional[typing.Any]]] = None + enabled_fields: typing.Optional[typing.List[typing.Any]] = None + disabled_fields: typing.Optional[typing.List[typing.Any]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/accounting/types/field_permission_deserializer_request.py b/src/merge/resources/accounting/types/field_permission_deserializer_request.py index a4113b46..6680c7d2 100644 --- a/src/merge/resources/accounting/types/field_permission_deserializer_request.py +++ b/src/merge/resources/accounting/types/field_permission_deserializer_request.py @@ -8,8 +8,8 @@ class FieldPermissionDeserializerRequest(UncheckedBaseModel): - enabled_fields: typing.Optional[typing.List[typing.Optional[typing.Any]]] = None - disabled_fields: typing.Optional[typing.List[typing.Optional[typing.Any]]] = None + enabled_fields: typing.Optional[typing.List[typing.Any]] = None + disabled_fields: typing.Optional[typing.List[typing.Any]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/accounting/types/general_ledger_transaction.py b/src/merge/resources/accounting/types/general_ledger_transaction.py index b2c874fb..81c2c5b8 100644 --- a/src/merge/resources/accounting/types/general_ledger_transaction.py +++ b/src/merge/resources/accounting/types/general_ledger_transaction.py @@ -106,7 +106,7 @@ class GeneralLedgerTransaction(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/accounting/types/general_ledger_transaction_line.py b/src/merge/resources/accounting/types/general_ledger_transaction_line.py index 41f26593..5b1cfd2d 100644 --- a/src/merge/resources/accounting/types/general_ledger_transaction_line.py +++ b/src/merge/resources/accounting/types/general_ledger_transaction_line.py @@ -7,7 +7,6 @@ from ....core.pydantic_utilities import IS_PYDANTIC_V2 from ....core.unchecked_base_model import UncheckedBaseModel from .general_ledger_transaction_line_account import GeneralLedgerTransactionLineAccount -from .general_ledger_transaction_line_base_currency import GeneralLedgerTransactionLineBaseCurrency from .general_ledger_transaction_line_company import GeneralLedgerTransactionLineCompany from .general_ledger_transaction_line_contact import GeneralLedgerTransactionLineContact from .general_ledger_transaction_line_employee import GeneralLedgerTransactionLineEmployee @@ -15,6 +14,7 @@ from .general_ledger_transaction_line_project import GeneralLedgerTransactionLineProject from .general_ledger_transaction_line_tracking_categories_item import GeneralLedgerTransactionLineTrackingCategoriesItem from .general_ledger_transaction_line_transaction_currency import GeneralLedgerTransactionLineTransactionCurrency +from .transaction_currency_enum import TransactionCurrencyEnum class GeneralLedgerTransactionLine(UncheckedBaseModel): @@ -52,7 +52,7 @@ class GeneralLedgerTransactionLine(UncheckedBaseModel): employee: typing.Optional[GeneralLedgerTransactionLineEmployee] = None contact: typing.Optional[GeneralLedgerTransactionLineContact] = None project: typing.Optional[GeneralLedgerTransactionLineProject] = None - base_currency: typing.Optional[GeneralLedgerTransactionLineBaseCurrency] = pydantic.Field(default=None) + base_currency: typing.Optional[TransactionCurrencyEnum] = pydantic.Field(default=None) """ The base currency of the transaction @@ -699,7 +699,7 @@ class GeneralLedgerTransactionLine(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/accounting/types/general_ledger_transaction_line_base_currency.py b/src/merge/resources/accounting/types/general_ledger_transaction_line_base_currency.py deleted file mode 100644 index 7f4a549f..00000000 --- a/src/merge/resources/accounting/types/general_ledger_transaction_line_base_currency.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .transaction_currency_enum import TransactionCurrencyEnum - -GeneralLedgerTransactionLineBaseCurrency = typing.Union[TransactionCurrencyEnum, str] diff --git a/src/merge/resources/accounting/types/income_statement.py b/src/merge/resources/accounting/types/income_statement.py index 39feb450..4852b7b8 100644 --- a/src/merge/resources/accounting/types/income_statement.py +++ b/src/merge/resources/accounting/types/income_statement.py @@ -394,7 +394,7 @@ class IncomeStatement(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/accounting/types/invoice.py b/src/merge/resources/accounting/types/invoice.py index 628e1b78..bca7bb18 100644 --- a/src/merge/resources/accounting/types/invoice.py +++ b/src/merge/resources/accounting/types/invoice.py @@ -20,7 +20,7 @@ from .invoice_purchase_orders_item import InvoicePurchaseOrdersItem from .invoice_status import InvoiceStatus from .invoice_tracking_categories_item import InvoiceTrackingCategoriesItem -from .invoice_type import InvoiceType +from .invoice_type_enum import InvoiceTypeEnum from .remote_data import RemoteData from .remote_field import RemoteField @@ -54,7 +54,7 @@ class Invoice(UncheckedBaseModel): The datetime that this object was modified by Merge. """ - type: typing.Optional[InvoiceType] = pydantic.Field(default=None) + type: typing.Optional[InvoiceTypeEnum] = pydantic.Field(default=None) """ Whether the invoice is an accounts receivable or accounts payable. If `type` is `ACCOUNTS_PAYABLE`, the invoice is a bill. If `type` is `ACCOUNTS_RECEIVABLE`, it is an invoice. @@ -508,7 +508,7 @@ class Invoice(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None remote_fields: typing.Optional[typing.List[RemoteField]] = None @@ -522,13 +522,13 @@ class Config: extra = pydantic.Extra.allow -from .credit_note import CreditNote # noqa: E402, F401, I001 -from .credit_note_apply_line_for_credit_note import CreditNoteApplyLineForCreditNote # noqa: E402, F401, I001 -from .credit_note_apply_line_for_invoice import CreditNoteApplyLineForInvoice # noqa: E402, F401, I001 -from .vendor_credit import VendorCredit # noqa: E402, F401, I001 -from .vendor_credit_apply_line_for_invoice import VendorCreditApplyLineForInvoice # noqa: E402, F401, I001 -from .vendor_credit_apply_line_for_vendor_credit import VendorCreditApplyLineForVendorCredit # noqa: E402, F401, I001 -from .invoice_applied_credit_notes_item import InvoiceAppliedCreditNotesItem # noqa: E402, F401, I001 -from .invoice_applied_vendor_credits_item import InvoiceAppliedVendorCreditsItem # noqa: E402, F401, I001 +from .credit_note_apply_line_for_invoice import CreditNoteApplyLineForInvoice # noqa: E402, I001 +from .vendor_credit_apply_line_for_invoice import VendorCreditApplyLineForInvoice # noqa: E402, I001 +from .invoice_applied_credit_notes_item import InvoiceAppliedCreditNotesItem # noqa: E402, I001 +from .invoice_applied_vendor_credits_item import InvoiceAppliedVendorCreditsItem # noqa: E402, I001 -update_forward_refs(Invoice) +update_forward_refs( + Invoice, + VendorCreditApplyLineForInvoice=VendorCreditApplyLineForInvoice, + CreditNoteApplyLineForInvoice=CreditNoteApplyLineForInvoice, +) diff --git a/src/merge/resources/accounting/types/invoice_line_item.py b/src/merge/resources/accounting/types/invoice_line_item.py index 2ef8d245..a9154e09 100644 --- a/src/merge/resources/accounting/types/invoice_line_item.py +++ b/src/merge/resources/accounting/types/invoice_line_item.py @@ -416,7 +416,7 @@ class InvoiceLineItem(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_fields: typing.Optional[typing.List[RemoteField]] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/accounting/types/invoice_line_item_request.py b/src/merge/resources/accounting/types/invoice_line_item_request.py index aeea1507..83d9e9a7 100644 --- a/src/merge/resources/accounting/types/invoice_line_item_request.py +++ b/src/merge/resources/accounting/types/invoice_line_item_request.py @@ -399,8 +399,8 @@ class InvoiceLineItemRequest(UncheckedBaseModel): The company the invoice belongs to. """ - integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + integration_params: typing.Optional[typing.Dict[str, typing.Any]] = None + linked_account_params: typing.Optional[typing.Dict[str, typing.Any]] = None remote_fields: typing.Optional[typing.List[RemoteFieldRequest]] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/accounting/types/invoice_request.py b/src/merge/resources/accounting/types/invoice_request.py index 5bfa2e9f..d7e4e3e0 100644 --- a/src/merge/resources/accounting/types/invoice_request.py +++ b/src/merge/resources/accounting/types/invoice_request.py @@ -453,8 +453,8 @@ class InvoiceRequest(UncheckedBaseModel): tracking_categories: typing.Optional[typing.List[typing.Optional[InvoiceRequestTrackingCategoriesItem]]] = None line_items: typing.Optional[typing.List[InvoiceLineItemRequest]] = None purchase_orders: typing.Optional[typing.List[typing.Optional[InvoiceRequestPurchaseOrdersItem]]] = None - integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + integration_params: typing.Optional[typing.Dict[str, typing.Any]] = None + linked_account_params: typing.Optional[typing.Dict[str, typing.Any]] = None remote_fields: typing.Optional[typing.List[RemoteFieldRequest]] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/accounting/types/invoice_response.py b/src/merge/resources/accounting/types/invoice_response.py index ee6e266e..62ceba9d 100644 --- a/src/merge/resources/accounting/types/invoice_response.py +++ b/src/merge/resources/accounting/types/invoice_response.py @@ -28,12 +28,6 @@ class Config: extra = pydantic.Extra.allow -from .credit_note import CreditNote # noqa: E402, F401, I001 -from .credit_note_apply_line_for_credit_note import CreditNoteApplyLineForCreditNote # noqa: E402, F401, I001 -from .credit_note_apply_line_for_invoice import CreditNoteApplyLineForInvoice # noqa: E402, F401, I001 -from .invoice import Invoice # noqa: E402, F401, I001 -from .vendor_credit import VendorCredit # noqa: E402, F401, I001 -from .vendor_credit_apply_line_for_invoice import VendorCreditApplyLineForInvoice # noqa: E402, F401, I001 -from .vendor_credit_apply_line_for_vendor_credit import VendorCreditApplyLineForVendorCredit # noqa: E402, F401, I001 +from .invoice import Invoice # noqa: E402, I001 update_forward_refs(InvoiceResponse) diff --git a/src/merge/resources/accounting/types/invoice_type.py b/src/merge/resources/accounting/types/invoice_type.py deleted file mode 100644 index 701f7ece..00000000 --- a/src/merge/resources/accounting/types/invoice_type.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .invoice_type_enum import InvoiceTypeEnum - -InvoiceType = typing.Union[InvoiceTypeEnum, str] diff --git a/src/merge/resources/accounting/types/issue.py b/src/merge/resources/accounting/types/issue.py index df31be95..5d37505d 100644 --- a/src/merge/resources/accounting/types/issue.py +++ b/src/merge/resources/accounting/types/issue.py @@ -20,7 +20,7 @@ class Issue(UncheckedBaseModel): """ error_description: str - end_user: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + end_user: typing.Optional[typing.Dict[str, typing.Any]] = None first_incident_time: typing.Optional[dt.datetime] = None last_incident_time: typing.Optional[dt.datetime] = None is_muted: typing.Optional[bool] = None diff --git a/src/merge/resources/accounting/types/item.py b/src/merge/resources/accounting/types/item.py index f42e396e..ba5b7bc8 100644 --- a/src/merge/resources/accounting/types/item.py +++ b/src/merge/resources/accounting/types/item.py @@ -110,7 +110,7 @@ class Item(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/accounting/types/item_request_request.py b/src/merge/resources/accounting/types/item_request_request.py index c6080a03..67bca3f9 100644 --- a/src/merge/resources/accounting/types/item_request_request.py +++ b/src/merge/resources/accounting/types/item_request_request.py @@ -82,8 +82,8 @@ class ItemRequestRequest(UncheckedBaseModel): The default sales tax rate for this item. """ - integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + integration_params: typing.Optional[typing.Dict[str, typing.Any]] = None + linked_account_params: typing.Optional[typing.Dict[str, typing.Any]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/accounting/types/item_request_request_status.py b/src/merge/resources/accounting/types/item_request_request_status.py index a4e45a0d..6f4a6678 100644 --- a/src/merge/resources/accounting/types/item_request_request_status.py +++ b/src/merge/resources/accounting/types/item_request_request_status.py @@ -2,6 +2,6 @@ import typing -from .status_7_d_1_enum import Status7D1Enum +from .status7d1enum import Status7D1Enum ItemRequestRequestStatus = typing.Union[Status7D1Enum, str] diff --git a/src/merge/resources/accounting/types/item_request_request_type.py b/src/merge/resources/accounting/types/item_request_request_type.py index 7aba64f6..8576cec1 100644 --- a/src/merge/resources/accounting/types/item_request_request_type.py +++ b/src/merge/resources/accounting/types/item_request_request_type.py @@ -2,6 +2,6 @@ import typing -from .type_2_bb_enum import Type2BbEnum +from .type2bb_enum import Type2BbEnum ItemRequestRequestType = typing.Union[Type2BbEnum, str] diff --git a/src/merge/resources/accounting/types/item_status.py b/src/merge/resources/accounting/types/item_status.py index 5b7de869..e355e62b 100644 --- a/src/merge/resources/accounting/types/item_status.py +++ b/src/merge/resources/accounting/types/item_status.py @@ -2,6 +2,6 @@ import typing -from .status_7_d_1_enum import Status7D1Enum +from .status7d1enum import Status7D1Enum ItemStatus = typing.Union[Status7D1Enum, str] diff --git a/src/merge/resources/accounting/types/item_type.py b/src/merge/resources/accounting/types/item_type.py index fbb13fee..439fb90d 100644 --- a/src/merge/resources/accounting/types/item_type.py +++ b/src/merge/resources/accounting/types/item_type.py @@ -2,6 +2,6 @@ import typing -from .type_2_bb_enum import Type2BbEnum +from .type2bb_enum import Type2BbEnum ItemType = typing.Union[Type2BbEnum, str] diff --git a/src/merge/resources/accounting/types/journal_entry.py b/src/merge/resources/accounting/types/journal_entry.py index 886ffa58..4f792ecc 100644 --- a/src/merge/resources/accounting/types/journal_entry.py +++ b/src/merge/resources/accounting/types/journal_entry.py @@ -432,7 +432,7 @@ class JournalEntry(UncheckedBaseModel): When the third party's journal entry was updated. """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None remote_fields: typing.Optional[typing.List[RemoteField]] = None diff --git a/src/merge/resources/accounting/types/journal_entry_request.py b/src/merge/resources/accounting/types/journal_entry_request.py index 5c45360e..e76a10a2 100644 --- a/src/merge/resources/accounting/types/journal_entry_request.py +++ b/src/merge/resources/accounting/types/journal_entry_request.py @@ -384,8 +384,8 @@ class JournalEntryRequest(UncheckedBaseModel): * `POSTED` - POSTED """ - integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + integration_params: typing.Optional[typing.Dict[str, typing.Any]] = None + linked_account_params: typing.Optional[typing.Dict[str, typing.Any]] = None remote_fields: typing.Optional[typing.List[RemoteFieldRequest]] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/accounting/types/journal_line_request.py b/src/merge/resources/accounting/types/journal_line_request.py index 05533fa0..20ed4157 100644 --- a/src/merge/resources/accounting/types/journal_line_request.py +++ b/src/merge/resources/accounting/types/journal_line_request.py @@ -377,8 +377,8 @@ class JournalLineRequest(UncheckedBaseModel): The journal line item's exchange rate. """ - integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + integration_params: typing.Optional[typing.Dict[str, typing.Any]] = None + linked_account_params: typing.Optional[typing.Dict[str, typing.Any]] = None remote_fields: typing.Optional[typing.List[RemoteFieldRequest]] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/accounting/types/meta_response.py b/src/merge/resources/accounting/types/meta_response.py index caa2c831..0da37619 100644 --- a/src/merge/resources/accounting/types/meta_response.py +++ b/src/merge/resources/accounting/types/meta_response.py @@ -9,8 +9,8 @@ class MetaResponse(UncheckedBaseModel): - request_schema: typing.Dict[str, typing.Optional[typing.Any]] - remote_field_classes: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + request_schema: typing.Dict[str, typing.Any] + remote_field_classes: typing.Optional[typing.Dict[str, typing.Any]] = None status: typing.Optional[LinkedAccountStatus] = None has_conditional_params: bool has_required_linked_account_params: bool diff --git a/src/merge/resources/accounting/types/multipart_form_field_request.py b/src/merge/resources/accounting/types/multipart_form_field_request.py index abc37692..aacb5df0 100644 --- a/src/merge/resources/accounting/types/multipart_form_field_request.py +++ b/src/merge/resources/accounting/types/multipart_form_field_request.py @@ -5,7 +5,7 @@ import pydantic from ....core.pydantic_utilities import IS_PYDANTIC_V2 from ....core.unchecked_base_model import UncheckedBaseModel -from .multipart_form_field_request_encoding import MultipartFormFieldRequestEncoding +from .encoding_enum import EncodingEnum class MultipartFormFieldRequest(UncheckedBaseModel): @@ -28,7 +28,7 @@ class MultipartFormFieldRequest(UncheckedBaseModel): The data for the form field. """ - encoding: typing.Optional[MultipartFormFieldRequestEncoding] = pydantic.Field(default=None) + encoding: typing.Optional[EncodingEnum] = pydantic.Field(default=None) """ The encoding of the value of `data`. Defaults to `RAW` if not defined. diff --git a/src/merge/resources/accounting/types/paginated_credit_note_list.py b/src/merge/resources/accounting/types/paginated_credit_note_list.py index 4cdc16aa..f4731fde 100644 --- a/src/merge/resources/accounting/types/paginated_credit_note_list.py +++ b/src/merge/resources/accounting/types/paginated_credit_note_list.py @@ -24,12 +24,6 @@ class Config: extra = pydantic.Extra.allow -from .credit_note import CreditNote # noqa: E402, F401, I001 -from .credit_note_apply_line_for_credit_note import CreditNoteApplyLineForCreditNote # noqa: E402, F401, I001 -from .credit_note_apply_line_for_invoice import CreditNoteApplyLineForInvoice # noqa: E402, F401, I001 -from .invoice import Invoice # noqa: E402, F401, I001 -from .vendor_credit import VendorCredit # noqa: E402, F401, I001 -from .vendor_credit_apply_line_for_invoice import VendorCreditApplyLineForInvoice # noqa: E402, F401, I001 -from .vendor_credit_apply_line_for_vendor_credit import VendorCreditApplyLineForVendorCredit # noqa: E402, F401, I001 +from .credit_note import CreditNote # noqa: E402, I001 update_forward_refs(PaginatedCreditNoteList) diff --git a/src/merge/resources/accounting/types/paginated_expense_report_line_list.py b/src/merge/resources/accounting/types/paginated_expense_report_line_list.py deleted file mode 100644 index 6b2f2057..00000000 --- a/src/merge/resources/accounting/types/paginated_expense_report_line_list.py +++ /dev/null @@ -1,23 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .expense_report_line import ExpenseReportLine - - -class PaginatedExpenseReportLineList(UncheckedBaseModel): - next: typing.Optional[str] = None - previous: typing.Optional[str] = None - results: typing.Optional[typing.List[ExpenseReportLine]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/accounting/types/paginated_expense_report_list.py b/src/merge/resources/accounting/types/paginated_expense_report_list.py deleted file mode 100644 index c75ff556..00000000 --- a/src/merge/resources/accounting/types/paginated_expense_report_list.py +++ /dev/null @@ -1,23 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .expense_report import ExpenseReport - - -class PaginatedExpenseReportList(UncheckedBaseModel): - next: typing.Optional[str] = None - previous: typing.Optional[str] = None - results: typing.Optional[typing.List[ExpenseReport]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/accounting/types/paginated_invoice_list.py b/src/merge/resources/accounting/types/paginated_invoice_list.py index fd6795d5..525a660b 100644 --- a/src/merge/resources/accounting/types/paginated_invoice_list.py +++ b/src/merge/resources/accounting/types/paginated_invoice_list.py @@ -24,12 +24,6 @@ class Config: extra = pydantic.Extra.allow -from .credit_note import CreditNote # noqa: E402, F401, I001 -from .credit_note_apply_line_for_credit_note import CreditNoteApplyLineForCreditNote # noqa: E402, F401, I001 -from .credit_note_apply_line_for_invoice import CreditNoteApplyLineForInvoice # noqa: E402, F401, I001 -from .invoice import Invoice # noqa: E402, F401, I001 -from .vendor_credit import VendorCredit # noqa: E402, F401, I001 -from .vendor_credit_apply_line_for_invoice import VendorCreditApplyLineForInvoice # noqa: E402, F401, I001 -from .vendor_credit_apply_line_for_vendor_credit import VendorCreditApplyLineForVendorCredit # noqa: E402, F401, I001 +from .invoice import Invoice # noqa: E402, I001 update_forward_refs(PaginatedInvoiceList) diff --git a/src/merge/resources/accounting/types/paginated_vendor_credit_list.py b/src/merge/resources/accounting/types/paginated_vendor_credit_list.py index eb676449..2369d182 100644 --- a/src/merge/resources/accounting/types/paginated_vendor_credit_list.py +++ b/src/merge/resources/accounting/types/paginated_vendor_credit_list.py @@ -24,12 +24,6 @@ class Config: extra = pydantic.Extra.allow -from .credit_note import CreditNote # noqa: E402, F401, I001 -from .credit_note_apply_line_for_credit_note import CreditNoteApplyLineForCreditNote # noqa: E402, F401, I001 -from .credit_note_apply_line_for_invoice import CreditNoteApplyLineForInvoice # noqa: E402, F401, I001 -from .invoice import Invoice # noqa: E402, F401, I001 -from .vendor_credit import VendorCredit # noqa: E402, F401, I001 -from .vendor_credit_apply_line_for_invoice import VendorCreditApplyLineForInvoice # noqa: E402, F401, I001 -from .vendor_credit_apply_line_for_vendor_credit import VendorCreditApplyLineForVendorCredit # noqa: E402, F401, I001 +from .vendor_credit import VendorCredit # noqa: E402, I001 update_forward_refs(PaginatedVendorCreditList) diff --git a/src/merge/resources/accounting/types/patched_contact_request.py b/src/merge/resources/accounting/types/patched_contact_request.py deleted file mode 100644 index 7d513c2a..00000000 --- a/src/merge/resources/accounting/types/patched_contact_request.py +++ /dev/null @@ -1,91 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .accounting_phone_number_request import AccountingPhoneNumberRequest -from .patched_contact_request_addresses_item import PatchedContactRequestAddressesItem -from .remote_field_request import RemoteFieldRequest - - -class PatchedContactRequest(UncheckedBaseModel): - """ - # The Contact Object - ### Description - A `Contact` is an individual or business entity to which products and services are sold to or purchased from. The `Contact` model contains both Customers, in which products and services are sold to, and Vendors (or Suppliers), in which products and services are purchased from. - * A `Contact` is a Vendor/Supplier if the `is_supplier` property is true. - * A `Contact` is a customer if the `is_customer` property is true. - - ### Usage Example - Fetch from the `LIST Contacts` endpoint and view a company's contacts. - """ - - name: typing.Optional[str] = pydantic.Field(default=None) - """ - The contact's name. - """ - - is_supplier: typing.Optional[bool] = pydantic.Field(default=None) - """ - Whether the contact is a supplier. - """ - - is_customer: typing.Optional[bool] = pydantic.Field(default=None) - """ - Whether the contact is a customer. - """ - - email_address: typing.Optional[str] = pydantic.Field(default=None) - """ - The contact's email address. - """ - - tax_number: typing.Optional[str] = pydantic.Field(default=None) - """ - The contact's tax number. - """ - - status: typing.Optional[str] = pydantic.Field(default=None) - """ - The contact's status - - * `ACTIVE` - ACTIVE - * `ARCHIVED` - ARCHIVED - """ - - currency: typing.Optional[str] = pydantic.Field(default=None) - """ - The currency the contact's transactions are in. - """ - - company: typing.Optional[str] = pydantic.Field(default=None) - """ - The company the contact belongs to. - """ - - addresses: typing.Optional[typing.List[typing.Optional[PatchedContactRequestAddressesItem]]] = pydantic.Field( - default=None - ) - """ - `Address` object IDs for the given `Contacts` object. - """ - - phone_numbers: typing.Optional[typing.List[AccountingPhoneNumberRequest]] = pydantic.Field(default=None) - """ - `AccountingPhoneNumber` object for the given `Contacts` object. - """ - - integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - remote_fields: typing.Optional[typing.List[RemoteFieldRequest]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/accounting/types/patched_contact_request_addresses_item.py b/src/merge/resources/accounting/types/patched_contact_request_addresses_item.py deleted file mode 100644 index fb0884a9..00000000 --- a/src/merge/resources/accounting/types/patched_contact_request_addresses_item.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .address import Address - -PatchedContactRequestAddressesItem = typing.Union[str, Address] diff --git a/src/merge/resources/accounting/types/patched_item_request_request.py b/src/merge/resources/accounting/types/patched_item_request_request.py index 11578169..16946c05 100644 --- a/src/merge/resources/accounting/types/patched_item_request_request.py +++ b/src/merge/resources/accounting/types/patched_item_request_request.py @@ -77,8 +77,8 @@ class PatchedItemRequestRequest(UncheckedBaseModel): The default sales tax rate for this item. """ - integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + integration_params: typing.Optional[typing.Dict[str, typing.Any]] = None + linked_account_params: typing.Optional[typing.Dict[str, typing.Any]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/accounting/types/patched_item_request_request_status.py b/src/merge/resources/accounting/types/patched_item_request_request_status.py index 013b1682..7afd9ec6 100644 --- a/src/merge/resources/accounting/types/patched_item_request_request_status.py +++ b/src/merge/resources/accounting/types/patched_item_request_request_status.py @@ -2,6 +2,6 @@ import typing -from .status_7_d_1_enum import Status7D1Enum +from .status7d1enum import Status7D1Enum PatchedItemRequestRequestStatus = typing.Union[Status7D1Enum, str] diff --git a/src/merge/resources/accounting/types/patched_item_request_request_type.py b/src/merge/resources/accounting/types/patched_item_request_request_type.py index 9990ccf7..ba11db25 100644 --- a/src/merge/resources/accounting/types/patched_item_request_request_type.py +++ b/src/merge/resources/accounting/types/patched_item_request_request_type.py @@ -2,6 +2,6 @@ import typing -from .type_2_bb_enum import Type2BbEnum +from .type2bb_enum import Type2BbEnum PatchedItemRequestRequestType = typing.Union[Type2BbEnum, str] diff --git a/src/merge/resources/accounting/types/patched_payment_request.py b/src/merge/resources/accounting/types/patched_payment_request.py index 7222862a..a1c4b5e6 100644 --- a/src/merge/resources/accounting/types/patched_payment_request.py +++ b/src/merge/resources/accounting/types/patched_payment_request.py @@ -398,8 +398,8 @@ class PatchedPaymentRequest(UncheckedBaseModel): A list of “Payment Applied to Lines” objects. """ - integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + integration_params: typing.Optional[typing.Dict[str, typing.Any]] = None + linked_account_params: typing.Optional[typing.Dict[str, typing.Any]] = None remote_fields: typing.Optional[typing.List[RemoteFieldRequest]] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/accounting/types/payment.py b/src/merge/resources/accounting/types/payment.py index c005cf14..696d3d53 100644 --- a/src/merge/resources/accounting/types/payment.py +++ b/src/merge/resources/accounting/types/payment.py @@ -421,7 +421,7 @@ class Payment(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None remote_fields: typing.Optional[typing.List[RemoteField]] = None diff --git a/src/merge/resources/accounting/types/payment_line_item_request.py b/src/merge/resources/accounting/types/payment_line_item_request.py index ecc0e374..a9ec320c 100644 --- a/src/merge/resources/accounting/types/payment_line_item_request.py +++ b/src/merge/resources/accounting/types/payment_line_item_request.py @@ -44,8 +44,8 @@ class PaymentLineItemRequest(UncheckedBaseModel): The type of transaction the payment portion is being applied to. Possible values include: INVOICE, JOURNAL_ENTRY, or CREDIT_NOTE. """ - integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + integration_params: typing.Optional[typing.Dict[str, typing.Any]] = None + linked_account_params: typing.Optional[typing.Dict[str, typing.Any]] = None remote_fields: typing.Optional[typing.List[RemoteFieldRequest]] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/accounting/types/payment_method.py b/src/merge/resources/accounting/types/payment_method.py index 0a3ec48d..6eafc89a 100644 --- a/src/merge/resources/accounting/types/payment_method.py +++ b/src/merge/resources/accounting/types/payment_method.py @@ -62,7 +62,7 @@ class PaymentMethod(UncheckedBaseModel): When the third party's payment method was updated. """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/accounting/types/payment_request.py b/src/merge/resources/accounting/types/payment_request.py index 9896b109..c3a29e14 100644 --- a/src/merge/resources/accounting/types/payment_request.py +++ b/src/merge/resources/accounting/types/payment_request.py @@ -394,8 +394,8 @@ class PaymentRequest(UncheckedBaseModel): A list of “Payment Applied to Lines” objects. """ - integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + integration_params: typing.Optional[typing.Dict[str, typing.Any]] = None + linked_account_params: typing.Optional[typing.Dict[str, typing.Any]] = None remote_fields: typing.Optional[typing.List[RemoteFieldRequest]] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/accounting/types/payment_term.py b/src/merge/resources/accounting/types/payment_term.py index 9c4209b4..c255b49e 100644 --- a/src/merge/resources/accounting/types/payment_term.py +++ b/src/merge/resources/accounting/types/payment_term.py @@ -67,7 +67,7 @@ class PaymentTerm(UncheckedBaseModel): When the third party's payment term was modified. """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/accounting/types/project.py b/src/merge/resources/accounting/types/project.py index 6cc2cbf1..0cea3124 100644 --- a/src/merge/resources/accounting/types/project.py +++ b/src/merge/resources/accounting/types/project.py @@ -58,7 +58,7 @@ class Project(UncheckedBaseModel): The supplier, or customer involved in the project. """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/accounting/types/purchase_order.py b/src/merge/resources/accounting/types/purchase_order.py index 6de72fda..a4cd4585 100644 --- a/src/merge/resources/accounting/types/purchase_order.py +++ b/src/merge/resources/accounting/types/purchase_order.py @@ -452,7 +452,7 @@ class PurchaseOrder(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None remote_fields: typing.Optional[typing.List[RemoteField]] = None diff --git a/src/merge/resources/accounting/types/purchase_order_line_item_request.py b/src/merge/resources/accounting/types/purchase_order_line_item_request.py index 964b9e1e..a853800c 100644 --- a/src/merge/resources/accounting/types/purchase_order_line_item_request.py +++ b/src/merge/resources/accounting/types/purchase_order_line_item_request.py @@ -393,8 +393,8 @@ class PurchaseOrderLineItemRequest(UncheckedBaseModel): The company the purchase order line item belongs to. """ - integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + integration_params: typing.Optional[typing.Dict[str, typing.Any]] = None + linked_account_params: typing.Optional[typing.Dict[str, typing.Any]] = None remote_fields: typing.Optional[typing.List[RemoteFieldRequest]] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/accounting/types/purchase_order_request.py b/src/merge/resources/accounting/types/purchase_order_request.py index 95fa1a1e..01bffec1 100644 --- a/src/merge/resources/accounting/types/purchase_order_request.py +++ b/src/merge/resources/accounting/types/purchase_order_request.py @@ -409,8 +409,8 @@ class PurchaseOrderRequest(UncheckedBaseModel): None ) line_items: typing.Optional[typing.List[PurchaseOrderLineItemRequest]] = None - integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + integration_params: typing.Optional[typing.Dict[str, typing.Any]] = None + linked_account_params: typing.Optional[typing.Dict[str, typing.Any]] = None remote_fields: typing.Optional[typing.List[RemoteFieldRequest]] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/accounting/types/remote_data.py b/src/merge/resources/accounting/types/remote_data.py index f34bec80..2026f05a 100644 --- a/src/merge/resources/accounting/types/remote_data.py +++ b/src/merge/resources/accounting/types/remote_data.py @@ -22,7 +22,7 @@ class RemoteData(UncheckedBaseModel): The third-party API path that is being called. """ - data: typing.Optional[typing.Optional[typing.Any]] = pydantic.Field(default=None) + data: typing.Optional[typing.Any] = pydantic.Field(default=None) """ The data returned from the third-party for this object in its original, unnormalized format. """ diff --git a/src/merge/resources/accounting/types/remote_endpoint_info.py b/src/merge/resources/accounting/types/remote_endpoint_info.py index 07ceff6a..ffa70b94 100644 --- a/src/merge/resources/accounting/types/remote_endpoint_info.py +++ b/src/merge/resources/accounting/types/remote_endpoint_info.py @@ -10,7 +10,7 @@ class RemoteEndpointInfo(UncheckedBaseModel): method: str url_path: str - field_traversal_path: typing.List[typing.Optional[typing.Any]] + field_traversal_path: typing.List[typing.Any] if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/accounting/types/remote_field.py b/src/merge/resources/accounting/types/remote_field.py index 1a9272f0..556c69ef 100644 --- a/src/merge/resources/accounting/types/remote_field.py +++ b/src/merge/resources/accounting/types/remote_field.py @@ -10,7 +10,7 @@ class RemoteField(UncheckedBaseModel): remote_field_class: RemoteFieldRemoteFieldClass - value: typing.Optional[typing.Optional[typing.Any]] = None + value: typing.Optional[typing.Any] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/accounting/types/remote_field_api.py b/src/merge/resources/accounting/types/remote_field_api.py index 4c66a23b..bac07b8d 100644 --- a/src/merge/resources/accounting/types/remote_field_api.py +++ b/src/merge/resources/accounting/types/remote_field_api.py @@ -11,10 +11,10 @@ class RemoteFieldApi(UncheckedBaseModel): - schema_: typing.Dict[str, typing.Optional[typing.Any]] = pydantic.Field(alias="schema") + schema_: typing.Dict[str, typing.Any] = pydantic.Field(alias="schema") remote_key_name: str remote_endpoint_info: RemoteEndpointInfo - example_values: typing.Optional[typing.List[typing.Optional[typing.Any]]] = None + example_values: typing.Optional[typing.List[typing.Any]] = None advanced_metadata: typing.Optional[AdvancedMetadata] = None coverage: typing.Optional[RemoteFieldApiCoverage] = None diff --git a/src/merge/resources/accounting/types/remote_field_class.py b/src/merge/resources/accounting/types/remote_field_class.py index 4126b4e7..e5672719 100644 --- a/src/merge/resources/accounting/types/remote_field_class.py +++ b/src/merge/resources/accounting/types/remote_field_class.py @@ -16,7 +16,6 @@ class RemoteFieldClass(UncheckedBaseModel): remote_key_name: typing.Optional[str] = None description: typing.Optional[str] = None is_custom: typing.Optional[bool] = None - is_common_model_field: typing.Optional[bool] = None is_required: typing.Optional[bool] = None field_type: typing.Optional[FieldTypeEnum] = None field_format: typing.Optional[FieldFormatEnum] = None diff --git a/src/merge/resources/accounting/types/remote_field_request.py b/src/merge/resources/accounting/types/remote_field_request.py index 69bc39da..e3c6e0fc 100644 --- a/src/merge/resources/accounting/types/remote_field_request.py +++ b/src/merge/resources/accounting/types/remote_field_request.py @@ -10,7 +10,7 @@ class RemoteFieldRequest(UncheckedBaseModel): remote_field_class: RemoteFieldRequestRemoteFieldClass - value: typing.Optional[typing.Optional[typing.Any]] = None + value: typing.Optional[typing.Any] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/accounting/types/remote_response.py b/src/merge/resources/accounting/types/remote_response.py index af181fc0..2804a254 100644 --- a/src/merge/resources/accounting/types/remote_response.py +++ b/src/merge/resources/accounting/types/remote_response.py @@ -21,10 +21,10 @@ class RemoteResponse(UncheckedBaseModel): method: str path: str status: int - response: typing.Optional[typing.Any] = None - response_headers: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + response: typing.Any + response_headers: typing.Optional[typing.Dict[str, typing.Any]] = None response_type: typing.Optional[ResponseTypeEnum] = None - headers: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + headers: typing.Optional[typing.Dict[str, typing.Any]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/accounting/types/report_item.py b/src/merge/resources/accounting/types/report_item.py index 4fdbd010..c3588de4 100644 --- a/src/merge/resources/accounting/types/report_item.py +++ b/src/merge/resources/accounting/types/report_item.py @@ -43,7 +43,7 @@ class ReportItem(UncheckedBaseModel): The report item's value. """ - sub_items: typing.Optional[typing.List[typing.Dict[str, typing.Optional[typing.Any]]]] = None + sub_items: typing.Optional[typing.List[typing.Dict[str, typing.Any]]] = None company: typing.Optional[str] = pydantic.Field(default=None) """ The company the report item belongs to. diff --git a/src/merge/resources/accounting/types/response_type_enum.py b/src/merge/resources/accounting/types/response_type_enum.py index ef241302..e29175b6 100644 --- a/src/merge/resources/accounting/types/response_type_enum.py +++ b/src/merge/resources/accounting/types/response_type_enum.py @@ -13,10 +13,10 @@ class ResponseTypeEnum(str, enum.Enum): """ JSON = "JSON" - BASE_64_GZIP = "BASE64_GZIP" + BASE64GZIP = "BASE64_GZIP" - def visit(self, json: typing.Callable[[], T_Result], base_64_gzip: typing.Callable[[], T_Result]) -> T_Result: + def visit(self, json: typing.Callable[[], T_Result], base64gzip: typing.Callable[[], T_Result]) -> T_Result: if self is ResponseTypeEnum.JSON: return json() - if self is ResponseTypeEnum.BASE_64_GZIP: - return base_64_gzip() + if self is ResponseTypeEnum.BASE64GZIP: + return base64gzip() diff --git a/src/merge/resources/accounting/types/status_7_d_1_enum.py b/src/merge/resources/accounting/types/status7d1enum.py similarity index 100% rename from src/merge/resources/accounting/types/status_7_d_1_enum.py rename to src/merge/resources/accounting/types/status7d1enum.py diff --git a/src/merge/resources/accounting/types/status_895_enum.py b/src/merge/resources/accounting/types/status895enum.py similarity index 100% rename from src/merge/resources/accounting/types/status_895_enum.py rename to src/merge/resources/accounting/types/status895enum.py diff --git a/src/merge/resources/accounting/types/status_fd_5_enum.py b/src/merge/resources/accounting/types/status_fd5enum.py similarity index 100% rename from src/merge/resources/accounting/types/status_fd_5_enum.py rename to src/merge/resources/accounting/types/status_fd5enum.py diff --git a/src/merge/resources/accounting/types/sync_status.py b/src/merge/resources/accounting/types/sync_status.py index ca6a53b0..07ab1dc2 100644 --- a/src/merge/resources/accounting/types/sync_status.py +++ b/src/merge/resources/accounting/types/sync_status.py @@ -6,8 +6,8 @@ import pydantic from ....core.pydantic_utilities import IS_PYDANTIC_V2 from ....core.unchecked_base_model import UncheckedBaseModel -from .last_sync_result_enum import LastSyncResultEnum from .selective_sync_configurations_usage_enum import SelectiveSyncConfigurationsUsageEnum +from .sync_status_last_sync_result import SyncStatusLastSyncResult from .sync_status_status import SyncStatusStatus @@ -25,7 +25,7 @@ class SyncStatus(UncheckedBaseModel): model_id: str last_sync_start: typing.Optional[dt.datetime] = None next_sync_start: typing.Optional[dt.datetime] = None - last_sync_result: typing.Optional[LastSyncResultEnum] = None + last_sync_result: typing.Optional[SyncStatusLastSyncResult] = None last_sync_finished: typing.Optional[dt.datetime] = None status: SyncStatusStatus is_initial_sync: bool diff --git a/src/merge/resources/chat/types/sync_status_last_sync_result.py b/src/merge/resources/accounting/types/sync_status_last_sync_result.py similarity index 100% rename from src/merge/resources/chat/types/sync_status_last_sync_result.py rename to src/merge/resources/accounting/types/sync_status_last_sync_result.py diff --git a/src/merge/resources/accounting/types/sync_status_status.py b/src/merge/resources/accounting/types/sync_status_status.py index 78e4cc47..080bb651 100644 --- a/src/merge/resources/accounting/types/sync_status_status.py +++ b/src/merge/resources/accounting/types/sync_status_status.py @@ -2,6 +2,6 @@ import typing -from .status_fd_5_enum import StatusFd5Enum +from .status_fd5enum import StatusFd5Enum SyncStatusStatus = typing.Union[StatusFd5Enum, str] diff --git a/src/merge/resources/accounting/types/tax_rate.py b/src/merge/resources/accounting/types/tax_rate.py index 66b673c1..76465810 100644 --- a/src/merge/resources/accounting/types/tax_rate.py +++ b/src/merge/resources/accounting/types/tax_rate.py @@ -91,7 +91,7 @@ class TaxRate(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/accounting/types/tax_rate_status.py b/src/merge/resources/accounting/types/tax_rate_status.py index dae00ac2..87e52f10 100644 --- a/src/merge/resources/accounting/types/tax_rate_status.py +++ b/src/merge/resources/accounting/types/tax_rate_status.py @@ -2,6 +2,6 @@ import typing -from .status_7_d_1_enum import Status7D1Enum +from .status7d1enum import Status7D1Enum TaxRateStatus = typing.Union[Status7D1Enum, str] diff --git a/src/merge/resources/accounting/types/tracking_category.py b/src/merge/resources/accounting/types/tracking_category.py index f4d2e0ba..d2096964 100644 --- a/src/merge/resources/accounting/types/tracking_category.py +++ b/src/merge/resources/accounting/types/tracking_category.py @@ -69,7 +69,7 @@ class TrackingCategory(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/accounting/types/tracking_category_status.py b/src/merge/resources/accounting/types/tracking_category_status.py index 8d0328ef..df13c3ed 100644 --- a/src/merge/resources/accounting/types/tracking_category_status.py +++ b/src/merge/resources/accounting/types/tracking_category_status.py @@ -2,6 +2,6 @@ import typing -from .status_7_d_1_enum import Status7D1Enum +from .status7d1enum import Status7D1Enum TrackingCategoryStatus = typing.Union[Status7D1Enum, str] diff --git a/src/merge/resources/accounting/types/transaction.py b/src/merge/resources/accounting/types/transaction.py index 9a014736..0641372f 100644 --- a/src/merge/resources/accounting/types/transaction.py +++ b/src/merge/resources/accounting/types/transaction.py @@ -417,7 +417,7 @@ class Transaction(UncheckedBaseModel): The accounting period that the Transaction was generated in. """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/accounting/types/type_2_bb_enum.py b/src/merge/resources/accounting/types/type2bb_enum.py similarity index 100% rename from src/merge/resources/accounting/types/type_2_bb_enum.py rename to src/merge/resources/accounting/types/type2bb_enum.py diff --git a/src/merge/resources/accounting/types/vendor_credit.py b/src/merge/resources/accounting/types/vendor_credit.py index 21467ced..e93a3312 100644 --- a/src/merge/resources/accounting/types/vendor_credit.py +++ b/src/merge/resources/accounting/types/vendor_credit.py @@ -409,7 +409,7 @@ class VendorCredit(UncheckedBaseModel): The accounting period that the VendorCredit was generated in. """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None if IS_PYDANTIC_V2: @@ -422,11 +422,6 @@ class Config: extra = pydantic.Extra.allow -from .credit_note import CreditNote # noqa: E402, F401, I001 -from .credit_note_apply_line_for_credit_note import CreditNoteApplyLineForCreditNote # noqa: E402, F401, I001 -from .credit_note_apply_line_for_invoice import CreditNoteApplyLineForInvoice # noqa: E402, F401, I001 -from .invoice import Invoice # noqa: E402, F401, I001 -from .vendor_credit_apply_line_for_invoice import VendorCreditApplyLineForInvoice # noqa: E402, F401, I001 -from .vendor_credit_apply_line_for_vendor_credit import VendorCreditApplyLineForVendorCredit # noqa: E402, F401, I001 +from .vendor_credit_apply_line_for_vendor_credit import VendorCreditApplyLineForVendorCredit # noqa: E402, I001 update_forward_refs(VendorCredit) diff --git a/src/merge/resources/accounting/types/vendor_credit_apply_line_for_invoice.py b/src/merge/resources/accounting/types/vendor_credit_apply_line_for_invoice.py index 83485a9e..eb40cd0d 100644 --- a/src/merge/resources/accounting/types/vendor_credit_apply_line_for_invoice.py +++ b/src/merge/resources/accounting/types/vendor_credit_apply_line_for_invoice.py @@ -61,12 +61,7 @@ class Config: extra = pydantic.Extra.allow -from .credit_note import CreditNote # noqa: E402, F401, I001 -from .credit_note_apply_line_for_credit_note import CreditNoteApplyLineForCreditNote # noqa: E402, F401, I001 -from .credit_note_apply_line_for_invoice import CreditNoteApplyLineForInvoice # noqa: E402, F401, I001 -from .invoice import Invoice # noqa: E402, F401, I001 -from .vendor_credit import VendorCredit # noqa: E402, F401, I001 -from .vendor_credit_apply_line_for_vendor_credit import VendorCreditApplyLineForVendorCredit # noqa: E402, F401, I001 -from .vendor_credit_apply_line_for_invoice_vendor_credit import VendorCreditApplyLineForInvoiceVendorCredit # noqa: E402, F401, I001 - -update_forward_refs(VendorCreditApplyLineForInvoice) +from .vendor_credit import VendorCredit # noqa: E402, I001 +from .vendor_credit_apply_line_for_invoice_vendor_credit import VendorCreditApplyLineForInvoiceVendorCredit # noqa: E402, I001 + +update_forward_refs(VendorCreditApplyLineForInvoice, VendorCredit=VendorCredit) diff --git a/src/merge/resources/accounting/types/vendor_credit_apply_line_for_vendor_credit.py b/src/merge/resources/accounting/types/vendor_credit_apply_line_for_vendor_credit.py index 46a8ae61..72336851 100644 --- a/src/merge/resources/accounting/types/vendor_credit_apply_line_for_vendor_credit.py +++ b/src/merge/resources/accounting/types/vendor_credit_apply_line_for_vendor_credit.py @@ -61,12 +61,7 @@ class Config: extra = pydantic.Extra.allow -from .credit_note import CreditNote # noqa: E402, F401, I001 -from .credit_note_apply_line_for_credit_note import CreditNoteApplyLineForCreditNote # noqa: E402, F401, I001 -from .credit_note_apply_line_for_invoice import CreditNoteApplyLineForInvoice # noqa: E402, F401, I001 -from .invoice import Invoice # noqa: E402, F401, I001 -from .vendor_credit import VendorCredit # noqa: E402, F401, I001 -from .vendor_credit_apply_line_for_invoice import VendorCreditApplyLineForInvoice # noqa: E402, F401, I001 -from .vendor_credit_apply_line_for_vendor_credit_invoice import VendorCreditApplyLineForVendorCreditInvoice # noqa: E402, F401, I001 - -update_forward_refs(VendorCreditApplyLineForVendorCredit) +from .invoice import Invoice # noqa: E402, I001 +from .vendor_credit_apply_line_for_vendor_credit_invoice import VendorCreditApplyLineForVendorCreditInvoice # noqa: E402, I001 + +update_forward_refs(VendorCreditApplyLineForVendorCredit, Invoice=Invoice) diff --git a/src/merge/resources/accounting/types/vendor_credit_apply_line_for_vendor_credit_request.py b/src/merge/resources/accounting/types/vendor_credit_apply_line_for_vendor_credit_request.py index 402394d8..fa378d72 100644 --- a/src/merge/resources/accounting/types/vendor_credit_apply_line_for_vendor_credit_request.py +++ b/src/merge/resources/accounting/types/vendor_credit_apply_line_for_vendor_credit_request.py @@ -39,8 +39,8 @@ class VendorCreditApplyLineForVendorCreditRequest(UncheckedBaseModel): The amount of the VendorCredit applied to the invoice. """ - integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + integration_params: typing.Optional[typing.Dict[str, typing.Any]] = None + linked_account_params: typing.Optional[typing.Dict[str, typing.Any]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 @@ -52,12 +52,4 @@ class Config: extra = pydantic.Extra.allow -from .credit_note import CreditNote # noqa: E402, F401, I001 -from .credit_note_apply_line_for_credit_note import CreditNoteApplyLineForCreditNote # noqa: E402, F401, I001 -from .credit_note_apply_line_for_invoice import CreditNoteApplyLineForInvoice # noqa: E402, F401, I001 -from .invoice import Invoice # noqa: E402, F401, I001 -from .vendor_credit import VendorCredit # noqa: E402, F401, I001 -from .vendor_credit_apply_line_for_invoice import VendorCreditApplyLineForInvoice # noqa: E402, F401, I001 -from .vendor_credit_apply_line_for_vendor_credit import VendorCreditApplyLineForVendorCredit # noqa: E402, F401, I001 - update_forward_refs(VendorCreditApplyLineForVendorCreditRequest) diff --git a/src/merge/resources/accounting/types/vendor_credit_line_request.py b/src/merge/resources/accounting/types/vendor_credit_line_request.py index c346c7a5..75802427 100644 --- a/src/merge/resources/accounting/types/vendor_credit_line_request.py +++ b/src/merge/resources/accounting/types/vendor_credit_line_request.py @@ -67,8 +67,8 @@ class VendorCreditLineRequest(UncheckedBaseModel): The vendor credit line item's exchange rate. """ - integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + integration_params: typing.Optional[typing.Dict[str, typing.Any]] = None + linked_account_params: typing.Optional[typing.Dict[str, typing.Any]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/accounting/types/vendor_credit_request.py b/src/merge/resources/accounting/types/vendor_credit_request.py index d8b7d4dd..bb8479ac 100644 --- a/src/merge/resources/accounting/types/vendor_credit_request.py +++ b/src/merge/resources/accounting/types/vendor_credit_request.py @@ -386,8 +386,8 @@ class VendorCreditRequest(UncheckedBaseModel): The accounting period that the VendorCredit was generated in. """ - integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + integration_params: typing.Optional[typing.Dict[str, typing.Any]] = None + linked_account_params: typing.Optional[typing.Dict[str, typing.Any]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 @@ -399,12 +399,4 @@ class Config: extra = pydantic.Extra.allow -from .credit_note import CreditNote # noqa: E402, F401, I001 -from .credit_note_apply_line_for_credit_note import CreditNoteApplyLineForCreditNote # noqa: E402, F401, I001 -from .credit_note_apply_line_for_invoice import CreditNoteApplyLineForInvoice # noqa: E402, F401, I001 -from .invoice import Invoice # noqa: E402, F401, I001 -from .vendor_credit import VendorCredit # noqa: E402, F401, I001 -from .vendor_credit_apply_line_for_invoice import VendorCreditApplyLineForInvoice # noqa: E402, F401, I001 -from .vendor_credit_apply_line_for_vendor_credit import VendorCreditApplyLineForVendorCredit # noqa: E402, F401, I001 - update_forward_refs(VendorCreditRequest) diff --git a/src/merge/resources/accounting/types/vendor_credit_response.py b/src/merge/resources/accounting/types/vendor_credit_response.py index 9dab6cb4..a669fc35 100644 --- a/src/merge/resources/accounting/types/vendor_credit_response.py +++ b/src/merge/resources/accounting/types/vendor_credit_response.py @@ -28,12 +28,6 @@ class Config: extra = pydantic.Extra.allow -from .credit_note import CreditNote # noqa: E402, F401, I001 -from .credit_note_apply_line_for_credit_note import CreditNoteApplyLineForCreditNote # noqa: E402, F401, I001 -from .credit_note_apply_line_for_invoice import CreditNoteApplyLineForInvoice # noqa: E402, F401, I001 -from .invoice import Invoice # noqa: E402, F401, I001 -from .vendor_credit import VendorCredit # noqa: E402, F401, I001 -from .vendor_credit_apply_line_for_invoice import VendorCreditApplyLineForInvoice # noqa: E402, F401, I001 -from .vendor_credit_apply_line_for_vendor_credit import VendorCreditApplyLineForVendorCredit # noqa: E402, F401, I001 +from .vendor_credit import VendorCredit # noqa: E402, I001 update_forward_refs(VendorCreditResponse) diff --git a/src/merge/resources/ats/__init__.py b/src/merge/resources/ats/__init__.py index 9ddb3181..659306cd 100644 --- a/src/merge/resources/ats/__init__.py +++ b/src/merge/resources/ats/__init__.py @@ -20,7 +20,6 @@ Activity, ActivityActivityType, ActivityRequest, - ActivityRequestActivityType, ActivityRequestUser, ActivityRequestVisibility, ActivityResponse, @@ -98,6 +97,8 @@ FieldPermissionDeserializer, FieldPermissionDeserializerRequest, GenderEnum, + IgnoreCommonModelRequest, + IgnoreCommonModelRequestReason, IndividualCommonModelScopeDeserializer, IndividualCommonModelScopeDeserializerRequest, Issue, @@ -226,34 +227,67 @@ WebhookReceiver, ) from .resources import ( + ActivitiesListRequestExpandItem, ActivitiesListRequestRemoteFields, ActivitiesListRequestShowEnumOrigins, + ActivitiesRetrieveRequestExpandItem, ActivitiesRetrieveRequestRemoteFields, ActivitiesRetrieveRequestShowEnumOrigins, - ApplicationsListRequestExpand, - ApplicationsRetrieveRequestExpand, + ApplicationsListRequestExpandItem, + ApplicationsRetrieveRequestExpandItem, AsyncPassthroughRetrieveResponse, - CandidatesListRequestExpand, - CandidatesRetrieveRequestExpand, + AttachmentsListRequestExpandItem, + AttachmentsListRequestRemoteFields, + AttachmentsListRequestShowEnumOrigins, + AttachmentsRetrieveRequestExpandItem, + AttachmentsRetrieveRequestRemoteFields, + AttachmentsRetrieveRequestShowEnumOrigins, + CandidatesListRequestExpandItem, + CandidatesRetrieveRequestExpandItem, + EeocsListRequestExpandItem, EeocsListRequestRemoteFields, EeocsListRequestShowEnumOrigins, + EeocsRetrieveRequestExpandItem, EeocsRetrieveRequestRemoteFields, EeocsRetrieveRequestShowEnumOrigins, EndUserDetailsRequestLanguage, - IgnoreCommonModelRequestReason, - InterviewsListRequestExpand, - InterviewsRetrieveRequestExpand, + InterviewsListRequestExpandItem, + InterviewsListRequestRemoteFields, + InterviewsListRequestShowEnumOrigins, + InterviewsRetrieveRequestExpandItem, + InterviewsRetrieveRequestRemoteFields, + InterviewsRetrieveRequestShowEnumOrigins, IssuesListRequestStatus, + JobInterviewStagesListRequestExpandItem, + JobInterviewStagesRetrieveRequestExpandItem, + JobPostingsListRequestExpandItem, JobPostingsListRequestStatus, - JobsListRequestExpand, + JobPostingsRetrieveRequestExpandItem, + JobsListRequestExpandItem, + JobsListRequestRemoteFields, + JobsListRequestShowEnumOrigins, JobsListRequestStatus, - JobsRetrieveRequestExpand, - JobsScreeningQuestionsListRequestExpand, + JobsRetrieveRequestExpandItem, + JobsRetrieveRequestRemoteFields, + JobsRetrieveRequestShowEnumOrigins, + JobsScreeningQuestionsListRequestExpandItem, LinkedAccountsListRequestCategory, - OffersListRequestExpand, - OffersRetrieveRequestExpand, - ScorecardsListRequestExpand, - ScorecardsRetrieveRequestExpand, + OffersListRequestExpandItem, + OffersListRequestRemoteFields, + OffersListRequestShowEnumOrigins, + OffersRetrieveRequestExpandItem, + OffersRetrieveRequestRemoteFields, + OffersRetrieveRequestShowEnumOrigins, + ScorecardsListRequestExpandItem, + ScorecardsListRequestRemoteFields, + ScorecardsListRequestShowEnumOrigins, + ScorecardsRetrieveRequestExpandItem, + ScorecardsRetrieveRequestRemoteFields, + ScorecardsRetrieveRequestShowEnumOrigins, + UsersListRequestRemoteFields, + UsersListRequestShowEnumOrigins, + UsersRetrieveRequestRemoteFields, + UsersRetrieveRequestShowEnumOrigins, account_details, account_token, activities, @@ -299,14 +333,15 @@ "AccountDetailsCategory": ".types", "AccountIntegration": ".types", "AccountToken": ".types", + "ActivitiesListRequestExpandItem": ".resources", "ActivitiesListRequestRemoteFields": ".resources", "ActivitiesListRequestShowEnumOrigins": ".resources", + "ActivitiesRetrieveRequestExpandItem": ".resources", "ActivitiesRetrieveRequestRemoteFields": ".resources", "ActivitiesRetrieveRequestShowEnumOrigins": ".resources", "Activity": ".types", "ActivityActivityType": ".types", "ActivityRequest": ".types", - "ActivityRequestActivityType": ".types", "ActivityRequestUser": ".types", "ActivityRequestVisibility": ".types", "ActivityResponse": ".types", @@ -331,8 +366,8 @@ "ApplicationRequestScreeningQuestionAnswersItem": ".types", "ApplicationResponse": ".types", "ApplicationScreeningQuestionAnswersItem": ".types", - "ApplicationsListRequestExpand": ".resources", - "ApplicationsRetrieveRequestExpand": ".resources", + "ApplicationsListRequestExpandItem": ".resources", + "ApplicationsRetrieveRequestExpandItem": ".resources", "AsyncPassthroughReciept": ".types", "AsyncPassthroughRetrieveResponse": ".resources", "Attachment": ".types", @@ -341,6 +376,12 @@ "AttachmentRequestAttachmentType": ".types", "AttachmentResponse": ".types", "AttachmentTypeEnum": ".types", + "AttachmentsListRequestExpandItem": ".resources", + "AttachmentsListRequestRemoteFields": ".resources", + "AttachmentsListRequestShowEnumOrigins": ".resources", + "AttachmentsRetrieveRequestExpandItem": ".resources", + "AttachmentsRetrieveRequestRemoteFields": ".resources", + "AttachmentsRetrieveRequestShowEnumOrigins": ".resources", "AuditLogEvent": ".types", "AuditLogEventEventType": ".types", "AuditLogEventRole": ".types", @@ -352,8 +393,8 @@ "CandidateRequestApplicationsItem": ".types", "CandidateRequestAttachmentsItem": ".types", "CandidateResponse": ".types", - "CandidatesListRequestExpand": ".resources", - "CandidatesRetrieveRequestExpand": ".resources", + "CandidatesListRequestExpandItem": ".resources", + "CandidatesRetrieveRequestExpandItem": ".resources", "CategoriesEnum": ".types", "CategoryEnum": ".types", "CommonModelScopeApi": ".types", @@ -369,8 +410,10 @@ "EeocGender": ".types", "EeocRace": ".types", "EeocVeteranStatus": ".types", + "EeocsListRequestExpandItem": ".resources", "EeocsListRequestRemoteFields": ".resources", "EeocsListRequestShowEnumOrigins": ".resources", + "EeocsRetrieveRequestExpandItem": ".resources", "EeocsRetrieveRequestRemoteFields": ".resources", "EeocsRetrieveRequestShowEnumOrigins": ".resources", "EmailAddress": ".types", @@ -394,11 +437,16 @@ "FieldPermissionDeserializer": ".types", "FieldPermissionDeserializerRequest": ".types", "GenderEnum": ".types", - "IgnoreCommonModelRequestReason": ".resources", + "IgnoreCommonModelRequest": ".types", + "IgnoreCommonModelRequestReason": ".types", "IndividualCommonModelScopeDeserializer": ".types", "IndividualCommonModelScopeDeserializerRequest": ".types", - "InterviewsListRequestExpand": ".resources", - "InterviewsRetrieveRequestExpand": ".resources", + "InterviewsListRequestExpandItem": ".resources", + "InterviewsListRequestRemoteFields": ".resources", + "InterviewsListRequestShowEnumOrigins": ".resources", + "InterviewsRetrieveRequestExpandItem": ".resources", + "InterviewsRetrieveRequestRemoteFields": ".resources", + "InterviewsRetrieveRequestShowEnumOrigins": ".resources", "Issue": ".types", "IssueStatus": ".types", "IssueStatusEnum": ".types", @@ -408,22 +456,30 @@ "JobHiringManagersItem": ".types", "JobInterviewStage": ".types", "JobInterviewStageJob": ".types", + "JobInterviewStagesListRequestExpandItem": ".resources", + "JobInterviewStagesRetrieveRequestExpandItem": ".resources", "JobOfficesItem": ".types", "JobPosting": ".types", "JobPostingJob": ".types", "JobPostingJobPostingUrlsItem": ".types", "JobPostingStatus": ".types", "JobPostingStatusEnum": ".types", + "JobPostingsListRequestExpandItem": ".resources", "JobPostingsListRequestStatus": ".resources", + "JobPostingsRetrieveRequestExpandItem": ".resources", "JobRecruitersItem": ".types", "JobStatus": ".types", "JobStatusEnum": ".types", "JobType": ".types", "JobTypeEnum": ".types", - "JobsListRequestExpand": ".resources", + "JobsListRequestExpandItem": ".resources", + "JobsListRequestRemoteFields": ".resources", + "JobsListRequestShowEnumOrigins": ".resources", "JobsListRequestStatus": ".resources", - "JobsRetrieveRequestExpand": ".resources", - "JobsScreeningQuestionsListRequestExpand": ".resources", + "JobsRetrieveRequestExpandItem": ".resources", + "JobsRetrieveRequestRemoteFields": ".resources", + "JobsRetrieveRequestShowEnumOrigins": ".resources", + "JobsScreeningQuestionsListRequestExpandItem": ".resources", "LanguageEnum": ".types", "LastSyncResultEnum": ".types", "LinkToken": ".types", @@ -441,8 +497,12 @@ "OfferCreator": ".types", "OfferStatus": ".types", "OfferStatusEnum": ".types", - "OffersListRequestExpand": ".resources", - "OffersRetrieveRequestExpand": ".resources", + "OffersListRequestExpandItem": ".resources", + "OffersListRequestRemoteFields": ".resources", + "OffersListRequestShowEnumOrigins": ".resources", + "OffersRetrieveRequestExpandItem": ".resources", + "OffersRetrieveRequestRemoteFields": ".resources", + "OffersRetrieveRequestShowEnumOrigins": ".resources", "Office": ".types", "OverallRecommendationEnum": ".types", "PaginatedAccountDetailsAndActionsList": ".types", @@ -507,8 +567,12 @@ "ScorecardInterview": ".types", "ScorecardInterviewer": ".types", "ScorecardOverallRecommendation": ".types", - "ScorecardsListRequestExpand": ".resources", - "ScorecardsRetrieveRequestExpand": ".resources", + "ScorecardsListRequestExpandItem": ".resources", + "ScorecardsListRequestRemoteFields": ".resources", + "ScorecardsListRequestShowEnumOrigins": ".resources", + "ScorecardsRetrieveRequestExpandItem": ".resources", + "ScorecardsRetrieveRequestRemoteFields": ".resources", + "ScorecardsRetrieveRequestShowEnumOrigins": ".resources", "ScreeningQuestion": ".types", "ScreeningQuestionAnswer": ".types", "ScreeningQuestionAnswerQuestion": ".types", @@ -529,6 +593,10 @@ "UrlRequestUrlType": ".types", "UrlTypeEnum": ".types", "UrlUrlType": ".types", + "UsersListRequestRemoteFields": ".resources", + "UsersListRequestShowEnumOrigins": ".resources", + "UsersRetrieveRequestRemoteFields": ".resources", + "UsersRetrieveRequestShowEnumOrigins": ".resources", "ValidationProblemSource": ".types", "VeteranStatusEnum": ".types", "VisibilityEnum": ".types", @@ -576,8 +644,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -600,14 +670,15 @@ def __dir__(): "AccountDetailsCategory", "AccountIntegration", "AccountToken", + "ActivitiesListRequestExpandItem", "ActivitiesListRequestRemoteFields", "ActivitiesListRequestShowEnumOrigins", + "ActivitiesRetrieveRequestExpandItem", "ActivitiesRetrieveRequestRemoteFields", "ActivitiesRetrieveRequestShowEnumOrigins", "Activity", "ActivityActivityType", "ActivityRequest", - "ActivityRequestActivityType", "ActivityRequestUser", "ActivityRequestVisibility", "ActivityResponse", @@ -632,8 +703,8 @@ def __dir__(): "ApplicationRequestScreeningQuestionAnswersItem", "ApplicationResponse", "ApplicationScreeningQuestionAnswersItem", - "ApplicationsListRequestExpand", - "ApplicationsRetrieveRequestExpand", + "ApplicationsListRequestExpandItem", + "ApplicationsRetrieveRequestExpandItem", "AsyncPassthroughReciept", "AsyncPassthroughRetrieveResponse", "Attachment", @@ -642,6 +713,12 @@ def __dir__(): "AttachmentRequestAttachmentType", "AttachmentResponse", "AttachmentTypeEnum", + "AttachmentsListRequestExpandItem", + "AttachmentsListRequestRemoteFields", + "AttachmentsListRequestShowEnumOrigins", + "AttachmentsRetrieveRequestExpandItem", + "AttachmentsRetrieveRequestRemoteFields", + "AttachmentsRetrieveRequestShowEnumOrigins", "AuditLogEvent", "AuditLogEventEventType", "AuditLogEventRole", @@ -653,8 +730,8 @@ def __dir__(): "CandidateRequestApplicationsItem", "CandidateRequestAttachmentsItem", "CandidateResponse", - "CandidatesListRequestExpand", - "CandidatesRetrieveRequestExpand", + "CandidatesListRequestExpandItem", + "CandidatesRetrieveRequestExpandItem", "CategoriesEnum", "CategoryEnum", "CommonModelScopeApi", @@ -670,8 +747,10 @@ def __dir__(): "EeocGender", "EeocRace", "EeocVeteranStatus", + "EeocsListRequestExpandItem", "EeocsListRequestRemoteFields", "EeocsListRequestShowEnumOrigins", + "EeocsRetrieveRequestExpandItem", "EeocsRetrieveRequestRemoteFields", "EeocsRetrieveRequestShowEnumOrigins", "EmailAddress", @@ -695,11 +774,16 @@ def __dir__(): "FieldPermissionDeserializer", "FieldPermissionDeserializerRequest", "GenderEnum", + "IgnoreCommonModelRequest", "IgnoreCommonModelRequestReason", "IndividualCommonModelScopeDeserializer", "IndividualCommonModelScopeDeserializerRequest", - "InterviewsListRequestExpand", - "InterviewsRetrieveRequestExpand", + "InterviewsListRequestExpandItem", + "InterviewsListRequestRemoteFields", + "InterviewsListRequestShowEnumOrigins", + "InterviewsRetrieveRequestExpandItem", + "InterviewsRetrieveRequestRemoteFields", + "InterviewsRetrieveRequestShowEnumOrigins", "Issue", "IssueStatus", "IssueStatusEnum", @@ -709,22 +793,30 @@ def __dir__(): "JobHiringManagersItem", "JobInterviewStage", "JobInterviewStageJob", + "JobInterviewStagesListRequestExpandItem", + "JobInterviewStagesRetrieveRequestExpandItem", "JobOfficesItem", "JobPosting", "JobPostingJob", "JobPostingJobPostingUrlsItem", "JobPostingStatus", "JobPostingStatusEnum", + "JobPostingsListRequestExpandItem", "JobPostingsListRequestStatus", + "JobPostingsRetrieveRequestExpandItem", "JobRecruitersItem", "JobStatus", "JobStatusEnum", "JobType", "JobTypeEnum", - "JobsListRequestExpand", + "JobsListRequestExpandItem", + "JobsListRequestRemoteFields", + "JobsListRequestShowEnumOrigins", "JobsListRequestStatus", - "JobsRetrieveRequestExpand", - "JobsScreeningQuestionsListRequestExpand", + "JobsRetrieveRequestExpandItem", + "JobsRetrieveRequestRemoteFields", + "JobsRetrieveRequestShowEnumOrigins", + "JobsScreeningQuestionsListRequestExpandItem", "LanguageEnum", "LastSyncResultEnum", "LinkToken", @@ -742,8 +834,12 @@ def __dir__(): "OfferCreator", "OfferStatus", "OfferStatusEnum", - "OffersListRequestExpand", - "OffersRetrieveRequestExpand", + "OffersListRequestExpandItem", + "OffersListRequestRemoteFields", + "OffersListRequestShowEnumOrigins", + "OffersRetrieveRequestExpandItem", + "OffersRetrieveRequestRemoteFields", + "OffersRetrieveRequestShowEnumOrigins", "Office", "OverallRecommendationEnum", "PaginatedAccountDetailsAndActionsList", @@ -808,8 +904,12 @@ def __dir__(): "ScorecardInterview", "ScorecardInterviewer", "ScorecardOverallRecommendation", - "ScorecardsListRequestExpand", - "ScorecardsRetrieveRequestExpand", + "ScorecardsListRequestExpandItem", + "ScorecardsListRequestRemoteFields", + "ScorecardsListRequestShowEnumOrigins", + "ScorecardsRetrieveRequestExpandItem", + "ScorecardsRetrieveRequestRemoteFields", + "ScorecardsRetrieveRequestShowEnumOrigins", "ScreeningQuestion", "ScreeningQuestionAnswer", "ScreeningQuestionAnswerQuestion", @@ -830,6 +930,10 @@ def __dir__(): "UrlRequestUrlType", "UrlTypeEnum", "UrlUrlType", + "UsersListRequestRemoteFields", + "UsersListRequestShowEnumOrigins", + "UsersRetrieveRequestRemoteFields", + "UsersRetrieveRequestShowEnumOrigins", "ValidationProblemSource", "VeteranStatusEnum", "VisibilityEnum", diff --git a/src/merge/resources/ats/resources/__init__.py b/src/merge/resources/ats/resources/__init__.py index c04b082b..7ad616e2 100644 --- a/src/merge/resources/ats/resources/__init__.py +++ b/src/merge/resources/ats/resources/__init__.py @@ -42,95 +42,179 @@ webhook_receivers, ) from .activities import ( + ActivitiesListRequestExpandItem, ActivitiesListRequestRemoteFields, ActivitiesListRequestShowEnumOrigins, + ActivitiesRetrieveRequestExpandItem, ActivitiesRetrieveRequestRemoteFields, ActivitiesRetrieveRequestShowEnumOrigins, ) - from .applications import ApplicationsListRequestExpand, ApplicationsRetrieveRequestExpand + from .applications import ApplicationsListRequestExpandItem, ApplicationsRetrieveRequestExpandItem from .async_passthrough import AsyncPassthroughRetrieveResponse - from .candidates import CandidatesListRequestExpand, CandidatesRetrieveRequestExpand, IgnoreCommonModelRequestReason + from .attachments import ( + AttachmentsListRequestExpandItem, + AttachmentsListRequestRemoteFields, + AttachmentsListRequestShowEnumOrigins, + AttachmentsRetrieveRequestExpandItem, + AttachmentsRetrieveRequestRemoteFields, + AttachmentsRetrieveRequestShowEnumOrigins, + ) + from .candidates import CandidatesListRequestExpandItem, CandidatesRetrieveRequestExpandItem from .eeocs import ( + EeocsListRequestExpandItem, EeocsListRequestRemoteFields, EeocsListRequestShowEnumOrigins, + EeocsRetrieveRequestExpandItem, EeocsRetrieveRequestRemoteFields, EeocsRetrieveRequestShowEnumOrigins, ) - from .interviews import InterviewsListRequestExpand, InterviewsRetrieveRequestExpand + from .interviews import ( + InterviewsListRequestExpandItem, + InterviewsListRequestRemoteFields, + InterviewsListRequestShowEnumOrigins, + InterviewsRetrieveRequestExpandItem, + InterviewsRetrieveRequestRemoteFields, + InterviewsRetrieveRequestShowEnumOrigins, + ) from .issues import IssuesListRequestStatus - from .job_postings import JobPostingsListRequestStatus + from .job_interview_stages import ( + JobInterviewStagesListRequestExpandItem, + JobInterviewStagesRetrieveRequestExpandItem, + ) + from .job_postings import ( + JobPostingsListRequestExpandItem, + JobPostingsListRequestStatus, + JobPostingsRetrieveRequestExpandItem, + ) from .jobs import ( - JobsListRequestExpand, + JobsListRequestExpandItem, + JobsListRequestRemoteFields, + JobsListRequestShowEnumOrigins, JobsListRequestStatus, - JobsRetrieveRequestExpand, - JobsScreeningQuestionsListRequestExpand, + JobsRetrieveRequestExpandItem, + JobsRetrieveRequestRemoteFields, + JobsRetrieveRequestShowEnumOrigins, + JobsScreeningQuestionsListRequestExpandItem, ) from .link_token import EndUserDetailsRequestLanguage from .linked_accounts import LinkedAccountsListRequestCategory - from .offers import OffersListRequestExpand, OffersRetrieveRequestExpand - from .scorecards import ScorecardsListRequestExpand, ScorecardsRetrieveRequestExpand + from .offers import ( + OffersListRequestExpandItem, + OffersListRequestRemoteFields, + OffersListRequestShowEnumOrigins, + OffersRetrieveRequestExpandItem, + OffersRetrieveRequestRemoteFields, + OffersRetrieveRequestShowEnumOrigins, + ) + from .scorecards import ( + ScorecardsListRequestExpandItem, + ScorecardsListRequestRemoteFields, + ScorecardsListRequestShowEnumOrigins, + ScorecardsRetrieveRequestExpandItem, + ScorecardsRetrieveRequestRemoteFields, + ScorecardsRetrieveRequestShowEnumOrigins, + ) + from .users import ( + UsersListRequestRemoteFields, + UsersListRequestShowEnumOrigins, + UsersRetrieveRequestRemoteFields, + UsersRetrieveRequestShowEnumOrigins, + ) _dynamic_imports: typing.Dict[str, str] = { + "ActivitiesListRequestExpandItem": ".activities", "ActivitiesListRequestRemoteFields": ".activities", "ActivitiesListRequestShowEnumOrigins": ".activities", + "ActivitiesRetrieveRequestExpandItem": ".activities", "ActivitiesRetrieveRequestRemoteFields": ".activities", "ActivitiesRetrieveRequestShowEnumOrigins": ".activities", - "ApplicationsListRequestExpand": ".applications", - "ApplicationsRetrieveRequestExpand": ".applications", + "ApplicationsListRequestExpandItem": ".applications", + "ApplicationsRetrieveRequestExpandItem": ".applications", "AsyncPassthroughRetrieveResponse": ".async_passthrough", - "CandidatesListRequestExpand": ".candidates", - "CandidatesRetrieveRequestExpand": ".candidates", + "AttachmentsListRequestExpandItem": ".attachments", + "AttachmentsListRequestRemoteFields": ".attachments", + "AttachmentsListRequestShowEnumOrigins": ".attachments", + "AttachmentsRetrieveRequestExpandItem": ".attachments", + "AttachmentsRetrieveRequestRemoteFields": ".attachments", + "AttachmentsRetrieveRequestShowEnumOrigins": ".attachments", + "CandidatesListRequestExpandItem": ".candidates", + "CandidatesRetrieveRequestExpandItem": ".candidates", + "EeocsListRequestExpandItem": ".eeocs", "EeocsListRequestRemoteFields": ".eeocs", "EeocsListRequestShowEnumOrigins": ".eeocs", + "EeocsRetrieveRequestExpandItem": ".eeocs", "EeocsRetrieveRequestRemoteFields": ".eeocs", "EeocsRetrieveRequestShowEnumOrigins": ".eeocs", "EndUserDetailsRequestLanguage": ".link_token", - "IgnoreCommonModelRequestReason": ".candidates", - "InterviewsListRequestExpand": ".interviews", - "InterviewsRetrieveRequestExpand": ".interviews", + "InterviewsListRequestExpandItem": ".interviews", + "InterviewsListRequestRemoteFields": ".interviews", + "InterviewsListRequestShowEnumOrigins": ".interviews", + "InterviewsRetrieveRequestExpandItem": ".interviews", + "InterviewsRetrieveRequestRemoteFields": ".interviews", + "InterviewsRetrieveRequestShowEnumOrigins": ".interviews", "IssuesListRequestStatus": ".issues", + "JobInterviewStagesListRequestExpandItem": ".job_interview_stages", + "JobInterviewStagesRetrieveRequestExpandItem": ".job_interview_stages", + "JobPostingsListRequestExpandItem": ".job_postings", "JobPostingsListRequestStatus": ".job_postings", - "JobsListRequestExpand": ".jobs", + "JobPostingsRetrieveRequestExpandItem": ".job_postings", + "JobsListRequestExpandItem": ".jobs", + "JobsListRequestRemoteFields": ".jobs", + "JobsListRequestShowEnumOrigins": ".jobs", "JobsListRequestStatus": ".jobs", - "JobsRetrieveRequestExpand": ".jobs", - "JobsScreeningQuestionsListRequestExpand": ".jobs", + "JobsRetrieveRequestExpandItem": ".jobs", + "JobsRetrieveRequestRemoteFields": ".jobs", + "JobsRetrieveRequestShowEnumOrigins": ".jobs", + "JobsScreeningQuestionsListRequestExpandItem": ".jobs", "LinkedAccountsListRequestCategory": ".linked_accounts", - "OffersListRequestExpand": ".offers", - "OffersRetrieveRequestExpand": ".offers", - "ScorecardsListRequestExpand": ".scorecards", - "ScorecardsRetrieveRequestExpand": ".scorecards", - "account_details": ".", - "account_token": ".", - "activities": ".", - "applications": ".", - "async_passthrough": ".", - "attachments": ".", - "audit_trail": ".", - "available_actions": ".", - "candidates": ".", - "delete_account": ".", - "departments": ".", - "eeocs": ".", - "field_mapping": ".", - "force_resync": ".", - "generate_key": ".", - "interviews": ".", - "issues": ".", - "job_interview_stages": ".", - "job_postings": ".", - "jobs": ".", - "link_token": ".", - "linked_accounts": ".", - "offers": ".", - "offices": ".", - "passthrough": ".", - "regenerate_key": ".", - "reject_reasons": ".", - "scopes": ".", - "scorecards": ".", - "sync_status": ".", - "tags": ".", - "users": ".", - "webhook_receivers": ".", + "OffersListRequestExpandItem": ".offers", + "OffersListRequestRemoteFields": ".offers", + "OffersListRequestShowEnumOrigins": ".offers", + "OffersRetrieveRequestExpandItem": ".offers", + "OffersRetrieveRequestRemoteFields": ".offers", + "OffersRetrieveRequestShowEnumOrigins": ".offers", + "ScorecardsListRequestExpandItem": ".scorecards", + "ScorecardsListRequestRemoteFields": ".scorecards", + "ScorecardsListRequestShowEnumOrigins": ".scorecards", + "ScorecardsRetrieveRequestExpandItem": ".scorecards", + "ScorecardsRetrieveRequestRemoteFields": ".scorecards", + "ScorecardsRetrieveRequestShowEnumOrigins": ".scorecards", + "UsersListRequestRemoteFields": ".users", + "UsersListRequestShowEnumOrigins": ".users", + "UsersRetrieveRequestRemoteFields": ".users", + "UsersRetrieveRequestShowEnumOrigins": ".users", + "account_details": ".account_details", + "account_token": ".account_token", + "activities": ".activities", + "applications": ".applications", + "async_passthrough": ".async_passthrough", + "attachments": ".attachments", + "audit_trail": ".audit_trail", + "available_actions": ".available_actions", + "candidates": ".candidates", + "delete_account": ".delete_account", + "departments": ".departments", + "eeocs": ".eeocs", + "field_mapping": ".field_mapping", + "force_resync": ".force_resync", + "generate_key": ".generate_key", + "interviews": ".interviews", + "issues": ".issues", + "job_interview_stages": ".job_interview_stages", + "job_postings": ".job_postings", + "jobs": ".jobs", + "link_token": ".link_token", + "linked_accounts": ".linked_accounts", + "offers": ".offers", + "offices": ".offices", + "passthrough": ".passthrough", + "regenerate_key": ".regenerate_key", + "reject_reasons": ".reject_reasons", + "scopes": ".scopes", + "scorecards": ".scorecards", + "sync_status": ".sync_status", + "tags": ".tags", + "users": ".users", + "webhook_receivers": ".webhook_receivers", } @@ -140,8 +224,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -154,34 +240,67 @@ def __dir__(): __all__ = [ + "ActivitiesListRequestExpandItem", "ActivitiesListRequestRemoteFields", "ActivitiesListRequestShowEnumOrigins", + "ActivitiesRetrieveRequestExpandItem", "ActivitiesRetrieveRequestRemoteFields", "ActivitiesRetrieveRequestShowEnumOrigins", - "ApplicationsListRequestExpand", - "ApplicationsRetrieveRequestExpand", + "ApplicationsListRequestExpandItem", + "ApplicationsRetrieveRequestExpandItem", "AsyncPassthroughRetrieveResponse", - "CandidatesListRequestExpand", - "CandidatesRetrieveRequestExpand", + "AttachmentsListRequestExpandItem", + "AttachmentsListRequestRemoteFields", + "AttachmentsListRequestShowEnumOrigins", + "AttachmentsRetrieveRequestExpandItem", + "AttachmentsRetrieveRequestRemoteFields", + "AttachmentsRetrieveRequestShowEnumOrigins", + "CandidatesListRequestExpandItem", + "CandidatesRetrieveRequestExpandItem", + "EeocsListRequestExpandItem", "EeocsListRequestRemoteFields", "EeocsListRequestShowEnumOrigins", + "EeocsRetrieveRequestExpandItem", "EeocsRetrieveRequestRemoteFields", "EeocsRetrieveRequestShowEnumOrigins", "EndUserDetailsRequestLanguage", - "IgnoreCommonModelRequestReason", - "InterviewsListRequestExpand", - "InterviewsRetrieveRequestExpand", + "InterviewsListRequestExpandItem", + "InterviewsListRequestRemoteFields", + "InterviewsListRequestShowEnumOrigins", + "InterviewsRetrieveRequestExpandItem", + "InterviewsRetrieveRequestRemoteFields", + "InterviewsRetrieveRequestShowEnumOrigins", "IssuesListRequestStatus", + "JobInterviewStagesListRequestExpandItem", + "JobInterviewStagesRetrieveRequestExpandItem", + "JobPostingsListRequestExpandItem", "JobPostingsListRequestStatus", - "JobsListRequestExpand", + "JobPostingsRetrieveRequestExpandItem", + "JobsListRequestExpandItem", + "JobsListRequestRemoteFields", + "JobsListRequestShowEnumOrigins", "JobsListRequestStatus", - "JobsRetrieveRequestExpand", - "JobsScreeningQuestionsListRequestExpand", + "JobsRetrieveRequestExpandItem", + "JobsRetrieveRequestRemoteFields", + "JobsRetrieveRequestShowEnumOrigins", + "JobsScreeningQuestionsListRequestExpandItem", "LinkedAccountsListRequestCategory", - "OffersListRequestExpand", - "OffersRetrieveRequestExpand", - "ScorecardsListRequestExpand", - "ScorecardsRetrieveRequestExpand", + "OffersListRequestExpandItem", + "OffersListRequestRemoteFields", + "OffersListRequestShowEnumOrigins", + "OffersRetrieveRequestExpandItem", + "OffersRetrieveRequestRemoteFields", + "OffersRetrieveRequestShowEnumOrigins", + "ScorecardsListRequestExpandItem", + "ScorecardsListRequestRemoteFields", + "ScorecardsListRequestShowEnumOrigins", + "ScorecardsRetrieveRequestExpandItem", + "ScorecardsRetrieveRequestRemoteFields", + "ScorecardsRetrieveRequestShowEnumOrigins", + "UsersListRequestRemoteFields", + "UsersListRequestShowEnumOrigins", + "UsersRetrieveRequestRemoteFields", + "UsersRetrieveRequestShowEnumOrigins", "account_details", "account_token", "activities", diff --git a/src/merge/resources/ats/resources/activities/__init__.py b/src/merge/resources/ats/resources/activities/__init__.py index a365e7bc..2696eac7 100644 --- a/src/merge/resources/ats/resources/activities/__init__.py +++ b/src/merge/resources/ats/resources/activities/__init__.py @@ -7,14 +7,18 @@ if typing.TYPE_CHECKING: from .types import ( + ActivitiesListRequestExpandItem, ActivitiesListRequestRemoteFields, ActivitiesListRequestShowEnumOrigins, + ActivitiesRetrieveRequestExpandItem, ActivitiesRetrieveRequestRemoteFields, ActivitiesRetrieveRequestShowEnumOrigins, ) _dynamic_imports: typing.Dict[str, str] = { + "ActivitiesListRequestExpandItem": ".types", "ActivitiesListRequestRemoteFields": ".types", "ActivitiesListRequestShowEnumOrigins": ".types", + "ActivitiesRetrieveRequestExpandItem": ".types", "ActivitiesRetrieveRequestRemoteFields": ".types", "ActivitiesRetrieveRequestShowEnumOrigins": ".types", } @@ -26,8 +30,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -40,8 +46,10 @@ def __dir__(): __all__ = [ + "ActivitiesListRequestExpandItem", "ActivitiesListRequestRemoteFields", "ActivitiesListRequestShowEnumOrigins", + "ActivitiesRetrieveRequestExpandItem", "ActivitiesRetrieveRequestRemoteFields", "ActivitiesRetrieveRequestShowEnumOrigins", ] diff --git a/src/merge/resources/ats/resources/activities/client.py b/src/merge/resources/ats/resources/activities/client.py index f7499b30..006d562e 100644 --- a/src/merge/resources/ats/resources/activities/client.py +++ b/src/merge/resources/ats/resources/activities/client.py @@ -4,6 +4,7 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.activity import Activity from ...types.activity_request import ActivityRequest @@ -11,8 +12,10 @@ from ...types.meta_response import MetaResponse from ...types.paginated_activity_list import PaginatedActivityList from .raw_client import AsyncRawActivitiesClient, RawActivitiesClient +from .types.activities_list_request_expand_item import ActivitiesListRequestExpandItem from .types.activities_list_request_remote_fields import ActivitiesListRequestRemoteFields from .types.activities_list_request_show_enum_origins import ActivitiesListRequestShowEnumOrigins +from .types.activities_retrieve_request_expand_item import ActivitiesRetrieveRequestExpandItem from .types.activities_retrieve_request_remote_fields import ActivitiesRetrieveRequestRemoteFields from .types.activities_retrieve_request_show_enum_origins import ActivitiesRetrieveRequestShowEnumOrigins @@ -41,7 +44,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["user"]] = None, + expand: typing.Optional[ + typing.Union[ActivitiesListRequestExpandItem, typing.Sequence[ActivitiesListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -53,7 +58,7 @@ def list( show_enum_origins: typing.Optional[ActivitiesListRequestShowEnumOrigins] = None, user_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedActivityList: + ) -> SyncPager[Activity, PaginatedActivityList]: """ Returns a list of `Activity` objects. @@ -68,7 +73,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["user"]] + expand : typing.Optional[typing.Union[ActivitiesListRequestExpandItem, typing.Sequence[ActivitiesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -106,48 +111,27 @@ def list( Returns ------- - PaginatedActivityList + SyncPager[Activity, PaginatedActivityList] Examples -------- - import datetime - from merge import Merge - from merge.resources.ats.resources.activities import ( - ActivitiesListRequestRemoteFields, - ActivitiesListRequestShowEnumOrigins, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ats.activities.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = client.ats.activities.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_fields=ActivitiesListRequestRemoteFields.ACTIVITY_TYPE, - remote_id="remote_id", - show_enum_origins=ActivitiesListRequestShowEnumOrigins.ACTIVITY_TYPE, - user_id="user_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -164,7 +148,6 @@ def list( user_id=user_id, request_options=request_options, ) - return _response.data def create( self, @@ -208,8 +191,6 @@ def create( api_key="YOUR_API_KEY", ) client.ats.activities.create( - is_debug_mode=True, - run_async=True, model=ActivityRequest(), remote_user_id="remote_user_id", ) @@ -227,7 +208,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["user"]] = None, + expand: typing.Optional[ + typing.Union[ActivitiesRetrieveRequestExpandItem, typing.Sequence[ActivitiesRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[ActivitiesRetrieveRequestRemoteFields] = None, @@ -241,7 +224,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["user"]] + expand : typing.Optional[typing.Union[ActivitiesRetrieveRequestExpandItem, typing.Sequence[ActivitiesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -267,10 +250,6 @@ def retrieve( Examples -------- from merge import Merge - from merge.resources.ats.resources.activities import ( - ActivitiesRetrieveRequestRemoteFields, - ActivitiesRetrieveRequestShowEnumOrigins, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -278,10 +257,6 @@ def retrieve( ) client.ats.activities.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, - remote_fields=ActivitiesRetrieveRequestRemoteFields.ACTIVITY_TYPE, - show_enum_origins=ActivitiesRetrieveRequestShowEnumOrigins.ACTIVITY_TYPE, ) """ _response = self._raw_client.retrieve( @@ -344,7 +319,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["user"]] = None, + expand: typing.Optional[ + typing.Union[ActivitiesListRequestExpandItem, typing.Sequence[ActivitiesListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -356,7 +333,7 @@ async def list( show_enum_origins: typing.Optional[ActivitiesListRequestShowEnumOrigins] = None, user_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedActivityList: + ) -> AsyncPager[Activity, PaginatedActivityList]: """ Returns a list of `Activity` objects. @@ -371,7 +348,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["user"]] + expand : typing.Optional[typing.Union[ActivitiesListRequestExpandItem, typing.Sequence[ActivitiesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -409,19 +386,14 @@ async def list( Returns ------- - PaginatedActivityList + AsyncPager[Activity, PaginatedActivityList] Examples -------- import asyncio - import datetime from merge import AsyncMerge - from merge.resources.ats.resources.activities import ( - ActivitiesListRequestRemoteFields, - ActivitiesListRequestShowEnumOrigins, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -430,34 +402,20 @@ async def list( async def main() -> None: - await client.ats.activities.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = await client.ats.activities.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_fields=ActivitiesListRequestRemoteFields.ACTIVITY_TYPE, - remote_id="remote_id", - show_enum_origins=ActivitiesListRequestShowEnumOrigins.ACTIVITY_TYPE, - user_id="user_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -474,7 +432,6 @@ async def main() -> None: user_id=user_id, request_options=request_options, ) - return _response.data async def create( self, @@ -523,8 +480,6 @@ async def create( async def main() -> None: await client.ats.activities.create( - is_debug_mode=True, - run_async=True, model=ActivityRequest(), remote_user_id="remote_user_id", ) @@ -545,7 +500,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["user"]] = None, + expand: typing.Optional[ + typing.Union[ActivitiesRetrieveRequestExpandItem, typing.Sequence[ActivitiesRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[ActivitiesRetrieveRequestRemoteFields] = None, @@ -559,7 +516,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["user"]] + expand : typing.Optional[typing.Union[ActivitiesRetrieveRequestExpandItem, typing.Sequence[ActivitiesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -587,10 +544,6 @@ async def retrieve( import asyncio from merge import AsyncMerge - from merge.resources.ats.resources.activities import ( - ActivitiesRetrieveRequestRemoteFields, - ActivitiesRetrieveRequestShowEnumOrigins, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -601,10 +554,6 @@ async def retrieve( async def main() -> None: await client.ats.activities.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, - remote_fields=ActivitiesRetrieveRequestRemoteFields.ACTIVITY_TYPE, - show_enum_origins=ActivitiesRetrieveRequestShowEnumOrigins.ACTIVITY_TYPE, ) diff --git a/src/merge/resources/ats/resources/activities/raw_client.py b/src/merge/resources/ats/resources/activities/raw_client.py index f707a679..936aca60 100644 --- a/src/merge/resources/ats/resources/activities/raw_client.py +++ b/src/merge/resources/ats/resources/activities/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.activity import Activity @@ -16,8 +17,10 @@ from ...types.activity_response import ActivityResponse from ...types.meta_response import MetaResponse from ...types.paginated_activity_list import PaginatedActivityList +from .types.activities_list_request_expand_item import ActivitiesListRequestExpandItem from .types.activities_list_request_remote_fields import ActivitiesListRequestRemoteFields from .types.activities_list_request_show_enum_origins import ActivitiesListRequestShowEnumOrigins +from .types.activities_retrieve_request_expand_item import ActivitiesRetrieveRequestExpandItem from .types.activities_retrieve_request_remote_fields import ActivitiesRetrieveRequestRemoteFields from .types.activities_retrieve_request_show_enum_origins import ActivitiesRetrieveRequestShowEnumOrigins @@ -35,7 +38,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["user"]] = None, + expand: typing.Optional[ + typing.Union[ActivitiesListRequestExpandItem, typing.Sequence[ActivitiesListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -47,7 +52,7 @@ def list( show_enum_origins: typing.Optional[ActivitiesListRequestShowEnumOrigins] = None, user_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedActivityList]: + ) -> SyncPager[Activity, PaginatedActivityList]: """ Returns a list of `Activity` objects. @@ -62,7 +67,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["user"]] + expand : typing.Optional[typing.Union[ActivitiesListRequestExpandItem, typing.Sequence[ActivitiesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -100,7 +105,7 @@ def list( Returns ------- - HttpResponse[PaginatedActivityList] + SyncPager[Activity, PaginatedActivityList] """ _response = self._client_wrapper.httpx_client.request( @@ -126,14 +131,34 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedActivityList, construct_type( type_=PaginatedActivityList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + user_id=user_id, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -207,7 +232,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["user"]] = None, + expand: typing.Optional[ + typing.Union[ActivitiesRetrieveRequestExpandItem, typing.Sequence[ActivitiesRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[ActivitiesRetrieveRequestRemoteFields] = None, @@ -221,7 +248,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["user"]] + expand : typing.Optional[typing.Union[ActivitiesRetrieveRequestExpandItem, typing.Sequence[ActivitiesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -318,7 +345,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["user"]] = None, + expand: typing.Optional[ + typing.Union[ActivitiesListRequestExpandItem, typing.Sequence[ActivitiesListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -330,7 +359,7 @@ async def list( show_enum_origins: typing.Optional[ActivitiesListRequestShowEnumOrigins] = None, user_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedActivityList]: + ) -> AsyncPager[Activity, PaginatedActivityList]: """ Returns a list of `Activity` objects. @@ -345,7 +374,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["user"]] + expand : typing.Optional[typing.Union[ActivitiesListRequestExpandItem, typing.Sequence[ActivitiesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -383,7 +412,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedActivityList] + AsyncPager[Activity, PaginatedActivityList] """ _response = await self._client_wrapper.httpx_client.request( @@ -409,14 +438,37 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedActivityList, construct_type( type_=PaginatedActivityList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + user_id=user_id, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -490,7 +542,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["user"]] = None, + expand: typing.Optional[ + typing.Union[ActivitiesRetrieveRequestExpandItem, typing.Sequence[ActivitiesRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[ActivitiesRetrieveRequestRemoteFields] = None, @@ -504,7 +558,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["user"]] + expand : typing.Optional[typing.Union[ActivitiesRetrieveRequestExpandItem, typing.Sequence[ActivitiesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/ats/resources/activities/types/__init__.py b/src/merge/resources/ats/resources/activities/types/__init__.py index 319b7dae..78284dcf 100644 --- a/src/merge/resources/ats/resources/activities/types/__init__.py +++ b/src/merge/resources/ats/resources/activities/types/__init__.py @@ -6,13 +6,17 @@ from importlib import import_module if typing.TYPE_CHECKING: + from .activities_list_request_expand_item import ActivitiesListRequestExpandItem from .activities_list_request_remote_fields import ActivitiesListRequestRemoteFields from .activities_list_request_show_enum_origins import ActivitiesListRequestShowEnumOrigins + from .activities_retrieve_request_expand_item import ActivitiesRetrieveRequestExpandItem from .activities_retrieve_request_remote_fields import ActivitiesRetrieveRequestRemoteFields from .activities_retrieve_request_show_enum_origins import ActivitiesRetrieveRequestShowEnumOrigins _dynamic_imports: typing.Dict[str, str] = { + "ActivitiesListRequestExpandItem": ".activities_list_request_expand_item", "ActivitiesListRequestRemoteFields": ".activities_list_request_remote_fields", "ActivitiesListRequestShowEnumOrigins": ".activities_list_request_show_enum_origins", + "ActivitiesRetrieveRequestExpandItem": ".activities_retrieve_request_expand_item", "ActivitiesRetrieveRequestRemoteFields": ".activities_retrieve_request_remote_fields", "ActivitiesRetrieveRequestShowEnumOrigins": ".activities_retrieve_request_show_enum_origins", } @@ -24,8 +28,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -38,8 +44,10 @@ def __dir__(): __all__ = [ + "ActivitiesListRequestExpandItem", "ActivitiesListRequestRemoteFields", "ActivitiesListRequestShowEnumOrigins", + "ActivitiesRetrieveRequestExpandItem", "ActivitiesRetrieveRequestRemoteFields", "ActivitiesRetrieveRequestShowEnumOrigins", ] diff --git a/src/merge/resources/ats/resources/activities/types/activities_list_request_expand_item.py b/src/merge/resources/ats/resources/activities/types/activities_list_request_expand_item.py new file mode 100644 index 00000000..c44c36ec --- /dev/null +++ b/src/merge/resources/ats/resources/activities/types/activities_list_request_expand_item.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class ActivitiesListRequestExpandItem(str, enum.Enum): + USER = "user" + + def visit(self, user: typing.Callable[[], T_Result]) -> T_Result: + if self is ActivitiesListRequestExpandItem.USER: + return user() diff --git a/src/merge/resources/ats/resources/activities/types/activities_retrieve_request_expand_item.py b/src/merge/resources/ats/resources/activities/types/activities_retrieve_request_expand_item.py new file mode 100644 index 00000000..8d28d968 --- /dev/null +++ b/src/merge/resources/ats/resources/activities/types/activities_retrieve_request_expand_item.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class ActivitiesRetrieveRequestExpandItem(str, enum.Enum): + USER = "user" + + def visit(self, user: typing.Callable[[], T_Result]) -> T_Result: + if self is ActivitiesRetrieveRequestExpandItem.USER: + return user() diff --git a/src/merge/resources/ats/resources/applications/__init__.py b/src/merge/resources/ats/resources/applications/__init__.py index 1dddf3ff..15079471 100644 --- a/src/merge/resources/ats/resources/applications/__init__.py +++ b/src/merge/resources/ats/resources/applications/__init__.py @@ -6,10 +6,10 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .types import ApplicationsListRequestExpand, ApplicationsRetrieveRequestExpand + from .types import ApplicationsListRequestExpandItem, ApplicationsRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "ApplicationsListRequestExpand": ".types", - "ApplicationsRetrieveRequestExpand": ".types", + "ApplicationsListRequestExpandItem": ".types", + "ApplicationsRetrieveRequestExpandItem": ".types", } @@ -19,8 +19,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -32,4 +34,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["ApplicationsListRequestExpand", "ApplicationsRetrieveRequestExpand"] +__all__ = ["ApplicationsListRequestExpandItem", "ApplicationsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/ats/resources/applications/client.py b/src/merge/resources/ats/resources/applications/client.py index a9eafd97..1f107a78 100644 --- a/src/merge/resources/ats/resources/applications/client.py +++ b/src/merge/resources/ats/resources/applications/client.py @@ -4,6 +4,7 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.application import Application from ...types.application_request import ApplicationRequest @@ -11,8 +12,8 @@ from ...types.meta_response import MetaResponse from ...types.paginated_application_list import PaginatedApplicationList from .raw_client import AsyncRawApplicationsClient, RawApplicationsClient -from .types.applications_list_request_expand import ApplicationsListRequestExpand -from .types.applications_retrieve_request_expand import ApplicationsRetrieveRequestExpand +from .types.applications_list_request_expand_item import ApplicationsListRequestExpandItem +from .types.applications_retrieve_request_expand_item import ApplicationsRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -42,7 +43,9 @@ def list( credited_to_id: typing.Optional[str] = None, current_stage_id: typing.Optional[str] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[ApplicationsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ApplicationsListRequestExpandItem, typing.Sequence[ApplicationsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -54,7 +57,7 @@ def list( remote_id: typing.Optional[str] = None, source: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedApplicationList: + ) -> SyncPager[Application, PaginatedApplicationList]: """ Returns a list of `Application` objects. @@ -78,7 +81,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[ApplicationsListRequestExpand] + expand : typing.Optional[typing.Union[ApplicationsListRequestExpandItem, typing.Sequence[ApplicationsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -116,51 +119,27 @@ def list( Returns ------- - PaginatedApplicationList + SyncPager[Application, PaginatedApplicationList] Examples -------- - import datetime - from merge import Merge - from merge.resources.ats.resources.applications import ( - ApplicationsListRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ats.applications.list( - candidate_id="candidate_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - credited_to_id="credited_to_id", - current_stage_id="current_stage_id", + response = client.ats.applications.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=ApplicationsListRequestExpand.CANDIDATE, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - job_id="job_id", - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - reject_reason_id="reject_reason_id", - remote_id="remote_id", - source="source", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( candidate_id=candidate_id, created_after=created_after, created_before=created_before, @@ -180,7 +159,6 @@ def list( source=source, request_options=request_options, ) - return _response.data def create( self, @@ -227,8 +205,6 @@ def create( api_key="YOUR_API_KEY", ) client.ats.applications.create( - is_debug_mode=True, - run_async=True, model=ApplicationRequest(), remote_user_id="remote_user_id", ) @@ -246,7 +222,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[ApplicationsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ApplicationsRetrieveRequestExpandItem, typing.Sequence[ApplicationsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -258,7 +236,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[ApplicationsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[ApplicationsRetrieveRequestExpandItem, typing.Sequence[ApplicationsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -278,9 +256,6 @@ def retrieve( Examples -------- from merge import Merge - from merge.resources.ats.resources.applications import ( - ApplicationsRetrieveRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -288,9 +263,6 @@ def retrieve( ) client.ats.applications.retrieve( id="id", - expand=ApplicationsRetrieveRequestExpand.CANDIDATE, - include_remote_data=True, - include_shell_data=True, ) """ _response = self._raw_client.retrieve( @@ -348,8 +320,6 @@ def change_stage_create( ) client.ats.applications.change_stage_create( id="id", - is_debug_mode=True, - run_async=True, ) """ _response = self._raw_client.change_stage_create( @@ -392,9 +362,7 @@ def meta_post_retrieve( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ats.applications.meta_post_retrieve( - application_remote_template_id="application_remote_template_id", - ) + client.ats.applications.meta_post_retrieve() """ _response = self._raw_client.meta_post_retrieve( application_remote_template_id=application_remote_template_id, request_options=request_options @@ -426,7 +394,9 @@ async def list( credited_to_id: typing.Optional[str] = None, current_stage_id: typing.Optional[str] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[ApplicationsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ApplicationsListRequestExpandItem, typing.Sequence[ApplicationsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -438,7 +408,7 @@ async def list( remote_id: typing.Optional[str] = None, source: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedApplicationList: + ) -> AsyncPager[Application, PaginatedApplicationList]: """ Returns a list of `Application` objects. @@ -462,7 +432,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[ApplicationsListRequestExpand] + expand : typing.Optional[typing.Union[ApplicationsListRequestExpandItem, typing.Sequence[ApplicationsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -500,18 +470,14 @@ async def list( Returns ------- - PaginatedApplicationList + AsyncPager[Application, PaginatedApplicationList] Examples -------- import asyncio - import datetime from merge import AsyncMerge - from merge.resources.ats.resources.applications import ( - ApplicationsListRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -520,38 +486,20 @@ async def list( async def main() -> None: - await client.ats.applications.list( - candidate_id="candidate_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - credited_to_id="credited_to_id", - current_stage_id="current_stage_id", + response = await client.ats.applications.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=ApplicationsListRequestExpand.CANDIDATE, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - job_id="job_id", - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - reject_reason_id="reject_reason_id", - remote_id="remote_id", - source="source", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( candidate_id=candidate_id, created_after=created_after, created_before=created_before, @@ -571,7 +519,6 @@ async def main() -> None: source=source, request_options=request_options, ) - return _response.data async def create( self, @@ -623,8 +570,6 @@ async def create( async def main() -> None: await client.ats.applications.create( - is_debug_mode=True, - run_async=True, model=ApplicationRequest(), remote_user_id="remote_user_id", ) @@ -645,7 +590,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[ApplicationsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ApplicationsRetrieveRequestExpandItem, typing.Sequence[ApplicationsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -657,7 +604,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[ApplicationsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[ApplicationsRetrieveRequestExpandItem, typing.Sequence[ApplicationsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -679,9 +626,6 @@ async def retrieve( import asyncio from merge import AsyncMerge - from merge.resources.ats.resources.applications import ( - ApplicationsRetrieveRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -692,9 +636,6 @@ async def retrieve( async def main() -> None: await client.ats.applications.retrieve( id="id", - expand=ApplicationsRetrieveRequestExpand.CANDIDATE, - include_remote_data=True, - include_shell_data=True, ) @@ -760,8 +701,6 @@ async def change_stage_create( async def main() -> None: await client.ats.applications.change_stage_create( id="id", - is_debug_mode=True, - run_async=True, ) @@ -812,9 +751,7 @@ async def meta_post_retrieve( async def main() -> None: - await client.ats.applications.meta_post_retrieve( - application_remote_template_id="application_remote_template_id", - ) + await client.ats.applications.meta_post_retrieve() asyncio.run(main()) diff --git a/src/merge/resources/ats/resources/applications/raw_client.py b/src/merge/resources/ats/resources/applications/raw_client.py index a6d3ec0e..5879263f 100644 --- a/src/merge/resources/ats/resources/applications/raw_client.py +++ b/src/merge/resources/ats/resources/applications/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.application import Application @@ -16,8 +17,8 @@ from ...types.application_response import ApplicationResponse from ...types.meta_response import MetaResponse from ...types.paginated_application_list import PaginatedApplicationList -from .types.applications_list_request_expand import ApplicationsListRequestExpand -from .types.applications_retrieve_request_expand import ApplicationsRetrieveRequestExpand +from .types.applications_list_request_expand_item import ApplicationsListRequestExpandItem +from .types.applications_retrieve_request_expand_item import ApplicationsRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -36,7 +37,9 @@ def list( credited_to_id: typing.Optional[str] = None, current_stage_id: typing.Optional[str] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[ApplicationsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ApplicationsListRequestExpandItem, typing.Sequence[ApplicationsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -48,7 +51,7 @@ def list( remote_id: typing.Optional[str] = None, source: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedApplicationList]: + ) -> SyncPager[Application, PaginatedApplicationList]: """ Returns a list of `Application` objects. @@ -72,7 +75,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[ApplicationsListRequestExpand] + expand : typing.Optional[typing.Union[ApplicationsListRequestExpandItem, typing.Sequence[ApplicationsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -110,7 +113,7 @@ def list( Returns ------- - HttpResponse[PaginatedApplicationList] + SyncPager[Application, PaginatedApplicationList] """ _response = self._client_wrapper.httpx_client.request( @@ -139,14 +142,37 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedApplicationList, construct_type( type_=PaginatedApplicationList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + candidate_id=candidate_id, + created_after=created_after, + created_before=created_before, + credited_to_id=credited_to_id, + current_stage_id=current_stage_id, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + job_id=job_id, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + reject_reason_id=reject_reason_id, + remote_id=remote_id, + source=source, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -223,7 +249,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[ApplicationsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ApplicationsRetrieveRequestExpandItem, typing.Sequence[ApplicationsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -235,7 +263,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[ApplicationsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[ApplicationsRetrieveRequestExpandItem, typing.Sequence[ApplicationsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -404,7 +432,9 @@ async def list( credited_to_id: typing.Optional[str] = None, current_stage_id: typing.Optional[str] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[ApplicationsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ApplicationsListRequestExpandItem, typing.Sequence[ApplicationsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -416,7 +446,7 @@ async def list( remote_id: typing.Optional[str] = None, source: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedApplicationList]: + ) -> AsyncPager[Application, PaginatedApplicationList]: """ Returns a list of `Application` objects. @@ -440,7 +470,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[ApplicationsListRequestExpand] + expand : typing.Optional[typing.Union[ApplicationsListRequestExpandItem, typing.Sequence[ApplicationsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -478,7 +508,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedApplicationList] + AsyncPager[Application, PaginatedApplicationList] """ _response = await self._client_wrapper.httpx_client.request( @@ -507,14 +537,40 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedApplicationList, construct_type( type_=PaginatedApplicationList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + candidate_id=candidate_id, + created_after=created_after, + created_before=created_before, + credited_to_id=credited_to_id, + current_stage_id=current_stage_id, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + job_id=job_id, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + reject_reason_id=reject_reason_id, + remote_id=remote_id, + source=source, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -591,7 +647,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[ApplicationsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ApplicationsRetrieveRequestExpandItem, typing.Sequence[ApplicationsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -603,7 +661,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[ApplicationsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[ApplicationsRetrieveRequestExpandItem, typing.Sequence[ApplicationsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/ats/resources/applications/types/__init__.py b/src/merge/resources/ats/resources/applications/types/__init__.py index 7a14f0e3..f0f8736a 100644 --- a/src/merge/resources/ats/resources/applications/types/__init__.py +++ b/src/merge/resources/ats/resources/applications/types/__init__.py @@ -6,11 +6,11 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .applications_list_request_expand import ApplicationsListRequestExpand - from .applications_retrieve_request_expand import ApplicationsRetrieveRequestExpand + from .applications_list_request_expand_item import ApplicationsListRequestExpandItem + from .applications_retrieve_request_expand_item import ApplicationsRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "ApplicationsListRequestExpand": ".applications_list_request_expand", - "ApplicationsRetrieveRequestExpand": ".applications_retrieve_request_expand", + "ApplicationsListRequestExpandItem": ".applications_list_request_expand_item", + "ApplicationsRetrieveRequestExpandItem": ".applications_retrieve_request_expand_item", } @@ -20,8 +20,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -33,4 +35,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["ApplicationsListRequestExpand", "ApplicationsRetrieveRequestExpand"] +__all__ = ["ApplicationsListRequestExpandItem", "ApplicationsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/ats/resources/applications/types/applications_list_request_expand.py b/src/merge/resources/ats/resources/applications/types/applications_list_request_expand.py deleted file mode 100644 index bdef9e51..00000000 --- a/src/merge/resources/ats/resources/applications/types/applications_list_request_expand.py +++ /dev/null @@ -1,1737 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class ApplicationsListRequestExpand(str, enum.Enum): - CANDIDATE = "candidate" - CANDIDATE_CREDITED_TO = "candidate,credited_to" - CANDIDATE_CREDITED_TO_CURRENT_STAGE = "candidate,credited_to,current_stage" - CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "candidate,credited_to,current_stage,reject_reason" - CANDIDATE_CREDITED_TO_REJECT_REASON = "candidate,credited_to,reject_reason" - CANDIDATE_CURRENT_STAGE = "candidate,current_stage" - CANDIDATE_CURRENT_STAGE_REJECT_REASON = "candidate,current_stage,reject_reason" - CANDIDATE_JOB = "candidate,job" - CANDIDATE_JOB_CREDITED_TO = "candidate,job,credited_to" - CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE = "candidate,job,credited_to,current_stage" - CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "candidate,job,credited_to,current_stage,reject_reason" - CANDIDATE_JOB_CREDITED_TO_REJECT_REASON = "candidate,job,credited_to,reject_reason" - CANDIDATE_JOB_CURRENT_STAGE = "candidate,job,current_stage" - CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON = "candidate,job,current_stage,reject_reason" - CANDIDATE_JOB_REJECT_REASON = "candidate,job,reject_reason" - CANDIDATE_REJECT_REASON = "candidate,reject_reason" - CREDITED_TO = "credited_to" - CREDITED_TO_CURRENT_STAGE = "credited_to,current_stage" - CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "credited_to,current_stage,reject_reason" - CREDITED_TO_REJECT_REASON = "credited_to,reject_reason" - CURRENT_STAGE = "current_stage" - CURRENT_STAGE_REJECT_REASON = "current_stage,reject_reason" - JOB = "job" - JOB_CREDITED_TO = "job,credited_to" - JOB_CREDITED_TO_CURRENT_STAGE = "job,credited_to,current_stage" - JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "job,credited_to,current_stage,reject_reason" - JOB_CREDITED_TO_REJECT_REASON = "job,credited_to,reject_reason" - JOB_CURRENT_STAGE = "job,current_stage" - JOB_CURRENT_STAGE_REJECT_REASON = "job,current_stage,reject_reason" - JOB_REJECT_REASON = "job,reject_reason" - OFFERS = "offers" - OFFERS_CANDIDATE = "offers,candidate" - OFFERS_CANDIDATE_CREDITED_TO = "offers,candidate,credited_to" - OFFERS_CANDIDATE_CREDITED_TO_CURRENT_STAGE = "offers,candidate,credited_to,current_stage" - OFFERS_CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "offers,candidate,credited_to,current_stage,reject_reason" - ) - OFFERS_CANDIDATE_CREDITED_TO_REJECT_REASON = "offers,candidate,credited_to,reject_reason" - OFFERS_CANDIDATE_CURRENT_STAGE = "offers,candidate,current_stage" - OFFERS_CANDIDATE_CURRENT_STAGE_REJECT_REASON = "offers,candidate,current_stage,reject_reason" - OFFERS_CANDIDATE_JOB = "offers,candidate,job" - OFFERS_CANDIDATE_JOB_CREDITED_TO = "offers,candidate,job,credited_to" - OFFERS_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE = "offers,candidate,job,credited_to,current_stage" - OFFERS_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "offers,candidate,job,credited_to,current_stage,reject_reason" - ) - OFFERS_CANDIDATE_JOB_CREDITED_TO_REJECT_REASON = "offers,candidate,job,credited_to,reject_reason" - OFFERS_CANDIDATE_JOB_CURRENT_STAGE = "offers,candidate,job,current_stage" - OFFERS_CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON = "offers,candidate,job,current_stage,reject_reason" - OFFERS_CANDIDATE_JOB_REJECT_REASON = "offers,candidate,job,reject_reason" - OFFERS_CANDIDATE_REJECT_REASON = "offers,candidate,reject_reason" - OFFERS_CREDITED_TO = "offers,credited_to" - OFFERS_CREDITED_TO_CURRENT_STAGE = "offers,credited_to,current_stage" - OFFERS_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "offers,credited_to,current_stage,reject_reason" - OFFERS_CREDITED_TO_REJECT_REASON = "offers,credited_to,reject_reason" - OFFERS_CURRENT_STAGE = "offers,current_stage" - OFFERS_CURRENT_STAGE_REJECT_REASON = "offers,current_stage,reject_reason" - OFFERS_JOB = "offers,job" - OFFERS_JOB_CREDITED_TO = "offers,job,credited_to" - OFFERS_JOB_CREDITED_TO_CURRENT_STAGE = "offers,job,credited_to,current_stage" - OFFERS_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "offers,job,credited_to,current_stage,reject_reason" - OFFERS_JOB_CREDITED_TO_REJECT_REASON = "offers,job,credited_to,reject_reason" - OFFERS_JOB_CURRENT_STAGE = "offers,job,current_stage" - OFFERS_JOB_CURRENT_STAGE_REJECT_REASON = "offers,job,current_stage,reject_reason" - OFFERS_JOB_REJECT_REASON = "offers,job,reject_reason" - OFFERS_REJECT_REASON = "offers,reject_reason" - OFFERS_SCREENING_QUESTION_ANSWERS = "offers,screening_question_answers" - OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE = "offers,screening_question_answers,candidate" - OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO = "offers,screening_question_answers,candidate,credited_to" - OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO_CURRENT_STAGE = ( - "offers,screening_question_answers,candidate,credited_to,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers,candidate,credited_to,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO_REJECT_REASON = ( - "offers,screening_question_answers,candidate,credited_to,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_CURRENT_STAGE = ( - "offers,screening_question_answers,candidate,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers,candidate,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB = "offers,screening_question_answers,candidate,job" - OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO = ( - "offers,screening_question_answers,candidate,job,credited_to" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE = ( - "offers,screening_question_answers,candidate,job,credited_to,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers,candidate,job,credited_to,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO_REJECT_REASON = ( - "offers,screening_question_answers,candidate,job,credited_to,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CURRENT_STAGE = ( - "offers,screening_question_answers,candidate,job,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers,candidate,job,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_REJECT_REASON = ( - "offers,screening_question_answers,candidate,job,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_REJECT_REASON = ( - "offers,screening_question_answers,candidate,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_CREDITED_TO = "offers,screening_question_answers,credited_to" - OFFERS_SCREENING_QUESTION_ANSWERS_CREDITED_TO_CURRENT_STAGE = ( - "offers,screening_question_answers,credited_to,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers,credited_to,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_CREDITED_TO_REJECT_REASON = ( - "offers,screening_question_answers,credited_to,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_CURRENT_STAGE = "offers,screening_question_answers,current_stage" - OFFERS_SCREENING_QUESTION_ANSWERS_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_JOB = "offers,screening_question_answers,job" - OFFERS_SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO = "offers,screening_question_answers,job,credited_to" - OFFERS_SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO_CURRENT_STAGE = ( - "offers,screening_question_answers,job,credited_to,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers,job,credited_to,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO_REJECT_REASON = ( - "offers,screening_question_answers,job,credited_to,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_JOB_CURRENT_STAGE = "offers,screening_question_answers,job,current_stage" - OFFERS_SCREENING_QUESTION_ANSWERS_JOB_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers,job,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_JOB_REJECT_REASON = "offers,screening_question_answers,job,reject_reason" - OFFERS_SCREENING_QUESTION_ANSWERS_REJECT_REASON = "offers,screening_question_answers,reject_reason" - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION = ( - "offers,screening_question_answers,screening_question_answers.question" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE = ( - "offers,screening_question_answers,screening_question_answers.question,candidate" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO = ( - "offers,screening_question_answers,screening_question_answers.question,candidate,credited_to" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE = ( - "offers,screening_question_answers,screening_question_answers.question,candidate,credited_to,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "offers,screening_question_answers,screening_question_answers.question,candidate,credited_to,current_stage,reject_reason" - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_REJECT_REASON = ( - "offers,screening_question_answers,screening_question_answers.question,candidate,credited_to,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE = ( - "offers,screening_question_answers,screening_question_answers.question,candidate,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers,screening_question_answers.question,candidate,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB = ( - "offers,screening_question_answers,screening_question_answers.question,candidate,job" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO = ( - "offers,screening_question_answers,screening_question_answers.question,candidate,job,credited_to" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE = ( - "offers,screening_question_answers,screening_question_answers.question,candidate,job,credited_to,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "offers,screening_question_answers,screening_question_answers.question,candidate,job,credited_to,current_stage,reject_reason" - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_REJECT_REASON = ( - "offers,screening_question_answers,screening_question_answers.question,candidate,job,credited_to,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE = ( - "offers,screening_question_answers,screening_question_answers.question,candidate,job,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON = "offers,screening_question_answers,screening_question_answers.question,candidate,job,current_stage,reject_reason" - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_REJECT_REASON = ( - "offers,screening_question_answers,screening_question_answers.question,candidate,job,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_REJECT_REASON = ( - "offers,screening_question_answers,screening_question_answers.question,candidate,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO = ( - "offers,screening_question_answers,screening_question_answers.question,credited_to" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE = ( - "offers,screening_question_answers,screening_question_answers.question,credited_to,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers,screening_question_answers.question,credited_to,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_REJECT_REASON = ( - "offers,screening_question_answers,screening_question_answers.question,credited_to,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE = ( - "offers,screening_question_answers,screening_question_answers.question,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers,screening_question_answers.question,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB = ( - "offers,screening_question_answers,screening_question_answers.question,job" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO = ( - "offers,screening_question_answers,screening_question_answers.question,job,credited_to" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE = ( - "offers,screening_question_answers,screening_question_answers.question,job,credited_to,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "offers,screening_question_answers,screening_question_answers.question,job,credited_to,current_stage,reject_reason" - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_REJECT_REASON = ( - "offers,screening_question_answers,screening_question_answers.question,job,credited_to,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE = ( - "offers,screening_question_answers,screening_question_answers.question,job,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers,screening_question_answers.question,job,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_REJECT_REASON = ( - "offers,screening_question_answers,screening_question_answers.question,job,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_REJECT_REASON = ( - "offers,screening_question_answers,screening_question_answers.question,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION = "offers,screening_question_answers.question" - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE = "offers,screening_question_answers.question,candidate" - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO = ( - "offers,screening_question_answers.question,candidate,credited_to" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE = ( - "offers,screening_question_answers.question,candidate,credited_to,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers.question,candidate,credited_to,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_REJECT_REASON = ( - "offers,screening_question_answers.question,candidate,credited_to,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE = ( - "offers,screening_question_answers.question,candidate,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers.question,candidate,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB = ( - "offers,screening_question_answers.question,candidate,job" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO = ( - "offers,screening_question_answers.question,candidate,job,credited_to" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE = ( - "offers,screening_question_answers.question,candidate,job,credited_to,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers.question,candidate,job,credited_to,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_REJECT_REASON = ( - "offers,screening_question_answers.question,candidate,job,credited_to,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE = ( - "offers,screening_question_answers.question,candidate,job,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers.question,candidate,job,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_REJECT_REASON = ( - "offers,screening_question_answers.question,candidate,job,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_REJECT_REASON = ( - "offers,screening_question_answers.question,candidate,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO = "offers,screening_question_answers.question,credited_to" - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE = ( - "offers,screening_question_answers.question,credited_to,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers.question,credited_to,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_REJECT_REASON = ( - "offers,screening_question_answers.question,credited_to,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE = ( - "offers,screening_question_answers.question,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers.question,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB = "offers,screening_question_answers.question,job" - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO = ( - "offers,screening_question_answers.question,job,credited_to" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE = ( - "offers,screening_question_answers.question,job,credited_to,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers.question,job,credited_to,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_REJECT_REASON = ( - "offers,screening_question_answers.question,job,credited_to,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE = ( - "offers,screening_question_answers.question,job,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers.question,job,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_REJECT_REASON = ( - "offers,screening_question_answers.question,job,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_REJECT_REASON = ( - "offers,screening_question_answers.question,reject_reason" - ) - REJECT_REASON = "reject_reason" - SCREENING_QUESTION_ANSWERS = "screening_question_answers" - SCREENING_QUESTION_ANSWERS_CANDIDATE = "screening_question_answers,candidate" - SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO = "screening_question_answers,candidate,credited_to" - SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO_CURRENT_STAGE = ( - "screening_question_answers,candidate,credited_to,current_stage" - ) - SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers,candidate,credited_to,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO_REJECT_REASON = ( - "screening_question_answers,candidate,credited_to,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_CANDIDATE_CURRENT_STAGE = "screening_question_answers,candidate,current_stage" - SCREENING_QUESTION_ANSWERS_CANDIDATE_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers,candidate,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB = "screening_question_answers,candidate,job" - SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO = "screening_question_answers,candidate,job,credited_to" - SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE = ( - "screening_question_answers,candidate,job,credited_to,current_stage" - ) - SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers,candidate,job,credited_to,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO_REJECT_REASON = ( - "screening_question_answers,candidate,job,credited_to,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CURRENT_STAGE = "screening_question_answers,candidate,job,current_stage" - SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers,candidate,job,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_REJECT_REASON = "screening_question_answers,candidate,job,reject_reason" - SCREENING_QUESTION_ANSWERS_CANDIDATE_REJECT_REASON = "screening_question_answers,candidate,reject_reason" - SCREENING_QUESTION_ANSWERS_CREDITED_TO = "screening_question_answers,credited_to" - SCREENING_QUESTION_ANSWERS_CREDITED_TO_CURRENT_STAGE = "screening_question_answers,credited_to,current_stage" - SCREENING_QUESTION_ANSWERS_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers,credited_to,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_CREDITED_TO_REJECT_REASON = "screening_question_answers,credited_to,reject_reason" - SCREENING_QUESTION_ANSWERS_CURRENT_STAGE = "screening_question_answers,current_stage" - SCREENING_QUESTION_ANSWERS_CURRENT_STAGE_REJECT_REASON = "screening_question_answers,current_stage,reject_reason" - SCREENING_QUESTION_ANSWERS_JOB = "screening_question_answers,job" - SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO = "screening_question_answers,job,credited_to" - SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO_CURRENT_STAGE = ( - "screening_question_answers,job,credited_to,current_stage" - ) - SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers,job,credited_to,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO_REJECT_REASON = ( - "screening_question_answers,job,credited_to,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_JOB_CURRENT_STAGE = "screening_question_answers,job,current_stage" - SCREENING_QUESTION_ANSWERS_JOB_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers,job,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_JOB_REJECT_REASON = "screening_question_answers,job,reject_reason" - SCREENING_QUESTION_ANSWERS_REJECT_REASON = "screening_question_answers,reject_reason" - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION = ( - "screening_question_answers,screening_question_answers.question" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE = ( - "screening_question_answers,screening_question_answers.question,candidate" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO = ( - "screening_question_answers,screening_question_answers.question,candidate,credited_to" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE = ( - "screening_question_answers,screening_question_answers.question,candidate,credited_to,current_stage" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "screening_question_answers,screening_question_answers.question,candidate,credited_to,current_stage,reject_reason" - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_REJECT_REASON = ( - "screening_question_answers,screening_question_answers.question,candidate,credited_to,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE = ( - "screening_question_answers,screening_question_answers.question,candidate,current_stage" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers,screening_question_answers.question,candidate,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB = ( - "screening_question_answers,screening_question_answers.question,candidate,job" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO = ( - "screening_question_answers,screening_question_answers.question,candidate,job,credited_to" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE = ( - "screening_question_answers,screening_question_answers.question,candidate,job,credited_to,current_stage" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "screening_question_answers,screening_question_answers.question,candidate,job,credited_to,current_stage,reject_reason" - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_REJECT_REASON = ( - "screening_question_answers,screening_question_answers.question,candidate,job,credited_to,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE = ( - "screening_question_answers,screening_question_answers.question,candidate,job,current_stage" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers,screening_question_answers.question,candidate,job,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_REJECT_REASON = ( - "screening_question_answers,screening_question_answers.question,candidate,job,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_REJECT_REASON = ( - "screening_question_answers,screening_question_answers.question,candidate,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO = ( - "screening_question_answers,screening_question_answers.question,credited_to" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE = ( - "screening_question_answers,screening_question_answers.question,credited_to,current_stage" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers,screening_question_answers.question,credited_to,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_REJECT_REASON = ( - "screening_question_answers,screening_question_answers.question,credited_to,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE = ( - "screening_question_answers,screening_question_answers.question,current_stage" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers,screening_question_answers.question,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB = ( - "screening_question_answers,screening_question_answers.question,job" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO = ( - "screening_question_answers,screening_question_answers.question,job,credited_to" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE = ( - "screening_question_answers,screening_question_answers.question,job,credited_to,current_stage" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers,screening_question_answers.question,job,credited_to,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_REJECT_REASON = ( - "screening_question_answers,screening_question_answers.question,job,credited_to,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE = ( - "screening_question_answers,screening_question_answers.question,job,current_stage" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers,screening_question_answers.question,job,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_REJECT_REASON = ( - "screening_question_answers,screening_question_answers.question,job,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_REJECT_REASON = ( - "screening_question_answers,screening_question_answers.question,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_QUESTION = "screening_question_answers.question" - SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE = "screening_question_answers.question,candidate" - SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO = ( - "screening_question_answers.question,candidate,credited_to" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE = ( - "screening_question_answers.question,candidate,credited_to,current_stage" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers.question,candidate,credited_to,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_REJECT_REASON = ( - "screening_question_answers.question,candidate,credited_to,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE = ( - "screening_question_answers.question,candidate,current_stage" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers.question,candidate,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB = "screening_question_answers.question,candidate,job" - SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO = ( - "screening_question_answers.question,candidate,job,credited_to" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE = ( - "screening_question_answers.question,candidate,job,credited_to,current_stage" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers.question,candidate,job,credited_to,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_REJECT_REASON = ( - "screening_question_answers.question,candidate,job,credited_to,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE = ( - "screening_question_answers.question,candidate,job,current_stage" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers.question,candidate,job,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_REJECT_REASON = ( - "screening_question_answers.question,candidate,job,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_REJECT_REASON = ( - "screening_question_answers.question,candidate,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO = "screening_question_answers.question,credited_to" - SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE = ( - "screening_question_answers.question,credited_to,current_stage" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers.question,credited_to,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_REJECT_REASON = ( - "screening_question_answers.question,credited_to,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE = "screening_question_answers.question,current_stage" - SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers.question,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_JOB = "screening_question_answers.question,job" - SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO = "screening_question_answers.question,job,credited_to" - SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE = ( - "screening_question_answers.question,job,credited_to,current_stage" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers.question,job,credited_to,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_REJECT_REASON = ( - "screening_question_answers.question,job,credited_to,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE = "screening_question_answers.question,job,current_stage" - SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers.question,job,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_JOB_REJECT_REASON = "screening_question_answers.question,job,reject_reason" - SCREENING_QUESTION_ANSWERS_QUESTION_REJECT_REASON = "screening_question_answers.question,reject_reason" - - def visit( - self, - candidate: typing.Callable[[], T_Result], - candidate_credited_to: typing.Callable[[], T_Result], - candidate_credited_to_current_stage: typing.Callable[[], T_Result], - candidate_credited_to_current_stage_reject_reason: typing.Callable[[], T_Result], - candidate_credited_to_reject_reason: typing.Callable[[], T_Result], - candidate_current_stage: typing.Callable[[], T_Result], - candidate_current_stage_reject_reason: typing.Callable[[], T_Result], - candidate_job: typing.Callable[[], T_Result], - candidate_job_credited_to: typing.Callable[[], T_Result], - candidate_job_credited_to_current_stage: typing.Callable[[], T_Result], - candidate_job_credited_to_current_stage_reject_reason: typing.Callable[[], T_Result], - candidate_job_credited_to_reject_reason: typing.Callable[[], T_Result], - candidate_job_current_stage: typing.Callable[[], T_Result], - candidate_job_current_stage_reject_reason: typing.Callable[[], T_Result], - candidate_job_reject_reason: typing.Callable[[], T_Result], - candidate_reject_reason: typing.Callable[[], T_Result], - credited_to: typing.Callable[[], T_Result], - credited_to_current_stage: typing.Callable[[], T_Result], - credited_to_current_stage_reject_reason: typing.Callable[[], T_Result], - credited_to_reject_reason: typing.Callable[[], T_Result], - current_stage: typing.Callable[[], T_Result], - current_stage_reject_reason: typing.Callable[[], T_Result], - job: typing.Callable[[], T_Result], - job_credited_to: typing.Callable[[], T_Result], - job_credited_to_current_stage: typing.Callable[[], T_Result], - job_credited_to_current_stage_reject_reason: typing.Callable[[], T_Result], - job_credited_to_reject_reason: typing.Callable[[], T_Result], - job_current_stage: typing.Callable[[], T_Result], - job_current_stage_reject_reason: typing.Callable[[], T_Result], - job_reject_reason: typing.Callable[[], T_Result], - offers: typing.Callable[[], T_Result], - offers_candidate: typing.Callable[[], T_Result], - offers_candidate_credited_to: typing.Callable[[], T_Result], - offers_candidate_credited_to_current_stage: typing.Callable[[], T_Result], - offers_candidate_credited_to_current_stage_reject_reason: typing.Callable[[], T_Result], - offers_candidate_credited_to_reject_reason: typing.Callable[[], T_Result], - offers_candidate_current_stage: typing.Callable[[], T_Result], - offers_candidate_current_stage_reject_reason: typing.Callable[[], T_Result], - offers_candidate_job: typing.Callable[[], T_Result], - offers_candidate_job_credited_to: typing.Callable[[], T_Result], - offers_candidate_job_credited_to_current_stage: typing.Callable[[], T_Result], - offers_candidate_job_credited_to_current_stage_reject_reason: typing.Callable[[], T_Result], - offers_candidate_job_credited_to_reject_reason: typing.Callable[[], T_Result], - offers_candidate_job_current_stage: typing.Callable[[], T_Result], - offers_candidate_job_current_stage_reject_reason: typing.Callable[[], T_Result], - offers_candidate_job_reject_reason: typing.Callable[[], T_Result], - offers_candidate_reject_reason: typing.Callable[[], T_Result], - offers_credited_to: typing.Callable[[], T_Result], - offers_credited_to_current_stage: typing.Callable[[], T_Result], - offers_credited_to_current_stage_reject_reason: typing.Callable[[], T_Result], - offers_credited_to_reject_reason: typing.Callable[[], T_Result], - offers_current_stage: typing.Callable[[], T_Result], - offers_current_stage_reject_reason: typing.Callable[[], T_Result], - offers_job: typing.Callable[[], T_Result], - offers_job_credited_to: typing.Callable[[], T_Result], - offers_job_credited_to_current_stage: typing.Callable[[], T_Result], - offers_job_credited_to_current_stage_reject_reason: typing.Callable[[], T_Result], - offers_job_credited_to_reject_reason: typing.Callable[[], T_Result], - offers_job_current_stage: typing.Callable[[], T_Result], - offers_job_current_stage_reject_reason: typing.Callable[[], T_Result], - offers_job_reject_reason: typing.Callable[[], T_Result], - offers_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers: typing.Callable[[], T_Result], - offers_screening_question_answers_candidate: typing.Callable[[], T_Result], - offers_screening_question_answers_candidate_credited_to: typing.Callable[[], T_Result], - offers_screening_question_answers_candidate_credited_to_current_stage: typing.Callable[[], T_Result], - offers_screening_question_answers_candidate_credited_to_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_candidate_credited_to_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_candidate_current_stage: typing.Callable[[], T_Result], - offers_screening_question_answers_candidate_current_stage_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_candidate_job: typing.Callable[[], T_Result], - offers_screening_question_answers_candidate_job_credited_to: typing.Callable[[], T_Result], - offers_screening_question_answers_candidate_job_credited_to_current_stage: typing.Callable[[], T_Result], - offers_screening_question_answers_candidate_job_credited_to_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_candidate_job_credited_to_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_candidate_job_current_stage: typing.Callable[[], T_Result], - offers_screening_question_answers_candidate_job_current_stage_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_candidate_job_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_candidate_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_credited_to: typing.Callable[[], T_Result], - offers_screening_question_answers_credited_to_current_stage: typing.Callable[[], T_Result], - offers_screening_question_answers_credited_to_current_stage_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_credited_to_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_current_stage: typing.Callable[[], T_Result], - offers_screening_question_answers_current_stage_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_job: typing.Callable[[], T_Result], - offers_screening_question_answers_job_credited_to: typing.Callable[[], T_Result], - offers_screening_question_answers_job_credited_to_current_stage: typing.Callable[[], T_Result], - offers_screening_question_answers_job_credited_to_current_stage_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_job_credited_to_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_job_current_stage: typing.Callable[[], T_Result], - offers_screening_question_answers_job_current_stage_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_job_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_screening_question_answers_question: typing.Callable[[], T_Result], - offers_screening_question_answers_screening_question_answers_question_candidate: typing.Callable[[], T_Result], - offers_screening_question_answers_screening_question_answers_question_candidate_credited_to: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_candidate_credited_to_current_stage: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_candidate_credited_to_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_candidate_credited_to_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_candidate_current_stage: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_candidate_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_candidate_job: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_candidate_job_credited_to: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_candidate_job_credited_to_current_stage: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_candidate_job_credited_to_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_candidate_job_credited_to_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_candidate_job_current_stage: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_candidate_job_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_candidate_job_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_candidate_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_credited_to: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_credited_to_current_stage: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_credited_to_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_credited_to_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_current_stage: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_job: typing.Callable[[], T_Result], - offers_screening_question_answers_screening_question_answers_question_job_credited_to: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_job_credited_to_current_stage: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_job_credited_to_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_job_credited_to_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_job_current_stage: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_job_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_job_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_question: typing.Callable[[], T_Result], - offers_screening_question_answers_question_candidate: typing.Callable[[], T_Result], - offers_screening_question_answers_question_candidate_credited_to: typing.Callable[[], T_Result], - offers_screening_question_answers_question_candidate_credited_to_current_stage: typing.Callable[[], T_Result], - offers_screening_question_answers_question_candidate_credited_to_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_question_candidate_credited_to_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_question_candidate_current_stage: typing.Callable[[], T_Result], - offers_screening_question_answers_question_candidate_current_stage_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_question_candidate_job: typing.Callable[[], T_Result], - offers_screening_question_answers_question_candidate_job_credited_to: typing.Callable[[], T_Result], - offers_screening_question_answers_question_candidate_job_credited_to_current_stage: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_question_candidate_job_credited_to_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_question_candidate_job_credited_to_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_question_candidate_job_current_stage: typing.Callable[[], T_Result], - offers_screening_question_answers_question_candidate_job_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_question_candidate_job_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_question_candidate_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_question_credited_to: typing.Callable[[], T_Result], - offers_screening_question_answers_question_credited_to_current_stage: typing.Callable[[], T_Result], - offers_screening_question_answers_question_credited_to_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_question_credited_to_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_question_current_stage: typing.Callable[[], T_Result], - offers_screening_question_answers_question_current_stage_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_question_job: typing.Callable[[], T_Result], - offers_screening_question_answers_question_job_credited_to: typing.Callable[[], T_Result], - offers_screening_question_answers_question_job_credited_to_current_stage: typing.Callable[[], T_Result], - offers_screening_question_answers_question_job_credited_to_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_question_job_credited_to_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_question_job_current_stage: typing.Callable[[], T_Result], - offers_screening_question_answers_question_job_current_stage_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_question_job_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_question_reject_reason: typing.Callable[[], T_Result], - reject_reason: typing.Callable[[], T_Result], - screening_question_answers: typing.Callable[[], T_Result], - screening_question_answers_candidate: typing.Callable[[], T_Result], - screening_question_answers_candidate_credited_to: typing.Callable[[], T_Result], - screening_question_answers_candidate_credited_to_current_stage: typing.Callable[[], T_Result], - screening_question_answers_candidate_credited_to_current_stage_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_candidate_credited_to_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_candidate_current_stage: typing.Callable[[], T_Result], - screening_question_answers_candidate_current_stage_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_candidate_job: typing.Callable[[], T_Result], - screening_question_answers_candidate_job_credited_to: typing.Callable[[], T_Result], - screening_question_answers_candidate_job_credited_to_current_stage: typing.Callable[[], T_Result], - screening_question_answers_candidate_job_credited_to_current_stage_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_candidate_job_credited_to_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_candidate_job_current_stage: typing.Callable[[], T_Result], - screening_question_answers_candidate_job_current_stage_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_candidate_job_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_candidate_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_credited_to: typing.Callable[[], T_Result], - screening_question_answers_credited_to_current_stage: typing.Callable[[], T_Result], - screening_question_answers_credited_to_current_stage_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_credited_to_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_current_stage: typing.Callable[[], T_Result], - screening_question_answers_current_stage_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_job: typing.Callable[[], T_Result], - screening_question_answers_job_credited_to: typing.Callable[[], T_Result], - screening_question_answers_job_credited_to_current_stage: typing.Callable[[], T_Result], - screening_question_answers_job_credited_to_current_stage_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_job_credited_to_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_job_current_stage: typing.Callable[[], T_Result], - screening_question_answers_job_current_stage_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_job_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_screening_question_answers_question: typing.Callable[[], T_Result], - screening_question_answers_screening_question_answers_question_candidate: typing.Callable[[], T_Result], - screening_question_answers_screening_question_answers_question_candidate_credited_to: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_candidate_credited_to_current_stage: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_candidate_credited_to_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_candidate_credited_to_reject_reason: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_candidate_current_stage: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_candidate_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_candidate_job: typing.Callable[[], T_Result], - screening_question_answers_screening_question_answers_question_candidate_job_credited_to: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_candidate_job_credited_to_current_stage: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_candidate_job_credited_to_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_candidate_job_credited_to_reject_reason: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_candidate_job_current_stage: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_candidate_job_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_candidate_job_reject_reason: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_candidate_reject_reason: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_credited_to: typing.Callable[[], T_Result], - screening_question_answers_screening_question_answers_question_credited_to_current_stage: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_credited_to_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_credited_to_reject_reason: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_current_stage: typing.Callable[[], T_Result], - screening_question_answers_screening_question_answers_question_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_job: typing.Callable[[], T_Result], - screening_question_answers_screening_question_answers_question_job_credited_to: typing.Callable[[], T_Result], - screening_question_answers_screening_question_answers_question_job_credited_to_current_stage: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_job_credited_to_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_job_credited_to_reject_reason: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_job_current_stage: typing.Callable[[], T_Result], - screening_question_answers_screening_question_answers_question_job_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_job_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_screening_question_answers_question_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_question: typing.Callable[[], T_Result], - screening_question_answers_question_candidate: typing.Callable[[], T_Result], - screening_question_answers_question_candidate_credited_to: typing.Callable[[], T_Result], - screening_question_answers_question_candidate_credited_to_current_stage: typing.Callable[[], T_Result], - screening_question_answers_question_candidate_credited_to_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - screening_question_answers_question_candidate_credited_to_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_question_candidate_current_stage: typing.Callable[[], T_Result], - screening_question_answers_question_candidate_current_stage_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_question_candidate_job: typing.Callable[[], T_Result], - screening_question_answers_question_candidate_job_credited_to: typing.Callable[[], T_Result], - screening_question_answers_question_candidate_job_credited_to_current_stage: typing.Callable[[], T_Result], - screening_question_answers_question_candidate_job_credited_to_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - screening_question_answers_question_candidate_job_credited_to_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_question_candidate_job_current_stage: typing.Callable[[], T_Result], - screening_question_answers_question_candidate_job_current_stage_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_question_candidate_job_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_question_candidate_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_question_credited_to: typing.Callable[[], T_Result], - screening_question_answers_question_credited_to_current_stage: typing.Callable[[], T_Result], - screening_question_answers_question_credited_to_current_stage_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_question_credited_to_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_question_current_stage: typing.Callable[[], T_Result], - screening_question_answers_question_current_stage_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_question_job: typing.Callable[[], T_Result], - screening_question_answers_question_job_credited_to: typing.Callable[[], T_Result], - screening_question_answers_question_job_credited_to_current_stage: typing.Callable[[], T_Result], - screening_question_answers_question_job_credited_to_current_stage_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_question_job_credited_to_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_question_job_current_stage: typing.Callable[[], T_Result], - screening_question_answers_question_job_current_stage_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_question_job_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_question_reject_reason: typing.Callable[[], T_Result], - ) -> T_Result: - if self is ApplicationsListRequestExpand.CANDIDATE: - return candidate() - if self is ApplicationsListRequestExpand.CANDIDATE_CREDITED_TO: - return candidate_credited_to() - if self is ApplicationsListRequestExpand.CANDIDATE_CREDITED_TO_CURRENT_STAGE: - return candidate_credited_to_current_stage() - if self is ApplicationsListRequestExpand.CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON: - return candidate_credited_to_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.CANDIDATE_CREDITED_TO_REJECT_REASON: - return candidate_credited_to_reject_reason() - if self is ApplicationsListRequestExpand.CANDIDATE_CURRENT_STAGE: - return candidate_current_stage() - if self is ApplicationsListRequestExpand.CANDIDATE_CURRENT_STAGE_REJECT_REASON: - return candidate_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.CANDIDATE_JOB: - return candidate_job() - if self is ApplicationsListRequestExpand.CANDIDATE_JOB_CREDITED_TO: - return candidate_job_credited_to() - if self is ApplicationsListRequestExpand.CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE: - return candidate_job_credited_to_current_stage() - if self is ApplicationsListRequestExpand.CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON: - return candidate_job_credited_to_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.CANDIDATE_JOB_CREDITED_TO_REJECT_REASON: - return candidate_job_credited_to_reject_reason() - if self is ApplicationsListRequestExpand.CANDIDATE_JOB_CURRENT_STAGE: - return candidate_job_current_stage() - if self is ApplicationsListRequestExpand.CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON: - return candidate_job_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.CANDIDATE_JOB_REJECT_REASON: - return candidate_job_reject_reason() - if self is ApplicationsListRequestExpand.CANDIDATE_REJECT_REASON: - return candidate_reject_reason() - if self is ApplicationsListRequestExpand.CREDITED_TO: - return credited_to() - if self is ApplicationsListRequestExpand.CREDITED_TO_CURRENT_STAGE: - return credited_to_current_stage() - if self is ApplicationsListRequestExpand.CREDITED_TO_CURRENT_STAGE_REJECT_REASON: - return credited_to_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.CREDITED_TO_REJECT_REASON: - return credited_to_reject_reason() - if self is ApplicationsListRequestExpand.CURRENT_STAGE: - return current_stage() - if self is ApplicationsListRequestExpand.CURRENT_STAGE_REJECT_REASON: - return current_stage_reject_reason() - if self is ApplicationsListRequestExpand.JOB: - return job() - if self is ApplicationsListRequestExpand.JOB_CREDITED_TO: - return job_credited_to() - if self is ApplicationsListRequestExpand.JOB_CREDITED_TO_CURRENT_STAGE: - return job_credited_to_current_stage() - if self is ApplicationsListRequestExpand.JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON: - return job_credited_to_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.JOB_CREDITED_TO_REJECT_REASON: - return job_credited_to_reject_reason() - if self is ApplicationsListRequestExpand.JOB_CURRENT_STAGE: - return job_current_stage() - if self is ApplicationsListRequestExpand.JOB_CURRENT_STAGE_REJECT_REASON: - return job_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.JOB_REJECT_REASON: - return job_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS: - return offers() - if self is ApplicationsListRequestExpand.OFFERS_CANDIDATE: - return offers_candidate() - if self is ApplicationsListRequestExpand.OFFERS_CANDIDATE_CREDITED_TO: - return offers_candidate_credited_to() - if self is ApplicationsListRequestExpand.OFFERS_CANDIDATE_CREDITED_TO_CURRENT_STAGE: - return offers_candidate_credited_to_current_stage() - if self is ApplicationsListRequestExpand.OFFERS_CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON: - return offers_candidate_credited_to_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_CANDIDATE_CREDITED_TO_REJECT_REASON: - return offers_candidate_credited_to_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_CANDIDATE_CURRENT_STAGE: - return offers_candidate_current_stage() - if self is ApplicationsListRequestExpand.OFFERS_CANDIDATE_CURRENT_STAGE_REJECT_REASON: - return offers_candidate_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_CANDIDATE_JOB: - return offers_candidate_job() - if self is ApplicationsListRequestExpand.OFFERS_CANDIDATE_JOB_CREDITED_TO: - return offers_candidate_job_credited_to() - if self is ApplicationsListRequestExpand.OFFERS_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE: - return offers_candidate_job_credited_to_current_stage() - if self is ApplicationsListRequestExpand.OFFERS_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON: - return offers_candidate_job_credited_to_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_CANDIDATE_JOB_CREDITED_TO_REJECT_REASON: - return offers_candidate_job_credited_to_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_CANDIDATE_JOB_CURRENT_STAGE: - return offers_candidate_job_current_stage() - if self is ApplicationsListRequestExpand.OFFERS_CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON: - return offers_candidate_job_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_CANDIDATE_JOB_REJECT_REASON: - return offers_candidate_job_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_CANDIDATE_REJECT_REASON: - return offers_candidate_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_CREDITED_TO: - return offers_credited_to() - if self is ApplicationsListRequestExpand.OFFERS_CREDITED_TO_CURRENT_STAGE: - return offers_credited_to_current_stage() - if self is ApplicationsListRequestExpand.OFFERS_CREDITED_TO_CURRENT_STAGE_REJECT_REASON: - return offers_credited_to_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_CREDITED_TO_REJECT_REASON: - return offers_credited_to_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_CURRENT_STAGE: - return offers_current_stage() - if self is ApplicationsListRequestExpand.OFFERS_CURRENT_STAGE_REJECT_REASON: - return offers_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_JOB: - return offers_job() - if self is ApplicationsListRequestExpand.OFFERS_JOB_CREDITED_TO: - return offers_job_credited_to() - if self is ApplicationsListRequestExpand.OFFERS_JOB_CREDITED_TO_CURRENT_STAGE: - return offers_job_credited_to_current_stage() - if self is ApplicationsListRequestExpand.OFFERS_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON: - return offers_job_credited_to_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_JOB_CREDITED_TO_REJECT_REASON: - return offers_job_credited_to_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_JOB_CURRENT_STAGE: - return offers_job_current_stage() - if self is ApplicationsListRequestExpand.OFFERS_JOB_CURRENT_STAGE_REJECT_REASON: - return offers_job_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_JOB_REJECT_REASON: - return offers_job_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_REJECT_REASON: - return offers_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS: - return offers_screening_question_answers() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE: - return offers_screening_question_answers_candidate() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO: - return offers_screening_question_answers_candidate_credited_to() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO_CURRENT_STAGE: - return offers_screening_question_answers_candidate_credited_to_current_stage() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_candidate_credited_to_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO_REJECT_REASON: - return offers_screening_question_answers_candidate_credited_to_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_CURRENT_STAGE: - return offers_screening_question_answers_candidate_current_stage() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_candidate_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB: - return offers_screening_question_answers_candidate_job() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO: - return offers_screening_question_answers_candidate_job_credited_to() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE - ): - return offers_screening_question_answers_candidate_job_credited_to_current_stage() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_candidate_job_credited_to_current_stage_reject_reason() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO_REJECT_REASON - ): - return offers_screening_question_answers_candidate_job_credited_to_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CURRENT_STAGE: - return offers_screening_question_answers_candidate_job_current_stage() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_candidate_job_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_REJECT_REASON: - return offers_screening_question_answers_candidate_job_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_REJECT_REASON: - return offers_screening_question_answers_candidate_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CREDITED_TO: - return offers_screening_question_answers_credited_to() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CREDITED_TO_CURRENT_STAGE: - return offers_screening_question_answers_credited_to_current_stage() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_credited_to_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CREDITED_TO_REJECT_REASON: - return offers_screening_question_answers_credited_to_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CURRENT_STAGE: - return offers_screening_question_answers_current_stage() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CURRENT_STAGE_REJECT_REASON: - return offers_screening_question_answers_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_JOB: - return offers_screening_question_answers_job() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO: - return offers_screening_question_answers_job_credited_to() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO_CURRENT_STAGE: - return offers_screening_question_answers_job_credited_to_current_stage() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_job_credited_to_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO_REJECT_REASON: - return offers_screening_question_answers_job_credited_to_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_JOB_CURRENT_STAGE: - return offers_screening_question_answers_job_current_stage() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_JOB_CURRENT_STAGE_REJECT_REASON: - return offers_screening_question_answers_job_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_JOB_REJECT_REASON: - return offers_screening_question_answers_job_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_REJECT_REASON: - return offers_screening_question_answers_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION: - return offers_screening_question_answers_screening_question_answers_question() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE - ): - return offers_screening_question_answers_screening_question_answers_question_candidate() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO - ): - return offers_screening_question_answers_screening_question_answers_question_candidate_credited_to() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE - ): - return offers_screening_question_answers_screening_question_answers_question_candidate_credited_to_current_stage() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_screening_question_answers_question_candidate_credited_to_current_stage_reject_reason() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_REJECT_REASON - ): - return offers_screening_question_answers_screening_question_answers_question_candidate_credited_to_reject_reason() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE - ): - return offers_screening_question_answers_screening_question_answers_question_candidate_current_stage() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_screening_question_answers_question_candidate_current_stage_reject_reason() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB - ): - return offers_screening_question_answers_screening_question_answers_question_candidate_job() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO - ): - return offers_screening_question_answers_screening_question_answers_question_candidate_job_credited_to() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE - ): - return offers_screening_question_answers_screening_question_answers_question_candidate_job_credited_to_current_stage() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_screening_question_answers_question_candidate_job_credited_to_current_stage_reject_reason() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_REJECT_REASON - ): - return offers_screening_question_answers_screening_question_answers_question_candidate_job_credited_to_reject_reason() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE - ): - return offers_screening_question_answers_screening_question_answers_question_candidate_job_current_stage() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_screening_question_answers_question_candidate_job_current_stage_reject_reason() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_REJECT_REASON - ): - return offers_screening_question_answers_screening_question_answers_question_candidate_job_reject_reason() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_REJECT_REASON - ): - return offers_screening_question_answers_screening_question_answers_question_candidate_reject_reason() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO - ): - return offers_screening_question_answers_screening_question_answers_question_credited_to() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE - ): - return offers_screening_question_answers_screening_question_answers_question_credited_to_current_stage() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_screening_question_answers_question_credited_to_current_stage_reject_reason() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_REJECT_REASON - ): - return offers_screening_question_answers_screening_question_answers_question_credited_to_reject_reason() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE - ): - return offers_screening_question_answers_screening_question_answers_question_current_stage() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_screening_question_answers_question_current_stage_reject_reason() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB - ): - return offers_screening_question_answers_screening_question_answers_question_job() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO - ): - return offers_screening_question_answers_screening_question_answers_question_job_credited_to() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE - ): - return offers_screening_question_answers_screening_question_answers_question_job_credited_to_current_stage() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_screening_question_answers_question_job_credited_to_current_stage_reject_reason() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_REJECT_REASON - ): - return offers_screening_question_answers_screening_question_answers_question_job_credited_to_reject_reason() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE - ): - return offers_screening_question_answers_screening_question_answers_question_job_current_stage() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE_REJECT_REASON - ): - return ( - offers_screening_question_answers_screening_question_answers_question_job_current_stage_reject_reason() - ) - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_REJECT_REASON - ): - return offers_screening_question_answers_screening_question_answers_question_job_reject_reason() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_REJECT_REASON - ): - return offers_screening_question_answers_screening_question_answers_question_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION: - return offers_screening_question_answers_question() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE: - return offers_screening_question_answers_question_candidate() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO: - return offers_screening_question_answers_question_candidate_credited_to() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE - ): - return offers_screening_question_answers_question_candidate_credited_to_current_stage() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_question_candidate_credited_to_current_stage_reject_reason() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_REJECT_REASON - ): - return offers_screening_question_answers_question_candidate_credited_to_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE: - return offers_screening_question_answers_question_candidate_current_stage() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_question_candidate_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB: - return offers_screening_question_answers_question_candidate_job() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO: - return offers_screening_question_answers_question_candidate_job_credited_to() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE - ): - return offers_screening_question_answers_question_candidate_job_credited_to_current_stage() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_question_candidate_job_credited_to_current_stage_reject_reason() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_REJECT_REASON - ): - return offers_screening_question_answers_question_candidate_job_credited_to_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE: - return offers_screening_question_answers_question_candidate_job_current_stage() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_question_candidate_job_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_REJECT_REASON: - return offers_screening_question_answers_question_candidate_job_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_REJECT_REASON: - return offers_screening_question_answers_question_candidate_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO: - return offers_screening_question_answers_question_credited_to() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE: - return offers_screening_question_answers_question_credited_to_current_stage() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_question_credited_to_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_REJECT_REASON: - return offers_screening_question_answers_question_credited_to_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE: - return offers_screening_question_answers_question_current_stage() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE_REJECT_REASON: - return offers_screening_question_answers_question_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB: - return offers_screening_question_answers_question_job() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO: - return offers_screening_question_answers_question_job_credited_to() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE - ): - return offers_screening_question_answers_question_job_credited_to_current_stage() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_question_job_credited_to_current_stage_reject_reason() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_REJECT_REASON - ): - return offers_screening_question_answers_question_job_credited_to_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE: - return offers_screening_question_answers_question_job_current_stage() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_question_job_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_REJECT_REASON: - return offers_screening_question_answers_question_job_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_REJECT_REASON: - return offers_screening_question_answers_question_reject_reason() - if self is ApplicationsListRequestExpand.REJECT_REASON: - return reject_reason() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS: - return screening_question_answers() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_CANDIDATE: - return screening_question_answers_candidate() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO: - return screening_question_answers_candidate_credited_to() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO_CURRENT_STAGE: - return screening_question_answers_candidate_credited_to_current_stage() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return screening_question_answers_candidate_credited_to_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO_REJECT_REASON: - return screening_question_answers_candidate_credited_to_reject_reason() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_CANDIDATE_CURRENT_STAGE: - return screening_question_answers_candidate_current_stage() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_CANDIDATE_CURRENT_STAGE_REJECT_REASON: - return screening_question_answers_candidate_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB: - return screening_question_answers_candidate_job() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO: - return screening_question_answers_candidate_job_credited_to() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE: - return screening_question_answers_candidate_job_credited_to_current_stage() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return screening_question_answers_candidate_job_credited_to_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO_REJECT_REASON: - return screening_question_answers_candidate_job_credited_to_reject_reason() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CURRENT_STAGE: - return screening_question_answers_candidate_job_current_stage() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON: - return screening_question_answers_candidate_job_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_REJECT_REASON: - return screening_question_answers_candidate_job_reject_reason() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_CANDIDATE_REJECT_REASON: - return screening_question_answers_candidate_reject_reason() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_CREDITED_TO: - return screening_question_answers_credited_to() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_CREDITED_TO_CURRENT_STAGE: - return screening_question_answers_credited_to_current_stage() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_CREDITED_TO_CURRENT_STAGE_REJECT_REASON: - return screening_question_answers_credited_to_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_CREDITED_TO_REJECT_REASON: - return screening_question_answers_credited_to_reject_reason() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_CURRENT_STAGE: - return screening_question_answers_current_stage() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_CURRENT_STAGE_REJECT_REASON: - return screening_question_answers_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_JOB: - return screening_question_answers_job() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO: - return screening_question_answers_job_credited_to() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO_CURRENT_STAGE: - return screening_question_answers_job_credited_to_current_stage() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON: - return screening_question_answers_job_credited_to_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO_REJECT_REASON: - return screening_question_answers_job_credited_to_reject_reason() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_JOB_CURRENT_STAGE: - return screening_question_answers_job_current_stage() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_JOB_CURRENT_STAGE_REJECT_REASON: - return screening_question_answers_job_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_JOB_REJECT_REASON: - return screening_question_answers_job_reject_reason() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_REJECT_REASON: - return screening_question_answers_reject_reason() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION: - return screening_question_answers_screening_question_answers_question() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE - ): - return screening_question_answers_screening_question_answers_question_candidate() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO - ): - return screening_question_answers_screening_question_answers_question_candidate_credited_to() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE - ): - return screening_question_answers_screening_question_answers_question_candidate_credited_to_current_stage() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return screening_question_answers_screening_question_answers_question_candidate_credited_to_current_stage_reject_reason() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_REJECT_REASON - ): - return screening_question_answers_screening_question_answers_question_candidate_credited_to_reject_reason() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE - ): - return screening_question_answers_screening_question_answers_question_candidate_current_stage() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE_REJECT_REASON - ): - return ( - screening_question_answers_screening_question_answers_question_candidate_current_stage_reject_reason() - ) - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB - ): - return screening_question_answers_screening_question_answers_question_candidate_job() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO - ): - return screening_question_answers_screening_question_answers_question_candidate_job_credited_to() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE - ): - return ( - screening_question_answers_screening_question_answers_question_candidate_job_credited_to_current_stage() - ) - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return screening_question_answers_screening_question_answers_question_candidate_job_credited_to_current_stage_reject_reason() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_REJECT_REASON - ): - return ( - screening_question_answers_screening_question_answers_question_candidate_job_credited_to_reject_reason() - ) - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE - ): - return screening_question_answers_screening_question_answers_question_candidate_job_current_stage() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON - ): - return screening_question_answers_screening_question_answers_question_candidate_job_current_stage_reject_reason() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_REJECT_REASON - ): - return screening_question_answers_screening_question_answers_question_candidate_job_reject_reason() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_REJECT_REASON - ): - return screening_question_answers_screening_question_answers_question_candidate_reject_reason() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO - ): - return screening_question_answers_screening_question_answers_question_credited_to() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE - ): - return screening_question_answers_screening_question_answers_question_credited_to_current_stage() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return ( - screening_question_answers_screening_question_answers_question_credited_to_current_stage_reject_reason() - ) - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_REJECT_REASON - ): - return screening_question_answers_screening_question_answers_question_credited_to_reject_reason() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE - ): - return screening_question_answers_screening_question_answers_question_current_stage() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE_REJECT_REASON - ): - return screening_question_answers_screening_question_answers_question_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB: - return screening_question_answers_screening_question_answers_question_job() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO - ): - return screening_question_answers_screening_question_answers_question_job_credited_to() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE - ): - return screening_question_answers_screening_question_answers_question_job_credited_to_current_stage() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return screening_question_answers_screening_question_answers_question_job_credited_to_current_stage_reject_reason() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_REJECT_REASON - ): - return screening_question_answers_screening_question_answers_question_job_credited_to_reject_reason() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE - ): - return screening_question_answers_screening_question_answers_question_job_current_stage() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE_REJECT_REASON - ): - return screening_question_answers_screening_question_answers_question_job_current_stage_reject_reason() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_REJECT_REASON - ): - return screening_question_answers_screening_question_answers_question_job_reject_reason() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_REJECT_REASON - ): - return screening_question_answers_screening_question_answers_question_reject_reason() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION: - return screening_question_answers_question() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE: - return screening_question_answers_question_candidate() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO: - return screening_question_answers_question_candidate_credited_to() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE - ): - return screening_question_answers_question_candidate_credited_to_current_stage() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return screening_question_answers_question_candidate_credited_to_current_stage_reject_reason() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_REJECT_REASON - ): - return screening_question_answers_question_candidate_credited_to_reject_reason() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE: - return screening_question_answers_question_candidate_current_stage() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE_REJECT_REASON - ): - return screening_question_answers_question_candidate_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB: - return screening_question_answers_question_candidate_job() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO: - return screening_question_answers_question_candidate_job_credited_to() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE - ): - return screening_question_answers_question_candidate_job_credited_to_current_stage() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return screening_question_answers_question_candidate_job_credited_to_current_stage_reject_reason() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_REJECT_REASON - ): - return screening_question_answers_question_candidate_job_credited_to_reject_reason() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE: - return screening_question_answers_question_candidate_job_current_stage() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON - ): - return screening_question_answers_question_candidate_job_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_REJECT_REASON: - return screening_question_answers_question_candidate_job_reject_reason() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_REJECT_REASON: - return screening_question_answers_question_candidate_reject_reason() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO: - return screening_question_answers_question_credited_to() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE: - return screening_question_answers_question_credited_to_current_stage() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return screening_question_answers_question_credited_to_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_REJECT_REASON: - return screening_question_answers_question_credited_to_reject_reason() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE: - return screening_question_answers_question_current_stage() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE_REJECT_REASON: - return screening_question_answers_question_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_JOB: - return screening_question_answers_question_job() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO: - return screening_question_answers_question_job_credited_to() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE: - return screening_question_answers_question_job_credited_to_current_stage() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return screening_question_answers_question_job_credited_to_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_REJECT_REASON: - return screening_question_answers_question_job_credited_to_reject_reason() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE: - return screening_question_answers_question_job_current_stage() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE_REJECT_REASON: - return screening_question_answers_question_job_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_JOB_REJECT_REASON: - return screening_question_answers_question_job_reject_reason() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_REJECT_REASON: - return screening_question_answers_question_reject_reason() diff --git a/src/merge/resources/ats/resources/applications/types/applications_list_request_expand_item.py b/src/merge/resources/ats/resources/applications/types/applications_list_request_expand_item.py new file mode 100644 index 00000000..3c9011af --- /dev/null +++ b/src/merge/resources/ats/resources/applications/types/applications_list_request_expand_item.py @@ -0,0 +1,45 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class ApplicationsListRequestExpandItem(str, enum.Enum): + CANDIDATE = "candidate" + CREDITED_TO = "credited_to" + CURRENT_STAGE = "current_stage" + JOB = "job" + OFFERS = "offers" + REJECT_REASON = "reject_reason" + SCREENING_QUESTION_ANSWERS = "screening_question_answers" + SCREENING_QUESTION_ANSWERS_QUESTION = "screening_question_answers.question" + + def visit( + self, + candidate: typing.Callable[[], T_Result], + credited_to: typing.Callable[[], T_Result], + current_stage: typing.Callable[[], T_Result], + job: typing.Callable[[], T_Result], + offers: typing.Callable[[], T_Result], + reject_reason: typing.Callable[[], T_Result], + screening_question_answers: typing.Callable[[], T_Result], + screening_question_answers_question: typing.Callable[[], T_Result], + ) -> T_Result: + if self is ApplicationsListRequestExpandItem.CANDIDATE: + return candidate() + if self is ApplicationsListRequestExpandItem.CREDITED_TO: + return credited_to() + if self is ApplicationsListRequestExpandItem.CURRENT_STAGE: + return current_stage() + if self is ApplicationsListRequestExpandItem.JOB: + return job() + if self is ApplicationsListRequestExpandItem.OFFERS: + return offers() + if self is ApplicationsListRequestExpandItem.REJECT_REASON: + return reject_reason() + if self is ApplicationsListRequestExpandItem.SCREENING_QUESTION_ANSWERS: + return screening_question_answers() + if self is ApplicationsListRequestExpandItem.SCREENING_QUESTION_ANSWERS_QUESTION: + return screening_question_answers_question() diff --git a/src/merge/resources/ats/resources/applications/types/applications_retrieve_request_expand.py b/src/merge/resources/ats/resources/applications/types/applications_retrieve_request_expand.py deleted file mode 100644 index c0c519ed..00000000 --- a/src/merge/resources/ats/resources/applications/types/applications_retrieve_request_expand.py +++ /dev/null @@ -1,1773 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class ApplicationsRetrieveRequestExpand(str, enum.Enum): - CANDIDATE = "candidate" - CANDIDATE_CREDITED_TO = "candidate,credited_to" - CANDIDATE_CREDITED_TO_CURRENT_STAGE = "candidate,credited_to,current_stage" - CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "candidate,credited_to,current_stage,reject_reason" - CANDIDATE_CREDITED_TO_REJECT_REASON = "candidate,credited_to,reject_reason" - CANDIDATE_CURRENT_STAGE = "candidate,current_stage" - CANDIDATE_CURRENT_STAGE_REJECT_REASON = "candidate,current_stage,reject_reason" - CANDIDATE_JOB = "candidate,job" - CANDIDATE_JOB_CREDITED_TO = "candidate,job,credited_to" - CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE = "candidate,job,credited_to,current_stage" - CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "candidate,job,credited_to,current_stage,reject_reason" - CANDIDATE_JOB_CREDITED_TO_REJECT_REASON = "candidate,job,credited_to,reject_reason" - CANDIDATE_JOB_CURRENT_STAGE = "candidate,job,current_stage" - CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON = "candidate,job,current_stage,reject_reason" - CANDIDATE_JOB_REJECT_REASON = "candidate,job,reject_reason" - CANDIDATE_REJECT_REASON = "candidate,reject_reason" - CREDITED_TO = "credited_to" - CREDITED_TO_CURRENT_STAGE = "credited_to,current_stage" - CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "credited_to,current_stage,reject_reason" - CREDITED_TO_REJECT_REASON = "credited_to,reject_reason" - CURRENT_STAGE = "current_stage" - CURRENT_STAGE_REJECT_REASON = "current_stage,reject_reason" - JOB = "job" - JOB_CREDITED_TO = "job,credited_to" - JOB_CREDITED_TO_CURRENT_STAGE = "job,credited_to,current_stage" - JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "job,credited_to,current_stage,reject_reason" - JOB_CREDITED_TO_REJECT_REASON = "job,credited_to,reject_reason" - JOB_CURRENT_STAGE = "job,current_stage" - JOB_CURRENT_STAGE_REJECT_REASON = "job,current_stage,reject_reason" - JOB_REJECT_REASON = "job,reject_reason" - OFFERS = "offers" - OFFERS_CANDIDATE = "offers,candidate" - OFFERS_CANDIDATE_CREDITED_TO = "offers,candidate,credited_to" - OFFERS_CANDIDATE_CREDITED_TO_CURRENT_STAGE = "offers,candidate,credited_to,current_stage" - OFFERS_CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "offers,candidate,credited_to,current_stage,reject_reason" - ) - OFFERS_CANDIDATE_CREDITED_TO_REJECT_REASON = "offers,candidate,credited_to,reject_reason" - OFFERS_CANDIDATE_CURRENT_STAGE = "offers,candidate,current_stage" - OFFERS_CANDIDATE_CURRENT_STAGE_REJECT_REASON = "offers,candidate,current_stage,reject_reason" - OFFERS_CANDIDATE_JOB = "offers,candidate,job" - OFFERS_CANDIDATE_JOB_CREDITED_TO = "offers,candidate,job,credited_to" - OFFERS_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE = "offers,candidate,job,credited_to,current_stage" - OFFERS_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "offers,candidate,job,credited_to,current_stage,reject_reason" - ) - OFFERS_CANDIDATE_JOB_CREDITED_TO_REJECT_REASON = "offers,candidate,job,credited_to,reject_reason" - OFFERS_CANDIDATE_JOB_CURRENT_STAGE = "offers,candidate,job,current_stage" - OFFERS_CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON = "offers,candidate,job,current_stage,reject_reason" - OFFERS_CANDIDATE_JOB_REJECT_REASON = "offers,candidate,job,reject_reason" - OFFERS_CANDIDATE_REJECT_REASON = "offers,candidate,reject_reason" - OFFERS_CREDITED_TO = "offers,credited_to" - OFFERS_CREDITED_TO_CURRENT_STAGE = "offers,credited_to,current_stage" - OFFERS_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "offers,credited_to,current_stage,reject_reason" - OFFERS_CREDITED_TO_REJECT_REASON = "offers,credited_to,reject_reason" - OFFERS_CURRENT_STAGE = "offers,current_stage" - OFFERS_CURRENT_STAGE_REJECT_REASON = "offers,current_stage,reject_reason" - OFFERS_JOB = "offers,job" - OFFERS_JOB_CREDITED_TO = "offers,job,credited_to" - OFFERS_JOB_CREDITED_TO_CURRENT_STAGE = "offers,job,credited_to,current_stage" - OFFERS_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "offers,job,credited_to,current_stage,reject_reason" - OFFERS_JOB_CREDITED_TO_REJECT_REASON = "offers,job,credited_to,reject_reason" - OFFERS_JOB_CURRENT_STAGE = "offers,job,current_stage" - OFFERS_JOB_CURRENT_STAGE_REJECT_REASON = "offers,job,current_stage,reject_reason" - OFFERS_JOB_REJECT_REASON = "offers,job,reject_reason" - OFFERS_REJECT_REASON = "offers,reject_reason" - OFFERS_SCREENING_QUESTION_ANSWERS = "offers,screening_question_answers" - OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE = "offers,screening_question_answers,candidate" - OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO = "offers,screening_question_answers,candidate,credited_to" - OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO_CURRENT_STAGE = ( - "offers,screening_question_answers,candidate,credited_to,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers,candidate,credited_to,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO_REJECT_REASON = ( - "offers,screening_question_answers,candidate,credited_to,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_CURRENT_STAGE = ( - "offers,screening_question_answers,candidate,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers,candidate,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB = "offers,screening_question_answers,candidate,job" - OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO = ( - "offers,screening_question_answers,candidate,job,credited_to" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE = ( - "offers,screening_question_answers,candidate,job,credited_to,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers,candidate,job,credited_to,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO_REJECT_REASON = ( - "offers,screening_question_answers,candidate,job,credited_to,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CURRENT_STAGE = ( - "offers,screening_question_answers,candidate,job,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers,candidate,job,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_REJECT_REASON = ( - "offers,screening_question_answers,candidate,job,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_REJECT_REASON = ( - "offers,screening_question_answers,candidate,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_CREDITED_TO = "offers,screening_question_answers,credited_to" - OFFERS_SCREENING_QUESTION_ANSWERS_CREDITED_TO_CURRENT_STAGE = ( - "offers,screening_question_answers,credited_to,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers,credited_to,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_CREDITED_TO_REJECT_REASON = ( - "offers,screening_question_answers,credited_to,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_CURRENT_STAGE = "offers,screening_question_answers,current_stage" - OFFERS_SCREENING_QUESTION_ANSWERS_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_JOB = "offers,screening_question_answers,job" - OFFERS_SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO = "offers,screening_question_answers,job,credited_to" - OFFERS_SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO_CURRENT_STAGE = ( - "offers,screening_question_answers,job,credited_to,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers,job,credited_to,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO_REJECT_REASON = ( - "offers,screening_question_answers,job,credited_to,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_JOB_CURRENT_STAGE = "offers,screening_question_answers,job,current_stage" - OFFERS_SCREENING_QUESTION_ANSWERS_JOB_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers,job,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_JOB_REJECT_REASON = "offers,screening_question_answers,job,reject_reason" - OFFERS_SCREENING_QUESTION_ANSWERS_REJECT_REASON = "offers,screening_question_answers,reject_reason" - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION = ( - "offers,screening_question_answers,screening_question_answers.question" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE = ( - "offers,screening_question_answers,screening_question_answers.question,candidate" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO = ( - "offers,screening_question_answers,screening_question_answers.question,candidate,credited_to" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE = ( - "offers,screening_question_answers,screening_question_answers.question,candidate,credited_to,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "offers,screening_question_answers,screening_question_answers.question,candidate,credited_to,current_stage,reject_reason" - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_REJECT_REASON = ( - "offers,screening_question_answers,screening_question_answers.question,candidate,credited_to,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE = ( - "offers,screening_question_answers,screening_question_answers.question,candidate,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers,screening_question_answers.question,candidate,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB = ( - "offers,screening_question_answers,screening_question_answers.question,candidate,job" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO = ( - "offers,screening_question_answers,screening_question_answers.question,candidate,job,credited_to" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE = ( - "offers,screening_question_answers,screening_question_answers.question,candidate,job,credited_to,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "offers,screening_question_answers,screening_question_answers.question,candidate,job,credited_to,current_stage,reject_reason" - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_REJECT_REASON = ( - "offers,screening_question_answers,screening_question_answers.question,candidate,job,credited_to,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE = ( - "offers,screening_question_answers,screening_question_answers.question,candidate,job,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON = "offers,screening_question_answers,screening_question_answers.question,candidate,job,current_stage,reject_reason" - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_REJECT_REASON = ( - "offers,screening_question_answers,screening_question_answers.question,candidate,job,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_REJECT_REASON = ( - "offers,screening_question_answers,screening_question_answers.question,candidate,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO = ( - "offers,screening_question_answers,screening_question_answers.question,credited_to" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE = ( - "offers,screening_question_answers,screening_question_answers.question,credited_to,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers,screening_question_answers.question,credited_to,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_REJECT_REASON = ( - "offers,screening_question_answers,screening_question_answers.question,credited_to,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE = ( - "offers,screening_question_answers,screening_question_answers.question,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers,screening_question_answers.question,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB = ( - "offers,screening_question_answers,screening_question_answers.question,job" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO = ( - "offers,screening_question_answers,screening_question_answers.question,job,credited_to" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE = ( - "offers,screening_question_answers,screening_question_answers.question,job,credited_to,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "offers,screening_question_answers,screening_question_answers.question,job,credited_to,current_stage,reject_reason" - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_REJECT_REASON = ( - "offers,screening_question_answers,screening_question_answers.question,job,credited_to,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE = ( - "offers,screening_question_answers,screening_question_answers.question,job,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers,screening_question_answers.question,job,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_REJECT_REASON = ( - "offers,screening_question_answers,screening_question_answers.question,job,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_REJECT_REASON = ( - "offers,screening_question_answers,screening_question_answers.question,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION = "offers,screening_question_answers.question" - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE = "offers,screening_question_answers.question,candidate" - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO = ( - "offers,screening_question_answers.question,candidate,credited_to" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE = ( - "offers,screening_question_answers.question,candidate,credited_to,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers.question,candidate,credited_to,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_REJECT_REASON = ( - "offers,screening_question_answers.question,candidate,credited_to,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE = ( - "offers,screening_question_answers.question,candidate,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers.question,candidate,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB = ( - "offers,screening_question_answers.question,candidate,job" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO = ( - "offers,screening_question_answers.question,candidate,job,credited_to" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE = ( - "offers,screening_question_answers.question,candidate,job,credited_to,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers.question,candidate,job,credited_to,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_REJECT_REASON = ( - "offers,screening_question_answers.question,candidate,job,credited_to,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE = ( - "offers,screening_question_answers.question,candidate,job,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers.question,candidate,job,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_REJECT_REASON = ( - "offers,screening_question_answers.question,candidate,job,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_REJECT_REASON = ( - "offers,screening_question_answers.question,candidate,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO = "offers,screening_question_answers.question,credited_to" - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE = ( - "offers,screening_question_answers.question,credited_to,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers.question,credited_to,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_REJECT_REASON = ( - "offers,screening_question_answers.question,credited_to,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE = ( - "offers,screening_question_answers.question,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers.question,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB = "offers,screening_question_answers.question,job" - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO = ( - "offers,screening_question_answers.question,job,credited_to" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE = ( - "offers,screening_question_answers.question,job,credited_to,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers.question,job,credited_to,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_REJECT_REASON = ( - "offers,screening_question_answers.question,job,credited_to,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE = ( - "offers,screening_question_answers.question,job,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers.question,job,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_REJECT_REASON = ( - "offers,screening_question_answers.question,job,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_REJECT_REASON = ( - "offers,screening_question_answers.question,reject_reason" - ) - REJECT_REASON = "reject_reason" - SCREENING_QUESTION_ANSWERS = "screening_question_answers" - SCREENING_QUESTION_ANSWERS_CANDIDATE = "screening_question_answers,candidate" - SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO = "screening_question_answers,candidate,credited_to" - SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO_CURRENT_STAGE = ( - "screening_question_answers,candidate,credited_to,current_stage" - ) - SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers,candidate,credited_to,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO_REJECT_REASON = ( - "screening_question_answers,candidate,credited_to,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_CANDIDATE_CURRENT_STAGE = "screening_question_answers,candidate,current_stage" - SCREENING_QUESTION_ANSWERS_CANDIDATE_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers,candidate,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB = "screening_question_answers,candidate,job" - SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO = "screening_question_answers,candidate,job,credited_to" - SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE = ( - "screening_question_answers,candidate,job,credited_to,current_stage" - ) - SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers,candidate,job,credited_to,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO_REJECT_REASON = ( - "screening_question_answers,candidate,job,credited_to,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CURRENT_STAGE = "screening_question_answers,candidate,job,current_stage" - SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers,candidate,job,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_REJECT_REASON = "screening_question_answers,candidate,job,reject_reason" - SCREENING_QUESTION_ANSWERS_CANDIDATE_REJECT_REASON = "screening_question_answers,candidate,reject_reason" - SCREENING_QUESTION_ANSWERS_CREDITED_TO = "screening_question_answers,credited_to" - SCREENING_QUESTION_ANSWERS_CREDITED_TO_CURRENT_STAGE = "screening_question_answers,credited_to,current_stage" - SCREENING_QUESTION_ANSWERS_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers,credited_to,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_CREDITED_TO_REJECT_REASON = "screening_question_answers,credited_to,reject_reason" - SCREENING_QUESTION_ANSWERS_CURRENT_STAGE = "screening_question_answers,current_stage" - SCREENING_QUESTION_ANSWERS_CURRENT_STAGE_REJECT_REASON = "screening_question_answers,current_stage,reject_reason" - SCREENING_QUESTION_ANSWERS_JOB = "screening_question_answers,job" - SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO = "screening_question_answers,job,credited_to" - SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO_CURRENT_STAGE = ( - "screening_question_answers,job,credited_to,current_stage" - ) - SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers,job,credited_to,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO_REJECT_REASON = ( - "screening_question_answers,job,credited_to,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_JOB_CURRENT_STAGE = "screening_question_answers,job,current_stage" - SCREENING_QUESTION_ANSWERS_JOB_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers,job,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_JOB_REJECT_REASON = "screening_question_answers,job,reject_reason" - SCREENING_QUESTION_ANSWERS_REJECT_REASON = "screening_question_answers,reject_reason" - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION = ( - "screening_question_answers,screening_question_answers.question" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE = ( - "screening_question_answers,screening_question_answers.question,candidate" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO = ( - "screening_question_answers,screening_question_answers.question,candidate,credited_to" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE = ( - "screening_question_answers,screening_question_answers.question,candidate,credited_to,current_stage" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "screening_question_answers,screening_question_answers.question,candidate,credited_to,current_stage,reject_reason" - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_REJECT_REASON = ( - "screening_question_answers,screening_question_answers.question,candidate,credited_to,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE = ( - "screening_question_answers,screening_question_answers.question,candidate,current_stage" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers,screening_question_answers.question,candidate,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB = ( - "screening_question_answers,screening_question_answers.question,candidate,job" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO = ( - "screening_question_answers,screening_question_answers.question,candidate,job,credited_to" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE = ( - "screening_question_answers,screening_question_answers.question,candidate,job,credited_to,current_stage" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "screening_question_answers,screening_question_answers.question,candidate,job,credited_to,current_stage,reject_reason" - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_REJECT_REASON = ( - "screening_question_answers,screening_question_answers.question,candidate,job,credited_to,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE = ( - "screening_question_answers,screening_question_answers.question,candidate,job,current_stage" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers,screening_question_answers.question,candidate,job,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_REJECT_REASON = ( - "screening_question_answers,screening_question_answers.question,candidate,job,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_REJECT_REASON = ( - "screening_question_answers,screening_question_answers.question,candidate,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO = ( - "screening_question_answers,screening_question_answers.question,credited_to" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE = ( - "screening_question_answers,screening_question_answers.question,credited_to,current_stage" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers,screening_question_answers.question,credited_to,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_REJECT_REASON = ( - "screening_question_answers,screening_question_answers.question,credited_to,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE = ( - "screening_question_answers,screening_question_answers.question,current_stage" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers,screening_question_answers.question,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB = ( - "screening_question_answers,screening_question_answers.question,job" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO = ( - "screening_question_answers,screening_question_answers.question,job,credited_to" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE = ( - "screening_question_answers,screening_question_answers.question,job,credited_to,current_stage" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers,screening_question_answers.question,job,credited_to,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_REJECT_REASON = ( - "screening_question_answers,screening_question_answers.question,job,credited_to,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE = ( - "screening_question_answers,screening_question_answers.question,job,current_stage" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers,screening_question_answers.question,job,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_REJECT_REASON = ( - "screening_question_answers,screening_question_answers.question,job,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_REJECT_REASON = ( - "screening_question_answers,screening_question_answers.question,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_QUESTION = "screening_question_answers.question" - SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE = "screening_question_answers.question,candidate" - SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO = ( - "screening_question_answers.question,candidate,credited_to" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE = ( - "screening_question_answers.question,candidate,credited_to,current_stage" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers.question,candidate,credited_to,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_REJECT_REASON = ( - "screening_question_answers.question,candidate,credited_to,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE = ( - "screening_question_answers.question,candidate,current_stage" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers.question,candidate,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB = "screening_question_answers.question,candidate,job" - SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO = ( - "screening_question_answers.question,candidate,job,credited_to" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE = ( - "screening_question_answers.question,candidate,job,credited_to,current_stage" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers.question,candidate,job,credited_to,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_REJECT_REASON = ( - "screening_question_answers.question,candidate,job,credited_to,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE = ( - "screening_question_answers.question,candidate,job,current_stage" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers.question,candidate,job,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_REJECT_REASON = ( - "screening_question_answers.question,candidate,job,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_REJECT_REASON = ( - "screening_question_answers.question,candidate,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO = "screening_question_answers.question,credited_to" - SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE = ( - "screening_question_answers.question,credited_to,current_stage" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers.question,credited_to,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_REJECT_REASON = ( - "screening_question_answers.question,credited_to,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE = "screening_question_answers.question,current_stage" - SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers.question,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_JOB = "screening_question_answers.question,job" - SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO = "screening_question_answers.question,job,credited_to" - SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE = ( - "screening_question_answers.question,job,credited_to,current_stage" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers.question,job,credited_to,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_REJECT_REASON = ( - "screening_question_answers.question,job,credited_to,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE = "screening_question_answers.question,job,current_stage" - SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers.question,job,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_JOB_REJECT_REASON = "screening_question_answers.question,job,reject_reason" - SCREENING_QUESTION_ANSWERS_QUESTION_REJECT_REASON = "screening_question_answers.question,reject_reason" - - def visit( - self, - candidate: typing.Callable[[], T_Result], - candidate_credited_to: typing.Callable[[], T_Result], - candidate_credited_to_current_stage: typing.Callable[[], T_Result], - candidate_credited_to_current_stage_reject_reason: typing.Callable[[], T_Result], - candidate_credited_to_reject_reason: typing.Callable[[], T_Result], - candidate_current_stage: typing.Callable[[], T_Result], - candidate_current_stage_reject_reason: typing.Callable[[], T_Result], - candidate_job: typing.Callable[[], T_Result], - candidate_job_credited_to: typing.Callable[[], T_Result], - candidate_job_credited_to_current_stage: typing.Callable[[], T_Result], - candidate_job_credited_to_current_stage_reject_reason: typing.Callable[[], T_Result], - candidate_job_credited_to_reject_reason: typing.Callable[[], T_Result], - candidate_job_current_stage: typing.Callable[[], T_Result], - candidate_job_current_stage_reject_reason: typing.Callable[[], T_Result], - candidate_job_reject_reason: typing.Callable[[], T_Result], - candidate_reject_reason: typing.Callable[[], T_Result], - credited_to: typing.Callable[[], T_Result], - credited_to_current_stage: typing.Callable[[], T_Result], - credited_to_current_stage_reject_reason: typing.Callable[[], T_Result], - credited_to_reject_reason: typing.Callable[[], T_Result], - current_stage: typing.Callable[[], T_Result], - current_stage_reject_reason: typing.Callable[[], T_Result], - job: typing.Callable[[], T_Result], - job_credited_to: typing.Callable[[], T_Result], - job_credited_to_current_stage: typing.Callable[[], T_Result], - job_credited_to_current_stage_reject_reason: typing.Callable[[], T_Result], - job_credited_to_reject_reason: typing.Callable[[], T_Result], - job_current_stage: typing.Callable[[], T_Result], - job_current_stage_reject_reason: typing.Callable[[], T_Result], - job_reject_reason: typing.Callable[[], T_Result], - offers: typing.Callable[[], T_Result], - offers_candidate: typing.Callable[[], T_Result], - offers_candidate_credited_to: typing.Callable[[], T_Result], - offers_candidate_credited_to_current_stage: typing.Callable[[], T_Result], - offers_candidate_credited_to_current_stage_reject_reason: typing.Callable[[], T_Result], - offers_candidate_credited_to_reject_reason: typing.Callable[[], T_Result], - offers_candidate_current_stage: typing.Callable[[], T_Result], - offers_candidate_current_stage_reject_reason: typing.Callable[[], T_Result], - offers_candidate_job: typing.Callable[[], T_Result], - offers_candidate_job_credited_to: typing.Callable[[], T_Result], - offers_candidate_job_credited_to_current_stage: typing.Callable[[], T_Result], - offers_candidate_job_credited_to_current_stage_reject_reason: typing.Callable[[], T_Result], - offers_candidate_job_credited_to_reject_reason: typing.Callable[[], T_Result], - offers_candidate_job_current_stage: typing.Callable[[], T_Result], - offers_candidate_job_current_stage_reject_reason: typing.Callable[[], T_Result], - offers_candidate_job_reject_reason: typing.Callable[[], T_Result], - offers_candidate_reject_reason: typing.Callable[[], T_Result], - offers_credited_to: typing.Callable[[], T_Result], - offers_credited_to_current_stage: typing.Callable[[], T_Result], - offers_credited_to_current_stage_reject_reason: typing.Callable[[], T_Result], - offers_credited_to_reject_reason: typing.Callable[[], T_Result], - offers_current_stage: typing.Callable[[], T_Result], - offers_current_stage_reject_reason: typing.Callable[[], T_Result], - offers_job: typing.Callable[[], T_Result], - offers_job_credited_to: typing.Callable[[], T_Result], - offers_job_credited_to_current_stage: typing.Callable[[], T_Result], - offers_job_credited_to_current_stage_reject_reason: typing.Callable[[], T_Result], - offers_job_credited_to_reject_reason: typing.Callable[[], T_Result], - offers_job_current_stage: typing.Callable[[], T_Result], - offers_job_current_stage_reject_reason: typing.Callable[[], T_Result], - offers_job_reject_reason: typing.Callable[[], T_Result], - offers_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers: typing.Callable[[], T_Result], - offers_screening_question_answers_candidate: typing.Callable[[], T_Result], - offers_screening_question_answers_candidate_credited_to: typing.Callable[[], T_Result], - offers_screening_question_answers_candidate_credited_to_current_stage: typing.Callable[[], T_Result], - offers_screening_question_answers_candidate_credited_to_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_candidate_credited_to_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_candidate_current_stage: typing.Callable[[], T_Result], - offers_screening_question_answers_candidate_current_stage_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_candidate_job: typing.Callable[[], T_Result], - offers_screening_question_answers_candidate_job_credited_to: typing.Callable[[], T_Result], - offers_screening_question_answers_candidate_job_credited_to_current_stage: typing.Callable[[], T_Result], - offers_screening_question_answers_candidate_job_credited_to_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_candidate_job_credited_to_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_candidate_job_current_stage: typing.Callable[[], T_Result], - offers_screening_question_answers_candidate_job_current_stage_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_candidate_job_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_candidate_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_credited_to: typing.Callable[[], T_Result], - offers_screening_question_answers_credited_to_current_stage: typing.Callable[[], T_Result], - offers_screening_question_answers_credited_to_current_stage_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_credited_to_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_current_stage: typing.Callable[[], T_Result], - offers_screening_question_answers_current_stage_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_job: typing.Callable[[], T_Result], - offers_screening_question_answers_job_credited_to: typing.Callable[[], T_Result], - offers_screening_question_answers_job_credited_to_current_stage: typing.Callable[[], T_Result], - offers_screening_question_answers_job_credited_to_current_stage_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_job_credited_to_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_job_current_stage: typing.Callable[[], T_Result], - offers_screening_question_answers_job_current_stage_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_job_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_screening_question_answers_question: typing.Callable[[], T_Result], - offers_screening_question_answers_screening_question_answers_question_candidate: typing.Callable[[], T_Result], - offers_screening_question_answers_screening_question_answers_question_candidate_credited_to: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_candidate_credited_to_current_stage: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_candidate_credited_to_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_candidate_credited_to_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_candidate_current_stage: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_candidate_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_candidate_job: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_candidate_job_credited_to: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_candidate_job_credited_to_current_stage: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_candidate_job_credited_to_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_candidate_job_credited_to_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_candidate_job_current_stage: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_candidate_job_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_candidate_job_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_candidate_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_credited_to: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_credited_to_current_stage: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_credited_to_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_credited_to_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_current_stage: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_job: typing.Callable[[], T_Result], - offers_screening_question_answers_screening_question_answers_question_job_credited_to: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_job_credited_to_current_stage: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_job_credited_to_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_job_credited_to_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_job_current_stage: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_job_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_job_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_question: typing.Callable[[], T_Result], - offers_screening_question_answers_question_candidate: typing.Callable[[], T_Result], - offers_screening_question_answers_question_candidate_credited_to: typing.Callable[[], T_Result], - offers_screening_question_answers_question_candidate_credited_to_current_stage: typing.Callable[[], T_Result], - offers_screening_question_answers_question_candidate_credited_to_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_question_candidate_credited_to_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_question_candidate_current_stage: typing.Callable[[], T_Result], - offers_screening_question_answers_question_candidate_current_stage_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_question_candidate_job: typing.Callable[[], T_Result], - offers_screening_question_answers_question_candidate_job_credited_to: typing.Callable[[], T_Result], - offers_screening_question_answers_question_candidate_job_credited_to_current_stage: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_question_candidate_job_credited_to_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_question_candidate_job_credited_to_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_question_candidate_job_current_stage: typing.Callable[[], T_Result], - offers_screening_question_answers_question_candidate_job_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_question_candidate_job_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_question_candidate_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_question_credited_to: typing.Callable[[], T_Result], - offers_screening_question_answers_question_credited_to_current_stage: typing.Callable[[], T_Result], - offers_screening_question_answers_question_credited_to_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_question_credited_to_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_question_current_stage: typing.Callable[[], T_Result], - offers_screening_question_answers_question_current_stage_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_question_job: typing.Callable[[], T_Result], - offers_screening_question_answers_question_job_credited_to: typing.Callable[[], T_Result], - offers_screening_question_answers_question_job_credited_to_current_stage: typing.Callable[[], T_Result], - offers_screening_question_answers_question_job_credited_to_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_question_job_credited_to_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_question_job_current_stage: typing.Callable[[], T_Result], - offers_screening_question_answers_question_job_current_stage_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_question_job_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_question_reject_reason: typing.Callable[[], T_Result], - reject_reason: typing.Callable[[], T_Result], - screening_question_answers: typing.Callable[[], T_Result], - screening_question_answers_candidate: typing.Callable[[], T_Result], - screening_question_answers_candidate_credited_to: typing.Callable[[], T_Result], - screening_question_answers_candidate_credited_to_current_stage: typing.Callable[[], T_Result], - screening_question_answers_candidate_credited_to_current_stage_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_candidate_credited_to_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_candidate_current_stage: typing.Callable[[], T_Result], - screening_question_answers_candidate_current_stage_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_candidate_job: typing.Callable[[], T_Result], - screening_question_answers_candidate_job_credited_to: typing.Callable[[], T_Result], - screening_question_answers_candidate_job_credited_to_current_stage: typing.Callable[[], T_Result], - screening_question_answers_candidate_job_credited_to_current_stage_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_candidate_job_credited_to_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_candidate_job_current_stage: typing.Callable[[], T_Result], - screening_question_answers_candidate_job_current_stage_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_candidate_job_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_candidate_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_credited_to: typing.Callable[[], T_Result], - screening_question_answers_credited_to_current_stage: typing.Callable[[], T_Result], - screening_question_answers_credited_to_current_stage_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_credited_to_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_current_stage: typing.Callable[[], T_Result], - screening_question_answers_current_stage_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_job: typing.Callable[[], T_Result], - screening_question_answers_job_credited_to: typing.Callable[[], T_Result], - screening_question_answers_job_credited_to_current_stage: typing.Callable[[], T_Result], - screening_question_answers_job_credited_to_current_stage_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_job_credited_to_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_job_current_stage: typing.Callable[[], T_Result], - screening_question_answers_job_current_stage_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_job_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_screening_question_answers_question: typing.Callable[[], T_Result], - screening_question_answers_screening_question_answers_question_candidate: typing.Callable[[], T_Result], - screening_question_answers_screening_question_answers_question_candidate_credited_to: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_candidate_credited_to_current_stage: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_candidate_credited_to_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_candidate_credited_to_reject_reason: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_candidate_current_stage: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_candidate_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_candidate_job: typing.Callable[[], T_Result], - screening_question_answers_screening_question_answers_question_candidate_job_credited_to: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_candidate_job_credited_to_current_stage: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_candidate_job_credited_to_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_candidate_job_credited_to_reject_reason: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_candidate_job_current_stage: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_candidate_job_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_candidate_job_reject_reason: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_candidate_reject_reason: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_credited_to: typing.Callable[[], T_Result], - screening_question_answers_screening_question_answers_question_credited_to_current_stage: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_credited_to_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_credited_to_reject_reason: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_current_stage: typing.Callable[[], T_Result], - screening_question_answers_screening_question_answers_question_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_job: typing.Callable[[], T_Result], - screening_question_answers_screening_question_answers_question_job_credited_to: typing.Callable[[], T_Result], - screening_question_answers_screening_question_answers_question_job_credited_to_current_stage: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_job_credited_to_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_job_credited_to_reject_reason: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_job_current_stage: typing.Callable[[], T_Result], - screening_question_answers_screening_question_answers_question_job_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_job_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_screening_question_answers_question_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_question: typing.Callable[[], T_Result], - screening_question_answers_question_candidate: typing.Callable[[], T_Result], - screening_question_answers_question_candidate_credited_to: typing.Callable[[], T_Result], - screening_question_answers_question_candidate_credited_to_current_stage: typing.Callable[[], T_Result], - screening_question_answers_question_candidate_credited_to_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - screening_question_answers_question_candidate_credited_to_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_question_candidate_current_stage: typing.Callable[[], T_Result], - screening_question_answers_question_candidate_current_stage_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_question_candidate_job: typing.Callable[[], T_Result], - screening_question_answers_question_candidate_job_credited_to: typing.Callable[[], T_Result], - screening_question_answers_question_candidate_job_credited_to_current_stage: typing.Callable[[], T_Result], - screening_question_answers_question_candidate_job_credited_to_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - screening_question_answers_question_candidate_job_credited_to_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_question_candidate_job_current_stage: typing.Callable[[], T_Result], - screening_question_answers_question_candidate_job_current_stage_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_question_candidate_job_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_question_candidate_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_question_credited_to: typing.Callable[[], T_Result], - screening_question_answers_question_credited_to_current_stage: typing.Callable[[], T_Result], - screening_question_answers_question_credited_to_current_stage_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_question_credited_to_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_question_current_stage: typing.Callable[[], T_Result], - screening_question_answers_question_current_stage_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_question_job: typing.Callable[[], T_Result], - screening_question_answers_question_job_credited_to: typing.Callable[[], T_Result], - screening_question_answers_question_job_credited_to_current_stage: typing.Callable[[], T_Result], - screening_question_answers_question_job_credited_to_current_stage_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_question_job_credited_to_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_question_job_current_stage: typing.Callable[[], T_Result], - screening_question_answers_question_job_current_stage_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_question_job_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_question_reject_reason: typing.Callable[[], T_Result], - ) -> T_Result: - if self is ApplicationsRetrieveRequestExpand.CANDIDATE: - return candidate() - if self is ApplicationsRetrieveRequestExpand.CANDIDATE_CREDITED_TO: - return candidate_credited_to() - if self is ApplicationsRetrieveRequestExpand.CANDIDATE_CREDITED_TO_CURRENT_STAGE: - return candidate_credited_to_current_stage() - if self is ApplicationsRetrieveRequestExpand.CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON: - return candidate_credited_to_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.CANDIDATE_CREDITED_TO_REJECT_REASON: - return candidate_credited_to_reject_reason() - if self is ApplicationsRetrieveRequestExpand.CANDIDATE_CURRENT_STAGE: - return candidate_current_stage() - if self is ApplicationsRetrieveRequestExpand.CANDIDATE_CURRENT_STAGE_REJECT_REASON: - return candidate_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.CANDIDATE_JOB: - return candidate_job() - if self is ApplicationsRetrieveRequestExpand.CANDIDATE_JOB_CREDITED_TO: - return candidate_job_credited_to() - if self is ApplicationsRetrieveRequestExpand.CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE: - return candidate_job_credited_to_current_stage() - if self is ApplicationsRetrieveRequestExpand.CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON: - return candidate_job_credited_to_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.CANDIDATE_JOB_CREDITED_TO_REJECT_REASON: - return candidate_job_credited_to_reject_reason() - if self is ApplicationsRetrieveRequestExpand.CANDIDATE_JOB_CURRENT_STAGE: - return candidate_job_current_stage() - if self is ApplicationsRetrieveRequestExpand.CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON: - return candidate_job_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.CANDIDATE_JOB_REJECT_REASON: - return candidate_job_reject_reason() - if self is ApplicationsRetrieveRequestExpand.CANDIDATE_REJECT_REASON: - return candidate_reject_reason() - if self is ApplicationsRetrieveRequestExpand.CREDITED_TO: - return credited_to() - if self is ApplicationsRetrieveRequestExpand.CREDITED_TO_CURRENT_STAGE: - return credited_to_current_stage() - if self is ApplicationsRetrieveRequestExpand.CREDITED_TO_CURRENT_STAGE_REJECT_REASON: - return credited_to_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.CREDITED_TO_REJECT_REASON: - return credited_to_reject_reason() - if self is ApplicationsRetrieveRequestExpand.CURRENT_STAGE: - return current_stage() - if self is ApplicationsRetrieveRequestExpand.CURRENT_STAGE_REJECT_REASON: - return current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.JOB: - return job() - if self is ApplicationsRetrieveRequestExpand.JOB_CREDITED_TO: - return job_credited_to() - if self is ApplicationsRetrieveRequestExpand.JOB_CREDITED_TO_CURRENT_STAGE: - return job_credited_to_current_stage() - if self is ApplicationsRetrieveRequestExpand.JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON: - return job_credited_to_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.JOB_CREDITED_TO_REJECT_REASON: - return job_credited_to_reject_reason() - if self is ApplicationsRetrieveRequestExpand.JOB_CURRENT_STAGE: - return job_current_stage() - if self is ApplicationsRetrieveRequestExpand.JOB_CURRENT_STAGE_REJECT_REASON: - return job_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.JOB_REJECT_REASON: - return job_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS: - return offers() - if self is ApplicationsRetrieveRequestExpand.OFFERS_CANDIDATE: - return offers_candidate() - if self is ApplicationsRetrieveRequestExpand.OFFERS_CANDIDATE_CREDITED_TO: - return offers_candidate_credited_to() - if self is ApplicationsRetrieveRequestExpand.OFFERS_CANDIDATE_CREDITED_TO_CURRENT_STAGE: - return offers_candidate_credited_to_current_stage() - if self is ApplicationsRetrieveRequestExpand.OFFERS_CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON: - return offers_candidate_credited_to_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_CANDIDATE_CREDITED_TO_REJECT_REASON: - return offers_candidate_credited_to_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_CANDIDATE_CURRENT_STAGE: - return offers_candidate_current_stage() - if self is ApplicationsRetrieveRequestExpand.OFFERS_CANDIDATE_CURRENT_STAGE_REJECT_REASON: - return offers_candidate_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_CANDIDATE_JOB: - return offers_candidate_job() - if self is ApplicationsRetrieveRequestExpand.OFFERS_CANDIDATE_JOB_CREDITED_TO: - return offers_candidate_job_credited_to() - if self is ApplicationsRetrieveRequestExpand.OFFERS_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE: - return offers_candidate_job_credited_to_current_stage() - if self is ApplicationsRetrieveRequestExpand.OFFERS_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON: - return offers_candidate_job_credited_to_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_CANDIDATE_JOB_CREDITED_TO_REJECT_REASON: - return offers_candidate_job_credited_to_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_CANDIDATE_JOB_CURRENT_STAGE: - return offers_candidate_job_current_stage() - if self is ApplicationsRetrieveRequestExpand.OFFERS_CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON: - return offers_candidate_job_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_CANDIDATE_JOB_REJECT_REASON: - return offers_candidate_job_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_CANDIDATE_REJECT_REASON: - return offers_candidate_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_CREDITED_TO: - return offers_credited_to() - if self is ApplicationsRetrieveRequestExpand.OFFERS_CREDITED_TO_CURRENT_STAGE: - return offers_credited_to_current_stage() - if self is ApplicationsRetrieveRequestExpand.OFFERS_CREDITED_TO_CURRENT_STAGE_REJECT_REASON: - return offers_credited_to_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_CREDITED_TO_REJECT_REASON: - return offers_credited_to_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_CURRENT_STAGE: - return offers_current_stage() - if self is ApplicationsRetrieveRequestExpand.OFFERS_CURRENT_STAGE_REJECT_REASON: - return offers_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_JOB: - return offers_job() - if self is ApplicationsRetrieveRequestExpand.OFFERS_JOB_CREDITED_TO: - return offers_job_credited_to() - if self is ApplicationsRetrieveRequestExpand.OFFERS_JOB_CREDITED_TO_CURRENT_STAGE: - return offers_job_credited_to_current_stage() - if self is ApplicationsRetrieveRequestExpand.OFFERS_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON: - return offers_job_credited_to_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_JOB_CREDITED_TO_REJECT_REASON: - return offers_job_credited_to_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_JOB_CURRENT_STAGE: - return offers_job_current_stage() - if self is ApplicationsRetrieveRequestExpand.OFFERS_JOB_CURRENT_STAGE_REJECT_REASON: - return offers_job_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_JOB_REJECT_REASON: - return offers_job_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_REJECT_REASON: - return offers_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS: - return offers_screening_question_answers() - if self is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE: - return offers_screening_question_answers_candidate() - if self is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO: - return offers_screening_question_answers_candidate_credited_to() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO_CURRENT_STAGE - ): - return offers_screening_question_answers_candidate_credited_to_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_candidate_credited_to_current_stage_reject_reason() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO_REJECT_REASON - ): - return offers_screening_question_answers_candidate_credited_to_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_CURRENT_STAGE: - return offers_screening_question_answers_candidate_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_candidate_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB: - return offers_screening_question_answers_candidate_job() - if self is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO: - return offers_screening_question_answers_candidate_job_credited_to() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE - ): - return offers_screening_question_answers_candidate_job_credited_to_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_candidate_job_credited_to_current_stage_reject_reason() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO_REJECT_REASON - ): - return offers_screening_question_answers_candidate_job_credited_to_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CURRENT_STAGE: - return offers_screening_question_answers_candidate_job_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_candidate_job_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_REJECT_REASON: - return offers_screening_question_answers_candidate_job_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_REJECT_REASON: - return offers_screening_question_answers_candidate_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CREDITED_TO: - return offers_screening_question_answers_credited_to() - if self is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CREDITED_TO_CURRENT_STAGE: - return offers_screening_question_answers_credited_to_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_credited_to_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CREDITED_TO_REJECT_REASON: - return offers_screening_question_answers_credited_to_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CURRENT_STAGE: - return offers_screening_question_answers_current_stage() - if self is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CURRENT_STAGE_REJECT_REASON: - return offers_screening_question_answers_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_JOB: - return offers_screening_question_answers_job() - if self is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO: - return offers_screening_question_answers_job_credited_to() - if self is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO_CURRENT_STAGE: - return offers_screening_question_answers_job_credited_to_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_job_credited_to_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO_REJECT_REASON: - return offers_screening_question_answers_job_credited_to_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_JOB_CURRENT_STAGE: - return offers_screening_question_answers_job_current_stage() - if self is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_JOB_CURRENT_STAGE_REJECT_REASON: - return offers_screening_question_answers_job_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_JOB_REJECT_REASON: - return offers_screening_question_answers_job_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_REJECT_REASON: - return offers_screening_question_answers_reject_reason() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION - ): - return offers_screening_question_answers_screening_question_answers_question() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE - ): - return offers_screening_question_answers_screening_question_answers_question_candidate() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO - ): - return offers_screening_question_answers_screening_question_answers_question_candidate_credited_to() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE - ): - return offers_screening_question_answers_screening_question_answers_question_candidate_credited_to_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_screening_question_answers_question_candidate_credited_to_current_stage_reject_reason() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_REJECT_REASON - ): - return offers_screening_question_answers_screening_question_answers_question_candidate_credited_to_reject_reason() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE - ): - return offers_screening_question_answers_screening_question_answers_question_candidate_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_screening_question_answers_question_candidate_current_stage_reject_reason() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB - ): - return offers_screening_question_answers_screening_question_answers_question_candidate_job() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO - ): - return offers_screening_question_answers_screening_question_answers_question_candidate_job_credited_to() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE - ): - return offers_screening_question_answers_screening_question_answers_question_candidate_job_credited_to_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_screening_question_answers_question_candidate_job_credited_to_current_stage_reject_reason() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_REJECT_REASON - ): - return offers_screening_question_answers_screening_question_answers_question_candidate_job_credited_to_reject_reason() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE - ): - return offers_screening_question_answers_screening_question_answers_question_candidate_job_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_screening_question_answers_question_candidate_job_current_stage_reject_reason() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_REJECT_REASON - ): - return offers_screening_question_answers_screening_question_answers_question_candidate_job_reject_reason() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_REJECT_REASON - ): - return offers_screening_question_answers_screening_question_answers_question_candidate_reject_reason() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO - ): - return offers_screening_question_answers_screening_question_answers_question_credited_to() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE - ): - return offers_screening_question_answers_screening_question_answers_question_credited_to_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_screening_question_answers_question_credited_to_current_stage_reject_reason() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_REJECT_REASON - ): - return offers_screening_question_answers_screening_question_answers_question_credited_to_reject_reason() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE - ): - return offers_screening_question_answers_screening_question_answers_question_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_screening_question_answers_question_current_stage_reject_reason() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB - ): - return offers_screening_question_answers_screening_question_answers_question_job() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO - ): - return offers_screening_question_answers_screening_question_answers_question_job_credited_to() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE - ): - return offers_screening_question_answers_screening_question_answers_question_job_credited_to_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_screening_question_answers_question_job_credited_to_current_stage_reject_reason() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_REJECT_REASON - ): - return offers_screening_question_answers_screening_question_answers_question_job_credited_to_reject_reason() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE - ): - return offers_screening_question_answers_screening_question_answers_question_job_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE_REJECT_REASON - ): - return ( - offers_screening_question_answers_screening_question_answers_question_job_current_stage_reject_reason() - ) - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_REJECT_REASON - ): - return offers_screening_question_answers_screening_question_answers_question_job_reject_reason() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_REJECT_REASON - ): - return offers_screening_question_answers_screening_question_answers_question_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION: - return offers_screening_question_answers_question() - if self is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE: - return offers_screening_question_answers_question_candidate() - if self is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO: - return offers_screening_question_answers_question_candidate_credited_to() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE - ): - return offers_screening_question_answers_question_candidate_credited_to_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_question_candidate_credited_to_current_stage_reject_reason() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_REJECT_REASON - ): - return offers_screening_question_answers_question_candidate_credited_to_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE: - return offers_screening_question_answers_question_candidate_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_question_candidate_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB: - return offers_screening_question_answers_question_candidate_job() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO - ): - return offers_screening_question_answers_question_candidate_job_credited_to() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE - ): - return offers_screening_question_answers_question_candidate_job_credited_to_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_question_candidate_job_credited_to_current_stage_reject_reason() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_REJECT_REASON - ): - return offers_screening_question_answers_question_candidate_job_credited_to_reject_reason() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE - ): - return offers_screening_question_answers_question_candidate_job_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_question_candidate_job_current_stage_reject_reason() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_REJECT_REASON - ): - return offers_screening_question_answers_question_candidate_job_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_REJECT_REASON: - return offers_screening_question_answers_question_candidate_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO: - return offers_screening_question_answers_question_credited_to() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE - ): - return offers_screening_question_answers_question_credited_to_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_question_credited_to_current_stage_reject_reason() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_REJECT_REASON - ): - return offers_screening_question_answers_question_credited_to_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE: - return offers_screening_question_answers_question_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_question_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB: - return offers_screening_question_answers_question_job() - if self is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO: - return offers_screening_question_answers_question_job_credited_to() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE - ): - return offers_screening_question_answers_question_job_credited_to_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_question_job_credited_to_current_stage_reject_reason() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_REJECT_REASON - ): - return offers_screening_question_answers_question_job_credited_to_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE: - return offers_screening_question_answers_question_job_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_question_job_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_REJECT_REASON: - return offers_screening_question_answers_question_job_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_REJECT_REASON: - return offers_screening_question_answers_question_reject_reason() - if self is ApplicationsRetrieveRequestExpand.REJECT_REASON: - return reject_reason() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS: - return screening_question_answers() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_CANDIDATE: - return screening_question_answers_candidate() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO: - return screening_question_answers_candidate_credited_to() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO_CURRENT_STAGE: - return screening_question_answers_candidate_credited_to_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return screening_question_answers_candidate_credited_to_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO_REJECT_REASON: - return screening_question_answers_candidate_credited_to_reject_reason() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_CANDIDATE_CURRENT_STAGE: - return screening_question_answers_candidate_current_stage() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_CANDIDATE_CURRENT_STAGE_REJECT_REASON: - return screening_question_answers_candidate_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB: - return screening_question_answers_candidate_job() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO: - return screening_question_answers_candidate_job_credited_to() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE: - return screening_question_answers_candidate_job_credited_to_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return screening_question_answers_candidate_job_credited_to_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO_REJECT_REASON: - return screening_question_answers_candidate_job_credited_to_reject_reason() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CURRENT_STAGE: - return screening_question_answers_candidate_job_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON - ): - return screening_question_answers_candidate_job_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_REJECT_REASON: - return screening_question_answers_candidate_job_reject_reason() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_CANDIDATE_REJECT_REASON: - return screening_question_answers_candidate_reject_reason() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_CREDITED_TO: - return screening_question_answers_credited_to() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_CREDITED_TO_CURRENT_STAGE: - return screening_question_answers_credited_to_current_stage() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_CREDITED_TO_CURRENT_STAGE_REJECT_REASON: - return screening_question_answers_credited_to_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_CREDITED_TO_REJECT_REASON: - return screening_question_answers_credited_to_reject_reason() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_CURRENT_STAGE: - return screening_question_answers_current_stage() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_CURRENT_STAGE_REJECT_REASON: - return screening_question_answers_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_JOB: - return screening_question_answers_job() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO: - return screening_question_answers_job_credited_to() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO_CURRENT_STAGE: - return screening_question_answers_job_credited_to_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return screening_question_answers_job_credited_to_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO_REJECT_REASON: - return screening_question_answers_job_credited_to_reject_reason() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_JOB_CURRENT_STAGE: - return screening_question_answers_job_current_stage() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_JOB_CURRENT_STAGE_REJECT_REASON: - return screening_question_answers_job_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_JOB_REJECT_REASON: - return screening_question_answers_job_reject_reason() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_REJECT_REASON: - return screening_question_answers_reject_reason() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION: - return screening_question_answers_screening_question_answers_question() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE - ): - return screening_question_answers_screening_question_answers_question_candidate() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO - ): - return screening_question_answers_screening_question_answers_question_candidate_credited_to() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE - ): - return screening_question_answers_screening_question_answers_question_candidate_credited_to_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return screening_question_answers_screening_question_answers_question_candidate_credited_to_current_stage_reject_reason() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_REJECT_REASON - ): - return screening_question_answers_screening_question_answers_question_candidate_credited_to_reject_reason() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE - ): - return screening_question_answers_screening_question_answers_question_candidate_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE_REJECT_REASON - ): - return ( - screening_question_answers_screening_question_answers_question_candidate_current_stage_reject_reason() - ) - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB - ): - return screening_question_answers_screening_question_answers_question_candidate_job() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO - ): - return screening_question_answers_screening_question_answers_question_candidate_job_credited_to() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE - ): - return ( - screening_question_answers_screening_question_answers_question_candidate_job_credited_to_current_stage() - ) - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return screening_question_answers_screening_question_answers_question_candidate_job_credited_to_current_stage_reject_reason() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_REJECT_REASON - ): - return ( - screening_question_answers_screening_question_answers_question_candidate_job_credited_to_reject_reason() - ) - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE - ): - return screening_question_answers_screening_question_answers_question_candidate_job_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON - ): - return screening_question_answers_screening_question_answers_question_candidate_job_current_stage_reject_reason() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_REJECT_REASON - ): - return screening_question_answers_screening_question_answers_question_candidate_job_reject_reason() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_REJECT_REASON - ): - return screening_question_answers_screening_question_answers_question_candidate_reject_reason() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO - ): - return screening_question_answers_screening_question_answers_question_credited_to() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE - ): - return screening_question_answers_screening_question_answers_question_credited_to_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return ( - screening_question_answers_screening_question_answers_question_credited_to_current_stage_reject_reason() - ) - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_REJECT_REASON - ): - return screening_question_answers_screening_question_answers_question_credited_to_reject_reason() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE - ): - return screening_question_answers_screening_question_answers_question_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE_REJECT_REASON - ): - return screening_question_answers_screening_question_answers_question_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB: - return screening_question_answers_screening_question_answers_question_job() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO - ): - return screening_question_answers_screening_question_answers_question_job_credited_to() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE - ): - return screening_question_answers_screening_question_answers_question_job_credited_to_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return screening_question_answers_screening_question_answers_question_job_credited_to_current_stage_reject_reason() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_REJECT_REASON - ): - return screening_question_answers_screening_question_answers_question_job_credited_to_reject_reason() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE - ): - return screening_question_answers_screening_question_answers_question_job_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE_REJECT_REASON - ): - return screening_question_answers_screening_question_answers_question_job_current_stage_reject_reason() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_REJECT_REASON - ): - return screening_question_answers_screening_question_answers_question_job_reject_reason() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_REJECT_REASON - ): - return screening_question_answers_screening_question_answers_question_reject_reason() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION: - return screening_question_answers_question() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE: - return screening_question_answers_question_candidate() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO: - return screening_question_answers_question_candidate_credited_to() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE - ): - return screening_question_answers_question_candidate_credited_to_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return screening_question_answers_question_candidate_credited_to_current_stage_reject_reason() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_REJECT_REASON - ): - return screening_question_answers_question_candidate_credited_to_reject_reason() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE: - return screening_question_answers_question_candidate_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE_REJECT_REASON - ): - return screening_question_answers_question_candidate_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB: - return screening_question_answers_question_candidate_job() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO: - return screening_question_answers_question_candidate_job_credited_to() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE - ): - return screening_question_answers_question_candidate_job_credited_to_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return screening_question_answers_question_candidate_job_credited_to_current_stage_reject_reason() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_REJECT_REASON - ): - return screening_question_answers_question_candidate_job_credited_to_reject_reason() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE: - return screening_question_answers_question_candidate_job_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON - ): - return screening_question_answers_question_candidate_job_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_REJECT_REASON: - return screening_question_answers_question_candidate_job_reject_reason() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_REJECT_REASON: - return screening_question_answers_question_candidate_reject_reason() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO: - return screening_question_answers_question_credited_to() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE: - return screening_question_answers_question_credited_to_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return screening_question_answers_question_credited_to_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_REJECT_REASON: - return screening_question_answers_question_credited_to_reject_reason() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE: - return screening_question_answers_question_current_stage() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE_REJECT_REASON: - return screening_question_answers_question_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_JOB: - return screening_question_answers_question_job() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO: - return screening_question_answers_question_job_credited_to() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE: - return screening_question_answers_question_job_credited_to_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return screening_question_answers_question_job_credited_to_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_REJECT_REASON: - return screening_question_answers_question_job_credited_to_reject_reason() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE: - return screening_question_answers_question_job_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE_REJECT_REASON - ): - return screening_question_answers_question_job_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_JOB_REJECT_REASON: - return screening_question_answers_question_job_reject_reason() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_REJECT_REASON: - return screening_question_answers_question_reject_reason() diff --git a/src/merge/resources/ats/resources/applications/types/applications_retrieve_request_expand_item.py b/src/merge/resources/ats/resources/applications/types/applications_retrieve_request_expand_item.py new file mode 100644 index 00000000..19a3f612 --- /dev/null +++ b/src/merge/resources/ats/resources/applications/types/applications_retrieve_request_expand_item.py @@ -0,0 +1,45 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class ApplicationsRetrieveRequestExpandItem(str, enum.Enum): + CANDIDATE = "candidate" + CREDITED_TO = "credited_to" + CURRENT_STAGE = "current_stage" + JOB = "job" + OFFERS = "offers" + REJECT_REASON = "reject_reason" + SCREENING_QUESTION_ANSWERS = "screening_question_answers" + SCREENING_QUESTION_ANSWERS_QUESTION = "screening_question_answers.question" + + def visit( + self, + candidate: typing.Callable[[], T_Result], + credited_to: typing.Callable[[], T_Result], + current_stage: typing.Callable[[], T_Result], + job: typing.Callable[[], T_Result], + offers: typing.Callable[[], T_Result], + reject_reason: typing.Callable[[], T_Result], + screening_question_answers: typing.Callable[[], T_Result], + screening_question_answers_question: typing.Callable[[], T_Result], + ) -> T_Result: + if self is ApplicationsRetrieveRequestExpandItem.CANDIDATE: + return candidate() + if self is ApplicationsRetrieveRequestExpandItem.CREDITED_TO: + return credited_to() + if self is ApplicationsRetrieveRequestExpandItem.CURRENT_STAGE: + return current_stage() + if self is ApplicationsRetrieveRequestExpandItem.JOB: + return job() + if self is ApplicationsRetrieveRequestExpandItem.OFFERS: + return offers() + if self is ApplicationsRetrieveRequestExpandItem.REJECT_REASON: + return reject_reason() + if self is ApplicationsRetrieveRequestExpandItem.SCREENING_QUESTION_ANSWERS: + return screening_question_answers() + if self is ApplicationsRetrieveRequestExpandItem.SCREENING_QUESTION_ANSWERS_QUESTION: + return screening_question_answers_question() diff --git a/src/merge/resources/ats/resources/async_passthrough/__init__.py b/src/merge/resources/ats/resources/async_passthrough/__init__.py index 375c7953..11090986 100644 --- a/src/merge/resources/ats/resources/async_passthrough/__init__.py +++ b/src/merge/resources/ats/resources/async_passthrough/__init__.py @@ -16,8 +16,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: diff --git a/src/merge/resources/ats/resources/async_passthrough/types/__init__.py b/src/merge/resources/ats/resources/async_passthrough/types/__init__.py index f6e9bec9..dc335400 100644 --- a/src/merge/resources/ats/resources/async_passthrough/types/__init__.py +++ b/src/merge/resources/ats/resources/async_passthrough/types/__init__.py @@ -16,8 +16,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: diff --git a/src/merge/resources/ats/resources/attachments/__init__.py b/src/merge/resources/ats/resources/attachments/__init__.py index 5cde0202..fb54fd42 100644 --- a/src/merge/resources/ats/resources/attachments/__init__.py +++ b/src/merge/resources/ats/resources/attachments/__init__.py @@ -2,3 +2,54 @@ # isort: skip_file +import typing +from importlib import import_module + +if typing.TYPE_CHECKING: + from .types import ( + AttachmentsListRequestExpandItem, + AttachmentsListRequestRemoteFields, + AttachmentsListRequestShowEnumOrigins, + AttachmentsRetrieveRequestExpandItem, + AttachmentsRetrieveRequestRemoteFields, + AttachmentsRetrieveRequestShowEnumOrigins, + ) +_dynamic_imports: typing.Dict[str, str] = { + "AttachmentsListRequestExpandItem": ".types", + "AttachmentsListRequestRemoteFields": ".types", + "AttachmentsListRequestShowEnumOrigins": ".types", + "AttachmentsRetrieveRequestExpandItem": ".types", + "AttachmentsRetrieveRequestRemoteFields": ".types", + "AttachmentsRetrieveRequestShowEnumOrigins": ".types", +} + + +def __getattr__(attr_name: str) -> typing.Any: + module_name = _dynamic_imports.get(attr_name) + if module_name is None: + raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") + try: + module = import_module(module_name, __package__) + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) + except ImportError as e: + raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e + except AttributeError as e: + raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e + + +def __dir__(): + lazy_attrs = list(_dynamic_imports.keys()) + return sorted(lazy_attrs) + + +__all__ = [ + "AttachmentsListRequestExpandItem", + "AttachmentsListRequestRemoteFields", + "AttachmentsListRequestShowEnumOrigins", + "AttachmentsRetrieveRequestExpandItem", + "AttachmentsRetrieveRequestRemoteFields", + "AttachmentsRetrieveRequestShowEnumOrigins", +] diff --git a/src/merge/resources/ats/resources/attachments/client.py b/src/merge/resources/ats/resources/attachments/client.py index df51bb47..c2f41ba9 100644 --- a/src/merge/resources/ats/resources/attachments/client.py +++ b/src/merge/resources/ats/resources/attachments/client.py @@ -4,6 +4,7 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.attachment import Attachment from ...types.attachment_request import AttachmentRequest @@ -11,6 +12,12 @@ from ...types.meta_response import MetaResponse from ...types.paginated_attachment_list import PaginatedAttachmentList from .raw_client import AsyncRawAttachmentsClient, RawAttachmentsClient +from .types.attachments_list_request_expand_item import AttachmentsListRequestExpandItem +from .types.attachments_list_request_remote_fields import AttachmentsListRequestRemoteFields +from .types.attachments_list_request_show_enum_origins import AttachmentsListRequestShowEnumOrigins +from .types.attachments_retrieve_request_expand_item import AttachmentsRetrieveRequestExpandItem +from .types.attachments_retrieve_request_remote_fields import AttachmentsRetrieveRequestRemoteFields +from .types.attachments_retrieve_request_show_enum_origins import AttachmentsRetrieveRequestShowEnumOrigins # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -38,18 +45,20 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["candidate"]] = None, + expand: typing.Optional[ + typing.Union[AttachmentsListRequestExpandItem, typing.Sequence[AttachmentsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, modified_after: typing.Optional[dt.datetime] = None, modified_before: typing.Optional[dt.datetime] = None, page_size: typing.Optional[int] = None, - remote_fields: typing.Optional[typing.Literal["attachment_type"]] = None, + remote_fields: typing.Optional[AttachmentsListRequestRemoteFields] = None, remote_id: typing.Optional[str] = None, - show_enum_origins: typing.Optional[typing.Literal["attachment_type"]] = None, + show_enum_origins: typing.Optional[AttachmentsListRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAttachmentList: + ) -> SyncPager[Attachment, PaginatedAttachmentList]: """ Returns a list of `Attachment` objects. @@ -67,7 +76,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["candidate"]] + expand : typing.Optional[typing.Union[AttachmentsListRequestExpandItem, typing.Sequence[AttachmentsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -88,13 +97,13 @@ def list( page_size : typing.Optional[int] Number of results to return per page. - remote_fields : typing.Optional[typing.Literal["attachment_type"]] + remote_fields : typing.Optional[AttachmentsListRequestRemoteFields] Deprecated. Use show_enum_origins. remote_id : typing.Optional[str] The API provider's ID for the given object. - show_enum_origins : typing.Optional[typing.Literal["attachment_type"]] + show_enum_origins : typing.Optional[AttachmentsListRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -102,42 +111,27 @@ def list( Returns ------- - PaginatedAttachmentList + SyncPager[Attachment, PaginatedAttachmentList] Examples -------- - import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ats.attachments.list( - candidate_id="candidate_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = client.ats.attachments.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( candidate_id=candidate_id, created_after=created_after, created_before=created_before, @@ -154,7 +148,6 @@ def list( show_enum_origins=show_enum_origins, request_options=request_options, ) - return _response.data def create( self, @@ -198,8 +191,6 @@ def create( api_key="YOUR_API_KEY", ) client.ats.attachments.create( - is_debug_mode=True, - run_async=True, model=AttachmentRequest(), remote_user_id="remote_user_id", ) @@ -217,11 +208,13 @@ def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["candidate"]] = None, + expand: typing.Optional[ + typing.Union[AttachmentsRetrieveRequestExpandItem, typing.Sequence[AttachmentsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - remote_fields: typing.Optional[typing.Literal["attachment_type"]] = None, - show_enum_origins: typing.Optional[typing.Literal["attachment_type"]] = None, + remote_fields: typing.Optional[AttachmentsRetrieveRequestRemoteFields] = None, + show_enum_origins: typing.Optional[AttachmentsRetrieveRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, ) -> Attachment: """ @@ -231,7 +224,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["candidate"]] + expand : typing.Optional[typing.Union[AttachmentsRetrieveRequestExpandItem, typing.Sequence[AttachmentsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -240,10 +233,10 @@ def retrieve( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - remote_fields : typing.Optional[typing.Literal["attachment_type"]] + remote_fields : typing.Optional[AttachmentsRetrieveRequestRemoteFields] Deprecated. Use show_enum_origins. - show_enum_origins : typing.Optional[typing.Literal["attachment_type"]] + show_enum_origins : typing.Optional[AttachmentsRetrieveRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -264,8 +257,6 @@ def retrieve( ) client.ats.attachments.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) """ _response = self._raw_client.retrieve( @@ -329,18 +320,20 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["candidate"]] = None, + expand: typing.Optional[ + typing.Union[AttachmentsListRequestExpandItem, typing.Sequence[AttachmentsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, modified_after: typing.Optional[dt.datetime] = None, modified_before: typing.Optional[dt.datetime] = None, page_size: typing.Optional[int] = None, - remote_fields: typing.Optional[typing.Literal["attachment_type"]] = None, + remote_fields: typing.Optional[AttachmentsListRequestRemoteFields] = None, remote_id: typing.Optional[str] = None, - show_enum_origins: typing.Optional[typing.Literal["attachment_type"]] = None, + show_enum_origins: typing.Optional[AttachmentsListRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAttachmentList: + ) -> AsyncPager[Attachment, PaginatedAttachmentList]: """ Returns a list of `Attachment` objects. @@ -358,7 +351,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["candidate"]] + expand : typing.Optional[typing.Union[AttachmentsListRequestExpandItem, typing.Sequence[AttachmentsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -379,13 +372,13 @@ async def list( page_size : typing.Optional[int] Number of results to return per page. - remote_fields : typing.Optional[typing.Literal["attachment_type"]] + remote_fields : typing.Optional[AttachmentsListRequestRemoteFields] Deprecated. Use show_enum_origins. remote_id : typing.Optional[str] The API provider's ID for the given object. - show_enum_origins : typing.Optional[typing.Literal["attachment_type"]] + show_enum_origins : typing.Optional[AttachmentsListRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -393,13 +386,12 @@ async def list( Returns ------- - PaginatedAttachmentList + AsyncPager[Attachment, PaginatedAttachmentList] Examples -------- import asyncio - import datetime from merge import AsyncMerge @@ -410,32 +402,20 @@ async def list( async def main() -> None: - await client.ats.attachments.list( - candidate_id="candidate_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = await client.ats.attachments.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( candidate_id=candidate_id, created_after=created_after, created_before=created_before, @@ -452,7 +432,6 @@ async def main() -> None: show_enum_origins=show_enum_origins, request_options=request_options, ) - return _response.data async def create( self, @@ -501,8 +480,6 @@ async def create( async def main() -> None: await client.ats.attachments.create( - is_debug_mode=True, - run_async=True, model=AttachmentRequest(), remote_user_id="remote_user_id", ) @@ -523,11 +500,13 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["candidate"]] = None, + expand: typing.Optional[ + typing.Union[AttachmentsRetrieveRequestExpandItem, typing.Sequence[AttachmentsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - remote_fields: typing.Optional[typing.Literal["attachment_type"]] = None, - show_enum_origins: typing.Optional[typing.Literal["attachment_type"]] = None, + remote_fields: typing.Optional[AttachmentsRetrieveRequestRemoteFields] = None, + show_enum_origins: typing.Optional[AttachmentsRetrieveRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, ) -> Attachment: """ @@ -537,7 +516,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["candidate"]] + expand : typing.Optional[typing.Union[AttachmentsRetrieveRequestExpandItem, typing.Sequence[AttachmentsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -546,10 +525,10 @@ async def retrieve( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - remote_fields : typing.Optional[typing.Literal["attachment_type"]] + remote_fields : typing.Optional[AttachmentsRetrieveRequestRemoteFields] Deprecated. Use show_enum_origins. - show_enum_origins : typing.Optional[typing.Literal["attachment_type"]] + show_enum_origins : typing.Optional[AttachmentsRetrieveRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -575,8 +554,6 @@ async def retrieve( async def main() -> None: await client.ats.attachments.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) diff --git a/src/merge/resources/ats/resources/attachments/raw_client.py b/src/merge/resources/ats/resources/attachments/raw_client.py index cb05fc3d..e659f362 100644 --- a/src/merge/resources/ats/resources/attachments/raw_client.py +++ b/src/merge/resources/ats/resources/attachments/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.attachment import Attachment @@ -16,6 +17,12 @@ from ...types.attachment_response import AttachmentResponse from ...types.meta_response import MetaResponse from ...types.paginated_attachment_list import PaginatedAttachmentList +from .types.attachments_list_request_expand_item import AttachmentsListRequestExpandItem +from .types.attachments_list_request_remote_fields import AttachmentsListRequestRemoteFields +from .types.attachments_list_request_show_enum_origins import AttachmentsListRequestShowEnumOrigins +from .types.attachments_retrieve_request_expand_item import AttachmentsRetrieveRequestExpandItem +from .types.attachments_retrieve_request_remote_fields import AttachmentsRetrieveRequestRemoteFields +from .types.attachments_retrieve_request_show_enum_origins import AttachmentsRetrieveRequestShowEnumOrigins # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -32,18 +39,20 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["candidate"]] = None, + expand: typing.Optional[ + typing.Union[AttachmentsListRequestExpandItem, typing.Sequence[AttachmentsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, modified_after: typing.Optional[dt.datetime] = None, modified_before: typing.Optional[dt.datetime] = None, page_size: typing.Optional[int] = None, - remote_fields: typing.Optional[typing.Literal["attachment_type"]] = None, + remote_fields: typing.Optional[AttachmentsListRequestRemoteFields] = None, remote_id: typing.Optional[str] = None, - show_enum_origins: typing.Optional[typing.Literal["attachment_type"]] = None, + show_enum_origins: typing.Optional[AttachmentsListRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedAttachmentList]: + ) -> SyncPager[Attachment, PaginatedAttachmentList]: """ Returns a list of `Attachment` objects. @@ -61,7 +70,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["candidate"]] + expand : typing.Optional[typing.Union[AttachmentsListRequestExpandItem, typing.Sequence[AttachmentsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -82,13 +91,13 @@ def list( page_size : typing.Optional[int] Number of results to return per page. - remote_fields : typing.Optional[typing.Literal["attachment_type"]] + remote_fields : typing.Optional[AttachmentsListRequestRemoteFields] Deprecated. Use show_enum_origins. remote_id : typing.Optional[str] The API provider's ID for the given object. - show_enum_origins : typing.Optional[typing.Literal["attachment_type"]] + show_enum_origins : typing.Optional[AttachmentsListRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -96,7 +105,7 @@ def list( Returns ------- - HttpResponse[PaginatedAttachmentList] + SyncPager[Attachment, PaginatedAttachmentList] """ _response = self._client_wrapper.httpx_client.request( @@ -122,14 +131,34 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAttachmentList, construct_type( type_=PaginatedAttachmentList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + candidate_id=candidate_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -203,11 +232,13 @@ def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["candidate"]] = None, + expand: typing.Optional[ + typing.Union[AttachmentsRetrieveRequestExpandItem, typing.Sequence[AttachmentsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - remote_fields: typing.Optional[typing.Literal["attachment_type"]] = None, - show_enum_origins: typing.Optional[typing.Literal["attachment_type"]] = None, + remote_fields: typing.Optional[AttachmentsRetrieveRequestRemoteFields] = None, + show_enum_origins: typing.Optional[AttachmentsRetrieveRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[Attachment]: """ @@ -217,7 +248,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["candidate"]] + expand : typing.Optional[typing.Union[AttachmentsRetrieveRequestExpandItem, typing.Sequence[AttachmentsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -226,10 +257,10 @@ def retrieve( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - remote_fields : typing.Optional[typing.Literal["attachment_type"]] + remote_fields : typing.Optional[AttachmentsRetrieveRequestRemoteFields] Deprecated. Use show_enum_origins. - show_enum_origins : typing.Optional[typing.Literal["attachment_type"]] + show_enum_origins : typing.Optional[AttachmentsRetrieveRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -315,18 +346,20 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["candidate"]] = None, + expand: typing.Optional[ + typing.Union[AttachmentsListRequestExpandItem, typing.Sequence[AttachmentsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, modified_after: typing.Optional[dt.datetime] = None, modified_before: typing.Optional[dt.datetime] = None, page_size: typing.Optional[int] = None, - remote_fields: typing.Optional[typing.Literal["attachment_type"]] = None, + remote_fields: typing.Optional[AttachmentsListRequestRemoteFields] = None, remote_id: typing.Optional[str] = None, - show_enum_origins: typing.Optional[typing.Literal["attachment_type"]] = None, + show_enum_origins: typing.Optional[AttachmentsListRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedAttachmentList]: + ) -> AsyncPager[Attachment, PaginatedAttachmentList]: """ Returns a list of `Attachment` objects. @@ -344,7 +377,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["candidate"]] + expand : typing.Optional[typing.Union[AttachmentsListRequestExpandItem, typing.Sequence[AttachmentsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -365,13 +398,13 @@ async def list( page_size : typing.Optional[int] Number of results to return per page. - remote_fields : typing.Optional[typing.Literal["attachment_type"]] + remote_fields : typing.Optional[AttachmentsListRequestRemoteFields] Deprecated. Use show_enum_origins. remote_id : typing.Optional[str] The API provider's ID for the given object. - show_enum_origins : typing.Optional[typing.Literal["attachment_type"]] + show_enum_origins : typing.Optional[AttachmentsListRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -379,7 +412,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedAttachmentList] + AsyncPager[Attachment, PaginatedAttachmentList] """ _response = await self._client_wrapper.httpx_client.request( @@ -405,14 +438,37 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAttachmentList, construct_type( type_=PaginatedAttachmentList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + candidate_id=candidate_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -486,11 +542,13 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["candidate"]] = None, + expand: typing.Optional[ + typing.Union[AttachmentsRetrieveRequestExpandItem, typing.Sequence[AttachmentsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - remote_fields: typing.Optional[typing.Literal["attachment_type"]] = None, - show_enum_origins: typing.Optional[typing.Literal["attachment_type"]] = None, + remote_fields: typing.Optional[AttachmentsRetrieveRequestRemoteFields] = None, + show_enum_origins: typing.Optional[AttachmentsRetrieveRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[Attachment]: """ @@ -500,7 +558,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["candidate"]] + expand : typing.Optional[typing.Union[AttachmentsRetrieveRequestExpandItem, typing.Sequence[AttachmentsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -509,10 +567,10 @@ async def retrieve( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - remote_fields : typing.Optional[typing.Literal["attachment_type"]] + remote_fields : typing.Optional[AttachmentsRetrieveRequestRemoteFields] Deprecated. Use show_enum_origins. - show_enum_origins : typing.Optional[typing.Literal["attachment_type"]] + show_enum_origins : typing.Optional[AttachmentsRetrieveRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] diff --git a/src/merge/resources/ats/resources/attachments/types/__init__.py b/src/merge/resources/ats/resources/attachments/types/__init__.py new file mode 100644 index 00000000..450df91f --- /dev/null +++ b/src/merge/resources/ats/resources/attachments/types/__init__.py @@ -0,0 +1,53 @@ +# This file was auto-generated by Fern from our API Definition. + +# isort: skip_file + +import typing +from importlib import import_module + +if typing.TYPE_CHECKING: + from .attachments_list_request_expand_item import AttachmentsListRequestExpandItem + from .attachments_list_request_remote_fields import AttachmentsListRequestRemoteFields + from .attachments_list_request_show_enum_origins import AttachmentsListRequestShowEnumOrigins + from .attachments_retrieve_request_expand_item import AttachmentsRetrieveRequestExpandItem + from .attachments_retrieve_request_remote_fields import AttachmentsRetrieveRequestRemoteFields + from .attachments_retrieve_request_show_enum_origins import AttachmentsRetrieveRequestShowEnumOrigins +_dynamic_imports: typing.Dict[str, str] = { + "AttachmentsListRequestExpandItem": ".attachments_list_request_expand_item", + "AttachmentsListRequestRemoteFields": ".attachments_list_request_remote_fields", + "AttachmentsListRequestShowEnumOrigins": ".attachments_list_request_show_enum_origins", + "AttachmentsRetrieveRequestExpandItem": ".attachments_retrieve_request_expand_item", + "AttachmentsRetrieveRequestRemoteFields": ".attachments_retrieve_request_remote_fields", + "AttachmentsRetrieveRequestShowEnumOrigins": ".attachments_retrieve_request_show_enum_origins", +} + + +def __getattr__(attr_name: str) -> typing.Any: + module_name = _dynamic_imports.get(attr_name) + if module_name is None: + raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") + try: + module = import_module(module_name, __package__) + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) + except ImportError as e: + raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e + except AttributeError as e: + raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e + + +def __dir__(): + lazy_attrs = list(_dynamic_imports.keys()) + return sorted(lazy_attrs) + + +__all__ = [ + "AttachmentsListRequestExpandItem", + "AttachmentsListRequestRemoteFields", + "AttachmentsListRequestShowEnumOrigins", + "AttachmentsRetrieveRequestExpandItem", + "AttachmentsRetrieveRequestRemoteFields", + "AttachmentsRetrieveRequestShowEnumOrigins", +] diff --git a/src/merge/resources/ats/resources/attachments/types/attachments_list_request_expand_item.py b/src/merge/resources/ats/resources/attachments/types/attachments_list_request_expand_item.py new file mode 100644 index 00000000..4fa1e7b6 --- /dev/null +++ b/src/merge/resources/ats/resources/attachments/types/attachments_list_request_expand_item.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class AttachmentsListRequestExpandItem(str, enum.Enum): + CANDIDATE = "candidate" + + def visit(self, candidate: typing.Callable[[], T_Result]) -> T_Result: + if self is AttachmentsListRequestExpandItem.CANDIDATE: + return candidate() diff --git a/src/merge/resources/ats/resources/attachments/types/attachments_list_request_remote_fields.py b/src/merge/resources/ats/resources/attachments/types/attachments_list_request_remote_fields.py new file mode 100644 index 00000000..344168a3 --- /dev/null +++ b/src/merge/resources/ats/resources/attachments/types/attachments_list_request_remote_fields.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class AttachmentsListRequestRemoteFields(str, enum.Enum): + ATTACHMENT_TYPE = "attachment_type" + + def visit(self, attachment_type: typing.Callable[[], T_Result]) -> T_Result: + if self is AttachmentsListRequestRemoteFields.ATTACHMENT_TYPE: + return attachment_type() diff --git a/src/merge/resources/ats/resources/attachments/types/attachments_list_request_show_enum_origins.py b/src/merge/resources/ats/resources/attachments/types/attachments_list_request_show_enum_origins.py new file mode 100644 index 00000000..b5c61d6b --- /dev/null +++ b/src/merge/resources/ats/resources/attachments/types/attachments_list_request_show_enum_origins.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class AttachmentsListRequestShowEnumOrigins(str, enum.Enum): + ATTACHMENT_TYPE = "attachment_type" + + def visit(self, attachment_type: typing.Callable[[], T_Result]) -> T_Result: + if self is AttachmentsListRequestShowEnumOrigins.ATTACHMENT_TYPE: + return attachment_type() diff --git a/src/merge/resources/ats/resources/attachments/types/attachments_retrieve_request_expand_item.py b/src/merge/resources/ats/resources/attachments/types/attachments_retrieve_request_expand_item.py new file mode 100644 index 00000000..8bd1ad28 --- /dev/null +++ b/src/merge/resources/ats/resources/attachments/types/attachments_retrieve_request_expand_item.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class AttachmentsRetrieveRequestExpandItem(str, enum.Enum): + CANDIDATE = "candidate" + + def visit(self, candidate: typing.Callable[[], T_Result]) -> T_Result: + if self is AttachmentsRetrieveRequestExpandItem.CANDIDATE: + return candidate() diff --git a/src/merge/resources/ats/resources/attachments/types/attachments_retrieve_request_remote_fields.py b/src/merge/resources/ats/resources/attachments/types/attachments_retrieve_request_remote_fields.py new file mode 100644 index 00000000..843e521e --- /dev/null +++ b/src/merge/resources/ats/resources/attachments/types/attachments_retrieve_request_remote_fields.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class AttachmentsRetrieveRequestRemoteFields(str, enum.Enum): + ATTACHMENT_TYPE = "attachment_type" + + def visit(self, attachment_type: typing.Callable[[], T_Result]) -> T_Result: + if self is AttachmentsRetrieveRequestRemoteFields.ATTACHMENT_TYPE: + return attachment_type() diff --git a/src/merge/resources/ats/resources/attachments/types/attachments_retrieve_request_show_enum_origins.py b/src/merge/resources/ats/resources/attachments/types/attachments_retrieve_request_show_enum_origins.py new file mode 100644 index 00000000..1a47339e --- /dev/null +++ b/src/merge/resources/ats/resources/attachments/types/attachments_retrieve_request_show_enum_origins.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class AttachmentsRetrieveRequestShowEnumOrigins(str, enum.Enum): + ATTACHMENT_TYPE = "attachment_type" + + def visit(self, attachment_type: typing.Callable[[], T_Result]) -> T_Result: + if self is AttachmentsRetrieveRequestShowEnumOrigins.ATTACHMENT_TYPE: + return attachment_type() diff --git a/src/merge/resources/ats/resources/audit_trail/client.py b/src/merge/resources/ats/resources/audit_trail/client.py index 78d801de..fff8d4c7 100644 --- a/src/merge/resources/ats/resources/audit_trail/client.py +++ b/src/merge/resources/ats/resources/audit_trail/client.py @@ -3,7 +3,9 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions +from ...types.audit_log_event import AuditLogEvent from ...types.paginated_audit_log_event_list import PaginatedAuditLogEventList from .raw_client import AsyncRawAuditTrailClient, RawAuditTrailClient @@ -33,7 +35,7 @@ def list( start_date: typing.Optional[str] = None, user_email: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAuditLogEventList: + ) -> SyncPager[AuditLogEvent, PaginatedAuditLogEventList]: """ Gets a list of audit trail events. @@ -62,7 +64,7 @@ def list( Returns ------- - PaginatedAuditLogEventList + SyncPager[AuditLogEvent, PaginatedAuditLogEventList] Examples @@ -73,16 +75,16 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ats.audit_trail.list( + response = client.ats.audit_trail.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_date="end_date", - event_type="event_type", - page_size=1, - start_date="start_date", - user_email="user_email", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( cursor=cursor, end_date=end_date, event_type=event_type, @@ -91,7 +93,6 @@ def list( user_email=user_email, request_options=request_options, ) - return _response.data class AsyncAuditTrailClient: @@ -119,7 +120,7 @@ async def list( start_date: typing.Optional[str] = None, user_email: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAuditLogEventList: + ) -> AsyncPager[AuditLogEvent, PaginatedAuditLogEventList]: """ Gets a list of audit trail events. @@ -148,7 +149,7 @@ async def list( Returns ------- - PaginatedAuditLogEventList + AsyncPager[AuditLogEvent, PaginatedAuditLogEventList] Examples @@ -164,19 +165,20 @@ async def list( async def main() -> None: - await client.ats.audit_trail.list( + response = await client.ats.audit_trail.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_date="end_date", - event_type="event_type", - page_size=1, - start_date="start_date", - user_email="user_email", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( cursor=cursor, end_date=end_date, event_type=event_type, @@ -185,4 +187,3 @@ async def main() -> None: user_email=user_email, request_options=request_options, ) - return _response.data diff --git a/src/merge/resources/ats/resources/audit_trail/raw_client.py b/src/merge/resources/ats/resources/audit_trail/raw_client.py index 296a6041..89667898 100644 --- a/src/merge/resources/ats/resources/audit_trail/raw_client.py +++ b/src/merge/resources/ats/resources/audit_trail/raw_client.py @@ -5,9 +5,10 @@ from .....core.api_error import ApiError from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type +from ...types.audit_log_event import AuditLogEvent from ...types.paginated_audit_log_event_list import PaginatedAuditLogEventList @@ -25,7 +26,7 @@ def list( start_date: typing.Optional[str] = None, user_email: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedAuditLogEventList]: + ) -> SyncPager[AuditLogEvent, PaginatedAuditLogEventList]: """ Gets a list of audit trail events. @@ -54,7 +55,7 @@ def list( Returns ------- - HttpResponse[PaginatedAuditLogEventList] + SyncPager[AuditLogEvent, PaginatedAuditLogEventList] """ _response = self._client_wrapper.httpx_client.request( @@ -72,14 +73,26 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAuditLogEventList, construct_type( type_=PaginatedAuditLogEventList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + cursor=_parsed_next, + end_date=end_date, + event_type=event_type, + page_size=page_size, + start_date=start_date, + user_email=user_email, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -100,7 +113,7 @@ async def list( start_date: typing.Optional[str] = None, user_email: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedAuditLogEventList]: + ) -> AsyncPager[AuditLogEvent, PaginatedAuditLogEventList]: """ Gets a list of audit trail events. @@ -129,7 +142,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedAuditLogEventList] + AsyncPager[AuditLogEvent, PaginatedAuditLogEventList] """ _response = await self._client_wrapper.httpx_client.request( @@ -147,14 +160,29 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAuditLogEventList, construct_type( type_=PaginatedAuditLogEventList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + cursor=_parsed_next, + end_date=end_date, + event_type=event_type, + page_size=page_size, + start_date=start_date, + user_email=user_email, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/ats/resources/candidates/__init__.py b/src/merge/resources/ats/resources/candidates/__init__.py index f9e7fc5a..ccec300c 100644 --- a/src/merge/resources/ats/resources/candidates/__init__.py +++ b/src/merge/resources/ats/resources/candidates/__init__.py @@ -6,11 +6,10 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .types import CandidatesListRequestExpand, CandidatesRetrieveRequestExpand, IgnoreCommonModelRequestReason + from .types import CandidatesListRequestExpandItem, CandidatesRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "CandidatesListRequestExpand": ".types", - "CandidatesRetrieveRequestExpand": ".types", - "IgnoreCommonModelRequestReason": ".types", + "CandidatesListRequestExpandItem": ".types", + "CandidatesRetrieveRequestExpandItem": ".types", } @@ -20,8 +19,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -33,4 +34,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["CandidatesListRequestExpand", "CandidatesRetrieveRequestExpand", "IgnoreCommonModelRequestReason"] +__all__ = ["CandidatesListRequestExpandItem", "CandidatesRetrieveRequestExpandItem"] diff --git a/src/merge/resources/ats/resources/candidates/client.py b/src/merge/resources/ats/resources/candidates/client.py index 3cf356a4..163cc6ee 100644 --- a/src/merge/resources/ats/resources/candidates/client.py +++ b/src/merge/resources/ats/resources/candidates/client.py @@ -4,17 +4,18 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.candidate import Candidate from ...types.candidate_request import CandidateRequest from ...types.candidate_response import CandidateResponse +from ...types.ignore_common_model_request import IgnoreCommonModelRequest from ...types.meta_response import MetaResponse from ...types.paginated_candidate_list import PaginatedCandidateList from ...types.patched_candidate_request import PatchedCandidateRequest from .raw_client import AsyncRawCandidatesClient, RawCandidatesClient -from .types.candidates_list_request_expand import CandidatesListRequestExpand -from .types.candidates_retrieve_request_expand import CandidatesRetrieveRequestExpand -from .types.ignore_common_model_request_reason import IgnoreCommonModelRequestReason +from .types.candidates_list_request_expand_item import CandidatesListRequestExpandItem +from .types.candidates_retrieve_request_expand_item import CandidatesRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -42,7 +43,9 @@ def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, email_addresses: typing.Optional[str] = None, - expand: typing.Optional[CandidatesListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[CandidatesListRequestExpandItem, typing.Sequence[CandidatesListRequestExpandItem]] + ] = None, first_name: typing.Optional[str] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, @@ -54,7 +57,7 @@ def list( remote_id: typing.Optional[str] = None, tags: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedCandidateList: + ) -> SyncPager[Candidate, PaginatedCandidateList]: """ Returns a list of `Candidate` objects. @@ -72,7 +75,7 @@ def list( email_addresses : typing.Optional[str] If provided, will only return candidates with these email addresses; multiple addresses can be separated by commas. - expand : typing.Optional[CandidatesListRequestExpand] + expand : typing.Optional[typing.Union[CandidatesListRequestExpandItem, typing.Sequence[CandidatesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. first_name : typing.Optional[str] @@ -110,47 +113,27 @@ def list( Returns ------- - PaginatedCandidateList + SyncPager[Candidate, PaginatedCandidateList] Examples -------- - import datetime - from merge import Merge - from merge.resources.ats.resources.candidates import CandidatesListRequestExpand client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ats.candidates.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = client.ats.candidates.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - email_addresses="email_addresses", - expand=CandidatesListRequestExpand.APPLICATIONS, - first_name="first_name", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - last_name="last_name", - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", - tags="tags", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -168,7 +151,6 @@ def list( tags=tags, request_options=request_options, ) - return _response.data def create( self, @@ -212,8 +194,6 @@ def create( api_key="YOUR_API_KEY", ) client.ats.candidates.create( - is_debug_mode=True, - run_async=True, model=CandidateRequest(), remote_user_id="remote_user_id", ) @@ -231,7 +211,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[CandidatesRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[CandidatesRetrieveRequestExpandItem, typing.Sequence[CandidatesRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -243,7 +225,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[CandidatesRetrieveRequestExpand] + expand : typing.Optional[typing.Union[CandidatesRetrieveRequestExpandItem, typing.Sequence[CandidatesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -263,9 +245,6 @@ def retrieve( Examples -------- from merge import Merge - from merge.resources.ats.resources.candidates import ( - CandidatesRetrieveRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -273,9 +252,6 @@ def retrieve( ) client.ats.candidates.retrieve( id="id", - expand=CandidatesRetrieveRequestExpand.APPLICATIONS, - include_remote_data=True, - include_shell_data=True, ) """ _response = self._raw_client.retrieve( @@ -333,8 +309,6 @@ def partial_update( ) client.ats.candidates.partial_update( id="id", - is_debug_mode=True, - run_async=True, model=PatchedCandidateRequest(), remote_user_id="remote_user_id", ) @@ -353,8 +327,7 @@ def ignore_create( self, model_id: str, *, - reason: IgnoreCommonModelRequestReason, - message: typing.Optional[str] = OMIT, + request: IgnoreCommonModelRequest, request_options: typing.Optional[RequestOptions] = None, ) -> None: """ @@ -364,9 +337,7 @@ def ignore_create( ---------- model_id : str - reason : IgnoreCommonModelRequestReason - - message : typing.Optional[str] + request : IgnoreCommonModelRequest request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -378,7 +349,7 @@ def ignore_create( Examples -------- from merge import Merge - from merge.resources.ats import ReasonEnum + from merge.resources.ats import IgnoreCommonModelRequest, ReasonEnum client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -386,12 +357,12 @@ def ignore_create( ) client.ats.candidates.ignore_create( model_id="model_id", - reason=ReasonEnum.GENERAL_CUSTOMER_REQUEST, + request=IgnoreCommonModelRequest( + reason=ReasonEnum.GENERAL_CUSTOMER_REQUEST, + ), ) """ - _response = self._raw_client.ignore_create( - model_id, reason=reason, message=message, request_options=request_options - ) + _response = self._raw_client.ignore_create(model_id, request=request, request_options=request_options) return _response.data def meta_patch_retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: @@ -475,7 +446,9 @@ async def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, email_addresses: typing.Optional[str] = None, - expand: typing.Optional[CandidatesListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[CandidatesListRequestExpandItem, typing.Sequence[CandidatesListRequestExpandItem]] + ] = None, first_name: typing.Optional[str] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, @@ -487,7 +460,7 @@ async def list( remote_id: typing.Optional[str] = None, tags: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedCandidateList: + ) -> AsyncPager[Candidate, PaginatedCandidateList]: """ Returns a list of `Candidate` objects. @@ -505,7 +478,7 @@ async def list( email_addresses : typing.Optional[str] If provided, will only return candidates with these email addresses; multiple addresses can be separated by commas. - expand : typing.Optional[CandidatesListRequestExpand] + expand : typing.Optional[typing.Union[CandidatesListRequestExpandItem, typing.Sequence[CandidatesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. first_name : typing.Optional[str] @@ -543,16 +516,14 @@ async def list( Returns ------- - PaginatedCandidateList + AsyncPager[Candidate, PaginatedCandidateList] Examples -------- import asyncio - import datetime from merge import AsyncMerge - from merge.resources.ats.resources.candidates import CandidatesListRequestExpand client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -561,36 +532,20 @@ async def list( async def main() -> None: - await client.ats.candidates.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = await client.ats.candidates.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - email_addresses="email_addresses", - expand=CandidatesListRequestExpand.APPLICATIONS, - first_name="first_name", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - last_name="last_name", - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", - tags="tags", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -608,7 +563,6 @@ async def main() -> None: tags=tags, request_options=request_options, ) - return _response.data async def create( self, @@ -657,8 +611,6 @@ async def create( async def main() -> None: await client.ats.candidates.create( - is_debug_mode=True, - run_async=True, model=CandidateRequest(), remote_user_id="remote_user_id", ) @@ -679,7 +631,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[CandidatesRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[CandidatesRetrieveRequestExpandItem, typing.Sequence[CandidatesRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -691,7 +645,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[CandidatesRetrieveRequestExpand] + expand : typing.Optional[typing.Union[CandidatesRetrieveRequestExpandItem, typing.Sequence[CandidatesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -713,9 +667,6 @@ async def retrieve( import asyncio from merge import AsyncMerge - from merge.resources.ats.resources.candidates import ( - CandidatesRetrieveRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -726,9 +677,6 @@ async def retrieve( async def main() -> None: await client.ats.candidates.retrieve( id="id", - expand=CandidatesRetrieveRequestExpand.APPLICATIONS, - include_remote_data=True, - include_shell_data=True, ) @@ -794,8 +742,6 @@ async def partial_update( async def main() -> None: await client.ats.candidates.partial_update( id="id", - is_debug_mode=True, - run_async=True, model=PatchedCandidateRequest(), remote_user_id="remote_user_id", ) @@ -817,8 +763,7 @@ async def ignore_create( self, model_id: str, *, - reason: IgnoreCommonModelRequestReason, - message: typing.Optional[str] = OMIT, + request: IgnoreCommonModelRequest, request_options: typing.Optional[RequestOptions] = None, ) -> None: """ @@ -828,9 +773,7 @@ async def ignore_create( ---------- model_id : str - reason : IgnoreCommonModelRequestReason - - message : typing.Optional[str] + request : IgnoreCommonModelRequest request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -844,7 +787,7 @@ async def ignore_create( import asyncio from merge import AsyncMerge - from merge.resources.ats import ReasonEnum + from merge.resources.ats import IgnoreCommonModelRequest, ReasonEnum client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -855,15 +798,15 @@ async def ignore_create( async def main() -> None: await client.ats.candidates.ignore_create( model_id="model_id", - reason=ReasonEnum.GENERAL_CUSTOMER_REQUEST, + request=IgnoreCommonModelRequest( + reason=ReasonEnum.GENERAL_CUSTOMER_REQUEST, + ), ) asyncio.run(main()) """ - _response = await self._raw_client.ignore_create( - model_id, reason=reason, message=message, request_options=request_options - ) + _response = await self._raw_client.ignore_create(model_id, request=request, request_options=request_options) return _response.data async def meta_patch_retrieve( diff --git a/src/merge/resources/ats/resources/candidates/raw_client.py b/src/merge/resources/ats/resources/candidates/raw_client.py index c4fbc46d..49aa6b2d 100644 --- a/src/merge/resources/ats/resources/candidates/raw_client.py +++ b/src/merge/resources/ats/resources/candidates/raw_client.py @@ -9,17 +9,18 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.candidate import Candidate from ...types.candidate_request import CandidateRequest from ...types.candidate_response import CandidateResponse +from ...types.ignore_common_model_request import IgnoreCommonModelRequest from ...types.meta_response import MetaResponse from ...types.paginated_candidate_list import PaginatedCandidateList from ...types.patched_candidate_request import PatchedCandidateRequest -from .types.candidates_list_request_expand import CandidatesListRequestExpand -from .types.candidates_retrieve_request_expand import CandidatesRetrieveRequestExpand -from .types.ignore_common_model_request_reason import IgnoreCommonModelRequestReason +from .types.candidates_list_request_expand_item import CandidatesListRequestExpandItem +from .types.candidates_retrieve_request_expand_item import CandidatesRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -36,7 +37,9 @@ def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, email_addresses: typing.Optional[str] = None, - expand: typing.Optional[CandidatesListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[CandidatesListRequestExpandItem, typing.Sequence[CandidatesListRequestExpandItem]] + ] = None, first_name: typing.Optional[str] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, @@ -48,7 +51,7 @@ def list( remote_id: typing.Optional[str] = None, tags: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedCandidateList]: + ) -> SyncPager[Candidate, PaginatedCandidateList]: """ Returns a list of `Candidate` objects. @@ -66,7 +69,7 @@ def list( email_addresses : typing.Optional[str] If provided, will only return candidates with these email addresses; multiple addresses can be separated by commas. - expand : typing.Optional[CandidatesListRequestExpand] + expand : typing.Optional[typing.Union[CandidatesListRequestExpandItem, typing.Sequence[CandidatesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. first_name : typing.Optional[str] @@ -104,7 +107,7 @@ def list( Returns ------- - HttpResponse[PaginatedCandidateList] + SyncPager[Candidate, PaginatedCandidateList] """ _response = self._client_wrapper.httpx_client.request( @@ -131,14 +134,35 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedCandidateList, construct_type( type_=PaginatedCandidateList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + email_addresses=email_addresses, + expand=expand, + first_name=first_name, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + last_name=last_name, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + tags=tags, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -212,7 +236,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[CandidatesRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[CandidatesRetrieveRequestExpandItem, typing.Sequence[CandidatesRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -224,7 +250,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[CandidatesRetrieveRequestExpand] + expand : typing.Optional[typing.Union[CandidatesRetrieveRequestExpandItem, typing.Sequence[CandidatesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -337,8 +363,7 @@ def ignore_create( self, model_id: str, *, - reason: IgnoreCommonModelRequestReason, - message: typing.Optional[str] = OMIT, + request: IgnoreCommonModelRequest, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[None]: """ @@ -348,9 +373,7 @@ def ignore_create( ---------- model_id : str - reason : IgnoreCommonModelRequestReason - - message : typing.Optional[str] + request : IgnoreCommonModelRequest request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -362,10 +385,7 @@ def ignore_create( _response = self._client_wrapper.httpx_client.request( f"ats/v1/candidates/ignore/{jsonable_encoder(model_id)}", method="POST", - json={ - "reason": reason, - "message": message, - }, + json=request, headers={ "content-type": "application/json", }, @@ -466,7 +486,9 @@ async def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, email_addresses: typing.Optional[str] = None, - expand: typing.Optional[CandidatesListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[CandidatesListRequestExpandItem, typing.Sequence[CandidatesListRequestExpandItem]] + ] = None, first_name: typing.Optional[str] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, @@ -478,7 +500,7 @@ async def list( remote_id: typing.Optional[str] = None, tags: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedCandidateList]: + ) -> AsyncPager[Candidate, PaginatedCandidateList]: """ Returns a list of `Candidate` objects. @@ -496,7 +518,7 @@ async def list( email_addresses : typing.Optional[str] If provided, will only return candidates with these email addresses; multiple addresses can be separated by commas. - expand : typing.Optional[CandidatesListRequestExpand] + expand : typing.Optional[typing.Union[CandidatesListRequestExpandItem, typing.Sequence[CandidatesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. first_name : typing.Optional[str] @@ -534,7 +556,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedCandidateList] + AsyncPager[Candidate, PaginatedCandidateList] """ _response = await self._client_wrapper.httpx_client.request( @@ -561,14 +583,38 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedCandidateList, construct_type( type_=PaginatedCandidateList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + email_addresses=email_addresses, + expand=expand, + first_name=first_name, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + last_name=last_name, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + tags=tags, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -642,7 +688,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[CandidatesRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[CandidatesRetrieveRequestExpandItem, typing.Sequence[CandidatesRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -654,7 +702,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[CandidatesRetrieveRequestExpand] + expand : typing.Optional[typing.Union[CandidatesRetrieveRequestExpandItem, typing.Sequence[CandidatesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -767,8 +815,7 @@ async def ignore_create( self, model_id: str, *, - reason: IgnoreCommonModelRequestReason, - message: typing.Optional[str] = OMIT, + request: IgnoreCommonModelRequest, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[None]: """ @@ -778,9 +825,7 @@ async def ignore_create( ---------- model_id : str - reason : IgnoreCommonModelRequestReason - - message : typing.Optional[str] + request : IgnoreCommonModelRequest request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -792,10 +837,7 @@ async def ignore_create( _response = await self._client_wrapper.httpx_client.request( f"ats/v1/candidates/ignore/{jsonable_encoder(model_id)}", method="POST", - json={ - "reason": reason, - "message": message, - }, + json=request, headers={ "content-type": "application/json", }, diff --git a/src/merge/resources/ats/resources/candidates/types/__init__.py b/src/merge/resources/ats/resources/candidates/types/__init__.py index dd320363..fc851f9e 100644 --- a/src/merge/resources/ats/resources/candidates/types/__init__.py +++ b/src/merge/resources/ats/resources/candidates/types/__init__.py @@ -6,13 +6,11 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .candidates_list_request_expand import CandidatesListRequestExpand - from .candidates_retrieve_request_expand import CandidatesRetrieveRequestExpand - from .ignore_common_model_request_reason import IgnoreCommonModelRequestReason + from .candidates_list_request_expand_item import CandidatesListRequestExpandItem + from .candidates_retrieve_request_expand_item import CandidatesRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "CandidatesListRequestExpand": ".candidates_list_request_expand", - "CandidatesRetrieveRequestExpand": ".candidates_retrieve_request_expand", - "IgnoreCommonModelRequestReason": ".ignore_common_model_request_reason", + "CandidatesListRequestExpandItem": ".candidates_list_request_expand_item", + "CandidatesRetrieveRequestExpandItem": ".candidates_retrieve_request_expand_item", } @@ -22,8 +20,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -35,4 +35,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["CandidatesListRequestExpand", "CandidatesRetrieveRequestExpand", "IgnoreCommonModelRequestReason"] +__all__ = ["CandidatesListRequestExpandItem", "CandidatesRetrieveRequestExpandItem"] diff --git a/src/merge/resources/ats/resources/candidates/types/candidates_list_request_expand.py b/src/merge/resources/ats/resources/candidates/types/candidates_list_request_expand.py deleted file mode 100644 index 3d234138..00000000 --- a/src/merge/resources/ats/resources/candidates/types/candidates_list_request_expand.py +++ /dev/null @@ -1,25 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class CandidatesListRequestExpand(str, enum.Enum): - APPLICATIONS = "applications" - APPLICATIONS_ATTACHMENTS = "applications,attachments" - ATTACHMENTS = "attachments" - - def visit( - self, - applications: typing.Callable[[], T_Result], - applications_attachments: typing.Callable[[], T_Result], - attachments: typing.Callable[[], T_Result], - ) -> T_Result: - if self is CandidatesListRequestExpand.APPLICATIONS: - return applications() - if self is CandidatesListRequestExpand.APPLICATIONS_ATTACHMENTS: - return applications_attachments() - if self is CandidatesListRequestExpand.ATTACHMENTS: - return attachments() diff --git a/src/merge/resources/ats/resources/candidates/types/candidates_list_request_expand_item.py b/src/merge/resources/ats/resources/candidates/types/candidates_list_request_expand_item.py new file mode 100644 index 00000000..94d1c115 --- /dev/null +++ b/src/merge/resources/ats/resources/candidates/types/candidates_list_request_expand_item.py @@ -0,0 +1,19 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class CandidatesListRequestExpandItem(str, enum.Enum): + APPLICATIONS = "applications" + ATTACHMENTS = "attachments" + + def visit( + self, applications: typing.Callable[[], T_Result], attachments: typing.Callable[[], T_Result] + ) -> T_Result: + if self is CandidatesListRequestExpandItem.APPLICATIONS: + return applications() + if self is CandidatesListRequestExpandItem.ATTACHMENTS: + return attachments() diff --git a/src/merge/resources/ats/resources/candidates/types/candidates_retrieve_request_expand.py b/src/merge/resources/ats/resources/candidates/types/candidates_retrieve_request_expand.py deleted file mode 100644 index 20a7a734..00000000 --- a/src/merge/resources/ats/resources/candidates/types/candidates_retrieve_request_expand.py +++ /dev/null @@ -1,25 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class CandidatesRetrieveRequestExpand(str, enum.Enum): - APPLICATIONS = "applications" - APPLICATIONS_ATTACHMENTS = "applications,attachments" - ATTACHMENTS = "attachments" - - def visit( - self, - applications: typing.Callable[[], T_Result], - applications_attachments: typing.Callable[[], T_Result], - attachments: typing.Callable[[], T_Result], - ) -> T_Result: - if self is CandidatesRetrieveRequestExpand.APPLICATIONS: - return applications() - if self is CandidatesRetrieveRequestExpand.APPLICATIONS_ATTACHMENTS: - return applications_attachments() - if self is CandidatesRetrieveRequestExpand.ATTACHMENTS: - return attachments() diff --git a/src/merge/resources/ats/resources/candidates/types/candidates_retrieve_request_expand_item.py b/src/merge/resources/ats/resources/candidates/types/candidates_retrieve_request_expand_item.py new file mode 100644 index 00000000..8e68683e --- /dev/null +++ b/src/merge/resources/ats/resources/candidates/types/candidates_retrieve_request_expand_item.py @@ -0,0 +1,19 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class CandidatesRetrieveRequestExpandItem(str, enum.Enum): + APPLICATIONS = "applications" + ATTACHMENTS = "attachments" + + def visit( + self, applications: typing.Callable[[], T_Result], attachments: typing.Callable[[], T_Result] + ) -> T_Result: + if self is CandidatesRetrieveRequestExpandItem.APPLICATIONS: + return applications() + if self is CandidatesRetrieveRequestExpandItem.ATTACHMENTS: + return attachments() diff --git a/src/merge/resources/ats/resources/candidates/types/ignore_common_model_request_reason.py b/src/merge/resources/ats/resources/candidates/types/ignore_common_model_request_reason.py deleted file mode 100644 index 4baf20f1..00000000 --- a/src/merge/resources/ats/resources/candidates/types/ignore_common_model_request_reason.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from ....types.reason_enum import ReasonEnum - -IgnoreCommonModelRequestReason = typing.Union[ReasonEnum, str] diff --git a/src/merge/resources/ats/resources/departments/client.py b/src/merge/resources/ats/resources/departments/client.py index f70cd0ba..af72c203 100644 --- a/src/merge/resources/ats/resources/departments/client.py +++ b/src/merge/resources/ats/resources/departments/client.py @@ -4,6 +4,7 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.department import Department from ...types.paginated_department_list import PaginatedDepartmentList @@ -39,7 +40,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedDepartmentList: + ) -> SyncPager[Department, PaginatedDepartmentList]: """ Returns a list of `Department` objects. @@ -80,41 +81,27 @@ def list( Returns ------- - PaginatedDepartmentList + SyncPager[Department, PaginatedDepartmentList] Examples -------- - import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ats.departments.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = client.ats.departments.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -127,7 +114,6 @@ def list( remote_id=remote_id, request_options=request_options, ) - return _response.data def retrieve( self, @@ -168,8 +154,6 @@ def retrieve( ) client.ats.departments.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) """ _response = self._raw_client.retrieve( @@ -210,7 +194,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedDepartmentList: + ) -> AsyncPager[Department, PaginatedDepartmentList]: """ Returns a list of `Department` objects. @@ -251,13 +235,12 @@ async def list( Returns ------- - PaginatedDepartmentList + AsyncPager[Department, PaginatedDepartmentList] Examples -------- import asyncio - import datetime from merge import AsyncMerge @@ -268,31 +251,20 @@ async def list( async def main() -> None: - await client.ats.departments.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = await client.ats.departments.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -305,7 +277,6 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def retrieve( self, @@ -351,8 +322,6 @@ async def retrieve( async def main() -> None: await client.ats.departments.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) diff --git a/src/merge/resources/ats/resources/departments/raw_client.py b/src/merge/resources/ats/resources/departments/raw_client.py index 3e6908a0..5f0b8273 100644 --- a/src/merge/resources/ats/resources/departments/raw_client.py +++ b/src/merge/resources/ats/resources/departments/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.department import Department @@ -33,7 +34,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedDepartmentList]: + ) -> SyncPager[Department, PaginatedDepartmentList]: """ Returns a list of `Department` objects. @@ -74,7 +75,7 @@ def list( Returns ------- - HttpResponse[PaginatedDepartmentList] + SyncPager[Department, PaginatedDepartmentList] """ _response = self._client_wrapper.httpx_client.request( @@ -96,14 +97,30 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedDepartmentList, construct_type( type_=PaginatedDepartmentList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -181,7 +198,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedDepartmentList]: + ) -> AsyncPager[Department, PaginatedDepartmentList]: """ Returns a list of `Department` objects. @@ -222,7 +239,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedDepartmentList] + AsyncPager[Department, PaginatedDepartmentList] """ _response = await self._client_wrapper.httpx_client.request( @@ -244,14 +261,33 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedDepartmentList, construct_type( type_=PaginatedDepartmentList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/ats/resources/eeocs/__init__.py b/src/merge/resources/ats/resources/eeocs/__init__.py index 76956393..909f9cc5 100644 --- a/src/merge/resources/ats/resources/eeocs/__init__.py +++ b/src/merge/resources/ats/resources/eeocs/__init__.py @@ -7,14 +7,18 @@ if typing.TYPE_CHECKING: from .types import ( + EeocsListRequestExpandItem, EeocsListRequestRemoteFields, EeocsListRequestShowEnumOrigins, + EeocsRetrieveRequestExpandItem, EeocsRetrieveRequestRemoteFields, EeocsRetrieveRequestShowEnumOrigins, ) _dynamic_imports: typing.Dict[str, str] = { + "EeocsListRequestExpandItem": ".types", "EeocsListRequestRemoteFields": ".types", "EeocsListRequestShowEnumOrigins": ".types", + "EeocsRetrieveRequestExpandItem": ".types", "EeocsRetrieveRequestRemoteFields": ".types", "EeocsRetrieveRequestShowEnumOrigins": ".types", } @@ -26,8 +30,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -40,8 +46,10 @@ def __dir__(): __all__ = [ + "EeocsListRequestExpandItem", "EeocsListRequestRemoteFields", "EeocsListRequestShowEnumOrigins", + "EeocsRetrieveRequestExpandItem", "EeocsRetrieveRequestRemoteFields", "EeocsRetrieveRequestShowEnumOrigins", ] diff --git a/src/merge/resources/ats/resources/eeocs/client.py b/src/merge/resources/ats/resources/eeocs/client.py index 5a54567c..11a0cd8c 100644 --- a/src/merge/resources/ats/resources/eeocs/client.py +++ b/src/merge/resources/ats/resources/eeocs/client.py @@ -4,12 +4,15 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.eeoc import Eeoc from ...types.paginated_eeoc_list import PaginatedEeocList from .raw_client import AsyncRawEeocsClient, RawEeocsClient +from .types.eeocs_list_request_expand_item import EeocsListRequestExpandItem from .types.eeocs_list_request_remote_fields import EeocsListRequestRemoteFields from .types.eeocs_list_request_show_enum_origins import EeocsListRequestShowEnumOrigins +from .types.eeocs_retrieve_request_expand_item import EeocsRetrieveRequestExpandItem from .types.eeocs_retrieve_request_remote_fields import EeocsRetrieveRequestRemoteFields from .types.eeocs_retrieve_request_show_enum_origins import EeocsRetrieveRequestShowEnumOrigins @@ -36,7 +39,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["candidate"]] = None, + expand: typing.Optional[ + typing.Union[EeocsListRequestExpandItem, typing.Sequence[EeocsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -47,7 +52,7 @@ def list( remote_id: typing.Optional[str] = None, show_enum_origins: typing.Optional[EeocsListRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedEeocList: + ) -> SyncPager[Eeoc, PaginatedEeocList]: """ Returns a list of `EEOC` objects. @@ -65,7 +70,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["candidate"]] + expand : typing.Optional[typing.Union[EeocsListRequestExpandItem, typing.Sequence[EeocsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -100,48 +105,27 @@ def list( Returns ------- - PaginatedEeocList + SyncPager[Eeoc, PaginatedEeocList] Examples -------- - import datetime - from merge import Merge - from merge.resources.ats.resources.eeocs import ( - EeocsListRequestRemoteFields, - EeocsListRequestShowEnumOrigins, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ats.eeocs.list( - candidate_id="candidate_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = client.ats.eeocs.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_fields=EeocsListRequestRemoteFields.DISABILITY_STATUS, - remote_id="remote_id", - show_enum_origins=EeocsListRequestShowEnumOrigins.DISABILITY_STATUS, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( candidate_id=candidate_id, created_after=created_after, created_before=created_before, @@ -158,13 +142,14 @@ def list( show_enum_origins=show_enum_origins, request_options=request_options, ) - return _response.data def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["candidate"]] = None, + expand: typing.Optional[ + typing.Union[EeocsRetrieveRequestExpandItem, typing.Sequence[EeocsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[EeocsRetrieveRequestRemoteFields] = None, @@ -178,7 +163,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["candidate"]] + expand : typing.Optional[typing.Union[EeocsRetrieveRequestExpandItem, typing.Sequence[EeocsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -204,10 +189,6 @@ def retrieve( Examples -------- from merge import Merge - from merge.resources.ats.resources.eeocs import ( - EeocsRetrieveRequestRemoteFields, - EeocsRetrieveRequestShowEnumOrigins, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -215,10 +196,6 @@ def retrieve( ) client.ats.eeocs.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, - remote_fields=EeocsRetrieveRequestRemoteFields.DISABILITY_STATUS, - show_enum_origins=EeocsRetrieveRequestShowEnumOrigins.DISABILITY_STATUS, ) """ _response = self._raw_client.retrieve( @@ -255,7 +232,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["candidate"]] = None, + expand: typing.Optional[ + typing.Union[EeocsListRequestExpandItem, typing.Sequence[EeocsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -266,7 +245,7 @@ async def list( remote_id: typing.Optional[str] = None, show_enum_origins: typing.Optional[EeocsListRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedEeocList: + ) -> AsyncPager[Eeoc, PaginatedEeocList]: """ Returns a list of `EEOC` objects. @@ -284,7 +263,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["candidate"]] + expand : typing.Optional[typing.Union[EeocsListRequestExpandItem, typing.Sequence[EeocsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -319,19 +298,14 @@ async def list( Returns ------- - PaginatedEeocList + AsyncPager[Eeoc, PaginatedEeocList] Examples -------- import asyncio - import datetime from merge import AsyncMerge - from merge.resources.ats.resources.eeocs import ( - EeocsListRequestRemoteFields, - EeocsListRequestShowEnumOrigins, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -340,34 +314,20 @@ async def list( async def main() -> None: - await client.ats.eeocs.list( - candidate_id="candidate_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = await client.ats.eeocs.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_fields=EeocsListRequestRemoteFields.DISABILITY_STATUS, - remote_id="remote_id", - show_enum_origins=EeocsListRequestShowEnumOrigins.DISABILITY_STATUS, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( candidate_id=candidate_id, created_after=created_after, created_before=created_before, @@ -384,13 +344,14 @@ async def main() -> None: show_enum_origins=show_enum_origins, request_options=request_options, ) - return _response.data async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["candidate"]] = None, + expand: typing.Optional[ + typing.Union[EeocsRetrieveRequestExpandItem, typing.Sequence[EeocsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[EeocsRetrieveRequestRemoteFields] = None, @@ -404,7 +365,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["candidate"]] + expand : typing.Optional[typing.Union[EeocsRetrieveRequestExpandItem, typing.Sequence[EeocsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -432,10 +393,6 @@ async def retrieve( import asyncio from merge import AsyncMerge - from merge.resources.ats.resources.eeocs import ( - EeocsRetrieveRequestRemoteFields, - EeocsRetrieveRequestShowEnumOrigins, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -446,10 +403,6 @@ async def retrieve( async def main() -> None: await client.ats.eeocs.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, - remote_fields=EeocsRetrieveRequestRemoteFields.DISABILITY_STATUS, - show_enum_origins=EeocsRetrieveRequestShowEnumOrigins.DISABILITY_STATUS, ) diff --git a/src/merge/resources/ats/resources/eeocs/raw_client.py b/src/merge/resources/ats/resources/eeocs/raw_client.py index 1f8f24b9..9f55d1f1 100644 --- a/src/merge/resources/ats/resources/eeocs/raw_client.py +++ b/src/merge/resources/ats/resources/eeocs/raw_client.py @@ -9,12 +9,15 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.eeoc import Eeoc from ...types.paginated_eeoc_list import PaginatedEeocList +from .types.eeocs_list_request_expand_item import EeocsListRequestExpandItem from .types.eeocs_list_request_remote_fields import EeocsListRequestRemoteFields from .types.eeocs_list_request_show_enum_origins import EeocsListRequestShowEnumOrigins +from .types.eeocs_retrieve_request_expand_item import EeocsRetrieveRequestExpandItem from .types.eeocs_retrieve_request_remote_fields import EeocsRetrieveRequestRemoteFields from .types.eeocs_retrieve_request_show_enum_origins import EeocsRetrieveRequestShowEnumOrigins @@ -30,7 +33,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["candidate"]] = None, + expand: typing.Optional[ + typing.Union[EeocsListRequestExpandItem, typing.Sequence[EeocsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -41,7 +46,7 @@ def list( remote_id: typing.Optional[str] = None, show_enum_origins: typing.Optional[EeocsListRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedEeocList]: + ) -> SyncPager[Eeoc, PaginatedEeocList]: """ Returns a list of `EEOC` objects. @@ -59,7 +64,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["candidate"]] + expand : typing.Optional[typing.Union[EeocsListRequestExpandItem, typing.Sequence[EeocsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -94,7 +99,7 @@ def list( Returns ------- - HttpResponse[PaginatedEeocList] + SyncPager[Eeoc, PaginatedEeocList] """ _response = self._client_wrapper.httpx_client.request( @@ -120,14 +125,34 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedEeocList, construct_type( type_=PaginatedEeocList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + candidate_id=candidate_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -137,7 +162,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["candidate"]] = None, + expand: typing.Optional[ + typing.Union[EeocsRetrieveRequestExpandItem, typing.Sequence[EeocsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[EeocsRetrieveRequestRemoteFields] = None, @@ -151,7 +178,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["candidate"]] + expand : typing.Optional[typing.Union[EeocsRetrieveRequestExpandItem, typing.Sequence[EeocsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -213,7 +240,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["candidate"]] = None, + expand: typing.Optional[ + typing.Union[EeocsListRequestExpandItem, typing.Sequence[EeocsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -224,7 +253,7 @@ async def list( remote_id: typing.Optional[str] = None, show_enum_origins: typing.Optional[EeocsListRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedEeocList]: + ) -> AsyncPager[Eeoc, PaginatedEeocList]: """ Returns a list of `EEOC` objects. @@ -242,7 +271,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["candidate"]] + expand : typing.Optional[typing.Union[EeocsListRequestExpandItem, typing.Sequence[EeocsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -277,7 +306,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedEeocList] + AsyncPager[Eeoc, PaginatedEeocList] """ _response = await self._client_wrapper.httpx_client.request( @@ -303,14 +332,37 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedEeocList, construct_type( type_=PaginatedEeocList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + candidate_id=candidate_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -320,7 +372,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["candidate"]] = None, + expand: typing.Optional[ + typing.Union[EeocsRetrieveRequestExpandItem, typing.Sequence[EeocsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[EeocsRetrieveRequestRemoteFields] = None, @@ -334,7 +388,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["candidate"]] + expand : typing.Optional[typing.Union[EeocsRetrieveRequestExpandItem, typing.Sequence[EeocsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/ats/resources/eeocs/types/__init__.py b/src/merge/resources/ats/resources/eeocs/types/__init__.py index 31361448..4e7107c7 100644 --- a/src/merge/resources/ats/resources/eeocs/types/__init__.py +++ b/src/merge/resources/ats/resources/eeocs/types/__init__.py @@ -6,13 +6,17 @@ from importlib import import_module if typing.TYPE_CHECKING: + from .eeocs_list_request_expand_item import EeocsListRequestExpandItem from .eeocs_list_request_remote_fields import EeocsListRequestRemoteFields from .eeocs_list_request_show_enum_origins import EeocsListRequestShowEnumOrigins + from .eeocs_retrieve_request_expand_item import EeocsRetrieveRequestExpandItem from .eeocs_retrieve_request_remote_fields import EeocsRetrieveRequestRemoteFields from .eeocs_retrieve_request_show_enum_origins import EeocsRetrieveRequestShowEnumOrigins _dynamic_imports: typing.Dict[str, str] = { + "EeocsListRequestExpandItem": ".eeocs_list_request_expand_item", "EeocsListRequestRemoteFields": ".eeocs_list_request_remote_fields", "EeocsListRequestShowEnumOrigins": ".eeocs_list_request_show_enum_origins", + "EeocsRetrieveRequestExpandItem": ".eeocs_retrieve_request_expand_item", "EeocsRetrieveRequestRemoteFields": ".eeocs_retrieve_request_remote_fields", "EeocsRetrieveRequestShowEnumOrigins": ".eeocs_retrieve_request_show_enum_origins", } @@ -24,8 +28,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -38,8 +44,10 @@ def __dir__(): __all__ = [ + "EeocsListRequestExpandItem", "EeocsListRequestRemoteFields", "EeocsListRequestShowEnumOrigins", + "EeocsRetrieveRequestExpandItem", "EeocsRetrieveRequestRemoteFields", "EeocsRetrieveRequestShowEnumOrigins", ] diff --git a/src/merge/resources/ats/resources/eeocs/types/eeocs_list_request_expand_item.py b/src/merge/resources/ats/resources/eeocs/types/eeocs_list_request_expand_item.py new file mode 100644 index 00000000..3bbc5551 --- /dev/null +++ b/src/merge/resources/ats/resources/eeocs/types/eeocs_list_request_expand_item.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class EeocsListRequestExpandItem(str, enum.Enum): + CANDIDATE = "candidate" + + def visit(self, candidate: typing.Callable[[], T_Result]) -> T_Result: + if self is EeocsListRequestExpandItem.CANDIDATE: + return candidate() diff --git a/src/merge/resources/ats/resources/eeocs/types/eeocs_retrieve_request_expand_item.py b/src/merge/resources/ats/resources/eeocs/types/eeocs_retrieve_request_expand_item.py new file mode 100644 index 00000000..b16fc3cc --- /dev/null +++ b/src/merge/resources/ats/resources/eeocs/types/eeocs_retrieve_request_expand_item.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class EeocsRetrieveRequestExpandItem(str, enum.Enum): + CANDIDATE = "candidate" + + def visit(self, candidate: typing.Callable[[], T_Result]) -> T_Result: + if self is EeocsRetrieveRequestExpandItem.CANDIDATE: + return candidate() diff --git a/src/merge/resources/ats/resources/field_mapping/client.py b/src/merge/resources/ats/resources/field_mapping/client.py index 8e5e68a8..ec9915b2 100644 --- a/src/merge/resources/ats/resources/field_mapping/client.py +++ b/src/merge/resources/ats/resources/field_mapping/client.py @@ -59,9 +59,7 @@ def field_mappings_retrieve( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ats.field_mapping.field_mappings_retrieve( - exclude_remote_field_metadata=True, - ) + client.ats.field_mapping.field_mappings_retrieve() """ _response = self._raw_client.field_mappings_retrieve( exclude_remote_field_metadata=exclude_remote_field_metadata, request_options=request_options @@ -73,7 +71,7 @@ def field_mappings_create( *, target_field_name: str, target_field_description: str, - remote_field_traversal_path: typing.Sequence[typing.Optional[typing.Any]], + remote_field_traversal_path: typing.Sequence[typing.Any], remote_method: str, remote_url_path: str, common_model_name: str, @@ -91,7 +89,7 @@ def field_mappings_create( target_field_description : str The description of the target field you want this remote field to map to. - remote_field_traversal_path : typing.Sequence[typing.Optional[typing.Any]] + remote_field_traversal_path : typing.Sequence[typing.Any] The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. remote_method : str @@ -123,7 +121,6 @@ def field_mappings_create( api_key="YOUR_API_KEY", ) client.ats.field_mapping.field_mappings_create( - exclude_remote_field_metadata=True, target_field_name="example_target_field_name", target_field_description="this is a example description of the target field", remote_field_traversal_path=["example_remote_field"], @@ -181,7 +178,7 @@ def field_mappings_partial_update( self, field_mapping_id: str, *, - remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] = OMIT, + remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Any]] = OMIT, remote_method: typing.Optional[str] = OMIT, remote_url_path: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, @@ -193,7 +190,7 @@ def field_mappings_partial_update( ---------- field_mapping_id : str - remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] + remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Any]] The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. remote_method : typing.Optional[str] @@ -265,10 +262,7 @@ def remote_fields_retrieve( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ats.field_mapping.remote_fields_retrieve( - common_models="common_models", - include_example_values="include_example_values", - ) + client.ats.field_mapping.remote_fields_retrieve() """ _response = self._raw_client.remote_fields_retrieve( common_models=common_models, include_example_values=include_example_values, request_options=request_options @@ -355,9 +349,7 @@ async def field_mappings_retrieve( async def main() -> None: - await client.ats.field_mapping.field_mappings_retrieve( - exclude_remote_field_metadata=True, - ) + await client.ats.field_mapping.field_mappings_retrieve() asyncio.run(main()) @@ -372,7 +364,7 @@ async def field_mappings_create( *, target_field_name: str, target_field_description: str, - remote_field_traversal_path: typing.Sequence[typing.Optional[typing.Any]], + remote_field_traversal_path: typing.Sequence[typing.Any], remote_method: str, remote_url_path: str, common_model_name: str, @@ -390,7 +382,7 @@ async def field_mappings_create( target_field_description : str The description of the target field you want this remote field to map to. - remote_field_traversal_path : typing.Sequence[typing.Optional[typing.Any]] + remote_field_traversal_path : typing.Sequence[typing.Any] The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. remote_method : str @@ -427,7 +419,6 @@ async def field_mappings_create( async def main() -> None: await client.ats.field_mapping.field_mappings_create( - exclude_remote_field_metadata=True, target_field_name="example_target_field_name", target_field_description="this is a example description of the target field", remote_field_traversal_path=["example_remote_field"], @@ -496,7 +487,7 @@ async def field_mappings_partial_update( self, field_mapping_id: str, *, - remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] = OMIT, + remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Any]] = OMIT, remote_method: typing.Optional[str] = OMIT, remote_url_path: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, @@ -508,7 +499,7 @@ async def field_mappings_partial_update( ---------- field_mapping_id : str - remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] + remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Any]] The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. remote_method : typing.Optional[str] @@ -593,10 +584,7 @@ async def remote_fields_retrieve( async def main() -> None: - await client.ats.field_mapping.remote_fields_retrieve( - common_models="common_models", - include_example_values="include_example_values", - ) + await client.ats.field_mapping.remote_fields_retrieve() asyncio.run(main()) diff --git a/src/merge/resources/ats/resources/field_mapping/raw_client.py b/src/merge/resources/ats/resources/field_mapping/raw_client.py index df161ca0..a2cfe8d2 100644 --- a/src/merge/resources/ats/resources/field_mapping/raw_client.py +++ b/src/merge/resources/ats/resources/field_mapping/raw_client.py @@ -72,7 +72,7 @@ def field_mappings_create( *, target_field_name: str, target_field_description: str, - remote_field_traversal_path: typing.Sequence[typing.Optional[typing.Any]], + remote_field_traversal_path: typing.Sequence[typing.Any], remote_method: str, remote_url_path: str, common_model_name: str, @@ -90,7 +90,7 @@ def field_mappings_create( target_field_description : str The description of the target field you want this remote field to map to. - remote_field_traversal_path : typing.Sequence[typing.Optional[typing.Any]] + remote_field_traversal_path : typing.Sequence[typing.Any] The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. remote_method : str @@ -190,7 +190,7 @@ def field_mappings_partial_update( self, field_mapping_id: str, *, - remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] = OMIT, + remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Any]] = OMIT, remote_method: typing.Optional[str] = OMIT, remote_url_path: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, @@ -202,7 +202,7 @@ def field_mappings_partial_update( ---------- field_mapping_id : str - remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] + remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Any]] The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. remote_method : typing.Optional[str] @@ -389,7 +389,7 @@ async def field_mappings_create( *, target_field_name: str, target_field_description: str, - remote_field_traversal_path: typing.Sequence[typing.Optional[typing.Any]], + remote_field_traversal_path: typing.Sequence[typing.Any], remote_method: str, remote_url_path: str, common_model_name: str, @@ -407,7 +407,7 @@ async def field_mappings_create( target_field_description : str The description of the target field you want this remote field to map to. - remote_field_traversal_path : typing.Sequence[typing.Optional[typing.Any]] + remote_field_traversal_path : typing.Sequence[typing.Any] The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. remote_method : str @@ -507,7 +507,7 @@ async def field_mappings_partial_update( self, field_mapping_id: str, *, - remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] = OMIT, + remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Any]] = OMIT, remote_method: typing.Optional[str] = OMIT, remote_url_path: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, @@ -519,7 +519,7 @@ async def field_mappings_partial_update( ---------- field_mapping_id : str - remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] + remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Any]] The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. remote_method : typing.Optional[str] diff --git a/src/merge/resources/ats/resources/interviews/__init__.py b/src/merge/resources/ats/resources/interviews/__init__.py index 738a94e5..4ad7ea7d 100644 --- a/src/merge/resources/ats/resources/interviews/__init__.py +++ b/src/merge/resources/ats/resources/interviews/__init__.py @@ -6,10 +6,21 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .types import InterviewsListRequestExpand, InterviewsRetrieveRequestExpand + from .types import ( + InterviewsListRequestExpandItem, + InterviewsListRequestRemoteFields, + InterviewsListRequestShowEnumOrigins, + InterviewsRetrieveRequestExpandItem, + InterviewsRetrieveRequestRemoteFields, + InterviewsRetrieveRequestShowEnumOrigins, + ) _dynamic_imports: typing.Dict[str, str] = { - "InterviewsListRequestExpand": ".types", - "InterviewsRetrieveRequestExpand": ".types", + "InterviewsListRequestExpandItem": ".types", + "InterviewsListRequestRemoteFields": ".types", + "InterviewsListRequestShowEnumOrigins": ".types", + "InterviewsRetrieveRequestExpandItem": ".types", + "InterviewsRetrieveRequestRemoteFields": ".types", + "InterviewsRetrieveRequestShowEnumOrigins": ".types", } @@ -19,8 +30,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -32,4 +45,11 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["InterviewsListRequestExpand", "InterviewsRetrieveRequestExpand"] +__all__ = [ + "InterviewsListRequestExpandItem", + "InterviewsListRequestRemoteFields", + "InterviewsListRequestShowEnumOrigins", + "InterviewsRetrieveRequestExpandItem", + "InterviewsRetrieveRequestRemoteFields", + "InterviewsRetrieveRequestShowEnumOrigins", +] diff --git a/src/merge/resources/ats/resources/interviews/client.py b/src/merge/resources/ats/resources/interviews/client.py index 8745eaaf..83459d74 100644 --- a/src/merge/resources/ats/resources/interviews/client.py +++ b/src/merge/resources/ats/resources/interviews/client.py @@ -4,6 +4,7 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.meta_response import MetaResponse from ...types.paginated_scheduled_interview_list import PaginatedScheduledInterviewList @@ -11,8 +12,12 @@ from ...types.scheduled_interview_request import ScheduledInterviewRequest from ...types.scheduled_interview_response import ScheduledInterviewResponse from .raw_client import AsyncRawInterviewsClient, RawInterviewsClient -from .types.interviews_list_request_expand import InterviewsListRequestExpand -from .types.interviews_retrieve_request_expand import InterviewsRetrieveRequestExpand +from .types.interviews_list_request_expand_item import InterviewsListRequestExpandItem +from .types.interviews_list_request_remote_fields import InterviewsListRequestRemoteFields +from .types.interviews_list_request_show_enum_origins import InterviewsListRequestShowEnumOrigins +from .types.interviews_retrieve_request_expand_item import InterviewsRetrieveRequestExpandItem +from .types.interviews_retrieve_request_remote_fields import InterviewsRetrieveRequestRemoteFields +from .types.interviews_retrieve_request_show_enum_origins import InterviewsRetrieveRequestShowEnumOrigins # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -40,7 +45,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[InterviewsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[InterviewsListRequestExpandItem, typing.Sequence[InterviewsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -50,11 +57,11 @@ def list( modified_before: typing.Optional[dt.datetime] = None, organizer_id: typing.Optional[str] = None, page_size: typing.Optional[int] = None, - remote_fields: typing.Optional[typing.Literal["status"]] = None, + remote_fields: typing.Optional[InterviewsListRequestRemoteFields] = None, remote_id: typing.Optional[str] = None, - show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + show_enum_origins: typing.Optional[InterviewsListRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedScheduledInterviewList: + ) -> SyncPager[ScheduledInterview, PaginatedScheduledInterviewList]: """ Returns a list of `ScheduledInterview` objects. @@ -72,7 +79,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[InterviewsListRequestExpand] + expand : typing.Optional[typing.Union[InterviewsListRequestExpandItem, typing.Sequence[InterviewsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -102,13 +109,13 @@ def list( page_size : typing.Optional[int] Number of results to return per page. - remote_fields : typing.Optional[typing.Literal["status"]] + remote_fields : typing.Optional[InterviewsListRequestRemoteFields] Deprecated. Use show_enum_origins. remote_id : typing.Optional[str] The API provider's ID for the given object. - show_enum_origins : typing.Optional[typing.Literal["status"]] + show_enum_origins : typing.Optional[InterviewsListRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -116,47 +123,27 @@ def list( Returns ------- - PaginatedScheduledInterviewList + SyncPager[ScheduledInterview, PaginatedScheduledInterviewList] Examples -------- - import datetime - from merge import Merge - from merge.resources.ats.resources.interviews import InterviewsListRequestExpand client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ats.interviews.list( - application_id="application_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = client.ats.interviews.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=InterviewsListRequestExpand.APPLICATION, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - job_id="job_id", - job_interview_stage_id="job_interview_stage_id", - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - organizer_id="organizer_id", - page_size=1, - remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( application_id=application_id, created_after=created_after, created_before=created_before, @@ -176,7 +163,6 @@ def list( show_enum_origins=show_enum_origins, request_options=request_options, ) - return _response.data def create( self, @@ -220,8 +206,6 @@ def create( api_key="YOUR_API_KEY", ) client.ats.interviews.create( - is_debug_mode=True, - run_async=True, model=ScheduledInterviewRequest(), remote_user_id="remote_user_id", ) @@ -239,11 +223,13 @@ def retrieve( self, id: str, *, - expand: typing.Optional[InterviewsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[InterviewsRetrieveRequestExpandItem, typing.Sequence[InterviewsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - remote_fields: typing.Optional[typing.Literal["status"]] = None, - show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + remote_fields: typing.Optional[InterviewsRetrieveRequestRemoteFields] = None, + show_enum_origins: typing.Optional[InterviewsRetrieveRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, ) -> ScheduledInterview: """ @@ -253,7 +239,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[InterviewsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[InterviewsRetrieveRequestExpandItem, typing.Sequence[InterviewsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -262,10 +248,10 @@ def retrieve( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - remote_fields : typing.Optional[typing.Literal["status"]] + remote_fields : typing.Optional[InterviewsRetrieveRequestRemoteFields] Deprecated. Use show_enum_origins. - show_enum_origins : typing.Optional[typing.Literal["status"]] + show_enum_origins : typing.Optional[InterviewsRetrieveRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -279,9 +265,6 @@ def retrieve( Examples -------- from merge import Merge - from merge.resources.ats.resources.interviews import ( - InterviewsRetrieveRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -289,9 +272,6 @@ def retrieve( ) client.ats.interviews.retrieve( id="id", - expand=InterviewsRetrieveRequestExpand.APPLICATION, - include_remote_data=True, - include_shell_data=True, ) """ _response = self._raw_client.retrieve( @@ -355,7 +335,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[InterviewsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[InterviewsListRequestExpandItem, typing.Sequence[InterviewsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -365,11 +347,11 @@ async def list( modified_before: typing.Optional[dt.datetime] = None, organizer_id: typing.Optional[str] = None, page_size: typing.Optional[int] = None, - remote_fields: typing.Optional[typing.Literal["status"]] = None, + remote_fields: typing.Optional[InterviewsListRequestRemoteFields] = None, remote_id: typing.Optional[str] = None, - show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + show_enum_origins: typing.Optional[InterviewsListRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedScheduledInterviewList: + ) -> AsyncPager[ScheduledInterview, PaginatedScheduledInterviewList]: """ Returns a list of `ScheduledInterview` objects. @@ -387,7 +369,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[InterviewsListRequestExpand] + expand : typing.Optional[typing.Union[InterviewsListRequestExpandItem, typing.Sequence[InterviewsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -417,13 +399,13 @@ async def list( page_size : typing.Optional[int] Number of results to return per page. - remote_fields : typing.Optional[typing.Literal["status"]] + remote_fields : typing.Optional[InterviewsListRequestRemoteFields] Deprecated. Use show_enum_origins. remote_id : typing.Optional[str] The API provider's ID for the given object. - show_enum_origins : typing.Optional[typing.Literal["status"]] + show_enum_origins : typing.Optional[InterviewsListRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -431,16 +413,14 @@ async def list( Returns ------- - PaginatedScheduledInterviewList + AsyncPager[ScheduledInterview, PaginatedScheduledInterviewList] Examples -------- import asyncio - import datetime from merge import AsyncMerge - from merge.resources.ats.resources.interviews import InterviewsListRequestExpand client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -449,36 +429,20 @@ async def list( async def main() -> None: - await client.ats.interviews.list( - application_id="application_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = await client.ats.interviews.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=InterviewsListRequestExpand.APPLICATION, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - job_id="job_id", - job_interview_stage_id="job_interview_stage_id", - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - organizer_id="organizer_id", - page_size=1, - remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( application_id=application_id, created_after=created_after, created_before=created_before, @@ -498,7 +462,6 @@ async def main() -> None: show_enum_origins=show_enum_origins, request_options=request_options, ) - return _response.data async def create( self, @@ -547,8 +510,6 @@ async def create( async def main() -> None: await client.ats.interviews.create( - is_debug_mode=True, - run_async=True, model=ScheduledInterviewRequest(), remote_user_id="remote_user_id", ) @@ -569,11 +530,13 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[InterviewsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[InterviewsRetrieveRequestExpandItem, typing.Sequence[InterviewsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - remote_fields: typing.Optional[typing.Literal["status"]] = None, - show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + remote_fields: typing.Optional[InterviewsRetrieveRequestRemoteFields] = None, + show_enum_origins: typing.Optional[InterviewsRetrieveRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, ) -> ScheduledInterview: """ @@ -583,7 +546,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[InterviewsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[InterviewsRetrieveRequestExpandItem, typing.Sequence[InterviewsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -592,10 +555,10 @@ async def retrieve( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - remote_fields : typing.Optional[typing.Literal["status"]] + remote_fields : typing.Optional[InterviewsRetrieveRequestRemoteFields] Deprecated. Use show_enum_origins. - show_enum_origins : typing.Optional[typing.Literal["status"]] + show_enum_origins : typing.Optional[InterviewsRetrieveRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -611,9 +574,6 @@ async def retrieve( import asyncio from merge import AsyncMerge - from merge.resources.ats.resources.interviews import ( - InterviewsRetrieveRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -624,9 +584,6 @@ async def retrieve( async def main() -> None: await client.ats.interviews.retrieve( id="id", - expand=InterviewsRetrieveRequestExpand.APPLICATION, - include_remote_data=True, - include_shell_data=True, ) diff --git a/src/merge/resources/ats/resources/interviews/raw_client.py b/src/merge/resources/ats/resources/interviews/raw_client.py index 92c42e5e..382ae751 100644 --- a/src/merge/resources/ats/resources/interviews/raw_client.py +++ b/src/merge/resources/ats/resources/interviews/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.meta_response import MetaResponse @@ -16,8 +17,12 @@ from ...types.scheduled_interview import ScheduledInterview from ...types.scheduled_interview_request import ScheduledInterviewRequest from ...types.scheduled_interview_response import ScheduledInterviewResponse -from .types.interviews_list_request_expand import InterviewsListRequestExpand -from .types.interviews_retrieve_request_expand import InterviewsRetrieveRequestExpand +from .types.interviews_list_request_expand_item import InterviewsListRequestExpandItem +from .types.interviews_list_request_remote_fields import InterviewsListRequestRemoteFields +from .types.interviews_list_request_show_enum_origins import InterviewsListRequestShowEnumOrigins +from .types.interviews_retrieve_request_expand_item import InterviewsRetrieveRequestExpandItem +from .types.interviews_retrieve_request_remote_fields import InterviewsRetrieveRequestRemoteFields +from .types.interviews_retrieve_request_show_enum_origins import InterviewsRetrieveRequestShowEnumOrigins # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -34,7 +39,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[InterviewsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[InterviewsListRequestExpandItem, typing.Sequence[InterviewsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -44,11 +51,11 @@ def list( modified_before: typing.Optional[dt.datetime] = None, organizer_id: typing.Optional[str] = None, page_size: typing.Optional[int] = None, - remote_fields: typing.Optional[typing.Literal["status"]] = None, + remote_fields: typing.Optional[InterviewsListRequestRemoteFields] = None, remote_id: typing.Optional[str] = None, - show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + show_enum_origins: typing.Optional[InterviewsListRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedScheduledInterviewList]: + ) -> SyncPager[ScheduledInterview, PaginatedScheduledInterviewList]: """ Returns a list of `ScheduledInterview` objects. @@ -66,7 +73,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[InterviewsListRequestExpand] + expand : typing.Optional[typing.Union[InterviewsListRequestExpandItem, typing.Sequence[InterviewsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -96,13 +103,13 @@ def list( page_size : typing.Optional[int] Number of results to return per page. - remote_fields : typing.Optional[typing.Literal["status"]] + remote_fields : typing.Optional[InterviewsListRequestRemoteFields] Deprecated. Use show_enum_origins. remote_id : typing.Optional[str] The API provider's ID for the given object. - show_enum_origins : typing.Optional[typing.Literal["status"]] + show_enum_origins : typing.Optional[InterviewsListRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -110,7 +117,7 @@ def list( Returns ------- - HttpResponse[PaginatedScheduledInterviewList] + SyncPager[ScheduledInterview, PaginatedScheduledInterviewList] """ _response = self._client_wrapper.httpx_client.request( @@ -139,14 +146,37 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedScheduledInterviewList, construct_type( type_=PaginatedScheduledInterviewList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + application_id=application_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + job_id=job_id, + job_interview_stage_id=job_interview_stage_id, + modified_after=modified_after, + modified_before=modified_before, + organizer_id=organizer_id, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -220,11 +250,13 @@ def retrieve( self, id: str, *, - expand: typing.Optional[InterviewsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[InterviewsRetrieveRequestExpandItem, typing.Sequence[InterviewsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - remote_fields: typing.Optional[typing.Literal["status"]] = None, - show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + remote_fields: typing.Optional[InterviewsRetrieveRequestRemoteFields] = None, + show_enum_origins: typing.Optional[InterviewsRetrieveRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[ScheduledInterview]: """ @@ -234,7 +266,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[InterviewsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[InterviewsRetrieveRequestExpandItem, typing.Sequence[InterviewsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -243,10 +275,10 @@ def retrieve( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - remote_fields : typing.Optional[typing.Literal["status"]] + remote_fields : typing.Optional[InterviewsRetrieveRequestRemoteFields] Deprecated. Use show_enum_origins. - show_enum_origins : typing.Optional[typing.Literal["status"]] + show_enum_origins : typing.Optional[InterviewsRetrieveRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -332,7 +364,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[InterviewsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[InterviewsListRequestExpandItem, typing.Sequence[InterviewsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -342,11 +376,11 @@ async def list( modified_before: typing.Optional[dt.datetime] = None, organizer_id: typing.Optional[str] = None, page_size: typing.Optional[int] = None, - remote_fields: typing.Optional[typing.Literal["status"]] = None, + remote_fields: typing.Optional[InterviewsListRequestRemoteFields] = None, remote_id: typing.Optional[str] = None, - show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + show_enum_origins: typing.Optional[InterviewsListRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedScheduledInterviewList]: + ) -> AsyncPager[ScheduledInterview, PaginatedScheduledInterviewList]: """ Returns a list of `ScheduledInterview` objects. @@ -364,7 +398,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[InterviewsListRequestExpand] + expand : typing.Optional[typing.Union[InterviewsListRequestExpandItem, typing.Sequence[InterviewsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -394,13 +428,13 @@ async def list( page_size : typing.Optional[int] Number of results to return per page. - remote_fields : typing.Optional[typing.Literal["status"]] + remote_fields : typing.Optional[InterviewsListRequestRemoteFields] Deprecated. Use show_enum_origins. remote_id : typing.Optional[str] The API provider's ID for the given object. - show_enum_origins : typing.Optional[typing.Literal["status"]] + show_enum_origins : typing.Optional[InterviewsListRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -408,7 +442,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedScheduledInterviewList] + AsyncPager[ScheduledInterview, PaginatedScheduledInterviewList] """ _response = await self._client_wrapper.httpx_client.request( @@ -437,14 +471,40 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedScheduledInterviewList, construct_type( type_=PaginatedScheduledInterviewList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + application_id=application_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + job_id=job_id, + job_interview_stage_id=job_interview_stage_id, + modified_after=modified_after, + modified_before=modified_before, + organizer_id=organizer_id, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -518,11 +578,13 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[InterviewsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[InterviewsRetrieveRequestExpandItem, typing.Sequence[InterviewsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - remote_fields: typing.Optional[typing.Literal["status"]] = None, - show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + remote_fields: typing.Optional[InterviewsRetrieveRequestRemoteFields] = None, + show_enum_origins: typing.Optional[InterviewsRetrieveRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[ScheduledInterview]: """ @@ -532,7 +594,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[InterviewsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[InterviewsRetrieveRequestExpandItem, typing.Sequence[InterviewsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -541,10 +603,10 @@ async def retrieve( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - remote_fields : typing.Optional[typing.Literal["status"]] + remote_fields : typing.Optional[InterviewsRetrieveRequestRemoteFields] Deprecated. Use show_enum_origins. - show_enum_origins : typing.Optional[typing.Literal["status"]] + show_enum_origins : typing.Optional[InterviewsRetrieveRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] diff --git a/src/merge/resources/ats/resources/interviews/types/__init__.py b/src/merge/resources/ats/resources/interviews/types/__init__.py index 107a6425..8ec34781 100644 --- a/src/merge/resources/ats/resources/interviews/types/__init__.py +++ b/src/merge/resources/ats/resources/interviews/types/__init__.py @@ -6,11 +6,19 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .interviews_list_request_expand import InterviewsListRequestExpand - from .interviews_retrieve_request_expand import InterviewsRetrieveRequestExpand + from .interviews_list_request_expand_item import InterviewsListRequestExpandItem + from .interviews_list_request_remote_fields import InterviewsListRequestRemoteFields + from .interviews_list_request_show_enum_origins import InterviewsListRequestShowEnumOrigins + from .interviews_retrieve_request_expand_item import InterviewsRetrieveRequestExpandItem + from .interviews_retrieve_request_remote_fields import InterviewsRetrieveRequestRemoteFields + from .interviews_retrieve_request_show_enum_origins import InterviewsRetrieveRequestShowEnumOrigins _dynamic_imports: typing.Dict[str, str] = { - "InterviewsListRequestExpand": ".interviews_list_request_expand", - "InterviewsRetrieveRequestExpand": ".interviews_retrieve_request_expand", + "InterviewsListRequestExpandItem": ".interviews_list_request_expand_item", + "InterviewsListRequestRemoteFields": ".interviews_list_request_remote_fields", + "InterviewsListRequestShowEnumOrigins": ".interviews_list_request_show_enum_origins", + "InterviewsRetrieveRequestExpandItem": ".interviews_retrieve_request_expand_item", + "InterviewsRetrieveRequestRemoteFields": ".interviews_retrieve_request_remote_fields", + "InterviewsRetrieveRequestShowEnumOrigins": ".interviews_retrieve_request_show_enum_origins", } @@ -20,8 +28,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -33,4 +43,11 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["InterviewsListRequestExpand", "InterviewsRetrieveRequestExpand"] +__all__ = [ + "InterviewsListRequestExpandItem", + "InterviewsListRequestRemoteFields", + "InterviewsListRequestShowEnumOrigins", + "InterviewsRetrieveRequestExpandItem", + "InterviewsRetrieveRequestRemoteFields", + "InterviewsRetrieveRequestShowEnumOrigins", +] diff --git a/src/merge/resources/ats/resources/interviews/types/interviews_list_request_expand.py b/src/merge/resources/ats/resources/interviews/types/interviews_list_request_expand.py deleted file mode 100644 index b2883326..00000000 --- a/src/merge/resources/ats/resources/interviews/types/interviews_list_request_expand.py +++ /dev/null @@ -1,73 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class InterviewsListRequestExpand(str, enum.Enum): - APPLICATION = "application" - APPLICATION_JOB_INTERVIEW_STAGE = "application,job_interview_stage" - INTERVIEWERS = "interviewers" - INTERVIEWERS_APPLICATION = "interviewers,application" - INTERVIEWERS_APPLICATION_JOB_INTERVIEW_STAGE = "interviewers,application,job_interview_stage" - INTERVIEWERS_JOB_INTERVIEW_STAGE = "interviewers,job_interview_stage" - INTERVIEWERS_ORGANIZER = "interviewers,organizer" - INTERVIEWERS_ORGANIZER_APPLICATION = "interviewers,organizer,application" - INTERVIEWERS_ORGANIZER_APPLICATION_JOB_INTERVIEW_STAGE = "interviewers,organizer,application,job_interview_stage" - INTERVIEWERS_ORGANIZER_JOB_INTERVIEW_STAGE = "interviewers,organizer,job_interview_stage" - JOB_INTERVIEW_STAGE = "job_interview_stage" - ORGANIZER = "organizer" - ORGANIZER_APPLICATION = "organizer,application" - ORGANIZER_APPLICATION_JOB_INTERVIEW_STAGE = "organizer,application,job_interview_stage" - ORGANIZER_JOB_INTERVIEW_STAGE = "organizer,job_interview_stage" - - def visit( - self, - application: typing.Callable[[], T_Result], - application_job_interview_stage: typing.Callable[[], T_Result], - interviewers: typing.Callable[[], T_Result], - interviewers_application: typing.Callable[[], T_Result], - interviewers_application_job_interview_stage: typing.Callable[[], T_Result], - interviewers_job_interview_stage: typing.Callable[[], T_Result], - interviewers_organizer: typing.Callable[[], T_Result], - interviewers_organizer_application: typing.Callable[[], T_Result], - interviewers_organizer_application_job_interview_stage: typing.Callable[[], T_Result], - interviewers_organizer_job_interview_stage: typing.Callable[[], T_Result], - job_interview_stage: typing.Callable[[], T_Result], - organizer: typing.Callable[[], T_Result], - organizer_application: typing.Callable[[], T_Result], - organizer_application_job_interview_stage: typing.Callable[[], T_Result], - organizer_job_interview_stage: typing.Callable[[], T_Result], - ) -> T_Result: - if self is InterviewsListRequestExpand.APPLICATION: - return application() - if self is InterviewsListRequestExpand.APPLICATION_JOB_INTERVIEW_STAGE: - return application_job_interview_stage() - if self is InterviewsListRequestExpand.INTERVIEWERS: - return interviewers() - if self is InterviewsListRequestExpand.INTERVIEWERS_APPLICATION: - return interviewers_application() - if self is InterviewsListRequestExpand.INTERVIEWERS_APPLICATION_JOB_INTERVIEW_STAGE: - return interviewers_application_job_interview_stage() - if self is InterviewsListRequestExpand.INTERVIEWERS_JOB_INTERVIEW_STAGE: - return interviewers_job_interview_stage() - if self is InterviewsListRequestExpand.INTERVIEWERS_ORGANIZER: - return interviewers_organizer() - if self is InterviewsListRequestExpand.INTERVIEWERS_ORGANIZER_APPLICATION: - return interviewers_organizer_application() - if self is InterviewsListRequestExpand.INTERVIEWERS_ORGANIZER_APPLICATION_JOB_INTERVIEW_STAGE: - return interviewers_organizer_application_job_interview_stage() - if self is InterviewsListRequestExpand.INTERVIEWERS_ORGANIZER_JOB_INTERVIEW_STAGE: - return interviewers_organizer_job_interview_stage() - if self is InterviewsListRequestExpand.JOB_INTERVIEW_STAGE: - return job_interview_stage() - if self is InterviewsListRequestExpand.ORGANIZER: - return organizer() - if self is InterviewsListRequestExpand.ORGANIZER_APPLICATION: - return organizer_application() - if self is InterviewsListRequestExpand.ORGANIZER_APPLICATION_JOB_INTERVIEW_STAGE: - return organizer_application_job_interview_stage() - if self is InterviewsListRequestExpand.ORGANIZER_JOB_INTERVIEW_STAGE: - return organizer_job_interview_stage() diff --git a/src/merge/resources/ats/resources/interviews/types/interviews_list_request_expand_item.py b/src/merge/resources/ats/resources/interviews/types/interviews_list_request_expand_item.py new file mode 100644 index 00000000..a0dcc590 --- /dev/null +++ b/src/merge/resources/ats/resources/interviews/types/interviews_list_request_expand_item.py @@ -0,0 +1,29 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class InterviewsListRequestExpandItem(str, enum.Enum): + APPLICATION = "application" + INTERVIEWERS = "interviewers" + JOB_INTERVIEW_STAGE = "job_interview_stage" + ORGANIZER = "organizer" + + def visit( + self, + application: typing.Callable[[], T_Result], + interviewers: typing.Callable[[], T_Result], + job_interview_stage: typing.Callable[[], T_Result], + organizer: typing.Callable[[], T_Result], + ) -> T_Result: + if self is InterviewsListRequestExpandItem.APPLICATION: + return application() + if self is InterviewsListRequestExpandItem.INTERVIEWERS: + return interviewers() + if self is InterviewsListRequestExpandItem.JOB_INTERVIEW_STAGE: + return job_interview_stage() + if self is InterviewsListRequestExpandItem.ORGANIZER: + return organizer() diff --git a/src/merge/resources/ats/resources/interviews/types/interviews_list_request_remote_fields.py b/src/merge/resources/ats/resources/interviews/types/interviews_list_request_remote_fields.py new file mode 100644 index 00000000..a08ba832 --- /dev/null +++ b/src/merge/resources/ats/resources/interviews/types/interviews_list_request_remote_fields.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class InterviewsListRequestRemoteFields(str, enum.Enum): + STATUS = "status" + + def visit(self, status: typing.Callable[[], T_Result]) -> T_Result: + if self is InterviewsListRequestRemoteFields.STATUS: + return status() diff --git a/src/merge/resources/ats/resources/interviews/types/interviews_list_request_show_enum_origins.py b/src/merge/resources/ats/resources/interviews/types/interviews_list_request_show_enum_origins.py new file mode 100644 index 00000000..4aee96b8 --- /dev/null +++ b/src/merge/resources/ats/resources/interviews/types/interviews_list_request_show_enum_origins.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class InterviewsListRequestShowEnumOrigins(str, enum.Enum): + STATUS = "status" + + def visit(self, status: typing.Callable[[], T_Result]) -> T_Result: + if self is InterviewsListRequestShowEnumOrigins.STATUS: + return status() diff --git a/src/merge/resources/ats/resources/interviews/types/interviews_retrieve_request_expand.py b/src/merge/resources/ats/resources/interviews/types/interviews_retrieve_request_expand.py deleted file mode 100644 index 874440e0..00000000 --- a/src/merge/resources/ats/resources/interviews/types/interviews_retrieve_request_expand.py +++ /dev/null @@ -1,73 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class InterviewsRetrieveRequestExpand(str, enum.Enum): - APPLICATION = "application" - APPLICATION_JOB_INTERVIEW_STAGE = "application,job_interview_stage" - INTERVIEWERS = "interviewers" - INTERVIEWERS_APPLICATION = "interviewers,application" - INTERVIEWERS_APPLICATION_JOB_INTERVIEW_STAGE = "interviewers,application,job_interview_stage" - INTERVIEWERS_JOB_INTERVIEW_STAGE = "interviewers,job_interview_stage" - INTERVIEWERS_ORGANIZER = "interviewers,organizer" - INTERVIEWERS_ORGANIZER_APPLICATION = "interviewers,organizer,application" - INTERVIEWERS_ORGANIZER_APPLICATION_JOB_INTERVIEW_STAGE = "interviewers,organizer,application,job_interview_stage" - INTERVIEWERS_ORGANIZER_JOB_INTERVIEW_STAGE = "interviewers,organizer,job_interview_stage" - JOB_INTERVIEW_STAGE = "job_interview_stage" - ORGANIZER = "organizer" - ORGANIZER_APPLICATION = "organizer,application" - ORGANIZER_APPLICATION_JOB_INTERVIEW_STAGE = "organizer,application,job_interview_stage" - ORGANIZER_JOB_INTERVIEW_STAGE = "organizer,job_interview_stage" - - def visit( - self, - application: typing.Callable[[], T_Result], - application_job_interview_stage: typing.Callable[[], T_Result], - interviewers: typing.Callable[[], T_Result], - interviewers_application: typing.Callable[[], T_Result], - interviewers_application_job_interview_stage: typing.Callable[[], T_Result], - interviewers_job_interview_stage: typing.Callable[[], T_Result], - interviewers_organizer: typing.Callable[[], T_Result], - interviewers_organizer_application: typing.Callable[[], T_Result], - interviewers_organizer_application_job_interview_stage: typing.Callable[[], T_Result], - interviewers_organizer_job_interview_stage: typing.Callable[[], T_Result], - job_interview_stage: typing.Callable[[], T_Result], - organizer: typing.Callable[[], T_Result], - organizer_application: typing.Callable[[], T_Result], - organizer_application_job_interview_stage: typing.Callable[[], T_Result], - organizer_job_interview_stage: typing.Callable[[], T_Result], - ) -> T_Result: - if self is InterviewsRetrieveRequestExpand.APPLICATION: - return application() - if self is InterviewsRetrieveRequestExpand.APPLICATION_JOB_INTERVIEW_STAGE: - return application_job_interview_stage() - if self is InterviewsRetrieveRequestExpand.INTERVIEWERS: - return interviewers() - if self is InterviewsRetrieveRequestExpand.INTERVIEWERS_APPLICATION: - return interviewers_application() - if self is InterviewsRetrieveRequestExpand.INTERVIEWERS_APPLICATION_JOB_INTERVIEW_STAGE: - return interviewers_application_job_interview_stage() - if self is InterviewsRetrieveRequestExpand.INTERVIEWERS_JOB_INTERVIEW_STAGE: - return interviewers_job_interview_stage() - if self is InterviewsRetrieveRequestExpand.INTERVIEWERS_ORGANIZER: - return interviewers_organizer() - if self is InterviewsRetrieveRequestExpand.INTERVIEWERS_ORGANIZER_APPLICATION: - return interviewers_organizer_application() - if self is InterviewsRetrieveRequestExpand.INTERVIEWERS_ORGANIZER_APPLICATION_JOB_INTERVIEW_STAGE: - return interviewers_organizer_application_job_interview_stage() - if self is InterviewsRetrieveRequestExpand.INTERVIEWERS_ORGANIZER_JOB_INTERVIEW_STAGE: - return interviewers_organizer_job_interview_stage() - if self is InterviewsRetrieveRequestExpand.JOB_INTERVIEW_STAGE: - return job_interview_stage() - if self is InterviewsRetrieveRequestExpand.ORGANIZER: - return organizer() - if self is InterviewsRetrieveRequestExpand.ORGANIZER_APPLICATION: - return organizer_application() - if self is InterviewsRetrieveRequestExpand.ORGANIZER_APPLICATION_JOB_INTERVIEW_STAGE: - return organizer_application_job_interview_stage() - if self is InterviewsRetrieveRequestExpand.ORGANIZER_JOB_INTERVIEW_STAGE: - return organizer_job_interview_stage() diff --git a/src/merge/resources/ats/resources/interviews/types/interviews_retrieve_request_expand_item.py b/src/merge/resources/ats/resources/interviews/types/interviews_retrieve_request_expand_item.py new file mode 100644 index 00000000..c3433115 --- /dev/null +++ b/src/merge/resources/ats/resources/interviews/types/interviews_retrieve_request_expand_item.py @@ -0,0 +1,29 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class InterviewsRetrieveRequestExpandItem(str, enum.Enum): + APPLICATION = "application" + INTERVIEWERS = "interviewers" + JOB_INTERVIEW_STAGE = "job_interview_stage" + ORGANIZER = "organizer" + + def visit( + self, + application: typing.Callable[[], T_Result], + interviewers: typing.Callable[[], T_Result], + job_interview_stage: typing.Callable[[], T_Result], + organizer: typing.Callable[[], T_Result], + ) -> T_Result: + if self is InterviewsRetrieveRequestExpandItem.APPLICATION: + return application() + if self is InterviewsRetrieveRequestExpandItem.INTERVIEWERS: + return interviewers() + if self is InterviewsRetrieveRequestExpandItem.JOB_INTERVIEW_STAGE: + return job_interview_stage() + if self is InterviewsRetrieveRequestExpandItem.ORGANIZER: + return organizer() diff --git a/src/merge/resources/ats/resources/interviews/types/interviews_retrieve_request_remote_fields.py b/src/merge/resources/ats/resources/interviews/types/interviews_retrieve_request_remote_fields.py new file mode 100644 index 00000000..052ab131 --- /dev/null +++ b/src/merge/resources/ats/resources/interviews/types/interviews_retrieve_request_remote_fields.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class InterviewsRetrieveRequestRemoteFields(str, enum.Enum): + STATUS = "status" + + def visit(self, status: typing.Callable[[], T_Result]) -> T_Result: + if self is InterviewsRetrieveRequestRemoteFields.STATUS: + return status() diff --git a/src/merge/resources/ats/resources/interviews/types/interviews_retrieve_request_show_enum_origins.py b/src/merge/resources/ats/resources/interviews/types/interviews_retrieve_request_show_enum_origins.py new file mode 100644 index 00000000..d94566e7 --- /dev/null +++ b/src/merge/resources/ats/resources/interviews/types/interviews_retrieve_request_show_enum_origins.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class InterviewsRetrieveRequestShowEnumOrigins(str, enum.Enum): + STATUS = "status" + + def visit(self, status: typing.Callable[[], T_Result]) -> T_Result: + if self is InterviewsRetrieveRequestShowEnumOrigins.STATUS: + return status() diff --git a/src/merge/resources/ats/resources/issues/__init__.py b/src/merge/resources/ats/resources/issues/__init__.py index 3ca1094b..45b33fe1 100644 --- a/src/merge/resources/ats/resources/issues/__init__.py +++ b/src/merge/resources/ats/resources/issues/__init__.py @@ -16,8 +16,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: diff --git a/src/merge/resources/ats/resources/issues/client.py b/src/merge/resources/ats/resources/issues/client.py index 247d273f..fdb153ae 100644 --- a/src/merge/resources/ats/resources/issues/client.py +++ b/src/merge/resources/ats/resources/issues/client.py @@ -4,6 +4,7 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.issue import Issue from ...types.paginated_issue_list import PaginatedIssueList @@ -44,7 +45,7 @@ def list( start_date: typing.Optional[str] = None, status: typing.Optional[IssuesListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedIssueList: + ) -> SyncPager[Issue, PaginatedIssueList]: """ Gets all issues for Organization. @@ -97,46 +98,27 @@ def list( Returns ------- - PaginatedIssueList + SyncPager[Issue, PaginatedIssueList] Examples -------- - import datetime - from merge import Merge - from merge.resources.ats.resources.issues import IssuesListRequestStatus client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ats.issues.list( - account_token="account_token", + response = client.ats.issues.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_date="end_date", - end_user_organization_name="end_user_organization_name", - first_incident_time_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - first_incident_time_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - include_muted="include_muted", - integration_name="integration_name", - last_incident_time_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - last_incident_time_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - linked_account_id="linked_account_id", - page_size=1, - start_date="start_date", - status=IssuesListRequestStatus.ONGOING, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( account_token=account_token, cursor=cursor, end_date=end_date, @@ -153,7 +135,6 @@ def list( status=status, request_options=request_options, ) - return _response.data def retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> Issue: """ @@ -220,7 +201,7 @@ async def list( start_date: typing.Optional[str] = None, status: typing.Optional[IssuesListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedIssueList: + ) -> AsyncPager[Issue, PaginatedIssueList]: """ Gets all issues for Organization. @@ -273,16 +254,14 @@ async def list( Returns ------- - PaginatedIssueList + AsyncPager[Issue, PaginatedIssueList] Examples -------- import asyncio - import datetime from merge import AsyncMerge - from merge.resources.ats.resources.issues import IssuesListRequestStatus client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -291,35 +270,20 @@ async def list( async def main() -> None: - await client.ats.issues.list( - account_token="account_token", + response = await client.ats.issues.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_date="end_date", - end_user_organization_name="end_user_organization_name", - first_incident_time_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - first_incident_time_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - include_muted="include_muted", - integration_name="integration_name", - last_incident_time_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - last_incident_time_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - linked_account_id="linked_account_id", - page_size=1, - start_date="start_date", - status=IssuesListRequestStatus.ONGOING, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( account_token=account_token, cursor=cursor, end_date=end_date, @@ -336,7 +300,6 @@ async def main() -> None: status=status, request_options=request_options, ) - return _response.data async def retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> Issue: """ diff --git a/src/merge/resources/ats/resources/issues/raw_client.py b/src/merge/resources/ats/resources/issues/raw_client.py index 00602bce..ee9e6da8 100644 --- a/src/merge/resources/ats/resources/issues/raw_client.py +++ b/src/merge/resources/ats/resources/issues/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.issue import Issue @@ -38,7 +39,7 @@ def list( start_date: typing.Optional[str] = None, status: typing.Optional[IssuesListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedIssueList]: + ) -> SyncPager[Issue, PaginatedIssueList]: """ Gets all issues for Organization. @@ -91,7 +92,7 @@ def list( Returns ------- - HttpResponse[PaginatedIssueList] + SyncPager[Issue, PaginatedIssueList] """ _response = self._client_wrapper.httpx_client.request( @@ -125,14 +126,34 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedIssueList, construct_type( type_=PaginatedIssueList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + account_token=account_token, + cursor=_parsed_next, + end_date=end_date, + end_user_organization_name=end_user_organization_name, + first_incident_time_after=first_incident_time_after, + first_incident_time_before=first_incident_time_before, + include_muted=include_muted, + integration_name=integration_name, + last_incident_time_after=last_incident_time_after, + last_incident_time_before=last_incident_time_before, + linked_account_id=linked_account_id, + page_size=page_size, + start_date=start_date, + status=status, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -197,7 +218,7 @@ async def list( start_date: typing.Optional[str] = None, status: typing.Optional[IssuesListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedIssueList]: + ) -> AsyncPager[Issue, PaginatedIssueList]: """ Gets all issues for Organization. @@ -250,7 +271,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedIssueList] + AsyncPager[Issue, PaginatedIssueList] """ _response = await self._client_wrapper.httpx_client.request( @@ -284,14 +305,37 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedIssueList, construct_type( type_=PaginatedIssueList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + account_token=account_token, + cursor=_parsed_next, + end_date=end_date, + end_user_organization_name=end_user_organization_name, + first_incident_time_after=first_incident_time_after, + first_incident_time_before=first_incident_time_before, + include_muted=include_muted, + integration_name=integration_name, + last_incident_time_after=last_incident_time_after, + last_incident_time_before=last_incident_time_before, + linked_account_id=linked_account_id, + page_size=page_size, + start_date=start_date, + status=status, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/ats/resources/issues/types/__init__.py b/src/merge/resources/ats/resources/issues/types/__init__.py index 88fbf977..5e097583 100644 --- a/src/merge/resources/ats/resources/issues/types/__init__.py +++ b/src/merge/resources/ats/resources/issues/types/__init__.py @@ -16,8 +16,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: diff --git a/src/merge/resources/ats/resources/job_interview_stages/__init__.py b/src/merge/resources/ats/resources/job_interview_stages/__init__.py index 5cde0202..79a67c39 100644 --- a/src/merge/resources/ats/resources/job_interview_stages/__init__.py +++ b/src/merge/resources/ats/resources/job_interview_stages/__init__.py @@ -2,3 +2,36 @@ # isort: skip_file +import typing +from importlib import import_module + +if typing.TYPE_CHECKING: + from .types import JobInterviewStagesListRequestExpandItem, JobInterviewStagesRetrieveRequestExpandItem +_dynamic_imports: typing.Dict[str, str] = { + "JobInterviewStagesListRequestExpandItem": ".types", + "JobInterviewStagesRetrieveRequestExpandItem": ".types", +} + + +def __getattr__(attr_name: str) -> typing.Any: + module_name = _dynamic_imports.get(attr_name) + if module_name is None: + raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") + try: + module = import_module(module_name, __package__) + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) + except ImportError as e: + raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e + except AttributeError as e: + raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e + + +def __dir__(): + lazy_attrs = list(_dynamic_imports.keys()) + return sorted(lazy_attrs) + + +__all__ = ["JobInterviewStagesListRequestExpandItem", "JobInterviewStagesRetrieveRequestExpandItem"] diff --git a/src/merge/resources/ats/resources/job_interview_stages/client.py b/src/merge/resources/ats/resources/job_interview_stages/client.py index 65748ba2..77128fdc 100644 --- a/src/merge/resources/ats/resources/job_interview_stages/client.py +++ b/src/merge/resources/ats/resources/job_interview_stages/client.py @@ -4,10 +4,13 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.job_interview_stage import JobInterviewStage from ...types.paginated_job_interview_stage_list import PaginatedJobInterviewStageList from .raw_client import AsyncRawJobInterviewStagesClient, RawJobInterviewStagesClient +from .types.job_interview_stages_list_request_expand_item import JobInterviewStagesListRequestExpandItem +from .types.job_interview_stages_retrieve_request_expand_item import JobInterviewStagesRetrieveRequestExpandItem class JobInterviewStagesClient: @@ -31,7 +34,11 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["job"]] = None, + expand: typing.Optional[ + typing.Union[ + JobInterviewStagesListRequestExpandItem, typing.Sequence[JobInterviewStagesListRequestExpandItem] + ] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -41,7 +48,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedJobInterviewStageList: + ) -> SyncPager[JobInterviewStage, PaginatedJobInterviewStageList]: """ Returns a list of `JobInterviewStage` objects. @@ -56,7 +63,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["job"]] + expand : typing.Optional[typing.Union[JobInterviewStagesListRequestExpandItem, typing.Sequence[JobInterviewStagesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -88,42 +95,27 @@ def list( Returns ------- - PaginatedJobInterviewStageList + SyncPager[JobInterviewStage, PaginatedJobInterviewStageList] Examples -------- - import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ats.job_interview_stages.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = client.ats.job_interview_stages.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - job_id="job_id", - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -138,13 +130,17 @@ def list( remote_id=remote_id, request_options=request_options, ) - return _response.data def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["job"]] = None, + expand: typing.Optional[ + typing.Union[ + JobInterviewStagesRetrieveRequestExpandItem, + typing.Sequence[JobInterviewStagesRetrieveRequestExpandItem], + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -156,7 +152,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["job"]] + expand : typing.Optional[typing.Union[JobInterviewStagesRetrieveRequestExpandItem, typing.Sequence[JobInterviewStagesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -183,8 +179,6 @@ def retrieve( ) client.ats.job_interview_stages.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) """ _response = self._raw_client.retrieve( @@ -218,7 +212,11 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["job"]] = None, + expand: typing.Optional[ + typing.Union[ + JobInterviewStagesListRequestExpandItem, typing.Sequence[JobInterviewStagesListRequestExpandItem] + ] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -228,7 +226,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedJobInterviewStageList: + ) -> AsyncPager[JobInterviewStage, PaginatedJobInterviewStageList]: """ Returns a list of `JobInterviewStage` objects. @@ -243,7 +241,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["job"]] + expand : typing.Optional[typing.Union[JobInterviewStagesListRequestExpandItem, typing.Sequence[JobInterviewStagesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -275,13 +273,12 @@ async def list( Returns ------- - PaginatedJobInterviewStageList + AsyncPager[JobInterviewStage, PaginatedJobInterviewStageList] Examples -------- import asyncio - import datetime from merge import AsyncMerge @@ -292,32 +289,20 @@ async def list( async def main() -> None: - await client.ats.job_interview_stages.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = await client.ats.job_interview_stages.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - job_id="job_id", - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -332,13 +317,17 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["job"]] = None, + expand: typing.Optional[ + typing.Union[ + JobInterviewStagesRetrieveRequestExpandItem, + typing.Sequence[JobInterviewStagesRetrieveRequestExpandItem], + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -350,7 +339,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["job"]] + expand : typing.Optional[typing.Union[JobInterviewStagesRetrieveRequestExpandItem, typing.Sequence[JobInterviewStagesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -382,8 +371,6 @@ async def retrieve( async def main() -> None: await client.ats.job_interview_stages.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) diff --git a/src/merge/resources/ats/resources/job_interview_stages/raw_client.py b/src/merge/resources/ats/resources/job_interview_stages/raw_client.py index 8d2bd2da..35618e71 100644 --- a/src/merge/resources/ats/resources/job_interview_stages/raw_client.py +++ b/src/merge/resources/ats/resources/job_interview_stages/raw_client.py @@ -9,10 +9,13 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.job_interview_stage import JobInterviewStage from ...types.paginated_job_interview_stage_list import PaginatedJobInterviewStageList +from .types.job_interview_stages_list_request_expand_item import JobInterviewStagesListRequestExpandItem +from .types.job_interview_stages_retrieve_request_expand_item import JobInterviewStagesRetrieveRequestExpandItem class RawJobInterviewStagesClient: @@ -25,7 +28,11 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["job"]] = None, + expand: typing.Optional[ + typing.Union[ + JobInterviewStagesListRequestExpandItem, typing.Sequence[JobInterviewStagesListRequestExpandItem] + ] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -35,7 +42,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedJobInterviewStageList]: + ) -> SyncPager[JobInterviewStage, PaginatedJobInterviewStageList]: """ Returns a list of `JobInterviewStage` objects. @@ -50,7 +57,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["job"]] + expand : typing.Optional[typing.Union[JobInterviewStagesListRequestExpandItem, typing.Sequence[JobInterviewStagesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -82,7 +89,7 @@ def list( Returns ------- - HttpResponse[PaginatedJobInterviewStageList] + SyncPager[JobInterviewStage, PaginatedJobInterviewStageList] """ _response = self._client_wrapper.httpx_client.request( @@ -106,14 +113,32 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedJobInterviewStageList, construct_type( type_=PaginatedJobInterviewStageList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + job_id=job_id, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -123,7 +148,12 @@ def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["job"]] = None, + expand: typing.Optional[ + typing.Union[ + JobInterviewStagesRetrieveRequestExpandItem, + typing.Sequence[JobInterviewStagesRetrieveRequestExpandItem], + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -135,7 +165,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["job"]] + expand : typing.Optional[typing.Union[JobInterviewStagesRetrieveRequestExpandItem, typing.Sequence[JobInterviewStagesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -188,7 +218,11 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["job"]] = None, + expand: typing.Optional[ + typing.Union[ + JobInterviewStagesListRequestExpandItem, typing.Sequence[JobInterviewStagesListRequestExpandItem] + ] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -198,7 +232,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedJobInterviewStageList]: + ) -> AsyncPager[JobInterviewStage, PaginatedJobInterviewStageList]: """ Returns a list of `JobInterviewStage` objects. @@ -213,7 +247,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["job"]] + expand : typing.Optional[typing.Union[JobInterviewStagesListRequestExpandItem, typing.Sequence[JobInterviewStagesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -245,7 +279,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedJobInterviewStageList] + AsyncPager[JobInterviewStage, PaginatedJobInterviewStageList] """ _response = await self._client_wrapper.httpx_client.request( @@ -269,14 +303,35 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedJobInterviewStageList, construct_type( type_=PaginatedJobInterviewStageList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + job_id=job_id, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -286,7 +341,12 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["job"]] = None, + expand: typing.Optional[ + typing.Union[ + JobInterviewStagesRetrieveRequestExpandItem, + typing.Sequence[JobInterviewStagesRetrieveRequestExpandItem], + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -298,7 +358,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["job"]] + expand : typing.Optional[typing.Union[JobInterviewStagesRetrieveRequestExpandItem, typing.Sequence[JobInterviewStagesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/ats/resources/job_interview_stages/types/__init__.py b/src/merge/resources/ats/resources/job_interview_stages/types/__init__.py new file mode 100644 index 00000000..fc5b80b3 --- /dev/null +++ b/src/merge/resources/ats/resources/job_interview_stages/types/__init__.py @@ -0,0 +1,38 @@ +# This file was auto-generated by Fern from our API Definition. + +# isort: skip_file + +import typing +from importlib import import_module + +if typing.TYPE_CHECKING: + from .job_interview_stages_list_request_expand_item import JobInterviewStagesListRequestExpandItem + from .job_interview_stages_retrieve_request_expand_item import JobInterviewStagesRetrieveRequestExpandItem +_dynamic_imports: typing.Dict[str, str] = { + "JobInterviewStagesListRequestExpandItem": ".job_interview_stages_list_request_expand_item", + "JobInterviewStagesRetrieveRequestExpandItem": ".job_interview_stages_retrieve_request_expand_item", +} + + +def __getattr__(attr_name: str) -> typing.Any: + module_name = _dynamic_imports.get(attr_name) + if module_name is None: + raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") + try: + module = import_module(module_name, __package__) + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) + except ImportError as e: + raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e + except AttributeError as e: + raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e + + +def __dir__(): + lazy_attrs = list(_dynamic_imports.keys()) + return sorted(lazy_attrs) + + +__all__ = ["JobInterviewStagesListRequestExpandItem", "JobInterviewStagesRetrieveRequestExpandItem"] diff --git a/src/merge/resources/ats/resources/job_interview_stages/types/job_interview_stages_list_request_expand_item.py b/src/merge/resources/ats/resources/job_interview_stages/types/job_interview_stages_list_request_expand_item.py new file mode 100644 index 00000000..fbb3ec16 --- /dev/null +++ b/src/merge/resources/ats/resources/job_interview_stages/types/job_interview_stages_list_request_expand_item.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class JobInterviewStagesListRequestExpandItem(str, enum.Enum): + JOB = "job" + + def visit(self, job: typing.Callable[[], T_Result]) -> T_Result: + if self is JobInterviewStagesListRequestExpandItem.JOB: + return job() diff --git a/src/merge/resources/ats/resources/job_interview_stages/types/job_interview_stages_retrieve_request_expand_item.py b/src/merge/resources/ats/resources/job_interview_stages/types/job_interview_stages_retrieve_request_expand_item.py new file mode 100644 index 00000000..1ac95b85 --- /dev/null +++ b/src/merge/resources/ats/resources/job_interview_stages/types/job_interview_stages_retrieve_request_expand_item.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class JobInterviewStagesRetrieveRequestExpandItem(str, enum.Enum): + JOB = "job" + + def visit(self, job: typing.Callable[[], T_Result]) -> T_Result: + if self is JobInterviewStagesRetrieveRequestExpandItem.JOB: + return job() diff --git a/src/merge/resources/ats/resources/job_postings/__init__.py b/src/merge/resources/ats/resources/job_postings/__init__.py index 64d6e432..7f28bcf0 100644 --- a/src/merge/resources/ats/resources/job_postings/__init__.py +++ b/src/merge/resources/ats/resources/job_postings/__init__.py @@ -6,8 +6,16 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .types import JobPostingsListRequestStatus -_dynamic_imports: typing.Dict[str, str] = {"JobPostingsListRequestStatus": ".types"} + from .types import ( + JobPostingsListRequestExpandItem, + JobPostingsListRequestStatus, + JobPostingsRetrieveRequestExpandItem, + ) +_dynamic_imports: typing.Dict[str, str] = { + "JobPostingsListRequestExpandItem": ".types", + "JobPostingsListRequestStatus": ".types", + "JobPostingsRetrieveRequestExpandItem": ".types", +} def __getattr__(attr_name: str) -> typing.Any: @@ -16,8 +24,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -29,4 +39,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["JobPostingsListRequestStatus"] +__all__ = ["JobPostingsListRequestExpandItem", "JobPostingsListRequestStatus", "JobPostingsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/ats/resources/job_postings/client.py b/src/merge/resources/ats/resources/job_postings/client.py index d3847a9b..a9a22bf9 100644 --- a/src/merge/resources/ats/resources/job_postings/client.py +++ b/src/merge/resources/ats/resources/job_postings/client.py @@ -4,11 +4,14 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.job_posting import JobPosting from ...types.paginated_job_posting_list import PaginatedJobPostingList from .raw_client import AsyncRawJobPostingsClient, RawJobPostingsClient +from .types.job_postings_list_request_expand_item import JobPostingsListRequestExpandItem from .types.job_postings_list_request_status import JobPostingsListRequestStatus +from .types.job_postings_retrieve_request_expand_item import JobPostingsRetrieveRequestExpandItem class JobPostingsClient: @@ -32,7 +35,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["job"]] = None, + expand: typing.Optional[ + typing.Union[JobPostingsListRequestExpandItem, typing.Sequence[JobPostingsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -42,7 +47,7 @@ def list( remote_id: typing.Optional[str] = None, status: typing.Optional[JobPostingsListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedJobPostingList: + ) -> SyncPager[JobPosting, PaginatedJobPostingList]: """ Returns a list of `JobPosting` objects. @@ -57,7 +62,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["job"]] + expand : typing.Optional[typing.Union[JobPostingsListRequestExpandItem, typing.Sequence[JobPostingsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -95,45 +100,27 @@ def list( Returns ------- - PaginatedJobPostingList + SyncPager[JobPosting, PaginatedJobPostingList] Examples -------- - import datetime - from merge import Merge - from merge.resources.ats.resources.job_postings import ( - JobPostingsListRequestStatus, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ats.job_postings.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = client.ats.job_postings.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", - status=JobPostingsListRequestStatus.CLOSED, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -148,13 +135,14 @@ def list( status=status, request_options=request_options, ) - return _response.data def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["job"]] = None, + expand: typing.Optional[ + typing.Union[JobPostingsRetrieveRequestExpandItem, typing.Sequence[JobPostingsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -166,7 +154,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["job"]] + expand : typing.Optional[typing.Union[JobPostingsRetrieveRequestExpandItem, typing.Sequence[JobPostingsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -193,8 +181,6 @@ def retrieve( ) client.ats.job_postings.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) """ _response = self._raw_client.retrieve( @@ -228,7 +214,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["job"]] = None, + expand: typing.Optional[ + typing.Union[JobPostingsListRequestExpandItem, typing.Sequence[JobPostingsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -238,7 +226,7 @@ async def list( remote_id: typing.Optional[str] = None, status: typing.Optional[JobPostingsListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedJobPostingList: + ) -> AsyncPager[JobPosting, PaginatedJobPostingList]: """ Returns a list of `JobPosting` objects. @@ -253,7 +241,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["job"]] + expand : typing.Optional[typing.Union[JobPostingsListRequestExpandItem, typing.Sequence[JobPostingsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -291,18 +279,14 @@ async def list( Returns ------- - PaginatedJobPostingList + AsyncPager[JobPosting, PaginatedJobPostingList] Examples -------- import asyncio - import datetime from merge import AsyncMerge - from merge.resources.ats.resources.job_postings import ( - JobPostingsListRequestStatus, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -311,32 +295,20 @@ async def list( async def main() -> None: - await client.ats.job_postings.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = await client.ats.job_postings.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", - status=JobPostingsListRequestStatus.CLOSED, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -351,13 +323,14 @@ async def main() -> None: status=status, request_options=request_options, ) - return _response.data async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["job"]] = None, + expand: typing.Optional[ + typing.Union[JobPostingsRetrieveRequestExpandItem, typing.Sequence[JobPostingsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -369,7 +342,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["job"]] + expand : typing.Optional[typing.Union[JobPostingsRetrieveRequestExpandItem, typing.Sequence[JobPostingsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -401,8 +374,6 @@ async def retrieve( async def main() -> None: await client.ats.job_postings.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) diff --git a/src/merge/resources/ats/resources/job_postings/raw_client.py b/src/merge/resources/ats/resources/job_postings/raw_client.py index 93e9742a..249e39a2 100644 --- a/src/merge/resources/ats/resources/job_postings/raw_client.py +++ b/src/merge/resources/ats/resources/job_postings/raw_client.py @@ -9,11 +9,14 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.job_posting import JobPosting from ...types.paginated_job_posting_list import PaginatedJobPostingList +from .types.job_postings_list_request_expand_item import JobPostingsListRequestExpandItem from .types.job_postings_list_request_status import JobPostingsListRequestStatus +from .types.job_postings_retrieve_request_expand_item import JobPostingsRetrieveRequestExpandItem class RawJobPostingsClient: @@ -26,7 +29,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["job"]] = None, + expand: typing.Optional[ + typing.Union[JobPostingsListRequestExpandItem, typing.Sequence[JobPostingsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -36,7 +41,7 @@ def list( remote_id: typing.Optional[str] = None, status: typing.Optional[JobPostingsListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedJobPostingList]: + ) -> SyncPager[JobPosting, PaginatedJobPostingList]: """ Returns a list of `JobPosting` objects. @@ -51,7 +56,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["job"]] + expand : typing.Optional[typing.Union[JobPostingsListRequestExpandItem, typing.Sequence[JobPostingsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -89,7 +94,7 @@ def list( Returns ------- - HttpResponse[PaginatedJobPostingList] + SyncPager[JobPosting, PaginatedJobPostingList] """ _response = self._client_wrapper.httpx_client.request( @@ -113,14 +118,32 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedJobPostingList, construct_type( type_=PaginatedJobPostingList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + status=status, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -130,7 +153,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["job"]] = None, + expand: typing.Optional[ + typing.Union[JobPostingsRetrieveRequestExpandItem, typing.Sequence[JobPostingsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -142,7 +167,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["job"]] + expand : typing.Optional[typing.Union[JobPostingsRetrieveRequestExpandItem, typing.Sequence[JobPostingsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -195,7 +220,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["job"]] = None, + expand: typing.Optional[ + typing.Union[JobPostingsListRequestExpandItem, typing.Sequence[JobPostingsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -205,7 +232,7 @@ async def list( remote_id: typing.Optional[str] = None, status: typing.Optional[JobPostingsListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedJobPostingList]: + ) -> AsyncPager[JobPosting, PaginatedJobPostingList]: """ Returns a list of `JobPosting` objects. @@ -220,7 +247,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["job"]] + expand : typing.Optional[typing.Union[JobPostingsListRequestExpandItem, typing.Sequence[JobPostingsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -258,7 +285,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedJobPostingList] + AsyncPager[JobPosting, PaginatedJobPostingList] """ _response = await self._client_wrapper.httpx_client.request( @@ -282,14 +309,35 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedJobPostingList, construct_type( type_=PaginatedJobPostingList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + status=status, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -299,7 +347,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["job"]] = None, + expand: typing.Optional[ + typing.Union[JobPostingsRetrieveRequestExpandItem, typing.Sequence[JobPostingsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -311,7 +361,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["job"]] + expand : typing.Optional[typing.Union[JobPostingsRetrieveRequestExpandItem, typing.Sequence[JobPostingsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/ats/resources/job_postings/types/__init__.py b/src/merge/resources/ats/resources/job_postings/types/__init__.py index 1e05a87a..79a3dfda 100644 --- a/src/merge/resources/ats/resources/job_postings/types/__init__.py +++ b/src/merge/resources/ats/resources/job_postings/types/__init__.py @@ -6,8 +6,14 @@ from importlib import import_module if typing.TYPE_CHECKING: + from .job_postings_list_request_expand_item import JobPostingsListRequestExpandItem from .job_postings_list_request_status import JobPostingsListRequestStatus -_dynamic_imports: typing.Dict[str, str] = {"JobPostingsListRequestStatus": ".job_postings_list_request_status"} + from .job_postings_retrieve_request_expand_item import JobPostingsRetrieveRequestExpandItem +_dynamic_imports: typing.Dict[str, str] = { + "JobPostingsListRequestExpandItem": ".job_postings_list_request_expand_item", + "JobPostingsListRequestStatus": ".job_postings_list_request_status", + "JobPostingsRetrieveRequestExpandItem": ".job_postings_retrieve_request_expand_item", +} def __getattr__(attr_name: str) -> typing.Any: @@ -16,8 +22,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -29,4 +37,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["JobPostingsListRequestStatus"] +__all__ = ["JobPostingsListRequestExpandItem", "JobPostingsListRequestStatus", "JobPostingsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/ats/resources/job_postings/types/job_postings_list_request_expand_item.py b/src/merge/resources/ats/resources/job_postings/types/job_postings_list_request_expand_item.py new file mode 100644 index 00000000..6ad8d89e --- /dev/null +++ b/src/merge/resources/ats/resources/job_postings/types/job_postings_list_request_expand_item.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class JobPostingsListRequestExpandItem(str, enum.Enum): + JOB = "job" + + def visit(self, job: typing.Callable[[], T_Result]) -> T_Result: + if self is JobPostingsListRequestExpandItem.JOB: + return job() diff --git a/src/merge/resources/ats/resources/job_postings/types/job_postings_retrieve_request_expand_item.py b/src/merge/resources/ats/resources/job_postings/types/job_postings_retrieve_request_expand_item.py new file mode 100644 index 00000000..4ef3ea73 --- /dev/null +++ b/src/merge/resources/ats/resources/job_postings/types/job_postings_retrieve_request_expand_item.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class JobPostingsRetrieveRequestExpandItem(str, enum.Enum): + JOB = "job" + + def visit(self, job: typing.Callable[[], T_Result]) -> T_Result: + if self is JobPostingsRetrieveRequestExpandItem.JOB: + return job() diff --git a/src/merge/resources/ats/resources/jobs/__init__.py b/src/merge/resources/ats/resources/jobs/__init__.py index dfa70893..672c1088 100644 --- a/src/merge/resources/ats/resources/jobs/__init__.py +++ b/src/merge/resources/ats/resources/jobs/__init__.py @@ -7,16 +7,24 @@ if typing.TYPE_CHECKING: from .types import ( - JobsListRequestExpand, + JobsListRequestExpandItem, + JobsListRequestRemoteFields, + JobsListRequestShowEnumOrigins, JobsListRequestStatus, - JobsRetrieveRequestExpand, - JobsScreeningQuestionsListRequestExpand, + JobsRetrieveRequestExpandItem, + JobsRetrieveRequestRemoteFields, + JobsRetrieveRequestShowEnumOrigins, + JobsScreeningQuestionsListRequestExpandItem, ) _dynamic_imports: typing.Dict[str, str] = { - "JobsListRequestExpand": ".types", + "JobsListRequestExpandItem": ".types", + "JobsListRequestRemoteFields": ".types", + "JobsListRequestShowEnumOrigins": ".types", "JobsListRequestStatus": ".types", - "JobsRetrieveRequestExpand": ".types", - "JobsScreeningQuestionsListRequestExpand": ".types", + "JobsRetrieveRequestExpandItem": ".types", + "JobsRetrieveRequestRemoteFields": ".types", + "JobsRetrieveRequestShowEnumOrigins": ".types", + "JobsScreeningQuestionsListRequestExpandItem": ".types", } @@ -26,8 +34,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -40,8 +50,12 @@ def __dir__(): __all__ = [ - "JobsListRequestExpand", + "JobsListRequestExpandItem", + "JobsListRequestRemoteFields", + "JobsListRequestShowEnumOrigins", "JobsListRequestStatus", - "JobsRetrieveRequestExpand", - "JobsScreeningQuestionsListRequestExpand", + "JobsRetrieveRequestExpandItem", + "JobsRetrieveRequestRemoteFields", + "JobsRetrieveRequestShowEnumOrigins", + "JobsScreeningQuestionsListRequestExpandItem", ] diff --git a/src/merge/resources/ats/resources/jobs/client.py b/src/merge/resources/ats/resources/jobs/client.py index 732d144c..1b86785a 100644 --- a/src/merge/resources/ats/resources/jobs/client.py +++ b/src/merge/resources/ats/resources/jobs/client.py @@ -4,15 +4,21 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.job import Job from ...types.paginated_job_list import PaginatedJobList from ...types.paginated_screening_question_list import PaginatedScreeningQuestionList +from ...types.screening_question import ScreeningQuestion from .raw_client import AsyncRawJobsClient, RawJobsClient -from .types.jobs_list_request_expand import JobsListRequestExpand +from .types.jobs_list_request_expand_item import JobsListRequestExpandItem +from .types.jobs_list_request_remote_fields import JobsListRequestRemoteFields +from .types.jobs_list_request_show_enum_origins import JobsListRequestShowEnumOrigins from .types.jobs_list_request_status import JobsListRequestStatus -from .types.jobs_retrieve_request_expand import JobsRetrieveRequestExpand -from .types.jobs_screening_questions_list_request_expand import JobsScreeningQuestionsListRequestExpand +from .types.jobs_retrieve_request_expand_item import JobsRetrieveRequestExpandItem +from .types.jobs_retrieve_request_remote_fields import JobsRetrieveRequestRemoteFields +from .types.jobs_retrieve_request_show_enum_origins import JobsRetrieveRequestShowEnumOrigins +from .types.jobs_screening_questions_list_request_expand_item import JobsScreeningQuestionsListRequestExpandItem class JobsClient: @@ -37,7 +43,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[JobsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[JobsListRequestExpandItem, typing.Sequence[JobsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -45,12 +53,12 @@ def list( modified_before: typing.Optional[dt.datetime] = None, offices: typing.Optional[str] = None, page_size: typing.Optional[int] = None, - remote_fields: typing.Optional[typing.Literal["status"]] = None, + remote_fields: typing.Optional[JobsListRequestRemoteFields] = None, remote_id: typing.Optional[str] = None, - show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + show_enum_origins: typing.Optional[JobsListRequestShowEnumOrigins] = None, status: typing.Optional[JobsListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedJobList: + ) -> SyncPager[Job, PaginatedJobList]: """ Returns a list of `Job` objects. @@ -68,7 +76,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[JobsListRequestExpand] + expand : typing.Optional[typing.Union[JobsListRequestExpandItem, typing.Sequence[JobsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -92,13 +100,13 @@ def list( page_size : typing.Optional[int] Number of results to return per page. - remote_fields : typing.Optional[typing.Literal["status"]] + remote_fields : typing.Optional[JobsListRequestRemoteFields] Deprecated. Use show_enum_origins. remote_id : typing.Optional[str] The API provider's ID for the given object. - show_enum_origins : typing.Optional[typing.Literal["status"]] + show_enum_origins : typing.Optional[JobsListRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) status : typing.Optional[JobsListRequestStatus] @@ -115,49 +123,27 @@ def list( Returns ------- - PaginatedJobList + SyncPager[Job, PaginatedJobList] Examples -------- - import datetime - from merge import Merge - from merge.resources.ats.resources.jobs import ( - JobsListRequestExpand, - JobsListRequestStatus, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ats.jobs.list( - code="code", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = client.ats.jobs.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=JobsListRequestExpand.DEPARTMENTS, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - offices="offices", - page_size=1, - remote_id="remote_id", - status=JobsListRequestStatus.ARCHIVED, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( code=code, created_after=created_after, created_before=created_before, @@ -176,17 +162,18 @@ def list( status=status, request_options=request_options, ) - return _response.data def retrieve( self, id: str, *, - expand: typing.Optional[JobsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[JobsRetrieveRequestExpandItem, typing.Sequence[JobsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - remote_fields: typing.Optional[typing.Literal["status"]] = None, - show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + remote_fields: typing.Optional[JobsRetrieveRequestRemoteFields] = None, + show_enum_origins: typing.Optional[JobsRetrieveRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, ) -> Job: """ @@ -196,7 +183,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[JobsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[JobsRetrieveRequestExpandItem, typing.Sequence[JobsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -205,10 +192,10 @@ def retrieve( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - remote_fields : typing.Optional[typing.Literal["status"]] + remote_fields : typing.Optional[JobsRetrieveRequestRemoteFields] Deprecated. Use show_enum_origins. - show_enum_origins : typing.Optional[typing.Literal["status"]] + show_enum_origins : typing.Optional[JobsRetrieveRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -222,7 +209,6 @@ def retrieve( Examples -------- from merge import Merge - from merge.resources.ats.resources.jobs import JobsRetrieveRequestExpand client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -230,9 +216,6 @@ def retrieve( ) client.ats.jobs.retrieve( id="id", - expand=JobsRetrieveRequestExpand.DEPARTMENTS, - include_remote_data=True, - include_shell_data=True, ) """ _response = self._raw_client.retrieve( @@ -251,13 +234,18 @@ def screening_questions_list( job_id: str, *, cursor: typing.Optional[str] = None, - expand: typing.Optional[JobsScreeningQuestionsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + JobsScreeningQuestionsListRequestExpandItem, + typing.Sequence[JobsScreeningQuestionsListRequestExpandItem], + ] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedScreeningQuestionList: + ) -> SyncPager[ScreeningQuestion, PaginatedScreeningQuestionList]: """ Returns a list of `ScreeningQuestion` objects. @@ -268,7 +256,7 @@ def screening_questions_list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[JobsScreeningQuestionsListRequestExpand] + expand : typing.Optional[typing.Union[JobsScreeningQuestionsListRequestExpandItem, typing.Sequence[JobsScreeningQuestionsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -288,31 +276,28 @@ def screening_questions_list( Returns ------- - PaginatedScreeningQuestionList + SyncPager[ScreeningQuestion, PaginatedScreeningQuestionList] Examples -------- from merge import Merge - from merge.resources.ats.resources.jobs import ( - JobsScreeningQuestionsListRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ats.jobs.screening_questions_list( + response = client.ats.jobs.screening_questions_list( job_id="job_id", cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=JobsScreeningQuestionsListRequestExpand.JOB, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - page_size=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.screening_questions_list( + return self._raw_client.screening_questions_list( job_id, cursor=cursor, expand=expand, @@ -322,7 +307,6 @@ def screening_questions_list( page_size=page_size, request_options=request_options, ) - return _response.data class AsyncJobsClient: @@ -347,7 +331,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[JobsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[JobsListRequestExpandItem, typing.Sequence[JobsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -355,12 +341,12 @@ async def list( modified_before: typing.Optional[dt.datetime] = None, offices: typing.Optional[str] = None, page_size: typing.Optional[int] = None, - remote_fields: typing.Optional[typing.Literal["status"]] = None, + remote_fields: typing.Optional[JobsListRequestRemoteFields] = None, remote_id: typing.Optional[str] = None, - show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + show_enum_origins: typing.Optional[JobsListRequestShowEnumOrigins] = None, status: typing.Optional[JobsListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedJobList: + ) -> AsyncPager[Job, PaginatedJobList]: """ Returns a list of `Job` objects. @@ -378,7 +364,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[JobsListRequestExpand] + expand : typing.Optional[typing.Union[JobsListRequestExpandItem, typing.Sequence[JobsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -402,13 +388,13 @@ async def list( page_size : typing.Optional[int] Number of results to return per page. - remote_fields : typing.Optional[typing.Literal["status"]] + remote_fields : typing.Optional[JobsListRequestRemoteFields] Deprecated. Use show_enum_origins. remote_id : typing.Optional[str] The API provider's ID for the given object. - show_enum_origins : typing.Optional[typing.Literal["status"]] + show_enum_origins : typing.Optional[JobsListRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) status : typing.Optional[JobsListRequestStatus] @@ -425,19 +411,14 @@ async def list( Returns ------- - PaginatedJobList + AsyncPager[Job, PaginatedJobList] Examples -------- import asyncio - import datetime from merge import AsyncMerge - from merge.resources.ats.resources.jobs import ( - JobsListRequestExpand, - JobsListRequestStatus, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -446,35 +427,20 @@ async def list( async def main() -> None: - await client.ats.jobs.list( - code="code", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = await client.ats.jobs.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=JobsListRequestExpand.DEPARTMENTS, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - offices="offices", - page_size=1, - remote_id="remote_id", - status=JobsListRequestStatus.ARCHIVED, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( code=code, created_after=created_after, created_before=created_before, @@ -493,17 +459,18 @@ async def main() -> None: status=status, request_options=request_options, ) - return _response.data async def retrieve( self, id: str, *, - expand: typing.Optional[JobsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[JobsRetrieveRequestExpandItem, typing.Sequence[JobsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - remote_fields: typing.Optional[typing.Literal["status"]] = None, - show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + remote_fields: typing.Optional[JobsRetrieveRequestRemoteFields] = None, + show_enum_origins: typing.Optional[JobsRetrieveRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, ) -> Job: """ @@ -513,7 +480,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[JobsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[JobsRetrieveRequestExpandItem, typing.Sequence[JobsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -522,10 +489,10 @@ async def retrieve( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - remote_fields : typing.Optional[typing.Literal["status"]] + remote_fields : typing.Optional[JobsRetrieveRequestRemoteFields] Deprecated. Use show_enum_origins. - show_enum_origins : typing.Optional[typing.Literal["status"]] + show_enum_origins : typing.Optional[JobsRetrieveRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -541,7 +508,6 @@ async def retrieve( import asyncio from merge import AsyncMerge - from merge.resources.ats.resources.jobs import JobsRetrieveRequestExpand client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -552,9 +518,6 @@ async def retrieve( async def main() -> None: await client.ats.jobs.retrieve( id="id", - expand=JobsRetrieveRequestExpand.DEPARTMENTS, - include_remote_data=True, - include_shell_data=True, ) @@ -576,13 +539,18 @@ async def screening_questions_list( job_id: str, *, cursor: typing.Optional[str] = None, - expand: typing.Optional[JobsScreeningQuestionsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + JobsScreeningQuestionsListRequestExpandItem, + typing.Sequence[JobsScreeningQuestionsListRequestExpandItem], + ] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedScreeningQuestionList: + ) -> AsyncPager[ScreeningQuestion, PaginatedScreeningQuestionList]: """ Returns a list of `ScreeningQuestion` objects. @@ -593,7 +561,7 @@ async def screening_questions_list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[JobsScreeningQuestionsListRequestExpand] + expand : typing.Optional[typing.Union[JobsScreeningQuestionsListRequestExpandItem, typing.Sequence[JobsScreeningQuestionsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -613,7 +581,7 @@ async def screening_questions_list( Returns ------- - PaginatedScreeningQuestionList + AsyncPager[ScreeningQuestion, PaginatedScreeningQuestionList] Examples @@ -621,9 +589,6 @@ async def screening_questions_list( import asyncio from merge import AsyncMerge - from merge.resources.ats.resources.jobs import ( - JobsScreeningQuestionsListRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -632,20 +597,21 @@ async def screening_questions_list( async def main() -> None: - await client.ats.jobs.screening_questions_list( + response = await client.ats.jobs.screening_questions_list( job_id="job_id", cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=JobsScreeningQuestionsListRequestExpand.JOB, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - page_size=1, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.screening_questions_list( + return await self._raw_client.screening_questions_list( job_id, cursor=cursor, expand=expand, @@ -655,4 +621,3 @@ async def main() -> None: page_size=page_size, request_options=request_options, ) - return _response.data diff --git a/src/merge/resources/ats/resources/jobs/raw_client.py b/src/merge/resources/ats/resources/jobs/raw_client.py index 2bfca594..ed77953c 100644 --- a/src/merge/resources/ats/resources/jobs/raw_client.py +++ b/src/merge/resources/ats/resources/jobs/raw_client.py @@ -9,15 +9,21 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.job import Job from ...types.paginated_job_list import PaginatedJobList from ...types.paginated_screening_question_list import PaginatedScreeningQuestionList -from .types.jobs_list_request_expand import JobsListRequestExpand +from ...types.screening_question import ScreeningQuestion +from .types.jobs_list_request_expand_item import JobsListRequestExpandItem +from .types.jobs_list_request_remote_fields import JobsListRequestRemoteFields +from .types.jobs_list_request_show_enum_origins import JobsListRequestShowEnumOrigins from .types.jobs_list_request_status import JobsListRequestStatus -from .types.jobs_retrieve_request_expand import JobsRetrieveRequestExpand -from .types.jobs_screening_questions_list_request_expand import JobsScreeningQuestionsListRequestExpand +from .types.jobs_retrieve_request_expand_item import JobsRetrieveRequestExpandItem +from .types.jobs_retrieve_request_remote_fields import JobsRetrieveRequestRemoteFields +from .types.jobs_retrieve_request_show_enum_origins import JobsRetrieveRequestShowEnumOrigins +from .types.jobs_screening_questions_list_request_expand_item import JobsScreeningQuestionsListRequestExpandItem class RawJobsClient: @@ -31,7 +37,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[JobsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[JobsListRequestExpandItem, typing.Sequence[JobsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -39,12 +47,12 @@ def list( modified_before: typing.Optional[dt.datetime] = None, offices: typing.Optional[str] = None, page_size: typing.Optional[int] = None, - remote_fields: typing.Optional[typing.Literal["status"]] = None, + remote_fields: typing.Optional[JobsListRequestRemoteFields] = None, remote_id: typing.Optional[str] = None, - show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + show_enum_origins: typing.Optional[JobsListRequestShowEnumOrigins] = None, status: typing.Optional[JobsListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedJobList]: + ) -> SyncPager[Job, PaginatedJobList]: """ Returns a list of `Job` objects. @@ -62,7 +70,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[JobsListRequestExpand] + expand : typing.Optional[typing.Union[JobsListRequestExpandItem, typing.Sequence[JobsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -86,13 +94,13 @@ def list( page_size : typing.Optional[int] Number of results to return per page. - remote_fields : typing.Optional[typing.Literal["status"]] + remote_fields : typing.Optional[JobsListRequestRemoteFields] Deprecated. Use show_enum_origins. remote_id : typing.Optional[str] The API provider's ID for the given object. - show_enum_origins : typing.Optional[typing.Literal["status"]] + show_enum_origins : typing.Optional[JobsListRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) status : typing.Optional[JobsListRequestStatus] @@ -109,7 +117,7 @@ def list( Returns ------- - HttpResponse[PaginatedJobList] + SyncPager[Job, PaginatedJobList] """ _response = self._client_wrapper.httpx_client.request( @@ -137,14 +145,36 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedJobList, construct_type( type_=PaginatedJobList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + code=code, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + offices=offices, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + status=status, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -154,11 +184,13 @@ def retrieve( self, id: str, *, - expand: typing.Optional[JobsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[JobsRetrieveRequestExpandItem, typing.Sequence[JobsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - remote_fields: typing.Optional[typing.Literal["status"]] = None, - show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + remote_fields: typing.Optional[JobsRetrieveRequestRemoteFields] = None, + show_enum_origins: typing.Optional[JobsRetrieveRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[Job]: """ @@ -168,7 +200,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[JobsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[JobsRetrieveRequestExpandItem, typing.Sequence[JobsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -177,10 +209,10 @@ def retrieve( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - remote_fields : typing.Optional[typing.Literal["status"]] + remote_fields : typing.Optional[JobsRetrieveRequestRemoteFields] Deprecated. Use show_enum_origins. - show_enum_origins : typing.Optional[typing.Literal["status"]] + show_enum_origins : typing.Optional[JobsRetrieveRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -223,13 +255,18 @@ def screening_questions_list( job_id: str, *, cursor: typing.Optional[str] = None, - expand: typing.Optional[JobsScreeningQuestionsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + JobsScreeningQuestionsListRequestExpandItem, + typing.Sequence[JobsScreeningQuestionsListRequestExpandItem], + ] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedScreeningQuestionList]: + ) -> SyncPager[ScreeningQuestion, PaginatedScreeningQuestionList]: """ Returns a list of `ScreeningQuestion` objects. @@ -240,7 +277,7 @@ def screening_questions_list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[JobsScreeningQuestionsListRequestExpand] + expand : typing.Optional[typing.Union[JobsScreeningQuestionsListRequestExpandItem, typing.Sequence[JobsScreeningQuestionsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -260,7 +297,7 @@ def screening_questions_list( Returns ------- - HttpResponse[PaginatedScreeningQuestionList] + SyncPager[ScreeningQuestion, PaginatedScreeningQuestionList] """ _response = self._client_wrapper.httpx_client.request( @@ -278,14 +315,27 @@ def screening_questions_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedScreeningQuestionList, construct_type( type_=PaginatedScreeningQuestionList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.screening_questions_list( + job_id, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + page_size=page_size, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -303,7 +353,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[JobsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[JobsListRequestExpandItem, typing.Sequence[JobsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -311,12 +363,12 @@ async def list( modified_before: typing.Optional[dt.datetime] = None, offices: typing.Optional[str] = None, page_size: typing.Optional[int] = None, - remote_fields: typing.Optional[typing.Literal["status"]] = None, + remote_fields: typing.Optional[JobsListRequestRemoteFields] = None, remote_id: typing.Optional[str] = None, - show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + show_enum_origins: typing.Optional[JobsListRequestShowEnumOrigins] = None, status: typing.Optional[JobsListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedJobList]: + ) -> AsyncPager[Job, PaginatedJobList]: """ Returns a list of `Job` objects. @@ -334,7 +386,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[JobsListRequestExpand] + expand : typing.Optional[typing.Union[JobsListRequestExpandItem, typing.Sequence[JobsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -358,13 +410,13 @@ async def list( page_size : typing.Optional[int] Number of results to return per page. - remote_fields : typing.Optional[typing.Literal["status"]] + remote_fields : typing.Optional[JobsListRequestRemoteFields] Deprecated. Use show_enum_origins. remote_id : typing.Optional[str] The API provider's ID for the given object. - show_enum_origins : typing.Optional[typing.Literal["status"]] + show_enum_origins : typing.Optional[JobsListRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) status : typing.Optional[JobsListRequestStatus] @@ -381,7 +433,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedJobList] + AsyncPager[Job, PaginatedJobList] """ _response = await self._client_wrapper.httpx_client.request( @@ -409,14 +461,39 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedJobList, construct_type( type_=PaginatedJobList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + code=code, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + offices=offices, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + status=status, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -426,11 +503,13 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[JobsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[JobsRetrieveRequestExpandItem, typing.Sequence[JobsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - remote_fields: typing.Optional[typing.Literal["status"]] = None, - show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + remote_fields: typing.Optional[JobsRetrieveRequestRemoteFields] = None, + show_enum_origins: typing.Optional[JobsRetrieveRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[Job]: """ @@ -440,7 +519,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[JobsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[JobsRetrieveRequestExpandItem, typing.Sequence[JobsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -449,10 +528,10 @@ async def retrieve( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - remote_fields : typing.Optional[typing.Literal["status"]] + remote_fields : typing.Optional[JobsRetrieveRequestRemoteFields] Deprecated. Use show_enum_origins. - show_enum_origins : typing.Optional[typing.Literal["status"]] + show_enum_origins : typing.Optional[JobsRetrieveRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -495,13 +574,18 @@ async def screening_questions_list( job_id: str, *, cursor: typing.Optional[str] = None, - expand: typing.Optional[JobsScreeningQuestionsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + JobsScreeningQuestionsListRequestExpandItem, + typing.Sequence[JobsScreeningQuestionsListRequestExpandItem], + ] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedScreeningQuestionList]: + ) -> AsyncPager[ScreeningQuestion, PaginatedScreeningQuestionList]: """ Returns a list of `ScreeningQuestion` objects. @@ -512,7 +596,7 @@ async def screening_questions_list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[JobsScreeningQuestionsListRequestExpand] + expand : typing.Optional[typing.Union[JobsScreeningQuestionsListRequestExpandItem, typing.Sequence[JobsScreeningQuestionsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -532,7 +616,7 @@ async def screening_questions_list( Returns ------- - AsyncHttpResponse[PaginatedScreeningQuestionList] + AsyncPager[ScreeningQuestion, PaginatedScreeningQuestionList] """ _response = await self._client_wrapper.httpx_client.request( @@ -550,14 +634,30 @@ async def screening_questions_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedScreeningQuestionList, construct_type( type_=PaginatedScreeningQuestionList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.screening_questions_list( + job_id, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/ats/resources/jobs/types/__init__.py b/src/merge/resources/ats/resources/jobs/types/__init__.py index a0a63aa0..c5a36c4d 100644 --- a/src/merge/resources/ats/resources/jobs/types/__init__.py +++ b/src/merge/resources/ats/resources/jobs/types/__init__.py @@ -6,15 +6,23 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .jobs_list_request_expand import JobsListRequestExpand + from .jobs_list_request_expand_item import JobsListRequestExpandItem + from .jobs_list_request_remote_fields import JobsListRequestRemoteFields + from .jobs_list_request_show_enum_origins import JobsListRequestShowEnumOrigins from .jobs_list_request_status import JobsListRequestStatus - from .jobs_retrieve_request_expand import JobsRetrieveRequestExpand - from .jobs_screening_questions_list_request_expand import JobsScreeningQuestionsListRequestExpand + from .jobs_retrieve_request_expand_item import JobsRetrieveRequestExpandItem + from .jobs_retrieve_request_remote_fields import JobsRetrieveRequestRemoteFields + from .jobs_retrieve_request_show_enum_origins import JobsRetrieveRequestShowEnumOrigins + from .jobs_screening_questions_list_request_expand_item import JobsScreeningQuestionsListRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "JobsListRequestExpand": ".jobs_list_request_expand", + "JobsListRequestExpandItem": ".jobs_list_request_expand_item", + "JobsListRequestRemoteFields": ".jobs_list_request_remote_fields", + "JobsListRequestShowEnumOrigins": ".jobs_list_request_show_enum_origins", "JobsListRequestStatus": ".jobs_list_request_status", - "JobsRetrieveRequestExpand": ".jobs_retrieve_request_expand", - "JobsScreeningQuestionsListRequestExpand": ".jobs_screening_questions_list_request_expand", + "JobsRetrieveRequestExpandItem": ".jobs_retrieve_request_expand_item", + "JobsRetrieveRequestRemoteFields": ".jobs_retrieve_request_remote_fields", + "JobsRetrieveRequestShowEnumOrigins": ".jobs_retrieve_request_show_enum_origins", + "JobsScreeningQuestionsListRequestExpandItem": ".jobs_screening_questions_list_request_expand_item", } @@ -24,8 +32,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -38,8 +48,12 @@ def __dir__(): __all__ = [ - "JobsListRequestExpand", + "JobsListRequestExpandItem", + "JobsListRequestRemoteFields", + "JobsListRequestShowEnumOrigins", "JobsListRequestStatus", - "JobsRetrieveRequestExpand", - "JobsScreeningQuestionsListRequestExpand", + "JobsRetrieveRequestExpandItem", + "JobsRetrieveRequestRemoteFields", + "JobsRetrieveRequestShowEnumOrigins", + "JobsScreeningQuestionsListRequestExpandItem", ] diff --git a/src/merge/resources/ats/resources/jobs/types/jobs_list_request_expand.py b/src/merge/resources/ats/resources/jobs/types/jobs_list_request_expand.py deleted file mode 100644 index c6d97321..00000000 --- a/src/merge/resources/ats/resources/jobs/types/jobs_list_request_expand.py +++ /dev/null @@ -1,139 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class JobsListRequestExpand(str, enum.Enum): - DEPARTMENTS = "departments" - DEPARTMENTS_HIRING_MANAGERS = "departments,hiring_managers" - DEPARTMENTS_HIRING_MANAGERS_JOB_POSTINGS = "departments,hiring_managers,job_postings" - DEPARTMENTS_HIRING_MANAGERS_JOB_POSTINGS_RECRUITERS = "departments,hiring_managers,job_postings,recruiters" - DEPARTMENTS_HIRING_MANAGERS_RECRUITERS = "departments,hiring_managers,recruiters" - DEPARTMENTS_JOB_POSTINGS = "departments,job_postings" - DEPARTMENTS_JOB_POSTINGS_RECRUITERS = "departments,job_postings,recruiters" - DEPARTMENTS_OFFICES = "departments,offices" - DEPARTMENTS_OFFICES_HIRING_MANAGERS = "departments,offices,hiring_managers" - DEPARTMENTS_OFFICES_HIRING_MANAGERS_JOB_POSTINGS = "departments,offices,hiring_managers,job_postings" - DEPARTMENTS_OFFICES_HIRING_MANAGERS_JOB_POSTINGS_RECRUITERS = ( - "departments,offices,hiring_managers,job_postings,recruiters" - ) - DEPARTMENTS_OFFICES_HIRING_MANAGERS_RECRUITERS = "departments,offices,hiring_managers,recruiters" - DEPARTMENTS_OFFICES_JOB_POSTINGS = "departments,offices,job_postings" - DEPARTMENTS_OFFICES_JOB_POSTINGS_RECRUITERS = "departments,offices,job_postings,recruiters" - DEPARTMENTS_OFFICES_RECRUITERS = "departments,offices,recruiters" - DEPARTMENTS_RECRUITERS = "departments,recruiters" - HIRING_MANAGERS = "hiring_managers" - HIRING_MANAGERS_JOB_POSTINGS = "hiring_managers,job_postings" - HIRING_MANAGERS_JOB_POSTINGS_RECRUITERS = "hiring_managers,job_postings,recruiters" - HIRING_MANAGERS_RECRUITERS = "hiring_managers,recruiters" - JOB_POSTINGS = "job_postings" - JOB_POSTINGS_RECRUITERS = "job_postings,recruiters" - OFFICES = "offices" - OFFICES_HIRING_MANAGERS = "offices,hiring_managers" - OFFICES_HIRING_MANAGERS_JOB_POSTINGS = "offices,hiring_managers,job_postings" - OFFICES_HIRING_MANAGERS_JOB_POSTINGS_RECRUITERS = "offices,hiring_managers,job_postings,recruiters" - OFFICES_HIRING_MANAGERS_RECRUITERS = "offices,hiring_managers,recruiters" - OFFICES_JOB_POSTINGS = "offices,job_postings" - OFFICES_JOB_POSTINGS_RECRUITERS = "offices,job_postings,recruiters" - OFFICES_RECRUITERS = "offices,recruiters" - RECRUITERS = "recruiters" - - def visit( - self, - departments: typing.Callable[[], T_Result], - departments_hiring_managers: typing.Callable[[], T_Result], - departments_hiring_managers_job_postings: typing.Callable[[], T_Result], - departments_hiring_managers_job_postings_recruiters: typing.Callable[[], T_Result], - departments_hiring_managers_recruiters: typing.Callable[[], T_Result], - departments_job_postings: typing.Callable[[], T_Result], - departments_job_postings_recruiters: typing.Callable[[], T_Result], - departments_offices: typing.Callable[[], T_Result], - departments_offices_hiring_managers: typing.Callable[[], T_Result], - departments_offices_hiring_managers_job_postings: typing.Callable[[], T_Result], - departments_offices_hiring_managers_job_postings_recruiters: typing.Callable[[], T_Result], - departments_offices_hiring_managers_recruiters: typing.Callable[[], T_Result], - departments_offices_job_postings: typing.Callable[[], T_Result], - departments_offices_job_postings_recruiters: typing.Callable[[], T_Result], - departments_offices_recruiters: typing.Callable[[], T_Result], - departments_recruiters: typing.Callable[[], T_Result], - hiring_managers: typing.Callable[[], T_Result], - hiring_managers_job_postings: typing.Callable[[], T_Result], - hiring_managers_job_postings_recruiters: typing.Callable[[], T_Result], - hiring_managers_recruiters: typing.Callable[[], T_Result], - job_postings: typing.Callable[[], T_Result], - job_postings_recruiters: typing.Callable[[], T_Result], - offices: typing.Callable[[], T_Result], - offices_hiring_managers: typing.Callable[[], T_Result], - offices_hiring_managers_job_postings: typing.Callable[[], T_Result], - offices_hiring_managers_job_postings_recruiters: typing.Callable[[], T_Result], - offices_hiring_managers_recruiters: typing.Callable[[], T_Result], - offices_job_postings: typing.Callable[[], T_Result], - offices_job_postings_recruiters: typing.Callable[[], T_Result], - offices_recruiters: typing.Callable[[], T_Result], - recruiters: typing.Callable[[], T_Result], - ) -> T_Result: - if self is JobsListRequestExpand.DEPARTMENTS: - return departments() - if self is JobsListRequestExpand.DEPARTMENTS_HIRING_MANAGERS: - return departments_hiring_managers() - if self is JobsListRequestExpand.DEPARTMENTS_HIRING_MANAGERS_JOB_POSTINGS: - return departments_hiring_managers_job_postings() - if self is JobsListRequestExpand.DEPARTMENTS_HIRING_MANAGERS_JOB_POSTINGS_RECRUITERS: - return departments_hiring_managers_job_postings_recruiters() - if self is JobsListRequestExpand.DEPARTMENTS_HIRING_MANAGERS_RECRUITERS: - return departments_hiring_managers_recruiters() - if self is JobsListRequestExpand.DEPARTMENTS_JOB_POSTINGS: - return departments_job_postings() - if self is JobsListRequestExpand.DEPARTMENTS_JOB_POSTINGS_RECRUITERS: - return departments_job_postings_recruiters() - if self is JobsListRequestExpand.DEPARTMENTS_OFFICES: - return departments_offices() - if self is JobsListRequestExpand.DEPARTMENTS_OFFICES_HIRING_MANAGERS: - return departments_offices_hiring_managers() - if self is JobsListRequestExpand.DEPARTMENTS_OFFICES_HIRING_MANAGERS_JOB_POSTINGS: - return departments_offices_hiring_managers_job_postings() - if self is JobsListRequestExpand.DEPARTMENTS_OFFICES_HIRING_MANAGERS_JOB_POSTINGS_RECRUITERS: - return departments_offices_hiring_managers_job_postings_recruiters() - if self is JobsListRequestExpand.DEPARTMENTS_OFFICES_HIRING_MANAGERS_RECRUITERS: - return departments_offices_hiring_managers_recruiters() - if self is JobsListRequestExpand.DEPARTMENTS_OFFICES_JOB_POSTINGS: - return departments_offices_job_postings() - if self is JobsListRequestExpand.DEPARTMENTS_OFFICES_JOB_POSTINGS_RECRUITERS: - return departments_offices_job_postings_recruiters() - if self is JobsListRequestExpand.DEPARTMENTS_OFFICES_RECRUITERS: - return departments_offices_recruiters() - if self is JobsListRequestExpand.DEPARTMENTS_RECRUITERS: - return departments_recruiters() - if self is JobsListRequestExpand.HIRING_MANAGERS: - return hiring_managers() - if self is JobsListRequestExpand.HIRING_MANAGERS_JOB_POSTINGS: - return hiring_managers_job_postings() - if self is JobsListRequestExpand.HIRING_MANAGERS_JOB_POSTINGS_RECRUITERS: - return hiring_managers_job_postings_recruiters() - if self is JobsListRequestExpand.HIRING_MANAGERS_RECRUITERS: - return hiring_managers_recruiters() - if self is JobsListRequestExpand.JOB_POSTINGS: - return job_postings() - if self is JobsListRequestExpand.JOB_POSTINGS_RECRUITERS: - return job_postings_recruiters() - if self is JobsListRequestExpand.OFFICES: - return offices() - if self is JobsListRequestExpand.OFFICES_HIRING_MANAGERS: - return offices_hiring_managers() - if self is JobsListRequestExpand.OFFICES_HIRING_MANAGERS_JOB_POSTINGS: - return offices_hiring_managers_job_postings() - if self is JobsListRequestExpand.OFFICES_HIRING_MANAGERS_JOB_POSTINGS_RECRUITERS: - return offices_hiring_managers_job_postings_recruiters() - if self is JobsListRequestExpand.OFFICES_HIRING_MANAGERS_RECRUITERS: - return offices_hiring_managers_recruiters() - if self is JobsListRequestExpand.OFFICES_JOB_POSTINGS: - return offices_job_postings() - if self is JobsListRequestExpand.OFFICES_JOB_POSTINGS_RECRUITERS: - return offices_job_postings_recruiters() - if self is JobsListRequestExpand.OFFICES_RECRUITERS: - return offices_recruiters() - if self is JobsListRequestExpand.RECRUITERS: - return recruiters() diff --git a/src/merge/resources/ats/resources/jobs/types/jobs_list_request_expand_item.py b/src/merge/resources/ats/resources/jobs/types/jobs_list_request_expand_item.py new file mode 100644 index 00000000..65a316a6 --- /dev/null +++ b/src/merge/resources/ats/resources/jobs/types/jobs_list_request_expand_item.py @@ -0,0 +1,33 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class JobsListRequestExpandItem(str, enum.Enum): + DEPARTMENTS = "departments" + HIRING_MANAGERS = "hiring_managers" + JOB_POSTINGS = "job_postings" + OFFICES = "offices" + RECRUITERS = "recruiters" + + def visit( + self, + departments: typing.Callable[[], T_Result], + hiring_managers: typing.Callable[[], T_Result], + job_postings: typing.Callable[[], T_Result], + offices: typing.Callable[[], T_Result], + recruiters: typing.Callable[[], T_Result], + ) -> T_Result: + if self is JobsListRequestExpandItem.DEPARTMENTS: + return departments() + if self is JobsListRequestExpandItem.HIRING_MANAGERS: + return hiring_managers() + if self is JobsListRequestExpandItem.JOB_POSTINGS: + return job_postings() + if self is JobsListRequestExpandItem.OFFICES: + return offices() + if self is JobsListRequestExpandItem.RECRUITERS: + return recruiters() diff --git a/src/merge/resources/ats/resources/jobs/types/jobs_list_request_remote_fields.py b/src/merge/resources/ats/resources/jobs/types/jobs_list_request_remote_fields.py new file mode 100644 index 00000000..de768992 --- /dev/null +++ b/src/merge/resources/ats/resources/jobs/types/jobs_list_request_remote_fields.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class JobsListRequestRemoteFields(str, enum.Enum): + STATUS = "status" + + def visit(self, status: typing.Callable[[], T_Result]) -> T_Result: + if self is JobsListRequestRemoteFields.STATUS: + return status() diff --git a/src/merge/resources/ats/resources/jobs/types/jobs_list_request_show_enum_origins.py b/src/merge/resources/ats/resources/jobs/types/jobs_list_request_show_enum_origins.py new file mode 100644 index 00000000..0ba0d593 --- /dev/null +++ b/src/merge/resources/ats/resources/jobs/types/jobs_list_request_show_enum_origins.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class JobsListRequestShowEnumOrigins(str, enum.Enum): + STATUS = "status" + + def visit(self, status: typing.Callable[[], T_Result]) -> T_Result: + if self is JobsListRequestShowEnumOrigins.STATUS: + return status() diff --git a/src/merge/resources/ats/resources/jobs/types/jobs_retrieve_request_expand.py b/src/merge/resources/ats/resources/jobs/types/jobs_retrieve_request_expand.py deleted file mode 100644 index 8075a8c9..00000000 --- a/src/merge/resources/ats/resources/jobs/types/jobs_retrieve_request_expand.py +++ /dev/null @@ -1,139 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class JobsRetrieveRequestExpand(str, enum.Enum): - DEPARTMENTS = "departments" - DEPARTMENTS_HIRING_MANAGERS = "departments,hiring_managers" - DEPARTMENTS_HIRING_MANAGERS_JOB_POSTINGS = "departments,hiring_managers,job_postings" - DEPARTMENTS_HIRING_MANAGERS_JOB_POSTINGS_RECRUITERS = "departments,hiring_managers,job_postings,recruiters" - DEPARTMENTS_HIRING_MANAGERS_RECRUITERS = "departments,hiring_managers,recruiters" - DEPARTMENTS_JOB_POSTINGS = "departments,job_postings" - DEPARTMENTS_JOB_POSTINGS_RECRUITERS = "departments,job_postings,recruiters" - DEPARTMENTS_OFFICES = "departments,offices" - DEPARTMENTS_OFFICES_HIRING_MANAGERS = "departments,offices,hiring_managers" - DEPARTMENTS_OFFICES_HIRING_MANAGERS_JOB_POSTINGS = "departments,offices,hiring_managers,job_postings" - DEPARTMENTS_OFFICES_HIRING_MANAGERS_JOB_POSTINGS_RECRUITERS = ( - "departments,offices,hiring_managers,job_postings,recruiters" - ) - DEPARTMENTS_OFFICES_HIRING_MANAGERS_RECRUITERS = "departments,offices,hiring_managers,recruiters" - DEPARTMENTS_OFFICES_JOB_POSTINGS = "departments,offices,job_postings" - DEPARTMENTS_OFFICES_JOB_POSTINGS_RECRUITERS = "departments,offices,job_postings,recruiters" - DEPARTMENTS_OFFICES_RECRUITERS = "departments,offices,recruiters" - DEPARTMENTS_RECRUITERS = "departments,recruiters" - HIRING_MANAGERS = "hiring_managers" - HIRING_MANAGERS_JOB_POSTINGS = "hiring_managers,job_postings" - HIRING_MANAGERS_JOB_POSTINGS_RECRUITERS = "hiring_managers,job_postings,recruiters" - HIRING_MANAGERS_RECRUITERS = "hiring_managers,recruiters" - JOB_POSTINGS = "job_postings" - JOB_POSTINGS_RECRUITERS = "job_postings,recruiters" - OFFICES = "offices" - OFFICES_HIRING_MANAGERS = "offices,hiring_managers" - OFFICES_HIRING_MANAGERS_JOB_POSTINGS = "offices,hiring_managers,job_postings" - OFFICES_HIRING_MANAGERS_JOB_POSTINGS_RECRUITERS = "offices,hiring_managers,job_postings,recruiters" - OFFICES_HIRING_MANAGERS_RECRUITERS = "offices,hiring_managers,recruiters" - OFFICES_JOB_POSTINGS = "offices,job_postings" - OFFICES_JOB_POSTINGS_RECRUITERS = "offices,job_postings,recruiters" - OFFICES_RECRUITERS = "offices,recruiters" - RECRUITERS = "recruiters" - - def visit( - self, - departments: typing.Callable[[], T_Result], - departments_hiring_managers: typing.Callable[[], T_Result], - departments_hiring_managers_job_postings: typing.Callable[[], T_Result], - departments_hiring_managers_job_postings_recruiters: typing.Callable[[], T_Result], - departments_hiring_managers_recruiters: typing.Callable[[], T_Result], - departments_job_postings: typing.Callable[[], T_Result], - departments_job_postings_recruiters: typing.Callable[[], T_Result], - departments_offices: typing.Callable[[], T_Result], - departments_offices_hiring_managers: typing.Callable[[], T_Result], - departments_offices_hiring_managers_job_postings: typing.Callable[[], T_Result], - departments_offices_hiring_managers_job_postings_recruiters: typing.Callable[[], T_Result], - departments_offices_hiring_managers_recruiters: typing.Callable[[], T_Result], - departments_offices_job_postings: typing.Callable[[], T_Result], - departments_offices_job_postings_recruiters: typing.Callable[[], T_Result], - departments_offices_recruiters: typing.Callable[[], T_Result], - departments_recruiters: typing.Callable[[], T_Result], - hiring_managers: typing.Callable[[], T_Result], - hiring_managers_job_postings: typing.Callable[[], T_Result], - hiring_managers_job_postings_recruiters: typing.Callable[[], T_Result], - hiring_managers_recruiters: typing.Callable[[], T_Result], - job_postings: typing.Callable[[], T_Result], - job_postings_recruiters: typing.Callable[[], T_Result], - offices: typing.Callable[[], T_Result], - offices_hiring_managers: typing.Callable[[], T_Result], - offices_hiring_managers_job_postings: typing.Callable[[], T_Result], - offices_hiring_managers_job_postings_recruiters: typing.Callable[[], T_Result], - offices_hiring_managers_recruiters: typing.Callable[[], T_Result], - offices_job_postings: typing.Callable[[], T_Result], - offices_job_postings_recruiters: typing.Callable[[], T_Result], - offices_recruiters: typing.Callable[[], T_Result], - recruiters: typing.Callable[[], T_Result], - ) -> T_Result: - if self is JobsRetrieveRequestExpand.DEPARTMENTS: - return departments() - if self is JobsRetrieveRequestExpand.DEPARTMENTS_HIRING_MANAGERS: - return departments_hiring_managers() - if self is JobsRetrieveRequestExpand.DEPARTMENTS_HIRING_MANAGERS_JOB_POSTINGS: - return departments_hiring_managers_job_postings() - if self is JobsRetrieveRequestExpand.DEPARTMENTS_HIRING_MANAGERS_JOB_POSTINGS_RECRUITERS: - return departments_hiring_managers_job_postings_recruiters() - if self is JobsRetrieveRequestExpand.DEPARTMENTS_HIRING_MANAGERS_RECRUITERS: - return departments_hiring_managers_recruiters() - if self is JobsRetrieveRequestExpand.DEPARTMENTS_JOB_POSTINGS: - return departments_job_postings() - if self is JobsRetrieveRequestExpand.DEPARTMENTS_JOB_POSTINGS_RECRUITERS: - return departments_job_postings_recruiters() - if self is JobsRetrieveRequestExpand.DEPARTMENTS_OFFICES: - return departments_offices() - if self is JobsRetrieveRequestExpand.DEPARTMENTS_OFFICES_HIRING_MANAGERS: - return departments_offices_hiring_managers() - if self is JobsRetrieveRequestExpand.DEPARTMENTS_OFFICES_HIRING_MANAGERS_JOB_POSTINGS: - return departments_offices_hiring_managers_job_postings() - if self is JobsRetrieveRequestExpand.DEPARTMENTS_OFFICES_HIRING_MANAGERS_JOB_POSTINGS_RECRUITERS: - return departments_offices_hiring_managers_job_postings_recruiters() - if self is JobsRetrieveRequestExpand.DEPARTMENTS_OFFICES_HIRING_MANAGERS_RECRUITERS: - return departments_offices_hiring_managers_recruiters() - if self is JobsRetrieveRequestExpand.DEPARTMENTS_OFFICES_JOB_POSTINGS: - return departments_offices_job_postings() - if self is JobsRetrieveRequestExpand.DEPARTMENTS_OFFICES_JOB_POSTINGS_RECRUITERS: - return departments_offices_job_postings_recruiters() - if self is JobsRetrieveRequestExpand.DEPARTMENTS_OFFICES_RECRUITERS: - return departments_offices_recruiters() - if self is JobsRetrieveRequestExpand.DEPARTMENTS_RECRUITERS: - return departments_recruiters() - if self is JobsRetrieveRequestExpand.HIRING_MANAGERS: - return hiring_managers() - if self is JobsRetrieveRequestExpand.HIRING_MANAGERS_JOB_POSTINGS: - return hiring_managers_job_postings() - if self is JobsRetrieveRequestExpand.HIRING_MANAGERS_JOB_POSTINGS_RECRUITERS: - return hiring_managers_job_postings_recruiters() - if self is JobsRetrieveRequestExpand.HIRING_MANAGERS_RECRUITERS: - return hiring_managers_recruiters() - if self is JobsRetrieveRequestExpand.JOB_POSTINGS: - return job_postings() - if self is JobsRetrieveRequestExpand.JOB_POSTINGS_RECRUITERS: - return job_postings_recruiters() - if self is JobsRetrieveRequestExpand.OFFICES: - return offices() - if self is JobsRetrieveRequestExpand.OFFICES_HIRING_MANAGERS: - return offices_hiring_managers() - if self is JobsRetrieveRequestExpand.OFFICES_HIRING_MANAGERS_JOB_POSTINGS: - return offices_hiring_managers_job_postings() - if self is JobsRetrieveRequestExpand.OFFICES_HIRING_MANAGERS_JOB_POSTINGS_RECRUITERS: - return offices_hiring_managers_job_postings_recruiters() - if self is JobsRetrieveRequestExpand.OFFICES_HIRING_MANAGERS_RECRUITERS: - return offices_hiring_managers_recruiters() - if self is JobsRetrieveRequestExpand.OFFICES_JOB_POSTINGS: - return offices_job_postings() - if self is JobsRetrieveRequestExpand.OFFICES_JOB_POSTINGS_RECRUITERS: - return offices_job_postings_recruiters() - if self is JobsRetrieveRequestExpand.OFFICES_RECRUITERS: - return offices_recruiters() - if self is JobsRetrieveRequestExpand.RECRUITERS: - return recruiters() diff --git a/src/merge/resources/ats/resources/jobs/types/jobs_retrieve_request_expand_item.py b/src/merge/resources/ats/resources/jobs/types/jobs_retrieve_request_expand_item.py new file mode 100644 index 00000000..5826fa06 --- /dev/null +++ b/src/merge/resources/ats/resources/jobs/types/jobs_retrieve_request_expand_item.py @@ -0,0 +1,33 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class JobsRetrieveRequestExpandItem(str, enum.Enum): + DEPARTMENTS = "departments" + HIRING_MANAGERS = "hiring_managers" + JOB_POSTINGS = "job_postings" + OFFICES = "offices" + RECRUITERS = "recruiters" + + def visit( + self, + departments: typing.Callable[[], T_Result], + hiring_managers: typing.Callable[[], T_Result], + job_postings: typing.Callable[[], T_Result], + offices: typing.Callable[[], T_Result], + recruiters: typing.Callable[[], T_Result], + ) -> T_Result: + if self is JobsRetrieveRequestExpandItem.DEPARTMENTS: + return departments() + if self is JobsRetrieveRequestExpandItem.HIRING_MANAGERS: + return hiring_managers() + if self is JobsRetrieveRequestExpandItem.JOB_POSTINGS: + return job_postings() + if self is JobsRetrieveRequestExpandItem.OFFICES: + return offices() + if self is JobsRetrieveRequestExpandItem.RECRUITERS: + return recruiters() diff --git a/src/merge/resources/ats/resources/jobs/types/jobs_retrieve_request_remote_fields.py b/src/merge/resources/ats/resources/jobs/types/jobs_retrieve_request_remote_fields.py new file mode 100644 index 00000000..f3a95c71 --- /dev/null +++ b/src/merge/resources/ats/resources/jobs/types/jobs_retrieve_request_remote_fields.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class JobsRetrieveRequestRemoteFields(str, enum.Enum): + STATUS = "status" + + def visit(self, status: typing.Callable[[], T_Result]) -> T_Result: + if self is JobsRetrieveRequestRemoteFields.STATUS: + return status() diff --git a/src/merge/resources/ats/resources/jobs/types/jobs_retrieve_request_show_enum_origins.py b/src/merge/resources/ats/resources/jobs/types/jobs_retrieve_request_show_enum_origins.py new file mode 100644 index 00000000..449d49d5 --- /dev/null +++ b/src/merge/resources/ats/resources/jobs/types/jobs_retrieve_request_show_enum_origins.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class JobsRetrieveRequestShowEnumOrigins(str, enum.Enum): + STATUS = "status" + + def visit(self, status: typing.Callable[[], T_Result]) -> T_Result: + if self is JobsRetrieveRequestShowEnumOrigins.STATUS: + return status() diff --git a/src/merge/resources/ats/resources/jobs/types/jobs_screening_questions_list_request_expand.py b/src/merge/resources/ats/resources/jobs/types/jobs_screening_questions_list_request_expand.py deleted file mode 100644 index 8fa46bd6..00000000 --- a/src/merge/resources/ats/resources/jobs/types/jobs_screening_questions_list_request_expand.py +++ /dev/null @@ -1,25 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class JobsScreeningQuestionsListRequestExpand(str, enum.Enum): - JOB = "job" - OPTIONS = "options" - OPTIONS_JOB = "options,job" - - def visit( - self, - job: typing.Callable[[], T_Result], - options: typing.Callable[[], T_Result], - options_job: typing.Callable[[], T_Result], - ) -> T_Result: - if self is JobsScreeningQuestionsListRequestExpand.JOB: - return job() - if self is JobsScreeningQuestionsListRequestExpand.OPTIONS: - return options() - if self is JobsScreeningQuestionsListRequestExpand.OPTIONS_JOB: - return options_job() diff --git a/src/merge/resources/ats/resources/jobs/types/jobs_screening_questions_list_request_expand_item.py b/src/merge/resources/ats/resources/jobs/types/jobs_screening_questions_list_request_expand_item.py new file mode 100644 index 00000000..e4ec2b29 --- /dev/null +++ b/src/merge/resources/ats/resources/jobs/types/jobs_screening_questions_list_request_expand_item.py @@ -0,0 +1,17 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class JobsScreeningQuestionsListRequestExpandItem(str, enum.Enum): + JOB = "job" + OPTIONS = "options" + + def visit(self, job: typing.Callable[[], T_Result], options: typing.Callable[[], T_Result]) -> T_Result: + if self is JobsScreeningQuestionsListRequestExpandItem.JOB: + return job() + if self is JobsScreeningQuestionsListRequestExpandItem.OPTIONS: + return options() diff --git a/src/merge/resources/ats/resources/link_token/__init__.py b/src/merge/resources/ats/resources/link_token/__init__.py index 3bad6adf..15700960 100644 --- a/src/merge/resources/ats/resources/link_token/__init__.py +++ b/src/merge/resources/ats/resources/link_token/__init__.py @@ -16,8 +16,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: diff --git a/src/merge/resources/ats/resources/link_token/client.py b/src/merge/resources/ats/resources/link_token/client.py index 63de9768..86b7678f 100644 --- a/src/merge/resources/ats/resources/link_token/client.py +++ b/src/merge/resources/ats/resources/link_token/client.py @@ -47,7 +47,7 @@ def create( ] = OMIT, language: typing.Optional[EndUserDetailsRequestLanguage] = OMIT, are_syncs_disabled: typing.Optional[bool] = OMIT, - integration_specific_config: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, + integration_specific_config: typing.Optional[typing.Dict[str, typing.Any]] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> LinkToken: """ @@ -94,7 +94,7 @@ def create( are_syncs_disabled : typing.Optional[bool] The boolean that indicates whether initial, periodic, and force syncs will be disabled. - integration_specific_config : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] + integration_specific_config : typing.Optional[typing.Dict[str, typing.Any]] A JSON object containing integration-specific configuration options. request_options : typing.Optional[RequestOptions] @@ -172,7 +172,7 @@ async def create( ] = OMIT, language: typing.Optional[EndUserDetailsRequestLanguage] = OMIT, are_syncs_disabled: typing.Optional[bool] = OMIT, - integration_specific_config: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, + integration_specific_config: typing.Optional[typing.Dict[str, typing.Any]] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> LinkToken: """ @@ -219,7 +219,7 @@ async def create( are_syncs_disabled : typing.Optional[bool] The boolean that indicates whether initial, periodic, and force syncs will be disabled. - integration_specific_config : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] + integration_specific_config : typing.Optional[typing.Dict[str, typing.Any]] A JSON object containing integration-specific configuration options. request_options : typing.Optional[RequestOptions] diff --git a/src/merge/resources/ats/resources/link_token/raw_client.py b/src/merge/resources/ats/resources/link_token/raw_client.py index 8051f896..fcf76391 100644 --- a/src/merge/resources/ats/resources/link_token/raw_client.py +++ b/src/merge/resources/ats/resources/link_token/raw_client.py @@ -39,7 +39,7 @@ def create( ] = OMIT, language: typing.Optional[EndUserDetailsRequestLanguage] = OMIT, are_syncs_disabled: typing.Optional[bool] = OMIT, - integration_specific_config: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, + integration_specific_config: typing.Optional[typing.Dict[str, typing.Any]] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[LinkToken]: """ @@ -86,7 +86,7 @@ def create( are_syncs_disabled : typing.Optional[bool] The boolean that indicates whether initial, periodic, and force syncs will be disabled. - integration_specific_config : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] + integration_specific_config : typing.Optional[typing.Dict[str, typing.Any]] A JSON object containing integration-specific configuration options. request_options : typing.Optional[RequestOptions] @@ -158,7 +158,7 @@ async def create( ] = OMIT, language: typing.Optional[EndUserDetailsRequestLanguage] = OMIT, are_syncs_disabled: typing.Optional[bool] = OMIT, - integration_specific_config: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, + integration_specific_config: typing.Optional[typing.Dict[str, typing.Any]] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[LinkToken]: """ @@ -205,7 +205,7 @@ async def create( are_syncs_disabled : typing.Optional[bool] The boolean that indicates whether initial, periodic, and force syncs will be disabled. - integration_specific_config : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] + integration_specific_config : typing.Optional[typing.Dict[str, typing.Any]] A JSON object containing integration-specific configuration options. request_options : typing.Optional[RequestOptions] diff --git a/src/merge/resources/ats/resources/link_token/types/__init__.py b/src/merge/resources/ats/resources/link_token/types/__init__.py index e9a7d3b9..dad2a14a 100644 --- a/src/merge/resources/ats/resources/link_token/types/__init__.py +++ b/src/merge/resources/ats/resources/link_token/types/__init__.py @@ -16,8 +16,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: diff --git a/src/merge/resources/ats/resources/linked_accounts/__init__.py b/src/merge/resources/ats/resources/linked_accounts/__init__.py index 0b9e42b4..12e213b7 100644 --- a/src/merge/resources/ats/resources/linked_accounts/__init__.py +++ b/src/merge/resources/ats/resources/linked_accounts/__init__.py @@ -16,8 +16,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: diff --git a/src/merge/resources/ats/resources/linked_accounts/client.py b/src/merge/resources/ats/resources/linked_accounts/client.py index 6bce4b50..c3b015ce 100644 --- a/src/merge/resources/ats/resources/linked_accounts/client.py +++ b/src/merge/resources/ats/resources/linked_accounts/client.py @@ -3,7 +3,9 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions +from ...types.account_details_and_actions import AccountDetailsAndActions from ...types.paginated_account_details_and_actions_list import PaginatedAccountDetailsAndActionsList from .raw_client import AsyncRawLinkedAccountsClient, RawLinkedAccountsClient from .types.linked_accounts_list_request_category import LinkedAccountsListRequestCategory @@ -41,7 +43,7 @@ def list( page_size: typing.Optional[int] = None, status: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAccountDetailsAndActionsList: + ) -> SyncPager[AccountDetailsAndActions, PaginatedAccountDetailsAndActionsList]: """ List linked accounts for your organization. @@ -98,37 +100,27 @@ def list( Returns ------- - PaginatedAccountDetailsAndActionsList + SyncPager[AccountDetailsAndActions, PaginatedAccountDetailsAndActionsList] Examples -------- from merge import Merge - from merge.resources.ats.resources.linked_accounts import ( - LinkedAccountsListRequestCategory, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ats.linked_accounts.list( - category=LinkedAccountsListRequestCategory.ACCOUNTING, + response = client.ats.linked_accounts.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_user_email_address="end_user_email_address", - end_user_organization_name="end_user_organization_name", - end_user_origin_id="end_user_origin_id", - end_user_origin_ids="end_user_origin_ids", - id="id", - ids="ids", - include_duplicates=True, - integration_name="integration_name", - is_test_account="is_test_account", - page_size=1, - status="status", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( category=category, cursor=cursor, end_user_email_address=end_user_email_address, @@ -144,7 +136,6 @@ def list( status=status, request_options=request_options, ) - return _response.data class AsyncLinkedAccountsClient: @@ -179,7 +170,7 @@ async def list( page_size: typing.Optional[int] = None, status: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAccountDetailsAndActionsList: + ) -> AsyncPager[AccountDetailsAndActions, PaginatedAccountDetailsAndActionsList]: """ List linked accounts for your organization. @@ -236,7 +227,7 @@ async def list( Returns ------- - PaginatedAccountDetailsAndActionsList + AsyncPager[AccountDetailsAndActions, PaginatedAccountDetailsAndActionsList] Examples @@ -244,9 +235,6 @@ async def list( import asyncio from merge import AsyncMerge - from merge.resources.ats.resources.linked_accounts import ( - LinkedAccountsListRequestCategory, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -255,26 +243,20 @@ async def list( async def main() -> None: - await client.ats.linked_accounts.list( - category=LinkedAccountsListRequestCategory.ACCOUNTING, + response = await client.ats.linked_accounts.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_user_email_address="end_user_email_address", - end_user_organization_name="end_user_organization_name", - end_user_origin_id="end_user_origin_id", - end_user_origin_ids="end_user_origin_ids", - id="id", - ids="ids", - include_duplicates=True, - integration_name="integration_name", - is_test_account="is_test_account", - page_size=1, - status="status", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( category=category, cursor=cursor, end_user_email_address=end_user_email_address, @@ -290,4 +272,3 @@ async def main() -> None: status=status, request_options=request_options, ) - return _response.data diff --git a/src/merge/resources/ats/resources/linked_accounts/raw_client.py b/src/merge/resources/ats/resources/linked_accounts/raw_client.py index ff1e240c..2008dd34 100644 --- a/src/merge/resources/ats/resources/linked_accounts/raw_client.py +++ b/src/merge/resources/ats/resources/linked_accounts/raw_client.py @@ -5,9 +5,10 @@ from .....core.api_error import ApiError from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type +from ...types.account_details_and_actions import AccountDetailsAndActions from ...types.paginated_account_details_and_actions_list import PaginatedAccountDetailsAndActionsList from .types.linked_accounts_list_request_category import LinkedAccountsListRequestCategory @@ -33,7 +34,7 @@ def list( page_size: typing.Optional[int] = None, status: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedAccountDetailsAndActionsList]: + ) -> SyncPager[AccountDetailsAndActions, PaginatedAccountDetailsAndActionsList]: """ List linked accounts for your organization. @@ -90,7 +91,7 @@ def list( Returns ------- - HttpResponse[PaginatedAccountDetailsAndActionsList] + SyncPager[AccountDetailsAndActions, PaginatedAccountDetailsAndActionsList] """ _response = self._client_wrapper.httpx_client.request( @@ -115,14 +116,33 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAccountDetailsAndActionsList, construct_type( type_=PaginatedAccountDetailsAndActionsList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + category=category, + cursor=_parsed_next, + end_user_email_address=end_user_email_address, + end_user_organization_name=end_user_organization_name, + end_user_origin_id=end_user_origin_id, + end_user_origin_ids=end_user_origin_ids, + id=id, + ids=ids, + include_duplicates=include_duplicates, + integration_name=integration_name, + is_test_account=is_test_account, + page_size=page_size, + status=status, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -150,7 +170,7 @@ async def list( page_size: typing.Optional[int] = None, status: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedAccountDetailsAndActionsList]: + ) -> AsyncPager[AccountDetailsAndActions, PaginatedAccountDetailsAndActionsList]: """ List linked accounts for your organization. @@ -207,7 +227,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedAccountDetailsAndActionsList] + AsyncPager[AccountDetailsAndActions, PaginatedAccountDetailsAndActionsList] """ _response = await self._client_wrapper.httpx_client.request( @@ -232,14 +252,36 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAccountDetailsAndActionsList, construct_type( type_=PaginatedAccountDetailsAndActionsList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + category=category, + cursor=_parsed_next, + end_user_email_address=end_user_email_address, + end_user_organization_name=end_user_organization_name, + end_user_origin_id=end_user_origin_id, + end_user_origin_ids=end_user_origin_ids, + id=id, + ids=ids, + include_duplicates=include_duplicates, + integration_name=integration_name, + is_test_account=is_test_account, + page_size=page_size, + status=status, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/ats/resources/linked_accounts/types/__init__.py b/src/merge/resources/ats/resources/linked_accounts/types/__init__.py index a28f38cc..a884db6a 100644 --- a/src/merge/resources/ats/resources/linked_accounts/types/__init__.py +++ b/src/merge/resources/ats/resources/linked_accounts/types/__init__.py @@ -18,8 +18,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: diff --git a/src/merge/resources/ats/resources/offers/__init__.py b/src/merge/resources/ats/resources/offers/__init__.py index a02284e3..c2ddb3d0 100644 --- a/src/merge/resources/ats/resources/offers/__init__.py +++ b/src/merge/resources/ats/resources/offers/__init__.py @@ -6,8 +6,22 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .types import OffersListRequestExpand, OffersRetrieveRequestExpand -_dynamic_imports: typing.Dict[str, str] = {"OffersListRequestExpand": ".types", "OffersRetrieveRequestExpand": ".types"} + from .types import ( + OffersListRequestExpandItem, + OffersListRequestRemoteFields, + OffersListRequestShowEnumOrigins, + OffersRetrieveRequestExpandItem, + OffersRetrieveRequestRemoteFields, + OffersRetrieveRequestShowEnumOrigins, + ) +_dynamic_imports: typing.Dict[str, str] = { + "OffersListRequestExpandItem": ".types", + "OffersListRequestRemoteFields": ".types", + "OffersListRequestShowEnumOrigins": ".types", + "OffersRetrieveRequestExpandItem": ".types", + "OffersRetrieveRequestRemoteFields": ".types", + "OffersRetrieveRequestShowEnumOrigins": ".types", +} def __getattr__(attr_name: str) -> typing.Any: @@ -16,8 +30,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -29,4 +45,11 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["OffersListRequestExpand", "OffersRetrieveRequestExpand"] +__all__ = [ + "OffersListRequestExpandItem", + "OffersListRequestRemoteFields", + "OffersListRequestShowEnumOrigins", + "OffersRetrieveRequestExpandItem", + "OffersRetrieveRequestRemoteFields", + "OffersRetrieveRequestShowEnumOrigins", +] diff --git a/src/merge/resources/ats/resources/offers/client.py b/src/merge/resources/ats/resources/offers/client.py index 4d47e1b4..8bb82394 100644 --- a/src/merge/resources/ats/resources/offers/client.py +++ b/src/merge/resources/ats/resources/offers/client.py @@ -4,12 +4,17 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.offer import Offer from ...types.paginated_offer_list import PaginatedOfferList from .raw_client import AsyncRawOffersClient, RawOffersClient -from .types.offers_list_request_expand import OffersListRequestExpand -from .types.offers_retrieve_request_expand import OffersRetrieveRequestExpand +from .types.offers_list_request_expand_item import OffersListRequestExpandItem +from .types.offers_list_request_remote_fields import OffersListRequestRemoteFields +from .types.offers_list_request_show_enum_origins import OffersListRequestShowEnumOrigins +from .types.offers_retrieve_request_expand_item import OffersRetrieveRequestExpandItem +from .types.offers_retrieve_request_remote_fields import OffersRetrieveRequestRemoteFields +from .types.offers_retrieve_request_show_enum_origins import OffersRetrieveRequestShowEnumOrigins class OffersClient: @@ -35,18 +40,20 @@ def list( created_before: typing.Optional[dt.datetime] = None, creator_id: typing.Optional[str] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[OffersListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[OffersListRequestExpandItem, typing.Sequence[OffersListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, modified_after: typing.Optional[dt.datetime] = None, modified_before: typing.Optional[dt.datetime] = None, page_size: typing.Optional[int] = None, - remote_fields: typing.Optional[typing.Literal["status"]] = None, + remote_fields: typing.Optional[OffersListRequestRemoteFields] = None, remote_id: typing.Optional[str] = None, - show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + show_enum_origins: typing.Optional[OffersListRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedOfferList: + ) -> SyncPager[Offer, PaginatedOfferList]: """ Returns a list of `Offer` objects. @@ -67,7 +74,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[OffersListRequestExpand] + expand : typing.Optional[typing.Union[OffersListRequestExpandItem, typing.Sequence[OffersListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -88,13 +95,13 @@ def list( page_size : typing.Optional[int] Number of results to return per page. - remote_fields : typing.Optional[typing.Literal["status"]] + remote_fields : typing.Optional[OffersListRequestRemoteFields] Deprecated. Use show_enum_origins. remote_id : typing.Optional[str] The API provider's ID for the given object. - show_enum_origins : typing.Optional[typing.Literal["status"]] + show_enum_origins : typing.Optional[OffersListRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -102,45 +109,27 @@ def list( Returns ------- - PaginatedOfferList + SyncPager[Offer, PaginatedOfferList] Examples -------- - import datetime - from merge import Merge - from merge.resources.ats.resources.offers import OffersListRequestExpand client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ats.offers.list( - application_id="application_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - creator_id="creator_id", + response = client.ats.offers.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=OffersListRequestExpand.APPLICATION, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( application_id=application_id, created_after=created_after, created_before=created_before, @@ -158,17 +147,18 @@ def list( show_enum_origins=show_enum_origins, request_options=request_options, ) - return _response.data def retrieve( self, id: str, *, - expand: typing.Optional[OffersRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[OffersRetrieveRequestExpandItem, typing.Sequence[OffersRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - remote_fields: typing.Optional[typing.Literal["status"]] = None, - show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + remote_fields: typing.Optional[OffersRetrieveRequestRemoteFields] = None, + show_enum_origins: typing.Optional[OffersRetrieveRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, ) -> Offer: """ @@ -178,7 +168,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[OffersRetrieveRequestExpand] + expand : typing.Optional[typing.Union[OffersRetrieveRequestExpandItem, typing.Sequence[OffersRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -187,10 +177,10 @@ def retrieve( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - remote_fields : typing.Optional[typing.Literal["status"]] + remote_fields : typing.Optional[OffersRetrieveRequestRemoteFields] Deprecated. Use show_enum_origins. - show_enum_origins : typing.Optional[typing.Literal["status"]] + show_enum_origins : typing.Optional[OffersRetrieveRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -204,7 +194,6 @@ def retrieve( Examples -------- from merge import Merge - from merge.resources.ats.resources.offers import OffersRetrieveRequestExpand client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -212,9 +201,6 @@ def retrieve( ) client.ats.offers.retrieve( id="id", - expand=OffersRetrieveRequestExpand.APPLICATION, - include_remote_data=True, - include_shell_data=True, ) """ _response = self._raw_client.retrieve( @@ -252,18 +238,20 @@ async def list( created_before: typing.Optional[dt.datetime] = None, creator_id: typing.Optional[str] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[OffersListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[OffersListRequestExpandItem, typing.Sequence[OffersListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, modified_after: typing.Optional[dt.datetime] = None, modified_before: typing.Optional[dt.datetime] = None, page_size: typing.Optional[int] = None, - remote_fields: typing.Optional[typing.Literal["status"]] = None, + remote_fields: typing.Optional[OffersListRequestRemoteFields] = None, remote_id: typing.Optional[str] = None, - show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + show_enum_origins: typing.Optional[OffersListRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedOfferList: + ) -> AsyncPager[Offer, PaginatedOfferList]: """ Returns a list of `Offer` objects. @@ -284,7 +272,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[OffersListRequestExpand] + expand : typing.Optional[typing.Union[OffersListRequestExpandItem, typing.Sequence[OffersListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -305,13 +293,13 @@ async def list( page_size : typing.Optional[int] Number of results to return per page. - remote_fields : typing.Optional[typing.Literal["status"]] + remote_fields : typing.Optional[OffersListRequestRemoteFields] Deprecated. Use show_enum_origins. remote_id : typing.Optional[str] The API provider's ID for the given object. - show_enum_origins : typing.Optional[typing.Literal["status"]] + show_enum_origins : typing.Optional[OffersListRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -319,16 +307,14 @@ async def list( Returns ------- - PaginatedOfferList + AsyncPager[Offer, PaginatedOfferList] Examples -------- import asyncio - import datetime from merge import AsyncMerge - from merge.resources.ats.resources.offers import OffersListRequestExpand client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -337,34 +323,20 @@ async def list( async def main() -> None: - await client.ats.offers.list( - application_id="application_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - creator_id="creator_id", + response = await client.ats.offers.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=OffersListRequestExpand.APPLICATION, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( application_id=application_id, created_after=created_after, created_before=created_before, @@ -382,17 +354,18 @@ async def main() -> None: show_enum_origins=show_enum_origins, request_options=request_options, ) - return _response.data async def retrieve( self, id: str, *, - expand: typing.Optional[OffersRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[OffersRetrieveRequestExpandItem, typing.Sequence[OffersRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - remote_fields: typing.Optional[typing.Literal["status"]] = None, - show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + remote_fields: typing.Optional[OffersRetrieveRequestRemoteFields] = None, + show_enum_origins: typing.Optional[OffersRetrieveRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, ) -> Offer: """ @@ -402,7 +375,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[OffersRetrieveRequestExpand] + expand : typing.Optional[typing.Union[OffersRetrieveRequestExpandItem, typing.Sequence[OffersRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -411,10 +384,10 @@ async def retrieve( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - remote_fields : typing.Optional[typing.Literal["status"]] + remote_fields : typing.Optional[OffersRetrieveRequestRemoteFields] Deprecated. Use show_enum_origins. - show_enum_origins : typing.Optional[typing.Literal["status"]] + show_enum_origins : typing.Optional[OffersRetrieveRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -430,7 +403,6 @@ async def retrieve( import asyncio from merge import AsyncMerge - from merge.resources.ats.resources.offers import OffersRetrieveRequestExpand client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -441,9 +413,6 @@ async def retrieve( async def main() -> None: await client.ats.offers.retrieve( id="id", - expand=OffersRetrieveRequestExpand.APPLICATION, - include_remote_data=True, - include_shell_data=True, ) diff --git a/src/merge/resources/ats/resources/offers/raw_client.py b/src/merge/resources/ats/resources/offers/raw_client.py index dceccd3d..1fda83e7 100644 --- a/src/merge/resources/ats/resources/offers/raw_client.py +++ b/src/merge/resources/ats/resources/offers/raw_client.py @@ -9,12 +9,17 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.offer import Offer from ...types.paginated_offer_list import PaginatedOfferList -from .types.offers_list_request_expand import OffersListRequestExpand -from .types.offers_retrieve_request_expand import OffersRetrieveRequestExpand +from .types.offers_list_request_expand_item import OffersListRequestExpandItem +from .types.offers_list_request_remote_fields import OffersListRequestRemoteFields +from .types.offers_list_request_show_enum_origins import OffersListRequestShowEnumOrigins +from .types.offers_retrieve_request_expand_item import OffersRetrieveRequestExpandItem +from .types.offers_retrieve_request_remote_fields import OffersRetrieveRequestRemoteFields +from .types.offers_retrieve_request_show_enum_origins import OffersRetrieveRequestShowEnumOrigins class RawOffersClient: @@ -29,18 +34,20 @@ def list( created_before: typing.Optional[dt.datetime] = None, creator_id: typing.Optional[str] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[OffersListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[OffersListRequestExpandItem, typing.Sequence[OffersListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, modified_after: typing.Optional[dt.datetime] = None, modified_before: typing.Optional[dt.datetime] = None, page_size: typing.Optional[int] = None, - remote_fields: typing.Optional[typing.Literal["status"]] = None, + remote_fields: typing.Optional[OffersListRequestRemoteFields] = None, remote_id: typing.Optional[str] = None, - show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + show_enum_origins: typing.Optional[OffersListRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedOfferList]: + ) -> SyncPager[Offer, PaginatedOfferList]: """ Returns a list of `Offer` objects. @@ -61,7 +68,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[OffersListRequestExpand] + expand : typing.Optional[typing.Union[OffersListRequestExpandItem, typing.Sequence[OffersListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -82,13 +89,13 @@ def list( page_size : typing.Optional[int] Number of results to return per page. - remote_fields : typing.Optional[typing.Literal["status"]] + remote_fields : typing.Optional[OffersListRequestRemoteFields] Deprecated. Use show_enum_origins. remote_id : typing.Optional[str] The API provider's ID for the given object. - show_enum_origins : typing.Optional[typing.Literal["status"]] + show_enum_origins : typing.Optional[OffersListRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -96,7 +103,7 @@ def list( Returns ------- - HttpResponse[PaginatedOfferList] + SyncPager[Offer, PaginatedOfferList] """ _response = self._client_wrapper.httpx_client.request( @@ -123,14 +130,35 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedOfferList, construct_type( type_=PaginatedOfferList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + application_id=application_id, + created_after=created_after, + created_before=created_before, + creator_id=creator_id, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -140,11 +168,13 @@ def retrieve( self, id: str, *, - expand: typing.Optional[OffersRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[OffersRetrieveRequestExpandItem, typing.Sequence[OffersRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - remote_fields: typing.Optional[typing.Literal["status"]] = None, - show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + remote_fields: typing.Optional[OffersRetrieveRequestRemoteFields] = None, + show_enum_origins: typing.Optional[OffersRetrieveRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[Offer]: """ @@ -154,7 +184,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[OffersRetrieveRequestExpand] + expand : typing.Optional[typing.Union[OffersRetrieveRequestExpandItem, typing.Sequence[OffersRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -163,10 +193,10 @@ def retrieve( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - remote_fields : typing.Optional[typing.Literal["status"]] + remote_fields : typing.Optional[OffersRetrieveRequestRemoteFields] Deprecated. Use show_enum_origins. - show_enum_origins : typing.Optional[typing.Literal["status"]] + show_enum_origins : typing.Optional[OffersRetrieveRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -217,18 +247,20 @@ async def list( created_before: typing.Optional[dt.datetime] = None, creator_id: typing.Optional[str] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[OffersListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[OffersListRequestExpandItem, typing.Sequence[OffersListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, modified_after: typing.Optional[dt.datetime] = None, modified_before: typing.Optional[dt.datetime] = None, page_size: typing.Optional[int] = None, - remote_fields: typing.Optional[typing.Literal["status"]] = None, + remote_fields: typing.Optional[OffersListRequestRemoteFields] = None, remote_id: typing.Optional[str] = None, - show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + show_enum_origins: typing.Optional[OffersListRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedOfferList]: + ) -> AsyncPager[Offer, PaginatedOfferList]: """ Returns a list of `Offer` objects. @@ -249,7 +281,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[OffersListRequestExpand] + expand : typing.Optional[typing.Union[OffersListRequestExpandItem, typing.Sequence[OffersListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -270,13 +302,13 @@ async def list( page_size : typing.Optional[int] Number of results to return per page. - remote_fields : typing.Optional[typing.Literal["status"]] + remote_fields : typing.Optional[OffersListRequestRemoteFields] Deprecated. Use show_enum_origins. remote_id : typing.Optional[str] The API provider's ID for the given object. - show_enum_origins : typing.Optional[typing.Literal["status"]] + show_enum_origins : typing.Optional[OffersListRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -284,7 +316,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedOfferList] + AsyncPager[Offer, PaginatedOfferList] """ _response = await self._client_wrapper.httpx_client.request( @@ -311,14 +343,38 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedOfferList, construct_type( type_=PaginatedOfferList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + application_id=application_id, + created_after=created_after, + created_before=created_before, + creator_id=creator_id, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -328,11 +384,13 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[OffersRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[OffersRetrieveRequestExpandItem, typing.Sequence[OffersRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - remote_fields: typing.Optional[typing.Literal["status"]] = None, - show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + remote_fields: typing.Optional[OffersRetrieveRequestRemoteFields] = None, + show_enum_origins: typing.Optional[OffersRetrieveRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[Offer]: """ @@ -342,7 +400,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[OffersRetrieveRequestExpand] + expand : typing.Optional[typing.Union[OffersRetrieveRequestExpandItem, typing.Sequence[OffersRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -351,10 +409,10 @@ async def retrieve( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - remote_fields : typing.Optional[typing.Literal["status"]] + remote_fields : typing.Optional[OffersRetrieveRequestRemoteFields] Deprecated. Use show_enum_origins. - show_enum_origins : typing.Optional[typing.Literal["status"]] + show_enum_origins : typing.Optional[OffersRetrieveRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] diff --git a/src/merge/resources/ats/resources/offers/types/__init__.py b/src/merge/resources/ats/resources/offers/types/__init__.py index f8f79582..db63f9b1 100644 --- a/src/merge/resources/ats/resources/offers/types/__init__.py +++ b/src/merge/resources/ats/resources/offers/types/__init__.py @@ -6,11 +6,19 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .offers_list_request_expand import OffersListRequestExpand - from .offers_retrieve_request_expand import OffersRetrieveRequestExpand + from .offers_list_request_expand_item import OffersListRequestExpandItem + from .offers_list_request_remote_fields import OffersListRequestRemoteFields + from .offers_list_request_show_enum_origins import OffersListRequestShowEnumOrigins + from .offers_retrieve_request_expand_item import OffersRetrieveRequestExpandItem + from .offers_retrieve_request_remote_fields import OffersRetrieveRequestRemoteFields + from .offers_retrieve_request_show_enum_origins import OffersRetrieveRequestShowEnumOrigins _dynamic_imports: typing.Dict[str, str] = { - "OffersListRequestExpand": ".offers_list_request_expand", - "OffersRetrieveRequestExpand": ".offers_retrieve_request_expand", + "OffersListRequestExpandItem": ".offers_list_request_expand_item", + "OffersListRequestRemoteFields": ".offers_list_request_remote_fields", + "OffersListRequestShowEnumOrigins": ".offers_list_request_show_enum_origins", + "OffersRetrieveRequestExpandItem": ".offers_retrieve_request_expand_item", + "OffersRetrieveRequestRemoteFields": ".offers_retrieve_request_remote_fields", + "OffersRetrieveRequestShowEnumOrigins": ".offers_retrieve_request_show_enum_origins", } @@ -20,8 +28,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -33,4 +43,11 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["OffersListRequestExpand", "OffersRetrieveRequestExpand"] +__all__ = [ + "OffersListRequestExpandItem", + "OffersListRequestRemoteFields", + "OffersListRequestShowEnumOrigins", + "OffersRetrieveRequestExpandItem", + "OffersRetrieveRequestRemoteFields", + "OffersRetrieveRequestShowEnumOrigins", +] diff --git a/src/merge/resources/ats/resources/offers/types/offers_list_request_expand.py b/src/merge/resources/ats/resources/offers/types/offers_list_request_expand.py deleted file mode 100644 index 385eba96..00000000 --- a/src/merge/resources/ats/resources/offers/types/offers_list_request_expand.py +++ /dev/null @@ -1,25 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class OffersListRequestExpand(str, enum.Enum): - APPLICATION = "application" - APPLICATION_CREATOR = "application,creator" - CREATOR = "creator" - - def visit( - self, - application: typing.Callable[[], T_Result], - application_creator: typing.Callable[[], T_Result], - creator: typing.Callable[[], T_Result], - ) -> T_Result: - if self is OffersListRequestExpand.APPLICATION: - return application() - if self is OffersListRequestExpand.APPLICATION_CREATOR: - return application_creator() - if self is OffersListRequestExpand.CREATOR: - return creator() diff --git a/src/merge/resources/ats/resources/offers/types/offers_list_request_expand_item.py b/src/merge/resources/ats/resources/offers/types/offers_list_request_expand_item.py new file mode 100644 index 00000000..8b386364 --- /dev/null +++ b/src/merge/resources/ats/resources/offers/types/offers_list_request_expand_item.py @@ -0,0 +1,17 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class OffersListRequestExpandItem(str, enum.Enum): + APPLICATION = "application" + CREATOR = "creator" + + def visit(self, application: typing.Callable[[], T_Result], creator: typing.Callable[[], T_Result]) -> T_Result: + if self is OffersListRequestExpandItem.APPLICATION: + return application() + if self is OffersListRequestExpandItem.CREATOR: + return creator() diff --git a/src/merge/resources/ats/resources/offers/types/offers_list_request_remote_fields.py b/src/merge/resources/ats/resources/offers/types/offers_list_request_remote_fields.py new file mode 100644 index 00000000..8c489169 --- /dev/null +++ b/src/merge/resources/ats/resources/offers/types/offers_list_request_remote_fields.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class OffersListRequestRemoteFields(str, enum.Enum): + STATUS = "status" + + def visit(self, status: typing.Callable[[], T_Result]) -> T_Result: + if self is OffersListRequestRemoteFields.STATUS: + return status() diff --git a/src/merge/resources/ats/resources/offers/types/offers_list_request_show_enum_origins.py b/src/merge/resources/ats/resources/offers/types/offers_list_request_show_enum_origins.py new file mode 100644 index 00000000..d133e796 --- /dev/null +++ b/src/merge/resources/ats/resources/offers/types/offers_list_request_show_enum_origins.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class OffersListRequestShowEnumOrigins(str, enum.Enum): + STATUS = "status" + + def visit(self, status: typing.Callable[[], T_Result]) -> T_Result: + if self is OffersListRequestShowEnumOrigins.STATUS: + return status() diff --git a/src/merge/resources/ats/resources/offers/types/offers_retrieve_request_expand.py b/src/merge/resources/ats/resources/offers/types/offers_retrieve_request_expand.py deleted file mode 100644 index 38a7c9d1..00000000 --- a/src/merge/resources/ats/resources/offers/types/offers_retrieve_request_expand.py +++ /dev/null @@ -1,25 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class OffersRetrieveRequestExpand(str, enum.Enum): - APPLICATION = "application" - APPLICATION_CREATOR = "application,creator" - CREATOR = "creator" - - def visit( - self, - application: typing.Callable[[], T_Result], - application_creator: typing.Callable[[], T_Result], - creator: typing.Callable[[], T_Result], - ) -> T_Result: - if self is OffersRetrieveRequestExpand.APPLICATION: - return application() - if self is OffersRetrieveRequestExpand.APPLICATION_CREATOR: - return application_creator() - if self is OffersRetrieveRequestExpand.CREATOR: - return creator() diff --git a/src/merge/resources/ats/resources/offers/types/offers_retrieve_request_expand_item.py b/src/merge/resources/ats/resources/offers/types/offers_retrieve_request_expand_item.py new file mode 100644 index 00000000..d65095df --- /dev/null +++ b/src/merge/resources/ats/resources/offers/types/offers_retrieve_request_expand_item.py @@ -0,0 +1,17 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class OffersRetrieveRequestExpandItem(str, enum.Enum): + APPLICATION = "application" + CREATOR = "creator" + + def visit(self, application: typing.Callable[[], T_Result], creator: typing.Callable[[], T_Result]) -> T_Result: + if self is OffersRetrieveRequestExpandItem.APPLICATION: + return application() + if self is OffersRetrieveRequestExpandItem.CREATOR: + return creator() diff --git a/src/merge/resources/ats/resources/offers/types/offers_retrieve_request_remote_fields.py b/src/merge/resources/ats/resources/offers/types/offers_retrieve_request_remote_fields.py new file mode 100644 index 00000000..a2e643d2 --- /dev/null +++ b/src/merge/resources/ats/resources/offers/types/offers_retrieve_request_remote_fields.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class OffersRetrieveRequestRemoteFields(str, enum.Enum): + STATUS = "status" + + def visit(self, status: typing.Callable[[], T_Result]) -> T_Result: + if self is OffersRetrieveRequestRemoteFields.STATUS: + return status() diff --git a/src/merge/resources/ats/resources/offers/types/offers_retrieve_request_show_enum_origins.py b/src/merge/resources/ats/resources/offers/types/offers_retrieve_request_show_enum_origins.py new file mode 100644 index 00000000..fb81f254 --- /dev/null +++ b/src/merge/resources/ats/resources/offers/types/offers_retrieve_request_show_enum_origins.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class OffersRetrieveRequestShowEnumOrigins(str, enum.Enum): + STATUS = "status" + + def visit(self, status: typing.Callable[[], T_Result]) -> T_Result: + if self is OffersRetrieveRequestShowEnumOrigins.STATUS: + return status() diff --git a/src/merge/resources/ats/resources/offices/client.py b/src/merge/resources/ats/resources/offices/client.py index b4892b81..1780bb4b 100644 --- a/src/merge/resources/ats/resources/offices/client.py +++ b/src/merge/resources/ats/resources/offices/client.py @@ -4,6 +4,7 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.office import Office from ...types.paginated_office_list import PaginatedOfficeList @@ -39,7 +40,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedOfficeList: + ) -> SyncPager[Office, PaginatedOfficeList]: """ Returns a list of `Office` objects. @@ -80,41 +81,27 @@ def list( Returns ------- - PaginatedOfficeList + SyncPager[Office, PaginatedOfficeList] Examples -------- - import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ats.offices.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = client.ats.offices.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -127,7 +114,6 @@ def list( remote_id=remote_id, request_options=request_options, ) - return _response.data def retrieve( self, @@ -168,8 +154,6 @@ def retrieve( ) client.ats.offices.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) """ _response = self._raw_client.retrieve( @@ -210,7 +194,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedOfficeList: + ) -> AsyncPager[Office, PaginatedOfficeList]: """ Returns a list of `Office` objects. @@ -251,13 +235,12 @@ async def list( Returns ------- - PaginatedOfficeList + AsyncPager[Office, PaginatedOfficeList] Examples -------- import asyncio - import datetime from merge import AsyncMerge @@ -268,31 +251,20 @@ async def list( async def main() -> None: - await client.ats.offices.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = await client.ats.offices.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -305,7 +277,6 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def retrieve( self, @@ -351,8 +322,6 @@ async def retrieve( async def main() -> None: await client.ats.offices.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) diff --git a/src/merge/resources/ats/resources/offices/raw_client.py b/src/merge/resources/ats/resources/offices/raw_client.py index 826a5f60..2338d3d1 100644 --- a/src/merge/resources/ats/resources/offices/raw_client.py +++ b/src/merge/resources/ats/resources/offices/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.office import Office @@ -33,7 +34,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedOfficeList]: + ) -> SyncPager[Office, PaginatedOfficeList]: """ Returns a list of `Office` objects. @@ -74,7 +75,7 @@ def list( Returns ------- - HttpResponse[PaginatedOfficeList] + SyncPager[Office, PaginatedOfficeList] """ _response = self._client_wrapper.httpx_client.request( @@ -96,14 +97,30 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedOfficeList, construct_type( type_=PaginatedOfficeList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -181,7 +198,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedOfficeList]: + ) -> AsyncPager[Office, PaginatedOfficeList]: """ Returns a list of `Office` objects. @@ -222,7 +239,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedOfficeList] + AsyncPager[Office, PaginatedOfficeList] """ _response = await self._client_wrapper.httpx_client.request( @@ -244,14 +261,33 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedOfficeList, construct_type( type_=PaginatedOfficeList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/ats/resources/reject_reasons/client.py b/src/merge/resources/ats/resources/reject_reasons/client.py index f86f8194..3c7dd499 100644 --- a/src/merge/resources/ats/resources/reject_reasons/client.py +++ b/src/merge/resources/ats/resources/reject_reasons/client.py @@ -4,6 +4,7 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.paginated_reject_reason_list import PaginatedRejectReasonList from ...types.reject_reason import RejectReason @@ -39,7 +40,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRejectReasonList: + ) -> SyncPager[RejectReason, PaginatedRejectReasonList]: """ Returns a list of `RejectReason` objects. @@ -80,41 +81,27 @@ def list( Returns ------- - PaginatedRejectReasonList + SyncPager[RejectReason, PaginatedRejectReasonList] Examples -------- - import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ats.reject_reasons.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = client.ats.reject_reasons.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -127,7 +114,6 @@ def list( remote_id=remote_id, request_options=request_options, ) - return _response.data def retrieve( self, @@ -168,8 +154,6 @@ def retrieve( ) client.ats.reject_reasons.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) """ _response = self._raw_client.retrieve( @@ -210,7 +194,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRejectReasonList: + ) -> AsyncPager[RejectReason, PaginatedRejectReasonList]: """ Returns a list of `RejectReason` objects. @@ -251,13 +235,12 @@ async def list( Returns ------- - PaginatedRejectReasonList + AsyncPager[RejectReason, PaginatedRejectReasonList] Examples -------- import asyncio - import datetime from merge import AsyncMerge @@ -268,31 +251,20 @@ async def list( async def main() -> None: - await client.ats.reject_reasons.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = await client.ats.reject_reasons.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -305,7 +277,6 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def retrieve( self, @@ -351,8 +322,6 @@ async def retrieve( async def main() -> None: await client.ats.reject_reasons.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) diff --git a/src/merge/resources/ats/resources/reject_reasons/raw_client.py b/src/merge/resources/ats/resources/reject_reasons/raw_client.py index b7951868..d2ce28b6 100644 --- a/src/merge/resources/ats/resources/reject_reasons/raw_client.py +++ b/src/merge/resources/ats/resources/reject_reasons/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.paginated_reject_reason_list import PaginatedRejectReasonList @@ -33,7 +34,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedRejectReasonList]: + ) -> SyncPager[RejectReason, PaginatedRejectReasonList]: """ Returns a list of `RejectReason` objects. @@ -74,7 +75,7 @@ def list( Returns ------- - HttpResponse[PaginatedRejectReasonList] + SyncPager[RejectReason, PaginatedRejectReasonList] """ _response = self._client_wrapper.httpx_client.request( @@ -96,14 +97,30 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRejectReasonList, construct_type( type_=PaginatedRejectReasonList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -181,7 +198,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedRejectReasonList]: + ) -> AsyncPager[RejectReason, PaginatedRejectReasonList]: """ Returns a list of `RejectReason` objects. @@ -222,7 +239,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedRejectReasonList] + AsyncPager[RejectReason, PaginatedRejectReasonList] """ _response = await self._client_wrapper.httpx_client.request( @@ -244,14 +261,33 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRejectReasonList, construct_type( type_=PaginatedRejectReasonList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/ats/resources/scorecards/__init__.py b/src/merge/resources/ats/resources/scorecards/__init__.py index a40efa74..9c7853db 100644 --- a/src/merge/resources/ats/resources/scorecards/__init__.py +++ b/src/merge/resources/ats/resources/scorecards/__init__.py @@ -6,10 +6,21 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .types import ScorecardsListRequestExpand, ScorecardsRetrieveRequestExpand + from .types import ( + ScorecardsListRequestExpandItem, + ScorecardsListRequestRemoteFields, + ScorecardsListRequestShowEnumOrigins, + ScorecardsRetrieveRequestExpandItem, + ScorecardsRetrieveRequestRemoteFields, + ScorecardsRetrieveRequestShowEnumOrigins, + ) _dynamic_imports: typing.Dict[str, str] = { - "ScorecardsListRequestExpand": ".types", - "ScorecardsRetrieveRequestExpand": ".types", + "ScorecardsListRequestExpandItem": ".types", + "ScorecardsListRequestRemoteFields": ".types", + "ScorecardsListRequestShowEnumOrigins": ".types", + "ScorecardsRetrieveRequestExpandItem": ".types", + "ScorecardsRetrieveRequestRemoteFields": ".types", + "ScorecardsRetrieveRequestShowEnumOrigins": ".types", } @@ -19,8 +30,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -32,4 +45,11 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["ScorecardsListRequestExpand", "ScorecardsRetrieveRequestExpand"] +__all__ = [ + "ScorecardsListRequestExpandItem", + "ScorecardsListRequestRemoteFields", + "ScorecardsListRequestShowEnumOrigins", + "ScorecardsRetrieveRequestExpandItem", + "ScorecardsRetrieveRequestRemoteFields", + "ScorecardsRetrieveRequestShowEnumOrigins", +] diff --git a/src/merge/resources/ats/resources/scorecards/client.py b/src/merge/resources/ats/resources/scorecards/client.py index 071dddab..0af74a4b 100644 --- a/src/merge/resources/ats/resources/scorecards/client.py +++ b/src/merge/resources/ats/resources/scorecards/client.py @@ -4,12 +4,17 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.paginated_scorecard_list import PaginatedScorecardList from ...types.scorecard import Scorecard from .raw_client import AsyncRawScorecardsClient, RawScorecardsClient -from .types.scorecards_list_request_expand import ScorecardsListRequestExpand -from .types.scorecards_retrieve_request_expand import ScorecardsRetrieveRequestExpand +from .types.scorecards_list_request_expand_item import ScorecardsListRequestExpandItem +from .types.scorecards_list_request_remote_fields import ScorecardsListRequestRemoteFields +from .types.scorecards_list_request_show_enum_origins import ScorecardsListRequestShowEnumOrigins +from .types.scorecards_retrieve_request_expand_item import ScorecardsRetrieveRequestExpandItem +from .types.scorecards_retrieve_request_remote_fields import ScorecardsRetrieveRequestRemoteFields +from .types.scorecards_retrieve_request_show_enum_origins import ScorecardsRetrieveRequestShowEnumOrigins class ScorecardsClient: @@ -34,7 +39,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[ScorecardsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ScorecardsListRequestExpandItem, typing.Sequence[ScorecardsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -43,11 +50,11 @@ def list( modified_after: typing.Optional[dt.datetime] = None, modified_before: typing.Optional[dt.datetime] = None, page_size: typing.Optional[int] = None, - remote_fields: typing.Optional[typing.Literal["overall_recommendation"]] = None, + remote_fields: typing.Optional[ScorecardsListRequestRemoteFields] = None, remote_id: typing.Optional[str] = None, - show_enum_origins: typing.Optional[typing.Literal["overall_recommendation"]] = None, + show_enum_origins: typing.Optional[ScorecardsListRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedScorecardList: + ) -> SyncPager[Scorecard, PaginatedScorecardList]: """ Returns a list of `Scorecard` objects. @@ -65,7 +72,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[ScorecardsListRequestExpand] + expand : typing.Optional[typing.Union[ScorecardsListRequestExpandItem, typing.Sequence[ScorecardsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -92,13 +99,13 @@ def list( page_size : typing.Optional[int] Number of results to return per page. - remote_fields : typing.Optional[typing.Literal["overall_recommendation"]] + remote_fields : typing.Optional[ScorecardsListRequestRemoteFields] Deprecated. Use show_enum_origins. remote_id : typing.Optional[str] The API provider's ID for the given object. - show_enum_origins : typing.Optional[typing.Literal["overall_recommendation"]] + show_enum_origins : typing.Optional[ScorecardsListRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -106,46 +113,27 @@ def list( Returns ------- - PaginatedScorecardList + SyncPager[Scorecard, PaginatedScorecardList] Examples -------- - import datetime - from merge import Merge - from merge.resources.ats.resources.scorecards import ScorecardsListRequestExpand client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ats.scorecards.list( - application_id="application_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = client.ats.scorecards.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=ScorecardsListRequestExpand.APPLICATION, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - interview_id="interview_id", - interviewer_id="interviewer_id", - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( application_id=application_id, created_after=created_after, created_before=created_before, @@ -164,17 +152,18 @@ def list( show_enum_origins=show_enum_origins, request_options=request_options, ) - return _response.data def retrieve( self, id: str, *, - expand: typing.Optional[ScorecardsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ScorecardsRetrieveRequestExpandItem, typing.Sequence[ScorecardsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - remote_fields: typing.Optional[typing.Literal["overall_recommendation"]] = None, - show_enum_origins: typing.Optional[typing.Literal["overall_recommendation"]] = None, + remote_fields: typing.Optional[ScorecardsRetrieveRequestRemoteFields] = None, + show_enum_origins: typing.Optional[ScorecardsRetrieveRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, ) -> Scorecard: """ @@ -184,7 +173,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[ScorecardsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[ScorecardsRetrieveRequestExpandItem, typing.Sequence[ScorecardsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -193,10 +182,10 @@ def retrieve( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - remote_fields : typing.Optional[typing.Literal["overall_recommendation"]] + remote_fields : typing.Optional[ScorecardsRetrieveRequestRemoteFields] Deprecated. Use show_enum_origins. - show_enum_origins : typing.Optional[typing.Literal["overall_recommendation"]] + show_enum_origins : typing.Optional[ScorecardsRetrieveRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -210,9 +199,6 @@ def retrieve( Examples -------- from merge import Merge - from merge.resources.ats.resources.scorecards import ( - ScorecardsRetrieveRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -220,9 +206,6 @@ def retrieve( ) client.ats.scorecards.retrieve( id="id", - expand=ScorecardsRetrieveRequestExpand.APPLICATION, - include_remote_data=True, - include_shell_data=True, ) """ _response = self._raw_client.retrieve( @@ -259,7 +242,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[ScorecardsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ScorecardsListRequestExpandItem, typing.Sequence[ScorecardsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -268,11 +253,11 @@ async def list( modified_after: typing.Optional[dt.datetime] = None, modified_before: typing.Optional[dt.datetime] = None, page_size: typing.Optional[int] = None, - remote_fields: typing.Optional[typing.Literal["overall_recommendation"]] = None, + remote_fields: typing.Optional[ScorecardsListRequestRemoteFields] = None, remote_id: typing.Optional[str] = None, - show_enum_origins: typing.Optional[typing.Literal["overall_recommendation"]] = None, + show_enum_origins: typing.Optional[ScorecardsListRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedScorecardList: + ) -> AsyncPager[Scorecard, PaginatedScorecardList]: """ Returns a list of `Scorecard` objects. @@ -290,7 +275,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[ScorecardsListRequestExpand] + expand : typing.Optional[typing.Union[ScorecardsListRequestExpandItem, typing.Sequence[ScorecardsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -317,13 +302,13 @@ async def list( page_size : typing.Optional[int] Number of results to return per page. - remote_fields : typing.Optional[typing.Literal["overall_recommendation"]] + remote_fields : typing.Optional[ScorecardsListRequestRemoteFields] Deprecated. Use show_enum_origins. remote_id : typing.Optional[str] The API provider's ID for the given object. - show_enum_origins : typing.Optional[typing.Literal["overall_recommendation"]] + show_enum_origins : typing.Optional[ScorecardsListRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -331,16 +316,14 @@ async def list( Returns ------- - PaginatedScorecardList + AsyncPager[Scorecard, PaginatedScorecardList] Examples -------- import asyncio - import datetime from merge import AsyncMerge - from merge.resources.ats.resources.scorecards import ScorecardsListRequestExpand client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -349,35 +332,20 @@ async def list( async def main() -> None: - await client.ats.scorecards.list( - application_id="application_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = await client.ats.scorecards.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=ScorecardsListRequestExpand.APPLICATION, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - interview_id="interview_id", - interviewer_id="interviewer_id", - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( application_id=application_id, created_after=created_after, created_before=created_before, @@ -396,17 +364,18 @@ async def main() -> None: show_enum_origins=show_enum_origins, request_options=request_options, ) - return _response.data async def retrieve( self, id: str, *, - expand: typing.Optional[ScorecardsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ScorecardsRetrieveRequestExpandItem, typing.Sequence[ScorecardsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - remote_fields: typing.Optional[typing.Literal["overall_recommendation"]] = None, - show_enum_origins: typing.Optional[typing.Literal["overall_recommendation"]] = None, + remote_fields: typing.Optional[ScorecardsRetrieveRequestRemoteFields] = None, + show_enum_origins: typing.Optional[ScorecardsRetrieveRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, ) -> Scorecard: """ @@ -416,7 +385,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[ScorecardsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[ScorecardsRetrieveRequestExpandItem, typing.Sequence[ScorecardsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -425,10 +394,10 @@ async def retrieve( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - remote_fields : typing.Optional[typing.Literal["overall_recommendation"]] + remote_fields : typing.Optional[ScorecardsRetrieveRequestRemoteFields] Deprecated. Use show_enum_origins. - show_enum_origins : typing.Optional[typing.Literal["overall_recommendation"]] + show_enum_origins : typing.Optional[ScorecardsRetrieveRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -444,9 +413,6 @@ async def retrieve( import asyncio from merge import AsyncMerge - from merge.resources.ats.resources.scorecards import ( - ScorecardsRetrieveRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -457,9 +423,6 @@ async def retrieve( async def main() -> None: await client.ats.scorecards.retrieve( id="id", - expand=ScorecardsRetrieveRequestExpand.APPLICATION, - include_remote_data=True, - include_shell_data=True, ) diff --git a/src/merge/resources/ats/resources/scorecards/raw_client.py b/src/merge/resources/ats/resources/scorecards/raw_client.py index 0bdb8fa2..528b43a6 100644 --- a/src/merge/resources/ats/resources/scorecards/raw_client.py +++ b/src/merge/resources/ats/resources/scorecards/raw_client.py @@ -9,12 +9,17 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.paginated_scorecard_list import PaginatedScorecardList from ...types.scorecard import Scorecard -from .types.scorecards_list_request_expand import ScorecardsListRequestExpand -from .types.scorecards_retrieve_request_expand import ScorecardsRetrieveRequestExpand +from .types.scorecards_list_request_expand_item import ScorecardsListRequestExpandItem +from .types.scorecards_list_request_remote_fields import ScorecardsListRequestRemoteFields +from .types.scorecards_list_request_show_enum_origins import ScorecardsListRequestShowEnumOrigins +from .types.scorecards_retrieve_request_expand_item import ScorecardsRetrieveRequestExpandItem +from .types.scorecards_retrieve_request_remote_fields import ScorecardsRetrieveRequestRemoteFields +from .types.scorecards_retrieve_request_show_enum_origins import ScorecardsRetrieveRequestShowEnumOrigins class RawScorecardsClient: @@ -28,7 +33,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[ScorecardsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ScorecardsListRequestExpandItem, typing.Sequence[ScorecardsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -37,11 +44,11 @@ def list( modified_after: typing.Optional[dt.datetime] = None, modified_before: typing.Optional[dt.datetime] = None, page_size: typing.Optional[int] = None, - remote_fields: typing.Optional[typing.Literal["overall_recommendation"]] = None, + remote_fields: typing.Optional[ScorecardsListRequestRemoteFields] = None, remote_id: typing.Optional[str] = None, - show_enum_origins: typing.Optional[typing.Literal["overall_recommendation"]] = None, + show_enum_origins: typing.Optional[ScorecardsListRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedScorecardList]: + ) -> SyncPager[Scorecard, PaginatedScorecardList]: """ Returns a list of `Scorecard` objects. @@ -59,7 +66,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[ScorecardsListRequestExpand] + expand : typing.Optional[typing.Union[ScorecardsListRequestExpandItem, typing.Sequence[ScorecardsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -86,13 +93,13 @@ def list( page_size : typing.Optional[int] Number of results to return per page. - remote_fields : typing.Optional[typing.Literal["overall_recommendation"]] + remote_fields : typing.Optional[ScorecardsListRequestRemoteFields] Deprecated. Use show_enum_origins. remote_id : typing.Optional[str] The API provider's ID for the given object. - show_enum_origins : typing.Optional[typing.Literal["overall_recommendation"]] + show_enum_origins : typing.Optional[ScorecardsListRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -100,7 +107,7 @@ def list( Returns ------- - HttpResponse[PaginatedScorecardList] + SyncPager[Scorecard, PaginatedScorecardList] """ _response = self._client_wrapper.httpx_client.request( @@ -128,14 +135,36 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedScorecardList, construct_type( type_=PaginatedScorecardList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + application_id=application_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + interview_id=interview_id, + interviewer_id=interviewer_id, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -145,11 +174,13 @@ def retrieve( self, id: str, *, - expand: typing.Optional[ScorecardsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ScorecardsRetrieveRequestExpandItem, typing.Sequence[ScorecardsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - remote_fields: typing.Optional[typing.Literal["overall_recommendation"]] = None, - show_enum_origins: typing.Optional[typing.Literal["overall_recommendation"]] = None, + remote_fields: typing.Optional[ScorecardsRetrieveRequestRemoteFields] = None, + show_enum_origins: typing.Optional[ScorecardsRetrieveRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[Scorecard]: """ @@ -159,7 +190,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[ScorecardsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[ScorecardsRetrieveRequestExpandItem, typing.Sequence[ScorecardsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -168,10 +199,10 @@ def retrieve( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - remote_fields : typing.Optional[typing.Literal["overall_recommendation"]] + remote_fields : typing.Optional[ScorecardsRetrieveRequestRemoteFields] Deprecated. Use show_enum_origins. - show_enum_origins : typing.Optional[typing.Literal["overall_recommendation"]] + show_enum_origins : typing.Optional[ScorecardsRetrieveRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -221,7 +252,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[ScorecardsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ScorecardsListRequestExpandItem, typing.Sequence[ScorecardsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -230,11 +263,11 @@ async def list( modified_after: typing.Optional[dt.datetime] = None, modified_before: typing.Optional[dt.datetime] = None, page_size: typing.Optional[int] = None, - remote_fields: typing.Optional[typing.Literal["overall_recommendation"]] = None, + remote_fields: typing.Optional[ScorecardsListRequestRemoteFields] = None, remote_id: typing.Optional[str] = None, - show_enum_origins: typing.Optional[typing.Literal["overall_recommendation"]] = None, + show_enum_origins: typing.Optional[ScorecardsListRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedScorecardList]: + ) -> AsyncPager[Scorecard, PaginatedScorecardList]: """ Returns a list of `Scorecard` objects. @@ -252,7 +285,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[ScorecardsListRequestExpand] + expand : typing.Optional[typing.Union[ScorecardsListRequestExpandItem, typing.Sequence[ScorecardsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -279,13 +312,13 @@ async def list( page_size : typing.Optional[int] Number of results to return per page. - remote_fields : typing.Optional[typing.Literal["overall_recommendation"]] + remote_fields : typing.Optional[ScorecardsListRequestRemoteFields] Deprecated. Use show_enum_origins. remote_id : typing.Optional[str] The API provider's ID for the given object. - show_enum_origins : typing.Optional[typing.Literal["overall_recommendation"]] + show_enum_origins : typing.Optional[ScorecardsListRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -293,7 +326,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedScorecardList] + AsyncPager[Scorecard, PaginatedScorecardList] """ _response = await self._client_wrapper.httpx_client.request( @@ -321,14 +354,39 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedScorecardList, construct_type( type_=PaginatedScorecardList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + application_id=application_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + interview_id=interview_id, + interviewer_id=interviewer_id, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -338,11 +396,13 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[ScorecardsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ScorecardsRetrieveRequestExpandItem, typing.Sequence[ScorecardsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - remote_fields: typing.Optional[typing.Literal["overall_recommendation"]] = None, - show_enum_origins: typing.Optional[typing.Literal["overall_recommendation"]] = None, + remote_fields: typing.Optional[ScorecardsRetrieveRequestRemoteFields] = None, + show_enum_origins: typing.Optional[ScorecardsRetrieveRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[Scorecard]: """ @@ -352,7 +412,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[ScorecardsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[ScorecardsRetrieveRequestExpandItem, typing.Sequence[ScorecardsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -361,10 +421,10 @@ async def retrieve( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - remote_fields : typing.Optional[typing.Literal["overall_recommendation"]] + remote_fields : typing.Optional[ScorecardsRetrieveRequestRemoteFields] Deprecated. Use show_enum_origins. - show_enum_origins : typing.Optional[typing.Literal["overall_recommendation"]] + show_enum_origins : typing.Optional[ScorecardsRetrieveRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] diff --git a/src/merge/resources/ats/resources/scorecards/types/__init__.py b/src/merge/resources/ats/resources/scorecards/types/__init__.py index 11221107..7271f9b0 100644 --- a/src/merge/resources/ats/resources/scorecards/types/__init__.py +++ b/src/merge/resources/ats/resources/scorecards/types/__init__.py @@ -6,11 +6,19 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .scorecards_list_request_expand import ScorecardsListRequestExpand - from .scorecards_retrieve_request_expand import ScorecardsRetrieveRequestExpand + from .scorecards_list_request_expand_item import ScorecardsListRequestExpandItem + from .scorecards_list_request_remote_fields import ScorecardsListRequestRemoteFields + from .scorecards_list_request_show_enum_origins import ScorecardsListRequestShowEnumOrigins + from .scorecards_retrieve_request_expand_item import ScorecardsRetrieveRequestExpandItem + from .scorecards_retrieve_request_remote_fields import ScorecardsRetrieveRequestRemoteFields + from .scorecards_retrieve_request_show_enum_origins import ScorecardsRetrieveRequestShowEnumOrigins _dynamic_imports: typing.Dict[str, str] = { - "ScorecardsListRequestExpand": ".scorecards_list_request_expand", - "ScorecardsRetrieveRequestExpand": ".scorecards_retrieve_request_expand", + "ScorecardsListRequestExpandItem": ".scorecards_list_request_expand_item", + "ScorecardsListRequestRemoteFields": ".scorecards_list_request_remote_fields", + "ScorecardsListRequestShowEnumOrigins": ".scorecards_list_request_show_enum_origins", + "ScorecardsRetrieveRequestExpandItem": ".scorecards_retrieve_request_expand_item", + "ScorecardsRetrieveRequestRemoteFields": ".scorecards_retrieve_request_remote_fields", + "ScorecardsRetrieveRequestShowEnumOrigins": ".scorecards_retrieve_request_show_enum_origins", } @@ -20,8 +28,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -33,4 +43,11 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["ScorecardsListRequestExpand", "ScorecardsRetrieveRequestExpand"] +__all__ = [ + "ScorecardsListRequestExpandItem", + "ScorecardsListRequestRemoteFields", + "ScorecardsListRequestShowEnumOrigins", + "ScorecardsRetrieveRequestExpandItem", + "ScorecardsRetrieveRequestRemoteFields", + "ScorecardsRetrieveRequestShowEnumOrigins", +] diff --git a/src/merge/resources/ats/resources/scorecards/types/scorecards_list_request_expand.py b/src/merge/resources/ats/resources/scorecards/types/scorecards_list_request_expand.py deleted file mode 100644 index 0c9598b4..00000000 --- a/src/merge/resources/ats/resources/scorecards/types/scorecards_list_request_expand.py +++ /dev/null @@ -1,41 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class ScorecardsListRequestExpand(str, enum.Enum): - APPLICATION = "application" - APPLICATION_INTERVIEW = "application,interview" - APPLICATION_INTERVIEW_INTERVIEWER = "application,interview,interviewer" - APPLICATION_INTERVIEWER = "application,interviewer" - INTERVIEW = "interview" - INTERVIEW_INTERVIEWER = "interview,interviewer" - INTERVIEWER = "interviewer" - - def visit( - self, - application: typing.Callable[[], T_Result], - application_interview: typing.Callable[[], T_Result], - application_interview_interviewer: typing.Callable[[], T_Result], - application_interviewer: typing.Callable[[], T_Result], - interview: typing.Callable[[], T_Result], - interview_interviewer: typing.Callable[[], T_Result], - interviewer: typing.Callable[[], T_Result], - ) -> T_Result: - if self is ScorecardsListRequestExpand.APPLICATION: - return application() - if self is ScorecardsListRequestExpand.APPLICATION_INTERVIEW: - return application_interview() - if self is ScorecardsListRequestExpand.APPLICATION_INTERVIEW_INTERVIEWER: - return application_interview_interviewer() - if self is ScorecardsListRequestExpand.APPLICATION_INTERVIEWER: - return application_interviewer() - if self is ScorecardsListRequestExpand.INTERVIEW: - return interview() - if self is ScorecardsListRequestExpand.INTERVIEW_INTERVIEWER: - return interview_interviewer() - if self is ScorecardsListRequestExpand.INTERVIEWER: - return interviewer() diff --git a/src/merge/resources/ats/resources/scorecards/types/scorecards_list_request_expand_item.py b/src/merge/resources/ats/resources/scorecards/types/scorecards_list_request_expand_item.py new file mode 100644 index 00000000..2c0dbca4 --- /dev/null +++ b/src/merge/resources/ats/resources/scorecards/types/scorecards_list_request_expand_item.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class ScorecardsListRequestExpandItem(str, enum.Enum): + APPLICATION = "application" + INTERVIEW = "interview" + INTERVIEWER = "interviewer" + + def visit( + self, + application: typing.Callable[[], T_Result], + interview: typing.Callable[[], T_Result], + interviewer: typing.Callable[[], T_Result], + ) -> T_Result: + if self is ScorecardsListRequestExpandItem.APPLICATION: + return application() + if self is ScorecardsListRequestExpandItem.INTERVIEW: + return interview() + if self is ScorecardsListRequestExpandItem.INTERVIEWER: + return interviewer() diff --git a/src/merge/resources/ats/resources/scorecards/types/scorecards_list_request_remote_fields.py b/src/merge/resources/ats/resources/scorecards/types/scorecards_list_request_remote_fields.py new file mode 100644 index 00000000..088b5d2e --- /dev/null +++ b/src/merge/resources/ats/resources/scorecards/types/scorecards_list_request_remote_fields.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class ScorecardsListRequestRemoteFields(str, enum.Enum): + OVERALL_RECOMMENDATION = "overall_recommendation" + + def visit(self, overall_recommendation: typing.Callable[[], T_Result]) -> T_Result: + if self is ScorecardsListRequestRemoteFields.OVERALL_RECOMMENDATION: + return overall_recommendation() diff --git a/src/merge/resources/ats/resources/scorecards/types/scorecards_list_request_show_enum_origins.py b/src/merge/resources/ats/resources/scorecards/types/scorecards_list_request_show_enum_origins.py new file mode 100644 index 00000000..e427802f --- /dev/null +++ b/src/merge/resources/ats/resources/scorecards/types/scorecards_list_request_show_enum_origins.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class ScorecardsListRequestShowEnumOrigins(str, enum.Enum): + OVERALL_RECOMMENDATION = "overall_recommendation" + + def visit(self, overall_recommendation: typing.Callable[[], T_Result]) -> T_Result: + if self is ScorecardsListRequestShowEnumOrigins.OVERALL_RECOMMENDATION: + return overall_recommendation() diff --git a/src/merge/resources/ats/resources/scorecards/types/scorecards_retrieve_request_expand.py b/src/merge/resources/ats/resources/scorecards/types/scorecards_retrieve_request_expand.py deleted file mode 100644 index 980629df..00000000 --- a/src/merge/resources/ats/resources/scorecards/types/scorecards_retrieve_request_expand.py +++ /dev/null @@ -1,41 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class ScorecardsRetrieveRequestExpand(str, enum.Enum): - APPLICATION = "application" - APPLICATION_INTERVIEW = "application,interview" - APPLICATION_INTERVIEW_INTERVIEWER = "application,interview,interviewer" - APPLICATION_INTERVIEWER = "application,interviewer" - INTERVIEW = "interview" - INTERVIEW_INTERVIEWER = "interview,interviewer" - INTERVIEWER = "interviewer" - - def visit( - self, - application: typing.Callable[[], T_Result], - application_interview: typing.Callable[[], T_Result], - application_interview_interviewer: typing.Callable[[], T_Result], - application_interviewer: typing.Callable[[], T_Result], - interview: typing.Callable[[], T_Result], - interview_interviewer: typing.Callable[[], T_Result], - interviewer: typing.Callable[[], T_Result], - ) -> T_Result: - if self is ScorecardsRetrieveRequestExpand.APPLICATION: - return application() - if self is ScorecardsRetrieveRequestExpand.APPLICATION_INTERVIEW: - return application_interview() - if self is ScorecardsRetrieveRequestExpand.APPLICATION_INTERVIEW_INTERVIEWER: - return application_interview_interviewer() - if self is ScorecardsRetrieveRequestExpand.APPLICATION_INTERVIEWER: - return application_interviewer() - if self is ScorecardsRetrieveRequestExpand.INTERVIEW: - return interview() - if self is ScorecardsRetrieveRequestExpand.INTERVIEW_INTERVIEWER: - return interview_interviewer() - if self is ScorecardsRetrieveRequestExpand.INTERVIEWER: - return interviewer() diff --git a/src/merge/resources/ats/resources/scorecards/types/scorecards_retrieve_request_expand_item.py b/src/merge/resources/ats/resources/scorecards/types/scorecards_retrieve_request_expand_item.py new file mode 100644 index 00000000..76a28f62 --- /dev/null +++ b/src/merge/resources/ats/resources/scorecards/types/scorecards_retrieve_request_expand_item.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class ScorecardsRetrieveRequestExpandItem(str, enum.Enum): + APPLICATION = "application" + INTERVIEW = "interview" + INTERVIEWER = "interviewer" + + def visit( + self, + application: typing.Callable[[], T_Result], + interview: typing.Callable[[], T_Result], + interviewer: typing.Callable[[], T_Result], + ) -> T_Result: + if self is ScorecardsRetrieveRequestExpandItem.APPLICATION: + return application() + if self is ScorecardsRetrieveRequestExpandItem.INTERVIEW: + return interview() + if self is ScorecardsRetrieveRequestExpandItem.INTERVIEWER: + return interviewer() diff --git a/src/merge/resources/ats/resources/scorecards/types/scorecards_retrieve_request_remote_fields.py b/src/merge/resources/ats/resources/scorecards/types/scorecards_retrieve_request_remote_fields.py new file mode 100644 index 00000000..d4e29ac8 --- /dev/null +++ b/src/merge/resources/ats/resources/scorecards/types/scorecards_retrieve_request_remote_fields.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class ScorecardsRetrieveRequestRemoteFields(str, enum.Enum): + OVERALL_RECOMMENDATION = "overall_recommendation" + + def visit(self, overall_recommendation: typing.Callable[[], T_Result]) -> T_Result: + if self is ScorecardsRetrieveRequestRemoteFields.OVERALL_RECOMMENDATION: + return overall_recommendation() diff --git a/src/merge/resources/ats/resources/scorecards/types/scorecards_retrieve_request_show_enum_origins.py b/src/merge/resources/ats/resources/scorecards/types/scorecards_retrieve_request_show_enum_origins.py new file mode 100644 index 00000000..5c15711c --- /dev/null +++ b/src/merge/resources/ats/resources/scorecards/types/scorecards_retrieve_request_show_enum_origins.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class ScorecardsRetrieveRequestShowEnumOrigins(str, enum.Enum): + OVERALL_RECOMMENDATION = "overall_recommendation" + + def visit(self, overall_recommendation: typing.Callable[[], T_Result]) -> T_Result: + if self is ScorecardsRetrieveRequestShowEnumOrigins.OVERALL_RECOMMENDATION: + return overall_recommendation() diff --git a/src/merge/resources/ats/resources/sync_status/client.py b/src/merge/resources/ats/resources/sync_status/client.py index ca78911a..cc20a488 100644 --- a/src/merge/resources/ats/resources/sync_status/client.py +++ b/src/merge/resources/ats/resources/sync_status/client.py @@ -3,8 +3,10 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.paginated_sync_status_list import PaginatedSyncStatusList +from ...types.sync_status import SyncStatus from .raw_client import AsyncRawSyncStatusClient, RawSyncStatusClient @@ -29,7 +31,7 @@ def list( cursor: typing.Optional[str] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedSyncStatusList: + ) -> SyncPager[SyncStatus, PaginatedSyncStatusList]: """ Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). @@ -46,7 +48,7 @@ def list( Returns ------- - PaginatedSyncStatusList + SyncPager[SyncStatus, PaginatedSyncStatusList] Examples @@ -57,13 +59,16 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ats.sync_status.list( + response = client.ats.sync_status.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - page_size=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list(cursor=cursor, page_size=page_size, request_options=request_options) - return _response.data + return self._raw_client.list(cursor=cursor, page_size=page_size, request_options=request_options) class AsyncSyncStatusClient: @@ -87,7 +92,7 @@ async def list( cursor: typing.Optional[str] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedSyncStatusList: + ) -> AsyncPager[SyncStatus, PaginatedSyncStatusList]: """ Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). @@ -104,7 +109,7 @@ async def list( Returns ------- - PaginatedSyncStatusList + AsyncPager[SyncStatus, PaginatedSyncStatusList] Examples @@ -120,13 +125,17 @@ async def list( async def main() -> None: - await client.ats.sync_status.list( + response = await client.ats.sync_status.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - page_size=1, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list(cursor=cursor, page_size=page_size, request_options=request_options) - return _response.data + return await self._raw_client.list(cursor=cursor, page_size=page_size, request_options=request_options) diff --git a/src/merge/resources/ats/resources/sync_status/raw_client.py b/src/merge/resources/ats/resources/sync_status/raw_client.py index 857f6dcb..8cafd55a 100644 --- a/src/merge/resources/ats/resources/sync_status/raw_client.py +++ b/src/merge/resources/ats/resources/sync_status/raw_client.py @@ -5,10 +5,11 @@ from .....core.api_error import ApiError from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.paginated_sync_status_list import PaginatedSyncStatusList +from ...types.sync_status import SyncStatus class RawSyncStatusClient: @@ -21,7 +22,7 @@ def list( cursor: typing.Optional[str] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedSyncStatusList]: + ) -> SyncPager[SyncStatus, PaginatedSyncStatusList]: """ Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). @@ -38,7 +39,7 @@ def list( Returns ------- - HttpResponse[PaginatedSyncStatusList] + SyncPager[SyncStatus, PaginatedSyncStatusList] """ _response = self._client_wrapper.httpx_client.request( @@ -52,14 +53,22 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedSyncStatusList, construct_type( type_=PaginatedSyncStatusList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + cursor=_parsed_next, + page_size=page_size, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -76,7 +85,7 @@ async def list( cursor: typing.Optional[str] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedSyncStatusList]: + ) -> AsyncPager[SyncStatus, PaginatedSyncStatusList]: """ Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). @@ -93,7 +102,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedSyncStatusList] + AsyncPager[SyncStatus, PaginatedSyncStatusList] """ _response = await self._client_wrapper.httpx_client.request( @@ -107,14 +116,25 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedSyncStatusList, construct_type( type_=PaginatedSyncStatusList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + cursor=_parsed_next, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/ats/resources/tags/client.py b/src/merge/resources/ats/resources/tags/client.py index 4bd24041..c8ce6874 100644 --- a/src/merge/resources/ats/resources/tags/client.py +++ b/src/merge/resources/ats/resources/tags/client.py @@ -4,8 +4,10 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.paginated_tag_list import PaginatedTagList +from ...types.tag import Tag from .raw_client import AsyncRawTagsClient, RawTagsClient @@ -38,7 +40,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedTagList: + ) -> SyncPager[Tag, PaginatedTagList]: """ Returns a list of `Tag` objects. @@ -79,41 +81,27 @@ def list( Returns ------- - PaginatedTagList + SyncPager[Tag, PaginatedTagList] Examples -------- - import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ats.tags.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = client.ats.tags.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -126,7 +114,6 @@ def list( remote_id=remote_id, request_options=request_options, ) - return _response.data class AsyncTagsClient: @@ -158,7 +145,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedTagList: + ) -> AsyncPager[Tag, PaginatedTagList]: """ Returns a list of `Tag` objects. @@ -199,13 +186,12 @@ async def list( Returns ------- - PaginatedTagList + AsyncPager[Tag, PaginatedTagList] Examples -------- import asyncio - import datetime from merge import AsyncMerge @@ -216,31 +202,20 @@ async def list( async def main() -> None: - await client.ats.tags.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = await client.ats.tags.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -253,4 +228,3 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data diff --git a/src/merge/resources/ats/resources/tags/raw_client.py b/src/merge/resources/ats/resources/tags/raw_client.py index 9137b708..897f29a9 100644 --- a/src/merge/resources/ats/resources/tags/raw_client.py +++ b/src/merge/resources/ats/resources/tags/raw_client.py @@ -7,10 +7,11 @@ from .....core.api_error import ApiError from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.datetime_utils import serialize_datetime -from .....core.http_response import AsyncHttpResponse, HttpResponse +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.paginated_tag_list import PaginatedTagList +from ...types.tag import Tag class RawTagsClient: @@ -31,7 +32,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedTagList]: + ) -> SyncPager[Tag, PaginatedTagList]: """ Returns a list of `Tag` objects. @@ -72,7 +73,7 @@ def list( Returns ------- - HttpResponse[PaginatedTagList] + SyncPager[Tag, PaginatedTagList] """ _response = self._client_wrapper.httpx_client.request( @@ -94,14 +95,30 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedTagList, construct_type( type_=PaginatedTagList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -126,7 +143,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedTagList]: + ) -> AsyncPager[Tag, PaginatedTagList]: """ Returns a list of `Tag` objects. @@ -167,7 +184,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedTagList] + AsyncPager[Tag, PaginatedTagList] """ _response = await self._client_wrapper.httpx_client.request( @@ -189,14 +206,33 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedTagList, construct_type( type_=PaginatedTagList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/ats/resources/users/__init__.py b/src/merge/resources/ats/resources/users/__init__.py index 5cde0202..ba930d2c 100644 --- a/src/merge/resources/ats/resources/users/__init__.py +++ b/src/merge/resources/ats/resources/users/__init__.py @@ -2,3 +2,48 @@ # isort: skip_file +import typing +from importlib import import_module + +if typing.TYPE_CHECKING: + from .types import ( + UsersListRequestRemoteFields, + UsersListRequestShowEnumOrigins, + UsersRetrieveRequestRemoteFields, + UsersRetrieveRequestShowEnumOrigins, + ) +_dynamic_imports: typing.Dict[str, str] = { + "UsersListRequestRemoteFields": ".types", + "UsersListRequestShowEnumOrigins": ".types", + "UsersRetrieveRequestRemoteFields": ".types", + "UsersRetrieveRequestShowEnumOrigins": ".types", +} + + +def __getattr__(attr_name: str) -> typing.Any: + module_name = _dynamic_imports.get(attr_name) + if module_name is None: + raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") + try: + module = import_module(module_name, __package__) + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) + except ImportError as e: + raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e + except AttributeError as e: + raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e + + +def __dir__(): + lazy_attrs = list(_dynamic_imports.keys()) + return sorted(lazy_attrs) + + +__all__ = [ + "UsersListRequestRemoteFields", + "UsersListRequestShowEnumOrigins", + "UsersRetrieveRequestRemoteFields", + "UsersRetrieveRequestShowEnumOrigins", +] diff --git a/src/merge/resources/ats/resources/users/client.py b/src/merge/resources/ats/resources/users/client.py index df8e2b2f..b5e8c172 100644 --- a/src/merge/resources/ats/resources/users/client.py +++ b/src/merge/resources/ats/resources/users/client.py @@ -4,10 +4,15 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.paginated_remote_user_list import PaginatedRemoteUserList from ...types.remote_user import RemoteUser from .raw_client import AsyncRawUsersClient, RawUsersClient +from .types.users_list_request_remote_fields import UsersListRequestRemoteFields +from .types.users_list_request_show_enum_origins import UsersListRequestShowEnumOrigins +from .types.users_retrieve_request_remote_fields import UsersRetrieveRequestRemoteFields +from .types.users_retrieve_request_show_enum_origins import UsersRetrieveRequestShowEnumOrigins class UsersClient: @@ -38,11 +43,11 @@ def list( modified_after: typing.Optional[dt.datetime] = None, modified_before: typing.Optional[dt.datetime] = None, page_size: typing.Optional[int] = None, - remote_fields: typing.Optional[typing.Literal["access_role"]] = None, + remote_fields: typing.Optional[UsersListRequestRemoteFields] = None, remote_id: typing.Optional[str] = None, - show_enum_origins: typing.Optional[typing.Literal["access_role"]] = None, + show_enum_origins: typing.Optional[UsersListRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteUserList: + ) -> SyncPager[RemoteUser, PaginatedRemoteUserList]: """ Returns a list of `RemoteUser` objects. @@ -78,13 +83,13 @@ def list( page_size : typing.Optional[int] Number of results to return per page. - remote_fields : typing.Optional[typing.Literal["access_role"]] + remote_fields : typing.Optional[UsersListRequestRemoteFields] Deprecated. Use show_enum_origins. remote_id : typing.Optional[str] The API provider's ID for the given object. - show_enum_origins : typing.Optional[typing.Literal["access_role"]] + show_enum_origins : typing.Optional[UsersListRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -92,42 +97,27 @@ def list( Returns ------- - PaginatedRemoteUserList + SyncPager[RemoteUser, PaginatedRemoteUserList] Examples -------- - import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ats.users.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = client.ats.users.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - email="email", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -143,7 +133,6 @@ def list( show_enum_origins=show_enum_origins, request_options=request_options, ) - return _response.data def retrieve( self, @@ -151,8 +140,8 @@ def retrieve( *, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - remote_fields: typing.Optional[typing.Literal["access_role"]] = None, - show_enum_origins: typing.Optional[typing.Literal["access_role"]] = None, + remote_fields: typing.Optional[UsersRetrieveRequestRemoteFields] = None, + show_enum_origins: typing.Optional[UsersRetrieveRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, ) -> RemoteUser: """ @@ -168,10 +157,10 @@ def retrieve( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - remote_fields : typing.Optional[typing.Literal["access_role"]] + remote_fields : typing.Optional[UsersRetrieveRequestRemoteFields] Deprecated. Use show_enum_origins. - show_enum_origins : typing.Optional[typing.Literal["access_role"]] + show_enum_origins : typing.Optional[UsersRetrieveRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -192,8 +181,6 @@ def retrieve( ) client.ats.users.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) """ _response = self._raw_client.retrieve( @@ -235,11 +222,11 @@ async def list( modified_after: typing.Optional[dt.datetime] = None, modified_before: typing.Optional[dt.datetime] = None, page_size: typing.Optional[int] = None, - remote_fields: typing.Optional[typing.Literal["access_role"]] = None, + remote_fields: typing.Optional[UsersListRequestRemoteFields] = None, remote_id: typing.Optional[str] = None, - show_enum_origins: typing.Optional[typing.Literal["access_role"]] = None, + show_enum_origins: typing.Optional[UsersListRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteUserList: + ) -> AsyncPager[RemoteUser, PaginatedRemoteUserList]: """ Returns a list of `RemoteUser` objects. @@ -275,13 +262,13 @@ async def list( page_size : typing.Optional[int] Number of results to return per page. - remote_fields : typing.Optional[typing.Literal["access_role"]] + remote_fields : typing.Optional[UsersListRequestRemoteFields] Deprecated. Use show_enum_origins. remote_id : typing.Optional[str] The API provider's ID for the given object. - show_enum_origins : typing.Optional[typing.Literal["access_role"]] + show_enum_origins : typing.Optional[UsersListRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -289,13 +276,12 @@ async def list( Returns ------- - PaginatedRemoteUserList + AsyncPager[RemoteUser, PaginatedRemoteUserList] Examples -------- import asyncio - import datetime from merge import AsyncMerge @@ -306,32 +292,20 @@ async def list( async def main() -> None: - await client.ats.users.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = await client.ats.users.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - email="email", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -347,7 +321,6 @@ async def main() -> None: show_enum_origins=show_enum_origins, request_options=request_options, ) - return _response.data async def retrieve( self, @@ -355,8 +328,8 @@ async def retrieve( *, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - remote_fields: typing.Optional[typing.Literal["access_role"]] = None, - show_enum_origins: typing.Optional[typing.Literal["access_role"]] = None, + remote_fields: typing.Optional[UsersRetrieveRequestRemoteFields] = None, + show_enum_origins: typing.Optional[UsersRetrieveRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, ) -> RemoteUser: """ @@ -372,10 +345,10 @@ async def retrieve( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - remote_fields : typing.Optional[typing.Literal["access_role"]] + remote_fields : typing.Optional[UsersRetrieveRequestRemoteFields] Deprecated. Use show_enum_origins. - show_enum_origins : typing.Optional[typing.Literal["access_role"]] + show_enum_origins : typing.Optional[UsersRetrieveRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -401,8 +374,6 @@ async def retrieve( async def main() -> None: await client.ats.users.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) diff --git a/src/merge/resources/ats/resources/users/raw_client.py b/src/merge/resources/ats/resources/users/raw_client.py index cadd27a9..510fd5de 100644 --- a/src/merge/resources/ats/resources/users/raw_client.py +++ b/src/merge/resources/ats/resources/users/raw_client.py @@ -9,10 +9,15 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.paginated_remote_user_list import PaginatedRemoteUserList from ...types.remote_user import RemoteUser +from .types.users_list_request_remote_fields import UsersListRequestRemoteFields +from .types.users_list_request_show_enum_origins import UsersListRequestShowEnumOrigins +from .types.users_retrieve_request_remote_fields import UsersRetrieveRequestRemoteFields +from .types.users_retrieve_request_show_enum_origins import UsersRetrieveRequestShowEnumOrigins class RawUsersClient: @@ -32,11 +37,11 @@ def list( modified_after: typing.Optional[dt.datetime] = None, modified_before: typing.Optional[dt.datetime] = None, page_size: typing.Optional[int] = None, - remote_fields: typing.Optional[typing.Literal["access_role"]] = None, + remote_fields: typing.Optional[UsersListRequestRemoteFields] = None, remote_id: typing.Optional[str] = None, - show_enum_origins: typing.Optional[typing.Literal["access_role"]] = None, + show_enum_origins: typing.Optional[UsersListRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedRemoteUserList]: + ) -> SyncPager[RemoteUser, PaginatedRemoteUserList]: """ Returns a list of `RemoteUser` objects. @@ -72,13 +77,13 @@ def list( page_size : typing.Optional[int] Number of results to return per page. - remote_fields : typing.Optional[typing.Literal["access_role"]] + remote_fields : typing.Optional[UsersListRequestRemoteFields] Deprecated. Use show_enum_origins. remote_id : typing.Optional[str] The API provider's ID for the given object. - show_enum_origins : typing.Optional[typing.Literal["access_role"]] + show_enum_origins : typing.Optional[UsersListRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -86,7 +91,7 @@ def list( Returns ------- - HttpResponse[PaginatedRemoteUserList] + SyncPager[RemoteUser, PaginatedRemoteUserList] """ _response = self._client_wrapper.httpx_client.request( @@ -111,14 +116,33 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteUserList, construct_type( type_=PaginatedRemoteUserList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + email=email, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -130,8 +154,8 @@ def retrieve( *, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - remote_fields: typing.Optional[typing.Literal["access_role"]] = None, - show_enum_origins: typing.Optional[typing.Literal["access_role"]] = None, + remote_fields: typing.Optional[UsersRetrieveRequestRemoteFields] = None, + show_enum_origins: typing.Optional[UsersRetrieveRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[RemoteUser]: """ @@ -147,10 +171,10 @@ def retrieve( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - remote_fields : typing.Optional[typing.Literal["access_role"]] + remote_fields : typing.Optional[UsersRetrieveRequestRemoteFields] Deprecated. Use show_enum_origins. - show_enum_origins : typing.Optional[typing.Literal["access_role"]] + show_enum_origins : typing.Optional[UsersRetrieveRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -205,11 +229,11 @@ async def list( modified_after: typing.Optional[dt.datetime] = None, modified_before: typing.Optional[dt.datetime] = None, page_size: typing.Optional[int] = None, - remote_fields: typing.Optional[typing.Literal["access_role"]] = None, + remote_fields: typing.Optional[UsersListRequestRemoteFields] = None, remote_id: typing.Optional[str] = None, - show_enum_origins: typing.Optional[typing.Literal["access_role"]] = None, + show_enum_origins: typing.Optional[UsersListRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedRemoteUserList]: + ) -> AsyncPager[RemoteUser, PaginatedRemoteUserList]: """ Returns a list of `RemoteUser` objects. @@ -245,13 +269,13 @@ async def list( page_size : typing.Optional[int] Number of results to return per page. - remote_fields : typing.Optional[typing.Literal["access_role"]] + remote_fields : typing.Optional[UsersListRequestRemoteFields] Deprecated. Use show_enum_origins. remote_id : typing.Optional[str] The API provider's ID for the given object. - show_enum_origins : typing.Optional[typing.Literal["access_role"]] + show_enum_origins : typing.Optional[UsersListRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -259,7 +283,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedRemoteUserList] + AsyncPager[RemoteUser, PaginatedRemoteUserList] """ _response = await self._client_wrapper.httpx_client.request( @@ -284,14 +308,36 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteUserList, construct_type( type_=PaginatedRemoteUserList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + email=email, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -303,8 +349,8 @@ async def retrieve( *, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - remote_fields: typing.Optional[typing.Literal["access_role"]] = None, - show_enum_origins: typing.Optional[typing.Literal["access_role"]] = None, + remote_fields: typing.Optional[UsersRetrieveRequestRemoteFields] = None, + show_enum_origins: typing.Optional[UsersRetrieveRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[RemoteUser]: """ @@ -320,10 +366,10 @@ async def retrieve( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - remote_fields : typing.Optional[typing.Literal["access_role"]] + remote_fields : typing.Optional[UsersRetrieveRequestRemoteFields] Deprecated. Use show_enum_origins. - show_enum_origins : typing.Optional[typing.Literal["access_role"]] + show_enum_origins : typing.Optional[UsersRetrieveRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] diff --git a/src/merge/resources/ats/resources/users/types/__init__.py b/src/merge/resources/ats/resources/users/types/__init__.py new file mode 100644 index 00000000..8a820a97 --- /dev/null +++ b/src/merge/resources/ats/resources/users/types/__init__.py @@ -0,0 +1,47 @@ +# This file was auto-generated by Fern from our API Definition. + +# isort: skip_file + +import typing +from importlib import import_module + +if typing.TYPE_CHECKING: + from .users_list_request_remote_fields import UsersListRequestRemoteFields + from .users_list_request_show_enum_origins import UsersListRequestShowEnumOrigins + from .users_retrieve_request_remote_fields import UsersRetrieveRequestRemoteFields + from .users_retrieve_request_show_enum_origins import UsersRetrieveRequestShowEnumOrigins +_dynamic_imports: typing.Dict[str, str] = { + "UsersListRequestRemoteFields": ".users_list_request_remote_fields", + "UsersListRequestShowEnumOrigins": ".users_list_request_show_enum_origins", + "UsersRetrieveRequestRemoteFields": ".users_retrieve_request_remote_fields", + "UsersRetrieveRequestShowEnumOrigins": ".users_retrieve_request_show_enum_origins", +} + + +def __getattr__(attr_name: str) -> typing.Any: + module_name = _dynamic_imports.get(attr_name) + if module_name is None: + raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") + try: + module = import_module(module_name, __package__) + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) + except ImportError as e: + raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e + except AttributeError as e: + raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e + + +def __dir__(): + lazy_attrs = list(_dynamic_imports.keys()) + return sorted(lazy_attrs) + + +__all__ = [ + "UsersListRequestRemoteFields", + "UsersListRequestShowEnumOrigins", + "UsersRetrieveRequestRemoteFields", + "UsersRetrieveRequestShowEnumOrigins", +] diff --git a/src/merge/resources/ats/resources/users/types/users_list_request_remote_fields.py b/src/merge/resources/ats/resources/users/types/users_list_request_remote_fields.py new file mode 100644 index 00000000..7af53c0f --- /dev/null +++ b/src/merge/resources/ats/resources/users/types/users_list_request_remote_fields.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class UsersListRequestRemoteFields(str, enum.Enum): + ACCESS_ROLE = "access_role" + + def visit(self, access_role: typing.Callable[[], T_Result]) -> T_Result: + if self is UsersListRequestRemoteFields.ACCESS_ROLE: + return access_role() diff --git a/src/merge/resources/ats/resources/users/types/users_list_request_show_enum_origins.py b/src/merge/resources/ats/resources/users/types/users_list_request_show_enum_origins.py new file mode 100644 index 00000000..f5b37f10 --- /dev/null +++ b/src/merge/resources/ats/resources/users/types/users_list_request_show_enum_origins.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class UsersListRequestShowEnumOrigins(str, enum.Enum): + ACCESS_ROLE = "access_role" + + def visit(self, access_role: typing.Callable[[], T_Result]) -> T_Result: + if self is UsersListRequestShowEnumOrigins.ACCESS_ROLE: + return access_role() diff --git a/src/merge/resources/ats/resources/users/types/users_retrieve_request_remote_fields.py b/src/merge/resources/ats/resources/users/types/users_retrieve_request_remote_fields.py new file mode 100644 index 00000000..d95e28ce --- /dev/null +++ b/src/merge/resources/ats/resources/users/types/users_retrieve_request_remote_fields.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class UsersRetrieveRequestRemoteFields(str, enum.Enum): + ACCESS_ROLE = "access_role" + + def visit(self, access_role: typing.Callable[[], T_Result]) -> T_Result: + if self is UsersRetrieveRequestRemoteFields.ACCESS_ROLE: + return access_role() diff --git a/src/merge/resources/ats/resources/users/types/users_retrieve_request_show_enum_origins.py b/src/merge/resources/ats/resources/users/types/users_retrieve_request_show_enum_origins.py new file mode 100644 index 00000000..d1b660ed --- /dev/null +++ b/src/merge/resources/ats/resources/users/types/users_retrieve_request_show_enum_origins.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class UsersRetrieveRequestShowEnumOrigins(str, enum.Enum): + ACCESS_ROLE = "access_role" + + def visit(self, access_role: typing.Callable[[], T_Result]) -> T_Result: + if self is UsersRetrieveRequestShowEnumOrigins.ACCESS_ROLE: + return access_role() diff --git a/src/merge/resources/ats/types/__init__.py b/src/merge/resources/ats/types/__init__.py index 72d3bd86..64f32daf 100644 --- a/src/merge/resources/ats/types/__init__.py +++ b/src/merge/resources/ats/types/__init__.py @@ -19,7 +19,6 @@ from .activity import Activity from .activity_activity_type import ActivityActivityType from .activity_request import ActivityRequest - from .activity_request_activity_type import ActivityRequestActivityType from .activity_request_user import ActivityRequestUser from .activity_request_visibility import ActivityRequestVisibility from .activity_response import ActivityResponse @@ -99,6 +98,8 @@ from .field_permission_deserializer import FieldPermissionDeserializer from .field_permission_deserializer_request import FieldPermissionDeserializerRequest from .gender_enum import GenderEnum + from .ignore_common_model_request import IgnoreCommonModelRequest + from .ignore_common_model_request_reason import IgnoreCommonModelRequestReason from .individual_common_model_scope_deserializer import IndividualCommonModelScopeDeserializer from .individual_common_model_scope_deserializer_request import IndividualCommonModelScopeDeserializerRequest from .issue import Issue @@ -210,7 +211,7 @@ from .screening_question_type import ScreeningQuestionType from .screening_question_type_enum import ScreeningQuestionTypeEnum from .selective_sync_configurations_usage_enum import SelectiveSyncConfigurationsUsageEnum - from .status_fd_5_enum import StatusFd5Enum + from .status_fd5enum import StatusFd5Enum from .sync_status import SyncStatus from .sync_status_last_sync_result import SyncStatusLastSyncResult from .sync_status_status import SyncStatusStatus @@ -239,7 +240,6 @@ "Activity": ".activity", "ActivityActivityType": ".activity_activity_type", "ActivityRequest": ".activity_request", - "ActivityRequestActivityType": ".activity_request_activity_type", "ActivityRequestUser": ".activity_request_user", "ActivityRequestVisibility": ".activity_request_visibility", "ActivityResponse": ".activity_response", @@ -317,6 +317,8 @@ "FieldPermissionDeserializer": ".field_permission_deserializer", "FieldPermissionDeserializerRequest": ".field_permission_deserializer_request", "GenderEnum": ".gender_enum", + "IgnoreCommonModelRequest": ".ignore_common_model_request", + "IgnoreCommonModelRequestReason": ".ignore_common_model_request_reason", "IndividualCommonModelScopeDeserializer": ".individual_common_model_scope_deserializer", "IndividualCommonModelScopeDeserializerRequest": ".individual_common_model_scope_deserializer_request", "Issue": ".issue", @@ -428,7 +430,7 @@ "ScreeningQuestionType": ".screening_question_type", "ScreeningQuestionTypeEnum": ".screening_question_type_enum", "SelectiveSyncConfigurationsUsageEnum": ".selective_sync_configurations_usage_enum", - "StatusFd5Enum": ".status_fd_5_enum", + "StatusFd5Enum": ".status_fd5enum", "SyncStatus": ".sync_status", "SyncStatusLastSyncResult": ".sync_status_last_sync_result", "SyncStatusStatus": ".sync_status_status", @@ -452,8 +454,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -479,7 +483,6 @@ def __dir__(): "Activity", "ActivityActivityType", "ActivityRequest", - "ActivityRequestActivityType", "ActivityRequestUser", "ActivityRequestVisibility", "ActivityResponse", @@ -557,6 +560,8 @@ def __dir__(): "FieldPermissionDeserializer", "FieldPermissionDeserializerRequest", "GenderEnum", + "IgnoreCommonModelRequest", + "IgnoreCommonModelRequestReason", "IndividualCommonModelScopeDeserializer", "IndividualCommonModelScopeDeserializerRequest", "Issue", diff --git a/src/merge/resources/ats/types/account_details_and_actions.py b/src/merge/resources/ats/types/account_details_and_actions.py index 93c874ed..a16114f6 100644 --- a/src/merge/resources/ats/types/account_details_and_actions.py +++ b/src/merge/resources/ats/types/account_details_and_actions.py @@ -42,7 +42,6 @@ class AccountDetailsAndActions(UncheckedBaseModel): integration: typing.Optional[AccountDetailsAndActionsIntegration] = None account_type: str completed_at: dt.datetime - integration_specific_fields: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/ats/types/account_integration.py b/src/merge/resources/ats/types/account_integration.py index ef8b260d..7bc872ca 100644 --- a/src/merge/resources/ats/types/account_integration.py +++ b/src/merge/resources/ats/types/account_integration.py @@ -40,9 +40,7 @@ class AccountIntegration(UncheckedBaseModel): """ slug: typing.Optional[str] = None - api_endpoints_to_documentation_urls: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = ( - pydantic.Field(default=None) - ) + api_endpoints_to_documentation_urls: typing.Optional[typing.Dict[str, typing.Any]] = pydantic.Field(default=None) """ Mapping of API endpoints to documentation urls for support. Example: {'GET': [['/common-model-scopes', 'https://docs.merge.dev/accounting/common-model-scopes/#common_model_scopes_retrieve'],['/common-model-actions', 'https://docs.merge.dev/accounting/common-model-actions/#common_model_actions_retrieve']], 'POST': []} """ @@ -52,7 +50,7 @@ class AccountIntegration(UncheckedBaseModel): Setup guide URL for third party webhook creation. Exposed in Merge Docs. """ - category_beta_status: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = pydantic.Field(default=None) + category_beta_status: typing.Optional[typing.Dict[str, typing.Any]] = pydantic.Field(default=None) """ Category or categories this integration is in beta status for. """ diff --git a/src/merge/resources/ats/types/activity.py b/src/merge/resources/ats/types/activity.py index 3a794363..06e9b9a5 100644 --- a/src/merge/resources/ats/types/activity.py +++ b/src/merge/resources/ats/types/activity.py @@ -81,7 +81,7 @@ class Activity(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/ats/types/activity_request.py b/src/merge/resources/ats/types/activity_request.py index 5a6a4f30..b118a3ad 100644 --- a/src/merge/resources/ats/types/activity_request.py +++ b/src/merge/resources/ats/types/activity_request.py @@ -5,9 +5,9 @@ import pydantic from ....core.pydantic_utilities import IS_PYDANTIC_V2 from ....core.unchecked_base_model import UncheckedBaseModel -from .activity_request_activity_type import ActivityRequestActivityType from .activity_request_user import ActivityRequestUser from .activity_request_visibility import ActivityRequestVisibility +from .activity_type_enum import ActivityTypeEnum class ActivityRequest(UncheckedBaseModel): @@ -24,7 +24,7 @@ class ActivityRequest(UncheckedBaseModel): The user that performed the action. """ - activity_type: typing.Optional[ActivityRequestActivityType] = pydantic.Field(default=None) + activity_type: typing.Optional[ActivityTypeEnum] = pydantic.Field(default=None) """ The activity's type. @@ -53,8 +53,8 @@ class ActivityRequest(UncheckedBaseModel): """ candidate: typing.Optional[str] = None - integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + integration_params: typing.Optional[typing.Dict[str, typing.Any]] = None + linked_account_params: typing.Optional[typing.Dict[str, typing.Any]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/ats/types/activity_request_activity_type.py b/src/merge/resources/ats/types/activity_request_activity_type.py deleted file mode 100644 index f4236ee0..00000000 --- a/src/merge/resources/ats/types/activity_request_activity_type.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .activity_type_enum import ActivityTypeEnum - -ActivityRequestActivityType = typing.Union[ActivityTypeEnum, str] diff --git a/src/merge/resources/ats/types/advanced_metadata.py b/src/merge/resources/ats/types/advanced_metadata.py index 60b5d072..aef64bb3 100644 --- a/src/merge/resources/ats/types/advanced_metadata.py +++ b/src/merge/resources/ats/types/advanced_metadata.py @@ -13,7 +13,7 @@ class AdvancedMetadata(UncheckedBaseModel): description: typing.Optional[str] = None is_required: typing.Optional[bool] = None is_custom: typing.Optional[bool] = None - field_choices: typing.Optional[typing.List[typing.Optional[typing.Any]]] = None + field_choices: typing.Optional[typing.List[typing.Any]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/ats/types/application.py b/src/merge/resources/ats/types/application.py index 8aad0835..3bdc891a 100644 --- a/src/merge/resources/ats/types/application.py +++ b/src/merge/resources/ats/types/application.py @@ -89,7 +89,7 @@ class Application(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None if IS_PYDANTIC_V2: @@ -102,9 +102,9 @@ class Config: extra = pydantic.Extra.allow -from .candidate import Candidate # noqa: E402, F401, I001 -from .offer import Offer # noqa: E402, F401, I001 -from .application_candidate import ApplicationCandidate # noqa: E402, F401, I001 -from .application_offers_item import ApplicationOffersItem # noqa: E402, F401, I001 +from .candidate import Candidate # noqa: E402, I001 +from .offer import Offer # noqa: E402, I001 +from .application_candidate import ApplicationCandidate # noqa: E402, I001 +from .application_offers_item import ApplicationOffersItem # noqa: E402, I001 -update_forward_refs(Application) +update_forward_refs(Application, Offer=Offer, Candidate=Candidate) diff --git a/src/merge/resources/ats/types/application_request.py b/src/merge/resources/ats/types/application_request.py index ca0a600e..5eaa0293 100644 --- a/src/merge/resources/ats/types/application_request.py +++ b/src/merge/resources/ats/types/application_request.py @@ -70,8 +70,8 @@ class ApplicationRequest(UncheckedBaseModel): """ remote_template_id: typing.Optional[str] = None - integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + integration_params: typing.Optional[typing.Dict[str, typing.Any]] = None + linked_account_params: typing.Optional[typing.Dict[str, typing.Any]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 @@ -83,8 +83,4 @@ class Config: extra = pydantic.Extra.allow -from .application import Application # noqa: E402, F401, I001 -from .candidate import Candidate # noqa: E402, F401, I001 -from .offer import Offer # noqa: E402, F401, I001 - update_forward_refs(ApplicationRequest) diff --git a/src/merge/resources/ats/types/application_response.py b/src/merge/resources/ats/types/application_response.py index 8f5121a7..43bd4d5c 100644 --- a/src/merge/resources/ats/types/application_response.py +++ b/src/merge/resources/ats/types/application_response.py @@ -28,8 +28,6 @@ class Config: extra = pydantic.Extra.allow -from .application import Application # noqa: E402, F401, I001 -from .candidate import Candidate # noqa: E402, F401, I001 -from .offer import Offer # noqa: E402, F401, I001 +from .application import Application # noqa: E402, I001 update_forward_refs(ApplicationResponse) diff --git a/src/merge/resources/ats/types/attachment.py b/src/merge/resources/ats/types/attachment.py index 8e988378..e6d5bc98 100644 --- a/src/merge/resources/ats/types/attachment.py +++ b/src/merge/resources/ats/types/attachment.py @@ -65,7 +65,7 @@ class Attachment(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/ats/types/attachment_request.py b/src/merge/resources/ats/types/attachment_request.py index 55ebdfff..024d0d10 100644 --- a/src/merge/resources/ats/types/attachment_request.py +++ b/src/merge/resources/ats/types/attachment_request.py @@ -42,8 +42,8 @@ class AttachmentRequest(UncheckedBaseModel): * `OTHER` - OTHER """ - integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + integration_params: typing.Optional[typing.Dict[str, typing.Any]] = None + linked_account_params: typing.Optional[typing.Dict[str, typing.Any]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/ats/types/candidate.py b/src/merge/resources/ats/types/candidate.py index 38f223dc..bfed5026 100644 --- a/src/merge/resources/ats/types/candidate.py +++ b/src/merge/resources/ats/types/candidate.py @@ -115,7 +115,7 @@ class Candidate(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None if IS_PYDANTIC_V2: @@ -128,8 +128,7 @@ class Config: extra = pydantic.Extra.allow -from .application import Application # noqa: E402, F401, I001 -from .offer import Offer # noqa: E402, F401, I001 -from .candidate_applications_item import CandidateApplicationsItem # noqa: E402, F401, I001 +from .application import Application # noqa: E402, I001 +from .candidate_applications_item import CandidateApplicationsItem # noqa: E402, I001 -update_forward_refs(Candidate) +update_forward_refs(Candidate, Application=Application) diff --git a/src/merge/resources/ats/types/candidate_request.py b/src/merge/resources/ats/types/candidate_request.py index bc8cf926..91df6664 100644 --- a/src/merge/resources/ats/types/candidate_request.py +++ b/src/merge/resources/ats/types/candidate_request.py @@ -87,8 +87,8 @@ class CandidateRequest(UncheckedBaseModel): """ remote_template_id: typing.Optional[str] = None - integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + integration_params: typing.Optional[typing.Dict[str, typing.Any]] = None + linked_account_params: typing.Optional[typing.Dict[str, typing.Any]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 @@ -100,8 +100,4 @@ class Config: extra = pydantic.Extra.allow -from .application import Application # noqa: E402, F401, I001 -from .candidate import Candidate # noqa: E402, F401, I001 -from .offer import Offer # noqa: E402, F401, I001 - update_forward_refs(CandidateRequest) diff --git a/src/merge/resources/ats/types/candidate_response.py b/src/merge/resources/ats/types/candidate_response.py index 56292f9f..75f5b0b0 100644 --- a/src/merge/resources/ats/types/candidate_response.py +++ b/src/merge/resources/ats/types/candidate_response.py @@ -28,8 +28,6 @@ class Config: extra = pydantic.Extra.allow -from .application import Application # noqa: E402, F401, I001 -from .candidate import Candidate # noqa: E402, F401, I001 -from .offer import Offer # noqa: E402, F401, I001 +from .candidate import Candidate # noqa: E402, I001 update_forward_refs(CandidateResponse) diff --git a/src/merge/resources/ats/types/data_passthrough_request.py b/src/merge/resources/ats/types/data_passthrough_request.py index c9f0a799..df3af029 100644 --- a/src/merge/resources/ats/types/data_passthrough_request.py +++ b/src/merge/resources/ats/types/data_passthrough_request.py @@ -41,7 +41,7 @@ class DataPassthroughRequest(UncheckedBaseModel): Pass an array of `MultipartFormField` objects in here instead of using the `data` param if `request_format` is set to `MULTIPART`. """ - headers: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = pydantic.Field(default=None) + headers: typing.Optional[typing.Dict[str, typing.Any]] = pydantic.Field(default=None) """ The headers to use for the request (Merge will handle the account's authorization headers). `Content-Type` header is required for passthrough. Choose content type corresponding to expected format of receiving server. """ diff --git a/src/merge/resources/ats/types/department.py b/src/merge/resources/ats/types/department.py index 7098c001..0eac0de1 100644 --- a/src/merge/resources/ats/types/department.py +++ b/src/merge/resources/ats/types/department.py @@ -44,7 +44,7 @@ class Department(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/ats/types/eeoc.py b/src/merge/resources/ats/types/eeoc.py index 8091638f..dbf8abce 100644 --- a/src/merge/resources/ats/types/eeoc.py +++ b/src/merge/resources/ats/types/eeoc.py @@ -99,7 +99,7 @@ class Eeoc(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None if IS_PYDANTIC_V2: @@ -112,8 +112,4 @@ class Config: extra = pydantic.Extra.allow -from .application import Application # noqa: E402, F401, I001 -from .candidate import Candidate # noqa: E402, F401, I001 -from .offer import Offer # noqa: E402, F401, I001 - update_forward_refs(Eeoc) diff --git a/src/merge/resources/ats/types/email_address_request.py b/src/merge/resources/ats/types/email_address_request.py index 7bd79d2c..2a000845 100644 --- a/src/merge/resources/ats/types/email_address_request.py +++ b/src/merge/resources/ats/types/email_address_request.py @@ -31,8 +31,8 @@ class EmailAddressRequest(UncheckedBaseModel): * `OTHER` - OTHER """ - integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + integration_params: typing.Optional[typing.Dict[str, typing.Any]] = None + linked_account_params: typing.Optional[typing.Dict[str, typing.Any]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/ats/types/encoding_enum.py b/src/merge/resources/ats/types/encoding_enum.py index 7454647e..ceb8c474 100644 --- a/src/merge/resources/ats/types/encoding_enum.py +++ b/src/merge/resources/ats/types/encoding_enum.py @@ -14,18 +14,18 @@ class EncodingEnum(str, enum.Enum): """ RAW = "RAW" - BASE_64 = "BASE64" - GZIP_BASE_64 = "GZIP_BASE64" + BASE64 = "BASE64" + GZIP_BASE64 = "GZIP_BASE64" def visit( self, raw: typing.Callable[[], T_Result], - base_64: typing.Callable[[], T_Result], - gzip_base_64: typing.Callable[[], T_Result], + base64: typing.Callable[[], T_Result], + gzip_base64: typing.Callable[[], T_Result], ) -> T_Result: if self is EncodingEnum.RAW: return raw() - if self is EncodingEnum.BASE_64: - return base_64() - if self is EncodingEnum.GZIP_BASE_64: - return gzip_base_64() + if self is EncodingEnum.BASE64: + return base64() + if self is EncodingEnum.GZIP_BASE64: + return gzip_base64() diff --git a/src/merge/resources/ats/types/field_mapping_api_instance_remote_field.py b/src/merge/resources/ats/types/field_mapping_api_instance_remote_field.py index 578a2b10..f3d5a8cb 100644 --- a/src/merge/resources/ats/types/field_mapping_api_instance_remote_field.py +++ b/src/merge/resources/ats/types/field_mapping_api_instance_remote_field.py @@ -12,9 +12,7 @@ class FieldMappingApiInstanceRemoteField(UncheckedBaseModel): remote_key_name: typing.Optional[str] = None - schema_: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = pydantic.Field( - alias="schema", default=None - ) + schema_: typing.Optional[typing.Dict[str, typing.Any]] = pydantic.Field(alias="schema", default=None) remote_endpoint_info: FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo if IS_PYDANTIC_V2: diff --git a/src/merge/resources/ats/types/field_permission_deserializer.py b/src/merge/resources/ats/types/field_permission_deserializer.py index 1d71ae04..407ed547 100644 --- a/src/merge/resources/ats/types/field_permission_deserializer.py +++ b/src/merge/resources/ats/types/field_permission_deserializer.py @@ -8,8 +8,8 @@ class FieldPermissionDeserializer(UncheckedBaseModel): - enabled_fields: typing.Optional[typing.List[typing.Optional[typing.Any]]] = None - disabled_fields: typing.Optional[typing.List[typing.Optional[typing.Any]]] = None + enabled_fields: typing.Optional[typing.List[typing.Any]] = None + disabled_fields: typing.Optional[typing.List[typing.Any]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/ats/types/field_permission_deserializer_request.py b/src/merge/resources/ats/types/field_permission_deserializer_request.py index a4113b46..6680c7d2 100644 --- a/src/merge/resources/ats/types/field_permission_deserializer_request.py +++ b/src/merge/resources/ats/types/field_permission_deserializer_request.py @@ -8,8 +8,8 @@ class FieldPermissionDeserializerRequest(UncheckedBaseModel): - enabled_fields: typing.Optional[typing.List[typing.Optional[typing.Any]]] = None - disabled_fields: typing.Optional[typing.List[typing.Optional[typing.Any]]] = None + enabled_fields: typing.Optional[typing.List[typing.Any]] = None + disabled_fields: typing.Optional[typing.List[typing.Any]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/ats/types/ignore_common_model_request.py b/src/merge/resources/ats/types/ignore_common_model_request.py new file mode 100644 index 00000000..5ecb9957 --- /dev/null +++ b/src/merge/resources/ats/types/ignore_common_model_request.py @@ -0,0 +1,22 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .ignore_common_model_request_reason import IgnoreCommonModelRequestReason + + +class IgnoreCommonModelRequest(UncheckedBaseModel): + reason: IgnoreCommonModelRequestReason + message: typing.Optional[str] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/merge/resources/ats/types/ignore_common_model_request_reason.py b/src/merge/resources/ats/types/ignore_common_model_request_reason.py new file mode 100644 index 00000000..114822b2 --- /dev/null +++ b/src/merge/resources/ats/types/ignore_common_model_request_reason.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .reason_enum import ReasonEnum + +IgnoreCommonModelRequestReason = typing.Union[ReasonEnum, str] diff --git a/src/merge/resources/ats/types/issue.py b/src/merge/resources/ats/types/issue.py index df31be95..5d37505d 100644 --- a/src/merge/resources/ats/types/issue.py +++ b/src/merge/resources/ats/types/issue.py @@ -20,7 +20,7 @@ class Issue(UncheckedBaseModel): """ error_description: str - end_user: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + end_user: typing.Optional[typing.Dict[str, typing.Any]] = None first_incident_time: typing.Optional[dt.datetime] = None last_incident_time: typing.Optional[dt.datetime] = None is_muted: typing.Optional[bool] = None diff --git a/src/merge/resources/ats/types/job.py b/src/merge/resources/ats/types/job.py index 81413e39..56591720 100644 --- a/src/merge/resources/ats/types/job.py +++ b/src/merge/resources/ats/types/job.py @@ -122,7 +122,7 @@ class Job(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/ats/types/job_interview_stage.py b/src/merge/resources/ats/types/job_interview_stage.py index 6925d1e3..43187083 100644 --- a/src/merge/resources/ats/types/job_interview_stage.py +++ b/src/merge/resources/ats/types/job_interview_stage.py @@ -55,7 +55,7 @@ class JobInterviewStage(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/ats/types/job_posting.py b/src/merge/resources/ats/types/job_posting.py index ec539320..ffd2d207 100644 --- a/src/merge/resources/ats/types/job_posting.py +++ b/src/merge/resources/ats/types/job_posting.py @@ -88,7 +88,7 @@ class JobPosting(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/ats/types/meta_response.py b/src/merge/resources/ats/types/meta_response.py index caa2c831..0da37619 100644 --- a/src/merge/resources/ats/types/meta_response.py +++ b/src/merge/resources/ats/types/meta_response.py @@ -9,8 +9,8 @@ class MetaResponse(UncheckedBaseModel): - request_schema: typing.Dict[str, typing.Optional[typing.Any]] - remote_field_classes: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + request_schema: typing.Dict[str, typing.Any] + remote_field_classes: typing.Optional[typing.Dict[str, typing.Any]] = None status: typing.Optional[LinkedAccountStatus] = None has_conditional_params: bool has_required_linked_account_params: bool diff --git a/src/merge/resources/ats/types/offer.py b/src/merge/resources/ats/types/offer.py index d0046de7..4ab0152e 100644 --- a/src/merge/resources/ats/types/offer.py +++ b/src/merge/resources/ats/types/offer.py @@ -88,7 +88,7 @@ class Offer(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None if IS_PYDANTIC_V2: @@ -101,8 +101,7 @@ class Config: extra = pydantic.Extra.allow -from .application import Application # noqa: E402, F401, I001 -from .candidate import Candidate # noqa: E402, F401, I001 -from .offer_application import OfferApplication # noqa: E402, F401, I001 +from .application import Application # noqa: E402, I001 +from .offer_application import OfferApplication # noqa: E402, I001 -update_forward_refs(Offer) +update_forward_refs(Offer, Application=Application) diff --git a/src/merge/resources/ats/types/office.py b/src/merge/resources/ats/types/office.py index 120980d2..636b5293 100644 --- a/src/merge/resources/ats/types/office.py +++ b/src/merge/resources/ats/types/office.py @@ -49,7 +49,7 @@ class Office(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/ats/types/paginated_application_list.py b/src/merge/resources/ats/types/paginated_application_list.py index bf13e66f..af33b125 100644 --- a/src/merge/resources/ats/types/paginated_application_list.py +++ b/src/merge/resources/ats/types/paginated_application_list.py @@ -24,8 +24,6 @@ class Config: extra = pydantic.Extra.allow -from .application import Application # noqa: E402, F401, I001 -from .candidate import Candidate # noqa: E402, F401, I001 -from .offer import Offer # noqa: E402, F401, I001 +from .application import Application # noqa: E402, I001 update_forward_refs(PaginatedApplicationList) diff --git a/src/merge/resources/ats/types/paginated_candidate_list.py b/src/merge/resources/ats/types/paginated_candidate_list.py index a46dff6b..dfb45cc5 100644 --- a/src/merge/resources/ats/types/paginated_candidate_list.py +++ b/src/merge/resources/ats/types/paginated_candidate_list.py @@ -24,8 +24,6 @@ class Config: extra = pydantic.Extra.allow -from .application import Application # noqa: E402, F401, I001 -from .candidate import Candidate # noqa: E402, F401, I001 -from .offer import Offer # noqa: E402, F401, I001 +from .candidate import Candidate # noqa: E402, I001 update_forward_refs(PaginatedCandidateList) diff --git a/src/merge/resources/ats/types/paginated_eeoc_list.py b/src/merge/resources/ats/types/paginated_eeoc_list.py index f797f81f..f64b7ec9 100644 --- a/src/merge/resources/ats/types/paginated_eeoc_list.py +++ b/src/merge/resources/ats/types/paginated_eeoc_list.py @@ -25,8 +25,4 @@ class Config: extra = pydantic.Extra.allow -from .application import Application # noqa: E402, F401, I001 -from .candidate import Candidate # noqa: E402, F401, I001 -from .offer import Offer # noqa: E402, F401, I001 - update_forward_refs(PaginatedEeocList) diff --git a/src/merge/resources/ats/types/paginated_offer_list.py b/src/merge/resources/ats/types/paginated_offer_list.py index 1a4932a6..8b42fd4e 100644 --- a/src/merge/resources/ats/types/paginated_offer_list.py +++ b/src/merge/resources/ats/types/paginated_offer_list.py @@ -24,8 +24,6 @@ class Config: extra = pydantic.Extra.allow -from .application import Application # noqa: E402, F401, I001 -from .candidate import Candidate # noqa: E402, F401, I001 -from .offer import Offer # noqa: E402, F401, I001 +from .offer import Offer # noqa: E402, I001 update_forward_refs(PaginatedOfferList) diff --git a/src/merge/resources/ats/types/paginated_scheduled_interview_list.py b/src/merge/resources/ats/types/paginated_scheduled_interview_list.py index 6aca0c2b..d8951726 100644 --- a/src/merge/resources/ats/types/paginated_scheduled_interview_list.py +++ b/src/merge/resources/ats/types/paginated_scheduled_interview_list.py @@ -25,8 +25,4 @@ class Config: extra = pydantic.Extra.allow -from .application import Application # noqa: E402, F401, I001 -from .candidate import Candidate # noqa: E402, F401, I001 -from .offer import Offer # noqa: E402, F401, I001 - update_forward_refs(PaginatedScheduledInterviewList) diff --git a/src/merge/resources/ats/types/paginated_scorecard_list.py b/src/merge/resources/ats/types/paginated_scorecard_list.py index f42a495c..004784b6 100644 --- a/src/merge/resources/ats/types/paginated_scorecard_list.py +++ b/src/merge/resources/ats/types/paginated_scorecard_list.py @@ -25,8 +25,4 @@ class Config: extra = pydantic.Extra.allow -from .application import Application # noqa: E402, F401, I001 -from .candidate import Candidate # noqa: E402, F401, I001 -from .offer import Offer # noqa: E402, F401, I001 - update_forward_refs(PaginatedScorecardList) diff --git a/src/merge/resources/ats/types/patched_candidate_request.py b/src/merge/resources/ats/types/patched_candidate_request.py index 77b8f2b2..b1c41c05 100644 --- a/src/merge/resources/ats/types/patched_candidate_request.py +++ b/src/merge/resources/ats/types/patched_candidate_request.py @@ -79,8 +79,8 @@ class PatchedCandidateRequest(UncheckedBaseModel): """ remote_template_id: typing.Optional[str] = None - integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + integration_params: typing.Optional[typing.Dict[str, typing.Any]] = None + linked_account_params: typing.Optional[typing.Dict[str, typing.Any]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/ats/types/phone_number_request.py b/src/merge/resources/ats/types/phone_number_request.py index aa54db17..b500f228 100644 --- a/src/merge/resources/ats/types/phone_number_request.py +++ b/src/merge/resources/ats/types/phone_number_request.py @@ -33,8 +33,8 @@ class PhoneNumberRequest(UncheckedBaseModel): * `OTHER` - OTHER """ - integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + integration_params: typing.Optional[typing.Dict[str, typing.Any]] = None + linked_account_params: typing.Optional[typing.Dict[str, typing.Any]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/ats/types/reject_reason.py b/src/merge/resources/ats/types/reject_reason.py index 7f2d533e..f1373b41 100644 --- a/src/merge/resources/ats/types/reject_reason.py +++ b/src/merge/resources/ats/types/reject_reason.py @@ -44,7 +44,7 @@ class RejectReason(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/ats/types/remote_data.py b/src/merge/resources/ats/types/remote_data.py index f34bec80..2026f05a 100644 --- a/src/merge/resources/ats/types/remote_data.py +++ b/src/merge/resources/ats/types/remote_data.py @@ -22,7 +22,7 @@ class RemoteData(UncheckedBaseModel): The third-party API path that is being called. """ - data: typing.Optional[typing.Optional[typing.Any]] = pydantic.Field(default=None) + data: typing.Optional[typing.Any] = pydantic.Field(default=None) """ The data returned from the third-party for this object in its original, unnormalized format. """ diff --git a/src/merge/resources/ats/types/remote_endpoint_info.py b/src/merge/resources/ats/types/remote_endpoint_info.py index 07ceff6a..ffa70b94 100644 --- a/src/merge/resources/ats/types/remote_endpoint_info.py +++ b/src/merge/resources/ats/types/remote_endpoint_info.py @@ -10,7 +10,7 @@ class RemoteEndpointInfo(UncheckedBaseModel): method: str url_path: str - field_traversal_path: typing.List[typing.Optional[typing.Any]] + field_traversal_path: typing.List[typing.Any] if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/ats/types/remote_field_api.py b/src/merge/resources/ats/types/remote_field_api.py index 4c66a23b..bac07b8d 100644 --- a/src/merge/resources/ats/types/remote_field_api.py +++ b/src/merge/resources/ats/types/remote_field_api.py @@ -11,10 +11,10 @@ class RemoteFieldApi(UncheckedBaseModel): - schema_: typing.Dict[str, typing.Optional[typing.Any]] = pydantic.Field(alias="schema") + schema_: typing.Dict[str, typing.Any] = pydantic.Field(alias="schema") remote_key_name: str remote_endpoint_info: RemoteEndpointInfo - example_values: typing.Optional[typing.List[typing.Optional[typing.Any]]] = None + example_values: typing.Optional[typing.List[typing.Any]] = None advanced_metadata: typing.Optional[AdvancedMetadata] = None coverage: typing.Optional[RemoteFieldApiCoverage] = None diff --git a/src/merge/resources/ats/types/remote_response.py b/src/merge/resources/ats/types/remote_response.py index db01131f..8bc6f905 100644 --- a/src/merge/resources/ats/types/remote_response.py +++ b/src/merge/resources/ats/types/remote_response.py @@ -21,10 +21,10 @@ class RemoteResponse(UncheckedBaseModel): method: str path: str status: int - response: typing.Optional[typing.Any] = None - response_headers: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + response: typing.Any + response_headers: typing.Optional[typing.Dict[str, typing.Any]] = None response_type: typing.Optional[RemoteResponseResponseType] = None - headers: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + headers: typing.Optional[typing.Dict[str, typing.Any]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/ats/types/remote_user.py b/src/merge/resources/ats/types/remote_user.py index de6ec49a..fe56da6f 100644 --- a/src/merge/resources/ats/types/remote_user.py +++ b/src/merge/resources/ats/types/remote_user.py @@ -76,7 +76,7 @@ class RemoteUser(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/ats/types/response_type_enum.py b/src/merge/resources/ats/types/response_type_enum.py index ef241302..e29175b6 100644 --- a/src/merge/resources/ats/types/response_type_enum.py +++ b/src/merge/resources/ats/types/response_type_enum.py @@ -13,10 +13,10 @@ class ResponseTypeEnum(str, enum.Enum): """ JSON = "JSON" - BASE_64_GZIP = "BASE64_GZIP" + BASE64GZIP = "BASE64_GZIP" - def visit(self, json: typing.Callable[[], T_Result], base_64_gzip: typing.Callable[[], T_Result]) -> T_Result: + def visit(self, json: typing.Callable[[], T_Result], base64gzip: typing.Callable[[], T_Result]) -> T_Result: if self is ResponseTypeEnum.JSON: return json() - if self is ResponseTypeEnum.BASE_64_GZIP: - return base_64_gzip() + if self is ResponseTypeEnum.BASE64GZIP: + return base64gzip() diff --git a/src/merge/resources/ats/types/scheduled_interview.py b/src/merge/resources/ats/types/scheduled_interview.py index 1c31538d..5000e479 100644 --- a/src/merge/resources/ats/types/scheduled_interview.py +++ b/src/merge/resources/ats/types/scheduled_interview.py @@ -102,7 +102,7 @@ class ScheduledInterview(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None if IS_PYDANTIC_V2: @@ -115,8 +115,4 @@ class Config: extra = pydantic.Extra.allow -from .application import Application # noqa: E402, F401, I001 -from .candidate import Candidate # noqa: E402, F401, I001 -from .offer import Offer # noqa: E402, F401, I001 - update_forward_refs(ScheduledInterview) diff --git a/src/merge/resources/ats/types/scheduled_interview_request.py b/src/merge/resources/ats/types/scheduled_interview_request.py index b5b12bc5..a5d19c49 100644 --- a/src/merge/resources/ats/types/scheduled_interview_request.py +++ b/src/merge/resources/ats/types/scheduled_interview_request.py @@ -70,8 +70,8 @@ class ScheduledInterviewRequest(UncheckedBaseModel): * `COMPLETE` - COMPLETE """ - integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + integration_params: typing.Optional[typing.Dict[str, typing.Any]] = None + linked_account_params: typing.Optional[typing.Dict[str, typing.Any]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 @@ -83,8 +83,4 @@ class Config: extra = pydantic.Extra.allow -from .application import Application # noqa: E402, F401, I001 -from .candidate import Candidate # noqa: E402, F401, I001 -from .offer import Offer # noqa: E402, F401, I001 - update_forward_refs(ScheduledInterviewRequest) diff --git a/src/merge/resources/ats/types/scheduled_interview_response.py b/src/merge/resources/ats/types/scheduled_interview_response.py index 280fff51..3a62a42f 100644 --- a/src/merge/resources/ats/types/scheduled_interview_response.py +++ b/src/merge/resources/ats/types/scheduled_interview_response.py @@ -29,8 +29,4 @@ class Config: extra = pydantic.Extra.allow -from .application import Application # noqa: E402, F401, I001 -from .candidate import Candidate # noqa: E402, F401, I001 -from .offer import Offer # noqa: E402, F401, I001 - update_forward_refs(ScheduledInterviewResponse) diff --git a/src/merge/resources/ats/types/scorecard.py b/src/merge/resources/ats/types/scorecard.py index 3e713f87..dbefd368 100644 --- a/src/merge/resources/ats/types/scorecard.py +++ b/src/merge/resources/ats/types/scorecard.py @@ -81,7 +81,7 @@ class Scorecard(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None if IS_PYDANTIC_V2: @@ -94,8 +94,4 @@ class Config: extra = pydantic.Extra.allow -from .application import Application # noqa: E402, F401, I001 -from .candidate import Candidate # noqa: E402, F401, I001 -from .offer import Offer # noqa: E402, F401, I001 - update_forward_refs(Scorecard) diff --git a/src/merge/resources/ats/types/screening_question.py b/src/merge/resources/ats/types/screening_question.py index 245cbd2a..b789fdbd 100644 --- a/src/merge/resources/ats/types/screening_question.py +++ b/src/merge/resources/ats/types/screening_question.py @@ -70,7 +70,7 @@ class ScreeningQuestion(UncheckedBaseModel): Whether or not the screening question is required. """ - options: typing.Optional[typing.List[typing.Optional[typing.Any]]] = None + options: typing.Optional[typing.List[typing.Any]] = None remote_was_deleted: typing.Optional[bool] = pydantic.Field(default=None) """ Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). diff --git a/src/merge/resources/ats/types/screening_question_answer_request.py b/src/merge/resources/ats/types/screening_question_answer_request.py index af62b520..4923727f 100644 --- a/src/merge/resources/ats/types/screening_question_answer_request.py +++ b/src/merge/resources/ats/types/screening_question_answer_request.py @@ -33,8 +33,8 @@ class ScreeningQuestionAnswerRequest(UncheckedBaseModel): The candidate’s response to the screening question. """ - integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + integration_params: typing.Optional[typing.Dict[str, typing.Any]] = None + linked_account_params: typing.Optional[typing.Dict[str, typing.Any]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/ats/types/status_fd_5_enum.py b/src/merge/resources/ats/types/status_fd5enum.py similarity index 100% rename from src/merge/resources/ats/types/status_fd_5_enum.py rename to src/merge/resources/ats/types/status_fd5enum.py diff --git a/src/merge/resources/ats/types/sync_status_status.py b/src/merge/resources/ats/types/sync_status_status.py index 78e4cc47..080bb651 100644 --- a/src/merge/resources/ats/types/sync_status_status.py +++ b/src/merge/resources/ats/types/sync_status_status.py @@ -2,6 +2,6 @@ import typing -from .status_fd_5_enum import StatusFd5Enum +from .status_fd5enum import StatusFd5Enum SyncStatusStatus = typing.Union[StatusFd5Enum, str] diff --git a/src/merge/resources/ats/types/tag.py b/src/merge/resources/ats/types/tag.py index 6d73f731..944d771d 100644 --- a/src/merge/resources/ats/types/tag.py +++ b/src/merge/resources/ats/types/tag.py @@ -42,8 +42,8 @@ class Tag(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - remote_data: typing.Optional[typing.List[typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None + remote_data: typing.Optional[typing.List[typing.Optional[typing.Dict[str, typing.Any]]]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/ats/types/url_request.py b/src/merge/resources/ats/types/url_request.py index 292911d8..fab9639c 100644 --- a/src/merge/resources/ats/types/url_request.py +++ b/src/merge/resources/ats/types/url_request.py @@ -35,8 +35,8 @@ class UrlRequest(UncheckedBaseModel): * `JOB_POSTING` - JOB_POSTING """ - integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + integration_params: typing.Optional[typing.Dict[str, typing.Any]] = None + linked_account_params: typing.Optional[typing.Dict[str, typing.Any]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/chat/__init__.py b/src/merge/resources/chat/__init__.py deleted file mode 100644 index da7e6d6f..00000000 --- a/src/merge/resources/chat/__init__.py +++ /dev/null @@ -1,391 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - -import typing -from importlib import import_module - -if typing.TYPE_CHECKING: - from .types import ( - AccountDetails, - AccountDetailsAndActions, - AccountDetailsAndActionsCategory, - AccountDetailsAndActionsIntegration, - AccountDetailsAndActionsStatus, - AccountDetailsAndActionsStatusEnum, - AccountDetailsCategory, - AccountIntegration, - AccountToken, - AdvancedMetadata, - AsyncPassthroughReciept, - AuditLogEvent, - AuditLogEventEventType, - AuditLogEventRole, - AvailableActions, - CategoriesEnum, - CategoryEnum, - CommonModelScopeApi, - CommonModelScopesBodyRequest, - CompletedAccountInitialScreenEnum, - Conversation, - ConversationType, - DataPassthroughRequest, - DataPassthroughRequestMethod, - DataPassthroughRequestRequestFormat, - DebugModeLog, - DebugModelLogSummary, - EnabledActionsEnum, - EncodingEnum, - ErrorValidationProblem, - EventTypeEnum, - ExternalTargetFieldApi, - ExternalTargetFieldApiResponse, - FieldMappingApiInstance, - FieldMappingApiInstanceRemoteField, - FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo, - FieldMappingApiInstanceResponse, - FieldMappingApiInstanceTargetField, - FieldMappingInstanceResponse, - FieldPermissionDeserializer, - FieldPermissionDeserializerRequest, - Group, - IndividualCommonModelScopeDeserializer, - IndividualCommonModelScopeDeserializerRequest, - Issue, - IssueStatus, - IssueStatusEnum, - LanguageEnum, - LastSyncResultEnum, - LinkToken, - Member, - Message, - MethodEnum, - ModelOperation, - ModelPermissionDeserializer, - ModelPermissionDeserializerRequest, - MultipartFormFieldRequest, - MultipartFormFieldRequestEncoding, - PaginatedAccountDetailsAndActionsList, - PaginatedAuditLogEventList, - PaginatedConversationList, - PaginatedGroupList, - PaginatedIssueList, - PaginatedMemberList, - PaginatedMessageList, - PaginatedSyncStatusList, - PaginatedUserList, - RemoteData, - RemoteEndpointInfo, - RemoteFieldApi, - RemoteFieldApiAdvancedMetadata, - RemoteFieldApiCoverage, - RemoteFieldApiResponse, - RemoteKey, - RemoteResponse, - RemoteResponseResponseType, - RequestFormatEnum, - ResponseTypeEnum, - RoleEnum, - SelectiveSyncConfigurationsUsageEnum, - StatusFd5Enum, - SyncStatus, - SyncStatusLastSyncResult, - SyncStatusStatus, - TypeEnum, - User, - ValidationProblemSource, - WarningValidationProblem, - WebhookReceiver, - ) - from .resources import ( - AsyncPassthroughRetrieveResponse, - ConversationsMembersListRequestExpand, - EndUserDetailsRequestCompletedAccountInitialScreen, - EndUserDetailsRequestLanguage, - IssuesListRequestStatus, - LinkedAccountsListRequestCategory, - MessagesListRequestOrderBy, - MessagesRepliesListRequestOrderBy, - account_details, - account_token, - async_passthrough, - audit_trail, - available_actions, - conversations, - delete_account, - field_mapping, - force_resync, - generate_key, - groups, - issues, - link_token, - linked_accounts, - messages, - passthrough, - regenerate_key, - scopes, - sync_status, - users, - webhook_receivers, - ) -_dynamic_imports: typing.Dict[str, str] = { - "AccountDetails": ".types", - "AccountDetailsAndActions": ".types", - "AccountDetailsAndActionsCategory": ".types", - "AccountDetailsAndActionsIntegration": ".types", - "AccountDetailsAndActionsStatus": ".types", - "AccountDetailsAndActionsStatusEnum": ".types", - "AccountDetailsCategory": ".types", - "AccountIntegration": ".types", - "AccountToken": ".types", - "AdvancedMetadata": ".types", - "AsyncPassthroughReciept": ".types", - "AsyncPassthroughRetrieveResponse": ".resources", - "AuditLogEvent": ".types", - "AuditLogEventEventType": ".types", - "AuditLogEventRole": ".types", - "AvailableActions": ".types", - "CategoriesEnum": ".types", - "CategoryEnum": ".types", - "CommonModelScopeApi": ".types", - "CommonModelScopesBodyRequest": ".types", - "CompletedAccountInitialScreenEnum": ".types", - "Conversation": ".types", - "ConversationType": ".types", - "ConversationsMembersListRequestExpand": ".resources", - "DataPassthroughRequest": ".types", - "DataPassthroughRequestMethod": ".types", - "DataPassthroughRequestRequestFormat": ".types", - "DebugModeLog": ".types", - "DebugModelLogSummary": ".types", - "EnabledActionsEnum": ".types", - "EncodingEnum": ".types", - "EndUserDetailsRequestCompletedAccountInitialScreen": ".resources", - "EndUserDetailsRequestLanguage": ".resources", - "ErrorValidationProblem": ".types", - "EventTypeEnum": ".types", - "ExternalTargetFieldApi": ".types", - "ExternalTargetFieldApiResponse": ".types", - "FieldMappingApiInstance": ".types", - "FieldMappingApiInstanceRemoteField": ".types", - "FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo": ".types", - "FieldMappingApiInstanceResponse": ".types", - "FieldMappingApiInstanceTargetField": ".types", - "FieldMappingInstanceResponse": ".types", - "FieldPermissionDeserializer": ".types", - "FieldPermissionDeserializerRequest": ".types", - "Group": ".types", - "IndividualCommonModelScopeDeserializer": ".types", - "IndividualCommonModelScopeDeserializerRequest": ".types", - "Issue": ".types", - "IssueStatus": ".types", - "IssueStatusEnum": ".types", - "IssuesListRequestStatus": ".resources", - "LanguageEnum": ".types", - "LastSyncResultEnum": ".types", - "LinkToken": ".types", - "LinkedAccountsListRequestCategory": ".resources", - "Member": ".types", - "Message": ".types", - "MessagesListRequestOrderBy": ".resources", - "MessagesRepliesListRequestOrderBy": ".resources", - "MethodEnum": ".types", - "ModelOperation": ".types", - "ModelPermissionDeserializer": ".types", - "ModelPermissionDeserializerRequest": ".types", - "MultipartFormFieldRequest": ".types", - "MultipartFormFieldRequestEncoding": ".types", - "PaginatedAccountDetailsAndActionsList": ".types", - "PaginatedAuditLogEventList": ".types", - "PaginatedConversationList": ".types", - "PaginatedGroupList": ".types", - "PaginatedIssueList": ".types", - "PaginatedMemberList": ".types", - "PaginatedMessageList": ".types", - "PaginatedSyncStatusList": ".types", - "PaginatedUserList": ".types", - "RemoteData": ".types", - "RemoteEndpointInfo": ".types", - "RemoteFieldApi": ".types", - "RemoteFieldApiAdvancedMetadata": ".types", - "RemoteFieldApiCoverage": ".types", - "RemoteFieldApiResponse": ".types", - "RemoteKey": ".types", - "RemoteResponse": ".types", - "RemoteResponseResponseType": ".types", - "RequestFormatEnum": ".types", - "ResponseTypeEnum": ".types", - "RoleEnum": ".types", - "SelectiveSyncConfigurationsUsageEnum": ".types", - "StatusFd5Enum": ".types", - "SyncStatus": ".types", - "SyncStatusLastSyncResult": ".types", - "SyncStatusStatus": ".types", - "TypeEnum": ".types", - "User": ".types", - "ValidationProblemSource": ".types", - "WarningValidationProblem": ".types", - "WebhookReceiver": ".types", - "account_details": ".resources", - "account_token": ".resources", - "async_passthrough": ".resources", - "audit_trail": ".resources", - "available_actions": ".resources", - "conversations": ".resources", - "delete_account": ".resources", - "field_mapping": ".resources", - "force_resync": ".resources", - "generate_key": ".resources", - "groups": ".resources", - "issues": ".resources", - "link_token": ".resources", - "linked_accounts": ".resources", - "messages": ".resources", - "passthrough": ".resources", - "regenerate_key": ".resources", - "scopes": ".resources", - "sync_status": ".resources", - "users": ".resources", - "webhook_receivers": ".resources", -} - - -def __getattr__(attr_name: str) -> typing.Any: - module_name = _dynamic_imports.get(attr_name) - if module_name is None: - raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") - try: - module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result - except ImportError as e: - raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e - except AttributeError as e: - raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e - - -def __dir__(): - lazy_attrs = list(_dynamic_imports.keys()) - return sorted(lazy_attrs) - - -__all__ = [ - "AccountDetails", - "AccountDetailsAndActions", - "AccountDetailsAndActionsCategory", - "AccountDetailsAndActionsIntegration", - "AccountDetailsAndActionsStatus", - "AccountDetailsAndActionsStatusEnum", - "AccountDetailsCategory", - "AccountIntegration", - "AccountToken", - "AdvancedMetadata", - "AsyncPassthroughReciept", - "AsyncPassthroughRetrieveResponse", - "AuditLogEvent", - "AuditLogEventEventType", - "AuditLogEventRole", - "AvailableActions", - "CategoriesEnum", - "CategoryEnum", - "CommonModelScopeApi", - "CommonModelScopesBodyRequest", - "CompletedAccountInitialScreenEnum", - "Conversation", - "ConversationType", - "ConversationsMembersListRequestExpand", - "DataPassthroughRequest", - "DataPassthroughRequestMethod", - "DataPassthroughRequestRequestFormat", - "DebugModeLog", - "DebugModelLogSummary", - "EnabledActionsEnum", - "EncodingEnum", - "EndUserDetailsRequestCompletedAccountInitialScreen", - "EndUserDetailsRequestLanguage", - "ErrorValidationProblem", - "EventTypeEnum", - "ExternalTargetFieldApi", - "ExternalTargetFieldApiResponse", - "FieldMappingApiInstance", - "FieldMappingApiInstanceRemoteField", - "FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo", - "FieldMappingApiInstanceResponse", - "FieldMappingApiInstanceTargetField", - "FieldMappingInstanceResponse", - "FieldPermissionDeserializer", - "FieldPermissionDeserializerRequest", - "Group", - "IndividualCommonModelScopeDeserializer", - "IndividualCommonModelScopeDeserializerRequest", - "Issue", - "IssueStatus", - "IssueStatusEnum", - "IssuesListRequestStatus", - "LanguageEnum", - "LastSyncResultEnum", - "LinkToken", - "LinkedAccountsListRequestCategory", - "Member", - "Message", - "MessagesListRequestOrderBy", - "MessagesRepliesListRequestOrderBy", - "MethodEnum", - "ModelOperation", - "ModelPermissionDeserializer", - "ModelPermissionDeserializerRequest", - "MultipartFormFieldRequest", - "MultipartFormFieldRequestEncoding", - "PaginatedAccountDetailsAndActionsList", - "PaginatedAuditLogEventList", - "PaginatedConversationList", - "PaginatedGroupList", - "PaginatedIssueList", - "PaginatedMemberList", - "PaginatedMessageList", - "PaginatedSyncStatusList", - "PaginatedUserList", - "RemoteData", - "RemoteEndpointInfo", - "RemoteFieldApi", - "RemoteFieldApiAdvancedMetadata", - "RemoteFieldApiCoverage", - "RemoteFieldApiResponse", - "RemoteKey", - "RemoteResponse", - "RemoteResponseResponseType", - "RequestFormatEnum", - "ResponseTypeEnum", - "RoleEnum", - "SelectiveSyncConfigurationsUsageEnum", - "StatusFd5Enum", - "SyncStatus", - "SyncStatusLastSyncResult", - "SyncStatusStatus", - "TypeEnum", - "User", - "ValidationProblemSource", - "WarningValidationProblem", - "WebhookReceiver", - "account_details", - "account_token", - "async_passthrough", - "audit_trail", - "available_actions", - "conversations", - "delete_account", - "field_mapping", - "force_resync", - "generate_key", - "groups", - "issues", - "link_token", - "linked_accounts", - "messages", - "passthrough", - "regenerate_key", - "scopes", - "sync_status", - "users", - "webhook_receivers", -] diff --git a/src/merge/resources/chat/client.py b/src/merge/resources/chat/client.py deleted file mode 100644 index acb3b6bd..00000000 --- a/src/merge/resources/chat/client.py +++ /dev/null @@ -1,459 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -from __future__ import annotations - -import typing - -from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .raw_client import AsyncRawChatClient, RawChatClient - -if typing.TYPE_CHECKING: - from .resources.account_details.client import AccountDetailsClient, AsyncAccountDetailsClient - from .resources.account_token.client import AccountTokenClient, AsyncAccountTokenClient - from .resources.async_passthrough.client import AsyncAsyncPassthroughClient - from .resources.async_passthrough.client import ( - AsyncPassthroughClient as resources_chat_resources_async_passthrough_client_AsyncPassthroughClient, - ) - from .resources.audit_trail.client import AsyncAuditTrailClient, AuditTrailClient - from .resources.available_actions.client import AsyncAvailableActionsClient, AvailableActionsClient - from .resources.conversations.client import AsyncConversationsClient, ConversationsClient - from .resources.delete_account.client import AsyncDeleteAccountClient, DeleteAccountClient - from .resources.field_mapping.client import AsyncFieldMappingClient, FieldMappingClient - from .resources.force_resync.client import AsyncForceResyncClient, ForceResyncClient - from .resources.generate_key.client import AsyncGenerateKeyClient, GenerateKeyClient - from .resources.groups.client import AsyncGroupsClient, GroupsClient - from .resources.issues.client import AsyncIssuesClient, IssuesClient - from .resources.link_token.client import AsyncLinkTokenClient, LinkTokenClient - from .resources.linked_accounts.client import AsyncLinkedAccountsClient, LinkedAccountsClient - from .resources.messages.client import AsyncMessagesClient, MessagesClient - from .resources.passthrough.client import ( - AsyncPassthroughClient as resources_chat_resources_passthrough_client_AsyncPassthroughClient, - ) - from .resources.passthrough.client import PassthroughClient - from .resources.regenerate_key.client import AsyncRegenerateKeyClient, RegenerateKeyClient - from .resources.scopes.client import AsyncScopesClient, ScopesClient - from .resources.sync_status.client import AsyncSyncStatusClient, SyncStatusClient - from .resources.users.client import AsyncUsersClient, UsersClient - from .resources.webhook_receivers.client import AsyncWebhookReceiversClient, WebhookReceiversClient - - -class ChatClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawChatClient(client_wrapper=client_wrapper) - self._client_wrapper = client_wrapper - self._account_details: typing.Optional[AccountDetailsClient] = None - self._account_token: typing.Optional[AccountTokenClient] = None - self._async_passthrough: typing.Optional[ - resources_chat_resources_async_passthrough_client_AsyncPassthroughClient - ] = None - self._audit_trail: typing.Optional[AuditTrailClient] = None - self._available_actions: typing.Optional[AvailableActionsClient] = None - self._conversations: typing.Optional[ConversationsClient] = None - self._scopes: typing.Optional[ScopesClient] = None - self._delete_account: typing.Optional[DeleteAccountClient] = None - self._field_mapping: typing.Optional[FieldMappingClient] = None - self._generate_key: typing.Optional[GenerateKeyClient] = None - self._groups: typing.Optional[GroupsClient] = None - self._issues: typing.Optional[IssuesClient] = None - self._link_token: typing.Optional[LinkTokenClient] = None - self._linked_accounts: typing.Optional[LinkedAccountsClient] = None - self._messages: typing.Optional[MessagesClient] = None - self._passthrough: typing.Optional[PassthroughClient] = None - self._regenerate_key: typing.Optional[RegenerateKeyClient] = None - self._sync_status: typing.Optional[SyncStatusClient] = None - self._force_resync: typing.Optional[ForceResyncClient] = None - self._users: typing.Optional[UsersClient] = None - self._webhook_receivers: typing.Optional[WebhookReceiversClient] = None - - @property - def with_raw_response(self) -> RawChatClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawChatClient - """ - return self._raw_client - - @property - def account_details(self): - if self._account_details is None: - from .resources.account_details.client import AccountDetailsClient # noqa: E402 - - self._account_details = AccountDetailsClient(client_wrapper=self._client_wrapper) - return self._account_details - - @property - def account_token(self): - if self._account_token is None: - from .resources.account_token.client import AccountTokenClient # noqa: E402 - - self._account_token = AccountTokenClient(client_wrapper=self._client_wrapper) - return self._account_token - - @property - def async_passthrough(self): - if self._async_passthrough is None: - from .resources.async_passthrough.client import ( - AsyncPassthroughClient as resources_chat_resources_async_passthrough_client_AsyncPassthroughClient, # noqa: E402 - ) - - self._async_passthrough = resources_chat_resources_async_passthrough_client_AsyncPassthroughClient( - client_wrapper=self._client_wrapper - ) - return self._async_passthrough - - @property - def audit_trail(self): - if self._audit_trail is None: - from .resources.audit_trail.client import AuditTrailClient # noqa: E402 - - self._audit_trail = AuditTrailClient(client_wrapper=self._client_wrapper) - return self._audit_trail - - @property - def available_actions(self): - if self._available_actions is None: - from .resources.available_actions.client import AvailableActionsClient # noqa: E402 - - self._available_actions = AvailableActionsClient(client_wrapper=self._client_wrapper) - return self._available_actions - - @property - def conversations(self): - if self._conversations is None: - from .resources.conversations.client import ConversationsClient # noqa: E402 - - self._conversations = ConversationsClient(client_wrapper=self._client_wrapper) - return self._conversations - - @property - def scopes(self): - if self._scopes is None: - from .resources.scopes.client import ScopesClient # noqa: E402 - - self._scopes = ScopesClient(client_wrapper=self._client_wrapper) - return self._scopes - - @property - def delete_account(self): - if self._delete_account is None: - from .resources.delete_account.client import DeleteAccountClient # noqa: E402 - - self._delete_account = DeleteAccountClient(client_wrapper=self._client_wrapper) - return self._delete_account - - @property - def field_mapping(self): - if self._field_mapping is None: - from .resources.field_mapping.client import FieldMappingClient # noqa: E402 - - self._field_mapping = FieldMappingClient(client_wrapper=self._client_wrapper) - return self._field_mapping - - @property - def generate_key(self): - if self._generate_key is None: - from .resources.generate_key.client import GenerateKeyClient # noqa: E402 - - self._generate_key = GenerateKeyClient(client_wrapper=self._client_wrapper) - return self._generate_key - - @property - def groups(self): - if self._groups is None: - from .resources.groups.client import GroupsClient # noqa: E402 - - self._groups = GroupsClient(client_wrapper=self._client_wrapper) - return self._groups - - @property - def issues(self): - if self._issues is None: - from .resources.issues.client import IssuesClient # noqa: E402 - - self._issues = IssuesClient(client_wrapper=self._client_wrapper) - return self._issues - - @property - def link_token(self): - if self._link_token is None: - from .resources.link_token.client import LinkTokenClient # noqa: E402 - - self._link_token = LinkTokenClient(client_wrapper=self._client_wrapper) - return self._link_token - - @property - def linked_accounts(self): - if self._linked_accounts is None: - from .resources.linked_accounts.client import LinkedAccountsClient # noqa: E402 - - self._linked_accounts = LinkedAccountsClient(client_wrapper=self._client_wrapper) - return self._linked_accounts - - @property - def messages(self): - if self._messages is None: - from .resources.messages.client import MessagesClient # noqa: E402 - - self._messages = MessagesClient(client_wrapper=self._client_wrapper) - return self._messages - - @property - def passthrough(self): - if self._passthrough is None: - from .resources.passthrough.client import PassthroughClient # noqa: E402 - - self._passthrough = PassthroughClient(client_wrapper=self._client_wrapper) - return self._passthrough - - @property - def regenerate_key(self): - if self._regenerate_key is None: - from .resources.regenerate_key.client import RegenerateKeyClient # noqa: E402 - - self._regenerate_key = RegenerateKeyClient(client_wrapper=self._client_wrapper) - return self._regenerate_key - - @property - def sync_status(self): - if self._sync_status is None: - from .resources.sync_status.client import SyncStatusClient # noqa: E402 - - self._sync_status = SyncStatusClient(client_wrapper=self._client_wrapper) - return self._sync_status - - @property - def force_resync(self): - if self._force_resync is None: - from .resources.force_resync.client import ForceResyncClient # noqa: E402 - - self._force_resync = ForceResyncClient(client_wrapper=self._client_wrapper) - return self._force_resync - - @property - def users(self): - if self._users is None: - from .resources.users.client import UsersClient # noqa: E402 - - self._users = UsersClient(client_wrapper=self._client_wrapper) - return self._users - - @property - def webhook_receivers(self): - if self._webhook_receivers is None: - from .resources.webhook_receivers.client import WebhookReceiversClient # noqa: E402 - - self._webhook_receivers = WebhookReceiversClient(client_wrapper=self._client_wrapper) - return self._webhook_receivers - - -class AsyncChatClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawChatClient(client_wrapper=client_wrapper) - self._client_wrapper = client_wrapper - self._account_details: typing.Optional[AsyncAccountDetailsClient] = None - self._account_token: typing.Optional[AsyncAccountTokenClient] = None - self._async_passthrough: typing.Optional[AsyncAsyncPassthroughClient] = None - self._audit_trail: typing.Optional[AsyncAuditTrailClient] = None - self._available_actions: typing.Optional[AsyncAvailableActionsClient] = None - self._conversations: typing.Optional[AsyncConversationsClient] = None - self._scopes: typing.Optional[AsyncScopesClient] = None - self._delete_account: typing.Optional[AsyncDeleteAccountClient] = None - self._field_mapping: typing.Optional[AsyncFieldMappingClient] = None - self._generate_key: typing.Optional[AsyncGenerateKeyClient] = None - self._groups: typing.Optional[AsyncGroupsClient] = None - self._issues: typing.Optional[AsyncIssuesClient] = None - self._link_token: typing.Optional[AsyncLinkTokenClient] = None - self._linked_accounts: typing.Optional[AsyncLinkedAccountsClient] = None - self._messages: typing.Optional[AsyncMessagesClient] = None - self._passthrough: typing.Optional[resources_chat_resources_passthrough_client_AsyncPassthroughClient] = None - self._regenerate_key: typing.Optional[AsyncRegenerateKeyClient] = None - self._sync_status: typing.Optional[AsyncSyncStatusClient] = None - self._force_resync: typing.Optional[AsyncForceResyncClient] = None - self._users: typing.Optional[AsyncUsersClient] = None - self._webhook_receivers: typing.Optional[AsyncWebhookReceiversClient] = None - - @property - def with_raw_response(self) -> AsyncRawChatClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawChatClient - """ - return self._raw_client - - @property - def account_details(self): - if self._account_details is None: - from .resources.account_details.client import AsyncAccountDetailsClient # noqa: E402 - - self._account_details = AsyncAccountDetailsClient(client_wrapper=self._client_wrapper) - return self._account_details - - @property - def account_token(self): - if self._account_token is None: - from .resources.account_token.client import AsyncAccountTokenClient # noqa: E402 - - self._account_token = AsyncAccountTokenClient(client_wrapper=self._client_wrapper) - return self._account_token - - @property - def async_passthrough(self): - if self._async_passthrough is None: - from .resources.async_passthrough.client import AsyncAsyncPassthroughClient # noqa: E402 - - self._async_passthrough = AsyncAsyncPassthroughClient(client_wrapper=self._client_wrapper) - return self._async_passthrough - - @property - def audit_trail(self): - if self._audit_trail is None: - from .resources.audit_trail.client import AsyncAuditTrailClient # noqa: E402 - - self._audit_trail = AsyncAuditTrailClient(client_wrapper=self._client_wrapper) - return self._audit_trail - - @property - def available_actions(self): - if self._available_actions is None: - from .resources.available_actions.client import AsyncAvailableActionsClient # noqa: E402 - - self._available_actions = AsyncAvailableActionsClient(client_wrapper=self._client_wrapper) - return self._available_actions - - @property - def conversations(self): - if self._conversations is None: - from .resources.conversations.client import AsyncConversationsClient # noqa: E402 - - self._conversations = AsyncConversationsClient(client_wrapper=self._client_wrapper) - return self._conversations - - @property - def scopes(self): - if self._scopes is None: - from .resources.scopes.client import AsyncScopesClient # noqa: E402 - - self._scopes = AsyncScopesClient(client_wrapper=self._client_wrapper) - return self._scopes - - @property - def delete_account(self): - if self._delete_account is None: - from .resources.delete_account.client import AsyncDeleteAccountClient # noqa: E402 - - self._delete_account = AsyncDeleteAccountClient(client_wrapper=self._client_wrapper) - return self._delete_account - - @property - def field_mapping(self): - if self._field_mapping is None: - from .resources.field_mapping.client import AsyncFieldMappingClient # noqa: E402 - - self._field_mapping = AsyncFieldMappingClient(client_wrapper=self._client_wrapper) - return self._field_mapping - - @property - def generate_key(self): - if self._generate_key is None: - from .resources.generate_key.client import AsyncGenerateKeyClient # noqa: E402 - - self._generate_key = AsyncGenerateKeyClient(client_wrapper=self._client_wrapper) - return self._generate_key - - @property - def groups(self): - if self._groups is None: - from .resources.groups.client import AsyncGroupsClient # noqa: E402 - - self._groups = AsyncGroupsClient(client_wrapper=self._client_wrapper) - return self._groups - - @property - def issues(self): - if self._issues is None: - from .resources.issues.client import AsyncIssuesClient # noqa: E402 - - self._issues = AsyncIssuesClient(client_wrapper=self._client_wrapper) - return self._issues - - @property - def link_token(self): - if self._link_token is None: - from .resources.link_token.client import AsyncLinkTokenClient # noqa: E402 - - self._link_token = AsyncLinkTokenClient(client_wrapper=self._client_wrapper) - return self._link_token - - @property - def linked_accounts(self): - if self._linked_accounts is None: - from .resources.linked_accounts.client import AsyncLinkedAccountsClient # noqa: E402 - - self._linked_accounts = AsyncLinkedAccountsClient(client_wrapper=self._client_wrapper) - return self._linked_accounts - - @property - def messages(self): - if self._messages is None: - from .resources.messages.client import AsyncMessagesClient # noqa: E402 - - self._messages = AsyncMessagesClient(client_wrapper=self._client_wrapper) - return self._messages - - @property - def passthrough(self): - if self._passthrough is None: - from .resources.passthrough.client import ( - AsyncPassthroughClient as resources_chat_resources_passthrough_client_AsyncPassthroughClient, # noqa: E402 - ) - - self._passthrough = resources_chat_resources_passthrough_client_AsyncPassthroughClient( - client_wrapper=self._client_wrapper - ) - return self._passthrough - - @property - def regenerate_key(self): - if self._regenerate_key is None: - from .resources.regenerate_key.client import AsyncRegenerateKeyClient # noqa: E402 - - self._regenerate_key = AsyncRegenerateKeyClient(client_wrapper=self._client_wrapper) - return self._regenerate_key - - @property - def sync_status(self): - if self._sync_status is None: - from .resources.sync_status.client import AsyncSyncStatusClient # noqa: E402 - - self._sync_status = AsyncSyncStatusClient(client_wrapper=self._client_wrapper) - return self._sync_status - - @property - def force_resync(self): - if self._force_resync is None: - from .resources.force_resync.client import AsyncForceResyncClient # noqa: E402 - - self._force_resync = AsyncForceResyncClient(client_wrapper=self._client_wrapper) - return self._force_resync - - @property - def users(self): - if self._users is None: - from .resources.users.client import AsyncUsersClient # noqa: E402 - - self._users = AsyncUsersClient(client_wrapper=self._client_wrapper) - return self._users - - @property - def webhook_receivers(self): - if self._webhook_receivers is None: - from .resources.webhook_receivers.client import AsyncWebhookReceiversClient # noqa: E402 - - self._webhook_receivers = AsyncWebhookReceiversClient(client_wrapper=self._client_wrapper) - return self._webhook_receivers diff --git a/src/merge/resources/chat/raw_client.py b/src/merge/resources/chat/raw_client.py deleted file mode 100644 index 35d27fe5..00000000 --- a/src/merge/resources/chat/raw_client.py +++ /dev/null @@ -1,13 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper - - -class RawChatClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - -class AsyncRawChatClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper diff --git a/src/merge/resources/chat/resources/__init__.py b/src/merge/resources/chat/resources/__init__.py deleted file mode 100644 index 039fd5a3..00000000 --- a/src/merge/resources/chat/resources/__init__.py +++ /dev/null @@ -1,120 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - -import typing -from importlib import import_module - -if typing.TYPE_CHECKING: - from . import ( - account_details, - account_token, - async_passthrough, - audit_trail, - available_actions, - conversations, - delete_account, - field_mapping, - force_resync, - generate_key, - groups, - issues, - link_token, - linked_accounts, - messages, - passthrough, - regenerate_key, - scopes, - sync_status, - users, - webhook_receivers, - ) - from .async_passthrough import AsyncPassthroughRetrieveResponse - from .conversations import ConversationsMembersListRequestExpand - from .issues import IssuesListRequestStatus - from .link_token import EndUserDetailsRequestCompletedAccountInitialScreen, EndUserDetailsRequestLanguage - from .linked_accounts import LinkedAccountsListRequestCategory - from .messages import MessagesListRequestOrderBy, MessagesRepliesListRequestOrderBy -_dynamic_imports: typing.Dict[str, str] = { - "AsyncPassthroughRetrieveResponse": ".async_passthrough", - "ConversationsMembersListRequestExpand": ".conversations", - "EndUserDetailsRequestCompletedAccountInitialScreen": ".link_token", - "EndUserDetailsRequestLanguage": ".link_token", - "IssuesListRequestStatus": ".issues", - "LinkedAccountsListRequestCategory": ".linked_accounts", - "MessagesListRequestOrderBy": ".messages", - "MessagesRepliesListRequestOrderBy": ".messages", - "account_details": ".", - "account_token": ".", - "async_passthrough": ".", - "audit_trail": ".", - "available_actions": ".", - "conversations": ".", - "delete_account": ".", - "field_mapping": ".", - "force_resync": ".", - "generate_key": ".", - "groups": ".", - "issues": ".", - "link_token": ".", - "linked_accounts": ".", - "messages": ".", - "passthrough": ".", - "regenerate_key": ".", - "scopes": ".", - "sync_status": ".", - "users": ".", - "webhook_receivers": ".", -} - - -def __getattr__(attr_name: str) -> typing.Any: - module_name = _dynamic_imports.get(attr_name) - if module_name is None: - raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") - try: - module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result - except ImportError as e: - raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e - except AttributeError as e: - raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e - - -def __dir__(): - lazy_attrs = list(_dynamic_imports.keys()) - return sorted(lazy_attrs) - - -__all__ = [ - "AsyncPassthroughRetrieveResponse", - "ConversationsMembersListRequestExpand", - "EndUserDetailsRequestCompletedAccountInitialScreen", - "EndUserDetailsRequestLanguage", - "IssuesListRequestStatus", - "LinkedAccountsListRequestCategory", - "MessagesListRequestOrderBy", - "MessagesRepliesListRequestOrderBy", - "account_details", - "account_token", - "async_passthrough", - "audit_trail", - "available_actions", - "conversations", - "delete_account", - "field_mapping", - "force_resync", - "generate_key", - "groups", - "issues", - "link_token", - "linked_accounts", - "messages", - "passthrough", - "regenerate_key", - "scopes", - "sync_status", - "users", - "webhook_receivers", -] diff --git a/src/merge/resources/chat/resources/account_details/client.py b/src/merge/resources/chat/resources/account_details/client.py deleted file mode 100644 index 4574e858..00000000 --- a/src/merge/resources/chat/resources/account_details/client.py +++ /dev/null @@ -1,102 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.account_details import AccountDetails -from .raw_client import AsyncRawAccountDetailsClient, RawAccountDetailsClient - - -class AccountDetailsClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawAccountDetailsClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawAccountDetailsClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawAccountDetailsClient - """ - return self._raw_client - - def retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> AccountDetails: - """ - Get details for a linked account. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AccountDetails - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.chat.account_details.retrieve() - """ - _response = self._raw_client.retrieve(request_options=request_options) - return _response.data - - -class AsyncAccountDetailsClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawAccountDetailsClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawAccountDetailsClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawAccountDetailsClient - """ - return self._raw_client - - async def retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> AccountDetails: - """ - Get details for a linked account. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AccountDetails - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.chat.account_details.retrieve() - - - asyncio.run(main()) - """ - _response = await self._raw_client.retrieve(request_options=request_options) - return _response.data diff --git a/src/merge/resources/chat/resources/account_details/raw_client.py b/src/merge/resources/chat/resources/account_details/raw_client.py deleted file mode 100644 index 4ea5e641..00000000 --- a/src/merge/resources/chat/resources/account_details/raw_client.py +++ /dev/null @@ -1,91 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.account_details import AccountDetails - - -class RawAccountDetailsClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> HttpResponse[AccountDetails]: - """ - Get details for a linked account. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[AccountDetails] - - """ - _response = self._client_wrapper.httpx_client.request( - "chat/v1/account-details", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - AccountDetails, - construct_type( - type_=AccountDetails, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawAccountDetailsClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def retrieve( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncHttpResponse[AccountDetails]: - """ - Get details for a linked account. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[AccountDetails] - - """ - _response = await self._client_wrapper.httpx_client.request( - "chat/v1/account-details", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - AccountDetails, - construct_type( - type_=AccountDetails, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/chat/resources/account_token/client.py b/src/merge/resources/chat/resources/account_token/client.py deleted file mode 100644 index 385f91de..00000000 --- a/src/merge/resources/chat/resources/account_token/client.py +++ /dev/null @@ -1,112 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.account_token import AccountToken -from .raw_client import AsyncRawAccountTokenClient, RawAccountTokenClient - - -class AccountTokenClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawAccountTokenClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawAccountTokenClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawAccountTokenClient - """ - return self._raw_client - - def retrieve(self, public_token: str, *, request_options: typing.Optional[RequestOptions] = None) -> AccountToken: - """ - Returns the account token for the end user with the provided public token. - - Parameters - ---------- - public_token : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AccountToken - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.chat.account_token.retrieve( - public_token="public_token", - ) - """ - _response = self._raw_client.retrieve(public_token, request_options=request_options) - return _response.data - - -class AsyncAccountTokenClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawAccountTokenClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawAccountTokenClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawAccountTokenClient - """ - return self._raw_client - - async def retrieve( - self, public_token: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> AccountToken: - """ - Returns the account token for the end user with the provided public token. - - Parameters - ---------- - public_token : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AccountToken - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.chat.account_token.retrieve( - public_token="public_token", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.retrieve(public_token, request_options=request_options) - return _response.data diff --git a/src/merge/resources/chat/resources/account_token/raw_client.py b/src/merge/resources/chat/resources/account_token/raw_client.py deleted file mode 100644 index aad17bca..00000000 --- a/src/merge/resources/chat/resources/account_token/raw_client.py +++ /dev/null @@ -1,98 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.jsonable_encoder import jsonable_encoder -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.account_token import AccountToken - - -class RawAccountTokenClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def retrieve( - self, public_token: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> HttpResponse[AccountToken]: - """ - Returns the account token for the end user with the provided public token. - - Parameters - ---------- - public_token : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[AccountToken] - - """ - _response = self._client_wrapper.httpx_client.request( - f"chat/v1/account-token/{jsonable_encoder(public_token)}", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - AccountToken, - construct_type( - type_=AccountToken, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawAccountTokenClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def retrieve( - self, public_token: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncHttpResponse[AccountToken]: - """ - Returns the account token for the end user with the provided public token. - - Parameters - ---------- - public_token : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[AccountToken] - - """ - _response = await self._client_wrapper.httpx_client.request( - f"chat/v1/account-token/{jsonable_encoder(public_token)}", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - AccountToken, - construct_type( - type_=AccountToken, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/chat/resources/async_passthrough/__init__.py b/src/merge/resources/chat/resources/async_passthrough/__init__.py deleted file mode 100644 index 375c7953..00000000 --- a/src/merge/resources/chat/resources/async_passthrough/__init__.py +++ /dev/null @@ -1,32 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - -import typing -from importlib import import_module - -if typing.TYPE_CHECKING: - from .types import AsyncPassthroughRetrieveResponse -_dynamic_imports: typing.Dict[str, str] = {"AsyncPassthroughRetrieveResponse": ".types"} - - -def __getattr__(attr_name: str) -> typing.Any: - module_name = _dynamic_imports.get(attr_name) - if module_name is None: - raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") - try: - module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result - except ImportError as e: - raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e - except AttributeError as e: - raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e - - -def __dir__(): - lazy_attrs = list(_dynamic_imports.keys()) - return sorted(lazy_attrs) - - -__all__ = ["AsyncPassthroughRetrieveResponse"] diff --git a/src/merge/resources/chat/resources/async_passthrough/client.py b/src/merge/resources/chat/resources/async_passthrough/client.py deleted file mode 100644 index 4bf261a9..00000000 --- a/src/merge/resources/chat/resources/async_passthrough/client.py +++ /dev/null @@ -1,201 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.async_passthrough_reciept import AsyncPassthroughReciept -from ...types.data_passthrough_request import DataPassthroughRequest -from .raw_client import AsyncRawAsyncPassthroughClient, RawAsyncPassthroughClient -from .types.async_passthrough_retrieve_response import AsyncPassthroughRetrieveResponse - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class AsyncPassthroughClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawAsyncPassthroughClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawAsyncPassthroughClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawAsyncPassthroughClient - """ - return self._raw_client - - def create( - self, *, request: DataPassthroughRequest, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncPassthroughReciept: - """ - Asynchronously pull data from an endpoint not currently supported by Merge. - - Parameters - ---------- - request : DataPassthroughRequest - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncPassthroughReciept - - - Examples - -------- - from merge import Merge - from merge.resources.chat import DataPassthroughRequest, MethodEnum - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.chat.async_passthrough.create( - request=DataPassthroughRequest( - method=MethodEnum.GET, - path="/scooters", - ), - ) - """ - _response = self._raw_client.create(request=request, request_options=request_options) - return _response.data - - def retrieve( - self, async_passthrough_receipt_id: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncPassthroughRetrieveResponse: - """ - Retrieves data from earlier async-passthrough POST request - - Parameters - ---------- - async_passthrough_receipt_id : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncPassthroughRetrieveResponse - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.chat.async_passthrough.retrieve( - async_passthrough_receipt_id="async_passthrough_receipt_id", - ) - """ - _response = self._raw_client.retrieve(async_passthrough_receipt_id, request_options=request_options) - return _response.data - - -class AsyncAsyncPassthroughClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawAsyncPassthroughClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawAsyncPassthroughClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawAsyncPassthroughClient - """ - return self._raw_client - - async def create( - self, *, request: DataPassthroughRequest, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncPassthroughReciept: - """ - Asynchronously pull data from an endpoint not currently supported by Merge. - - Parameters - ---------- - request : DataPassthroughRequest - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncPassthroughReciept - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - from merge.resources.chat import DataPassthroughRequest, MethodEnum - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.chat.async_passthrough.create( - request=DataPassthroughRequest( - method=MethodEnum.GET, - path="/scooters", - ), - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.create(request=request, request_options=request_options) - return _response.data - - async def retrieve( - self, async_passthrough_receipt_id: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncPassthroughRetrieveResponse: - """ - Retrieves data from earlier async-passthrough POST request - - Parameters - ---------- - async_passthrough_receipt_id : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncPassthroughRetrieveResponse - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.chat.async_passthrough.retrieve( - async_passthrough_receipt_id="async_passthrough_receipt_id", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.retrieve(async_passthrough_receipt_id, request_options=request_options) - return _response.data diff --git a/src/merge/resources/chat/resources/async_passthrough/raw_client.py b/src/merge/resources/chat/resources/async_passthrough/raw_client.py deleted file mode 100644 index 37006b02..00000000 --- a/src/merge/resources/chat/resources/async_passthrough/raw_client.py +++ /dev/null @@ -1,189 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.jsonable_encoder import jsonable_encoder -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.async_passthrough_reciept import AsyncPassthroughReciept -from ...types.data_passthrough_request import DataPassthroughRequest -from .types.async_passthrough_retrieve_response import AsyncPassthroughRetrieveResponse - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class RawAsyncPassthroughClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def create( - self, *, request: DataPassthroughRequest, request_options: typing.Optional[RequestOptions] = None - ) -> HttpResponse[AsyncPassthroughReciept]: - """ - Asynchronously pull data from an endpoint not currently supported by Merge. - - Parameters - ---------- - request : DataPassthroughRequest - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[AsyncPassthroughReciept] - - """ - _response = self._client_wrapper.httpx_client.request( - "chat/v1/async-passthrough", - method="POST", - json=request, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - AsyncPassthroughReciept, - construct_type( - type_=AsyncPassthroughReciept, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def retrieve( - self, async_passthrough_receipt_id: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> HttpResponse[AsyncPassthroughRetrieveResponse]: - """ - Retrieves data from earlier async-passthrough POST request - - Parameters - ---------- - async_passthrough_receipt_id : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[AsyncPassthroughRetrieveResponse] - - """ - _response = self._client_wrapper.httpx_client.request( - f"chat/v1/async-passthrough/{jsonable_encoder(async_passthrough_receipt_id)}", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - AsyncPassthroughRetrieveResponse, - construct_type( - type_=AsyncPassthroughRetrieveResponse, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawAsyncPassthroughClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def create( - self, *, request: DataPassthroughRequest, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncHttpResponse[AsyncPassthroughReciept]: - """ - Asynchronously pull data from an endpoint not currently supported by Merge. - - Parameters - ---------- - request : DataPassthroughRequest - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[AsyncPassthroughReciept] - - """ - _response = await self._client_wrapper.httpx_client.request( - "chat/v1/async-passthrough", - method="POST", - json=request, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - AsyncPassthroughReciept, - construct_type( - type_=AsyncPassthroughReciept, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def retrieve( - self, async_passthrough_receipt_id: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncHttpResponse[AsyncPassthroughRetrieveResponse]: - """ - Retrieves data from earlier async-passthrough POST request - - Parameters - ---------- - async_passthrough_receipt_id : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[AsyncPassthroughRetrieveResponse] - - """ - _response = await self._client_wrapper.httpx_client.request( - f"chat/v1/async-passthrough/{jsonable_encoder(async_passthrough_receipt_id)}", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - AsyncPassthroughRetrieveResponse, - construct_type( - type_=AsyncPassthroughRetrieveResponse, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/chat/resources/async_passthrough/types/__init__.py b/src/merge/resources/chat/resources/async_passthrough/types/__init__.py deleted file mode 100644 index f6e9bec9..00000000 --- a/src/merge/resources/chat/resources/async_passthrough/types/__init__.py +++ /dev/null @@ -1,32 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - -import typing -from importlib import import_module - -if typing.TYPE_CHECKING: - from .async_passthrough_retrieve_response import AsyncPassthroughRetrieveResponse -_dynamic_imports: typing.Dict[str, str] = {"AsyncPassthroughRetrieveResponse": ".async_passthrough_retrieve_response"} - - -def __getattr__(attr_name: str) -> typing.Any: - module_name = _dynamic_imports.get(attr_name) - if module_name is None: - raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") - try: - module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result - except ImportError as e: - raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e - except AttributeError as e: - raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e - - -def __dir__(): - lazy_attrs = list(_dynamic_imports.keys()) - return sorted(lazy_attrs) - - -__all__ = ["AsyncPassthroughRetrieveResponse"] diff --git a/src/merge/resources/chat/resources/audit_trail/client.py b/src/merge/resources/chat/resources/audit_trail/client.py deleted file mode 100644 index 87803242..00000000 --- a/src/merge/resources/chat/resources/audit_trail/client.py +++ /dev/null @@ -1,188 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.paginated_audit_log_event_list import PaginatedAuditLogEventList -from .raw_client import AsyncRawAuditTrailClient, RawAuditTrailClient - - -class AuditTrailClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawAuditTrailClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawAuditTrailClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawAuditTrailClient - """ - return self._raw_client - - def list( - self, - *, - cursor: typing.Optional[str] = None, - end_date: typing.Optional[str] = None, - event_type: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - start_date: typing.Optional[str] = None, - user_email: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAuditLogEventList: - """ - Gets a list of audit trail events. - - Parameters - ---------- - cursor : typing.Optional[str] - The pagination cursor value. - - end_date : typing.Optional[str] - If included, will only include audit trail events that occurred before this time - - event_type : typing.Optional[str] - If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - start_date : typing.Optional[str] - If included, will only include audit trail events that occurred after this time - - user_email : typing.Optional[str] - If provided, this will return events associated with the specified user email. Please note that the email address reflects the user's email at the time of the event, and may not be their current email. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedAuditLogEventList - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.chat.audit_trail.list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_date="end_date", - event_type="event_type", - page_size=1, - start_date="start_date", - user_email="user_email", - ) - """ - _response = self._raw_client.list( - cursor=cursor, - end_date=end_date, - event_type=event_type, - page_size=page_size, - start_date=start_date, - user_email=user_email, - request_options=request_options, - ) - return _response.data - - -class AsyncAuditTrailClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawAuditTrailClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawAuditTrailClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawAuditTrailClient - """ - return self._raw_client - - async def list( - self, - *, - cursor: typing.Optional[str] = None, - end_date: typing.Optional[str] = None, - event_type: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - start_date: typing.Optional[str] = None, - user_email: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAuditLogEventList: - """ - Gets a list of audit trail events. - - Parameters - ---------- - cursor : typing.Optional[str] - The pagination cursor value. - - end_date : typing.Optional[str] - If included, will only include audit trail events that occurred before this time - - event_type : typing.Optional[str] - If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - start_date : typing.Optional[str] - If included, will only include audit trail events that occurred after this time - - user_email : typing.Optional[str] - If provided, this will return events associated with the specified user email. Please note that the email address reflects the user's email at the time of the event, and may not be their current email. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedAuditLogEventList - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.chat.audit_trail.list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_date="end_date", - event_type="event_type", - page_size=1, - start_date="start_date", - user_email="user_email", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.list( - cursor=cursor, - end_date=end_date, - event_type=event_type, - page_size=page_size, - start_date=start_date, - user_email=user_email, - request_options=request_options, - ) - return _response.data diff --git a/src/merge/resources/chat/resources/audit_trail/raw_client.py b/src/merge/resources/chat/resources/audit_trail/raw_client.py deleted file mode 100644 index 3e5f7e89..00000000 --- a/src/merge/resources/chat/resources/audit_trail/raw_client.py +++ /dev/null @@ -1,161 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.paginated_audit_log_event_list import PaginatedAuditLogEventList - - -class RawAuditTrailClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def list( - self, - *, - cursor: typing.Optional[str] = None, - end_date: typing.Optional[str] = None, - event_type: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - start_date: typing.Optional[str] = None, - user_email: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedAuditLogEventList]: - """ - Gets a list of audit trail events. - - Parameters - ---------- - cursor : typing.Optional[str] - The pagination cursor value. - - end_date : typing.Optional[str] - If included, will only include audit trail events that occurred before this time - - event_type : typing.Optional[str] - If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - start_date : typing.Optional[str] - If included, will only include audit trail events that occurred after this time - - user_email : typing.Optional[str] - If provided, this will return events associated with the specified user email. Please note that the email address reflects the user's email at the time of the event, and may not be their current email. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[PaginatedAuditLogEventList] - - """ - _response = self._client_wrapper.httpx_client.request( - "chat/v1/audit-trail", - method="GET", - params={ - "cursor": cursor, - "end_date": end_date, - "event_type": event_type, - "page_size": page_size, - "start_date": start_date, - "user_email": user_email, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedAuditLogEventList, - construct_type( - type_=PaginatedAuditLogEventList, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawAuditTrailClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def list( - self, - *, - cursor: typing.Optional[str] = None, - end_date: typing.Optional[str] = None, - event_type: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - start_date: typing.Optional[str] = None, - user_email: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedAuditLogEventList]: - """ - Gets a list of audit trail events. - - Parameters - ---------- - cursor : typing.Optional[str] - The pagination cursor value. - - end_date : typing.Optional[str] - If included, will only include audit trail events that occurred before this time - - event_type : typing.Optional[str] - If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - start_date : typing.Optional[str] - If included, will only include audit trail events that occurred after this time - - user_email : typing.Optional[str] - If provided, this will return events associated with the specified user email. Please note that the email address reflects the user's email at the time of the event, and may not be their current email. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[PaginatedAuditLogEventList] - - """ - _response = await self._client_wrapper.httpx_client.request( - "chat/v1/audit-trail", - method="GET", - params={ - "cursor": cursor, - "end_date": end_date, - "event_type": event_type, - "page_size": page_size, - "start_date": start_date, - "user_email": user_email, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedAuditLogEventList, - construct_type( - type_=PaginatedAuditLogEventList, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/chat/resources/available_actions/client.py b/src/merge/resources/chat/resources/available_actions/client.py deleted file mode 100644 index e6dafbea..00000000 --- a/src/merge/resources/chat/resources/available_actions/client.py +++ /dev/null @@ -1,102 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.available_actions import AvailableActions -from .raw_client import AsyncRawAvailableActionsClient, RawAvailableActionsClient - - -class AvailableActionsClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawAvailableActionsClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawAvailableActionsClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawAvailableActionsClient - """ - return self._raw_client - - def retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> AvailableActions: - """ - Returns a list of models and actions available for an account. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AvailableActions - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.chat.available_actions.retrieve() - """ - _response = self._raw_client.retrieve(request_options=request_options) - return _response.data - - -class AsyncAvailableActionsClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawAvailableActionsClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawAvailableActionsClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawAvailableActionsClient - """ - return self._raw_client - - async def retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> AvailableActions: - """ - Returns a list of models and actions available for an account. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AvailableActions - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.chat.available_actions.retrieve() - - - asyncio.run(main()) - """ - _response = await self._raw_client.retrieve(request_options=request_options) - return _response.data diff --git a/src/merge/resources/chat/resources/available_actions/raw_client.py b/src/merge/resources/chat/resources/available_actions/raw_client.py deleted file mode 100644 index ba47baf7..00000000 --- a/src/merge/resources/chat/resources/available_actions/raw_client.py +++ /dev/null @@ -1,91 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.available_actions import AvailableActions - - -class RawAvailableActionsClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> HttpResponse[AvailableActions]: - """ - Returns a list of models and actions available for an account. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[AvailableActions] - - """ - _response = self._client_wrapper.httpx_client.request( - "chat/v1/available-actions", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - AvailableActions, - construct_type( - type_=AvailableActions, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawAvailableActionsClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def retrieve( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncHttpResponse[AvailableActions]: - """ - Returns a list of models and actions available for an account. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[AvailableActions] - - """ - _response = await self._client_wrapper.httpx_client.request( - "chat/v1/available-actions", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - AvailableActions, - construct_type( - type_=AvailableActions, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/chat/resources/conversations/__init__.py b/src/merge/resources/chat/resources/conversations/__init__.py deleted file mode 100644 index d53a3f28..00000000 --- a/src/merge/resources/chat/resources/conversations/__init__.py +++ /dev/null @@ -1,32 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - -import typing -from importlib import import_module - -if typing.TYPE_CHECKING: - from .types import ConversationsMembersListRequestExpand -_dynamic_imports: typing.Dict[str, str] = {"ConversationsMembersListRequestExpand": ".types"} - - -def __getattr__(attr_name: str) -> typing.Any: - module_name = _dynamic_imports.get(attr_name) - if module_name is None: - raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") - try: - module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result - except ImportError as e: - raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e - except AttributeError as e: - raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e - - -def __dir__(): - lazy_attrs = list(_dynamic_imports.keys()) - return sorted(lazy_attrs) - - -__all__ = ["ConversationsMembersListRequestExpand"] diff --git a/src/merge/resources/chat/resources/conversations/client.py b/src/merge/resources/chat/resources/conversations/client.py deleted file mode 100644 index 0a9100aa..00000000 --- a/src/merge/resources/chat/resources/conversations/client.py +++ /dev/null @@ -1,553 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.conversation import Conversation -from ...types.paginated_conversation_list import PaginatedConversationList -from ...types.paginated_member_list import PaginatedMemberList -from .raw_client import AsyncRawConversationsClient, RawConversationsClient -from .types.conversations_members_list_request_expand import ConversationsMembersListRequestExpand - - -class ConversationsClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawConversationsClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawConversationsClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawConversationsClient - """ - return self._raw_client - - def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["members"]] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedConversationList: - """ - Returns a list of `Conversation` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - expand : typing.Optional[typing.Literal["members"]] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedConversationList - - - Examples - -------- - import datetime - - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.chat.conversations.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", - ) - """ - _response = self._raw_client.list( - created_after=created_after, - created_before=created_before, - cursor=cursor, - expand=expand, - include_deleted_data=include_deleted_data, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - modified_after=modified_after, - modified_before=modified_before, - page_size=page_size, - remote_id=remote_id, - request_options=request_options, - ) - return _response.data - - def members_list( - self, - conversation_id: str, - *, - cursor: typing.Optional[str] = None, - expand: typing.Optional[ConversationsMembersListRequestExpand] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - page_size: typing.Optional[int] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedMemberList: - """ - Returns a list of `Member` objects. - - Parameters - ---------- - conversation_id : str - - cursor : typing.Optional[str] - The pagination cursor value. - - expand : typing.Optional[ConversationsMembersListRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedMemberList - - - Examples - -------- - from merge import Merge - from merge.resources.chat.resources.conversations import ( - ConversationsMembersListRequestExpand, - ) - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.chat.conversations.members_list( - conversation_id="conversation_id", - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=ConversationsMembersListRequestExpand.GROUP, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - page_size=1, - ) - """ - _response = self._raw_client.members_list( - conversation_id, - cursor=cursor, - expand=expand, - include_deleted_data=include_deleted_data, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - page_size=page_size, - request_options=request_options, - ) - return _response.data - - def retrieve( - self, - id: str, - *, - expand: typing.Optional[typing.Literal["members"]] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> Conversation: - """ - Returns a `Conversation` object with the given `id`. - - Parameters - ---------- - id : str - - expand : typing.Optional[typing.Literal["members"]] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - Conversation - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.chat.conversations.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, - ) - """ - _response = self._raw_client.retrieve( - id, - expand=expand, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - request_options=request_options, - ) - return _response.data - - -class AsyncConversationsClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawConversationsClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawConversationsClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawConversationsClient - """ - return self._raw_client - - async def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["members"]] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedConversationList: - """ - Returns a list of `Conversation` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - expand : typing.Optional[typing.Literal["members"]] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedConversationList - - - Examples - -------- - import asyncio - import datetime - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.chat.conversations.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.list( - created_after=created_after, - created_before=created_before, - cursor=cursor, - expand=expand, - include_deleted_data=include_deleted_data, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - modified_after=modified_after, - modified_before=modified_before, - page_size=page_size, - remote_id=remote_id, - request_options=request_options, - ) - return _response.data - - async def members_list( - self, - conversation_id: str, - *, - cursor: typing.Optional[str] = None, - expand: typing.Optional[ConversationsMembersListRequestExpand] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - page_size: typing.Optional[int] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedMemberList: - """ - Returns a list of `Member` objects. - - Parameters - ---------- - conversation_id : str - - cursor : typing.Optional[str] - The pagination cursor value. - - expand : typing.Optional[ConversationsMembersListRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedMemberList - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - from merge.resources.chat.resources.conversations import ( - ConversationsMembersListRequestExpand, - ) - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.chat.conversations.members_list( - conversation_id="conversation_id", - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=ConversationsMembersListRequestExpand.GROUP, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - page_size=1, - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.members_list( - conversation_id, - cursor=cursor, - expand=expand, - include_deleted_data=include_deleted_data, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - page_size=page_size, - request_options=request_options, - ) - return _response.data - - async def retrieve( - self, - id: str, - *, - expand: typing.Optional[typing.Literal["members"]] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> Conversation: - """ - Returns a `Conversation` object with the given `id`. - - Parameters - ---------- - id : str - - expand : typing.Optional[typing.Literal["members"]] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - Conversation - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.chat.conversations.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.retrieve( - id, - expand=expand, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - request_options=request_options, - ) - return _response.data diff --git a/src/merge/resources/chat/resources/conversations/raw_client.py b/src/merge/resources/chat/resources/conversations/raw_client.py deleted file mode 100644 index 6019eeb3..00000000 --- a/src/merge/resources/chat/resources/conversations/raw_client.py +++ /dev/null @@ -1,479 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.datetime_utils import serialize_datetime -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.jsonable_encoder import jsonable_encoder -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.conversation import Conversation -from ...types.paginated_conversation_list import PaginatedConversationList -from ...types.paginated_member_list import PaginatedMemberList -from .types.conversations_members_list_request_expand import ConversationsMembersListRequestExpand - - -class RawConversationsClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["members"]] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedConversationList]: - """ - Returns a list of `Conversation` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - expand : typing.Optional[typing.Literal["members"]] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[PaginatedConversationList] - - """ - _response = self._client_wrapper.httpx_client.request( - "chat/v1/conversations", - method="GET", - params={ - "created_after": serialize_datetime(created_after) if created_after is not None else None, - "created_before": serialize_datetime(created_before) if created_before is not None else None, - "cursor": cursor, - "expand": expand, - "include_deleted_data": include_deleted_data, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - "modified_after": serialize_datetime(modified_after) if modified_after is not None else None, - "modified_before": serialize_datetime(modified_before) if modified_before is not None else None, - "page_size": page_size, - "remote_id": remote_id, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedConversationList, - construct_type( - type_=PaginatedConversationList, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def members_list( - self, - conversation_id: str, - *, - cursor: typing.Optional[str] = None, - expand: typing.Optional[ConversationsMembersListRequestExpand] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - page_size: typing.Optional[int] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedMemberList]: - """ - Returns a list of `Member` objects. - - Parameters - ---------- - conversation_id : str - - cursor : typing.Optional[str] - The pagination cursor value. - - expand : typing.Optional[ConversationsMembersListRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[PaginatedMemberList] - - """ - _response = self._client_wrapper.httpx_client.request( - f"chat/v1/conversations/{jsonable_encoder(conversation_id)}/members", - method="GET", - params={ - "cursor": cursor, - "expand": expand, - "include_deleted_data": include_deleted_data, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - "page_size": page_size, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedMemberList, - construct_type( - type_=PaginatedMemberList, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def retrieve( - self, - id: str, - *, - expand: typing.Optional[typing.Literal["members"]] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[Conversation]: - """ - Returns a `Conversation` object with the given `id`. - - Parameters - ---------- - id : str - - expand : typing.Optional[typing.Literal["members"]] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[Conversation] - - """ - _response = self._client_wrapper.httpx_client.request( - f"chat/v1/conversations/{jsonable_encoder(id)}", - method="GET", - params={ - "expand": expand, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - Conversation, - construct_type( - type_=Conversation, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawConversationsClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["members"]] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedConversationList]: - """ - Returns a list of `Conversation` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - expand : typing.Optional[typing.Literal["members"]] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[PaginatedConversationList] - - """ - _response = await self._client_wrapper.httpx_client.request( - "chat/v1/conversations", - method="GET", - params={ - "created_after": serialize_datetime(created_after) if created_after is not None else None, - "created_before": serialize_datetime(created_before) if created_before is not None else None, - "cursor": cursor, - "expand": expand, - "include_deleted_data": include_deleted_data, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - "modified_after": serialize_datetime(modified_after) if modified_after is not None else None, - "modified_before": serialize_datetime(modified_before) if modified_before is not None else None, - "page_size": page_size, - "remote_id": remote_id, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedConversationList, - construct_type( - type_=PaginatedConversationList, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def members_list( - self, - conversation_id: str, - *, - cursor: typing.Optional[str] = None, - expand: typing.Optional[ConversationsMembersListRequestExpand] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - page_size: typing.Optional[int] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedMemberList]: - """ - Returns a list of `Member` objects. - - Parameters - ---------- - conversation_id : str - - cursor : typing.Optional[str] - The pagination cursor value. - - expand : typing.Optional[ConversationsMembersListRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[PaginatedMemberList] - - """ - _response = await self._client_wrapper.httpx_client.request( - f"chat/v1/conversations/{jsonable_encoder(conversation_id)}/members", - method="GET", - params={ - "cursor": cursor, - "expand": expand, - "include_deleted_data": include_deleted_data, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - "page_size": page_size, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedMemberList, - construct_type( - type_=PaginatedMemberList, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def retrieve( - self, - id: str, - *, - expand: typing.Optional[typing.Literal["members"]] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[Conversation]: - """ - Returns a `Conversation` object with the given `id`. - - Parameters - ---------- - id : str - - expand : typing.Optional[typing.Literal["members"]] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[Conversation] - - """ - _response = await self._client_wrapper.httpx_client.request( - f"chat/v1/conversations/{jsonable_encoder(id)}", - method="GET", - params={ - "expand": expand, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - Conversation, - construct_type( - type_=Conversation, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/chat/resources/conversations/types/__init__.py b/src/merge/resources/chat/resources/conversations/types/__init__.py deleted file mode 100644 index 21ba60f0..00000000 --- a/src/merge/resources/chat/resources/conversations/types/__init__.py +++ /dev/null @@ -1,34 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - -import typing -from importlib import import_module - -if typing.TYPE_CHECKING: - from .conversations_members_list_request_expand import ConversationsMembersListRequestExpand -_dynamic_imports: typing.Dict[str, str] = { - "ConversationsMembersListRequestExpand": ".conversations_members_list_request_expand" -} - - -def __getattr__(attr_name: str) -> typing.Any: - module_name = _dynamic_imports.get(attr_name) - if module_name is None: - raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") - try: - module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result - except ImportError as e: - raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e - except AttributeError as e: - raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e - - -def __dir__(): - lazy_attrs = list(_dynamic_imports.keys()) - return sorted(lazy_attrs) - - -__all__ = ["ConversationsMembersListRequestExpand"] diff --git a/src/merge/resources/chat/resources/conversations/types/conversations_members_list_request_expand.py b/src/merge/resources/chat/resources/conversations/types/conversations_members_list_request_expand.py deleted file mode 100644 index 0653db6d..00000000 --- a/src/merge/resources/chat/resources/conversations/types/conversations_members_list_request_expand.py +++ /dev/null @@ -1,25 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class ConversationsMembersListRequestExpand(str, enum.Enum): - GROUP = "group" - USER = "user" - USER_GROUP = "user,group" - - def visit( - self, - group: typing.Callable[[], T_Result], - user: typing.Callable[[], T_Result], - user_group: typing.Callable[[], T_Result], - ) -> T_Result: - if self is ConversationsMembersListRequestExpand.GROUP: - return group() - if self is ConversationsMembersListRequestExpand.USER: - return user() - if self is ConversationsMembersListRequestExpand.USER_GROUP: - return user_group() diff --git a/src/merge/resources/chat/resources/delete_account/client.py b/src/merge/resources/chat/resources/delete_account/client.py deleted file mode 100644 index 44dab555..00000000 --- a/src/merge/resources/chat/resources/delete_account/client.py +++ /dev/null @@ -1,99 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from .raw_client import AsyncRawDeleteAccountClient, RawDeleteAccountClient - - -class DeleteAccountClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawDeleteAccountClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawDeleteAccountClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawDeleteAccountClient - """ - return self._raw_client - - def delete(self, *, request_options: typing.Optional[RequestOptions] = None) -> None: - """ - Delete a linked account. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - None - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.chat.delete_account.delete() - """ - _response = self._raw_client.delete(request_options=request_options) - return _response.data - - -class AsyncDeleteAccountClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawDeleteAccountClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawDeleteAccountClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawDeleteAccountClient - """ - return self._raw_client - - async def delete(self, *, request_options: typing.Optional[RequestOptions] = None) -> None: - """ - Delete a linked account. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - None - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.chat.delete_account.delete() - - - asyncio.run(main()) - """ - _response = await self._raw_client.delete(request_options=request_options) - return _response.data diff --git a/src/merge/resources/chat/resources/delete_account/raw_client.py b/src/merge/resources/chat/resources/delete_account/raw_client.py deleted file mode 100644 index 67cfa096..00000000 --- a/src/merge/resources/chat/resources/delete_account/raw_client.py +++ /dev/null @@ -1,71 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.request_options import RequestOptions - - -class RawDeleteAccountClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def delete(self, *, request_options: typing.Optional[RequestOptions] = None) -> HttpResponse[None]: - """ - Delete a linked account. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[None] - """ - _response = self._client_wrapper.httpx_client.request( - "chat/v1/delete-account", - method="POST", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - return HttpResponse(response=_response, data=None) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawDeleteAccountClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def delete(self, *, request_options: typing.Optional[RequestOptions] = None) -> AsyncHttpResponse[None]: - """ - Delete a linked account. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[None] - """ - _response = await self._client_wrapper.httpx_client.request( - "chat/v1/delete-account", - method="POST", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - return AsyncHttpResponse(response=_response, data=None) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/chat/resources/field_mapping/client.py b/src/merge/resources/chat/resources/field_mapping/client.py deleted file mode 100644 index c781dd2c..00000000 --- a/src/merge/resources/chat/resources/field_mapping/client.py +++ /dev/null @@ -1,664 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.external_target_field_api_response import ExternalTargetFieldApiResponse -from ...types.field_mapping_api_instance_response import FieldMappingApiInstanceResponse -from ...types.field_mapping_instance_response import FieldMappingInstanceResponse -from ...types.remote_field_api_response import RemoteFieldApiResponse -from .raw_client import AsyncRawFieldMappingClient, RawFieldMappingClient - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class FieldMappingClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawFieldMappingClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawFieldMappingClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawFieldMappingClient - """ - return self._raw_client - - def field_mappings_retrieve( - self, - *, - exclude_remote_field_metadata: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> FieldMappingApiInstanceResponse: - """ - Get all Field Mappings for this Linked Account. Field Mappings are mappings between third-party Remote Fields and user defined Merge fields. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). - - Parameters - ---------- - exclude_remote_field_metadata : typing.Optional[bool] - If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - FieldMappingApiInstanceResponse - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.chat.field_mapping.field_mappings_retrieve( - exclude_remote_field_metadata=True, - ) - """ - _response = self._raw_client.field_mappings_retrieve( - exclude_remote_field_metadata=exclude_remote_field_metadata, request_options=request_options - ) - return _response.data - - def field_mappings_create( - self, - *, - target_field_name: str, - target_field_description: str, - remote_field_traversal_path: typing.Sequence[typing.Optional[typing.Any]], - remote_method: str, - remote_url_path: str, - common_model_name: str, - exclude_remote_field_metadata: typing.Optional[bool] = None, - jmes_path: typing.Optional[str] = OMIT, - request_options: typing.Optional[RequestOptions] = None, - ) -> FieldMappingInstanceResponse: - """ - Create new Field Mappings that will be available after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. - - Parameters - ---------- - target_field_name : str - The name of the target field you want this remote field to map to. - - target_field_description : str - The description of the target field you want this remote field to map to. - - remote_field_traversal_path : typing.Sequence[typing.Optional[typing.Any]] - The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. - - remote_method : str - The method of the remote endpoint where the remote field is coming from. - - remote_url_path : str - The path of the remote endpoint where the remote field is coming from. - - common_model_name : str - The name of the Common Model that the remote field corresponds to in a given category. - - exclude_remote_field_metadata : typing.Optional[bool] - If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. - - jmes_path : typing.Optional[str] - JMES path to specify json query expression to be used on field mapping. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - FieldMappingInstanceResponse - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.chat.field_mapping.field_mappings_create( - exclude_remote_field_metadata=True, - target_field_name="example_target_field_name", - target_field_description="this is a example description of the target field", - remote_field_traversal_path=["example_remote_field"], - remote_method="GET", - remote_url_path="/example-url-path", - common_model_name="ExampleCommonModel", - ) - """ - _response = self._raw_client.field_mappings_create( - target_field_name=target_field_name, - target_field_description=target_field_description, - remote_field_traversal_path=remote_field_traversal_path, - remote_method=remote_method, - remote_url_path=remote_url_path, - common_model_name=common_model_name, - exclude_remote_field_metadata=exclude_remote_field_metadata, - jmes_path=jmes_path, - request_options=request_options, - ) - return _response.data - - def field_mappings_destroy( - self, field_mapping_id: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> FieldMappingInstanceResponse: - """ - Deletes Field Mappings for a Linked Account. All data related to this Field Mapping will be deleted and these changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. - - Parameters - ---------- - field_mapping_id : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - FieldMappingInstanceResponse - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.chat.field_mapping.field_mappings_destroy( - field_mapping_id="field_mapping_id", - ) - """ - _response = self._raw_client.field_mappings_destroy(field_mapping_id, request_options=request_options) - return _response.data - - def field_mappings_partial_update( - self, - field_mapping_id: str, - *, - remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] = OMIT, - remote_method: typing.Optional[str] = OMIT, - remote_url_path: typing.Optional[str] = OMIT, - jmes_path: typing.Optional[str] = OMIT, - request_options: typing.Optional[RequestOptions] = None, - ) -> FieldMappingInstanceResponse: - """ - Create or update existing Field Mappings for a Linked Account. Changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. - - Parameters - ---------- - field_mapping_id : str - - remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] - The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. - - remote_method : typing.Optional[str] - The method of the remote endpoint where the remote field is coming from. - - remote_url_path : typing.Optional[str] - The path of the remote endpoint where the remote field is coming from. - - jmes_path : typing.Optional[str] - JMES path to specify json query expression to be used on field mapping. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - FieldMappingInstanceResponse - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.chat.field_mapping.field_mappings_partial_update( - field_mapping_id="field_mapping_id", - ) - """ - _response = self._raw_client.field_mappings_partial_update( - field_mapping_id, - remote_field_traversal_path=remote_field_traversal_path, - remote_method=remote_method, - remote_url_path=remote_url_path, - jmes_path=jmes_path, - request_options=request_options, - ) - return _response.data - - def remote_fields_retrieve( - self, - *, - common_models: typing.Optional[str] = None, - include_example_values: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> RemoteFieldApiResponse: - """ - Get all remote fields for a Linked Account. Remote fields are third-party fields that are accessible after initial sync if remote_data is enabled. You can use remote fields to override existing Merge fields or map a new Merge field. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). - - Parameters - ---------- - common_models : typing.Optional[str] - A comma seperated list of Common Model names. If included, will only return Remote Fields for those Common Models. - - include_example_values : typing.Optional[str] - If true, will include example values, where available, for remote fields in the 3rd party platform. These examples come from active data from your customers. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - RemoteFieldApiResponse - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.chat.field_mapping.remote_fields_retrieve( - common_models="common_models", - include_example_values="include_example_values", - ) - """ - _response = self._raw_client.remote_fields_retrieve( - common_models=common_models, include_example_values=include_example_values, request_options=request_options - ) - return _response.data - - def target_fields_retrieve( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> ExternalTargetFieldApiResponse: - """ - Get all organization-wide Target Fields, this will not include any Linked Account specific Target Fields. Organization-wide Target Fields are additional fields appended to the Merge Common Model for all Linked Accounts in a category. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/target-fields/). - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - ExternalTargetFieldApiResponse - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.chat.field_mapping.target_fields_retrieve() - """ - _response = self._raw_client.target_fields_retrieve(request_options=request_options) - return _response.data - - -class AsyncFieldMappingClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawFieldMappingClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawFieldMappingClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawFieldMappingClient - """ - return self._raw_client - - async def field_mappings_retrieve( - self, - *, - exclude_remote_field_metadata: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> FieldMappingApiInstanceResponse: - """ - Get all Field Mappings for this Linked Account. Field Mappings are mappings between third-party Remote Fields and user defined Merge fields. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). - - Parameters - ---------- - exclude_remote_field_metadata : typing.Optional[bool] - If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - FieldMappingApiInstanceResponse - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.chat.field_mapping.field_mappings_retrieve( - exclude_remote_field_metadata=True, - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.field_mappings_retrieve( - exclude_remote_field_metadata=exclude_remote_field_metadata, request_options=request_options - ) - return _response.data - - async def field_mappings_create( - self, - *, - target_field_name: str, - target_field_description: str, - remote_field_traversal_path: typing.Sequence[typing.Optional[typing.Any]], - remote_method: str, - remote_url_path: str, - common_model_name: str, - exclude_remote_field_metadata: typing.Optional[bool] = None, - jmes_path: typing.Optional[str] = OMIT, - request_options: typing.Optional[RequestOptions] = None, - ) -> FieldMappingInstanceResponse: - """ - Create new Field Mappings that will be available after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. - - Parameters - ---------- - target_field_name : str - The name of the target field you want this remote field to map to. - - target_field_description : str - The description of the target field you want this remote field to map to. - - remote_field_traversal_path : typing.Sequence[typing.Optional[typing.Any]] - The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. - - remote_method : str - The method of the remote endpoint where the remote field is coming from. - - remote_url_path : str - The path of the remote endpoint where the remote field is coming from. - - common_model_name : str - The name of the Common Model that the remote field corresponds to in a given category. - - exclude_remote_field_metadata : typing.Optional[bool] - If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. - - jmes_path : typing.Optional[str] - JMES path to specify json query expression to be used on field mapping. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - FieldMappingInstanceResponse - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.chat.field_mapping.field_mappings_create( - exclude_remote_field_metadata=True, - target_field_name="example_target_field_name", - target_field_description="this is a example description of the target field", - remote_field_traversal_path=["example_remote_field"], - remote_method="GET", - remote_url_path="/example-url-path", - common_model_name="ExampleCommonModel", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.field_mappings_create( - target_field_name=target_field_name, - target_field_description=target_field_description, - remote_field_traversal_path=remote_field_traversal_path, - remote_method=remote_method, - remote_url_path=remote_url_path, - common_model_name=common_model_name, - exclude_remote_field_metadata=exclude_remote_field_metadata, - jmes_path=jmes_path, - request_options=request_options, - ) - return _response.data - - async def field_mappings_destroy( - self, field_mapping_id: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> FieldMappingInstanceResponse: - """ - Deletes Field Mappings for a Linked Account. All data related to this Field Mapping will be deleted and these changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. - - Parameters - ---------- - field_mapping_id : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - FieldMappingInstanceResponse - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.chat.field_mapping.field_mappings_destroy( - field_mapping_id="field_mapping_id", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.field_mappings_destroy(field_mapping_id, request_options=request_options) - return _response.data - - async def field_mappings_partial_update( - self, - field_mapping_id: str, - *, - remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] = OMIT, - remote_method: typing.Optional[str] = OMIT, - remote_url_path: typing.Optional[str] = OMIT, - jmes_path: typing.Optional[str] = OMIT, - request_options: typing.Optional[RequestOptions] = None, - ) -> FieldMappingInstanceResponse: - """ - Create or update existing Field Mappings for a Linked Account. Changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. - - Parameters - ---------- - field_mapping_id : str - - remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] - The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. - - remote_method : typing.Optional[str] - The method of the remote endpoint where the remote field is coming from. - - remote_url_path : typing.Optional[str] - The path of the remote endpoint where the remote field is coming from. - - jmes_path : typing.Optional[str] - JMES path to specify json query expression to be used on field mapping. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - FieldMappingInstanceResponse - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.chat.field_mapping.field_mappings_partial_update( - field_mapping_id="field_mapping_id", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.field_mappings_partial_update( - field_mapping_id, - remote_field_traversal_path=remote_field_traversal_path, - remote_method=remote_method, - remote_url_path=remote_url_path, - jmes_path=jmes_path, - request_options=request_options, - ) - return _response.data - - async def remote_fields_retrieve( - self, - *, - common_models: typing.Optional[str] = None, - include_example_values: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> RemoteFieldApiResponse: - """ - Get all remote fields for a Linked Account. Remote fields are third-party fields that are accessible after initial sync if remote_data is enabled. You can use remote fields to override existing Merge fields or map a new Merge field. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). - - Parameters - ---------- - common_models : typing.Optional[str] - A comma seperated list of Common Model names. If included, will only return Remote Fields for those Common Models. - - include_example_values : typing.Optional[str] - If true, will include example values, where available, for remote fields in the 3rd party platform. These examples come from active data from your customers. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - RemoteFieldApiResponse - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.chat.field_mapping.remote_fields_retrieve( - common_models="common_models", - include_example_values="include_example_values", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.remote_fields_retrieve( - common_models=common_models, include_example_values=include_example_values, request_options=request_options - ) - return _response.data - - async def target_fields_retrieve( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> ExternalTargetFieldApiResponse: - """ - Get all organization-wide Target Fields, this will not include any Linked Account specific Target Fields. Organization-wide Target Fields are additional fields appended to the Merge Common Model for all Linked Accounts in a category. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/target-fields/). - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - ExternalTargetFieldApiResponse - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.chat.field_mapping.target_fields_retrieve() - - - asyncio.run(main()) - """ - _response = await self._raw_client.target_fields_retrieve(request_options=request_options) - return _response.data diff --git a/src/merge/resources/chat/resources/field_mapping/raw_client.py b/src/merge/resources/chat/resources/field_mapping/raw_client.py deleted file mode 100644 index e671dd4b..00000000 --- a/src/merge/resources/chat/resources/field_mapping/raw_client.py +++ /dev/null @@ -1,672 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.jsonable_encoder import jsonable_encoder -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.external_target_field_api_response import ExternalTargetFieldApiResponse -from ...types.field_mapping_api_instance_response import FieldMappingApiInstanceResponse -from ...types.field_mapping_instance_response import FieldMappingInstanceResponse -from ...types.remote_field_api_response import RemoteFieldApiResponse - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class RawFieldMappingClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def field_mappings_retrieve( - self, - *, - exclude_remote_field_metadata: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[FieldMappingApiInstanceResponse]: - """ - Get all Field Mappings for this Linked Account. Field Mappings are mappings between third-party Remote Fields and user defined Merge fields. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). - - Parameters - ---------- - exclude_remote_field_metadata : typing.Optional[bool] - If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[FieldMappingApiInstanceResponse] - - """ - _response = self._client_wrapper.httpx_client.request( - "chat/v1/field-mappings", - method="GET", - params={ - "exclude_remote_field_metadata": exclude_remote_field_metadata, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - FieldMappingApiInstanceResponse, - construct_type( - type_=FieldMappingApiInstanceResponse, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def field_mappings_create( - self, - *, - target_field_name: str, - target_field_description: str, - remote_field_traversal_path: typing.Sequence[typing.Optional[typing.Any]], - remote_method: str, - remote_url_path: str, - common_model_name: str, - exclude_remote_field_metadata: typing.Optional[bool] = None, - jmes_path: typing.Optional[str] = OMIT, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[FieldMappingInstanceResponse]: - """ - Create new Field Mappings that will be available after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. - - Parameters - ---------- - target_field_name : str - The name of the target field you want this remote field to map to. - - target_field_description : str - The description of the target field you want this remote field to map to. - - remote_field_traversal_path : typing.Sequence[typing.Optional[typing.Any]] - The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. - - remote_method : str - The method of the remote endpoint where the remote field is coming from. - - remote_url_path : str - The path of the remote endpoint where the remote field is coming from. - - common_model_name : str - The name of the Common Model that the remote field corresponds to in a given category. - - exclude_remote_field_metadata : typing.Optional[bool] - If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. - - jmes_path : typing.Optional[str] - JMES path to specify json query expression to be used on field mapping. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[FieldMappingInstanceResponse] - - """ - _response = self._client_wrapper.httpx_client.request( - "chat/v1/field-mappings", - method="POST", - params={ - "exclude_remote_field_metadata": exclude_remote_field_metadata, - }, - json={ - "target_field_name": target_field_name, - "target_field_description": target_field_description, - "remote_field_traversal_path": remote_field_traversal_path, - "remote_method": remote_method, - "remote_url_path": remote_url_path, - "common_model_name": common_model_name, - "jmes_path": jmes_path, - }, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - FieldMappingInstanceResponse, - construct_type( - type_=FieldMappingInstanceResponse, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def field_mappings_destroy( - self, field_mapping_id: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> HttpResponse[FieldMappingInstanceResponse]: - """ - Deletes Field Mappings for a Linked Account. All data related to this Field Mapping will be deleted and these changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. - - Parameters - ---------- - field_mapping_id : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[FieldMappingInstanceResponse] - - """ - _response = self._client_wrapper.httpx_client.request( - f"chat/v1/field-mappings/{jsonable_encoder(field_mapping_id)}", - method="DELETE", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - FieldMappingInstanceResponse, - construct_type( - type_=FieldMappingInstanceResponse, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def field_mappings_partial_update( - self, - field_mapping_id: str, - *, - remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] = OMIT, - remote_method: typing.Optional[str] = OMIT, - remote_url_path: typing.Optional[str] = OMIT, - jmes_path: typing.Optional[str] = OMIT, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[FieldMappingInstanceResponse]: - """ - Create or update existing Field Mappings for a Linked Account. Changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. - - Parameters - ---------- - field_mapping_id : str - - remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] - The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. - - remote_method : typing.Optional[str] - The method of the remote endpoint where the remote field is coming from. - - remote_url_path : typing.Optional[str] - The path of the remote endpoint where the remote field is coming from. - - jmes_path : typing.Optional[str] - JMES path to specify json query expression to be used on field mapping. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[FieldMappingInstanceResponse] - - """ - _response = self._client_wrapper.httpx_client.request( - f"chat/v1/field-mappings/{jsonable_encoder(field_mapping_id)}", - method="PATCH", - json={ - "remote_field_traversal_path": remote_field_traversal_path, - "remote_method": remote_method, - "remote_url_path": remote_url_path, - "jmes_path": jmes_path, - }, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - FieldMappingInstanceResponse, - construct_type( - type_=FieldMappingInstanceResponse, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def remote_fields_retrieve( - self, - *, - common_models: typing.Optional[str] = None, - include_example_values: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[RemoteFieldApiResponse]: - """ - Get all remote fields for a Linked Account. Remote fields are third-party fields that are accessible after initial sync if remote_data is enabled. You can use remote fields to override existing Merge fields or map a new Merge field. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). - - Parameters - ---------- - common_models : typing.Optional[str] - A comma seperated list of Common Model names. If included, will only return Remote Fields for those Common Models. - - include_example_values : typing.Optional[str] - If true, will include example values, where available, for remote fields in the 3rd party platform. These examples come from active data from your customers. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[RemoteFieldApiResponse] - - """ - _response = self._client_wrapper.httpx_client.request( - "chat/v1/remote-fields", - method="GET", - params={ - "common_models": common_models, - "include_example_values": include_example_values, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - RemoteFieldApiResponse, - construct_type( - type_=RemoteFieldApiResponse, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def target_fields_retrieve( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> HttpResponse[ExternalTargetFieldApiResponse]: - """ - Get all organization-wide Target Fields, this will not include any Linked Account specific Target Fields. Organization-wide Target Fields are additional fields appended to the Merge Common Model for all Linked Accounts in a category. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/target-fields/). - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[ExternalTargetFieldApiResponse] - - """ - _response = self._client_wrapper.httpx_client.request( - "chat/v1/target-fields", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - ExternalTargetFieldApiResponse, - construct_type( - type_=ExternalTargetFieldApiResponse, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawFieldMappingClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def field_mappings_retrieve( - self, - *, - exclude_remote_field_metadata: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[FieldMappingApiInstanceResponse]: - """ - Get all Field Mappings for this Linked Account. Field Mappings are mappings between third-party Remote Fields and user defined Merge fields. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). - - Parameters - ---------- - exclude_remote_field_metadata : typing.Optional[bool] - If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[FieldMappingApiInstanceResponse] - - """ - _response = await self._client_wrapper.httpx_client.request( - "chat/v1/field-mappings", - method="GET", - params={ - "exclude_remote_field_metadata": exclude_remote_field_metadata, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - FieldMappingApiInstanceResponse, - construct_type( - type_=FieldMappingApiInstanceResponse, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def field_mappings_create( - self, - *, - target_field_name: str, - target_field_description: str, - remote_field_traversal_path: typing.Sequence[typing.Optional[typing.Any]], - remote_method: str, - remote_url_path: str, - common_model_name: str, - exclude_remote_field_metadata: typing.Optional[bool] = None, - jmes_path: typing.Optional[str] = OMIT, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[FieldMappingInstanceResponse]: - """ - Create new Field Mappings that will be available after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. - - Parameters - ---------- - target_field_name : str - The name of the target field you want this remote field to map to. - - target_field_description : str - The description of the target field you want this remote field to map to. - - remote_field_traversal_path : typing.Sequence[typing.Optional[typing.Any]] - The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. - - remote_method : str - The method of the remote endpoint where the remote field is coming from. - - remote_url_path : str - The path of the remote endpoint where the remote field is coming from. - - common_model_name : str - The name of the Common Model that the remote field corresponds to in a given category. - - exclude_remote_field_metadata : typing.Optional[bool] - If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. - - jmes_path : typing.Optional[str] - JMES path to specify json query expression to be used on field mapping. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[FieldMappingInstanceResponse] - - """ - _response = await self._client_wrapper.httpx_client.request( - "chat/v1/field-mappings", - method="POST", - params={ - "exclude_remote_field_metadata": exclude_remote_field_metadata, - }, - json={ - "target_field_name": target_field_name, - "target_field_description": target_field_description, - "remote_field_traversal_path": remote_field_traversal_path, - "remote_method": remote_method, - "remote_url_path": remote_url_path, - "common_model_name": common_model_name, - "jmes_path": jmes_path, - }, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - FieldMappingInstanceResponse, - construct_type( - type_=FieldMappingInstanceResponse, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def field_mappings_destroy( - self, field_mapping_id: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncHttpResponse[FieldMappingInstanceResponse]: - """ - Deletes Field Mappings for a Linked Account. All data related to this Field Mapping will be deleted and these changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. - - Parameters - ---------- - field_mapping_id : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[FieldMappingInstanceResponse] - - """ - _response = await self._client_wrapper.httpx_client.request( - f"chat/v1/field-mappings/{jsonable_encoder(field_mapping_id)}", - method="DELETE", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - FieldMappingInstanceResponse, - construct_type( - type_=FieldMappingInstanceResponse, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def field_mappings_partial_update( - self, - field_mapping_id: str, - *, - remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] = OMIT, - remote_method: typing.Optional[str] = OMIT, - remote_url_path: typing.Optional[str] = OMIT, - jmes_path: typing.Optional[str] = OMIT, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[FieldMappingInstanceResponse]: - """ - Create or update existing Field Mappings for a Linked Account. Changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. - - Parameters - ---------- - field_mapping_id : str - - remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] - The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. - - remote_method : typing.Optional[str] - The method of the remote endpoint where the remote field is coming from. - - remote_url_path : typing.Optional[str] - The path of the remote endpoint where the remote field is coming from. - - jmes_path : typing.Optional[str] - JMES path to specify json query expression to be used on field mapping. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[FieldMappingInstanceResponse] - - """ - _response = await self._client_wrapper.httpx_client.request( - f"chat/v1/field-mappings/{jsonable_encoder(field_mapping_id)}", - method="PATCH", - json={ - "remote_field_traversal_path": remote_field_traversal_path, - "remote_method": remote_method, - "remote_url_path": remote_url_path, - "jmes_path": jmes_path, - }, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - FieldMappingInstanceResponse, - construct_type( - type_=FieldMappingInstanceResponse, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def remote_fields_retrieve( - self, - *, - common_models: typing.Optional[str] = None, - include_example_values: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[RemoteFieldApiResponse]: - """ - Get all remote fields for a Linked Account. Remote fields are third-party fields that are accessible after initial sync if remote_data is enabled. You can use remote fields to override existing Merge fields or map a new Merge field. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). - - Parameters - ---------- - common_models : typing.Optional[str] - A comma seperated list of Common Model names. If included, will only return Remote Fields for those Common Models. - - include_example_values : typing.Optional[str] - If true, will include example values, where available, for remote fields in the 3rd party platform. These examples come from active data from your customers. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[RemoteFieldApiResponse] - - """ - _response = await self._client_wrapper.httpx_client.request( - "chat/v1/remote-fields", - method="GET", - params={ - "common_models": common_models, - "include_example_values": include_example_values, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - RemoteFieldApiResponse, - construct_type( - type_=RemoteFieldApiResponse, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def target_fields_retrieve( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncHttpResponse[ExternalTargetFieldApiResponse]: - """ - Get all organization-wide Target Fields, this will not include any Linked Account specific Target Fields. Organization-wide Target Fields are additional fields appended to the Merge Common Model for all Linked Accounts in a category. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/target-fields/). - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[ExternalTargetFieldApiResponse] - - """ - _response = await self._client_wrapper.httpx_client.request( - "chat/v1/target-fields", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - ExternalTargetFieldApiResponse, - construct_type( - type_=ExternalTargetFieldApiResponse, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/chat/resources/force_resync/client.py b/src/merge/resources/chat/resources/force_resync/client.py deleted file mode 100644 index bee5aacd..00000000 --- a/src/merge/resources/chat/resources/force_resync/client.py +++ /dev/null @@ -1,106 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.sync_status import SyncStatus -from .raw_client import AsyncRawForceResyncClient, RawForceResyncClient - - -class ForceResyncClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawForceResyncClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawForceResyncClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawForceResyncClient - """ - return self._raw_client - - def sync_status_resync_create( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> typing.List[SyncStatus]: - """ - Force re-sync of all models. This endpoint is available for monthly, quarterly, and highest sync frequency customers on the Professional or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. Force re-syncs can also be triggered manually in the Merge Dashboard and is available for all customers. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - typing.List[SyncStatus] - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.chat.force_resync.sync_status_resync_create() - """ - _response = self._raw_client.sync_status_resync_create(request_options=request_options) - return _response.data - - -class AsyncForceResyncClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawForceResyncClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawForceResyncClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawForceResyncClient - """ - return self._raw_client - - async def sync_status_resync_create( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> typing.List[SyncStatus]: - """ - Force re-sync of all models. This endpoint is available for monthly, quarterly, and highest sync frequency customers on the Professional or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. Force re-syncs can also be triggered manually in the Merge Dashboard and is available for all customers. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - typing.List[SyncStatus] - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.chat.force_resync.sync_status_resync_create() - - - asyncio.run(main()) - """ - _response = await self._raw_client.sync_status_resync_create(request_options=request_options) - return _response.data diff --git a/src/merge/resources/chat/resources/force_resync/raw_client.py b/src/merge/resources/chat/resources/force_resync/raw_client.py deleted file mode 100644 index 76da107a..00000000 --- a/src/merge/resources/chat/resources/force_resync/raw_client.py +++ /dev/null @@ -1,93 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.sync_status import SyncStatus - - -class RawForceResyncClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def sync_status_resync_create( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> HttpResponse[typing.List[SyncStatus]]: - """ - Force re-sync of all models. This endpoint is available for monthly, quarterly, and highest sync frequency customers on the Professional or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. Force re-syncs can also be triggered manually in the Merge Dashboard and is available for all customers. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[typing.List[SyncStatus]] - - """ - _response = self._client_wrapper.httpx_client.request( - "chat/v1/sync-status/resync", - method="POST", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - typing.List[SyncStatus], - construct_type( - type_=typing.List[SyncStatus], # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawForceResyncClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def sync_status_resync_create( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncHttpResponse[typing.List[SyncStatus]]: - """ - Force re-sync of all models. This endpoint is available for monthly, quarterly, and highest sync frequency customers on the Professional or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. Force re-syncs can also be triggered manually in the Merge Dashboard and is available for all customers. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[typing.List[SyncStatus]] - - """ - _response = await self._client_wrapper.httpx_client.request( - "chat/v1/sync-status/resync", - method="POST", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - typing.List[SyncStatus], - construct_type( - type_=typing.List[SyncStatus], # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/chat/resources/generate_key/client.py b/src/merge/resources/chat/resources/generate_key/client.py deleted file mode 100644 index 0b0e3276..00000000 --- a/src/merge/resources/chat/resources/generate_key/client.py +++ /dev/null @@ -1,115 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.remote_key import RemoteKey -from .raw_client import AsyncRawGenerateKeyClient, RawGenerateKeyClient - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class GenerateKeyClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawGenerateKeyClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawGenerateKeyClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawGenerateKeyClient - """ - return self._raw_client - - def create(self, *, name: str, request_options: typing.Optional[RequestOptions] = None) -> RemoteKey: - """ - Create a remote key. - - Parameters - ---------- - name : str - The name of the remote key - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - RemoteKey - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.chat.generate_key.create( - name="Remote Deployment Key 1", - ) - """ - _response = self._raw_client.create(name=name, request_options=request_options) - return _response.data - - -class AsyncGenerateKeyClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawGenerateKeyClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawGenerateKeyClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawGenerateKeyClient - """ - return self._raw_client - - async def create(self, *, name: str, request_options: typing.Optional[RequestOptions] = None) -> RemoteKey: - """ - Create a remote key. - - Parameters - ---------- - name : str - The name of the remote key - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - RemoteKey - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.chat.generate_key.create( - name="Remote Deployment Key 1", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.create(name=name, request_options=request_options) - return _response.data diff --git a/src/merge/resources/chat/resources/generate_key/raw_client.py b/src/merge/resources/chat/resources/generate_key/raw_client.py deleted file mode 100644 index 869fcbb1..00000000 --- a/src/merge/resources/chat/resources/generate_key/raw_client.py +++ /dev/null @@ -1,114 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.remote_key import RemoteKey - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class RawGenerateKeyClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def create(self, *, name: str, request_options: typing.Optional[RequestOptions] = None) -> HttpResponse[RemoteKey]: - """ - Create a remote key. - - Parameters - ---------- - name : str - The name of the remote key - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[RemoteKey] - - """ - _response = self._client_wrapper.httpx_client.request( - "chat/v1/generate-key", - method="POST", - json={ - "name": name, - }, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - RemoteKey, - construct_type( - type_=RemoteKey, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawGenerateKeyClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def create( - self, *, name: str, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncHttpResponse[RemoteKey]: - """ - Create a remote key. - - Parameters - ---------- - name : str - The name of the remote key - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[RemoteKey] - - """ - _response = await self._client_wrapper.httpx_client.request( - "chat/v1/generate-key", - method="POST", - json={ - "name": name, - }, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - RemoteKey, - construct_type( - type_=RemoteKey, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/chat/resources/groups/client.py b/src/merge/resources/chat/resources/groups/client.py deleted file mode 100644 index 17627ccb..00000000 --- a/src/merge/resources/chat/resources/groups/client.py +++ /dev/null @@ -1,387 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.group import Group -from ...types.paginated_group_list import PaginatedGroupList -from .raw_client import AsyncRawGroupsClient, RawGroupsClient - - -class GroupsClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawGroupsClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawGroupsClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawGroupsClient - """ - return self._raw_client - - def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["users"]] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedGroupList: - """ - Returns a list of `Group` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - expand : typing.Optional[typing.Literal["users"]] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedGroupList - - - Examples - -------- - import datetime - - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.chat.groups.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", - ) - """ - _response = self._raw_client.list( - created_after=created_after, - created_before=created_before, - cursor=cursor, - expand=expand, - include_deleted_data=include_deleted_data, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - modified_after=modified_after, - modified_before=modified_before, - page_size=page_size, - remote_id=remote_id, - request_options=request_options, - ) - return _response.data - - def retrieve( - self, - id: str, - *, - expand: typing.Optional[typing.Literal["users"]] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> Group: - """ - Returns a `Group` object with the given `id`. - - Parameters - ---------- - id : str - - expand : typing.Optional[typing.Literal["users"]] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - Group - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.chat.groups.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, - ) - """ - _response = self._raw_client.retrieve( - id, - expand=expand, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - request_options=request_options, - ) - return _response.data - - -class AsyncGroupsClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawGroupsClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawGroupsClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawGroupsClient - """ - return self._raw_client - - async def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["users"]] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedGroupList: - """ - Returns a list of `Group` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - expand : typing.Optional[typing.Literal["users"]] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedGroupList - - - Examples - -------- - import asyncio - import datetime - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.chat.groups.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.list( - created_after=created_after, - created_before=created_before, - cursor=cursor, - expand=expand, - include_deleted_data=include_deleted_data, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - modified_after=modified_after, - modified_before=modified_before, - page_size=page_size, - remote_id=remote_id, - request_options=request_options, - ) - return _response.data - - async def retrieve( - self, - id: str, - *, - expand: typing.Optional[typing.Literal["users"]] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> Group: - """ - Returns a `Group` object with the given `id`. - - Parameters - ---------- - id : str - - expand : typing.Optional[typing.Literal["users"]] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - Group - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.chat.groups.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.retrieve( - id, - expand=expand, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - request_options=request_options, - ) - return _response.data diff --git a/src/merge/resources/chat/resources/groups/raw_client.py b/src/merge/resources/chat/resources/groups/raw_client.py deleted file mode 100644 index 77c76e71..00000000 --- a/src/merge/resources/chat/resources/groups/raw_client.py +++ /dev/null @@ -1,331 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.datetime_utils import serialize_datetime -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.jsonable_encoder import jsonable_encoder -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.group import Group -from ...types.paginated_group_list import PaginatedGroupList - - -class RawGroupsClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["users"]] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedGroupList]: - """ - Returns a list of `Group` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - expand : typing.Optional[typing.Literal["users"]] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[PaginatedGroupList] - - """ - _response = self._client_wrapper.httpx_client.request( - "chat/v1/groups", - method="GET", - params={ - "created_after": serialize_datetime(created_after) if created_after is not None else None, - "created_before": serialize_datetime(created_before) if created_before is not None else None, - "cursor": cursor, - "expand": expand, - "include_deleted_data": include_deleted_data, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - "modified_after": serialize_datetime(modified_after) if modified_after is not None else None, - "modified_before": serialize_datetime(modified_before) if modified_before is not None else None, - "page_size": page_size, - "remote_id": remote_id, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedGroupList, - construct_type( - type_=PaginatedGroupList, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def retrieve( - self, - id: str, - *, - expand: typing.Optional[typing.Literal["users"]] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[Group]: - """ - Returns a `Group` object with the given `id`. - - Parameters - ---------- - id : str - - expand : typing.Optional[typing.Literal["users"]] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[Group] - - """ - _response = self._client_wrapper.httpx_client.request( - f"chat/v1/groups/{jsonable_encoder(id)}", - method="GET", - params={ - "expand": expand, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - Group, - construct_type( - type_=Group, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawGroupsClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["users"]] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedGroupList]: - """ - Returns a list of `Group` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - expand : typing.Optional[typing.Literal["users"]] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[PaginatedGroupList] - - """ - _response = await self._client_wrapper.httpx_client.request( - "chat/v1/groups", - method="GET", - params={ - "created_after": serialize_datetime(created_after) if created_after is not None else None, - "created_before": serialize_datetime(created_before) if created_before is not None else None, - "cursor": cursor, - "expand": expand, - "include_deleted_data": include_deleted_data, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - "modified_after": serialize_datetime(modified_after) if modified_after is not None else None, - "modified_before": serialize_datetime(modified_before) if modified_before is not None else None, - "page_size": page_size, - "remote_id": remote_id, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedGroupList, - construct_type( - type_=PaginatedGroupList, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def retrieve( - self, - id: str, - *, - expand: typing.Optional[typing.Literal["users"]] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[Group]: - """ - Returns a `Group` object with the given `id`. - - Parameters - ---------- - id : str - - expand : typing.Optional[typing.Literal["users"]] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[Group] - - """ - _response = await self._client_wrapper.httpx_client.request( - f"chat/v1/groups/{jsonable_encoder(id)}", - method="GET", - params={ - "expand": expand, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - Group, - construct_type( - type_=Group, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/chat/resources/issues/__init__.py b/src/merge/resources/chat/resources/issues/__init__.py deleted file mode 100644 index 3ca1094b..00000000 --- a/src/merge/resources/chat/resources/issues/__init__.py +++ /dev/null @@ -1,32 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - -import typing -from importlib import import_module - -if typing.TYPE_CHECKING: - from .types import IssuesListRequestStatus -_dynamic_imports: typing.Dict[str, str] = {"IssuesListRequestStatus": ".types"} - - -def __getattr__(attr_name: str) -> typing.Any: - module_name = _dynamic_imports.get(attr_name) - if module_name is None: - raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") - try: - module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result - except ImportError as e: - raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e - except AttributeError as e: - raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e - - -def __dir__(): - lazy_attrs = list(_dynamic_imports.keys()) - return sorted(lazy_attrs) - - -__all__ = ["IssuesListRequestStatus"] diff --git a/src/merge/resources/chat/resources/issues/client.py b/src/merge/resources/chat/resources/issues/client.py deleted file mode 100644 index 5f5375b3..00000000 --- a/src/merge/resources/chat/resources/issues/client.py +++ /dev/null @@ -1,378 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.issue import Issue -from ...types.paginated_issue_list import PaginatedIssueList -from .raw_client import AsyncRawIssuesClient, RawIssuesClient -from .types.issues_list_request_status import IssuesListRequestStatus - - -class IssuesClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawIssuesClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawIssuesClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawIssuesClient - """ - return self._raw_client - - def list( - self, - *, - account_token: typing.Optional[str] = None, - cursor: typing.Optional[str] = None, - end_date: typing.Optional[str] = None, - end_user_organization_name: typing.Optional[str] = None, - first_incident_time_after: typing.Optional[dt.datetime] = None, - first_incident_time_before: typing.Optional[dt.datetime] = None, - include_muted: typing.Optional[str] = None, - integration_name: typing.Optional[str] = None, - last_incident_time_after: typing.Optional[dt.datetime] = None, - last_incident_time_before: typing.Optional[dt.datetime] = None, - linked_account_id: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - start_date: typing.Optional[str] = None, - status: typing.Optional[IssuesListRequestStatus] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedIssueList: - """ - Gets all issues for Organization. - - Parameters - ---------- - account_token : typing.Optional[str] - - cursor : typing.Optional[str] - The pagination cursor value. - - end_date : typing.Optional[str] - If included, will only include issues whose most recent action occurred before this time - - end_user_organization_name : typing.Optional[str] - - first_incident_time_after : typing.Optional[dt.datetime] - If provided, will only return issues whose first incident time was after this datetime. - - first_incident_time_before : typing.Optional[dt.datetime] - If provided, will only return issues whose first incident time was before this datetime. - - include_muted : typing.Optional[str] - If true, will include muted issues - - integration_name : typing.Optional[str] - - last_incident_time_after : typing.Optional[dt.datetime] - If provided, will only return issues whose last incident time was after this datetime. - - last_incident_time_before : typing.Optional[dt.datetime] - If provided, will only return issues whose last incident time was before this datetime. - - linked_account_id : typing.Optional[str] - If provided, will only include issues pertaining to the linked account passed in. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - start_date : typing.Optional[str] - If included, will only include issues whose most recent action occurred after this time - - status : typing.Optional[IssuesListRequestStatus] - Status of the issue. Options: ('ONGOING', 'RESOLVED') - - * `ONGOING` - ONGOING - * `RESOLVED` - RESOLVED - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedIssueList - - - Examples - -------- - import datetime - - from merge import Merge - from merge.resources.chat.resources.issues import IssuesListRequestStatus - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.chat.issues.list( - account_token="account_token", - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_date="end_date", - end_user_organization_name="end_user_organization_name", - first_incident_time_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - first_incident_time_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - include_muted="include_muted", - integration_name="integration_name", - last_incident_time_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - last_incident_time_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - linked_account_id="linked_account_id", - page_size=1, - start_date="start_date", - status=IssuesListRequestStatus.ONGOING, - ) - """ - _response = self._raw_client.list( - account_token=account_token, - cursor=cursor, - end_date=end_date, - end_user_organization_name=end_user_organization_name, - first_incident_time_after=first_incident_time_after, - first_incident_time_before=first_incident_time_before, - include_muted=include_muted, - integration_name=integration_name, - last_incident_time_after=last_incident_time_after, - last_incident_time_before=last_incident_time_before, - linked_account_id=linked_account_id, - page_size=page_size, - start_date=start_date, - status=status, - request_options=request_options, - ) - return _response.data - - def retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> Issue: - """ - Get a specific issue. - - Parameters - ---------- - id : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - Issue - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.chat.issues.retrieve( - id="id", - ) - """ - _response = self._raw_client.retrieve(id, request_options=request_options) - return _response.data - - -class AsyncIssuesClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawIssuesClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawIssuesClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawIssuesClient - """ - return self._raw_client - - async def list( - self, - *, - account_token: typing.Optional[str] = None, - cursor: typing.Optional[str] = None, - end_date: typing.Optional[str] = None, - end_user_organization_name: typing.Optional[str] = None, - first_incident_time_after: typing.Optional[dt.datetime] = None, - first_incident_time_before: typing.Optional[dt.datetime] = None, - include_muted: typing.Optional[str] = None, - integration_name: typing.Optional[str] = None, - last_incident_time_after: typing.Optional[dt.datetime] = None, - last_incident_time_before: typing.Optional[dt.datetime] = None, - linked_account_id: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - start_date: typing.Optional[str] = None, - status: typing.Optional[IssuesListRequestStatus] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedIssueList: - """ - Gets all issues for Organization. - - Parameters - ---------- - account_token : typing.Optional[str] - - cursor : typing.Optional[str] - The pagination cursor value. - - end_date : typing.Optional[str] - If included, will only include issues whose most recent action occurred before this time - - end_user_organization_name : typing.Optional[str] - - first_incident_time_after : typing.Optional[dt.datetime] - If provided, will only return issues whose first incident time was after this datetime. - - first_incident_time_before : typing.Optional[dt.datetime] - If provided, will only return issues whose first incident time was before this datetime. - - include_muted : typing.Optional[str] - If true, will include muted issues - - integration_name : typing.Optional[str] - - last_incident_time_after : typing.Optional[dt.datetime] - If provided, will only return issues whose last incident time was after this datetime. - - last_incident_time_before : typing.Optional[dt.datetime] - If provided, will only return issues whose last incident time was before this datetime. - - linked_account_id : typing.Optional[str] - If provided, will only include issues pertaining to the linked account passed in. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - start_date : typing.Optional[str] - If included, will only include issues whose most recent action occurred after this time - - status : typing.Optional[IssuesListRequestStatus] - Status of the issue. Options: ('ONGOING', 'RESOLVED') - - * `ONGOING` - ONGOING - * `RESOLVED` - RESOLVED - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedIssueList - - - Examples - -------- - import asyncio - import datetime - - from merge import AsyncMerge - from merge.resources.chat.resources.issues import IssuesListRequestStatus - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.chat.issues.list( - account_token="account_token", - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_date="end_date", - end_user_organization_name="end_user_organization_name", - first_incident_time_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - first_incident_time_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - include_muted="include_muted", - integration_name="integration_name", - last_incident_time_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - last_incident_time_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - linked_account_id="linked_account_id", - page_size=1, - start_date="start_date", - status=IssuesListRequestStatus.ONGOING, - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.list( - account_token=account_token, - cursor=cursor, - end_date=end_date, - end_user_organization_name=end_user_organization_name, - first_incident_time_after=first_incident_time_after, - first_incident_time_before=first_incident_time_before, - include_muted=include_muted, - integration_name=integration_name, - last_incident_time_after=last_incident_time_after, - last_incident_time_before=last_incident_time_before, - linked_account_id=linked_account_id, - page_size=page_size, - start_date=start_date, - status=status, - request_options=request_options, - ) - return _response.data - - async def retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> Issue: - """ - Get a specific issue. - - Parameters - ---------- - id : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - Issue - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.chat.issues.retrieve( - id="id", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.retrieve(id, request_options=request_options) - return _response.data diff --git a/src/merge/resources/chat/resources/issues/raw_client.py b/src/merge/resources/chat/resources/issues/raw_client.py deleted file mode 100644 index 3144b225..00000000 --- a/src/merge/resources/chat/resources/issues/raw_client.py +++ /dev/null @@ -1,336 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.datetime_utils import serialize_datetime -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.jsonable_encoder import jsonable_encoder -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.issue import Issue -from ...types.paginated_issue_list import PaginatedIssueList -from .types.issues_list_request_status import IssuesListRequestStatus - - -class RawIssuesClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def list( - self, - *, - account_token: typing.Optional[str] = None, - cursor: typing.Optional[str] = None, - end_date: typing.Optional[str] = None, - end_user_organization_name: typing.Optional[str] = None, - first_incident_time_after: typing.Optional[dt.datetime] = None, - first_incident_time_before: typing.Optional[dt.datetime] = None, - include_muted: typing.Optional[str] = None, - integration_name: typing.Optional[str] = None, - last_incident_time_after: typing.Optional[dt.datetime] = None, - last_incident_time_before: typing.Optional[dt.datetime] = None, - linked_account_id: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - start_date: typing.Optional[str] = None, - status: typing.Optional[IssuesListRequestStatus] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedIssueList]: - """ - Gets all issues for Organization. - - Parameters - ---------- - account_token : typing.Optional[str] - - cursor : typing.Optional[str] - The pagination cursor value. - - end_date : typing.Optional[str] - If included, will only include issues whose most recent action occurred before this time - - end_user_organization_name : typing.Optional[str] - - first_incident_time_after : typing.Optional[dt.datetime] - If provided, will only return issues whose first incident time was after this datetime. - - first_incident_time_before : typing.Optional[dt.datetime] - If provided, will only return issues whose first incident time was before this datetime. - - include_muted : typing.Optional[str] - If true, will include muted issues - - integration_name : typing.Optional[str] - - last_incident_time_after : typing.Optional[dt.datetime] - If provided, will only return issues whose last incident time was after this datetime. - - last_incident_time_before : typing.Optional[dt.datetime] - If provided, will only return issues whose last incident time was before this datetime. - - linked_account_id : typing.Optional[str] - If provided, will only include issues pertaining to the linked account passed in. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - start_date : typing.Optional[str] - If included, will only include issues whose most recent action occurred after this time - - status : typing.Optional[IssuesListRequestStatus] - Status of the issue. Options: ('ONGOING', 'RESOLVED') - - * `ONGOING` - ONGOING - * `RESOLVED` - RESOLVED - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[PaginatedIssueList] - - """ - _response = self._client_wrapper.httpx_client.request( - "chat/v1/issues", - method="GET", - params={ - "account_token": account_token, - "cursor": cursor, - "end_date": end_date, - "end_user_organization_name": end_user_organization_name, - "first_incident_time_after": serialize_datetime(first_incident_time_after) - if first_incident_time_after is not None - else None, - "first_incident_time_before": serialize_datetime(first_incident_time_before) - if first_incident_time_before is not None - else None, - "include_muted": include_muted, - "integration_name": integration_name, - "last_incident_time_after": serialize_datetime(last_incident_time_after) - if last_incident_time_after is not None - else None, - "last_incident_time_before": serialize_datetime(last_incident_time_before) - if last_incident_time_before is not None - else None, - "linked_account_id": linked_account_id, - "page_size": page_size, - "start_date": start_date, - "status": status, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedIssueList, - construct_type( - type_=PaginatedIssueList, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> HttpResponse[Issue]: - """ - Get a specific issue. - - Parameters - ---------- - id : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[Issue] - - """ - _response = self._client_wrapper.httpx_client.request( - f"chat/v1/issues/{jsonable_encoder(id)}", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - Issue, - construct_type( - type_=Issue, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawIssuesClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def list( - self, - *, - account_token: typing.Optional[str] = None, - cursor: typing.Optional[str] = None, - end_date: typing.Optional[str] = None, - end_user_organization_name: typing.Optional[str] = None, - first_incident_time_after: typing.Optional[dt.datetime] = None, - first_incident_time_before: typing.Optional[dt.datetime] = None, - include_muted: typing.Optional[str] = None, - integration_name: typing.Optional[str] = None, - last_incident_time_after: typing.Optional[dt.datetime] = None, - last_incident_time_before: typing.Optional[dt.datetime] = None, - linked_account_id: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - start_date: typing.Optional[str] = None, - status: typing.Optional[IssuesListRequestStatus] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedIssueList]: - """ - Gets all issues for Organization. - - Parameters - ---------- - account_token : typing.Optional[str] - - cursor : typing.Optional[str] - The pagination cursor value. - - end_date : typing.Optional[str] - If included, will only include issues whose most recent action occurred before this time - - end_user_organization_name : typing.Optional[str] - - first_incident_time_after : typing.Optional[dt.datetime] - If provided, will only return issues whose first incident time was after this datetime. - - first_incident_time_before : typing.Optional[dt.datetime] - If provided, will only return issues whose first incident time was before this datetime. - - include_muted : typing.Optional[str] - If true, will include muted issues - - integration_name : typing.Optional[str] - - last_incident_time_after : typing.Optional[dt.datetime] - If provided, will only return issues whose last incident time was after this datetime. - - last_incident_time_before : typing.Optional[dt.datetime] - If provided, will only return issues whose last incident time was before this datetime. - - linked_account_id : typing.Optional[str] - If provided, will only include issues pertaining to the linked account passed in. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - start_date : typing.Optional[str] - If included, will only include issues whose most recent action occurred after this time - - status : typing.Optional[IssuesListRequestStatus] - Status of the issue. Options: ('ONGOING', 'RESOLVED') - - * `ONGOING` - ONGOING - * `RESOLVED` - RESOLVED - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[PaginatedIssueList] - - """ - _response = await self._client_wrapper.httpx_client.request( - "chat/v1/issues", - method="GET", - params={ - "account_token": account_token, - "cursor": cursor, - "end_date": end_date, - "end_user_organization_name": end_user_organization_name, - "first_incident_time_after": serialize_datetime(first_incident_time_after) - if first_incident_time_after is not None - else None, - "first_incident_time_before": serialize_datetime(first_incident_time_before) - if first_incident_time_before is not None - else None, - "include_muted": include_muted, - "integration_name": integration_name, - "last_incident_time_after": serialize_datetime(last_incident_time_after) - if last_incident_time_after is not None - else None, - "last_incident_time_before": serialize_datetime(last_incident_time_before) - if last_incident_time_before is not None - else None, - "linked_account_id": linked_account_id, - "page_size": page_size, - "start_date": start_date, - "status": status, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedIssueList, - construct_type( - type_=PaginatedIssueList, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def retrieve( - self, id: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncHttpResponse[Issue]: - """ - Get a specific issue. - - Parameters - ---------- - id : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[Issue] - - """ - _response = await self._client_wrapper.httpx_client.request( - f"chat/v1/issues/{jsonable_encoder(id)}", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - Issue, - construct_type( - type_=Issue, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/chat/resources/issues/types/__init__.py b/src/merge/resources/chat/resources/issues/types/__init__.py deleted file mode 100644 index 88fbf977..00000000 --- a/src/merge/resources/chat/resources/issues/types/__init__.py +++ /dev/null @@ -1,32 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - -import typing -from importlib import import_module - -if typing.TYPE_CHECKING: - from .issues_list_request_status import IssuesListRequestStatus -_dynamic_imports: typing.Dict[str, str] = {"IssuesListRequestStatus": ".issues_list_request_status"} - - -def __getattr__(attr_name: str) -> typing.Any: - module_name = _dynamic_imports.get(attr_name) - if module_name is None: - raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") - try: - module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result - except ImportError as e: - raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e - except AttributeError as e: - raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e - - -def __dir__(): - lazy_attrs = list(_dynamic_imports.keys()) - return sorted(lazy_attrs) - - -__all__ = ["IssuesListRequestStatus"] diff --git a/src/merge/resources/chat/resources/link_token/__init__.py b/src/merge/resources/chat/resources/link_token/__init__.py deleted file mode 100644 index be8c3839..00000000 --- a/src/merge/resources/chat/resources/link_token/__init__.py +++ /dev/null @@ -1,35 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - -import typing -from importlib import import_module - -if typing.TYPE_CHECKING: - from .types import EndUserDetailsRequestCompletedAccountInitialScreen, EndUserDetailsRequestLanguage -_dynamic_imports: typing.Dict[str, str] = { - "EndUserDetailsRequestCompletedAccountInitialScreen": ".types", - "EndUserDetailsRequestLanguage": ".types", -} - - -def __getattr__(attr_name: str) -> typing.Any: - module_name = _dynamic_imports.get(attr_name) - if module_name is None: - raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") - try: - module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result - except ImportError as e: - raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e - except AttributeError as e: - raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e - - -def __dir__(): - lazy_attrs = list(_dynamic_imports.keys()) - return sorted(lazy_attrs) - - -__all__ = ["EndUserDetailsRequestCompletedAccountInitialScreen", "EndUserDetailsRequestLanguage"] diff --git a/src/merge/resources/chat/resources/link_token/client.py b/src/merge/resources/chat/resources/link_token/client.py deleted file mode 100644 index e5851e8a..00000000 --- a/src/merge/resources/chat/resources/link_token/client.py +++ /dev/null @@ -1,290 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.categories_enum import CategoriesEnum -from ...types.common_model_scopes_body_request import CommonModelScopesBodyRequest -from ...types.individual_common_model_scope_deserializer_request import IndividualCommonModelScopeDeserializerRequest -from ...types.link_token import LinkToken -from .raw_client import AsyncRawLinkTokenClient, RawLinkTokenClient -from .types.end_user_details_request_completed_account_initial_screen import ( - EndUserDetailsRequestCompletedAccountInitialScreen, -) -from .types.end_user_details_request_language import EndUserDetailsRequestLanguage - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class LinkTokenClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawLinkTokenClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawLinkTokenClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawLinkTokenClient - """ - return self._raw_client - - def create( - self, - *, - end_user_email_address: str, - end_user_organization_name: str, - end_user_origin_id: str, - categories: typing.Sequence[CategoriesEnum], - integration: typing.Optional[str] = OMIT, - link_expiry_mins: typing.Optional[int] = OMIT, - should_create_magic_link_url: typing.Optional[bool] = OMIT, - hide_admin_magic_link: typing.Optional[bool] = OMIT, - common_models: typing.Optional[typing.Sequence[CommonModelScopesBodyRequest]] = OMIT, - category_common_model_scopes: typing.Optional[ - typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]] - ] = OMIT, - language: typing.Optional[EndUserDetailsRequestLanguage] = OMIT, - are_syncs_disabled: typing.Optional[bool] = OMIT, - integration_specific_config: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, - completed_account_initial_screen: typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen] = OMIT, - request_options: typing.Optional[RequestOptions] = None, - ) -> LinkToken: - """ - Creates a link token to be used when linking a new end user. The link token expires after single use. - - Parameters - ---------- - end_user_email_address : str - Your end user's email address. This is purely for identification purposes - setting this value will not cause any emails to be sent. - - end_user_organization_name : str - Your end user's organization. - - end_user_origin_id : str - This unique identifier typically represents the ID for your end user in your product's database. This value must be distinct from other Linked Accounts' unique identifiers. - - categories : typing.Sequence[CategoriesEnum] - The integration categories to show in Merge Link. - - integration : typing.Optional[str] - The slug of a specific pre-selected integration for this linking flow token. For examples of slugs, see https://docs.merge.dev/guides/merge-link/single-integration/. - - link_expiry_mins : typing.Optional[int] - An integer number of minutes between [30, 720 or 10080 if for a Magic Link URL] for how long this token is valid. Defaults to 30. - - should_create_magic_link_url : typing.Optional[bool] - Whether to generate a Magic Link URL. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. - - hide_admin_magic_link : typing.Optional[bool] - Whether to generate a Magic Link URL on the Admin Needed screen during the linking flow. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. - - common_models : typing.Optional[typing.Sequence[CommonModelScopesBodyRequest]] - An array of objects to specify the models and fields that will be disabled for a given Linked Account. Each object uses model_id, enabled_actions, and disabled_fields to specify the model, method, and fields that are scoped for a given Linked Account. - - category_common_model_scopes : typing.Optional[typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]]] - When creating a Link Token, you can set permissions for Common Models that will apply to the account that is going to be linked. Any model or field not specified in link token payload will default to existing settings. - - language : typing.Optional[EndUserDetailsRequestLanguage] - The following subset of IETF language tags can be used to configure localization. - - * `en` - en - * `de` - de - - are_syncs_disabled : typing.Optional[bool] - The boolean that indicates whether initial, periodic, and force syncs will be disabled. - - integration_specific_config : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] - A JSON object containing integration-specific configuration options. - - completed_account_initial_screen : typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen] - When creating a Link token, you can specifiy the initial screen of Linking Flow for a completed Linked Account. - - * `SELECTIVE_SYNC` - SELECTIVE_SYNC - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - LinkToken - - - Examples - -------- - from merge import Merge - from merge.resources.chat import CategoriesEnum - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.chat.link_token.create( - end_user_email_address="example@gmail.com", - end_user_organization_name="Test Organization", - end_user_origin_id="12345", - categories=[CategoriesEnum.HRIS, CategoriesEnum.ATS], - ) - """ - _response = self._raw_client.create( - end_user_email_address=end_user_email_address, - end_user_organization_name=end_user_organization_name, - end_user_origin_id=end_user_origin_id, - categories=categories, - integration=integration, - link_expiry_mins=link_expiry_mins, - should_create_magic_link_url=should_create_magic_link_url, - hide_admin_magic_link=hide_admin_magic_link, - common_models=common_models, - category_common_model_scopes=category_common_model_scopes, - language=language, - are_syncs_disabled=are_syncs_disabled, - integration_specific_config=integration_specific_config, - completed_account_initial_screen=completed_account_initial_screen, - request_options=request_options, - ) - return _response.data - - -class AsyncLinkTokenClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawLinkTokenClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawLinkTokenClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawLinkTokenClient - """ - return self._raw_client - - async def create( - self, - *, - end_user_email_address: str, - end_user_organization_name: str, - end_user_origin_id: str, - categories: typing.Sequence[CategoriesEnum], - integration: typing.Optional[str] = OMIT, - link_expiry_mins: typing.Optional[int] = OMIT, - should_create_magic_link_url: typing.Optional[bool] = OMIT, - hide_admin_magic_link: typing.Optional[bool] = OMIT, - common_models: typing.Optional[typing.Sequence[CommonModelScopesBodyRequest]] = OMIT, - category_common_model_scopes: typing.Optional[ - typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]] - ] = OMIT, - language: typing.Optional[EndUserDetailsRequestLanguage] = OMIT, - are_syncs_disabled: typing.Optional[bool] = OMIT, - integration_specific_config: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, - completed_account_initial_screen: typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen] = OMIT, - request_options: typing.Optional[RequestOptions] = None, - ) -> LinkToken: - """ - Creates a link token to be used when linking a new end user. The link token expires after single use. - - Parameters - ---------- - end_user_email_address : str - Your end user's email address. This is purely for identification purposes - setting this value will not cause any emails to be sent. - - end_user_organization_name : str - Your end user's organization. - - end_user_origin_id : str - This unique identifier typically represents the ID for your end user in your product's database. This value must be distinct from other Linked Accounts' unique identifiers. - - categories : typing.Sequence[CategoriesEnum] - The integration categories to show in Merge Link. - - integration : typing.Optional[str] - The slug of a specific pre-selected integration for this linking flow token. For examples of slugs, see https://docs.merge.dev/guides/merge-link/single-integration/. - - link_expiry_mins : typing.Optional[int] - An integer number of minutes between [30, 720 or 10080 if for a Magic Link URL] for how long this token is valid. Defaults to 30. - - should_create_magic_link_url : typing.Optional[bool] - Whether to generate a Magic Link URL. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. - - hide_admin_magic_link : typing.Optional[bool] - Whether to generate a Magic Link URL on the Admin Needed screen during the linking flow. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. - - common_models : typing.Optional[typing.Sequence[CommonModelScopesBodyRequest]] - An array of objects to specify the models and fields that will be disabled for a given Linked Account. Each object uses model_id, enabled_actions, and disabled_fields to specify the model, method, and fields that are scoped for a given Linked Account. - - category_common_model_scopes : typing.Optional[typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]]] - When creating a Link Token, you can set permissions for Common Models that will apply to the account that is going to be linked. Any model or field not specified in link token payload will default to existing settings. - - language : typing.Optional[EndUserDetailsRequestLanguage] - The following subset of IETF language tags can be used to configure localization. - - * `en` - en - * `de` - de - - are_syncs_disabled : typing.Optional[bool] - The boolean that indicates whether initial, periodic, and force syncs will be disabled. - - integration_specific_config : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] - A JSON object containing integration-specific configuration options. - - completed_account_initial_screen : typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen] - When creating a Link token, you can specifiy the initial screen of Linking Flow for a completed Linked Account. - - * `SELECTIVE_SYNC` - SELECTIVE_SYNC - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - LinkToken - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - from merge.resources.chat import CategoriesEnum - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.chat.link_token.create( - end_user_email_address="example@gmail.com", - end_user_organization_name="Test Organization", - end_user_origin_id="12345", - categories=[CategoriesEnum.HRIS, CategoriesEnum.ATS], - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.create( - end_user_email_address=end_user_email_address, - end_user_organization_name=end_user_organization_name, - end_user_origin_id=end_user_origin_id, - categories=categories, - integration=integration, - link_expiry_mins=link_expiry_mins, - should_create_magic_link_url=should_create_magic_link_url, - hide_admin_magic_link=hide_admin_magic_link, - common_models=common_models, - category_common_model_scopes=category_common_model_scopes, - language=language, - are_syncs_disabled=are_syncs_disabled, - integration_specific_config=integration_specific_config, - completed_account_initial_screen=completed_account_initial_screen, - request_options=request_options, - ) - return _response.data diff --git a/src/merge/resources/chat/resources/link_token/raw_client.py b/src/merge/resources/chat/resources/link_token/raw_client.py deleted file mode 100644 index 2bd4c7c8..00000000 --- a/src/merge/resources/chat/resources/link_token/raw_client.py +++ /dev/null @@ -1,273 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.categories_enum import CategoriesEnum -from ...types.common_model_scopes_body_request import CommonModelScopesBodyRequest -from ...types.individual_common_model_scope_deserializer_request import IndividualCommonModelScopeDeserializerRequest -from ...types.link_token import LinkToken -from .types.end_user_details_request_completed_account_initial_screen import ( - EndUserDetailsRequestCompletedAccountInitialScreen, -) -from .types.end_user_details_request_language import EndUserDetailsRequestLanguage - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class RawLinkTokenClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def create( - self, - *, - end_user_email_address: str, - end_user_organization_name: str, - end_user_origin_id: str, - categories: typing.Sequence[CategoriesEnum], - integration: typing.Optional[str] = OMIT, - link_expiry_mins: typing.Optional[int] = OMIT, - should_create_magic_link_url: typing.Optional[bool] = OMIT, - hide_admin_magic_link: typing.Optional[bool] = OMIT, - common_models: typing.Optional[typing.Sequence[CommonModelScopesBodyRequest]] = OMIT, - category_common_model_scopes: typing.Optional[ - typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]] - ] = OMIT, - language: typing.Optional[EndUserDetailsRequestLanguage] = OMIT, - are_syncs_disabled: typing.Optional[bool] = OMIT, - integration_specific_config: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, - completed_account_initial_screen: typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen] = OMIT, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[LinkToken]: - """ - Creates a link token to be used when linking a new end user. The link token expires after single use. - - Parameters - ---------- - end_user_email_address : str - Your end user's email address. This is purely for identification purposes - setting this value will not cause any emails to be sent. - - end_user_organization_name : str - Your end user's organization. - - end_user_origin_id : str - This unique identifier typically represents the ID for your end user in your product's database. This value must be distinct from other Linked Accounts' unique identifiers. - - categories : typing.Sequence[CategoriesEnum] - The integration categories to show in Merge Link. - - integration : typing.Optional[str] - The slug of a specific pre-selected integration for this linking flow token. For examples of slugs, see https://docs.merge.dev/guides/merge-link/single-integration/. - - link_expiry_mins : typing.Optional[int] - An integer number of minutes between [30, 720 or 10080 if for a Magic Link URL] for how long this token is valid. Defaults to 30. - - should_create_magic_link_url : typing.Optional[bool] - Whether to generate a Magic Link URL. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. - - hide_admin_magic_link : typing.Optional[bool] - Whether to generate a Magic Link URL on the Admin Needed screen during the linking flow. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. - - common_models : typing.Optional[typing.Sequence[CommonModelScopesBodyRequest]] - An array of objects to specify the models and fields that will be disabled for a given Linked Account. Each object uses model_id, enabled_actions, and disabled_fields to specify the model, method, and fields that are scoped for a given Linked Account. - - category_common_model_scopes : typing.Optional[typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]]] - When creating a Link Token, you can set permissions for Common Models that will apply to the account that is going to be linked. Any model or field not specified in link token payload will default to existing settings. - - language : typing.Optional[EndUserDetailsRequestLanguage] - The following subset of IETF language tags can be used to configure localization. - - * `en` - en - * `de` - de - - are_syncs_disabled : typing.Optional[bool] - The boolean that indicates whether initial, periodic, and force syncs will be disabled. - - integration_specific_config : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] - A JSON object containing integration-specific configuration options. - - completed_account_initial_screen : typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen] - When creating a Link token, you can specifiy the initial screen of Linking Flow for a completed Linked Account. - - * `SELECTIVE_SYNC` - SELECTIVE_SYNC - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[LinkToken] - - """ - _response = self._client_wrapper.httpx_client.request( - "chat/v1/link-token", - method="POST", - json={ - "end_user_email_address": end_user_email_address, - "end_user_organization_name": end_user_organization_name, - "end_user_origin_id": end_user_origin_id, - "categories": categories, - "integration": integration, - "link_expiry_mins": link_expiry_mins, - "should_create_magic_link_url": should_create_magic_link_url, - "hide_admin_magic_link": hide_admin_magic_link, - "common_models": common_models, - "category_common_model_scopes": category_common_model_scopes, - "language": language, - "are_syncs_disabled": are_syncs_disabled, - "integration_specific_config": integration_specific_config, - "completed_account_initial_screen": completed_account_initial_screen, - }, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - LinkToken, - construct_type( - type_=LinkToken, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawLinkTokenClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def create( - self, - *, - end_user_email_address: str, - end_user_organization_name: str, - end_user_origin_id: str, - categories: typing.Sequence[CategoriesEnum], - integration: typing.Optional[str] = OMIT, - link_expiry_mins: typing.Optional[int] = OMIT, - should_create_magic_link_url: typing.Optional[bool] = OMIT, - hide_admin_magic_link: typing.Optional[bool] = OMIT, - common_models: typing.Optional[typing.Sequence[CommonModelScopesBodyRequest]] = OMIT, - category_common_model_scopes: typing.Optional[ - typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]] - ] = OMIT, - language: typing.Optional[EndUserDetailsRequestLanguage] = OMIT, - are_syncs_disabled: typing.Optional[bool] = OMIT, - integration_specific_config: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, - completed_account_initial_screen: typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen] = OMIT, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[LinkToken]: - """ - Creates a link token to be used when linking a new end user. The link token expires after single use. - - Parameters - ---------- - end_user_email_address : str - Your end user's email address. This is purely for identification purposes - setting this value will not cause any emails to be sent. - - end_user_organization_name : str - Your end user's organization. - - end_user_origin_id : str - This unique identifier typically represents the ID for your end user in your product's database. This value must be distinct from other Linked Accounts' unique identifiers. - - categories : typing.Sequence[CategoriesEnum] - The integration categories to show in Merge Link. - - integration : typing.Optional[str] - The slug of a specific pre-selected integration for this linking flow token. For examples of slugs, see https://docs.merge.dev/guides/merge-link/single-integration/. - - link_expiry_mins : typing.Optional[int] - An integer number of minutes between [30, 720 or 10080 if for a Magic Link URL] for how long this token is valid. Defaults to 30. - - should_create_magic_link_url : typing.Optional[bool] - Whether to generate a Magic Link URL. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. - - hide_admin_magic_link : typing.Optional[bool] - Whether to generate a Magic Link URL on the Admin Needed screen during the linking flow. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. - - common_models : typing.Optional[typing.Sequence[CommonModelScopesBodyRequest]] - An array of objects to specify the models and fields that will be disabled for a given Linked Account. Each object uses model_id, enabled_actions, and disabled_fields to specify the model, method, and fields that are scoped for a given Linked Account. - - category_common_model_scopes : typing.Optional[typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]]] - When creating a Link Token, you can set permissions for Common Models that will apply to the account that is going to be linked. Any model or field not specified in link token payload will default to existing settings. - - language : typing.Optional[EndUserDetailsRequestLanguage] - The following subset of IETF language tags can be used to configure localization. - - * `en` - en - * `de` - de - - are_syncs_disabled : typing.Optional[bool] - The boolean that indicates whether initial, periodic, and force syncs will be disabled. - - integration_specific_config : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] - A JSON object containing integration-specific configuration options. - - completed_account_initial_screen : typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen] - When creating a Link token, you can specifiy the initial screen of Linking Flow for a completed Linked Account. - - * `SELECTIVE_SYNC` - SELECTIVE_SYNC - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[LinkToken] - - """ - _response = await self._client_wrapper.httpx_client.request( - "chat/v1/link-token", - method="POST", - json={ - "end_user_email_address": end_user_email_address, - "end_user_organization_name": end_user_organization_name, - "end_user_origin_id": end_user_origin_id, - "categories": categories, - "integration": integration, - "link_expiry_mins": link_expiry_mins, - "should_create_magic_link_url": should_create_magic_link_url, - "hide_admin_magic_link": hide_admin_magic_link, - "common_models": common_models, - "category_common_model_scopes": category_common_model_scopes, - "language": language, - "are_syncs_disabled": are_syncs_disabled, - "integration_specific_config": integration_specific_config, - "completed_account_initial_screen": completed_account_initial_screen, - }, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - LinkToken, - construct_type( - type_=LinkToken, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/chat/resources/link_token/types/__init__.py b/src/merge/resources/chat/resources/link_token/types/__init__.py deleted file mode 100644 index 55cc1d4e..00000000 --- a/src/merge/resources/chat/resources/link_token/types/__init__.py +++ /dev/null @@ -1,38 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - -import typing -from importlib import import_module - -if typing.TYPE_CHECKING: - from .end_user_details_request_completed_account_initial_screen import ( - EndUserDetailsRequestCompletedAccountInitialScreen, - ) - from .end_user_details_request_language import EndUserDetailsRequestLanguage -_dynamic_imports: typing.Dict[str, str] = { - "EndUserDetailsRequestCompletedAccountInitialScreen": ".end_user_details_request_completed_account_initial_screen", - "EndUserDetailsRequestLanguage": ".end_user_details_request_language", -} - - -def __getattr__(attr_name: str) -> typing.Any: - module_name = _dynamic_imports.get(attr_name) - if module_name is None: - raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") - try: - module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result - except ImportError as e: - raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e - except AttributeError as e: - raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e - - -def __dir__(): - lazy_attrs = list(_dynamic_imports.keys()) - return sorted(lazy_attrs) - - -__all__ = ["EndUserDetailsRequestCompletedAccountInitialScreen", "EndUserDetailsRequestLanguage"] diff --git a/src/merge/resources/chat/resources/link_token/types/end_user_details_request_completed_account_initial_screen.py b/src/merge/resources/chat/resources/link_token/types/end_user_details_request_completed_account_initial_screen.py deleted file mode 100644 index 0c5d586d..00000000 --- a/src/merge/resources/chat/resources/link_token/types/end_user_details_request_completed_account_initial_screen.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from ....types.completed_account_initial_screen_enum import CompletedAccountInitialScreenEnum - -EndUserDetailsRequestCompletedAccountInitialScreen = typing.Union[CompletedAccountInitialScreenEnum, str] diff --git a/src/merge/resources/chat/resources/linked_accounts/__init__.py b/src/merge/resources/chat/resources/linked_accounts/__init__.py deleted file mode 100644 index 0b9e42b4..00000000 --- a/src/merge/resources/chat/resources/linked_accounts/__init__.py +++ /dev/null @@ -1,32 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - -import typing -from importlib import import_module - -if typing.TYPE_CHECKING: - from .types import LinkedAccountsListRequestCategory -_dynamic_imports: typing.Dict[str, str] = {"LinkedAccountsListRequestCategory": ".types"} - - -def __getattr__(attr_name: str) -> typing.Any: - module_name = _dynamic_imports.get(attr_name) - if module_name is None: - raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") - try: - module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result - except ImportError as e: - raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e - except AttributeError as e: - raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e - - -def __dir__(): - lazy_attrs = list(_dynamic_imports.keys()) - return sorted(lazy_attrs) - - -__all__ = ["LinkedAccountsListRequestCategory"] diff --git a/src/merge/resources/chat/resources/linked_accounts/client.py b/src/merge/resources/chat/resources/linked_accounts/client.py deleted file mode 100644 index 748f3fbe..00000000 --- a/src/merge/resources/chat/resources/linked_accounts/client.py +++ /dev/null @@ -1,297 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.paginated_account_details_and_actions_list import PaginatedAccountDetailsAndActionsList -from .raw_client import AsyncRawLinkedAccountsClient, RawLinkedAccountsClient -from .types.linked_accounts_list_request_category import LinkedAccountsListRequestCategory - - -class LinkedAccountsClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawLinkedAccountsClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawLinkedAccountsClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawLinkedAccountsClient - """ - return self._raw_client - - def list( - self, - *, - category: typing.Optional[LinkedAccountsListRequestCategory] = None, - cursor: typing.Optional[str] = None, - end_user_email_address: typing.Optional[str] = None, - end_user_organization_name: typing.Optional[str] = None, - end_user_origin_id: typing.Optional[str] = None, - end_user_origin_ids: typing.Optional[str] = None, - id: typing.Optional[str] = None, - ids: typing.Optional[str] = None, - include_duplicates: typing.Optional[bool] = None, - integration_name: typing.Optional[str] = None, - is_test_account: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - status: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAccountDetailsAndActionsList: - """ - List linked accounts for your organization. - - Parameters - ---------- - category : typing.Optional[LinkedAccountsListRequestCategory] - Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `knowledgebase`, `mktg`, `ticketing` - - * `hris` - hris - * `ats` - ats - * `accounting` - accounting - * `ticketing` - ticketing - * `crm` - crm - * `mktg` - mktg - * `filestorage` - filestorage - * `knowledgebase` - knowledgebase - * `chat` - chat - - cursor : typing.Optional[str] - The pagination cursor value. - - end_user_email_address : typing.Optional[str] - If provided, will only return linked accounts associated with the given email address. - - end_user_organization_name : typing.Optional[str] - If provided, will only return linked accounts associated with the given organization name. - - end_user_origin_id : typing.Optional[str] - If provided, will only return linked accounts associated with the given origin ID. - - end_user_origin_ids : typing.Optional[str] - Comma-separated list of EndUser origin IDs, making it possible to specify multiple EndUsers at once. - - id : typing.Optional[str] - - ids : typing.Optional[str] - Comma-separated list of LinkedAccount IDs, making it possible to specify multiple LinkedAccounts at once. - - include_duplicates : typing.Optional[bool] - If `true`, will include complete production duplicates of the account specified by the `id` query parameter in the response. `id` must be for a complete production linked account. - - integration_name : typing.Optional[str] - If provided, will only return linked accounts associated with the given integration name. - - is_test_account : typing.Optional[str] - If included, will only include test linked accounts. If not included, will only include non-test linked accounts. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - status : typing.Optional[str] - Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedAccountDetailsAndActionsList - - - Examples - -------- - from merge import Merge - from merge.resources.chat.resources.linked_accounts import ( - LinkedAccountsListRequestCategory, - ) - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.chat.linked_accounts.list( - category=LinkedAccountsListRequestCategory.ACCOUNTING, - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_user_email_address="end_user_email_address", - end_user_organization_name="end_user_organization_name", - end_user_origin_id="end_user_origin_id", - end_user_origin_ids="end_user_origin_ids", - id="id", - ids="ids", - include_duplicates=True, - integration_name="integration_name", - is_test_account="is_test_account", - page_size=1, - status="status", - ) - """ - _response = self._raw_client.list( - category=category, - cursor=cursor, - end_user_email_address=end_user_email_address, - end_user_organization_name=end_user_organization_name, - end_user_origin_id=end_user_origin_id, - end_user_origin_ids=end_user_origin_ids, - id=id, - ids=ids, - include_duplicates=include_duplicates, - integration_name=integration_name, - is_test_account=is_test_account, - page_size=page_size, - status=status, - request_options=request_options, - ) - return _response.data - - -class AsyncLinkedAccountsClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawLinkedAccountsClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawLinkedAccountsClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawLinkedAccountsClient - """ - return self._raw_client - - async def list( - self, - *, - category: typing.Optional[LinkedAccountsListRequestCategory] = None, - cursor: typing.Optional[str] = None, - end_user_email_address: typing.Optional[str] = None, - end_user_organization_name: typing.Optional[str] = None, - end_user_origin_id: typing.Optional[str] = None, - end_user_origin_ids: typing.Optional[str] = None, - id: typing.Optional[str] = None, - ids: typing.Optional[str] = None, - include_duplicates: typing.Optional[bool] = None, - integration_name: typing.Optional[str] = None, - is_test_account: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - status: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAccountDetailsAndActionsList: - """ - List linked accounts for your organization. - - Parameters - ---------- - category : typing.Optional[LinkedAccountsListRequestCategory] - Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `knowledgebase`, `mktg`, `ticketing` - - * `hris` - hris - * `ats` - ats - * `accounting` - accounting - * `ticketing` - ticketing - * `crm` - crm - * `mktg` - mktg - * `filestorage` - filestorage - * `knowledgebase` - knowledgebase - * `chat` - chat - - cursor : typing.Optional[str] - The pagination cursor value. - - end_user_email_address : typing.Optional[str] - If provided, will only return linked accounts associated with the given email address. - - end_user_organization_name : typing.Optional[str] - If provided, will only return linked accounts associated with the given organization name. - - end_user_origin_id : typing.Optional[str] - If provided, will only return linked accounts associated with the given origin ID. - - end_user_origin_ids : typing.Optional[str] - Comma-separated list of EndUser origin IDs, making it possible to specify multiple EndUsers at once. - - id : typing.Optional[str] - - ids : typing.Optional[str] - Comma-separated list of LinkedAccount IDs, making it possible to specify multiple LinkedAccounts at once. - - include_duplicates : typing.Optional[bool] - If `true`, will include complete production duplicates of the account specified by the `id` query parameter in the response. `id` must be for a complete production linked account. - - integration_name : typing.Optional[str] - If provided, will only return linked accounts associated with the given integration name. - - is_test_account : typing.Optional[str] - If included, will only include test linked accounts. If not included, will only include non-test linked accounts. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - status : typing.Optional[str] - Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedAccountDetailsAndActionsList - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - from merge.resources.chat.resources.linked_accounts import ( - LinkedAccountsListRequestCategory, - ) - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.chat.linked_accounts.list( - category=LinkedAccountsListRequestCategory.ACCOUNTING, - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_user_email_address="end_user_email_address", - end_user_organization_name="end_user_organization_name", - end_user_origin_id="end_user_origin_id", - end_user_origin_ids="end_user_origin_ids", - id="id", - ids="ids", - include_duplicates=True, - integration_name="integration_name", - is_test_account="is_test_account", - page_size=1, - status="status", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.list( - category=category, - cursor=cursor, - end_user_email_address=end_user_email_address, - end_user_organization_name=end_user_organization_name, - end_user_origin_id=end_user_origin_id, - end_user_origin_ids=end_user_origin_ids, - id=id, - ids=ids, - include_duplicates=include_duplicates, - integration_name=integration_name, - is_test_account=is_test_account, - page_size=page_size, - status=status, - request_options=request_options, - ) - return _response.data diff --git a/src/merge/resources/chat/resources/linked_accounts/raw_client.py b/src/merge/resources/chat/resources/linked_accounts/raw_client.py deleted file mode 100644 index 08e2d29b..00000000 --- a/src/merge/resources/chat/resources/linked_accounts/raw_client.py +++ /dev/null @@ -1,250 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.paginated_account_details_and_actions_list import PaginatedAccountDetailsAndActionsList -from .types.linked_accounts_list_request_category import LinkedAccountsListRequestCategory - - -class RawLinkedAccountsClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def list( - self, - *, - category: typing.Optional[LinkedAccountsListRequestCategory] = None, - cursor: typing.Optional[str] = None, - end_user_email_address: typing.Optional[str] = None, - end_user_organization_name: typing.Optional[str] = None, - end_user_origin_id: typing.Optional[str] = None, - end_user_origin_ids: typing.Optional[str] = None, - id: typing.Optional[str] = None, - ids: typing.Optional[str] = None, - include_duplicates: typing.Optional[bool] = None, - integration_name: typing.Optional[str] = None, - is_test_account: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - status: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedAccountDetailsAndActionsList]: - """ - List linked accounts for your organization. - - Parameters - ---------- - category : typing.Optional[LinkedAccountsListRequestCategory] - Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `knowledgebase`, `mktg`, `ticketing` - - * `hris` - hris - * `ats` - ats - * `accounting` - accounting - * `ticketing` - ticketing - * `crm` - crm - * `mktg` - mktg - * `filestorage` - filestorage - * `knowledgebase` - knowledgebase - * `chat` - chat - - cursor : typing.Optional[str] - The pagination cursor value. - - end_user_email_address : typing.Optional[str] - If provided, will only return linked accounts associated with the given email address. - - end_user_organization_name : typing.Optional[str] - If provided, will only return linked accounts associated with the given organization name. - - end_user_origin_id : typing.Optional[str] - If provided, will only return linked accounts associated with the given origin ID. - - end_user_origin_ids : typing.Optional[str] - Comma-separated list of EndUser origin IDs, making it possible to specify multiple EndUsers at once. - - id : typing.Optional[str] - - ids : typing.Optional[str] - Comma-separated list of LinkedAccount IDs, making it possible to specify multiple LinkedAccounts at once. - - include_duplicates : typing.Optional[bool] - If `true`, will include complete production duplicates of the account specified by the `id` query parameter in the response. `id` must be for a complete production linked account. - - integration_name : typing.Optional[str] - If provided, will only return linked accounts associated with the given integration name. - - is_test_account : typing.Optional[str] - If included, will only include test linked accounts. If not included, will only include non-test linked accounts. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - status : typing.Optional[str] - Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[PaginatedAccountDetailsAndActionsList] - - """ - _response = self._client_wrapper.httpx_client.request( - "chat/v1/linked-accounts", - method="GET", - params={ - "category": category, - "cursor": cursor, - "end_user_email_address": end_user_email_address, - "end_user_organization_name": end_user_organization_name, - "end_user_origin_id": end_user_origin_id, - "end_user_origin_ids": end_user_origin_ids, - "id": id, - "ids": ids, - "include_duplicates": include_duplicates, - "integration_name": integration_name, - "is_test_account": is_test_account, - "page_size": page_size, - "status": status, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedAccountDetailsAndActionsList, - construct_type( - type_=PaginatedAccountDetailsAndActionsList, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawLinkedAccountsClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def list( - self, - *, - category: typing.Optional[LinkedAccountsListRequestCategory] = None, - cursor: typing.Optional[str] = None, - end_user_email_address: typing.Optional[str] = None, - end_user_organization_name: typing.Optional[str] = None, - end_user_origin_id: typing.Optional[str] = None, - end_user_origin_ids: typing.Optional[str] = None, - id: typing.Optional[str] = None, - ids: typing.Optional[str] = None, - include_duplicates: typing.Optional[bool] = None, - integration_name: typing.Optional[str] = None, - is_test_account: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - status: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedAccountDetailsAndActionsList]: - """ - List linked accounts for your organization. - - Parameters - ---------- - category : typing.Optional[LinkedAccountsListRequestCategory] - Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `knowledgebase`, `mktg`, `ticketing` - - * `hris` - hris - * `ats` - ats - * `accounting` - accounting - * `ticketing` - ticketing - * `crm` - crm - * `mktg` - mktg - * `filestorage` - filestorage - * `knowledgebase` - knowledgebase - * `chat` - chat - - cursor : typing.Optional[str] - The pagination cursor value. - - end_user_email_address : typing.Optional[str] - If provided, will only return linked accounts associated with the given email address. - - end_user_organization_name : typing.Optional[str] - If provided, will only return linked accounts associated with the given organization name. - - end_user_origin_id : typing.Optional[str] - If provided, will only return linked accounts associated with the given origin ID. - - end_user_origin_ids : typing.Optional[str] - Comma-separated list of EndUser origin IDs, making it possible to specify multiple EndUsers at once. - - id : typing.Optional[str] - - ids : typing.Optional[str] - Comma-separated list of LinkedAccount IDs, making it possible to specify multiple LinkedAccounts at once. - - include_duplicates : typing.Optional[bool] - If `true`, will include complete production duplicates of the account specified by the `id` query parameter in the response. `id` must be for a complete production linked account. - - integration_name : typing.Optional[str] - If provided, will only return linked accounts associated with the given integration name. - - is_test_account : typing.Optional[str] - If included, will only include test linked accounts. If not included, will only include non-test linked accounts. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - status : typing.Optional[str] - Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[PaginatedAccountDetailsAndActionsList] - - """ - _response = await self._client_wrapper.httpx_client.request( - "chat/v1/linked-accounts", - method="GET", - params={ - "category": category, - "cursor": cursor, - "end_user_email_address": end_user_email_address, - "end_user_organization_name": end_user_organization_name, - "end_user_origin_id": end_user_origin_id, - "end_user_origin_ids": end_user_origin_ids, - "id": id, - "ids": ids, - "include_duplicates": include_duplicates, - "integration_name": integration_name, - "is_test_account": is_test_account, - "page_size": page_size, - "status": status, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedAccountDetailsAndActionsList, - construct_type( - type_=PaginatedAccountDetailsAndActionsList, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/chat/resources/linked_accounts/types/__init__.py b/src/merge/resources/chat/resources/linked_accounts/types/__init__.py deleted file mode 100644 index a28f38cc..00000000 --- a/src/merge/resources/chat/resources/linked_accounts/types/__init__.py +++ /dev/null @@ -1,34 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - -import typing -from importlib import import_module - -if typing.TYPE_CHECKING: - from .linked_accounts_list_request_category import LinkedAccountsListRequestCategory -_dynamic_imports: typing.Dict[str, str] = { - "LinkedAccountsListRequestCategory": ".linked_accounts_list_request_category" -} - - -def __getattr__(attr_name: str) -> typing.Any: - module_name = _dynamic_imports.get(attr_name) - if module_name is None: - raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") - try: - module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result - except ImportError as e: - raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e - except AttributeError as e: - raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e - - -def __dir__(): - lazy_attrs = list(_dynamic_imports.keys()) - return sorted(lazy_attrs) - - -__all__ = ["LinkedAccountsListRequestCategory"] diff --git a/src/merge/resources/chat/resources/linked_accounts/types/linked_accounts_list_request_category.py b/src/merge/resources/chat/resources/linked_accounts/types/linked_accounts_list_request_category.py deleted file mode 100644 index 97df0150..00000000 --- a/src/merge/resources/chat/resources/linked_accounts/types/linked_accounts_list_request_category.py +++ /dev/null @@ -1,49 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class LinkedAccountsListRequestCategory(str, enum.Enum): - ACCOUNTING = "accounting" - ATS = "ats" - CHAT = "chat" - CRM = "crm" - FILESTORAGE = "filestorage" - HRIS = "hris" - KNOWLEDGEBASE = "knowledgebase" - MKTG = "mktg" - TICKETING = "ticketing" - - def visit( - self, - accounting: typing.Callable[[], T_Result], - ats: typing.Callable[[], T_Result], - chat: typing.Callable[[], T_Result], - crm: typing.Callable[[], T_Result], - filestorage: typing.Callable[[], T_Result], - hris: typing.Callable[[], T_Result], - knowledgebase: typing.Callable[[], T_Result], - mktg: typing.Callable[[], T_Result], - ticketing: typing.Callable[[], T_Result], - ) -> T_Result: - if self is LinkedAccountsListRequestCategory.ACCOUNTING: - return accounting() - if self is LinkedAccountsListRequestCategory.ATS: - return ats() - if self is LinkedAccountsListRequestCategory.CHAT: - return chat() - if self is LinkedAccountsListRequestCategory.CRM: - return crm() - if self is LinkedAccountsListRequestCategory.FILESTORAGE: - return filestorage() - if self is LinkedAccountsListRequestCategory.HRIS: - return hris() - if self is LinkedAccountsListRequestCategory.KNOWLEDGEBASE: - return knowledgebase() - if self is LinkedAccountsListRequestCategory.MKTG: - return mktg() - if self is LinkedAccountsListRequestCategory.TICKETING: - return ticketing() diff --git a/src/merge/resources/chat/resources/messages/__init__.py b/src/merge/resources/chat/resources/messages/__init__.py deleted file mode 100644 index 07bbf100..00000000 --- a/src/merge/resources/chat/resources/messages/__init__.py +++ /dev/null @@ -1,35 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - -import typing -from importlib import import_module - -if typing.TYPE_CHECKING: - from .types import MessagesListRequestOrderBy, MessagesRepliesListRequestOrderBy -_dynamic_imports: typing.Dict[str, str] = { - "MessagesListRequestOrderBy": ".types", - "MessagesRepliesListRequestOrderBy": ".types", -} - - -def __getattr__(attr_name: str) -> typing.Any: - module_name = _dynamic_imports.get(attr_name) - if module_name is None: - raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") - try: - module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result - except ImportError as e: - raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e - except AttributeError as e: - raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e - - -def __dir__(): - lazy_attrs = list(_dynamic_imports.keys()) - return sorted(lazy_attrs) - - -__all__ = ["MessagesListRequestOrderBy", "MessagesRepliesListRequestOrderBy"] diff --git a/src/merge/resources/chat/resources/messages/client.py b/src/merge/resources/chat/resources/messages/client.py deleted file mode 100644 index 04c51f18..00000000 --- a/src/merge/resources/chat/resources/messages/client.py +++ /dev/null @@ -1,571 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.message import Message -from ...types.paginated_message_list import PaginatedMessageList -from .raw_client import AsyncRawMessagesClient, RawMessagesClient -from .types.messages_list_request_order_by import MessagesListRequestOrderBy -from .types.messages_replies_list_request_order_by import MessagesRepliesListRequestOrderBy - - -class MessagesClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawMessagesClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawMessagesClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawMessagesClient - """ - return self._raw_client - - def list( - self, - *, - conversation_id: typing.Optional[str] = None, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - order_by: typing.Optional[MessagesListRequestOrderBy] = None, - page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, - root_message: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedMessageList: - """ - Returns a list of `Message` objects. - - Parameters - ---------- - conversation_id : typing.Optional[str] - Filter messages by conversation ID. - - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - order_by : typing.Optional[MessagesListRequestOrderBy] - Overrides the default ordering for this endpoint. Possible values include: remote_created_at, -remote_created_at. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - root_message : typing.Optional[str] - If provided as 'true', will only return root messages (messages without a parent message). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedMessageList - - - Examples - -------- - import datetime - - from merge import Merge - from merge.resources.chat.resources.messages import MessagesListRequestOrderBy - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.chat.messages.list( - conversation_id="conversation_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - order_by=MessagesListRequestOrderBy.REMOTE_CREATED_AT_DESCENDING, - page_size=1, - remote_id="remote_id", - root_message="root_message", - ) - """ - _response = self._raw_client.list( - conversation_id=conversation_id, - created_after=created_after, - created_before=created_before, - cursor=cursor, - include_deleted_data=include_deleted_data, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - modified_after=modified_after, - modified_before=modified_before, - order_by=order_by, - page_size=page_size, - remote_id=remote_id, - root_message=root_message, - request_options=request_options, - ) - return _response.data - - def retrieve( - self, - id: str, - *, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> Message: - """ - Returns a `Message` object with the given `id`. - - Parameters - ---------- - id : str - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - Message - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.chat.messages.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, - ) - """ - _response = self._raw_client.retrieve( - id, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - request_options=request_options, - ) - return _response.data - - def replies_list( - self, - message_id: str, - *, - cursor: typing.Optional[str] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - order_by: typing.Optional[MessagesRepliesListRequestOrderBy] = None, - page_size: typing.Optional[int] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedMessageList: - """ - Returns a list of `Message` objects. - - Parameters - ---------- - message_id : str - - cursor : typing.Optional[str] - The pagination cursor value. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - order_by : typing.Optional[MessagesRepliesListRequestOrderBy] - Overrides the default ordering for this endpoint. Possible values include: remote_created_at, -remote_created_at. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedMessageList - - - Examples - -------- - from merge import Merge - from merge.resources.chat.resources.messages import ( - MessagesRepliesListRequestOrderBy, - ) - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.chat.messages.replies_list( - message_id="message_id", - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - order_by=MessagesRepliesListRequestOrderBy.REMOTE_CREATED_AT_DESCENDING, - page_size=1, - ) - """ - _response = self._raw_client.replies_list( - message_id, - cursor=cursor, - include_deleted_data=include_deleted_data, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - order_by=order_by, - page_size=page_size, - request_options=request_options, - ) - return _response.data - - -class AsyncMessagesClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawMessagesClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawMessagesClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawMessagesClient - """ - return self._raw_client - - async def list( - self, - *, - conversation_id: typing.Optional[str] = None, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - order_by: typing.Optional[MessagesListRequestOrderBy] = None, - page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, - root_message: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedMessageList: - """ - Returns a list of `Message` objects. - - Parameters - ---------- - conversation_id : typing.Optional[str] - Filter messages by conversation ID. - - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - order_by : typing.Optional[MessagesListRequestOrderBy] - Overrides the default ordering for this endpoint. Possible values include: remote_created_at, -remote_created_at. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - root_message : typing.Optional[str] - If provided as 'true', will only return root messages (messages without a parent message). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedMessageList - - - Examples - -------- - import asyncio - import datetime - - from merge import AsyncMerge - from merge.resources.chat.resources.messages import MessagesListRequestOrderBy - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.chat.messages.list( - conversation_id="conversation_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - order_by=MessagesListRequestOrderBy.REMOTE_CREATED_AT_DESCENDING, - page_size=1, - remote_id="remote_id", - root_message="root_message", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.list( - conversation_id=conversation_id, - created_after=created_after, - created_before=created_before, - cursor=cursor, - include_deleted_data=include_deleted_data, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - modified_after=modified_after, - modified_before=modified_before, - order_by=order_by, - page_size=page_size, - remote_id=remote_id, - root_message=root_message, - request_options=request_options, - ) - return _response.data - - async def retrieve( - self, - id: str, - *, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> Message: - """ - Returns a `Message` object with the given `id`. - - Parameters - ---------- - id : str - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - Message - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.chat.messages.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.retrieve( - id, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - request_options=request_options, - ) - return _response.data - - async def replies_list( - self, - message_id: str, - *, - cursor: typing.Optional[str] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - order_by: typing.Optional[MessagesRepliesListRequestOrderBy] = None, - page_size: typing.Optional[int] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedMessageList: - """ - Returns a list of `Message` objects. - - Parameters - ---------- - message_id : str - - cursor : typing.Optional[str] - The pagination cursor value. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - order_by : typing.Optional[MessagesRepliesListRequestOrderBy] - Overrides the default ordering for this endpoint. Possible values include: remote_created_at, -remote_created_at. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedMessageList - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - from merge.resources.chat.resources.messages import ( - MessagesRepliesListRequestOrderBy, - ) - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.chat.messages.replies_list( - message_id="message_id", - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - order_by=MessagesRepliesListRequestOrderBy.REMOTE_CREATED_AT_DESCENDING, - page_size=1, - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.replies_list( - message_id, - cursor=cursor, - include_deleted_data=include_deleted_data, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - order_by=order_by, - page_size=page_size, - request_options=request_options, - ) - return _response.data diff --git a/src/merge/resources/chat/resources/messages/raw_client.py b/src/merge/resources/chat/resources/messages/raw_client.py deleted file mode 100644 index ef732e06..00000000 --- a/src/merge/resources/chat/resources/messages/raw_client.py +++ /dev/null @@ -1,489 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.datetime_utils import serialize_datetime -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.jsonable_encoder import jsonable_encoder -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.message import Message -from ...types.paginated_message_list import PaginatedMessageList -from .types.messages_list_request_order_by import MessagesListRequestOrderBy -from .types.messages_replies_list_request_order_by import MessagesRepliesListRequestOrderBy - - -class RawMessagesClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def list( - self, - *, - conversation_id: typing.Optional[str] = None, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - order_by: typing.Optional[MessagesListRequestOrderBy] = None, - page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, - root_message: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedMessageList]: - """ - Returns a list of `Message` objects. - - Parameters - ---------- - conversation_id : typing.Optional[str] - Filter messages by conversation ID. - - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - order_by : typing.Optional[MessagesListRequestOrderBy] - Overrides the default ordering for this endpoint. Possible values include: remote_created_at, -remote_created_at. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - root_message : typing.Optional[str] - If provided as 'true', will only return root messages (messages without a parent message). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[PaginatedMessageList] - - """ - _response = self._client_wrapper.httpx_client.request( - "chat/v1/messages", - method="GET", - params={ - "conversation_id": conversation_id, - "created_after": serialize_datetime(created_after) if created_after is not None else None, - "created_before": serialize_datetime(created_before) if created_before is not None else None, - "cursor": cursor, - "include_deleted_data": include_deleted_data, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - "modified_after": serialize_datetime(modified_after) if modified_after is not None else None, - "modified_before": serialize_datetime(modified_before) if modified_before is not None else None, - "order_by": order_by, - "page_size": page_size, - "remote_id": remote_id, - "root_message": root_message, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedMessageList, - construct_type( - type_=PaginatedMessageList, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def retrieve( - self, - id: str, - *, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[Message]: - """ - Returns a `Message` object with the given `id`. - - Parameters - ---------- - id : str - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[Message] - - """ - _response = self._client_wrapper.httpx_client.request( - f"chat/v1/messages/{jsonable_encoder(id)}", - method="GET", - params={ - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - Message, - construct_type( - type_=Message, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def replies_list( - self, - message_id: str, - *, - cursor: typing.Optional[str] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - order_by: typing.Optional[MessagesRepliesListRequestOrderBy] = None, - page_size: typing.Optional[int] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedMessageList]: - """ - Returns a list of `Message` objects. - - Parameters - ---------- - message_id : str - - cursor : typing.Optional[str] - The pagination cursor value. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - order_by : typing.Optional[MessagesRepliesListRequestOrderBy] - Overrides the default ordering for this endpoint. Possible values include: remote_created_at, -remote_created_at. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[PaginatedMessageList] - - """ - _response = self._client_wrapper.httpx_client.request( - f"chat/v1/messages/{jsonable_encoder(message_id)}/replies", - method="GET", - params={ - "cursor": cursor, - "include_deleted_data": include_deleted_data, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - "order_by": order_by, - "page_size": page_size, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedMessageList, - construct_type( - type_=PaginatedMessageList, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawMessagesClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def list( - self, - *, - conversation_id: typing.Optional[str] = None, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - order_by: typing.Optional[MessagesListRequestOrderBy] = None, - page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, - root_message: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedMessageList]: - """ - Returns a list of `Message` objects. - - Parameters - ---------- - conversation_id : typing.Optional[str] - Filter messages by conversation ID. - - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - order_by : typing.Optional[MessagesListRequestOrderBy] - Overrides the default ordering for this endpoint. Possible values include: remote_created_at, -remote_created_at. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - root_message : typing.Optional[str] - If provided as 'true', will only return root messages (messages without a parent message). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[PaginatedMessageList] - - """ - _response = await self._client_wrapper.httpx_client.request( - "chat/v1/messages", - method="GET", - params={ - "conversation_id": conversation_id, - "created_after": serialize_datetime(created_after) if created_after is not None else None, - "created_before": serialize_datetime(created_before) if created_before is not None else None, - "cursor": cursor, - "include_deleted_data": include_deleted_data, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - "modified_after": serialize_datetime(modified_after) if modified_after is not None else None, - "modified_before": serialize_datetime(modified_before) if modified_before is not None else None, - "order_by": order_by, - "page_size": page_size, - "remote_id": remote_id, - "root_message": root_message, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedMessageList, - construct_type( - type_=PaginatedMessageList, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def retrieve( - self, - id: str, - *, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[Message]: - """ - Returns a `Message` object with the given `id`. - - Parameters - ---------- - id : str - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[Message] - - """ - _response = await self._client_wrapper.httpx_client.request( - f"chat/v1/messages/{jsonable_encoder(id)}", - method="GET", - params={ - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - Message, - construct_type( - type_=Message, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def replies_list( - self, - message_id: str, - *, - cursor: typing.Optional[str] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - order_by: typing.Optional[MessagesRepliesListRequestOrderBy] = None, - page_size: typing.Optional[int] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedMessageList]: - """ - Returns a list of `Message` objects. - - Parameters - ---------- - message_id : str - - cursor : typing.Optional[str] - The pagination cursor value. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - order_by : typing.Optional[MessagesRepliesListRequestOrderBy] - Overrides the default ordering for this endpoint. Possible values include: remote_created_at, -remote_created_at. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[PaginatedMessageList] - - """ - _response = await self._client_wrapper.httpx_client.request( - f"chat/v1/messages/{jsonable_encoder(message_id)}/replies", - method="GET", - params={ - "cursor": cursor, - "include_deleted_data": include_deleted_data, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - "order_by": order_by, - "page_size": page_size, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedMessageList, - construct_type( - type_=PaginatedMessageList, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/chat/resources/messages/types/__init__.py b/src/merge/resources/chat/resources/messages/types/__init__.py deleted file mode 100644 index fac1eeff..00000000 --- a/src/merge/resources/chat/resources/messages/types/__init__.py +++ /dev/null @@ -1,36 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - -import typing -from importlib import import_module - -if typing.TYPE_CHECKING: - from .messages_list_request_order_by import MessagesListRequestOrderBy - from .messages_replies_list_request_order_by import MessagesRepliesListRequestOrderBy -_dynamic_imports: typing.Dict[str, str] = { - "MessagesListRequestOrderBy": ".messages_list_request_order_by", - "MessagesRepliesListRequestOrderBy": ".messages_replies_list_request_order_by", -} - - -def __getattr__(attr_name: str) -> typing.Any: - module_name = _dynamic_imports.get(attr_name) - if module_name is None: - raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") - try: - module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result - except ImportError as e: - raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e - except AttributeError as e: - raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e - - -def __dir__(): - lazy_attrs = list(_dynamic_imports.keys()) - return sorted(lazy_attrs) - - -__all__ = ["MessagesListRequestOrderBy", "MessagesRepliesListRequestOrderBy"] diff --git a/src/merge/resources/chat/resources/messages/types/messages_list_request_order_by.py b/src/merge/resources/chat/resources/messages/types/messages_list_request_order_by.py deleted file mode 100644 index f10d0646..00000000 --- a/src/merge/resources/chat/resources/messages/types/messages_list_request_order_by.py +++ /dev/null @@ -1,21 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class MessagesListRequestOrderBy(str, enum.Enum): - REMOTE_CREATED_AT_DESCENDING = "-remote_created_at" - REMOTE_CREATED_AT_ASCENDING = "remote_created_at" - - def visit( - self, - remote_created_at_descending: typing.Callable[[], T_Result], - remote_created_at_ascending: typing.Callable[[], T_Result], - ) -> T_Result: - if self is MessagesListRequestOrderBy.REMOTE_CREATED_AT_DESCENDING: - return remote_created_at_descending() - if self is MessagesListRequestOrderBy.REMOTE_CREATED_AT_ASCENDING: - return remote_created_at_ascending() diff --git a/src/merge/resources/chat/resources/messages/types/messages_replies_list_request_order_by.py b/src/merge/resources/chat/resources/messages/types/messages_replies_list_request_order_by.py deleted file mode 100644 index 6b8df524..00000000 --- a/src/merge/resources/chat/resources/messages/types/messages_replies_list_request_order_by.py +++ /dev/null @@ -1,21 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class MessagesRepliesListRequestOrderBy(str, enum.Enum): - REMOTE_CREATED_AT_DESCENDING = "-remote_created_at" - REMOTE_CREATED_AT_ASCENDING = "remote_created_at" - - def visit( - self, - remote_created_at_descending: typing.Callable[[], T_Result], - remote_created_at_ascending: typing.Callable[[], T_Result], - ) -> T_Result: - if self is MessagesRepliesListRequestOrderBy.REMOTE_CREATED_AT_DESCENDING: - return remote_created_at_descending() - if self is MessagesRepliesListRequestOrderBy.REMOTE_CREATED_AT_ASCENDING: - return remote_created_at_ascending() diff --git a/src/merge/resources/chat/resources/passthrough/client.py b/src/merge/resources/chat/resources/passthrough/client.py deleted file mode 100644 index d5479c3b..00000000 --- a/src/merge/resources/chat/resources/passthrough/client.py +++ /dev/null @@ -1,126 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.data_passthrough_request import DataPassthroughRequest -from ...types.remote_response import RemoteResponse -from .raw_client import AsyncRawPassthroughClient, RawPassthroughClient - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class PassthroughClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawPassthroughClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawPassthroughClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawPassthroughClient - """ - return self._raw_client - - def create( - self, *, request: DataPassthroughRequest, request_options: typing.Optional[RequestOptions] = None - ) -> RemoteResponse: - """ - Pull data from an endpoint not currently supported by Merge. - - Parameters - ---------- - request : DataPassthroughRequest - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - RemoteResponse - - - Examples - -------- - from merge import Merge - from merge.resources.chat import DataPassthroughRequest, MethodEnum - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.chat.passthrough.create( - request=DataPassthroughRequest( - method=MethodEnum.GET, - path="/scooters", - ), - ) - """ - _response = self._raw_client.create(request=request, request_options=request_options) - return _response.data - - -class AsyncPassthroughClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawPassthroughClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawPassthroughClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawPassthroughClient - """ - return self._raw_client - - async def create( - self, *, request: DataPassthroughRequest, request_options: typing.Optional[RequestOptions] = None - ) -> RemoteResponse: - """ - Pull data from an endpoint not currently supported by Merge. - - Parameters - ---------- - request : DataPassthroughRequest - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - RemoteResponse - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - from merge.resources.chat import DataPassthroughRequest, MethodEnum - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.chat.passthrough.create( - request=DataPassthroughRequest( - method=MethodEnum.GET, - path="/scooters", - ), - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.create(request=request, request_options=request_options) - return _response.data diff --git a/src/merge/resources/chat/resources/passthrough/raw_client.py b/src/merge/resources/chat/resources/passthrough/raw_client.py deleted file mode 100644 index d87bb971..00000000 --- a/src/merge/resources/chat/resources/passthrough/raw_client.py +++ /dev/null @@ -1,111 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.data_passthrough_request import DataPassthroughRequest -from ...types.remote_response import RemoteResponse - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class RawPassthroughClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def create( - self, *, request: DataPassthroughRequest, request_options: typing.Optional[RequestOptions] = None - ) -> HttpResponse[RemoteResponse]: - """ - Pull data from an endpoint not currently supported by Merge. - - Parameters - ---------- - request : DataPassthroughRequest - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[RemoteResponse] - - """ - _response = self._client_wrapper.httpx_client.request( - "chat/v1/passthrough", - method="POST", - json=request, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - RemoteResponse, - construct_type( - type_=RemoteResponse, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawPassthroughClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def create( - self, *, request: DataPassthroughRequest, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncHttpResponse[RemoteResponse]: - """ - Pull data from an endpoint not currently supported by Merge. - - Parameters - ---------- - request : DataPassthroughRequest - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[RemoteResponse] - - """ - _response = await self._client_wrapper.httpx_client.request( - "chat/v1/passthrough", - method="POST", - json=request, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - RemoteResponse, - construct_type( - type_=RemoteResponse, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/chat/resources/regenerate_key/client.py b/src/merge/resources/chat/resources/regenerate_key/client.py deleted file mode 100644 index f5de51ae..00000000 --- a/src/merge/resources/chat/resources/regenerate_key/client.py +++ /dev/null @@ -1,115 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.remote_key import RemoteKey -from .raw_client import AsyncRawRegenerateKeyClient, RawRegenerateKeyClient - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class RegenerateKeyClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawRegenerateKeyClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawRegenerateKeyClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawRegenerateKeyClient - """ - return self._raw_client - - def create(self, *, name: str, request_options: typing.Optional[RequestOptions] = None) -> RemoteKey: - """ - Exchange remote keys. - - Parameters - ---------- - name : str - The name of the remote key - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - RemoteKey - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.chat.regenerate_key.create( - name="Remote Deployment Key 1", - ) - """ - _response = self._raw_client.create(name=name, request_options=request_options) - return _response.data - - -class AsyncRegenerateKeyClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawRegenerateKeyClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawRegenerateKeyClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawRegenerateKeyClient - """ - return self._raw_client - - async def create(self, *, name: str, request_options: typing.Optional[RequestOptions] = None) -> RemoteKey: - """ - Exchange remote keys. - - Parameters - ---------- - name : str - The name of the remote key - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - RemoteKey - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.chat.regenerate_key.create( - name="Remote Deployment Key 1", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.create(name=name, request_options=request_options) - return _response.data diff --git a/src/merge/resources/chat/resources/regenerate_key/raw_client.py b/src/merge/resources/chat/resources/regenerate_key/raw_client.py deleted file mode 100644 index 55fed130..00000000 --- a/src/merge/resources/chat/resources/regenerate_key/raw_client.py +++ /dev/null @@ -1,114 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.remote_key import RemoteKey - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class RawRegenerateKeyClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def create(self, *, name: str, request_options: typing.Optional[RequestOptions] = None) -> HttpResponse[RemoteKey]: - """ - Exchange remote keys. - - Parameters - ---------- - name : str - The name of the remote key - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[RemoteKey] - - """ - _response = self._client_wrapper.httpx_client.request( - "chat/v1/regenerate-key", - method="POST", - json={ - "name": name, - }, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - RemoteKey, - construct_type( - type_=RemoteKey, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawRegenerateKeyClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def create( - self, *, name: str, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncHttpResponse[RemoteKey]: - """ - Exchange remote keys. - - Parameters - ---------- - name : str - The name of the remote key - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[RemoteKey] - - """ - _response = await self._client_wrapper.httpx_client.request( - "chat/v1/regenerate-key", - method="POST", - json={ - "name": name, - }, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - RemoteKey, - construct_type( - type_=RemoteKey, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/chat/resources/scopes/client.py b/src/merge/resources/chat/resources/scopes/client.py deleted file mode 100644 index 6d0bbdda..00000000 --- a/src/merge/resources/chat/resources/scopes/client.py +++ /dev/null @@ -1,320 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.common_model_scope_api import CommonModelScopeApi -from ...types.individual_common_model_scope_deserializer_request import IndividualCommonModelScopeDeserializerRequest -from .raw_client import AsyncRawScopesClient, RawScopesClient - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class ScopesClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawScopesClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawScopesClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawScopesClient - """ - return self._raw_client - - def default_scopes_retrieve( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> CommonModelScopeApi: - """ - Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - CommonModelScopeApi - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.chat.scopes.default_scopes_retrieve() - """ - _response = self._raw_client.default_scopes_retrieve(request_options=request_options) - return _response.data - - def linked_account_scopes_retrieve( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> CommonModelScopeApi: - """ - Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - CommonModelScopeApi - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.chat.scopes.linked_account_scopes_retrieve() - """ - _response = self._raw_client.linked_account_scopes_retrieve(request_options=request_options) - return _response.data - - def linked_account_scopes_create( - self, - *, - common_models: typing.Sequence[IndividualCommonModelScopeDeserializerRequest], - request_options: typing.Optional[RequestOptions] = None, - ) -> CommonModelScopeApi: - """ - Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes) - - Parameters - ---------- - common_models : typing.Sequence[IndividualCommonModelScopeDeserializerRequest] - The common models you want to update the scopes for - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - CommonModelScopeApi - - - Examples - -------- - from merge import Merge - from merge.resources.chat import ( - FieldPermissionDeserializerRequest, - IndividualCommonModelScopeDeserializerRequest, - ModelPermissionDeserializerRequest, - ) - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.chat.scopes.linked_account_scopes_create( - common_models=[ - IndividualCommonModelScopeDeserializerRequest( - model_name="Employee", - model_permissions={ - "READ": ModelPermissionDeserializerRequest( - is_enabled=True, - ), - "WRITE": ModelPermissionDeserializerRequest( - is_enabled=False, - ), - }, - field_permissions=FieldPermissionDeserializerRequest( - enabled_fields=["avatar", "home_location"], - disabled_fields=["work_location"], - ), - ), - IndividualCommonModelScopeDeserializerRequest( - model_name="Benefit", - model_permissions={ - "WRITE": ModelPermissionDeserializerRequest( - is_enabled=False, - ) - }, - ), - ], - ) - """ - _response = self._raw_client.linked_account_scopes_create( - common_models=common_models, request_options=request_options - ) - return _response.data - - -class AsyncScopesClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawScopesClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawScopesClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawScopesClient - """ - return self._raw_client - - async def default_scopes_retrieve( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> CommonModelScopeApi: - """ - Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - CommonModelScopeApi - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.chat.scopes.default_scopes_retrieve() - - - asyncio.run(main()) - """ - _response = await self._raw_client.default_scopes_retrieve(request_options=request_options) - return _response.data - - async def linked_account_scopes_retrieve( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> CommonModelScopeApi: - """ - Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - CommonModelScopeApi - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.chat.scopes.linked_account_scopes_retrieve() - - - asyncio.run(main()) - """ - _response = await self._raw_client.linked_account_scopes_retrieve(request_options=request_options) - return _response.data - - async def linked_account_scopes_create( - self, - *, - common_models: typing.Sequence[IndividualCommonModelScopeDeserializerRequest], - request_options: typing.Optional[RequestOptions] = None, - ) -> CommonModelScopeApi: - """ - Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes) - - Parameters - ---------- - common_models : typing.Sequence[IndividualCommonModelScopeDeserializerRequest] - The common models you want to update the scopes for - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - CommonModelScopeApi - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - from merge.resources.chat import ( - FieldPermissionDeserializerRequest, - IndividualCommonModelScopeDeserializerRequest, - ModelPermissionDeserializerRequest, - ) - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.chat.scopes.linked_account_scopes_create( - common_models=[ - IndividualCommonModelScopeDeserializerRequest( - model_name="Employee", - model_permissions={ - "READ": ModelPermissionDeserializerRequest( - is_enabled=True, - ), - "WRITE": ModelPermissionDeserializerRequest( - is_enabled=False, - ), - }, - field_permissions=FieldPermissionDeserializerRequest( - enabled_fields=["avatar", "home_location"], - disabled_fields=["work_location"], - ), - ), - IndividualCommonModelScopeDeserializerRequest( - model_name="Benefit", - model_permissions={ - "WRITE": ModelPermissionDeserializerRequest( - is_enabled=False, - ) - }, - ), - ], - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.linked_account_scopes_create( - common_models=common_models, request_options=request_options - ) - return _response.data diff --git a/src/merge/resources/chat/resources/scopes/raw_client.py b/src/merge/resources/chat/resources/scopes/raw_client.py deleted file mode 100644 index 5b80be62..00000000 --- a/src/merge/resources/chat/resources/scopes/raw_client.py +++ /dev/null @@ -1,267 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.common_model_scope_api import CommonModelScopeApi -from ...types.individual_common_model_scope_deserializer_request import IndividualCommonModelScopeDeserializerRequest - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class RawScopesClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def default_scopes_retrieve( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> HttpResponse[CommonModelScopeApi]: - """ - Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[CommonModelScopeApi] - - """ - _response = self._client_wrapper.httpx_client.request( - "chat/v1/default-scopes", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - CommonModelScopeApi, - construct_type( - type_=CommonModelScopeApi, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def linked_account_scopes_retrieve( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> HttpResponse[CommonModelScopeApi]: - """ - Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[CommonModelScopeApi] - - """ - _response = self._client_wrapper.httpx_client.request( - "chat/v1/linked-account-scopes", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - CommonModelScopeApi, - construct_type( - type_=CommonModelScopeApi, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def linked_account_scopes_create( - self, - *, - common_models: typing.Sequence[IndividualCommonModelScopeDeserializerRequest], - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[CommonModelScopeApi]: - """ - Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes) - - Parameters - ---------- - common_models : typing.Sequence[IndividualCommonModelScopeDeserializerRequest] - The common models you want to update the scopes for - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[CommonModelScopeApi] - - """ - _response = self._client_wrapper.httpx_client.request( - "chat/v1/linked-account-scopes", - method="POST", - json={ - "common_models": common_models, - }, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - CommonModelScopeApi, - construct_type( - type_=CommonModelScopeApi, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawScopesClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def default_scopes_retrieve( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncHttpResponse[CommonModelScopeApi]: - """ - Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[CommonModelScopeApi] - - """ - _response = await self._client_wrapper.httpx_client.request( - "chat/v1/default-scopes", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - CommonModelScopeApi, - construct_type( - type_=CommonModelScopeApi, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def linked_account_scopes_retrieve( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncHttpResponse[CommonModelScopeApi]: - """ - Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[CommonModelScopeApi] - - """ - _response = await self._client_wrapper.httpx_client.request( - "chat/v1/linked-account-scopes", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - CommonModelScopeApi, - construct_type( - type_=CommonModelScopeApi, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def linked_account_scopes_create( - self, - *, - common_models: typing.Sequence[IndividualCommonModelScopeDeserializerRequest], - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[CommonModelScopeApi]: - """ - Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes) - - Parameters - ---------- - common_models : typing.Sequence[IndividualCommonModelScopeDeserializerRequest] - The common models you want to update the scopes for - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[CommonModelScopeApi] - - """ - _response = await self._client_wrapper.httpx_client.request( - "chat/v1/linked-account-scopes", - method="POST", - json={ - "common_models": common_models, - }, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - CommonModelScopeApi, - construct_type( - type_=CommonModelScopeApi, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/chat/resources/sync_status/client.py b/src/merge/resources/chat/resources/sync_status/client.py deleted file mode 100644 index 20b0a2af..00000000 --- a/src/merge/resources/chat/resources/sync_status/client.py +++ /dev/null @@ -1,132 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.paginated_sync_status_list import PaginatedSyncStatusList -from .raw_client import AsyncRawSyncStatusClient, RawSyncStatusClient - - -class SyncStatusClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawSyncStatusClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawSyncStatusClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawSyncStatusClient - """ - return self._raw_client - - def list( - self, - *, - cursor: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedSyncStatusList: - """ - Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). - - Parameters - ---------- - cursor : typing.Optional[str] - The pagination cursor value. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedSyncStatusList - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.chat.sync_status.list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - page_size=1, - ) - """ - _response = self._raw_client.list(cursor=cursor, page_size=page_size, request_options=request_options) - return _response.data - - -class AsyncSyncStatusClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawSyncStatusClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawSyncStatusClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawSyncStatusClient - """ - return self._raw_client - - async def list( - self, - *, - cursor: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedSyncStatusList: - """ - Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). - - Parameters - ---------- - cursor : typing.Optional[str] - The pagination cursor value. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedSyncStatusList - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.chat.sync_status.list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - page_size=1, - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.list(cursor=cursor, page_size=page_size, request_options=request_options) - return _response.data diff --git a/src/merge/resources/chat/resources/sync_status/raw_client.py b/src/merge/resources/chat/resources/sync_status/raw_client.py deleted file mode 100644 index 2e94b022..00000000 --- a/src/merge/resources/chat/resources/sync_status/raw_client.py +++ /dev/null @@ -1,121 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.paginated_sync_status_list import PaginatedSyncStatusList - - -class RawSyncStatusClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def list( - self, - *, - cursor: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedSyncStatusList]: - """ - Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). - - Parameters - ---------- - cursor : typing.Optional[str] - The pagination cursor value. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[PaginatedSyncStatusList] - - """ - _response = self._client_wrapper.httpx_client.request( - "chat/v1/sync-status", - method="GET", - params={ - "cursor": cursor, - "page_size": page_size, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedSyncStatusList, - construct_type( - type_=PaginatedSyncStatusList, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawSyncStatusClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def list( - self, - *, - cursor: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedSyncStatusList]: - """ - Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). - - Parameters - ---------- - cursor : typing.Optional[str] - The pagination cursor value. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[PaginatedSyncStatusList] - - """ - _response = await self._client_wrapper.httpx_client.request( - "chat/v1/sync-status", - method="GET", - params={ - "cursor": cursor, - "page_size": page_size, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedSyncStatusList, - construct_type( - type_=PaginatedSyncStatusList, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/chat/resources/users/client.py b/src/merge/resources/chat/resources/users/client.py deleted file mode 100644 index cdc6ba3c..00000000 --- a/src/merge/resources/chat/resources/users/client.py +++ /dev/null @@ -1,387 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.paginated_user_list import PaginatedUserList -from ...types.user import User -from .raw_client import AsyncRawUsersClient, RawUsersClient - - -class UsersClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawUsersClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawUsersClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawUsersClient - """ - return self._raw_client - - def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["groups"]] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedUserList: - """ - Returns a list of `User` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - expand : typing.Optional[typing.Literal["groups"]] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedUserList - - - Examples - -------- - import datetime - - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.chat.users.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", - ) - """ - _response = self._raw_client.list( - created_after=created_after, - created_before=created_before, - cursor=cursor, - expand=expand, - include_deleted_data=include_deleted_data, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - modified_after=modified_after, - modified_before=modified_before, - page_size=page_size, - remote_id=remote_id, - request_options=request_options, - ) - return _response.data - - def retrieve( - self, - id: str, - *, - expand: typing.Optional[typing.Literal["groups"]] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> User: - """ - Returns a `User` object with the given `id`. - - Parameters - ---------- - id : str - - expand : typing.Optional[typing.Literal["groups"]] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - User - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.chat.users.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, - ) - """ - _response = self._raw_client.retrieve( - id, - expand=expand, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - request_options=request_options, - ) - return _response.data - - -class AsyncUsersClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawUsersClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawUsersClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawUsersClient - """ - return self._raw_client - - async def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["groups"]] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedUserList: - """ - Returns a list of `User` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - expand : typing.Optional[typing.Literal["groups"]] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedUserList - - - Examples - -------- - import asyncio - import datetime - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.chat.users.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.list( - created_after=created_after, - created_before=created_before, - cursor=cursor, - expand=expand, - include_deleted_data=include_deleted_data, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - modified_after=modified_after, - modified_before=modified_before, - page_size=page_size, - remote_id=remote_id, - request_options=request_options, - ) - return _response.data - - async def retrieve( - self, - id: str, - *, - expand: typing.Optional[typing.Literal["groups"]] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> User: - """ - Returns a `User` object with the given `id`. - - Parameters - ---------- - id : str - - expand : typing.Optional[typing.Literal["groups"]] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - User - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.chat.users.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.retrieve( - id, - expand=expand, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - request_options=request_options, - ) - return _response.data diff --git a/src/merge/resources/chat/resources/users/raw_client.py b/src/merge/resources/chat/resources/users/raw_client.py deleted file mode 100644 index c8c16441..00000000 --- a/src/merge/resources/chat/resources/users/raw_client.py +++ /dev/null @@ -1,331 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.datetime_utils import serialize_datetime -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.jsonable_encoder import jsonable_encoder -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.paginated_user_list import PaginatedUserList -from ...types.user import User - - -class RawUsersClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["groups"]] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedUserList]: - """ - Returns a list of `User` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - expand : typing.Optional[typing.Literal["groups"]] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[PaginatedUserList] - - """ - _response = self._client_wrapper.httpx_client.request( - "chat/v1/users", - method="GET", - params={ - "created_after": serialize_datetime(created_after) if created_after is not None else None, - "created_before": serialize_datetime(created_before) if created_before is not None else None, - "cursor": cursor, - "expand": expand, - "include_deleted_data": include_deleted_data, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - "modified_after": serialize_datetime(modified_after) if modified_after is not None else None, - "modified_before": serialize_datetime(modified_before) if modified_before is not None else None, - "page_size": page_size, - "remote_id": remote_id, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedUserList, - construct_type( - type_=PaginatedUserList, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def retrieve( - self, - id: str, - *, - expand: typing.Optional[typing.Literal["groups"]] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[User]: - """ - Returns a `User` object with the given `id`. - - Parameters - ---------- - id : str - - expand : typing.Optional[typing.Literal["groups"]] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[User] - - """ - _response = self._client_wrapper.httpx_client.request( - f"chat/v1/users/{jsonable_encoder(id)}", - method="GET", - params={ - "expand": expand, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - User, - construct_type( - type_=User, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawUsersClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["groups"]] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedUserList]: - """ - Returns a list of `User` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - expand : typing.Optional[typing.Literal["groups"]] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[PaginatedUserList] - - """ - _response = await self._client_wrapper.httpx_client.request( - "chat/v1/users", - method="GET", - params={ - "created_after": serialize_datetime(created_after) if created_after is not None else None, - "created_before": serialize_datetime(created_before) if created_before is not None else None, - "cursor": cursor, - "expand": expand, - "include_deleted_data": include_deleted_data, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - "modified_after": serialize_datetime(modified_after) if modified_after is not None else None, - "modified_before": serialize_datetime(modified_before) if modified_before is not None else None, - "page_size": page_size, - "remote_id": remote_id, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedUserList, - construct_type( - type_=PaginatedUserList, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def retrieve( - self, - id: str, - *, - expand: typing.Optional[typing.Literal["groups"]] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[User]: - """ - Returns a `User` object with the given `id`. - - Parameters - ---------- - id : str - - expand : typing.Optional[typing.Literal["groups"]] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[User] - - """ - _response = await self._client_wrapper.httpx_client.request( - f"chat/v1/users/{jsonable_encoder(id)}", - method="GET", - params={ - "expand": expand, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - User, - construct_type( - type_=User, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/chat/resources/webhook_receivers/client.py b/src/merge/resources/chat/resources/webhook_receivers/client.py deleted file mode 100644 index 266d80a5..00000000 --- a/src/merge/resources/chat/resources/webhook_receivers/client.py +++ /dev/null @@ -1,201 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.webhook_receiver import WebhookReceiver -from .raw_client import AsyncRawWebhookReceiversClient, RawWebhookReceiversClient - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class WebhookReceiversClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawWebhookReceiversClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawWebhookReceiversClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawWebhookReceiversClient - """ - return self._raw_client - - def list(self, *, request_options: typing.Optional[RequestOptions] = None) -> typing.List[WebhookReceiver]: - """ - Returns a list of `WebhookReceiver` objects. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - typing.List[WebhookReceiver] - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.chat.webhook_receivers.list() - """ - _response = self._raw_client.list(request_options=request_options) - return _response.data - - def create( - self, - *, - event: str, - is_active: bool, - key: typing.Optional[str] = OMIT, - request_options: typing.Optional[RequestOptions] = None, - ) -> WebhookReceiver: - """ - Creates a `WebhookReceiver` object with the given values. - - Parameters - ---------- - event : str - - is_active : bool - - key : typing.Optional[str] - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - WebhookReceiver - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.chat.webhook_receivers.create( - event="event", - is_active=True, - ) - """ - _response = self._raw_client.create(event=event, is_active=is_active, key=key, request_options=request_options) - return _response.data - - -class AsyncWebhookReceiversClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawWebhookReceiversClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawWebhookReceiversClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawWebhookReceiversClient - """ - return self._raw_client - - async def list(self, *, request_options: typing.Optional[RequestOptions] = None) -> typing.List[WebhookReceiver]: - """ - Returns a list of `WebhookReceiver` objects. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - typing.List[WebhookReceiver] - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.chat.webhook_receivers.list() - - - asyncio.run(main()) - """ - _response = await self._raw_client.list(request_options=request_options) - return _response.data - - async def create( - self, - *, - event: str, - is_active: bool, - key: typing.Optional[str] = OMIT, - request_options: typing.Optional[RequestOptions] = None, - ) -> WebhookReceiver: - """ - Creates a `WebhookReceiver` object with the given values. - - Parameters - ---------- - event : str - - is_active : bool - - key : typing.Optional[str] - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - WebhookReceiver - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.chat.webhook_receivers.create( - event="event", - is_active=True, - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.create( - event=event, is_active=is_active, key=key, request_options=request_options - ) - return _response.data diff --git a/src/merge/resources/chat/resources/webhook_receivers/raw_client.py b/src/merge/resources/chat/resources/webhook_receivers/raw_client.py deleted file mode 100644 index 56ad6750..00000000 --- a/src/merge/resources/chat/resources/webhook_receivers/raw_client.py +++ /dev/null @@ -1,208 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.webhook_receiver import WebhookReceiver - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class RawWebhookReceiversClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def list( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> HttpResponse[typing.List[WebhookReceiver]]: - """ - Returns a list of `WebhookReceiver` objects. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[typing.List[WebhookReceiver]] - - """ - _response = self._client_wrapper.httpx_client.request( - "chat/v1/webhook-receivers", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - typing.List[WebhookReceiver], - construct_type( - type_=typing.List[WebhookReceiver], # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def create( - self, - *, - event: str, - is_active: bool, - key: typing.Optional[str] = OMIT, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[WebhookReceiver]: - """ - Creates a `WebhookReceiver` object with the given values. - - Parameters - ---------- - event : str - - is_active : bool - - key : typing.Optional[str] - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[WebhookReceiver] - - """ - _response = self._client_wrapper.httpx_client.request( - "chat/v1/webhook-receivers", - method="POST", - json={ - "event": event, - "is_active": is_active, - "key": key, - }, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - WebhookReceiver, - construct_type( - type_=WebhookReceiver, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawWebhookReceiversClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def list( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncHttpResponse[typing.List[WebhookReceiver]]: - """ - Returns a list of `WebhookReceiver` objects. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[typing.List[WebhookReceiver]] - - """ - _response = await self._client_wrapper.httpx_client.request( - "chat/v1/webhook-receivers", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - typing.List[WebhookReceiver], - construct_type( - type_=typing.List[WebhookReceiver], # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def create( - self, - *, - event: str, - is_active: bool, - key: typing.Optional[str] = OMIT, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[WebhookReceiver]: - """ - Creates a `WebhookReceiver` object with the given values. - - Parameters - ---------- - event : str - - is_active : bool - - key : typing.Optional[str] - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[WebhookReceiver] - - """ - _response = await self._client_wrapper.httpx_client.request( - "chat/v1/webhook-receivers", - method="POST", - json={ - "event": event, - "is_active": is_active, - "key": key, - }, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - WebhookReceiver, - construct_type( - type_=WebhookReceiver, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/chat/types/__init__.py b/src/merge/resources/chat/types/__init__.py deleted file mode 100644 index 83dc82b8..00000000 --- a/src/merge/resources/chat/types/__init__.py +++ /dev/null @@ -1,302 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - -import typing -from importlib import import_module - -if typing.TYPE_CHECKING: - from .account_details import AccountDetails - from .account_details_and_actions import AccountDetailsAndActions - from .account_details_and_actions_category import AccountDetailsAndActionsCategory - from .account_details_and_actions_integration import AccountDetailsAndActionsIntegration - from .account_details_and_actions_status import AccountDetailsAndActionsStatus - from .account_details_and_actions_status_enum import AccountDetailsAndActionsStatusEnum - from .account_details_category import AccountDetailsCategory - from .account_integration import AccountIntegration - from .account_token import AccountToken - from .advanced_metadata import AdvancedMetadata - from .async_passthrough_reciept import AsyncPassthroughReciept - from .audit_log_event import AuditLogEvent - from .audit_log_event_event_type import AuditLogEventEventType - from .audit_log_event_role import AuditLogEventRole - from .available_actions import AvailableActions - from .categories_enum import CategoriesEnum - from .category_enum import CategoryEnum - from .common_model_scope_api import CommonModelScopeApi - from .common_model_scopes_body_request import CommonModelScopesBodyRequest - from .completed_account_initial_screen_enum import CompletedAccountInitialScreenEnum - from .conversation import Conversation - from .conversation_type import ConversationType - from .data_passthrough_request import DataPassthroughRequest - from .data_passthrough_request_method import DataPassthroughRequestMethod - from .data_passthrough_request_request_format import DataPassthroughRequestRequestFormat - from .debug_mode_log import DebugModeLog - from .debug_model_log_summary import DebugModelLogSummary - from .enabled_actions_enum import EnabledActionsEnum - from .encoding_enum import EncodingEnum - from .error_validation_problem import ErrorValidationProblem - from .event_type_enum import EventTypeEnum - from .external_target_field_api import ExternalTargetFieldApi - from .external_target_field_api_response import ExternalTargetFieldApiResponse - from .field_mapping_api_instance import FieldMappingApiInstance - from .field_mapping_api_instance_remote_field import FieldMappingApiInstanceRemoteField - from .field_mapping_api_instance_remote_field_remote_endpoint_info import ( - FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo, - ) - from .field_mapping_api_instance_response import FieldMappingApiInstanceResponse - from .field_mapping_api_instance_target_field import FieldMappingApiInstanceTargetField - from .field_mapping_instance_response import FieldMappingInstanceResponse - from .field_permission_deserializer import FieldPermissionDeserializer - from .field_permission_deserializer_request import FieldPermissionDeserializerRequest - from .group import Group - from .individual_common_model_scope_deserializer import IndividualCommonModelScopeDeserializer - from .individual_common_model_scope_deserializer_request import IndividualCommonModelScopeDeserializerRequest - from .issue import Issue - from .issue_status import IssueStatus - from .issue_status_enum import IssueStatusEnum - from .language_enum import LanguageEnum - from .last_sync_result_enum import LastSyncResultEnum - from .link_token import LinkToken - from .member import Member - from .message import Message - from .method_enum import MethodEnum - from .model_operation import ModelOperation - from .model_permission_deserializer import ModelPermissionDeserializer - from .model_permission_deserializer_request import ModelPermissionDeserializerRequest - from .multipart_form_field_request import MultipartFormFieldRequest - from .multipart_form_field_request_encoding import MultipartFormFieldRequestEncoding - from .paginated_account_details_and_actions_list import PaginatedAccountDetailsAndActionsList - from .paginated_audit_log_event_list import PaginatedAuditLogEventList - from .paginated_conversation_list import PaginatedConversationList - from .paginated_group_list import PaginatedGroupList - from .paginated_issue_list import PaginatedIssueList - from .paginated_member_list import PaginatedMemberList - from .paginated_message_list import PaginatedMessageList - from .paginated_sync_status_list import PaginatedSyncStatusList - from .paginated_user_list import PaginatedUserList - from .remote_data import RemoteData - from .remote_endpoint_info import RemoteEndpointInfo - from .remote_field_api import RemoteFieldApi - from .remote_field_api_advanced_metadata import RemoteFieldApiAdvancedMetadata - from .remote_field_api_coverage import RemoteFieldApiCoverage - from .remote_field_api_response import RemoteFieldApiResponse - from .remote_key import RemoteKey - from .remote_response import RemoteResponse - from .remote_response_response_type import RemoteResponseResponseType - from .request_format_enum import RequestFormatEnum - from .response_type_enum import ResponseTypeEnum - from .role_enum import RoleEnum - from .selective_sync_configurations_usage_enum import SelectiveSyncConfigurationsUsageEnum - from .status_fd_5_enum import StatusFd5Enum - from .sync_status import SyncStatus - from .sync_status_last_sync_result import SyncStatusLastSyncResult - from .sync_status_status import SyncStatusStatus - from .type_enum import TypeEnum - from .user import User - from .validation_problem_source import ValidationProblemSource - from .warning_validation_problem import WarningValidationProblem - from .webhook_receiver import WebhookReceiver -_dynamic_imports: typing.Dict[str, str] = { - "AccountDetails": ".account_details", - "AccountDetailsAndActions": ".account_details_and_actions", - "AccountDetailsAndActionsCategory": ".account_details_and_actions_category", - "AccountDetailsAndActionsIntegration": ".account_details_and_actions_integration", - "AccountDetailsAndActionsStatus": ".account_details_and_actions_status", - "AccountDetailsAndActionsStatusEnum": ".account_details_and_actions_status_enum", - "AccountDetailsCategory": ".account_details_category", - "AccountIntegration": ".account_integration", - "AccountToken": ".account_token", - "AdvancedMetadata": ".advanced_metadata", - "AsyncPassthroughReciept": ".async_passthrough_reciept", - "AuditLogEvent": ".audit_log_event", - "AuditLogEventEventType": ".audit_log_event_event_type", - "AuditLogEventRole": ".audit_log_event_role", - "AvailableActions": ".available_actions", - "CategoriesEnum": ".categories_enum", - "CategoryEnum": ".category_enum", - "CommonModelScopeApi": ".common_model_scope_api", - "CommonModelScopesBodyRequest": ".common_model_scopes_body_request", - "CompletedAccountInitialScreenEnum": ".completed_account_initial_screen_enum", - "Conversation": ".conversation", - "ConversationType": ".conversation_type", - "DataPassthroughRequest": ".data_passthrough_request", - "DataPassthroughRequestMethod": ".data_passthrough_request_method", - "DataPassthroughRequestRequestFormat": ".data_passthrough_request_request_format", - "DebugModeLog": ".debug_mode_log", - "DebugModelLogSummary": ".debug_model_log_summary", - "EnabledActionsEnum": ".enabled_actions_enum", - "EncodingEnum": ".encoding_enum", - "ErrorValidationProblem": ".error_validation_problem", - "EventTypeEnum": ".event_type_enum", - "ExternalTargetFieldApi": ".external_target_field_api", - "ExternalTargetFieldApiResponse": ".external_target_field_api_response", - "FieldMappingApiInstance": ".field_mapping_api_instance", - "FieldMappingApiInstanceRemoteField": ".field_mapping_api_instance_remote_field", - "FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo": ".field_mapping_api_instance_remote_field_remote_endpoint_info", - "FieldMappingApiInstanceResponse": ".field_mapping_api_instance_response", - "FieldMappingApiInstanceTargetField": ".field_mapping_api_instance_target_field", - "FieldMappingInstanceResponse": ".field_mapping_instance_response", - "FieldPermissionDeserializer": ".field_permission_deserializer", - "FieldPermissionDeserializerRequest": ".field_permission_deserializer_request", - "Group": ".group", - "IndividualCommonModelScopeDeserializer": ".individual_common_model_scope_deserializer", - "IndividualCommonModelScopeDeserializerRequest": ".individual_common_model_scope_deserializer_request", - "Issue": ".issue", - "IssueStatus": ".issue_status", - "IssueStatusEnum": ".issue_status_enum", - "LanguageEnum": ".language_enum", - "LastSyncResultEnum": ".last_sync_result_enum", - "LinkToken": ".link_token", - "Member": ".member", - "Message": ".message", - "MethodEnum": ".method_enum", - "ModelOperation": ".model_operation", - "ModelPermissionDeserializer": ".model_permission_deserializer", - "ModelPermissionDeserializerRequest": ".model_permission_deserializer_request", - "MultipartFormFieldRequest": ".multipart_form_field_request", - "MultipartFormFieldRequestEncoding": ".multipart_form_field_request_encoding", - "PaginatedAccountDetailsAndActionsList": ".paginated_account_details_and_actions_list", - "PaginatedAuditLogEventList": ".paginated_audit_log_event_list", - "PaginatedConversationList": ".paginated_conversation_list", - "PaginatedGroupList": ".paginated_group_list", - "PaginatedIssueList": ".paginated_issue_list", - "PaginatedMemberList": ".paginated_member_list", - "PaginatedMessageList": ".paginated_message_list", - "PaginatedSyncStatusList": ".paginated_sync_status_list", - "PaginatedUserList": ".paginated_user_list", - "RemoteData": ".remote_data", - "RemoteEndpointInfo": ".remote_endpoint_info", - "RemoteFieldApi": ".remote_field_api", - "RemoteFieldApiAdvancedMetadata": ".remote_field_api_advanced_metadata", - "RemoteFieldApiCoverage": ".remote_field_api_coverage", - "RemoteFieldApiResponse": ".remote_field_api_response", - "RemoteKey": ".remote_key", - "RemoteResponse": ".remote_response", - "RemoteResponseResponseType": ".remote_response_response_type", - "RequestFormatEnum": ".request_format_enum", - "ResponseTypeEnum": ".response_type_enum", - "RoleEnum": ".role_enum", - "SelectiveSyncConfigurationsUsageEnum": ".selective_sync_configurations_usage_enum", - "StatusFd5Enum": ".status_fd_5_enum", - "SyncStatus": ".sync_status", - "SyncStatusLastSyncResult": ".sync_status_last_sync_result", - "SyncStatusStatus": ".sync_status_status", - "TypeEnum": ".type_enum", - "User": ".user", - "ValidationProblemSource": ".validation_problem_source", - "WarningValidationProblem": ".warning_validation_problem", - "WebhookReceiver": ".webhook_receiver", -} - - -def __getattr__(attr_name: str) -> typing.Any: - module_name = _dynamic_imports.get(attr_name) - if module_name is None: - raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") - try: - module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result - except ImportError as e: - raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e - except AttributeError as e: - raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e - - -def __dir__(): - lazy_attrs = list(_dynamic_imports.keys()) - return sorted(lazy_attrs) - - -__all__ = [ - "AccountDetails", - "AccountDetailsAndActions", - "AccountDetailsAndActionsCategory", - "AccountDetailsAndActionsIntegration", - "AccountDetailsAndActionsStatus", - "AccountDetailsAndActionsStatusEnum", - "AccountDetailsCategory", - "AccountIntegration", - "AccountToken", - "AdvancedMetadata", - "AsyncPassthroughReciept", - "AuditLogEvent", - "AuditLogEventEventType", - "AuditLogEventRole", - "AvailableActions", - "CategoriesEnum", - "CategoryEnum", - "CommonModelScopeApi", - "CommonModelScopesBodyRequest", - "CompletedAccountInitialScreenEnum", - "Conversation", - "ConversationType", - "DataPassthroughRequest", - "DataPassthroughRequestMethod", - "DataPassthroughRequestRequestFormat", - "DebugModeLog", - "DebugModelLogSummary", - "EnabledActionsEnum", - "EncodingEnum", - "ErrorValidationProblem", - "EventTypeEnum", - "ExternalTargetFieldApi", - "ExternalTargetFieldApiResponse", - "FieldMappingApiInstance", - "FieldMappingApiInstanceRemoteField", - "FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo", - "FieldMappingApiInstanceResponse", - "FieldMappingApiInstanceTargetField", - "FieldMappingInstanceResponse", - "FieldPermissionDeserializer", - "FieldPermissionDeserializerRequest", - "Group", - "IndividualCommonModelScopeDeserializer", - "IndividualCommonModelScopeDeserializerRequest", - "Issue", - "IssueStatus", - "IssueStatusEnum", - "LanguageEnum", - "LastSyncResultEnum", - "LinkToken", - "Member", - "Message", - "MethodEnum", - "ModelOperation", - "ModelPermissionDeserializer", - "ModelPermissionDeserializerRequest", - "MultipartFormFieldRequest", - "MultipartFormFieldRequestEncoding", - "PaginatedAccountDetailsAndActionsList", - "PaginatedAuditLogEventList", - "PaginatedConversationList", - "PaginatedGroupList", - "PaginatedIssueList", - "PaginatedMemberList", - "PaginatedMessageList", - "PaginatedSyncStatusList", - "PaginatedUserList", - "RemoteData", - "RemoteEndpointInfo", - "RemoteFieldApi", - "RemoteFieldApiAdvancedMetadata", - "RemoteFieldApiCoverage", - "RemoteFieldApiResponse", - "RemoteKey", - "RemoteResponse", - "RemoteResponseResponseType", - "RequestFormatEnum", - "ResponseTypeEnum", - "RoleEnum", - "SelectiveSyncConfigurationsUsageEnum", - "StatusFd5Enum", - "SyncStatus", - "SyncStatusLastSyncResult", - "SyncStatusStatus", - "TypeEnum", - "User", - "ValidationProblemSource", - "WarningValidationProblem", - "WebhookReceiver", -] diff --git a/src/merge/resources/chat/types/account_details_and_actions.py b/src/merge/resources/chat/types/account_details_and_actions.py deleted file mode 100644 index 93c874ed..00000000 --- a/src/merge/resources/chat/types/account_details_and_actions.py +++ /dev/null @@ -1,54 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .account_details_and_actions_category import AccountDetailsAndActionsCategory -from .account_details_and_actions_integration import AccountDetailsAndActionsIntegration -from .account_details_and_actions_status import AccountDetailsAndActionsStatus - - -class AccountDetailsAndActions(UncheckedBaseModel): - """ - # The LinkedAccount Object - ### Description - The `LinkedAccount` object is used to represent an end user's link with a specific integration. - - ### Usage Example - View a list of your organization's `LinkedAccount` objects. - """ - - id: str - category: typing.Optional[AccountDetailsAndActionsCategory] = None - status: AccountDetailsAndActionsStatus - status_detail: typing.Optional[str] = None - end_user_origin_id: typing.Optional[str] = None - end_user_organization_name: str - end_user_email_address: str - subdomain: typing.Optional[str] = pydantic.Field(default=None) - """ - The tenant or domain the customer has provided access to. - """ - - webhook_listener_url: str - is_duplicate: typing.Optional[bool] = pydantic.Field(default=None) - """ - Whether a Production Linked Account's credentials match another existing Production Linked Account. This field is `null` for Test Linked Accounts, incomplete Production Linked Accounts, and ignored duplicate Production Linked Account sets. - """ - - integration: typing.Optional[AccountDetailsAndActionsIntegration] = None - account_type: str - completed_at: dt.datetime - integration_specific_fields: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/account_details_category.py b/src/merge/resources/chat/types/account_details_category.py deleted file mode 100644 index 8a0cc59c..00000000 --- a/src/merge/resources/chat/types/account_details_category.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .category_enum import CategoryEnum - -AccountDetailsCategory = typing.Union[CategoryEnum, str] diff --git a/src/merge/resources/chat/types/account_integration.py b/src/merge/resources/chat/types/account_integration.py deleted file mode 100644 index ef8b260d..00000000 --- a/src/merge/resources/chat/types/account_integration.py +++ /dev/null @@ -1,67 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .categories_enum import CategoriesEnum - - -class AccountIntegration(UncheckedBaseModel): - name: str = pydantic.Field() - """ - Company name. - """ - - abbreviated_name: typing.Optional[str] = pydantic.Field(default=None) - """ - Optional. This shortened name appears in places with limited space, usually in conjunction with the platform's logo (e.g., Merge Link menu).

Example: Workforce Now (in lieu of ADP Workforce Now), SuccessFactors (in lieu of SAP SuccessFactors) - """ - - categories: typing.Optional[typing.List[CategoriesEnum]] = pydantic.Field(default=None) - """ - Category or categories this integration belongs to. Multiple categories should be comma separated, i.e. [ats, hris]. - """ - - image: typing.Optional[str] = pydantic.Field(default=None) - """ - Company logo in rectangular shape. - """ - - square_image: typing.Optional[str] = pydantic.Field(default=None) - """ - Company logo in square shape. - """ - - color: typing.Optional[str] = pydantic.Field(default=None) - """ - The color of this integration used for buttons and text throughout the app and landing pages. Choose a darker, saturated color. - """ - - slug: typing.Optional[str] = None - api_endpoints_to_documentation_urls: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = ( - pydantic.Field(default=None) - ) - """ - Mapping of API endpoints to documentation urls for support. Example: {'GET': [['/common-model-scopes', 'https://docs.merge.dev/accounting/common-model-scopes/#common_model_scopes_retrieve'],['/common-model-actions', 'https://docs.merge.dev/accounting/common-model-actions/#common_model_actions_retrieve']], 'POST': []} - """ - - webhook_setup_guide_url: typing.Optional[str] = pydantic.Field(default=None) - """ - Setup guide URL for third party webhook creation. Exposed in Merge Docs. - """ - - category_beta_status: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = pydantic.Field(default=None) - """ - Category or categories this integration is in beta status for. - """ - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/advanced_metadata.py b/src/merge/resources/chat/types/advanced_metadata.py deleted file mode 100644 index 60b5d072..00000000 --- a/src/merge/resources/chat/types/advanced_metadata.py +++ /dev/null @@ -1,25 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel - - -class AdvancedMetadata(UncheckedBaseModel): - id: str - display_name: typing.Optional[str] = None - description: typing.Optional[str] = None - is_required: typing.Optional[bool] = None - is_custom: typing.Optional[bool] = None - field_choices: typing.Optional[typing.List[typing.Optional[typing.Any]]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/categories_enum.py b/src/merge/resources/chat/types/categories_enum.py deleted file mode 100644 index da1e0dc0..00000000 --- a/src/merge/resources/chat/types/categories_enum.py +++ /dev/null @@ -1,56 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class CategoriesEnum(str, enum.Enum): - """ - * `hris` - hris - * `ats` - ats - * `accounting` - accounting - * `ticketing` - ticketing - * `crm` - crm - * `mktg` - mktg - * `filestorage` - filestorage - * `knowledgebase` - knowledgebase - """ - - HRIS = "hris" - ATS = "ats" - ACCOUNTING = "accounting" - TICKETING = "ticketing" - CRM = "crm" - MKTG = "mktg" - FILESTORAGE = "filestorage" - KNOWLEDGEBASE = "knowledgebase" - - def visit( - self, - hris: typing.Callable[[], T_Result], - ats: typing.Callable[[], T_Result], - accounting: typing.Callable[[], T_Result], - ticketing: typing.Callable[[], T_Result], - crm: typing.Callable[[], T_Result], - mktg: typing.Callable[[], T_Result], - filestorage: typing.Callable[[], T_Result], - knowledgebase: typing.Callable[[], T_Result], - ) -> T_Result: - if self is CategoriesEnum.HRIS: - return hris() - if self is CategoriesEnum.ATS: - return ats() - if self is CategoriesEnum.ACCOUNTING: - return accounting() - if self is CategoriesEnum.TICKETING: - return ticketing() - if self is CategoriesEnum.CRM: - return crm() - if self is CategoriesEnum.MKTG: - return mktg() - if self is CategoriesEnum.FILESTORAGE: - return filestorage() - if self is CategoriesEnum.KNOWLEDGEBASE: - return knowledgebase() diff --git a/src/merge/resources/chat/types/category_enum.py b/src/merge/resources/chat/types/category_enum.py deleted file mode 100644 index 1d7cd2c0..00000000 --- a/src/merge/resources/chat/types/category_enum.py +++ /dev/null @@ -1,56 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class CategoryEnum(str, enum.Enum): - """ - * `hris` - hris - * `ats` - ats - * `accounting` - accounting - * `ticketing` - ticketing - * `crm` - crm - * `mktg` - mktg - * `filestorage` - filestorage - * `knowledgebase` - knowledgebase - """ - - HRIS = "hris" - ATS = "ats" - ACCOUNTING = "accounting" - TICKETING = "ticketing" - CRM = "crm" - MKTG = "mktg" - FILESTORAGE = "filestorage" - KNOWLEDGEBASE = "knowledgebase" - - def visit( - self, - hris: typing.Callable[[], T_Result], - ats: typing.Callable[[], T_Result], - accounting: typing.Callable[[], T_Result], - ticketing: typing.Callable[[], T_Result], - crm: typing.Callable[[], T_Result], - mktg: typing.Callable[[], T_Result], - filestorage: typing.Callable[[], T_Result], - knowledgebase: typing.Callable[[], T_Result], - ) -> T_Result: - if self is CategoryEnum.HRIS: - return hris() - if self is CategoryEnum.ATS: - return ats() - if self is CategoryEnum.ACCOUNTING: - return accounting() - if self is CategoryEnum.TICKETING: - return ticketing() - if self is CategoryEnum.CRM: - return crm() - if self is CategoryEnum.MKTG: - return mktg() - if self is CategoryEnum.FILESTORAGE: - return filestorage() - if self is CategoryEnum.KNOWLEDGEBASE: - return knowledgebase() diff --git a/src/merge/resources/chat/types/completed_account_initial_screen_enum.py b/src/merge/resources/chat/types/completed_account_initial_screen_enum.py deleted file mode 100644 index c112dfd1..00000000 --- a/src/merge/resources/chat/types/completed_account_initial_screen_enum.py +++ /dev/null @@ -1,5 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -CompletedAccountInitialScreenEnum = typing.Literal["SELECTIVE_SYNC"] diff --git a/src/merge/resources/chat/types/conversation.py b/src/merge/resources/chat/types/conversation.py deleted file mode 100644 index 402823ad..00000000 --- a/src/merge/resources/chat/types/conversation.py +++ /dev/null @@ -1,90 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .conversation_type import ConversationType -from .remote_data import RemoteData - - -class Conversation(UncheckedBaseModel): - """ - # The Conversation Object - ### Description - The `Conversation` object is used to represent a conversation within the Chat account. - - ### Usage Example - Fetch from the `GET /api/chat/v1/conversations` endpoint and view their conversations. - """ - - id: typing.Optional[str] = None - remote_id: typing.Optional[str] = pydantic.Field(default=None) - """ - The third-party API ID of the matching object. - """ - - created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - The datetime that this object was created by Merge. - """ - - modified_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - The datetime that this object was modified by Merge. - """ - - name: typing.Optional[str] = pydantic.Field(default=None) - """ - The name of the conversation - """ - - description: typing.Optional[str] = pydantic.Field(default=None) - """ - The description of the conversation. - """ - - url: typing.Optional[str] = pydantic.Field(default=None) - """ - The url of the conversation. - """ - - type: typing.Optional[ConversationType] = pydantic.Field(default=None) - """ - The type of the conversation. - - * `PRIVATE_INTERNAL` - PRIVATE_INTERNAL - * `PRIVATE_EXTERNAL` - PRIVATE_EXTERNAL - * `PUBLIC_INTERNAL` - PUBLIC_INTERNAL - * `PUBLIC_EXTERNAL` - PUBLIC_EXTERNAL - """ - - members: typing.Optional[typing.List[typing.Optional[str]]] = None - remote_created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - When the third party's conversation was created. - """ - - remote_updated_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - When the third party's conversation was updated. - """ - - remote_was_deleted: typing.Optional[bool] = pydantic.Field(default=None) - """ - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - """ - - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - remote_data: typing.Optional[typing.List[RemoteData]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/conversation_type.py b/src/merge/resources/chat/types/conversation_type.py deleted file mode 100644 index c54e60bf..00000000 --- a/src/merge/resources/chat/types/conversation_type.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .type_enum import TypeEnum - -ConversationType = typing.Union[TypeEnum, str] diff --git a/src/merge/resources/chat/types/data_passthrough_request.py b/src/merge/resources/chat/types/data_passthrough_request.py deleted file mode 100644 index 5a60bfb6..00000000 --- a/src/merge/resources/chat/types/data_passthrough_request.py +++ /dev/null @@ -1,62 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .data_passthrough_request_method import DataPassthroughRequestMethod -from .data_passthrough_request_request_format import DataPassthroughRequestRequestFormat -from .multipart_form_field_request import MultipartFormFieldRequest - - -class DataPassthroughRequest(UncheckedBaseModel): - """ - # The DataPassthrough Object - ### Description - The `DataPassthrough` object is used to send information to an otherwise-unsupported third-party endpoint. - - ### Usage Example - Create a `DataPassthrough` to get team hierarchies from your Rippling integration. - """ - - method: DataPassthroughRequestMethod - path: str = pydantic.Field() - """ - The path of the request in the third party's platform. - """ - - base_url_override: typing.Optional[str] = pydantic.Field(default=None) - """ - An optional override of the third party's base url for the request. - """ - - data: typing.Optional[str] = pydantic.Field(default=None) - """ - The data with the request. You must include a `request_format` parameter matching the data's format - """ - - multipart_form_data: typing.Optional[typing.List[MultipartFormFieldRequest]] = pydantic.Field(default=None) - """ - Pass an array of `MultipartFormField` objects in here instead of using the `data` param if `request_format` is set to `MULTIPART`. - """ - - headers: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = pydantic.Field(default=None) - """ - The headers to use for the request (Merge will handle the account's authorization headers). `Content-Type` header is required for passthrough. Choose content type corresponding to expected format of receiving server. - """ - - request_format: typing.Optional[DataPassthroughRequestRequestFormat] = None - normalize_response: typing.Optional[bool] = pydantic.Field(default=None) - """ - Optional. If true, the response will always be an object of the form `{"type": T, "value": ...}` where `T` will be one of `string, boolean, number, null, array, object`. - """ - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/data_passthrough_request_method.py b/src/merge/resources/chat/types/data_passthrough_request_method.py deleted file mode 100644 index 58874cbf..00000000 --- a/src/merge/resources/chat/types/data_passthrough_request_method.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .method_enum import MethodEnum - -DataPassthroughRequestMethod = typing.Union[MethodEnum, str] diff --git a/src/merge/resources/chat/types/data_passthrough_request_request_format.py b/src/merge/resources/chat/types/data_passthrough_request_request_format.py deleted file mode 100644 index 13dc95f0..00000000 --- a/src/merge/resources/chat/types/data_passthrough_request_request_format.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .request_format_enum import RequestFormatEnum - -DataPassthroughRequestRequestFormat = typing.Union[RequestFormatEnum, str] diff --git a/src/merge/resources/chat/types/encoding_enum.py b/src/merge/resources/chat/types/encoding_enum.py deleted file mode 100644 index 7454647e..00000000 --- a/src/merge/resources/chat/types/encoding_enum.py +++ /dev/null @@ -1,31 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class EncodingEnum(str, enum.Enum): - """ - * `RAW` - RAW - * `BASE64` - BASE64 - * `GZIP_BASE64` - GZIP_BASE64 - """ - - RAW = "RAW" - BASE_64 = "BASE64" - GZIP_BASE_64 = "GZIP_BASE64" - - def visit( - self, - raw: typing.Callable[[], T_Result], - base_64: typing.Callable[[], T_Result], - gzip_base_64: typing.Callable[[], T_Result], - ) -> T_Result: - if self is EncodingEnum.RAW: - return raw() - if self is EncodingEnum.BASE_64: - return base_64() - if self is EncodingEnum.GZIP_BASE_64: - return gzip_base_64() diff --git a/src/merge/resources/chat/types/error_validation_problem.py b/src/merge/resources/chat/types/error_validation_problem.py deleted file mode 100644 index 57188343..00000000 --- a/src/merge/resources/chat/types/error_validation_problem.py +++ /dev/null @@ -1,25 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .validation_problem_source import ValidationProblemSource - - -class ErrorValidationProblem(UncheckedBaseModel): - source: typing.Optional[ValidationProblemSource] = None - title: str - detail: str - problem_type: str - block_merge_link: typing.Optional[bool] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/external_target_field_api_response.py b/src/merge/resources/chat/types/external_target_field_api_response.py deleted file mode 100644 index 624d13ef..00000000 --- a/src/merge/resources/chat/types/external_target_field_api_response.py +++ /dev/null @@ -1,26 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .external_target_field_api import ExternalTargetFieldApi - - -class ExternalTargetFieldApiResponse(UncheckedBaseModel): - user: typing.Optional[typing.List[ExternalTargetFieldApi]] = pydantic.Field(alias="User", default=None) - group: typing.Optional[typing.List[ExternalTargetFieldApi]] = pydantic.Field(alias="Group", default=None) - conversation: typing.Optional[typing.List[ExternalTargetFieldApi]] = pydantic.Field( - alias="Conversation", default=None - ) - member: typing.Optional[typing.List[ExternalTargetFieldApi]] = pydantic.Field(alias="Member", default=None) - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/field_mapping_api_instance.py b/src/merge/resources/chat/types/field_mapping_api_instance.py deleted file mode 100644 index 0d257dcb..00000000 --- a/src/merge/resources/chat/types/field_mapping_api_instance.py +++ /dev/null @@ -1,26 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .field_mapping_api_instance_remote_field import FieldMappingApiInstanceRemoteField -from .field_mapping_api_instance_target_field import FieldMappingApiInstanceTargetField - - -class FieldMappingApiInstance(UncheckedBaseModel): - id: typing.Optional[str] = None - is_integration_wide: typing.Optional[bool] = None - target_field: typing.Optional[FieldMappingApiInstanceTargetField] = None - remote_field: typing.Optional[FieldMappingApiInstanceRemoteField] = None - jmes_path: typing.Optional[str] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/field_mapping_api_instance_remote_field.py b/src/merge/resources/chat/types/field_mapping_api_instance_remote_field.py deleted file mode 100644 index 578a2b10..00000000 --- a/src/merge/resources/chat/types/field_mapping_api_instance_remote_field.py +++ /dev/null @@ -1,27 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .field_mapping_api_instance_remote_field_remote_endpoint_info import ( - FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo, -) - - -class FieldMappingApiInstanceRemoteField(UncheckedBaseModel): - remote_key_name: typing.Optional[str] = None - schema_: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = pydantic.Field( - alias="schema", default=None - ) - remote_endpoint_info: FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/field_mapping_api_instance_response.py b/src/merge/resources/chat/types/field_mapping_api_instance_response.py deleted file mode 100644 index ebded9e9..00000000 --- a/src/merge/resources/chat/types/field_mapping_api_instance_response.py +++ /dev/null @@ -1,26 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .field_mapping_api_instance import FieldMappingApiInstance - - -class FieldMappingApiInstanceResponse(UncheckedBaseModel): - user: typing.Optional[typing.List[FieldMappingApiInstance]] = pydantic.Field(alias="User", default=None) - group: typing.Optional[typing.List[FieldMappingApiInstance]] = pydantic.Field(alias="Group", default=None) - conversation: typing.Optional[typing.List[FieldMappingApiInstance]] = pydantic.Field( - alias="Conversation", default=None - ) - member: typing.Optional[typing.List[FieldMappingApiInstance]] = pydantic.Field(alias="Member", default=None) - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/field_permission_deserializer.py b/src/merge/resources/chat/types/field_permission_deserializer.py deleted file mode 100644 index 1d71ae04..00000000 --- a/src/merge/resources/chat/types/field_permission_deserializer.py +++ /dev/null @@ -1,21 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel - - -class FieldPermissionDeserializer(UncheckedBaseModel): - enabled_fields: typing.Optional[typing.List[typing.Optional[typing.Any]]] = None - disabled_fields: typing.Optional[typing.List[typing.Optional[typing.Any]]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/field_permission_deserializer_request.py b/src/merge/resources/chat/types/field_permission_deserializer_request.py deleted file mode 100644 index a4113b46..00000000 --- a/src/merge/resources/chat/types/field_permission_deserializer_request.py +++ /dev/null @@ -1,21 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel - - -class FieldPermissionDeserializerRequest(UncheckedBaseModel): - enabled_fields: typing.Optional[typing.List[typing.Optional[typing.Any]]] = None - disabled_fields: typing.Optional[typing.List[typing.Optional[typing.Any]]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/group.py b/src/merge/resources/chat/types/group.py deleted file mode 100644 index 732616f4..00000000 --- a/src/merge/resources/chat/types/group.py +++ /dev/null @@ -1,68 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .remote_data import RemoteData - - -class Group(UncheckedBaseModel): - """ - # The Group Object - ### Description - The `Group` object is used to represent any subset of `Users`. - ### Usage Example - Fetch from the `GET /api/chat/v1/groups` endpoint and view their groups. - """ - - id: typing.Optional[str] = None - remote_id: typing.Optional[str] = pydantic.Field(default=None) - """ - The third-party API ID of the matching object. - """ - - created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - The datetime that this object was created by Merge. - """ - - modified_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - The datetime that this object was modified by Merge. - """ - - name: typing.Optional[str] = pydantic.Field(default=None) - """ - The name of the Group - """ - - users: typing.Optional[typing.List[typing.Optional[str]]] = None - remote_created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - When the third party's group was created. - """ - - remote_updated_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - When the third party's group was updated. - """ - - remote_was_deleted: typing.Optional[bool] = pydantic.Field(default=None) - """ - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - """ - - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - remote_data: typing.Optional[typing.List[RemoteData]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/issue.py b/src/merge/resources/chat/types/issue.py deleted file mode 100644 index df31be95..00000000 --- a/src/merge/resources/chat/types/issue.py +++ /dev/null @@ -1,36 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .issue_status import IssueStatus - - -class Issue(UncheckedBaseModel): - id: typing.Optional[str] = None - status: typing.Optional[IssueStatus] = pydantic.Field(default=None) - """ - Status of the issue. Options: ('ONGOING', 'RESOLVED') - - * `ONGOING` - ONGOING - * `RESOLVED` - RESOLVED - """ - - error_description: str - end_user: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - first_incident_time: typing.Optional[dt.datetime] = None - last_incident_time: typing.Optional[dt.datetime] = None - is_muted: typing.Optional[bool] = None - error_details: typing.Optional[typing.List[str]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/member.py b/src/merge/resources/chat/types/member.py deleted file mode 100644 index 40bea7ed..00000000 --- a/src/merge/resources/chat/types/member.py +++ /dev/null @@ -1,73 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .remote_data import RemoteData - - -class Member(UncheckedBaseModel): - """ - # The Member Object - ### Description - The `Member` object is used to represent a member within the Chat account. - - ### Usage Example - Fetch from the `GET /api/chat/v1/members` endpoint and view their members. - """ - - id: typing.Optional[str] = None - remote_id: typing.Optional[str] = pydantic.Field(default=None) - """ - The third-party API ID of the matching object. - """ - - created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - The datetime that this object was created by Merge. - """ - - modified_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - The datetime that this object was modified by Merge. - """ - - user: typing.Optional[str] = pydantic.Field(default=None) - """ - The user that is a member of the conversation. Only populated if the member is a user. - """ - - group: typing.Optional[str] = pydantic.Field(default=None) - """ - The group that is a member of the conversation. Only populated if the member is a group. - """ - - remote_created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - When the third party's conversation was created. - """ - - remote_updated_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - When the third party's conversation was updated. - """ - - remote_was_deleted: typing.Optional[bool] = pydantic.Field(default=None) - """ - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - """ - - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - remote_data: typing.Optional[typing.List[RemoteData]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/message.py b/src/merge/resources/chat/types/message.py deleted file mode 100644 index 8e5d6fb8..00000000 --- a/src/merge/resources/chat/types/message.py +++ /dev/null @@ -1,88 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel - - -class Message(UncheckedBaseModel): - """ - # The Message Object - ### Description - The `Message` object is used to represent a message within the Chat account. - ### Usage Example - Fetch from the `GET /api/chat/v1/messages` endpoint and view their message. - """ - - id: typing.Optional[str] = None - remote_id: typing.Optional[str] = pydantic.Field(default=None) - """ - The third-party API ID of the matching object. - """ - - created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - The datetime that this object was created by Merge. - """ - - modified_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - The datetime that this object was modified by Merge. - """ - - user_id: typing.Optional[str] = pydantic.Field(default=None) - """ - The user that sent the message. - """ - - conversation_id: typing.Optional[str] = pydantic.Field(default=None) - """ - The conversation this message belongs to. - """ - - body: typing.Optional[str] = pydantic.Field(default=None) - """ - The body of the message. - """ - - subject_line: typing.Optional[str] = pydantic.Field(default=None) - """ - The subject line of the message. - """ - - root_message_id: typing.Optional[str] = pydantic.Field(default=None) - """ - The root message this message belongs to. - """ - - url: typing.Optional[str] = pydantic.Field(default=None) - """ - The url of the message. - """ - - remote_created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - When the third party's conversation was created. - """ - - remote_updated_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - When the third party's conversation was updated. - """ - - remote_was_deleted: typing.Optional[bool] = pydantic.Field(default=None) - """ - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - """ - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/multipart_form_field_request_encoding.py b/src/merge/resources/chat/types/multipart_form_field_request_encoding.py deleted file mode 100644 index c6513b6b..00000000 --- a/src/merge/resources/chat/types/multipart_form_field_request_encoding.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .encoding_enum import EncodingEnum - -MultipartFormFieldRequestEncoding = typing.Union[EncodingEnum, str] diff --git a/src/merge/resources/chat/types/paginated_conversation_list.py b/src/merge/resources/chat/types/paginated_conversation_list.py deleted file mode 100644 index 66ae6ad4..00000000 --- a/src/merge/resources/chat/types/paginated_conversation_list.py +++ /dev/null @@ -1,23 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .conversation import Conversation - - -class PaginatedConversationList(UncheckedBaseModel): - next: typing.Optional[str] = None - previous: typing.Optional[str] = None - results: typing.Optional[typing.List[Conversation]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/paginated_group_list.py b/src/merge/resources/chat/types/paginated_group_list.py deleted file mode 100644 index 90702e1f..00000000 --- a/src/merge/resources/chat/types/paginated_group_list.py +++ /dev/null @@ -1,23 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .group import Group - - -class PaginatedGroupList(UncheckedBaseModel): - next: typing.Optional[str] = None - previous: typing.Optional[str] = None - results: typing.Optional[typing.List[Group]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/paginated_member_list.py b/src/merge/resources/chat/types/paginated_member_list.py deleted file mode 100644 index 97a567c2..00000000 --- a/src/merge/resources/chat/types/paginated_member_list.py +++ /dev/null @@ -1,23 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .member import Member - - -class PaginatedMemberList(UncheckedBaseModel): - next: typing.Optional[str] = None - previous: typing.Optional[str] = None - results: typing.Optional[typing.List[Member]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/paginated_message_list.py b/src/merge/resources/chat/types/paginated_message_list.py deleted file mode 100644 index 6e8a7aee..00000000 --- a/src/merge/resources/chat/types/paginated_message_list.py +++ /dev/null @@ -1,23 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .message import Message - - -class PaginatedMessageList(UncheckedBaseModel): - next: typing.Optional[str] = None - previous: typing.Optional[str] = None - results: typing.Optional[typing.List[Message]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/remote_data.py b/src/merge/resources/chat/types/remote_data.py deleted file mode 100644 index f34bec80..00000000 --- a/src/merge/resources/chat/types/remote_data.py +++ /dev/null @@ -1,37 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel - - -class RemoteData(UncheckedBaseModel): - """ - # The RemoteData Object - ### Description - The `RemoteData` object is used to represent the full data pulled from the third-party API for an object. - - ### Usage Example - TODO - """ - - path: str = pydantic.Field() - """ - The third-party API path that is being called. - """ - - data: typing.Optional[typing.Optional[typing.Any]] = pydantic.Field(default=None) - """ - The data returned from the third-party for this object in its original, unnormalized format. - """ - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/remote_endpoint_info.py b/src/merge/resources/chat/types/remote_endpoint_info.py deleted file mode 100644 index 07ceff6a..00000000 --- a/src/merge/resources/chat/types/remote_endpoint_info.py +++ /dev/null @@ -1,22 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel - - -class RemoteEndpointInfo(UncheckedBaseModel): - method: str - url_path: str - field_traversal_path: typing.List[typing.Optional[typing.Any]] - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/remote_field_api.py b/src/merge/resources/chat/types/remote_field_api.py deleted file mode 100644 index 0756bfc3..00000000 --- a/src/merge/resources/chat/types/remote_field_api.py +++ /dev/null @@ -1,28 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .remote_endpoint_info import RemoteEndpointInfo -from .remote_field_api_advanced_metadata import RemoteFieldApiAdvancedMetadata -from .remote_field_api_coverage import RemoteFieldApiCoverage - - -class RemoteFieldApi(UncheckedBaseModel): - schema_: typing.Dict[str, typing.Optional[typing.Any]] = pydantic.Field(alias="schema") - remote_key_name: str - remote_endpoint_info: RemoteEndpointInfo - example_values: typing.Optional[typing.List[typing.Optional[typing.Any]]] = None - advanced_metadata: typing.Optional[RemoteFieldApiAdvancedMetadata] = None - coverage: typing.Optional[RemoteFieldApiCoverage] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/remote_field_api_advanced_metadata.py b/src/merge/resources/chat/types/remote_field_api_advanced_metadata.py deleted file mode 100644 index e93da936..00000000 --- a/src/merge/resources/chat/types/remote_field_api_advanced_metadata.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .advanced_metadata import AdvancedMetadata - -RemoteFieldApiAdvancedMetadata = typing.Union[AdvancedMetadata, str] diff --git a/src/merge/resources/chat/types/remote_field_api_response.py b/src/merge/resources/chat/types/remote_field_api_response.py deleted file mode 100644 index 7e47f247..00000000 --- a/src/merge/resources/chat/types/remote_field_api_response.py +++ /dev/null @@ -1,24 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .remote_field_api import RemoteFieldApi - - -class RemoteFieldApiResponse(UncheckedBaseModel): - user: typing.Optional[typing.List[RemoteFieldApi]] = pydantic.Field(alias="User", default=None) - group: typing.Optional[typing.List[RemoteFieldApi]] = pydantic.Field(alias="Group", default=None) - conversation: typing.Optional[typing.List[RemoteFieldApi]] = pydantic.Field(alias="Conversation", default=None) - member: typing.Optional[typing.List[RemoteFieldApi]] = pydantic.Field(alias="Member", default=None) - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/remote_response.py b/src/merge/resources/chat/types/remote_response.py deleted file mode 100644 index db01131f..00000000 --- a/src/merge/resources/chat/types/remote_response.py +++ /dev/null @@ -1,36 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .remote_response_response_type import RemoteResponseResponseType - - -class RemoteResponse(UncheckedBaseModel): - """ - # The RemoteResponse Object - ### Description - The `RemoteResponse` object is used to represent information returned from a third-party endpoint. - - ### Usage Example - View the `RemoteResponse` returned from your `DataPassthrough`. - """ - - method: str - path: str - status: int - response: typing.Optional[typing.Any] = None - response_headers: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - response_type: typing.Optional[RemoteResponseResponseType] = None - headers: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/response_type_enum.py b/src/merge/resources/chat/types/response_type_enum.py deleted file mode 100644 index ef241302..00000000 --- a/src/merge/resources/chat/types/response_type_enum.py +++ /dev/null @@ -1,22 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class ResponseTypeEnum(str, enum.Enum): - """ - * `JSON` - JSON - * `BASE64_GZIP` - BASE64_GZIP - """ - - JSON = "JSON" - BASE_64_GZIP = "BASE64_GZIP" - - def visit(self, json: typing.Callable[[], T_Result], base_64_gzip: typing.Callable[[], T_Result]) -> T_Result: - if self is ResponseTypeEnum.JSON: - return json() - if self is ResponseTypeEnum.BASE_64_GZIP: - return base_64_gzip() diff --git a/src/merge/resources/chat/types/sync_status_status.py b/src/merge/resources/chat/types/sync_status_status.py deleted file mode 100644 index 78e4cc47..00000000 --- a/src/merge/resources/chat/types/sync_status_status.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .status_fd_5_enum import StatusFd5Enum - -SyncStatusStatus = typing.Union[StatusFd5Enum, str] diff --git a/src/merge/resources/chat/types/type_enum.py b/src/merge/resources/chat/types/type_enum.py deleted file mode 100644 index 37cdd1ef..00000000 --- a/src/merge/resources/chat/types/type_enum.py +++ /dev/null @@ -1,36 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class TypeEnum(str, enum.Enum): - """ - * `PRIVATE_INTERNAL` - PRIVATE_INTERNAL - * `PRIVATE_EXTERNAL` - PRIVATE_EXTERNAL - * `PUBLIC_INTERNAL` - PUBLIC_INTERNAL - * `PUBLIC_EXTERNAL` - PUBLIC_EXTERNAL - """ - - PRIVATE_INTERNAL = "PRIVATE_INTERNAL" - PRIVATE_EXTERNAL = "PRIVATE_EXTERNAL" - PUBLIC_INTERNAL = "PUBLIC_INTERNAL" - PUBLIC_EXTERNAL = "PUBLIC_EXTERNAL" - - def visit( - self, - private_internal: typing.Callable[[], T_Result], - private_external: typing.Callable[[], T_Result], - public_internal: typing.Callable[[], T_Result], - public_external: typing.Callable[[], T_Result], - ) -> T_Result: - if self is TypeEnum.PRIVATE_INTERNAL: - return private_internal() - if self is TypeEnum.PRIVATE_EXTERNAL: - return private_external() - if self is TypeEnum.PUBLIC_INTERNAL: - return public_internal() - if self is TypeEnum.PUBLIC_EXTERNAL: - return public_external() diff --git a/src/merge/resources/chat/types/user.py b/src/merge/resources/chat/types/user.py deleted file mode 100644 index 28eb5802..00000000 --- a/src/merge/resources/chat/types/user.py +++ /dev/null @@ -1,94 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .remote_data import RemoteData - - -class User(UncheckedBaseModel): - """ - # The User Object - ### Description - The `User` object is used to represent a user within the Chat account. - - ### Usage Example - Fetch from the `GET /api/chat/v1/users` endpoint and view their users. - """ - - id: typing.Optional[str] = None - remote_id: typing.Optional[str] = pydantic.Field(default=None) - """ - The third-party API ID of the matching object. - """ - - created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - The datetime that this object was created by Merge. - """ - - modified_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - The datetime that this object was modified by Merge. - """ - - username: typing.Optional[str] = pydantic.Field(default=None) - """ - Username or handle - """ - - display_name: typing.Optional[str] = pydantic.Field(default=None) - """ - Full name or display name - """ - - first_name: typing.Optional[str] = pydantic.Field(default=None) - """ - The user's first name - """ - - last_name: typing.Optional[str] = pydantic.Field(default=None) - """ - The user's last name - """ - - is_bot: typing.Optional[bool] = pydantic.Field(default=None) - """ - Returns true if the user is a bot - """ - - groups: typing.Optional[typing.List[typing.Optional[str]]] = None - avatar: typing.Optional[str] = pydantic.Field(default=None) - """ - The user's avatar image - """ - - remote_created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - When the third party's user was created. - """ - - remote_updated_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - When the third party's user was updated. - """ - - remote_was_deleted: typing.Optional[bool] = pydantic.Field(default=None) - """ - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - """ - - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - remote_data: typing.Optional[typing.List[RemoteData]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/warning_validation_problem.py b/src/merge/resources/chat/types/warning_validation_problem.py deleted file mode 100644 index 960a315f..00000000 --- a/src/merge/resources/chat/types/warning_validation_problem.py +++ /dev/null @@ -1,25 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .validation_problem_source import ValidationProblemSource - - -class WarningValidationProblem(UncheckedBaseModel): - source: typing.Optional[ValidationProblemSource] = None - title: str - detail: str - problem_type: str - block_merge_link: typing.Optional[bool] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/crm/__init__.py b/src/merge/resources/crm/__init__.py index d978998c..97f11ca1 100644 --- a/src/merge/resources/crm/__init__.py +++ b/src/merge/resources/crm/__init__.py @@ -190,8 +190,6 @@ RemoteFieldApiResponse, RemoteFieldClass, RemoteFieldClassFieldChoicesItem, - RemoteFieldClassFieldFormat, - RemoteFieldClassFieldType, RemoteFieldClassForCustomObjectClass, RemoteFieldClassForCustomObjectClassFieldChoicesItem, RemoteFieldClassForCustomObjectClassFieldFormat, @@ -202,6 +200,7 @@ RemoteFieldRequestRemoteFieldClass, RemoteKey, RemoteResponse, + RemoteResponseResponseType, RequestFormatEnum, ResponseTypeEnum, RoleEnum, @@ -229,23 +228,34 @@ WebhookReceiver, ) from .resources import ( + AccountsListRequestExpandItem, + AccountsRetrieveRequestExpandItem, AsyncPassthroughRetrieveResponse, - ContactsListRequestExpand, - ContactsRetrieveRequestExpand, + ContactsListRequestExpandItem, + ContactsRetrieveRequestExpandItem, + CustomObjectClassesAssociationTypesListRequestExpandItem, + CustomObjectClassesAssociationTypesRetrieveRequestExpandItem, + CustomObjectClassesCustomObjectsAssociationsListRequestExpandItem, + CustomObjectClassesListRequestExpandItem, + CustomObjectClassesRetrieveRequestExpandItem, EndUserDetailsRequestLanguage, - EngagementsListRequestExpand, - EngagementsRetrieveRequestExpand, + EngagementsListRequestExpandItem, + EngagementsRetrieveRequestExpandItem, IssuesListRequestStatus, - LeadsListRequestExpand, - LeadsRetrieveRequestExpand, + LeadsListRequestExpandItem, + LeadsRetrieveRequestExpandItem, LinkedAccountsListRequestCategory, - NotesListRequestExpand, - NotesRetrieveRequestExpand, - OpportunitiesListRequestExpand, + NotesListRequestExpandItem, + NotesRetrieveRequestExpandItem, + OpportunitiesListRequestExpandItem, + OpportunitiesListRequestRemoteFields, + OpportunitiesListRequestShowEnumOrigins, OpportunitiesListRequestStatus, - OpportunitiesRetrieveRequestExpand, - TasksListRequestExpand, - TasksRetrieveRequestExpand, + OpportunitiesRetrieveRequestExpandItem, + OpportunitiesRetrieveRequestRemoteFields, + OpportunitiesRetrieveRequestShowEnumOrigins, + TasksListRequestExpandItem, + TasksRetrieveRequestExpandItem, account_details, account_token, accounts, @@ -292,6 +302,8 @@ "AccountRequest": ".types", "AccountRequestOwner": ".types", "AccountToken": ".types", + "AccountsListRequestExpandItem": ".resources", + "AccountsRetrieveRequestExpandItem": ".resources", "ActivityTypeEnum": ".types", "Address": ".types", "AddressAddressType": ".types", @@ -324,8 +336,8 @@ "ContactRequest": ".types", "ContactRequestAccount": ".types", "ContactRequestOwner": ".types", - "ContactsListRequestExpand": ".resources", - "ContactsRetrieveRequestExpand": ".resources", + "ContactsListRequestExpandItem": ".resources", + "ContactsRetrieveRequestExpandItem": ".resources", "CountryEnum": ".types", "CrmAccountResponse": ".types", "CrmAssociationTypeResponse": ".types", @@ -333,6 +345,11 @@ "CrmCustomObjectResponse": ".types", "CustomObject": ".types", "CustomObjectClass": ".types", + "CustomObjectClassesAssociationTypesListRequestExpandItem": ".resources", + "CustomObjectClassesAssociationTypesRetrieveRequestExpandItem": ".resources", + "CustomObjectClassesCustomObjectsAssociationsListRequestExpandItem": ".resources", + "CustomObjectClassesListRequestExpandItem": ".resources", + "CustomObjectClassesRetrieveRequestExpandItem": ".resources", "CustomObjectRequest": ".types", "DataPassthroughRequest": ".types", "DebugModeLog": ".types", @@ -358,8 +375,8 @@ "EngagementResponse": ".types", "EngagementType": ".types", "EngagementTypeActivityType": ".types", - "EngagementsListRequestExpand": ".resources", - "EngagementsRetrieveRequestExpand": ".resources", + "EngagementsListRequestExpandItem": ".resources", + "EngagementsRetrieveRequestExpandItem": ".resources", "ErrorValidationProblem": ".types", "EventTypeEnum": ".types", "ExternalTargetFieldApi": ".types", @@ -396,8 +413,8 @@ "LeadRequestConvertedContact": ".types", "LeadRequestOwner": ".types", "LeadResponse": ".types", - "LeadsListRequestExpand": ".resources", - "LeadsRetrieveRequestExpand": ".resources", + "LeadsListRequestExpandItem": ".resources", + "LeadsRetrieveRequestExpandItem": ".resources", "LinkToken": ".types", "LinkedAccountStatus": ".types", "LinkedAccountsListRequestCategory": ".resources", @@ -419,12 +436,16 @@ "NoteRequestOpportunity": ".types", "NoteRequestOwner": ".types", "NoteResponse": ".types", - "NotesListRequestExpand": ".resources", - "NotesRetrieveRequestExpand": ".resources", + "NotesListRequestExpandItem": ".resources", + "NotesRetrieveRequestExpandItem": ".resources", "ObjectClassDescriptionRequest": ".types", - "OpportunitiesListRequestExpand": ".resources", + "OpportunitiesListRequestExpandItem": ".resources", + "OpportunitiesListRequestRemoteFields": ".resources", + "OpportunitiesListRequestShowEnumOrigins": ".resources", "OpportunitiesListRequestStatus": ".resources", - "OpportunitiesRetrieveRequestExpand": ".resources", + "OpportunitiesRetrieveRequestExpandItem": ".resources", + "OpportunitiesRetrieveRequestRemoteFields": ".resources", + "OpportunitiesRetrieveRequestShowEnumOrigins": ".resources", "Opportunity": ".types", "OpportunityAccount": ".types", "OpportunityOwner": ".types", @@ -477,8 +498,6 @@ "RemoteFieldApiResponse": ".types", "RemoteFieldClass": ".types", "RemoteFieldClassFieldChoicesItem": ".types", - "RemoteFieldClassFieldFormat": ".types", - "RemoteFieldClassFieldType": ".types", "RemoteFieldClassForCustomObjectClass": ".types", "RemoteFieldClassForCustomObjectClassFieldChoicesItem": ".types", "RemoteFieldClassForCustomObjectClassFieldFormat": ".types", @@ -489,6 +508,7 @@ "RemoteFieldRequestRemoteFieldClass": ".types", "RemoteKey": ".types", "RemoteResponse": ".types", + "RemoteResponseResponseType": ".types", "RequestFormatEnum": ".types", "ResponseTypeEnum": ".types", "RoleEnum": ".types", @@ -510,8 +530,8 @@ "TaskResponse": ".types", "TaskStatus": ".types", "TaskStatusEnum": ".types", - "TasksListRequestExpand": ".resources", - "TasksRetrieveRequestExpand": ".resources", + "TasksListRequestExpandItem": ".resources", + "TasksRetrieveRequestExpandItem": ".resources", "User": ".types", "ValidationProblemSource": ".types", "WarningValidationProblem": ".types", @@ -556,8 +576,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -583,6 +605,8 @@ def __dir__(): "AccountRequest", "AccountRequestOwner", "AccountToken", + "AccountsListRequestExpandItem", + "AccountsRetrieveRequestExpandItem", "ActivityTypeEnum", "Address", "AddressAddressType", @@ -615,8 +639,8 @@ def __dir__(): "ContactRequest", "ContactRequestAccount", "ContactRequestOwner", - "ContactsListRequestExpand", - "ContactsRetrieveRequestExpand", + "ContactsListRequestExpandItem", + "ContactsRetrieveRequestExpandItem", "CountryEnum", "CrmAccountResponse", "CrmAssociationTypeResponse", @@ -624,6 +648,11 @@ def __dir__(): "CrmCustomObjectResponse", "CustomObject", "CustomObjectClass", + "CustomObjectClassesAssociationTypesListRequestExpandItem", + "CustomObjectClassesAssociationTypesRetrieveRequestExpandItem", + "CustomObjectClassesCustomObjectsAssociationsListRequestExpandItem", + "CustomObjectClassesListRequestExpandItem", + "CustomObjectClassesRetrieveRequestExpandItem", "CustomObjectRequest", "DataPassthroughRequest", "DebugModeLog", @@ -649,8 +678,8 @@ def __dir__(): "EngagementResponse", "EngagementType", "EngagementTypeActivityType", - "EngagementsListRequestExpand", - "EngagementsRetrieveRequestExpand", + "EngagementsListRequestExpandItem", + "EngagementsRetrieveRequestExpandItem", "ErrorValidationProblem", "EventTypeEnum", "ExternalTargetFieldApi", @@ -687,8 +716,8 @@ def __dir__(): "LeadRequestConvertedContact", "LeadRequestOwner", "LeadResponse", - "LeadsListRequestExpand", - "LeadsRetrieveRequestExpand", + "LeadsListRequestExpandItem", + "LeadsRetrieveRequestExpandItem", "LinkToken", "LinkedAccountStatus", "LinkedAccountsListRequestCategory", @@ -710,12 +739,16 @@ def __dir__(): "NoteRequestOpportunity", "NoteRequestOwner", "NoteResponse", - "NotesListRequestExpand", - "NotesRetrieveRequestExpand", + "NotesListRequestExpandItem", + "NotesRetrieveRequestExpandItem", "ObjectClassDescriptionRequest", - "OpportunitiesListRequestExpand", + "OpportunitiesListRequestExpandItem", + "OpportunitiesListRequestRemoteFields", + "OpportunitiesListRequestShowEnumOrigins", "OpportunitiesListRequestStatus", - "OpportunitiesRetrieveRequestExpand", + "OpportunitiesRetrieveRequestExpandItem", + "OpportunitiesRetrieveRequestRemoteFields", + "OpportunitiesRetrieveRequestShowEnumOrigins", "Opportunity", "OpportunityAccount", "OpportunityOwner", @@ -768,8 +801,6 @@ def __dir__(): "RemoteFieldApiResponse", "RemoteFieldClass", "RemoteFieldClassFieldChoicesItem", - "RemoteFieldClassFieldFormat", - "RemoteFieldClassFieldType", "RemoteFieldClassForCustomObjectClass", "RemoteFieldClassForCustomObjectClassFieldChoicesItem", "RemoteFieldClassForCustomObjectClassFieldFormat", @@ -780,6 +811,7 @@ def __dir__(): "RemoteFieldRequestRemoteFieldClass", "RemoteKey", "RemoteResponse", + "RemoteResponseResponseType", "RequestFormatEnum", "ResponseTypeEnum", "RoleEnum", @@ -801,8 +833,8 @@ def __dir__(): "TaskResponse", "TaskStatus", "TaskStatusEnum", - "TasksListRequestExpand", - "TasksRetrieveRequestExpand", + "TasksListRequestExpandItem", + "TasksRetrieveRequestExpandItem", "User", "ValidationProblemSource", "WarningValidationProblem", diff --git a/src/merge/resources/crm/resources/__init__.py b/src/merge/resources/crm/resources/__init__.py index aacab149..8a724d2c 100644 --- a/src/merge/resources/crm/resources/__init__.py +++ b/src/merge/resources/crm/resources/__init__.py @@ -39,69 +39,94 @@ users, webhook_receivers, ) + from .accounts import AccountsListRequestExpandItem, AccountsRetrieveRequestExpandItem + from .association_types import ( + CustomObjectClassesAssociationTypesListRequestExpandItem, + CustomObjectClassesAssociationTypesRetrieveRequestExpandItem, + ) + from .associations import CustomObjectClassesCustomObjectsAssociationsListRequestExpandItem from .async_passthrough import AsyncPassthroughRetrieveResponse - from .contacts import ContactsListRequestExpand, ContactsRetrieveRequestExpand - from .engagements import EngagementsListRequestExpand, EngagementsRetrieveRequestExpand + from .contacts import ContactsListRequestExpandItem, ContactsRetrieveRequestExpandItem + from .custom_object_classes import ( + CustomObjectClassesListRequestExpandItem, + CustomObjectClassesRetrieveRequestExpandItem, + ) + from .engagements import EngagementsListRequestExpandItem, EngagementsRetrieveRequestExpandItem from .issues import IssuesListRequestStatus - from .leads import LeadsListRequestExpand, LeadsRetrieveRequestExpand + from .leads import LeadsListRequestExpandItem, LeadsRetrieveRequestExpandItem from .link_token import EndUserDetailsRequestLanguage from .linked_accounts import LinkedAccountsListRequestCategory - from .notes import NotesListRequestExpand, NotesRetrieveRequestExpand + from .notes import NotesListRequestExpandItem, NotesRetrieveRequestExpandItem from .opportunities import ( - OpportunitiesListRequestExpand, + OpportunitiesListRequestExpandItem, + OpportunitiesListRequestRemoteFields, + OpportunitiesListRequestShowEnumOrigins, OpportunitiesListRequestStatus, - OpportunitiesRetrieveRequestExpand, + OpportunitiesRetrieveRequestExpandItem, + OpportunitiesRetrieveRequestRemoteFields, + OpportunitiesRetrieveRequestShowEnumOrigins, ) - from .tasks import TasksListRequestExpand, TasksRetrieveRequestExpand + from .tasks import TasksListRequestExpandItem, TasksRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { + "AccountsListRequestExpandItem": ".accounts", + "AccountsRetrieveRequestExpandItem": ".accounts", "AsyncPassthroughRetrieveResponse": ".async_passthrough", - "ContactsListRequestExpand": ".contacts", - "ContactsRetrieveRequestExpand": ".contacts", + "ContactsListRequestExpandItem": ".contacts", + "ContactsRetrieveRequestExpandItem": ".contacts", + "CustomObjectClassesAssociationTypesListRequestExpandItem": ".association_types", + "CustomObjectClassesAssociationTypesRetrieveRequestExpandItem": ".association_types", + "CustomObjectClassesCustomObjectsAssociationsListRequestExpandItem": ".associations", + "CustomObjectClassesListRequestExpandItem": ".custom_object_classes", + "CustomObjectClassesRetrieveRequestExpandItem": ".custom_object_classes", "EndUserDetailsRequestLanguage": ".link_token", - "EngagementsListRequestExpand": ".engagements", - "EngagementsRetrieveRequestExpand": ".engagements", + "EngagementsListRequestExpandItem": ".engagements", + "EngagementsRetrieveRequestExpandItem": ".engagements", "IssuesListRequestStatus": ".issues", - "LeadsListRequestExpand": ".leads", - "LeadsRetrieveRequestExpand": ".leads", + "LeadsListRequestExpandItem": ".leads", + "LeadsRetrieveRequestExpandItem": ".leads", "LinkedAccountsListRequestCategory": ".linked_accounts", - "NotesListRequestExpand": ".notes", - "NotesRetrieveRequestExpand": ".notes", - "OpportunitiesListRequestExpand": ".opportunities", + "NotesListRequestExpandItem": ".notes", + "NotesRetrieveRequestExpandItem": ".notes", + "OpportunitiesListRequestExpandItem": ".opportunities", + "OpportunitiesListRequestRemoteFields": ".opportunities", + "OpportunitiesListRequestShowEnumOrigins": ".opportunities", "OpportunitiesListRequestStatus": ".opportunities", - "OpportunitiesRetrieveRequestExpand": ".opportunities", - "TasksListRequestExpand": ".tasks", - "TasksRetrieveRequestExpand": ".tasks", - "account_details": ".", - "account_token": ".", - "accounts": ".", - "association_types": ".", - "associations": ".", - "async_passthrough": ".", - "audit_trail": ".", - "available_actions": ".", - "contacts": ".", - "custom_object_classes": ".", - "custom_objects": ".", - "delete_account": ".", - "engagement_types": ".", - "engagements": ".", - "field_mapping": ".", - "force_resync": ".", - "generate_key": ".", - "issues": ".", - "leads": ".", - "link_token": ".", - "linked_accounts": ".", - "notes": ".", - "opportunities": ".", - "passthrough": ".", - "regenerate_key": ".", - "scopes": ".", - "stages": ".", - "sync_status": ".", - "tasks": ".", - "users": ".", - "webhook_receivers": ".", + "OpportunitiesRetrieveRequestExpandItem": ".opportunities", + "OpportunitiesRetrieveRequestRemoteFields": ".opportunities", + "OpportunitiesRetrieveRequestShowEnumOrigins": ".opportunities", + "TasksListRequestExpandItem": ".tasks", + "TasksRetrieveRequestExpandItem": ".tasks", + "account_details": ".account_details", + "account_token": ".account_token", + "accounts": ".accounts", + "association_types": ".association_types", + "associations": ".associations", + "async_passthrough": ".async_passthrough", + "audit_trail": ".audit_trail", + "available_actions": ".available_actions", + "contacts": ".contacts", + "custom_object_classes": ".custom_object_classes", + "custom_objects": ".custom_objects", + "delete_account": ".delete_account", + "engagement_types": ".engagement_types", + "engagements": ".engagements", + "field_mapping": ".field_mapping", + "force_resync": ".force_resync", + "generate_key": ".generate_key", + "issues": ".issues", + "leads": ".leads", + "link_token": ".link_token", + "linked_accounts": ".linked_accounts", + "notes": ".notes", + "opportunities": ".opportunities", + "passthrough": ".passthrough", + "regenerate_key": ".regenerate_key", + "scopes": ".scopes", + "stages": ".stages", + "sync_status": ".sync_status", + "tasks": ".tasks", + "users": ".users", + "webhook_receivers": ".webhook_receivers", } @@ -111,8 +136,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -125,23 +152,34 @@ def __dir__(): __all__ = [ + "AccountsListRequestExpandItem", + "AccountsRetrieveRequestExpandItem", "AsyncPassthroughRetrieveResponse", - "ContactsListRequestExpand", - "ContactsRetrieveRequestExpand", + "ContactsListRequestExpandItem", + "ContactsRetrieveRequestExpandItem", + "CustomObjectClassesAssociationTypesListRequestExpandItem", + "CustomObjectClassesAssociationTypesRetrieveRequestExpandItem", + "CustomObjectClassesCustomObjectsAssociationsListRequestExpandItem", + "CustomObjectClassesListRequestExpandItem", + "CustomObjectClassesRetrieveRequestExpandItem", "EndUserDetailsRequestLanguage", - "EngagementsListRequestExpand", - "EngagementsRetrieveRequestExpand", + "EngagementsListRequestExpandItem", + "EngagementsRetrieveRequestExpandItem", "IssuesListRequestStatus", - "LeadsListRequestExpand", - "LeadsRetrieveRequestExpand", + "LeadsListRequestExpandItem", + "LeadsRetrieveRequestExpandItem", "LinkedAccountsListRequestCategory", - "NotesListRequestExpand", - "NotesRetrieveRequestExpand", - "OpportunitiesListRequestExpand", + "NotesListRequestExpandItem", + "NotesRetrieveRequestExpandItem", + "OpportunitiesListRequestExpandItem", + "OpportunitiesListRequestRemoteFields", + "OpportunitiesListRequestShowEnumOrigins", "OpportunitiesListRequestStatus", - "OpportunitiesRetrieveRequestExpand", - "TasksListRequestExpand", - "TasksRetrieveRequestExpand", + "OpportunitiesRetrieveRequestExpandItem", + "OpportunitiesRetrieveRequestRemoteFields", + "OpportunitiesRetrieveRequestShowEnumOrigins", + "TasksListRequestExpandItem", + "TasksRetrieveRequestExpandItem", "account_details", "account_token", "accounts", diff --git a/src/merge/resources/crm/resources/accounts/__init__.py b/src/merge/resources/crm/resources/accounts/__init__.py index 5cde0202..2cabd013 100644 --- a/src/merge/resources/crm/resources/accounts/__init__.py +++ b/src/merge/resources/crm/resources/accounts/__init__.py @@ -2,3 +2,36 @@ # isort: skip_file +import typing +from importlib import import_module + +if typing.TYPE_CHECKING: + from .types import AccountsListRequestExpandItem, AccountsRetrieveRequestExpandItem +_dynamic_imports: typing.Dict[str, str] = { + "AccountsListRequestExpandItem": ".types", + "AccountsRetrieveRequestExpandItem": ".types", +} + + +def __getattr__(attr_name: str) -> typing.Any: + module_name = _dynamic_imports.get(attr_name) + if module_name is None: + raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") + try: + module = import_module(module_name, __package__) + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) + except ImportError as e: + raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e + except AttributeError as e: + raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e + + +def __dir__(): + lazy_attrs = list(_dynamic_imports.keys()) + return sorted(lazy_attrs) + + +__all__ = ["AccountsListRequestExpandItem", "AccountsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/crm/resources/accounts/client.py b/src/merge/resources/crm/resources/accounts/client.py index 54d26f13..12c7c1cf 100644 --- a/src/merge/resources/crm/resources/accounts/client.py +++ b/src/merge/resources/crm/resources/accounts/client.py @@ -4,6 +4,7 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.account import Account from ...types.account_request import AccountRequest @@ -12,7 +13,10 @@ from ...types.paginated_account_list import PaginatedAccountList from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList from ...types.patched_account_request import PatchedAccountRequest +from ...types.remote_field_class import RemoteFieldClass from .raw_client import AsyncRawAccountsClient, RawAccountsClient +from .types.accounts_list_request_expand_item import AccountsListRequestExpandItem +from .types.accounts_retrieve_request_expand_item import AccountsRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -39,7 +43,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["owner"]] = None, + expand: typing.Optional[ + typing.Union[AccountsListRequestExpandItem, typing.Sequence[AccountsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -51,7 +57,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAccountList: + ) -> SyncPager[Account, PaginatedAccountList]: """ Returns a list of `Account` objects. @@ -66,7 +72,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["owner"]] + expand : typing.Optional[typing.Union[AccountsListRequestExpandItem, typing.Sequence[AccountsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -104,44 +110,27 @@ def list( Returns ------- - PaginatedAccountList + SyncPager[Account, PaginatedAccountList] Examples -------- - import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.crm.accounts.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = client.crm.accounts.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - name="name", - owner_id="owner_id", - page_size=1, - remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -158,7 +147,6 @@ def list( remote_id=remote_id, request_options=request_options, ) - return _response.data def create( self, @@ -199,8 +187,6 @@ def create( api_key="YOUR_API_KEY", ) client.crm.accounts.create( - is_debug_mode=True, - run_async=True, model=AccountRequest(), ) """ @@ -213,7 +199,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["owner"]] = None, + expand: typing.Optional[ + typing.Union[AccountsRetrieveRequestExpandItem, typing.Sequence[AccountsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -226,7 +214,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["owner"]] + expand : typing.Optional[typing.Union[AccountsRetrieveRequestExpandItem, typing.Sequence[AccountsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -256,9 +244,6 @@ def retrieve( ) client.crm.accounts.retrieve( id="id", - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, ) """ _response = self._raw_client.retrieve( @@ -314,8 +299,6 @@ def partial_update( ) client.crm.accounts.partial_update( id="id", - is_debug_mode=True, - run_async=True, model=PatchedAccountRequest(), ) """ @@ -394,7 +377,7 @@ def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -429,7 +412,7 @@ def remote_field_classes_list( Returns ------- - PaginatedRemoteFieldClassList + SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] Examples @@ -440,18 +423,16 @@ def remote_field_classes_list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.crm.accounts.remote_field_classes_list( + response = client.crm.accounts.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.remote_field_classes_list( + return self._raw_client.remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -462,7 +443,6 @@ def remote_field_classes_list( page_size=page_size, request_options=request_options, ) - return _response.data class AsyncAccountsClient: @@ -486,7 +466,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["owner"]] = None, + expand: typing.Optional[ + typing.Union[AccountsListRequestExpandItem, typing.Sequence[AccountsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -498,7 +480,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAccountList: + ) -> AsyncPager[Account, PaginatedAccountList]: """ Returns a list of `Account` objects. @@ -513,7 +495,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["owner"]] + expand : typing.Optional[typing.Union[AccountsListRequestExpandItem, typing.Sequence[AccountsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -551,13 +533,12 @@ async def list( Returns ------- - PaginatedAccountList + AsyncPager[Account, PaginatedAccountList] Examples -------- import asyncio - import datetime from merge import AsyncMerge @@ -568,34 +549,20 @@ async def list( async def main() -> None: - await client.crm.accounts.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = await client.crm.accounts.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - name="name", - owner_id="owner_id", - page_size=1, - remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -612,7 +579,6 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def create( self, @@ -658,8 +624,6 @@ async def create( async def main() -> None: await client.crm.accounts.create( - is_debug_mode=True, - run_async=True, model=AccountRequest(), ) @@ -675,7 +639,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["owner"]] = None, + expand: typing.Optional[ + typing.Union[AccountsRetrieveRequestExpandItem, typing.Sequence[AccountsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -688,7 +654,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["owner"]] + expand : typing.Optional[typing.Union[AccountsRetrieveRequestExpandItem, typing.Sequence[AccountsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -723,9 +689,6 @@ async def retrieve( async def main() -> None: await client.crm.accounts.retrieve( id="id", - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, ) @@ -789,8 +752,6 @@ async def partial_update( async def main() -> None: await client.crm.accounts.partial_update( id="id", - is_debug_mode=True, - run_async=True, model=PatchedAccountRequest(), ) @@ -890,7 +851,7 @@ async def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -925,7 +886,7 @@ async def remote_field_classes_list( Returns ------- - PaginatedRemoteFieldClassList + AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] Examples @@ -941,21 +902,20 @@ async def remote_field_classes_list( async def main() -> None: - await client.crm.accounts.remote_field_classes_list( + response = await client.crm.accounts.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.remote_field_classes_list( + return await self._raw_client.remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -966,4 +926,3 @@ async def main() -> None: page_size=page_size, request_options=request_options, ) - return _response.data diff --git a/src/merge/resources/crm/resources/accounts/raw_client.py b/src/merge/resources/crm/resources/accounts/raw_client.py index f1e94b94..55fe7dd4 100644 --- a/src/merge/resources/crm/resources/accounts/raw_client.py +++ b/src/merge/resources/crm/resources/accounts/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.account import Account @@ -18,6 +19,9 @@ from ...types.paginated_account_list import PaginatedAccountList from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList from ...types.patched_account_request import PatchedAccountRequest +from ...types.remote_field_class import RemoteFieldClass +from .types.accounts_list_request_expand_item import AccountsListRequestExpandItem +from .types.accounts_retrieve_request_expand_item import AccountsRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -33,7 +37,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["owner"]] = None, + expand: typing.Optional[ + typing.Union[AccountsListRequestExpandItem, typing.Sequence[AccountsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -45,7 +51,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedAccountList]: + ) -> SyncPager[Account, PaginatedAccountList]: """ Returns a list of `Account` objects. @@ -60,7 +66,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["owner"]] + expand : typing.Optional[typing.Union[AccountsListRequestExpandItem, typing.Sequence[AccountsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -98,7 +104,7 @@ def list( Returns ------- - HttpResponse[PaginatedAccountList] + SyncPager[Account, PaginatedAccountList] """ _response = self._client_wrapper.httpx_client.request( @@ -124,14 +130,34 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAccountList, construct_type( type_=PaginatedAccountList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + name=name, + owner_id=owner_id, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -201,7 +227,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["owner"]] = None, + expand: typing.Optional[ + typing.Union[AccountsRetrieveRequestExpandItem, typing.Sequence[AccountsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -214,7 +242,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["owner"]] + expand : typing.Optional[typing.Union[AccountsRetrieveRequestExpandItem, typing.Sequence[AccountsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -409,7 +437,7 @@ def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedRemoteFieldClassList]: + ) -> SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -444,7 +472,7 @@ def remote_field_classes_list( Returns ------- - HttpResponse[PaginatedRemoteFieldClassList] + SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] """ _response = self._client_wrapper.httpx_client.request( @@ -464,14 +492,28 @@ def remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -488,7 +530,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["owner"]] = None, + expand: typing.Optional[ + typing.Union[AccountsListRequestExpandItem, typing.Sequence[AccountsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -500,7 +544,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedAccountList]: + ) -> AsyncPager[Account, PaginatedAccountList]: """ Returns a list of `Account` objects. @@ -515,7 +559,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["owner"]] + expand : typing.Optional[typing.Union[AccountsListRequestExpandItem, typing.Sequence[AccountsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -553,7 +597,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedAccountList] + AsyncPager[Account, PaginatedAccountList] """ _response = await self._client_wrapper.httpx_client.request( @@ -579,14 +623,37 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAccountList, construct_type( type_=PaginatedAccountList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + name=name, + owner_id=owner_id, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -656,7 +723,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["owner"]] = None, + expand: typing.Optional[ + typing.Union[AccountsRetrieveRequestExpandItem, typing.Sequence[AccountsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -669,7 +738,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["owner"]] + expand : typing.Optional[typing.Union[AccountsRetrieveRequestExpandItem, typing.Sequence[AccountsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -864,7 +933,7 @@ async def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedRemoteFieldClassList]: + ) -> AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -899,7 +968,7 @@ async def remote_field_classes_list( Returns ------- - AsyncHttpResponse[PaginatedRemoteFieldClassList] + AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] """ _response = await self._client_wrapper.httpx_client.request( @@ -919,14 +988,31 @@ async def remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/crm/resources/accounts/types/__init__.py b/src/merge/resources/crm/resources/accounts/types/__init__.py new file mode 100644 index 00000000..fec4ef30 --- /dev/null +++ b/src/merge/resources/crm/resources/accounts/types/__init__.py @@ -0,0 +1,38 @@ +# This file was auto-generated by Fern from our API Definition. + +# isort: skip_file + +import typing +from importlib import import_module + +if typing.TYPE_CHECKING: + from .accounts_list_request_expand_item import AccountsListRequestExpandItem + from .accounts_retrieve_request_expand_item import AccountsRetrieveRequestExpandItem +_dynamic_imports: typing.Dict[str, str] = { + "AccountsListRequestExpandItem": ".accounts_list_request_expand_item", + "AccountsRetrieveRequestExpandItem": ".accounts_retrieve_request_expand_item", +} + + +def __getattr__(attr_name: str) -> typing.Any: + module_name = _dynamic_imports.get(attr_name) + if module_name is None: + raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") + try: + module = import_module(module_name, __package__) + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) + except ImportError as e: + raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e + except AttributeError as e: + raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e + + +def __dir__(): + lazy_attrs = list(_dynamic_imports.keys()) + return sorted(lazy_attrs) + + +__all__ = ["AccountsListRequestExpandItem", "AccountsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/crm/resources/accounts/types/accounts_list_request_expand_item.py b/src/merge/resources/crm/resources/accounts/types/accounts_list_request_expand_item.py new file mode 100644 index 00000000..8a30271a --- /dev/null +++ b/src/merge/resources/crm/resources/accounts/types/accounts_list_request_expand_item.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class AccountsListRequestExpandItem(str, enum.Enum): + OWNER = "owner" + + def visit(self, owner: typing.Callable[[], T_Result]) -> T_Result: + if self is AccountsListRequestExpandItem.OWNER: + return owner() diff --git a/src/merge/resources/crm/resources/accounts/types/accounts_retrieve_request_expand_item.py b/src/merge/resources/crm/resources/accounts/types/accounts_retrieve_request_expand_item.py new file mode 100644 index 00000000..a67a63fc --- /dev/null +++ b/src/merge/resources/crm/resources/accounts/types/accounts_retrieve_request_expand_item.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class AccountsRetrieveRequestExpandItem(str, enum.Enum): + OWNER = "owner" + + def visit(self, owner: typing.Callable[[], T_Result]) -> T_Result: + if self is AccountsRetrieveRequestExpandItem.OWNER: + return owner() diff --git a/src/merge/resources/crm/resources/association_types/__init__.py b/src/merge/resources/crm/resources/association_types/__init__.py index 5cde0202..bb39e54e 100644 --- a/src/merge/resources/crm/resources/association_types/__init__.py +++ b/src/merge/resources/crm/resources/association_types/__init__.py @@ -2,3 +2,42 @@ # isort: skip_file +import typing +from importlib import import_module + +if typing.TYPE_CHECKING: + from .types import ( + CustomObjectClassesAssociationTypesListRequestExpandItem, + CustomObjectClassesAssociationTypesRetrieveRequestExpandItem, + ) +_dynamic_imports: typing.Dict[str, str] = { + "CustomObjectClassesAssociationTypesListRequestExpandItem": ".types", + "CustomObjectClassesAssociationTypesRetrieveRequestExpandItem": ".types", +} + + +def __getattr__(attr_name: str) -> typing.Any: + module_name = _dynamic_imports.get(attr_name) + if module_name is None: + raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") + try: + module = import_module(module_name, __package__) + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) + except ImportError as e: + raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e + except AttributeError as e: + raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e + + +def __dir__(): + lazy_attrs = list(_dynamic_imports.keys()) + return sorted(lazy_attrs) + + +__all__ = [ + "CustomObjectClassesAssociationTypesListRequestExpandItem", + "CustomObjectClassesAssociationTypesRetrieveRequestExpandItem", +] diff --git a/src/merge/resources/crm/resources/association_types/client.py b/src/merge/resources/crm/resources/association_types/client.py index b7f4611c..5e30a6d4 100644 --- a/src/merge/resources/crm/resources/association_types/client.py +++ b/src/merge/resources/crm/resources/association_types/client.py @@ -4,6 +4,7 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.association_type import AssociationType from ...types.association_type_request_request import AssociationTypeRequestRequest @@ -11,6 +12,12 @@ from ...types.meta_response import MetaResponse from ...types.paginated_association_type_list import PaginatedAssociationTypeList from .raw_client import AsyncRawAssociationTypesClient, RawAssociationTypesClient +from .types.custom_object_classes_association_types_list_request_expand_item import ( + CustomObjectClassesAssociationTypesListRequestExpandItem, +) +from .types.custom_object_classes_association_types_retrieve_request_expand_item import ( + CustomObjectClassesAssociationTypesRetrieveRequestExpandItem, +) # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -38,7 +45,12 @@ def custom_object_classes_association_types_list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["target_object_classes"]] = None, + expand: typing.Optional[ + typing.Union[ + CustomObjectClassesAssociationTypesListRequestExpandItem, + typing.Sequence[CustomObjectClassesAssociationTypesListRequestExpandItem], + ] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -47,7 +59,7 @@ def custom_object_classes_association_types_list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAssociationTypeList: + ) -> SyncPager[AssociationType, PaginatedAssociationTypeList]: """ Returns a list of `AssociationType` objects. @@ -64,7 +76,7 @@ def custom_object_classes_association_types_list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["target_object_classes"]] + expand : typing.Optional[typing.Union[CustomObjectClassesAssociationTypesListRequestExpandItem, typing.Sequence[CustomObjectClassesAssociationTypesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -93,42 +105,30 @@ def custom_object_classes_association_types_list( Returns ------- - PaginatedAssociationTypeList + SyncPager[AssociationType, PaginatedAssociationTypeList] Examples -------- - import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.crm.association_types.custom_object_classes_association_types_list( - custom_object_class_id="custom_object_class_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", + response = ( + client.crm.association_types.custom_object_classes_association_types_list( + custom_object_class_id="custom_object_class_id", + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + ) ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.custom_object_classes_association_types_list( + return self._raw_client.custom_object_classes_association_types_list( custom_object_class_id, created_after=created_after, created_before=created_before, @@ -143,7 +143,6 @@ def custom_object_classes_association_types_list( remote_id=remote_id, request_options=request_options, ) - return _response.data def custom_object_classes_association_types_create( self, @@ -192,8 +191,6 @@ def custom_object_classes_association_types_create( ) client.crm.association_types.custom_object_classes_association_types_create( custom_object_class_id="custom_object_class_id", - is_debug_mode=True, - run_async=True, model=AssociationTypeRequestRequest( source_object_class=ObjectClassDescriptionRequest( id="id", @@ -223,7 +220,12 @@ def custom_object_classes_association_types_retrieve( custom_object_class_id: str, id: str, *, - expand: typing.Optional[typing.Literal["target_object_classes"]] = None, + expand: typing.Optional[ + typing.Union[ + CustomObjectClassesAssociationTypesRetrieveRequestExpandItem, + typing.Sequence[CustomObjectClassesAssociationTypesRetrieveRequestExpandItem], + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -237,7 +239,7 @@ def custom_object_classes_association_types_retrieve( id : str - expand : typing.Optional[typing.Literal["target_object_classes"]] + expand : typing.Optional[typing.Union[CustomObjectClassesAssociationTypesRetrieveRequestExpandItem, typing.Sequence[CustomObjectClassesAssociationTypesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -265,8 +267,6 @@ def custom_object_classes_association_types_retrieve( client.crm.association_types.custom_object_classes_association_types_retrieve( custom_object_class_id="custom_object_class_id", id="id", - include_remote_data=True, - include_shell_data=True, ) """ _response = self._raw_client.custom_object_classes_association_types_retrieve( @@ -337,7 +337,12 @@ async def custom_object_classes_association_types_list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["target_object_classes"]] = None, + expand: typing.Optional[ + typing.Union[ + CustomObjectClassesAssociationTypesListRequestExpandItem, + typing.Sequence[CustomObjectClassesAssociationTypesListRequestExpandItem], + ] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -346,7 +351,7 @@ async def custom_object_classes_association_types_list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAssociationTypeList: + ) -> AsyncPager[AssociationType, PaginatedAssociationTypeList]: """ Returns a list of `AssociationType` objects. @@ -363,7 +368,7 @@ async def custom_object_classes_association_types_list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["target_object_classes"]] + expand : typing.Optional[typing.Union[CustomObjectClassesAssociationTypesListRequestExpandItem, typing.Sequence[CustomObjectClassesAssociationTypesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -392,13 +397,12 @@ async def custom_object_classes_association_types_list( Returns ------- - PaginatedAssociationTypeList + AsyncPager[AssociationType, PaginatedAssociationTypeList] Examples -------- import asyncio - import datetime from merge import AsyncMerge @@ -409,32 +413,21 @@ async def custom_object_classes_association_types_list( async def main() -> None: - await client.crm.association_types.custom_object_classes_association_types_list( + response = await client.crm.association_types.custom_object_classes_association_types_list( custom_object_class_id="custom_object_class_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.custom_object_classes_association_types_list( + return await self._raw_client.custom_object_classes_association_types_list( custom_object_class_id, created_after=created_after, created_before=created_before, @@ -449,7 +442,6 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def custom_object_classes_association_types_create( self, @@ -503,8 +495,6 @@ async def custom_object_classes_association_types_create( async def main() -> None: await client.crm.association_types.custom_object_classes_association_types_create( custom_object_class_id="custom_object_class_id", - is_debug_mode=True, - run_async=True, model=AssociationTypeRequestRequest( source_object_class=ObjectClassDescriptionRequest( id="id", @@ -537,7 +527,12 @@ async def custom_object_classes_association_types_retrieve( custom_object_class_id: str, id: str, *, - expand: typing.Optional[typing.Literal["target_object_classes"]] = None, + expand: typing.Optional[ + typing.Union[ + CustomObjectClassesAssociationTypesRetrieveRequestExpandItem, + typing.Sequence[CustomObjectClassesAssociationTypesRetrieveRequestExpandItem], + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -551,7 +546,7 @@ async def custom_object_classes_association_types_retrieve( id : str - expand : typing.Optional[typing.Literal["target_object_classes"]] + expand : typing.Optional[typing.Union[CustomObjectClassesAssociationTypesRetrieveRequestExpandItem, typing.Sequence[CustomObjectClassesAssociationTypesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -584,8 +579,6 @@ async def main() -> None: await client.crm.association_types.custom_object_classes_association_types_retrieve( custom_object_class_id="custom_object_class_id", id="id", - include_remote_data=True, - include_shell_data=True, ) diff --git a/src/merge/resources/crm/resources/association_types/raw_client.py b/src/merge/resources/crm/resources/association_types/raw_client.py index 22a134e5..52461322 100644 --- a/src/merge/resources/crm/resources/association_types/raw_client.py +++ b/src/merge/resources/crm/resources/association_types/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.association_type import AssociationType @@ -16,6 +17,12 @@ from ...types.crm_association_type_response import CrmAssociationTypeResponse from ...types.meta_response import MetaResponse from ...types.paginated_association_type_list import PaginatedAssociationTypeList +from .types.custom_object_classes_association_types_list_request_expand_item import ( + CustomObjectClassesAssociationTypesListRequestExpandItem, +) +from .types.custom_object_classes_association_types_retrieve_request_expand_item import ( + CustomObjectClassesAssociationTypesRetrieveRequestExpandItem, +) # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -32,7 +39,12 @@ def custom_object_classes_association_types_list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["target_object_classes"]] = None, + expand: typing.Optional[ + typing.Union[ + CustomObjectClassesAssociationTypesListRequestExpandItem, + typing.Sequence[CustomObjectClassesAssociationTypesListRequestExpandItem], + ] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -41,7 +53,7 @@ def custom_object_classes_association_types_list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedAssociationTypeList]: + ) -> SyncPager[AssociationType, PaginatedAssociationTypeList]: """ Returns a list of `AssociationType` objects. @@ -58,7 +70,7 @@ def custom_object_classes_association_types_list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["target_object_classes"]] + expand : typing.Optional[typing.Union[CustomObjectClassesAssociationTypesListRequestExpandItem, typing.Sequence[CustomObjectClassesAssociationTypesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -87,7 +99,7 @@ def custom_object_classes_association_types_list( Returns ------- - HttpResponse[PaginatedAssociationTypeList] + SyncPager[AssociationType, PaginatedAssociationTypeList] """ _response = self._client_wrapper.httpx_client.request( @@ -110,14 +122,32 @@ def custom_object_classes_association_types_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAssociationTypeList, construct_type( type_=PaginatedAssociationTypeList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.custom_object_classes_association_types_list( + custom_object_class_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -191,7 +221,12 @@ def custom_object_classes_association_types_retrieve( custom_object_class_id: str, id: str, *, - expand: typing.Optional[typing.Literal["target_object_classes"]] = None, + expand: typing.Optional[ + typing.Union[ + CustomObjectClassesAssociationTypesRetrieveRequestExpandItem, + typing.Sequence[CustomObjectClassesAssociationTypesRetrieveRequestExpandItem], + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -205,7 +240,7 @@ def custom_object_classes_association_types_retrieve( id : str - expand : typing.Optional[typing.Literal["target_object_classes"]] + expand : typing.Optional[typing.Union[CustomObjectClassesAssociationTypesRetrieveRequestExpandItem, typing.Sequence[CustomObjectClassesAssociationTypesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -297,7 +332,12 @@ async def custom_object_classes_association_types_list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["target_object_classes"]] = None, + expand: typing.Optional[ + typing.Union[ + CustomObjectClassesAssociationTypesListRequestExpandItem, + typing.Sequence[CustomObjectClassesAssociationTypesListRequestExpandItem], + ] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -306,7 +346,7 @@ async def custom_object_classes_association_types_list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedAssociationTypeList]: + ) -> AsyncPager[AssociationType, PaginatedAssociationTypeList]: """ Returns a list of `AssociationType` objects. @@ -323,7 +363,7 @@ async def custom_object_classes_association_types_list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["target_object_classes"]] + expand : typing.Optional[typing.Union[CustomObjectClassesAssociationTypesListRequestExpandItem, typing.Sequence[CustomObjectClassesAssociationTypesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -352,7 +392,7 @@ async def custom_object_classes_association_types_list( Returns ------- - AsyncHttpResponse[PaginatedAssociationTypeList] + AsyncPager[AssociationType, PaginatedAssociationTypeList] """ _response = await self._client_wrapper.httpx_client.request( @@ -375,14 +415,35 @@ async def custom_object_classes_association_types_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAssociationTypeList, construct_type( type_=PaginatedAssociationTypeList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.custom_object_classes_association_types_list( + custom_object_class_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -456,7 +517,12 @@ async def custom_object_classes_association_types_retrieve( custom_object_class_id: str, id: str, *, - expand: typing.Optional[typing.Literal["target_object_classes"]] = None, + expand: typing.Optional[ + typing.Union[ + CustomObjectClassesAssociationTypesRetrieveRequestExpandItem, + typing.Sequence[CustomObjectClassesAssociationTypesRetrieveRequestExpandItem], + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -470,7 +536,7 @@ async def custom_object_classes_association_types_retrieve( id : str - expand : typing.Optional[typing.Literal["target_object_classes"]] + expand : typing.Optional[typing.Union[CustomObjectClassesAssociationTypesRetrieveRequestExpandItem, typing.Sequence[CustomObjectClassesAssociationTypesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/crm/resources/association_types/types/__init__.py b/src/merge/resources/crm/resources/association_types/types/__init__.py new file mode 100644 index 00000000..382b4130 --- /dev/null +++ b/src/merge/resources/crm/resources/association_types/types/__init__.py @@ -0,0 +1,45 @@ +# This file was auto-generated by Fern from our API Definition. + +# isort: skip_file + +import typing +from importlib import import_module + +if typing.TYPE_CHECKING: + from .custom_object_classes_association_types_list_request_expand_item import ( + CustomObjectClassesAssociationTypesListRequestExpandItem, + ) + from .custom_object_classes_association_types_retrieve_request_expand_item import ( + CustomObjectClassesAssociationTypesRetrieveRequestExpandItem, + ) +_dynamic_imports: typing.Dict[str, str] = { + "CustomObjectClassesAssociationTypesListRequestExpandItem": ".custom_object_classes_association_types_list_request_expand_item", + "CustomObjectClassesAssociationTypesRetrieveRequestExpandItem": ".custom_object_classes_association_types_retrieve_request_expand_item", +} + + +def __getattr__(attr_name: str) -> typing.Any: + module_name = _dynamic_imports.get(attr_name) + if module_name is None: + raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") + try: + module = import_module(module_name, __package__) + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) + except ImportError as e: + raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e + except AttributeError as e: + raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e + + +def __dir__(): + lazy_attrs = list(_dynamic_imports.keys()) + return sorted(lazy_attrs) + + +__all__ = [ + "CustomObjectClassesAssociationTypesListRequestExpandItem", + "CustomObjectClassesAssociationTypesRetrieveRequestExpandItem", +] diff --git a/src/merge/resources/crm/resources/association_types/types/custom_object_classes_association_types_list_request_expand_item.py b/src/merge/resources/crm/resources/association_types/types/custom_object_classes_association_types_list_request_expand_item.py new file mode 100644 index 00000000..c6d0da34 --- /dev/null +++ b/src/merge/resources/crm/resources/association_types/types/custom_object_classes_association_types_list_request_expand_item.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class CustomObjectClassesAssociationTypesListRequestExpandItem(str, enum.Enum): + TARGET_OBJECT_CLASSES = "target_object_classes" + + def visit(self, target_object_classes: typing.Callable[[], T_Result]) -> T_Result: + if self is CustomObjectClassesAssociationTypesListRequestExpandItem.TARGET_OBJECT_CLASSES: + return target_object_classes() diff --git a/src/merge/resources/crm/resources/association_types/types/custom_object_classes_association_types_retrieve_request_expand_item.py b/src/merge/resources/crm/resources/association_types/types/custom_object_classes_association_types_retrieve_request_expand_item.py new file mode 100644 index 00000000..d85656e8 --- /dev/null +++ b/src/merge/resources/crm/resources/association_types/types/custom_object_classes_association_types_retrieve_request_expand_item.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class CustomObjectClassesAssociationTypesRetrieveRequestExpandItem(str, enum.Enum): + TARGET_OBJECT_CLASSES = "target_object_classes" + + def visit(self, target_object_classes: typing.Callable[[], T_Result]) -> T_Result: + if self is CustomObjectClassesAssociationTypesRetrieveRequestExpandItem.TARGET_OBJECT_CLASSES: + return target_object_classes() diff --git a/src/merge/resources/crm/resources/associations/__init__.py b/src/merge/resources/crm/resources/associations/__init__.py index 5cde0202..eca4e7b6 100644 --- a/src/merge/resources/crm/resources/associations/__init__.py +++ b/src/merge/resources/crm/resources/associations/__init__.py @@ -2,3 +2,35 @@ # isort: skip_file +import typing +from importlib import import_module + +if typing.TYPE_CHECKING: + from .types import CustomObjectClassesCustomObjectsAssociationsListRequestExpandItem +_dynamic_imports: typing.Dict[str, str] = { + "CustomObjectClassesCustomObjectsAssociationsListRequestExpandItem": ".types" +} + + +def __getattr__(attr_name: str) -> typing.Any: + module_name = _dynamic_imports.get(attr_name) + if module_name is None: + raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") + try: + module = import_module(module_name, __package__) + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) + except ImportError as e: + raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e + except AttributeError as e: + raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e + + +def __dir__(): + lazy_attrs = list(_dynamic_imports.keys()) + return sorted(lazy_attrs) + + +__all__ = ["CustomObjectClassesCustomObjectsAssociationsListRequestExpandItem"] diff --git a/src/merge/resources/crm/resources/associations/client.py b/src/merge/resources/crm/resources/associations/client.py index 28d8f541..e47b68ff 100644 --- a/src/merge/resources/crm/resources/associations/client.py +++ b/src/merge/resources/crm/resources/associations/client.py @@ -4,10 +4,14 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.association import Association from ...types.paginated_association_list import PaginatedAssociationList from .raw_client import AsyncRawAssociationsClient, RawAssociationsClient +from .types.custom_object_classes_custom_objects_associations_list_request_expand_item import ( + CustomObjectClassesCustomObjectsAssociationsListRequestExpandItem, +) class AssociationsClient: @@ -34,7 +38,12 @@ def custom_object_classes_custom_objects_associations_list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["association_type"]] = None, + expand: typing.Optional[ + typing.Union[ + CustomObjectClassesCustomObjectsAssociationsListRequestExpandItem, + typing.Sequence[CustomObjectClassesCustomObjectsAssociationsListRequestExpandItem], + ] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -43,7 +52,7 @@ def custom_object_classes_custom_objects_associations_list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAssociationList: + ) -> SyncPager[Association, PaginatedAssociationList]: """ Returns a list of `Association` objects. @@ -65,7 +74,7 @@ def custom_object_classes_custom_objects_associations_list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["association_type"]] + expand : typing.Optional[typing.Union[CustomObjectClassesCustomObjectsAssociationsListRequestExpandItem, typing.Sequence[CustomObjectClassesCustomObjectsAssociationsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -94,44 +103,29 @@ def custom_object_classes_custom_objects_associations_list( Returns ------- - PaginatedAssociationList + SyncPager[Association, PaginatedAssociationList] Examples -------- - import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.crm.associations.custom_object_classes_custom_objects_associations_list( + response = client.crm.associations.custom_object_classes_custom_objects_associations_list( custom_object_class_id="custom_object_class_id", object_id="object_id", - association_type_id="association_type_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.custom_object_classes_custom_objects_associations_list( + return self._raw_client.custom_object_classes_custom_objects_associations_list( custom_object_class_id, object_id, association_type_id=association_type_id, @@ -148,7 +142,6 @@ def custom_object_classes_custom_objects_associations_list( remote_id=remote_id, request_options=request_options, ) - return _response.data def custom_object_classes_custom_objects_associations_update( self, @@ -205,8 +198,6 @@ def custom_object_classes_custom_objects_associations_update( target_class_id="target_class_id", target_object_id="target_object_id", association_type_id="association_type_id", - is_debug_mode=True, - run_async=True, ) """ _response = self._raw_client.custom_object_classes_custom_objects_associations_update( @@ -246,7 +237,12 @@ async def custom_object_classes_custom_objects_associations_list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["association_type"]] = None, + expand: typing.Optional[ + typing.Union[ + CustomObjectClassesCustomObjectsAssociationsListRequestExpandItem, + typing.Sequence[CustomObjectClassesCustomObjectsAssociationsListRequestExpandItem], + ] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -255,7 +251,7 @@ async def custom_object_classes_custom_objects_associations_list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAssociationList: + ) -> AsyncPager[Association, PaginatedAssociationList]: """ Returns a list of `Association` objects. @@ -277,7 +273,7 @@ async def custom_object_classes_custom_objects_associations_list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["association_type"]] + expand : typing.Optional[typing.Union[CustomObjectClassesCustomObjectsAssociationsListRequestExpandItem, typing.Sequence[CustomObjectClassesCustomObjectsAssociationsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -306,13 +302,12 @@ async def custom_object_classes_custom_objects_associations_list( Returns ------- - PaginatedAssociationList + AsyncPager[Association, PaginatedAssociationList] Examples -------- import asyncio - import datetime from merge import AsyncMerge @@ -323,34 +318,22 @@ async def custom_object_classes_custom_objects_associations_list( async def main() -> None: - await client.crm.associations.custom_object_classes_custom_objects_associations_list( + response = await client.crm.associations.custom_object_classes_custom_objects_associations_list( custom_object_class_id="custom_object_class_id", object_id="object_id", - association_type_id="association_type_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.custom_object_classes_custom_objects_associations_list( + return await self._raw_client.custom_object_classes_custom_objects_associations_list( custom_object_class_id, object_id, association_type_id=association_type_id, @@ -367,7 +350,6 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def custom_object_classes_custom_objects_associations_update( self, @@ -429,8 +411,6 @@ async def main() -> None: target_class_id="target_class_id", target_object_id="target_object_id", association_type_id="association_type_id", - is_debug_mode=True, - run_async=True, ) diff --git a/src/merge/resources/crm/resources/associations/raw_client.py b/src/merge/resources/crm/resources/associations/raw_client.py index a78ef724..24f8ba30 100644 --- a/src/merge/resources/crm/resources/associations/raw_client.py +++ b/src/merge/resources/crm/resources/associations/raw_client.py @@ -9,10 +9,14 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.association import Association from ...types.paginated_association_list import PaginatedAssociationList +from .types.custom_object_classes_custom_objects_associations_list_request_expand_item import ( + CustomObjectClassesCustomObjectsAssociationsListRequestExpandItem, +) class RawAssociationsClient: @@ -28,7 +32,12 @@ def custom_object_classes_custom_objects_associations_list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["association_type"]] = None, + expand: typing.Optional[ + typing.Union[ + CustomObjectClassesCustomObjectsAssociationsListRequestExpandItem, + typing.Sequence[CustomObjectClassesCustomObjectsAssociationsListRequestExpandItem], + ] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -37,7 +46,7 @@ def custom_object_classes_custom_objects_associations_list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedAssociationList]: + ) -> SyncPager[Association, PaginatedAssociationList]: """ Returns a list of `Association` objects. @@ -59,7 +68,7 @@ def custom_object_classes_custom_objects_associations_list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["association_type"]] + expand : typing.Optional[typing.Union[CustomObjectClassesCustomObjectsAssociationsListRequestExpandItem, typing.Sequence[CustomObjectClassesCustomObjectsAssociationsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -88,7 +97,7 @@ def custom_object_classes_custom_objects_associations_list( Returns ------- - HttpResponse[PaginatedAssociationList] + SyncPager[Association, PaginatedAssociationList] """ _response = self._client_wrapper.httpx_client.request( @@ -112,14 +121,34 @@ def custom_object_classes_custom_objects_associations_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAssociationList, construct_type( type_=PaginatedAssociationList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.custom_object_classes_custom_objects_associations_list( + custom_object_class_id, + object_id, + association_type_id=association_type_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -204,7 +233,12 @@ async def custom_object_classes_custom_objects_associations_list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["association_type"]] = None, + expand: typing.Optional[ + typing.Union[ + CustomObjectClassesCustomObjectsAssociationsListRequestExpandItem, + typing.Sequence[CustomObjectClassesCustomObjectsAssociationsListRequestExpandItem], + ] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -213,7 +247,7 @@ async def custom_object_classes_custom_objects_associations_list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedAssociationList]: + ) -> AsyncPager[Association, PaginatedAssociationList]: """ Returns a list of `Association` objects. @@ -235,7 +269,7 @@ async def custom_object_classes_custom_objects_associations_list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["association_type"]] + expand : typing.Optional[typing.Union[CustomObjectClassesCustomObjectsAssociationsListRequestExpandItem, typing.Sequence[CustomObjectClassesCustomObjectsAssociationsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -264,7 +298,7 @@ async def custom_object_classes_custom_objects_associations_list( Returns ------- - AsyncHttpResponse[PaginatedAssociationList] + AsyncPager[Association, PaginatedAssociationList] """ _response = await self._client_wrapper.httpx_client.request( @@ -288,14 +322,37 @@ async def custom_object_classes_custom_objects_associations_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAssociationList, construct_type( type_=PaginatedAssociationList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.custom_object_classes_custom_objects_associations_list( + custom_object_class_id, + object_id, + association_type_id=association_type_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/crm/resources/associations/types/__init__.py b/src/merge/resources/crm/resources/associations/types/__init__.py new file mode 100644 index 00000000..48b10d4f --- /dev/null +++ b/src/merge/resources/crm/resources/associations/types/__init__.py @@ -0,0 +1,38 @@ +# This file was auto-generated by Fern from our API Definition. + +# isort: skip_file + +import typing +from importlib import import_module + +if typing.TYPE_CHECKING: + from .custom_object_classes_custom_objects_associations_list_request_expand_item import ( + CustomObjectClassesCustomObjectsAssociationsListRequestExpandItem, + ) +_dynamic_imports: typing.Dict[str, str] = { + "CustomObjectClassesCustomObjectsAssociationsListRequestExpandItem": ".custom_object_classes_custom_objects_associations_list_request_expand_item" +} + + +def __getattr__(attr_name: str) -> typing.Any: + module_name = _dynamic_imports.get(attr_name) + if module_name is None: + raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") + try: + module = import_module(module_name, __package__) + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) + except ImportError as e: + raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e + except AttributeError as e: + raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e + + +def __dir__(): + lazy_attrs = list(_dynamic_imports.keys()) + return sorted(lazy_attrs) + + +__all__ = ["CustomObjectClassesCustomObjectsAssociationsListRequestExpandItem"] diff --git a/src/merge/resources/crm/resources/associations/types/custom_object_classes_custom_objects_associations_list_request_expand_item.py b/src/merge/resources/crm/resources/associations/types/custom_object_classes_custom_objects_associations_list_request_expand_item.py new file mode 100644 index 00000000..f9e18dda --- /dev/null +++ b/src/merge/resources/crm/resources/associations/types/custom_object_classes_custom_objects_associations_list_request_expand_item.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class CustomObjectClassesCustomObjectsAssociationsListRequestExpandItem(str, enum.Enum): + ASSOCIATION_TYPE = "association_type" + + def visit(self, association_type: typing.Callable[[], T_Result]) -> T_Result: + if self is CustomObjectClassesCustomObjectsAssociationsListRequestExpandItem.ASSOCIATION_TYPE: + return association_type() diff --git a/src/merge/resources/crm/resources/async_passthrough/__init__.py b/src/merge/resources/crm/resources/async_passthrough/__init__.py index 375c7953..11090986 100644 --- a/src/merge/resources/crm/resources/async_passthrough/__init__.py +++ b/src/merge/resources/crm/resources/async_passthrough/__init__.py @@ -16,8 +16,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: diff --git a/src/merge/resources/crm/resources/async_passthrough/types/__init__.py b/src/merge/resources/crm/resources/async_passthrough/types/__init__.py index f6e9bec9..dc335400 100644 --- a/src/merge/resources/crm/resources/async_passthrough/types/__init__.py +++ b/src/merge/resources/crm/resources/async_passthrough/types/__init__.py @@ -16,8 +16,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: diff --git a/src/merge/resources/crm/resources/audit_trail/client.py b/src/merge/resources/crm/resources/audit_trail/client.py index 3d1fcc71..0fea99d5 100644 --- a/src/merge/resources/crm/resources/audit_trail/client.py +++ b/src/merge/resources/crm/resources/audit_trail/client.py @@ -3,7 +3,9 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions +from ...types.audit_log_event import AuditLogEvent from ...types.paginated_audit_log_event_list import PaginatedAuditLogEventList from .raw_client import AsyncRawAuditTrailClient, RawAuditTrailClient @@ -33,7 +35,7 @@ def list( start_date: typing.Optional[str] = None, user_email: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAuditLogEventList: + ) -> SyncPager[AuditLogEvent, PaginatedAuditLogEventList]: """ Gets a list of audit trail events. @@ -62,7 +64,7 @@ def list( Returns ------- - PaginatedAuditLogEventList + SyncPager[AuditLogEvent, PaginatedAuditLogEventList] Examples @@ -73,16 +75,16 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.crm.audit_trail.list( + response = client.crm.audit_trail.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_date="end_date", - event_type="event_type", - page_size=1, - start_date="start_date", - user_email="user_email", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( cursor=cursor, end_date=end_date, event_type=event_type, @@ -91,7 +93,6 @@ def list( user_email=user_email, request_options=request_options, ) - return _response.data class AsyncAuditTrailClient: @@ -119,7 +120,7 @@ async def list( start_date: typing.Optional[str] = None, user_email: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAuditLogEventList: + ) -> AsyncPager[AuditLogEvent, PaginatedAuditLogEventList]: """ Gets a list of audit trail events. @@ -148,7 +149,7 @@ async def list( Returns ------- - PaginatedAuditLogEventList + AsyncPager[AuditLogEvent, PaginatedAuditLogEventList] Examples @@ -164,19 +165,20 @@ async def list( async def main() -> None: - await client.crm.audit_trail.list( + response = await client.crm.audit_trail.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_date="end_date", - event_type="event_type", - page_size=1, - start_date="start_date", - user_email="user_email", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( cursor=cursor, end_date=end_date, event_type=event_type, @@ -185,4 +187,3 @@ async def main() -> None: user_email=user_email, request_options=request_options, ) - return _response.data diff --git a/src/merge/resources/crm/resources/audit_trail/raw_client.py b/src/merge/resources/crm/resources/audit_trail/raw_client.py index b75a9ad0..8a613c98 100644 --- a/src/merge/resources/crm/resources/audit_trail/raw_client.py +++ b/src/merge/resources/crm/resources/audit_trail/raw_client.py @@ -5,9 +5,10 @@ from .....core.api_error import ApiError from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type +from ...types.audit_log_event import AuditLogEvent from ...types.paginated_audit_log_event_list import PaginatedAuditLogEventList @@ -25,7 +26,7 @@ def list( start_date: typing.Optional[str] = None, user_email: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedAuditLogEventList]: + ) -> SyncPager[AuditLogEvent, PaginatedAuditLogEventList]: """ Gets a list of audit trail events. @@ -54,7 +55,7 @@ def list( Returns ------- - HttpResponse[PaginatedAuditLogEventList] + SyncPager[AuditLogEvent, PaginatedAuditLogEventList] """ _response = self._client_wrapper.httpx_client.request( @@ -72,14 +73,26 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAuditLogEventList, construct_type( type_=PaginatedAuditLogEventList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + cursor=_parsed_next, + end_date=end_date, + event_type=event_type, + page_size=page_size, + start_date=start_date, + user_email=user_email, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -100,7 +113,7 @@ async def list( start_date: typing.Optional[str] = None, user_email: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedAuditLogEventList]: + ) -> AsyncPager[AuditLogEvent, PaginatedAuditLogEventList]: """ Gets a list of audit trail events. @@ -129,7 +142,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedAuditLogEventList] + AsyncPager[AuditLogEvent, PaginatedAuditLogEventList] """ _response = await self._client_wrapper.httpx_client.request( @@ -147,14 +160,29 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAuditLogEventList, construct_type( type_=PaginatedAuditLogEventList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + cursor=_parsed_next, + end_date=end_date, + event_type=event_type, + page_size=page_size, + start_date=start_date, + user_email=user_email, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/crm/resources/contacts/__init__.py b/src/merge/resources/crm/resources/contacts/__init__.py index e5740c79..a361a8ca 100644 --- a/src/merge/resources/crm/resources/contacts/__init__.py +++ b/src/merge/resources/crm/resources/contacts/__init__.py @@ -6,10 +6,10 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .types import ContactsListRequestExpand, ContactsRetrieveRequestExpand + from .types import ContactsListRequestExpandItem, ContactsRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "ContactsListRequestExpand": ".types", - "ContactsRetrieveRequestExpand": ".types", + "ContactsListRequestExpandItem": ".types", + "ContactsRetrieveRequestExpandItem": ".types", } @@ -19,8 +19,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -32,4 +34,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["ContactsListRequestExpand", "ContactsRetrieveRequestExpand"] +__all__ = ["ContactsListRequestExpandItem", "ContactsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/crm/resources/contacts/client.py b/src/merge/resources/crm/resources/contacts/client.py index 7fe8c8b0..322a979f 100644 --- a/src/merge/resources/crm/resources/contacts/client.py +++ b/src/merge/resources/crm/resources/contacts/client.py @@ -4,6 +4,7 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.contact import Contact from ...types.contact_request import ContactRequest @@ -13,9 +14,10 @@ from ...types.paginated_contact_list import PaginatedContactList from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList from ...types.patched_contact_request import PatchedContactRequest +from ...types.remote_field_class import RemoteFieldClass from .raw_client import AsyncRawContactsClient, RawContactsClient -from .types.contacts_list_request_expand import ContactsListRequestExpand -from .types.contacts_retrieve_request_expand import ContactsRetrieveRequestExpand +from .types.contacts_list_request_expand_item import ContactsListRequestExpandItem +from .types.contacts_retrieve_request_expand_item import ContactsRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -44,7 +46,9 @@ def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, email_addresses: typing.Optional[str] = None, - expand: typing.Optional[ContactsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ContactsListRequestExpandItem, typing.Sequence[ContactsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -55,7 +59,7 @@ def list( phone_numbers: typing.Optional[str] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedContactList: + ) -> SyncPager[Contact, PaginatedContactList]: """ Returns a list of `Contact` objects. @@ -76,7 +80,7 @@ def list( email_addresses : typing.Optional[str] If provided, will only return contacts matching the email addresses; multiple email_addresses can be separated by commas. - expand : typing.Optional[ContactsListRequestExpand] + expand : typing.Optional[typing.Union[ContactsListRequestExpandItem, typing.Sequence[ContactsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -111,47 +115,27 @@ def list( Returns ------- - PaginatedContactList + SyncPager[Contact, PaginatedContactList] Examples -------- - import datetime - from merge import Merge - from merge.resources.crm.resources.contacts import ContactsListRequestExpand client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.crm.contacts.list( - account_id="account_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = client.crm.contacts.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - email_addresses="email_addresses", - expand=ContactsListRequestExpand.ACCOUNT, - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - phone_numbers="phone_numbers", - remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( account_id=account_id, created_after=created_after, created_before=created_before, @@ -169,7 +153,6 @@ def list( remote_id=remote_id, request_options=request_options, ) - return _response.data def create( self, @@ -210,8 +193,6 @@ def create( api_key="YOUR_API_KEY", ) client.crm.contacts.create( - is_debug_mode=True, - run_async=True, model=ContactRequest(), ) """ @@ -224,7 +205,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[ContactsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ContactsRetrieveRequestExpandItem, typing.Sequence[ContactsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -237,7 +220,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[ContactsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[ContactsRetrieveRequestExpandItem, typing.Sequence[ContactsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -260,7 +243,6 @@ def retrieve( Examples -------- from merge import Merge - from merge.resources.crm.resources.contacts import ContactsRetrieveRequestExpand client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -268,10 +250,6 @@ def retrieve( ) client.crm.contacts.retrieve( id="id", - expand=ContactsRetrieveRequestExpand.ACCOUNT, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, ) """ _response = self._raw_client.retrieve( @@ -327,8 +305,6 @@ def partial_update( ) client.crm.contacts.partial_update( id="id", - is_debug_mode=True, - run_async=True, model=PatchedContactRequest(), ) """ @@ -449,7 +425,7 @@ def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -484,7 +460,7 @@ def remote_field_classes_list( Returns ------- - PaginatedRemoteFieldClassList + SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] Examples @@ -495,18 +471,16 @@ def remote_field_classes_list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.crm.contacts.remote_field_classes_list( + response = client.crm.contacts.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.remote_field_classes_list( + return self._raw_client.remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -517,7 +491,6 @@ def remote_field_classes_list( page_size=page_size, request_options=request_options, ) - return _response.data class AsyncContactsClient: @@ -543,7 +516,9 @@ async def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, email_addresses: typing.Optional[str] = None, - expand: typing.Optional[ContactsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ContactsListRequestExpandItem, typing.Sequence[ContactsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -554,7 +529,7 @@ async def list( phone_numbers: typing.Optional[str] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedContactList: + ) -> AsyncPager[Contact, PaginatedContactList]: """ Returns a list of `Contact` objects. @@ -575,7 +550,7 @@ async def list( email_addresses : typing.Optional[str] If provided, will only return contacts matching the email addresses; multiple email_addresses can be separated by commas. - expand : typing.Optional[ContactsListRequestExpand] + expand : typing.Optional[typing.Union[ContactsListRequestExpandItem, typing.Sequence[ContactsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -610,16 +585,14 @@ async def list( Returns ------- - PaginatedContactList + AsyncPager[Contact, PaginatedContactList] Examples -------- import asyncio - import datetime from merge import AsyncMerge - from merge.resources.crm.resources.contacts import ContactsListRequestExpand client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -628,36 +601,20 @@ async def list( async def main() -> None: - await client.crm.contacts.list( - account_id="account_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = await client.crm.contacts.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - email_addresses="email_addresses", - expand=ContactsListRequestExpand.ACCOUNT, - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - phone_numbers="phone_numbers", - remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( account_id=account_id, created_after=created_after, created_before=created_before, @@ -675,7 +632,6 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def create( self, @@ -721,8 +677,6 @@ async def create( async def main() -> None: await client.crm.contacts.create( - is_debug_mode=True, - run_async=True, model=ContactRequest(), ) @@ -738,7 +692,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[ContactsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ContactsRetrieveRequestExpandItem, typing.Sequence[ContactsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -751,7 +707,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[ContactsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[ContactsRetrieveRequestExpandItem, typing.Sequence[ContactsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -776,7 +732,6 @@ async def retrieve( import asyncio from merge import AsyncMerge - from merge.resources.crm.resources.contacts import ContactsRetrieveRequestExpand client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -787,10 +742,6 @@ async def retrieve( async def main() -> None: await client.crm.contacts.retrieve( id="id", - expand=ContactsRetrieveRequestExpand.ACCOUNT, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, ) @@ -854,8 +805,6 @@ async def partial_update( async def main() -> None: await client.crm.contacts.partial_update( id="id", - is_debug_mode=True, - run_async=True, model=PatchedContactRequest(), ) @@ -1005,7 +954,7 @@ async def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -1040,7 +989,7 @@ async def remote_field_classes_list( Returns ------- - PaginatedRemoteFieldClassList + AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] Examples @@ -1056,21 +1005,20 @@ async def remote_field_classes_list( async def main() -> None: - await client.crm.contacts.remote_field_classes_list( + response = await client.crm.contacts.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.remote_field_classes_list( + return await self._raw_client.remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -1081,4 +1029,3 @@ async def main() -> None: page_size=page_size, request_options=request_options, ) - return _response.data diff --git a/src/merge/resources/crm/resources/contacts/raw_client.py b/src/merge/resources/crm/resources/contacts/raw_client.py index 11528b00..7fd62563 100644 --- a/src/merge/resources/crm/resources/contacts/raw_client.py +++ b/src/merge/resources/crm/resources/contacts/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.contact import Contact @@ -19,8 +20,9 @@ from ...types.paginated_contact_list import PaginatedContactList from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList from ...types.patched_contact_request import PatchedContactRequest -from .types.contacts_list_request_expand import ContactsListRequestExpand -from .types.contacts_retrieve_request_expand import ContactsRetrieveRequestExpand +from ...types.remote_field_class import RemoteFieldClass +from .types.contacts_list_request_expand_item import ContactsListRequestExpandItem +from .types.contacts_retrieve_request_expand_item import ContactsRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -38,7 +40,9 @@ def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, email_addresses: typing.Optional[str] = None, - expand: typing.Optional[ContactsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ContactsListRequestExpandItem, typing.Sequence[ContactsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -49,7 +53,7 @@ def list( phone_numbers: typing.Optional[str] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedContactList]: + ) -> SyncPager[Contact, PaginatedContactList]: """ Returns a list of `Contact` objects. @@ -70,7 +74,7 @@ def list( email_addresses : typing.Optional[str] If provided, will only return contacts matching the email addresses; multiple email_addresses can be separated by commas. - expand : typing.Optional[ContactsListRequestExpand] + expand : typing.Optional[typing.Union[ContactsListRequestExpandItem, typing.Sequence[ContactsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -105,7 +109,7 @@ def list( Returns ------- - HttpResponse[PaginatedContactList] + SyncPager[Contact, PaginatedContactList] """ _response = self._client_wrapper.httpx_client.request( @@ -132,14 +136,35 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedContactList, construct_type( type_=PaginatedContactList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + account_id=account_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + email_addresses=email_addresses, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + phone_numbers=phone_numbers, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -209,7 +234,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[ContactsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ContactsRetrieveRequestExpandItem, typing.Sequence[ContactsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -222,7 +249,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[ContactsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[ContactsRetrieveRequestExpandItem, typing.Sequence[ContactsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -458,7 +485,7 @@ def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedRemoteFieldClassList]: + ) -> SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -493,7 +520,7 @@ def remote_field_classes_list( Returns ------- - HttpResponse[PaginatedRemoteFieldClassList] + SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] """ _response = self._client_wrapper.httpx_client.request( @@ -513,14 +540,28 @@ def remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -539,7 +580,9 @@ async def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, email_addresses: typing.Optional[str] = None, - expand: typing.Optional[ContactsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ContactsListRequestExpandItem, typing.Sequence[ContactsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -550,7 +593,7 @@ async def list( phone_numbers: typing.Optional[str] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedContactList]: + ) -> AsyncPager[Contact, PaginatedContactList]: """ Returns a list of `Contact` objects. @@ -571,7 +614,7 @@ async def list( email_addresses : typing.Optional[str] If provided, will only return contacts matching the email addresses; multiple email_addresses can be separated by commas. - expand : typing.Optional[ContactsListRequestExpand] + expand : typing.Optional[typing.Union[ContactsListRequestExpandItem, typing.Sequence[ContactsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -606,7 +649,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedContactList] + AsyncPager[Contact, PaginatedContactList] """ _response = await self._client_wrapper.httpx_client.request( @@ -633,14 +676,38 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedContactList, construct_type( type_=PaginatedContactList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + account_id=account_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + email_addresses=email_addresses, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + phone_numbers=phone_numbers, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -710,7 +777,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[ContactsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ContactsRetrieveRequestExpandItem, typing.Sequence[ContactsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -723,7 +792,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[ContactsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[ContactsRetrieveRequestExpandItem, typing.Sequence[ContactsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -959,7 +1028,7 @@ async def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedRemoteFieldClassList]: + ) -> AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -994,7 +1063,7 @@ async def remote_field_classes_list( Returns ------- - AsyncHttpResponse[PaginatedRemoteFieldClassList] + AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] """ _response = await self._client_wrapper.httpx_client.request( @@ -1014,14 +1083,31 @@ async def remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/crm/resources/contacts/types/__init__.py b/src/merge/resources/crm/resources/contacts/types/__init__.py index 2dbee7a7..0aa692b4 100644 --- a/src/merge/resources/crm/resources/contacts/types/__init__.py +++ b/src/merge/resources/crm/resources/contacts/types/__init__.py @@ -6,11 +6,11 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .contacts_list_request_expand import ContactsListRequestExpand - from .contacts_retrieve_request_expand import ContactsRetrieveRequestExpand + from .contacts_list_request_expand_item import ContactsListRequestExpandItem + from .contacts_retrieve_request_expand_item import ContactsRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "ContactsListRequestExpand": ".contacts_list_request_expand", - "ContactsRetrieveRequestExpand": ".contacts_retrieve_request_expand", + "ContactsListRequestExpandItem": ".contacts_list_request_expand_item", + "ContactsRetrieveRequestExpandItem": ".contacts_retrieve_request_expand_item", } @@ -20,8 +20,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -33,4 +35,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["ContactsListRequestExpand", "ContactsRetrieveRequestExpand"] +__all__ = ["ContactsListRequestExpandItem", "ContactsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/crm/resources/contacts/types/contacts_list_request_expand.py b/src/merge/resources/crm/resources/contacts/types/contacts_list_request_expand.py deleted file mode 100644 index 628c8157..00000000 --- a/src/merge/resources/crm/resources/contacts/types/contacts_list_request_expand.py +++ /dev/null @@ -1,25 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class ContactsListRequestExpand(str, enum.Enum): - ACCOUNT = "account" - ACCOUNT_OWNER = "account,owner" - OWNER = "owner" - - def visit( - self, - account: typing.Callable[[], T_Result], - account_owner: typing.Callable[[], T_Result], - owner: typing.Callable[[], T_Result], - ) -> T_Result: - if self is ContactsListRequestExpand.ACCOUNT: - return account() - if self is ContactsListRequestExpand.ACCOUNT_OWNER: - return account_owner() - if self is ContactsListRequestExpand.OWNER: - return owner() diff --git a/src/merge/resources/crm/resources/contacts/types/contacts_list_request_expand_item.py b/src/merge/resources/crm/resources/contacts/types/contacts_list_request_expand_item.py new file mode 100644 index 00000000..535fbae5 --- /dev/null +++ b/src/merge/resources/crm/resources/contacts/types/contacts_list_request_expand_item.py @@ -0,0 +1,17 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class ContactsListRequestExpandItem(str, enum.Enum): + ACCOUNT = "account" + OWNER = "owner" + + def visit(self, account: typing.Callable[[], T_Result], owner: typing.Callable[[], T_Result]) -> T_Result: + if self is ContactsListRequestExpandItem.ACCOUNT: + return account() + if self is ContactsListRequestExpandItem.OWNER: + return owner() diff --git a/src/merge/resources/crm/resources/contacts/types/contacts_retrieve_request_expand.py b/src/merge/resources/crm/resources/contacts/types/contacts_retrieve_request_expand.py deleted file mode 100644 index f9251068..00000000 --- a/src/merge/resources/crm/resources/contacts/types/contacts_retrieve_request_expand.py +++ /dev/null @@ -1,25 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class ContactsRetrieveRequestExpand(str, enum.Enum): - ACCOUNT = "account" - ACCOUNT_OWNER = "account,owner" - OWNER = "owner" - - def visit( - self, - account: typing.Callable[[], T_Result], - account_owner: typing.Callable[[], T_Result], - owner: typing.Callable[[], T_Result], - ) -> T_Result: - if self is ContactsRetrieveRequestExpand.ACCOUNT: - return account() - if self is ContactsRetrieveRequestExpand.ACCOUNT_OWNER: - return account_owner() - if self is ContactsRetrieveRequestExpand.OWNER: - return owner() diff --git a/src/merge/resources/crm/resources/contacts/types/contacts_retrieve_request_expand_item.py b/src/merge/resources/crm/resources/contacts/types/contacts_retrieve_request_expand_item.py new file mode 100644 index 00000000..bacd3801 --- /dev/null +++ b/src/merge/resources/crm/resources/contacts/types/contacts_retrieve_request_expand_item.py @@ -0,0 +1,17 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class ContactsRetrieveRequestExpandItem(str, enum.Enum): + ACCOUNT = "account" + OWNER = "owner" + + def visit(self, account: typing.Callable[[], T_Result], owner: typing.Callable[[], T_Result]) -> T_Result: + if self is ContactsRetrieveRequestExpandItem.ACCOUNT: + return account() + if self is ContactsRetrieveRequestExpandItem.OWNER: + return owner() diff --git a/src/merge/resources/crm/resources/custom_object_classes/__init__.py b/src/merge/resources/crm/resources/custom_object_classes/__init__.py index 5cde0202..c78efe41 100644 --- a/src/merge/resources/crm/resources/custom_object_classes/__init__.py +++ b/src/merge/resources/crm/resources/custom_object_classes/__init__.py @@ -2,3 +2,36 @@ # isort: skip_file +import typing +from importlib import import_module + +if typing.TYPE_CHECKING: + from .types import CustomObjectClassesListRequestExpandItem, CustomObjectClassesRetrieveRequestExpandItem +_dynamic_imports: typing.Dict[str, str] = { + "CustomObjectClassesListRequestExpandItem": ".types", + "CustomObjectClassesRetrieveRequestExpandItem": ".types", +} + + +def __getattr__(attr_name: str) -> typing.Any: + module_name = _dynamic_imports.get(attr_name) + if module_name is None: + raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") + try: + module = import_module(module_name, __package__) + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) + except ImportError as e: + raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e + except AttributeError as e: + raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e + + +def __dir__(): + lazy_attrs = list(_dynamic_imports.keys()) + return sorted(lazy_attrs) + + +__all__ = ["CustomObjectClassesListRequestExpandItem", "CustomObjectClassesRetrieveRequestExpandItem"] diff --git a/src/merge/resources/crm/resources/custom_object_classes/client.py b/src/merge/resources/crm/resources/custom_object_classes/client.py index 5d3f37c5..aea8cc68 100644 --- a/src/merge/resources/crm/resources/custom_object_classes/client.py +++ b/src/merge/resources/crm/resources/custom_object_classes/client.py @@ -4,10 +4,13 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.custom_object_class import CustomObjectClass from ...types.paginated_custom_object_class_list import PaginatedCustomObjectClassList from .raw_client import AsyncRawCustomObjectClassesClient, RawCustomObjectClassesClient +from .types.custom_object_classes_list_request_expand_item import CustomObjectClassesListRequestExpandItem +from .types.custom_object_classes_retrieve_request_expand_item import CustomObjectClassesRetrieveRequestExpandItem class CustomObjectClassesClient: @@ -31,7 +34,11 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["fields"]] = None, + expand: typing.Optional[ + typing.Union[ + CustomObjectClassesListRequestExpandItem, typing.Sequence[CustomObjectClassesListRequestExpandItem] + ] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -40,7 +47,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedCustomObjectClassList: + ) -> SyncPager[CustomObjectClass, PaginatedCustomObjectClassList]: """ Returns a list of `CustomObjectClass` objects. @@ -55,7 +62,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["fields"]] + expand : typing.Optional[typing.Union[CustomObjectClassesListRequestExpandItem, typing.Sequence[CustomObjectClassesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -84,41 +91,27 @@ def list( Returns ------- - PaginatedCustomObjectClassList + SyncPager[CustomObjectClass, PaginatedCustomObjectClassList] Examples -------- - import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.crm.custom_object_classes.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = client.crm.custom_object_classes.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -132,13 +125,17 @@ def list( remote_id=remote_id, request_options=request_options, ) - return _response.data def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["fields"]] = None, + expand: typing.Optional[ + typing.Union[ + CustomObjectClassesRetrieveRequestExpandItem, + typing.Sequence[CustomObjectClassesRetrieveRequestExpandItem], + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -150,7 +147,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["fields"]] + expand : typing.Optional[typing.Union[CustomObjectClassesRetrieveRequestExpandItem, typing.Sequence[CustomObjectClassesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -177,8 +174,6 @@ def retrieve( ) client.crm.custom_object_classes.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) """ _response = self._raw_client.retrieve( @@ -212,7 +207,11 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["fields"]] = None, + expand: typing.Optional[ + typing.Union[ + CustomObjectClassesListRequestExpandItem, typing.Sequence[CustomObjectClassesListRequestExpandItem] + ] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -221,7 +220,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedCustomObjectClassList: + ) -> AsyncPager[CustomObjectClass, PaginatedCustomObjectClassList]: """ Returns a list of `CustomObjectClass` objects. @@ -236,7 +235,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["fields"]] + expand : typing.Optional[typing.Union[CustomObjectClassesListRequestExpandItem, typing.Sequence[CustomObjectClassesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -265,13 +264,12 @@ async def list( Returns ------- - PaginatedCustomObjectClassList + AsyncPager[CustomObjectClass, PaginatedCustomObjectClassList] Examples -------- import asyncio - import datetime from merge import AsyncMerge @@ -282,31 +280,20 @@ async def list( async def main() -> None: - await client.crm.custom_object_classes.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = await client.crm.custom_object_classes.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -320,13 +307,17 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["fields"]] = None, + expand: typing.Optional[ + typing.Union[ + CustomObjectClassesRetrieveRequestExpandItem, + typing.Sequence[CustomObjectClassesRetrieveRequestExpandItem], + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -338,7 +329,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["fields"]] + expand : typing.Optional[typing.Union[CustomObjectClassesRetrieveRequestExpandItem, typing.Sequence[CustomObjectClassesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -370,8 +361,6 @@ async def retrieve( async def main() -> None: await client.crm.custom_object_classes.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) diff --git a/src/merge/resources/crm/resources/custom_object_classes/raw_client.py b/src/merge/resources/crm/resources/custom_object_classes/raw_client.py index 924a26db..348ba1dc 100644 --- a/src/merge/resources/crm/resources/custom_object_classes/raw_client.py +++ b/src/merge/resources/crm/resources/custom_object_classes/raw_client.py @@ -9,10 +9,13 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.custom_object_class import CustomObjectClass from ...types.paginated_custom_object_class_list import PaginatedCustomObjectClassList +from .types.custom_object_classes_list_request_expand_item import CustomObjectClassesListRequestExpandItem +from .types.custom_object_classes_retrieve_request_expand_item import CustomObjectClassesRetrieveRequestExpandItem class RawCustomObjectClassesClient: @@ -25,7 +28,11 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["fields"]] = None, + expand: typing.Optional[ + typing.Union[ + CustomObjectClassesListRequestExpandItem, typing.Sequence[CustomObjectClassesListRequestExpandItem] + ] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -34,7 +41,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedCustomObjectClassList]: + ) -> SyncPager[CustomObjectClass, PaginatedCustomObjectClassList]: """ Returns a list of `CustomObjectClass` objects. @@ -49,7 +56,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["fields"]] + expand : typing.Optional[typing.Union[CustomObjectClassesListRequestExpandItem, typing.Sequence[CustomObjectClassesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -78,7 +85,7 @@ def list( Returns ------- - HttpResponse[PaginatedCustomObjectClassList] + SyncPager[CustomObjectClass, PaginatedCustomObjectClassList] """ _response = self._client_wrapper.httpx_client.request( @@ -101,14 +108,31 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedCustomObjectClassList, construct_type( type_=PaginatedCustomObjectClassList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -118,7 +142,12 @@ def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["fields"]] = None, + expand: typing.Optional[ + typing.Union[ + CustomObjectClassesRetrieveRequestExpandItem, + typing.Sequence[CustomObjectClassesRetrieveRequestExpandItem], + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -130,7 +159,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["fields"]] + expand : typing.Optional[typing.Union[CustomObjectClassesRetrieveRequestExpandItem, typing.Sequence[CustomObjectClassesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -183,7 +212,11 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["fields"]] = None, + expand: typing.Optional[ + typing.Union[ + CustomObjectClassesListRequestExpandItem, typing.Sequence[CustomObjectClassesListRequestExpandItem] + ] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -192,7 +225,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedCustomObjectClassList]: + ) -> AsyncPager[CustomObjectClass, PaginatedCustomObjectClassList]: """ Returns a list of `CustomObjectClass` objects. @@ -207,7 +240,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["fields"]] + expand : typing.Optional[typing.Union[CustomObjectClassesListRequestExpandItem, typing.Sequence[CustomObjectClassesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -236,7 +269,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedCustomObjectClassList] + AsyncPager[CustomObjectClass, PaginatedCustomObjectClassList] """ _response = await self._client_wrapper.httpx_client.request( @@ -259,14 +292,34 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedCustomObjectClassList, construct_type( type_=PaginatedCustomObjectClassList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -276,7 +329,12 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["fields"]] = None, + expand: typing.Optional[ + typing.Union[ + CustomObjectClassesRetrieveRequestExpandItem, + typing.Sequence[CustomObjectClassesRetrieveRequestExpandItem], + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -288,7 +346,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["fields"]] + expand : typing.Optional[typing.Union[CustomObjectClassesRetrieveRequestExpandItem, typing.Sequence[CustomObjectClassesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/crm/resources/custom_object_classes/types/__init__.py b/src/merge/resources/crm/resources/custom_object_classes/types/__init__.py new file mode 100644 index 00000000..57929801 --- /dev/null +++ b/src/merge/resources/crm/resources/custom_object_classes/types/__init__.py @@ -0,0 +1,38 @@ +# This file was auto-generated by Fern from our API Definition. + +# isort: skip_file + +import typing +from importlib import import_module + +if typing.TYPE_CHECKING: + from .custom_object_classes_list_request_expand_item import CustomObjectClassesListRequestExpandItem + from .custom_object_classes_retrieve_request_expand_item import CustomObjectClassesRetrieveRequestExpandItem +_dynamic_imports: typing.Dict[str, str] = { + "CustomObjectClassesListRequestExpandItem": ".custom_object_classes_list_request_expand_item", + "CustomObjectClassesRetrieveRequestExpandItem": ".custom_object_classes_retrieve_request_expand_item", +} + + +def __getattr__(attr_name: str) -> typing.Any: + module_name = _dynamic_imports.get(attr_name) + if module_name is None: + raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") + try: + module = import_module(module_name, __package__) + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) + except ImportError as e: + raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e + except AttributeError as e: + raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e + + +def __dir__(): + lazy_attrs = list(_dynamic_imports.keys()) + return sorted(lazy_attrs) + + +__all__ = ["CustomObjectClassesListRequestExpandItem", "CustomObjectClassesRetrieveRequestExpandItem"] diff --git a/src/merge/resources/crm/resources/custom_object_classes/types/custom_object_classes_list_request_expand_item.py b/src/merge/resources/crm/resources/custom_object_classes/types/custom_object_classes_list_request_expand_item.py new file mode 100644 index 00000000..02244975 --- /dev/null +++ b/src/merge/resources/crm/resources/custom_object_classes/types/custom_object_classes_list_request_expand_item.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class CustomObjectClassesListRequestExpandItem(str, enum.Enum): + FIELDS = "fields" + + def visit(self, fields: typing.Callable[[], T_Result]) -> T_Result: + if self is CustomObjectClassesListRequestExpandItem.FIELDS: + return fields() diff --git a/src/merge/resources/crm/resources/custom_object_classes/types/custom_object_classes_retrieve_request_expand_item.py b/src/merge/resources/crm/resources/custom_object_classes/types/custom_object_classes_retrieve_request_expand_item.py new file mode 100644 index 00000000..a3d814a5 --- /dev/null +++ b/src/merge/resources/crm/resources/custom_object_classes/types/custom_object_classes_retrieve_request_expand_item.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class CustomObjectClassesRetrieveRequestExpandItem(str, enum.Enum): + FIELDS = "fields" + + def visit(self, fields: typing.Callable[[], T_Result]) -> T_Result: + if self is CustomObjectClassesRetrieveRequestExpandItem.FIELDS: + return fields() diff --git a/src/merge/resources/crm/resources/custom_objects/client.py b/src/merge/resources/crm/resources/custom_objects/client.py index f8fa3719..86ddf993 100644 --- a/src/merge/resources/crm/resources/custom_objects/client.py +++ b/src/merge/resources/crm/resources/custom_objects/client.py @@ -4,6 +4,7 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.crm_custom_object_response import CrmCustomObjectResponse from ...types.custom_object import CustomObject @@ -11,6 +12,7 @@ from ...types.meta_response import MetaResponse from ...types.paginated_custom_object_list import PaginatedCustomObjectList from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList +from ...types.remote_field_class import RemoteFieldClass from .raw_client import AsyncRawCustomObjectsClient, RawCustomObjectsClient # this is used as the default value for optional parameters @@ -48,7 +50,7 @@ def custom_object_classes_custom_objects_list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedCustomObjectList: + ) -> SyncPager[CustomObject, PaginatedCustomObjectList]: """ Returns a list of `CustomObject` objects. @@ -94,43 +96,28 @@ def custom_object_classes_custom_objects_list( Returns ------- - PaginatedCustomObjectList + SyncPager[CustomObject, PaginatedCustomObjectList] Examples -------- - import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.crm.custom_objects.custom_object_classes_custom_objects_list( + response = client.crm.custom_objects.custom_object_classes_custom_objects_list( custom_object_class_id="custom_object_class_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.custom_object_classes_custom_objects_list( + return self._raw_client.custom_object_classes_custom_objects_list( custom_object_class_id, created_after=created_after, created_before=created_before, @@ -145,7 +132,6 @@ def custom_object_classes_custom_objects_list( remote_id=remote_id, request_options=request_options, ) - return _response.data def custom_object_classes_custom_objects_create( self, @@ -190,8 +176,6 @@ def custom_object_classes_custom_objects_create( ) client.crm.custom_objects.custom_object_classes_custom_objects_create( custom_object_class_id="custom_object_class_id", - is_debug_mode=True, - run_async=True, model=CustomObjectRequest( fields={"test_field": "hello"}, ), @@ -253,9 +237,6 @@ def custom_object_classes_custom_objects_retrieve( client.crm.custom_objects.custom_object_classes_custom_objects_retrieve( custom_object_class_id="custom_object_class_id", id="id", - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, ) """ _response = self._raw_client.custom_object_classes_custom_objects_retrieve( @@ -315,7 +296,7 @@ def custom_object_classes_custom_objects_remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -350,7 +331,7 @@ def custom_object_classes_custom_objects_remote_field_classes_list( Returns ------- - PaginatedRemoteFieldClassList + SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] Examples @@ -361,18 +342,16 @@ def custom_object_classes_custom_objects_remote_field_classes_list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.crm.custom_objects.custom_object_classes_custom_objects_remote_field_classes_list( + response = client.crm.custom_objects.custom_object_classes_custom_objects_remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.custom_object_classes_custom_objects_remote_field_classes_list( + return self._raw_client.custom_object_classes_custom_objects_remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -383,7 +362,6 @@ def custom_object_classes_custom_objects_remote_field_classes_list( page_size=page_size, request_options=request_options, ) - return _response.data class AsyncCustomObjectsClient: @@ -417,7 +395,7 @@ async def custom_object_classes_custom_objects_list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedCustomObjectList: + ) -> AsyncPager[CustomObject, PaginatedCustomObjectList]: """ Returns a list of `CustomObject` objects. @@ -463,13 +441,12 @@ async def custom_object_classes_custom_objects_list( Returns ------- - PaginatedCustomObjectList + AsyncPager[CustomObject, PaginatedCustomObjectList] Examples -------- import asyncio - import datetime from merge import AsyncMerge @@ -480,33 +457,21 @@ async def custom_object_classes_custom_objects_list( async def main() -> None: - await client.crm.custom_objects.custom_object_classes_custom_objects_list( + response = await client.crm.custom_objects.custom_object_classes_custom_objects_list( custom_object_class_id="custom_object_class_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.custom_object_classes_custom_objects_list( + return await self._raw_client.custom_object_classes_custom_objects_list( custom_object_class_id, created_after=created_after, created_before=created_before, @@ -521,7 +486,6 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def custom_object_classes_custom_objects_create( self, @@ -571,8 +535,6 @@ async def custom_object_classes_custom_objects_create( async def main() -> None: await client.crm.custom_objects.custom_object_classes_custom_objects_create( custom_object_class_id="custom_object_class_id", - is_debug_mode=True, - run_async=True, model=CustomObjectRequest( fields={"test_field": "hello"}, ), @@ -642,9 +604,6 @@ async def main() -> None: await client.crm.custom_objects.custom_object_classes_custom_objects_retrieve( custom_object_class_id="custom_object_class_id", id="id", - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, ) @@ -715,7 +674,7 @@ async def custom_object_classes_custom_objects_remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -750,7 +709,7 @@ async def custom_object_classes_custom_objects_remote_field_classes_list( Returns ------- - PaginatedRemoteFieldClassList + AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] Examples @@ -766,21 +725,20 @@ async def custom_object_classes_custom_objects_remote_field_classes_list( async def main() -> None: - await client.crm.custom_objects.custom_object_classes_custom_objects_remote_field_classes_list( + response = await client.crm.custom_objects.custom_object_classes_custom_objects_remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.custom_object_classes_custom_objects_remote_field_classes_list( + return await self._raw_client.custom_object_classes_custom_objects_remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -791,4 +749,3 @@ async def main() -> None: page_size=page_size, request_options=request_options, ) - return _response.data diff --git a/src/merge/resources/crm/resources/custom_objects/raw_client.py b/src/merge/resources/crm/resources/custom_objects/raw_client.py index 70f1855a..de8fd1f5 100644 --- a/src/merge/resources/crm/resources/custom_objects/raw_client.py +++ b/src/merge/resources/crm/resources/custom_objects/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.crm_custom_object_response import CrmCustomObjectResponse @@ -17,6 +18,7 @@ from ...types.meta_response import MetaResponse from ...types.paginated_custom_object_list import PaginatedCustomObjectList from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList +from ...types.remote_field_class import RemoteFieldClass # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -42,7 +44,7 @@ def custom_object_classes_custom_objects_list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedCustomObjectList]: + ) -> SyncPager[CustomObject, PaginatedCustomObjectList]: """ Returns a list of `CustomObject` objects. @@ -88,7 +90,7 @@ def custom_object_classes_custom_objects_list( Returns ------- - HttpResponse[PaginatedCustomObjectList] + SyncPager[CustomObject, PaginatedCustomObjectList] """ _response = self._client_wrapper.httpx_client.request( @@ -111,14 +113,32 @@ def custom_object_classes_custom_objects_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedCustomObjectList, construct_type( type_=PaginatedCustomObjectList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.custom_object_classes_custom_objects_list( + custom_object_class_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -298,7 +318,7 @@ def custom_object_classes_custom_objects_remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedRemoteFieldClassList]: + ) -> SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -333,7 +353,7 @@ def custom_object_classes_custom_objects_remote_field_classes_list( Returns ------- - HttpResponse[PaginatedRemoteFieldClassList] + SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] """ _response = self._client_wrapper.httpx_client.request( @@ -353,14 +373,28 @@ def custom_object_classes_custom_objects_remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.custom_object_classes_custom_objects_remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -387,7 +421,7 @@ async def custom_object_classes_custom_objects_list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedCustomObjectList]: + ) -> AsyncPager[CustomObject, PaginatedCustomObjectList]: """ Returns a list of `CustomObject` objects. @@ -433,7 +467,7 @@ async def custom_object_classes_custom_objects_list( Returns ------- - AsyncHttpResponse[PaginatedCustomObjectList] + AsyncPager[CustomObject, PaginatedCustomObjectList] """ _response = await self._client_wrapper.httpx_client.request( @@ -456,14 +490,35 @@ async def custom_object_classes_custom_objects_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedCustomObjectList, construct_type( type_=PaginatedCustomObjectList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.custom_object_classes_custom_objects_list( + custom_object_class_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -643,7 +698,7 @@ async def custom_object_classes_custom_objects_remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedRemoteFieldClassList]: + ) -> AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -678,7 +733,7 @@ async def custom_object_classes_custom_objects_remote_field_classes_list( Returns ------- - AsyncHttpResponse[PaginatedRemoteFieldClassList] + AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] """ _response = await self._client_wrapper.httpx_client.request( @@ -698,14 +753,31 @@ async def custom_object_classes_custom_objects_remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.custom_object_classes_custom_objects_remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/crm/resources/engagement_types/client.py b/src/merge/resources/crm/resources/engagement_types/client.py index dc5086d2..bb391621 100644 --- a/src/merge/resources/crm/resources/engagement_types/client.py +++ b/src/merge/resources/crm/resources/engagement_types/client.py @@ -4,10 +4,12 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.engagement_type import EngagementType from ...types.paginated_engagement_type_list import PaginatedEngagementTypeList from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList +from ...types.remote_field_class import RemoteFieldClass from .raw_client import AsyncRawEngagementTypesClient, RawEngagementTypesClient @@ -41,7 +43,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedEngagementTypeList: + ) -> SyncPager[EngagementType, PaginatedEngagementTypeList]: """ Returns a list of `EngagementType` objects. @@ -85,42 +87,27 @@ def list( Returns ------- - PaginatedEngagementTypeList + SyncPager[EngagementType, PaginatedEngagementTypeList] Examples -------- - import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.crm.engagement_types.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = client.crm.engagement_types.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -134,7 +121,6 @@ def list( remote_id=remote_id, request_options=request_options, ) - return _response.data def retrieve( self, @@ -179,9 +165,6 @@ def retrieve( ) client.crm.engagement_types.retrieve( id="id", - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, ) """ _response = self._raw_client.retrieve( @@ -205,7 +188,7 @@ def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -240,7 +223,7 @@ def remote_field_classes_list( Returns ------- - PaginatedRemoteFieldClassList + SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] Examples @@ -251,18 +234,16 @@ def remote_field_classes_list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.crm.engagement_types.remote_field_classes_list( + response = client.crm.engagement_types.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.remote_field_classes_list( + return self._raw_client.remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -273,7 +254,6 @@ def remote_field_classes_list( page_size=page_size, request_options=request_options, ) - return _response.data class AsyncEngagementTypesClient: @@ -306,7 +286,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedEngagementTypeList: + ) -> AsyncPager[EngagementType, PaginatedEngagementTypeList]: """ Returns a list of `EngagementType` objects. @@ -350,13 +330,12 @@ async def list( Returns ------- - PaginatedEngagementTypeList + AsyncPager[EngagementType, PaginatedEngagementTypeList] Examples -------- import asyncio - import datetime from merge import AsyncMerge @@ -367,32 +346,20 @@ async def list( async def main() -> None: - await client.crm.engagement_types.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = await client.crm.engagement_types.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -406,7 +373,6 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def retrieve( self, @@ -456,9 +422,6 @@ async def retrieve( async def main() -> None: await client.crm.engagement_types.retrieve( id="id", - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, ) @@ -485,7 +448,7 @@ async def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -520,7 +483,7 @@ async def remote_field_classes_list( Returns ------- - PaginatedRemoteFieldClassList + AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] Examples @@ -536,21 +499,20 @@ async def remote_field_classes_list( async def main() -> None: - await client.crm.engagement_types.remote_field_classes_list( + response = await client.crm.engagement_types.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.remote_field_classes_list( + return await self._raw_client.remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -561,4 +523,3 @@ async def main() -> None: page_size=page_size, request_options=request_options, ) - return _response.data diff --git a/src/merge/resources/crm/resources/engagement_types/raw_client.py b/src/merge/resources/crm/resources/engagement_types/raw_client.py index fcb2bbf4..e35b4c89 100644 --- a/src/merge/resources/crm/resources/engagement_types/raw_client.py +++ b/src/merge/resources/crm/resources/engagement_types/raw_client.py @@ -9,11 +9,13 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.engagement_type import EngagementType from ...types.paginated_engagement_type_list import PaginatedEngagementTypeList from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList +from ...types.remote_field_class import RemoteFieldClass class RawEngagementTypesClient: @@ -35,7 +37,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedEngagementTypeList]: + ) -> SyncPager[EngagementType, PaginatedEngagementTypeList]: """ Returns a list of `EngagementType` objects. @@ -79,7 +81,7 @@ def list( Returns ------- - HttpResponse[PaginatedEngagementTypeList] + SyncPager[EngagementType, PaginatedEngagementTypeList] """ _response = self._client_wrapper.httpx_client.request( @@ -102,14 +104,31 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedEngagementTypeList, construct_type( type_=PaginatedEngagementTypeList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -185,7 +204,7 @@ def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedRemoteFieldClassList]: + ) -> SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -220,7 +239,7 @@ def remote_field_classes_list( Returns ------- - HttpResponse[PaginatedRemoteFieldClassList] + SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] """ _response = self._client_wrapper.httpx_client.request( @@ -240,14 +259,28 @@ def remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -273,7 +306,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedEngagementTypeList]: + ) -> AsyncPager[EngagementType, PaginatedEngagementTypeList]: """ Returns a list of `EngagementType` objects. @@ -317,7 +350,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedEngagementTypeList] + AsyncPager[EngagementType, PaginatedEngagementTypeList] """ _response = await self._client_wrapper.httpx_client.request( @@ -340,14 +373,34 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedEngagementTypeList, construct_type( type_=PaginatedEngagementTypeList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -423,7 +476,7 @@ async def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedRemoteFieldClassList]: + ) -> AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -458,7 +511,7 @@ async def remote_field_classes_list( Returns ------- - AsyncHttpResponse[PaginatedRemoteFieldClassList] + AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] """ _response = await self._client_wrapper.httpx_client.request( @@ -478,14 +531,31 @@ async def remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/crm/resources/engagements/__init__.py b/src/merge/resources/crm/resources/engagements/__init__.py index 59e38f99..526c1c1a 100644 --- a/src/merge/resources/crm/resources/engagements/__init__.py +++ b/src/merge/resources/crm/resources/engagements/__init__.py @@ -6,10 +6,10 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .types import EngagementsListRequestExpand, EngagementsRetrieveRequestExpand + from .types import EngagementsListRequestExpandItem, EngagementsRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "EngagementsListRequestExpand": ".types", - "EngagementsRetrieveRequestExpand": ".types", + "EngagementsListRequestExpandItem": ".types", + "EngagementsRetrieveRequestExpandItem": ".types", } @@ -19,8 +19,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -32,4 +34,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["EngagementsListRequestExpand", "EngagementsRetrieveRequestExpand"] +__all__ = ["EngagementsListRequestExpandItem", "EngagementsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/crm/resources/engagements/client.py b/src/merge/resources/crm/resources/engagements/client.py index 24baf967..a0b40e54 100644 --- a/src/merge/resources/crm/resources/engagements/client.py +++ b/src/merge/resources/crm/resources/engagements/client.py @@ -4,6 +4,7 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.engagement import Engagement from ...types.engagement_request import EngagementRequest @@ -12,9 +13,10 @@ from ...types.paginated_engagement_list import PaginatedEngagementList from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList from ...types.patched_engagement_request import PatchedEngagementRequest +from ...types.remote_field_class import RemoteFieldClass from .raw_client import AsyncRawEngagementsClient, RawEngagementsClient -from .types.engagements_list_request_expand import EngagementsListRequestExpand -from .types.engagements_retrieve_request_expand import EngagementsRetrieveRequestExpand +from .types.engagements_list_request_expand_item import EngagementsListRequestExpandItem +from .types.engagements_retrieve_request_expand_item import EngagementsRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -41,7 +43,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[EngagementsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[EngagementsListRequestExpandItem, typing.Sequence[EngagementsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -53,7 +57,7 @@ def list( started_after: typing.Optional[dt.datetime] = None, started_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedEngagementList: + ) -> SyncPager[Engagement, PaginatedEngagementList]: """ Returns a list of `Engagement` objects. @@ -68,7 +72,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[EngagementsListRequestExpand] + expand : typing.Optional[typing.Union[EngagementsListRequestExpandItem, typing.Sequence[EngagementsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -106,52 +110,27 @@ def list( Returns ------- - PaginatedEngagementList + SyncPager[Engagement, PaginatedEngagementList] Examples -------- - import datetime - from merge import Merge - from merge.resources.crm.resources.engagements import ( - EngagementsListRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.crm.engagements.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = client.crm.engagements.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=EngagementsListRequestExpand.ACCOUNT, - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", - started_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - started_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -168,7 +147,6 @@ def list( started_before=started_before, request_options=request_options, ) - return _response.data def create( self, @@ -209,8 +187,6 @@ def create( api_key="YOUR_API_KEY", ) client.crm.engagements.create( - is_debug_mode=True, - run_async=True, model=EngagementRequest(), ) """ @@ -223,7 +199,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[EngagementsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[EngagementsRetrieveRequestExpandItem, typing.Sequence[EngagementsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -236,7 +214,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[EngagementsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[EngagementsRetrieveRequestExpandItem, typing.Sequence[EngagementsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -259,9 +237,6 @@ def retrieve( Examples -------- from merge import Merge - from merge.resources.crm.resources.engagements import ( - EngagementsRetrieveRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -269,10 +244,6 @@ def retrieve( ) client.crm.engagements.retrieve( id="id", - expand=EngagementsRetrieveRequestExpand.ACCOUNT, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, ) """ _response = self._raw_client.retrieve( @@ -328,8 +299,6 @@ def partial_update( ) client.crm.engagements.partial_update( id="id", - is_debug_mode=True, - run_async=True, model=PatchedEngagementRequest(), ) """ @@ -408,7 +377,7 @@ def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -443,7 +412,7 @@ def remote_field_classes_list( Returns ------- - PaginatedRemoteFieldClassList + SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] Examples @@ -454,18 +423,16 @@ def remote_field_classes_list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.crm.engagements.remote_field_classes_list( + response = client.crm.engagements.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.remote_field_classes_list( + return self._raw_client.remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -476,7 +443,6 @@ def remote_field_classes_list( page_size=page_size, request_options=request_options, ) - return _response.data class AsyncEngagementsClient: @@ -500,7 +466,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[EngagementsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[EngagementsListRequestExpandItem, typing.Sequence[EngagementsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -512,7 +480,7 @@ async def list( started_after: typing.Optional[dt.datetime] = None, started_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedEngagementList: + ) -> AsyncPager[Engagement, PaginatedEngagementList]: """ Returns a list of `Engagement` objects. @@ -527,7 +495,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[EngagementsListRequestExpand] + expand : typing.Optional[typing.Union[EngagementsListRequestExpandItem, typing.Sequence[EngagementsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -565,18 +533,14 @@ async def list( Returns ------- - PaginatedEngagementList + AsyncPager[Engagement, PaginatedEngagementList] Examples -------- import asyncio - import datetime from merge import AsyncMerge - from merge.resources.crm.resources.engagements import ( - EngagementsListRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -585,39 +549,20 @@ async def list( async def main() -> None: - await client.crm.engagements.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = await client.crm.engagements.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=EngagementsListRequestExpand.ACCOUNT, - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", - started_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - started_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -634,7 +579,6 @@ async def main() -> None: started_before=started_before, request_options=request_options, ) - return _response.data async def create( self, @@ -680,8 +624,6 @@ async def create( async def main() -> None: await client.crm.engagements.create( - is_debug_mode=True, - run_async=True, model=EngagementRequest(), ) @@ -697,7 +639,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[EngagementsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[EngagementsRetrieveRequestExpandItem, typing.Sequence[EngagementsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -710,7 +654,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[EngagementsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[EngagementsRetrieveRequestExpandItem, typing.Sequence[EngagementsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -735,9 +679,6 @@ async def retrieve( import asyncio from merge import AsyncMerge - from merge.resources.crm.resources.engagements import ( - EngagementsRetrieveRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -748,10 +689,6 @@ async def retrieve( async def main() -> None: await client.crm.engagements.retrieve( id="id", - expand=EngagementsRetrieveRequestExpand.ACCOUNT, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, ) @@ -815,8 +752,6 @@ async def partial_update( async def main() -> None: await client.crm.engagements.partial_update( id="id", - is_debug_mode=True, - run_async=True, model=PatchedEngagementRequest(), ) @@ -916,7 +851,7 @@ async def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -951,7 +886,7 @@ async def remote_field_classes_list( Returns ------- - PaginatedRemoteFieldClassList + AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] Examples @@ -967,21 +902,20 @@ async def remote_field_classes_list( async def main() -> None: - await client.crm.engagements.remote_field_classes_list( + response = await client.crm.engagements.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.remote_field_classes_list( + return await self._raw_client.remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -992,4 +926,3 @@ async def main() -> None: page_size=page_size, request_options=request_options, ) - return _response.data diff --git a/src/merge/resources/crm/resources/engagements/raw_client.py b/src/merge/resources/crm/resources/engagements/raw_client.py index 03107454..a9b4fa89 100644 --- a/src/merge/resources/crm/resources/engagements/raw_client.py +++ b/src/merge/resources/crm/resources/engagements/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.engagement import Engagement @@ -18,8 +19,9 @@ from ...types.paginated_engagement_list import PaginatedEngagementList from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList from ...types.patched_engagement_request import PatchedEngagementRequest -from .types.engagements_list_request_expand import EngagementsListRequestExpand -from .types.engagements_retrieve_request_expand import EngagementsRetrieveRequestExpand +from ...types.remote_field_class import RemoteFieldClass +from .types.engagements_list_request_expand_item import EngagementsListRequestExpandItem +from .types.engagements_retrieve_request_expand_item import EngagementsRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -35,7 +37,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[EngagementsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[EngagementsListRequestExpandItem, typing.Sequence[EngagementsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -47,7 +51,7 @@ def list( started_after: typing.Optional[dt.datetime] = None, started_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedEngagementList]: + ) -> SyncPager[Engagement, PaginatedEngagementList]: """ Returns a list of `Engagement` objects. @@ -62,7 +66,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[EngagementsListRequestExpand] + expand : typing.Optional[typing.Union[EngagementsListRequestExpandItem, typing.Sequence[EngagementsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -100,7 +104,7 @@ def list( Returns ------- - HttpResponse[PaginatedEngagementList] + SyncPager[Engagement, PaginatedEngagementList] """ _response = self._client_wrapper.httpx_client.request( @@ -126,14 +130,34 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedEngagementList, construct_type( type_=PaginatedEngagementList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + started_after=started_after, + started_before=started_before, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -203,7 +227,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[EngagementsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[EngagementsRetrieveRequestExpandItem, typing.Sequence[EngagementsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -216,7 +242,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[EngagementsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[EngagementsRetrieveRequestExpandItem, typing.Sequence[EngagementsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -411,7 +437,7 @@ def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedRemoteFieldClassList]: + ) -> SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -446,7 +472,7 @@ def remote_field_classes_list( Returns ------- - HttpResponse[PaginatedRemoteFieldClassList] + SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] """ _response = self._client_wrapper.httpx_client.request( @@ -466,14 +492,28 @@ def remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -490,7 +530,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[EngagementsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[EngagementsListRequestExpandItem, typing.Sequence[EngagementsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -502,7 +544,7 @@ async def list( started_after: typing.Optional[dt.datetime] = None, started_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedEngagementList]: + ) -> AsyncPager[Engagement, PaginatedEngagementList]: """ Returns a list of `Engagement` objects. @@ -517,7 +559,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[EngagementsListRequestExpand] + expand : typing.Optional[typing.Union[EngagementsListRequestExpandItem, typing.Sequence[EngagementsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -555,7 +597,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedEngagementList] + AsyncPager[Engagement, PaginatedEngagementList] """ _response = await self._client_wrapper.httpx_client.request( @@ -581,14 +623,37 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedEngagementList, construct_type( type_=PaginatedEngagementList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + started_after=started_after, + started_before=started_before, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -658,7 +723,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[EngagementsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[EngagementsRetrieveRequestExpandItem, typing.Sequence[EngagementsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -671,7 +738,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[EngagementsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[EngagementsRetrieveRequestExpandItem, typing.Sequence[EngagementsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -866,7 +933,7 @@ async def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedRemoteFieldClassList]: + ) -> AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -901,7 +968,7 @@ async def remote_field_classes_list( Returns ------- - AsyncHttpResponse[PaginatedRemoteFieldClassList] + AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] """ _response = await self._client_wrapper.httpx_client.request( @@ -921,14 +988,31 @@ async def remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/crm/resources/engagements/types/__init__.py b/src/merge/resources/crm/resources/engagements/types/__init__.py index 186343d3..95555c3d 100644 --- a/src/merge/resources/crm/resources/engagements/types/__init__.py +++ b/src/merge/resources/crm/resources/engagements/types/__init__.py @@ -6,11 +6,11 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .engagements_list_request_expand import EngagementsListRequestExpand - from .engagements_retrieve_request_expand import EngagementsRetrieveRequestExpand + from .engagements_list_request_expand_item import EngagementsListRequestExpandItem + from .engagements_retrieve_request_expand_item import EngagementsRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "EngagementsListRequestExpand": ".engagements_list_request_expand", - "EngagementsRetrieveRequestExpand": ".engagements_retrieve_request_expand", + "EngagementsListRequestExpandItem": ".engagements_list_request_expand_item", + "EngagementsRetrieveRequestExpandItem": ".engagements_retrieve_request_expand_item", } @@ -20,8 +20,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -33,4 +35,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["EngagementsListRequestExpand", "EngagementsRetrieveRequestExpand"] +__all__ = ["EngagementsListRequestExpandItem", "EngagementsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/crm/resources/engagements/types/engagements_list_request_expand.py b/src/merge/resources/crm/resources/engagements/types/engagements_list_request_expand.py deleted file mode 100644 index 33ee98e3..00000000 --- a/src/merge/resources/crm/resources/engagements/types/engagements_list_request_expand.py +++ /dev/null @@ -1,73 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class EngagementsListRequestExpand(str, enum.Enum): - ACCOUNT = "account" - ACCOUNT_ENGAGEMENT_TYPE = "account,engagement_type" - CONTACTS = "contacts" - CONTACTS_ACCOUNT = "contacts,account" - CONTACTS_ACCOUNT_ENGAGEMENT_TYPE = "contacts,account,engagement_type" - CONTACTS_ENGAGEMENT_TYPE = "contacts,engagement_type" - CONTACTS_OWNER = "contacts,owner" - CONTACTS_OWNER_ACCOUNT = "contacts,owner,account" - CONTACTS_OWNER_ACCOUNT_ENGAGEMENT_TYPE = "contacts,owner,account,engagement_type" - CONTACTS_OWNER_ENGAGEMENT_TYPE = "contacts,owner,engagement_type" - ENGAGEMENT_TYPE = "engagement_type" - OWNER = "owner" - OWNER_ACCOUNT = "owner,account" - OWNER_ACCOUNT_ENGAGEMENT_TYPE = "owner,account,engagement_type" - OWNER_ENGAGEMENT_TYPE = "owner,engagement_type" - - def visit( - self, - account: typing.Callable[[], T_Result], - account_engagement_type: typing.Callable[[], T_Result], - contacts: typing.Callable[[], T_Result], - contacts_account: typing.Callable[[], T_Result], - contacts_account_engagement_type: typing.Callable[[], T_Result], - contacts_engagement_type: typing.Callable[[], T_Result], - contacts_owner: typing.Callable[[], T_Result], - contacts_owner_account: typing.Callable[[], T_Result], - contacts_owner_account_engagement_type: typing.Callable[[], T_Result], - contacts_owner_engagement_type: typing.Callable[[], T_Result], - engagement_type: typing.Callable[[], T_Result], - owner: typing.Callable[[], T_Result], - owner_account: typing.Callable[[], T_Result], - owner_account_engagement_type: typing.Callable[[], T_Result], - owner_engagement_type: typing.Callable[[], T_Result], - ) -> T_Result: - if self is EngagementsListRequestExpand.ACCOUNT: - return account() - if self is EngagementsListRequestExpand.ACCOUNT_ENGAGEMENT_TYPE: - return account_engagement_type() - if self is EngagementsListRequestExpand.CONTACTS: - return contacts() - if self is EngagementsListRequestExpand.CONTACTS_ACCOUNT: - return contacts_account() - if self is EngagementsListRequestExpand.CONTACTS_ACCOUNT_ENGAGEMENT_TYPE: - return contacts_account_engagement_type() - if self is EngagementsListRequestExpand.CONTACTS_ENGAGEMENT_TYPE: - return contacts_engagement_type() - if self is EngagementsListRequestExpand.CONTACTS_OWNER: - return contacts_owner() - if self is EngagementsListRequestExpand.CONTACTS_OWNER_ACCOUNT: - return contacts_owner_account() - if self is EngagementsListRequestExpand.CONTACTS_OWNER_ACCOUNT_ENGAGEMENT_TYPE: - return contacts_owner_account_engagement_type() - if self is EngagementsListRequestExpand.CONTACTS_OWNER_ENGAGEMENT_TYPE: - return contacts_owner_engagement_type() - if self is EngagementsListRequestExpand.ENGAGEMENT_TYPE: - return engagement_type() - if self is EngagementsListRequestExpand.OWNER: - return owner() - if self is EngagementsListRequestExpand.OWNER_ACCOUNT: - return owner_account() - if self is EngagementsListRequestExpand.OWNER_ACCOUNT_ENGAGEMENT_TYPE: - return owner_account_engagement_type() - if self is EngagementsListRequestExpand.OWNER_ENGAGEMENT_TYPE: - return owner_engagement_type() diff --git a/src/merge/resources/crm/resources/engagements/types/engagements_list_request_expand_item.py b/src/merge/resources/crm/resources/engagements/types/engagements_list_request_expand_item.py new file mode 100644 index 00000000..436161b5 --- /dev/null +++ b/src/merge/resources/crm/resources/engagements/types/engagements_list_request_expand_item.py @@ -0,0 +1,29 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class EngagementsListRequestExpandItem(str, enum.Enum): + ACCOUNT = "account" + CONTACTS = "contacts" + ENGAGEMENT_TYPE = "engagement_type" + OWNER = "owner" + + def visit( + self, + account: typing.Callable[[], T_Result], + contacts: typing.Callable[[], T_Result], + engagement_type: typing.Callable[[], T_Result], + owner: typing.Callable[[], T_Result], + ) -> T_Result: + if self is EngagementsListRequestExpandItem.ACCOUNT: + return account() + if self is EngagementsListRequestExpandItem.CONTACTS: + return contacts() + if self is EngagementsListRequestExpandItem.ENGAGEMENT_TYPE: + return engagement_type() + if self is EngagementsListRequestExpandItem.OWNER: + return owner() diff --git a/src/merge/resources/crm/resources/engagements/types/engagements_retrieve_request_expand.py b/src/merge/resources/crm/resources/engagements/types/engagements_retrieve_request_expand.py deleted file mode 100644 index 53b94d8c..00000000 --- a/src/merge/resources/crm/resources/engagements/types/engagements_retrieve_request_expand.py +++ /dev/null @@ -1,73 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class EngagementsRetrieveRequestExpand(str, enum.Enum): - ACCOUNT = "account" - ACCOUNT_ENGAGEMENT_TYPE = "account,engagement_type" - CONTACTS = "contacts" - CONTACTS_ACCOUNT = "contacts,account" - CONTACTS_ACCOUNT_ENGAGEMENT_TYPE = "contacts,account,engagement_type" - CONTACTS_ENGAGEMENT_TYPE = "contacts,engagement_type" - CONTACTS_OWNER = "contacts,owner" - CONTACTS_OWNER_ACCOUNT = "contacts,owner,account" - CONTACTS_OWNER_ACCOUNT_ENGAGEMENT_TYPE = "contacts,owner,account,engagement_type" - CONTACTS_OWNER_ENGAGEMENT_TYPE = "contacts,owner,engagement_type" - ENGAGEMENT_TYPE = "engagement_type" - OWNER = "owner" - OWNER_ACCOUNT = "owner,account" - OWNER_ACCOUNT_ENGAGEMENT_TYPE = "owner,account,engagement_type" - OWNER_ENGAGEMENT_TYPE = "owner,engagement_type" - - def visit( - self, - account: typing.Callable[[], T_Result], - account_engagement_type: typing.Callable[[], T_Result], - contacts: typing.Callable[[], T_Result], - contacts_account: typing.Callable[[], T_Result], - contacts_account_engagement_type: typing.Callable[[], T_Result], - contacts_engagement_type: typing.Callable[[], T_Result], - contacts_owner: typing.Callable[[], T_Result], - contacts_owner_account: typing.Callable[[], T_Result], - contacts_owner_account_engagement_type: typing.Callable[[], T_Result], - contacts_owner_engagement_type: typing.Callable[[], T_Result], - engagement_type: typing.Callable[[], T_Result], - owner: typing.Callable[[], T_Result], - owner_account: typing.Callable[[], T_Result], - owner_account_engagement_type: typing.Callable[[], T_Result], - owner_engagement_type: typing.Callable[[], T_Result], - ) -> T_Result: - if self is EngagementsRetrieveRequestExpand.ACCOUNT: - return account() - if self is EngagementsRetrieveRequestExpand.ACCOUNT_ENGAGEMENT_TYPE: - return account_engagement_type() - if self is EngagementsRetrieveRequestExpand.CONTACTS: - return contacts() - if self is EngagementsRetrieveRequestExpand.CONTACTS_ACCOUNT: - return contacts_account() - if self is EngagementsRetrieveRequestExpand.CONTACTS_ACCOUNT_ENGAGEMENT_TYPE: - return contacts_account_engagement_type() - if self is EngagementsRetrieveRequestExpand.CONTACTS_ENGAGEMENT_TYPE: - return contacts_engagement_type() - if self is EngagementsRetrieveRequestExpand.CONTACTS_OWNER: - return contacts_owner() - if self is EngagementsRetrieveRequestExpand.CONTACTS_OWNER_ACCOUNT: - return contacts_owner_account() - if self is EngagementsRetrieveRequestExpand.CONTACTS_OWNER_ACCOUNT_ENGAGEMENT_TYPE: - return contacts_owner_account_engagement_type() - if self is EngagementsRetrieveRequestExpand.CONTACTS_OWNER_ENGAGEMENT_TYPE: - return contacts_owner_engagement_type() - if self is EngagementsRetrieveRequestExpand.ENGAGEMENT_TYPE: - return engagement_type() - if self is EngagementsRetrieveRequestExpand.OWNER: - return owner() - if self is EngagementsRetrieveRequestExpand.OWNER_ACCOUNT: - return owner_account() - if self is EngagementsRetrieveRequestExpand.OWNER_ACCOUNT_ENGAGEMENT_TYPE: - return owner_account_engagement_type() - if self is EngagementsRetrieveRequestExpand.OWNER_ENGAGEMENT_TYPE: - return owner_engagement_type() diff --git a/src/merge/resources/crm/resources/engagements/types/engagements_retrieve_request_expand_item.py b/src/merge/resources/crm/resources/engagements/types/engagements_retrieve_request_expand_item.py new file mode 100644 index 00000000..1232f6e3 --- /dev/null +++ b/src/merge/resources/crm/resources/engagements/types/engagements_retrieve_request_expand_item.py @@ -0,0 +1,29 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class EngagementsRetrieveRequestExpandItem(str, enum.Enum): + ACCOUNT = "account" + CONTACTS = "contacts" + ENGAGEMENT_TYPE = "engagement_type" + OWNER = "owner" + + def visit( + self, + account: typing.Callable[[], T_Result], + contacts: typing.Callable[[], T_Result], + engagement_type: typing.Callable[[], T_Result], + owner: typing.Callable[[], T_Result], + ) -> T_Result: + if self is EngagementsRetrieveRequestExpandItem.ACCOUNT: + return account() + if self is EngagementsRetrieveRequestExpandItem.CONTACTS: + return contacts() + if self is EngagementsRetrieveRequestExpandItem.ENGAGEMENT_TYPE: + return engagement_type() + if self is EngagementsRetrieveRequestExpandItem.OWNER: + return owner() diff --git a/src/merge/resources/crm/resources/field_mapping/client.py b/src/merge/resources/crm/resources/field_mapping/client.py index 851e71cd..f3e4e1e1 100644 --- a/src/merge/resources/crm/resources/field_mapping/client.py +++ b/src/merge/resources/crm/resources/field_mapping/client.py @@ -59,9 +59,7 @@ def field_mappings_retrieve( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.crm.field_mapping.field_mappings_retrieve( - exclude_remote_field_metadata=True, - ) + client.crm.field_mapping.field_mappings_retrieve() """ _response = self._raw_client.field_mappings_retrieve( exclude_remote_field_metadata=exclude_remote_field_metadata, request_options=request_options @@ -73,7 +71,7 @@ def field_mappings_create( *, target_field_name: str, target_field_description: str, - remote_field_traversal_path: typing.Sequence[typing.Optional[typing.Any]], + remote_field_traversal_path: typing.Sequence[typing.Any], remote_method: str, remote_url_path: str, common_model_name: str, @@ -91,7 +89,7 @@ def field_mappings_create( target_field_description : str The description of the target field you want this remote field to map to. - remote_field_traversal_path : typing.Sequence[typing.Optional[typing.Any]] + remote_field_traversal_path : typing.Sequence[typing.Any] The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. remote_method : str @@ -123,7 +121,6 @@ def field_mappings_create( api_key="YOUR_API_KEY", ) client.crm.field_mapping.field_mappings_create( - exclude_remote_field_metadata=True, target_field_name="example_target_field_name", target_field_description="this is a example description of the target field", remote_field_traversal_path=["example_remote_field"], @@ -181,7 +178,7 @@ def field_mappings_partial_update( self, field_mapping_id: str, *, - remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] = OMIT, + remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Any]] = OMIT, remote_method: typing.Optional[str] = OMIT, remote_url_path: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, @@ -193,7 +190,7 @@ def field_mappings_partial_update( ---------- field_mapping_id : str - remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] + remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Any]] The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. remote_method : typing.Optional[str] @@ -265,10 +262,7 @@ def remote_fields_retrieve( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.crm.field_mapping.remote_fields_retrieve( - common_models="common_models", - include_example_values="include_example_values", - ) + client.crm.field_mapping.remote_fields_retrieve() """ _response = self._raw_client.remote_fields_retrieve( common_models=common_models, include_example_values=include_example_values, request_options=request_options @@ -355,9 +349,7 @@ async def field_mappings_retrieve( async def main() -> None: - await client.crm.field_mapping.field_mappings_retrieve( - exclude_remote_field_metadata=True, - ) + await client.crm.field_mapping.field_mappings_retrieve() asyncio.run(main()) @@ -372,7 +364,7 @@ async def field_mappings_create( *, target_field_name: str, target_field_description: str, - remote_field_traversal_path: typing.Sequence[typing.Optional[typing.Any]], + remote_field_traversal_path: typing.Sequence[typing.Any], remote_method: str, remote_url_path: str, common_model_name: str, @@ -390,7 +382,7 @@ async def field_mappings_create( target_field_description : str The description of the target field you want this remote field to map to. - remote_field_traversal_path : typing.Sequence[typing.Optional[typing.Any]] + remote_field_traversal_path : typing.Sequence[typing.Any] The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. remote_method : str @@ -427,7 +419,6 @@ async def field_mappings_create( async def main() -> None: await client.crm.field_mapping.field_mappings_create( - exclude_remote_field_metadata=True, target_field_name="example_target_field_name", target_field_description="this is a example description of the target field", remote_field_traversal_path=["example_remote_field"], @@ -496,7 +487,7 @@ async def field_mappings_partial_update( self, field_mapping_id: str, *, - remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] = OMIT, + remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Any]] = OMIT, remote_method: typing.Optional[str] = OMIT, remote_url_path: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, @@ -508,7 +499,7 @@ async def field_mappings_partial_update( ---------- field_mapping_id : str - remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] + remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Any]] The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. remote_method : typing.Optional[str] @@ -593,10 +584,7 @@ async def remote_fields_retrieve( async def main() -> None: - await client.crm.field_mapping.remote_fields_retrieve( - common_models="common_models", - include_example_values="include_example_values", - ) + await client.crm.field_mapping.remote_fields_retrieve() asyncio.run(main()) diff --git a/src/merge/resources/crm/resources/field_mapping/raw_client.py b/src/merge/resources/crm/resources/field_mapping/raw_client.py index c540caec..3edc5ebb 100644 --- a/src/merge/resources/crm/resources/field_mapping/raw_client.py +++ b/src/merge/resources/crm/resources/field_mapping/raw_client.py @@ -72,7 +72,7 @@ def field_mappings_create( *, target_field_name: str, target_field_description: str, - remote_field_traversal_path: typing.Sequence[typing.Optional[typing.Any]], + remote_field_traversal_path: typing.Sequence[typing.Any], remote_method: str, remote_url_path: str, common_model_name: str, @@ -90,7 +90,7 @@ def field_mappings_create( target_field_description : str The description of the target field you want this remote field to map to. - remote_field_traversal_path : typing.Sequence[typing.Optional[typing.Any]] + remote_field_traversal_path : typing.Sequence[typing.Any] The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. remote_method : str @@ -190,7 +190,7 @@ def field_mappings_partial_update( self, field_mapping_id: str, *, - remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] = OMIT, + remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Any]] = OMIT, remote_method: typing.Optional[str] = OMIT, remote_url_path: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, @@ -202,7 +202,7 @@ def field_mappings_partial_update( ---------- field_mapping_id : str - remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] + remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Any]] The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. remote_method : typing.Optional[str] @@ -389,7 +389,7 @@ async def field_mappings_create( *, target_field_name: str, target_field_description: str, - remote_field_traversal_path: typing.Sequence[typing.Optional[typing.Any]], + remote_field_traversal_path: typing.Sequence[typing.Any], remote_method: str, remote_url_path: str, common_model_name: str, @@ -407,7 +407,7 @@ async def field_mappings_create( target_field_description : str The description of the target field you want this remote field to map to. - remote_field_traversal_path : typing.Sequence[typing.Optional[typing.Any]] + remote_field_traversal_path : typing.Sequence[typing.Any] The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. remote_method : str @@ -507,7 +507,7 @@ async def field_mappings_partial_update( self, field_mapping_id: str, *, - remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] = OMIT, + remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Any]] = OMIT, remote_method: typing.Optional[str] = OMIT, remote_url_path: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, @@ -519,7 +519,7 @@ async def field_mappings_partial_update( ---------- field_mapping_id : str - remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] + remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Any]] The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. remote_method : typing.Optional[str] diff --git a/src/merge/resources/crm/resources/issues/__init__.py b/src/merge/resources/crm/resources/issues/__init__.py index 3ca1094b..45b33fe1 100644 --- a/src/merge/resources/crm/resources/issues/__init__.py +++ b/src/merge/resources/crm/resources/issues/__init__.py @@ -16,8 +16,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: diff --git a/src/merge/resources/crm/resources/issues/client.py b/src/merge/resources/crm/resources/issues/client.py index 2e460bd0..5ac3ff1b 100644 --- a/src/merge/resources/crm/resources/issues/client.py +++ b/src/merge/resources/crm/resources/issues/client.py @@ -4,6 +4,7 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.issue import Issue from ...types.paginated_issue_list import PaginatedIssueList @@ -44,7 +45,7 @@ def list( start_date: typing.Optional[str] = None, status: typing.Optional[IssuesListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedIssueList: + ) -> SyncPager[Issue, PaginatedIssueList]: """ Gets all issues for Organization. @@ -97,46 +98,27 @@ def list( Returns ------- - PaginatedIssueList + SyncPager[Issue, PaginatedIssueList] Examples -------- - import datetime - from merge import Merge - from merge.resources.crm.resources.issues import IssuesListRequestStatus client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.crm.issues.list( - account_token="account_token", + response = client.crm.issues.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_date="end_date", - end_user_organization_name="end_user_organization_name", - first_incident_time_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - first_incident_time_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - include_muted="include_muted", - integration_name="integration_name", - last_incident_time_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - last_incident_time_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - linked_account_id="linked_account_id", - page_size=1, - start_date="start_date", - status=IssuesListRequestStatus.ONGOING, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( account_token=account_token, cursor=cursor, end_date=end_date, @@ -153,7 +135,6 @@ def list( status=status, request_options=request_options, ) - return _response.data def retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> Issue: """ @@ -220,7 +201,7 @@ async def list( start_date: typing.Optional[str] = None, status: typing.Optional[IssuesListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedIssueList: + ) -> AsyncPager[Issue, PaginatedIssueList]: """ Gets all issues for Organization. @@ -273,16 +254,14 @@ async def list( Returns ------- - PaginatedIssueList + AsyncPager[Issue, PaginatedIssueList] Examples -------- import asyncio - import datetime from merge import AsyncMerge - from merge.resources.crm.resources.issues import IssuesListRequestStatus client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -291,35 +270,20 @@ async def list( async def main() -> None: - await client.crm.issues.list( - account_token="account_token", + response = await client.crm.issues.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_date="end_date", - end_user_organization_name="end_user_organization_name", - first_incident_time_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - first_incident_time_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - include_muted="include_muted", - integration_name="integration_name", - last_incident_time_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - last_incident_time_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - linked_account_id="linked_account_id", - page_size=1, - start_date="start_date", - status=IssuesListRequestStatus.ONGOING, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( account_token=account_token, cursor=cursor, end_date=end_date, @@ -336,7 +300,6 @@ async def main() -> None: status=status, request_options=request_options, ) - return _response.data async def retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> Issue: """ diff --git a/src/merge/resources/crm/resources/issues/raw_client.py b/src/merge/resources/crm/resources/issues/raw_client.py index dd161a06..d6d2fd53 100644 --- a/src/merge/resources/crm/resources/issues/raw_client.py +++ b/src/merge/resources/crm/resources/issues/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.issue import Issue @@ -38,7 +39,7 @@ def list( start_date: typing.Optional[str] = None, status: typing.Optional[IssuesListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedIssueList]: + ) -> SyncPager[Issue, PaginatedIssueList]: """ Gets all issues for Organization. @@ -91,7 +92,7 @@ def list( Returns ------- - HttpResponse[PaginatedIssueList] + SyncPager[Issue, PaginatedIssueList] """ _response = self._client_wrapper.httpx_client.request( @@ -125,14 +126,34 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedIssueList, construct_type( type_=PaginatedIssueList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + account_token=account_token, + cursor=_parsed_next, + end_date=end_date, + end_user_organization_name=end_user_organization_name, + first_incident_time_after=first_incident_time_after, + first_incident_time_before=first_incident_time_before, + include_muted=include_muted, + integration_name=integration_name, + last_incident_time_after=last_incident_time_after, + last_incident_time_before=last_incident_time_before, + linked_account_id=linked_account_id, + page_size=page_size, + start_date=start_date, + status=status, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -197,7 +218,7 @@ async def list( start_date: typing.Optional[str] = None, status: typing.Optional[IssuesListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedIssueList]: + ) -> AsyncPager[Issue, PaginatedIssueList]: """ Gets all issues for Organization. @@ -250,7 +271,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedIssueList] + AsyncPager[Issue, PaginatedIssueList] """ _response = await self._client_wrapper.httpx_client.request( @@ -284,14 +305,37 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedIssueList, construct_type( type_=PaginatedIssueList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + account_token=account_token, + cursor=_parsed_next, + end_date=end_date, + end_user_organization_name=end_user_organization_name, + first_incident_time_after=first_incident_time_after, + first_incident_time_before=first_incident_time_before, + include_muted=include_muted, + integration_name=integration_name, + last_incident_time_after=last_incident_time_after, + last_incident_time_before=last_incident_time_before, + linked_account_id=linked_account_id, + page_size=page_size, + start_date=start_date, + status=status, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/crm/resources/issues/types/__init__.py b/src/merge/resources/crm/resources/issues/types/__init__.py index 88fbf977..5e097583 100644 --- a/src/merge/resources/crm/resources/issues/types/__init__.py +++ b/src/merge/resources/crm/resources/issues/types/__init__.py @@ -16,8 +16,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: diff --git a/src/merge/resources/crm/resources/leads/__init__.py b/src/merge/resources/crm/resources/leads/__init__.py index 472e695d..d7d10fed 100644 --- a/src/merge/resources/crm/resources/leads/__init__.py +++ b/src/merge/resources/crm/resources/leads/__init__.py @@ -6,8 +6,11 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .types import LeadsListRequestExpand, LeadsRetrieveRequestExpand -_dynamic_imports: typing.Dict[str, str] = {"LeadsListRequestExpand": ".types", "LeadsRetrieveRequestExpand": ".types"} + from .types import LeadsListRequestExpandItem, LeadsRetrieveRequestExpandItem +_dynamic_imports: typing.Dict[str, str] = { + "LeadsListRequestExpandItem": ".types", + "LeadsRetrieveRequestExpandItem": ".types", +} def __getattr__(attr_name: str) -> typing.Any: @@ -16,8 +19,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -29,4 +34,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["LeadsListRequestExpand", "LeadsRetrieveRequestExpand"] +__all__ = ["LeadsListRequestExpandItem", "LeadsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/crm/resources/leads/client.py b/src/merge/resources/crm/resources/leads/client.py index 1ede9f02..d4bb2a87 100644 --- a/src/merge/resources/crm/resources/leads/client.py +++ b/src/merge/resources/crm/resources/leads/client.py @@ -4,6 +4,7 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.lead import Lead from ...types.lead_request import LeadRequest @@ -11,9 +12,10 @@ from ...types.meta_response import MetaResponse from ...types.paginated_lead_list import PaginatedLeadList from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList +from ...types.remote_field_class import RemoteFieldClass from .raw_client import AsyncRawLeadsClient, RawLeadsClient -from .types.leads_list_request_expand import LeadsListRequestExpand -from .types.leads_retrieve_request_expand import LeadsRetrieveRequestExpand +from .types.leads_list_request_expand_item import LeadsListRequestExpandItem +from .types.leads_retrieve_request_expand_item import LeadsRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -43,7 +45,9 @@ def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, email_addresses: typing.Optional[str] = None, - expand: typing.Optional[LeadsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[LeadsListRequestExpandItem, typing.Sequence[LeadsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -55,7 +59,7 @@ def list( phone_numbers: typing.Optional[str] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedLeadList: + ) -> SyncPager[Lead, PaginatedLeadList]: """ Returns a list of `Lead` objects. @@ -79,7 +83,7 @@ def list( email_addresses : typing.Optional[str] If provided, will only return contacts matching the email addresses; multiple email_addresses can be separated by commas. - expand : typing.Optional[LeadsListRequestExpand] + expand : typing.Optional[typing.Union[LeadsListRequestExpandItem, typing.Sequence[LeadsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -117,49 +121,27 @@ def list( Returns ------- - PaginatedLeadList + SyncPager[Lead, PaginatedLeadList] Examples -------- - import datetime - from merge import Merge - from merge.resources.crm.resources.leads import LeadsListRequestExpand client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.crm.leads.list( - converted_account_id="converted_account_id", - converted_contact_id="converted_contact_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = client.crm.leads.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - email_addresses="email_addresses", - expand=LeadsListRequestExpand.CONVERTED_ACCOUNT, - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - owner_id="owner_id", - page_size=1, - phone_numbers="phone_numbers", - remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( converted_account_id=converted_account_id, converted_contact_id=converted_contact_id, created_after=created_after, @@ -179,7 +161,6 @@ def list( remote_id=remote_id, request_options=request_options, ) - return _response.data def create( self, @@ -220,8 +201,6 @@ def create( api_key="YOUR_API_KEY", ) client.crm.leads.create( - is_debug_mode=True, - run_async=True, model=LeadRequest(), ) """ @@ -234,7 +213,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[LeadsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[LeadsRetrieveRequestExpandItem, typing.Sequence[LeadsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -247,7 +228,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[LeadsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[LeadsRetrieveRequestExpandItem, typing.Sequence[LeadsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -270,7 +251,6 @@ def retrieve( Examples -------- from merge import Merge - from merge.resources.crm.resources.leads import LeadsRetrieveRequestExpand client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -278,10 +258,6 @@ def retrieve( ) client.crm.leads.retrieve( id="id", - expand=LeadsRetrieveRequestExpand.CONVERTED_ACCOUNT, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, ) """ _response = self._raw_client.retrieve( @@ -333,7 +309,7 @@ def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -368,7 +344,7 @@ def remote_field_classes_list( Returns ------- - PaginatedRemoteFieldClassList + SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] Examples @@ -379,18 +355,16 @@ def remote_field_classes_list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.crm.leads.remote_field_classes_list( + response = client.crm.leads.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.remote_field_classes_list( + return self._raw_client.remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -401,7 +375,6 @@ def remote_field_classes_list( page_size=page_size, request_options=request_options, ) - return _response.data class AsyncLeadsClient: @@ -428,7 +401,9 @@ async def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, email_addresses: typing.Optional[str] = None, - expand: typing.Optional[LeadsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[LeadsListRequestExpandItem, typing.Sequence[LeadsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -440,7 +415,7 @@ async def list( phone_numbers: typing.Optional[str] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedLeadList: + ) -> AsyncPager[Lead, PaginatedLeadList]: """ Returns a list of `Lead` objects. @@ -464,7 +439,7 @@ async def list( email_addresses : typing.Optional[str] If provided, will only return contacts matching the email addresses; multiple email_addresses can be separated by commas. - expand : typing.Optional[LeadsListRequestExpand] + expand : typing.Optional[typing.Union[LeadsListRequestExpandItem, typing.Sequence[LeadsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -502,16 +477,14 @@ async def list( Returns ------- - PaginatedLeadList + AsyncPager[Lead, PaginatedLeadList] Examples -------- import asyncio - import datetime from merge import AsyncMerge - from merge.resources.crm.resources.leads import LeadsListRequestExpand client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -520,38 +493,20 @@ async def list( async def main() -> None: - await client.crm.leads.list( - converted_account_id="converted_account_id", - converted_contact_id="converted_contact_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = await client.crm.leads.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - email_addresses="email_addresses", - expand=LeadsListRequestExpand.CONVERTED_ACCOUNT, - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - owner_id="owner_id", - page_size=1, - phone_numbers="phone_numbers", - remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( converted_account_id=converted_account_id, converted_contact_id=converted_contact_id, created_after=created_after, @@ -571,7 +526,6 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def create( self, @@ -617,8 +571,6 @@ async def create( async def main() -> None: await client.crm.leads.create( - is_debug_mode=True, - run_async=True, model=LeadRequest(), ) @@ -634,7 +586,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[LeadsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[LeadsRetrieveRequestExpandItem, typing.Sequence[LeadsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -647,7 +601,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[LeadsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[LeadsRetrieveRequestExpandItem, typing.Sequence[LeadsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -672,7 +626,6 @@ async def retrieve( import asyncio from merge import AsyncMerge - from merge.resources.crm.resources.leads import LeadsRetrieveRequestExpand client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -683,10 +636,6 @@ async def retrieve( async def main() -> None: await client.crm.leads.retrieve( id="id", - expand=LeadsRetrieveRequestExpand.CONVERTED_ACCOUNT, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, ) @@ -749,7 +698,7 @@ async def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -784,7 +733,7 @@ async def remote_field_classes_list( Returns ------- - PaginatedRemoteFieldClassList + AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] Examples @@ -800,21 +749,20 @@ async def remote_field_classes_list( async def main() -> None: - await client.crm.leads.remote_field_classes_list( + response = await client.crm.leads.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.remote_field_classes_list( + return await self._raw_client.remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -825,4 +773,3 @@ async def main() -> None: page_size=page_size, request_options=request_options, ) - return _response.data diff --git a/src/merge/resources/crm/resources/leads/raw_client.py b/src/merge/resources/crm/resources/leads/raw_client.py index 8779c5d2..d960a971 100644 --- a/src/merge/resources/crm/resources/leads/raw_client.py +++ b/src/merge/resources/crm/resources/leads/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.lead import Lead @@ -17,8 +18,9 @@ from ...types.meta_response import MetaResponse from ...types.paginated_lead_list import PaginatedLeadList from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList -from .types.leads_list_request_expand import LeadsListRequestExpand -from .types.leads_retrieve_request_expand import LeadsRetrieveRequestExpand +from ...types.remote_field_class import RemoteFieldClass +from .types.leads_list_request_expand_item import LeadsListRequestExpandItem +from .types.leads_retrieve_request_expand_item import LeadsRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -37,7 +39,9 @@ def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, email_addresses: typing.Optional[str] = None, - expand: typing.Optional[LeadsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[LeadsListRequestExpandItem, typing.Sequence[LeadsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -49,7 +53,7 @@ def list( phone_numbers: typing.Optional[str] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedLeadList]: + ) -> SyncPager[Lead, PaginatedLeadList]: """ Returns a list of `Lead` objects. @@ -73,7 +77,7 @@ def list( email_addresses : typing.Optional[str] If provided, will only return contacts matching the email addresses; multiple email_addresses can be separated by commas. - expand : typing.Optional[LeadsListRequestExpand] + expand : typing.Optional[typing.Union[LeadsListRequestExpandItem, typing.Sequence[LeadsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -111,7 +115,7 @@ def list( Returns ------- - HttpResponse[PaginatedLeadList] + SyncPager[Lead, PaginatedLeadList] """ _response = self._client_wrapper.httpx_client.request( @@ -140,14 +144,37 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedLeadList, construct_type( type_=PaginatedLeadList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + converted_account_id=converted_account_id, + converted_contact_id=converted_contact_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + email_addresses=email_addresses, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + owner_id=owner_id, + page_size=page_size, + phone_numbers=phone_numbers, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -217,7 +244,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[LeadsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[LeadsRetrieveRequestExpandItem, typing.Sequence[LeadsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -230,7 +259,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[LeadsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[LeadsRetrieveRequestExpandItem, typing.Sequence[LeadsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -324,7 +353,7 @@ def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedRemoteFieldClassList]: + ) -> SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -359,7 +388,7 @@ def remote_field_classes_list( Returns ------- - HttpResponse[PaginatedRemoteFieldClassList] + SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] """ _response = self._client_wrapper.httpx_client.request( @@ -379,14 +408,28 @@ def remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -406,7 +449,9 @@ async def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, email_addresses: typing.Optional[str] = None, - expand: typing.Optional[LeadsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[LeadsListRequestExpandItem, typing.Sequence[LeadsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -418,7 +463,7 @@ async def list( phone_numbers: typing.Optional[str] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedLeadList]: + ) -> AsyncPager[Lead, PaginatedLeadList]: """ Returns a list of `Lead` objects. @@ -442,7 +487,7 @@ async def list( email_addresses : typing.Optional[str] If provided, will only return contacts matching the email addresses; multiple email_addresses can be separated by commas. - expand : typing.Optional[LeadsListRequestExpand] + expand : typing.Optional[typing.Union[LeadsListRequestExpandItem, typing.Sequence[LeadsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -480,7 +525,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedLeadList] + AsyncPager[Lead, PaginatedLeadList] """ _response = await self._client_wrapper.httpx_client.request( @@ -509,14 +554,40 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedLeadList, construct_type( type_=PaginatedLeadList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + converted_account_id=converted_account_id, + converted_contact_id=converted_contact_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + email_addresses=email_addresses, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + owner_id=owner_id, + page_size=page_size, + phone_numbers=phone_numbers, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -586,7 +657,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[LeadsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[LeadsRetrieveRequestExpandItem, typing.Sequence[LeadsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -599,7 +672,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[LeadsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[LeadsRetrieveRequestExpandItem, typing.Sequence[LeadsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -693,7 +766,7 @@ async def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedRemoteFieldClassList]: + ) -> AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -728,7 +801,7 @@ async def remote_field_classes_list( Returns ------- - AsyncHttpResponse[PaginatedRemoteFieldClassList] + AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] """ _response = await self._client_wrapper.httpx_client.request( @@ -748,14 +821,31 @@ async def remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/crm/resources/leads/types/__init__.py b/src/merge/resources/crm/resources/leads/types/__init__.py index e2f7e079..7109ede0 100644 --- a/src/merge/resources/crm/resources/leads/types/__init__.py +++ b/src/merge/resources/crm/resources/leads/types/__init__.py @@ -6,11 +6,11 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .leads_list_request_expand import LeadsListRequestExpand - from .leads_retrieve_request_expand import LeadsRetrieveRequestExpand + from .leads_list_request_expand_item import LeadsListRequestExpandItem + from .leads_retrieve_request_expand_item import LeadsRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "LeadsListRequestExpand": ".leads_list_request_expand", - "LeadsRetrieveRequestExpand": ".leads_retrieve_request_expand", + "LeadsListRequestExpandItem": ".leads_list_request_expand_item", + "LeadsRetrieveRequestExpandItem": ".leads_retrieve_request_expand_item", } @@ -20,8 +20,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -33,4 +35,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["LeadsListRequestExpand", "LeadsRetrieveRequestExpand"] +__all__ = ["LeadsListRequestExpandItem", "LeadsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/crm/resources/leads/types/leads_list_request_expand.py b/src/merge/resources/crm/resources/leads/types/leads_list_request_expand.py deleted file mode 100644 index b563b107..00000000 --- a/src/merge/resources/crm/resources/leads/types/leads_list_request_expand.py +++ /dev/null @@ -1,41 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class LeadsListRequestExpand(str, enum.Enum): - CONVERTED_ACCOUNT = "converted_account" - CONVERTED_CONTACT = "converted_contact" - CONVERTED_CONTACT_CONVERTED_ACCOUNT = "converted_contact,converted_account" - OWNER = "owner" - OWNER_CONVERTED_ACCOUNT = "owner,converted_account" - OWNER_CONVERTED_CONTACT = "owner,converted_contact" - OWNER_CONVERTED_CONTACT_CONVERTED_ACCOUNT = "owner,converted_contact,converted_account" - - def visit( - self, - converted_account: typing.Callable[[], T_Result], - converted_contact: typing.Callable[[], T_Result], - converted_contact_converted_account: typing.Callable[[], T_Result], - owner: typing.Callable[[], T_Result], - owner_converted_account: typing.Callable[[], T_Result], - owner_converted_contact: typing.Callable[[], T_Result], - owner_converted_contact_converted_account: typing.Callable[[], T_Result], - ) -> T_Result: - if self is LeadsListRequestExpand.CONVERTED_ACCOUNT: - return converted_account() - if self is LeadsListRequestExpand.CONVERTED_CONTACT: - return converted_contact() - if self is LeadsListRequestExpand.CONVERTED_CONTACT_CONVERTED_ACCOUNT: - return converted_contact_converted_account() - if self is LeadsListRequestExpand.OWNER: - return owner() - if self is LeadsListRequestExpand.OWNER_CONVERTED_ACCOUNT: - return owner_converted_account() - if self is LeadsListRequestExpand.OWNER_CONVERTED_CONTACT: - return owner_converted_contact() - if self is LeadsListRequestExpand.OWNER_CONVERTED_CONTACT_CONVERTED_ACCOUNT: - return owner_converted_contact_converted_account() diff --git a/src/merge/resources/crm/resources/leads/types/leads_list_request_expand_item.py b/src/merge/resources/crm/resources/leads/types/leads_list_request_expand_item.py new file mode 100644 index 00000000..386fe5db --- /dev/null +++ b/src/merge/resources/crm/resources/leads/types/leads_list_request_expand_item.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class LeadsListRequestExpandItem(str, enum.Enum): + CONVERTED_ACCOUNT = "converted_account" + CONVERTED_CONTACT = "converted_contact" + OWNER = "owner" + + def visit( + self, + converted_account: typing.Callable[[], T_Result], + converted_contact: typing.Callable[[], T_Result], + owner: typing.Callable[[], T_Result], + ) -> T_Result: + if self is LeadsListRequestExpandItem.CONVERTED_ACCOUNT: + return converted_account() + if self is LeadsListRequestExpandItem.CONVERTED_CONTACT: + return converted_contact() + if self is LeadsListRequestExpandItem.OWNER: + return owner() diff --git a/src/merge/resources/crm/resources/leads/types/leads_retrieve_request_expand.py b/src/merge/resources/crm/resources/leads/types/leads_retrieve_request_expand.py deleted file mode 100644 index 08f9bd3f..00000000 --- a/src/merge/resources/crm/resources/leads/types/leads_retrieve_request_expand.py +++ /dev/null @@ -1,41 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class LeadsRetrieveRequestExpand(str, enum.Enum): - CONVERTED_ACCOUNT = "converted_account" - CONVERTED_CONTACT = "converted_contact" - CONVERTED_CONTACT_CONVERTED_ACCOUNT = "converted_contact,converted_account" - OWNER = "owner" - OWNER_CONVERTED_ACCOUNT = "owner,converted_account" - OWNER_CONVERTED_CONTACT = "owner,converted_contact" - OWNER_CONVERTED_CONTACT_CONVERTED_ACCOUNT = "owner,converted_contact,converted_account" - - def visit( - self, - converted_account: typing.Callable[[], T_Result], - converted_contact: typing.Callable[[], T_Result], - converted_contact_converted_account: typing.Callable[[], T_Result], - owner: typing.Callable[[], T_Result], - owner_converted_account: typing.Callable[[], T_Result], - owner_converted_contact: typing.Callable[[], T_Result], - owner_converted_contact_converted_account: typing.Callable[[], T_Result], - ) -> T_Result: - if self is LeadsRetrieveRequestExpand.CONVERTED_ACCOUNT: - return converted_account() - if self is LeadsRetrieveRequestExpand.CONVERTED_CONTACT: - return converted_contact() - if self is LeadsRetrieveRequestExpand.CONVERTED_CONTACT_CONVERTED_ACCOUNT: - return converted_contact_converted_account() - if self is LeadsRetrieveRequestExpand.OWNER: - return owner() - if self is LeadsRetrieveRequestExpand.OWNER_CONVERTED_ACCOUNT: - return owner_converted_account() - if self is LeadsRetrieveRequestExpand.OWNER_CONVERTED_CONTACT: - return owner_converted_contact() - if self is LeadsRetrieveRequestExpand.OWNER_CONVERTED_CONTACT_CONVERTED_ACCOUNT: - return owner_converted_contact_converted_account() diff --git a/src/merge/resources/crm/resources/leads/types/leads_retrieve_request_expand_item.py b/src/merge/resources/crm/resources/leads/types/leads_retrieve_request_expand_item.py new file mode 100644 index 00000000..19c71587 --- /dev/null +++ b/src/merge/resources/crm/resources/leads/types/leads_retrieve_request_expand_item.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class LeadsRetrieveRequestExpandItem(str, enum.Enum): + CONVERTED_ACCOUNT = "converted_account" + CONVERTED_CONTACT = "converted_contact" + OWNER = "owner" + + def visit( + self, + converted_account: typing.Callable[[], T_Result], + converted_contact: typing.Callable[[], T_Result], + owner: typing.Callable[[], T_Result], + ) -> T_Result: + if self is LeadsRetrieveRequestExpandItem.CONVERTED_ACCOUNT: + return converted_account() + if self is LeadsRetrieveRequestExpandItem.CONVERTED_CONTACT: + return converted_contact() + if self is LeadsRetrieveRequestExpandItem.OWNER: + return owner() diff --git a/src/merge/resources/crm/resources/link_token/__init__.py b/src/merge/resources/crm/resources/link_token/__init__.py index 3bad6adf..15700960 100644 --- a/src/merge/resources/crm/resources/link_token/__init__.py +++ b/src/merge/resources/crm/resources/link_token/__init__.py @@ -16,8 +16,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: diff --git a/src/merge/resources/crm/resources/link_token/client.py b/src/merge/resources/crm/resources/link_token/client.py index 8a8e4a5c..163afcb6 100644 --- a/src/merge/resources/crm/resources/link_token/client.py +++ b/src/merge/resources/crm/resources/link_token/client.py @@ -47,7 +47,7 @@ def create( ] = OMIT, language: typing.Optional[EndUserDetailsRequestLanguage] = OMIT, are_syncs_disabled: typing.Optional[bool] = OMIT, - integration_specific_config: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, + integration_specific_config: typing.Optional[typing.Dict[str, typing.Any]] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> LinkToken: """ @@ -94,7 +94,7 @@ def create( are_syncs_disabled : typing.Optional[bool] The boolean that indicates whether initial, periodic, and force syncs will be disabled. - integration_specific_config : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] + integration_specific_config : typing.Optional[typing.Dict[str, typing.Any]] A JSON object containing integration-specific configuration options. request_options : typing.Optional[RequestOptions] @@ -172,7 +172,7 @@ async def create( ] = OMIT, language: typing.Optional[EndUserDetailsRequestLanguage] = OMIT, are_syncs_disabled: typing.Optional[bool] = OMIT, - integration_specific_config: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, + integration_specific_config: typing.Optional[typing.Dict[str, typing.Any]] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> LinkToken: """ @@ -219,7 +219,7 @@ async def create( are_syncs_disabled : typing.Optional[bool] The boolean that indicates whether initial, periodic, and force syncs will be disabled. - integration_specific_config : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] + integration_specific_config : typing.Optional[typing.Dict[str, typing.Any]] A JSON object containing integration-specific configuration options. request_options : typing.Optional[RequestOptions] diff --git a/src/merge/resources/crm/resources/link_token/raw_client.py b/src/merge/resources/crm/resources/link_token/raw_client.py index ad9b7802..c8bfd6dc 100644 --- a/src/merge/resources/crm/resources/link_token/raw_client.py +++ b/src/merge/resources/crm/resources/link_token/raw_client.py @@ -39,7 +39,7 @@ def create( ] = OMIT, language: typing.Optional[EndUserDetailsRequestLanguage] = OMIT, are_syncs_disabled: typing.Optional[bool] = OMIT, - integration_specific_config: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, + integration_specific_config: typing.Optional[typing.Dict[str, typing.Any]] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[LinkToken]: """ @@ -86,7 +86,7 @@ def create( are_syncs_disabled : typing.Optional[bool] The boolean that indicates whether initial, periodic, and force syncs will be disabled. - integration_specific_config : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] + integration_specific_config : typing.Optional[typing.Dict[str, typing.Any]] A JSON object containing integration-specific configuration options. request_options : typing.Optional[RequestOptions] @@ -158,7 +158,7 @@ async def create( ] = OMIT, language: typing.Optional[EndUserDetailsRequestLanguage] = OMIT, are_syncs_disabled: typing.Optional[bool] = OMIT, - integration_specific_config: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, + integration_specific_config: typing.Optional[typing.Dict[str, typing.Any]] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[LinkToken]: """ @@ -205,7 +205,7 @@ async def create( are_syncs_disabled : typing.Optional[bool] The boolean that indicates whether initial, periodic, and force syncs will be disabled. - integration_specific_config : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] + integration_specific_config : typing.Optional[typing.Dict[str, typing.Any]] A JSON object containing integration-specific configuration options. request_options : typing.Optional[RequestOptions] diff --git a/src/merge/resources/crm/resources/link_token/types/__init__.py b/src/merge/resources/crm/resources/link_token/types/__init__.py index e9a7d3b9..dad2a14a 100644 --- a/src/merge/resources/crm/resources/link_token/types/__init__.py +++ b/src/merge/resources/crm/resources/link_token/types/__init__.py @@ -16,8 +16,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: diff --git a/src/merge/resources/crm/resources/linked_accounts/__init__.py b/src/merge/resources/crm/resources/linked_accounts/__init__.py index 0b9e42b4..12e213b7 100644 --- a/src/merge/resources/crm/resources/linked_accounts/__init__.py +++ b/src/merge/resources/crm/resources/linked_accounts/__init__.py @@ -16,8 +16,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: diff --git a/src/merge/resources/crm/resources/linked_accounts/client.py b/src/merge/resources/crm/resources/linked_accounts/client.py index 7587420a..ffbb83ae 100644 --- a/src/merge/resources/crm/resources/linked_accounts/client.py +++ b/src/merge/resources/crm/resources/linked_accounts/client.py @@ -3,7 +3,9 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions +from ...types.account_details_and_actions import AccountDetailsAndActions from ...types.paginated_account_details_and_actions_list import PaginatedAccountDetailsAndActionsList from .raw_client import AsyncRawLinkedAccountsClient, RawLinkedAccountsClient from .types.linked_accounts_list_request_category import LinkedAccountsListRequestCategory @@ -41,7 +43,7 @@ def list( page_size: typing.Optional[int] = None, status: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAccountDetailsAndActionsList: + ) -> SyncPager[AccountDetailsAndActions, PaginatedAccountDetailsAndActionsList]: """ List linked accounts for your organization. @@ -98,37 +100,27 @@ def list( Returns ------- - PaginatedAccountDetailsAndActionsList + SyncPager[AccountDetailsAndActions, PaginatedAccountDetailsAndActionsList] Examples -------- from merge import Merge - from merge.resources.crm.resources.linked_accounts import ( - LinkedAccountsListRequestCategory, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.crm.linked_accounts.list( - category=LinkedAccountsListRequestCategory.ACCOUNTING, + response = client.crm.linked_accounts.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_user_email_address="end_user_email_address", - end_user_organization_name="end_user_organization_name", - end_user_origin_id="end_user_origin_id", - end_user_origin_ids="end_user_origin_ids", - id="id", - ids="ids", - include_duplicates=True, - integration_name="integration_name", - is_test_account="is_test_account", - page_size=1, - status="status", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( category=category, cursor=cursor, end_user_email_address=end_user_email_address, @@ -144,7 +136,6 @@ def list( status=status, request_options=request_options, ) - return _response.data class AsyncLinkedAccountsClient: @@ -179,7 +170,7 @@ async def list( page_size: typing.Optional[int] = None, status: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAccountDetailsAndActionsList: + ) -> AsyncPager[AccountDetailsAndActions, PaginatedAccountDetailsAndActionsList]: """ List linked accounts for your organization. @@ -236,7 +227,7 @@ async def list( Returns ------- - PaginatedAccountDetailsAndActionsList + AsyncPager[AccountDetailsAndActions, PaginatedAccountDetailsAndActionsList] Examples @@ -244,9 +235,6 @@ async def list( import asyncio from merge import AsyncMerge - from merge.resources.crm.resources.linked_accounts import ( - LinkedAccountsListRequestCategory, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -255,26 +243,20 @@ async def list( async def main() -> None: - await client.crm.linked_accounts.list( - category=LinkedAccountsListRequestCategory.ACCOUNTING, + response = await client.crm.linked_accounts.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_user_email_address="end_user_email_address", - end_user_organization_name="end_user_organization_name", - end_user_origin_id="end_user_origin_id", - end_user_origin_ids="end_user_origin_ids", - id="id", - ids="ids", - include_duplicates=True, - integration_name="integration_name", - is_test_account="is_test_account", - page_size=1, - status="status", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( category=category, cursor=cursor, end_user_email_address=end_user_email_address, @@ -290,4 +272,3 @@ async def main() -> None: status=status, request_options=request_options, ) - return _response.data diff --git a/src/merge/resources/crm/resources/linked_accounts/raw_client.py b/src/merge/resources/crm/resources/linked_accounts/raw_client.py index 173c2dcd..41cb57ea 100644 --- a/src/merge/resources/crm/resources/linked_accounts/raw_client.py +++ b/src/merge/resources/crm/resources/linked_accounts/raw_client.py @@ -5,9 +5,10 @@ from .....core.api_error import ApiError from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type +from ...types.account_details_and_actions import AccountDetailsAndActions from ...types.paginated_account_details_and_actions_list import PaginatedAccountDetailsAndActionsList from .types.linked_accounts_list_request_category import LinkedAccountsListRequestCategory @@ -33,7 +34,7 @@ def list( page_size: typing.Optional[int] = None, status: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedAccountDetailsAndActionsList]: + ) -> SyncPager[AccountDetailsAndActions, PaginatedAccountDetailsAndActionsList]: """ List linked accounts for your organization. @@ -90,7 +91,7 @@ def list( Returns ------- - HttpResponse[PaginatedAccountDetailsAndActionsList] + SyncPager[AccountDetailsAndActions, PaginatedAccountDetailsAndActionsList] """ _response = self._client_wrapper.httpx_client.request( @@ -115,14 +116,33 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAccountDetailsAndActionsList, construct_type( type_=PaginatedAccountDetailsAndActionsList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + category=category, + cursor=_parsed_next, + end_user_email_address=end_user_email_address, + end_user_organization_name=end_user_organization_name, + end_user_origin_id=end_user_origin_id, + end_user_origin_ids=end_user_origin_ids, + id=id, + ids=ids, + include_duplicates=include_duplicates, + integration_name=integration_name, + is_test_account=is_test_account, + page_size=page_size, + status=status, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -150,7 +170,7 @@ async def list( page_size: typing.Optional[int] = None, status: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedAccountDetailsAndActionsList]: + ) -> AsyncPager[AccountDetailsAndActions, PaginatedAccountDetailsAndActionsList]: """ List linked accounts for your organization. @@ -207,7 +227,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedAccountDetailsAndActionsList] + AsyncPager[AccountDetailsAndActions, PaginatedAccountDetailsAndActionsList] """ _response = await self._client_wrapper.httpx_client.request( @@ -232,14 +252,36 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAccountDetailsAndActionsList, construct_type( type_=PaginatedAccountDetailsAndActionsList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + category=category, + cursor=_parsed_next, + end_user_email_address=end_user_email_address, + end_user_organization_name=end_user_organization_name, + end_user_origin_id=end_user_origin_id, + end_user_origin_ids=end_user_origin_ids, + id=id, + ids=ids, + include_duplicates=include_duplicates, + integration_name=integration_name, + is_test_account=is_test_account, + page_size=page_size, + status=status, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/crm/resources/linked_accounts/types/__init__.py b/src/merge/resources/crm/resources/linked_accounts/types/__init__.py index a28f38cc..a884db6a 100644 --- a/src/merge/resources/crm/resources/linked_accounts/types/__init__.py +++ b/src/merge/resources/crm/resources/linked_accounts/types/__init__.py @@ -18,8 +18,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: diff --git a/src/merge/resources/crm/resources/notes/__init__.py b/src/merge/resources/crm/resources/notes/__init__.py index adc441a0..2c436175 100644 --- a/src/merge/resources/crm/resources/notes/__init__.py +++ b/src/merge/resources/crm/resources/notes/__init__.py @@ -6,8 +6,11 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .types import NotesListRequestExpand, NotesRetrieveRequestExpand -_dynamic_imports: typing.Dict[str, str] = {"NotesListRequestExpand": ".types", "NotesRetrieveRequestExpand": ".types"} + from .types import NotesListRequestExpandItem, NotesRetrieveRequestExpandItem +_dynamic_imports: typing.Dict[str, str] = { + "NotesListRequestExpandItem": ".types", + "NotesRetrieveRequestExpandItem": ".types", +} def __getattr__(attr_name: str) -> typing.Any: @@ -16,8 +19,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -29,4 +34,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["NotesListRequestExpand", "NotesRetrieveRequestExpand"] +__all__ = ["NotesListRequestExpandItem", "NotesRetrieveRequestExpandItem"] diff --git a/src/merge/resources/crm/resources/notes/client.py b/src/merge/resources/crm/resources/notes/client.py index 171e94d2..e37901f3 100644 --- a/src/merge/resources/crm/resources/notes/client.py +++ b/src/merge/resources/crm/resources/notes/client.py @@ -4,6 +4,7 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.meta_response import MetaResponse from ...types.note import Note @@ -11,9 +12,10 @@ from ...types.note_response import NoteResponse from ...types.paginated_note_list import PaginatedNoteList from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList +from ...types.remote_field_class import RemoteFieldClass from .raw_client import AsyncRawNotesClient, RawNotesClient -from .types.notes_list_request_expand import NotesListRequestExpand -from .types.notes_retrieve_request_expand import NotesRetrieveRequestExpand +from .types.notes_list_request_expand_item import NotesListRequestExpandItem +from .types.notes_retrieve_request_expand_item import NotesRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -42,7 +44,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[NotesListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[NotesListRequestExpandItem, typing.Sequence[NotesListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -54,7 +58,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedNoteList: + ) -> SyncPager[Note, PaginatedNoteList]: """ Returns a list of `Note` objects. @@ -75,7 +79,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[NotesListRequestExpand] + expand : typing.Optional[typing.Union[NotesListRequestExpandItem, typing.Sequence[NotesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -113,48 +117,27 @@ def list( Returns ------- - PaginatedNoteList + SyncPager[Note, PaginatedNoteList] Examples -------- - import datetime - from merge import Merge - from merge.resources.crm.resources.notes import NotesListRequestExpand client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.crm.notes.list( - account_id="account_id", - contact_id="contact_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = client.crm.notes.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=NotesListRequestExpand.ACCOUNT, - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - opportunity_id="opportunity_id", - owner_id="owner_id", - page_size=1, - remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( account_id=account_id, contact_id=contact_id, created_after=created_after, @@ -173,7 +156,6 @@ def list( remote_id=remote_id, request_options=request_options, ) - return _response.data def create( self, @@ -214,8 +196,6 @@ def create( api_key="YOUR_API_KEY", ) client.crm.notes.create( - is_debug_mode=True, - run_async=True, model=NoteRequest(), ) """ @@ -228,7 +208,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[NotesRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[NotesRetrieveRequestExpandItem, typing.Sequence[NotesRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -241,7 +223,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[NotesRetrieveRequestExpand] + expand : typing.Optional[typing.Union[NotesRetrieveRequestExpandItem, typing.Sequence[NotesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -264,7 +246,6 @@ def retrieve( Examples -------- from merge import Merge - from merge.resources.crm.resources.notes import NotesRetrieveRequestExpand client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -272,10 +253,6 @@ def retrieve( ) client.crm.notes.retrieve( id="id", - expand=NotesRetrieveRequestExpand.ACCOUNT, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, ) """ _response = self._raw_client.retrieve( @@ -327,7 +304,7 @@ def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -362,7 +339,7 @@ def remote_field_classes_list( Returns ------- - PaginatedRemoteFieldClassList + SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] Examples @@ -373,18 +350,16 @@ def remote_field_classes_list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.crm.notes.remote_field_classes_list( + response = client.crm.notes.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.remote_field_classes_list( + return self._raw_client.remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -395,7 +370,6 @@ def remote_field_classes_list( page_size=page_size, request_options=request_options, ) - return _response.data class AsyncNotesClient: @@ -421,7 +395,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[NotesListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[NotesListRequestExpandItem, typing.Sequence[NotesListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -433,7 +409,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedNoteList: + ) -> AsyncPager[Note, PaginatedNoteList]: """ Returns a list of `Note` objects. @@ -454,7 +430,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[NotesListRequestExpand] + expand : typing.Optional[typing.Union[NotesListRequestExpandItem, typing.Sequence[NotesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -492,16 +468,14 @@ async def list( Returns ------- - PaginatedNoteList + AsyncPager[Note, PaginatedNoteList] Examples -------- import asyncio - import datetime from merge import AsyncMerge - from merge.resources.crm.resources.notes import NotesListRequestExpand client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -510,37 +484,20 @@ async def list( async def main() -> None: - await client.crm.notes.list( - account_id="account_id", - contact_id="contact_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = await client.crm.notes.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=NotesListRequestExpand.ACCOUNT, - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - opportunity_id="opportunity_id", - owner_id="owner_id", - page_size=1, - remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( account_id=account_id, contact_id=contact_id, created_after=created_after, @@ -559,7 +516,6 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def create( self, @@ -605,8 +561,6 @@ async def create( async def main() -> None: await client.crm.notes.create( - is_debug_mode=True, - run_async=True, model=NoteRequest(), ) @@ -622,7 +576,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[NotesRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[NotesRetrieveRequestExpandItem, typing.Sequence[NotesRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -635,7 +591,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[NotesRetrieveRequestExpand] + expand : typing.Optional[typing.Union[NotesRetrieveRequestExpandItem, typing.Sequence[NotesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -660,7 +616,6 @@ async def retrieve( import asyncio from merge import AsyncMerge - from merge.resources.crm.resources.notes import NotesRetrieveRequestExpand client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -671,10 +626,6 @@ async def retrieve( async def main() -> None: await client.crm.notes.retrieve( id="id", - expand=NotesRetrieveRequestExpand.ACCOUNT, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, ) @@ -737,7 +688,7 @@ async def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -772,7 +723,7 @@ async def remote_field_classes_list( Returns ------- - PaginatedRemoteFieldClassList + AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] Examples @@ -788,21 +739,20 @@ async def remote_field_classes_list( async def main() -> None: - await client.crm.notes.remote_field_classes_list( + response = await client.crm.notes.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.remote_field_classes_list( + return await self._raw_client.remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -813,4 +763,3 @@ async def main() -> None: page_size=page_size, request_options=request_options, ) - return _response.data diff --git a/src/merge/resources/crm/resources/notes/raw_client.py b/src/merge/resources/crm/resources/notes/raw_client.py index 9b95ef38..0eb19dc0 100644 --- a/src/merge/resources/crm/resources/notes/raw_client.py +++ b/src/merge/resources/crm/resources/notes/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.meta_response import MetaResponse @@ -17,8 +18,9 @@ from ...types.note_response import NoteResponse from ...types.paginated_note_list import PaginatedNoteList from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList -from .types.notes_list_request_expand import NotesListRequestExpand -from .types.notes_retrieve_request_expand import NotesRetrieveRequestExpand +from ...types.remote_field_class import RemoteFieldClass +from .types.notes_list_request_expand_item import NotesListRequestExpandItem +from .types.notes_retrieve_request_expand_item import NotesRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -36,7 +38,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[NotesListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[NotesListRequestExpandItem, typing.Sequence[NotesListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -48,7 +52,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedNoteList]: + ) -> SyncPager[Note, PaginatedNoteList]: """ Returns a list of `Note` objects. @@ -69,7 +73,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[NotesListRequestExpand] + expand : typing.Optional[typing.Union[NotesListRequestExpandItem, typing.Sequence[NotesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -107,7 +111,7 @@ def list( Returns ------- - HttpResponse[PaginatedNoteList] + SyncPager[Note, PaginatedNoteList] """ _response = self._client_wrapper.httpx_client.request( @@ -135,14 +139,36 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedNoteList, construct_type( type_=PaginatedNoteList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + account_id=account_id, + contact_id=contact_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + opportunity_id=opportunity_id, + owner_id=owner_id, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -212,7 +238,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[NotesRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[NotesRetrieveRequestExpandItem, typing.Sequence[NotesRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -225,7 +253,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[NotesRetrieveRequestExpand] + expand : typing.Optional[typing.Union[NotesRetrieveRequestExpandItem, typing.Sequence[NotesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -319,7 +347,7 @@ def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedRemoteFieldClassList]: + ) -> SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -354,7 +382,7 @@ def remote_field_classes_list( Returns ------- - HttpResponse[PaginatedRemoteFieldClassList] + SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] """ _response = self._client_wrapper.httpx_client.request( @@ -374,14 +402,28 @@ def remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -400,7 +442,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[NotesListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[NotesListRequestExpandItem, typing.Sequence[NotesListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -412,7 +456,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedNoteList]: + ) -> AsyncPager[Note, PaginatedNoteList]: """ Returns a list of `Note` objects. @@ -433,7 +477,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[NotesListRequestExpand] + expand : typing.Optional[typing.Union[NotesListRequestExpandItem, typing.Sequence[NotesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -471,7 +515,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedNoteList] + AsyncPager[Note, PaginatedNoteList] """ _response = await self._client_wrapper.httpx_client.request( @@ -499,14 +543,39 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedNoteList, construct_type( type_=PaginatedNoteList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + account_id=account_id, + contact_id=contact_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + opportunity_id=opportunity_id, + owner_id=owner_id, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -576,7 +645,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[NotesRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[NotesRetrieveRequestExpandItem, typing.Sequence[NotesRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -589,7 +660,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[NotesRetrieveRequestExpand] + expand : typing.Optional[typing.Union[NotesRetrieveRequestExpandItem, typing.Sequence[NotesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -683,7 +754,7 @@ async def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedRemoteFieldClassList]: + ) -> AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -718,7 +789,7 @@ async def remote_field_classes_list( Returns ------- - AsyncHttpResponse[PaginatedRemoteFieldClassList] + AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] """ _response = await self._client_wrapper.httpx_client.request( @@ -738,14 +809,31 @@ async def remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/crm/resources/notes/types/__init__.py b/src/merge/resources/crm/resources/notes/types/__init__.py index 7099c9bd..ff841cff 100644 --- a/src/merge/resources/crm/resources/notes/types/__init__.py +++ b/src/merge/resources/crm/resources/notes/types/__init__.py @@ -6,11 +6,11 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .notes_list_request_expand import NotesListRequestExpand - from .notes_retrieve_request_expand import NotesRetrieveRequestExpand + from .notes_list_request_expand_item import NotesListRequestExpandItem + from .notes_retrieve_request_expand_item import NotesRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "NotesListRequestExpand": ".notes_list_request_expand", - "NotesRetrieveRequestExpand": ".notes_retrieve_request_expand", + "NotesListRequestExpandItem": ".notes_list_request_expand_item", + "NotesRetrieveRequestExpandItem": ".notes_retrieve_request_expand_item", } @@ -20,8 +20,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -33,4 +35,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["NotesListRequestExpand", "NotesRetrieveRequestExpand"] +__all__ = ["NotesListRequestExpandItem", "NotesRetrieveRequestExpandItem"] diff --git a/src/merge/resources/crm/resources/notes/types/notes_list_request_expand.py b/src/merge/resources/crm/resources/notes/types/notes_list_request_expand.py deleted file mode 100644 index 6ba7625f..00000000 --- a/src/merge/resources/crm/resources/notes/types/notes_list_request_expand.py +++ /dev/null @@ -1,73 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class NotesListRequestExpand(str, enum.Enum): - ACCOUNT = "account" - ACCOUNT_OPPORTUNITY = "account,opportunity" - CONTACT = "contact" - CONTACT_ACCOUNT = "contact,account" - CONTACT_ACCOUNT_OPPORTUNITY = "contact,account,opportunity" - CONTACT_OPPORTUNITY = "contact,opportunity" - OPPORTUNITY = "opportunity" - OWNER = "owner" - OWNER_ACCOUNT = "owner,account" - OWNER_ACCOUNT_OPPORTUNITY = "owner,account,opportunity" - OWNER_CONTACT = "owner,contact" - OWNER_CONTACT_ACCOUNT = "owner,contact,account" - OWNER_CONTACT_ACCOUNT_OPPORTUNITY = "owner,contact,account,opportunity" - OWNER_CONTACT_OPPORTUNITY = "owner,contact,opportunity" - OWNER_OPPORTUNITY = "owner,opportunity" - - def visit( - self, - account: typing.Callable[[], T_Result], - account_opportunity: typing.Callable[[], T_Result], - contact: typing.Callable[[], T_Result], - contact_account: typing.Callable[[], T_Result], - contact_account_opportunity: typing.Callable[[], T_Result], - contact_opportunity: typing.Callable[[], T_Result], - opportunity: typing.Callable[[], T_Result], - owner: typing.Callable[[], T_Result], - owner_account: typing.Callable[[], T_Result], - owner_account_opportunity: typing.Callable[[], T_Result], - owner_contact: typing.Callable[[], T_Result], - owner_contact_account: typing.Callable[[], T_Result], - owner_contact_account_opportunity: typing.Callable[[], T_Result], - owner_contact_opportunity: typing.Callable[[], T_Result], - owner_opportunity: typing.Callable[[], T_Result], - ) -> T_Result: - if self is NotesListRequestExpand.ACCOUNT: - return account() - if self is NotesListRequestExpand.ACCOUNT_OPPORTUNITY: - return account_opportunity() - if self is NotesListRequestExpand.CONTACT: - return contact() - if self is NotesListRequestExpand.CONTACT_ACCOUNT: - return contact_account() - if self is NotesListRequestExpand.CONTACT_ACCOUNT_OPPORTUNITY: - return contact_account_opportunity() - if self is NotesListRequestExpand.CONTACT_OPPORTUNITY: - return contact_opportunity() - if self is NotesListRequestExpand.OPPORTUNITY: - return opportunity() - if self is NotesListRequestExpand.OWNER: - return owner() - if self is NotesListRequestExpand.OWNER_ACCOUNT: - return owner_account() - if self is NotesListRequestExpand.OWNER_ACCOUNT_OPPORTUNITY: - return owner_account_opportunity() - if self is NotesListRequestExpand.OWNER_CONTACT: - return owner_contact() - if self is NotesListRequestExpand.OWNER_CONTACT_ACCOUNT: - return owner_contact_account() - if self is NotesListRequestExpand.OWNER_CONTACT_ACCOUNT_OPPORTUNITY: - return owner_contact_account_opportunity() - if self is NotesListRequestExpand.OWNER_CONTACT_OPPORTUNITY: - return owner_contact_opportunity() - if self is NotesListRequestExpand.OWNER_OPPORTUNITY: - return owner_opportunity() diff --git a/src/merge/resources/crm/resources/notes/types/notes_list_request_expand_item.py b/src/merge/resources/crm/resources/notes/types/notes_list_request_expand_item.py new file mode 100644 index 00000000..b062d7bf --- /dev/null +++ b/src/merge/resources/crm/resources/notes/types/notes_list_request_expand_item.py @@ -0,0 +1,29 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class NotesListRequestExpandItem(str, enum.Enum): + ACCOUNT = "account" + CONTACT = "contact" + OPPORTUNITY = "opportunity" + OWNER = "owner" + + def visit( + self, + account: typing.Callable[[], T_Result], + contact: typing.Callable[[], T_Result], + opportunity: typing.Callable[[], T_Result], + owner: typing.Callable[[], T_Result], + ) -> T_Result: + if self is NotesListRequestExpandItem.ACCOUNT: + return account() + if self is NotesListRequestExpandItem.CONTACT: + return contact() + if self is NotesListRequestExpandItem.OPPORTUNITY: + return opportunity() + if self is NotesListRequestExpandItem.OWNER: + return owner() diff --git a/src/merge/resources/crm/resources/notes/types/notes_retrieve_request_expand.py b/src/merge/resources/crm/resources/notes/types/notes_retrieve_request_expand.py deleted file mode 100644 index a9e9b3d4..00000000 --- a/src/merge/resources/crm/resources/notes/types/notes_retrieve_request_expand.py +++ /dev/null @@ -1,73 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class NotesRetrieveRequestExpand(str, enum.Enum): - ACCOUNT = "account" - ACCOUNT_OPPORTUNITY = "account,opportunity" - CONTACT = "contact" - CONTACT_ACCOUNT = "contact,account" - CONTACT_ACCOUNT_OPPORTUNITY = "contact,account,opportunity" - CONTACT_OPPORTUNITY = "contact,opportunity" - OPPORTUNITY = "opportunity" - OWNER = "owner" - OWNER_ACCOUNT = "owner,account" - OWNER_ACCOUNT_OPPORTUNITY = "owner,account,opportunity" - OWNER_CONTACT = "owner,contact" - OWNER_CONTACT_ACCOUNT = "owner,contact,account" - OWNER_CONTACT_ACCOUNT_OPPORTUNITY = "owner,contact,account,opportunity" - OWNER_CONTACT_OPPORTUNITY = "owner,contact,opportunity" - OWNER_OPPORTUNITY = "owner,opportunity" - - def visit( - self, - account: typing.Callable[[], T_Result], - account_opportunity: typing.Callable[[], T_Result], - contact: typing.Callable[[], T_Result], - contact_account: typing.Callable[[], T_Result], - contact_account_opportunity: typing.Callable[[], T_Result], - contact_opportunity: typing.Callable[[], T_Result], - opportunity: typing.Callable[[], T_Result], - owner: typing.Callable[[], T_Result], - owner_account: typing.Callable[[], T_Result], - owner_account_opportunity: typing.Callable[[], T_Result], - owner_contact: typing.Callable[[], T_Result], - owner_contact_account: typing.Callable[[], T_Result], - owner_contact_account_opportunity: typing.Callable[[], T_Result], - owner_contact_opportunity: typing.Callable[[], T_Result], - owner_opportunity: typing.Callable[[], T_Result], - ) -> T_Result: - if self is NotesRetrieveRequestExpand.ACCOUNT: - return account() - if self is NotesRetrieveRequestExpand.ACCOUNT_OPPORTUNITY: - return account_opportunity() - if self is NotesRetrieveRequestExpand.CONTACT: - return contact() - if self is NotesRetrieveRequestExpand.CONTACT_ACCOUNT: - return contact_account() - if self is NotesRetrieveRequestExpand.CONTACT_ACCOUNT_OPPORTUNITY: - return contact_account_opportunity() - if self is NotesRetrieveRequestExpand.CONTACT_OPPORTUNITY: - return contact_opportunity() - if self is NotesRetrieveRequestExpand.OPPORTUNITY: - return opportunity() - if self is NotesRetrieveRequestExpand.OWNER: - return owner() - if self is NotesRetrieveRequestExpand.OWNER_ACCOUNT: - return owner_account() - if self is NotesRetrieveRequestExpand.OWNER_ACCOUNT_OPPORTUNITY: - return owner_account_opportunity() - if self is NotesRetrieveRequestExpand.OWNER_CONTACT: - return owner_contact() - if self is NotesRetrieveRequestExpand.OWNER_CONTACT_ACCOUNT: - return owner_contact_account() - if self is NotesRetrieveRequestExpand.OWNER_CONTACT_ACCOUNT_OPPORTUNITY: - return owner_contact_account_opportunity() - if self is NotesRetrieveRequestExpand.OWNER_CONTACT_OPPORTUNITY: - return owner_contact_opportunity() - if self is NotesRetrieveRequestExpand.OWNER_OPPORTUNITY: - return owner_opportunity() diff --git a/src/merge/resources/crm/resources/notes/types/notes_retrieve_request_expand_item.py b/src/merge/resources/crm/resources/notes/types/notes_retrieve_request_expand_item.py new file mode 100644 index 00000000..3680c443 --- /dev/null +++ b/src/merge/resources/crm/resources/notes/types/notes_retrieve_request_expand_item.py @@ -0,0 +1,29 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class NotesRetrieveRequestExpandItem(str, enum.Enum): + ACCOUNT = "account" + CONTACT = "contact" + OPPORTUNITY = "opportunity" + OWNER = "owner" + + def visit( + self, + account: typing.Callable[[], T_Result], + contact: typing.Callable[[], T_Result], + opportunity: typing.Callable[[], T_Result], + owner: typing.Callable[[], T_Result], + ) -> T_Result: + if self is NotesRetrieveRequestExpandItem.ACCOUNT: + return account() + if self is NotesRetrieveRequestExpandItem.CONTACT: + return contact() + if self is NotesRetrieveRequestExpandItem.OPPORTUNITY: + return opportunity() + if self is NotesRetrieveRequestExpandItem.OWNER: + return owner() diff --git a/src/merge/resources/crm/resources/opportunities/__init__.py b/src/merge/resources/crm/resources/opportunities/__init__.py index 09e2332d..5cd23d9b 100644 --- a/src/merge/resources/crm/resources/opportunities/__init__.py +++ b/src/merge/resources/crm/resources/opportunities/__init__.py @@ -7,14 +7,22 @@ if typing.TYPE_CHECKING: from .types import ( - OpportunitiesListRequestExpand, + OpportunitiesListRequestExpandItem, + OpportunitiesListRequestRemoteFields, + OpportunitiesListRequestShowEnumOrigins, OpportunitiesListRequestStatus, - OpportunitiesRetrieveRequestExpand, + OpportunitiesRetrieveRequestExpandItem, + OpportunitiesRetrieveRequestRemoteFields, + OpportunitiesRetrieveRequestShowEnumOrigins, ) _dynamic_imports: typing.Dict[str, str] = { - "OpportunitiesListRequestExpand": ".types", + "OpportunitiesListRequestExpandItem": ".types", + "OpportunitiesListRequestRemoteFields": ".types", + "OpportunitiesListRequestShowEnumOrigins": ".types", "OpportunitiesListRequestStatus": ".types", - "OpportunitiesRetrieveRequestExpand": ".types", + "OpportunitiesRetrieveRequestExpandItem": ".types", + "OpportunitiesRetrieveRequestRemoteFields": ".types", + "OpportunitiesRetrieveRequestShowEnumOrigins": ".types", } @@ -24,8 +32,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -37,4 +47,12 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["OpportunitiesListRequestExpand", "OpportunitiesListRequestStatus", "OpportunitiesRetrieveRequestExpand"] +__all__ = [ + "OpportunitiesListRequestExpandItem", + "OpportunitiesListRequestRemoteFields", + "OpportunitiesListRequestShowEnumOrigins", + "OpportunitiesListRequestStatus", + "OpportunitiesRetrieveRequestExpandItem", + "OpportunitiesRetrieveRequestRemoteFields", + "OpportunitiesRetrieveRequestShowEnumOrigins", +] diff --git a/src/merge/resources/crm/resources/opportunities/client.py b/src/merge/resources/crm/resources/opportunities/client.py index 198ce722..0e0e3278 100644 --- a/src/merge/resources/crm/resources/opportunities/client.py +++ b/src/merge/resources/crm/resources/opportunities/client.py @@ -4,6 +4,7 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.meta_response import MetaResponse from ...types.opportunity import Opportunity @@ -12,10 +13,15 @@ from ...types.paginated_opportunity_list import PaginatedOpportunityList from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList from ...types.patched_opportunity_request import PatchedOpportunityRequest +from ...types.remote_field_class import RemoteFieldClass from .raw_client import AsyncRawOpportunitiesClient, RawOpportunitiesClient -from .types.opportunities_list_request_expand import OpportunitiesListRequestExpand +from .types.opportunities_list_request_expand_item import OpportunitiesListRequestExpandItem +from .types.opportunities_list_request_remote_fields import OpportunitiesListRequestRemoteFields +from .types.opportunities_list_request_show_enum_origins import OpportunitiesListRequestShowEnumOrigins from .types.opportunities_list_request_status import OpportunitiesListRequestStatus -from .types.opportunities_retrieve_request_expand import OpportunitiesRetrieveRequestExpand +from .types.opportunities_retrieve_request_expand_item import OpportunitiesRetrieveRequestExpandItem +from .types.opportunities_retrieve_request_remote_fields import OpportunitiesRetrieveRequestRemoteFields +from .types.opportunities_retrieve_request_show_enum_origins import OpportunitiesRetrieveRequestShowEnumOrigins # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -43,7 +49,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[OpportunitiesListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[OpportunitiesListRequestExpandItem, typing.Sequence[OpportunitiesListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -53,13 +61,13 @@ def list( owner_id: typing.Optional[str] = None, page_size: typing.Optional[int] = None, remote_created_after: typing.Optional[dt.datetime] = None, - remote_fields: typing.Optional[typing.Literal["status"]] = None, + remote_fields: typing.Optional[OpportunitiesListRequestRemoteFields] = None, remote_id: typing.Optional[str] = None, - show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + show_enum_origins: typing.Optional[OpportunitiesListRequestShowEnumOrigins] = None, stage_id: typing.Optional[str] = None, status: typing.Optional[OpportunitiesListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedOpportunityList: + ) -> SyncPager[Opportunity, PaginatedOpportunityList]: """ Returns a list of `Opportunity` objects. @@ -77,7 +85,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[OpportunitiesListRequestExpand] + expand : typing.Optional[typing.Union[OpportunitiesListRequestExpandItem, typing.Sequence[OpportunitiesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -107,13 +115,13 @@ def list( remote_created_after : typing.Optional[dt.datetime] If provided, will only return opportunities created in the third party platform after this datetime. - remote_fields : typing.Optional[typing.Literal["status"]] + remote_fields : typing.Optional[OpportunitiesListRequestRemoteFields] Deprecated. Use show_enum_origins. remote_id : typing.Optional[str] The API provider's ID for the given object. - show_enum_origins : typing.Optional[typing.Literal["status"]] + show_enum_origins : typing.Optional[OpportunitiesListRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) stage_id : typing.Optional[str] @@ -131,54 +139,27 @@ def list( Returns ------- - PaginatedOpportunityList + SyncPager[Opportunity, PaginatedOpportunityList] Examples -------- - import datetime - from merge import Merge - from merge.resources.crm.resources.opportunities import ( - OpportunitiesListRequestExpand, - OpportunitiesListRequestStatus, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.crm.opportunities.list( - account_id="account_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = client.crm.opportunities.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=OpportunitiesListRequestExpand.ACCOUNT, - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - owner_id="owner_id", - page_size=1, - remote_created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - remote_id="remote_id", - stage_id="stage_id", - status=OpportunitiesListRequestStatus.LOST, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( account_id=account_id, created_after=created_after, created_before=created_before, @@ -200,7 +181,6 @@ def list( status=status, request_options=request_options, ) - return _response.data def create( self, @@ -241,8 +221,6 @@ def create( api_key="YOUR_API_KEY", ) client.crm.opportunities.create( - is_debug_mode=True, - run_async=True, model=OpportunityRequest(), ) """ @@ -255,12 +233,16 @@ def retrieve( self, id: str, *, - expand: typing.Optional[OpportunitiesRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + OpportunitiesRetrieveRequestExpandItem, typing.Sequence[OpportunitiesRetrieveRequestExpandItem] + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - remote_fields: typing.Optional[typing.Literal["status"]] = None, - show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + remote_fields: typing.Optional[OpportunitiesRetrieveRequestRemoteFields] = None, + show_enum_origins: typing.Optional[OpportunitiesRetrieveRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, ) -> Opportunity: """ @@ -270,7 +252,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[OpportunitiesRetrieveRequestExpand] + expand : typing.Optional[typing.Union[OpportunitiesRetrieveRequestExpandItem, typing.Sequence[OpportunitiesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -282,10 +264,10 @@ def retrieve( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - remote_fields : typing.Optional[typing.Literal["status"]] + remote_fields : typing.Optional[OpportunitiesRetrieveRequestRemoteFields] Deprecated. Use show_enum_origins. - show_enum_origins : typing.Optional[typing.Literal["status"]] + show_enum_origins : typing.Optional[OpportunitiesRetrieveRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -299,9 +281,6 @@ def retrieve( Examples -------- from merge import Merge - from merge.resources.crm.resources.opportunities import ( - OpportunitiesRetrieveRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -309,10 +288,6 @@ def retrieve( ) client.crm.opportunities.retrieve( id="id", - expand=OpportunitiesRetrieveRequestExpand.ACCOUNT, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, ) """ _response = self._raw_client.retrieve( @@ -370,8 +345,6 @@ def partial_update( ) client.crm.opportunities.partial_update( id="id", - is_debug_mode=True, - run_async=True, model=PatchedOpportunityRequest(), ) """ @@ -450,7 +423,7 @@ def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -485,7 +458,7 @@ def remote_field_classes_list( Returns ------- - PaginatedRemoteFieldClassList + SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] Examples @@ -496,18 +469,16 @@ def remote_field_classes_list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.crm.opportunities.remote_field_classes_list( + response = client.crm.opportunities.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.remote_field_classes_list( + return self._raw_client.remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -518,7 +489,6 @@ def remote_field_classes_list( page_size=page_size, request_options=request_options, ) - return _response.data class AsyncOpportunitiesClient: @@ -543,7 +513,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[OpportunitiesListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[OpportunitiesListRequestExpandItem, typing.Sequence[OpportunitiesListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -553,13 +525,13 @@ async def list( owner_id: typing.Optional[str] = None, page_size: typing.Optional[int] = None, remote_created_after: typing.Optional[dt.datetime] = None, - remote_fields: typing.Optional[typing.Literal["status"]] = None, + remote_fields: typing.Optional[OpportunitiesListRequestRemoteFields] = None, remote_id: typing.Optional[str] = None, - show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + show_enum_origins: typing.Optional[OpportunitiesListRequestShowEnumOrigins] = None, stage_id: typing.Optional[str] = None, status: typing.Optional[OpportunitiesListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedOpportunityList: + ) -> AsyncPager[Opportunity, PaginatedOpportunityList]: """ Returns a list of `Opportunity` objects. @@ -577,7 +549,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[OpportunitiesListRequestExpand] + expand : typing.Optional[typing.Union[OpportunitiesListRequestExpandItem, typing.Sequence[OpportunitiesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -607,13 +579,13 @@ async def list( remote_created_after : typing.Optional[dt.datetime] If provided, will only return opportunities created in the third party platform after this datetime. - remote_fields : typing.Optional[typing.Literal["status"]] + remote_fields : typing.Optional[OpportunitiesListRequestRemoteFields] Deprecated. Use show_enum_origins. remote_id : typing.Optional[str] The API provider's ID for the given object. - show_enum_origins : typing.Optional[typing.Literal["status"]] + show_enum_origins : typing.Optional[OpportunitiesListRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) stage_id : typing.Optional[str] @@ -631,19 +603,14 @@ async def list( Returns ------- - PaginatedOpportunityList + AsyncPager[Opportunity, PaginatedOpportunityList] Examples -------- import asyncio - import datetime from merge import AsyncMerge - from merge.resources.crm.resources.opportunities import ( - OpportunitiesListRequestExpand, - OpportunitiesListRequestStatus, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -652,40 +619,20 @@ async def list( async def main() -> None: - await client.crm.opportunities.list( - account_id="account_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = await client.crm.opportunities.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=OpportunitiesListRequestExpand.ACCOUNT, - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - owner_id="owner_id", - page_size=1, - remote_created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - remote_id="remote_id", - stage_id="stage_id", - status=OpportunitiesListRequestStatus.LOST, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( account_id=account_id, created_after=created_after, created_before=created_before, @@ -707,7 +654,6 @@ async def main() -> None: status=status, request_options=request_options, ) - return _response.data async def create( self, @@ -753,8 +699,6 @@ async def create( async def main() -> None: await client.crm.opportunities.create( - is_debug_mode=True, - run_async=True, model=OpportunityRequest(), ) @@ -770,12 +714,16 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[OpportunitiesRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + OpportunitiesRetrieveRequestExpandItem, typing.Sequence[OpportunitiesRetrieveRequestExpandItem] + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - remote_fields: typing.Optional[typing.Literal["status"]] = None, - show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + remote_fields: typing.Optional[OpportunitiesRetrieveRequestRemoteFields] = None, + show_enum_origins: typing.Optional[OpportunitiesRetrieveRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, ) -> Opportunity: """ @@ -785,7 +733,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[OpportunitiesRetrieveRequestExpand] + expand : typing.Optional[typing.Union[OpportunitiesRetrieveRequestExpandItem, typing.Sequence[OpportunitiesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -797,10 +745,10 @@ async def retrieve( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - remote_fields : typing.Optional[typing.Literal["status"]] + remote_fields : typing.Optional[OpportunitiesRetrieveRequestRemoteFields] Deprecated. Use show_enum_origins. - show_enum_origins : typing.Optional[typing.Literal["status"]] + show_enum_origins : typing.Optional[OpportunitiesRetrieveRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -816,9 +764,6 @@ async def retrieve( import asyncio from merge import AsyncMerge - from merge.resources.crm.resources.opportunities import ( - OpportunitiesRetrieveRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -829,10 +774,6 @@ async def retrieve( async def main() -> None: await client.crm.opportunities.retrieve( id="id", - expand=OpportunitiesRetrieveRequestExpand.ACCOUNT, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, ) @@ -898,8 +839,6 @@ async def partial_update( async def main() -> None: await client.crm.opportunities.partial_update( id="id", - is_debug_mode=True, - run_async=True, model=PatchedOpportunityRequest(), ) @@ -999,7 +938,7 @@ async def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -1034,7 +973,7 @@ async def remote_field_classes_list( Returns ------- - PaginatedRemoteFieldClassList + AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] Examples @@ -1050,21 +989,20 @@ async def remote_field_classes_list( async def main() -> None: - await client.crm.opportunities.remote_field_classes_list( + response = await client.crm.opportunities.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.remote_field_classes_list( + return await self._raw_client.remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -1075,4 +1013,3 @@ async def main() -> None: page_size=page_size, request_options=request_options, ) - return _response.data diff --git a/src/merge/resources/crm/resources/opportunities/raw_client.py b/src/merge/resources/crm/resources/opportunities/raw_client.py index 89416b47..3da5fc2b 100644 --- a/src/merge/resources/crm/resources/opportunities/raw_client.py +++ b/src/merge/resources/crm/resources/opportunities/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.meta_response import MetaResponse @@ -18,9 +19,14 @@ from ...types.paginated_opportunity_list import PaginatedOpportunityList from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList from ...types.patched_opportunity_request import PatchedOpportunityRequest -from .types.opportunities_list_request_expand import OpportunitiesListRequestExpand +from ...types.remote_field_class import RemoteFieldClass +from .types.opportunities_list_request_expand_item import OpportunitiesListRequestExpandItem +from .types.opportunities_list_request_remote_fields import OpportunitiesListRequestRemoteFields +from .types.opportunities_list_request_show_enum_origins import OpportunitiesListRequestShowEnumOrigins from .types.opportunities_list_request_status import OpportunitiesListRequestStatus -from .types.opportunities_retrieve_request_expand import OpportunitiesRetrieveRequestExpand +from .types.opportunities_retrieve_request_expand_item import OpportunitiesRetrieveRequestExpandItem +from .types.opportunities_retrieve_request_remote_fields import OpportunitiesRetrieveRequestRemoteFields +from .types.opportunities_retrieve_request_show_enum_origins import OpportunitiesRetrieveRequestShowEnumOrigins # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -37,7 +43,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[OpportunitiesListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[OpportunitiesListRequestExpandItem, typing.Sequence[OpportunitiesListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -47,13 +55,13 @@ def list( owner_id: typing.Optional[str] = None, page_size: typing.Optional[int] = None, remote_created_after: typing.Optional[dt.datetime] = None, - remote_fields: typing.Optional[typing.Literal["status"]] = None, + remote_fields: typing.Optional[OpportunitiesListRequestRemoteFields] = None, remote_id: typing.Optional[str] = None, - show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + show_enum_origins: typing.Optional[OpportunitiesListRequestShowEnumOrigins] = None, stage_id: typing.Optional[str] = None, status: typing.Optional[OpportunitiesListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedOpportunityList]: + ) -> SyncPager[Opportunity, PaginatedOpportunityList]: """ Returns a list of `Opportunity` objects. @@ -71,7 +79,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[OpportunitiesListRequestExpand] + expand : typing.Optional[typing.Union[OpportunitiesListRequestExpandItem, typing.Sequence[OpportunitiesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -101,13 +109,13 @@ def list( remote_created_after : typing.Optional[dt.datetime] If provided, will only return opportunities created in the third party platform after this datetime. - remote_fields : typing.Optional[typing.Literal["status"]] + remote_fields : typing.Optional[OpportunitiesListRequestRemoteFields] Deprecated. Use show_enum_origins. remote_id : typing.Optional[str] The API provider's ID for the given object. - show_enum_origins : typing.Optional[typing.Literal["status"]] + show_enum_origins : typing.Optional[OpportunitiesListRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) stage_id : typing.Optional[str] @@ -125,7 +133,7 @@ def list( Returns ------- - HttpResponse[PaginatedOpportunityList] + SyncPager[Opportunity, PaginatedOpportunityList] """ _response = self._client_wrapper.httpx_client.request( @@ -158,14 +166,39 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedOpportunityList, construct_type( type_=PaginatedOpportunityList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + account_id=account_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + owner_id=owner_id, + page_size=page_size, + remote_created_after=remote_created_after, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + stage_id=stage_id, + status=status, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -235,12 +268,16 @@ def retrieve( self, id: str, *, - expand: typing.Optional[OpportunitiesRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + OpportunitiesRetrieveRequestExpandItem, typing.Sequence[OpportunitiesRetrieveRequestExpandItem] + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - remote_fields: typing.Optional[typing.Literal["status"]] = None, - show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + remote_fields: typing.Optional[OpportunitiesRetrieveRequestRemoteFields] = None, + show_enum_origins: typing.Optional[OpportunitiesRetrieveRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[Opportunity]: """ @@ -250,7 +287,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[OpportunitiesRetrieveRequestExpand] + expand : typing.Optional[typing.Union[OpportunitiesRetrieveRequestExpandItem, typing.Sequence[OpportunitiesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -262,10 +299,10 @@ def retrieve( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - remote_fields : typing.Optional[typing.Literal["status"]] + remote_fields : typing.Optional[OpportunitiesRetrieveRequestRemoteFields] Deprecated. Use show_enum_origins. - show_enum_origins : typing.Optional[typing.Literal["status"]] + show_enum_origins : typing.Optional[OpportunitiesRetrieveRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -453,7 +490,7 @@ def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedRemoteFieldClassList]: + ) -> SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -488,7 +525,7 @@ def remote_field_classes_list( Returns ------- - HttpResponse[PaginatedRemoteFieldClassList] + SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] """ _response = self._client_wrapper.httpx_client.request( @@ -508,14 +545,28 @@ def remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -533,7 +584,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[OpportunitiesListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[OpportunitiesListRequestExpandItem, typing.Sequence[OpportunitiesListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -543,13 +596,13 @@ async def list( owner_id: typing.Optional[str] = None, page_size: typing.Optional[int] = None, remote_created_after: typing.Optional[dt.datetime] = None, - remote_fields: typing.Optional[typing.Literal["status"]] = None, + remote_fields: typing.Optional[OpportunitiesListRequestRemoteFields] = None, remote_id: typing.Optional[str] = None, - show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + show_enum_origins: typing.Optional[OpportunitiesListRequestShowEnumOrigins] = None, stage_id: typing.Optional[str] = None, status: typing.Optional[OpportunitiesListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedOpportunityList]: + ) -> AsyncPager[Opportunity, PaginatedOpportunityList]: """ Returns a list of `Opportunity` objects. @@ -567,7 +620,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[OpportunitiesListRequestExpand] + expand : typing.Optional[typing.Union[OpportunitiesListRequestExpandItem, typing.Sequence[OpportunitiesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -597,13 +650,13 @@ async def list( remote_created_after : typing.Optional[dt.datetime] If provided, will only return opportunities created in the third party platform after this datetime. - remote_fields : typing.Optional[typing.Literal["status"]] + remote_fields : typing.Optional[OpportunitiesListRequestRemoteFields] Deprecated. Use show_enum_origins. remote_id : typing.Optional[str] The API provider's ID for the given object. - show_enum_origins : typing.Optional[typing.Literal["status"]] + show_enum_origins : typing.Optional[OpportunitiesListRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) stage_id : typing.Optional[str] @@ -621,7 +674,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedOpportunityList] + AsyncPager[Opportunity, PaginatedOpportunityList] """ _response = await self._client_wrapper.httpx_client.request( @@ -654,14 +707,42 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedOpportunityList, construct_type( type_=PaginatedOpportunityList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + account_id=account_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + owner_id=owner_id, + page_size=page_size, + remote_created_after=remote_created_after, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + stage_id=stage_id, + status=status, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -731,12 +812,16 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[OpportunitiesRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + OpportunitiesRetrieveRequestExpandItem, typing.Sequence[OpportunitiesRetrieveRequestExpandItem] + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - remote_fields: typing.Optional[typing.Literal["status"]] = None, - show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + remote_fields: typing.Optional[OpportunitiesRetrieveRequestRemoteFields] = None, + show_enum_origins: typing.Optional[OpportunitiesRetrieveRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[Opportunity]: """ @@ -746,7 +831,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[OpportunitiesRetrieveRequestExpand] + expand : typing.Optional[typing.Union[OpportunitiesRetrieveRequestExpandItem, typing.Sequence[OpportunitiesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -758,10 +843,10 @@ async def retrieve( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - remote_fields : typing.Optional[typing.Literal["status"]] + remote_fields : typing.Optional[OpportunitiesRetrieveRequestRemoteFields] Deprecated. Use show_enum_origins. - show_enum_origins : typing.Optional[typing.Literal["status"]] + show_enum_origins : typing.Optional[OpportunitiesRetrieveRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -949,7 +1034,7 @@ async def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedRemoteFieldClassList]: + ) -> AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -984,7 +1069,7 @@ async def remote_field_classes_list( Returns ------- - AsyncHttpResponse[PaginatedRemoteFieldClassList] + AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] """ _response = await self._client_wrapper.httpx_client.request( @@ -1004,14 +1089,31 @@ async def remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/crm/resources/opportunities/types/__init__.py b/src/merge/resources/crm/resources/opportunities/types/__init__.py index d5d1d8dc..677f81dd 100644 --- a/src/merge/resources/crm/resources/opportunities/types/__init__.py +++ b/src/merge/resources/crm/resources/opportunities/types/__init__.py @@ -6,13 +6,21 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .opportunities_list_request_expand import OpportunitiesListRequestExpand + from .opportunities_list_request_expand_item import OpportunitiesListRequestExpandItem + from .opportunities_list_request_remote_fields import OpportunitiesListRequestRemoteFields + from .opportunities_list_request_show_enum_origins import OpportunitiesListRequestShowEnumOrigins from .opportunities_list_request_status import OpportunitiesListRequestStatus - from .opportunities_retrieve_request_expand import OpportunitiesRetrieveRequestExpand + from .opportunities_retrieve_request_expand_item import OpportunitiesRetrieveRequestExpandItem + from .opportunities_retrieve_request_remote_fields import OpportunitiesRetrieveRequestRemoteFields + from .opportunities_retrieve_request_show_enum_origins import OpportunitiesRetrieveRequestShowEnumOrigins _dynamic_imports: typing.Dict[str, str] = { - "OpportunitiesListRequestExpand": ".opportunities_list_request_expand", + "OpportunitiesListRequestExpandItem": ".opportunities_list_request_expand_item", + "OpportunitiesListRequestRemoteFields": ".opportunities_list_request_remote_fields", + "OpportunitiesListRequestShowEnumOrigins": ".opportunities_list_request_show_enum_origins", "OpportunitiesListRequestStatus": ".opportunities_list_request_status", - "OpportunitiesRetrieveRequestExpand": ".opportunities_retrieve_request_expand", + "OpportunitiesRetrieveRequestExpandItem": ".opportunities_retrieve_request_expand_item", + "OpportunitiesRetrieveRequestRemoteFields": ".opportunities_retrieve_request_remote_fields", + "OpportunitiesRetrieveRequestShowEnumOrigins": ".opportunities_retrieve_request_show_enum_origins", } @@ -22,8 +30,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -35,4 +45,12 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["OpportunitiesListRequestExpand", "OpportunitiesListRequestStatus", "OpportunitiesRetrieveRequestExpand"] +__all__ = [ + "OpportunitiesListRequestExpandItem", + "OpportunitiesListRequestRemoteFields", + "OpportunitiesListRequestShowEnumOrigins", + "OpportunitiesListRequestStatus", + "OpportunitiesRetrieveRequestExpandItem", + "OpportunitiesRetrieveRequestRemoteFields", + "OpportunitiesRetrieveRequestShowEnumOrigins", +] diff --git a/src/merge/resources/crm/resources/opportunities/types/opportunities_list_request_expand.py b/src/merge/resources/crm/resources/opportunities/types/opportunities_list_request_expand.py deleted file mode 100644 index 04f0a2ee..00000000 --- a/src/merge/resources/crm/resources/opportunities/types/opportunities_list_request_expand.py +++ /dev/null @@ -1,41 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class OpportunitiesListRequestExpand(str, enum.Enum): - ACCOUNT = "account" - OWNER = "owner" - OWNER_ACCOUNT = "owner,account" - OWNER_STAGE = "owner,stage" - OWNER_STAGE_ACCOUNT = "owner,stage,account" - STAGE = "stage" - STAGE_ACCOUNT = "stage,account" - - def visit( - self, - account: typing.Callable[[], T_Result], - owner: typing.Callable[[], T_Result], - owner_account: typing.Callable[[], T_Result], - owner_stage: typing.Callable[[], T_Result], - owner_stage_account: typing.Callable[[], T_Result], - stage: typing.Callable[[], T_Result], - stage_account: typing.Callable[[], T_Result], - ) -> T_Result: - if self is OpportunitiesListRequestExpand.ACCOUNT: - return account() - if self is OpportunitiesListRequestExpand.OWNER: - return owner() - if self is OpportunitiesListRequestExpand.OWNER_ACCOUNT: - return owner_account() - if self is OpportunitiesListRequestExpand.OWNER_STAGE: - return owner_stage() - if self is OpportunitiesListRequestExpand.OWNER_STAGE_ACCOUNT: - return owner_stage_account() - if self is OpportunitiesListRequestExpand.STAGE: - return stage() - if self is OpportunitiesListRequestExpand.STAGE_ACCOUNT: - return stage_account() diff --git a/src/merge/resources/crm/resources/opportunities/types/opportunities_list_request_expand_item.py b/src/merge/resources/crm/resources/opportunities/types/opportunities_list_request_expand_item.py new file mode 100644 index 00000000..f8c1e8ce --- /dev/null +++ b/src/merge/resources/crm/resources/opportunities/types/opportunities_list_request_expand_item.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class OpportunitiesListRequestExpandItem(str, enum.Enum): + ACCOUNT = "account" + OWNER = "owner" + STAGE = "stage" + + def visit( + self, + account: typing.Callable[[], T_Result], + owner: typing.Callable[[], T_Result], + stage: typing.Callable[[], T_Result], + ) -> T_Result: + if self is OpportunitiesListRequestExpandItem.ACCOUNT: + return account() + if self is OpportunitiesListRequestExpandItem.OWNER: + return owner() + if self is OpportunitiesListRequestExpandItem.STAGE: + return stage() diff --git a/src/merge/resources/crm/resources/opportunities/types/opportunities_list_request_remote_fields.py b/src/merge/resources/crm/resources/opportunities/types/opportunities_list_request_remote_fields.py new file mode 100644 index 00000000..4f410a49 --- /dev/null +++ b/src/merge/resources/crm/resources/opportunities/types/opportunities_list_request_remote_fields.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class OpportunitiesListRequestRemoteFields(str, enum.Enum): + STATUS = "status" + + def visit(self, status: typing.Callable[[], T_Result]) -> T_Result: + if self is OpportunitiesListRequestRemoteFields.STATUS: + return status() diff --git a/src/merge/resources/crm/resources/opportunities/types/opportunities_list_request_show_enum_origins.py b/src/merge/resources/crm/resources/opportunities/types/opportunities_list_request_show_enum_origins.py new file mode 100644 index 00000000..394f7ac8 --- /dev/null +++ b/src/merge/resources/crm/resources/opportunities/types/opportunities_list_request_show_enum_origins.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class OpportunitiesListRequestShowEnumOrigins(str, enum.Enum): + STATUS = "status" + + def visit(self, status: typing.Callable[[], T_Result]) -> T_Result: + if self is OpportunitiesListRequestShowEnumOrigins.STATUS: + return status() diff --git a/src/merge/resources/crm/resources/opportunities/types/opportunities_retrieve_request_expand.py b/src/merge/resources/crm/resources/opportunities/types/opportunities_retrieve_request_expand.py deleted file mode 100644 index 8bf0a512..00000000 --- a/src/merge/resources/crm/resources/opportunities/types/opportunities_retrieve_request_expand.py +++ /dev/null @@ -1,41 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class OpportunitiesRetrieveRequestExpand(str, enum.Enum): - ACCOUNT = "account" - OWNER = "owner" - OWNER_ACCOUNT = "owner,account" - OWNER_STAGE = "owner,stage" - OWNER_STAGE_ACCOUNT = "owner,stage,account" - STAGE = "stage" - STAGE_ACCOUNT = "stage,account" - - def visit( - self, - account: typing.Callable[[], T_Result], - owner: typing.Callable[[], T_Result], - owner_account: typing.Callable[[], T_Result], - owner_stage: typing.Callable[[], T_Result], - owner_stage_account: typing.Callable[[], T_Result], - stage: typing.Callable[[], T_Result], - stage_account: typing.Callable[[], T_Result], - ) -> T_Result: - if self is OpportunitiesRetrieveRequestExpand.ACCOUNT: - return account() - if self is OpportunitiesRetrieveRequestExpand.OWNER: - return owner() - if self is OpportunitiesRetrieveRequestExpand.OWNER_ACCOUNT: - return owner_account() - if self is OpportunitiesRetrieveRequestExpand.OWNER_STAGE: - return owner_stage() - if self is OpportunitiesRetrieveRequestExpand.OWNER_STAGE_ACCOUNT: - return owner_stage_account() - if self is OpportunitiesRetrieveRequestExpand.STAGE: - return stage() - if self is OpportunitiesRetrieveRequestExpand.STAGE_ACCOUNT: - return stage_account() diff --git a/src/merge/resources/crm/resources/opportunities/types/opportunities_retrieve_request_expand_item.py b/src/merge/resources/crm/resources/opportunities/types/opportunities_retrieve_request_expand_item.py new file mode 100644 index 00000000..68e8adfa --- /dev/null +++ b/src/merge/resources/crm/resources/opportunities/types/opportunities_retrieve_request_expand_item.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class OpportunitiesRetrieveRequestExpandItem(str, enum.Enum): + ACCOUNT = "account" + OWNER = "owner" + STAGE = "stage" + + def visit( + self, + account: typing.Callable[[], T_Result], + owner: typing.Callable[[], T_Result], + stage: typing.Callable[[], T_Result], + ) -> T_Result: + if self is OpportunitiesRetrieveRequestExpandItem.ACCOUNT: + return account() + if self is OpportunitiesRetrieveRequestExpandItem.OWNER: + return owner() + if self is OpportunitiesRetrieveRequestExpandItem.STAGE: + return stage() diff --git a/src/merge/resources/crm/resources/opportunities/types/opportunities_retrieve_request_remote_fields.py b/src/merge/resources/crm/resources/opportunities/types/opportunities_retrieve_request_remote_fields.py new file mode 100644 index 00000000..8382b8e7 --- /dev/null +++ b/src/merge/resources/crm/resources/opportunities/types/opportunities_retrieve_request_remote_fields.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class OpportunitiesRetrieveRequestRemoteFields(str, enum.Enum): + STATUS = "status" + + def visit(self, status: typing.Callable[[], T_Result]) -> T_Result: + if self is OpportunitiesRetrieveRequestRemoteFields.STATUS: + return status() diff --git a/src/merge/resources/crm/resources/opportunities/types/opportunities_retrieve_request_show_enum_origins.py b/src/merge/resources/crm/resources/opportunities/types/opportunities_retrieve_request_show_enum_origins.py new file mode 100644 index 00000000..6e63f1e8 --- /dev/null +++ b/src/merge/resources/crm/resources/opportunities/types/opportunities_retrieve_request_show_enum_origins.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class OpportunitiesRetrieveRequestShowEnumOrigins(str, enum.Enum): + STATUS = "status" + + def visit(self, status: typing.Callable[[], T_Result]) -> T_Result: + if self is OpportunitiesRetrieveRequestShowEnumOrigins.STATUS: + return status() diff --git a/src/merge/resources/crm/resources/stages/client.py b/src/merge/resources/crm/resources/stages/client.py index 630ece33..0b4da1e9 100644 --- a/src/merge/resources/crm/resources/stages/client.py +++ b/src/merge/resources/crm/resources/stages/client.py @@ -4,9 +4,11 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList from ...types.paginated_stage_list import PaginatedStageList +from ...types.remote_field_class import RemoteFieldClass from ...types.stage import Stage from .raw_client import AsyncRawStagesClient, RawStagesClient @@ -41,7 +43,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedStageList: + ) -> SyncPager[Stage, PaginatedStageList]: """ Returns a list of `Stage` objects. @@ -85,42 +87,27 @@ def list( Returns ------- - PaginatedStageList + SyncPager[Stage, PaginatedStageList] Examples -------- - import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.crm.stages.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = client.crm.stages.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -134,7 +121,6 @@ def list( remote_id=remote_id, request_options=request_options, ) - return _response.data def retrieve( self, @@ -179,9 +165,6 @@ def retrieve( ) client.crm.stages.retrieve( id="id", - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, ) """ _response = self._raw_client.retrieve( @@ -205,7 +188,7 @@ def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -240,7 +223,7 @@ def remote_field_classes_list( Returns ------- - PaginatedRemoteFieldClassList + SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] Examples @@ -251,18 +234,16 @@ def remote_field_classes_list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.crm.stages.remote_field_classes_list( + response = client.crm.stages.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.remote_field_classes_list( + return self._raw_client.remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -273,7 +254,6 @@ def remote_field_classes_list( page_size=page_size, request_options=request_options, ) - return _response.data class AsyncStagesClient: @@ -306,7 +286,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedStageList: + ) -> AsyncPager[Stage, PaginatedStageList]: """ Returns a list of `Stage` objects. @@ -350,13 +330,12 @@ async def list( Returns ------- - PaginatedStageList + AsyncPager[Stage, PaginatedStageList] Examples -------- import asyncio - import datetime from merge import AsyncMerge @@ -367,32 +346,20 @@ async def list( async def main() -> None: - await client.crm.stages.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = await client.crm.stages.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -406,7 +373,6 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def retrieve( self, @@ -456,9 +422,6 @@ async def retrieve( async def main() -> None: await client.crm.stages.retrieve( id="id", - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, ) @@ -485,7 +448,7 @@ async def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -520,7 +483,7 @@ async def remote_field_classes_list( Returns ------- - PaginatedRemoteFieldClassList + AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] Examples @@ -536,21 +499,20 @@ async def remote_field_classes_list( async def main() -> None: - await client.crm.stages.remote_field_classes_list( + response = await client.crm.stages.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.remote_field_classes_list( + return await self._raw_client.remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -561,4 +523,3 @@ async def main() -> None: page_size=page_size, request_options=request_options, ) - return _response.data diff --git a/src/merge/resources/crm/resources/stages/raw_client.py b/src/merge/resources/crm/resources/stages/raw_client.py index 9fddcfa5..57812dd1 100644 --- a/src/merge/resources/crm/resources/stages/raw_client.py +++ b/src/merge/resources/crm/resources/stages/raw_client.py @@ -9,10 +9,12 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList from ...types.paginated_stage_list import PaginatedStageList +from ...types.remote_field_class import RemoteFieldClass from ...types.stage import Stage @@ -35,7 +37,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedStageList]: + ) -> SyncPager[Stage, PaginatedStageList]: """ Returns a list of `Stage` objects. @@ -79,7 +81,7 @@ def list( Returns ------- - HttpResponse[PaginatedStageList] + SyncPager[Stage, PaginatedStageList] """ _response = self._client_wrapper.httpx_client.request( @@ -102,14 +104,31 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedStageList, construct_type( type_=PaginatedStageList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -185,7 +204,7 @@ def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedRemoteFieldClassList]: + ) -> SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -220,7 +239,7 @@ def remote_field_classes_list( Returns ------- - HttpResponse[PaginatedRemoteFieldClassList] + SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] """ _response = self._client_wrapper.httpx_client.request( @@ -240,14 +259,28 @@ def remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -273,7 +306,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedStageList]: + ) -> AsyncPager[Stage, PaginatedStageList]: """ Returns a list of `Stage` objects. @@ -317,7 +350,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedStageList] + AsyncPager[Stage, PaginatedStageList] """ _response = await self._client_wrapper.httpx_client.request( @@ -340,14 +373,34 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedStageList, construct_type( type_=PaginatedStageList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -423,7 +476,7 @@ async def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedRemoteFieldClassList]: + ) -> AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -458,7 +511,7 @@ async def remote_field_classes_list( Returns ------- - AsyncHttpResponse[PaginatedRemoteFieldClassList] + AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] """ _response = await self._client_wrapper.httpx_client.request( @@ -478,14 +531,31 @@ async def remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/crm/resources/sync_status/client.py b/src/merge/resources/crm/resources/sync_status/client.py index 0cce890a..9a72c5cc 100644 --- a/src/merge/resources/crm/resources/sync_status/client.py +++ b/src/merge/resources/crm/resources/sync_status/client.py @@ -59,7 +59,6 @@ def list( ) client.crm.sync_status.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - page_size=1, ) """ _response = self._raw_client.list(cursor=cursor, page_size=page_size, request_options=request_options) @@ -122,7 +121,6 @@ async def list( async def main() -> None: await client.crm.sync_status.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - page_size=1, ) diff --git a/src/merge/resources/crm/resources/tasks/__init__.py b/src/merge/resources/crm/resources/tasks/__init__.py index 0c88f4b2..7677ff28 100644 --- a/src/merge/resources/crm/resources/tasks/__init__.py +++ b/src/merge/resources/crm/resources/tasks/__init__.py @@ -6,8 +6,11 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .types import TasksListRequestExpand, TasksRetrieveRequestExpand -_dynamic_imports: typing.Dict[str, str] = {"TasksListRequestExpand": ".types", "TasksRetrieveRequestExpand": ".types"} + from .types import TasksListRequestExpandItem, TasksRetrieveRequestExpandItem +_dynamic_imports: typing.Dict[str, str] = { + "TasksListRequestExpandItem": ".types", + "TasksRetrieveRequestExpandItem": ".types", +} def __getattr__(attr_name: str) -> typing.Any: @@ -16,8 +19,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -29,4 +34,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["TasksListRequestExpand", "TasksRetrieveRequestExpand"] +__all__ = ["TasksListRequestExpandItem", "TasksRetrieveRequestExpandItem"] diff --git a/src/merge/resources/crm/resources/tasks/client.py b/src/merge/resources/crm/resources/tasks/client.py index ccc25868..5055bd4f 100644 --- a/src/merge/resources/crm/resources/tasks/client.py +++ b/src/merge/resources/crm/resources/tasks/client.py @@ -4,17 +4,19 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.meta_response import MetaResponse from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList from ...types.paginated_task_list import PaginatedTaskList from ...types.patched_task_request import PatchedTaskRequest +from ...types.remote_field_class import RemoteFieldClass from ...types.task import Task from ...types.task_request import TaskRequest from ...types.task_response import TaskResponse from .raw_client import AsyncRawTasksClient, RawTasksClient -from .types.tasks_list_request_expand import TasksListRequestExpand -from .types.tasks_retrieve_request_expand import TasksRetrieveRequestExpand +from .types.tasks_list_request_expand_item import TasksListRequestExpandItem +from .types.tasks_retrieve_request_expand_item import TasksRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -41,7 +43,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[TasksListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[TasksListRequestExpandItem, typing.Sequence[TasksListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -51,7 +55,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedTaskList: + ) -> SyncPager[Task, PaginatedTaskList]: """ Returns a list of `Task` objects. @@ -66,7 +70,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[TasksListRequestExpand] + expand : typing.Optional[typing.Union[TasksListRequestExpandItem, typing.Sequence[TasksListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -98,44 +102,27 @@ def list( Returns ------- - PaginatedTaskList + SyncPager[Task, PaginatedTaskList] Examples -------- - import datetime - from merge import Merge - from merge.resources.crm.resources.tasks import TasksListRequestExpand client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.crm.tasks.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = client.crm.tasks.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=TasksListRequestExpand.ACCOUNT, - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -150,7 +137,6 @@ def list( remote_id=remote_id, request_options=request_options, ) - return _response.data def create( self, @@ -191,8 +177,6 @@ def create( api_key="YOUR_API_KEY", ) client.crm.tasks.create( - is_debug_mode=True, - run_async=True, model=TaskRequest(), ) """ @@ -205,7 +189,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[TasksRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[TasksRetrieveRequestExpandItem, typing.Sequence[TasksRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -218,7 +204,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[TasksRetrieveRequestExpand] + expand : typing.Optional[typing.Union[TasksRetrieveRequestExpandItem, typing.Sequence[TasksRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -241,7 +227,6 @@ def retrieve( Examples -------- from merge import Merge - from merge.resources.crm.resources.tasks import TasksRetrieveRequestExpand client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -249,10 +234,6 @@ def retrieve( ) client.crm.tasks.retrieve( id="id", - expand=TasksRetrieveRequestExpand.ACCOUNT, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, ) """ _response = self._raw_client.retrieve( @@ -308,8 +289,6 @@ def partial_update( ) client.crm.tasks.partial_update( id="id", - is_debug_mode=True, - run_async=True, model=PatchedTaskRequest(), ) """ @@ -388,7 +367,7 @@ def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -423,7 +402,7 @@ def remote_field_classes_list( Returns ------- - PaginatedRemoteFieldClassList + SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] Examples @@ -434,18 +413,16 @@ def remote_field_classes_list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.crm.tasks.remote_field_classes_list( + response = client.crm.tasks.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.remote_field_classes_list( + return self._raw_client.remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -456,7 +433,6 @@ def remote_field_classes_list( page_size=page_size, request_options=request_options, ) - return _response.data class AsyncTasksClient: @@ -480,7 +456,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[TasksListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[TasksListRequestExpandItem, typing.Sequence[TasksListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -490,7 +468,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedTaskList: + ) -> AsyncPager[Task, PaginatedTaskList]: """ Returns a list of `Task` objects. @@ -505,7 +483,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[TasksListRequestExpand] + expand : typing.Optional[typing.Union[TasksListRequestExpandItem, typing.Sequence[TasksListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -537,16 +515,14 @@ async def list( Returns ------- - PaginatedTaskList + AsyncPager[Task, PaginatedTaskList] Examples -------- import asyncio - import datetime from merge import AsyncMerge - from merge.resources.crm.resources.tasks import TasksListRequestExpand client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -555,33 +531,20 @@ async def list( async def main() -> None: - await client.crm.tasks.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = await client.crm.tasks.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=TasksListRequestExpand.ACCOUNT, - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -596,7 +559,6 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def create( self, @@ -642,8 +604,6 @@ async def create( async def main() -> None: await client.crm.tasks.create( - is_debug_mode=True, - run_async=True, model=TaskRequest(), ) @@ -659,7 +619,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[TasksRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[TasksRetrieveRequestExpandItem, typing.Sequence[TasksRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -672,7 +634,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[TasksRetrieveRequestExpand] + expand : typing.Optional[typing.Union[TasksRetrieveRequestExpandItem, typing.Sequence[TasksRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -697,7 +659,6 @@ async def retrieve( import asyncio from merge import AsyncMerge - from merge.resources.crm.resources.tasks import TasksRetrieveRequestExpand client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -708,10 +669,6 @@ async def retrieve( async def main() -> None: await client.crm.tasks.retrieve( id="id", - expand=TasksRetrieveRequestExpand.ACCOUNT, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, ) @@ -775,8 +732,6 @@ async def partial_update( async def main() -> None: await client.crm.tasks.partial_update( id="id", - is_debug_mode=True, - run_async=True, model=PatchedTaskRequest(), ) @@ -876,7 +831,7 @@ async def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -911,7 +866,7 @@ async def remote_field_classes_list( Returns ------- - PaginatedRemoteFieldClassList + AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] Examples @@ -927,21 +882,20 @@ async def remote_field_classes_list( async def main() -> None: - await client.crm.tasks.remote_field_classes_list( + response = await client.crm.tasks.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.remote_field_classes_list( + return await self._raw_client.remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -952,4 +906,3 @@ async def main() -> None: page_size=page_size, request_options=request_options, ) - return _response.data diff --git a/src/merge/resources/crm/resources/tasks/raw_client.py b/src/merge/resources/crm/resources/tasks/raw_client.py index 50499e60..10150711 100644 --- a/src/merge/resources/crm/resources/tasks/raw_client.py +++ b/src/merge/resources/crm/resources/tasks/raw_client.py @@ -9,17 +9,19 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.meta_response import MetaResponse from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList from ...types.paginated_task_list import PaginatedTaskList from ...types.patched_task_request import PatchedTaskRequest +from ...types.remote_field_class import RemoteFieldClass from ...types.task import Task from ...types.task_request import TaskRequest from ...types.task_response import TaskResponse -from .types.tasks_list_request_expand import TasksListRequestExpand -from .types.tasks_retrieve_request_expand import TasksRetrieveRequestExpand +from .types.tasks_list_request_expand_item import TasksListRequestExpandItem +from .types.tasks_retrieve_request_expand_item import TasksRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -35,7 +37,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[TasksListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[TasksListRequestExpandItem, typing.Sequence[TasksListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -45,7 +49,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedTaskList]: + ) -> SyncPager[Task, PaginatedTaskList]: """ Returns a list of `Task` objects. @@ -60,7 +64,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[TasksListRequestExpand] + expand : typing.Optional[typing.Union[TasksListRequestExpandItem, typing.Sequence[TasksListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -92,7 +96,7 @@ def list( Returns ------- - HttpResponse[PaginatedTaskList] + SyncPager[Task, PaginatedTaskList] """ _response = self._client_wrapper.httpx_client.request( @@ -116,14 +120,32 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedTaskList, construct_type( type_=PaginatedTaskList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -193,7 +215,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[TasksRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[TasksRetrieveRequestExpandItem, typing.Sequence[TasksRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -206,7 +230,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[TasksRetrieveRequestExpand] + expand : typing.Optional[typing.Union[TasksRetrieveRequestExpandItem, typing.Sequence[TasksRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -401,7 +425,7 @@ def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedRemoteFieldClassList]: + ) -> SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -436,7 +460,7 @@ def remote_field_classes_list( Returns ------- - HttpResponse[PaginatedRemoteFieldClassList] + SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] """ _response = self._client_wrapper.httpx_client.request( @@ -456,14 +480,28 @@ def remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -480,7 +518,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[TasksListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[TasksListRequestExpandItem, typing.Sequence[TasksListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -490,7 +530,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedTaskList]: + ) -> AsyncPager[Task, PaginatedTaskList]: """ Returns a list of `Task` objects. @@ -505,7 +545,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[TasksListRequestExpand] + expand : typing.Optional[typing.Union[TasksListRequestExpandItem, typing.Sequence[TasksListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -537,7 +577,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedTaskList] + AsyncPager[Task, PaginatedTaskList] """ _response = await self._client_wrapper.httpx_client.request( @@ -561,14 +601,35 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedTaskList, construct_type( type_=PaginatedTaskList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -638,7 +699,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[TasksRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[TasksRetrieveRequestExpandItem, typing.Sequence[TasksRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -651,7 +714,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[TasksRetrieveRequestExpand] + expand : typing.Optional[typing.Union[TasksRetrieveRequestExpandItem, typing.Sequence[TasksRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -846,7 +909,7 @@ async def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedRemoteFieldClassList]: + ) -> AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -881,7 +944,7 @@ async def remote_field_classes_list( Returns ------- - AsyncHttpResponse[PaginatedRemoteFieldClassList] + AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] """ _response = await self._client_wrapper.httpx_client.request( @@ -901,14 +964,31 @@ async def remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/crm/resources/tasks/types/__init__.py b/src/merge/resources/crm/resources/tasks/types/__init__.py index 38341b32..47590abf 100644 --- a/src/merge/resources/crm/resources/tasks/types/__init__.py +++ b/src/merge/resources/crm/resources/tasks/types/__init__.py @@ -6,11 +6,11 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .tasks_list_request_expand import TasksListRequestExpand - from .tasks_retrieve_request_expand import TasksRetrieveRequestExpand + from .tasks_list_request_expand_item import TasksListRequestExpandItem + from .tasks_retrieve_request_expand_item import TasksRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "TasksListRequestExpand": ".tasks_list_request_expand", - "TasksRetrieveRequestExpand": ".tasks_retrieve_request_expand", + "TasksListRequestExpandItem": ".tasks_list_request_expand_item", + "TasksRetrieveRequestExpandItem": ".tasks_retrieve_request_expand_item", } @@ -20,8 +20,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -33,4 +35,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["TasksListRequestExpand", "TasksRetrieveRequestExpand"] +__all__ = ["TasksListRequestExpandItem", "TasksRetrieveRequestExpandItem"] diff --git a/src/merge/resources/crm/resources/tasks/types/tasks_list_request_expand.py b/src/merge/resources/crm/resources/tasks/types/tasks_list_request_expand.py deleted file mode 100644 index 605edb65..00000000 --- a/src/merge/resources/crm/resources/tasks/types/tasks_list_request_expand.py +++ /dev/null @@ -1,41 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class TasksListRequestExpand(str, enum.Enum): - ACCOUNT = "account" - ACCOUNT_OPPORTUNITY = "account,opportunity" - OPPORTUNITY = "opportunity" - OWNER = "owner" - OWNER_ACCOUNT = "owner,account" - OWNER_ACCOUNT_OPPORTUNITY = "owner,account,opportunity" - OWNER_OPPORTUNITY = "owner,opportunity" - - def visit( - self, - account: typing.Callable[[], T_Result], - account_opportunity: typing.Callable[[], T_Result], - opportunity: typing.Callable[[], T_Result], - owner: typing.Callable[[], T_Result], - owner_account: typing.Callable[[], T_Result], - owner_account_opportunity: typing.Callable[[], T_Result], - owner_opportunity: typing.Callable[[], T_Result], - ) -> T_Result: - if self is TasksListRequestExpand.ACCOUNT: - return account() - if self is TasksListRequestExpand.ACCOUNT_OPPORTUNITY: - return account_opportunity() - if self is TasksListRequestExpand.OPPORTUNITY: - return opportunity() - if self is TasksListRequestExpand.OWNER: - return owner() - if self is TasksListRequestExpand.OWNER_ACCOUNT: - return owner_account() - if self is TasksListRequestExpand.OWNER_ACCOUNT_OPPORTUNITY: - return owner_account_opportunity() - if self is TasksListRequestExpand.OWNER_OPPORTUNITY: - return owner_opportunity() diff --git a/src/merge/resources/crm/resources/tasks/types/tasks_list_request_expand_item.py b/src/merge/resources/crm/resources/tasks/types/tasks_list_request_expand_item.py new file mode 100644 index 00000000..ff387b60 --- /dev/null +++ b/src/merge/resources/crm/resources/tasks/types/tasks_list_request_expand_item.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class TasksListRequestExpandItem(str, enum.Enum): + ACCOUNT = "account" + OPPORTUNITY = "opportunity" + OWNER = "owner" + + def visit( + self, + account: typing.Callable[[], T_Result], + opportunity: typing.Callable[[], T_Result], + owner: typing.Callable[[], T_Result], + ) -> T_Result: + if self is TasksListRequestExpandItem.ACCOUNT: + return account() + if self is TasksListRequestExpandItem.OPPORTUNITY: + return opportunity() + if self is TasksListRequestExpandItem.OWNER: + return owner() diff --git a/src/merge/resources/crm/resources/tasks/types/tasks_retrieve_request_expand.py b/src/merge/resources/crm/resources/tasks/types/tasks_retrieve_request_expand.py deleted file mode 100644 index 3fe53160..00000000 --- a/src/merge/resources/crm/resources/tasks/types/tasks_retrieve_request_expand.py +++ /dev/null @@ -1,41 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class TasksRetrieveRequestExpand(str, enum.Enum): - ACCOUNT = "account" - ACCOUNT_OPPORTUNITY = "account,opportunity" - OPPORTUNITY = "opportunity" - OWNER = "owner" - OWNER_ACCOUNT = "owner,account" - OWNER_ACCOUNT_OPPORTUNITY = "owner,account,opportunity" - OWNER_OPPORTUNITY = "owner,opportunity" - - def visit( - self, - account: typing.Callable[[], T_Result], - account_opportunity: typing.Callable[[], T_Result], - opportunity: typing.Callable[[], T_Result], - owner: typing.Callable[[], T_Result], - owner_account: typing.Callable[[], T_Result], - owner_account_opportunity: typing.Callable[[], T_Result], - owner_opportunity: typing.Callable[[], T_Result], - ) -> T_Result: - if self is TasksRetrieveRequestExpand.ACCOUNT: - return account() - if self is TasksRetrieveRequestExpand.ACCOUNT_OPPORTUNITY: - return account_opportunity() - if self is TasksRetrieveRequestExpand.OPPORTUNITY: - return opportunity() - if self is TasksRetrieveRequestExpand.OWNER: - return owner() - if self is TasksRetrieveRequestExpand.OWNER_ACCOUNT: - return owner_account() - if self is TasksRetrieveRequestExpand.OWNER_ACCOUNT_OPPORTUNITY: - return owner_account_opportunity() - if self is TasksRetrieveRequestExpand.OWNER_OPPORTUNITY: - return owner_opportunity() diff --git a/src/merge/resources/crm/resources/tasks/types/tasks_retrieve_request_expand_item.py b/src/merge/resources/crm/resources/tasks/types/tasks_retrieve_request_expand_item.py new file mode 100644 index 00000000..bf578a17 --- /dev/null +++ b/src/merge/resources/crm/resources/tasks/types/tasks_retrieve_request_expand_item.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class TasksRetrieveRequestExpandItem(str, enum.Enum): + ACCOUNT = "account" + OPPORTUNITY = "opportunity" + OWNER = "owner" + + def visit( + self, + account: typing.Callable[[], T_Result], + opportunity: typing.Callable[[], T_Result], + owner: typing.Callable[[], T_Result], + ) -> T_Result: + if self is TasksRetrieveRequestExpandItem.ACCOUNT: + return account() + if self is TasksRetrieveRequestExpandItem.OPPORTUNITY: + return opportunity() + if self is TasksRetrieveRequestExpandItem.OWNER: + return owner() diff --git a/src/merge/resources/crm/resources/users/client.py b/src/merge/resources/crm/resources/users/client.py index e0986039..5e3de12b 100644 --- a/src/merge/resources/crm/resources/users/client.py +++ b/src/merge/resources/crm/resources/users/client.py @@ -4,10 +4,12 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.ignore_common_model_request import IgnoreCommonModelRequest from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList from ...types.paginated_user_list import PaginatedUserList +from ...types.remote_field_class import RemoteFieldClass from ...types.user import User from .raw_client import AsyncRawUsersClient, RawUsersClient @@ -46,7 +48,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedUserList: + ) -> SyncPager[User, PaginatedUserList]: """ Returns a list of `User` objects. @@ -93,43 +95,27 @@ def list( Returns ------- - PaginatedUserList + SyncPager[User, PaginatedUserList] Examples -------- - import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.crm.users.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = client.crm.users.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - email="email", - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -144,7 +130,6 @@ def list( remote_id=remote_id, request_options=request_options, ) - return _response.data def retrieve( self, @@ -189,9 +174,6 @@ def retrieve( ) client.crm.users.retrieve( id="id", - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, ) """ _response = self._raw_client.retrieve( @@ -257,7 +239,7 @@ def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -292,7 +274,7 @@ def remote_field_classes_list( Returns ------- - PaginatedRemoteFieldClassList + SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] Examples @@ -303,18 +285,16 @@ def remote_field_classes_list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.crm.users.remote_field_classes_list( + response = client.crm.users.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.remote_field_classes_list( + return self._raw_client.remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -325,7 +305,6 @@ def remote_field_classes_list( page_size=page_size, request_options=request_options, ) - return _response.data class AsyncUsersClient: @@ -359,7 +338,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedUserList: + ) -> AsyncPager[User, PaginatedUserList]: """ Returns a list of `User` objects. @@ -406,13 +385,12 @@ async def list( Returns ------- - PaginatedUserList + AsyncPager[User, PaginatedUserList] Examples -------- import asyncio - import datetime from merge import AsyncMerge @@ -423,33 +401,20 @@ async def list( async def main() -> None: - await client.crm.users.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = await client.crm.users.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - email="email", - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -464,7 +429,6 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def retrieve( self, @@ -514,9 +478,6 @@ async def retrieve( async def main() -> None: await client.crm.users.retrieve( id="id", - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, ) @@ -593,7 +554,7 @@ async def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -628,7 +589,7 @@ async def remote_field_classes_list( Returns ------- - PaginatedRemoteFieldClassList + AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] Examples @@ -644,21 +605,20 @@ async def remote_field_classes_list( async def main() -> None: - await client.crm.users.remote_field_classes_list( + response = await client.crm.users.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.remote_field_classes_list( + return await self._raw_client.remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -669,4 +629,3 @@ async def main() -> None: page_size=page_size, request_options=request_options, ) - return _response.data diff --git a/src/merge/resources/crm/resources/users/raw_client.py b/src/merge/resources/crm/resources/users/raw_client.py index 4e33bb25..eb0f015c 100644 --- a/src/merge/resources/crm/resources/users/raw_client.py +++ b/src/merge/resources/crm/resources/users/raw_client.py @@ -9,11 +9,13 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.ignore_common_model_request import IgnoreCommonModelRequest from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList from ...types.paginated_user_list import PaginatedUserList +from ...types.remote_field_class import RemoteFieldClass from ...types.user import User # this is used as the default value for optional parameters @@ -40,7 +42,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedUserList]: + ) -> SyncPager[User, PaginatedUserList]: """ Returns a list of `User` objects. @@ -87,7 +89,7 @@ def list( Returns ------- - HttpResponse[PaginatedUserList] + SyncPager[User, PaginatedUserList] """ _response = self._client_wrapper.httpx_client.request( @@ -111,14 +113,32 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedUserList, construct_type( type_=PaginatedUserList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + email=email, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -235,7 +255,7 @@ def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedRemoteFieldClassList]: + ) -> SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -270,7 +290,7 @@ def remote_field_classes_list( Returns ------- - HttpResponse[PaginatedRemoteFieldClassList] + SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] """ _response = self._client_wrapper.httpx_client.request( @@ -290,14 +310,28 @@ def remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -324,7 +358,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedUserList]: + ) -> AsyncPager[User, PaginatedUserList]: """ Returns a list of `User` objects. @@ -371,7 +405,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedUserList] + AsyncPager[User, PaginatedUserList] """ _response = await self._client_wrapper.httpx_client.request( @@ -395,14 +429,35 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedUserList, construct_type( type_=PaginatedUserList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + email=email, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -519,7 +574,7 @@ async def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedRemoteFieldClassList]: + ) -> AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -554,7 +609,7 @@ async def remote_field_classes_list( Returns ------- - AsyncHttpResponse[PaginatedRemoteFieldClassList] + AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] """ _response = await self._client_wrapper.httpx_client.request( @@ -574,14 +629,31 @@ async def remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/crm/types/__init__.py b/src/merge/resources/crm/types/__init__.py index 0c058ced..76ea3f98 100644 --- a/src/merge/resources/crm/types/__init__.py +++ b/src/merge/resources/crm/types/__init__.py @@ -191,8 +191,6 @@ from .remote_field_api_response import RemoteFieldApiResponse from .remote_field_class import RemoteFieldClass from .remote_field_class_field_choices_item import RemoteFieldClassFieldChoicesItem - from .remote_field_class_field_format import RemoteFieldClassFieldFormat - from .remote_field_class_field_type import RemoteFieldClassFieldType from .remote_field_class_for_custom_object_class import RemoteFieldClassForCustomObjectClass from .remote_field_class_for_custom_object_class_field_choices_item import ( RemoteFieldClassForCustomObjectClassFieldChoicesItem, @@ -205,12 +203,13 @@ from .remote_field_request_remote_field_class import RemoteFieldRequestRemoteFieldClass from .remote_key import RemoteKey from .remote_response import RemoteResponse + from .remote_response_response_type import RemoteResponseResponseType from .request_format_enum import RequestFormatEnum from .response_type_enum import ResponseTypeEnum from .role_enum import RoleEnum from .selective_sync_configurations_usage_enum import SelectiveSyncConfigurationsUsageEnum from .stage import Stage - from .status_fd_5_enum import StatusFd5Enum + from .status_fd5enum import StatusFd5Enum from .sync_status import SyncStatus from .sync_status_last_sync_result import SyncStatusLastSyncResult from .sync_status_status import SyncStatusStatus @@ -414,8 +413,6 @@ "RemoteFieldApiResponse": ".remote_field_api_response", "RemoteFieldClass": ".remote_field_class", "RemoteFieldClassFieldChoicesItem": ".remote_field_class_field_choices_item", - "RemoteFieldClassFieldFormat": ".remote_field_class_field_format", - "RemoteFieldClassFieldType": ".remote_field_class_field_type", "RemoteFieldClassForCustomObjectClass": ".remote_field_class_for_custom_object_class", "RemoteFieldClassForCustomObjectClassFieldChoicesItem": ".remote_field_class_for_custom_object_class_field_choices_item", "RemoteFieldClassForCustomObjectClassFieldFormat": ".remote_field_class_for_custom_object_class_field_format", @@ -426,12 +423,13 @@ "RemoteFieldRequestRemoteFieldClass": ".remote_field_request_remote_field_class", "RemoteKey": ".remote_key", "RemoteResponse": ".remote_response", + "RemoteResponseResponseType": ".remote_response_response_type", "RequestFormatEnum": ".request_format_enum", "ResponseTypeEnum": ".response_type_enum", "RoleEnum": ".role_enum", "SelectiveSyncConfigurationsUsageEnum": ".selective_sync_configurations_usage_enum", "Stage": ".stage", - "StatusFd5Enum": ".status_fd_5_enum", + "StatusFd5Enum": ".status_fd5enum", "SyncStatus": ".sync_status", "SyncStatusLastSyncResult": ".sync_status_last_sync_result", "SyncStatusStatus": ".sync_status_status", @@ -460,8 +458,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -657,8 +657,6 @@ def __dir__(): "RemoteFieldApiResponse", "RemoteFieldClass", "RemoteFieldClassFieldChoicesItem", - "RemoteFieldClassFieldFormat", - "RemoteFieldClassFieldType", "RemoteFieldClassForCustomObjectClass", "RemoteFieldClassForCustomObjectClassFieldChoicesItem", "RemoteFieldClassForCustomObjectClassFieldFormat", @@ -669,6 +667,7 @@ def __dir__(): "RemoteFieldRequestRemoteFieldClass", "RemoteKey", "RemoteResponse", + "RemoteResponseResponseType", "RequestFormatEnum", "ResponseTypeEnum", "RoleEnum", diff --git a/src/merge/resources/crm/types/account.py b/src/merge/resources/crm/types/account.py index a76e2b6f..20e073e5 100644 --- a/src/merge/resources/crm/types/account.py +++ b/src/merge/resources/crm/types/account.py @@ -90,7 +90,7 @@ class Account(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None remote_fields: typing.Optional[typing.List[RemoteField]] = None diff --git a/src/merge/resources/crm/types/account_integration.py b/src/merge/resources/crm/types/account_integration.py index ef8b260d..7bc872ca 100644 --- a/src/merge/resources/crm/types/account_integration.py +++ b/src/merge/resources/crm/types/account_integration.py @@ -40,9 +40,7 @@ class AccountIntegration(UncheckedBaseModel): """ slug: typing.Optional[str] = None - api_endpoints_to_documentation_urls: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = ( - pydantic.Field(default=None) - ) + api_endpoints_to_documentation_urls: typing.Optional[typing.Dict[str, typing.Any]] = pydantic.Field(default=None) """ Mapping of API endpoints to documentation urls for support. Example: {'GET': [['/common-model-scopes', 'https://docs.merge.dev/accounting/common-model-scopes/#common_model_scopes_retrieve'],['/common-model-actions', 'https://docs.merge.dev/accounting/common-model-actions/#common_model_actions_retrieve']], 'POST': []} """ @@ -52,7 +50,7 @@ class AccountIntegration(UncheckedBaseModel): Setup guide URL for third party webhook creation. Exposed in Merge Docs. """ - category_beta_status: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = pydantic.Field(default=None) + category_beta_status: typing.Optional[typing.Dict[str, typing.Any]] = pydantic.Field(default=None) """ Category or categories this integration is in beta status for. """ diff --git a/src/merge/resources/crm/types/account_request.py b/src/merge/resources/crm/types/account_request.py index 0f7fc493..0560ebb3 100644 --- a/src/merge/resources/crm/types/account_request.py +++ b/src/merge/resources/crm/types/account_request.py @@ -56,8 +56,8 @@ class AccountRequest(UncheckedBaseModel): The last date (either most recent or furthest in the future) of when an activity occurs in an account. """ - integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + integration_params: typing.Optional[typing.Dict[str, typing.Any]] = None + linked_account_params: typing.Optional[typing.Dict[str, typing.Any]] = None remote_fields: typing.Optional[typing.List[RemoteFieldRequest]] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/crm/types/address.py b/src/merge/resources/crm/types/address.py index 5a5b14d4..360a511b 100644 --- a/src/merge/resources/crm/types/address.py +++ b/src/merge/resources/crm/types/address.py @@ -29,12 +29,12 @@ class Address(UncheckedBaseModel): The datetime that this object was modified by Merge. """ - street_1: typing.Optional[str] = pydantic.Field(default=None) + street1: typing.Optional[str] = pydantic.Field(alias="street_1", default=None) """ Line 1 of the address's street. """ - street_2: typing.Optional[str] = pydantic.Field(default=None) + street2: typing.Optional[str] = pydantic.Field(alias="street_2", default=None) """ Line 2 of the address's street. """ diff --git a/src/merge/resources/crm/types/address_request.py b/src/merge/resources/crm/types/address_request.py index 6ae6189e..a82870a3 100644 --- a/src/merge/resources/crm/types/address_request.py +++ b/src/merge/resources/crm/types/address_request.py @@ -18,12 +18,12 @@ class AddressRequest(UncheckedBaseModel): TODO """ - street_1: typing.Optional[str] = pydantic.Field(default=None) + street1: typing.Optional[str] = pydantic.Field(alias="street_1", default=None) """ Line 1 of the address's street. """ - street_2: typing.Optional[str] = pydantic.Field(default=None) + street2: typing.Optional[str] = pydantic.Field(alias="street_2", default=None) """ Line 2 of the address's street. """ @@ -306,8 +306,8 @@ class AddressRequest(UncheckedBaseModel): * `SHIPPING` - SHIPPING """ - integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + integration_params: typing.Optional[typing.Dict[str, typing.Any]] = None + linked_account_params: typing.Optional[typing.Dict[str, typing.Any]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/crm/types/advanced_metadata.py b/src/merge/resources/crm/types/advanced_metadata.py index 60b5d072..aef64bb3 100644 --- a/src/merge/resources/crm/types/advanced_metadata.py +++ b/src/merge/resources/crm/types/advanced_metadata.py @@ -13,7 +13,7 @@ class AdvancedMetadata(UncheckedBaseModel): description: typing.Optional[str] = None is_required: typing.Optional[bool] = None is_custom: typing.Optional[bool] = None - field_choices: typing.Optional[typing.List[typing.Optional[typing.Any]]] = None + field_choices: typing.Optional[typing.List[typing.Any]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/crm/types/association_type.py b/src/merge/resources/crm/types/association_type.py index 3826285e..cfa39fd0 100644 --- a/src/merge/resources/crm/types/association_type.py +++ b/src/merge/resources/crm/types/association_type.py @@ -35,7 +35,7 @@ class AssociationType(UncheckedBaseModel): The datetime that this object was modified by Merge. """ - source_object_class: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = pydantic.Field(default=None) + source_object_class: typing.Optional[typing.Dict[str, typing.Any]] = pydantic.Field(default=None) """ The class of the source object (Custom Object or Common Model) for the association type. """ diff --git a/src/merge/resources/crm/types/contact.py b/src/merge/resources/crm/types/contact.py index d5b7019a..3829b700 100644 --- a/src/merge/resources/crm/types/contact.py +++ b/src/merge/resources/crm/types/contact.py @@ -78,7 +78,7 @@ class Contact(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None remote_fields: typing.Optional[typing.List[RemoteField]] = None diff --git a/src/merge/resources/crm/types/contact_request.py b/src/merge/resources/crm/types/contact_request.py index 12849554..2570ed7c 100644 --- a/src/merge/resources/crm/types/contact_request.py +++ b/src/merge/resources/crm/types/contact_request.py @@ -51,8 +51,8 @@ class ContactRequest(UncheckedBaseModel): When the contact's last activity occurred. """ - integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + integration_params: typing.Optional[typing.Dict[str, typing.Any]] = None + linked_account_params: typing.Optional[typing.Dict[str, typing.Any]] = None remote_fields: typing.Optional[typing.List[RemoteFieldRequest]] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/crm/types/custom_object.py b/src/merge/resources/crm/types/custom_object.py index 8f61f187..d4621387 100644 --- a/src/merge/resources/crm/types/custom_object.py +++ b/src/merge/resources/crm/types/custom_object.py @@ -39,7 +39,7 @@ class CustomObject(UncheckedBaseModel): The custom object class the custom object record belongs to. """ - fields: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = pydantic.Field(default=None) + fields: typing.Optional[typing.Dict[str, typing.Any]] = pydantic.Field(default=None) """ The fields and values contained within the custom object record. """ diff --git a/src/merge/resources/crm/types/custom_object_class.py b/src/merge/resources/crm/types/custom_object_class.py index e182b3a5..aea80671 100644 --- a/src/merge/resources/crm/types/custom_object_class.py +++ b/src/merge/resources/crm/types/custom_object_class.py @@ -42,9 +42,7 @@ class CustomObjectClass(UncheckedBaseModel): """ fields: typing.Optional[typing.List[RemoteFieldClassForCustomObjectClass]] = None - association_types: typing.Optional[typing.List[typing.Dict[str, typing.Optional[typing.Any]]]] = pydantic.Field( - default=None - ) + association_types: typing.Optional[typing.List[typing.Dict[str, typing.Any]]] = pydantic.Field(default=None) """ The types of associations with other models that the custom object class can have. """ diff --git a/src/merge/resources/crm/types/custom_object_request.py b/src/merge/resources/crm/types/custom_object_request.py index 012650f9..b5d526da 100644 --- a/src/merge/resources/crm/types/custom_object_request.py +++ b/src/merge/resources/crm/types/custom_object_request.py @@ -8,9 +8,9 @@ class CustomObjectRequest(UncheckedBaseModel): - fields: typing.Dict[str, typing.Optional[typing.Any]] - integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + fields: typing.Dict[str, typing.Any] + integration_params: typing.Optional[typing.Dict[str, typing.Any]] = None + linked_account_params: typing.Optional[typing.Dict[str, typing.Any]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/crm/types/data_passthrough_request.py b/src/merge/resources/crm/types/data_passthrough_request.py index c9f0a799..df3af029 100644 --- a/src/merge/resources/crm/types/data_passthrough_request.py +++ b/src/merge/resources/crm/types/data_passthrough_request.py @@ -41,7 +41,7 @@ class DataPassthroughRequest(UncheckedBaseModel): Pass an array of `MultipartFormField` objects in here instead of using the `data` param if `request_format` is set to `MULTIPART`. """ - headers: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = pydantic.Field(default=None) + headers: typing.Optional[typing.Dict[str, typing.Any]] = pydantic.Field(default=None) """ The headers to use for the request (Merge will handle the account's authorization headers). `Content-Type` header is required for passthrough. Choose content type corresponding to expected format of receiving server. """ diff --git a/src/merge/resources/crm/types/email_address_request.py b/src/merge/resources/crm/types/email_address_request.py index ae878e00..0633cce6 100644 --- a/src/merge/resources/crm/types/email_address_request.py +++ b/src/merge/resources/crm/types/email_address_request.py @@ -26,8 +26,8 @@ class EmailAddressRequest(UncheckedBaseModel): The email address's type. """ - integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + integration_params: typing.Optional[typing.Dict[str, typing.Any]] = None + linked_account_params: typing.Optional[typing.Dict[str, typing.Any]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/crm/types/encoding_enum.py b/src/merge/resources/crm/types/encoding_enum.py index 7454647e..ceb8c474 100644 --- a/src/merge/resources/crm/types/encoding_enum.py +++ b/src/merge/resources/crm/types/encoding_enum.py @@ -14,18 +14,18 @@ class EncodingEnum(str, enum.Enum): """ RAW = "RAW" - BASE_64 = "BASE64" - GZIP_BASE_64 = "GZIP_BASE64" + BASE64 = "BASE64" + GZIP_BASE64 = "GZIP_BASE64" def visit( self, raw: typing.Callable[[], T_Result], - base_64: typing.Callable[[], T_Result], - gzip_base_64: typing.Callable[[], T_Result], + base64: typing.Callable[[], T_Result], + gzip_base64: typing.Callable[[], T_Result], ) -> T_Result: if self is EncodingEnum.RAW: return raw() - if self is EncodingEnum.BASE_64: - return base_64() - if self is EncodingEnum.GZIP_BASE_64: - return gzip_base_64() + if self is EncodingEnum.BASE64: + return base64() + if self is EncodingEnum.GZIP_BASE64: + return gzip_base64() diff --git a/src/merge/resources/crm/types/engagement.py b/src/merge/resources/crm/types/engagement.py index 4a351907..e149fd8b 100644 --- a/src/merge/resources/crm/types/engagement.py +++ b/src/merge/resources/crm/types/engagement.py @@ -89,7 +89,7 @@ class Engagement(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None remote_fields: typing.Optional[typing.List[RemoteField]] = None diff --git a/src/merge/resources/crm/types/engagement_request.py b/src/merge/resources/crm/types/engagement_request.py index 682149c2..6f161e98 100644 --- a/src/merge/resources/crm/types/engagement_request.py +++ b/src/merge/resources/crm/types/engagement_request.py @@ -67,8 +67,8 @@ class EngagementRequest(UncheckedBaseModel): """ contacts: typing.Optional[typing.List[typing.Optional[EngagementRequestContactsItem]]] = None - integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + integration_params: typing.Optional[typing.Dict[str, typing.Any]] = None + linked_account_params: typing.Optional[typing.Dict[str, typing.Any]] = None remote_fields: typing.Optional[typing.List[RemoteFieldRequest]] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/crm/types/field_mapping_api_instance_remote_field.py b/src/merge/resources/crm/types/field_mapping_api_instance_remote_field.py index 578a2b10..f3d5a8cb 100644 --- a/src/merge/resources/crm/types/field_mapping_api_instance_remote_field.py +++ b/src/merge/resources/crm/types/field_mapping_api_instance_remote_field.py @@ -12,9 +12,7 @@ class FieldMappingApiInstanceRemoteField(UncheckedBaseModel): remote_key_name: typing.Optional[str] = None - schema_: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = pydantic.Field( - alias="schema", default=None - ) + schema_: typing.Optional[typing.Dict[str, typing.Any]] = pydantic.Field(alias="schema", default=None) remote_endpoint_info: FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo if IS_PYDANTIC_V2: diff --git a/src/merge/resources/crm/types/field_permission_deserializer.py b/src/merge/resources/crm/types/field_permission_deserializer.py index 1d71ae04..407ed547 100644 --- a/src/merge/resources/crm/types/field_permission_deserializer.py +++ b/src/merge/resources/crm/types/field_permission_deserializer.py @@ -8,8 +8,8 @@ class FieldPermissionDeserializer(UncheckedBaseModel): - enabled_fields: typing.Optional[typing.List[typing.Optional[typing.Any]]] = None - disabled_fields: typing.Optional[typing.List[typing.Optional[typing.Any]]] = None + enabled_fields: typing.Optional[typing.List[typing.Any]] = None + disabled_fields: typing.Optional[typing.List[typing.Any]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/crm/types/field_permission_deserializer_request.py b/src/merge/resources/crm/types/field_permission_deserializer_request.py index a4113b46..6680c7d2 100644 --- a/src/merge/resources/crm/types/field_permission_deserializer_request.py +++ b/src/merge/resources/crm/types/field_permission_deserializer_request.py @@ -8,8 +8,8 @@ class FieldPermissionDeserializerRequest(UncheckedBaseModel): - enabled_fields: typing.Optional[typing.List[typing.Optional[typing.Any]]] = None - disabled_fields: typing.Optional[typing.List[typing.Optional[typing.Any]]] = None + enabled_fields: typing.Optional[typing.List[typing.Any]] = None + disabled_fields: typing.Optional[typing.List[typing.Any]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/crm/types/issue.py b/src/merge/resources/crm/types/issue.py index df31be95..5d37505d 100644 --- a/src/merge/resources/crm/types/issue.py +++ b/src/merge/resources/crm/types/issue.py @@ -20,7 +20,7 @@ class Issue(UncheckedBaseModel): """ error_description: str - end_user: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + end_user: typing.Optional[typing.Dict[str, typing.Any]] = None first_incident_time: typing.Optional[dt.datetime] = None last_incident_time: typing.Optional[dt.datetime] = None is_muted: typing.Optional[bool] = None diff --git a/src/merge/resources/crm/types/lead.py b/src/merge/resources/crm/types/lead.py index 98d821e1..74abdf6d 100644 --- a/src/merge/resources/crm/types/lead.py +++ b/src/merge/resources/crm/types/lead.py @@ -104,7 +104,7 @@ class Lead(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None remote_fields: typing.Optional[typing.List[RemoteField]] = None diff --git a/src/merge/resources/crm/types/lead_request.py b/src/merge/resources/crm/types/lead_request.py index f2cb290a..fc3db849 100644 --- a/src/merge/resources/crm/types/lead_request.py +++ b/src/merge/resources/crm/types/lead_request.py @@ -72,8 +72,8 @@ class LeadRequest(UncheckedBaseModel): The account of the converted lead. """ - integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + integration_params: typing.Optional[typing.Dict[str, typing.Any]] = None + linked_account_params: typing.Optional[typing.Dict[str, typing.Any]] = None remote_fields: typing.Optional[typing.List[RemoteFieldRequest]] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/crm/types/meta_response.py b/src/merge/resources/crm/types/meta_response.py index caa2c831..0da37619 100644 --- a/src/merge/resources/crm/types/meta_response.py +++ b/src/merge/resources/crm/types/meta_response.py @@ -9,8 +9,8 @@ class MetaResponse(UncheckedBaseModel): - request_schema: typing.Dict[str, typing.Optional[typing.Any]] - remote_field_classes: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + request_schema: typing.Dict[str, typing.Any] + remote_field_classes: typing.Optional[typing.Dict[str, typing.Any]] = None status: typing.Optional[LinkedAccountStatus] = None has_conditional_params: bool has_required_linked_account_params: bool diff --git a/src/merge/resources/crm/types/note.py b/src/merge/resources/crm/types/note.py index 06410996..6e529029 100644 --- a/src/merge/resources/crm/types/note.py +++ b/src/merge/resources/crm/types/note.py @@ -79,7 +79,7 @@ class Note(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None remote_fields: typing.Optional[typing.List[RemoteField]] = None diff --git a/src/merge/resources/crm/types/note_request.py b/src/merge/resources/crm/types/note_request.py index 7e9b1186..16fc6220 100644 --- a/src/merge/resources/crm/types/note_request.py +++ b/src/merge/resources/crm/types/note_request.py @@ -46,8 +46,8 @@ class NoteRequest(UncheckedBaseModel): The note's opportunity. """ - integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + integration_params: typing.Optional[typing.Dict[str, typing.Any]] = None + linked_account_params: typing.Optional[typing.Dict[str, typing.Any]] = None remote_fields: typing.Optional[typing.List[RemoteFieldRequest]] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/crm/types/opportunity.py b/src/merge/resources/crm/types/opportunity.py index 681c24e0..424ef76c 100644 --- a/src/merge/resources/crm/types/opportunity.py +++ b/src/merge/resources/crm/types/opportunity.py @@ -98,7 +98,7 @@ class Opportunity(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None remote_fields: typing.Optional[typing.List[RemoteField]] = None diff --git a/src/merge/resources/crm/types/opportunity_request.py b/src/merge/resources/crm/types/opportunity_request.py index d39733e5..85733a75 100644 --- a/src/merge/resources/crm/types/opportunity_request.py +++ b/src/merge/resources/crm/types/opportunity_request.py @@ -71,8 +71,8 @@ class OpportunityRequest(UncheckedBaseModel): When the opportunity was closed. """ - integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + integration_params: typing.Optional[typing.Dict[str, typing.Any]] = None + linked_account_params: typing.Optional[typing.Dict[str, typing.Any]] = None remote_fields: typing.Optional[typing.List[RemoteFieldRequest]] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/crm/types/patched_account_request.py b/src/merge/resources/crm/types/patched_account_request.py index d24c8264..fcb10a35 100644 --- a/src/merge/resources/crm/types/patched_account_request.py +++ b/src/merge/resources/crm/types/patched_account_request.py @@ -55,8 +55,8 @@ class PatchedAccountRequest(UncheckedBaseModel): The last date (either most recent or furthest in the future) of when an activity occurs in an account. """ - integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + integration_params: typing.Optional[typing.Dict[str, typing.Any]] = None + linked_account_params: typing.Optional[typing.Dict[str, typing.Any]] = None remote_fields: typing.Optional[typing.List[RemoteFieldRequest]] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/crm/types/patched_contact_request.py b/src/merge/resources/crm/types/patched_contact_request.py index cf2d59ff..cbee8247 100644 --- a/src/merge/resources/crm/types/patched_contact_request.py +++ b/src/merge/resources/crm/types/patched_contact_request.py @@ -50,8 +50,8 @@ class PatchedContactRequest(UncheckedBaseModel): When the contact's last activity occurred. """ - integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + integration_params: typing.Optional[typing.Dict[str, typing.Any]] = None + linked_account_params: typing.Optional[typing.Dict[str, typing.Any]] = None remote_fields: typing.Optional[typing.List[RemoteFieldRequest]] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/crm/types/patched_engagement_request.py b/src/merge/resources/crm/types/patched_engagement_request.py index eb35fca5..49f71d01 100644 --- a/src/merge/resources/crm/types/patched_engagement_request.py +++ b/src/merge/resources/crm/types/patched_engagement_request.py @@ -63,8 +63,8 @@ class PatchedEngagementRequest(UncheckedBaseModel): """ contacts: typing.Optional[typing.List[typing.Optional[str]]] = None - integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + integration_params: typing.Optional[typing.Dict[str, typing.Any]] = None + linked_account_params: typing.Optional[typing.Dict[str, typing.Any]] = None remote_fields: typing.Optional[typing.List[RemoteFieldRequest]] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/crm/types/patched_opportunity_request.py b/src/merge/resources/crm/types/patched_opportunity_request.py index 624febe7..f739c337 100644 --- a/src/merge/resources/crm/types/patched_opportunity_request.py +++ b/src/merge/resources/crm/types/patched_opportunity_request.py @@ -68,8 +68,8 @@ class PatchedOpportunityRequest(UncheckedBaseModel): When the opportunity was closed. """ - integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + integration_params: typing.Optional[typing.Dict[str, typing.Any]] = None + linked_account_params: typing.Optional[typing.Dict[str, typing.Any]] = None remote_fields: typing.Optional[typing.List[RemoteFieldRequest]] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/crm/types/patched_task_request.py b/src/merge/resources/crm/types/patched_task_request.py index 098496ba..69daf578 100644 --- a/src/merge/resources/crm/types/patched_task_request.py +++ b/src/merge/resources/crm/types/patched_task_request.py @@ -62,8 +62,8 @@ class PatchedTaskRequest(UncheckedBaseModel): * `CLOSED` - CLOSED """ - integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + integration_params: typing.Optional[typing.Dict[str, typing.Any]] = None + linked_account_params: typing.Optional[typing.Dict[str, typing.Any]] = None remote_fields: typing.Optional[typing.List[RemoteFieldRequest]] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/crm/types/phone_number_request.py b/src/merge/resources/crm/types/phone_number_request.py index c70332b1..5a865a6b 100644 --- a/src/merge/resources/crm/types/phone_number_request.py +++ b/src/merge/resources/crm/types/phone_number_request.py @@ -26,8 +26,8 @@ class PhoneNumberRequest(UncheckedBaseModel): The phone number's type. """ - integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + integration_params: typing.Optional[typing.Dict[str, typing.Any]] = None + linked_account_params: typing.Optional[typing.Dict[str, typing.Any]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/crm/types/remote_data.py b/src/merge/resources/crm/types/remote_data.py index f34bec80..2026f05a 100644 --- a/src/merge/resources/crm/types/remote_data.py +++ b/src/merge/resources/crm/types/remote_data.py @@ -22,7 +22,7 @@ class RemoteData(UncheckedBaseModel): The third-party API path that is being called. """ - data: typing.Optional[typing.Optional[typing.Any]] = pydantic.Field(default=None) + data: typing.Optional[typing.Any] = pydantic.Field(default=None) """ The data returned from the third-party for this object in its original, unnormalized format. """ diff --git a/src/merge/resources/crm/types/remote_endpoint_info.py b/src/merge/resources/crm/types/remote_endpoint_info.py index 07ceff6a..ffa70b94 100644 --- a/src/merge/resources/crm/types/remote_endpoint_info.py +++ b/src/merge/resources/crm/types/remote_endpoint_info.py @@ -10,7 +10,7 @@ class RemoteEndpointInfo(UncheckedBaseModel): method: str url_path: str - field_traversal_path: typing.List[typing.Optional[typing.Any]] + field_traversal_path: typing.List[typing.Any] if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/crm/types/remote_field.py b/src/merge/resources/crm/types/remote_field.py index 1a9272f0..556c69ef 100644 --- a/src/merge/resources/crm/types/remote_field.py +++ b/src/merge/resources/crm/types/remote_field.py @@ -10,7 +10,7 @@ class RemoteField(UncheckedBaseModel): remote_field_class: RemoteFieldRemoteFieldClass - value: typing.Optional[typing.Optional[typing.Any]] = None + value: typing.Optional[typing.Any] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/crm/types/remote_field_api.py b/src/merge/resources/crm/types/remote_field_api.py index 4c66a23b..bac07b8d 100644 --- a/src/merge/resources/crm/types/remote_field_api.py +++ b/src/merge/resources/crm/types/remote_field_api.py @@ -11,10 +11,10 @@ class RemoteFieldApi(UncheckedBaseModel): - schema_: typing.Dict[str, typing.Optional[typing.Any]] = pydantic.Field(alias="schema") + schema_: typing.Dict[str, typing.Any] = pydantic.Field(alias="schema") remote_key_name: str remote_endpoint_info: RemoteEndpointInfo - example_values: typing.Optional[typing.List[typing.Optional[typing.Any]]] = None + example_values: typing.Optional[typing.List[typing.Any]] = None advanced_metadata: typing.Optional[AdvancedMetadata] = None coverage: typing.Optional[RemoteFieldApiCoverage] = None diff --git a/src/merge/resources/crm/types/remote_field_class.py b/src/merge/resources/crm/types/remote_field_class.py index 76189afe..090358b1 100644 --- a/src/merge/resources/crm/types/remote_field_class.py +++ b/src/merge/resources/crm/types/remote_field_class.py @@ -5,10 +5,10 @@ import pydantic from ....core.pydantic_utilities import IS_PYDANTIC_V2 from ....core.unchecked_base_model import UncheckedBaseModel +from .field_format_enum import FieldFormatEnum +from .field_type_enum import FieldTypeEnum from .item_schema import ItemSchema from .remote_field_class_field_choices_item import RemoteFieldClassFieldChoicesItem -from .remote_field_class_field_format import RemoteFieldClassFieldFormat -from .remote_field_class_field_type import RemoteFieldClassFieldType class RemoteFieldClass(UncheckedBaseModel): @@ -17,10 +17,9 @@ class RemoteFieldClass(UncheckedBaseModel): remote_key_name: typing.Optional[str] = None description: typing.Optional[str] = None is_custom: typing.Optional[bool] = None - is_common_model_field: typing.Optional[bool] = None is_required: typing.Optional[bool] = None - field_type: typing.Optional[RemoteFieldClassFieldType] = None - field_format: typing.Optional[RemoteFieldClassFieldFormat] = None + field_type: typing.Optional[FieldTypeEnum] = None + field_format: typing.Optional[FieldFormatEnum] = None field_choices: typing.Optional[typing.List[RemoteFieldClassFieldChoicesItem]] = None item_schema: typing.Optional[ItemSchema] = None diff --git a/src/merge/resources/crm/types/remote_field_class_field_choices_item.py b/src/merge/resources/crm/types/remote_field_class_field_choices_item.py index 9003f782..0b1a5faa 100644 --- a/src/merge/resources/crm/types/remote_field_class_field_choices_item.py +++ b/src/merge/resources/crm/types/remote_field_class_field_choices_item.py @@ -8,7 +8,7 @@ class RemoteFieldClassFieldChoicesItem(UncheckedBaseModel): - value: typing.Optional[typing.Optional[typing.Any]] = None + value: typing.Optional[typing.Any] = None display_name: typing.Optional[str] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/crm/types/remote_field_class_field_format.py b/src/merge/resources/crm/types/remote_field_class_field_format.py deleted file mode 100644 index 13634337..00000000 --- a/src/merge/resources/crm/types/remote_field_class_field_format.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .field_format_enum import FieldFormatEnum - -RemoteFieldClassFieldFormat = typing.Union[FieldFormatEnum, str] diff --git a/src/merge/resources/crm/types/remote_field_class_field_type.py b/src/merge/resources/crm/types/remote_field_class_field_type.py deleted file mode 100644 index 48735d56..00000000 --- a/src/merge/resources/crm/types/remote_field_class_field_type.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .field_type_enum import FieldTypeEnum - -RemoteFieldClassFieldType = typing.Union[FieldTypeEnum, str] diff --git a/src/merge/resources/crm/types/remote_field_class_for_custom_object_class_field_choices_item.py b/src/merge/resources/crm/types/remote_field_class_for_custom_object_class_field_choices_item.py index 930a4866..f5b8f9b4 100644 --- a/src/merge/resources/crm/types/remote_field_class_for_custom_object_class_field_choices_item.py +++ b/src/merge/resources/crm/types/remote_field_class_for_custom_object_class_field_choices_item.py @@ -8,7 +8,7 @@ class RemoteFieldClassForCustomObjectClassFieldChoicesItem(UncheckedBaseModel): - value: typing.Optional[typing.Optional[typing.Any]] = None + value: typing.Optional[typing.Any] = None display_name: typing.Optional[str] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/crm/types/remote_field_request.py b/src/merge/resources/crm/types/remote_field_request.py index 69bc39da..e3c6e0fc 100644 --- a/src/merge/resources/crm/types/remote_field_request.py +++ b/src/merge/resources/crm/types/remote_field_request.py @@ -10,7 +10,7 @@ class RemoteFieldRequest(UncheckedBaseModel): remote_field_class: RemoteFieldRequestRemoteFieldClass - value: typing.Optional[typing.Optional[typing.Any]] = None + value: typing.Optional[typing.Any] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/crm/types/remote_response.py b/src/merge/resources/crm/types/remote_response.py index af181fc0..8bc6f905 100644 --- a/src/merge/resources/crm/types/remote_response.py +++ b/src/merge/resources/crm/types/remote_response.py @@ -5,7 +5,7 @@ import pydantic from ....core.pydantic_utilities import IS_PYDANTIC_V2 from ....core.unchecked_base_model import UncheckedBaseModel -from .response_type_enum import ResponseTypeEnum +from .remote_response_response_type import RemoteResponseResponseType class RemoteResponse(UncheckedBaseModel): @@ -21,10 +21,10 @@ class RemoteResponse(UncheckedBaseModel): method: str path: str status: int - response: typing.Optional[typing.Any] = None - response_headers: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - response_type: typing.Optional[ResponseTypeEnum] = None - headers: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + response: typing.Any + response_headers: typing.Optional[typing.Dict[str, typing.Any]] = None + response_type: typing.Optional[RemoteResponseResponseType] = None + headers: typing.Optional[typing.Dict[str, typing.Any]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/chat/types/remote_response_response_type.py b/src/merge/resources/crm/types/remote_response_response_type.py similarity index 100% rename from src/merge/resources/chat/types/remote_response_response_type.py rename to src/merge/resources/crm/types/remote_response_response_type.py diff --git a/src/merge/resources/crm/types/response_type_enum.py b/src/merge/resources/crm/types/response_type_enum.py index ef241302..e29175b6 100644 --- a/src/merge/resources/crm/types/response_type_enum.py +++ b/src/merge/resources/crm/types/response_type_enum.py @@ -13,10 +13,10 @@ class ResponseTypeEnum(str, enum.Enum): """ JSON = "JSON" - BASE_64_GZIP = "BASE64_GZIP" + BASE64GZIP = "BASE64_GZIP" - def visit(self, json: typing.Callable[[], T_Result], base_64_gzip: typing.Callable[[], T_Result]) -> T_Result: + def visit(self, json: typing.Callable[[], T_Result], base64gzip: typing.Callable[[], T_Result]) -> T_Result: if self is ResponseTypeEnum.JSON: return json() - if self is ResponseTypeEnum.BASE_64_GZIP: - return base_64_gzip() + if self is ResponseTypeEnum.BASE64GZIP: + return base64gzip() diff --git a/src/merge/resources/crm/types/stage.py b/src/merge/resources/crm/types/stage.py index 8e16e6df..15ff1510 100644 --- a/src/merge/resources/crm/types/stage.py +++ b/src/merge/resources/crm/types/stage.py @@ -45,7 +45,7 @@ class Stage(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None remote_fields: typing.Optional[typing.List[RemoteField]] = None diff --git a/src/merge/resources/chat/types/status_fd_5_enum.py b/src/merge/resources/crm/types/status_fd5enum.py similarity index 100% rename from src/merge/resources/chat/types/status_fd_5_enum.py rename to src/merge/resources/crm/types/status_fd5enum.py diff --git a/src/merge/resources/crm/types/sync_status_status.py b/src/merge/resources/crm/types/sync_status_status.py index 78e4cc47..080bb651 100644 --- a/src/merge/resources/crm/types/sync_status_status.py +++ b/src/merge/resources/crm/types/sync_status_status.py @@ -2,6 +2,6 @@ import typing -from .status_fd_5_enum import StatusFd5Enum +from .status_fd5enum import StatusFd5Enum SyncStatusStatus = typing.Union[StatusFd5Enum, str] diff --git a/src/merge/resources/crm/types/task.py b/src/merge/resources/crm/types/task.py index 088d32bf..9fe66330 100644 --- a/src/merge/resources/crm/types/task.py +++ b/src/merge/resources/crm/types/task.py @@ -87,7 +87,7 @@ class Task(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None remote_fields: typing.Optional[typing.List[RemoteField]] = None diff --git a/src/merge/resources/crm/types/task_request.py b/src/merge/resources/crm/types/task_request.py index 15ec61fd..df47eb6f 100644 --- a/src/merge/resources/crm/types/task_request.py +++ b/src/merge/resources/crm/types/task_request.py @@ -65,8 +65,8 @@ class TaskRequest(UncheckedBaseModel): * `CLOSED` - CLOSED """ - integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + integration_params: typing.Optional[typing.Dict[str, typing.Any]] = None + linked_account_params: typing.Optional[typing.Dict[str, typing.Any]] = None remote_fields: typing.Optional[typing.List[RemoteFieldRequest]] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/crm/types/user.py b/src/merge/resources/crm/types/user.py index cc585c10..4c28a278 100644 --- a/src/merge/resources/crm/types/user.py +++ b/src/merge/resources/crm/types/user.py @@ -55,7 +55,7 @@ class User(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None remote_fields: typing.Optional[typing.List[RemoteField]] = None diff --git a/src/merge/resources/file_storage/__init__.py b/src/merge/resources/file_storage/__init__.py new file mode 100644 index 00000000..a30b07d8 --- /dev/null +++ b/src/merge/resources/file_storage/__init__.py @@ -0,0 +1,501 @@ +# This file was auto-generated by Fern from our API Definition. + +# isort: skip_file + +import typing +from importlib import import_module + +if typing.TYPE_CHECKING: + from .types import ( + AccountDetails, + AccountDetailsAndActions, + AccountDetailsAndActionsCategory, + AccountDetailsAndActionsIntegration, + AccountDetailsAndActionsStatus, + AccountDetailsAndActionsStatusEnum, + AccountDetailsCategory, + AccountIntegration, + AccountToken, + AdvancedMetadata, + AsyncPassthroughReciept, + AuditLogEvent, + AuditLogEventEventType, + AuditLogEventRole, + AvailableActions, + CategoriesEnum, + CategoryEnum, + CommonModelScopeApi, + CommonModelScopesBodyRequest, + DataPassthroughRequest, + DebugModeLog, + DebugModelLogSummary, + DownloadRequestMeta, + Drive, + EnabledActionsEnum, + EncodingEnum, + ErrorValidationProblem, + EventTypeEnum, + ExternalTargetFieldApi, + ExternalTargetFieldApiResponse, + FieldMappingApiInstance, + FieldMappingApiInstanceRemoteField, + FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo, + FieldMappingApiInstanceResponse, + FieldMappingApiInstanceTargetField, + FieldMappingInstanceResponse, + FieldPermissionDeserializer, + FieldPermissionDeserializerRequest, + File, + FileDrive, + FileFolder, + FilePermissions, + FilePermissionsTwoItem, + FileRequest, + FileRequestDrive, + FileRequestFolder, + FileRequestPermissions, + FileRequestPermissionsTwoItem, + FileStorageFileResponse, + FileStorageFolderResponse, + Folder, + FolderDrive, + FolderParentFolder, + FolderPermissions, + FolderPermissionsTwoItem, + FolderRequest, + FolderRequestDrive, + FolderRequestParentFolder, + FolderRequestPermissions, + FolderRequestPermissionsTwoItem, + Group, + GroupChildGroupsItem, + IndividualCommonModelScopeDeserializer, + IndividualCommonModelScopeDeserializerRequest, + Issue, + IssueStatus, + IssueStatusEnum, + LanguageEnum, + LastSyncResultEnum, + LinkToken, + LinkedAccountStatus, + MetaResponse, + MethodEnum, + ModelOperation, + ModelPermissionDeserializer, + ModelPermissionDeserializerRequest, + MultipartFormFieldRequest, + MultipartFormFieldRequestEncoding, + PaginatedAccountDetailsAndActionsList, + PaginatedAuditLogEventList, + PaginatedDownloadRequestMetaList, + PaginatedDriveList, + PaginatedFileList, + PaginatedFolderList, + PaginatedGroupList, + PaginatedIssueList, + PaginatedSyncStatusList, + PaginatedUserList, + Permission, + PermissionGroup, + PermissionRequest, + PermissionRequestGroup, + PermissionRequestRolesItem, + PermissionRequestType, + PermissionRequestUser, + PermissionRolesItem, + PermissionType, + PermissionUser, + RemoteData, + RemoteEndpointInfo, + RemoteFieldApi, + RemoteFieldApiCoverage, + RemoteFieldApiResponse, + RemoteKey, + RemoteResponse, + RemoteResponseResponseType, + RequestFormatEnum, + ResponseTypeEnum, + RoleEnum, + RolesEnum, + SelectiveSyncConfigurationsUsageEnum, + StatusFd5Enum, + SyncStatus, + SyncStatusLastSyncResult, + SyncStatusStatus, + TypeEnum, + User, + ValidationProblemSource, + WarningValidationProblem, + WebhookReceiver, + ) + from .resources import ( + AsyncPassthroughRetrieveResponse, + EndUserDetailsRequestLanguage, + FilesDownloadRequestMetaListRequestOrderBy, + FilesListRequestExpandItem, + FilesListRequestOrderBy, + FilesRetrieveRequestExpandItem, + FoldersListRequestExpandItem, + FoldersRetrieveRequestExpandItem, + GroupsListRequestExpandItem, + GroupsRetrieveRequestExpandItem, + IssuesListRequestStatus, + LinkedAccountsListRequestCategory, + account_details, + account_token, + async_passthrough, + audit_trail, + available_actions, + delete_account, + drives, + field_mapping, + files, + folders, + force_resync, + generate_key, + groups, + issues, + link_token, + linked_accounts, + passthrough, + regenerate_key, + scopes, + sync_status, + users, + webhook_receivers, + ) +_dynamic_imports: typing.Dict[str, str] = { + "AccountDetails": ".types", + "AccountDetailsAndActions": ".types", + "AccountDetailsAndActionsCategory": ".types", + "AccountDetailsAndActionsIntegration": ".types", + "AccountDetailsAndActionsStatus": ".types", + "AccountDetailsAndActionsStatusEnum": ".types", + "AccountDetailsCategory": ".types", + "AccountIntegration": ".types", + "AccountToken": ".types", + "AdvancedMetadata": ".types", + "AsyncPassthroughReciept": ".types", + "AsyncPassthroughRetrieveResponse": ".resources", + "AuditLogEvent": ".types", + "AuditLogEventEventType": ".types", + "AuditLogEventRole": ".types", + "AvailableActions": ".types", + "CategoriesEnum": ".types", + "CategoryEnum": ".types", + "CommonModelScopeApi": ".types", + "CommonModelScopesBodyRequest": ".types", + "DataPassthroughRequest": ".types", + "DebugModeLog": ".types", + "DebugModelLogSummary": ".types", + "DownloadRequestMeta": ".types", + "Drive": ".types", + "EnabledActionsEnum": ".types", + "EncodingEnum": ".types", + "EndUserDetailsRequestLanguage": ".resources", + "ErrorValidationProblem": ".types", + "EventTypeEnum": ".types", + "ExternalTargetFieldApi": ".types", + "ExternalTargetFieldApiResponse": ".types", + "FieldMappingApiInstance": ".types", + "FieldMappingApiInstanceRemoteField": ".types", + "FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo": ".types", + "FieldMappingApiInstanceResponse": ".types", + "FieldMappingApiInstanceTargetField": ".types", + "FieldMappingInstanceResponse": ".types", + "FieldPermissionDeserializer": ".types", + "FieldPermissionDeserializerRequest": ".types", + "File": ".types", + "FileDrive": ".types", + "FileFolder": ".types", + "FilePermissions": ".types", + "FilePermissionsTwoItem": ".types", + "FileRequest": ".types", + "FileRequestDrive": ".types", + "FileRequestFolder": ".types", + "FileRequestPermissions": ".types", + "FileRequestPermissionsTwoItem": ".types", + "FileStorageFileResponse": ".types", + "FileStorageFolderResponse": ".types", + "FilesDownloadRequestMetaListRequestOrderBy": ".resources", + "FilesListRequestExpandItem": ".resources", + "FilesListRequestOrderBy": ".resources", + "FilesRetrieveRequestExpandItem": ".resources", + "Folder": ".types", + "FolderDrive": ".types", + "FolderParentFolder": ".types", + "FolderPermissions": ".types", + "FolderPermissionsTwoItem": ".types", + "FolderRequest": ".types", + "FolderRequestDrive": ".types", + "FolderRequestParentFolder": ".types", + "FolderRequestPermissions": ".types", + "FolderRequestPermissionsTwoItem": ".types", + "FoldersListRequestExpandItem": ".resources", + "FoldersRetrieveRequestExpandItem": ".resources", + "Group": ".types", + "GroupChildGroupsItem": ".types", + "GroupsListRequestExpandItem": ".resources", + "GroupsRetrieveRequestExpandItem": ".resources", + "IndividualCommonModelScopeDeserializer": ".types", + "IndividualCommonModelScopeDeserializerRequest": ".types", + "Issue": ".types", + "IssueStatus": ".types", + "IssueStatusEnum": ".types", + "IssuesListRequestStatus": ".resources", + "LanguageEnum": ".types", + "LastSyncResultEnum": ".types", + "LinkToken": ".types", + "LinkedAccountStatus": ".types", + "LinkedAccountsListRequestCategory": ".resources", + "MetaResponse": ".types", + "MethodEnum": ".types", + "ModelOperation": ".types", + "ModelPermissionDeserializer": ".types", + "ModelPermissionDeserializerRequest": ".types", + "MultipartFormFieldRequest": ".types", + "MultipartFormFieldRequestEncoding": ".types", + "PaginatedAccountDetailsAndActionsList": ".types", + "PaginatedAuditLogEventList": ".types", + "PaginatedDownloadRequestMetaList": ".types", + "PaginatedDriveList": ".types", + "PaginatedFileList": ".types", + "PaginatedFolderList": ".types", + "PaginatedGroupList": ".types", + "PaginatedIssueList": ".types", + "PaginatedSyncStatusList": ".types", + "PaginatedUserList": ".types", + "Permission": ".types", + "PermissionGroup": ".types", + "PermissionRequest": ".types", + "PermissionRequestGroup": ".types", + "PermissionRequestRolesItem": ".types", + "PermissionRequestType": ".types", + "PermissionRequestUser": ".types", + "PermissionRolesItem": ".types", + "PermissionType": ".types", + "PermissionUser": ".types", + "RemoteData": ".types", + "RemoteEndpointInfo": ".types", + "RemoteFieldApi": ".types", + "RemoteFieldApiCoverage": ".types", + "RemoteFieldApiResponse": ".types", + "RemoteKey": ".types", + "RemoteResponse": ".types", + "RemoteResponseResponseType": ".types", + "RequestFormatEnum": ".types", + "ResponseTypeEnum": ".types", + "RoleEnum": ".types", + "RolesEnum": ".types", + "SelectiveSyncConfigurationsUsageEnum": ".types", + "StatusFd5Enum": ".types", + "SyncStatus": ".types", + "SyncStatusLastSyncResult": ".types", + "SyncStatusStatus": ".types", + "TypeEnum": ".types", + "User": ".types", + "ValidationProblemSource": ".types", + "WarningValidationProblem": ".types", + "WebhookReceiver": ".types", + "account_details": ".resources", + "account_token": ".resources", + "async_passthrough": ".resources", + "audit_trail": ".resources", + "available_actions": ".resources", + "delete_account": ".resources", + "drives": ".resources", + "field_mapping": ".resources", + "files": ".resources", + "folders": ".resources", + "force_resync": ".resources", + "generate_key": ".resources", + "groups": ".resources", + "issues": ".resources", + "link_token": ".resources", + "linked_accounts": ".resources", + "passthrough": ".resources", + "regenerate_key": ".resources", + "scopes": ".resources", + "sync_status": ".resources", + "users": ".resources", + "webhook_receivers": ".resources", +} + + +def __getattr__(attr_name: str) -> typing.Any: + module_name = _dynamic_imports.get(attr_name) + if module_name is None: + raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") + try: + module = import_module(module_name, __package__) + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) + except ImportError as e: + raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e + except AttributeError as e: + raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e + + +def __dir__(): + lazy_attrs = list(_dynamic_imports.keys()) + return sorted(lazy_attrs) + + +__all__ = [ + "AccountDetails", + "AccountDetailsAndActions", + "AccountDetailsAndActionsCategory", + "AccountDetailsAndActionsIntegration", + "AccountDetailsAndActionsStatus", + "AccountDetailsAndActionsStatusEnum", + "AccountDetailsCategory", + "AccountIntegration", + "AccountToken", + "AdvancedMetadata", + "AsyncPassthroughReciept", + "AsyncPassthroughRetrieveResponse", + "AuditLogEvent", + "AuditLogEventEventType", + "AuditLogEventRole", + "AvailableActions", + "CategoriesEnum", + "CategoryEnum", + "CommonModelScopeApi", + "CommonModelScopesBodyRequest", + "DataPassthroughRequest", + "DebugModeLog", + "DebugModelLogSummary", + "DownloadRequestMeta", + "Drive", + "EnabledActionsEnum", + "EncodingEnum", + "EndUserDetailsRequestLanguage", + "ErrorValidationProblem", + "EventTypeEnum", + "ExternalTargetFieldApi", + "ExternalTargetFieldApiResponse", + "FieldMappingApiInstance", + "FieldMappingApiInstanceRemoteField", + "FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo", + "FieldMappingApiInstanceResponse", + "FieldMappingApiInstanceTargetField", + "FieldMappingInstanceResponse", + "FieldPermissionDeserializer", + "FieldPermissionDeserializerRequest", + "File", + "FileDrive", + "FileFolder", + "FilePermissions", + "FilePermissionsTwoItem", + "FileRequest", + "FileRequestDrive", + "FileRequestFolder", + "FileRequestPermissions", + "FileRequestPermissionsTwoItem", + "FileStorageFileResponse", + "FileStorageFolderResponse", + "FilesDownloadRequestMetaListRequestOrderBy", + "FilesListRequestExpandItem", + "FilesListRequestOrderBy", + "FilesRetrieveRequestExpandItem", + "Folder", + "FolderDrive", + "FolderParentFolder", + "FolderPermissions", + "FolderPermissionsTwoItem", + "FolderRequest", + "FolderRequestDrive", + "FolderRequestParentFolder", + "FolderRequestPermissions", + "FolderRequestPermissionsTwoItem", + "FoldersListRequestExpandItem", + "FoldersRetrieveRequestExpandItem", + "Group", + "GroupChildGroupsItem", + "GroupsListRequestExpandItem", + "GroupsRetrieveRequestExpandItem", + "IndividualCommonModelScopeDeserializer", + "IndividualCommonModelScopeDeserializerRequest", + "Issue", + "IssueStatus", + "IssueStatusEnum", + "IssuesListRequestStatus", + "LanguageEnum", + "LastSyncResultEnum", + "LinkToken", + "LinkedAccountStatus", + "LinkedAccountsListRequestCategory", + "MetaResponse", + "MethodEnum", + "ModelOperation", + "ModelPermissionDeserializer", + "ModelPermissionDeserializerRequest", + "MultipartFormFieldRequest", + "MultipartFormFieldRequestEncoding", + "PaginatedAccountDetailsAndActionsList", + "PaginatedAuditLogEventList", + "PaginatedDownloadRequestMetaList", + "PaginatedDriveList", + "PaginatedFileList", + "PaginatedFolderList", + "PaginatedGroupList", + "PaginatedIssueList", + "PaginatedSyncStatusList", + "PaginatedUserList", + "Permission", + "PermissionGroup", + "PermissionRequest", + "PermissionRequestGroup", + "PermissionRequestRolesItem", + "PermissionRequestType", + "PermissionRequestUser", + "PermissionRolesItem", + "PermissionType", + "PermissionUser", + "RemoteData", + "RemoteEndpointInfo", + "RemoteFieldApi", + "RemoteFieldApiCoverage", + "RemoteFieldApiResponse", + "RemoteKey", + "RemoteResponse", + "RemoteResponseResponseType", + "RequestFormatEnum", + "ResponseTypeEnum", + "RoleEnum", + "RolesEnum", + "SelectiveSyncConfigurationsUsageEnum", + "StatusFd5Enum", + "SyncStatus", + "SyncStatusLastSyncResult", + "SyncStatusStatus", + "TypeEnum", + "User", + "ValidationProblemSource", + "WarningValidationProblem", + "WebhookReceiver", + "account_details", + "account_token", + "async_passthrough", + "audit_trail", + "available_actions", + "delete_account", + "drives", + "field_mapping", + "files", + "folders", + "force_resync", + "generate_key", + "groups", + "issues", + "link_token", + "linked_accounts", + "passthrough", + "regenerate_key", + "scopes", + "sync_status", + "users", + "webhook_receivers", +] diff --git a/src/merge/resources/file_storage/client.py b/src/merge/resources/file_storage/client.py new file mode 100644 index 00000000..1d7b5443 --- /dev/null +++ b/src/merge/resources/file_storage/client.py @@ -0,0 +1,480 @@ +# This file was auto-generated by Fern from our API Definition. + +from __future__ import annotations + +import typing + +from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .raw_client import AsyncRawFileStorageClient, RawFileStorageClient + +if typing.TYPE_CHECKING: + from .resources.account_details.client import AccountDetailsClient, AsyncAccountDetailsClient + from .resources.account_token.client import AccountTokenClient, AsyncAccountTokenClient + from .resources.async_passthrough.client import AsyncAsyncPassthroughClient + from .resources.async_passthrough.client import ( + AsyncPassthroughClient as resources_file_storage_resources_async_passthrough_client_AsyncPassthroughClient, + ) + from .resources.audit_trail.client import AsyncAuditTrailClient, AuditTrailClient + from .resources.available_actions.client import AsyncAvailableActionsClient, AvailableActionsClient + from .resources.delete_account.client import AsyncDeleteAccountClient, DeleteAccountClient + from .resources.drives.client import AsyncDrivesClient, DrivesClient + from .resources.field_mapping.client import AsyncFieldMappingClient, FieldMappingClient + from .resources.files.client import AsyncFilesClient, FilesClient + from .resources.folders.client import AsyncFoldersClient, FoldersClient + from .resources.force_resync.client import AsyncForceResyncClient, ForceResyncClient + from .resources.generate_key.client import AsyncGenerateKeyClient, GenerateKeyClient + from .resources.groups.client import AsyncGroupsClient, GroupsClient + from .resources.issues.client import AsyncIssuesClient, IssuesClient + from .resources.link_token.client import AsyncLinkTokenClient, LinkTokenClient + from .resources.linked_accounts.client import AsyncLinkedAccountsClient, LinkedAccountsClient + from .resources.passthrough.client import ( + AsyncPassthroughClient as resources_file_storage_resources_passthrough_client_AsyncPassthroughClient, + ) + from .resources.passthrough.client import PassthroughClient + from .resources.regenerate_key.client import AsyncRegenerateKeyClient, RegenerateKeyClient + from .resources.scopes.client import AsyncScopesClient, ScopesClient + from .resources.sync_status.client import AsyncSyncStatusClient, SyncStatusClient + from .resources.users.client import AsyncUsersClient, UsersClient + from .resources.webhook_receivers.client import AsyncWebhookReceiversClient, WebhookReceiversClient + + +class FileStorageClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._raw_client = RawFileStorageClient(client_wrapper=client_wrapper) + self._client_wrapper = client_wrapper + self._account_details: typing.Optional[AccountDetailsClient] = None + self._account_token: typing.Optional[AccountTokenClient] = None + self._async_passthrough: typing.Optional[ + resources_file_storage_resources_async_passthrough_client_AsyncPassthroughClient + ] = None + self._audit_trail: typing.Optional[AuditTrailClient] = None + self._available_actions: typing.Optional[AvailableActionsClient] = None + self._scopes: typing.Optional[ScopesClient] = None + self._delete_account: typing.Optional[DeleteAccountClient] = None + self._drives: typing.Optional[DrivesClient] = None + self._field_mapping: typing.Optional[FieldMappingClient] = None + self._files: typing.Optional[FilesClient] = None + self._folders: typing.Optional[FoldersClient] = None + self._generate_key: typing.Optional[GenerateKeyClient] = None + self._groups: typing.Optional[GroupsClient] = None + self._issues: typing.Optional[IssuesClient] = None + self._link_token: typing.Optional[LinkTokenClient] = None + self._linked_accounts: typing.Optional[LinkedAccountsClient] = None + self._passthrough: typing.Optional[PassthroughClient] = None + self._regenerate_key: typing.Optional[RegenerateKeyClient] = None + self._sync_status: typing.Optional[SyncStatusClient] = None + self._force_resync: typing.Optional[ForceResyncClient] = None + self._users: typing.Optional[UsersClient] = None + self._webhook_receivers: typing.Optional[WebhookReceiversClient] = None + + @property + def with_raw_response(self) -> RawFileStorageClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + RawFileStorageClient + """ + return self._raw_client + + @property + def account_details(self): + if self._account_details is None: + from .resources.account_details.client import AccountDetailsClient # noqa: E402 + + self._account_details = AccountDetailsClient(client_wrapper=self._client_wrapper) + return self._account_details + + @property + def account_token(self): + if self._account_token is None: + from .resources.account_token.client import AccountTokenClient # noqa: E402 + + self._account_token = AccountTokenClient(client_wrapper=self._client_wrapper) + return self._account_token + + @property + def async_passthrough(self): + if self._async_passthrough is None: + from .resources.async_passthrough.client import ( + AsyncPassthroughClient as resources_file_storage_resources_async_passthrough_client_AsyncPassthroughClient, # noqa: E402 + ) + + self._async_passthrough = resources_file_storage_resources_async_passthrough_client_AsyncPassthroughClient( + client_wrapper=self._client_wrapper + ) + return self._async_passthrough + + @property + def audit_trail(self): + if self._audit_trail is None: + from .resources.audit_trail.client import AuditTrailClient # noqa: E402 + + self._audit_trail = AuditTrailClient(client_wrapper=self._client_wrapper) + return self._audit_trail + + @property + def available_actions(self): + if self._available_actions is None: + from .resources.available_actions.client import AvailableActionsClient # noqa: E402 + + self._available_actions = AvailableActionsClient(client_wrapper=self._client_wrapper) + return self._available_actions + + @property + def scopes(self): + if self._scopes is None: + from .resources.scopes.client import ScopesClient # noqa: E402 + + self._scopes = ScopesClient(client_wrapper=self._client_wrapper) + return self._scopes + + @property + def delete_account(self): + if self._delete_account is None: + from .resources.delete_account.client import DeleteAccountClient # noqa: E402 + + self._delete_account = DeleteAccountClient(client_wrapper=self._client_wrapper) + return self._delete_account + + @property + def drives(self): + if self._drives is None: + from .resources.drives.client import DrivesClient # noqa: E402 + + self._drives = DrivesClient(client_wrapper=self._client_wrapper) + return self._drives + + @property + def field_mapping(self): + if self._field_mapping is None: + from .resources.field_mapping.client import FieldMappingClient # noqa: E402 + + self._field_mapping = FieldMappingClient(client_wrapper=self._client_wrapper) + return self._field_mapping + + @property + def files(self): + if self._files is None: + from .resources.files.client import FilesClient # noqa: E402 + + self._files = FilesClient(client_wrapper=self._client_wrapper) + return self._files + + @property + def folders(self): + if self._folders is None: + from .resources.folders.client import FoldersClient # noqa: E402 + + self._folders = FoldersClient(client_wrapper=self._client_wrapper) + return self._folders + + @property + def generate_key(self): + if self._generate_key is None: + from .resources.generate_key.client import GenerateKeyClient # noqa: E402 + + self._generate_key = GenerateKeyClient(client_wrapper=self._client_wrapper) + return self._generate_key + + @property + def groups(self): + if self._groups is None: + from .resources.groups.client import GroupsClient # noqa: E402 + + self._groups = GroupsClient(client_wrapper=self._client_wrapper) + return self._groups + + @property + def issues(self): + if self._issues is None: + from .resources.issues.client import IssuesClient # noqa: E402 + + self._issues = IssuesClient(client_wrapper=self._client_wrapper) + return self._issues + + @property + def link_token(self): + if self._link_token is None: + from .resources.link_token.client import LinkTokenClient # noqa: E402 + + self._link_token = LinkTokenClient(client_wrapper=self._client_wrapper) + return self._link_token + + @property + def linked_accounts(self): + if self._linked_accounts is None: + from .resources.linked_accounts.client import LinkedAccountsClient # noqa: E402 + + self._linked_accounts = LinkedAccountsClient(client_wrapper=self._client_wrapper) + return self._linked_accounts + + @property + def passthrough(self): + if self._passthrough is None: + from .resources.passthrough.client import PassthroughClient # noqa: E402 + + self._passthrough = PassthroughClient(client_wrapper=self._client_wrapper) + return self._passthrough + + @property + def regenerate_key(self): + if self._regenerate_key is None: + from .resources.regenerate_key.client import RegenerateKeyClient # noqa: E402 + + self._regenerate_key = RegenerateKeyClient(client_wrapper=self._client_wrapper) + return self._regenerate_key + + @property + def sync_status(self): + if self._sync_status is None: + from .resources.sync_status.client import SyncStatusClient # noqa: E402 + + self._sync_status = SyncStatusClient(client_wrapper=self._client_wrapper) + return self._sync_status + + @property + def force_resync(self): + if self._force_resync is None: + from .resources.force_resync.client import ForceResyncClient # noqa: E402 + + self._force_resync = ForceResyncClient(client_wrapper=self._client_wrapper) + return self._force_resync + + @property + def users(self): + if self._users is None: + from .resources.users.client import UsersClient # noqa: E402 + + self._users = UsersClient(client_wrapper=self._client_wrapper) + return self._users + + @property + def webhook_receivers(self): + if self._webhook_receivers is None: + from .resources.webhook_receivers.client import WebhookReceiversClient # noqa: E402 + + self._webhook_receivers = WebhookReceiversClient(client_wrapper=self._client_wrapper) + return self._webhook_receivers + + +class AsyncFileStorageClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._raw_client = AsyncRawFileStorageClient(client_wrapper=client_wrapper) + self._client_wrapper = client_wrapper + self._account_details: typing.Optional[AsyncAccountDetailsClient] = None + self._account_token: typing.Optional[AsyncAccountTokenClient] = None + self._async_passthrough: typing.Optional[AsyncAsyncPassthroughClient] = None + self._audit_trail: typing.Optional[AsyncAuditTrailClient] = None + self._available_actions: typing.Optional[AsyncAvailableActionsClient] = None + self._scopes: typing.Optional[AsyncScopesClient] = None + self._delete_account: typing.Optional[AsyncDeleteAccountClient] = None + self._drives: typing.Optional[AsyncDrivesClient] = None + self._field_mapping: typing.Optional[AsyncFieldMappingClient] = None + self._files: typing.Optional[AsyncFilesClient] = None + self._folders: typing.Optional[AsyncFoldersClient] = None + self._generate_key: typing.Optional[AsyncGenerateKeyClient] = None + self._groups: typing.Optional[AsyncGroupsClient] = None + self._issues: typing.Optional[AsyncIssuesClient] = None + self._link_token: typing.Optional[AsyncLinkTokenClient] = None + self._linked_accounts: typing.Optional[AsyncLinkedAccountsClient] = None + self._passthrough: typing.Optional[ + resources_file_storage_resources_passthrough_client_AsyncPassthroughClient + ] = None + self._regenerate_key: typing.Optional[AsyncRegenerateKeyClient] = None + self._sync_status: typing.Optional[AsyncSyncStatusClient] = None + self._force_resync: typing.Optional[AsyncForceResyncClient] = None + self._users: typing.Optional[AsyncUsersClient] = None + self._webhook_receivers: typing.Optional[AsyncWebhookReceiversClient] = None + + @property + def with_raw_response(self) -> AsyncRawFileStorageClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + AsyncRawFileStorageClient + """ + return self._raw_client + + @property + def account_details(self): + if self._account_details is None: + from .resources.account_details.client import AsyncAccountDetailsClient # noqa: E402 + + self._account_details = AsyncAccountDetailsClient(client_wrapper=self._client_wrapper) + return self._account_details + + @property + def account_token(self): + if self._account_token is None: + from .resources.account_token.client import AsyncAccountTokenClient # noqa: E402 + + self._account_token = AsyncAccountTokenClient(client_wrapper=self._client_wrapper) + return self._account_token + + @property + def async_passthrough(self): + if self._async_passthrough is None: + from .resources.async_passthrough.client import AsyncAsyncPassthroughClient # noqa: E402 + + self._async_passthrough = AsyncAsyncPassthroughClient(client_wrapper=self._client_wrapper) + return self._async_passthrough + + @property + def audit_trail(self): + if self._audit_trail is None: + from .resources.audit_trail.client import AsyncAuditTrailClient # noqa: E402 + + self._audit_trail = AsyncAuditTrailClient(client_wrapper=self._client_wrapper) + return self._audit_trail + + @property + def available_actions(self): + if self._available_actions is None: + from .resources.available_actions.client import AsyncAvailableActionsClient # noqa: E402 + + self._available_actions = AsyncAvailableActionsClient(client_wrapper=self._client_wrapper) + return self._available_actions + + @property + def scopes(self): + if self._scopes is None: + from .resources.scopes.client import AsyncScopesClient # noqa: E402 + + self._scopes = AsyncScopesClient(client_wrapper=self._client_wrapper) + return self._scopes + + @property + def delete_account(self): + if self._delete_account is None: + from .resources.delete_account.client import AsyncDeleteAccountClient # noqa: E402 + + self._delete_account = AsyncDeleteAccountClient(client_wrapper=self._client_wrapper) + return self._delete_account + + @property + def drives(self): + if self._drives is None: + from .resources.drives.client import AsyncDrivesClient # noqa: E402 + + self._drives = AsyncDrivesClient(client_wrapper=self._client_wrapper) + return self._drives + + @property + def field_mapping(self): + if self._field_mapping is None: + from .resources.field_mapping.client import AsyncFieldMappingClient # noqa: E402 + + self._field_mapping = AsyncFieldMappingClient(client_wrapper=self._client_wrapper) + return self._field_mapping + + @property + def files(self): + if self._files is None: + from .resources.files.client import AsyncFilesClient # noqa: E402 + + self._files = AsyncFilesClient(client_wrapper=self._client_wrapper) + return self._files + + @property + def folders(self): + if self._folders is None: + from .resources.folders.client import AsyncFoldersClient # noqa: E402 + + self._folders = AsyncFoldersClient(client_wrapper=self._client_wrapper) + return self._folders + + @property + def generate_key(self): + if self._generate_key is None: + from .resources.generate_key.client import AsyncGenerateKeyClient # noqa: E402 + + self._generate_key = AsyncGenerateKeyClient(client_wrapper=self._client_wrapper) + return self._generate_key + + @property + def groups(self): + if self._groups is None: + from .resources.groups.client import AsyncGroupsClient # noqa: E402 + + self._groups = AsyncGroupsClient(client_wrapper=self._client_wrapper) + return self._groups + + @property + def issues(self): + if self._issues is None: + from .resources.issues.client import AsyncIssuesClient # noqa: E402 + + self._issues = AsyncIssuesClient(client_wrapper=self._client_wrapper) + return self._issues + + @property + def link_token(self): + if self._link_token is None: + from .resources.link_token.client import AsyncLinkTokenClient # noqa: E402 + + self._link_token = AsyncLinkTokenClient(client_wrapper=self._client_wrapper) + return self._link_token + + @property + def linked_accounts(self): + if self._linked_accounts is None: + from .resources.linked_accounts.client import AsyncLinkedAccountsClient # noqa: E402 + + self._linked_accounts = AsyncLinkedAccountsClient(client_wrapper=self._client_wrapper) + return self._linked_accounts + + @property + def passthrough(self): + if self._passthrough is None: + from .resources.passthrough.client import ( + AsyncPassthroughClient as resources_file_storage_resources_passthrough_client_AsyncPassthroughClient, # noqa: E402 + ) + + self._passthrough = resources_file_storage_resources_passthrough_client_AsyncPassthroughClient( + client_wrapper=self._client_wrapper + ) + return self._passthrough + + @property + def regenerate_key(self): + if self._regenerate_key is None: + from .resources.regenerate_key.client import AsyncRegenerateKeyClient # noqa: E402 + + self._regenerate_key = AsyncRegenerateKeyClient(client_wrapper=self._client_wrapper) + return self._regenerate_key + + @property + def sync_status(self): + if self._sync_status is None: + from .resources.sync_status.client import AsyncSyncStatusClient # noqa: E402 + + self._sync_status = AsyncSyncStatusClient(client_wrapper=self._client_wrapper) + return self._sync_status + + @property + def force_resync(self): + if self._force_resync is None: + from .resources.force_resync.client import AsyncForceResyncClient # noqa: E402 + + self._force_resync = AsyncForceResyncClient(client_wrapper=self._client_wrapper) + return self._force_resync + + @property + def users(self): + if self._users is None: + from .resources.users.client import AsyncUsersClient # noqa: E402 + + self._users = AsyncUsersClient(client_wrapper=self._client_wrapper) + return self._users + + @property + def webhook_receivers(self): + if self._webhook_receivers is None: + from .resources.webhook_receivers.client import AsyncWebhookReceiversClient # noqa: E402 + + self._webhook_receivers = AsyncWebhookReceiversClient(client_wrapper=self._client_wrapper) + return self._webhook_receivers diff --git a/src/merge/resources/file_storage/raw_client.py b/src/merge/resources/file_storage/raw_client.py new file mode 100644 index 00000000..61d41c81 --- /dev/null +++ b/src/merge/resources/file_storage/raw_client.py @@ -0,0 +1,13 @@ +# This file was auto-generated by Fern from our API Definition. + +from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper + + +class RawFileStorageClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._client_wrapper = client_wrapper + + +class AsyncRawFileStorageClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._client_wrapper = client_wrapper diff --git a/src/merge/resources/file_storage/resources/__init__.py b/src/merge/resources/file_storage/resources/__init__.py new file mode 100644 index 00000000..d62237c1 --- /dev/null +++ b/src/merge/resources/file_storage/resources/__init__.py @@ -0,0 +1,139 @@ +# This file was auto-generated by Fern from our API Definition. + +# isort: skip_file + +import typing +from importlib import import_module + +if typing.TYPE_CHECKING: + from . import ( + account_details, + account_token, + async_passthrough, + audit_trail, + available_actions, + delete_account, + drives, + field_mapping, + files, + folders, + force_resync, + generate_key, + groups, + issues, + link_token, + linked_accounts, + passthrough, + regenerate_key, + scopes, + sync_status, + users, + webhook_receivers, + ) + from .async_passthrough import AsyncPassthroughRetrieveResponse + from .files import ( + FilesDownloadRequestMetaListRequestOrderBy, + FilesListRequestExpandItem, + FilesListRequestOrderBy, + FilesRetrieveRequestExpandItem, + ) + from .folders import FoldersListRequestExpandItem, FoldersRetrieveRequestExpandItem + from .groups import GroupsListRequestExpandItem, GroupsRetrieveRequestExpandItem + from .issues import IssuesListRequestStatus + from .link_token import EndUserDetailsRequestLanguage + from .linked_accounts import LinkedAccountsListRequestCategory +_dynamic_imports: typing.Dict[str, str] = { + "AsyncPassthroughRetrieveResponse": ".async_passthrough", + "EndUserDetailsRequestLanguage": ".link_token", + "FilesDownloadRequestMetaListRequestOrderBy": ".files", + "FilesListRequestExpandItem": ".files", + "FilesListRequestOrderBy": ".files", + "FilesRetrieveRequestExpandItem": ".files", + "FoldersListRequestExpandItem": ".folders", + "FoldersRetrieveRequestExpandItem": ".folders", + "GroupsListRequestExpandItem": ".groups", + "GroupsRetrieveRequestExpandItem": ".groups", + "IssuesListRequestStatus": ".issues", + "LinkedAccountsListRequestCategory": ".linked_accounts", + "account_details": ".account_details", + "account_token": ".account_token", + "async_passthrough": ".async_passthrough", + "audit_trail": ".audit_trail", + "available_actions": ".available_actions", + "delete_account": ".delete_account", + "drives": ".drives", + "field_mapping": ".field_mapping", + "files": ".files", + "folders": ".folders", + "force_resync": ".force_resync", + "generate_key": ".generate_key", + "groups": ".groups", + "issues": ".issues", + "link_token": ".link_token", + "linked_accounts": ".linked_accounts", + "passthrough": ".passthrough", + "regenerate_key": ".regenerate_key", + "scopes": ".scopes", + "sync_status": ".sync_status", + "users": ".users", + "webhook_receivers": ".webhook_receivers", +} + + +def __getattr__(attr_name: str) -> typing.Any: + module_name = _dynamic_imports.get(attr_name) + if module_name is None: + raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") + try: + module = import_module(module_name, __package__) + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) + except ImportError as e: + raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e + except AttributeError as e: + raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e + + +def __dir__(): + lazy_attrs = list(_dynamic_imports.keys()) + return sorted(lazy_attrs) + + +__all__ = [ + "AsyncPassthroughRetrieveResponse", + "EndUserDetailsRequestLanguage", + "FilesDownloadRequestMetaListRequestOrderBy", + "FilesListRequestExpandItem", + "FilesListRequestOrderBy", + "FilesRetrieveRequestExpandItem", + "FoldersListRequestExpandItem", + "FoldersRetrieveRequestExpandItem", + "GroupsListRequestExpandItem", + "GroupsRetrieveRequestExpandItem", + "IssuesListRequestStatus", + "LinkedAccountsListRequestCategory", + "account_details", + "account_token", + "async_passthrough", + "audit_trail", + "available_actions", + "delete_account", + "drives", + "field_mapping", + "files", + "folders", + "force_resync", + "generate_key", + "groups", + "issues", + "link_token", + "linked_accounts", + "passthrough", + "regenerate_key", + "scopes", + "sync_status", + "users", + "webhook_receivers", +] diff --git a/src/merge/resources/chat/resources/account_details/__init__.py b/src/merge/resources/file_storage/resources/account_details/__init__.py similarity index 100% rename from src/merge/resources/chat/resources/account_details/__init__.py rename to src/merge/resources/file_storage/resources/account_details/__init__.py diff --git a/src/merge/resources/file_storage/resources/account_details/client.py b/src/merge/resources/file_storage/resources/account_details/client.py new file mode 100644 index 00000000..a312ae7a --- /dev/null +++ b/src/merge/resources/file_storage/resources/account_details/client.py @@ -0,0 +1,102 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.request_options import RequestOptions +from ...types.account_details import AccountDetails +from .raw_client import AsyncRawAccountDetailsClient, RawAccountDetailsClient + + +class AccountDetailsClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._raw_client = RawAccountDetailsClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> RawAccountDetailsClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + RawAccountDetailsClient + """ + return self._raw_client + + def retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> AccountDetails: + """ + Get details for a linked account. + + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AccountDetails + + + Examples + -------- + from merge import Merge + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + client.file_storage.account_details.retrieve() + """ + _response = self._raw_client.retrieve(request_options=request_options) + return _response.data + + +class AsyncAccountDetailsClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._raw_client = AsyncRawAccountDetailsClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> AsyncRawAccountDetailsClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + AsyncRawAccountDetailsClient + """ + return self._raw_client + + async def retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> AccountDetails: + """ + Get details for a linked account. + + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AccountDetails + + + Examples + -------- + import asyncio + + from merge import AsyncMerge + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + await client.file_storage.account_details.retrieve() + + + asyncio.run(main()) + """ + _response = await self._raw_client.retrieve(request_options=request_options) + return _response.data diff --git a/src/merge/resources/filestorage/resources/account_details/raw_client.py b/src/merge/resources/file_storage/resources/account_details/raw_client.py similarity index 100% rename from src/merge/resources/filestorage/resources/account_details/raw_client.py rename to src/merge/resources/file_storage/resources/account_details/raw_client.py diff --git a/src/merge/resources/chat/resources/account_token/__init__.py b/src/merge/resources/file_storage/resources/account_token/__init__.py similarity index 100% rename from src/merge/resources/chat/resources/account_token/__init__.py rename to src/merge/resources/file_storage/resources/account_token/__init__.py diff --git a/src/merge/resources/file_storage/resources/account_token/client.py b/src/merge/resources/file_storage/resources/account_token/client.py new file mode 100644 index 00000000..72685d62 --- /dev/null +++ b/src/merge/resources/file_storage/resources/account_token/client.py @@ -0,0 +1,112 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.request_options import RequestOptions +from ...types.account_token import AccountToken +from .raw_client import AsyncRawAccountTokenClient, RawAccountTokenClient + + +class AccountTokenClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._raw_client = RawAccountTokenClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> RawAccountTokenClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + RawAccountTokenClient + """ + return self._raw_client + + def retrieve(self, public_token: str, *, request_options: typing.Optional[RequestOptions] = None) -> AccountToken: + """ + Returns the account token for the end user with the provided public token. + + Parameters + ---------- + public_token : str + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AccountToken + + + Examples + -------- + from merge import Merge + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + client.file_storage.account_token.retrieve( + public_token="public_token", + ) + """ + _response = self._raw_client.retrieve(public_token, request_options=request_options) + return _response.data + + +class AsyncAccountTokenClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._raw_client = AsyncRawAccountTokenClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> AsyncRawAccountTokenClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + AsyncRawAccountTokenClient + """ + return self._raw_client + + async def retrieve( + self, public_token: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> AccountToken: + """ + Returns the account token for the end user with the provided public token. + + Parameters + ---------- + public_token : str + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AccountToken + + + Examples + -------- + import asyncio + + from merge import AsyncMerge + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + await client.file_storage.account_token.retrieve( + public_token="public_token", + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.retrieve(public_token, request_options=request_options) + return _response.data diff --git a/src/merge/resources/filestorage/resources/account_token/raw_client.py b/src/merge/resources/file_storage/resources/account_token/raw_client.py similarity index 100% rename from src/merge/resources/filestorage/resources/account_token/raw_client.py rename to src/merge/resources/file_storage/resources/account_token/raw_client.py diff --git a/src/merge/resources/file_storage/resources/async_passthrough/__init__.py b/src/merge/resources/file_storage/resources/async_passthrough/__init__.py new file mode 100644 index 00000000..11090986 --- /dev/null +++ b/src/merge/resources/file_storage/resources/async_passthrough/__init__.py @@ -0,0 +1,34 @@ +# This file was auto-generated by Fern from our API Definition. + +# isort: skip_file + +import typing +from importlib import import_module + +if typing.TYPE_CHECKING: + from .types import AsyncPassthroughRetrieveResponse +_dynamic_imports: typing.Dict[str, str] = {"AsyncPassthroughRetrieveResponse": ".types"} + + +def __getattr__(attr_name: str) -> typing.Any: + module_name = _dynamic_imports.get(attr_name) + if module_name is None: + raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") + try: + module = import_module(module_name, __package__) + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) + except ImportError as e: + raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e + except AttributeError as e: + raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e + + +def __dir__(): + lazy_attrs = list(_dynamic_imports.keys()) + return sorted(lazy_attrs) + + +__all__ = ["AsyncPassthroughRetrieveResponse"] diff --git a/src/merge/resources/file_storage/resources/async_passthrough/client.py b/src/merge/resources/file_storage/resources/async_passthrough/client.py new file mode 100644 index 00000000..ecd960b3 --- /dev/null +++ b/src/merge/resources/file_storage/resources/async_passthrough/client.py @@ -0,0 +1,201 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.request_options import RequestOptions +from ...types.async_passthrough_reciept import AsyncPassthroughReciept +from ...types.data_passthrough_request import DataPassthroughRequest +from .raw_client import AsyncRawAsyncPassthroughClient, RawAsyncPassthroughClient +from .types.async_passthrough_retrieve_response import AsyncPassthroughRetrieveResponse + +# this is used as the default value for optional parameters +OMIT = typing.cast(typing.Any, ...) + + +class AsyncPassthroughClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._raw_client = RawAsyncPassthroughClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> RawAsyncPassthroughClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + RawAsyncPassthroughClient + """ + return self._raw_client + + def create( + self, *, request: DataPassthroughRequest, request_options: typing.Optional[RequestOptions] = None + ) -> AsyncPassthroughReciept: + """ + Asynchronously pull data from an endpoint not currently supported by Merge. + + Parameters + ---------- + request : DataPassthroughRequest + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncPassthroughReciept + + + Examples + -------- + from merge import Merge + from merge.resources.file_storage import DataPassthroughRequest, MethodEnum + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + client.file_storage.async_passthrough.create( + request=DataPassthroughRequest( + method=MethodEnum.GET, + path="/scooters", + ), + ) + """ + _response = self._raw_client.create(request=request, request_options=request_options) + return _response.data + + def retrieve( + self, async_passthrough_receipt_id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> AsyncPassthroughRetrieveResponse: + """ + Retrieves data from earlier async-passthrough POST request + + Parameters + ---------- + async_passthrough_receipt_id : str + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncPassthroughRetrieveResponse + + + Examples + -------- + from merge import Merge + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + client.file_storage.async_passthrough.retrieve( + async_passthrough_receipt_id="async_passthrough_receipt_id", + ) + """ + _response = self._raw_client.retrieve(async_passthrough_receipt_id, request_options=request_options) + return _response.data + + +class AsyncAsyncPassthroughClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._raw_client = AsyncRawAsyncPassthroughClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> AsyncRawAsyncPassthroughClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + AsyncRawAsyncPassthroughClient + """ + return self._raw_client + + async def create( + self, *, request: DataPassthroughRequest, request_options: typing.Optional[RequestOptions] = None + ) -> AsyncPassthroughReciept: + """ + Asynchronously pull data from an endpoint not currently supported by Merge. + + Parameters + ---------- + request : DataPassthroughRequest + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncPassthroughReciept + + + Examples + -------- + import asyncio + + from merge import AsyncMerge + from merge.resources.file_storage import DataPassthroughRequest, MethodEnum + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + await client.file_storage.async_passthrough.create( + request=DataPassthroughRequest( + method=MethodEnum.GET, + path="/scooters", + ), + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.create(request=request, request_options=request_options) + return _response.data + + async def retrieve( + self, async_passthrough_receipt_id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> AsyncPassthroughRetrieveResponse: + """ + Retrieves data from earlier async-passthrough POST request + + Parameters + ---------- + async_passthrough_receipt_id : str + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncPassthroughRetrieveResponse + + + Examples + -------- + import asyncio + + from merge import AsyncMerge + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + await client.file_storage.async_passthrough.retrieve( + async_passthrough_receipt_id="async_passthrough_receipt_id", + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.retrieve(async_passthrough_receipt_id, request_options=request_options) + return _response.data diff --git a/src/merge/resources/filestorage/resources/async_passthrough/raw_client.py b/src/merge/resources/file_storage/resources/async_passthrough/raw_client.py similarity index 100% rename from src/merge/resources/filestorage/resources/async_passthrough/raw_client.py rename to src/merge/resources/file_storage/resources/async_passthrough/raw_client.py diff --git a/src/merge/resources/file_storage/resources/async_passthrough/types/__init__.py b/src/merge/resources/file_storage/resources/async_passthrough/types/__init__.py new file mode 100644 index 00000000..dc335400 --- /dev/null +++ b/src/merge/resources/file_storage/resources/async_passthrough/types/__init__.py @@ -0,0 +1,34 @@ +# This file was auto-generated by Fern from our API Definition. + +# isort: skip_file + +import typing +from importlib import import_module + +if typing.TYPE_CHECKING: + from .async_passthrough_retrieve_response import AsyncPassthroughRetrieveResponse +_dynamic_imports: typing.Dict[str, str] = {"AsyncPassthroughRetrieveResponse": ".async_passthrough_retrieve_response"} + + +def __getattr__(attr_name: str) -> typing.Any: + module_name = _dynamic_imports.get(attr_name) + if module_name is None: + raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") + try: + module = import_module(module_name, __package__) + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) + except ImportError as e: + raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e + except AttributeError as e: + raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e + + +def __dir__(): + lazy_attrs = list(_dynamic_imports.keys()) + return sorted(lazy_attrs) + + +__all__ = ["AsyncPassthroughRetrieveResponse"] diff --git a/src/merge/resources/chat/resources/async_passthrough/types/async_passthrough_retrieve_response.py b/src/merge/resources/file_storage/resources/async_passthrough/types/async_passthrough_retrieve_response.py similarity index 100% rename from src/merge/resources/chat/resources/async_passthrough/types/async_passthrough_retrieve_response.py rename to src/merge/resources/file_storage/resources/async_passthrough/types/async_passthrough_retrieve_response.py diff --git a/src/merge/resources/chat/resources/audit_trail/__init__.py b/src/merge/resources/file_storage/resources/audit_trail/__init__.py similarity index 100% rename from src/merge/resources/chat/resources/audit_trail/__init__.py rename to src/merge/resources/file_storage/resources/audit_trail/__init__.py diff --git a/src/merge/resources/file_storage/resources/audit_trail/client.py b/src/merge/resources/file_storage/resources/audit_trail/client.py new file mode 100644 index 00000000..be0bfa6d --- /dev/null +++ b/src/merge/resources/file_storage/resources/audit_trail/client.py @@ -0,0 +1,189 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager +from .....core.request_options import RequestOptions +from ...types.audit_log_event import AuditLogEvent +from ...types.paginated_audit_log_event_list import PaginatedAuditLogEventList +from .raw_client import AsyncRawAuditTrailClient, RawAuditTrailClient + + +class AuditTrailClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._raw_client = RawAuditTrailClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> RawAuditTrailClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + RawAuditTrailClient + """ + return self._raw_client + + def list( + self, + *, + cursor: typing.Optional[str] = None, + end_date: typing.Optional[str] = None, + event_type: typing.Optional[str] = None, + page_size: typing.Optional[int] = None, + start_date: typing.Optional[str] = None, + user_email: typing.Optional[str] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> SyncPager[AuditLogEvent, PaginatedAuditLogEventList]: + """ + Gets a list of audit trail events. + + Parameters + ---------- + cursor : typing.Optional[str] + The pagination cursor value. + + end_date : typing.Optional[str] + If included, will only include audit trail events that occurred before this time + + event_type : typing.Optional[str] + If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` + + page_size : typing.Optional[int] + Number of results to return per page. + + start_date : typing.Optional[str] + If included, will only include audit trail events that occurred after this time + + user_email : typing.Optional[str] + If provided, this will return events associated with the specified user email. Please note that the email address reflects the user's email at the time of the event, and may not be their current email. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SyncPager[AuditLogEvent, PaginatedAuditLogEventList] + + + Examples + -------- + from merge import Merge + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + response = client.file_storage.audit_trail.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page + """ + return self._raw_client.list( + cursor=cursor, + end_date=end_date, + event_type=event_type, + page_size=page_size, + start_date=start_date, + user_email=user_email, + request_options=request_options, + ) + + +class AsyncAuditTrailClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._raw_client = AsyncRawAuditTrailClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> AsyncRawAuditTrailClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + AsyncRawAuditTrailClient + """ + return self._raw_client + + async def list( + self, + *, + cursor: typing.Optional[str] = None, + end_date: typing.Optional[str] = None, + event_type: typing.Optional[str] = None, + page_size: typing.Optional[int] = None, + start_date: typing.Optional[str] = None, + user_email: typing.Optional[str] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncPager[AuditLogEvent, PaginatedAuditLogEventList]: + """ + Gets a list of audit trail events. + + Parameters + ---------- + cursor : typing.Optional[str] + The pagination cursor value. + + end_date : typing.Optional[str] + If included, will only include audit trail events that occurred before this time + + event_type : typing.Optional[str] + If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` + + page_size : typing.Optional[int] + Number of results to return per page. + + start_date : typing.Optional[str] + If included, will only include audit trail events that occurred after this time + + user_email : typing.Optional[str] + If provided, this will return events associated with the specified user email. Please note that the email address reflects the user's email at the time of the event, and may not be their current email. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncPager[AuditLogEvent, PaginatedAuditLogEventList] + + + Examples + -------- + import asyncio + + from merge import AsyncMerge + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + response = await client.file_storage.audit_trail.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page + + + asyncio.run(main()) + """ + return await self._raw_client.list( + cursor=cursor, + end_date=end_date, + event_type=event_type, + page_size=page_size, + start_date=start_date, + user_email=user_email, + request_options=request_options, + ) diff --git a/src/merge/resources/file_storage/resources/audit_trail/raw_client.py b/src/merge/resources/file_storage/resources/audit_trail/raw_client.py new file mode 100644 index 00000000..f9977802 --- /dev/null +++ b/src/merge/resources/file_storage/resources/audit_trail/raw_client.py @@ -0,0 +1,189 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing +from json.decoder import JSONDecodeError + +from .....core.api_error import ApiError +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager +from .....core.request_options import RequestOptions +from .....core.unchecked_base_model import construct_type +from ...types.audit_log_event import AuditLogEvent +from ...types.paginated_audit_log_event_list import PaginatedAuditLogEventList + + +class RawAuditTrailClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._client_wrapper = client_wrapper + + def list( + self, + *, + cursor: typing.Optional[str] = None, + end_date: typing.Optional[str] = None, + event_type: typing.Optional[str] = None, + page_size: typing.Optional[int] = None, + start_date: typing.Optional[str] = None, + user_email: typing.Optional[str] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> SyncPager[AuditLogEvent, PaginatedAuditLogEventList]: + """ + Gets a list of audit trail events. + + Parameters + ---------- + cursor : typing.Optional[str] + The pagination cursor value. + + end_date : typing.Optional[str] + If included, will only include audit trail events that occurred before this time + + event_type : typing.Optional[str] + If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` + + page_size : typing.Optional[int] + Number of results to return per page. + + start_date : typing.Optional[str] + If included, will only include audit trail events that occurred after this time + + user_email : typing.Optional[str] + If provided, this will return events associated with the specified user email. Please note that the email address reflects the user's email at the time of the event, and may not be their current email. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SyncPager[AuditLogEvent, PaginatedAuditLogEventList] + + """ + _response = self._client_wrapper.httpx_client.request( + "filestorage/v1/audit-trail", + method="GET", + params={ + "cursor": cursor, + "end_date": end_date, + "event_type": event_type, + "page_size": page_size, + "start_date": start_date, + "user_email": user_email, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _parsed_response = typing.cast( + PaginatedAuditLogEventList, + construct_type( + type_=PaginatedAuditLogEventList, # type: ignore + object_=_response.json(), + ), + ) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + cursor=_parsed_next, + end_date=end_date, + event_type=event_type, + page_size=page_size, + start_date=start_date, + user_email=user_email, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + +class AsyncRawAuditTrailClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._client_wrapper = client_wrapper + + async def list( + self, + *, + cursor: typing.Optional[str] = None, + end_date: typing.Optional[str] = None, + event_type: typing.Optional[str] = None, + page_size: typing.Optional[int] = None, + start_date: typing.Optional[str] = None, + user_email: typing.Optional[str] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncPager[AuditLogEvent, PaginatedAuditLogEventList]: + """ + Gets a list of audit trail events. + + Parameters + ---------- + cursor : typing.Optional[str] + The pagination cursor value. + + end_date : typing.Optional[str] + If included, will only include audit trail events that occurred before this time + + event_type : typing.Optional[str] + If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` + + page_size : typing.Optional[int] + Number of results to return per page. + + start_date : typing.Optional[str] + If included, will only include audit trail events that occurred after this time + + user_email : typing.Optional[str] + If provided, this will return events associated with the specified user email. Please note that the email address reflects the user's email at the time of the event, and may not be their current email. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncPager[AuditLogEvent, PaginatedAuditLogEventList] + + """ + _response = await self._client_wrapper.httpx_client.request( + "filestorage/v1/audit-trail", + method="GET", + params={ + "cursor": cursor, + "end_date": end_date, + "event_type": event_type, + "page_size": page_size, + "start_date": start_date, + "user_email": user_email, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _parsed_response = typing.cast( + PaginatedAuditLogEventList, + construct_type( + type_=PaginatedAuditLogEventList, # type: ignore + object_=_response.json(), + ), + ) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + cursor=_parsed_next, + end_date=end_date, + event_type=event_type, + page_size=page_size, + start_date=start_date, + user_email=user_email, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/chat/resources/available_actions/__init__.py b/src/merge/resources/file_storage/resources/available_actions/__init__.py similarity index 100% rename from src/merge/resources/chat/resources/available_actions/__init__.py rename to src/merge/resources/file_storage/resources/available_actions/__init__.py diff --git a/src/merge/resources/file_storage/resources/available_actions/client.py b/src/merge/resources/file_storage/resources/available_actions/client.py new file mode 100644 index 00000000..d323ff6a --- /dev/null +++ b/src/merge/resources/file_storage/resources/available_actions/client.py @@ -0,0 +1,102 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.request_options import RequestOptions +from ...types.available_actions import AvailableActions +from .raw_client import AsyncRawAvailableActionsClient, RawAvailableActionsClient + + +class AvailableActionsClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._raw_client = RawAvailableActionsClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> RawAvailableActionsClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + RawAvailableActionsClient + """ + return self._raw_client + + def retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> AvailableActions: + """ + Returns a list of models and actions available for an account. + + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AvailableActions + + + Examples + -------- + from merge import Merge + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + client.file_storage.available_actions.retrieve() + """ + _response = self._raw_client.retrieve(request_options=request_options) + return _response.data + + +class AsyncAvailableActionsClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._raw_client = AsyncRawAvailableActionsClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> AsyncRawAvailableActionsClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + AsyncRawAvailableActionsClient + """ + return self._raw_client + + async def retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> AvailableActions: + """ + Returns a list of models and actions available for an account. + + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AvailableActions + + + Examples + -------- + import asyncio + + from merge import AsyncMerge + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + await client.file_storage.available_actions.retrieve() + + + asyncio.run(main()) + """ + _response = await self._raw_client.retrieve(request_options=request_options) + return _response.data diff --git a/src/merge/resources/filestorage/resources/available_actions/raw_client.py b/src/merge/resources/file_storage/resources/available_actions/raw_client.py similarity index 100% rename from src/merge/resources/filestorage/resources/available_actions/raw_client.py rename to src/merge/resources/file_storage/resources/available_actions/raw_client.py diff --git a/src/merge/resources/chat/resources/delete_account/__init__.py b/src/merge/resources/file_storage/resources/delete_account/__init__.py similarity index 100% rename from src/merge/resources/chat/resources/delete_account/__init__.py rename to src/merge/resources/file_storage/resources/delete_account/__init__.py diff --git a/src/merge/resources/file_storage/resources/delete_account/client.py b/src/merge/resources/file_storage/resources/delete_account/client.py new file mode 100644 index 00000000..f7c6a6c4 --- /dev/null +++ b/src/merge/resources/file_storage/resources/delete_account/client.py @@ -0,0 +1,99 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.request_options import RequestOptions +from .raw_client import AsyncRawDeleteAccountClient, RawDeleteAccountClient + + +class DeleteAccountClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._raw_client = RawDeleteAccountClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> RawDeleteAccountClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + RawDeleteAccountClient + """ + return self._raw_client + + def delete(self, *, request_options: typing.Optional[RequestOptions] = None) -> None: + """ + Delete a linked account. + + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + None + + Examples + -------- + from merge import Merge + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + client.file_storage.delete_account.delete() + """ + _response = self._raw_client.delete(request_options=request_options) + return _response.data + + +class AsyncDeleteAccountClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._raw_client = AsyncRawDeleteAccountClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> AsyncRawDeleteAccountClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + AsyncRawDeleteAccountClient + """ + return self._raw_client + + async def delete(self, *, request_options: typing.Optional[RequestOptions] = None) -> None: + """ + Delete a linked account. + + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + None + + Examples + -------- + import asyncio + + from merge import AsyncMerge + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + await client.file_storage.delete_account.delete() + + + asyncio.run(main()) + """ + _response = await self._raw_client.delete(request_options=request_options) + return _response.data diff --git a/src/merge/resources/filestorage/resources/delete_account/raw_client.py b/src/merge/resources/file_storage/resources/delete_account/raw_client.py similarity index 100% rename from src/merge/resources/filestorage/resources/delete_account/raw_client.py rename to src/merge/resources/file_storage/resources/delete_account/raw_client.py diff --git a/src/merge/resources/chat/resources/field_mapping/__init__.py b/src/merge/resources/file_storage/resources/drives/__init__.py similarity index 100% rename from src/merge/resources/chat/resources/field_mapping/__init__.py rename to src/merge/resources/file_storage/resources/drives/__init__.py diff --git a/src/merge/resources/file_storage/resources/drives/client.py b/src/merge/resources/file_storage/resources/drives/client.py new file mode 100644 index 00000000..1e139d8e --- /dev/null +++ b/src/merge/resources/file_storage/resources/drives/client.py @@ -0,0 +1,346 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager +from .....core.request_options import RequestOptions +from ...types.drive import Drive +from ...types.paginated_drive_list import PaginatedDriveList +from .raw_client import AsyncRawDrivesClient, RawDrivesClient + + +class DrivesClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._raw_client = RawDrivesClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> RawDrivesClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + RawDrivesClient + """ + return self._raw_client + + def list( + self, + *, + created_after: typing.Optional[dt.datetime] = None, + created_before: typing.Optional[dt.datetime] = None, + cursor: typing.Optional[str] = None, + include_deleted_data: typing.Optional[bool] = None, + include_remote_data: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + modified_after: typing.Optional[dt.datetime] = None, + modified_before: typing.Optional[dt.datetime] = None, + name: typing.Optional[str] = None, + page_size: typing.Optional[int] = None, + remote_id: typing.Optional[str] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> SyncPager[Drive, PaginatedDriveList]: + """ + Returns a list of `Drive` objects. + + Parameters + ---------- + created_after : typing.Optional[dt.datetime] + If provided, will only return objects created after this datetime. + + created_before : typing.Optional[dt.datetime] + If provided, will only return objects created before this datetime. + + cursor : typing.Optional[str] + The pagination cursor value. + + include_deleted_data : typing.Optional[bool] + Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + + include_remote_data : typing.Optional[bool] + Whether to include the original data Merge fetched from the third-party to produce these models. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + modified_after : typing.Optional[dt.datetime] + If provided, only objects synced by Merge after this date time will be returned. + + modified_before : typing.Optional[dt.datetime] + If provided, only objects synced by Merge before this date time will be returned. + + name : typing.Optional[str] + If provided, will only return drives with this name. This performs an exact match. + + page_size : typing.Optional[int] + Number of results to return per page. + + remote_id : typing.Optional[str] + The API provider's ID for the given object. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SyncPager[Drive, PaginatedDriveList] + + + Examples + -------- + from merge import Merge + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + response = client.file_storage.drives.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page + """ + return self._raw_client.list( + created_after=created_after, + created_before=created_before, + cursor=cursor, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + name=name, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + def retrieve( + self, + id: str, + *, + include_remote_data: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> Drive: + """ + Returns a `Drive` object with the given `id`. + + Parameters + ---------- + id : str + + include_remote_data : typing.Optional[bool] + Whether to include the original data Merge fetched from the third-party to produce these models. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + Drive + + + Examples + -------- + from merge import Merge + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + client.file_storage.drives.retrieve( + id="id", + ) + """ + _response = self._raw_client.retrieve( + id, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + request_options=request_options, + ) + return _response.data + + +class AsyncDrivesClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._raw_client = AsyncRawDrivesClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> AsyncRawDrivesClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + AsyncRawDrivesClient + """ + return self._raw_client + + async def list( + self, + *, + created_after: typing.Optional[dt.datetime] = None, + created_before: typing.Optional[dt.datetime] = None, + cursor: typing.Optional[str] = None, + include_deleted_data: typing.Optional[bool] = None, + include_remote_data: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + modified_after: typing.Optional[dt.datetime] = None, + modified_before: typing.Optional[dt.datetime] = None, + name: typing.Optional[str] = None, + page_size: typing.Optional[int] = None, + remote_id: typing.Optional[str] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncPager[Drive, PaginatedDriveList]: + """ + Returns a list of `Drive` objects. + + Parameters + ---------- + created_after : typing.Optional[dt.datetime] + If provided, will only return objects created after this datetime. + + created_before : typing.Optional[dt.datetime] + If provided, will only return objects created before this datetime. + + cursor : typing.Optional[str] + The pagination cursor value. + + include_deleted_data : typing.Optional[bool] + Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + + include_remote_data : typing.Optional[bool] + Whether to include the original data Merge fetched from the third-party to produce these models. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + modified_after : typing.Optional[dt.datetime] + If provided, only objects synced by Merge after this date time will be returned. + + modified_before : typing.Optional[dt.datetime] + If provided, only objects synced by Merge before this date time will be returned. + + name : typing.Optional[str] + If provided, will only return drives with this name. This performs an exact match. + + page_size : typing.Optional[int] + Number of results to return per page. + + remote_id : typing.Optional[str] + The API provider's ID for the given object. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncPager[Drive, PaginatedDriveList] + + + Examples + -------- + import asyncio + + from merge import AsyncMerge + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + response = await client.file_storage.drives.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page + + + asyncio.run(main()) + """ + return await self._raw_client.list( + created_after=created_after, + created_before=created_before, + cursor=cursor, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + name=name, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + async def retrieve( + self, + id: str, + *, + include_remote_data: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> Drive: + """ + Returns a `Drive` object with the given `id`. + + Parameters + ---------- + id : str + + include_remote_data : typing.Optional[bool] + Whether to include the original data Merge fetched from the third-party to produce these models. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + Drive + + + Examples + -------- + import asyncio + + from merge import AsyncMerge + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + await client.file_storage.drives.retrieve( + id="id", + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.retrieve( + id, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + request_options=request_options, + ) + return _response.data diff --git a/src/merge/resources/file_storage/resources/drives/raw_client.py b/src/merge/resources/file_storage/resources/drives/raw_client.py new file mode 100644 index 00000000..56d90256 --- /dev/null +++ b/src/merge/resources/file_storage/resources/drives/raw_client.py @@ -0,0 +1,359 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing +from json.decoder import JSONDecodeError + +from .....core.api_error import ApiError +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.datetime_utils import serialize_datetime +from .....core.http_response import AsyncHttpResponse, HttpResponse +from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager +from .....core.request_options import RequestOptions +from .....core.unchecked_base_model import construct_type +from ...types.drive import Drive +from ...types.paginated_drive_list import PaginatedDriveList + + +class RawDrivesClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._client_wrapper = client_wrapper + + def list( + self, + *, + created_after: typing.Optional[dt.datetime] = None, + created_before: typing.Optional[dt.datetime] = None, + cursor: typing.Optional[str] = None, + include_deleted_data: typing.Optional[bool] = None, + include_remote_data: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + modified_after: typing.Optional[dt.datetime] = None, + modified_before: typing.Optional[dt.datetime] = None, + name: typing.Optional[str] = None, + page_size: typing.Optional[int] = None, + remote_id: typing.Optional[str] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> SyncPager[Drive, PaginatedDriveList]: + """ + Returns a list of `Drive` objects. + + Parameters + ---------- + created_after : typing.Optional[dt.datetime] + If provided, will only return objects created after this datetime. + + created_before : typing.Optional[dt.datetime] + If provided, will only return objects created before this datetime. + + cursor : typing.Optional[str] + The pagination cursor value. + + include_deleted_data : typing.Optional[bool] + Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + + include_remote_data : typing.Optional[bool] + Whether to include the original data Merge fetched from the third-party to produce these models. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + modified_after : typing.Optional[dt.datetime] + If provided, only objects synced by Merge after this date time will be returned. + + modified_before : typing.Optional[dt.datetime] + If provided, only objects synced by Merge before this date time will be returned. + + name : typing.Optional[str] + If provided, will only return drives with this name. This performs an exact match. + + page_size : typing.Optional[int] + Number of results to return per page. + + remote_id : typing.Optional[str] + The API provider's ID for the given object. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SyncPager[Drive, PaginatedDriveList] + + """ + _response = self._client_wrapper.httpx_client.request( + "filestorage/v1/drives", + method="GET", + params={ + "created_after": serialize_datetime(created_after) if created_after is not None else None, + "created_before": serialize_datetime(created_before) if created_before is not None else None, + "cursor": cursor, + "include_deleted_data": include_deleted_data, + "include_remote_data": include_remote_data, + "include_shell_data": include_shell_data, + "modified_after": serialize_datetime(modified_after) if modified_after is not None else None, + "modified_before": serialize_datetime(modified_before) if modified_before is not None else None, + "name": name, + "page_size": page_size, + "remote_id": remote_id, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _parsed_response = typing.cast( + PaginatedDriveList, + construct_type( + type_=PaginatedDriveList, # type: ignore + object_=_response.json(), + ), + ) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + name=name, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def retrieve( + self, + id: str, + *, + include_remote_data: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> HttpResponse[Drive]: + """ + Returns a `Drive` object with the given `id`. + + Parameters + ---------- + id : str + + include_remote_data : typing.Optional[bool] + Whether to include the original data Merge fetched from the third-party to produce these models. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[Drive] + + """ + _response = self._client_wrapper.httpx_client.request( + f"filestorage/v1/drives/{jsonable_encoder(id)}", + method="GET", + params={ + "include_remote_data": include_remote_data, + "include_shell_data": include_shell_data, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + Drive, + construct_type( + type_=Drive, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + +class AsyncRawDrivesClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._client_wrapper = client_wrapper + + async def list( + self, + *, + created_after: typing.Optional[dt.datetime] = None, + created_before: typing.Optional[dt.datetime] = None, + cursor: typing.Optional[str] = None, + include_deleted_data: typing.Optional[bool] = None, + include_remote_data: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + modified_after: typing.Optional[dt.datetime] = None, + modified_before: typing.Optional[dt.datetime] = None, + name: typing.Optional[str] = None, + page_size: typing.Optional[int] = None, + remote_id: typing.Optional[str] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncPager[Drive, PaginatedDriveList]: + """ + Returns a list of `Drive` objects. + + Parameters + ---------- + created_after : typing.Optional[dt.datetime] + If provided, will only return objects created after this datetime. + + created_before : typing.Optional[dt.datetime] + If provided, will only return objects created before this datetime. + + cursor : typing.Optional[str] + The pagination cursor value. + + include_deleted_data : typing.Optional[bool] + Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + + include_remote_data : typing.Optional[bool] + Whether to include the original data Merge fetched from the third-party to produce these models. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + modified_after : typing.Optional[dt.datetime] + If provided, only objects synced by Merge after this date time will be returned. + + modified_before : typing.Optional[dt.datetime] + If provided, only objects synced by Merge before this date time will be returned. + + name : typing.Optional[str] + If provided, will only return drives with this name. This performs an exact match. + + page_size : typing.Optional[int] + Number of results to return per page. + + remote_id : typing.Optional[str] + The API provider's ID for the given object. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncPager[Drive, PaginatedDriveList] + + """ + _response = await self._client_wrapper.httpx_client.request( + "filestorage/v1/drives", + method="GET", + params={ + "created_after": serialize_datetime(created_after) if created_after is not None else None, + "created_before": serialize_datetime(created_before) if created_before is not None else None, + "cursor": cursor, + "include_deleted_data": include_deleted_data, + "include_remote_data": include_remote_data, + "include_shell_data": include_shell_data, + "modified_after": serialize_datetime(modified_after) if modified_after is not None else None, + "modified_before": serialize_datetime(modified_before) if modified_before is not None else None, + "name": name, + "page_size": page_size, + "remote_id": remote_id, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _parsed_response = typing.cast( + PaginatedDriveList, + construct_type( + type_=PaginatedDriveList, # type: ignore + object_=_response.json(), + ), + ) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + name=name, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def retrieve( + self, + id: str, + *, + include_remote_data: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncHttpResponse[Drive]: + """ + Returns a `Drive` object with the given `id`. + + Parameters + ---------- + id : str + + include_remote_data : typing.Optional[bool] + Whether to include the original data Merge fetched from the third-party to produce these models. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[Drive] + + """ + _response = await self._client_wrapper.httpx_client.request( + f"filestorage/v1/drives/{jsonable_encoder(id)}", + method="GET", + params={ + "include_remote_data": include_remote_data, + "include_shell_data": include_shell_data, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + Drive, + construct_type( + type_=Drive, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/chat/resources/force_resync/__init__.py b/src/merge/resources/file_storage/resources/field_mapping/__init__.py similarity index 100% rename from src/merge/resources/chat/resources/force_resync/__init__.py rename to src/merge/resources/file_storage/resources/field_mapping/__init__.py diff --git a/src/merge/resources/file_storage/resources/field_mapping/client.py b/src/merge/resources/file_storage/resources/field_mapping/client.py new file mode 100644 index 00000000..9605238c --- /dev/null +++ b/src/merge/resources/file_storage/resources/field_mapping/client.py @@ -0,0 +1,632 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.request_options import RequestOptions +from ...types.external_target_field_api_response import ExternalTargetFieldApiResponse +from ...types.field_mapping_api_instance_response import FieldMappingApiInstanceResponse +from ...types.field_mapping_instance_response import FieldMappingInstanceResponse +from ...types.remote_field_api_response import RemoteFieldApiResponse +from .raw_client import AsyncRawFieldMappingClient, RawFieldMappingClient + +# this is used as the default value for optional parameters +OMIT = typing.cast(typing.Any, ...) + + +class FieldMappingClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._raw_client = RawFieldMappingClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> RawFieldMappingClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + RawFieldMappingClient + """ + return self._raw_client + + def field_mappings_retrieve( + self, + *, + exclude_remote_field_metadata: typing.Optional[bool] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> FieldMappingApiInstanceResponse: + """ + Get all Field Mappings for this Linked Account. Field Mappings are mappings between third-party Remote Fields and user defined Merge fields. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). + + Parameters + ---------- + exclude_remote_field_metadata : typing.Optional[bool] + If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + FieldMappingApiInstanceResponse + + + Examples + -------- + from merge import Merge + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + client.file_storage.field_mapping.field_mappings_retrieve() + """ + _response = self._raw_client.field_mappings_retrieve( + exclude_remote_field_metadata=exclude_remote_field_metadata, request_options=request_options + ) + return _response.data + + def field_mappings_create( + self, + *, + target_field_name: str, + target_field_description: str, + remote_field_traversal_path: typing.Sequence[typing.Any], + remote_method: str, + remote_url_path: str, + common_model_name: str, + exclude_remote_field_metadata: typing.Optional[bool] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> FieldMappingInstanceResponse: + """ + Create new Field Mappings that will be available after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. + + Parameters + ---------- + target_field_name : str + The name of the target field you want this remote field to map to. + + target_field_description : str + The description of the target field you want this remote field to map to. + + remote_field_traversal_path : typing.Sequence[typing.Any] + The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. + + remote_method : str + The method of the remote endpoint where the remote field is coming from. + + remote_url_path : str + The path of the remote endpoint where the remote field is coming from. + + common_model_name : str + The name of the Common Model that the remote field corresponds to in a given category. + + exclude_remote_field_metadata : typing.Optional[bool] + If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + FieldMappingInstanceResponse + + + Examples + -------- + from merge import Merge + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + client.file_storage.field_mapping.field_mappings_create( + target_field_name="example_target_field_name", + target_field_description="this is a example description of the target field", + remote_field_traversal_path=["example_remote_field"], + remote_method="GET", + remote_url_path="/example-url-path", + common_model_name="ExampleCommonModel", + ) + """ + _response = self._raw_client.field_mappings_create( + target_field_name=target_field_name, + target_field_description=target_field_description, + remote_field_traversal_path=remote_field_traversal_path, + remote_method=remote_method, + remote_url_path=remote_url_path, + common_model_name=common_model_name, + exclude_remote_field_metadata=exclude_remote_field_metadata, + request_options=request_options, + ) + return _response.data + + def field_mappings_destroy( + self, field_mapping_id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> FieldMappingInstanceResponse: + """ + Deletes Field Mappings for a Linked Account. All data related to this Field Mapping will be deleted and these changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. + + Parameters + ---------- + field_mapping_id : str + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + FieldMappingInstanceResponse + + + Examples + -------- + from merge import Merge + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + client.file_storage.field_mapping.field_mappings_destroy( + field_mapping_id="field_mapping_id", + ) + """ + _response = self._raw_client.field_mappings_destroy(field_mapping_id, request_options=request_options) + return _response.data + + def field_mappings_partial_update( + self, + field_mapping_id: str, + *, + remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Any]] = OMIT, + remote_method: typing.Optional[str] = OMIT, + remote_url_path: typing.Optional[str] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> FieldMappingInstanceResponse: + """ + Create or update existing Field Mappings for a Linked Account. Changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. + + Parameters + ---------- + field_mapping_id : str + + remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Any]] + The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. + + remote_method : typing.Optional[str] + The method of the remote endpoint where the remote field is coming from. + + remote_url_path : typing.Optional[str] + The path of the remote endpoint where the remote field is coming from. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + FieldMappingInstanceResponse + + + Examples + -------- + from merge import Merge + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + client.file_storage.field_mapping.field_mappings_partial_update( + field_mapping_id="field_mapping_id", + ) + """ + _response = self._raw_client.field_mappings_partial_update( + field_mapping_id, + remote_field_traversal_path=remote_field_traversal_path, + remote_method=remote_method, + remote_url_path=remote_url_path, + request_options=request_options, + ) + return _response.data + + def remote_fields_retrieve( + self, + *, + common_models: typing.Optional[str] = None, + include_example_values: typing.Optional[str] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> RemoteFieldApiResponse: + """ + Get all remote fields for a Linked Account. Remote fields are third-party fields that are accessible after initial sync if remote_data is enabled. You can use remote fields to override existing Merge fields or map a new Merge field. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). + + Parameters + ---------- + common_models : typing.Optional[str] + A comma seperated list of Common Model names. If included, will only return Remote Fields for those Common Models. + + include_example_values : typing.Optional[str] + If true, will include example values, where available, for remote fields in the 3rd party platform. These examples come from active data from your customers. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + RemoteFieldApiResponse + + + Examples + -------- + from merge import Merge + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + client.file_storage.field_mapping.remote_fields_retrieve() + """ + _response = self._raw_client.remote_fields_retrieve( + common_models=common_models, include_example_values=include_example_values, request_options=request_options + ) + return _response.data + + def target_fields_retrieve( + self, *, request_options: typing.Optional[RequestOptions] = None + ) -> ExternalTargetFieldApiResponse: + """ + Get all organization-wide Target Fields, this will not include any Linked Account specific Target Fields. Organization-wide Target Fields are additional fields appended to the Merge Common Model for all Linked Accounts in a category. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/target-fields/). + + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + ExternalTargetFieldApiResponse + + + Examples + -------- + from merge import Merge + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + client.file_storage.field_mapping.target_fields_retrieve() + """ + _response = self._raw_client.target_fields_retrieve(request_options=request_options) + return _response.data + + +class AsyncFieldMappingClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._raw_client = AsyncRawFieldMappingClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> AsyncRawFieldMappingClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + AsyncRawFieldMappingClient + """ + return self._raw_client + + async def field_mappings_retrieve( + self, + *, + exclude_remote_field_metadata: typing.Optional[bool] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> FieldMappingApiInstanceResponse: + """ + Get all Field Mappings for this Linked Account. Field Mappings are mappings between third-party Remote Fields and user defined Merge fields. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). + + Parameters + ---------- + exclude_remote_field_metadata : typing.Optional[bool] + If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + FieldMappingApiInstanceResponse + + + Examples + -------- + import asyncio + + from merge import AsyncMerge + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + await client.file_storage.field_mapping.field_mappings_retrieve() + + + asyncio.run(main()) + """ + _response = await self._raw_client.field_mappings_retrieve( + exclude_remote_field_metadata=exclude_remote_field_metadata, request_options=request_options + ) + return _response.data + + async def field_mappings_create( + self, + *, + target_field_name: str, + target_field_description: str, + remote_field_traversal_path: typing.Sequence[typing.Any], + remote_method: str, + remote_url_path: str, + common_model_name: str, + exclude_remote_field_metadata: typing.Optional[bool] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> FieldMappingInstanceResponse: + """ + Create new Field Mappings that will be available after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. + + Parameters + ---------- + target_field_name : str + The name of the target field you want this remote field to map to. + + target_field_description : str + The description of the target field you want this remote field to map to. + + remote_field_traversal_path : typing.Sequence[typing.Any] + The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. + + remote_method : str + The method of the remote endpoint where the remote field is coming from. + + remote_url_path : str + The path of the remote endpoint where the remote field is coming from. + + common_model_name : str + The name of the Common Model that the remote field corresponds to in a given category. + + exclude_remote_field_metadata : typing.Optional[bool] + If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + FieldMappingInstanceResponse + + + Examples + -------- + import asyncio + + from merge import AsyncMerge + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + await client.file_storage.field_mapping.field_mappings_create( + target_field_name="example_target_field_name", + target_field_description="this is a example description of the target field", + remote_field_traversal_path=["example_remote_field"], + remote_method="GET", + remote_url_path="/example-url-path", + common_model_name="ExampleCommonModel", + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.field_mappings_create( + target_field_name=target_field_name, + target_field_description=target_field_description, + remote_field_traversal_path=remote_field_traversal_path, + remote_method=remote_method, + remote_url_path=remote_url_path, + common_model_name=common_model_name, + exclude_remote_field_metadata=exclude_remote_field_metadata, + request_options=request_options, + ) + return _response.data + + async def field_mappings_destroy( + self, field_mapping_id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> FieldMappingInstanceResponse: + """ + Deletes Field Mappings for a Linked Account. All data related to this Field Mapping will be deleted and these changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. + + Parameters + ---------- + field_mapping_id : str + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + FieldMappingInstanceResponse + + + Examples + -------- + import asyncio + + from merge import AsyncMerge + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + await client.file_storage.field_mapping.field_mappings_destroy( + field_mapping_id="field_mapping_id", + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.field_mappings_destroy(field_mapping_id, request_options=request_options) + return _response.data + + async def field_mappings_partial_update( + self, + field_mapping_id: str, + *, + remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Any]] = OMIT, + remote_method: typing.Optional[str] = OMIT, + remote_url_path: typing.Optional[str] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> FieldMappingInstanceResponse: + """ + Create or update existing Field Mappings for a Linked Account. Changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. + + Parameters + ---------- + field_mapping_id : str + + remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Any]] + The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. + + remote_method : typing.Optional[str] + The method of the remote endpoint where the remote field is coming from. + + remote_url_path : typing.Optional[str] + The path of the remote endpoint where the remote field is coming from. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + FieldMappingInstanceResponse + + + Examples + -------- + import asyncio + + from merge import AsyncMerge + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + await client.file_storage.field_mapping.field_mappings_partial_update( + field_mapping_id="field_mapping_id", + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.field_mappings_partial_update( + field_mapping_id, + remote_field_traversal_path=remote_field_traversal_path, + remote_method=remote_method, + remote_url_path=remote_url_path, + request_options=request_options, + ) + return _response.data + + async def remote_fields_retrieve( + self, + *, + common_models: typing.Optional[str] = None, + include_example_values: typing.Optional[str] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> RemoteFieldApiResponse: + """ + Get all remote fields for a Linked Account. Remote fields are third-party fields that are accessible after initial sync if remote_data is enabled. You can use remote fields to override existing Merge fields or map a new Merge field. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). + + Parameters + ---------- + common_models : typing.Optional[str] + A comma seperated list of Common Model names. If included, will only return Remote Fields for those Common Models. + + include_example_values : typing.Optional[str] + If true, will include example values, where available, for remote fields in the 3rd party platform. These examples come from active data from your customers. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + RemoteFieldApiResponse + + + Examples + -------- + import asyncio + + from merge import AsyncMerge + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + await client.file_storage.field_mapping.remote_fields_retrieve() + + + asyncio.run(main()) + """ + _response = await self._raw_client.remote_fields_retrieve( + common_models=common_models, include_example_values=include_example_values, request_options=request_options + ) + return _response.data + + async def target_fields_retrieve( + self, *, request_options: typing.Optional[RequestOptions] = None + ) -> ExternalTargetFieldApiResponse: + """ + Get all organization-wide Target Fields, this will not include any Linked Account specific Target Fields. Organization-wide Target Fields are additional fields appended to the Merge Common Model for all Linked Accounts in a category. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/target-fields/). + + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + ExternalTargetFieldApiResponse + + + Examples + -------- + import asyncio + + from merge import AsyncMerge + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + await client.file_storage.field_mapping.target_fields_retrieve() + + + asyncio.run(main()) + """ + _response = await self._raw_client.target_fields_retrieve(request_options=request_options) + return _response.data diff --git a/src/merge/resources/file_storage/resources/field_mapping/raw_client.py b/src/merge/resources/file_storage/resources/field_mapping/raw_client.py new file mode 100644 index 00000000..d5e00080 --- /dev/null +++ b/src/merge/resources/file_storage/resources/field_mapping/raw_client.py @@ -0,0 +1,652 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing +from json.decoder import JSONDecodeError + +from .....core.api_error import ApiError +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.http_response import AsyncHttpResponse, HttpResponse +from .....core.jsonable_encoder import jsonable_encoder +from .....core.request_options import RequestOptions +from .....core.unchecked_base_model import construct_type +from ...types.external_target_field_api_response import ExternalTargetFieldApiResponse +from ...types.field_mapping_api_instance_response import FieldMappingApiInstanceResponse +from ...types.field_mapping_instance_response import FieldMappingInstanceResponse +from ...types.remote_field_api_response import RemoteFieldApiResponse + +# this is used as the default value for optional parameters +OMIT = typing.cast(typing.Any, ...) + + +class RawFieldMappingClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._client_wrapper = client_wrapper + + def field_mappings_retrieve( + self, + *, + exclude_remote_field_metadata: typing.Optional[bool] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> HttpResponse[FieldMappingApiInstanceResponse]: + """ + Get all Field Mappings for this Linked Account. Field Mappings are mappings between third-party Remote Fields and user defined Merge fields. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). + + Parameters + ---------- + exclude_remote_field_metadata : typing.Optional[bool] + If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[FieldMappingApiInstanceResponse] + + """ + _response = self._client_wrapper.httpx_client.request( + "filestorage/v1/field-mappings", + method="GET", + params={ + "exclude_remote_field_metadata": exclude_remote_field_metadata, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + FieldMappingApiInstanceResponse, + construct_type( + type_=FieldMappingApiInstanceResponse, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def field_mappings_create( + self, + *, + target_field_name: str, + target_field_description: str, + remote_field_traversal_path: typing.Sequence[typing.Any], + remote_method: str, + remote_url_path: str, + common_model_name: str, + exclude_remote_field_metadata: typing.Optional[bool] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> HttpResponse[FieldMappingInstanceResponse]: + """ + Create new Field Mappings that will be available after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. + + Parameters + ---------- + target_field_name : str + The name of the target field you want this remote field to map to. + + target_field_description : str + The description of the target field you want this remote field to map to. + + remote_field_traversal_path : typing.Sequence[typing.Any] + The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. + + remote_method : str + The method of the remote endpoint where the remote field is coming from. + + remote_url_path : str + The path of the remote endpoint where the remote field is coming from. + + common_model_name : str + The name of the Common Model that the remote field corresponds to in a given category. + + exclude_remote_field_metadata : typing.Optional[bool] + If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[FieldMappingInstanceResponse] + + """ + _response = self._client_wrapper.httpx_client.request( + "filestorage/v1/field-mappings", + method="POST", + params={ + "exclude_remote_field_metadata": exclude_remote_field_metadata, + }, + json={ + "target_field_name": target_field_name, + "target_field_description": target_field_description, + "remote_field_traversal_path": remote_field_traversal_path, + "remote_method": remote_method, + "remote_url_path": remote_url_path, + "common_model_name": common_model_name, + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + FieldMappingInstanceResponse, + construct_type( + type_=FieldMappingInstanceResponse, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def field_mappings_destroy( + self, field_mapping_id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> HttpResponse[FieldMappingInstanceResponse]: + """ + Deletes Field Mappings for a Linked Account. All data related to this Field Mapping will be deleted and these changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. + + Parameters + ---------- + field_mapping_id : str + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[FieldMappingInstanceResponse] + + """ + _response = self._client_wrapper.httpx_client.request( + f"filestorage/v1/field-mappings/{jsonable_encoder(field_mapping_id)}", + method="DELETE", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + FieldMappingInstanceResponse, + construct_type( + type_=FieldMappingInstanceResponse, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def field_mappings_partial_update( + self, + field_mapping_id: str, + *, + remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Any]] = OMIT, + remote_method: typing.Optional[str] = OMIT, + remote_url_path: typing.Optional[str] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> HttpResponse[FieldMappingInstanceResponse]: + """ + Create or update existing Field Mappings for a Linked Account. Changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. + + Parameters + ---------- + field_mapping_id : str + + remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Any]] + The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. + + remote_method : typing.Optional[str] + The method of the remote endpoint where the remote field is coming from. + + remote_url_path : typing.Optional[str] + The path of the remote endpoint where the remote field is coming from. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[FieldMappingInstanceResponse] + + """ + _response = self._client_wrapper.httpx_client.request( + f"filestorage/v1/field-mappings/{jsonable_encoder(field_mapping_id)}", + method="PATCH", + json={ + "remote_field_traversal_path": remote_field_traversal_path, + "remote_method": remote_method, + "remote_url_path": remote_url_path, + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + FieldMappingInstanceResponse, + construct_type( + type_=FieldMappingInstanceResponse, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def remote_fields_retrieve( + self, + *, + common_models: typing.Optional[str] = None, + include_example_values: typing.Optional[str] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> HttpResponse[RemoteFieldApiResponse]: + """ + Get all remote fields for a Linked Account. Remote fields are third-party fields that are accessible after initial sync if remote_data is enabled. You can use remote fields to override existing Merge fields or map a new Merge field. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). + + Parameters + ---------- + common_models : typing.Optional[str] + A comma seperated list of Common Model names. If included, will only return Remote Fields for those Common Models. + + include_example_values : typing.Optional[str] + If true, will include example values, where available, for remote fields in the 3rd party platform. These examples come from active data from your customers. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[RemoteFieldApiResponse] + + """ + _response = self._client_wrapper.httpx_client.request( + "filestorage/v1/remote-fields", + method="GET", + params={ + "common_models": common_models, + "include_example_values": include_example_values, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + RemoteFieldApiResponse, + construct_type( + type_=RemoteFieldApiResponse, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def target_fields_retrieve( + self, *, request_options: typing.Optional[RequestOptions] = None + ) -> HttpResponse[ExternalTargetFieldApiResponse]: + """ + Get all organization-wide Target Fields, this will not include any Linked Account specific Target Fields. Organization-wide Target Fields are additional fields appended to the Merge Common Model for all Linked Accounts in a category. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/target-fields/). + + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[ExternalTargetFieldApiResponse] + + """ + _response = self._client_wrapper.httpx_client.request( + "filestorage/v1/target-fields", + method="GET", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + ExternalTargetFieldApiResponse, + construct_type( + type_=ExternalTargetFieldApiResponse, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + +class AsyncRawFieldMappingClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._client_wrapper = client_wrapper + + async def field_mappings_retrieve( + self, + *, + exclude_remote_field_metadata: typing.Optional[bool] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncHttpResponse[FieldMappingApiInstanceResponse]: + """ + Get all Field Mappings for this Linked Account. Field Mappings are mappings between third-party Remote Fields and user defined Merge fields. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). + + Parameters + ---------- + exclude_remote_field_metadata : typing.Optional[bool] + If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[FieldMappingApiInstanceResponse] + + """ + _response = await self._client_wrapper.httpx_client.request( + "filestorage/v1/field-mappings", + method="GET", + params={ + "exclude_remote_field_metadata": exclude_remote_field_metadata, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + FieldMappingApiInstanceResponse, + construct_type( + type_=FieldMappingApiInstanceResponse, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def field_mappings_create( + self, + *, + target_field_name: str, + target_field_description: str, + remote_field_traversal_path: typing.Sequence[typing.Any], + remote_method: str, + remote_url_path: str, + common_model_name: str, + exclude_remote_field_metadata: typing.Optional[bool] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncHttpResponse[FieldMappingInstanceResponse]: + """ + Create new Field Mappings that will be available after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. + + Parameters + ---------- + target_field_name : str + The name of the target field you want this remote field to map to. + + target_field_description : str + The description of the target field you want this remote field to map to. + + remote_field_traversal_path : typing.Sequence[typing.Any] + The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. + + remote_method : str + The method of the remote endpoint where the remote field is coming from. + + remote_url_path : str + The path of the remote endpoint where the remote field is coming from. + + common_model_name : str + The name of the Common Model that the remote field corresponds to in a given category. + + exclude_remote_field_metadata : typing.Optional[bool] + If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[FieldMappingInstanceResponse] + + """ + _response = await self._client_wrapper.httpx_client.request( + "filestorage/v1/field-mappings", + method="POST", + params={ + "exclude_remote_field_metadata": exclude_remote_field_metadata, + }, + json={ + "target_field_name": target_field_name, + "target_field_description": target_field_description, + "remote_field_traversal_path": remote_field_traversal_path, + "remote_method": remote_method, + "remote_url_path": remote_url_path, + "common_model_name": common_model_name, + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + FieldMappingInstanceResponse, + construct_type( + type_=FieldMappingInstanceResponse, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def field_mappings_destroy( + self, field_mapping_id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> AsyncHttpResponse[FieldMappingInstanceResponse]: + """ + Deletes Field Mappings for a Linked Account. All data related to this Field Mapping will be deleted and these changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. + + Parameters + ---------- + field_mapping_id : str + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[FieldMappingInstanceResponse] + + """ + _response = await self._client_wrapper.httpx_client.request( + f"filestorage/v1/field-mappings/{jsonable_encoder(field_mapping_id)}", + method="DELETE", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + FieldMappingInstanceResponse, + construct_type( + type_=FieldMappingInstanceResponse, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def field_mappings_partial_update( + self, + field_mapping_id: str, + *, + remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Any]] = OMIT, + remote_method: typing.Optional[str] = OMIT, + remote_url_path: typing.Optional[str] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncHttpResponse[FieldMappingInstanceResponse]: + """ + Create or update existing Field Mappings for a Linked Account. Changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. + + Parameters + ---------- + field_mapping_id : str + + remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Any]] + The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. + + remote_method : typing.Optional[str] + The method of the remote endpoint where the remote field is coming from. + + remote_url_path : typing.Optional[str] + The path of the remote endpoint where the remote field is coming from. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[FieldMappingInstanceResponse] + + """ + _response = await self._client_wrapper.httpx_client.request( + f"filestorage/v1/field-mappings/{jsonable_encoder(field_mapping_id)}", + method="PATCH", + json={ + "remote_field_traversal_path": remote_field_traversal_path, + "remote_method": remote_method, + "remote_url_path": remote_url_path, + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + FieldMappingInstanceResponse, + construct_type( + type_=FieldMappingInstanceResponse, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def remote_fields_retrieve( + self, + *, + common_models: typing.Optional[str] = None, + include_example_values: typing.Optional[str] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncHttpResponse[RemoteFieldApiResponse]: + """ + Get all remote fields for a Linked Account. Remote fields are third-party fields that are accessible after initial sync if remote_data is enabled. You can use remote fields to override existing Merge fields or map a new Merge field. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). + + Parameters + ---------- + common_models : typing.Optional[str] + A comma seperated list of Common Model names. If included, will only return Remote Fields for those Common Models. + + include_example_values : typing.Optional[str] + If true, will include example values, where available, for remote fields in the 3rd party platform. These examples come from active data from your customers. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[RemoteFieldApiResponse] + + """ + _response = await self._client_wrapper.httpx_client.request( + "filestorage/v1/remote-fields", + method="GET", + params={ + "common_models": common_models, + "include_example_values": include_example_values, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + RemoteFieldApiResponse, + construct_type( + type_=RemoteFieldApiResponse, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def target_fields_retrieve( + self, *, request_options: typing.Optional[RequestOptions] = None + ) -> AsyncHttpResponse[ExternalTargetFieldApiResponse]: + """ + Get all organization-wide Target Fields, this will not include any Linked Account specific Target Fields. Organization-wide Target Fields are additional fields appended to the Merge Common Model for all Linked Accounts in a category. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/target-fields/). + + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[ExternalTargetFieldApiResponse] + + """ + _response = await self._client_wrapper.httpx_client.request( + "filestorage/v1/target-fields", + method="GET", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + ExternalTargetFieldApiResponse, + construct_type( + type_=ExternalTargetFieldApiResponse, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/file_storage/resources/files/__init__.py b/src/merge/resources/file_storage/resources/files/__init__.py new file mode 100644 index 00000000..7051713d --- /dev/null +++ b/src/merge/resources/file_storage/resources/files/__init__.py @@ -0,0 +1,49 @@ +# This file was auto-generated by Fern from our API Definition. + +# isort: skip_file + +import typing +from importlib import import_module + +if typing.TYPE_CHECKING: + from .types import ( + FilesDownloadRequestMetaListRequestOrderBy, + FilesListRequestExpandItem, + FilesListRequestOrderBy, + FilesRetrieveRequestExpandItem, + ) +_dynamic_imports: typing.Dict[str, str] = { + "FilesDownloadRequestMetaListRequestOrderBy": ".types", + "FilesListRequestExpandItem": ".types", + "FilesListRequestOrderBy": ".types", + "FilesRetrieveRequestExpandItem": ".types", +} + + +def __getattr__(attr_name: str) -> typing.Any: + module_name = _dynamic_imports.get(attr_name) + if module_name is None: + raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") + try: + module = import_module(module_name, __package__) + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) + except ImportError as e: + raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e + except AttributeError as e: + raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e + + +def __dir__(): + lazy_attrs = list(_dynamic_imports.keys()) + return sorted(lazy_attrs) + + +__all__ = [ + "FilesDownloadRequestMetaListRequestOrderBy", + "FilesListRequestExpandItem", + "FilesListRequestOrderBy", + "FilesRetrieveRequestExpandItem", +] diff --git a/src/merge/resources/file_storage/resources/files/client.py b/src/merge/resources/file_storage/resources/files/client.py new file mode 100644 index 00000000..7f0de8a4 --- /dev/null +++ b/src/merge/resources/file_storage/resources/files/client.py @@ -0,0 +1,928 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager +from .....core.request_options import RequestOptions +from ...types.download_request_meta import DownloadRequestMeta +from ...types.file import File +from ...types.file_request import FileRequest +from ...types.file_storage_file_response import FileStorageFileResponse +from ...types.meta_response import MetaResponse +from ...types.paginated_download_request_meta_list import PaginatedDownloadRequestMetaList +from ...types.paginated_file_list import PaginatedFileList +from .raw_client import AsyncRawFilesClient, RawFilesClient +from .types.files_download_request_meta_list_request_order_by import FilesDownloadRequestMetaListRequestOrderBy +from .types.files_list_request_expand_item import FilesListRequestExpandItem +from .types.files_list_request_order_by import FilesListRequestOrderBy +from .types.files_retrieve_request_expand_item import FilesRetrieveRequestExpandItem + +# this is used as the default value for optional parameters +OMIT = typing.cast(typing.Any, ...) + + +class FilesClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._raw_client = RawFilesClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> RawFilesClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + RawFilesClient + """ + return self._raw_client + + def list( + self, + *, + created_after: typing.Optional[dt.datetime] = None, + created_before: typing.Optional[dt.datetime] = None, + cursor: typing.Optional[str] = None, + drive_id: typing.Optional[str] = None, + expand: typing.Optional[ + typing.Union[FilesListRequestExpandItem, typing.Sequence[FilesListRequestExpandItem]] + ] = None, + folder_id: typing.Optional[str] = None, + include_deleted_data: typing.Optional[bool] = None, + include_remote_data: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + mime_type: typing.Optional[str] = None, + modified_after: typing.Optional[dt.datetime] = None, + modified_before: typing.Optional[dt.datetime] = None, + name: typing.Optional[str] = None, + order_by: typing.Optional[FilesListRequestOrderBy] = None, + page_size: typing.Optional[int] = None, + remote_id: typing.Optional[str] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> SyncPager[File, PaginatedFileList]: + """ + Returns a list of `File` objects. + + Parameters + ---------- + created_after : typing.Optional[dt.datetime] + If provided, will only return objects created after this datetime. + + created_before : typing.Optional[dt.datetime] + If provided, will only return objects created before this datetime. + + cursor : typing.Optional[str] + The pagination cursor value. + + drive_id : typing.Optional[str] + Specifying a drive id returns only the files in that drive. Specifying null returns only the files outside the top-level drive. + + expand : typing.Optional[typing.Union[FilesListRequestExpandItem, typing.Sequence[FilesListRequestExpandItem]]] + Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + + folder_id : typing.Optional[str] + Specifying a folder id returns only the files in that folder. Specifying null returns only the files in root directory. + + include_deleted_data : typing.Optional[bool] + Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + + include_remote_data : typing.Optional[bool] + Whether to include the original data Merge fetched from the third-party to produce these models. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + mime_type : typing.Optional[str] + If provided, will only return files with these mime_types. Multiple values can be separated by commas. + + modified_after : typing.Optional[dt.datetime] + If provided, only objects synced by Merge after this date time will be returned. + + modified_before : typing.Optional[dt.datetime] + If provided, only objects synced by Merge before this date time will be returned. + + name : typing.Optional[str] + If provided, will only return files with this name. This performs an exact match. + + order_by : typing.Optional[FilesListRequestOrderBy] + Overrides the default ordering for this endpoint. Possible values include: created_at, -created_at, modified_at, -modified_at. + + page_size : typing.Optional[int] + Number of results to return per page. + + remote_id : typing.Optional[str] + The API provider's ID for the given object. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SyncPager[File, PaginatedFileList] + + + Examples + -------- + from merge import Merge + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + response = client.file_storage.files.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page + """ + return self._raw_client.list( + created_after=created_after, + created_before=created_before, + cursor=cursor, + drive_id=drive_id, + expand=expand, + folder_id=folder_id, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + mime_type=mime_type, + modified_after=modified_after, + modified_before=modified_before, + name=name, + order_by=order_by, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + def create( + self, + *, + model: FileRequest, + is_debug_mode: typing.Optional[bool] = None, + run_async: typing.Optional[bool] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> FileStorageFileResponse: + """ + Creates a `File` object with the given values. + + Parameters + ---------- + model : FileRequest + + is_debug_mode : typing.Optional[bool] + Whether to include debug fields (such as log file links) in the response. + + run_async : typing.Optional[bool] + Whether or not third-party updates should be run asynchronously. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + FileStorageFileResponse + + + Examples + -------- + from merge import Merge + from merge.resources.file_storage import FileRequest + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + client.file_storage.files.create( + model=FileRequest(), + ) + """ + _response = self._raw_client.create( + model=model, is_debug_mode=is_debug_mode, run_async=run_async, request_options=request_options + ) + return _response.data + + def retrieve( + self, + id: str, + *, + expand: typing.Optional[ + typing.Union[FilesRetrieveRequestExpandItem, typing.Sequence[FilesRetrieveRequestExpandItem]] + ] = None, + include_remote_data: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> File: + """ + Returns a `File` object with the given `id`. + + Parameters + ---------- + id : str + + expand : typing.Optional[typing.Union[FilesRetrieveRequestExpandItem, typing.Sequence[FilesRetrieveRequestExpandItem]]] + Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + + include_remote_data : typing.Optional[bool] + Whether to include the original data Merge fetched from the third-party to produce these models. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + File + + + Examples + -------- + from merge import Merge + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + client.file_storage.files.retrieve( + id="id", + ) + """ + _response = self._raw_client.retrieve( + id, + expand=expand, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + request_options=request_options, + ) + return _response.data + + def download_retrieve( + self, + id: str, + *, + include_shell_data: typing.Optional[bool] = None, + mime_type: typing.Optional[str] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> typing.Iterator[bytes]: + """ + Returns the `File` content with the given `id` as a stream of bytes. + + Parameters + ---------- + id : str + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + mime_type : typing.Optional[str] + If provided, specifies the export format of the file to be downloaded. For information on supported export formats, please refer to our export format help center article. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. You can pass in configuration such as `chunk_size`, and more to customize the request and response. + + Returns + ------- + typing.Iterator[bytes] + + """ + with self._raw_client.download_retrieve( + id, include_shell_data=include_shell_data, mime_type=mime_type, request_options=request_options + ) as r: + yield from r.data + + def download_request_meta_retrieve( + self, + id: str, + *, + mime_type: typing.Optional[str] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> DownloadRequestMeta: + """ + Returns metadata to construct an authenticated file download request for a singular file, allowing you to download file directly from the third-party. + + Parameters + ---------- + id : str + + mime_type : typing.Optional[str] + If provided, specifies the export format of the file to be downloaded. For information on supported export formats, please refer to our export format help center article. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + DownloadRequestMeta + + + Examples + -------- + from merge import Merge + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + client.file_storage.files.download_request_meta_retrieve( + id="id", + ) + """ + _response = self._raw_client.download_request_meta_retrieve( + id, mime_type=mime_type, request_options=request_options + ) + return _response.data + + def download_request_meta_list( + self, + *, + created_after: typing.Optional[str] = None, + created_before: typing.Optional[str] = None, + cursor: typing.Optional[str] = None, + include_deleted_data: typing.Optional[bool] = None, + mime_types: typing.Optional[str] = None, + modified_after: typing.Optional[str] = None, + modified_before: typing.Optional[str] = None, + order_by: typing.Optional[FilesDownloadRequestMetaListRequestOrderBy] = None, + page_size: typing.Optional[int] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> SyncPager[DownloadRequestMeta, PaginatedDownloadRequestMetaList]: + """ + Returns metadata to construct authenticated file download requests, allowing you to download files directly from the third-party. + + Parameters + ---------- + created_after : typing.Optional[str] + If provided, will only return objects created after this datetime. + + created_before : typing.Optional[str] + If provided, will only return objects created before this datetime. + + cursor : typing.Optional[str] + The pagination cursor value. + + include_deleted_data : typing.Optional[bool] + Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + + mime_types : typing.Optional[str] + A comma-separated list of preferred MIME types in order of priority. If supported by the third-party provider, the file(s) will be returned in the first supported MIME type from the list. The default MIME type is PDF. To see supported MIME types by file type, refer to our export format help center article. + + modified_after : typing.Optional[str] + If provided, will only return objects modified after this datetime. + + modified_before : typing.Optional[str] + If provided, will only return objects modified before this datetime. + + order_by : typing.Optional[FilesDownloadRequestMetaListRequestOrderBy] + Overrides the default ordering for this endpoint. Possible values include: created_at, -created_at, modified_at, -modified_at. + + page_size : typing.Optional[int] + Number of results to return per page. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SyncPager[DownloadRequestMeta, PaginatedDownloadRequestMetaList] + + + Examples + -------- + from merge import Merge + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + response = client.file_storage.files.download_request_meta_list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page + """ + return self._raw_client.download_request_meta_list( + created_after=created_after, + created_before=created_before, + cursor=cursor, + include_deleted_data=include_deleted_data, + mime_types=mime_types, + modified_after=modified_after, + modified_before=modified_before, + order_by=order_by, + page_size=page_size, + request_options=request_options, + ) + + def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: + """ + Returns metadata for `FileStorageFile` POSTs. + + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + MetaResponse + + + Examples + -------- + from merge import Merge + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + client.file_storage.files.meta_post_retrieve() + """ + _response = self._raw_client.meta_post_retrieve(request_options=request_options) + return _response.data + + +class AsyncFilesClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._raw_client = AsyncRawFilesClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> AsyncRawFilesClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + AsyncRawFilesClient + """ + return self._raw_client + + async def list( + self, + *, + created_after: typing.Optional[dt.datetime] = None, + created_before: typing.Optional[dt.datetime] = None, + cursor: typing.Optional[str] = None, + drive_id: typing.Optional[str] = None, + expand: typing.Optional[ + typing.Union[FilesListRequestExpandItem, typing.Sequence[FilesListRequestExpandItem]] + ] = None, + folder_id: typing.Optional[str] = None, + include_deleted_data: typing.Optional[bool] = None, + include_remote_data: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + mime_type: typing.Optional[str] = None, + modified_after: typing.Optional[dt.datetime] = None, + modified_before: typing.Optional[dt.datetime] = None, + name: typing.Optional[str] = None, + order_by: typing.Optional[FilesListRequestOrderBy] = None, + page_size: typing.Optional[int] = None, + remote_id: typing.Optional[str] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncPager[File, PaginatedFileList]: + """ + Returns a list of `File` objects. + + Parameters + ---------- + created_after : typing.Optional[dt.datetime] + If provided, will only return objects created after this datetime. + + created_before : typing.Optional[dt.datetime] + If provided, will only return objects created before this datetime. + + cursor : typing.Optional[str] + The pagination cursor value. + + drive_id : typing.Optional[str] + Specifying a drive id returns only the files in that drive. Specifying null returns only the files outside the top-level drive. + + expand : typing.Optional[typing.Union[FilesListRequestExpandItem, typing.Sequence[FilesListRequestExpandItem]]] + Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + + folder_id : typing.Optional[str] + Specifying a folder id returns only the files in that folder. Specifying null returns only the files in root directory. + + include_deleted_data : typing.Optional[bool] + Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + + include_remote_data : typing.Optional[bool] + Whether to include the original data Merge fetched from the third-party to produce these models. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + mime_type : typing.Optional[str] + If provided, will only return files with these mime_types. Multiple values can be separated by commas. + + modified_after : typing.Optional[dt.datetime] + If provided, only objects synced by Merge after this date time will be returned. + + modified_before : typing.Optional[dt.datetime] + If provided, only objects synced by Merge before this date time will be returned. + + name : typing.Optional[str] + If provided, will only return files with this name. This performs an exact match. + + order_by : typing.Optional[FilesListRequestOrderBy] + Overrides the default ordering for this endpoint. Possible values include: created_at, -created_at, modified_at, -modified_at. + + page_size : typing.Optional[int] + Number of results to return per page. + + remote_id : typing.Optional[str] + The API provider's ID for the given object. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncPager[File, PaginatedFileList] + + + Examples + -------- + import asyncio + + from merge import AsyncMerge + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + response = await client.file_storage.files.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page + + + asyncio.run(main()) + """ + return await self._raw_client.list( + created_after=created_after, + created_before=created_before, + cursor=cursor, + drive_id=drive_id, + expand=expand, + folder_id=folder_id, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + mime_type=mime_type, + modified_after=modified_after, + modified_before=modified_before, + name=name, + order_by=order_by, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + async def create( + self, + *, + model: FileRequest, + is_debug_mode: typing.Optional[bool] = None, + run_async: typing.Optional[bool] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> FileStorageFileResponse: + """ + Creates a `File` object with the given values. + + Parameters + ---------- + model : FileRequest + + is_debug_mode : typing.Optional[bool] + Whether to include debug fields (such as log file links) in the response. + + run_async : typing.Optional[bool] + Whether or not third-party updates should be run asynchronously. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + FileStorageFileResponse + + + Examples + -------- + import asyncio + + from merge import AsyncMerge + from merge.resources.file_storage import FileRequest + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + await client.file_storage.files.create( + model=FileRequest(), + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.create( + model=model, is_debug_mode=is_debug_mode, run_async=run_async, request_options=request_options + ) + return _response.data + + async def retrieve( + self, + id: str, + *, + expand: typing.Optional[ + typing.Union[FilesRetrieveRequestExpandItem, typing.Sequence[FilesRetrieveRequestExpandItem]] + ] = None, + include_remote_data: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> File: + """ + Returns a `File` object with the given `id`. + + Parameters + ---------- + id : str + + expand : typing.Optional[typing.Union[FilesRetrieveRequestExpandItem, typing.Sequence[FilesRetrieveRequestExpandItem]]] + Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + + include_remote_data : typing.Optional[bool] + Whether to include the original data Merge fetched from the third-party to produce these models. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + File + + + Examples + -------- + import asyncio + + from merge import AsyncMerge + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + await client.file_storage.files.retrieve( + id="id", + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.retrieve( + id, + expand=expand, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + request_options=request_options, + ) + return _response.data + + async def download_retrieve( + self, + id: str, + *, + include_shell_data: typing.Optional[bool] = None, + mime_type: typing.Optional[str] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> typing.AsyncIterator[bytes]: + """ + Returns the `File` content with the given `id` as a stream of bytes. + + Parameters + ---------- + id : str + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + mime_type : typing.Optional[str] + If provided, specifies the export format of the file to be downloaded. For information on supported export formats, please refer to our export format help center article. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. You can pass in configuration such as `chunk_size`, and more to customize the request and response. + + Returns + ------- + typing.AsyncIterator[bytes] + + """ + async with self._raw_client.download_retrieve( + id, include_shell_data=include_shell_data, mime_type=mime_type, request_options=request_options + ) as r: + async for _chunk in r.data: + yield _chunk + + async def download_request_meta_retrieve( + self, + id: str, + *, + mime_type: typing.Optional[str] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> DownloadRequestMeta: + """ + Returns metadata to construct an authenticated file download request for a singular file, allowing you to download file directly from the third-party. + + Parameters + ---------- + id : str + + mime_type : typing.Optional[str] + If provided, specifies the export format of the file to be downloaded. For information on supported export formats, please refer to our export format help center article. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + DownloadRequestMeta + + + Examples + -------- + import asyncio + + from merge import AsyncMerge + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + await client.file_storage.files.download_request_meta_retrieve( + id="id", + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.download_request_meta_retrieve( + id, mime_type=mime_type, request_options=request_options + ) + return _response.data + + async def download_request_meta_list( + self, + *, + created_after: typing.Optional[str] = None, + created_before: typing.Optional[str] = None, + cursor: typing.Optional[str] = None, + include_deleted_data: typing.Optional[bool] = None, + mime_types: typing.Optional[str] = None, + modified_after: typing.Optional[str] = None, + modified_before: typing.Optional[str] = None, + order_by: typing.Optional[FilesDownloadRequestMetaListRequestOrderBy] = None, + page_size: typing.Optional[int] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncPager[DownloadRequestMeta, PaginatedDownloadRequestMetaList]: + """ + Returns metadata to construct authenticated file download requests, allowing you to download files directly from the third-party. + + Parameters + ---------- + created_after : typing.Optional[str] + If provided, will only return objects created after this datetime. + + created_before : typing.Optional[str] + If provided, will only return objects created before this datetime. + + cursor : typing.Optional[str] + The pagination cursor value. + + include_deleted_data : typing.Optional[bool] + Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + + mime_types : typing.Optional[str] + A comma-separated list of preferred MIME types in order of priority. If supported by the third-party provider, the file(s) will be returned in the first supported MIME type from the list. The default MIME type is PDF. To see supported MIME types by file type, refer to our export format help center article. + + modified_after : typing.Optional[str] + If provided, will only return objects modified after this datetime. + + modified_before : typing.Optional[str] + If provided, will only return objects modified before this datetime. + + order_by : typing.Optional[FilesDownloadRequestMetaListRequestOrderBy] + Overrides the default ordering for this endpoint. Possible values include: created_at, -created_at, modified_at, -modified_at. + + page_size : typing.Optional[int] + Number of results to return per page. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncPager[DownloadRequestMeta, PaginatedDownloadRequestMetaList] + + + Examples + -------- + import asyncio + + from merge import AsyncMerge + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + response = await client.file_storage.files.download_request_meta_list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page + + + asyncio.run(main()) + """ + return await self._raw_client.download_request_meta_list( + created_after=created_after, + created_before=created_before, + cursor=cursor, + include_deleted_data=include_deleted_data, + mime_types=mime_types, + modified_after=modified_after, + modified_before=modified_before, + order_by=order_by, + page_size=page_size, + request_options=request_options, + ) + + async def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: + """ + Returns metadata for `FileStorageFile` POSTs. + + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + MetaResponse + + + Examples + -------- + import asyncio + + from merge import AsyncMerge + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + await client.file_storage.files.meta_post_retrieve() + + + asyncio.run(main()) + """ + _response = await self._raw_client.meta_post_retrieve(request_options=request_options) + return _response.data diff --git a/src/merge/resources/file_storage/resources/files/raw_client.py b/src/merge/resources/file_storage/resources/files/raw_client.py new file mode 100644 index 00000000..9920c365 --- /dev/null +++ b/src/merge/resources/file_storage/resources/files/raw_client.py @@ -0,0 +1,1056 @@ +# This file was auto-generated by Fern from our API Definition. + +import contextlib +import datetime as dt +import typing +from json.decoder import JSONDecodeError + +from .....core.api_error import ApiError +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.datetime_utils import serialize_datetime +from .....core.http_response import AsyncHttpResponse, HttpResponse +from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager +from .....core.request_options import RequestOptions +from .....core.unchecked_base_model import construct_type +from ...types.download_request_meta import DownloadRequestMeta +from ...types.file import File +from ...types.file_request import FileRequest +from ...types.file_storage_file_response import FileStorageFileResponse +from ...types.meta_response import MetaResponse +from ...types.paginated_download_request_meta_list import PaginatedDownloadRequestMetaList +from ...types.paginated_file_list import PaginatedFileList +from .types.files_download_request_meta_list_request_order_by import FilesDownloadRequestMetaListRequestOrderBy +from .types.files_list_request_expand_item import FilesListRequestExpandItem +from .types.files_list_request_order_by import FilesListRequestOrderBy +from .types.files_retrieve_request_expand_item import FilesRetrieveRequestExpandItem + +# this is used as the default value for optional parameters +OMIT = typing.cast(typing.Any, ...) + + +class RawFilesClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._client_wrapper = client_wrapper + + def list( + self, + *, + created_after: typing.Optional[dt.datetime] = None, + created_before: typing.Optional[dt.datetime] = None, + cursor: typing.Optional[str] = None, + drive_id: typing.Optional[str] = None, + expand: typing.Optional[ + typing.Union[FilesListRequestExpandItem, typing.Sequence[FilesListRequestExpandItem]] + ] = None, + folder_id: typing.Optional[str] = None, + include_deleted_data: typing.Optional[bool] = None, + include_remote_data: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + mime_type: typing.Optional[str] = None, + modified_after: typing.Optional[dt.datetime] = None, + modified_before: typing.Optional[dt.datetime] = None, + name: typing.Optional[str] = None, + order_by: typing.Optional[FilesListRequestOrderBy] = None, + page_size: typing.Optional[int] = None, + remote_id: typing.Optional[str] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> SyncPager[File, PaginatedFileList]: + """ + Returns a list of `File` objects. + + Parameters + ---------- + created_after : typing.Optional[dt.datetime] + If provided, will only return objects created after this datetime. + + created_before : typing.Optional[dt.datetime] + If provided, will only return objects created before this datetime. + + cursor : typing.Optional[str] + The pagination cursor value. + + drive_id : typing.Optional[str] + Specifying a drive id returns only the files in that drive. Specifying null returns only the files outside the top-level drive. + + expand : typing.Optional[typing.Union[FilesListRequestExpandItem, typing.Sequence[FilesListRequestExpandItem]]] + Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + + folder_id : typing.Optional[str] + Specifying a folder id returns only the files in that folder. Specifying null returns only the files in root directory. + + include_deleted_data : typing.Optional[bool] + Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + + include_remote_data : typing.Optional[bool] + Whether to include the original data Merge fetched from the third-party to produce these models. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + mime_type : typing.Optional[str] + If provided, will only return files with these mime_types. Multiple values can be separated by commas. + + modified_after : typing.Optional[dt.datetime] + If provided, only objects synced by Merge after this date time will be returned. + + modified_before : typing.Optional[dt.datetime] + If provided, only objects synced by Merge before this date time will be returned. + + name : typing.Optional[str] + If provided, will only return files with this name. This performs an exact match. + + order_by : typing.Optional[FilesListRequestOrderBy] + Overrides the default ordering for this endpoint. Possible values include: created_at, -created_at, modified_at, -modified_at. + + page_size : typing.Optional[int] + Number of results to return per page. + + remote_id : typing.Optional[str] + The API provider's ID for the given object. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SyncPager[File, PaginatedFileList] + + """ + _response = self._client_wrapper.httpx_client.request( + "filestorage/v1/files", + method="GET", + params={ + "created_after": serialize_datetime(created_after) if created_after is not None else None, + "created_before": serialize_datetime(created_before) if created_before is not None else None, + "cursor": cursor, + "drive_id": drive_id, + "expand": expand, + "folder_id": folder_id, + "include_deleted_data": include_deleted_data, + "include_remote_data": include_remote_data, + "include_shell_data": include_shell_data, + "mime_type": mime_type, + "modified_after": serialize_datetime(modified_after) if modified_after is not None else None, + "modified_before": serialize_datetime(modified_before) if modified_before is not None else None, + "name": name, + "order_by": order_by, + "page_size": page_size, + "remote_id": remote_id, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _parsed_response = typing.cast( + PaginatedFileList, + construct_type( + type_=PaginatedFileList, # type: ignore + object_=_response.json(), + ), + ) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + drive_id=drive_id, + expand=expand, + folder_id=folder_id, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + mime_type=mime_type, + modified_after=modified_after, + modified_before=modified_before, + name=name, + order_by=order_by, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def create( + self, + *, + model: FileRequest, + is_debug_mode: typing.Optional[bool] = None, + run_async: typing.Optional[bool] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> HttpResponse[FileStorageFileResponse]: + """ + Creates a `File` object with the given values. + + Parameters + ---------- + model : FileRequest + + is_debug_mode : typing.Optional[bool] + Whether to include debug fields (such as log file links) in the response. + + run_async : typing.Optional[bool] + Whether or not third-party updates should be run asynchronously. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[FileStorageFileResponse] + + """ + _response = self._client_wrapper.httpx_client.request( + "filestorage/v1/files", + method="POST", + params={ + "is_debug_mode": is_debug_mode, + "run_async": run_async, + }, + json={ + "model": model, + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + FileStorageFileResponse, + construct_type( + type_=FileStorageFileResponse, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def retrieve( + self, + id: str, + *, + expand: typing.Optional[ + typing.Union[FilesRetrieveRequestExpandItem, typing.Sequence[FilesRetrieveRequestExpandItem]] + ] = None, + include_remote_data: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> HttpResponse[File]: + """ + Returns a `File` object with the given `id`. + + Parameters + ---------- + id : str + + expand : typing.Optional[typing.Union[FilesRetrieveRequestExpandItem, typing.Sequence[FilesRetrieveRequestExpandItem]]] + Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + + include_remote_data : typing.Optional[bool] + Whether to include the original data Merge fetched from the third-party to produce these models. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[File] + + """ + _response = self._client_wrapper.httpx_client.request( + f"filestorage/v1/files/{jsonable_encoder(id)}", + method="GET", + params={ + "expand": expand, + "include_remote_data": include_remote_data, + "include_shell_data": include_shell_data, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + File, + construct_type( + type_=File, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + @contextlib.contextmanager + def download_retrieve( + self, + id: str, + *, + include_shell_data: typing.Optional[bool] = None, + mime_type: typing.Optional[str] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> typing.Iterator[HttpResponse[typing.Iterator[bytes]]]: + """ + Returns the `File` content with the given `id` as a stream of bytes. + + Parameters + ---------- + id : str + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + mime_type : typing.Optional[str] + If provided, specifies the export format of the file to be downloaded. For information on supported export formats, please refer to our export format help center article. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. You can pass in configuration such as `chunk_size`, and more to customize the request and response. + + Returns + ------- + typing.Iterator[HttpResponse[typing.Iterator[bytes]]] + + """ + with self._client_wrapper.httpx_client.stream( + f"filestorage/v1/files/{jsonable_encoder(id)}/download", + method="GET", + params={ + "include_shell_data": include_shell_data, + "mime_type": mime_type, + }, + request_options=request_options, + ) as _response: + + def _stream() -> HttpResponse[typing.Iterator[bytes]]: + try: + if 200 <= _response.status_code < 300: + _chunk_size = request_options.get("chunk_size", None) if request_options is not None else None + return HttpResponse( + response=_response, data=(_chunk for _chunk in _response.iter_bytes(chunk_size=_chunk_size)) + ) + _response.read() + _response_json = _response.json() + except JSONDecodeError: + raise ApiError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.text + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + yield _stream() + + def download_request_meta_retrieve( + self, + id: str, + *, + mime_type: typing.Optional[str] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> HttpResponse[DownloadRequestMeta]: + """ + Returns metadata to construct an authenticated file download request for a singular file, allowing you to download file directly from the third-party. + + Parameters + ---------- + id : str + + mime_type : typing.Optional[str] + If provided, specifies the export format of the file to be downloaded. For information on supported export formats, please refer to our export format help center article. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[DownloadRequestMeta] + + """ + _response = self._client_wrapper.httpx_client.request( + f"filestorage/v1/files/{jsonable_encoder(id)}/download/request-meta", + method="GET", + params={ + "mime_type": mime_type, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + DownloadRequestMeta, + construct_type( + type_=DownloadRequestMeta, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def download_request_meta_list( + self, + *, + created_after: typing.Optional[str] = None, + created_before: typing.Optional[str] = None, + cursor: typing.Optional[str] = None, + include_deleted_data: typing.Optional[bool] = None, + mime_types: typing.Optional[str] = None, + modified_after: typing.Optional[str] = None, + modified_before: typing.Optional[str] = None, + order_by: typing.Optional[FilesDownloadRequestMetaListRequestOrderBy] = None, + page_size: typing.Optional[int] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> SyncPager[DownloadRequestMeta, PaginatedDownloadRequestMetaList]: + """ + Returns metadata to construct authenticated file download requests, allowing you to download files directly from the third-party. + + Parameters + ---------- + created_after : typing.Optional[str] + If provided, will only return objects created after this datetime. + + created_before : typing.Optional[str] + If provided, will only return objects created before this datetime. + + cursor : typing.Optional[str] + The pagination cursor value. + + include_deleted_data : typing.Optional[bool] + Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + + mime_types : typing.Optional[str] + A comma-separated list of preferred MIME types in order of priority. If supported by the third-party provider, the file(s) will be returned in the first supported MIME type from the list. The default MIME type is PDF. To see supported MIME types by file type, refer to our export format help center article. + + modified_after : typing.Optional[str] + If provided, will only return objects modified after this datetime. + + modified_before : typing.Optional[str] + If provided, will only return objects modified before this datetime. + + order_by : typing.Optional[FilesDownloadRequestMetaListRequestOrderBy] + Overrides the default ordering for this endpoint. Possible values include: created_at, -created_at, modified_at, -modified_at. + + page_size : typing.Optional[int] + Number of results to return per page. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SyncPager[DownloadRequestMeta, PaginatedDownloadRequestMetaList] + + """ + _response = self._client_wrapper.httpx_client.request( + "filestorage/v1/files/download/request-meta", + method="GET", + params={ + "created_after": created_after, + "created_before": created_before, + "cursor": cursor, + "include_deleted_data": include_deleted_data, + "mime_types": mime_types, + "modified_after": modified_after, + "modified_before": modified_before, + "order_by": order_by, + "page_size": page_size, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _parsed_response = typing.cast( + PaginatedDownloadRequestMetaList, + construct_type( + type_=PaginatedDownloadRequestMetaList, # type: ignore + object_=_response.json(), + ), + ) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.download_request_meta_list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + mime_types=mime_types, + modified_after=modified_after, + modified_before=modified_before, + order_by=order_by, + page_size=page_size, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def meta_post_retrieve( + self, *, request_options: typing.Optional[RequestOptions] = None + ) -> HttpResponse[MetaResponse]: + """ + Returns metadata for `FileStorageFile` POSTs. + + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[MetaResponse] + + """ + _response = self._client_wrapper.httpx_client.request( + "filestorage/v1/files/meta/post", + method="GET", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + MetaResponse, + construct_type( + type_=MetaResponse, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + +class AsyncRawFilesClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._client_wrapper = client_wrapper + + async def list( + self, + *, + created_after: typing.Optional[dt.datetime] = None, + created_before: typing.Optional[dt.datetime] = None, + cursor: typing.Optional[str] = None, + drive_id: typing.Optional[str] = None, + expand: typing.Optional[ + typing.Union[FilesListRequestExpandItem, typing.Sequence[FilesListRequestExpandItem]] + ] = None, + folder_id: typing.Optional[str] = None, + include_deleted_data: typing.Optional[bool] = None, + include_remote_data: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + mime_type: typing.Optional[str] = None, + modified_after: typing.Optional[dt.datetime] = None, + modified_before: typing.Optional[dt.datetime] = None, + name: typing.Optional[str] = None, + order_by: typing.Optional[FilesListRequestOrderBy] = None, + page_size: typing.Optional[int] = None, + remote_id: typing.Optional[str] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncPager[File, PaginatedFileList]: + """ + Returns a list of `File` objects. + + Parameters + ---------- + created_after : typing.Optional[dt.datetime] + If provided, will only return objects created after this datetime. + + created_before : typing.Optional[dt.datetime] + If provided, will only return objects created before this datetime. + + cursor : typing.Optional[str] + The pagination cursor value. + + drive_id : typing.Optional[str] + Specifying a drive id returns only the files in that drive. Specifying null returns only the files outside the top-level drive. + + expand : typing.Optional[typing.Union[FilesListRequestExpandItem, typing.Sequence[FilesListRequestExpandItem]]] + Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + + folder_id : typing.Optional[str] + Specifying a folder id returns only the files in that folder. Specifying null returns only the files in root directory. + + include_deleted_data : typing.Optional[bool] + Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + + include_remote_data : typing.Optional[bool] + Whether to include the original data Merge fetched from the third-party to produce these models. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + mime_type : typing.Optional[str] + If provided, will only return files with these mime_types. Multiple values can be separated by commas. + + modified_after : typing.Optional[dt.datetime] + If provided, only objects synced by Merge after this date time will be returned. + + modified_before : typing.Optional[dt.datetime] + If provided, only objects synced by Merge before this date time will be returned. + + name : typing.Optional[str] + If provided, will only return files with this name. This performs an exact match. + + order_by : typing.Optional[FilesListRequestOrderBy] + Overrides the default ordering for this endpoint. Possible values include: created_at, -created_at, modified_at, -modified_at. + + page_size : typing.Optional[int] + Number of results to return per page. + + remote_id : typing.Optional[str] + The API provider's ID for the given object. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncPager[File, PaginatedFileList] + + """ + _response = await self._client_wrapper.httpx_client.request( + "filestorage/v1/files", + method="GET", + params={ + "created_after": serialize_datetime(created_after) if created_after is not None else None, + "created_before": serialize_datetime(created_before) if created_before is not None else None, + "cursor": cursor, + "drive_id": drive_id, + "expand": expand, + "folder_id": folder_id, + "include_deleted_data": include_deleted_data, + "include_remote_data": include_remote_data, + "include_shell_data": include_shell_data, + "mime_type": mime_type, + "modified_after": serialize_datetime(modified_after) if modified_after is not None else None, + "modified_before": serialize_datetime(modified_before) if modified_before is not None else None, + "name": name, + "order_by": order_by, + "page_size": page_size, + "remote_id": remote_id, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _parsed_response = typing.cast( + PaginatedFileList, + construct_type( + type_=PaginatedFileList, # type: ignore + object_=_response.json(), + ), + ) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + drive_id=drive_id, + expand=expand, + folder_id=folder_id, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + mime_type=mime_type, + modified_after=modified_after, + modified_before=modified_before, + name=name, + order_by=order_by, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def create( + self, + *, + model: FileRequest, + is_debug_mode: typing.Optional[bool] = None, + run_async: typing.Optional[bool] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncHttpResponse[FileStorageFileResponse]: + """ + Creates a `File` object with the given values. + + Parameters + ---------- + model : FileRequest + + is_debug_mode : typing.Optional[bool] + Whether to include debug fields (such as log file links) in the response. + + run_async : typing.Optional[bool] + Whether or not third-party updates should be run asynchronously. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[FileStorageFileResponse] + + """ + _response = await self._client_wrapper.httpx_client.request( + "filestorage/v1/files", + method="POST", + params={ + "is_debug_mode": is_debug_mode, + "run_async": run_async, + }, + json={ + "model": model, + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + FileStorageFileResponse, + construct_type( + type_=FileStorageFileResponse, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def retrieve( + self, + id: str, + *, + expand: typing.Optional[ + typing.Union[FilesRetrieveRequestExpandItem, typing.Sequence[FilesRetrieveRequestExpandItem]] + ] = None, + include_remote_data: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncHttpResponse[File]: + """ + Returns a `File` object with the given `id`. + + Parameters + ---------- + id : str + + expand : typing.Optional[typing.Union[FilesRetrieveRequestExpandItem, typing.Sequence[FilesRetrieveRequestExpandItem]]] + Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + + include_remote_data : typing.Optional[bool] + Whether to include the original data Merge fetched from the third-party to produce these models. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[File] + + """ + _response = await self._client_wrapper.httpx_client.request( + f"filestorage/v1/files/{jsonable_encoder(id)}", + method="GET", + params={ + "expand": expand, + "include_remote_data": include_remote_data, + "include_shell_data": include_shell_data, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + File, + construct_type( + type_=File, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + @contextlib.asynccontextmanager + async def download_retrieve( + self, + id: str, + *, + include_shell_data: typing.Optional[bool] = None, + mime_type: typing.Optional[str] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> typing.AsyncIterator[AsyncHttpResponse[typing.AsyncIterator[bytes]]]: + """ + Returns the `File` content with the given `id` as a stream of bytes. + + Parameters + ---------- + id : str + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + mime_type : typing.Optional[str] + If provided, specifies the export format of the file to be downloaded. For information on supported export formats, please refer to our export format help center article. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. You can pass in configuration such as `chunk_size`, and more to customize the request and response. + + Returns + ------- + typing.AsyncIterator[AsyncHttpResponse[typing.AsyncIterator[bytes]]] + + """ + async with self._client_wrapper.httpx_client.stream( + f"filestorage/v1/files/{jsonable_encoder(id)}/download", + method="GET", + params={ + "include_shell_data": include_shell_data, + "mime_type": mime_type, + }, + request_options=request_options, + ) as _response: + + async def _stream() -> AsyncHttpResponse[typing.AsyncIterator[bytes]]: + try: + if 200 <= _response.status_code < 300: + _chunk_size = request_options.get("chunk_size", None) if request_options is not None else None + return AsyncHttpResponse( + response=_response, + data=(_chunk async for _chunk in _response.aiter_bytes(chunk_size=_chunk_size)), + ) + await _response.aread() + _response_json = _response.json() + except JSONDecodeError: + raise ApiError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.text + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + yield await _stream() + + async def download_request_meta_retrieve( + self, + id: str, + *, + mime_type: typing.Optional[str] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncHttpResponse[DownloadRequestMeta]: + """ + Returns metadata to construct an authenticated file download request for a singular file, allowing you to download file directly from the third-party. + + Parameters + ---------- + id : str + + mime_type : typing.Optional[str] + If provided, specifies the export format of the file to be downloaded. For information on supported export formats, please refer to our export format help center article. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[DownloadRequestMeta] + + """ + _response = await self._client_wrapper.httpx_client.request( + f"filestorage/v1/files/{jsonable_encoder(id)}/download/request-meta", + method="GET", + params={ + "mime_type": mime_type, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + DownloadRequestMeta, + construct_type( + type_=DownloadRequestMeta, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def download_request_meta_list( + self, + *, + created_after: typing.Optional[str] = None, + created_before: typing.Optional[str] = None, + cursor: typing.Optional[str] = None, + include_deleted_data: typing.Optional[bool] = None, + mime_types: typing.Optional[str] = None, + modified_after: typing.Optional[str] = None, + modified_before: typing.Optional[str] = None, + order_by: typing.Optional[FilesDownloadRequestMetaListRequestOrderBy] = None, + page_size: typing.Optional[int] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncPager[DownloadRequestMeta, PaginatedDownloadRequestMetaList]: + """ + Returns metadata to construct authenticated file download requests, allowing you to download files directly from the third-party. + + Parameters + ---------- + created_after : typing.Optional[str] + If provided, will only return objects created after this datetime. + + created_before : typing.Optional[str] + If provided, will only return objects created before this datetime. + + cursor : typing.Optional[str] + The pagination cursor value. + + include_deleted_data : typing.Optional[bool] + Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + + mime_types : typing.Optional[str] + A comma-separated list of preferred MIME types in order of priority. If supported by the third-party provider, the file(s) will be returned in the first supported MIME type from the list. The default MIME type is PDF. To see supported MIME types by file type, refer to our export format help center article. + + modified_after : typing.Optional[str] + If provided, will only return objects modified after this datetime. + + modified_before : typing.Optional[str] + If provided, will only return objects modified before this datetime. + + order_by : typing.Optional[FilesDownloadRequestMetaListRequestOrderBy] + Overrides the default ordering for this endpoint. Possible values include: created_at, -created_at, modified_at, -modified_at. + + page_size : typing.Optional[int] + Number of results to return per page. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncPager[DownloadRequestMeta, PaginatedDownloadRequestMetaList] + + """ + _response = await self._client_wrapper.httpx_client.request( + "filestorage/v1/files/download/request-meta", + method="GET", + params={ + "created_after": created_after, + "created_before": created_before, + "cursor": cursor, + "include_deleted_data": include_deleted_data, + "mime_types": mime_types, + "modified_after": modified_after, + "modified_before": modified_before, + "order_by": order_by, + "page_size": page_size, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _parsed_response = typing.cast( + PaginatedDownloadRequestMetaList, + construct_type( + type_=PaginatedDownloadRequestMetaList, # type: ignore + object_=_response.json(), + ), + ) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.download_request_meta_list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + mime_types=mime_types, + modified_after=modified_after, + modified_before=modified_before, + order_by=order_by, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def meta_post_retrieve( + self, *, request_options: typing.Optional[RequestOptions] = None + ) -> AsyncHttpResponse[MetaResponse]: + """ + Returns metadata for `FileStorageFile` POSTs. + + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[MetaResponse] + + """ + _response = await self._client_wrapper.httpx_client.request( + "filestorage/v1/files/meta/post", + method="GET", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + MetaResponse, + construct_type( + type_=MetaResponse, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/file_storage/resources/files/types/__init__.py b/src/merge/resources/file_storage/resources/files/types/__init__.py new file mode 100644 index 00000000..816313c4 --- /dev/null +++ b/src/merge/resources/file_storage/resources/files/types/__init__.py @@ -0,0 +1,47 @@ +# This file was auto-generated by Fern from our API Definition. + +# isort: skip_file + +import typing +from importlib import import_module + +if typing.TYPE_CHECKING: + from .files_download_request_meta_list_request_order_by import FilesDownloadRequestMetaListRequestOrderBy + from .files_list_request_expand_item import FilesListRequestExpandItem + from .files_list_request_order_by import FilesListRequestOrderBy + from .files_retrieve_request_expand_item import FilesRetrieveRequestExpandItem +_dynamic_imports: typing.Dict[str, str] = { + "FilesDownloadRequestMetaListRequestOrderBy": ".files_download_request_meta_list_request_order_by", + "FilesListRequestExpandItem": ".files_list_request_expand_item", + "FilesListRequestOrderBy": ".files_list_request_order_by", + "FilesRetrieveRequestExpandItem": ".files_retrieve_request_expand_item", +} + + +def __getattr__(attr_name: str) -> typing.Any: + module_name = _dynamic_imports.get(attr_name) + if module_name is None: + raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") + try: + module = import_module(module_name, __package__) + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) + except ImportError as e: + raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e + except AttributeError as e: + raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e + + +def __dir__(): + lazy_attrs = list(_dynamic_imports.keys()) + return sorted(lazy_attrs) + + +__all__ = [ + "FilesDownloadRequestMetaListRequestOrderBy", + "FilesListRequestExpandItem", + "FilesListRequestOrderBy", + "FilesRetrieveRequestExpandItem", +] diff --git a/src/merge/resources/filestorage/resources/files/types/files_download_request_meta_list_request_order_by.py b/src/merge/resources/file_storage/resources/files/types/files_download_request_meta_list_request_order_by.py similarity index 100% rename from src/merge/resources/filestorage/resources/files/types/files_download_request_meta_list_request_order_by.py rename to src/merge/resources/file_storage/resources/files/types/files_download_request_meta_list_request_order_by.py diff --git a/src/merge/resources/file_storage/resources/files/types/files_list_request_expand_item.py b/src/merge/resources/file_storage/resources/files/types/files_list_request_expand_item.py new file mode 100644 index 00000000..70700994 --- /dev/null +++ b/src/merge/resources/file_storage/resources/files/types/files_list_request_expand_item.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class FilesListRequestExpandItem(str, enum.Enum): + DRIVE = "drive" + FOLDER = "folder" + PERMISSIONS = "permissions" + + def visit( + self, + drive: typing.Callable[[], T_Result], + folder: typing.Callable[[], T_Result], + permissions: typing.Callable[[], T_Result], + ) -> T_Result: + if self is FilesListRequestExpandItem.DRIVE: + return drive() + if self is FilesListRequestExpandItem.FOLDER: + return folder() + if self is FilesListRequestExpandItem.PERMISSIONS: + return permissions() diff --git a/src/merge/resources/filestorage/resources/files/types/files_list_request_order_by.py b/src/merge/resources/file_storage/resources/files/types/files_list_request_order_by.py similarity index 100% rename from src/merge/resources/filestorage/resources/files/types/files_list_request_order_by.py rename to src/merge/resources/file_storage/resources/files/types/files_list_request_order_by.py diff --git a/src/merge/resources/file_storage/resources/files/types/files_retrieve_request_expand_item.py b/src/merge/resources/file_storage/resources/files/types/files_retrieve_request_expand_item.py new file mode 100644 index 00000000..1770d94e --- /dev/null +++ b/src/merge/resources/file_storage/resources/files/types/files_retrieve_request_expand_item.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class FilesRetrieveRequestExpandItem(str, enum.Enum): + DRIVE = "drive" + FOLDER = "folder" + PERMISSIONS = "permissions" + + def visit( + self, + drive: typing.Callable[[], T_Result], + folder: typing.Callable[[], T_Result], + permissions: typing.Callable[[], T_Result], + ) -> T_Result: + if self is FilesRetrieveRequestExpandItem.DRIVE: + return drive() + if self is FilesRetrieveRequestExpandItem.FOLDER: + return folder() + if self is FilesRetrieveRequestExpandItem.PERMISSIONS: + return permissions() diff --git a/src/merge/resources/file_storage/resources/folders/__init__.py b/src/merge/resources/file_storage/resources/folders/__init__.py new file mode 100644 index 00000000..f06c1413 --- /dev/null +++ b/src/merge/resources/file_storage/resources/folders/__init__.py @@ -0,0 +1,37 @@ +# This file was auto-generated by Fern from our API Definition. + +# isort: skip_file + +import typing +from importlib import import_module + +if typing.TYPE_CHECKING: + from .types import FoldersListRequestExpandItem, FoldersRetrieveRequestExpandItem +_dynamic_imports: typing.Dict[str, str] = { + "FoldersListRequestExpandItem": ".types", + "FoldersRetrieveRequestExpandItem": ".types", +} + + +def __getattr__(attr_name: str) -> typing.Any: + module_name = _dynamic_imports.get(attr_name) + if module_name is None: + raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") + try: + module = import_module(module_name, __package__) + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) + except ImportError as e: + raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e + except AttributeError as e: + raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e + + +def __dir__(): + lazy_attrs = list(_dynamic_imports.keys()) + return sorted(lazy_attrs) + + +__all__ = ["FoldersListRequestExpandItem", "FoldersRetrieveRequestExpandItem"] diff --git a/src/merge/resources/file_storage/resources/folders/client.py b/src/merge/resources/file_storage/resources/folders/client.py new file mode 100644 index 00000000..e69b7470 --- /dev/null +++ b/src/merge/resources/file_storage/resources/folders/client.py @@ -0,0 +1,566 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager +from .....core.request_options import RequestOptions +from ...types.file_storage_folder_response import FileStorageFolderResponse +from ...types.folder import Folder +from ...types.folder_request import FolderRequest +from ...types.meta_response import MetaResponse +from ...types.paginated_folder_list import PaginatedFolderList +from .raw_client import AsyncRawFoldersClient, RawFoldersClient +from .types.folders_list_request_expand_item import FoldersListRequestExpandItem +from .types.folders_retrieve_request_expand_item import FoldersRetrieveRequestExpandItem + +# this is used as the default value for optional parameters +OMIT = typing.cast(typing.Any, ...) + + +class FoldersClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._raw_client = RawFoldersClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> RawFoldersClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + RawFoldersClient + """ + return self._raw_client + + def list( + self, + *, + created_after: typing.Optional[dt.datetime] = None, + created_before: typing.Optional[dt.datetime] = None, + cursor: typing.Optional[str] = None, + drive_id: typing.Optional[str] = None, + expand: typing.Optional[ + typing.Union[FoldersListRequestExpandItem, typing.Sequence[FoldersListRequestExpandItem]] + ] = None, + include_deleted_data: typing.Optional[bool] = None, + include_remote_data: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + modified_after: typing.Optional[dt.datetime] = None, + modified_before: typing.Optional[dt.datetime] = None, + name: typing.Optional[str] = None, + page_size: typing.Optional[int] = None, + parent_folder_id: typing.Optional[str] = None, + remote_id: typing.Optional[str] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> SyncPager[Folder, PaginatedFolderList]: + """ + Returns a list of `Folder` objects. + + Parameters + ---------- + created_after : typing.Optional[dt.datetime] + If provided, will only return objects created after this datetime. + + created_before : typing.Optional[dt.datetime] + If provided, will only return objects created before this datetime. + + cursor : typing.Optional[str] + The pagination cursor value. + + drive_id : typing.Optional[str] + If provided, will only return folders in this drive. + + expand : typing.Optional[typing.Union[FoldersListRequestExpandItem, typing.Sequence[FoldersListRequestExpandItem]]] + Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + + include_deleted_data : typing.Optional[bool] + Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + + include_remote_data : typing.Optional[bool] + Whether to include the original data Merge fetched from the third-party to produce these models. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + modified_after : typing.Optional[dt.datetime] + If provided, only objects synced by Merge after this date time will be returned. + + modified_before : typing.Optional[dt.datetime] + If provided, only objects synced by Merge before this date time will be returned. + + name : typing.Optional[str] + If provided, will only return folders with this name. This performs an exact match. + + page_size : typing.Optional[int] + Number of results to return per page. + + parent_folder_id : typing.Optional[str] + If provided, will only return folders in this parent folder. If null, will return folders in root directory. + + remote_id : typing.Optional[str] + The API provider's ID for the given object. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SyncPager[Folder, PaginatedFolderList] + + + Examples + -------- + from merge import Merge + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + response = client.file_storage.folders.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page + """ + return self._raw_client.list( + created_after=created_after, + created_before=created_before, + cursor=cursor, + drive_id=drive_id, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + name=name, + page_size=page_size, + parent_folder_id=parent_folder_id, + remote_id=remote_id, + request_options=request_options, + ) + + def create( + self, + *, + model: FolderRequest, + is_debug_mode: typing.Optional[bool] = None, + run_async: typing.Optional[bool] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> FileStorageFolderResponse: + """ + Creates a `Folder` object with the given values. + + Parameters + ---------- + model : FolderRequest + + is_debug_mode : typing.Optional[bool] + Whether to include debug fields (such as log file links) in the response. + + run_async : typing.Optional[bool] + Whether or not third-party updates should be run asynchronously. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + FileStorageFolderResponse + + + Examples + -------- + from merge import Merge + from merge.resources.file_storage import FolderRequest + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + client.file_storage.folders.create( + model=FolderRequest(), + ) + """ + _response = self._raw_client.create( + model=model, is_debug_mode=is_debug_mode, run_async=run_async, request_options=request_options + ) + return _response.data + + def retrieve( + self, + id: str, + *, + expand: typing.Optional[ + typing.Union[FoldersRetrieveRequestExpandItem, typing.Sequence[FoldersRetrieveRequestExpandItem]] + ] = None, + include_remote_data: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> Folder: + """ + Returns a `Folder` object with the given `id`. + + Parameters + ---------- + id : str + + expand : typing.Optional[typing.Union[FoldersRetrieveRequestExpandItem, typing.Sequence[FoldersRetrieveRequestExpandItem]]] + Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + + include_remote_data : typing.Optional[bool] + Whether to include the original data Merge fetched from the third-party to produce these models. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + Folder + + + Examples + -------- + from merge import Merge + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + client.file_storage.folders.retrieve( + id="id", + ) + """ + _response = self._raw_client.retrieve( + id, + expand=expand, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + request_options=request_options, + ) + return _response.data + + def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: + """ + Returns metadata for `FileStorageFolder` POSTs. + + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + MetaResponse + + + Examples + -------- + from merge import Merge + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + client.file_storage.folders.meta_post_retrieve() + """ + _response = self._raw_client.meta_post_retrieve(request_options=request_options) + return _response.data + + +class AsyncFoldersClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._raw_client = AsyncRawFoldersClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> AsyncRawFoldersClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + AsyncRawFoldersClient + """ + return self._raw_client + + async def list( + self, + *, + created_after: typing.Optional[dt.datetime] = None, + created_before: typing.Optional[dt.datetime] = None, + cursor: typing.Optional[str] = None, + drive_id: typing.Optional[str] = None, + expand: typing.Optional[ + typing.Union[FoldersListRequestExpandItem, typing.Sequence[FoldersListRequestExpandItem]] + ] = None, + include_deleted_data: typing.Optional[bool] = None, + include_remote_data: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + modified_after: typing.Optional[dt.datetime] = None, + modified_before: typing.Optional[dt.datetime] = None, + name: typing.Optional[str] = None, + page_size: typing.Optional[int] = None, + parent_folder_id: typing.Optional[str] = None, + remote_id: typing.Optional[str] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncPager[Folder, PaginatedFolderList]: + """ + Returns a list of `Folder` objects. + + Parameters + ---------- + created_after : typing.Optional[dt.datetime] + If provided, will only return objects created after this datetime. + + created_before : typing.Optional[dt.datetime] + If provided, will only return objects created before this datetime. + + cursor : typing.Optional[str] + The pagination cursor value. + + drive_id : typing.Optional[str] + If provided, will only return folders in this drive. + + expand : typing.Optional[typing.Union[FoldersListRequestExpandItem, typing.Sequence[FoldersListRequestExpandItem]]] + Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + + include_deleted_data : typing.Optional[bool] + Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + + include_remote_data : typing.Optional[bool] + Whether to include the original data Merge fetched from the third-party to produce these models. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + modified_after : typing.Optional[dt.datetime] + If provided, only objects synced by Merge after this date time will be returned. + + modified_before : typing.Optional[dt.datetime] + If provided, only objects synced by Merge before this date time will be returned. + + name : typing.Optional[str] + If provided, will only return folders with this name. This performs an exact match. + + page_size : typing.Optional[int] + Number of results to return per page. + + parent_folder_id : typing.Optional[str] + If provided, will only return folders in this parent folder. If null, will return folders in root directory. + + remote_id : typing.Optional[str] + The API provider's ID for the given object. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncPager[Folder, PaginatedFolderList] + + + Examples + -------- + import asyncio + + from merge import AsyncMerge + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + response = await client.file_storage.folders.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page + + + asyncio.run(main()) + """ + return await self._raw_client.list( + created_after=created_after, + created_before=created_before, + cursor=cursor, + drive_id=drive_id, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + name=name, + page_size=page_size, + parent_folder_id=parent_folder_id, + remote_id=remote_id, + request_options=request_options, + ) + + async def create( + self, + *, + model: FolderRequest, + is_debug_mode: typing.Optional[bool] = None, + run_async: typing.Optional[bool] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> FileStorageFolderResponse: + """ + Creates a `Folder` object with the given values. + + Parameters + ---------- + model : FolderRequest + + is_debug_mode : typing.Optional[bool] + Whether to include debug fields (such as log file links) in the response. + + run_async : typing.Optional[bool] + Whether or not third-party updates should be run asynchronously. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + FileStorageFolderResponse + + + Examples + -------- + import asyncio + + from merge import AsyncMerge + from merge.resources.file_storage import FolderRequest + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + await client.file_storage.folders.create( + model=FolderRequest(), + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.create( + model=model, is_debug_mode=is_debug_mode, run_async=run_async, request_options=request_options + ) + return _response.data + + async def retrieve( + self, + id: str, + *, + expand: typing.Optional[ + typing.Union[FoldersRetrieveRequestExpandItem, typing.Sequence[FoldersRetrieveRequestExpandItem]] + ] = None, + include_remote_data: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> Folder: + """ + Returns a `Folder` object with the given `id`. + + Parameters + ---------- + id : str + + expand : typing.Optional[typing.Union[FoldersRetrieveRequestExpandItem, typing.Sequence[FoldersRetrieveRequestExpandItem]]] + Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + + include_remote_data : typing.Optional[bool] + Whether to include the original data Merge fetched from the third-party to produce these models. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + Folder + + + Examples + -------- + import asyncio + + from merge import AsyncMerge + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + await client.file_storage.folders.retrieve( + id="id", + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.retrieve( + id, + expand=expand, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + request_options=request_options, + ) + return _response.data + + async def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: + """ + Returns metadata for `FileStorageFolder` POSTs. + + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + MetaResponse + + + Examples + -------- + import asyncio + + from merge import AsyncMerge + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + await client.file_storage.folders.meta_post_retrieve() + + + asyncio.run(main()) + """ + _response = await self._raw_client.meta_post_retrieve(request_options=request_options) + return _response.data diff --git a/src/merge/resources/file_storage/resources/folders/raw_client.py b/src/merge/resources/file_storage/resources/folders/raw_client.py new file mode 100644 index 00000000..83dbd455 --- /dev/null +++ b/src/merge/resources/file_storage/resources/folders/raw_client.py @@ -0,0 +1,613 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing +from json.decoder import JSONDecodeError + +from .....core.api_error import ApiError +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.datetime_utils import serialize_datetime +from .....core.http_response import AsyncHttpResponse, HttpResponse +from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager +from .....core.request_options import RequestOptions +from .....core.unchecked_base_model import construct_type +from ...types.file_storage_folder_response import FileStorageFolderResponse +from ...types.folder import Folder +from ...types.folder_request import FolderRequest +from ...types.meta_response import MetaResponse +from ...types.paginated_folder_list import PaginatedFolderList +from .types.folders_list_request_expand_item import FoldersListRequestExpandItem +from .types.folders_retrieve_request_expand_item import FoldersRetrieveRequestExpandItem + +# this is used as the default value for optional parameters +OMIT = typing.cast(typing.Any, ...) + + +class RawFoldersClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._client_wrapper = client_wrapper + + def list( + self, + *, + created_after: typing.Optional[dt.datetime] = None, + created_before: typing.Optional[dt.datetime] = None, + cursor: typing.Optional[str] = None, + drive_id: typing.Optional[str] = None, + expand: typing.Optional[ + typing.Union[FoldersListRequestExpandItem, typing.Sequence[FoldersListRequestExpandItem]] + ] = None, + include_deleted_data: typing.Optional[bool] = None, + include_remote_data: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + modified_after: typing.Optional[dt.datetime] = None, + modified_before: typing.Optional[dt.datetime] = None, + name: typing.Optional[str] = None, + page_size: typing.Optional[int] = None, + parent_folder_id: typing.Optional[str] = None, + remote_id: typing.Optional[str] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> SyncPager[Folder, PaginatedFolderList]: + """ + Returns a list of `Folder` objects. + + Parameters + ---------- + created_after : typing.Optional[dt.datetime] + If provided, will only return objects created after this datetime. + + created_before : typing.Optional[dt.datetime] + If provided, will only return objects created before this datetime. + + cursor : typing.Optional[str] + The pagination cursor value. + + drive_id : typing.Optional[str] + If provided, will only return folders in this drive. + + expand : typing.Optional[typing.Union[FoldersListRequestExpandItem, typing.Sequence[FoldersListRequestExpandItem]]] + Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + + include_deleted_data : typing.Optional[bool] + Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + + include_remote_data : typing.Optional[bool] + Whether to include the original data Merge fetched from the third-party to produce these models. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + modified_after : typing.Optional[dt.datetime] + If provided, only objects synced by Merge after this date time will be returned. + + modified_before : typing.Optional[dt.datetime] + If provided, only objects synced by Merge before this date time will be returned. + + name : typing.Optional[str] + If provided, will only return folders with this name. This performs an exact match. + + page_size : typing.Optional[int] + Number of results to return per page. + + parent_folder_id : typing.Optional[str] + If provided, will only return folders in this parent folder. If null, will return folders in root directory. + + remote_id : typing.Optional[str] + The API provider's ID for the given object. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SyncPager[Folder, PaginatedFolderList] + + """ + _response = self._client_wrapper.httpx_client.request( + "filestorage/v1/folders", + method="GET", + params={ + "created_after": serialize_datetime(created_after) if created_after is not None else None, + "created_before": serialize_datetime(created_before) if created_before is not None else None, + "cursor": cursor, + "drive_id": drive_id, + "expand": expand, + "include_deleted_data": include_deleted_data, + "include_remote_data": include_remote_data, + "include_shell_data": include_shell_data, + "modified_after": serialize_datetime(modified_after) if modified_after is not None else None, + "modified_before": serialize_datetime(modified_before) if modified_before is not None else None, + "name": name, + "page_size": page_size, + "parent_folder_id": parent_folder_id, + "remote_id": remote_id, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _parsed_response = typing.cast( + PaginatedFolderList, + construct_type( + type_=PaginatedFolderList, # type: ignore + object_=_response.json(), + ), + ) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + drive_id=drive_id, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + name=name, + page_size=page_size, + parent_folder_id=parent_folder_id, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def create( + self, + *, + model: FolderRequest, + is_debug_mode: typing.Optional[bool] = None, + run_async: typing.Optional[bool] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> HttpResponse[FileStorageFolderResponse]: + """ + Creates a `Folder` object with the given values. + + Parameters + ---------- + model : FolderRequest + + is_debug_mode : typing.Optional[bool] + Whether to include debug fields (such as log file links) in the response. + + run_async : typing.Optional[bool] + Whether or not third-party updates should be run asynchronously. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[FileStorageFolderResponse] + + """ + _response = self._client_wrapper.httpx_client.request( + "filestorage/v1/folders", + method="POST", + params={ + "is_debug_mode": is_debug_mode, + "run_async": run_async, + }, + json={ + "model": model, + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + FileStorageFolderResponse, + construct_type( + type_=FileStorageFolderResponse, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def retrieve( + self, + id: str, + *, + expand: typing.Optional[ + typing.Union[FoldersRetrieveRequestExpandItem, typing.Sequence[FoldersRetrieveRequestExpandItem]] + ] = None, + include_remote_data: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> HttpResponse[Folder]: + """ + Returns a `Folder` object with the given `id`. + + Parameters + ---------- + id : str + + expand : typing.Optional[typing.Union[FoldersRetrieveRequestExpandItem, typing.Sequence[FoldersRetrieveRequestExpandItem]]] + Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + + include_remote_data : typing.Optional[bool] + Whether to include the original data Merge fetched from the third-party to produce these models. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[Folder] + + """ + _response = self._client_wrapper.httpx_client.request( + f"filestorage/v1/folders/{jsonable_encoder(id)}", + method="GET", + params={ + "expand": expand, + "include_remote_data": include_remote_data, + "include_shell_data": include_shell_data, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + Folder, + construct_type( + type_=Folder, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def meta_post_retrieve( + self, *, request_options: typing.Optional[RequestOptions] = None + ) -> HttpResponse[MetaResponse]: + """ + Returns metadata for `FileStorageFolder` POSTs. + + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[MetaResponse] + + """ + _response = self._client_wrapper.httpx_client.request( + "filestorage/v1/folders/meta/post", + method="GET", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + MetaResponse, + construct_type( + type_=MetaResponse, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + +class AsyncRawFoldersClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._client_wrapper = client_wrapper + + async def list( + self, + *, + created_after: typing.Optional[dt.datetime] = None, + created_before: typing.Optional[dt.datetime] = None, + cursor: typing.Optional[str] = None, + drive_id: typing.Optional[str] = None, + expand: typing.Optional[ + typing.Union[FoldersListRequestExpandItem, typing.Sequence[FoldersListRequestExpandItem]] + ] = None, + include_deleted_data: typing.Optional[bool] = None, + include_remote_data: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + modified_after: typing.Optional[dt.datetime] = None, + modified_before: typing.Optional[dt.datetime] = None, + name: typing.Optional[str] = None, + page_size: typing.Optional[int] = None, + parent_folder_id: typing.Optional[str] = None, + remote_id: typing.Optional[str] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncPager[Folder, PaginatedFolderList]: + """ + Returns a list of `Folder` objects. + + Parameters + ---------- + created_after : typing.Optional[dt.datetime] + If provided, will only return objects created after this datetime. + + created_before : typing.Optional[dt.datetime] + If provided, will only return objects created before this datetime. + + cursor : typing.Optional[str] + The pagination cursor value. + + drive_id : typing.Optional[str] + If provided, will only return folders in this drive. + + expand : typing.Optional[typing.Union[FoldersListRequestExpandItem, typing.Sequence[FoldersListRequestExpandItem]]] + Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + + include_deleted_data : typing.Optional[bool] + Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + + include_remote_data : typing.Optional[bool] + Whether to include the original data Merge fetched from the third-party to produce these models. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + modified_after : typing.Optional[dt.datetime] + If provided, only objects synced by Merge after this date time will be returned. + + modified_before : typing.Optional[dt.datetime] + If provided, only objects synced by Merge before this date time will be returned. + + name : typing.Optional[str] + If provided, will only return folders with this name. This performs an exact match. + + page_size : typing.Optional[int] + Number of results to return per page. + + parent_folder_id : typing.Optional[str] + If provided, will only return folders in this parent folder. If null, will return folders in root directory. + + remote_id : typing.Optional[str] + The API provider's ID for the given object. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncPager[Folder, PaginatedFolderList] + + """ + _response = await self._client_wrapper.httpx_client.request( + "filestorage/v1/folders", + method="GET", + params={ + "created_after": serialize_datetime(created_after) if created_after is not None else None, + "created_before": serialize_datetime(created_before) if created_before is not None else None, + "cursor": cursor, + "drive_id": drive_id, + "expand": expand, + "include_deleted_data": include_deleted_data, + "include_remote_data": include_remote_data, + "include_shell_data": include_shell_data, + "modified_after": serialize_datetime(modified_after) if modified_after is not None else None, + "modified_before": serialize_datetime(modified_before) if modified_before is not None else None, + "name": name, + "page_size": page_size, + "parent_folder_id": parent_folder_id, + "remote_id": remote_id, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _parsed_response = typing.cast( + PaginatedFolderList, + construct_type( + type_=PaginatedFolderList, # type: ignore + object_=_response.json(), + ), + ) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + drive_id=drive_id, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + name=name, + page_size=page_size, + parent_folder_id=parent_folder_id, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def create( + self, + *, + model: FolderRequest, + is_debug_mode: typing.Optional[bool] = None, + run_async: typing.Optional[bool] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncHttpResponse[FileStorageFolderResponse]: + """ + Creates a `Folder` object with the given values. + + Parameters + ---------- + model : FolderRequest + + is_debug_mode : typing.Optional[bool] + Whether to include debug fields (such as log file links) in the response. + + run_async : typing.Optional[bool] + Whether or not third-party updates should be run asynchronously. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[FileStorageFolderResponse] + + """ + _response = await self._client_wrapper.httpx_client.request( + "filestorage/v1/folders", + method="POST", + params={ + "is_debug_mode": is_debug_mode, + "run_async": run_async, + }, + json={ + "model": model, + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + FileStorageFolderResponse, + construct_type( + type_=FileStorageFolderResponse, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def retrieve( + self, + id: str, + *, + expand: typing.Optional[ + typing.Union[FoldersRetrieveRequestExpandItem, typing.Sequence[FoldersRetrieveRequestExpandItem]] + ] = None, + include_remote_data: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncHttpResponse[Folder]: + """ + Returns a `Folder` object with the given `id`. + + Parameters + ---------- + id : str + + expand : typing.Optional[typing.Union[FoldersRetrieveRequestExpandItem, typing.Sequence[FoldersRetrieveRequestExpandItem]]] + Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + + include_remote_data : typing.Optional[bool] + Whether to include the original data Merge fetched from the third-party to produce these models. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[Folder] + + """ + _response = await self._client_wrapper.httpx_client.request( + f"filestorage/v1/folders/{jsonable_encoder(id)}", + method="GET", + params={ + "expand": expand, + "include_remote_data": include_remote_data, + "include_shell_data": include_shell_data, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + Folder, + construct_type( + type_=Folder, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def meta_post_retrieve( + self, *, request_options: typing.Optional[RequestOptions] = None + ) -> AsyncHttpResponse[MetaResponse]: + """ + Returns metadata for `FileStorageFolder` POSTs. + + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[MetaResponse] + + """ + _response = await self._client_wrapper.httpx_client.request( + "filestorage/v1/folders/meta/post", + method="GET", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + MetaResponse, + construct_type( + type_=MetaResponse, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/file_storage/resources/folders/types/__init__.py b/src/merge/resources/file_storage/resources/folders/types/__init__.py new file mode 100644 index 00000000..45f03559 --- /dev/null +++ b/src/merge/resources/file_storage/resources/folders/types/__init__.py @@ -0,0 +1,38 @@ +# This file was auto-generated by Fern from our API Definition. + +# isort: skip_file + +import typing +from importlib import import_module + +if typing.TYPE_CHECKING: + from .folders_list_request_expand_item import FoldersListRequestExpandItem + from .folders_retrieve_request_expand_item import FoldersRetrieveRequestExpandItem +_dynamic_imports: typing.Dict[str, str] = { + "FoldersListRequestExpandItem": ".folders_list_request_expand_item", + "FoldersRetrieveRequestExpandItem": ".folders_retrieve_request_expand_item", +} + + +def __getattr__(attr_name: str) -> typing.Any: + module_name = _dynamic_imports.get(attr_name) + if module_name is None: + raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") + try: + module = import_module(module_name, __package__) + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) + except ImportError as e: + raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e + except AttributeError as e: + raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e + + +def __dir__(): + lazy_attrs = list(_dynamic_imports.keys()) + return sorted(lazy_attrs) + + +__all__ = ["FoldersListRequestExpandItem", "FoldersRetrieveRequestExpandItem"] diff --git a/src/merge/resources/file_storage/resources/folders/types/folders_list_request_expand_item.py b/src/merge/resources/file_storage/resources/folders/types/folders_list_request_expand_item.py new file mode 100644 index 00000000..6a75787d --- /dev/null +++ b/src/merge/resources/file_storage/resources/folders/types/folders_list_request_expand_item.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class FoldersListRequestExpandItem(str, enum.Enum): + DRIVE = "drive" + PARENT_FOLDER = "parent_folder" + PERMISSIONS = "permissions" + + def visit( + self, + drive: typing.Callable[[], T_Result], + parent_folder: typing.Callable[[], T_Result], + permissions: typing.Callable[[], T_Result], + ) -> T_Result: + if self is FoldersListRequestExpandItem.DRIVE: + return drive() + if self is FoldersListRequestExpandItem.PARENT_FOLDER: + return parent_folder() + if self is FoldersListRequestExpandItem.PERMISSIONS: + return permissions() diff --git a/src/merge/resources/file_storage/resources/folders/types/folders_retrieve_request_expand_item.py b/src/merge/resources/file_storage/resources/folders/types/folders_retrieve_request_expand_item.py new file mode 100644 index 00000000..f2486a45 --- /dev/null +++ b/src/merge/resources/file_storage/resources/folders/types/folders_retrieve_request_expand_item.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class FoldersRetrieveRequestExpandItem(str, enum.Enum): + DRIVE = "drive" + PARENT_FOLDER = "parent_folder" + PERMISSIONS = "permissions" + + def visit( + self, + drive: typing.Callable[[], T_Result], + parent_folder: typing.Callable[[], T_Result], + permissions: typing.Callable[[], T_Result], + ) -> T_Result: + if self is FoldersRetrieveRequestExpandItem.DRIVE: + return drive() + if self is FoldersRetrieveRequestExpandItem.PARENT_FOLDER: + return parent_folder() + if self is FoldersRetrieveRequestExpandItem.PERMISSIONS: + return permissions() diff --git a/src/merge/resources/chat/resources/generate_key/__init__.py b/src/merge/resources/file_storage/resources/force_resync/__init__.py similarity index 100% rename from src/merge/resources/chat/resources/generate_key/__init__.py rename to src/merge/resources/file_storage/resources/force_resync/__init__.py diff --git a/src/merge/resources/file_storage/resources/force_resync/client.py b/src/merge/resources/file_storage/resources/force_resync/client.py new file mode 100644 index 00000000..75ba47f5 --- /dev/null +++ b/src/merge/resources/file_storage/resources/force_resync/client.py @@ -0,0 +1,106 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.request_options import RequestOptions +from ...types.sync_status import SyncStatus +from .raw_client import AsyncRawForceResyncClient, RawForceResyncClient + + +class ForceResyncClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._raw_client = RawForceResyncClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> RawForceResyncClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + RawForceResyncClient + """ + return self._raw_client + + def sync_status_resync_create( + self, *, request_options: typing.Optional[RequestOptions] = None + ) -> typing.List[SyncStatus]: + """ + Force re-sync of all models. This endpoint is available for monthly, quarterly, and highest sync frequency customers on the Professional or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. Force re-syncs can also be triggered manually in the Merge Dashboard and is available for all customers. + + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + typing.List[SyncStatus] + + + Examples + -------- + from merge import Merge + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + client.file_storage.force_resync.sync_status_resync_create() + """ + _response = self._raw_client.sync_status_resync_create(request_options=request_options) + return _response.data + + +class AsyncForceResyncClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._raw_client = AsyncRawForceResyncClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> AsyncRawForceResyncClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + AsyncRawForceResyncClient + """ + return self._raw_client + + async def sync_status_resync_create( + self, *, request_options: typing.Optional[RequestOptions] = None + ) -> typing.List[SyncStatus]: + """ + Force re-sync of all models. This endpoint is available for monthly, quarterly, and highest sync frequency customers on the Professional or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. Force re-syncs can also be triggered manually in the Merge Dashboard and is available for all customers. + + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + typing.List[SyncStatus] + + + Examples + -------- + import asyncio + + from merge import AsyncMerge + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + await client.file_storage.force_resync.sync_status_resync_create() + + + asyncio.run(main()) + """ + _response = await self._raw_client.sync_status_resync_create(request_options=request_options) + return _response.data diff --git a/src/merge/resources/filestorage/resources/force_resync/raw_client.py b/src/merge/resources/file_storage/resources/force_resync/raw_client.py similarity index 100% rename from src/merge/resources/filestorage/resources/force_resync/raw_client.py rename to src/merge/resources/file_storage/resources/force_resync/raw_client.py diff --git a/src/merge/resources/chat/resources/groups/__init__.py b/src/merge/resources/file_storage/resources/generate_key/__init__.py similarity index 100% rename from src/merge/resources/chat/resources/groups/__init__.py rename to src/merge/resources/file_storage/resources/generate_key/__init__.py diff --git a/src/merge/resources/file_storage/resources/generate_key/client.py b/src/merge/resources/file_storage/resources/generate_key/client.py new file mode 100644 index 00000000..c809bff6 --- /dev/null +++ b/src/merge/resources/file_storage/resources/generate_key/client.py @@ -0,0 +1,115 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.request_options import RequestOptions +from ...types.remote_key import RemoteKey +from .raw_client import AsyncRawGenerateKeyClient, RawGenerateKeyClient + +# this is used as the default value for optional parameters +OMIT = typing.cast(typing.Any, ...) + + +class GenerateKeyClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._raw_client = RawGenerateKeyClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> RawGenerateKeyClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + RawGenerateKeyClient + """ + return self._raw_client + + def create(self, *, name: str, request_options: typing.Optional[RequestOptions] = None) -> RemoteKey: + """ + Create a remote key. + + Parameters + ---------- + name : str + The name of the remote key + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + RemoteKey + + + Examples + -------- + from merge import Merge + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + client.file_storage.generate_key.create( + name="Remote Deployment Key 1", + ) + """ + _response = self._raw_client.create(name=name, request_options=request_options) + return _response.data + + +class AsyncGenerateKeyClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._raw_client = AsyncRawGenerateKeyClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> AsyncRawGenerateKeyClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + AsyncRawGenerateKeyClient + """ + return self._raw_client + + async def create(self, *, name: str, request_options: typing.Optional[RequestOptions] = None) -> RemoteKey: + """ + Create a remote key. + + Parameters + ---------- + name : str + The name of the remote key + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + RemoteKey + + + Examples + -------- + import asyncio + + from merge import AsyncMerge + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + await client.file_storage.generate_key.create( + name="Remote Deployment Key 1", + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.create(name=name, request_options=request_options) + return _response.data diff --git a/src/merge/resources/filestorage/resources/generate_key/raw_client.py b/src/merge/resources/file_storage/resources/generate_key/raw_client.py similarity index 100% rename from src/merge/resources/filestorage/resources/generate_key/raw_client.py rename to src/merge/resources/file_storage/resources/generate_key/raw_client.py diff --git a/src/merge/resources/file_storage/resources/groups/__init__.py b/src/merge/resources/file_storage/resources/groups/__init__.py new file mode 100644 index 00000000..833b79cd --- /dev/null +++ b/src/merge/resources/file_storage/resources/groups/__init__.py @@ -0,0 +1,37 @@ +# This file was auto-generated by Fern from our API Definition. + +# isort: skip_file + +import typing +from importlib import import_module + +if typing.TYPE_CHECKING: + from .types import GroupsListRequestExpandItem, GroupsRetrieveRequestExpandItem +_dynamic_imports: typing.Dict[str, str] = { + "GroupsListRequestExpandItem": ".types", + "GroupsRetrieveRequestExpandItem": ".types", +} + + +def __getattr__(attr_name: str) -> typing.Any: + module_name = _dynamic_imports.get(attr_name) + if module_name is None: + raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") + try: + module = import_module(module_name, __package__) + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) + except ImportError as e: + raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e + except AttributeError as e: + raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e + + +def __dir__(): + lazy_attrs = list(_dynamic_imports.keys()) + return sorted(lazy_attrs) + + +__all__ = ["GroupsListRequestExpandItem", "GroupsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/file_storage/resources/groups/client.py b/src/merge/resources/file_storage/resources/groups/client.py new file mode 100644 index 00000000..285201ce --- /dev/null +++ b/src/merge/resources/file_storage/resources/groups/client.py @@ -0,0 +1,366 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager +from .....core.request_options import RequestOptions +from ...types.group import Group +from ...types.paginated_group_list import PaginatedGroupList +from .raw_client import AsyncRawGroupsClient, RawGroupsClient +from .types.groups_list_request_expand_item import GroupsListRequestExpandItem +from .types.groups_retrieve_request_expand_item import GroupsRetrieveRequestExpandItem + + +class GroupsClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._raw_client = RawGroupsClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> RawGroupsClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + RawGroupsClient + """ + return self._raw_client + + def list( + self, + *, + created_after: typing.Optional[dt.datetime] = None, + created_before: typing.Optional[dt.datetime] = None, + cursor: typing.Optional[str] = None, + expand: typing.Optional[ + typing.Union[GroupsListRequestExpandItem, typing.Sequence[GroupsListRequestExpandItem]] + ] = None, + include_deleted_data: typing.Optional[bool] = None, + include_remote_data: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + modified_after: typing.Optional[dt.datetime] = None, + modified_before: typing.Optional[dt.datetime] = None, + page_size: typing.Optional[int] = None, + remote_id: typing.Optional[str] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> SyncPager[Group, PaginatedGroupList]: + """ + Returns a list of `Group` objects. + + Parameters + ---------- + created_after : typing.Optional[dt.datetime] + If provided, will only return objects created after this datetime. + + created_before : typing.Optional[dt.datetime] + If provided, will only return objects created before this datetime. + + cursor : typing.Optional[str] + The pagination cursor value. + + expand : typing.Optional[typing.Union[GroupsListRequestExpandItem, typing.Sequence[GroupsListRequestExpandItem]]] + Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + + include_deleted_data : typing.Optional[bool] + Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + + include_remote_data : typing.Optional[bool] + Whether to include the original data Merge fetched from the third-party to produce these models. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + modified_after : typing.Optional[dt.datetime] + If provided, only objects synced by Merge after this date time will be returned. + + modified_before : typing.Optional[dt.datetime] + If provided, only objects synced by Merge before this date time will be returned. + + page_size : typing.Optional[int] + Number of results to return per page. + + remote_id : typing.Optional[str] + The API provider's ID for the given object. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SyncPager[Group, PaginatedGroupList] + + + Examples + -------- + from merge import Merge + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + response = client.file_storage.groups.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page + """ + return self._raw_client.list( + created_after=created_after, + created_before=created_before, + cursor=cursor, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + def retrieve( + self, + id: str, + *, + expand: typing.Optional[ + typing.Union[GroupsRetrieveRequestExpandItem, typing.Sequence[GroupsRetrieveRequestExpandItem]] + ] = None, + include_remote_data: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> Group: + """ + Returns a `Group` object with the given `id`. + + Parameters + ---------- + id : str + + expand : typing.Optional[typing.Union[GroupsRetrieveRequestExpandItem, typing.Sequence[GroupsRetrieveRequestExpandItem]]] + Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + + include_remote_data : typing.Optional[bool] + Whether to include the original data Merge fetched from the third-party to produce these models. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + Group + + + Examples + -------- + from merge import Merge + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + client.file_storage.groups.retrieve( + id="id", + ) + """ + _response = self._raw_client.retrieve( + id, + expand=expand, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + request_options=request_options, + ) + return _response.data + + +class AsyncGroupsClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._raw_client = AsyncRawGroupsClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> AsyncRawGroupsClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + AsyncRawGroupsClient + """ + return self._raw_client + + async def list( + self, + *, + created_after: typing.Optional[dt.datetime] = None, + created_before: typing.Optional[dt.datetime] = None, + cursor: typing.Optional[str] = None, + expand: typing.Optional[ + typing.Union[GroupsListRequestExpandItem, typing.Sequence[GroupsListRequestExpandItem]] + ] = None, + include_deleted_data: typing.Optional[bool] = None, + include_remote_data: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + modified_after: typing.Optional[dt.datetime] = None, + modified_before: typing.Optional[dt.datetime] = None, + page_size: typing.Optional[int] = None, + remote_id: typing.Optional[str] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncPager[Group, PaginatedGroupList]: + """ + Returns a list of `Group` objects. + + Parameters + ---------- + created_after : typing.Optional[dt.datetime] + If provided, will only return objects created after this datetime. + + created_before : typing.Optional[dt.datetime] + If provided, will only return objects created before this datetime. + + cursor : typing.Optional[str] + The pagination cursor value. + + expand : typing.Optional[typing.Union[GroupsListRequestExpandItem, typing.Sequence[GroupsListRequestExpandItem]]] + Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + + include_deleted_data : typing.Optional[bool] + Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + + include_remote_data : typing.Optional[bool] + Whether to include the original data Merge fetched from the third-party to produce these models. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + modified_after : typing.Optional[dt.datetime] + If provided, only objects synced by Merge after this date time will be returned. + + modified_before : typing.Optional[dt.datetime] + If provided, only objects synced by Merge before this date time will be returned. + + page_size : typing.Optional[int] + Number of results to return per page. + + remote_id : typing.Optional[str] + The API provider's ID for the given object. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncPager[Group, PaginatedGroupList] + + + Examples + -------- + import asyncio + + from merge import AsyncMerge + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + response = await client.file_storage.groups.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page + + + asyncio.run(main()) + """ + return await self._raw_client.list( + created_after=created_after, + created_before=created_before, + cursor=cursor, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + async def retrieve( + self, + id: str, + *, + expand: typing.Optional[ + typing.Union[GroupsRetrieveRequestExpandItem, typing.Sequence[GroupsRetrieveRequestExpandItem]] + ] = None, + include_remote_data: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> Group: + """ + Returns a `Group` object with the given `id`. + + Parameters + ---------- + id : str + + expand : typing.Optional[typing.Union[GroupsRetrieveRequestExpandItem, typing.Sequence[GroupsRetrieveRequestExpandItem]]] + Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + + include_remote_data : typing.Optional[bool] + Whether to include the original data Merge fetched from the third-party to produce these models. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + Group + + + Examples + -------- + import asyncio + + from merge import AsyncMerge + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + await client.file_storage.groups.retrieve( + id="id", + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.retrieve( + id, + expand=expand, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + request_options=request_options, + ) + return _response.data diff --git a/src/merge/resources/file_storage/resources/groups/raw_client.py b/src/merge/resources/file_storage/resources/groups/raw_client.py new file mode 100644 index 00000000..35c0fb90 --- /dev/null +++ b/src/merge/resources/file_storage/resources/groups/raw_client.py @@ -0,0 +1,379 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing +from json.decoder import JSONDecodeError + +from .....core.api_error import ApiError +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.datetime_utils import serialize_datetime +from .....core.http_response import AsyncHttpResponse, HttpResponse +from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager +from .....core.request_options import RequestOptions +from .....core.unchecked_base_model import construct_type +from ...types.group import Group +from ...types.paginated_group_list import PaginatedGroupList +from .types.groups_list_request_expand_item import GroupsListRequestExpandItem +from .types.groups_retrieve_request_expand_item import GroupsRetrieveRequestExpandItem + + +class RawGroupsClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._client_wrapper = client_wrapper + + def list( + self, + *, + created_after: typing.Optional[dt.datetime] = None, + created_before: typing.Optional[dt.datetime] = None, + cursor: typing.Optional[str] = None, + expand: typing.Optional[ + typing.Union[GroupsListRequestExpandItem, typing.Sequence[GroupsListRequestExpandItem]] + ] = None, + include_deleted_data: typing.Optional[bool] = None, + include_remote_data: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + modified_after: typing.Optional[dt.datetime] = None, + modified_before: typing.Optional[dt.datetime] = None, + page_size: typing.Optional[int] = None, + remote_id: typing.Optional[str] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> SyncPager[Group, PaginatedGroupList]: + """ + Returns a list of `Group` objects. + + Parameters + ---------- + created_after : typing.Optional[dt.datetime] + If provided, will only return objects created after this datetime. + + created_before : typing.Optional[dt.datetime] + If provided, will only return objects created before this datetime. + + cursor : typing.Optional[str] + The pagination cursor value. + + expand : typing.Optional[typing.Union[GroupsListRequestExpandItem, typing.Sequence[GroupsListRequestExpandItem]]] + Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + + include_deleted_data : typing.Optional[bool] + Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + + include_remote_data : typing.Optional[bool] + Whether to include the original data Merge fetched from the third-party to produce these models. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + modified_after : typing.Optional[dt.datetime] + If provided, only objects synced by Merge after this date time will be returned. + + modified_before : typing.Optional[dt.datetime] + If provided, only objects synced by Merge before this date time will be returned. + + page_size : typing.Optional[int] + Number of results to return per page. + + remote_id : typing.Optional[str] + The API provider's ID for the given object. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SyncPager[Group, PaginatedGroupList] + + """ + _response = self._client_wrapper.httpx_client.request( + "filestorage/v1/groups", + method="GET", + params={ + "created_after": serialize_datetime(created_after) if created_after is not None else None, + "created_before": serialize_datetime(created_before) if created_before is not None else None, + "cursor": cursor, + "expand": expand, + "include_deleted_data": include_deleted_data, + "include_remote_data": include_remote_data, + "include_shell_data": include_shell_data, + "modified_after": serialize_datetime(modified_after) if modified_after is not None else None, + "modified_before": serialize_datetime(modified_before) if modified_before is not None else None, + "page_size": page_size, + "remote_id": remote_id, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _parsed_response = typing.cast( + PaginatedGroupList, + construct_type( + type_=PaginatedGroupList, # type: ignore + object_=_response.json(), + ), + ) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def retrieve( + self, + id: str, + *, + expand: typing.Optional[ + typing.Union[GroupsRetrieveRequestExpandItem, typing.Sequence[GroupsRetrieveRequestExpandItem]] + ] = None, + include_remote_data: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> HttpResponse[Group]: + """ + Returns a `Group` object with the given `id`. + + Parameters + ---------- + id : str + + expand : typing.Optional[typing.Union[GroupsRetrieveRequestExpandItem, typing.Sequence[GroupsRetrieveRequestExpandItem]]] + Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + + include_remote_data : typing.Optional[bool] + Whether to include the original data Merge fetched from the third-party to produce these models. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[Group] + + """ + _response = self._client_wrapper.httpx_client.request( + f"filestorage/v1/groups/{jsonable_encoder(id)}", + method="GET", + params={ + "expand": expand, + "include_remote_data": include_remote_data, + "include_shell_data": include_shell_data, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + Group, + construct_type( + type_=Group, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + +class AsyncRawGroupsClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._client_wrapper = client_wrapper + + async def list( + self, + *, + created_after: typing.Optional[dt.datetime] = None, + created_before: typing.Optional[dt.datetime] = None, + cursor: typing.Optional[str] = None, + expand: typing.Optional[ + typing.Union[GroupsListRequestExpandItem, typing.Sequence[GroupsListRequestExpandItem]] + ] = None, + include_deleted_data: typing.Optional[bool] = None, + include_remote_data: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + modified_after: typing.Optional[dt.datetime] = None, + modified_before: typing.Optional[dt.datetime] = None, + page_size: typing.Optional[int] = None, + remote_id: typing.Optional[str] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncPager[Group, PaginatedGroupList]: + """ + Returns a list of `Group` objects. + + Parameters + ---------- + created_after : typing.Optional[dt.datetime] + If provided, will only return objects created after this datetime. + + created_before : typing.Optional[dt.datetime] + If provided, will only return objects created before this datetime. + + cursor : typing.Optional[str] + The pagination cursor value. + + expand : typing.Optional[typing.Union[GroupsListRequestExpandItem, typing.Sequence[GroupsListRequestExpandItem]]] + Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + + include_deleted_data : typing.Optional[bool] + Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + + include_remote_data : typing.Optional[bool] + Whether to include the original data Merge fetched from the third-party to produce these models. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + modified_after : typing.Optional[dt.datetime] + If provided, only objects synced by Merge after this date time will be returned. + + modified_before : typing.Optional[dt.datetime] + If provided, only objects synced by Merge before this date time will be returned. + + page_size : typing.Optional[int] + Number of results to return per page. + + remote_id : typing.Optional[str] + The API provider's ID for the given object. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncPager[Group, PaginatedGroupList] + + """ + _response = await self._client_wrapper.httpx_client.request( + "filestorage/v1/groups", + method="GET", + params={ + "created_after": serialize_datetime(created_after) if created_after is not None else None, + "created_before": serialize_datetime(created_before) if created_before is not None else None, + "cursor": cursor, + "expand": expand, + "include_deleted_data": include_deleted_data, + "include_remote_data": include_remote_data, + "include_shell_data": include_shell_data, + "modified_after": serialize_datetime(modified_after) if modified_after is not None else None, + "modified_before": serialize_datetime(modified_before) if modified_before is not None else None, + "page_size": page_size, + "remote_id": remote_id, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _parsed_response = typing.cast( + PaginatedGroupList, + construct_type( + type_=PaginatedGroupList, # type: ignore + object_=_response.json(), + ), + ) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def retrieve( + self, + id: str, + *, + expand: typing.Optional[ + typing.Union[GroupsRetrieveRequestExpandItem, typing.Sequence[GroupsRetrieveRequestExpandItem]] + ] = None, + include_remote_data: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncHttpResponse[Group]: + """ + Returns a `Group` object with the given `id`. + + Parameters + ---------- + id : str + + expand : typing.Optional[typing.Union[GroupsRetrieveRequestExpandItem, typing.Sequence[GroupsRetrieveRequestExpandItem]]] + Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + + include_remote_data : typing.Optional[bool] + Whether to include the original data Merge fetched from the third-party to produce these models. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[Group] + + """ + _response = await self._client_wrapper.httpx_client.request( + f"filestorage/v1/groups/{jsonable_encoder(id)}", + method="GET", + params={ + "expand": expand, + "include_remote_data": include_remote_data, + "include_shell_data": include_shell_data, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + Group, + construct_type( + type_=Group, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/file_storage/resources/groups/types/__init__.py b/src/merge/resources/file_storage/resources/groups/types/__init__.py new file mode 100644 index 00000000..1ac662da --- /dev/null +++ b/src/merge/resources/file_storage/resources/groups/types/__init__.py @@ -0,0 +1,38 @@ +# This file was auto-generated by Fern from our API Definition. + +# isort: skip_file + +import typing +from importlib import import_module + +if typing.TYPE_CHECKING: + from .groups_list_request_expand_item import GroupsListRequestExpandItem + from .groups_retrieve_request_expand_item import GroupsRetrieveRequestExpandItem +_dynamic_imports: typing.Dict[str, str] = { + "GroupsListRequestExpandItem": ".groups_list_request_expand_item", + "GroupsRetrieveRequestExpandItem": ".groups_retrieve_request_expand_item", +} + + +def __getattr__(attr_name: str) -> typing.Any: + module_name = _dynamic_imports.get(attr_name) + if module_name is None: + raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") + try: + module = import_module(module_name, __package__) + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) + except ImportError as e: + raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e + except AttributeError as e: + raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e + + +def __dir__(): + lazy_attrs = list(_dynamic_imports.keys()) + return sorted(lazy_attrs) + + +__all__ = ["GroupsListRequestExpandItem", "GroupsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/file_storage/resources/groups/types/groups_list_request_expand_item.py b/src/merge/resources/file_storage/resources/groups/types/groups_list_request_expand_item.py new file mode 100644 index 00000000..7e74c3cc --- /dev/null +++ b/src/merge/resources/file_storage/resources/groups/types/groups_list_request_expand_item.py @@ -0,0 +1,17 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class GroupsListRequestExpandItem(str, enum.Enum): + CHILD_GROUPS = "child_groups" + USERS = "users" + + def visit(self, child_groups: typing.Callable[[], T_Result], users: typing.Callable[[], T_Result]) -> T_Result: + if self is GroupsListRequestExpandItem.CHILD_GROUPS: + return child_groups() + if self is GroupsListRequestExpandItem.USERS: + return users() diff --git a/src/merge/resources/file_storage/resources/groups/types/groups_retrieve_request_expand_item.py b/src/merge/resources/file_storage/resources/groups/types/groups_retrieve_request_expand_item.py new file mode 100644 index 00000000..4843d494 --- /dev/null +++ b/src/merge/resources/file_storage/resources/groups/types/groups_retrieve_request_expand_item.py @@ -0,0 +1,17 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class GroupsRetrieveRequestExpandItem(str, enum.Enum): + CHILD_GROUPS = "child_groups" + USERS = "users" + + def visit(self, child_groups: typing.Callable[[], T_Result], users: typing.Callable[[], T_Result]) -> T_Result: + if self is GroupsRetrieveRequestExpandItem.CHILD_GROUPS: + return child_groups() + if self is GroupsRetrieveRequestExpandItem.USERS: + return users() diff --git a/src/merge/resources/file_storage/resources/issues/__init__.py b/src/merge/resources/file_storage/resources/issues/__init__.py new file mode 100644 index 00000000..45b33fe1 --- /dev/null +++ b/src/merge/resources/file_storage/resources/issues/__init__.py @@ -0,0 +1,34 @@ +# This file was auto-generated by Fern from our API Definition. + +# isort: skip_file + +import typing +from importlib import import_module + +if typing.TYPE_CHECKING: + from .types import IssuesListRequestStatus +_dynamic_imports: typing.Dict[str, str] = {"IssuesListRequestStatus": ".types"} + + +def __getattr__(attr_name: str) -> typing.Any: + module_name = _dynamic_imports.get(attr_name) + if module_name is None: + raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") + try: + module = import_module(module_name, __package__) + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) + except ImportError as e: + raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e + except AttributeError as e: + raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e + + +def __dir__(): + lazy_attrs = list(_dynamic_imports.keys()) + return sorted(lazy_attrs) + + +__all__ = ["IssuesListRequestStatus"] diff --git a/src/merge/resources/file_storage/resources/issues/client.py b/src/merge/resources/file_storage/resources/issues/client.py new file mode 100644 index 00000000..49edf3b7 --- /dev/null +++ b/src/merge/resources/file_storage/resources/issues/client.py @@ -0,0 +1,341 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager +from .....core.request_options import RequestOptions +from ...types.issue import Issue +from ...types.paginated_issue_list import PaginatedIssueList +from .raw_client import AsyncRawIssuesClient, RawIssuesClient +from .types.issues_list_request_status import IssuesListRequestStatus + + +class IssuesClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._raw_client = RawIssuesClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> RawIssuesClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + RawIssuesClient + """ + return self._raw_client + + def list( + self, + *, + account_token: typing.Optional[str] = None, + cursor: typing.Optional[str] = None, + end_date: typing.Optional[str] = None, + end_user_organization_name: typing.Optional[str] = None, + first_incident_time_after: typing.Optional[dt.datetime] = None, + first_incident_time_before: typing.Optional[dt.datetime] = None, + include_muted: typing.Optional[str] = None, + integration_name: typing.Optional[str] = None, + last_incident_time_after: typing.Optional[dt.datetime] = None, + last_incident_time_before: typing.Optional[dt.datetime] = None, + linked_account_id: typing.Optional[str] = None, + page_size: typing.Optional[int] = None, + start_date: typing.Optional[str] = None, + status: typing.Optional[IssuesListRequestStatus] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> SyncPager[Issue, PaginatedIssueList]: + """ + Gets all issues for Organization. + + Parameters + ---------- + account_token : typing.Optional[str] + + cursor : typing.Optional[str] + The pagination cursor value. + + end_date : typing.Optional[str] + If included, will only include issues whose most recent action occurred before this time + + end_user_organization_name : typing.Optional[str] + + first_incident_time_after : typing.Optional[dt.datetime] + If provided, will only return issues whose first incident time was after this datetime. + + first_incident_time_before : typing.Optional[dt.datetime] + If provided, will only return issues whose first incident time was before this datetime. + + include_muted : typing.Optional[str] + If true, will include muted issues + + integration_name : typing.Optional[str] + + last_incident_time_after : typing.Optional[dt.datetime] + If provided, will only return issues whose last incident time was after this datetime. + + last_incident_time_before : typing.Optional[dt.datetime] + If provided, will only return issues whose last incident time was before this datetime. + + linked_account_id : typing.Optional[str] + If provided, will only include issues pertaining to the linked account passed in. + + page_size : typing.Optional[int] + Number of results to return per page. + + start_date : typing.Optional[str] + If included, will only include issues whose most recent action occurred after this time + + status : typing.Optional[IssuesListRequestStatus] + Status of the issue. Options: ('ONGOING', 'RESOLVED') + + * `ONGOING` - ONGOING + * `RESOLVED` - RESOLVED + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SyncPager[Issue, PaginatedIssueList] + + + Examples + -------- + from merge import Merge + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + response = client.file_storage.issues.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page + """ + return self._raw_client.list( + account_token=account_token, + cursor=cursor, + end_date=end_date, + end_user_organization_name=end_user_organization_name, + first_incident_time_after=first_incident_time_after, + first_incident_time_before=first_incident_time_before, + include_muted=include_muted, + integration_name=integration_name, + last_incident_time_after=last_incident_time_after, + last_incident_time_before=last_incident_time_before, + linked_account_id=linked_account_id, + page_size=page_size, + start_date=start_date, + status=status, + request_options=request_options, + ) + + def retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> Issue: + """ + Get a specific issue. + + Parameters + ---------- + id : str + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + Issue + + + Examples + -------- + from merge import Merge + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + client.file_storage.issues.retrieve( + id="id", + ) + """ + _response = self._raw_client.retrieve(id, request_options=request_options) + return _response.data + + +class AsyncIssuesClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._raw_client = AsyncRawIssuesClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> AsyncRawIssuesClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + AsyncRawIssuesClient + """ + return self._raw_client + + async def list( + self, + *, + account_token: typing.Optional[str] = None, + cursor: typing.Optional[str] = None, + end_date: typing.Optional[str] = None, + end_user_organization_name: typing.Optional[str] = None, + first_incident_time_after: typing.Optional[dt.datetime] = None, + first_incident_time_before: typing.Optional[dt.datetime] = None, + include_muted: typing.Optional[str] = None, + integration_name: typing.Optional[str] = None, + last_incident_time_after: typing.Optional[dt.datetime] = None, + last_incident_time_before: typing.Optional[dt.datetime] = None, + linked_account_id: typing.Optional[str] = None, + page_size: typing.Optional[int] = None, + start_date: typing.Optional[str] = None, + status: typing.Optional[IssuesListRequestStatus] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncPager[Issue, PaginatedIssueList]: + """ + Gets all issues for Organization. + + Parameters + ---------- + account_token : typing.Optional[str] + + cursor : typing.Optional[str] + The pagination cursor value. + + end_date : typing.Optional[str] + If included, will only include issues whose most recent action occurred before this time + + end_user_organization_name : typing.Optional[str] + + first_incident_time_after : typing.Optional[dt.datetime] + If provided, will only return issues whose first incident time was after this datetime. + + first_incident_time_before : typing.Optional[dt.datetime] + If provided, will only return issues whose first incident time was before this datetime. + + include_muted : typing.Optional[str] + If true, will include muted issues + + integration_name : typing.Optional[str] + + last_incident_time_after : typing.Optional[dt.datetime] + If provided, will only return issues whose last incident time was after this datetime. + + last_incident_time_before : typing.Optional[dt.datetime] + If provided, will only return issues whose last incident time was before this datetime. + + linked_account_id : typing.Optional[str] + If provided, will only include issues pertaining to the linked account passed in. + + page_size : typing.Optional[int] + Number of results to return per page. + + start_date : typing.Optional[str] + If included, will only include issues whose most recent action occurred after this time + + status : typing.Optional[IssuesListRequestStatus] + Status of the issue. Options: ('ONGOING', 'RESOLVED') + + * `ONGOING` - ONGOING + * `RESOLVED` - RESOLVED + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncPager[Issue, PaginatedIssueList] + + + Examples + -------- + import asyncio + + from merge import AsyncMerge + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + response = await client.file_storage.issues.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page + + + asyncio.run(main()) + """ + return await self._raw_client.list( + account_token=account_token, + cursor=cursor, + end_date=end_date, + end_user_organization_name=end_user_organization_name, + first_incident_time_after=first_incident_time_after, + first_incident_time_before=first_incident_time_before, + include_muted=include_muted, + integration_name=integration_name, + last_incident_time_after=last_incident_time_after, + last_incident_time_before=last_incident_time_before, + linked_account_id=linked_account_id, + page_size=page_size, + start_date=start_date, + status=status, + request_options=request_options, + ) + + async def retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> Issue: + """ + Get a specific issue. + + Parameters + ---------- + id : str + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + Issue + + + Examples + -------- + import asyncio + + from merge import AsyncMerge + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + await client.file_storage.issues.retrieve( + id="id", + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.retrieve(id, request_options=request_options) + return _response.data diff --git a/src/merge/resources/file_storage/resources/issues/raw_client.py b/src/merge/resources/file_storage/resources/issues/raw_client.py new file mode 100644 index 00000000..0392b1d7 --- /dev/null +++ b/src/merge/resources/file_storage/resources/issues/raw_client.py @@ -0,0 +1,380 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing +from json.decoder import JSONDecodeError + +from .....core.api_error import ApiError +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.datetime_utils import serialize_datetime +from .....core.http_response import AsyncHttpResponse, HttpResponse +from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager +from .....core.request_options import RequestOptions +from .....core.unchecked_base_model import construct_type +from ...types.issue import Issue +from ...types.paginated_issue_list import PaginatedIssueList +from .types.issues_list_request_status import IssuesListRequestStatus + + +class RawIssuesClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._client_wrapper = client_wrapper + + def list( + self, + *, + account_token: typing.Optional[str] = None, + cursor: typing.Optional[str] = None, + end_date: typing.Optional[str] = None, + end_user_organization_name: typing.Optional[str] = None, + first_incident_time_after: typing.Optional[dt.datetime] = None, + first_incident_time_before: typing.Optional[dt.datetime] = None, + include_muted: typing.Optional[str] = None, + integration_name: typing.Optional[str] = None, + last_incident_time_after: typing.Optional[dt.datetime] = None, + last_incident_time_before: typing.Optional[dt.datetime] = None, + linked_account_id: typing.Optional[str] = None, + page_size: typing.Optional[int] = None, + start_date: typing.Optional[str] = None, + status: typing.Optional[IssuesListRequestStatus] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> SyncPager[Issue, PaginatedIssueList]: + """ + Gets all issues for Organization. + + Parameters + ---------- + account_token : typing.Optional[str] + + cursor : typing.Optional[str] + The pagination cursor value. + + end_date : typing.Optional[str] + If included, will only include issues whose most recent action occurred before this time + + end_user_organization_name : typing.Optional[str] + + first_incident_time_after : typing.Optional[dt.datetime] + If provided, will only return issues whose first incident time was after this datetime. + + first_incident_time_before : typing.Optional[dt.datetime] + If provided, will only return issues whose first incident time was before this datetime. + + include_muted : typing.Optional[str] + If true, will include muted issues + + integration_name : typing.Optional[str] + + last_incident_time_after : typing.Optional[dt.datetime] + If provided, will only return issues whose last incident time was after this datetime. + + last_incident_time_before : typing.Optional[dt.datetime] + If provided, will only return issues whose last incident time was before this datetime. + + linked_account_id : typing.Optional[str] + If provided, will only include issues pertaining to the linked account passed in. + + page_size : typing.Optional[int] + Number of results to return per page. + + start_date : typing.Optional[str] + If included, will only include issues whose most recent action occurred after this time + + status : typing.Optional[IssuesListRequestStatus] + Status of the issue. Options: ('ONGOING', 'RESOLVED') + + * `ONGOING` - ONGOING + * `RESOLVED` - RESOLVED + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SyncPager[Issue, PaginatedIssueList] + + """ + _response = self._client_wrapper.httpx_client.request( + "filestorage/v1/issues", + method="GET", + params={ + "account_token": account_token, + "cursor": cursor, + "end_date": end_date, + "end_user_organization_name": end_user_organization_name, + "first_incident_time_after": serialize_datetime(first_incident_time_after) + if first_incident_time_after is not None + else None, + "first_incident_time_before": serialize_datetime(first_incident_time_before) + if first_incident_time_before is not None + else None, + "include_muted": include_muted, + "integration_name": integration_name, + "last_incident_time_after": serialize_datetime(last_incident_time_after) + if last_incident_time_after is not None + else None, + "last_incident_time_before": serialize_datetime(last_incident_time_before) + if last_incident_time_before is not None + else None, + "linked_account_id": linked_account_id, + "page_size": page_size, + "start_date": start_date, + "status": status, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _parsed_response = typing.cast( + PaginatedIssueList, + construct_type( + type_=PaginatedIssueList, # type: ignore + object_=_response.json(), + ), + ) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + account_token=account_token, + cursor=_parsed_next, + end_date=end_date, + end_user_organization_name=end_user_organization_name, + first_incident_time_after=first_incident_time_after, + first_incident_time_before=first_incident_time_before, + include_muted=include_muted, + integration_name=integration_name, + last_incident_time_after=last_incident_time_after, + last_incident_time_before=last_incident_time_before, + linked_account_id=linked_account_id, + page_size=page_size, + start_date=start_date, + status=status, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> HttpResponse[Issue]: + """ + Get a specific issue. + + Parameters + ---------- + id : str + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[Issue] + + """ + _response = self._client_wrapper.httpx_client.request( + f"filestorage/v1/issues/{jsonable_encoder(id)}", + method="GET", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + Issue, + construct_type( + type_=Issue, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + +class AsyncRawIssuesClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._client_wrapper = client_wrapper + + async def list( + self, + *, + account_token: typing.Optional[str] = None, + cursor: typing.Optional[str] = None, + end_date: typing.Optional[str] = None, + end_user_organization_name: typing.Optional[str] = None, + first_incident_time_after: typing.Optional[dt.datetime] = None, + first_incident_time_before: typing.Optional[dt.datetime] = None, + include_muted: typing.Optional[str] = None, + integration_name: typing.Optional[str] = None, + last_incident_time_after: typing.Optional[dt.datetime] = None, + last_incident_time_before: typing.Optional[dt.datetime] = None, + linked_account_id: typing.Optional[str] = None, + page_size: typing.Optional[int] = None, + start_date: typing.Optional[str] = None, + status: typing.Optional[IssuesListRequestStatus] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncPager[Issue, PaginatedIssueList]: + """ + Gets all issues for Organization. + + Parameters + ---------- + account_token : typing.Optional[str] + + cursor : typing.Optional[str] + The pagination cursor value. + + end_date : typing.Optional[str] + If included, will only include issues whose most recent action occurred before this time + + end_user_organization_name : typing.Optional[str] + + first_incident_time_after : typing.Optional[dt.datetime] + If provided, will only return issues whose first incident time was after this datetime. + + first_incident_time_before : typing.Optional[dt.datetime] + If provided, will only return issues whose first incident time was before this datetime. + + include_muted : typing.Optional[str] + If true, will include muted issues + + integration_name : typing.Optional[str] + + last_incident_time_after : typing.Optional[dt.datetime] + If provided, will only return issues whose last incident time was after this datetime. + + last_incident_time_before : typing.Optional[dt.datetime] + If provided, will only return issues whose last incident time was before this datetime. + + linked_account_id : typing.Optional[str] + If provided, will only include issues pertaining to the linked account passed in. + + page_size : typing.Optional[int] + Number of results to return per page. + + start_date : typing.Optional[str] + If included, will only include issues whose most recent action occurred after this time + + status : typing.Optional[IssuesListRequestStatus] + Status of the issue. Options: ('ONGOING', 'RESOLVED') + + * `ONGOING` - ONGOING + * `RESOLVED` - RESOLVED + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncPager[Issue, PaginatedIssueList] + + """ + _response = await self._client_wrapper.httpx_client.request( + "filestorage/v1/issues", + method="GET", + params={ + "account_token": account_token, + "cursor": cursor, + "end_date": end_date, + "end_user_organization_name": end_user_organization_name, + "first_incident_time_after": serialize_datetime(first_incident_time_after) + if first_incident_time_after is not None + else None, + "first_incident_time_before": serialize_datetime(first_incident_time_before) + if first_incident_time_before is not None + else None, + "include_muted": include_muted, + "integration_name": integration_name, + "last_incident_time_after": serialize_datetime(last_incident_time_after) + if last_incident_time_after is not None + else None, + "last_incident_time_before": serialize_datetime(last_incident_time_before) + if last_incident_time_before is not None + else None, + "linked_account_id": linked_account_id, + "page_size": page_size, + "start_date": start_date, + "status": status, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _parsed_response = typing.cast( + PaginatedIssueList, + construct_type( + type_=PaginatedIssueList, # type: ignore + object_=_response.json(), + ), + ) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + account_token=account_token, + cursor=_parsed_next, + end_date=end_date, + end_user_organization_name=end_user_organization_name, + first_incident_time_after=first_incident_time_after, + first_incident_time_before=first_incident_time_before, + include_muted=include_muted, + integration_name=integration_name, + last_incident_time_after=last_incident_time_after, + last_incident_time_before=last_incident_time_before, + linked_account_id=linked_account_id, + page_size=page_size, + start_date=start_date, + status=status, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def retrieve( + self, id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> AsyncHttpResponse[Issue]: + """ + Get a specific issue. + + Parameters + ---------- + id : str + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[Issue] + + """ + _response = await self._client_wrapper.httpx_client.request( + f"filestorage/v1/issues/{jsonable_encoder(id)}", + method="GET", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + Issue, + construct_type( + type_=Issue, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/file_storage/resources/issues/types/__init__.py b/src/merge/resources/file_storage/resources/issues/types/__init__.py new file mode 100644 index 00000000..5e097583 --- /dev/null +++ b/src/merge/resources/file_storage/resources/issues/types/__init__.py @@ -0,0 +1,34 @@ +# This file was auto-generated by Fern from our API Definition. + +# isort: skip_file + +import typing +from importlib import import_module + +if typing.TYPE_CHECKING: + from .issues_list_request_status import IssuesListRequestStatus +_dynamic_imports: typing.Dict[str, str] = {"IssuesListRequestStatus": ".issues_list_request_status"} + + +def __getattr__(attr_name: str) -> typing.Any: + module_name = _dynamic_imports.get(attr_name) + if module_name is None: + raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") + try: + module = import_module(module_name, __package__) + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) + except ImportError as e: + raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e + except AttributeError as e: + raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e + + +def __dir__(): + lazy_attrs = list(_dynamic_imports.keys()) + return sorted(lazy_attrs) + + +__all__ = ["IssuesListRequestStatus"] diff --git a/src/merge/resources/chat/resources/issues/types/issues_list_request_status.py b/src/merge/resources/file_storage/resources/issues/types/issues_list_request_status.py similarity index 100% rename from src/merge/resources/chat/resources/issues/types/issues_list_request_status.py rename to src/merge/resources/file_storage/resources/issues/types/issues_list_request_status.py diff --git a/src/merge/resources/file_storage/resources/link_token/__init__.py b/src/merge/resources/file_storage/resources/link_token/__init__.py new file mode 100644 index 00000000..15700960 --- /dev/null +++ b/src/merge/resources/file_storage/resources/link_token/__init__.py @@ -0,0 +1,34 @@ +# This file was auto-generated by Fern from our API Definition. + +# isort: skip_file + +import typing +from importlib import import_module + +if typing.TYPE_CHECKING: + from .types import EndUserDetailsRequestLanguage +_dynamic_imports: typing.Dict[str, str] = {"EndUserDetailsRequestLanguage": ".types"} + + +def __getattr__(attr_name: str) -> typing.Any: + module_name = _dynamic_imports.get(attr_name) + if module_name is None: + raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") + try: + module = import_module(module_name, __package__) + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) + except ImportError as e: + raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e + except AttributeError as e: + raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e + + +def __dir__(): + lazy_attrs = list(_dynamic_imports.keys()) + return sorted(lazy_attrs) + + +__all__ = ["EndUserDetailsRequestLanguage"] diff --git a/src/merge/resources/file_storage/resources/link_token/client.py b/src/merge/resources/file_storage/resources/link_token/client.py new file mode 100644 index 00000000..5adc5bb4 --- /dev/null +++ b/src/merge/resources/file_storage/resources/link_token/client.py @@ -0,0 +1,273 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.request_options import RequestOptions +from ...types.categories_enum import CategoriesEnum +from ...types.common_model_scopes_body_request import CommonModelScopesBodyRequest +from ...types.individual_common_model_scope_deserializer_request import IndividualCommonModelScopeDeserializerRequest +from ...types.link_token import LinkToken +from .raw_client import AsyncRawLinkTokenClient, RawLinkTokenClient +from .types.end_user_details_request_language import EndUserDetailsRequestLanguage + +# this is used as the default value for optional parameters +OMIT = typing.cast(typing.Any, ...) + + +class LinkTokenClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._raw_client = RawLinkTokenClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> RawLinkTokenClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + RawLinkTokenClient + """ + return self._raw_client + + def create( + self, + *, + end_user_email_address: str, + end_user_organization_name: str, + end_user_origin_id: str, + categories: typing.Sequence[CategoriesEnum], + integration: typing.Optional[str] = OMIT, + link_expiry_mins: typing.Optional[int] = OMIT, + should_create_magic_link_url: typing.Optional[bool] = OMIT, + hide_admin_magic_link: typing.Optional[bool] = OMIT, + common_models: typing.Optional[typing.Sequence[CommonModelScopesBodyRequest]] = OMIT, + category_common_model_scopes: typing.Optional[ + typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]] + ] = OMIT, + language: typing.Optional[EndUserDetailsRequestLanguage] = OMIT, + are_syncs_disabled: typing.Optional[bool] = OMIT, + integration_specific_config: typing.Optional[typing.Dict[str, typing.Any]] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> LinkToken: + """ + Creates a link token to be used when linking a new end user. + + Parameters + ---------- + end_user_email_address : str + Your end user's email address. This is purely for identification purposes - setting this value will not cause any emails to be sent. + + end_user_organization_name : str + Your end user's organization. + + end_user_origin_id : str + This unique identifier typically represents the ID for your end user in your product's database. This value must be distinct from other Linked Accounts' unique identifiers. + + categories : typing.Sequence[CategoriesEnum] + The integration categories to show in Merge Link. + + integration : typing.Optional[str] + The slug of a specific pre-selected integration for this linking flow token. For examples of slugs, see https://docs.merge.dev/guides/merge-link/single-integration/. + + link_expiry_mins : typing.Optional[int] + An integer number of minutes between [30, 720 or 10080 if for a Magic Link URL] for how long this token is valid. Defaults to 30. + + should_create_magic_link_url : typing.Optional[bool] + Whether to generate a Magic Link URL. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. + + hide_admin_magic_link : typing.Optional[bool] + Whether to generate a Magic Link URL on the Admin Needed screen during the linking flow. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. + + common_models : typing.Optional[typing.Sequence[CommonModelScopesBodyRequest]] + An array of objects to specify the models and fields that will be disabled for a given Linked Account. Each object uses model_id, enabled_actions, and disabled_fields to specify the model, method, and fields that are scoped for a given Linked Account. + + category_common_model_scopes : typing.Optional[typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]]] + When creating a Link Token, you can set permissions for Common Models that will apply to the account that is going to be linked. Any model or field not specified in link token payload will default to existing settings. + + language : typing.Optional[EndUserDetailsRequestLanguage] + The following subset of IETF language tags can be used to configure localization. + + * `en` - en + * `de` - de + + are_syncs_disabled : typing.Optional[bool] + The boolean that indicates whether initial, periodic, and force syncs will be disabled. + + integration_specific_config : typing.Optional[typing.Dict[str, typing.Any]] + A JSON object containing integration-specific configuration options. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + LinkToken + + + Examples + -------- + from merge import Merge + from merge.resources.file_storage import CategoriesEnum + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + client.file_storage.link_token.create( + end_user_email_address="example@gmail.com", + end_user_organization_name="Test Organization", + end_user_origin_id="12345", + categories=[CategoriesEnum.HRIS, CategoriesEnum.ATS], + ) + """ + _response = self._raw_client.create( + end_user_email_address=end_user_email_address, + end_user_organization_name=end_user_organization_name, + end_user_origin_id=end_user_origin_id, + categories=categories, + integration=integration, + link_expiry_mins=link_expiry_mins, + should_create_magic_link_url=should_create_magic_link_url, + hide_admin_magic_link=hide_admin_magic_link, + common_models=common_models, + category_common_model_scopes=category_common_model_scopes, + language=language, + are_syncs_disabled=are_syncs_disabled, + integration_specific_config=integration_specific_config, + request_options=request_options, + ) + return _response.data + + +class AsyncLinkTokenClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._raw_client = AsyncRawLinkTokenClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> AsyncRawLinkTokenClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + AsyncRawLinkTokenClient + """ + return self._raw_client + + async def create( + self, + *, + end_user_email_address: str, + end_user_organization_name: str, + end_user_origin_id: str, + categories: typing.Sequence[CategoriesEnum], + integration: typing.Optional[str] = OMIT, + link_expiry_mins: typing.Optional[int] = OMIT, + should_create_magic_link_url: typing.Optional[bool] = OMIT, + hide_admin_magic_link: typing.Optional[bool] = OMIT, + common_models: typing.Optional[typing.Sequence[CommonModelScopesBodyRequest]] = OMIT, + category_common_model_scopes: typing.Optional[ + typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]] + ] = OMIT, + language: typing.Optional[EndUserDetailsRequestLanguage] = OMIT, + are_syncs_disabled: typing.Optional[bool] = OMIT, + integration_specific_config: typing.Optional[typing.Dict[str, typing.Any]] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> LinkToken: + """ + Creates a link token to be used when linking a new end user. + + Parameters + ---------- + end_user_email_address : str + Your end user's email address. This is purely for identification purposes - setting this value will not cause any emails to be sent. + + end_user_organization_name : str + Your end user's organization. + + end_user_origin_id : str + This unique identifier typically represents the ID for your end user in your product's database. This value must be distinct from other Linked Accounts' unique identifiers. + + categories : typing.Sequence[CategoriesEnum] + The integration categories to show in Merge Link. + + integration : typing.Optional[str] + The slug of a specific pre-selected integration for this linking flow token. For examples of slugs, see https://docs.merge.dev/guides/merge-link/single-integration/. + + link_expiry_mins : typing.Optional[int] + An integer number of minutes between [30, 720 or 10080 if for a Magic Link URL] for how long this token is valid. Defaults to 30. + + should_create_magic_link_url : typing.Optional[bool] + Whether to generate a Magic Link URL. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. + + hide_admin_magic_link : typing.Optional[bool] + Whether to generate a Magic Link URL on the Admin Needed screen during the linking flow. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. + + common_models : typing.Optional[typing.Sequence[CommonModelScopesBodyRequest]] + An array of objects to specify the models and fields that will be disabled for a given Linked Account. Each object uses model_id, enabled_actions, and disabled_fields to specify the model, method, and fields that are scoped for a given Linked Account. + + category_common_model_scopes : typing.Optional[typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]]] + When creating a Link Token, you can set permissions for Common Models that will apply to the account that is going to be linked. Any model or field not specified in link token payload will default to existing settings. + + language : typing.Optional[EndUserDetailsRequestLanguage] + The following subset of IETF language tags can be used to configure localization. + + * `en` - en + * `de` - de + + are_syncs_disabled : typing.Optional[bool] + The boolean that indicates whether initial, periodic, and force syncs will be disabled. + + integration_specific_config : typing.Optional[typing.Dict[str, typing.Any]] + A JSON object containing integration-specific configuration options. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + LinkToken + + + Examples + -------- + import asyncio + + from merge import AsyncMerge + from merge.resources.file_storage import CategoriesEnum + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + await client.file_storage.link_token.create( + end_user_email_address="example@gmail.com", + end_user_organization_name="Test Organization", + end_user_origin_id="12345", + categories=[CategoriesEnum.HRIS, CategoriesEnum.ATS], + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.create( + end_user_email_address=end_user_email_address, + end_user_organization_name=end_user_organization_name, + end_user_origin_id=end_user_origin_id, + categories=categories, + integration=integration, + link_expiry_mins=link_expiry_mins, + should_create_magic_link_url=should_create_magic_link_url, + hide_admin_magic_link=hide_admin_magic_link, + common_models=common_models, + category_common_model_scopes=category_common_model_scopes, + language=language, + are_syncs_disabled=are_syncs_disabled, + integration_specific_config=integration_specific_config, + request_options=request_options, + ) + return _response.data diff --git a/src/merge/resources/file_storage/resources/link_token/raw_client.py b/src/merge/resources/file_storage/resources/link_token/raw_client.py new file mode 100644 index 00000000..fde8b43c --- /dev/null +++ b/src/merge/resources/file_storage/resources/link_token/raw_client.py @@ -0,0 +1,256 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing +from json.decoder import JSONDecodeError + +from .....core.api_error import ApiError +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.http_response import AsyncHttpResponse, HttpResponse +from .....core.request_options import RequestOptions +from .....core.unchecked_base_model import construct_type +from ...types.categories_enum import CategoriesEnum +from ...types.common_model_scopes_body_request import CommonModelScopesBodyRequest +from ...types.individual_common_model_scope_deserializer_request import IndividualCommonModelScopeDeserializerRequest +from ...types.link_token import LinkToken +from .types.end_user_details_request_language import EndUserDetailsRequestLanguage + +# this is used as the default value for optional parameters +OMIT = typing.cast(typing.Any, ...) + + +class RawLinkTokenClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._client_wrapper = client_wrapper + + def create( + self, + *, + end_user_email_address: str, + end_user_organization_name: str, + end_user_origin_id: str, + categories: typing.Sequence[CategoriesEnum], + integration: typing.Optional[str] = OMIT, + link_expiry_mins: typing.Optional[int] = OMIT, + should_create_magic_link_url: typing.Optional[bool] = OMIT, + hide_admin_magic_link: typing.Optional[bool] = OMIT, + common_models: typing.Optional[typing.Sequence[CommonModelScopesBodyRequest]] = OMIT, + category_common_model_scopes: typing.Optional[ + typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]] + ] = OMIT, + language: typing.Optional[EndUserDetailsRequestLanguage] = OMIT, + are_syncs_disabled: typing.Optional[bool] = OMIT, + integration_specific_config: typing.Optional[typing.Dict[str, typing.Any]] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> HttpResponse[LinkToken]: + """ + Creates a link token to be used when linking a new end user. + + Parameters + ---------- + end_user_email_address : str + Your end user's email address. This is purely for identification purposes - setting this value will not cause any emails to be sent. + + end_user_organization_name : str + Your end user's organization. + + end_user_origin_id : str + This unique identifier typically represents the ID for your end user in your product's database. This value must be distinct from other Linked Accounts' unique identifiers. + + categories : typing.Sequence[CategoriesEnum] + The integration categories to show in Merge Link. + + integration : typing.Optional[str] + The slug of a specific pre-selected integration for this linking flow token. For examples of slugs, see https://docs.merge.dev/guides/merge-link/single-integration/. + + link_expiry_mins : typing.Optional[int] + An integer number of minutes between [30, 720 or 10080 if for a Magic Link URL] for how long this token is valid. Defaults to 30. + + should_create_magic_link_url : typing.Optional[bool] + Whether to generate a Magic Link URL. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. + + hide_admin_magic_link : typing.Optional[bool] + Whether to generate a Magic Link URL on the Admin Needed screen during the linking flow. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. + + common_models : typing.Optional[typing.Sequence[CommonModelScopesBodyRequest]] + An array of objects to specify the models and fields that will be disabled for a given Linked Account. Each object uses model_id, enabled_actions, and disabled_fields to specify the model, method, and fields that are scoped for a given Linked Account. + + category_common_model_scopes : typing.Optional[typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]]] + When creating a Link Token, you can set permissions for Common Models that will apply to the account that is going to be linked. Any model or field not specified in link token payload will default to existing settings. + + language : typing.Optional[EndUserDetailsRequestLanguage] + The following subset of IETF language tags can be used to configure localization. + + * `en` - en + * `de` - de + + are_syncs_disabled : typing.Optional[bool] + The boolean that indicates whether initial, periodic, and force syncs will be disabled. + + integration_specific_config : typing.Optional[typing.Dict[str, typing.Any]] + A JSON object containing integration-specific configuration options. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[LinkToken] + + """ + _response = self._client_wrapper.httpx_client.request( + "filestorage/v1/link-token", + method="POST", + json={ + "end_user_email_address": end_user_email_address, + "end_user_organization_name": end_user_organization_name, + "end_user_origin_id": end_user_origin_id, + "categories": categories, + "integration": integration, + "link_expiry_mins": link_expiry_mins, + "should_create_magic_link_url": should_create_magic_link_url, + "hide_admin_magic_link": hide_admin_magic_link, + "common_models": common_models, + "category_common_model_scopes": category_common_model_scopes, + "language": language, + "are_syncs_disabled": are_syncs_disabled, + "integration_specific_config": integration_specific_config, + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + LinkToken, + construct_type( + type_=LinkToken, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + +class AsyncRawLinkTokenClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._client_wrapper = client_wrapper + + async def create( + self, + *, + end_user_email_address: str, + end_user_organization_name: str, + end_user_origin_id: str, + categories: typing.Sequence[CategoriesEnum], + integration: typing.Optional[str] = OMIT, + link_expiry_mins: typing.Optional[int] = OMIT, + should_create_magic_link_url: typing.Optional[bool] = OMIT, + hide_admin_magic_link: typing.Optional[bool] = OMIT, + common_models: typing.Optional[typing.Sequence[CommonModelScopesBodyRequest]] = OMIT, + category_common_model_scopes: typing.Optional[ + typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]] + ] = OMIT, + language: typing.Optional[EndUserDetailsRequestLanguage] = OMIT, + are_syncs_disabled: typing.Optional[bool] = OMIT, + integration_specific_config: typing.Optional[typing.Dict[str, typing.Any]] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncHttpResponse[LinkToken]: + """ + Creates a link token to be used when linking a new end user. + + Parameters + ---------- + end_user_email_address : str + Your end user's email address. This is purely for identification purposes - setting this value will not cause any emails to be sent. + + end_user_organization_name : str + Your end user's organization. + + end_user_origin_id : str + This unique identifier typically represents the ID for your end user in your product's database. This value must be distinct from other Linked Accounts' unique identifiers. + + categories : typing.Sequence[CategoriesEnum] + The integration categories to show in Merge Link. + + integration : typing.Optional[str] + The slug of a specific pre-selected integration for this linking flow token. For examples of slugs, see https://docs.merge.dev/guides/merge-link/single-integration/. + + link_expiry_mins : typing.Optional[int] + An integer number of minutes between [30, 720 or 10080 if for a Magic Link URL] for how long this token is valid. Defaults to 30. + + should_create_magic_link_url : typing.Optional[bool] + Whether to generate a Magic Link URL. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. + + hide_admin_magic_link : typing.Optional[bool] + Whether to generate a Magic Link URL on the Admin Needed screen during the linking flow. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. + + common_models : typing.Optional[typing.Sequence[CommonModelScopesBodyRequest]] + An array of objects to specify the models and fields that will be disabled for a given Linked Account. Each object uses model_id, enabled_actions, and disabled_fields to specify the model, method, and fields that are scoped for a given Linked Account. + + category_common_model_scopes : typing.Optional[typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]]] + When creating a Link Token, you can set permissions for Common Models that will apply to the account that is going to be linked. Any model or field not specified in link token payload will default to existing settings. + + language : typing.Optional[EndUserDetailsRequestLanguage] + The following subset of IETF language tags can be used to configure localization. + + * `en` - en + * `de` - de + + are_syncs_disabled : typing.Optional[bool] + The boolean that indicates whether initial, periodic, and force syncs will be disabled. + + integration_specific_config : typing.Optional[typing.Dict[str, typing.Any]] + A JSON object containing integration-specific configuration options. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[LinkToken] + + """ + _response = await self._client_wrapper.httpx_client.request( + "filestorage/v1/link-token", + method="POST", + json={ + "end_user_email_address": end_user_email_address, + "end_user_organization_name": end_user_organization_name, + "end_user_origin_id": end_user_origin_id, + "categories": categories, + "integration": integration, + "link_expiry_mins": link_expiry_mins, + "should_create_magic_link_url": should_create_magic_link_url, + "hide_admin_magic_link": hide_admin_magic_link, + "common_models": common_models, + "category_common_model_scopes": category_common_model_scopes, + "language": language, + "are_syncs_disabled": are_syncs_disabled, + "integration_specific_config": integration_specific_config, + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + LinkToken, + construct_type( + type_=LinkToken, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/file_storage/resources/link_token/types/__init__.py b/src/merge/resources/file_storage/resources/link_token/types/__init__.py new file mode 100644 index 00000000..dad2a14a --- /dev/null +++ b/src/merge/resources/file_storage/resources/link_token/types/__init__.py @@ -0,0 +1,34 @@ +# This file was auto-generated by Fern from our API Definition. + +# isort: skip_file + +import typing +from importlib import import_module + +if typing.TYPE_CHECKING: + from .end_user_details_request_language import EndUserDetailsRequestLanguage +_dynamic_imports: typing.Dict[str, str] = {"EndUserDetailsRequestLanguage": ".end_user_details_request_language"} + + +def __getattr__(attr_name: str) -> typing.Any: + module_name = _dynamic_imports.get(attr_name) + if module_name is None: + raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") + try: + module = import_module(module_name, __package__) + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) + except ImportError as e: + raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e + except AttributeError as e: + raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e + + +def __dir__(): + lazy_attrs = list(_dynamic_imports.keys()) + return sorted(lazy_attrs) + + +__all__ = ["EndUserDetailsRequestLanguage"] diff --git a/src/merge/resources/chat/resources/link_token/types/end_user_details_request_language.py b/src/merge/resources/file_storage/resources/link_token/types/end_user_details_request_language.py similarity index 100% rename from src/merge/resources/chat/resources/link_token/types/end_user_details_request_language.py rename to src/merge/resources/file_storage/resources/link_token/types/end_user_details_request_language.py diff --git a/src/merge/resources/file_storage/resources/linked_accounts/__init__.py b/src/merge/resources/file_storage/resources/linked_accounts/__init__.py new file mode 100644 index 00000000..12e213b7 --- /dev/null +++ b/src/merge/resources/file_storage/resources/linked_accounts/__init__.py @@ -0,0 +1,34 @@ +# This file was auto-generated by Fern from our API Definition. + +# isort: skip_file + +import typing +from importlib import import_module + +if typing.TYPE_CHECKING: + from .types import LinkedAccountsListRequestCategory +_dynamic_imports: typing.Dict[str, str] = {"LinkedAccountsListRequestCategory": ".types"} + + +def __getattr__(attr_name: str) -> typing.Any: + module_name = _dynamic_imports.get(attr_name) + if module_name is None: + raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") + try: + module = import_module(module_name, __package__) + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) + except ImportError as e: + raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e + except AttributeError as e: + raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e + + +def __dir__(): + lazy_attrs = list(_dynamic_imports.keys()) + return sorted(lazy_attrs) + + +__all__ = ["LinkedAccountsListRequestCategory"] diff --git a/src/merge/resources/file_storage/resources/linked_accounts/client.py b/src/merge/resources/file_storage/resources/linked_accounts/client.py new file mode 100644 index 00000000..60f3ebea --- /dev/null +++ b/src/merge/resources/file_storage/resources/linked_accounts/client.py @@ -0,0 +1,274 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager +from .....core.request_options import RequestOptions +from ...types.account_details_and_actions import AccountDetailsAndActions +from ...types.paginated_account_details_and_actions_list import PaginatedAccountDetailsAndActionsList +from .raw_client import AsyncRawLinkedAccountsClient, RawLinkedAccountsClient +from .types.linked_accounts_list_request_category import LinkedAccountsListRequestCategory + + +class LinkedAccountsClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._raw_client = RawLinkedAccountsClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> RawLinkedAccountsClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + RawLinkedAccountsClient + """ + return self._raw_client + + def list( + self, + *, + category: typing.Optional[LinkedAccountsListRequestCategory] = None, + cursor: typing.Optional[str] = None, + end_user_email_address: typing.Optional[str] = None, + end_user_organization_name: typing.Optional[str] = None, + end_user_origin_id: typing.Optional[str] = None, + end_user_origin_ids: typing.Optional[str] = None, + id: typing.Optional[str] = None, + ids: typing.Optional[str] = None, + include_duplicates: typing.Optional[bool] = None, + integration_name: typing.Optional[str] = None, + is_test_account: typing.Optional[str] = None, + page_size: typing.Optional[int] = None, + status: typing.Optional[str] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> SyncPager[AccountDetailsAndActions, PaginatedAccountDetailsAndActionsList]: + """ + List linked accounts for your organization. + + Parameters + ---------- + category : typing.Optional[LinkedAccountsListRequestCategory] + Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing` + + * `hris` - hris + * `ats` - ats + * `accounting` - accounting + * `ticketing` - ticketing + * `crm` - crm + * `mktg` - mktg + * `filestorage` - filestorage + + cursor : typing.Optional[str] + The pagination cursor value. + + end_user_email_address : typing.Optional[str] + If provided, will only return linked accounts associated with the given email address. + + end_user_organization_name : typing.Optional[str] + If provided, will only return linked accounts associated with the given organization name. + + end_user_origin_id : typing.Optional[str] + If provided, will only return linked accounts associated with the given origin ID. + + end_user_origin_ids : typing.Optional[str] + Comma-separated list of EndUser origin IDs, making it possible to specify multiple EndUsers at once. + + id : typing.Optional[str] + + ids : typing.Optional[str] + Comma-separated list of LinkedAccount IDs, making it possible to specify multiple LinkedAccounts at once. + + include_duplicates : typing.Optional[bool] + If `true`, will include complete production duplicates of the account specified by the `id` query parameter in the response. `id` must be for a complete production linked account. + + integration_name : typing.Optional[str] + If provided, will only return linked accounts associated with the given integration name. + + is_test_account : typing.Optional[str] + If included, will only include test linked accounts. If not included, will only include non-test linked accounts. + + page_size : typing.Optional[int] + Number of results to return per page. + + status : typing.Optional[str] + Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SyncPager[AccountDetailsAndActions, PaginatedAccountDetailsAndActionsList] + + + Examples + -------- + from merge import Merge + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + response = client.file_storage.linked_accounts.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page + """ + return self._raw_client.list( + category=category, + cursor=cursor, + end_user_email_address=end_user_email_address, + end_user_organization_name=end_user_organization_name, + end_user_origin_id=end_user_origin_id, + end_user_origin_ids=end_user_origin_ids, + id=id, + ids=ids, + include_duplicates=include_duplicates, + integration_name=integration_name, + is_test_account=is_test_account, + page_size=page_size, + status=status, + request_options=request_options, + ) + + +class AsyncLinkedAccountsClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._raw_client = AsyncRawLinkedAccountsClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> AsyncRawLinkedAccountsClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + AsyncRawLinkedAccountsClient + """ + return self._raw_client + + async def list( + self, + *, + category: typing.Optional[LinkedAccountsListRequestCategory] = None, + cursor: typing.Optional[str] = None, + end_user_email_address: typing.Optional[str] = None, + end_user_organization_name: typing.Optional[str] = None, + end_user_origin_id: typing.Optional[str] = None, + end_user_origin_ids: typing.Optional[str] = None, + id: typing.Optional[str] = None, + ids: typing.Optional[str] = None, + include_duplicates: typing.Optional[bool] = None, + integration_name: typing.Optional[str] = None, + is_test_account: typing.Optional[str] = None, + page_size: typing.Optional[int] = None, + status: typing.Optional[str] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncPager[AccountDetailsAndActions, PaginatedAccountDetailsAndActionsList]: + """ + List linked accounts for your organization. + + Parameters + ---------- + category : typing.Optional[LinkedAccountsListRequestCategory] + Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing` + + * `hris` - hris + * `ats` - ats + * `accounting` - accounting + * `ticketing` - ticketing + * `crm` - crm + * `mktg` - mktg + * `filestorage` - filestorage + + cursor : typing.Optional[str] + The pagination cursor value. + + end_user_email_address : typing.Optional[str] + If provided, will only return linked accounts associated with the given email address. + + end_user_organization_name : typing.Optional[str] + If provided, will only return linked accounts associated with the given organization name. + + end_user_origin_id : typing.Optional[str] + If provided, will only return linked accounts associated with the given origin ID. + + end_user_origin_ids : typing.Optional[str] + Comma-separated list of EndUser origin IDs, making it possible to specify multiple EndUsers at once. + + id : typing.Optional[str] + + ids : typing.Optional[str] + Comma-separated list of LinkedAccount IDs, making it possible to specify multiple LinkedAccounts at once. + + include_duplicates : typing.Optional[bool] + If `true`, will include complete production duplicates of the account specified by the `id` query parameter in the response. `id` must be for a complete production linked account. + + integration_name : typing.Optional[str] + If provided, will only return linked accounts associated with the given integration name. + + is_test_account : typing.Optional[str] + If included, will only include test linked accounts. If not included, will only include non-test linked accounts. + + page_size : typing.Optional[int] + Number of results to return per page. + + status : typing.Optional[str] + Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncPager[AccountDetailsAndActions, PaginatedAccountDetailsAndActionsList] + + + Examples + -------- + import asyncio + + from merge import AsyncMerge + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + response = await client.file_storage.linked_accounts.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page + + + asyncio.run(main()) + """ + return await self._raw_client.list( + category=category, + cursor=cursor, + end_user_email_address=end_user_email_address, + end_user_organization_name=end_user_organization_name, + end_user_origin_id=end_user_origin_id, + end_user_origin_ids=end_user_origin_ids, + id=id, + ids=ids, + include_duplicates=include_duplicates, + integration_name=integration_name, + is_test_account=is_test_account, + page_size=page_size, + status=status, + request_options=request_options, + ) diff --git a/src/merge/resources/file_storage/resources/linked_accounts/raw_client.py b/src/merge/resources/file_storage/resources/linked_accounts/raw_client.py new file mode 100644 index 00000000..af1a7f23 --- /dev/null +++ b/src/merge/resources/file_storage/resources/linked_accounts/raw_client.py @@ -0,0 +1,288 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing +from json.decoder import JSONDecodeError + +from .....core.api_error import ApiError +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager +from .....core.request_options import RequestOptions +from .....core.unchecked_base_model import construct_type +from ...types.account_details_and_actions import AccountDetailsAndActions +from ...types.paginated_account_details_and_actions_list import PaginatedAccountDetailsAndActionsList +from .types.linked_accounts_list_request_category import LinkedAccountsListRequestCategory + + +class RawLinkedAccountsClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._client_wrapper = client_wrapper + + def list( + self, + *, + category: typing.Optional[LinkedAccountsListRequestCategory] = None, + cursor: typing.Optional[str] = None, + end_user_email_address: typing.Optional[str] = None, + end_user_organization_name: typing.Optional[str] = None, + end_user_origin_id: typing.Optional[str] = None, + end_user_origin_ids: typing.Optional[str] = None, + id: typing.Optional[str] = None, + ids: typing.Optional[str] = None, + include_duplicates: typing.Optional[bool] = None, + integration_name: typing.Optional[str] = None, + is_test_account: typing.Optional[str] = None, + page_size: typing.Optional[int] = None, + status: typing.Optional[str] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> SyncPager[AccountDetailsAndActions, PaginatedAccountDetailsAndActionsList]: + """ + List linked accounts for your organization. + + Parameters + ---------- + category : typing.Optional[LinkedAccountsListRequestCategory] + Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing` + + * `hris` - hris + * `ats` - ats + * `accounting` - accounting + * `ticketing` - ticketing + * `crm` - crm + * `mktg` - mktg + * `filestorage` - filestorage + + cursor : typing.Optional[str] + The pagination cursor value. + + end_user_email_address : typing.Optional[str] + If provided, will only return linked accounts associated with the given email address. + + end_user_organization_name : typing.Optional[str] + If provided, will only return linked accounts associated with the given organization name. + + end_user_origin_id : typing.Optional[str] + If provided, will only return linked accounts associated with the given origin ID. + + end_user_origin_ids : typing.Optional[str] + Comma-separated list of EndUser origin IDs, making it possible to specify multiple EndUsers at once. + + id : typing.Optional[str] + + ids : typing.Optional[str] + Comma-separated list of LinkedAccount IDs, making it possible to specify multiple LinkedAccounts at once. + + include_duplicates : typing.Optional[bool] + If `true`, will include complete production duplicates of the account specified by the `id` query parameter in the response. `id` must be for a complete production linked account. + + integration_name : typing.Optional[str] + If provided, will only return linked accounts associated with the given integration name. + + is_test_account : typing.Optional[str] + If included, will only include test linked accounts. If not included, will only include non-test linked accounts. + + page_size : typing.Optional[int] + Number of results to return per page. + + status : typing.Optional[str] + Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SyncPager[AccountDetailsAndActions, PaginatedAccountDetailsAndActionsList] + + """ + _response = self._client_wrapper.httpx_client.request( + "filestorage/v1/linked-accounts", + method="GET", + params={ + "category": category, + "cursor": cursor, + "end_user_email_address": end_user_email_address, + "end_user_organization_name": end_user_organization_name, + "end_user_origin_id": end_user_origin_id, + "end_user_origin_ids": end_user_origin_ids, + "id": id, + "ids": ids, + "include_duplicates": include_duplicates, + "integration_name": integration_name, + "is_test_account": is_test_account, + "page_size": page_size, + "status": status, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _parsed_response = typing.cast( + PaginatedAccountDetailsAndActionsList, + construct_type( + type_=PaginatedAccountDetailsAndActionsList, # type: ignore + object_=_response.json(), + ), + ) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + category=category, + cursor=_parsed_next, + end_user_email_address=end_user_email_address, + end_user_organization_name=end_user_organization_name, + end_user_origin_id=end_user_origin_id, + end_user_origin_ids=end_user_origin_ids, + id=id, + ids=ids, + include_duplicates=include_duplicates, + integration_name=integration_name, + is_test_account=is_test_account, + page_size=page_size, + status=status, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + +class AsyncRawLinkedAccountsClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._client_wrapper = client_wrapper + + async def list( + self, + *, + category: typing.Optional[LinkedAccountsListRequestCategory] = None, + cursor: typing.Optional[str] = None, + end_user_email_address: typing.Optional[str] = None, + end_user_organization_name: typing.Optional[str] = None, + end_user_origin_id: typing.Optional[str] = None, + end_user_origin_ids: typing.Optional[str] = None, + id: typing.Optional[str] = None, + ids: typing.Optional[str] = None, + include_duplicates: typing.Optional[bool] = None, + integration_name: typing.Optional[str] = None, + is_test_account: typing.Optional[str] = None, + page_size: typing.Optional[int] = None, + status: typing.Optional[str] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncPager[AccountDetailsAndActions, PaginatedAccountDetailsAndActionsList]: + """ + List linked accounts for your organization. + + Parameters + ---------- + category : typing.Optional[LinkedAccountsListRequestCategory] + Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing` + + * `hris` - hris + * `ats` - ats + * `accounting` - accounting + * `ticketing` - ticketing + * `crm` - crm + * `mktg` - mktg + * `filestorage` - filestorage + + cursor : typing.Optional[str] + The pagination cursor value. + + end_user_email_address : typing.Optional[str] + If provided, will only return linked accounts associated with the given email address. + + end_user_organization_name : typing.Optional[str] + If provided, will only return linked accounts associated with the given organization name. + + end_user_origin_id : typing.Optional[str] + If provided, will only return linked accounts associated with the given origin ID. + + end_user_origin_ids : typing.Optional[str] + Comma-separated list of EndUser origin IDs, making it possible to specify multiple EndUsers at once. + + id : typing.Optional[str] + + ids : typing.Optional[str] + Comma-separated list of LinkedAccount IDs, making it possible to specify multiple LinkedAccounts at once. + + include_duplicates : typing.Optional[bool] + If `true`, will include complete production duplicates of the account specified by the `id` query parameter in the response. `id` must be for a complete production linked account. + + integration_name : typing.Optional[str] + If provided, will only return linked accounts associated with the given integration name. + + is_test_account : typing.Optional[str] + If included, will only include test linked accounts. If not included, will only include non-test linked accounts. + + page_size : typing.Optional[int] + Number of results to return per page. + + status : typing.Optional[str] + Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncPager[AccountDetailsAndActions, PaginatedAccountDetailsAndActionsList] + + """ + _response = await self._client_wrapper.httpx_client.request( + "filestorage/v1/linked-accounts", + method="GET", + params={ + "category": category, + "cursor": cursor, + "end_user_email_address": end_user_email_address, + "end_user_organization_name": end_user_organization_name, + "end_user_origin_id": end_user_origin_id, + "end_user_origin_ids": end_user_origin_ids, + "id": id, + "ids": ids, + "include_duplicates": include_duplicates, + "integration_name": integration_name, + "is_test_account": is_test_account, + "page_size": page_size, + "status": status, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _parsed_response = typing.cast( + PaginatedAccountDetailsAndActionsList, + construct_type( + type_=PaginatedAccountDetailsAndActionsList, # type: ignore + object_=_response.json(), + ), + ) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + category=category, + cursor=_parsed_next, + end_user_email_address=end_user_email_address, + end_user_organization_name=end_user_organization_name, + end_user_origin_id=end_user_origin_id, + end_user_origin_ids=end_user_origin_ids, + id=id, + ids=ids, + include_duplicates=include_duplicates, + integration_name=integration_name, + is_test_account=is_test_account, + page_size=page_size, + status=status, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/file_storage/resources/linked_accounts/types/__init__.py b/src/merge/resources/file_storage/resources/linked_accounts/types/__init__.py new file mode 100644 index 00000000..a884db6a --- /dev/null +++ b/src/merge/resources/file_storage/resources/linked_accounts/types/__init__.py @@ -0,0 +1,36 @@ +# This file was auto-generated by Fern from our API Definition. + +# isort: skip_file + +import typing +from importlib import import_module + +if typing.TYPE_CHECKING: + from .linked_accounts_list_request_category import LinkedAccountsListRequestCategory +_dynamic_imports: typing.Dict[str, str] = { + "LinkedAccountsListRequestCategory": ".linked_accounts_list_request_category" +} + + +def __getattr__(attr_name: str) -> typing.Any: + module_name = _dynamic_imports.get(attr_name) + if module_name is None: + raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") + try: + module = import_module(module_name, __package__) + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) + except ImportError as e: + raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e + except AttributeError as e: + raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e + + +def __dir__(): + lazy_attrs = list(_dynamic_imports.keys()) + return sorted(lazy_attrs) + + +__all__ = ["LinkedAccountsListRequestCategory"] diff --git a/src/merge/resources/filestorage/resources/linked_accounts/types/linked_accounts_list_request_category.py b/src/merge/resources/file_storage/resources/linked_accounts/types/linked_accounts_list_request_category.py similarity index 100% rename from src/merge/resources/filestorage/resources/linked_accounts/types/linked_accounts_list_request_category.py rename to src/merge/resources/file_storage/resources/linked_accounts/types/linked_accounts_list_request_category.py diff --git a/src/merge/resources/chat/resources/passthrough/__init__.py b/src/merge/resources/file_storage/resources/passthrough/__init__.py similarity index 100% rename from src/merge/resources/chat/resources/passthrough/__init__.py rename to src/merge/resources/file_storage/resources/passthrough/__init__.py diff --git a/src/merge/resources/file_storage/resources/passthrough/client.py b/src/merge/resources/file_storage/resources/passthrough/client.py new file mode 100644 index 00000000..bedc612e --- /dev/null +++ b/src/merge/resources/file_storage/resources/passthrough/client.py @@ -0,0 +1,126 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.request_options import RequestOptions +from ...types.data_passthrough_request import DataPassthroughRequest +from ...types.remote_response import RemoteResponse +from .raw_client import AsyncRawPassthroughClient, RawPassthroughClient + +# this is used as the default value for optional parameters +OMIT = typing.cast(typing.Any, ...) + + +class PassthroughClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._raw_client = RawPassthroughClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> RawPassthroughClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + RawPassthroughClient + """ + return self._raw_client + + def create( + self, *, request: DataPassthroughRequest, request_options: typing.Optional[RequestOptions] = None + ) -> RemoteResponse: + """ + Pull data from an endpoint not currently supported by Merge. + + Parameters + ---------- + request : DataPassthroughRequest + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + RemoteResponse + + + Examples + -------- + from merge import Merge + from merge.resources.file_storage import DataPassthroughRequest, MethodEnum + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + client.file_storage.passthrough.create( + request=DataPassthroughRequest( + method=MethodEnum.GET, + path="/scooters", + ), + ) + """ + _response = self._raw_client.create(request=request, request_options=request_options) + return _response.data + + +class AsyncPassthroughClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._raw_client = AsyncRawPassthroughClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> AsyncRawPassthroughClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + AsyncRawPassthroughClient + """ + return self._raw_client + + async def create( + self, *, request: DataPassthroughRequest, request_options: typing.Optional[RequestOptions] = None + ) -> RemoteResponse: + """ + Pull data from an endpoint not currently supported by Merge. + + Parameters + ---------- + request : DataPassthroughRequest + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + RemoteResponse + + + Examples + -------- + import asyncio + + from merge import AsyncMerge + from merge.resources.file_storage import DataPassthroughRequest, MethodEnum + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + await client.file_storage.passthrough.create( + request=DataPassthroughRequest( + method=MethodEnum.GET, + path="/scooters", + ), + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.create(request=request, request_options=request_options) + return _response.data diff --git a/src/merge/resources/filestorage/resources/passthrough/raw_client.py b/src/merge/resources/file_storage/resources/passthrough/raw_client.py similarity index 100% rename from src/merge/resources/filestorage/resources/passthrough/raw_client.py rename to src/merge/resources/file_storage/resources/passthrough/raw_client.py diff --git a/src/merge/resources/chat/resources/regenerate_key/__init__.py b/src/merge/resources/file_storage/resources/regenerate_key/__init__.py similarity index 100% rename from src/merge/resources/chat/resources/regenerate_key/__init__.py rename to src/merge/resources/file_storage/resources/regenerate_key/__init__.py diff --git a/src/merge/resources/file_storage/resources/regenerate_key/client.py b/src/merge/resources/file_storage/resources/regenerate_key/client.py new file mode 100644 index 00000000..a004e32d --- /dev/null +++ b/src/merge/resources/file_storage/resources/regenerate_key/client.py @@ -0,0 +1,115 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.request_options import RequestOptions +from ...types.remote_key import RemoteKey +from .raw_client import AsyncRawRegenerateKeyClient, RawRegenerateKeyClient + +# this is used as the default value for optional parameters +OMIT = typing.cast(typing.Any, ...) + + +class RegenerateKeyClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._raw_client = RawRegenerateKeyClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> RawRegenerateKeyClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + RawRegenerateKeyClient + """ + return self._raw_client + + def create(self, *, name: str, request_options: typing.Optional[RequestOptions] = None) -> RemoteKey: + """ + Exchange remote keys. + + Parameters + ---------- + name : str + The name of the remote key + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + RemoteKey + + + Examples + -------- + from merge import Merge + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + client.file_storage.regenerate_key.create( + name="Remote Deployment Key 1", + ) + """ + _response = self._raw_client.create(name=name, request_options=request_options) + return _response.data + + +class AsyncRegenerateKeyClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._raw_client = AsyncRawRegenerateKeyClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> AsyncRawRegenerateKeyClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + AsyncRawRegenerateKeyClient + """ + return self._raw_client + + async def create(self, *, name: str, request_options: typing.Optional[RequestOptions] = None) -> RemoteKey: + """ + Exchange remote keys. + + Parameters + ---------- + name : str + The name of the remote key + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + RemoteKey + + + Examples + -------- + import asyncio + + from merge import AsyncMerge + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + await client.file_storage.regenerate_key.create( + name="Remote Deployment Key 1", + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.create(name=name, request_options=request_options) + return _response.data diff --git a/src/merge/resources/filestorage/resources/regenerate_key/raw_client.py b/src/merge/resources/file_storage/resources/regenerate_key/raw_client.py similarity index 100% rename from src/merge/resources/filestorage/resources/regenerate_key/raw_client.py rename to src/merge/resources/file_storage/resources/regenerate_key/raw_client.py diff --git a/src/merge/resources/chat/resources/scopes/__init__.py b/src/merge/resources/file_storage/resources/scopes/__init__.py similarity index 100% rename from src/merge/resources/chat/resources/scopes/__init__.py rename to src/merge/resources/file_storage/resources/scopes/__init__.py diff --git a/src/merge/resources/file_storage/resources/scopes/client.py b/src/merge/resources/file_storage/resources/scopes/client.py new file mode 100644 index 00000000..63b64341 --- /dev/null +++ b/src/merge/resources/file_storage/resources/scopes/client.py @@ -0,0 +1,320 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.request_options import RequestOptions +from ...types.common_model_scope_api import CommonModelScopeApi +from ...types.individual_common_model_scope_deserializer_request import IndividualCommonModelScopeDeserializerRequest +from .raw_client import AsyncRawScopesClient, RawScopesClient + +# this is used as the default value for optional parameters +OMIT = typing.cast(typing.Any, ...) + + +class ScopesClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._raw_client = RawScopesClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> RawScopesClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + RawScopesClient + """ + return self._raw_client + + def default_scopes_retrieve( + self, *, request_options: typing.Optional[RequestOptions] = None + ) -> CommonModelScopeApi: + """ + Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). + + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + CommonModelScopeApi + + + Examples + -------- + from merge import Merge + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + client.file_storage.scopes.default_scopes_retrieve() + """ + _response = self._raw_client.default_scopes_retrieve(request_options=request_options) + return _response.data + + def linked_account_scopes_retrieve( + self, *, request_options: typing.Optional[RequestOptions] = None + ) -> CommonModelScopeApi: + """ + Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). + + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + CommonModelScopeApi + + + Examples + -------- + from merge import Merge + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + client.file_storage.scopes.linked_account_scopes_retrieve() + """ + _response = self._raw_client.linked_account_scopes_retrieve(request_options=request_options) + return _response.data + + def linked_account_scopes_create( + self, + *, + common_models: typing.Sequence[IndividualCommonModelScopeDeserializerRequest], + request_options: typing.Optional[RequestOptions] = None, + ) -> CommonModelScopeApi: + """ + Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes) + + Parameters + ---------- + common_models : typing.Sequence[IndividualCommonModelScopeDeserializerRequest] + The common models you want to update the scopes for + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + CommonModelScopeApi + + + Examples + -------- + from merge import Merge + from merge.resources.file_storage import ( + FieldPermissionDeserializerRequest, + IndividualCommonModelScopeDeserializerRequest, + ModelPermissionDeserializerRequest, + ) + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + client.file_storage.scopes.linked_account_scopes_create( + common_models=[ + IndividualCommonModelScopeDeserializerRequest( + model_name="Employee", + model_permissions={ + "READ": ModelPermissionDeserializerRequest( + is_enabled=True, + ), + "WRITE": ModelPermissionDeserializerRequest( + is_enabled=False, + ), + }, + field_permissions=FieldPermissionDeserializerRequest( + enabled_fields=["avatar", "home_location"], + disabled_fields=["work_location"], + ), + ), + IndividualCommonModelScopeDeserializerRequest( + model_name="Benefit", + model_permissions={ + "WRITE": ModelPermissionDeserializerRequest( + is_enabled=False, + ) + }, + ), + ], + ) + """ + _response = self._raw_client.linked_account_scopes_create( + common_models=common_models, request_options=request_options + ) + return _response.data + + +class AsyncScopesClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._raw_client = AsyncRawScopesClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> AsyncRawScopesClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + AsyncRawScopesClient + """ + return self._raw_client + + async def default_scopes_retrieve( + self, *, request_options: typing.Optional[RequestOptions] = None + ) -> CommonModelScopeApi: + """ + Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). + + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + CommonModelScopeApi + + + Examples + -------- + import asyncio + + from merge import AsyncMerge + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + await client.file_storage.scopes.default_scopes_retrieve() + + + asyncio.run(main()) + """ + _response = await self._raw_client.default_scopes_retrieve(request_options=request_options) + return _response.data + + async def linked_account_scopes_retrieve( + self, *, request_options: typing.Optional[RequestOptions] = None + ) -> CommonModelScopeApi: + """ + Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). + + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + CommonModelScopeApi + + + Examples + -------- + import asyncio + + from merge import AsyncMerge + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + await client.file_storage.scopes.linked_account_scopes_retrieve() + + + asyncio.run(main()) + """ + _response = await self._raw_client.linked_account_scopes_retrieve(request_options=request_options) + return _response.data + + async def linked_account_scopes_create( + self, + *, + common_models: typing.Sequence[IndividualCommonModelScopeDeserializerRequest], + request_options: typing.Optional[RequestOptions] = None, + ) -> CommonModelScopeApi: + """ + Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes) + + Parameters + ---------- + common_models : typing.Sequence[IndividualCommonModelScopeDeserializerRequest] + The common models you want to update the scopes for + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + CommonModelScopeApi + + + Examples + -------- + import asyncio + + from merge import AsyncMerge + from merge.resources.file_storage import ( + FieldPermissionDeserializerRequest, + IndividualCommonModelScopeDeserializerRequest, + ModelPermissionDeserializerRequest, + ) + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + await client.file_storage.scopes.linked_account_scopes_create( + common_models=[ + IndividualCommonModelScopeDeserializerRequest( + model_name="Employee", + model_permissions={ + "READ": ModelPermissionDeserializerRequest( + is_enabled=True, + ), + "WRITE": ModelPermissionDeserializerRequest( + is_enabled=False, + ), + }, + field_permissions=FieldPermissionDeserializerRequest( + enabled_fields=["avatar", "home_location"], + disabled_fields=["work_location"], + ), + ), + IndividualCommonModelScopeDeserializerRequest( + model_name="Benefit", + model_permissions={ + "WRITE": ModelPermissionDeserializerRequest( + is_enabled=False, + ) + }, + ), + ], + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.linked_account_scopes_create( + common_models=common_models, request_options=request_options + ) + return _response.data diff --git a/src/merge/resources/filestorage/resources/scopes/raw_client.py b/src/merge/resources/file_storage/resources/scopes/raw_client.py similarity index 100% rename from src/merge/resources/filestorage/resources/scopes/raw_client.py rename to src/merge/resources/file_storage/resources/scopes/raw_client.py diff --git a/src/merge/resources/chat/resources/sync_status/__init__.py b/src/merge/resources/file_storage/resources/sync_status/__init__.py similarity index 100% rename from src/merge/resources/chat/resources/sync_status/__init__.py rename to src/merge/resources/file_storage/resources/sync_status/__init__.py diff --git a/src/merge/resources/file_storage/resources/sync_status/client.py b/src/merge/resources/file_storage/resources/sync_status/client.py new file mode 100644 index 00000000..9210966c --- /dev/null +++ b/src/merge/resources/file_storage/resources/sync_status/client.py @@ -0,0 +1,141 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager +from .....core.request_options import RequestOptions +from ...types.paginated_sync_status_list import PaginatedSyncStatusList +from ...types.sync_status import SyncStatus +from .raw_client import AsyncRawSyncStatusClient, RawSyncStatusClient + + +class SyncStatusClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._raw_client = RawSyncStatusClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> RawSyncStatusClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + RawSyncStatusClient + """ + return self._raw_client + + def list( + self, + *, + cursor: typing.Optional[str] = None, + page_size: typing.Optional[int] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> SyncPager[SyncStatus, PaginatedSyncStatusList]: + """ + Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). + + Parameters + ---------- + cursor : typing.Optional[str] + The pagination cursor value. + + page_size : typing.Optional[int] + Number of results to return per page. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SyncPager[SyncStatus, PaginatedSyncStatusList] + + + Examples + -------- + from merge import Merge + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + response = client.file_storage.sync_status.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page + """ + return self._raw_client.list(cursor=cursor, page_size=page_size, request_options=request_options) + + +class AsyncSyncStatusClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._raw_client = AsyncRawSyncStatusClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> AsyncRawSyncStatusClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + AsyncRawSyncStatusClient + """ + return self._raw_client + + async def list( + self, + *, + cursor: typing.Optional[str] = None, + page_size: typing.Optional[int] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncPager[SyncStatus, PaginatedSyncStatusList]: + """ + Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). + + Parameters + ---------- + cursor : typing.Optional[str] + The pagination cursor value. + + page_size : typing.Optional[int] + Number of results to return per page. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncPager[SyncStatus, PaginatedSyncStatusList] + + + Examples + -------- + import asyncio + + from merge import AsyncMerge + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + response = await client.file_storage.sync_status.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page + + + asyncio.run(main()) + """ + return await self._raw_client.list(cursor=cursor, page_size=page_size, request_options=request_options) diff --git a/src/merge/resources/file_storage/resources/sync_status/raw_client.py b/src/merge/resources/file_storage/resources/sync_status/raw_client.py new file mode 100644 index 00000000..ad126fdf --- /dev/null +++ b/src/merge/resources/file_storage/resources/sync_status/raw_client.py @@ -0,0 +1,141 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing +from json.decoder import JSONDecodeError + +from .....core.api_error import ApiError +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager +from .....core.request_options import RequestOptions +from .....core.unchecked_base_model import construct_type +from ...types.paginated_sync_status_list import PaginatedSyncStatusList +from ...types.sync_status import SyncStatus + + +class RawSyncStatusClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._client_wrapper = client_wrapper + + def list( + self, + *, + cursor: typing.Optional[str] = None, + page_size: typing.Optional[int] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> SyncPager[SyncStatus, PaginatedSyncStatusList]: + """ + Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). + + Parameters + ---------- + cursor : typing.Optional[str] + The pagination cursor value. + + page_size : typing.Optional[int] + Number of results to return per page. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SyncPager[SyncStatus, PaginatedSyncStatusList] + + """ + _response = self._client_wrapper.httpx_client.request( + "filestorage/v1/sync-status", + method="GET", + params={ + "cursor": cursor, + "page_size": page_size, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _parsed_response = typing.cast( + PaginatedSyncStatusList, + construct_type( + type_=PaginatedSyncStatusList, # type: ignore + object_=_response.json(), + ), + ) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + cursor=_parsed_next, + page_size=page_size, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + +class AsyncRawSyncStatusClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._client_wrapper = client_wrapper + + async def list( + self, + *, + cursor: typing.Optional[str] = None, + page_size: typing.Optional[int] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncPager[SyncStatus, PaginatedSyncStatusList]: + """ + Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). + + Parameters + ---------- + cursor : typing.Optional[str] + The pagination cursor value. + + page_size : typing.Optional[int] + Number of results to return per page. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncPager[SyncStatus, PaginatedSyncStatusList] + + """ + _response = await self._client_wrapper.httpx_client.request( + "filestorage/v1/sync-status", + method="GET", + params={ + "cursor": cursor, + "page_size": page_size, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _parsed_response = typing.cast( + PaginatedSyncStatusList, + construct_type( + type_=PaginatedSyncStatusList, # type: ignore + object_=_response.json(), + ), + ) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + cursor=_parsed_next, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/chat/resources/users/__init__.py b/src/merge/resources/file_storage/resources/users/__init__.py similarity index 100% rename from src/merge/resources/chat/resources/users/__init__.py rename to src/merge/resources/file_storage/resources/users/__init__.py diff --git a/src/merge/resources/file_storage/resources/users/client.py b/src/merge/resources/file_storage/resources/users/client.py new file mode 100644 index 00000000..f09968c7 --- /dev/null +++ b/src/merge/resources/file_storage/resources/users/client.py @@ -0,0 +1,346 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager +from .....core.request_options import RequestOptions +from ...types.paginated_user_list import PaginatedUserList +from ...types.user import User +from .raw_client import AsyncRawUsersClient, RawUsersClient + + +class UsersClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._raw_client = RawUsersClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> RawUsersClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + RawUsersClient + """ + return self._raw_client + + def list( + self, + *, + created_after: typing.Optional[dt.datetime] = None, + created_before: typing.Optional[dt.datetime] = None, + cursor: typing.Optional[str] = None, + include_deleted_data: typing.Optional[bool] = None, + include_remote_data: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + is_me: typing.Optional[str] = None, + modified_after: typing.Optional[dt.datetime] = None, + modified_before: typing.Optional[dt.datetime] = None, + page_size: typing.Optional[int] = None, + remote_id: typing.Optional[str] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> SyncPager[User, PaginatedUserList]: + """ + Returns a list of `User` objects. + + Parameters + ---------- + created_after : typing.Optional[dt.datetime] + If provided, will only return objects created after this datetime. + + created_before : typing.Optional[dt.datetime] + If provided, will only return objects created before this datetime. + + cursor : typing.Optional[str] + The pagination cursor value. + + include_deleted_data : typing.Optional[bool] + Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + + include_remote_data : typing.Optional[bool] + Whether to include the original data Merge fetched from the third-party to produce these models. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + is_me : typing.Optional[str] + If provided, will only return the user object for requestor. + + modified_after : typing.Optional[dt.datetime] + If provided, only objects synced by Merge after this date time will be returned. + + modified_before : typing.Optional[dt.datetime] + If provided, only objects synced by Merge before this date time will be returned. + + page_size : typing.Optional[int] + Number of results to return per page. + + remote_id : typing.Optional[str] + The API provider's ID for the given object. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SyncPager[User, PaginatedUserList] + + + Examples + -------- + from merge import Merge + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + response = client.file_storage.users.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page + """ + return self._raw_client.list( + created_after=created_after, + created_before=created_before, + cursor=cursor, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_me=is_me, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + def retrieve( + self, + id: str, + *, + include_remote_data: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> User: + """ + Returns a `User` object with the given `id`. + + Parameters + ---------- + id : str + + include_remote_data : typing.Optional[bool] + Whether to include the original data Merge fetched from the third-party to produce these models. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + User + + + Examples + -------- + from merge import Merge + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + client.file_storage.users.retrieve( + id="id", + ) + """ + _response = self._raw_client.retrieve( + id, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + request_options=request_options, + ) + return _response.data + + +class AsyncUsersClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._raw_client = AsyncRawUsersClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> AsyncRawUsersClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + AsyncRawUsersClient + """ + return self._raw_client + + async def list( + self, + *, + created_after: typing.Optional[dt.datetime] = None, + created_before: typing.Optional[dt.datetime] = None, + cursor: typing.Optional[str] = None, + include_deleted_data: typing.Optional[bool] = None, + include_remote_data: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + is_me: typing.Optional[str] = None, + modified_after: typing.Optional[dt.datetime] = None, + modified_before: typing.Optional[dt.datetime] = None, + page_size: typing.Optional[int] = None, + remote_id: typing.Optional[str] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncPager[User, PaginatedUserList]: + """ + Returns a list of `User` objects. + + Parameters + ---------- + created_after : typing.Optional[dt.datetime] + If provided, will only return objects created after this datetime. + + created_before : typing.Optional[dt.datetime] + If provided, will only return objects created before this datetime. + + cursor : typing.Optional[str] + The pagination cursor value. + + include_deleted_data : typing.Optional[bool] + Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + + include_remote_data : typing.Optional[bool] + Whether to include the original data Merge fetched from the third-party to produce these models. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + is_me : typing.Optional[str] + If provided, will only return the user object for requestor. + + modified_after : typing.Optional[dt.datetime] + If provided, only objects synced by Merge after this date time will be returned. + + modified_before : typing.Optional[dt.datetime] + If provided, only objects synced by Merge before this date time will be returned. + + page_size : typing.Optional[int] + Number of results to return per page. + + remote_id : typing.Optional[str] + The API provider's ID for the given object. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncPager[User, PaginatedUserList] + + + Examples + -------- + import asyncio + + from merge import AsyncMerge + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + response = await client.file_storage.users.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page + + + asyncio.run(main()) + """ + return await self._raw_client.list( + created_after=created_after, + created_before=created_before, + cursor=cursor, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_me=is_me, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + async def retrieve( + self, + id: str, + *, + include_remote_data: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> User: + """ + Returns a `User` object with the given `id`. + + Parameters + ---------- + id : str + + include_remote_data : typing.Optional[bool] + Whether to include the original data Merge fetched from the third-party to produce these models. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + User + + + Examples + -------- + import asyncio + + from merge import AsyncMerge + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + await client.file_storage.users.retrieve( + id="id", + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.retrieve( + id, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + request_options=request_options, + ) + return _response.data diff --git a/src/merge/resources/file_storage/resources/users/raw_client.py b/src/merge/resources/file_storage/resources/users/raw_client.py new file mode 100644 index 00000000..aa8d706b --- /dev/null +++ b/src/merge/resources/file_storage/resources/users/raw_client.py @@ -0,0 +1,359 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing +from json.decoder import JSONDecodeError + +from .....core.api_error import ApiError +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.datetime_utils import serialize_datetime +from .....core.http_response import AsyncHttpResponse, HttpResponse +from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager +from .....core.request_options import RequestOptions +from .....core.unchecked_base_model import construct_type +from ...types.paginated_user_list import PaginatedUserList +from ...types.user import User + + +class RawUsersClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._client_wrapper = client_wrapper + + def list( + self, + *, + created_after: typing.Optional[dt.datetime] = None, + created_before: typing.Optional[dt.datetime] = None, + cursor: typing.Optional[str] = None, + include_deleted_data: typing.Optional[bool] = None, + include_remote_data: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + is_me: typing.Optional[str] = None, + modified_after: typing.Optional[dt.datetime] = None, + modified_before: typing.Optional[dt.datetime] = None, + page_size: typing.Optional[int] = None, + remote_id: typing.Optional[str] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> SyncPager[User, PaginatedUserList]: + """ + Returns a list of `User` objects. + + Parameters + ---------- + created_after : typing.Optional[dt.datetime] + If provided, will only return objects created after this datetime. + + created_before : typing.Optional[dt.datetime] + If provided, will only return objects created before this datetime. + + cursor : typing.Optional[str] + The pagination cursor value. + + include_deleted_data : typing.Optional[bool] + Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + + include_remote_data : typing.Optional[bool] + Whether to include the original data Merge fetched from the third-party to produce these models. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + is_me : typing.Optional[str] + If provided, will only return the user object for requestor. + + modified_after : typing.Optional[dt.datetime] + If provided, only objects synced by Merge after this date time will be returned. + + modified_before : typing.Optional[dt.datetime] + If provided, only objects synced by Merge before this date time will be returned. + + page_size : typing.Optional[int] + Number of results to return per page. + + remote_id : typing.Optional[str] + The API provider's ID for the given object. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SyncPager[User, PaginatedUserList] + + """ + _response = self._client_wrapper.httpx_client.request( + "filestorage/v1/users", + method="GET", + params={ + "created_after": serialize_datetime(created_after) if created_after is not None else None, + "created_before": serialize_datetime(created_before) if created_before is not None else None, + "cursor": cursor, + "include_deleted_data": include_deleted_data, + "include_remote_data": include_remote_data, + "include_shell_data": include_shell_data, + "is_me": is_me, + "modified_after": serialize_datetime(modified_after) if modified_after is not None else None, + "modified_before": serialize_datetime(modified_before) if modified_before is not None else None, + "page_size": page_size, + "remote_id": remote_id, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _parsed_response = typing.cast( + PaginatedUserList, + construct_type( + type_=PaginatedUserList, # type: ignore + object_=_response.json(), + ), + ) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_me=is_me, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def retrieve( + self, + id: str, + *, + include_remote_data: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> HttpResponse[User]: + """ + Returns a `User` object with the given `id`. + + Parameters + ---------- + id : str + + include_remote_data : typing.Optional[bool] + Whether to include the original data Merge fetched from the third-party to produce these models. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[User] + + """ + _response = self._client_wrapper.httpx_client.request( + f"filestorage/v1/users/{jsonable_encoder(id)}", + method="GET", + params={ + "include_remote_data": include_remote_data, + "include_shell_data": include_shell_data, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + User, + construct_type( + type_=User, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + +class AsyncRawUsersClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._client_wrapper = client_wrapper + + async def list( + self, + *, + created_after: typing.Optional[dt.datetime] = None, + created_before: typing.Optional[dt.datetime] = None, + cursor: typing.Optional[str] = None, + include_deleted_data: typing.Optional[bool] = None, + include_remote_data: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + is_me: typing.Optional[str] = None, + modified_after: typing.Optional[dt.datetime] = None, + modified_before: typing.Optional[dt.datetime] = None, + page_size: typing.Optional[int] = None, + remote_id: typing.Optional[str] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncPager[User, PaginatedUserList]: + """ + Returns a list of `User` objects. + + Parameters + ---------- + created_after : typing.Optional[dt.datetime] + If provided, will only return objects created after this datetime. + + created_before : typing.Optional[dt.datetime] + If provided, will only return objects created before this datetime. + + cursor : typing.Optional[str] + The pagination cursor value. + + include_deleted_data : typing.Optional[bool] + Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + + include_remote_data : typing.Optional[bool] + Whether to include the original data Merge fetched from the third-party to produce these models. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + is_me : typing.Optional[str] + If provided, will only return the user object for requestor. + + modified_after : typing.Optional[dt.datetime] + If provided, only objects synced by Merge after this date time will be returned. + + modified_before : typing.Optional[dt.datetime] + If provided, only objects synced by Merge before this date time will be returned. + + page_size : typing.Optional[int] + Number of results to return per page. + + remote_id : typing.Optional[str] + The API provider's ID for the given object. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncPager[User, PaginatedUserList] + + """ + _response = await self._client_wrapper.httpx_client.request( + "filestorage/v1/users", + method="GET", + params={ + "created_after": serialize_datetime(created_after) if created_after is not None else None, + "created_before": serialize_datetime(created_before) if created_before is not None else None, + "cursor": cursor, + "include_deleted_data": include_deleted_data, + "include_remote_data": include_remote_data, + "include_shell_data": include_shell_data, + "is_me": is_me, + "modified_after": serialize_datetime(modified_after) if modified_after is not None else None, + "modified_before": serialize_datetime(modified_before) if modified_before is not None else None, + "page_size": page_size, + "remote_id": remote_id, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _parsed_response = typing.cast( + PaginatedUserList, + construct_type( + type_=PaginatedUserList, # type: ignore + object_=_response.json(), + ), + ) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_me=is_me, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def retrieve( + self, + id: str, + *, + include_remote_data: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncHttpResponse[User]: + """ + Returns a `User` object with the given `id`. + + Parameters + ---------- + id : str + + include_remote_data : typing.Optional[bool] + Whether to include the original data Merge fetched from the third-party to produce these models. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[User] + + """ + _response = await self._client_wrapper.httpx_client.request( + f"filestorage/v1/users/{jsonable_encoder(id)}", + method="GET", + params={ + "include_remote_data": include_remote_data, + "include_shell_data": include_shell_data, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + User, + construct_type( + type_=User, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/chat/resources/webhook_receivers/__init__.py b/src/merge/resources/file_storage/resources/webhook_receivers/__init__.py similarity index 100% rename from src/merge/resources/chat/resources/webhook_receivers/__init__.py rename to src/merge/resources/file_storage/resources/webhook_receivers/__init__.py diff --git a/src/merge/resources/file_storage/resources/webhook_receivers/client.py b/src/merge/resources/file_storage/resources/webhook_receivers/client.py new file mode 100644 index 00000000..0acc433c --- /dev/null +++ b/src/merge/resources/file_storage/resources/webhook_receivers/client.py @@ -0,0 +1,201 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.request_options import RequestOptions +from ...types.webhook_receiver import WebhookReceiver +from .raw_client import AsyncRawWebhookReceiversClient, RawWebhookReceiversClient + +# this is used as the default value for optional parameters +OMIT = typing.cast(typing.Any, ...) + + +class WebhookReceiversClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._raw_client = RawWebhookReceiversClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> RawWebhookReceiversClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + RawWebhookReceiversClient + """ + return self._raw_client + + def list(self, *, request_options: typing.Optional[RequestOptions] = None) -> typing.List[WebhookReceiver]: + """ + Returns a list of `WebhookReceiver` objects. + + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + typing.List[WebhookReceiver] + + + Examples + -------- + from merge import Merge + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + client.file_storage.webhook_receivers.list() + """ + _response = self._raw_client.list(request_options=request_options) + return _response.data + + def create( + self, + *, + event: str, + is_active: bool, + key: typing.Optional[str] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> WebhookReceiver: + """ + Creates a `WebhookReceiver` object with the given values. + + Parameters + ---------- + event : str + + is_active : bool + + key : typing.Optional[str] + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + WebhookReceiver + + + Examples + -------- + from merge import Merge + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + client.file_storage.webhook_receivers.create( + event="event", + is_active=True, + ) + """ + _response = self._raw_client.create(event=event, is_active=is_active, key=key, request_options=request_options) + return _response.data + + +class AsyncWebhookReceiversClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._raw_client = AsyncRawWebhookReceiversClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> AsyncRawWebhookReceiversClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + AsyncRawWebhookReceiversClient + """ + return self._raw_client + + async def list(self, *, request_options: typing.Optional[RequestOptions] = None) -> typing.List[WebhookReceiver]: + """ + Returns a list of `WebhookReceiver` objects. + + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + typing.List[WebhookReceiver] + + + Examples + -------- + import asyncio + + from merge import AsyncMerge + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + await client.file_storage.webhook_receivers.list() + + + asyncio.run(main()) + """ + _response = await self._raw_client.list(request_options=request_options) + return _response.data + + async def create( + self, + *, + event: str, + is_active: bool, + key: typing.Optional[str] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> WebhookReceiver: + """ + Creates a `WebhookReceiver` object with the given values. + + Parameters + ---------- + event : str + + is_active : bool + + key : typing.Optional[str] + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + WebhookReceiver + + + Examples + -------- + import asyncio + + from merge import AsyncMerge + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + await client.file_storage.webhook_receivers.create( + event="event", + is_active=True, + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.create( + event=event, is_active=is_active, key=key, request_options=request_options + ) + return _response.data diff --git a/src/merge/resources/filestorage/resources/webhook_receivers/raw_client.py b/src/merge/resources/file_storage/resources/webhook_receivers/raw_client.py similarity index 100% rename from src/merge/resources/filestorage/resources/webhook_receivers/raw_client.py rename to src/merge/resources/file_storage/resources/webhook_receivers/raw_client.py diff --git a/src/merge/resources/file_storage/types/__init__.py b/src/merge/resources/file_storage/types/__init__.py new file mode 100644 index 00000000..6db49986 --- /dev/null +++ b/src/merge/resources/file_storage/types/__init__.py @@ -0,0 +1,397 @@ +# This file was auto-generated by Fern from our API Definition. + +# isort: skip_file + +import typing +from importlib import import_module + +if typing.TYPE_CHECKING: + from .account_details import AccountDetails + from .account_details_and_actions import AccountDetailsAndActions + from .account_details_and_actions_category import AccountDetailsAndActionsCategory + from .account_details_and_actions_integration import AccountDetailsAndActionsIntegration + from .account_details_and_actions_status import AccountDetailsAndActionsStatus + from .account_details_and_actions_status_enum import AccountDetailsAndActionsStatusEnum + from .account_details_category import AccountDetailsCategory + from .account_integration import AccountIntegration + from .account_token import AccountToken + from .advanced_metadata import AdvancedMetadata + from .async_passthrough_reciept import AsyncPassthroughReciept + from .audit_log_event import AuditLogEvent + from .audit_log_event_event_type import AuditLogEventEventType + from .audit_log_event_role import AuditLogEventRole + from .available_actions import AvailableActions + from .categories_enum import CategoriesEnum + from .category_enum import CategoryEnum + from .common_model_scope_api import CommonModelScopeApi + from .common_model_scopes_body_request import CommonModelScopesBodyRequest + from .data_passthrough_request import DataPassthroughRequest + from .debug_mode_log import DebugModeLog + from .debug_model_log_summary import DebugModelLogSummary + from .download_request_meta import DownloadRequestMeta + from .drive import Drive + from .enabled_actions_enum import EnabledActionsEnum + from .encoding_enum import EncodingEnum + from .error_validation_problem import ErrorValidationProblem + from .event_type_enum import EventTypeEnum + from .external_target_field_api import ExternalTargetFieldApi + from .external_target_field_api_response import ExternalTargetFieldApiResponse + from .field_mapping_api_instance import FieldMappingApiInstance + from .field_mapping_api_instance_remote_field import FieldMappingApiInstanceRemoteField + from .field_mapping_api_instance_remote_field_remote_endpoint_info import ( + FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo, + ) + from .field_mapping_api_instance_response import FieldMappingApiInstanceResponse + from .field_mapping_api_instance_target_field import FieldMappingApiInstanceTargetField + from .field_mapping_instance_response import FieldMappingInstanceResponse + from .field_permission_deserializer import FieldPermissionDeserializer + from .field_permission_deserializer_request import FieldPermissionDeserializerRequest + from .file import File + from .file_drive import FileDrive + from .file_folder import FileFolder + from .file_permissions import FilePermissions + from .file_permissions_two_item import FilePermissionsTwoItem + from .file_request import FileRequest + from .file_request_drive import FileRequestDrive + from .file_request_folder import FileRequestFolder + from .file_request_permissions import FileRequestPermissions + from .file_request_permissions_two_item import FileRequestPermissionsTwoItem + from .file_storage_file_response import FileStorageFileResponse + from .file_storage_folder_response import FileStorageFolderResponse + from .folder import Folder + from .folder_drive import FolderDrive + from .folder_parent_folder import FolderParentFolder + from .folder_permissions import FolderPermissions + from .folder_permissions_two_item import FolderPermissionsTwoItem + from .folder_request import FolderRequest + from .folder_request_drive import FolderRequestDrive + from .folder_request_parent_folder import FolderRequestParentFolder + from .folder_request_permissions import FolderRequestPermissions + from .folder_request_permissions_two_item import FolderRequestPermissionsTwoItem + from .group import Group + from .group_child_groups_item import GroupChildGroupsItem + from .individual_common_model_scope_deserializer import IndividualCommonModelScopeDeserializer + from .individual_common_model_scope_deserializer_request import IndividualCommonModelScopeDeserializerRequest + from .issue import Issue + from .issue_status import IssueStatus + from .issue_status_enum import IssueStatusEnum + from .language_enum import LanguageEnum + from .last_sync_result_enum import LastSyncResultEnum + from .link_token import LinkToken + from .linked_account_status import LinkedAccountStatus + from .meta_response import MetaResponse + from .method_enum import MethodEnum + from .model_operation import ModelOperation + from .model_permission_deserializer import ModelPermissionDeserializer + from .model_permission_deserializer_request import ModelPermissionDeserializerRequest + from .multipart_form_field_request import MultipartFormFieldRequest + from .multipart_form_field_request_encoding import MultipartFormFieldRequestEncoding + from .paginated_account_details_and_actions_list import PaginatedAccountDetailsAndActionsList + from .paginated_audit_log_event_list import PaginatedAuditLogEventList + from .paginated_download_request_meta_list import PaginatedDownloadRequestMetaList + from .paginated_drive_list import PaginatedDriveList + from .paginated_file_list import PaginatedFileList + from .paginated_folder_list import PaginatedFolderList + from .paginated_group_list import PaginatedGroupList + from .paginated_issue_list import PaginatedIssueList + from .paginated_sync_status_list import PaginatedSyncStatusList + from .paginated_user_list import PaginatedUserList + from .permission import Permission + from .permission_group import PermissionGroup + from .permission_request import PermissionRequest + from .permission_request_group import PermissionRequestGroup + from .permission_request_roles_item import PermissionRequestRolesItem + from .permission_request_type import PermissionRequestType + from .permission_request_user import PermissionRequestUser + from .permission_roles_item import PermissionRolesItem + from .permission_type import PermissionType + from .permission_user import PermissionUser + from .remote_data import RemoteData + from .remote_endpoint_info import RemoteEndpointInfo + from .remote_field_api import RemoteFieldApi + from .remote_field_api_coverage import RemoteFieldApiCoverage + from .remote_field_api_response import RemoteFieldApiResponse + from .remote_key import RemoteKey + from .remote_response import RemoteResponse + from .remote_response_response_type import RemoteResponseResponseType + from .request_format_enum import RequestFormatEnum + from .response_type_enum import ResponseTypeEnum + from .role_enum import RoleEnum + from .roles_enum import RolesEnum + from .selective_sync_configurations_usage_enum import SelectiveSyncConfigurationsUsageEnum + from .status_fd5enum import StatusFd5Enum + from .sync_status import SyncStatus + from .sync_status_last_sync_result import SyncStatusLastSyncResult + from .sync_status_status import SyncStatusStatus + from .type_enum import TypeEnum + from .user import User + from .validation_problem_source import ValidationProblemSource + from .warning_validation_problem import WarningValidationProblem + from .webhook_receiver import WebhookReceiver +_dynamic_imports: typing.Dict[str, str] = { + "AccountDetails": ".account_details", + "AccountDetailsAndActions": ".account_details_and_actions", + "AccountDetailsAndActionsCategory": ".account_details_and_actions_category", + "AccountDetailsAndActionsIntegration": ".account_details_and_actions_integration", + "AccountDetailsAndActionsStatus": ".account_details_and_actions_status", + "AccountDetailsAndActionsStatusEnum": ".account_details_and_actions_status_enum", + "AccountDetailsCategory": ".account_details_category", + "AccountIntegration": ".account_integration", + "AccountToken": ".account_token", + "AdvancedMetadata": ".advanced_metadata", + "AsyncPassthroughReciept": ".async_passthrough_reciept", + "AuditLogEvent": ".audit_log_event", + "AuditLogEventEventType": ".audit_log_event_event_type", + "AuditLogEventRole": ".audit_log_event_role", + "AvailableActions": ".available_actions", + "CategoriesEnum": ".categories_enum", + "CategoryEnum": ".category_enum", + "CommonModelScopeApi": ".common_model_scope_api", + "CommonModelScopesBodyRequest": ".common_model_scopes_body_request", + "DataPassthroughRequest": ".data_passthrough_request", + "DebugModeLog": ".debug_mode_log", + "DebugModelLogSummary": ".debug_model_log_summary", + "DownloadRequestMeta": ".download_request_meta", + "Drive": ".drive", + "EnabledActionsEnum": ".enabled_actions_enum", + "EncodingEnum": ".encoding_enum", + "ErrorValidationProblem": ".error_validation_problem", + "EventTypeEnum": ".event_type_enum", + "ExternalTargetFieldApi": ".external_target_field_api", + "ExternalTargetFieldApiResponse": ".external_target_field_api_response", + "FieldMappingApiInstance": ".field_mapping_api_instance", + "FieldMappingApiInstanceRemoteField": ".field_mapping_api_instance_remote_field", + "FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo": ".field_mapping_api_instance_remote_field_remote_endpoint_info", + "FieldMappingApiInstanceResponse": ".field_mapping_api_instance_response", + "FieldMappingApiInstanceTargetField": ".field_mapping_api_instance_target_field", + "FieldMappingInstanceResponse": ".field_mapping_instance_response", + "FieldPermissionDeserializer": ".field_permission_deserializer", + "FieldPermissionDeserializerRequest": ".field_permission_deserializer_request", + "File": ".file", + "FileDrive": ".file_drive", + "FileFolder": ".file_folder", + "FilePermissions": ".file_permissions", + "FilePermissionsTwoItem": ".file_permissions_two_item", + "FileRequest": ".file_request", + "FileRequestDrive": ".file_request_drive", + "FileRequestFolder": ".file_request_folder", + "FileRequestPermissions": ".file_request_permissions", + "FileRequestPermissionsTwoItem": ".file_request_permissions_two_item", + "FileStorageFileResponse": ".file_storage_file_response", + "FileStorageFolderResponse": ".file_storage_folder_response", + "Folder": ".folder", + "FolderDrive": ".folder_drive", + "FolderParentFolder": ".folder_parent_folder", + "FolderPermissions": ".folder_permissions", + "FolderPermissionsTwoItem": ".folder_permissions_two_item", + "FolderRequest": ".folder_request", + "FolderRequestDrive": ".folder_request_drive", + "FolderRequestParentFolder": ".folder_request_parent_folder", + "FolderRequestPermissions": ".folder_request_permissions", + "FolderRequestPermissionsTwoItem": ".folder_request_permissions_two_item", + "Group": ".group", + "GroupChildGroupsItem": ".group_child_groups_item", + "IndividualCommonModelScopeDeserializer": ".individual_common_model_scope_deserializer", + "IndividualCommonModelScopeDeserializerRequest": ".individual_common_model_scope_deserializer_request", + "Issue": ".issue", + "IssueStatus": ".issue_status", + "IssueStatusEnum": ".issue_status_enum", + "LanguageEnum": ".language_enum", + "LastSyncResultEnum": ".last_sync_result_enum", + "LinkToken": ".link_token", + "LinkedAccountStatus": ".linked_account_status", + "MetaResponse": ".meta_response", + "MethodEnum": ".method_enum", + "ModelOperation": ".model_operation", + "ModelPermissionDeserializer": ".model_permission_deserializer", + "ModelPermissionDeserializerRequest": ".model_permission_deserializer_request", + "MultipartFormFieldRequest": ".multipart_form_field_request", + "MultipartFormFieldRequestEncoding": ".multipart_form_field_request_encoding", + "PaginatedAccountDetailsAndActionsList": ".paginated_account_details_and_actions_list", + "PaginatedAuditLogEventList": ".paginated_audit_log_event_list", + "PaginatedDownloadRequestMetaList": ".paginated_download_request_meta_list", + "PaginatedDriveList": ".paginated_drive_list", + "PaginatedFileList": ".paginated_file_list", + "PaginatedFolderList": ".paginated_folder_list", + "PaginatedGroupList": ".paginated_group_list", + "PaginatedIssueList": ".paginated_issue_list", + "PaginatedSyncStatusList": ".paginated_sync_status_list", + "PaginatedUserList": ".paginated_user_list", + "Permission": ".permission", + "PermissionGroup": ".permission_group", + "PermissionRequest": ".permission_request", + "PermissionRequestGroup": ".permission_request_group", + "PermissionRequestRolesItem": ".permission_request_roles_item", + "PermissionRequestType": ".permission_request_type", + "PermissionRequestUser": ".permission_request_user", + "PermissionRolesItem": ".permission_roles_item", + "PermissionType": ".permission_type", + "PermissionUser": ".permission_user", + "RemoteData": ".remote_data", + "RemoteEndpointInfo": ".remote_endpoint_info", + "RemoteFieldApi": ".remote_field_api", + "RemoteFieldApiCoverage": ".remote_field_api_coverage", + "RemoteFieldApiResponse": ".remote_field_api_response", + "RemoteKey": ".remote_key", + "RemoteResponse": ".remote_response", + "RemoteResponseResponseType": ".remote_response_response_type", + "RequestFormatEnum": ".request_format_enum", + "ResponseTypeEnum": ".response_type_enum", + "RoleEnum": ".role_enum", + "RolesEnum": ".roles_enum", + "SelectiveSyncConfigurationsUsageEnum": ".selective_sync_configurations_usage_enum", + "StatusFd5Enum": ".status_fd5enum", + "SyncStatus": ".sync_status", + "SyncStatusLastSyncResult": ".sync_status_last_sync_result", + "SyncStatusStatus": ".sync_status_status", + "TypeEnum": ".type_enum", + "User": ".user", + "ValidationProblemSource": ".validation_problem_source", + "WarningValidationProblem": ".warning_validation_problem", + "WebhookReceiver": ".webhook_receiver", +} + + +def __getattr__(attr_name: str) -> typing.Any: + module_name = _dynamic_imports.get(attr_name) + if module_name is None: + raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") + try: + module = import_module(module_name, __package__) + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) + except ImportError as e: + raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e + except AttributeError as e: + raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e + + +def __dir__(): + lazy_attrs = list(_dynamic_imports.keys()) + return sorted(lazy_attrs) + + +__all__ = [ + "AccountDetails", + "AccountDetailsAndActions", + "AccountDetailsAndActionsCategory", + "AccountDetailsAndActionsIntegration", + "AccountDetailsAndActionsStatus", + "AccountDetailsAndActionsStatusEnum", + "AccountDetailsCategory", + "AccountIntegration", + "AccountToken", + "AdvancedMetadata", + "AsyncPassthroughReciept", + "AuditLogEvent", + "AuditLogEventEventType", + "AuditLogEventRole", + "AvailableActions", + "CategoriesEnum", + "CategoryEnum", + "CommonModelScopeApi", + "CommonModelScopesBodyRequest", + "DataPassthroughRequest", + "DebugModeLog", + "DebugModelLogSummary", + "DownloadRequestMeta", + "Drive", + "EnabledActionsEnum", + "EncodingEnum", + "ErrorValidationProblem", + "EventTypeEnum", + "ExternalTargetFieldApi", + "ExternalTargetFieldApiResponse", + "FieldMappingApiInstance", + "FieldMappingApiInstanceRemoteField", + "FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo", + "FieldMappingApiInstanceResponse", + "FieldMappingApiInstanceTargetField", + "FieldMappingInstanceResponse", + "FieldPermissionDeserializer", + "FieldPermissionDeserializerRequest", + "File", + "FileDrive", + "FileFolder", + "FilePermissions", + "FilePermissionsTwoItem", + "FileRequest", + "FileRequestDrive", + "FileRequestFolder", + "FileRequestPermissions", + "FileRequestPermissionsTwoItem", + "FileStorageFileResponse", + "FileStorageFolderResponse", + "Folder", + "FolderDrive", + "FolderParentFolder", + "FolderPermissions", + "FolderPermissionsTwoItem", + "FolderRequest", + "FolderRequestDrive", + "FolderRequestParentFolder", + "FolderRequestPermissions", + "FolderRequestPermissionsTwoItem", + "Group", + "GroupChildGroupsItem", + "IndividualCommonModelScopeDeserializer", + "IndividualCommonModelScopeDeserializerRequest", + "Issue", + "IssueStatus", + "IssueStatusEnum", + "LanguageEnum", + "LastSyncResultEnum", + "LinkToken", + "LinkedAccountStatus", + "MetaResponse", + "MethodEnum", + "ModelOperation", + "ModelPermissionDeserializer", + "ModelPermissionDeserializerRequest", + "MultipartFormFieldRequest", + "MultipartFormFieldRequestEncoding", + "PaginatedAccountDetailsAndActionsList", + "PaginatedAuditLogEventList", + "PaginatedDownloadRequestMetaList", + "PaginatedDriveList", + "PaginatedFileList", + "PaginatedFolderList", + "PaginatedGroupList", + "PaginatedIssueList", + "PaginatedSyncStatusList", + "PaginatedUserList", + "Permission", + "PermissionGroup", + "PermissionRequest", + "PermissionRequestGroup", + "PermissionRequestRolesItem", + "PermissionRequestType", + "PermissionRequestUser", + "PermissionRolesItem", + "PermissionType", + "PermissionUser", + "RemoteData", + "RemoteEndpointInfo", + "RemoteFieldApi", + "RemoteFieldApiCoverage", + "RemoteFieldApiResponse", + "RemoteKey", + "RemoteResponse", + "RemoteResponseResponseType", + "RequestFormatEnum", + "ResponseTypeEnum", + "RoleEnum", + "RolesEnum", + "SelectiveSyncConfigurationsUsageEnum", + "StatusFd5Enum", + "SyncStatus", + "SyncStatusLastSyncResult", + "SyncStatusStatus", + "TypeEnum", + "User", + "ValidationProblemSource", + "WarningValidationProblem", + "WebhookReceiver", +] diff --git a/src/merge/resources/chat/types/account_details.py b/src/merge/resources/file_storage/types/account_details.py similarity index 100% rename from src/merge/resources/chat/types/account_details.py rename to src/merge/resources/file_storage/types/account_details.py diff --git a/src/merge/resources/file_storage/types/account_details_and_actions.py b/src/merge/resources/file_storage/types/account_details_and_actions.py new file mode 100644 index 00000000..a16114f6 --- /dev/null +++ b/src/merge/resources/file_storage/types/account_details_and_actions.py @@ -0,0 +1,53 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .account_details_and_actions_category import AccountDetailsAndActionsCategory +from .account_details_and_actions_integration import AccountDetailsAndActionsIntegration +from .account_details_and_actions_status import AccountDetailsAndActionsStatus + + +class AccountDetailsAndActions(UncheckedBaseModel): + """ + # The LinkedAccount Object + ### Description + The `LinkedAccount` object is used to represent an end user's link with a specific integration. + + ### Usage Example + View a list of your organization's `LinkedAccount` objects. + """ + + id: str + category: typing.Optional[AccountDetailsAndActionsCategory] = None + status: AccountDetailsAndActionsStatus + status_detail: typing.Optional[str] = None + end_user_origin_id: typing.Optional[str] = None + end_user_organization_name: str + end_user_email_address: str + subdomain: typing.Optional[str] = pydantic.Field(default=None) + """ + The tenant or domain the customer has provided access to. + """ + + webhook_listener_url: str + is_duplicate: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether a Production Linked Account's credentials match another existing Production Linked Account. This field is `null` for Test Linked Accounts, incomplete Production Linked Accounts, and ignored duplicate Production Linked Account sets. + """ + + integration: typing.Optional[AccountDetailsAndActionsIntegration] = None + account_type: str + completed_at: dt.datetime + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/account_details_and_actions_category.py b/src/merge/resources/file_storage/types/account_details_and_actions_category.py similarity index 100% rename from src/merge/resources/chat/types/account_details_and_actions_category.py rename to src/merge/resources/file_storage/types/account_details_and_actions_category.py diff --git a/src/merge/resources/chat/types/account_details_and_actions_integration.py b/src/merge/resources/file_storage/types/account_details_and_actions_integration.py similarity index 100% rename from src/merge/resources/chat/types/account_details_and_actions_integration.py rename to src/merge/resources/file_storage/types/account_details_and_actions_integration.py diff --git a/src/merge/resources/chat/types/account_details_and_actions_status.py b/src/merge/resources/file_storage/types/account_details_and_actions_status.py similarity index 100% rename from src/merge/resources/chat/types/account_details_and_actions_status.py rename to src/merge/resources/file_storage/types/account_details_and_actions_status.py diff --git a/src/merge/resources/chat/types/account_details_and_actions_status_enum.py b/src/merge/resources/file_storage/types/account_details_and_actions_status_enum.py similarity index 100% rename from src/merge/resources/chat/types/account_details_and_actions_status_enum.py rename to src/merge/resources/file_storage/types/account_details_and_actions_status_enum.py diff --git a/src/merge/resources/accounting/types/account_details_category.py b/src/merge/resources/file_storage/types/account_details_category.py similarity index 100% rename from src/merge/resources/accounting/types/account_details_category.py rename to src/merge/resources/file_storage/types/account_details_category.py diff --git a/src/merge/resources/file_storage/types/account_integration.py b/src/merge/resources/file_storage/types/account_integration.py new file mode 100644 index 00000000..7bc872ca --- /dev/null +++ b/src/merge/resources/file_storage/types/account_integration.py @@ -0,0 +1,65 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .categories_enum import CategoriesEnum + + +class AccountIntegration(UncheckedBaseModel): + name: str = pydantic.Field() + """ + Company name. + """ + + abbreviated_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Optional. This shortened name appears in places with limited space, usually in conjunction with the platform's logo (e.g., Merge Link menu).

Example: Workforce Now (in lieu of ADP Workforce Now), SuccessFactors (in lieu of SAP SuccessFactors) + """ + + categories: typing.Optional[typing.List[CategoriesEnum]] = pydantic.Field(default=None) + """ + Category or categories this integration belongs to. Multiple categories should be comma separated, i.e. [ats, hris]. + """ + + image: typing.Optional[str] = pydantic.Field(default=None) + """ + Company logo in rectangular shape. + """ + + square_image: typing.Optional[str] = pydantic.Field(default=None) + """ + Company logo in square shape. + """ + + color: typing.Optional[str] = pydantic.Field(default=None) + """ + The color of this integration used for buttons and text throughout the app and landing pages. Choose a darker, saturated color. + """ + + slug: typing.Optional[str] = None + api_endpoints_to_documentation_urls: typing.Optional[typing.Dict[str, typing.Any]] = pydantic.Field(default=None) + """ + Mapping of API endpoints to documentation urls for support. Example: {'GET': [['/common-model-scopes', 'https://docs.merge.dev/accounting/common-model-scopes/#common_model_scopes_retrieve'],['/common-model-actions', 'https://docs.merge.dev/accounting/common-model-actions/#common_model_actions_retrieve']], 'POST': []} + """ + + webhook_setup_guide_url: typing.Optional[str] = pydantic.Field(default=None) + """ + Setup guide URL for third party webhook creation. Exposed in Merge Docs. + """ + + category_beta_status: typing.Optional[typing.Dict[str, typing.Any]] = pydantic.Field(default=None) + """ + Category or categories this integration is in beta status for. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/account_token.py b/src/merge/resources/file_storage/types/account_token.py similarity index 100% rename from src/merge/resources/chat/types/account_token.py rename to src/merge/resources/file_storage/types/account_token.py diff --git a/src/merge/resources/file_storage/types/advanced_metadata.py b/src/merge/resources/file_storage/types/advanced_metadata.py new file mode 100644 index 00000000..aef64bb3 --- /dev/null +++ b/src/merge/resources/file_storage/types/advanced_metadata.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel + + +class AdvancedMetadata(UncheckedBaseModel): + id: str + display_name: typing.Optional[str] = None + description: typing.Optional[str] = None + is_required: typing.Optional[bool] = None + is_custom: typing.Optional[bool] = None + field_choices: typing.Optional[typing.List[typing.Any]] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/async_passthrough_reciept.py b/src/merge/resources/file_storage/types/async_passthrough_reciept.py similarity index 100% rename from src/merge/resources/chat/types/async_passthrough_reciept.py rename to src/merge/resources/file_storage/types/async_passthrough_reciept.py diff --git a/src/merge/resources/chat/types/audit_log_event.py b/src/merge/resources/file_storage/types/audit_log_event.py similarity index 100% rename from src/merge/resources/chat/types/audit_log_event.py rename to src/merge/resources/file_storage/types/audit_log_event.py diff --git a/src/merge/resources/chat/types/audit_log_event_event_type.py b/src/merge/resources/file_storage/types/audit_log_event_event_type.py similarity index 100% rename from src/merge/resources/chat/types/audit_log_event_event_type.py rename to src/merge/resources/file_storage/types/audit_log_event_event_type.py diff --git a/src/merge/resources/chat/types/audit_log_event_role.py b/src/merge/resources/file_storage/types/audit_log_event_role.py similarity index 100% rename from src/merge/resources/chat/types/audit_log_event_role.py rename to src/merge/resources/file_storage/types/audit_log_event_role.py diff --git a/src/merge/resources/chat/types/available_actions.py b/src/merge/resources/file_storage/types/available_actions.py similarity index 100% rename from src/merge/resources/chat/types/available_actions.py rename to src/merge/resources/file_storage/types/available_actions.py diff --git a/src/merge/resources/filestorage/types/categories_enum.py b/src/merge/resources/file_storage/types/categories_enum.py similarity index 100% rename from src/merge/resources/filestorage/types/categories_enum.py rename to src/merge/resources/file_storage/types/categories_enum.py diff --git a/src/merge/resources/filestorage/types/category_enum.py b/src/merge/resources/file_storage/types/category_enum.py similarity index 100% rename from src/merge/resources/filestorage/types/category_enum.py rename to src/merge/resources/file_storage/types/category_enum.py diff --git a/src/merge/resources/chat/types/common_model_scope_api.py b/src/merge/resources/file_storage/types/common_model_scope_api.py similarity index 100% rename from src/merge/resources/chat/types/common_model_scope_api.py rename to src/merge/resources/file_storage/types/common_model_scope_api.py diff --git a/src/merge/resources/chat/types/common_model_scopes_body_request.py b/src/merge/resources/file_storage/types/common_model_scopes_body_request.py similarity index 100% rename from src/merge/resources/chat/types/common_model_scopes_body_request.py rename to src/merge/resources/file_storage/types/common_model_scopes_body_request.py diff --git a/src/merge/resources/file_storage/types/data_passthrough_request.py b/src/merge/resources/file_storage/types/data_passthrough_request.py new file mode 100644 index 00000000..df3af029 --- /dev/null +++ b/src/merge/resources/file_storage/types/data_passthrough_request.py @@ -0,0 +1,62 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .method_enum import MethodEnum +from .multipart_form_field_request import MultipartFormFieldRequest +from .request_format_enum import RequestFormatEnum + + +class DataPassthroughRequest(UncheckedBaseModel): + """ + # The DataPassthrough Object + ### Description + The `DataPassthrough` object is used to send information to an otherwise-unsupported third-party endpoint. + + ### Usage Example + Create a `DataPassthrough` to get team hierarchies from your Rippling integration. + """ + + method: MethodEnum + path: str = pydantic.Field() + """ + The path of the request in the third party's platform. + """ + + base_url_override: typing.Optional[str] = pydantic.Field(default=None) + """ + An optional override of the third party's base url for the request. + """ + + data: typing.Optional[str] = pydantic.Field(default=None) + """ + The data with the request. You must include a `request_format` parameter matching the data's format + """ + + multipart_form_data: typing.Optional[typing.List[MultipartFormFieldRequest]] = pydantic.Field(default=None) + """ + Pass an array of `MultipartFormField` objects in here instead of using the `data` param if `request_format` is set to `MULTIPART`. + """ + + headers: typing.Optional[typing.Dict[str, typing.Any]] = pydantic.Field(default=None) + """ + The headers to use for the request (Merge will handle the account's authorization headers). `Content-Type` header is required for passthrough. Choose content type corresponding to expected format of receiving server. + """ + + request_format: typing.Optional[RequestFormatEnum] = None + normalize_response: typing.Optional[bool] = pydantic.Field(default=None) + """ + Optional. If true, the response will always be an object of the form `{"type": T, "value": ...}` where `T` will be one of `string, boolean, number, null, array, object`. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/debug_mode_log.py b/src/merge/resources/file_storage/types/debug_mode_log.py similarity index 100% rename from src/merge/resources/chat/types/debug_mode_log.py rename to src/merge/resources/file_storage/types/debug_mode_log.py diff --git a/src/merge/resources/chat/types/debug_model_log_summary.py b/src/merge/resources/file_storage/types/debug_model_log_summary.py similarity index 100% rename from src/merge/resources/chat/types/debug_model_log_summary.py rename to src/merge/resources/file_storage/types/debug_model_log_summary.py diff --git a/src/merge/resources/filestorage/types/download_request_meta.py b/src/merge/resources/file_storage/types/download_request_meta.py similarity index 90% rename from src/merge/resources/filestorage/types/download_request_meta.py rename to src/merge/resources/file_storage/types/download_request_meta.py index 18180e9a..bc3c0d56 100644 --- a/src/merge/resources/filestorage/types/download_request_meta.py +++ b/src/merge/resources/file_storage/types/download_request_meta.py @@ -11,7 +11,7 @@ class DownloadRequestMeta(UncheckedBaseModel): id: str url: str method: str - headers: typing.Dict[str, typing.Optional[typing.Any]] + headers: typing.Dict[str, typing.Any] if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/filestorage/types/drive.py b/src/merge/resources/file_storage/types/drive.py similarity index 95% rename from src/merge/resources/filestorage/types/drive.py rename to src/merge/resources/file_storage/types/drive.py index 50a5f2bf..b0db5265 100644 --- a/src/merge/resources/filestorage/types/drive.py +++ b/src/merge/resources/file_storage/types/drive.py @@ -54,7 +54,7 @@ class Drive(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/chat/types/enabled_actions_enum.py b/src/merge/resources/file_storage/types/enabled_actions_enum.py similarity index 100% rename from src/merge/resources/chat/types/enabled_actions_enum.py rename to src/merge/resources/file_storage/types/enabled_actions_enum.py diff --git a/src/merge/resources/file_storage/types/encoding_enum.py b/src/merge/resources/file_storage/types/encoding_enum.py new file mode 100644 index 00000000..ceb8c474 --- /dev/null +++ b/src/merge/resources/file_storage/types/encoding_enum.py @@ -0,0 +1,31 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class EncodingEnum(str, enum.Enum): + """ + * `RAW` - RAW + * `BASE64` - BASE64 + * `GZIP_BASE64` - GZIP_BASE64 + """ + + RAW = "RAW" + BASE64 = "BASE64" + GZIP_BASE64 = "GZIP_BASE64" + + def visit( + self, + raw: typing.Callable[[], T_Result], + base64: typing.Callable[[], T_Result], + gzip_base64: typing.Callable[[], T_Result], + ) -> T_Result: + if self is EncodingEnum.RAW: + return raw() + if self is EncodingEnum.BASE64: + return base64() + if self is EncodingEnum.GZIP_BASE64: + return gzip_base64() diff --git a/src/merge/resources/filestorage/types/error_validation_problem.py b/src/merge/resources/file_storage/types/error_validation_problem.py similarity index 100% rename from src/merge/resources/filestorage/types/error_validation_problem.py rename to src/merge/resources/file_storage/types/error_validation_problem.py diff --git a/src/merge/resources/chat/types/event_type_enum.py b/src/merge/resources/file_storage/types/event_type_enum.py similarity index 100% rename from src/merge/resources/chat/types/event_type_enum.py rename to src/merge/resources/file_storage/types/event_type_enum.py diff --git a/src/merge/resources/chat/types/external_target_field_api.py b/src/merge/resources/file_storage/types/external_target_field_api.py similarity index 100% rename from src/merge/resources/chat/types/external_target_field_api.py rename to src/merge/resources/file_storage/types/external_target_field_api.py diff --git a/src/merge/resources/filestorage/types/external_target_field_api_response.py b/src/merge/resources/file_storage/types/external_target_field_api_response.py similarity index 100% rename from src/merge/resources/filestorage/types/external_target_field_api_response.py rename to src/merge/resources/file_storage/types/external_target_field_api_response.py diff --git a/src/merge/resources/filestorage/types/field_mapping_api_instance.py b/src/merge/resources/file_storage/types/field_mapping_api_instance.py similarity index 100% rename from src/merge/resources/filestorage/types/field_mapping_api_instance.py rename to src/merge/resources/file_storage/types/field_mapping_api_instance.py diff --git a/src/merge/resources/file_storage/types/field_mapping_api_instance_remote_field.py b/src/merge/resources/file_storage/types/field_mapping_api_instance_remote_field.py new file mode 100644 index 00000000..f3d5a8cb --- /dev/null +++ b/src/merge/resources/file_storage/types/field_mapping_api_instance_remote_field.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .field_mapping_api_instance_remote_field_remote_endpoint_info import ( + FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo, +) + + +class FieldMappingApiInstanceRemoteField(UncheckedBaseModel): + remote_key_name: typing.Optional[str] = None + schema_: typing.Optional[typing.Dict[str, typing.Any]] = pydantic.Field(alias="schema", default=None) + remote_endpoint_info: FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/field_mapping_api_instance_remote_field_remote_endpoint_info.py b/src/merge/resources/file_storage/types/field_mapping_api_instance_remote_field_remote_endpoint_info.py similarity index 100% rename from src/merge/resources/chat/types/field_mapping_api_instance_remote_field_remote_endpoint_info.py rename to src/merge/resources/file_storage/types/field_mapping_api_instance_remote_field_remote_endpoint_info.py diff --git a/src/merge/resources/filestorage/types/field_mapping_api_instance_response.py b/src/merge/resources/file_storage/types/field_mapping_api_instance_response.py similarity index 100% rename from src/merge/resources/filestorage/types/field_mapping_api_instance_response.py rename to src/merge/resources/file_storage/types/field_mapping_api_instance_response.py diff --git a/src/merge/resources/chat/types/field_mapping_api_instance_target_field.py b/src/merge/resources/file_storage/types/field_mapping_api_instance_target_field.py similarity index 100% rename from src/merge/resources/chat/types/field_mapping_api_instance_target_field.py rename to src/merge/resources/file_storage/types/field_mapping_api_instance_target_field.py diff --git a/src/merge/resources/chat/types/field_mapping_instance_response.py b/src/merge/resources/file_storage/types/field_mapping_instance_response.py similarity index 100% rename from src/merge/resources/chat/types/field_mapping_instance_response.py rename to src/merge/resources/file_storage/types/field_mapping_instance_response.py diff --git a/src/merge/resources/file_storage/types/field_permission_deserializer.py b/src/merge/resources/file_storage/types/field_permission_deserializer.py new file mode 100644 index 00000000..407ed547 --- /dev/null +++ b/src/merge/resources/file_storage/types/field_permission_deserializer.py @@ -0,0 +1,21 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel + + +class FieldPermissionDeserializer(UncheckedBaseModel): + enabled_fields: typing.Optional[typing.List[typing.Any]] = None + disabled_fields: typing.Optional[typing.List[typing.Any]] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/merge/resources/file_storage/types/field_permission_deserializer_request.py b/src/merge/resources/file_storage/types/field_permission_deserializer_request.py new file mode 100644 index 00000000..6680c7d2 --- /dev/null +++ b/src/merge/resources/file_storage/types/field_permission_deserializer_request.py @@ -0,0 +1,21 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel + + +class FieldPermissionDeserializerRequest(UncheckedBaseModel): + enabled_fields: typing.Optional[typing.List[typing.Any]] = None + disabled_fields: typing.Optional[typing.List[typing.Any]] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/merge/resources/filestorage/types/file.py b/src/merge/resources/file_storage/types/file.py similarity index 92% rename from src/merge/resources/filestorage/types/file.py rename to src/merge/resources/file_storage/types/file.py index 72c8e9e1..b7d8ba95 100644 --- a/src/merge/resources/filestorage/types/file.py +++ b/src/merge/resources/file_storage/types/file.py @@ -74,7 +74,7 @@ class File(UncheckedBaseModel): The folder that the file belongs to. """ - checksum: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = pydantic.Field(default=None) + checksum: typing.Optional[typing.Dict[str, typing.Any]] = pydantic.Field(default=None) """ This field stores file checksum data. 'type' indicates the algorithm (e.g. crc_32, sha1, sha256, quickXor, or md5), and 'content_hash' is the unique hash used to verify file integrity and detect alterations. """ @@ -104,7 +104,7 @@ class File(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None if IS_PYDANTIC_V2: @@ -117,7 +117,4 @@ class Config: extra = pydantic.Extra.allow -from .folder import Folder # noqa: E402, F401, I001 -from .group import Group # noqa: E402, F401, I001 - update_forward_refs(File) diff --git a/src/merge/resources/filestorage/types/file_drive.py b/src/merge/resources/file_storage/types/file_drive.py similarity index 100% rename from src/merge/resources/filestorage/types/file_drive.py rename to src/merge/resources/file_storage/types/file_drive.py diff --git a/src/merge/resources/filestorage/types/file_folder.py b/src/merge/resources/file_storage/types/file_folder.py similarity index 100% rename from src/merge/resources/filestorage/types/file_folder.py rename to src/merge/resources/file_storage/types/file_folder.py diff --git a/src/merge/resources/file_storage/types/file_permissions.py b/src/merge/resources/file_storage/types/file_permissions.py new file mode 100644 index 00000000..798f0ac2 --- /dev/null +++ b/src/merge/resources/file_storage/types/file_permissions.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .file_permissions_two_item import FilePermissionsTwoItem +from .permission import Permission + +FilePermissions = typing.Union[str, Permission, typing.List[FilePermissionsTwoItem]] diff --git a/src/merge/resources/file_storage/types/file_permissions_two_item.py b/src/merge/resources/file_storage/types/file_permissions_two_item.py new file mode 100644 index 00000000..0cfd4214 --- /dev/null +++ b/src/merge/resources/file_storage/types/file_permissions_two_item.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .permission import Permission + +FilePermissionsTwoItem = typing.Union[str, Permission] diff --git a/src/merge/resources/filestorage/types/file_request.py b/src/merge/resources/file_storage/types/file_request.py similarity index 90% rename from src/merge/resources/filestorage/types/file_request.py rename to src/merge/resources/file_storage/types/file_request.py index 6ede10ef..6bdd958e 100644 --- a/src/merge/resources/filestorage/types/file_request.py +++ b/src/merge/resources/file_storage/types/file_request.py @@ -56,7 +56,7 @@ class FileRequest(UncheckedBaseModel): The folder that the file belongs to. """ - checksum: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = pydantic.Field(default=None) + checksum: typing.Optional[typing.Dict[str, typing.Any]] = pydantic.Field(default=None) """ This field stores file checksum data. 'type' indicates the algorithm (e.g. crc_32, sha1, sha256, quickXor, or md5), and 'content_hash' is the unique hash used to verify file integrity and detect alterations. """ @@ -71,8 +71,8 @@ class FileRequest(UncheckedBaseModel): The drive that the file belongs to. """ - integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + integration_params: typing.Optional[typing.Dict[str, typing.Any]] = None + linked_account_params: typing.Optional[typing.Dict[str, typing.Any]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 @@ -84,7 +84,4 @@ class Config: extra = pydantic.Extra.allow -from .folder import Folder # noqa: E402, F401, I001 -from .group import Group # noqa: E402, F401, I001 - update_forward_refs(FileRequest) diff --git a/src/merge/resources/filestorage/types/file_request_drive.py b/src/merge/resources/file_storage/types/file_request_drive.py similarity index 100% rename from src/merge/resources/filestorage/types/file_request_drive.py rename to src/merge/resources/file_storage/types/file_request_drive.py diff --git a/src/merge/resources/filestorage/types/file_request_folder.py b/src/merge/resources/file_storage/types/file_request_folder.py similarity index 100% rename from src/merge/resources/filestorage/types/file_request_folder.py rename to src/merge/resources/file_storage/types/file_request_folder.py diff --git a/src/merge/resources/file_storage/types/file_request_permissions.py b/src/merge/resources/file_storage/types/file_request_permissions.py new file mode 100644 index 00000000..a4055378 --- /dev/null +++ b/src/merge/resources/file_storage/types/file_request_permissions.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .file_request_permissions_two_item import FileRequestPermissionsTwoItem +from .permission_request import PermissionRequest + +FileRequestPermissions = typing.Union[str, PermissionRequest, typing.List[FileRequestPermissionsTwoItem]] diff --git a/src/merge/resources/file_storage/types/file_request_permissions_two_item.py b/src/merge/resources/file_storage/types/file_request_permissions_two_item.py new file mode 100644 index 00000000..7b26f298 --- /dev/null +++ b/src/merge/resources/file_storage/types/file_request_permissions_two_item.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .permission_request import PermissionRequest + +FileRequestPermissionsTwoItem = typing.Union[str, PermissionRequest] diff --git a/src/merge/resources/filestorage/types/file_storage_file_response.py b/src/merge/resources/file_storage/types/file_storage_file_response.py similarity index 90% rename from src/merge/resources/filestorage/types/file_storage_file_response.py rename to src/merge/resources/file_storage/types/file_storage_file_response.py index d3b3337b..55326cf8 100644 --- a/src/merge/resources/filestorage/types/file_storage_file_response.py +++ b/src/merge/resources/file_storage/types/file_storage_file_response.py @@ -29,7 +29,4 @@ class Config: extra = pydantic.Extra.allow -from .folder import Folder # noqa: E402, F401, I001 -from .group import Group # noqa: E402, F401, I001 - update_forward_refs(FileStorageFileResponse) diff --git a/src/merge/resources/filestorage/types/file_storage_folder_response.py b/src/merge/resources/file_storage/types/file_storage_folder_response.py similarity index 90% rename from src/merge/resources/filestorage/types/file_storage_folder_response.py rename to src/merge/resources/file_storage/types/file_storage_folder_response.py index d0a65d91..ab8bf15e 100644 --- a/src/merge/resources/filestorage/types/file_storage_folder_response.py +++ b/src/merge/resources/file_storage/types/file_storage_folder_response.py @@ -28,7 +28,6 @@ class Config: extra = pydantic.Extra.allow -from .folder import Folder # noqa: E402, F401, I001 -from .group import Group # noqa: E402, F401, I001 +from .folder import Folder # noqa: E402, I001 update_forward_refs(FileStorageFolderResponse) diff --git a/src/merge/resources/filestorage/types/folder.py b/src/merge/resources/file_storage/types/folder.py similarity index 92% rename from src/merge/resources/filestorage/types/folder.py rename to src/merge/resources/file_storage/types/folder.py index 572a0a9d..d5be3fd3 100644 --- a/src/merge/resources/filestorage/types/folder.py +++ b/src/merge/resources/file_storage/types/folder.py @@ -6,7 +6,7 @@ import typing import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.pydantic_utilities import IS_PYDANTIC_V2 from ....core.unchecked_base_model import UncheckedBaseModel from .folder_drive import FolderDrive from .folder_permissions import FolderPermissions @@ -88,7 +88,7 @@ class Folder(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None if IS_PYDANTIC_V2: @@ -101,7 +101,4 @@ class Config: extra = pydantic.Extra.allow -from .group import Group # noqa: E402, F401, I001 -from .folder_parent_folder import FolderParentFolder # noqa: E402, F401, I001 - -update_forward_refs(Folder) +from .folder_parent_folder import FolderParentFolder # noqa: E402, I001 diff --git a/src/merge/resources/filestorage/types/folder_drive.py b/src/merge/resources/file_storage/types/folder_drive.py similarity index 100% rename from src/merge/resources/filestorage/types/folder_drive.py rename to src/merge/resources/file_storage/types/folder_drive.py diff --git a/src/merge/resources/filestorage/types/folder_parent_folder.py b/src/merge/resources/file_storage/types/folder_parent_folder.py similarity index 100% rename from src/merge/resources/filestorage/types/folder_parent_folder.py rename to src/merge/resources/file_storage/types/folder_parent_folder.py diff --git a/src/merge/resources/file_storage/types/folder_permissions.py b/src/merge/resources/file_storage/types/folder_permissions.py new file mode 100644 index 00000000..19bb5d20 --- /dev/null +++ b/src/merge/resources/file_storage/types/folder_permissions.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .folder_permissions_two_item import FolderPermissionsTwoItem +from .permission import Permission + +FolderPermissions = typing.Union[str, Permission, typing.List[FolderPermissionsTwoItem]] diff --git a/src/merge/resources/file_storage/types/folder_permissions_two_item.py b/src/merge/resources/file_storage/types/folder_permissions_two_item.py new file mode 100644 index 00000000..d1a4c703 --- /dev/null +++ b/src/merge/resources/file_storage/types/folder_permissions_two_item.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .permission import Permission + +FolderPermissionsTwoItem = typing.Union[str, Permission] diff --git a/src/merge/resources/filestorage/types/folder_request.py b/src/merge/resources/file_storage/types/folder_request.py similarity index 93% rename from src/merge/resources/filestorage/types/folder_request.py rename to src/merge/resources/file_storage/types/folder_request.py index f703ed7f..5ef29b8f 100644 --- a/src/merge/resources/filestorage/types/folder_request.py +++ b/src/merge/resources/file_storage/types/folder_request.py @@ -56,8 +56,8 @@ class FolderRequest(UncheckedBaseModel): The Permission object is used to represent a user's or group's access to a File or Folder. Permissions are unexpanded by default. Use the query param `expand=permissions` to see more details under `GET /folders`. """ - integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + integration_params: typing.Optional[typing.Dict[str, typing.Any]] = None + linked_account_params: typing.Optional[typing.Dict[str, typing.Any]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 @@ -69,7 +69,4 @@ class Config: extra = pydantic.Extra.allow -from .folder import Folder # noqa: E402, F401, I001 -from .group import Group # noqa: E402, F401, I001 - update_forward_refs(FolderRequest) diff --git a/src/merge/resources/filestorage/types/folder_request_drive.py b/src/merge/resources/file_storage/types/folder_request_drive.py similarity index 100% rename from src/merge/resources/filestorage/types/folder_request_drive.py rename to src/merge/resources/file_storage/types/folder_request_drive.py diff --git a/src/merge/resources/filestorage/types/folder_request_parent_folder.py b/src/merge/resources/file_storage/types/folder_request_parent_folder.py similarity index 100% rename from src/merge/resources/filestorage/types/folder_request_parent_folder.py rename to src/merge/resources/file_storage/types/folder_request_parent_folder.py diff --git a/src/merge/resources/file_storage/types/folder_request_permissions.py b/src/merge/resources/file_storage/types/folder_request_permissions.py new file mode 100644 index 00000000..f301cc5c --- /dev/null +++ b/src/merge/resources/file_storage/types/folder_request_permissions.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .folder_request_permissions_two_item import FolderRequestPermissionsTwoItem +from .permission_request import PermissionRequest + +FolderRequestPermissions = typing.Union[str, PermissionRequest, typing.List[FolderRequestPermissionsTwoItem]] diff --git a/src/merge/resources/file_storage/types/folder_request_permissions_two_item.py b/src/merge/resources/file_storage/types/folder_request_permissions_two_item.py new file mode 100644 index 00000000..56020232 --- /dev/null +++ b/src/merge/resources/file_storage/types/folder_request_permissions_two_item.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .permission_request import PermissionRequest + +FolderRequestPermissionsTwoItem = typing.Union[str, PermissionRequest] diff --git a/src/merge/resources/file_storage/types/group.py b/src/merge/resources/file_storage/types/group.py new file mode 100644 index 00000000..d2bd2ba8 --- /dev/null +++ b/src/merge/resources/file_storage/types/group.py @@ -0,0 +1,72 @@ +# This file was auto-generated by Fern from our API Definition. + +from __future__ import annotations + +import datetime as dt +import typing + +import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .remote_data import RemoteData + + +class Group(UncheckedBaseModel): + """ + # The Group Object + ### Description + The `Group` object is used to represent any subset of `Users`. This can extend to company domains as well. + ### Usage Example + Fetch from the `GET /api/filestorage/v1/groups` endpoint and view their groups. + """ + + id: typing.Optional[str] = None + remote_id: typing.Optional[str] = pydantic.Field(default=None) + """ + The third-party API ID of the matching object. + """ + + created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + The datetime that this object was created by Merge. + """ + + modified_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + The datetime that this object was modified by Merge. + """ + + name: typing.Optional[str] = pydantic.Field(default=None) + """ + The group's name. + """ + + users: typing.List[str] = pydantic.Field() + """ + The users that belong in the group. If null, this typically means it's either a domain or the third-party platform does not surface this information. + """ + + child_groups: typing.Optional[typing.List["GroupChildGroupsItem"]] = pydantic.Field(default=None) + """ + Groups that inherit the permissions of the parent group. + """ + + remote_was_deleted: typing.Optional[bool] = pydantic.Field(default=None) + """ + Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + """ + + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None + remote_data: typing.Optional[typing.List[RemoteData]] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow + + +from .group_child_groups_item import GroupChildGroupsItem # noqa: E402, I001 diff --git a/src/merge/resources/filestorage/types/group_child_groups_item.py b/src/merge/resources/file_storage/types/group_child_groups_item.py similarity index 100% rename from src/merge/resources/filestorage/types/group_child_groups_item.py rename to src/merge/resources/file_storage/types/group_child_groups_item.py diff --git a/src/merge/resources/chat/types/individual_common_model_scope_deserializer.py b/src/merge/resources/file_storage/types/individual_common_model_scope_deserializer.py similarity index 100% rename from src/merge/resources/chat/types/individual_common_model_scope_deserializer.py rename to src/merge/resources/file_storage/types/individual_common_model_scope_deserializer.py diff --git a/src/merge/resources/chat/types/individual_common_model_scope_deserializer_request.py b/src/merge/resources/file_storage/types/individual_common_model_scope_deserializer_request.py similarity index 100% rename from src/merge/resources/chat/types/individual_common_model_scope_deserializer_request.py rename to src/merge/resources/file_storage/types/individual_common_model_scope_deserializer_request.py diff --git a/src/merge/resources/file_storage/types/issue.py b/src/merge/resources/file_storage/types/issue.py new file mode 100644 index 00000000..5d37505d --- /dev/null +++ b/src/merge/resources/file_storage/types/issue.py @@ -0,0 +1,36 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .issue_status import IssueStatus + + +class Issue(UncheckedBaseModel): + id: typing.Optional[str] = None + status: typing.Optional[IssueStatus] = pydantic.Field(default=None) + """ + Status of the issue. Options: ('ONGOING', 'RESOLVED') + + * `ONGOING` - ONGOING + * `RESOLVED` - RESOLVED + """ + + error_description: str + end_user: typing.Optional[typing.Dict[str, typing.Any]] = None + first_incident_time: typing.Optional[dt.datetime] = None + last_incident_time: typing.Optional[dt.datetime] = None + is_muted: typing.Optional[bool] = None + error_details: typing.Optional[typing.List[str]] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/issue_status.py b/src/merge/resources/file_storage/types/issue_status.py similarity index 100% rename from src/merge/resources/chat/types/issue_status.py rename to src/merge/resources/file_storage/types/issue_status.py diff --git a/src/merge/resources/chat/types/issue_status_enum.py b/src/merge/resources/file_storage/types/issue_status_enum.py similarity index 100% rename from src/merge/resources/chat/types/issue_status_enum.py rename to src/merge/resources/file_storage/types/issue_status_enum.py diff --git a/src/merge/resources/chat/types/language_enum.py b/src/merge/resources/file_storage/types/language_enum.py similarity index 100% rename from src/merge/resources/chat/types/language_enum.py rename to src/merge/resources/file_storage/types/language_enum.py diff --git a/src/merge/resources/chat/types/last_sync_result_enum.py b/src/merge/resources/file_storage/types/last_sync_result_enum.py similarity index 100% rename from src/merge/resources/chat/types/last_sync_result_enum.py rename to src/merge/resources/file_storage/types/last_sync_result_enum.py diff --git a/src/merge/resources/chat/types/link_token.py b/src/merge/resources/file_storage/types/link_token.py similarity index 100% rename from src/merge/resources/chat/types/link_token.py rename to src/merge/resources/file_storage/types/link_token.py diff --git a/src/merge/resources/filestorage/types/linked_account_status.py b/src/merge/resources/file_storage/types/linked_account_status.py similarity index 100% rename from src/merge/resources/filestorage/types/linked_account_status.py rename to src/merge/resources/file_storage/types/linked_account_status.py diff --git a/src/merge/resources/filestorage/types/meta_response.py b/src/merge/resources/file_storage/types/meta_response.py similarity index 89% rename from src/merge/resources/filestorage/types/meta_response.py rename to src/merge/resources/file_storage/types/meta_response.py index caa2c831..0da37619 100644 --- a/src/merge/resources/filestorage/types/meta_response.py +++ b/src/merge/resources/file_storage/types/meta_response.py @@ -9,8 +9,8 @@ class MetaResponse(UncheckedBaseModel): - request_schema: typing.Dict[str, typing.Optional[typing.Any]] - remote_field_classes: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + request_schema: typing.Dict[str, typing.Any] + remote_field_classes: typing.Optional[typing.Dict[str, typing.Any]] = None status: typing.Optional[LinkedAccountStatus] = None has_conditional_params: bool has_required_linked_account_params: bool diff --git a/src/merge/resources/chat/types/method_enum.py b/src/merge/resources/file_storage/types/method_enum.py similarity index 100% rename from src/merge/resources/chat/types/method_enum.py rename to src/merge/resources/file_storage/types/method_enum.py diff --git a/src/merge/resources/chat/types/model_operation.py b/src/merge/resources/file_storage/types/model_operation.py similarity index 100% rename from src/merge/resources/chat/types/model_operation.py rename to src/merge/resources/file_storage/types/model_operation.py diff --git a/src/merge/resources/chat/types/model_permission_deserializer.py b/src/merge/resources/file_storage/types/model_permission_deserializer.py similarity index 100% rename from src/merge/resources/chat/types/model_permission_deserializer.py rename to src/merge/resources/file_storage/types/model_permission_deserializer.py diff --git a/src/merge/resources/chat/types/model_permission_deserializer_request.py b/src/merge/resources/file_storage/types/model_permission_deserializer_request.py similarity index 100% rename from src/merge/resources/chat/types/model_permission_deserializer_request.py rename to src/merge/resources/file_storage/types/model_permission_deserializer_request.py diff --git a/src/merge/resources/chat/types/multipart_form_field_request.py b/src/merge/resources/file_storage/types/multipart_form_field_request.py similarity index 100% rename from src/merge/resources/chat/types/multipart_form_field_request.py rename to src/merge/resources/file_storage/types/multipart_form_field_request.py diff --git a/src/merge/resources/accounting/types/multipart_form_field_request_encoding.py b/src/merge/resources/file_storage/types/multipart_form_field_request_encoding.py similarity index 100% rename from src/merge/resources/accounting/types/multipart_form_field_request_encoding.py rename to src/merge/resources/file_storage/types/multipart_form_field_request_encoding.py diff --git a/src/merge/resources/chat/types/paginated_account_details_and_actions_list.py b/src/merge/resources/file_storage/types/paginated_account_details_and_actions_list.py similarity index 100% rename from src/merge/resources/chat/types/paginated_account_details_and_actions_list.py rename to src/merge/resources/file_storage/types/paginated_account_details_and_actions_list.py diff --git a/src/merge/resources/chat/types/paginated_audit_log_event_list.py b/src/merge/resources/file_storage/types/paginated_audit_log_event_list.py similarity index 100% rename from src/merge/resources/chat/types/paginated_audit_log_event_list.py rename to src/merge/resources/file_storage/types/paginated_audit_log_event_list.py diff --git a/src/merge/resources/filestorage/types/paginated_download_request_meta_list.py b/src/merge/resources/file_storage/types/paginated_download_request_meta_list.py similarity index 100% rename from src/merge/resources/filestorage/types/paginated_download_request_meta_list.py rename to src/merge/resources/file_storage/types/paginated_download_request_meta_list.py diff --git a/src/merge/resources/filestorage/types/paginated_drive_list.py b/src/merge/resources/file_storage/types/paginated_drive_list.py similarity index 100% rename from src/merge/resources/filestorage/types/paginated_drive_list.py rename to src/merge/resources/file_storage/types/paginated_drive_list.py diff --git a/src/merge/resources/filestorage/types/paginated_file_list.py b/src/merge/resources/file_storage/types/paginated_file_list.py similarity index 88% rename from src/merge/resources/filestorage/types/paginated_file_list.py rename to src/merge/resources/file_storage/types/paginated_file_list.py index e3daeb68..17787846 100644 --- a/src/merge/resources/filestorage/types/paginated_file_list.py +++ b/src/merge/resources/file_storage/types/paginated_file_list.py @@ -25,7 +25,4 @@ class Config: extra = pydantic.Extra.allow -from .folder import Folder # noqa: E402, F401, I001 -from .group import Group # noqa: E402, F401, I001 - update_forward_refs(PaginatedFileList) diff --git a/src/merge/resources/filestorage/types/paginated_folder_list.py b/src/merge/resources/file_storage/types/paginated_folder_list.py similarity index 88% rename from src/merge/resources/filestorage/types/paginated_folder_list.py rename to src/merge/resources/file_storage/types/paginated_folder_list.py index 87477c83..db97406a 100644 --- a/src/merge/resources/filestorage/types/paginated_folder_list.py +++ b/src/merge/resources/file_storage/types/paginated_folder_list.py @@ -24,7 +24,6 @@ class Config: extra = pydantic.Extra.allow -from .folder import Folder # noqa: E402, F401, I001 -from .group import Group # noqa: E402, F401, I001 +from .folder import Folder # noqa: E402, I001 update_forward_refs(PaginatedFolderList) diff --git a/src/merge/resources/file_storage/types/paginated_group_list.py b/src/merge/resources/file_storage/types/paginated_group_list.py new file mode 100644 index 00000000..0a69564b --- /dev/null +++ b/src/merge/resources/file_storage/types/paginated_group_list.py @@ -0,0 +1,29 @@ +# This file was auto-generated by Fern from our API Definition. + +from __future__ import annotations + +import typing + +import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.unchecked_base_model import UncheckedBaseModel + + +class PaginatedGroupList(UncheckedBaseModel): + next: typing.Optional[str] = None + previous: typing.Optional[str] = None + results: typing.Optional[typing.List["Group"]] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow + + +from .group import Group # noqa: E402, I001 + +update_forward_refs(PaginatedGroupList) diff --git a/src/merge/resources/chat/types/paginated_issue_list.py b/src/merge/resources/file_storage/types/paginated_issue_list.py similarity index 100% rename from src/merge/resources/chat/types/paginated_issue_list.py rename to src/merge/resources/file_storage/types/paginated_issue_list.py diff --git a/src/merge/resources/chat/types/paginated_sync_status_list.py b/src/merge/resources/file_storage/types/paginated_sync_status_list.py similarity index 100% rename from src/merge/resources/chat/types/paginated_sync_status_list.py rename to src/merge/resources/file_storage/types/paginated_sync_status_list.py diff --git a/src/merge/resources/chat/types/paginated_user_list.py b/src/merge/resources/file_storage/types/paginated_user_list.py similarity index 100% rename from src/merge/resources/chat/types/paginated_user_list.py rename to src/merge/resources/file_storage/types/paginated_user_list.py diff --git a/src/merge/resources/file_storage/types/permission.py b/src/merge/resources/file_storage/types/permission.py new file mode 100644 index 00000000..ec4960b1 --- /dev/null +++ b/src/merge/resources/file_storage/types/permission.py @@ -0,0 +1,78 @@ +# This file was auto-generated by Fern from our API Definition. + +from __future__ import annotations + +import datetime as dt +import typing + +import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.unchecked_base_model import UncheckedBaseModel +from .permission_group import PermissionGroup +from .permission_roles_item import PermissionRolesItem +from .permission_type import PermissionType +from .permission_user import PermissionUser + + +class Permission(UncheckedBaseModel): + """ + # The Permission Object + ### Description + The Permission object is used to represent a user's or group's access to a File or Folder. Permissions are unexpanded by default. + + ### Usage Example + Fetch from the `GET Files` or `GET Folders` endpoint. Permissions are unexpanded by default. Use the query param `expand=permissions` to see more details. + """ + + id: typing.Optional[str] = None + remote_id: typing.Optional[str] = pydantic.Field(default=None) + """ + The third-party API ID of the matching object. + """ + + created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + The datetime that this object was created by Merge. + """ + + modified_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + The datetime that this object was modified by Merge. + """ + + user: typing.Optional[PermissionUser] = pydantic.Field(default=None) + """ + The user that is granted this permission. This will only be populated if the type is `USER`. + """ + + group: typing.Optional[PermissionGroup] = pydantic.Field(default=None) + """ + The group that is granted this permission. This will only be populated if the type is `GROUP`. + """ + + type: typing.Optional[PermissionType] = pydantic.Field(default=None) + """ + Denotes what type of people have access to the file. + + * `USER` - USER + * `GROUP` - GROUP + * `COMPANY` - COMPANY + * `ANYONE` - ANYONE + """ + + roles: typing.Optional[typing.List[typing.Optional[PermissionRolesItem]]] = pydantic.Field(default=None) + """ + The permissions that the user or group has for the File or Folder. It is possible for a user or group to have multiple roles, such as viewing & uploading. Possible values include: `READ`, `WRITE`, `OWNER`. In cases where there is no clear mapping, the original value passed through will be returned. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow + + +update_forward_refs(Permission) diff --git a/src/merge/resources/filestorage/types/permission_group.py b/src/merge/resources/file_storage/types/permission_group.py similarity index 100% rename from src/merge/resources/filestorage/types/permission_group.py rename to src/merge/resources/file_storage/types/permission_group.py diff --git a/src/merge/resources/filestorage/types/permission_request.py b/src/merge/resources/file_storage/types/permission_request.py similarity index 95% rename from src/merge/resources/filestorage/types/permission_request.py rename to src/merge/resources/file_storage/types/permission_request.py index 0187dd60..59c0beb8 100644 --- a/src/merge/resources/filestorage/types/permission_request.py +++ b/src/merge/resources/file_storage/types/permission_request.py @@ -53,8 +53,8 @@ class PermissionRequest(UncheckedBaseModel): The permissions that the user or group has for the File or Folder. It is possible for a user or group to have multiple roles, such as viewing & uploading. Possible values include: `READ`, `WRITE`, `OWNER`. In cases where there is no clear mapping, the original value passed through will be returned. """ - integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + integration_params: typing.Optional[typing.Dict[str, typing.Any]] = None + linked_account_params: typing.Optional[typing.Dict[str, typing.Any]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 @@ -66,6 +66,4 @@ class Config: extra = pydantic.Extra.allow -from .group import Group # noqa: E402, F401, I001 - update_forward_refs(PermissionRequest) diff --git a/src/merge/resources/filestorage/types/permission_request_group.py b/src/merge/resources/file_storage/types/permission_request_group.py similarity index 100% rename from src/merge/resources/filestorage/types/permission_request_group.py rename to src/merge/resources/file_storage/types/permission_request_group.py diff --git a/src/merge/resources/filestorage/types/permission_request_roles_item.py b/src/merge/resources/file_storage/types/permission_request_roles_item.py similarity index 100% rename from src/merge/resources/filestorage/types/permission_request_roles_item.py rename to src/merge/resources/file_storage/types/permission_request_roles_item.py diff --git a/src/merge/resources/filestorage/types/permission_request_type.py b/src/merge/resources/file_storage/types/permission_request_type.py similarity index 100% rename from src/merge/resources/filestorage/types/permission_request_type.py rename to src/merge/resources/file_storage/types/permission_request_type.py diff --git a/src/merge/resources/filestorage/types/permission_request_user.py b/src/merge/resources/file_storage/types/permission_request_user.py similarity index 100% rename from src/merge/resources/filestorage/types/permission_request_user.py rename to src/merge/resources/file_storage/types/permission_request_user.py diff --git a/src/merge/resources/filestorage/types/permission_roles_item.py b/src/merge/resources/file_storage/types/permission_roles_item.py similarity index 100% rename from src/merge/resources/filestorage/types/permission_roles_item.py rename to src/merge/resources/file_storage/types/permission_roles_item.py diff --git a/src/merge/resources/filestorage/types/permission_type.py b/src/merge/resources/file_storage/types/permission_type.py similarity index 100% rename from src/merge/resources/filestorage/types/permission_type.py rename to src/merge/resources/file_storage/types/permission_type.py diff --git a/src/merge/resources/filestorage/types/permission_user.py b/src/merge/resources/file_storage/types/permission_user.py similarity index 100% rename from src/merge/resources/filestorage/types/permission_user.py rename to src/merge/resources/file_storage/types/permission_user.py diff --git a/src/merge/resources/file_storage/types/remote_data.py b/src/merge/resources/file_storage/types/remote_data.py new file mode 100644 index 00000000..2026f05a --- /dev/null +++ b/src/merge/resources/file_storage/types/remote_data.py @@ -0,0 +1,37 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel + + +class RemoteData(UncheckedBaseModel): + """ + # The RemoteData Object + ### Description + The `RemoteData` object is used to represent the full data pulled from the third-party API for an object. + + ### Usage Example + TODO + """ + + path: str = pydantic.Field() + """ + The third-party API path that is being called. + """ + + data: typing.Optional[typing.Any] = pydantic.Field(default=None) + """ + The data returned from the third-party for this object in its original, unnormalized format. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/merge/resources/file_storage/types/remote_endpoint_info.py b/src/merge/resources/file_storage/types/remote_endpoint_info.py new file mode 100644 index 00000000..ffa70b94 --- /dev/null +++ b/src/merge/resources/file_storage/types/remote_endpoint_info.py @@ -0,0 +1,22 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel + + +class RemoteEndpointInfo(UncheckedBaseModel): + method: str + url_path: str + field_traversal_path: typing.List[typing.Any] + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/merge/resources/file_storage/types/remote_field_api.py b/src/merge/resources/file_storage/types/remote_field_api.py new file mode 100644 index 00000000..bac07b8d --- /dev/null +++ b/src/merge/resources/file_storage/types/remote_field_api.py @@ -0,0 +1,28 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .advanced_metadata import AdvancedMetadata +from .remote_endpoint_info import RemoteEndpointInfo +from .remote_field_api_coverage import RemoteFieldApiCoverage + + +class RemoteFieldApi(UncheckedBaseModel): + schema_: typing.Dict[str, typing.Any] = pydantic.Field(alias="schema") + remote_key_name: str + remote_endpoint_info: RemoteEndpointInfo + example_values: typing.Optional[typing.List[typing.Any]] = None + advanced_metadata: typing.Optional[AdvancedMetadata] = None + coverage: typing.Optional[RemoteFieldApiCoverage] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/remote_field_api_coverage.py b/src/merge/resources/file_storage/types/remote_field_api_coverage.py similarity index 100% rename from src/merge/resources/chat/types/remote_field_api_coverage.py rename to src/merge/resources/file_storage/types/remote_field_api_coverage.py diff --git a/src/merge/resources/filestorage/types/remote_field_api_response.py b/src/merge/resources/file_storage/types/remote_field_api_response.py similarity index 100% rename from src/merge/resources/filestorage/types/remote_field_api_response.py rename to src/merge/resources/file_storage/types/remote_field_api_response.py diff --git a/src/merge/resources/chat/types/remote_key.py b/src/merge/resources/file_storage/types/remote_key.py similarity index 100% rename from src/merge/resources/chat/types/remote_key.py rename to src/merge/resources/file_storage/types/remote_key.py diff --git a/src/merge/resources/file_storage/types/remote_response.py b/src/merge/resources/file_storage/types/remote_response.py new file mode 100644 index 00000000..8bc6f905 --- /dev/null +++ b/src/merge/resources/file_storage/types/remote_response.py @@ -0,0 +1,36 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .remote_response_response_type import RemoteResponseResponseType + + +class RemoteResponse(UncheckedBaseModel): + """ + # The RemoteResponse Object + ### Description + The `RemoteResponse` object is used to represent information returned from a third-party endpoint. + + ### Usage Example + View the `RemoteResponse` returned from your `DataPassthrough`. + """ + + method: str + path: str + status: int + response: typing.Any + response_headers: typing.Optional[typing.Dict[str, typing.Any]] = None + response_type: typing.Optional[RemoteResponseResponseType] = None + headers: typing.Optional[typing.Dict[str, typing.Any]] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/remote_response_response_type.py b/src/merge/resources/file_storage/types/remote_response_response_type.py similarity index 100% rename from src/merge/resources/knowledgebase/types/remote_response_response_type.py rename to src/merge/resources/file_storage/types/remote_response_response_type.py diff --git a/src/merge/resources/chat/types/request_format_enum.py b/src/merge/resources/file_storage/types/request_format_enum.py similarity index 100% rename from src/merge/resources/chat/types/request_format_enum.py rename to src/merge/resources/file_storage/types/request_format_enum.py diff --git a/src/merge/resources/file_storage/types/response_type_enum.py b/src/merge/resources/file_storage/types/response_type_enum.py new file mode 100644 index 00000000..e29175b6 --- /dev/null +++ b/src/merge/resources/file_storage/types/response_type_enum.py @@ -0,0 +1,22 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class ResponseTypeEnum(str, enum.Enum): + """ + * `JSON` - JSON + * `BASE64_GZIP` - BASE64_GZIP + """ + + JSON = "JSON" + BASE64GZIP = "BASE64_GZIP" + + def visit(self, json: typing.Callable[[], T_Result], base64gzip: typing.Callable[[], T_Result]) -> T_Result: + if self is ResponseTypeEnum.JSON: + return json() + if self is ResponseTypeEnum.BASE64GZIP: + return base64gzip() diff --git a/src/merge/resources/chat/types/role_enum.py b/src/merge/resources/file_storage/types/role_enum.py similarity index 100% rename from src/merge/resources/chat/types/role_enum.py rename to src/merge/resources/file_storage/types/role_enum.py diff --git a/src/merge/resources/filestorage/types/roles_enum.py b/src/merge/resources/file_storage/types/roles_enum.py similarity index 100% rename from src/merge/resources/filestorage/types/roles_enum.py rename to src/merge/resources/file_storage/types/roles_enum.py diff --git a/src/merge/resources/chat/types/selective_sync_configurations_usage_enum.py b/src/merge/resources/file_storage/types/selective_sync_configurations_usage_enum.py similarity index 100% rename from src/merge/resources/chat/types/selective_sync_configurations_usage_enum.py rename to src/merge/resources/file_storage/types/selective_sync_configurations_usage_enum.py diff --git a/src/merge/resources/crm/types/status_fd_5_enum.py b/src/merge/resources/file_storage/types/status_fd5enum.py similarity index 100% rename from src/merge/resources/crm/types/status_fd_5_enum.py rename to src/merge/resources/file_storage/types/status_fd5enum.py diff --git a/src/merge/resources/chat/types/sync_status.py b/src/merge/resources/file_storage/types/sync_status.py similarity index 100% rename from src/merge/resources/chat/types/sync_status.py rename to src/merge/resources/file_storage/types/sync_status.py diff --git a/src/merge/resources/filestorage/types/sync_status_last_sync_result.py b/src/merge/resources/file_storage/types/sync_status_last_sync_result.py similarity index 100% rename from src/merge/resources/filestorage/types/sync_status_last_sync_result.py rename to src/merge/resources/file_storage/types/sync_status_last_sync_result.py diff --git a/src/merge/resources/file_storage/types/sync_status_status.py b/src/merge/resources/file_storage/types/sync_status_status.py new file mode 100644 index 00000000..080bb651 --- /dev/null +++ b/src/merge/resources/file_storage/types/sync_status_status.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .status_fd5enum import StatusFd5Enum + +SyncStatusStatus = typing.Union[StatusFd5Enum, str] diff --git a/src/merge/resources/filestorage/types/type_enum.py b/src/merge/resources/file_storage/types/type_enum.py similarity index 100% rename from src/merge/resources/filestorage/types/type_enum.py rename to src/merge/resources/file_storage/types/type_enum.py diff --git a/src/merge/resources/file_storage/types/user.py b/src/merge/resources/file_storage/types/user.py new file mode 100644 index 00000000..eaca56e0 --- /dev/null +++ b/src/merge/resources/file_storage/types/user.py @@ -0,0 +1,67 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .remote_data import RemoteData + + +class User(UncheckedBaseModel): + """ + # The User Object + ### Description + The `User` object is used to represent a user within the File Storage account. + ### Usage Example + Fetch from the `GET /api/filestorage/v1/users` endpoint and view their users. + """ + + id: typing.Optional[str] = None + remote_id: typing.Optional[str] = pydantic.Field(default=None) + """ + The third-party API ID of the matching object. + """ + + created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + The datetime that this object was created by Merge. + """ + + modified_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + The datetime that this object was modified by Merge. + """ + + name: typing.Optional[str] = pydantic.Field(default=None) + """ + The user's name. + """ + + email_address: typing.Optional[str] = pydantic.Field(default=None) + """ + The user's email address. This is typically used to identify a user across linked accounts. + """ + + is_me: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether the user is the one who linked this account. + """ + + remote_was_deleted: typing.Optional[bool] = pydantic.Field(default=None) + """ + Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + """ + + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None + remote_data: typing.Optional[typing.List[RemoteData]] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/validation_problem_source.py b/src/merge/resources/file_storage/types/validation_problem_source.py similarity index 100% rename from src/merge/resources/chat/types/validation_problem_source.py rename to src/merge/resources/file_storage/types/validation_problem_source.py diff --git a/src/merge/resources/filestorage/types/warning_validation_problem.py b/src/merge/resources/file_storage/types/warning_validation_problem.py similarity index 100% rename from src/merge/resources/filestorage/types/warning_validation_problem.py rename to src/merge/resources/file_storage/types/warning_validation_problem.py diff --git a/src/merge/resources/chat/types/webhook_receiver.py b/src/merge/resources/file_storage/types/webhook_receiver.py similarity index 100% rename from src/merge/resources/chat/types/webhook_receiver.py rename to src/merge/resources/file_storage/types/webhook_receiver.py diff --git a/src/merge/resources/filestorage/__init__.py b/src/merge/resources/filestorage/__init__.py deleted file mode 100644 index 5f6a52bb..00000000 --- a/src/merge/resources/filestorage/__init__.py +++ /dev/null @@ -1,475 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - -import typing -from importlib import import_module - -if typing.TYPE_CHECKING: - from .types import ( - AccountDetails, - AccountDetailsAndActions, - AccountDetailsAndActionsIntegration, - AccountDetailsAndActionsStatusEnum, - AccountIntegration, - AccountToken, - AdvancedMetadata, - AsyncPassthroughReciept, - AuditLogEvent, - AuditLogEventEventType, - AuditLogEventRole, - AvailableActions, - CategoriesEnum, - CategoryEnum, - CommonModelScopeApi, - CommonModelScopesBodyRequest, - DataPassthroughRequest, - DebugModeLog, - DebugModelLogSummary, - DownloadRequestMeta, - Drive, - EnabledActionsEnum, - EncodingEnum, - ErrorValidationProblem, - EventTypeEnum, - ExternalTargetFieldApi, - ExternalTargetFieldApiResponse, - FieldMappingApiInstance, - FieldMappingApiInstanceRemoteField, - FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo, - FieldMappingApiInstanceResponse, - FieldMappingApiInstanceTargetField, - FieldMappingInstanceResponse, - FieldPermissionDeserializer, - FieldPermissionDeserializerRequest, - File, - FileDrive, - FileFolder, - FilePermissions, - FilePermissionsItem, - FileRequest, - FileRequestDrive, - FileRequestFolder, - FileRequestPermissions, - FileRequestPermissionsItem, - FileStorageFileResponse, - FileStorageFolderResponse, - Folder, - FolderDrive, - FolderParentFolder, - FolderPermissions, - FolderPermissionsItem, - FolderRequest, - FolderRequestDrive, - FolderRequestParentFolder, - FolderRequestPermissions, - FolderRequestPermissionsItem, - Group, - GroupChildGroupsItem, - IndividualCommonModelScopeDeserializer, - IndividualCommonModelScopeDeserializerRequest, - Issue, - IssueStatus, - IssueStatusEnum, - LanguageEnum, - LastSyncResultEnum, - LinkToken, - LinkedAccountStatus, - MetaResponse, - MethodEnum, - ModelOperation, - ModelPermissionDeserializer, - ModelPermissionDeserializerRequest, - MultipartFormFieldRequest, - MultipartFormFieldRequestEncoding, - PaginatedAccountDetailsAndActionsList, - PaginatedAuditLogEventList, - PaginatedDownloadRequestMetaList, - PaginatedDriveList, - PaginatedFileList, - PaginatedFolderList, - PaginatedGroupList, - PaginatedIssueList, - PaginatedSyncStatusList, - PaginatedUserList, - Permission, - PermissionGroup, - PermissionRequest, - PermissionRequestGroup, - PermissionRequestRolesItem, - PermissionRequestType, - PermissionRequestUser, - PermissionRolesItem, - PermissionType, - PermissionUser, - RemoteData, - RemoteEndpointInfo, - RemoteFieldApi, - RemoteFieldApiCoverage, - RemoteFieldApiResponse, - RemoteKey, - RemoteResponse, - RequestFormatEnum, - ResponseTypeEnum, - RoleEnum, - RolesEnum, - SelectiveSyncConfigurationsUsageEnum, - StatusFd5Enum, - SyncStatus, - SyncStatusLastSyncResult, - TypeEnum, - User, - ValidationProblemSource, - WarningValidationProblem, - WebhookReceiver, - ) - from .resources import ( - AsyncPassthroughRetrieveResponse, - FilesDownloadRequestMetaListRequestOrderBy, - FilesListRequestExpand, - FilesListRequestOrderBy, - FilesRetrieveRequestExpand, - FoldersListRequestExpand, - FoldersRetrieveRequestExpand, - IssuesListRequestStatus, - LinkedAccountsListRequestCategory, - account_details, - account_token, - async_passthrough, - audit_trail, - available_actions, - delete_account, - drives, - field_mapping, - files, - folders, - force_resync, - generate_key, - groups, - issues, - link_token, - linked_accounts, - passthrough, - regenerate_key, - scopes, - sync_status, - users, - webhook_receivers, - ) -_dynamic_imports: typing.Dict[str, str] = { - "AccountDetails": ".types", - "AccountDetailsAndActions": ".types", - "AccountDetailsAndActionsIntegration": ".types", - "AccountDetailsAndActionsStatusEnum": ".types", - "AccountIntegration": ".types", - "AccountToken": ".types", - "AdvancedMetadata": ".types", - "AsyncPassthroughReciept": ".types", - "AsyncPassthroughRetrieveResponse": ".resources", - "AuditLogEvent": ".types", - "AuditLogEventEventType": ".types", - "AuditLogEventRole": ".types", - "AvailableActions": ".types", - "CategoriesEnum": ".types", - "CategoryEnum": ".types", - "CommonModelScopeApi": ".types", - "CommonModelScopesBodyRequest": ".types", - "DataPassthroughRequest": ".types", - "DebugModeLog": ".types", - "DebugModelLogSummary": ".types", - "DownloadRequestMeta": ".types", - "Drive": ".types", - "EnabledActionsEnum": ".types", - "EncodingEnum": ".types", - "ErrorValidationProblem": ".types", - "EventTypeEnum": ".types", - "ExternalTargetFieldApi": ".types", - "ExternalTargetFieldApiResponse": ".types", - "FieldMappingApiInstance": ".types", - "FieldMappingApiInstanceRemoteField": ".types", - "FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo": ".types", - "FieldMappingApiInstanceResponse": ".types", - "FieldMappingApiInstanceTargetField": ".types", - "FieldMappingInstanceResponse": ".types", - "FieldPermissionDeserializer": ".types", - "FieldPermissionDeserializerRequest": ".types", - "File": ".types", - "FileDrive": ".types", - "FileFolder": ".types", - "FilePermissions": ".types", - "FilePermissionsItem": ".types", - "FileRequest": ".types", - "FileRequestDrive": ".types", - "FileRequestFolder": ".types", - "FileRequestPermissions": ".types", - "FileRequestPermissionsItem": ".types", - "FileStorageFileResponse": ".types", - "FileStorageFolderResponse": ".types", - "FilesDownloadRequestMetaListRequestOrderBy": ".resources", - "FilesListRequestExpand": ".resources", - "FilesListRequestOrderBy": ".resources", - "FilesRetrieveRequestExpand": ".resources", - "Folder": ".types", - "FolderDrive": ".types", - "FolderParentFolder": ".types", - "FolderPermissions": ".types", - "FolderPermissionsItem": ".types", - "FolderRequest": ".types", - "FolderRequestDrive": ".types", - "FolderRequestParentFolder": ".types", - "FolderRequestPermissions": ".types", - "FolderRequestPermissionsItem": ".types", - "FoldersListRequestExpand": ".resources", - "FoldersRetrieveRequestExpand": ".resources", - "Group": ".types", - "GroupChildGroupsItem": ".types", - "IndividualCommonModelScopeDeserializer": ".types", - "IndividualCommonModelScopeDeserializerRequest": ".types", - "Issue": ".types", - "IssueStatus": ".types", - "IssueStatusEnum": ".types", - "IssuesListRequestStatus": ".resources", - "LanguageEnum": ".types", - "LastSyncResultEnum": ".types", - "LinkToken": ".types", - "LinkedAccountStatus": ".types", - "LinkedAccountsListRequestCategory": ".resources", - "MetaResponse": ".types", - "MethodEnum": ".types", - "ModelOperation": ".types", - "ModelPermissionDeserializer": ".types", - "ModelPermissionDeserializerRequest": ".types", - "MultipartFormFieldRequest": ".types", - "MultipartFormFieldRequestEncoding": ".types", - "PaginatedAccountDetailsAndActionsList": ".types", - "PaginatedAuditLogEventList": ".types", - "PaginatedDownloadRequestMetaList": ".types", - "PaginatedDriveList": ".types", - "PaginatedFileList": ".types", - "PaginatedFolderList": ".types", - "PaginatedGroupList": ".types", - "PaginatedIssueList": ".types", - "PaginatedSyncStatusList": ".types", - "PaginatedUserList": ".types", - "Permission": ".types", - "PermissionGroup": ".types", - "PermissionRequest": ".types", - "PermissionRequestGroup": ".types", - "PermissionRequestRolesItem": ".types", - "PermissionRequestType": ".types", - "PermissionRequestUser": ".types", - "PermissionRolesItem": ".types", - "PermissionType": ".types", - "PermissionUser": ".types", - "RemoteData": ".types", - "RemoteEndpointInfo": ".types", - "RemoteFieldApi": ".types", - "RemoteFieldApiCoverage": ".types", - "RemoteFieldApiResponse": ".types", - "RemoteKey": ".types", - "RemoteResponse": ".types", - "RequestFormatEnum": ".types", - "ResponseTypeEnum": ".types", - "RoleEnum": ".types", - "RolesEnum": ".types", - "SelectiveSyncConfigurationsUsageEnum": ".types", - "StatusFd5Enum": ".types", - "SyncStatus": ".types", - "SyncStatusLastSyncResult": ".types", - "TypeEnum": ".types", - "User": ".types", - "ValidationProblemSource": ".types", - "WarningValidationProblem": ".types", - "WebhookReceiver": ".types", - "account_details": ".resources", - "account_token": ".resources", - "async_passthrough": ".resources", - "audit_trail": ".resources", - "available_actions": ".resources", - "delete_account": ".resources", - "drives": ".resources", - "field_mapping": ".resources", - "files": ".resources", - "folders": ".resources", - "force_resync": ".resources", - "generate_key": ".resources", - "groups": ".resources", - "issues": ".resources", - "link_token": ".resources", - "linked_accounts": ".resources", - "passthrough": ".resources", - "regenerate_key": ".resources", - "scopes": ".resources", - "sync_status": ".resources", - "users": ".resources", - "webhook_receivers": ".resources", -} - - -def __getattr__(attr_name: str) -> typing.Any: - module_name = _dynamic_imports.get(attr_name) - if module_name is None: - raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") - try: - module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result - except ImportError as e: - raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e - except AttributeError as e: - raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e - - -def __dir__(): - lazy_attrs = list(_dynamic_imports.keys()) - return sorted(lazy_attrs) - - -__all__ = [ - "AccountDetails", - "AccountDetailsAndActions", - "AccountDetailsAndActionsIntegration", - "AccountDetailsAndActionsStatusEnum", - "AccountIntegration", - "AccountToken", - "AdvancedMetadata", - "AsyncPassthroughReciept", - "AsyncPassthroughRetrieveResponse", - "AuditLogEvent", - "AuditLogEventEventType", - "AuditLogEventRole", - "AvailableActions", - "CategoriesEnum", - "CategoryEnum", - "CommonModelScopeApi", - "CommonModelScopesBodyRequest", - "DataPassthroughRequest", - "DebugModeLog", - "DebugModelLogSummary", - "DownloadRequestMeta", - "Drive", - "EnabledActionsEnum", - "EncodingEnum", - "ErrorValidationProblem", - "EventTypeEnum", - "ExternalTargetFieldApi", - "ExternalTargetFieldApiResponse", - "FieldMappingApiInstance", - "FieldMappingApiInstanceRemoteField", - "FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo", - "FieldMappingApiInstanceResponse", - "FieldMappingApiInstanceTargetField", - "FieldMappingInstanceResponse", - "FieldPermissionDeserializer", - "FieldPermissionDeserializerRequest", - "File", - "FileDrive", - "FileFolder", - "FilePermissions", - "FilePermissionsItem", - "FileRequest", - "FileRequestDrive", - "FileRequestFolder", - "FileRequestPermissions", - "FileRequestPermissionsItem", - "FileStorageFileResponse", - "FileStorageFolderResponse", - "FilesDownloadRequestMetaListRequestOrderBy", - "FilesListRequestExpand", - "FilesListRequestOrderBy", - "FilesRetrieveRequestExpand", - "Folder", - "FolderDrive", - "FolderParentFolder", - "FolderPermissions", - "FolderPermissionsItem", - "FolderRequest", - "FolderRequestDrive", - "FolderRequestParentFolder", - "FolderRequestPermissions", - "FolderRequestPermissionsItem", - "FoldersListRequestExpand", - "FoldersRetrieveRequestExpand", - "Group", - "GroupChildGroupsItem", - "IndividualCommonModelScopeDeserializer", - "IndividualCommonModelScopeDeserializerRequest", - "Issue", - "IssueStatus", - "IssueStatusEnum", - "IssuesListRequestStatus", - "LanguageEnum", - "LastSyncResultEnum", - "LinkToken", - "LinkedAccountStatus", - "LinkedAccountsListRequestCategory", - "MetaResponse", - "MethodEnum", - "ModelOperation", - "ModelPermissionDeserializer", - "ModelPermissionDeserializerRequest", - "MultipartFormFieldRequest", - "MultipartFormFieldRequestEncoding", - "PaginatedAccountDetailsAndActionsList", - "PaginatedAuditLogEventList", - "PaginatedDownloadRequestMetaList", - "PaginatedDriveList", - "PaginatedFileList", - "PaginatedFolderList", - "PaginatedGroupList", - "PaginatedIssueList", - "PaginatedSyncStatusList", - "PaginatedUserList", - "Permission", - "PermissionGroup", - "PermissionRequest", - "PermissionRequestGroup", - "PermissionRequestRolesItem", - "PermissionRequestType", - "PermissionRequestUser", - "PermissionRolesItem", - "PermissionType", - "PermissionUser", - "RemoteData", - "RemoteEndpointInfo", - "RemoteFieldApi", - "RemoteFieldApiCoverage", - "RemoteFieldApiResponse", - "RemoteKey", - "RemoteResponse", - "RequestFormatEnum", - "ResponseTypeEnum", - "RoleEnum", - "RolesEnum", - "SelectiveSyncConfigurationsUsageEnum", - "StatusFd5Enum", - "SyncStatus", - "SyncStatusLastSyncResult", - "TypeEnum", - "User", - "ValidationProblemSource", - "WarningValidationProblem", - "WebhookReceiver", - "account_details", - "account_token", - "async_passthrough", - "audit_trail", - "available_actions", - "delete_account", - "drives", - "field_mapping", - "files", - "folders", - "force_resync", - "generate_key", - "groups", - "issues", - "link_token", - "linked_accounts", - "passthrough", - "regenerate_key", - "scopes", - "sync_status", - "users", - "webhook_receivers", -] diff --git a/src/merge/resources/filestorage/client.py b/src/merge/resources/filestorage/client.py deleted file mode 100644 index 3e280ec0..00000000 --- a/src/merge/resources/filestorage/client.py +++ /dev/null @@ -1,480 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -from __future__ import annotations - -import typing - -from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .raw_client import AsyncRawFilestorageClient, RawFilestorageClient - -if typing.TYPE_CHECKING: - from .resources.account_details.client import AccountDetailsClient, AsyncAccountDetailsClient - from .resources.account_token.client import AccountTokenClient, AsyncAccountTokenClient - from .resources.async_passthrough.client import AsyncAsyncPassthroughClient - from .resources.async_passthrough.client import ( - AsyncPassthroughClient as resources_filestorage_resources_async_passthrough_client_AsyncPassthroughClient, - ) - from .resources.audit_trail.client import AsyncAuditTrailClient, AuditTrailClient - from .resources.available_actions.client import AsyncAvailableActionsClient, AvailableActionsClient - from .resources.delete_account.client import AsyncDeleteAccountClient, DeleteAccountClient - from .resources.drives.client import AsyncDrivesClient, DrivesClient - from .resources.field_mapping.client import AsyncFieldMappingClient, FieldMappingClient - from .resources.files.client import AsyncFilesClient, FilesClient - from .resources.folders.client import AsyncFoldersClient, FoldersClient - from .resources.force_resync.client import AsyncForceResyncClient, ForceResyncClient - from .resources.generate_key.client import AsyncGenerateKeyClient, GenerateKeyClient - from .resources.groups.client import AsyncGroupsClient, GroupsClient - from .resources.issues.client import AsyncIssuesClient, IssuesClient - from .resources.link_token.client import AsyncLinkTokenClient, LinkTokenClient - from .resources.linked_accounts.client import AsyncLinkedAccountsClient, LinkedAccountsClient - from .resources.passthrough.client import ( - AsyncPassthroughClient as resources_filestorage_resources_passthrough_client_AsyncPassthroughClient, - ) - from .resources.passthrough.client import PassthroughClient - from .resources.regenerate_key.client import AsyncRegenerateKeyClient, RegenerateKeyClient - from .resources.scopes.client import AsyncScopesClient, ScopesClient - from .resources.sync_status.client import AsyncSyncStatusClient, SyncStatusClient - from .resources.users.client import AsyncUsersClient, UsersClient - from .resources.webhook_receivers.client import AsyncWebhookReceiversClient, WebhookReceiversClient - - -class FilestorageClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawFilestorageClient(client_wrapper=client_wrapper) - self._client_wrapper = client_wrapper - self._account_details: typing.Optional[AccountDetailsClient] = None - self._account_token: typing.Optional[AccountTokenClient] = None - self._async_passthrough: typing.Optional[ - resources_filestorage_resources_async_passthrough_client_AsyncPassthroughClient - ] = None - self._audit_trail: typing.Optional[AuditTrailClient] = None - self._available_actions: typing.Optional[AvailableActionsClient] = None - self._scopes: typing.Optional[ScopesClient] = None - self._delete_account: typing.Optional[DeleteAccountClient] = None - self._drives: typing.Optional[DrivesClient] = None - self._field_mapping: typing.Optional[FieldMappingClient] = None - self._files: typing.Optional[FilesClient] = None - self._folders: typing.Optional[FoldersClient] = None - self._generate_key: typing.Optional[GenerateKeyClient] = None - self._groups: typing.Optional[GroupsClient] = None - self._issues: typing.Optional[IssuesClient] = None - self._link_token: typing.Optional[LinkTokenClient] = None - self._linked_accounts: typing.Optional[LinkedAccountsClient] = None - self._passthrough: typing.Optional[PassthroughClient] = None - self._regenerate_key: typing.Optional[RegenerateKeyClient] = None - self._sync_status: typing.Optional[SyncStatusClient] = None - self._force_resync: typing.Optional[ForceResyncClient] = None - self._users: typing.Optional[UsersClient] = None - self._webhook_receivers: typing.Optional[WebhookReceiversClient] = None - - @property - def with_raw_response(self) -> RawFilestorageClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawFilestorageClient - """ - return self._raw_client - - @property - def account_details(self): - if self._account_details is None: - from .resources.account_details.client import AccountDetailsClient # noqa: E402 - - self._account_details = AccountDetailsClient(client_wrapper=self._client_wrapper) - return self._account_details - - @property - def account_token(self): - if self._account_token is None: - from .resources.account_token.client import AccountTokenClient # noqa: E402 - - self._account_token = AccountTokenClient(client_wrapper=self._client_wrapper) - return self._account_token - - @property - def async_passthrough(self): - if self._async_passthrough is None: - from .resources.async_passthrough.client import ( - AsyncPassthroughClient as resources_filestorage_resources_async_passthrough_client_AsyncPassthroughClient, # noqa: E402 - ) - - self._async_passthrough = resources_filestorage_resources_async_passthrough_client_AsyncPassthroughClient( - client_wrapper=self._client_wrapper - ) - return self._async_passthrough - - @property - def audit_trail(self): - if self._audit_trail is None: - from .resources.audit_trail.client import AuditTrailClient # noqa: E402 - - self._audit_trail = AuditTrailClient(client_wrapper=self._client_wrapper) - return self._audit_trail - - @property - def available_actions(self): - if self._available_actions is None: - from .resources.available_actions.client import AvailableActionsClient # noqa: E402 - - self._available_actions = AvailableActionsClient(client_wrapper=self._client_wrapper) - return self._available_actions - - @property - def scopes(self): - if self._scopes is None: - from .resources.scopes.client import ScopesClient # noqa: E402 - - self._scopes = ScopesClient(client_wrapper=self._client_wrapper) - return self._scopes - - @property - def delete_account(self): - if self._delete_account is None: - from .resources.delete_account.client import DeleteAccountClient # noqa: E402 - - self._delete_account = DeleteAccountClient(client_wrapper=self._client_wrapper) - return self._delete_account - - @property - def drives(self): - if self._drives is None: - from .resources.drives.client import DrivesClient # noqa: E402 - - self._drives = DrivesClient(client_wrapper=self._client_wrapper) - return self._drives - - @property - def field_mapping(self): - if self._field_mapping is None: - from .resources.field_mapping.client import FieldMappingClient # noqa: E402 - - self._field_mapping = FieldMappingClient(client_wrapper=self._client_wrapper) - return self._field_mapping - - @property - def files(self): - if self._files is None: - from .resources.files.client import FilesClient # noqa: E402 - - self._files = FilesClient(client_wrapper=self._client_wrapper) - return self._files - - @property - def folders(self): - if self._folders is None: - from .resources.folders.client import FoldersClient # noqa: E402 - - self._folders = FoldersClient(client_wrapper=self._client_wrapper) - return self._folders - - @property - def generate_key(self): - if self._generate_key is None: - from .resources.generate_key.client import GenerateKeyClient # noqa: E402 - - self._generate_key = GenerateKeyClient(client_wrapper=self._client_wrapper) - return self._generate_key - - @property - def groups(self): - if self._groups is None: - from .resources.groups.client import GroupsClient # noqa: E402 - - self._groups = GroupsClient(client_wrapper=self._client_wrapper) - return self._groups - - @property - def issues(self): - if self._issues is None: - from .resources.issues.client import IssuesClient # noqa: E402 - - self._issues = IssuesClient(client_wrapper=self._client_wrapper) - return self._issues - - @property - def link_token(self): - if self._link_token is None: - from .resources.link_token.client import LinkTokenClient # noqa: E402 - - self._link_token = LinkTokenClient(client_wrapper=self._client_wrapper) - return self._link_token - - @property - def linked_accounts(self): - if self._linked_accounts is None: - from .resources.linked_accounts.client import LinkedAccountsClient # noqa: E402 - - self._linked_accounts = LinkedAccountsClient(client_wrapper=self._client_wrapper) - return self._linked_accounts - - @property - def passthrough(self): - if self._passthrough is None: - from .resources.passthrough.client import PassthroughClient # noqa: E402 - - self._passthrough = PassthroughClient(client_wrapper=self._client_wrapper) - return self._passthrough - - @property - def regenerate_key(self): - if self._regenerate_key is None: - from .resources.regenerate_key.client import RegenerateKeyClient # noqa: E402 - - self._regenerate_key = RegenerateKeyClient(client_wrapper=self._client_wrapper) - return self._regenerate_key - - @property - def sync_status(self): - if self._sync_status is None: - from .resources.sync_status.client import SyncStatusClient # noqa: E402 - - self._sync_status = SyncStatusClient(client_wrapper=self._client_wrapper) - return self._sync_status - - @property - def force_resync(self): - if self._force_resync is None: - from .resources.force_resync.client import ForceResyncClient # noqa: E402 - - self._force_resync = ForceResyncClient(client_wrapper=self._client_wrapper) - return self._force_resync - - @property - def users(self): - if self._users is None: - from .resources.users.client import UsersClient # noqa: E402 - - self._users = UsersClient(client_wrapper=self._client_wrapper) - return self._users - - @property - def webhook_receivers(self): - if self._webhook_receivers is None: - from .resources.webhook_receivers.client import WebhookReceiversClient # noqa: E402 - - self._webhook_receivers = WebhookReceiversClient(client_wrapper=self._client_wrapper) - return self._webhook_receivers - - -class AsyncFilestorageClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawFilestorageClient(client_wrapper=client_wrapper) - self._client_wrapper = client_wrapper - self._account_details: typing.Optional[AsyncAccountDetailsClient] = None - self._account_token: typing.Optional[AsyncAccountTokenClient] = None - self._async_passthrough: typing.Optional[AsyncAsyncPassthroughClient] = None - self._audit_trail: typing.Optional[AsyncAuditTrailClient] = None - self._available_actions: typing.Optional[AsyncAvailableActionsClient] = None - self._scopes: typing.Optional[AsyncScopesClient] = None - self._delete_account: typing.Optional[AsyncDeleteAccountClient] = None - self._drives: typing.Optional[AsyncDrivesClient] = None - self._field_mapping: typing.Optional[AsyncFieldMappingClient] = None - self._files: typing.Optional[AsyncFilesClient] = None - self._folders: typing.Optional[AsyncFoldersClient] = None - self._generate_key: typing.Optional[AsyncGenerateKeyClient] = None - self._groups: typing.Optional[AsyncGroupsClient] = None - self._issues: typing.Optional[AsyncIssuesClient] = None - self._link_token: typing.Optional[AsyncLinkTokenClient] = None - self._linked_accounts: typing.Optional[AsyncLinkedAccountsClient] = None - self._passthrough: typing.Optional[ - resources_filestorage_resources_passthrough_client_AsyncPassthroughClient - ] = None - self._regenerate_key: typing.Optional[AsyncRegenerateKeyClient] = None - self._sync_status: typing.Optional[AsyncSyncStatusClient] = None - self._force_resync: typing.Optional[AsyncForceResyncClient] = None - self._users: typing.Optional[AsyncUsersClient] = None - self._webhook_receivers: typing.Optional[AsyncWebhookReceiversClient] = None - - @property - def with_raw_response(self) -> AsyncRawFilestorageClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawFilestorageClient - """ - return self._raw_client - - @property - def account_details(self): - if self._account_details is None: - from .resources.account_details.client import AsyncAccountDetailsClient # noqa: E402 - - self._account_details = AsyncAccountDetailsClient(client_wrapper=self._client_wrapper) - return self._account_details - - @property - def account_token(self): - if self._account_token is None: - from .resources.account_token.client import AsyncAccountTokenClient # noqa: E402 - - self._account_token = AsyncAccountTokenClient(client_wrapper=self._client_wrapper) - return self._account_token - - @property - def async_passthrough(self): - if self._async_passthrough is None: - from .resources.async_passthrough.client import AsyncAsyncPassthroughClient # noqa: E402 - - self._async_passthrough = AsyncAsyncPassthroughClient(client_wrapper=self._client_wrapper) - return self._async_passthrough - - @property - def audit_trail(self): - if self._audit_trail is None: - from .resources.audit_trail.client import AsyncAuditTrailClient # noqa: E402 - - self._audit_trail = AsyncAuditTrailClient(client_wrapper=self._client_wrapper) - return self._audit_trail - - @property - def available_actions(self): - if self._available_actions is None: - from .resources.available_actions.client import AsyncAvailableActionsClient # noqa: E402 - - self._available_actions = AsyncAvailableActionsClient(client_wrapper=self._client_wrapper) - return self._available_actions - - @property - def scopes(self): - if self._scopes is None: - from .resources.scopes.client import AsyncScopesClient # noqa: E402 - - self._scopes = AsyncScopesClient(client_wrapper=self._client_wrapper) - return self._scopes - - @property - def delete_account(self): - if self._delete_account is None: - from .resources.delete_account.client import AsyncDeleteAccountClient # noqa: E402 - - self._delete_account = AsyncDeleteAccountClient(client_wrapper=self._client_wrapper) - return self._delete_account - - @property - def drives(self): - if self._drives is None: - from .resources.drives.client import AsyncDrivesClient # noqa: E402 - - self._drives = AsyncDrivesClient(client_wrapper=self._client_wrapper) - return self._drives - - @property - def field_mapping(self): - if self._field_mapping is None: - from .resources.field_mapping.client import AsyncFieldMappingClient # noqa: E402 - - self._field_mapping = AsyncFieldMappingClient(client_wrapper=self._client_wrapper) - return self._field_mapping - - @property - def files(self): - if self._files is None: - from .resources.files.client import AsyncFilesClient # noqa: E402 - - self._files = AsyncFilesClient(client_wrapper=self._client_wrapper) - return self._files - - @property - def folders(self): - if self._folders is None: - from .resources.folders.client import AsyncFoldersClient # noqa: E402 - - self._folders = AsyncFoldersClient(client_wrapper=self._client_wrapper) - return self._folders - - @property - def generate_key(self): - if self._generate_key is None: - from .resources.generate_key.client import AsyncGenerateKeyClient # noqa: E402 - - self._generate_key = AsyncGenerateKeyClient(client_wrapper=self._client_wrapper) - return self._generate_key - - @property - def groups(self): - if self._groups is None: - from .resources.groups.client import AsyncGroupsClient # noqa: E402 - - self._groups = AsyncGroupsClient(client_wrapper=self._client_wrapper) - return self._groups - - @property - def issues(self): - if self._issues is None: - from .resources.issues.client import AsyncIssuesClient # noqa: E402 - - self._issues = AsyncIssuesClient(client_wrapper=self._client_wrapper) - return self._issues - - @property - def link_token(self): - if self._link_token is None: - from .resources.link_token.client import AsyncLinkTokenClient # noqa: E402 - - self._link_token = AsyncLinkTokenClient(client_wrapper=self._client_wrapper) - return self._link_token - - @property - def linked_accounts(self): - if self._linked_accounts is None: - from .resources.linked_accounts.client import AsyncLinkedAccountsClient # noqa: E402 - - self._linked_accounts = AsyncLinkedAccountsClient(client_wrapper=self._client_wrapper) - return self._linked_accounts - - @property - def passthrough(self): - if self._passthrough is None: - from .resources.passthrough.client import ( - AsyncPassthroughClient as resources_filestorage_resources_passthrough_client_AsyncPassthroughClient, # noqa: E402 - ) - - self._passthrough = resources_filestorage_resources_passthrough_client_AsyncPassthroughClient( - client_wrapper=self._client_wrapper - ) - return self._passthrough - - @property - def regenerate_key(self): - if self._regenerate_key is None: - from .resources.regenerate_key.client import AsyncRegenerateKeyClient # noqa: E402 - - self._regenerate_key = AsyncRegenerateKeyClient(client_wrapper=self._client_wrapper) - return self._regenerate_key - - @property - def sync_status(self): - if self._sync_status is None: - from .resources.sync_status.client import AsyncSyncStatusClient # noqa: E402 - - self._sync_status = AsyncSyncStatusClient(client_wrapper=self._client_wrapper) - return self._sync_status - - @property - def force_resync(self): - if self._force_resync is None: - from .resources.force_resync.client import AsyncForceResyncClient # noqa: E402 - - self._force_resync = AsyncForceResyncClient(client_wrapper=self._client_wrapper) - return self._force_resync - - @property - def users(self): - if self._users is None: - from .resources.users.client import AsyncUsersClient # noqa: E402 - - self._users = AsyncUsersClient(client_wrapper=self._client_wrapper) - return self._users - - @property - def webhook_receivers(self): - if self._webhook_receivers is None: - from .resources.webhook_receivers.client import AsyncWebhookReceiversClient # noqa: E402 - - self._webhook_receivers = AsyncWebhookReceiversClient(client_wrapper=self._client_wrapper) - return self._webhook_receivers diff --git a/src/merge/resources/filestorage/raw_client.py b/src/merge/resources/filestorage/raw_client.py deleted file mode 100644 index afa5f5ca..00000000 --- a/src/merge/resources/filestorage/raw_client.py +++ /dev/null @@ -1,13 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper - - -class RawFilestorageClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - -class AsyncRawFilestorageClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper diff --git a/src/merge/resources/filestorage/resources/__init__.py b/src/merge/resources/filestorage/resources/__init__.py deleted file mode 100644 index de5b48ff..00000000 --- a/src/merge/resources/filestorage/resources/__init__.py +++ /dev/null @@ -1,129 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - -import typing -from importlib import import_module - -if typing.TYPE_CHECKING: - from . import ( - account_details, - account_token, - async_passthrough, - audit_trail, - available_actions, - delete_account, - drives, - field_mapping, - files, - folders, - force_resync, - generate_key, - groups, - issues, - link_token, - linked_accounts, - passthrough, - regenerate_key, - scopes, - sync_status, - users, - webhook_receivers, - ) - from .async_passthrough import AsyncPassthroughRetrieveResponse - from .files import ( - FilesDownloadRequestMetaListRequestOrderBy, - FilesListRequestExpand, - FilesListRequestOrderBy, - FilesRetrieveRequestExpand, - ) - from .folders import FoldersListRequestExpand, FoldersRetrieveRequestExpand - from .issues import IssuesListRequestStatus - from .linked_accounts import LinkedAccountsListRequestCategory -_dynamic_imports: typing.Dict[str, str] = { - "AsyncPassthroughRetrieveResponse": ".async_passthrough", - "FilesDownloadRequestMetaListRequestOrderBy": ".files", - "FilesListRequestExpand": ".files", - "FilesListRequestOrderBy": ".files", - "FilesRetrieveRequestExpand": ".files", - "FoldersListRequestExpand": ".folders", - "FoldersRetrieveRequestExpand": ".folders", - "IssuesListRequestStatus": ".issues", - "LinkedAccountsListRequestCategory": ".linked_accounts", - "account_details": ".", - "account_token": ".", - "async_passthrough": ".", - "audit_trail": ".", - "available_actions": ".", - "delete_account": ".", - "drives": ".", - "field_mapping": ".", - "files": ".", - "folders": ".", - "force_resync": ".", - "generate_key": ".", - "groups": ".", - "issues": ".", - "link_token": ".", - "linked_accounts": ".", - "passthrough": ".", - "regenerate_key": ".", - "scopes": ".", - "sync_status": ".", - "users": ".", - "webhook_receivers": ".", -} - - -def __getattr__(attr_name: str) -> typing.Any: - module_name = _dynamic_imports.get(attr_name) - if module_name is None: - raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") - try: - module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result - except ImportError as e: - raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e - except AttributeError as e: - raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e - - -def __dir__(): - lazy_attrs = list(_dynamic_imports.keys()) - return sorted(lazy_attrs) - - -__all__ = [ - "AsyncPassthroughRetrieveResponse", - "FilesDownloadRequestMetaListRequestOrderBy", - "FilesListRequestExpand", - "FilesListRequestOrderBy", - "FilesRetrieveRequestExpand", - "FoldersListRequestExpand", - "FoldersRetrieveRequestExpand", - "IssuesListRequestStatus", - "LinkedAccountsListRequestCategory", - "account_details", - "account_token", - "async_passthrough", - "audit_trail", - "available_actions", - "delete_account", - "drives", - "field_mapping", - "files", - "folders", - "force_resync", - "generate_key", - "groups", - "issues", - "link_token", - "linked_accounts", - "passthrough", - "regenerate_key", - "scopes", - "sync_status", - "users", - "webhook_receivers", -] diff --git a/src/merge/resources/filestorage/resources/account_details/__init__.py b/src/merge/resources/filestorage/resources/account_details/__init__.py deleted file mode 100644 index 5cde0202..00000000 --- a/src/merge/resources/filestorage/resources/account_details/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - diff --git a/src/merge/resources/filestorage/resources/account_details/client.py b/src/merge/resources/filestorage/resources/account_details/client.py deleted file mode 100644 index 266a2220..00000000 --- a/src/merge/resources/filestorage/resources/account_details/client.py +++ /dev/null @@ -1,102 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.account_details import AccountDetails -from .raw_client import AsyncRawAccountDetailsClient, RawAccountDetailsClient - - -class AccountDetailsClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawAccountDetailsClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawAccountDetailsClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawAccountDetailsClient - """ - return self._raw_client - - def retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> AccountDetails: - """ - Get details for a linked account. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AccountDetails - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.filestorage.account_details.retrieve() - """ - _response = self._raw_client.retrieve(request_options=request_options) - return _response.data - - -class AsyncAccountDetailsClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawAccountDetailsClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawAccountDetailsClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawAccountDetailsClient - """ - return self._raw_client - - async def retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> AccountDetails: - """ - Get details for a linked account. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AccountDetails - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.filestorage.account_details.retrieve() - - - asyncio.run(main()) - """ - _response = await self._raw_client.retrieve(request_options=request_options) - return _response.data diff --git a/src/merge/resources/filestorage/resources/account_token/__init__.py b/src/merge/resources/filestorage/resources/account_token/__init__.py deleted file mode 100644 index 5cde0202..00000000 --- a/src/merge/resources/filestorage/resources/account_token/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - diff --git a/src/merge/resources/filestorage/resources/account_token/client.py b/src/merge/resources/filestorage/resources/account_token/client.py deleted file mode 100644 index 7ca535bd..00000000 --- a/src/merge/resources/filestorage/resources/account_token/client.py +++ /dev/null @@ -1,112 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.account_token import AccountToken -from .raw_client import AsyncRawAccountTokenClient, RawAccountTokenClient - - -class AccountTokenClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawAccountTokenClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawAccountTokenClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawAccountTokenClient - """ - return self._raw_client - - def retrieve(self, public_token: str, *, request_options: typing.Optional[RequestOptions] = None) -> AccountToken: - """ - Returns the account token for the end user with the provided public token. - - Parameters - ---------- - public_token : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AccountToken - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.filestorage.account_token.retrieve( - public_token="public_token", - ) - """ - _response = self._raw_client.retrieve(public_token, request_options=request_options) - return _response.data - - -class AsyncAccountTokenClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawAccountTokenClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawAccountTokenClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawAccountTokenClient - """ - return self._raw_client - - async def retrieve( - self, public_token: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> AccountToken: - """ - Returns the account token for the end user with the provided public token. - - Parameters - ---------- - public_token : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AccountToken - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.filestorage.account_token.retrieve( - public_token="public_token", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.retrieve(public_token, request_options=request_options) - return _response.data diff --git a/src/merge/resources/filestorage/resources/async_passthrough/__init__.py b/src/merge/resources/filestorage/resources/async_passthrough/__init__.py deleted file mode 100644 index 375c7953..00000000 --- a/src/merge/resources/filestorage/resources/async_passthrough/__init__.py +++ /dev/null @@ -1,32 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - -import typing -from importlib import import_module - -if typing.TYPE_CHECKING: - from .types import AsyncPassthroughRetrieveResponse -_dynamic_imports: typing.Dict[str, str] = {"AsyncPassthroughRetrieveResponse": ".types"} - - -def __getattr__(attr_name: str) -> typing.Any: - module_name = _dynamic_imports.get(attr_name) - if module_name is None: - raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") - try: - module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result - except ImportError as e: - raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e - except AttributeError as e: - raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e - - -def __dir__(): - lazy_attrs = list(_dynamic_imports.keys()) - return sorted(lazy_attrs) - - -__all__ = ["AsyncPassthroughRetrieveResponse"] diff --git a/src/merge/resources/filestorage/resources/async_passthrough/client.py b/src/merge/resources/filestorage/resources/async_passthrough/client.py deleted file mode 100644 index 6cd6968b..00000000 --- a/src/merge/resources/filestorage/resources/async_passthrough/client.py +++ /dev/null @@ -1,201 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.async_passthrough_reciept import AsyncPassthroughReciept -from ...types.data_passthrough_request import DataPassthroughRequest -from .raw_client import AsyncRawAsyncPassthroughClient, RawAsyncPassthroughClient -from .types.async_passthrough_retrieve_response import AsyncPassthroughRetrieveResponse - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class AsyncPassthroughClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawAsyncPassthroughClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawAsyncPassthroughClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawAsyncPassthroughClient - """ - return self._raw_client - - def create( - self, *, request: DataPassthroughRequest, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncPassthroughReciept: - """ - Asynchronously pull data from an endpoint not currently supported by Merge. - - Parameters - ---------- - request : DataPassthroughRequest - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncPassthroughReciept - - - Examples - -------- - from merge import Merge - from merge.resources.filestorage import DataPassthroughRequest, MethodEnum - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.filestorage.async_passthrough.create( - request=DataPassthroughRequest( - method=MethodEnum.GET, - path="/scooters", - ), - ) - """ - _response = self._raw_client.create(request=request, request_options=request_options) - return _response.data - - def retrieve( - self, async_passthrough_receipt_id: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncPassthroughRetrieveResponse: - """ - Retrieves data from earlier async-passthrough POST request - - Parameters - ---------- - async_passthrough_receipt_id : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncPassthroughRetrieveResponse - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.filestorage.async_passthrough.retrieve( - async_passthrough_receipt_id="async_passthrough_receipt_id", - ) - """ - _response = self._raw_client.retrieve(async_passthrough_receipt_id, request_options=request_options) - return _response.data - - -class AsyncAsyncPassthroughClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawAsyncPassthroughClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawAsyncPassthroughClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawAsyncPassthroughClient - """ - return self._raw_client - - async def create( - self, *, request: DataPassthroughRequest, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncPassthroughReciept: - """ - Asynchronously pull data from an endpoint not currently supported by Merge. - - Parameters - ---------- - request : DataPassthroughRequest - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncPassthroughReciept - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - from merge.resources.filestorage import DataPassthroughRequest, MethodEnum - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.filestorage.async_passthrough.create( - request=DataPassthroughRequest( - method=MethodEnum.GET, - path="/scooters", - ), - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.create(request=request, request_options=request_options) - return _response.data - - async def retrieve( - self, async_passthrough_receipt_id: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncPassthroughRetrieveResponse: - """ - Retrieves data from earlier async-passthrough POST request - - Parameters - ---------- - async_passthrough_receipt_id : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncPassthroughRetrieveResponse - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.filestorage.async_passthrough.retrieve( - async_passthrough_receipt_id="async_passthrough_receipt_id", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.retrieve(async_passthrough_receipt_id, request_options=request_options) - return _response.data diff --git a/src/merge/resources/filestorage/resources/async_passthrough/types/__init__.py b/src/merge/resources/filestorage/resources/async_passthrough/types/__init__.py deleted file mode 100644 index f6e9bec9..00000000 --- a/src/merge/resources/filestorage/resources/async_passthrough/types/__init__.py +++ /dev/null @@ -1,32 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - -import typing -from importlib import import_module - -if typing.TYPE_CHECKING: - from .async_passthrough_retrieve_response import AsyncPassthroughRetrieveResponse -_dynamic_imports: typing.Dict[str, str] = {"AsyncPassthroughRetrieveResponse": ".async_passthrough_retrieve_response"} - - -def __getattr__(attr_name: str) -> typing.Any: - module_name = _dynamic_imports.get(attr_name) - if module_name is None: - raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") - try: - module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result - except ImportError as e: - raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e - except AttributeError as e: - raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e - - -def __dir__(): - lazy_attrs = list(_dynamic_imports.keys()) - return sorted(lazy_attrs) - - -__all__ = ["AsyncPassthroughRetrieveResponse"] diff --git a/src/merge/resources/filestorage/resources/async_passthrough/types/async_passthrough_retrieve_response.py b/src/merge/resources/filestorage/resources/async_passthrough/types/async_passthrough_retrieve_response.py deleted file mode 100644 index f8f87c18..00000000 --- a/src/merge/resources/filestorage/resources/async_passthrough/types/async_passthrough_retrieve_response.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from ....types.remote_response import RemoteResponse - -AsyncPassthroughRetrieveResponse = typing.Union[RemoteResponse, str] diff --git a/src/merge/resources/filestorage/resources/audit_trail/__init__.py b/src/merge/resources/filestorage/resources/audit_trail/__init__.py deleted file mode 100644 index 5cde0202..00000000 --- a/src/merge/resources/filestorage/resources/audit_trail/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - diff --git a/src/merge/resources/filestorage/resources/audit_trail/client.py b/src/merge/resources/filestorage/resources/audit_trail/client.py deleted file mode 100644 index cd4b170a..00000000 --- a/src/merge/resources/filestorage/resources/audit_trail/client.py +++ /dev/null @@ -1,188 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.paginated_audit_log_event_list import PaginatedAuditLogEventList -from .raw_client import AsyncRawAuditTrailClient, RawAuditTrailClient - - -class AuditTrailClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawAuditTrailClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawAuditTrailClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawAuditTrailClient - """ - return self._raw_client - - def list( - self, - *, - cursor: typing.Optional[str] = None, - end_date: typing.Optional[str] = None, - event_type: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - start_date: typing.Optional[str] = None, - user_email: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAuditLogEventList: - """ - Gets a list of audit trail events. - - Parameters - ---------- - cursor : typing.Optional[str] - The pagination cursor value. - - end_date : typing.Optional[str] - If included, will only include audit trail events that occurred before this time - - event_type : typing.Optional[str] - If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` - - page_size : typing.Optional[int] - Number of results to return per page. - - start_date : typing.Optional[str] - If included, will only include audit trail events that occurred after this time - - user_email : typing.Optional[str] - If provided, this will return events associated with the specified user email. Please note that the email address reflects the user's email at the time of the event, and may not be their current email. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedAuditLogEventList - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.filestorage.audit_trail.list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_date="end_date", - event_type="event_type", - page_size=1, - start_date="start_date", - user_email="user_email", - ) - """ - _response = self._raw_client.list( - cursor=cursor, - end_date=end_date, - event_type=event_type, - page_size=page_size, - start_date=start_date, - user_email=user_email, - request_options=request_options, - ) - return _response.data - - -class AsyncAuditTrailClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawAuditTrailClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawAuditTrailClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawAuditTrailClient - """ - return self._raw_client - - async def list( - self, - *, - cursor: typing.Optional[str] = None, - end_date: typing.Optional[str] = None, - event_type: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - start_date: typing.Optional[str] = None, - user_email: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAuditLogEventList: - """ - Gets a list of audit trail events. - - Parameters - ---------- - cursor : typing.Optional[str] - The pagination cursor value. - - end_date : typing.Optional[str] - If included, will only include audit trail events that occurred before this time - - event_type : typing.Optional[str] - If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` - - page_size : typing.Optional[int] - Number of results to return per page. - - start_date : typing.Optional[str] - If included, will only include audit trail events that occurred after this time - - user_email : typing.Optional[str] - If provided, this will return events associated with the specified user email. Please note that the email address reflects the user's email at the time of the event, and may not be their current email. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedAuditLogEventList - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.filestorage.audit_trail.list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_date="end_date", - event_type="event_type", - page_size=1, - start_date="start_date", - user_email="user_email", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.list( - cursor=cursor, - end_date=end_date, - event_type=event_type, - page_size=page_size, - start_date=start_date, - user_email=user_email, - request_options=request_options, - ) - return _response.data diff --git a/src/merge/resources/filestorage/resources/audit_trail/raw_client.py b/src/merge/resources/filestorage/resources/audit_trail/raw_client.py deleted file mode 100644 index 7d7369a4..00000000 --- a/src/merge/resources/filestorage/resources/audit_trail/raw_client.py +++ /dev/null @@ -1,161 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.paginated_audit_log_event_list import PaginatedAuditLogEventList - - -class RawAuditTrailClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def list( - self, - *, - cursor: typing.Optional[str] = None, - end_date: typing.Optional[str] = None, - event_type: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - start_date: typing.Optional[str] = None, - user_email: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedAuditLogEventList]: - """ - Gets a list of audit trail events. - - Parameters - ---------- - cursor : typing.Optional[str] - The pagination cursor value. - - end_date : typing.Optional[str] - If included, will only include audit trail events that occurred before this time - - event_type : typing.Optional[str] - If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` - - page_size : typing.Optional[int] - Number of results to return per page. - - start_date : typing.Optional[str] - If included, will only include audit trail events that occurred after this time - - user_email : typing.Optional[str] - If provided, this will return events associated with the specified user email. Please note that the email address reflects the user's email at the time of the event, and may not be their current email. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[PaginatedAuditLogEventList] - - """ - _response = self._client_wrapper.httpx_client.request( - "filestorage/v1/audit-trail", - method="GET", - params={ - "cursor": cursor, - "end_date": end_date, - "event_type": event_type, - "page_size": page_size, - "start_date": start_date, - "user_email": user_email, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedAuditLogEventList, - construct_type( - type_=PaginatedAuditLogEventList, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawAuditTrailClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def list( - self, - *, - cursor: typing.Optional[str] = None, - end_date: typing.Optional[str] = None, - event_type: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - start_date: typing.Optional[str] = None, - user_email: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedAuditLogEventList]: - """ - Gets a list of audit trail events. - - Parameters - ---------- - cursor : typing.Optional[str] - The pagination cursor value. - - end_date : typing.Optional[str] - If included, will only include audit trail events that occurred before this time - - event_type : typing.Optional[str] - If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` - - page_size : typing.Optional[int] - Number of results to return per page. - - start_date : typing.Optional[str] - If included, will only include audit trail events that occurred after this time - - user_email : typing.Optional[str] - If provided, this will return events associated with the specified user email. Please note that the email address reflects the user's email at the time of the event, and may not be their current email. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[PaginatedAuditLogEventList] - - """ - _response = await self._client_wrapper.httpx_client.request( - "filestorage/v1/audit-trail", - method="GET", - params={ - "cursor": cursor, - "end_date": end_date, - "event_type": event_type, - "page_size": page_size, - "start_date": start_date, - "user_email": user_email, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedAuditLogEventList, - construct_type( - type_=PaginatedAuditLogEventList, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/filestorage/resources/available_actions/__init__.py b/src/merge/resources/filestorage/resources/available_actions/__init__.py deleted file mode 100644 index 5cde0202..00000000 --- a/src/merge/resources/filestorage/resources/available_actions/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - diff --git a/src/merge/resources/filestorage/resources/available_actions/client.py b/src/merge/resources/filestorage/resources/available_actions/client.py deleted file mode 100644 index 22ad10c7..00000000 --- a/src/merge/resources/filestorage/resources/available_actions/client.py +++ /dev/null @@ -1,102 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.available_actions import AvailableActions -from .raw_client import AsyncRawAvailableActionsClient, RawAvailableActionsClient - - -class AvailableActionsClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawAvailableActionsClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawAvailableActionsClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawAvailableActionsClient - """ - return self._raw_client - - def retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> AvailableActions: - """ - Returns a list of models and actions available for an account. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AvailableActions - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.filestorage.available_actions.retrieve() - """ - _response = self._raw_client.retrieve(request_options=request_options) - return _response.data - - -class AsyncAvailableActionsClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawAvailableActionsClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawAvailableActionsClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawAvailableActionsClient - """ - return self._raw_client - - async def retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> AvailableActions: - """ - Returns a list of models and actions available for an account. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AvailableActions - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.filestorage.available_actions.retrieve() - - - asyncio.run(main()) - """ - _response = await self._raw_client.retrieve(request_options=request_options) - return _response.data diff --git a/src/merge/resources/filestorage/resources/delete_account/__init__.py b/src/merge/resources/filestorage/resources/delete_account/__init__.py deleted file mode 100644 index 5cde0202..00000000 --- a/src/merge/resources/filestorage/resources/delete_account/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - diff --git a/src/merge/resources/filestorage/resources/delete_account/client.py b/src/merge/resources/filestorage/resources/delete_account/client.py deleted file mode 100644 index e016a7a0..00000000 --- a/src/merge/resources/filestorage/resources/delete_account/client.py +++ /dev/null @@ -1,99 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from .raw_client import AsyncRawDeleteAccountClient, RawDeleteAccountClient - - -class DeleteAccountClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawDeleteAccountClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawDeleteAccountClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawDeleteAccountClient - """ - return self._raw_client - - def delete(self, *, request_options: typing.Optional[RequestOptions] = None) -> None: - """ - Delete a linked account. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - None - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.filestorage.delete_account.delete() - """ - _response = self._raw_client.delete(request_options=request_options) - return _response.data - - -class AsyncDeleteAccountClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawDeleteAccountClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawDeleteAccountClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawDeleteAccountClient - """ - return self._raw_client - - async def delete(self, *, request_options: typing.Optional[RequestOptions] = None) -> None: - """ - Delete a linked account. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - None - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.filestorage.delete_account.delete() - - - asyncio.run(main()) - """ - _response = await self._raw_client.delete(request_options=request_options) - return _response.data diff --git a/src/merge/resources/filestorage/resources/drives/__init__.py b/src/merge/resources/filestorage/resources/drives/__init__.py deleted file mode 100644 index 5cde0202..00000000 --- a/src/merge/resources/filestorage/resources/drives/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - diff --git a/src/merge/resources/filestorage/resources/drives/client.py b/src/merge/resources/filestorage/resources/drives/client.py deleted file mode 100644 index 76710f4b..00000000 --- a/src/merge/resources/filestorage/resources/drives/client.py +++ /dev/null @@ -1,379 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.drive import Drive -from ...types.paginated_drive_list import PaginatedDriveList -from .raw_client import AsyncRawDrivesClient, RawDrivesClient - - -class DrivesClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawDrivesClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawDrivesClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawDrivesClient - """ - return self._raw_client - - def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - name: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedDriveList: - """ - Returns a list of `Drive` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - name : typing.Optional[str] - If provided, will only return drives with this name. This performs an exact match. - - page_size : typing.Optional[int] - Number of results to return per page. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedDriveList - - - Examples - -------- - import datetime - - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.filestorage.drives.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - name="name", - page_size=1, - remote_id="remote_id", - ) - """ - _response = self._raw_client.list( - created_after=created_after, - created_before=created_before, - cursor=cursor, - include_deleted_data=include_deleted_data, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - modified_after=modified_after, - modified_before=modified_before, - name=name, - page_size=page_size, - remote_id=remote_id, - request_options=request_options, - ) - return _response.data - - def retrieve( - self, - id: str, - *, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> Drive: - """ - Returns a `Drive` object with the given `id`. - - Parameters - ---------- - id : str - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - Drive - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.filestorage.drives.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, - ) - """ - _response = self._raw_client.retrieve( - id, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - request_options=request_options, - ) - return _response.data - - -class AsyncDrivesClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawDrivesClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawDrivesClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawDrivesClient - """ - return self._raw_client - - async def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - name: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedDriveList: - """ - Returns a list of `Drive` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - name : typing.Optional[str] - If provided, will only return drives with this name. This performs an exact match. - - page_size : typing.Optional[int] - Number of results to return per page. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedDriveList - - - Examples - -------- - import asyncio - import datetime - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.filestorage.drives.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - name="name", - page_size=1, - remote_id="remote_id", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.list( - created_after=created_after, - created_before=created_before, - cursor=cursor, - include_deleted_data=include_deleted_data, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - modified_after=modified_after, - modified_before=modified_before, - name=name, - page_size=page_size, - remote_id=remote_id, - request_options=request_options, - ) - return _response.data - - async def retrieve( - self, - id: str, - *, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> Drive: - """ - Returns a `Drive` object with the given `id`. - - Parameters - ---------- - id : str - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - Drive - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.filestorage.drives.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.retrieve( - id, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - request_options=request_options, - ) - return _response.data diff --git a/src/merge/resources/filestorage/resources/drives/raw_client.py b/src/merge/resources/filestorage/resources/drives/raw_client.py deleted file mode 100644 index 666e5081..00000000 --- a/src/merge/resources/filestorage/resources/drives/raw_client.py +++ /dev/null @@ -1,321 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.datetime_utils import serialize_datetime -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.jsonable_encoder import jsonable_encoder -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.drive import Drive -from ...types.paginated_drive_list import PaginatedDriveList - - -class RawDrivesClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - name: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedDriveList]: - """ - Returns a list of `Drive` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - name : typing.Optional[str] - If provided, will only return drives with this name. This performs an exact match. - - page_size : typing.Optional[int] - Number of results to return per page. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[PaginatedDriveList] - - """ - _response = self._client_wrapper.httpx_client.request( - "filestorage/v1/drives", - method="GET", - params={ - "created_after": serialize_datetime(created_after) if created_after is not None else None, - "created_before": serialize_datetime(created_before) if created_before is not None else None, - "cursor": cursor, - "include_deleted_data": include_deleted_data, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - "modified_after": serialize_datetime(modified_after) if modified_after is not None else None, - "modified_before": serialize_datetime(modified_before) if modified_before is not None else None, - "name": name, - "page_size": page_size, - "remote_id": remote_id, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedDriveList, - construct_type( - type_=PaginatedDriveList, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def retrieve( - self, - id: str, - *, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[Drive]: - """ - Returns a `Drive` object with the given `id`. - - Parameters - ---------- - id : str - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[Drive] - - """ - _response = self._client_wrapper.httpx_client.request( - f"filestorage/v1/drives/{jsonable_encoder(id)}", - method="GET", - params={ - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - Drive, - construct_type( - type_=Drive, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawDrivesClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - name: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedDriveList]: - """ - Returns a list of `Drive` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - name : typing.Optional[str] - If provided, will only return drives with this name. This performs an exact match. - - page_size : typing.Optional[int] - Number of results to return per page. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[PaginatedDriveList] - - """ - _response = await self._client_wrapper.httpx_client.request( - "filestorage/v1/drives", - method="GET", - params={ - "created_after": serialize_datetime(created_after) if created_after is not None else None, - "created_before": serialize_datetime(created_before) if created_before is not None else None, - "cursor": cursor, - "include_deleted_data": include_deleted_data, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - "modified_after": serialize_datetime(modified_after) if modified_after is not None else None, - "modified_before": serialize_datetime(modified_before) if modified_before is not None else None, - "name": name, - "page_size": page_size, - "remote_id": remote_id, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedDriveList, - construct_type( - type_=PaginatedDriveList, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def retrieve( - self, - id: str, - *, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[Drive]: - """ - Returns a `Drive` object with the given `id`. - - Parameters - ---------- - id : str - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[Drive] - - """ - _response = await self._client_wrapper.httpx_client.request( - f"filestorage/v1/drives/{jsonable_encoder(id)}", - method="GET", - params={ - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - Drive, - construct_type( - type_=Drive, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/filestorage/resources/field_mapping/__init__.py b/src/merge/resources/filestorage/resources/field_mapping/__init__.py deleted file mode 100644 index 5cde0202..00000000 --- a/src/merge/resources/filestorage/resources/field_mapping/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - diff --git a/src/merge/resources/filestorage/resources/field_mapping/client.py b/src/merge/resources/filestorage/resources/field_mapping/client.py deleted file mode 100644 index e1e40571..00000000 --- a/src/merge/resources/filestorage/resources/field_mapping/client.py +++ /dev/null @@ -1,644 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.external_target_field_api_response import ExternalTargetFieldApiResponse -from ...types.field_mapping_api_instance_response import FieldMappingApiInstanceResponse -from ...types.field_mapping_instance_response import FieldMappingInstanceResponse -from ...types.remote_field_api_response import RemoteFieldApiResponse -from .raw_client import AsyncRawFieldMappingClient, RawFieldMappingClient - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class FieldMappingClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawFieldMappingClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawFieldMappingClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawFieldMappingClient - """ - return self._raw_client - - def field_mappings_retrieve( - self, - *, - exclude_remote_field_metadata: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> FieldMappingApiInstanceResponse: - """ - Get all Field Mappings for this Linked Account. Field Mappings are mappings between third-party Remote Fields and user defined Merge fields. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). - - Parameters - ---------- - exclude_remote_field_metadata : typing.Optional[bool] - If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - FieldMappingApiInstanceResponse - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.filestorage.field_mapping.field_mappings_retrieve( - exclude_remote_field_metadata=True, - ) - """ - _response = self._raw_client.field_mappings_retrieve( - exclude_remote_field_metadata=exclude_remote_field_metadata, request_options=request_options - ) - return _response.data - - def field_mappings_create( - self, - *, - target_field_name: str, - target_field_description: str, - remote_field_traversal_path: typing.Sequence[typing.Optional[typing.Any]], - remote_method: str, - remote_url_path: str, - common_model_name: str, - exclude_remote_field_metadata: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> FieldMappingInstanceResponse: - """ - Create new Field Mappings that will be available after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. - - Parameters - ---------- - target_field_name : str - The name of the target field you want this remote field to map to. - - target_field_description : str - The description of the target field you want this remote field to map to. - - remote_field_traversal_path : typing.Sequence[typing.Optional[typing.Any]] - The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. - - remote_method : str - The method of the remote endpoint where the remote field is coming from. - - remote_url_path : str - The path of the remote endpoint where the remote field is coming from. - - common_model_name : str - The name of the Common Model that the remote field corresponds to in a given category. - - exclude_remote_field_metadata : typing.Optional[bool] - If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - FieldMappingInstanceResponse - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.filestorage.field_mapping.field_mappings_create( - exclude_remote_field_metadata=True, - target_field_name="example_target_field_name", - target_field_description="this is a example description of the target field", - remote_field_traversal_path=["example_remote_field"], - remote_method="GET", - remote_url_path="/example-url-path", - common_model_name="ExampleCommonModel", - ) - """ - _response = self._raw_client.field_mappings_create( - target_field_name=target_field_name, - target_field_description=target_field_description, - remote_field_traversal_path=remote_field_traversal_path, - remote_method=remote_method, - remote_url_path=remote_url_path, - common_model_name=common_model_name, - exclude_remote_field_metadata=exclude_remote_field_metadata, - request_options=request_options, - ) - return _response.data - - def field_mappings_destroy( - self, field_mapping_id: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> FieldMappingInstanceResponse: - """ - Deletes Field Mappings for a Linked Account. All data related to this Field Mapping will be deleted and these changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. - - Parameters - ---------- - field_mapping_id : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - FieldMappingInstanceResponse - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.filestorage.field_mapping.field_mappings_destroy( - field_mapping_id="field_mapping_id", - ) - """ - _response = self._raw_client.field_mappings_destroy(field_mapping_id, request_options=request_options) - return _response.data - - def field_mappings_partial_update( - self, - field_mapping_id: str, - *, - remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] = OMIT, - remote_method: typing.Optional[str] = OMIT, - remote_url_path: typing.Optional[str] = OMIT, - request_options: typing.Optional[RequestOptions] = None, - ) -> FieldMappingInstanceResponse: - """ - Create or update existing Field Mappings for a Linked Account. Changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. - - Parameters - ---------- - field_mapping_id : str - - remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] - The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. - - remote_method : typing.Optional[str] - The method of the remote endpoint where the remote field is coming from. - - remote_url_path : typing.Optional[str] - The path of the remote endpoint where the remote field is coming from. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - FieldMappingInstanceResponse - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.filestorage.field_mapping.field_mappings_partial_update( - field_mapping_id="field_mapping_id", - ) - """ - _response = self._raw_client.field_mappings_partial_update( - field_mapping_id, - remote_field_traversal_path=remote_field_traversal_path, - remote_method=remote_method, - remote_url_path=remote_url_path, - request_options=request_options, - ) - return _response.data - - def remote_fields_retrieve( - self, - *, - common_models: typing.Optional[str] = None, - include_example_values: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> RemoteFieldApiResponse: - """ - Get all remote fields for a Linked Account. Remote fields are third-party fields that are accessible after initial sync if remote_data is enabled. You can use remote fields to override existing Merge fields or map a new Merge field. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). - - Parameters - ---------- - common_models : typing.Optional[str] - A comma seperated list of Common Model names. If included, will only return Remote Fields for those Common Models. - - include_example_values : typing.Optional[str] - If true, will include example values, where available, for remote fields in the 3rd party platform. These examples come from active data from your customers. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - RemoteFieldApiResponse - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.filestorage.field_mapping.remote_fields_retrieve( - common_models="common_models", - include_example_values="include_example_values", - ) - """ - _response = self._raw_client.remote_fields_retrieve( - common_models=common_models, include_example_values=include_example_values, request_options=request_options - ) - return _response.data - - def target_fields_retrieve( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> ExternalTargetFieldApiResponse: - """ - Get all organization-wide Target Fields, this will not include any Linked Account specific Target Fields. Organization-wide Target Fields are additional fields appended to the Merge Common Model for all Linked Accounts in a category. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/target-fields/). - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - ExternalTargetFieldApiResponse - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.filestorage.field_mapping.target_fields_retrieve() - """ - _response = self._raw_client.target_fields_retrieve(request_options=request_options) - return _response.data - - -class AsyncFieldMappingClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawFieldMappingClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawFieldMappingClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawFieldMappingClient - """ - return self._raw_client - - async def field_mappings_retrieve( - self, - *, - exclude_remote_field_metadata: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> FieldMappingApiInstanceResponse: - """ - Get all Field Mappings for this Linked Account. Field Mappings are mappings between third-party Remote Fields and user defined Merge fields. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). - - Parameters - ---------- - exclude_remote_field_metadata : typing.Optional[bool] - If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - FieldMappingApiInstanceResponse - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.filestorage.field_mapping.field_mappings_retrieve( - exclude_remote_field_metadata=True, - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.field_mappings_retrieve( - exclude_remote_field_metadata=exclude_remote_field_metadata, request_options=request_options - ) - return _response.data - - async def field_mappings_create( - self, - *, - target_field_name: str, - target_field_description: str, - remote_field_traversal_path: typing.Sequence[typing.Optional[typing.Any]], - remote_method: str, - remote_url_path: str, - common_model_name: str, - exclude_remote_field_metadata: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> FieldMappingInstanceResponse: - """ - Create new Field Mappings that will be available after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. - - Parameters - ---------- - target_field_name : str - The name of the target field you want this remote field to map to. - - target_field_description : str - The description of the target field you want this remote field to map to. - - remote_field_traversal_path : typing.Sequence[typing.Optional[typing.Any]] - The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. - - remote_method : str - The method of the remote endpoint where the remote field is coming from. - - remote_url_path : str - The path of the remote endpoint where the remote field is coming from. - - common_model_name : str - The name of the Common Model that the remote field corresponds to in a given category. - - exclude_remote_field_metadata : typing.Optional[bool] - If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - FieldMappingInstanceResponse - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.filestorage.field_mapping.field_mappings_create( - exclude_remote_field_metadata=True, - target_field_name="example_target_field_name", - target_field_description="this is a example description of the target field", - remote_field_traversal_path=["example_remote_field"], - remote_method="GET", - remote_url_path="/example-url-path", - common_model_name="ExampleCommonModel", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.field_mappings_create( - target_field_name=target_field_name, - target_field_description=target_field_description, - remote_field_traversal_path=remote_field_traversal_path, - remote_method=remote_method, - remote_url_path=remote_url_path, - common_model_name=common_model_name, - exclude_remote_field_metadata=exclude_remote_field_metadata, - request_options=request_options, - ) - return _response.data - - async def field_mappings_destroy( - self, field_mapping_id: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> FieldMappingInstanceResponse: - """ - Deletes Field Mappings for a Linked Account. All data related to this Field Mapping will be deleted and these changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. - - Parameters - ---------- - field_mapping_id : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - FieldMappingInstanceResponse - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.filestorage.field_mapping.field_mappings_destroy( - field_mapping_id="field_mapping_id", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.field_mappings_destroy(field_mapping_id, request_options=request_options) - return _response.data - - async def field_mappings_partial_update( - self, - field_mapping_id: str, - *, - remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] = OMIT, - remote_method: typing.Optional[str] = OMIT, - remote_url_path: typing.Optional[str] = OMIT, - request_options: typing.Optional[RequestOptions] = None, - ) -> FieldMappingInstanceResponse: - """ - Create or update existing Field Mappings for a Linked Account. Changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. - - Parameters - ---------- - field_mapping_id : str - - remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] - The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. - - remote_method : typing.Optional[str] - The method of the remote endpoint where the remote field is coming from. - - remote_url_path : typing.Optional[str] - The path of the remote endpoint where the remote field is coming from. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - FieldMappingInstanceResponse - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.filestorage.field_mapping.field_mappings_partial_update( - field_mapping_id="field_mapping_id", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.field_mappings_partial_update( - field_mapping_id, - remote_field_traversal_path=remote_field_traversal_path, - remote_method=remote_method, - remote_url_path=remote_url_path, - request_options=request_options, - ) - return _response.data - - async def remote_fields_retrieve( - self, - *, - common_models: typing.Optional[str] = None, - include_example_values: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> RemoteFieldApiResponse: - """ - Get all remote fields for a Linked Account. Remote fields are third-party fields that are accessible after initial sync if remote_data is enabled. You can use remote fields to override existing Merge fields or map a new Merge field. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). - - Parameters - ---------- - common_models : typing.Optional[str] - A comma seperated list of Common Model names. If included, will only return Remote Fields for those Common Models. - - include_example_values : typing.Optional[str] - If true, will include example values, where available, for remote fields in the 3rd party platform. These examples come from active data from your customers. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - RemoteFieldApiResponse - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.filestorage.field_mapping.remote_fields_retrieve( - common_models="common_models", - include_example_values="include_example_values", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.remote_fields_retrieve( - common_models=common_models, include_example_values=include_example_values, request_options=request_options - ) - return _response.data - - async def target_fields_retrieve( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> ExternalTargetFieldApiResponse: - """ - Get all organization-wide Target Fields, this will not include any Linked Account specific Target Fields. Organization-wide Target Fields are additional fields appended to the Merge Common Model for all Linked Accounts in a category. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/target-fields/). - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - ExternalTargetFieldApiResponse - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.filestorage.field_mapping.target_fields_retrieve() - - - asyncio.run(main()) - """ - _response = await self._raw_client.target_fields_retrieve(request_options=request_options) - return _response.data diff --git a/src/merge/resources/filestorage/resources/field_mapping/raw_client.py b/src/merge/resources/filestorage/resources/field_mapping/raw_client.py deleted file mode 100644 index 02fe3e18..00000000 --- a/src/merge/resources/filestorage/resources/field_mapping/raw_client.py +++ /dev/null @@ -1,652 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.jsonable_encoder import jsonable_encoder -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.external_target_field_api_response import ExternalTargetFieldApiResponse -from ...types.field_mapping_api_instance_response import FieldMappingApiInstanceResponse -from ...types.field_mapping_instance_response import FieldMappingInstanceResponse -from ...types.remote_field_api_response import RemoteFieldApiResponse - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class RawFieldMappingClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def field_mappings_retrieve( - self, - *, - exclude_remote_field_metadata: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[FieldMappingApiInstanceResponse]: - """ - Get all Field Mappings for this Linked Account. Field Mappings are mappings between third-party Remote Fields and user defined Merge fields. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). - - Parameters - ---------- - exclude_remote_field_metadata : typing.Optional[bool] - If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[FieldMappingApiInstanceResponse] - - """ - _response = self._client_wrapper.httpx_client.request( - "filestorage/v1/field-mappings", - method="GET", - params={ - "exclude_remote_field_metadata": exclude_remote_field_metadata, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - FieldMappingApiInstanceResponse, - construct_type( - type_=FieldMappingApiInstanceResponse, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def field_mappings_create( - self, - *, - target_field_name: str, - target_field_description: str, - remote_field_traversal_path: typing.Sequence[typing.Optional[typing.Any]], - remote_method: str, - remote_url_path: str, - common_model_name: str, - exclude_remote_field_metadata: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[FieldMappingInstanceResponse]: - """ - Create new Field Mappings that will be available after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. - - Parameters - ---------- - target_field_name : str - The name of the target field you want this remote field to map to. - - target_field_description : str - The description of the target field you want this remote field to map to. - - remote_field_traversal_path : typing.Sequence[typing.Optional[typing.Any]] - The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. - - remote_method : str - The method of the remote endpoint where the remote field is coming from. - - remote_url_path : str - The path of the remote endpoint where the remote field is coming from. - - common_model_name : str - The name of the Common Model that the remote field corresponds to in a given category. - - exclude_remote_field_metadata : typing.Optional[bool] - If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[FieldMappingInstanceResponse] - - """ - _response = self._client_wrapper.httpx_client.request( - "filestorage/v1/field-mappings", - method="POST", - params={ - "exclude_remote_field_metadata": exclude_remote_field_metadata, - }, - json={ - "target_field_name": target_field_name, - "target_field_description": target_field_description, - "remote_field_traversal_path": remote_field_traversal_path, - "remote_method": remote_method, - "remote_url_path": remote_url_path, - "common_model_name": common_model_name, - }, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - FieldMappingInstanceResponse, - construct_type( - type_=FieldMappingInstanceResponse, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def field_mappings_destroy( - self, field_mapping_id: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> HttpResponse[FieldMappingInstanceResponse]: - """ - Deletes Field Mappings for a Linked Account. All data related to this Field Mapping will be deleted and these changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. - - Parameters - ---------- - field_mapping_id : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[FieldMappingInstanceResponse] - - """ - _response = self._client_wrapper.httpx_client.request( - f"filestorage/v1/field-mappings/{jsonable_encoder(field_mapping_id)}", - method="DELETE", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - FieldMappingInstanceResponse, - construct_type( - type_=FieldMappingInstanceResponse, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def field_mappings_partial_update( - self, - field_mapping_id: str, - *, - remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] = OMIT, - remote_method: typing.Optional[str] = OMIT, - remote_url_path: typing.Optional[str] = OMIT, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[FieldMappingInstanceResponse]: - """ - Create or update existing Field Mappings for a Linked Account. Changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. - - Parameters - ---------- - field_mapping_id : str - - remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] - The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. - - remote_method : typing.Optional[str] - The method of the remote endpoint where the remote field is coming from. - - remote_url_path : typing.Optional[str] - The path of the remote endpoint where the remote field is coming from. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[FieldMappingInstanceResponse] - - """ - _response = self._client_wrapper.httpx_client.request( - f"filestorage/v1/field-mappings/{jsonable_encoder(field_mapping_id)}", - method="PATCH", - json={ - "remote_field_traversal_path": remote_field_traversal_path, - "remote_method": remote_method, - "remote_url_path": remote_url_path, - }, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - FieldMappingInstanceResponse, - construct_type( - type_=FieldMappingInstanceResponse, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def remote_fields_retrieve( - self, - *, - common_models: typing.Optional[str] = None, - include_example_values: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[RemoteFieldApiResponse]: - """ - Get all remote fields for a Linked Account. Remote fields are third-party fields that are accessible after initial sync if remote_data is enabled. You can use remote fields to override existing Merge fields or map a new Merge field. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). - - Parameters - ---------- - common_models : typing.Optional[str] - A comma seperated list of Common Model names. If included, will only return Remote Fields for those Common Models. - - include_example_values : typing.Optional[str] - If true, will include example values, where available, for remote fields in the 3rd party platform. These examples come from active data from your customers. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[RemoteFieldApiResponse] - - """ - _response = self._client_wrapper.httpx_client.request( - "filestorage/v1/remote-fields", - method="GET", - params={ - "common_models": common_models, - "include_example_values": include_example_values, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - RemoteFieldApiResponse, - construct_type( - type_=RemoteFieldApiResponse, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def target_fields_retrieve( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> HttpResponse[ExternalTargetFieldApiResponse]: - """ - Get all organization-wide Target Fields, this will not include any Linked Account specific Target Fields. Organization-wide Target Fields are additional fields appended to the Merge Common Model for all Linked Accounts in a category. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/target-fields/). - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[ExternalTargetFieldApiResponse] - - """ - _response = self._client_wrapper.httpx_client.request( - "filestorage/v1/target-fields", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - ExternalTargetFieldApiResponse, - construct_type( - type_=ExternalTargetFieldApiResponse, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawFieldMappingClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def field_mappings_retrieve( - self, - *, - exclude_remote_field_metadata: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[FieldMappingApiInstanceResponse]: - """ - Get all Field Mappings for this Linked Account. Field Mappings are mappings between third-party Remote Fields and user defined Merge fields. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). - - Parameters - ---------- - exclude_remote_field_metadata : typing.Optional[bool] - If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[FieldMappingApiInstanceResponse] - - """ - _response = await self._client_wrapper.httpx_client.request( - "filestorage/v1/field-mappings", - method="GET", - params={ - "exclude_remote_field_metadata": exclude_remote_field_metadata, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - FieldMappingApiInstanceResponse, - construct_type( - type_=FieldMappingApiInstanceResponse, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def field_mappings_create( - self, - *, - target_field_name: str, - target_field_description: str, - remote_field_traversal_path: typing.Sequence[typing.Optional[typing.Any]], - remote_method: str, - remote_url_path: str, - common_model_name: str, - exclude_remote_field_metadata: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[FieldMappingInstanceResponse]: - """ - Create new Field Mappings that will be available after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. - - Parameters - ---------- - target_field_name : str - The name of the target field you want this remote field to map to. - - target_field_description : str - The description of the target field you want this remote field to map to. - - remote_field_traversal_path : typing.Sequence[typing.Optional[typing.Any]] - The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. - - remote_method : str - The method of the remote endpoint where the remote field is coming from. - - remote_url_path : str - The path of the remote endpoint where the remote field is coming from. - - common_model_name : str - The name of the Common Model that the remote field corresponds to in a given category. - - exclude_remote_field_metadata : typing.Optional[bool] - If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[FieldMappingInstanceResponse] - - """ - _response = await self._client_wrapper.httpx_client.request( - "filestorage/v1/field-mappings", - method="POST", - params={ - "exclude_remote_field_metadata": exclude_remote_field_metadata, - }, - json={ - "target_field_name": target_field_name, - "target_field_description": target_field_description, - "remote_field_traversal_path": remote_field_traversal_path, - "remote_method": remote_method, - "remote_url_path": remote_url_path, - "common_model_name": common_model_name, - }, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - FieldMappingInstanceResponse, - construct_type( - type_=FieldMappingInstanceResponse, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def field_mappings_destroy( - self, field_mapping_id: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncHttpResponse[FieldMappingInstanceResponse]: - """ - Deletes Field Mappings for a Linked Account. All data related to this Field Mapping will be deleted and these changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. - - Parameters - ---------- - field_mapping_id : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[FieldMappingInstanceResponse] - - """ - _response = await self._client_wrapper.httpx_client.request( - f"filestorage/v1/field-mappings/{jsonable_encoder(field_mapping_id)}", - method="DELETE", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - FieldMappingInstanceResponse, - construct_type( - type_=FieldMappingInstanceResponse, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def field_mappings_partial_update( - self, - field_mapping_id: str, - *, - remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] = OMIT, - remote_method: typing.Optional[str] = OMIT, - remote_url_path: typing.Optional[str] = OMIT, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[FieldMappingInstanceResponse]: - """ - Create or update existing Field Mappings for a Linked Account. Changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. - - Parameters - ---------- - field_mapping_id : str - - remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] - The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. - - remote_method : typing.Optional[str] - The method of the remote endpoint where the remote field is coming from. - - remote_url_path : typing.Optional[str] - The path of the remote endpoint where the remote field is coming from. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[FieldMappingInstanceResponse] - - """ - _response = await self._client_wrapper.httpx_client.request( - f"filestorage/v1/field-mappings/{jsonable_encoder(field_mapping_id)}", - method="PATCH", - json={ - "remote_field_traversal_path": remote_field_traversal_path, - "remote_method": remote_method, - "remote_url_path": remote_url_path, - }, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - FieldMappingInstanceResponse, - construct_type( - type_=FieldMappingInstanceResponse, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def remote_fields_retrieve( - self, - *, - common_models: typing.Optional[str] = None, - include_example_values: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[RemoteFieldApiResponse]: - """ - Get all remote fields for a Linked Account. Remote fields are third-party fields that are accessible after initial sync if remote_data is enabled. You can use remote fields to override existing Merge fields or map a new Merge field. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). - - Parameters - ---------- - common_models : typing.Optional[str] - A comma seperated list of Common Model names. If included, will only return Remote Fields for those Common Models. - - include_example_values : typing.Optional[str] - If true, will include example values, where available, for remote fields in the 3rd party platform. These examples come from active data from your customers. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[RemoteFieldApiResponse] - - """ - _response = await self._client_wrapper.httpx_client.request( - "filestorage/v1/remote-fields", - method="GET", - params={ - "common_models": common_models, - "include_example_values": include_example_values, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - RemoteFieldApiResponse, - construct_type( - type_=RemoteFieldApiResponse, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def target_fields_retrieve( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncHttpResponse[ExternalTargetFieldApiResponse]: - """ - Get all organization-wide Target Fields, this will not include any Linked Account specific Target Fields. Organization-wide Target Fields are additional fields appended to the Merge Common Model for all Linked Accounts in a category. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/target-fields/). - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[ExternalTargetFieldApiResponse] - - """ - _response = await self._client_wrapper.httpx_client.request( - "filestorage/v1/target-fields", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - ExternalTargetFieldApiResponse, - construct_type( - type_=ExternalTargetFieldApiResponse, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/filestorage/resources/files/__init__.py b/src/merge/resources/filestorage/resources/files/__init__.py deleted file mode 100644 index 6836be98..00000000 --- a/src/merge/resources/filestorage/resources/files/__init__.py +++ /dev/null @@ -1,47 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - -import typing -from importlib import import_module - -if typing.TYPE_CHECKING: - from .types import ( - FilesDownloadRequestMetaListRequestOrderBy, - FilesListRequestExpand, - FilesListRequestOrderBy, - FilesRetrieveRequestExpand, - ) -_dynamic_imports: typing.Dict[str, str] = { - "FilesDownloadRequestMetaListRequestOrderBy": ".types", - "FilesListRequestExpand": ".types", - "FilesListRequestOrderBy": ".types", - "FilesRetrieveRequestExpand": ".types", -} - - -def __getattr__(attr_name: str) -> typing.Any: - module_name = _dynamic_imports.get(attr_name) - if module_name is None: - raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") - try: - module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result - except ImportError as e: - raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e - except AttributeError as e: - raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e - - -def __dir__(): - lazy_attrs = list(_dynamic_imports.keys()) - return sorted(lazy_attrs) - - -__all__ = [ - "FilesDownloadRequestMetaListRequestOrderBy", - "FilesListRequestExpand", - "FilesListRequestOrderBy", - "FilesRetrieveRequestExpand", -] diff --git a/src/merge/resources/filestorage/resources/files/client.py b/src/merge/resources/filestorage/resources/files/client.py deleted file mode 100644 index 80a119ed..00000000 --- a/src/merge/resources/filestorage/resources/files/client.py +++ /dev/null @@ -1,1040 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.download_request_meta import DownloadRequestMeta -from ...types.file import File -from ...types.file_request import FileRequest -from ...types.file_storage_file_response import FileStorageFileResponse -from ...types.meta_response import MetaResponse -from ...types.paginated_download_request_meta_list import PaginatedDownloadRequestMetaList -from ...types.paginated_file_list import PaginatedFileList -from .raw_client import AsyncRawFilesClient, RawFilesClient -from .types.files_download_request_meta_list_request_order_by import FilesDownloadRequestMetaListRequestOrderBy -from .types.files_list_request_expand import FilesListRequestExpand -from .types.files_list_request_order_by import FilesListRequestOrderBy -from .types.files_retrieve_request_expand import FilesRetrieveRequestExpand - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class FilesClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawFilesClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawFilesClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawFilesClient - """ - return self._raw_client - - def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - drive_id: typing.Optional[str] = None, - expand: typing.Optional[FilesListRequestExpand] = None, - folder_id: typing.Optional[str] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - mime_type: typing.Optional[str] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - name: typing.Optional[str] = None, - order_by: typing.Optional[FilesListRequestOrderBy] = None, - page_size: typing.Optional[int] = None, - remote_created_after: typing.Optional[dt.datetime] = None, - remote_created_before: typing.Optional[dt.datetime] = None, - remote_id: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedFileList: - """ - Returns a list of `File` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - drive_id : typing.Optional[str] - Specifying a drive id returns only the files in that drive. Specifying null returns only the files outside the top-level drive. - - expand : typing.Optional[FilesListRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - folder_id : typing.Optional[str] - Specifying a folder id returns only the files in that folder. Specifying null returns only the files in root directory. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - mime_type : typing.Optional[str] - If provided, will only return files with these mime_types. Multiple values can be separated by commas. - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - name : typing.Optional[str] - If provided, will only return files with this name. This performs an exact match. - - order_by : typing.Optional[FilesListRequestOrderBy] - Overrides the default ordering for this endpoint. Possible values include: created_at, -created_at, modified_at, -modified_at. - - page_size : typing.Optional[int] - Number of results to return per page. - - remote_created_after : typing.Optional[dt.datetime] - If provided, will only return files created in the third party platform after this datetime. - - remote_created_before : typing.Optional[dt.datetime] - If provided, will only return files created in the third party platform before this datetime. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedFileList - - - Examples - -------- - import datetime - - from merge import Merge - from merge.resources.filestorage.resources.files import ( - FilesListRequestExpand, - FilesListRequestOrderBy, - ) - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.filestorage.files.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - drive_id="drive_id", - expand=FilesListRequestExpand.DRIVE, - folder_id="folder_id", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - mime_type="mime_type", - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - name="name", - order_by=FilesListRequestOrderBy.CREATED_AT_DESCENDING, - page_size=1, - remote_created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - remote_created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - remote_id="remote_id", - ) - """ - _response = self._raw_client.list( - created_after=created_after, - created_before=created_before, - cursor=cursor, - drive_id=drive_id, - expand=expand, - folder_id=folder_id, - include_deleted_data=include_deleted_data, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - mime_type=mime_type, - modified_after=modified_after, - modified_before=modified_before, - name=name, - order_by=order_by, - page_size=page_size, - remote_created_after=remote_created_after, - remote_created_before=remote_created_before, - remote_id=remote_id, - request_options=request_options, - ) - return _response.data - - def create( - self, - *, - model: FileRequest, - is_debug_mode: typing.Optional[bool] = None, - run_async: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> FileStorageFileResponse: - """ - Creates a `File` object with the given values. - - Parameters - ---------- - model : FileRequest - - is_debug_mode : typing.Optional[bool] - Whether to include debug fields (such as log file links) in the response. - - run_async : typing.Optional[bool] - Whether or not third-party updates should be run asynchronously. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - FileStorageFileResponse - - - Examples - -------- - from merge import Merge - from merge.resources.filestorage import FileRequest - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.filestorage.files.create( - is_debug_mode=True, - run_async=True, - model=FileRequest(), - ) - """ - _response = self._raw_client.create( - model=model, is_debug_mode=is_debug_mode, run_async=run_async, request_options=request_options - ) - return _response.data - - def retrieve( - self, - id: str, - *, - expand: typing.Optional[FilesRetrieveRequestExpand] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> File: - """ - Returns a `File` object with the given `id`. - - Parameters - ---------- - id : str - - expand : typing.Optional[FilesRetrieveRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - File - - - Examples - -------- - from merge import Merge - from merge.resources.filestorage.resources.files import ( - FilesRetrieveRequestExpand, - ) - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.filestorage.files.retrieve( - id="id", - expand=FilesRetrieveRequestExpand.DRIVE, - include_remote_data=True, - include_shell_data=True, - ) - """ - _response = self._raw_client.retrieve( - id, - expand=expand, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - request_options=request_options, - ) - return _response.data - - def download_retrieve( - self, - id: str, - *, - include_shell_data: typing.Optional[bool] = None, - mime_type: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> typing.Iterator[bytes]: - """ - Returns the `File` content with the given `id` as a stream of bytes. - - Parameters - ---------- - id : str - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - mime_type : typing.Optional[str] - If provided, specifies the export format of the file to be downloaded. For information on supported export formats, please refer to our export format help center article. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. You can pass in configuration such as `chunk_size`, and more to customize the request and response. - - Returns - ------- - typing.Iterator[bytes] - - """ - with self._raw_client.download_retrieve( - id, include_shell_data=include_shell_data, mime_type=mime_type, request_options=request_options - ) as r: - yield from r.data - - def download_request_meta_retrieve( - self, - id: str, - *, - mime_type: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> DownloadRequestMeta: - """ - Returns metadata to construct an authenticated file download request for a singular file, allowing you to download file directly from the third-party. - - Parameters - ---------- - id : str - - mime_type : typing.Optional[str] - If provided, specifies the export format of the file to be downloaded. For information on supported export formats, please refer to our export format help center article. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - DownloadRequestMeta - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.filestorage.files.download_request_meta_retrieve( - id="id", - mime_type="mime_type", - ) - """ - _response = self._raw_client.download_request_meta_retrieve( - id, mime_type=mime_type, request_options=request_options - ) - return _response.data - - def download_request_meta_list( - self, - *, - created_after: typing.Optional[str] = None, - created_before: typing.Optional[str] = None, - cursor: typing.Optional[str] = None, - ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None, - include_deleted_data: typing.Optional[bool] = None, - mime_types: typing.Optional[str] = None, - modified_after: typing.Optional[str] = None, - modified_before: typing.Optional[str] = None, - order_by: typing.Optional[FilesDownloadRequestMetaListRequestOrderBy] = None, - page_size: typing.Optional[int] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedDownloadRequestMetaList: - """ - Returns metadata to construct authenticated file download requests, allowing you to download files directly from the third-party. - - Parameters - ---------- - created_after : typing.Optional[str] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[str] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - ids : typing.Optional[typing.Union[str, typing.Sequence[str]]] - If provided, will only return objects with the given IDs. Comma-separated list of strings. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - mime_types : typing.Optional[str] - A comma-separated list of preferred MIME types in order of priority. If supported by the third-party provider, the file(s) will be returned in the first supported MIME type from the list. The default MIME type is PDF. To see supported MIME types by file type, refer to our export format help center article. - - modified_after : typing.Optional[str] - If provided, will only return objects modified after this datetime. - - modified_before : typing.Optional[str] - If provided, will only return objects modified before this datetime. - - order_by : typing.Optional[FilesDownloadRequestMetaListRequestOrderBy] - Overrides the default ordering for this endpoint. Possible values include: created_at, -created_at, modified_at, -modified_at. - - page_size : typing.Optional[int] - Number of results to return per page. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedDownloadRequestMetaList - - - Examples - -------- - from merge import Merge - from merge.resources.filestorage.resources.files import ( - FilesDownloadRequestMetaListRequestOrderBy, - ) - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.filestorage.files.download_request_meta_list( - created_after="created_after", - created_before="created_before", - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - mime_types="mime_types", - modified_after="modified_after", - modified_before="modified_before", - order_by=FilesDownloadRequestMetaListRequestOrderBy.CREATED_AT_DESCENDING, - page_size=1, - ) - """ - _response = self._raw_client.download_request_meta_list( - created_after=created_after, - created_before=created_before, - cursor=cursor, - ids=ids, - include_deleted_data=include_deleted_data, - mime_types=mime_types, - modified_after=modified_after, - modified_before=modified_before, - order_by=order_by, - page_size=page_size, - request_options=request_options, - ) - return _response.data - - def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: - """ - Returns metadata for `FileStorageFile` POSTs. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - MetaResponse - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.filestorage.files.meta_post_retrieve() - """ - _response = self._raw_client.meta_post_retrieve(request_options=request_options) - return _response.data - - -class AsyncFilesClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawFilesClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawFilesClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawFilesClient - """ - return self._raw_client - - async def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - drive_id: typing.Optional[str] = None, - expand: typing.Optional[FilesListRequestExpand] = None, - folder_id: typing.Optional[str] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - mime_type: typing.Optional[str] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - name: typing.Optional[str] = None, - order_by: typing.Optional[FilesListRequestOrderBy] = None, - page_size: typing.Optional[int] = None, - remote_created_after: typing.Optional[dt.datetime] = None, - remote_created_before: typing.Optional[dt.datetime] = None, - remote_id: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedFileList: - """ - Returns a list of `File` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - drive_id : typing.Optional[str] - Specifying a drive id returns only the files in that drive. Specifying null returns only the files outside the top-level drive. - - expand : typing.Optional[FilesListRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - folder_id : typing.Optional[str] - Specifying a folder id returns only the files in that folder. Specifying null returns only the files in root directory. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - mime_type : typing.Optional[str] - If provided, will only return files with these mime_types. Multiple values can be separated by commas. - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - name : typing.Optional[str] - If provided, will only return files with this name. This performs an exact match. - - order_by : typing.Optional[FilesListRequestOrderBy] - Overrides the default ordering for this endpoint. Possible values include: created_at, -created_at, modified_at, -modified_at. - - page_size : typing.Optional[int] - Number of results to return per page. - - remote_created_after : typing.Optional[dt.datetime] - If provided, will only return files created in the third party platform after this datetime. - - remote_created_before : typing.Optional[dt.datetime] - If provided, will only return files created in the third party platform before this datetime. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedFileList - - - Examples - -------- - import asyncio - import datetime - - from merge import AsyncMerge - from merge.resources.filestorage.resources.files import ( - FilesListRequestExpand, - FilesListRequestOrderBy, - ) - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.filestorage.files.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - drive_id="drive_id", - expand=FilesListRequestExpand.DRIVE, - folder_id="folder_id", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - mime_type="mime_type", - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - name="name", - order_by=FilesListRequestOrderBy.CREATED_AT_DESCENDING, - page_size=1, - remote_created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - remote_created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - remote_id="remote_id", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.list( - created_after=created_after, - created_before=created_before, - cursor=cursor, - drive_id=drive_id, - expand=expand, - folder_id=folder_id, - include_deleted_data=include_deleted_data, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - mime_type=mime_type, - modified_after=modified_after, - modified_before=modified_before, - name=name, - order_by=order_by, - page_size=page_size, - remote_created_after=remote_created_after, - remote_created_before=remote_created_before, - remote_id=remote_id, - request_options=request_options, - ) - return _response.data - - async def create( - self, - *, - model: FileRequest, - is_debug_mode: typing.Optional[bool] = None, - run_async: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> FileStorageFileResponse: - """ - Creates a `File` object with the given values. - - Parameters - ---------- - model : FileRequest - - is_debug_mode : typing.Optional[bool] - Whether to include debug fields (such as log file links) in the response. - - run_async : typing.Optional[bool] - Whether or not third-party updates should be run asynchronously. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - FileStorageFileResponse - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - from merge.resources.filestorage import FileRequest - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.filestorage.files.create( - is_debug_mode=True, - run_async=True, - model=FileRequest(), - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.create( - model=model, is_debug_mode=is_debug_mode, run_async=run_async, request_options=request_options - ) - return _response.data - - async def retrieve( - self, - id: str, - *, - expand: typing.Optional[FilesRetrieveRequestExpand] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> File: - """ - Returns a `File` object with the given `id`. - - Parameters - ---------- - id : str - - expand : typing.Optional[FilesRetrieveRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - File - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - from merge.resources.filestorage.resources.files import ( - FilesRetrieveRequestExpand, - ) - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.filestorage.files.retrieve( - id="id", - expand=FilesRetrieveRequestExpand.DRIVE, - include_remote_data=True, - include_shell_data=True, - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.retrieve( - id, - expand=expand, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - request_options=request_options, - ) - return _response.data - - async def download_retrieve( - self, - id: str, - *, - include_shell_data: typing.Optional[bool] = None, - mime_type: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> typing.AsyncIterator[bytes]: - """ - Returns the `File` content with the given `id` as a stream of bytes. - - Parameters - ---------- - id : str - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - mime_type : typing.Optional[str] - If provided, specifies the export format of the file to be downloaded. For information on supported export formats, please refer to our export format help center article. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. You can pass in configuration such as `chunk_size`, and more to customize the request and response. - - Returns - ------- - typing.AsyncIterator[bytes] - - """ - async with self._raw_client.download_retrieve( - id, include_shell_data=include_shell_data, mime_type=mime_type, request_options=request_options - ) as r: - async for _chunk in r.data: - yield _chunk - - async def download_request_meta_retrieve( - self, - id: str, - *, - mime_type: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> DownloadRequestMeta: - """ - Returns metadata to construct an authenticated file download request for a singular file, allowing you to download file directly from the third-party. - - Parameters - ---------- - id : str - - mime_type : typing.Optional[str] - If provided, specifies the export format of the file to be downloaded. For information on supported export formats, please refer to our export format help center article. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - DownloadRequestMeta - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.filestorage.files.download_request_meta_retrieve( - id="id", - mime_type="mime_type", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.download_request_meta_retrieve( - id, mime_type=mime_type, request_options=request_options - ) - return _response.data - - async def download_request_meta_list( - self, - *, - created_after: typing.Optional[str] = None, - created_before: typing.Optional[str] = None, - cursor: typing.Optional[str] = None, - ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None, - include_deleted_data: typing.Optional[bool] = None, - mime_types: typing.Optional[str] = None, - modified_after: typing.Optional[str] = None, - modified_before: typing.Optional[str] = None, - order_by: typing.Optional[FilesDownloadRequestMetaListRequestOrderBy] = None, - page_size: typing.Optional[int] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedDownloadRequestMetaList: - """ - Returns metadata to construct authenticated file download requests, allowing you to download files directly from the third-party. - - Parameters - ---------- - created_after : typing.Optional[str] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[str] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - ids : typing.Optional[typing.Union[str, typing.Sequence[str]]] - If provided, will only return objects with the given IDs. Comma-separated list of strings. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - mime_types : typing.Optional[str] - A comma-separated list of preferred MIME types in order of priority. If supported by the third-party provider, the file(s) will be returned in the first supported MIME type from the list. The default MIME type is PDF. To see supported MIME types by file type, refer to our export format help center article. - - modified_after : typing.Optional[str] - If provided, will only return objects modified after this datetime. - - modified_before : typing.Optional[str] - If provided, will only return objects modified before this datetime. - - order_by : typing.Optional[FilesDownloadRequestMetaListRequestOrderBy] - Overrides the default ordering for this endpoint. Possible values include: created_at, -created_at, modified_at, -modified_at. - - page_size : typing.Optional[int] - Number of results to return per page. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedDownloadRequestMetaList - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - from merge.resources.filestorage.resources.files import ( - FilesDownloadRequestMetaListRequestOrderBy, - ) - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.filestorage.files.download_request_meta_list( - created_after="created_after", - created_before="created_before", - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - mime_types="mime_types", - modified_after="modified_after", - modified_before="modified_before", - order_by=FilesDownloadRequestMetaListRequestOrderBy.CREATED_AT_DESCENDING, - page_size=1, - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.download_request_meta_list( - created_after=created_after, - created_before=created_before, - cursor=cursor, - ids=ids, - include_deleted_data=include_deleted_data, - mime_types=mime_types, - modified_after=modified_after, - modified_before=modified_before, - order_by=order_by, - page_size=page_size, - request_options=request_options, - ) - return _response.data - - async def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: - """ - Returns metadata for `FileStorageFile` POSTs. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - MetaResponse - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.filestorage.files.meta_post_retrieve() - - - asyncio.run(main()) - """ - _response = await self._raw_client.meta_post_retrieve(request_options=request_options) - return _response.data diff --git a/src/merge/resources/filestorage/resources/files/raw_client.py b/src/merge/resources/filestorage/resources/files/raw_client.py deleted file mode 100644 index 8efa7999..00000000 --- a/src/merge/resources/filestorage/resources/files/raw_client.py +++ /dev/null @@ -1,1005 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import contextlib -import datetime as dt -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.datetime_utils import serialize_datetime -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.jsonable_encoder import jsonable_encoder -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.download_request_meta import DownloadRequestMeta -from ...types.file import File -from ...types.file_request import FileRequest -from ...types.file_storage_file_response import FileStorageFileResponse -from ...types.meta_response import MetaResponse -from ...types.paginated_download_request_meta_list import PaginatedDownloadRequestMetaList -from ...types.paginated_file_list import PaginatedFileList -from .types.files_download_request_meta_list_request_order_by import FilesDownloadRequestMetaListRequestOrderBy -from .types.files_list_request_expand import FilesListRequestExpand -from .types.files_list_request_order_by import FilesListRequestOrderBy -from .types.files_retrieve_request_expand import FilesRetrieveRequestExpand - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class RawFilesClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - drive_id: typing.Optional[str] = None, - expand: typing.Optional[FilesListRequestExpand] = None, - folder_id: typing.Optional[str] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - mime_type: typing.Optional[str] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - name: typing.Optional[str] = None, - order_by: typing.Optional[FilesListRequestOrderBy] = None, - page_size: typing.Optional[int] = None, - remote_created_after: typing.Optional[dt.datetime] = None, - remote_created_before: typing.Optional[dt.datetime] = None, - remote_id: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedFileList]: - """ - Returns a list of `File` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - drive_id : typing.Optional[str] - Specifying a drive id returns only the files in that drive. Specifying null returns only the files outside the top-level drive. - - expand : typing.Optional[FilesListRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - folder_id : typing.Optional[str] - Specifying a folder id returns only the files in that folder. Specifying null returns only the files in root directory. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - mime_type : typing.Optional[str] - If provided, will only return files with these mime_types. Multiple values can be separated by commas. - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - name : typing.Optional[str] - If provided, will only return files with this name. This performs an exact match. - - order_by : typing.Optional[FilesListRequestOrderBy] - Overrides the default ordering for this endpoint. Possible values include: created_at, -created_at, modified_at, -modified_at. - - page_size : typing.Optional[int] - Number of results to return per page. - - remote_created_after : typing.Optional[dt.datetime] - If provided, will only return files created in the third party platform after this datetime. - - remote_created_before : typing.Optional[dt.datetime] - If provided, will only return files created in the third party platform before this datetime. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[PaginatedFileList] - - """ - _response = self._client_wrapper.httpx_client.request( - "filestorage/v1/files", - method="GET", - params={ - "created_after": serialize_datetime(created_after) if created_after is not None else None, - "created_before": serialize_datetime(created_before) if created_before is not None else None, - "cursor": cursor, - "drive_id": drive_id, - "expand": expand, - "folder_id": folder_id, - "include_deleted_data": include_deleted_data, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - "mime_type": mime_type, - "modified_after": serialize_datetime(modified_after) if modified_after is not None else None, - "modified_before": serialize_datetime(modified_before) if modified_before is not None else None, - "name": name, - "order_by": order_by, - "page_size": page_size, - "remote_created_after": serialize_datetime(remote_created_after) - if remote_created_after is not None - else None, - "remote_created_before": serialize_datetime(remote_created_before) - if remote_created_before is not None - else None, - "remote_id": remote_id, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedFileList, - construct_type( - type_=PaginatedFileList, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def create( - self, - *, - model: FileRequest, - is_debug_mode: typing.Optional[bool] = None, - run_async: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[FileStorageFileResponse]: - """ - Creates a `File` object with the given values. - - Parameters - ---------- - model : FileRequest - - is_debug_mode : typing.Optional[bool] - Whether to include debug fields (such as log file links) in the response. - - run_async : typing.Optional[bool] - Whether or not third-party updates should be run asynchronously. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[FileStorageFileResponse] - - """ - _response = self._client_wrapper.httpx_client.request( - "filestorage/v1/files", - method="POST", - params={ - "is_debug_mode": is_debug_mode, - "run_async": run_async, - }, - json={ - "model": model, - }, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - FileStorageFileResponse, - construct_type( - type_=FileStorageFileResponse, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def retrieve( - self, - id: str, - *, - expand: typing.Optional[FilesRetrieveRequestExpand] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[File]: - """ - Returns a `File` object with the given `id`. - - Parameters - ---------- - id : str - - expand : typing.Optional[FilesRetrieveRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[File] - - """ - _response = self._client_wrapper.httpx_client.request( - f"filestorage/v1/files/{jsonable_encoder(id)}", - method="GET", - params={ - "expand": expand, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - File, - construct_type( - type_=File, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - @contextlib.contextmanager - def download_retrieve( - self, - id: str, - *, - include_shell_data: typing.Optional[bool] = None, - mime_type: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> typing.Iterator[HttpResponse[typing.Iterator[bytes]]]: - """ - Returns the `File` content with the given `id` as a stream of bytes. - - Parameters - ---------- - id : str - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - mime_type : typing.Optional[str] - If provided, specifies the export format of the file to be downloaded. For information on supported export formats, please refer to our export format help center article. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. You can pass in configuration such as `chunk_size`, and more to customize the request and response. - - Returns - ------- - typing.Iterator[HttpResponse[typing.Iterator[bytes]]] - - """ - with self._client_wrapper.httpx_client.stream( - f"filestorage/v1/files/{jsonable_encoder(id)}/download", - method="GET", - params={ - "include_shell_data": include_shell_data, - "mime_type": mime_type, - }, - request_options=request_options, - ) as _response: - - def _stream() -> HttpResponse[typing.Iterator[bytes]]: - try: - if 200 <= _response.status_code < 300: - _chunk_size = request_options.get("chunk_size", None) if request_options is not None else None - return HttpResponse( - response=_response, data=(_chunk for _chunk in _response.iter_bytes(chunk_size=_chunk_size)) - ) - _response.read() - _response_json = _response.json() - except JSONDecodeError: - raise ApiError( - status_code=_response.status_code, headers=dict(_response.headers), body=_response.text - ) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - yield _stream() - - def download_request_meta_retrieve( - self, - id: str, - *, - mime_type: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[DownloadRequestMeta]: - """ - Returns metadata to construct an authenticated file download request for a singular file, allowing you to download file directly from the third-party. - - Parameters - ---------- - id : str - - mime_type : typing.Optional[str] - If provided, specifies the export format of the file to be downloaded. For information on supported export formats, please refer to our export format help center article. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[DownloadRequestMeta] - - """ - _response = self._client_wrapper.httpx_client.request( - f"filestorage/v1/files/{jsonable_encoder(id)}/download/request-meta", - method="GET", - params={ - "mime_type": mime_type, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - DownloadRequestMeta, - construct_type( - type_=DownloadRequestMeta, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def download_request_meta_list( - self, - *, - created_after: typing.Optional[str] = None, - created_before: typing.Optional[str] = None, - cursor: typing.Optional[str] = None, - ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None, - include_deleted_data: typing.Optional[bool] = None, - mime_types: typing.Optional[str] = None, - modified_after: typing.Optional[str] = None, - modified_before: typing.Optional[str] = None, - order_by: typing.Optional[FilesDownloadRequestMetaListRequestOrderBy] = None, - page_size: typing.Optional[int] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedDownloadRequestMetaList]: - """ - Returns metadata to construct authenticated file download requests, allowing you to download files directly from the third-party. - - Parameters - ---------- - created_after : typing.Optional[str] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[str] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - ids : typing.Optional[typing.Union[str, typing.Sequence[str]]] - If provided, will only return objects with the given IDs. Comma-separated list of strings. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - mime_types : typing.Optional[str] - A comma-separated list of preferred MIME types in order of priority. If supported by the third-party provider, the file(s) will be returned in the first supported MIME type from the list. The default MIME type is PDF. To see supported MIME types by file type, refer to our export format help center article. - - modified_after : typing.Optional[str] - If provided, will only return objects modified after this datetime. - - modified_before : typing.Optional[str] - If provided, will only return objects modified before this datetime. - - order_by : typing.Optional[FilesDownloadRequestMetaListRequestOrderBy] - Overrides the default ordering for this endpoint. Possible values include: created_at, -created_at, modified_at, -modified_at. - - page_size : typing.Optional[int] - Number of results to return per page. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[PaginatedDownloadRequestMetaList] - - """ - _response = self._client_wrapper.httpx_client.request( - "filestorage/v1/files/download/request-meta", - method="GET", - params={ - "created_after": created_after, - "created_before": created_before, - "cursor": cursor, - "ids": ids, - "include_deleted_data": include_deleted_data, - "mime_types": mime_types, - "modified_after": modified_after, - "modified_before": modified_before, - "order_by": order_by, - "page_size": page_size, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedDownloadRequestMetaList, - construct_type( - type_=PaginatedDownloadRequestMetaList, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def meta_post_retrieve( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> HttpResponse[MetaResponse]: - """ - Returns metadata for `FileStorageFile` POSTs. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[MetaResponse] - - """ - _response = self._client_wrapper.httpx_client.request( - "filestorage/v1/files/meta/post", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - MetaResponse, - construct_type( - type_=MetaResponse, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawFilesClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - drive_id: typing.Optional[str] = None, - expand: typing.Optional[FilesListRequestExpand] = None, - folder_id: typing.Optional[str] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - mime_type: typing.Optional[str] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - name: typing.Optional[str] = None, - order_by: typing.Optional[FilesListRequestOrderBy] = None, - page_size: typing.Optional[int] = None, - remote_created_after: typing.Optional[dt.datetime] = None, - remote_created_before: typing.Optional[dt.datetime] = None, - remote_id: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedFileList]: - """ - Returns a list of `File` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - drive_id : typing.Optional[str] - Specifying a drive id returns only the files in that drive. Specifying null returns only the files outside the top-level drive. - - expand : typing.Optional[FilesListRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - folder_id : typing.Optional[str] - Specifying a folder id returns only the files in that folder. Specifying null returns only the files in root directory. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - mime_type : typing.Optional[str] - If provided, will only return files with these mime_types. Multiple values can be separated by commas. - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - name : typing.Optional[str] - If provided, will only return files with this name. This performs an exact match. - - order_by : typing.Optional[FilesListRequestOrderBy] - Overrides the default ordering for this endpoint. Possible values include: created_at, -created_at, modified_at, -modified_at. - - page_size : typing.Optional[int] - Number of results to return per page. - - remote_created_after : typing.Optional[dt.datetime] - If provided, will only return files created in the third party platform after this datetime. - - remote_created_before : typing.Optional[dt.datetime] - If provided, will only return files created in the third party platform before this datetime. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[PaginatedFileList] - - """ - _response = await self._client_wrapper.httpx_client.request( - "filestorage/v1/files", - method="GET", - params={ - "created_after": serialize_datetime(created_after) if created_after is not None else None, - "created_before": serialize_datetime(created_before) if created_before is not None else None, - "cursor": cursor, - "drive_id": drive_id, - "expand": expand, - "folder_id": folder_id, - "include_deleted_data": include_deleted_data, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - "mime_type": mime_type, - "modified_after": serialize_datetime(modified_after) if modified_after is not None else None, - "modified_before": serialize_datetime(modified_before) if modified_before is not None else None, - "name": name, - "order_by": order_by, - "page_size": page_size, - "remote_created_after": serialize_datetime(remote_created_after) - if remote_created_after is not None - else None, - "remote_created_before": serialize_datetime(remote_created_before) - if remote_created_before is not None - else None, - "remote_id": remote_id, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedFileList, - construct_type( - type_=PaginatedFileList, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def create( - self, - *, - model: FileRequest, - is_debug_mode: typing.Optional[bool] = None, - run_async: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[FileStorageFileResponse]: - """ - Creates a `File` object with the given values. - - Parameters - ---------- - model : FileRequest - - is_debug_mode : typing.Optional[bool] - Whether to include debug fields (such as log file links) in the response. - - run_async : typing.Optional[bool] - Whether or not third-party updates should be run asynchronously. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[FileStorageFileResponse] - - """ - _response = await self._client_wrapper.httpx_client.request( - "filestorage/v1/files", - method="POST", - params={ - "is_debug_mode": is_debug_mode, - "run_async": run_async, - }, - json={ - "model": model, - }, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - FileStorageFileResponse, - construct_type( - type_=FileStorageFileResponse, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def retrieve( - self, - id: str, - *, - expand: typing.Optional[FilesRetrieveRequestExpand] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[File]: - """ - Returns a `File` object with the given `id`. - - Parameters - ---------- - id : str - - expand : typing.Optional[FilesRetrieveRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[File] - - """ - _response = await self._client_wrapper.httpx_client.request( - f"filestorage/v1/files/{jsonable_encoder(id)}", - method="GET", - params={ - "expand": expand, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - File, - construct_type( - type_=File, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - @contextlib.asynccontextmanager - async def download_retrieve( - self, - id: str, - *, - include_shell_data: typing.Optional[bool] = None, - mime_type: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> typing.AsyncIterator[AsyncHttpResponse[typing.AsyncIterator[bytes]]]: - """ - Returns the `File` content with the given `id` as a stream of bytes. - - Parameters - ---------- - id : str - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - mime_type : typing.Optional[str] - If provided, specifies the export format of the file to be downloaded. For information on supported export formats, please refer to our export format help center article. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. You can pass in configuration such as `chunk_size`, and more to customize the request and response. - - Returns - ------- - typing.AsyncIterator[AsyncHttpResponse[typing.AsyncIterator[bytes]]] - - """ - async with self._client_wrapper.httpx_client.stream( - f"filestorage/v1/files/{jsonable_encoder(id)}/download", - method="GET", - params={ - "include_shell_data": include_shell_data, - "mime_type": mime_type, - }, - request_options=request_options, - ) as _response: - - async def _stream() -> AsyncHttpResponse[typing.AsyncIterator[bytes]]: - try: - if 200 <= _response.status_code < 300: - _chunk_size = request_options.get("chunk_size", None) if request_options is not None else None - return AsyncHttpResponse( - response=_response, - data=(_chunk async for _chunk in _response.aiter_bytes(chunk_size=_chunk_size)), - ) - await _response.aread() - _response_json = _response.json() - except JSONDecodeError: - raise ApiError( - status_code=_response.status_code, headers=dict(_response.headers), body=_response.text - ) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - yield await _stream() - - async def download_request_meta_retrieve( - self, - id: str, - *, - mime_type: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[DownloadRequestMeta]: - """ - Returns metadata to construct an authenticated file download request for a singular file, allowing you to download file directly from the third-party. - - Parameters - ---------- - id : str - - mime_type : typing.Optional[str] - If provided, specifies the export format of the file to be downloaded. For information on supported export formats, please refer to our export format help center article. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[DownloadRequestMeta] - - """ - _response = await self._client_wrapper.httpx_client.request( - f"filestorage/v1/files/{jsonable_encoder(id)}/download/request-meta", - method="GET", - params={ - "mime_type": mime_type, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - DownloadRequestMeta, - construct_type( - type_=DownloadRequestMeta, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def download_request_meta_list( - self, - *, - created_after: typing.Optional[str] = None, - created_before: typing.Optional[str] = None, - cursor: typing.Optional[str] = None, - ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None, - include_deleted_data: typing.Optional[bool] = None, - mime_types: typing.Optional[str] = None, - modified_after: typing.Optional[str] = None, - modified_before: typing.Optional[str] = None, - order_by: typing.Optional[FilesDownloadRequestMetaListRequestOrderBy] = None, - page_size: typing.Optional[int] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedDownloadRequestMetaList]: - """ - Returns metadata to construct authenticated file download requests, allowing you to download files directly from the third-party. - - Parameters - ---------- - created_after : typing.Optional[str] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[str] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - ids : typing.Optional[typing.Union[str, typing.Sequence[str]]] - If provided, will only return objects with the given IDs. Comma-separated list of strings. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - mime_types : typing.Optional[str] - A comma-separated list of preferred MIME types in order of priority. If supported by the third-party provider, the file(s) will be returned in the first supported MIME type from the list. The default MIME type is PDF. To see supported MIME types by file type, refer to our export format help center article. - - modified_after : typing.Optional[str] - If provided, will only return objects modified after this datetime. - - modified_before : typing.Optional[str] - If provided, will only return objects modified before this datetime. - - order_by : typing.Optional[FilesDownloadRequestMetaListRequestOrderBy] - Overrides the default ordering for this endpoint. Possible values include: created_at, -created_at, modified_at, -modified_at. - - page_size : typing.Optional[int] - Number of results to return per page. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[PaginatedDownloadRequestMetaList] - - """ - _response = await self._client_wrapper.httpx_client.request( - "filestorage/v1/files/download/request-meta", - method="GET", - params={ - "created_after": created_after, - "created_before": created_before, - "cursor": cursor, - "ids": ids, - "include_deleted_data": include_deleted_data, - "mime_types": mime_types, - "modified_after": modified_after, - "modified_before": modified_before, - "order_by": order_by, - "page_size": page_size, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedDownloadRequestMetaList, - construct_type( - type_=PaginatedDownloadRequestMetaList, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def meta_post_retrieve( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncHttpResponse[MetaResponse]: - """ - Returns metadata for `FileStorageFile` POSTs. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[MetaResponse] - - """ - _response = await self._client_wrapper.httpx_client.request( - "filestorage/v1/files/meta/post", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - MetaResponse, - construct_type( - type_=MetaResponse, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/filestorage/resources/files/types/__init__.py b/src/merge/resources/filestorage/resources/files/types/__init__.py deleted file mode 100644 index 90775da7..00000000 --- a/src/merge/resources/filestorage/resources/files/types/__init__.py +++ /dev/null @@ -1,45 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - -import typing -from importlib import import_module - -if typing.TYPE_CHECKING: - from .files_download_request_meta_list_request_order_by import FilesDownloadRequestMetaListRequestOrderBy - from .files_list_request_expand import FilesListRequestExpand - from .files_list_request_order_by import FilesListRequestOrderBy - from .files_retrieve_request_expand import FilesRetrieveRequestExpand -_dynamic_imports: typing.Dict[str, str] = { - "FilesDownloadRequestMetaListRequestOrderBy": ".files_download_request_meta_list_request_order_by", - "FilesListRequestExpand": ".files_list_request_expand", - "FilesListRequestOrderBy": ".files_list_request_order_by", - "FilesRetrieveRequestExpand": ".files_retrieve_request_expand", -} - - -def __getattr__(attr_name: str) -> typing.Any: - module_name = _dynamic_imports.get(attr_name) - if module_name is None: - raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") - try: - module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result - except ImportError as e: - raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e - except AttributeError as e: - raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e - - -def __dir__(): - lazy_attrs = list(_dynamic_imports.keys()) - return sorted(lazy_attrs) - - -__all__ = [ - "FilesDownloadRequestMetaListRequestOrderBy", - "FilesListRequestExpand", - "FilesListRequestOrderBy", - "FilesRetrieveRequestExpand", -] diff --git a/src/merge/resources/filestorage/resources/files/types/files_list_request_expand.py b/src/merge/resources/filestorage/resources/files/types/files_list_request_expand.py deleted file mode 100644 index f4c84b6f..00000000 --- a/src/merge/resources/filestorage/resources/files/types/files_list_request_expand.py +++ /dev/null @@ -1,41 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class FilesListRequestExpand(str, enum.Enum): - DRIVE = "drive" - FOLDER = "folder" - FOLDER_DRIVE = "folder,drive" - PERMISSIONS = "permissions" - PERMISSIONS_DRIVE = "permissions,drive" - PERMISSIONS_FOLDER = "permissions,folder" - PERMISSIONS_FOLDER_DRIVE = "permissions,folder,drive" - - def visit( - self, - drive: typing.Callable[[], T_Result], - folder: typing.Callable[[], T_Result], - folder_drive: typing.Callable[[], T_Result], - permissions: typing.Callable[[], T_Result], - permissions_drive: typing.Callable[[], T_Result], - permissions_folder: typing.Callable[[], T_Result], - permissions_folder_drive: typing.Callable[[], T_Result], - ) -> T_Result: - if self is FilesListRequestExpand.DRIVE: - return drive() - if self is FilesListRequestExpand.FOLDER: - return folder() - if self is FilesListRequestExpand.FOLDER_DRIVE: - return folder_drive() - if self is FilesListRequestExpand.PERMISSIONS: - return permissions() - if self is FilesListRequestExpand.PERMISSIONS_DRIVE: - return permissions_drive() - if self is FilesListRequestExpand.PERMISSIONS_FOLDER: - return permissions_folder() - if self is FilesListRequestExpand.PERMISSIONS_FOLDER_DRIVE: - return permissions_folder_drive() diff --git a/src/merge/resources/filestorage/resources/files/types/files_retrieve_request_expand.py b/src/merge/resources/filestorage/resources/files/types/files_retrieve_request_expand.py deleted file mode 100644 index cc09519b..00000000 --- a/src/merge/resources/filestorage/resources/files/types/files_retrieve_request_expand.py +++ /dev/null @@ -1,41 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class FilesRetrieveRequestExpand(str, enum.Enum): - DRIVE = "drive" - FOLDER = "folder" - FOLDER_DRIVE = "folder,drive" - PERMISSIONS = "permissions" - PERMISSIONS_DRIVE = "permissions,drive" - PERMISSIONS_FOLDER = "permissions,folder" - PERMISSIONS_FOLDER_DRIVE = "permissions,folder,drive" - - def visit( - self, - drive: typing.Callable[[], T_Result], - folder: typing.Callable[[], T_Result], - folder_drive: typing.Callable[[], T_Result], - permissions: typing.Callable[[], T_Result], - permissions_drive: typing.Callable[[], T_Result], - permissions_folder: typing.Callable[[], T_Result], - permissions_folder_drive: typing.Callable[[], T_Result], - ) -> T_Result: - if self is FilesRetrieveRequestExpand.DRIVE: - return drive() - if self is FilesRetrieveRequestExpand.FOLDER: - return folder() - if self is FilesRetrieveRequestExpand.FOLDER_DRIVE: - return folder_drive() - if self is FilesRetrieveRequestExpand.PERMISSIONS: - return permissions() - if self is FilesRetrieveRequestExpand.PERMISSIONS_DRIVE: - return permissions_drive() - if self is FilesRetrieveRequestExpand.PERMISSIONS_FOLDER: - return permissions_folder() - if self is FilesRetrieveRequestExpand.PERMISSIONS_FOLDER_DRIVE: - return permissions_folder_drive() diff --git a/src/merge/resources/filestorage/resources/folders/__init__.py b/src/merge/resources/filestorage/resources/folders/__init__.py deleted file mode 100644 index 41e475d7..00000000 --- a/src/merge/resources/filestorage/resources/folders/__init__.py +++ /dev/null @@ -1,35 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - -import typing -from importlib import import_module - -if typing.TYPE_CHECKING: - from .types import FoldersListRequestExpand, FoldersRetrieveRequestExpand -_dynamic_imports: typing.Dict[str, str] = { - "FoldersListRequestExpand": ".types", - "FoldersRetrieveRequestExpand": ".types", -} - - -def __getattr__(attr_name: str) -> typing.Any: - module_name = _dynamic_imports.get(attr_name) - if module_name is None: - raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") - try: - module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result - except ImportError as e: - raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e - except AttributeError as e: - raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e - - -def __dir__(): - lazy_attrs = list(_dynamic_imports.keys()) - return sorted(lazy_attrs) - - -__all__ = ["FoldersListRequestExpand", "FoldersRetrieveRequestExpand"] diff --git a/src/merge/resources/filestorage/resources/folders/client.py b/src/merge/resources/filestorage/resources/folders/client.py deleted file mode 100644 index 56600980..00000000 --- a/src/merge/resources/filestorage/resources/folders/client.py +++ /dev/null @@ -1,615 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.file_storage_folder_response import FileStorageFolderResponse -from ...types.folder import Folder -from ...types.folder_request import FolderRequest -from ...types.meta_response import MetaResponse -from ...types.paginated_folder_list import PaginatedFolderList -from .raw_client import AsyncRawFoldersClient, RawFoldersClient -from .types.folders_list_request_expand import FoldersListRequestExpand -from .types.folders_retrieve_request_expand import FoldersRetrieveRequestExpand - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class FoldersClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawFoldersClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawFoldersClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawFoldersClient - """ - return self._raw_client - - def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - drive_id: typing.Optional[str] = None, - expand: typing.Optional[FoldersListRequestExpand] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - name: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - parent_folder_id: typing.Optional[str] = None, - remote_id: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedFolderList: - """ - Returns a list of `Folder` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - drive_id : typing.Optional[str] - If provided, will only return folders in this drive. - - expand : typing.Optional[FoldersListRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - name : typing.Optional[str] - If provided, will only return folders with this name. This performs an exact match. - - page_size : typing.Optional[int] - Number of results to return per page. - - parent_folder_id : typing.Optional[str] - If provided, will only return folders in this parent folder. If null, will return folders in root directory. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedFolderList - - - Examples - -------- - import datetime - - from merge import Merge - from merge.resources.filestorage.resources.folders import ( - FoldersListRequestExpand, - ) - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.filestorage.folders.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - drive_id="drive_id", - expand=FoldersListRequestExpand.DRIVE, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - name="name", - page_size=1, - parent_folder_id="parent_folder_id", - remote_id="remote_id", - ) - """ - _response = self._raw_client.list( - created_after=created_after, - created_before=created_before, - cursor=cursor, - drive_id=drive_id, - expand=expand, - include_deleted_data=include_deleted_data, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - modified_after=modified_after, - modified_before=modified_before, - name=name, - page_size=page_size, - parent_folder_id=parent_folder_id, - remote_id=remote_id, - request_options=request_options, - ) - return _response.data - - def create( - self, - *, - model: FolderRequest, - is_debug_mode: typing.Optional[bool] = None, - run_async: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> FileStorageFolderResponse: - """ - Creates a `Folder` object with the given values. - - Parameters - ---------- - model : FolderRequest - - is_debug_mode : typing.Optional[bool] - Whether to include debug fields (such as log file links) in the response. - - run_async : typing.Optional[bool] - Whether or not third-party updates should be run asynchronously. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - FileStorageFolderResponse - - - Examples - -------- - from merge import Merge - from merge.resources.filestorage import FolderRequest - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.filestorage.folders.create( - is_debug_mode=True, - run_async=True, - model=FolderRequest(), - ) - """ - _response = self._raw_client.create( - model=model, is_debug_mode=is_debug_mode, run_async=run_async, request_options=request_options - ) - return _response.data - - def retrieve( - self, - id: str, - *, - expand: typing.Optional[FoldersRetrieveRequestExpand] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> Folder: - """ - Returns a `Folder` object with the given `id`. - - Parameters - ---------- - id : str - - expand : typing.Optional[FoldersRetrieveRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - Folder - - - Examples - -------- - from merge import Merge - from merge.resources.filestorage.resources.folders import ( - FoldersRetrieveRequestExpand, - ) - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.filestorage.folders.retrieve( - id="id", - expand=FoldersRetrieveRequestExpand.DRIVE, - include_remote_data=True, - include_shell_data=True, - ) - """ - _response = self._raw_client.retrieve( - id, - expand=expand, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - request_options=request_options, - ) - return _response.data - - def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: - """ - Returns metadata for `FileStorageFolder` POSTs. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - MetaResponse - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.filestorage.folders.meta_post_retrieve() - """ - _response = self._raw_client.meta_post_retrieve(request_options=request_options) - return _response.data - - -class AsyncFoldersClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawFoldersClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawFoldersClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawFoldersClient - """ - return self._raw_client - - async def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - drive_id: typing.Optional[str] = None, - expand: typing.Optional[FoldersListRequestExpand] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - name: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - parent_folder_id: typing.Optional[str] = None, - remote_id: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedFolderList: - """ - Returns a list of `Folder` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - drive_id : typing.Optional[str] - If provided, will only return folders in this drive. - - expand : typing.Optional[FoldersListRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - name : typing.Optional[str] - If provided, will only return folders with this name. This performs an exact match. - - page_size : typing.Optional[int] - Number of results to return per page. - - parent_folder_id : typing.Optional[str] - If provided, will only return folders in this parent folder. If null, will return folders in root directory. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedFolderList - - - Examples - -------- - import asyncio - import datetime - - from merge import AsyncMerge - from merge.resources.filestorage.resources.folders import ( - FoldersListRequestExpand, - ) - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.filestorage.folders.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - drive_id="drive_id", - expand=FoldersListRequestExpand.DRIVE, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - name="name", - page_size=1, - parent_folder_id="parent_folder_id", - remote_id="remote_id", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.list( - created_after=created_after, - created_before=created_before, - cursor=cursor, - drive_id=drive_id, - expand=expand, - include_deleted_data=include_deleted_data, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - modified_after=modified_after, - modified_before=modified_before, - name=name, - page_size=page_size, - parent_folder_id=parent_folder_id, - remote_id=remote_id, - request_options=request_options, - ) - return _response.data - - async def create( - self, - *, - model: FolderRequest, - is_debug_mode: typing.Optional[bool] = None, - run_async: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> FileStorageFolderResponse: - """ - Creates a `Folder` object with the given values. - - Parameters - ---------- - model : FolderRequest - - is_debug_mode : typing.Optional[bool] - Whether to include debug fields (such as log file links) in the response. - - run_async : typing.Optional[bool] - Whether or not third-party updates should be run asynchronously. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - FileStorageFolderResponse - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - from merge.resources.filestorage import FolderRequest - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.filestorage.folders.create( - is_debug_mode=True, - run_async=True, - model=FolderRequest(), - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.create( - model=model, is_debug_mode=is_debug_mode, run_async=run_async, request_options=request_options - ) - return _response.data - - async def retrieve( - self, - id: str, - *, - expand: typing.Optional[FoldersRetrieveRequestExpand] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> Folder: - """ - Returns a `Folder` object with the given `id`. - - Parameters - ---------- - id : str - - expand : typing.Optional[FoldersRetrieveRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - Folder - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - from merge.resources.filestorage.resources.folders import ( - FoldersRetrieveRequestExpand, - ) - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.filestorage.folders.retrieve( - id="id", - expand=FoldersRetrieveRequestExpand.DRIVE, - include_remote_data=True, - include_shell_data=True, - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.retrieve( - id, - expand=expand, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - request_options=request_options, - ) - return _response.data - - async def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: - """ - Returns metadata for `FileStorageFolder` POSTs. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - MetaResponse - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.filestorage.folders.meta_post_retrieve() - - - asyncio.run(main()) - """ - _response = await self._raw_client.meta_post_retrieve(request_options=request_options) - return _response.data diff --git a/src/merge/resources/filestorage/resources/folders/raw_client.py b/src/merge/resources/filestorage/resources/folders/raw_client.py deleted file mode 100644 index 1094fc1c..00000000 --- a/src/merge/resources/filestorage/resources/folders/raw_client.py +++ /dev/null @@ -1,561 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.datetime_utils import serialize_datetime -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.jsonable_encoder import jsonable_encoder -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.file_storage_folder_response import FileStorageFolderResponse -from ...types.folder import Folder -from ...types.folder_request import FolderRequest -from ...types.meta_response import MetaResponse -from ...types.paginated_folder_list import PaginatedFolderList -from .types.folders_list_request_expand import FoldersListRequestExpand -from .types.folders_retrieve_request_expand import FoldersRetrieveRequestExpand - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class RawFoldersClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - drive_id: typing.Optional[str] = None, - expand: typing.Optional[FoldersListRequestExpand] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - name: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - parent_folder_id: typing.Optional[str] = None, - remote_id: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedFolderList]: - """ - Returns a list of `Folder` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - drive_id : typing.Optional[str] - If provided, will only return folders in this drive. - - expand : typing.Optional[FoldersListRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - name : typing.Optional[str] - If provided, will only return folders with this name. This performs an exact match. - - page_size : typing.Optional[int] - Number of results to return per page. - - parent_folder_id : typing.Optional[str] - If provided, will only return folders in this parent folder. If null, will return folders in root directory. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[PaginatedFolderList] - - """ - _response = self._client_wrapper.httpx_client.request( - "filestorage/v1/folders", - method="GET", - params={ - "created_after": serialize_datetime(created_after) if created_after is not None else None, - "created_before": serialize_datetime(created_before) if created_before is not None else None, - "cursor": cursor, - "drive_id": drive_id, - "expand": expand, - "include_deleted_data": include_deleted_data, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - "modified_after": serialize_datetime(modified_after) if modified_after is not None else None, - "modified_before": serialize_datetime(modified_before) if modified_before is not None else None, - "name": name, - "page_size": page_size, - "parent_folder_id": parent_folder_id, - "remote_id": remote_id, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedFolderList, - construct_type( - type_=PaginatedFolderList, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def create( - self, - *, - model: FolderRequest, - is_debug_mode: typing.Optional[bool] = None, - run_async: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[FileStorageFolderResponse]: - """ - Creates a `Folder` object with the given values. - - Parameters - ---------- - model : FolderRequest - - is_debug_mode : typing.Optional[bool] - Whether to include debug fields (such as log file links) in the response. - - run_async : typing.Optional[bool] - Whether or not third-party updates should be run asynchronously. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[FileStorageFolderResponse] - - """ - _response = self._client_wrapper.httpx_client.request( - "filestorage/v1/folders", - method="POST", - params={ - "is_debug_mode": is_debug_mode, - "run_async": run_async, - }, - json={ - "model": model, - }, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - FileStorageFolderResponse, - construct_type( - type_=FileStorageFolderResponse, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def retrieve( - self, - id: str, - *, - expand: typing.Optional[FoldersRetrieveRequestExpand] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[Folder]: - """ - Returns a `Folder` object with the given `id`. - - Parameters - ---------- - id : str - - expand : typing.Optional[FoldersRetrieveRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[Folder] - - """ - _response = self._client_wrapper.httpx_client.request( - f"filestorage/v1/folders/{jsonable_encoder(id)}", - method="GET", - params={ - "expand": expand, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - Folder, - construct_type( - type_=Folder, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def meta_post_retrieve( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> HttpResponse[MetaResponse]: - """ - Returns metadata for `FileStorageFolder` POSTs. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[MetaResponse] - - """ - _response = self._client_wrapper.httpx_client.request( - "filestorage/v1/folders/meta/post", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - MetaResponse, - construct_type( - type_=MetaResponse, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawFoldersClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - drive_id: typing.Optional[str] = None, - expand: typing.Optional[FoldersListRequestExpand] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - name: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - parent_folder_id: typing.Optional[str] = None, - remote_id: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedFolderList]: - """ - Returns a list of `Folder` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - drive_id : typing.Optional[str] - If provided, will only return folders in this drive. - - expand : typing.Optional[FoldersListRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - name : typing.Optional[str] - If provided, will only return folders with this name. This performs an exact match. - - page_size : typing.Optional[int] - Number of results to return per page. - - parent_folder_id : typing.Optional[str] - If provided, will only return folders in this parent folder. If null, will return folders in root directory. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[PaginatedFolderList] - - """ - _response = await self._client_wrapper.httpx_client.request( - "filestorage/v1/folders", - method="GET", - params={ - "created_after": serialize_datetime(created_after) if created_after is not None else None, - "created_before": serialize_datetime(created_before) if created_before is not None else None, - "cursor": cursor, - "drive_id": drive_id, - "expand": expand, - "include_deleted_data": include_deleted_data, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - "modified_after": serialize_datetime(modified_after) if modified_after is not None else None, - "modified_before": serialize_datetime(modified_before) if modified_before is not None else None, - "name": name, - "page_size": page_size, - "parent_folder_id": parent_folder_id, - "remote_id": remote_id, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedFolderList, - construct_type( - type_=PaginatedFolderList, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def create( - self, - *, - model: FolderRequest, - is_debug_mode: typing.Optional[bool] = None, - run_async: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[FileStorageFolderResponse]: - """ - Creates a `Folder` object with the given values. - - Parameters - ---------- - model : FolderRequest - - is_debug_mode : typing.Optional[bool] - Whether to include debug fields (such as log file links) in the response. - - run_async : typing.Optional[bool] - Whether or not third-party updates should be run asynchronously. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[FileStorageFolderResponse] - - """ - _response = await self._client_wrapper.httpx_client.request( - "filestorage/v1/folders", - method="POST", - params={ - "is_debug_mode": is_debug_mode, - "run_async": run_async, - }, - json={ - "model": model, - }, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - FileStorageFolderResponse, - construct_type( - type_=FileStorageFolderResponse, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def retrieve( - self, - id: str, - *, - expand: typing.Optional[FoldersRetrieveRequestExpand] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[Folder]: - """ - Returns a `Folder` object with the given `id`. - - Parameters - ---------- - id : str - - expand : typing.Optional[FoldersRetrieveRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[Folder] - - """ - _response = await self._client_wrapper.httpx_client.request( - f"filestorage/v1/folders/{jsonable_encoder(id)}", - method="GET", - params={ - "expand": expand, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - Folder, - construct_type( - type_=Folder, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def meta_post_retrieve( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncHttpResponse[MetaResponse]: - """ - Returns metadata for `FileStorageFolder` POSTs. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[MetaResponse] - - """ - _response = await self._client_wrapper.httpx_client.request( - "filestorage/v1/folders/meta/post", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - MetaResponse, - construct_type( - type_=MetaResponse, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/filestorage/resources/folders/types/__init__.py b/src/merge/resources/filestorage/resources/folders/types/__init__.py deleted file mode 100644 index 6279a573..00000000 --- a/src/merge/resources/filestorage/resources/folders/types/__init__.py +++ /dev/null @@ -1,36 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - -import typing -from importlib import import_module - -if typing.TYPE_CHECKING: - from .folders_list_request_expand import FoldersListRequestExpand - from .folders_retrieve_request_expand import FoldersRetrieveRequestExpand -_dynamic_imports: typing.Dict[str, str] = { - "FoldersListRequestExpand": ".folders_list_request_expand", - "FoldersRetrieveRequestExpand": ".folders_retrieve_request_expand", -} - - -def __getattr__(attr_name: str) -> typing.Any: - module_name = _dynamic_imports.get(attr_name) - if module_name is None: - raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") - try: - module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result - except ImportError as e: - raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e - except AttributeError as e: - raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e - - -def __dir__(): - lazy_attrs = list(_dynamic_imports.keys()) - return sorted(lazy_attrs) - - -__all__ = ["FoldersListRequestExpand", "FoldersRetrieveRequestExpand"] diff --git a/src/merge/resources/filestorage/resources/folders/types/folders_list_request_expand.py b/src/merge/resources/filestorage/resources/folders/types/folders_list_request_expand.py deleted file mode 100644 index 59ccf95d..00000000 --- a/src/merge/resources/filestorage/resources/folders/types/folders_list_request_expand.py +++ /dev/null @@ -1,41 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class FoldersListRequestExpand(str, enum.Enum): - DRIVE = "drive" - PARENT_FOLDER = "parent_folder" - PARENT_FOLDER_DRIVE = "parent_folder,drive" - PERMISSIONS = "permissions" - PERMISSIONS_DRIVE = "permissions,drive" - PERMISSIONS_PARENT_FOLDER = "permissions,parent_folder" - PERMISSIONS_PARENT_FOLDER_DRIVE = "permissions,parent_folder,drive" - - def visit( - self, - drive: typing.Callable[[], T_Result], - parent_folder: typing.Callable[[], T_Result], - parent_folder_drive: typing.Callable[[], T_Result], - permissions: typing.Callable[[], T_Result], - permissions_drive: typing.Callable[[], T_Result], - permissions_parent_folder: typing.Callable[[], T_Result], - permissions_parent_folder_drive: typing.Callable[[], T_Result], - ) -> T_Result: - if self is FoldersListRequestExpand.DRIVE: - return drive() - if self is FoldersListRequestExpand.PARENT_FOLDER: - return parent_folder() - if self is FoldersListRequestExpand.PARENT_FOLDER_DRIVE: - return parent_folder_drive() - if self is FoldersListRequestExpand.PERMISSIONS: - return permissions() - if self is FoldersListRequestExpand.PERMISSIONS_DRIVE: - return permissions_drive() - if self is FoldersListRequestExpand.PERMISSIONS_PARENT_FOLDER: - return permissions_parent_folder() - if self is FoldersListRequestExpand.PERMISSIONS_PARENT_FOLDER_DRIVE: - return permissions_parent_folder_drive() diff --git a/src/merge/resources/filestorage/resources/folders/types/folders_retrieve_request_expand.py b/src/merge/resources/filestorage/resources/folders/types/folders_retrieve_request_expand.py deleted file mode 100644 index f64d0f9d..00000000 --- a/src/merge/resources/filestorage/resources/folders/types/folders_retrieve_request_expand.py +++ /dev/null @@ -1,41 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class FoldersRetrieveRequestExpand(str, enum.Enum): - DRIVE = "drive" - PARENT_FOLDER = "parent_folder" - PARENT_FOLDER_DRIVE = "parent_folder,drive" - PERMISSIONS = "permissions" - PERMISSIONS_DRIVE = "permissions,drive" - PERMISSIONS_PARENT_FOLDER = "permissions,parent_folder" - PERMISSIONS_PARENT_FOLDER_DRIVE = "permissions,parent_folder,drive" - - def visit( - self, - drive: typing.Callable[[], T_Result], - parent_folder: typing.Callable[[], T_Result], - parent_folder_drive: typing.Callable[[], T_Result], - permissions: typing.Callable[[], T_Result], - permissions_drive: typing.Callable[[], T_Result], - permissions_parent_folder: typing.Callable[[], T_Result], - permissions_parent_folder_drive: typing.Callable[[], T_Result], - ) -> T_Result: - if self is FoldersRetrieveRequestExpand.DRIVE: - return drive() - if self is FoldersRetrieveRequestExpand.PARENT_FOLDER: - return parent_folder() - if self is FoldersRetrieveRequestExpand.PARENT_FOLDER_DRIVE: - return parent_folder_drive() - if self is FoldersRetrieveRequestExpand.PERMISSIONS: - return permissions() - if self is FoldersRetrieveRequestExpand.PERMISSIONS_DRIVE: - return permissions_drive() - if self is FoldersRetrieveRequestExpand.PERMISSIONS_PARENT_FOLDER: - return permissions_parent_folder() - if self is FoldersRetrieveRequestExpand.PERMISSIONS_PARENT_FOLDER_DRIVE: - return permissions_parent_folder_drive() diff --git a/src/merge/resources/filestorage/resources/force_resync/__init__.py b/src/merge/resources/filestorage/resources/force_resync/__init__.py deleted file mode 100644 index 5cde0202..00000000 --- a/src/merge/resources/filestorage/resources/force_resync/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - diff --git a/src/merge/resources/filestorage/resources/force_resync/client.py b/src/merge/resources/filestorage/resources/force_resync/client.py deleted file mode 100644 index da82ceb8..00000000 --- a/src/merge/resources/filestorage/resources/force_resync/client.py +++ /dev/null @@ -1,106 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.sync_status import SyncStatus -from .raw_client import AsyncRawForceResyncClient, RawForceResyncClient - - -class ForceResyncClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawForceResyncClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawForceResyncClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawForceResyncClient - """ - return self._raw_client - - def sync_status_resync_create( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> typing.List[SyncStatus]: - """ - Force re-sync of all models. This endpoint is available for monthly, quarterly, and highest sync frequency customers on the Professional or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. Force re-syncs can also be triggered manually in the Merge Dashboard and is available for all customers. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - typing.List[SyncStatus] - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.filestorage.force_resync.sync_status_resync_create() - """ - _response = self._raw_client.sync_status_resync_create(request_options=request_options) - return _response.data - - -class AsyncForceResyncClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawForceResyncClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawForceResyncClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawForceResyncClient - """ - return self._raw_client - - async def sync_status_resync_create( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> typing.List[SyncStatus]: - """ - Force re-sync of all models. This endpoint is available for monthly, quarterly, and highest sync frequency customers on the Professional or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. Force re-syncs can also be triggered manually in the Merge Dashboard and is available for all customers. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - typing.List[SyncStatus] - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.filestorage.force_resync.sync_status_resync_create() - - - asyncio.run(main()) - """ - _response = await self._raw_client.sync_status_resync_create(request_options=request_options) - return _response.data diff --git a/src/merge/resources/filestorage/resources/generate_key/__init__.py b/src/merge/resources/filestorage/resources/generate_key/__init__.py deleted file mode 100644 index 5cde0202..00000000 --- a/src/merge/resources/filestorage/resources/generate_key/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - diff --git a/src/merge/resources/filestorage/resources/generate_key/client.py b/src/merge/resources/filestorage/resources/generate_key/client.py deleted file mode 100644 index 759ad573..00000000 --- a/src/merge/resources/filestorage/resources/generate_key/client.py +++ /dev/null @@ -1,115 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.remote_key import RemoteKey -from .raw_client import AsyncRawGenerateKeyClient, RawGenerateKeyClient - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class GenerateKeyClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawGenerateKeyClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawGenerateKeyClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawGenerateKeyClient - """ - return self._raw_client - - def create(self, *, name: str, request_options: typing.Optional[RequestOptions] = None) -> RemoteKey: - """ - Create a remote key. - - Parameters - ---------- - name : str - The name of the remote key - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - RemoteKey - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.filestorage.generate_key.create( - name="Remote Deployment Key 1", - ) - """ - _response = self._raw_client.create(name=name, request_options=request_options) - return _response.data - - -class AsyncGenerateKeyClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawGenerateKeyClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawGenerateKeyClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawGenerateKeyClient - """ - return self._raw_client - - async def create(self, *, name: str, request_options: typing.Optional[RequestOptions] = None) -> RemoteKey: - """ - Create a remote key. - - Parameters - ---------- - name : str - The name of the remote key - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - RemoteKey - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.filestorage.generate_key.create( - name="Remote Deployment Key 1", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.create(name=name, request_options=request_options) - return _response.data diff --git a/src/merge/resources/filestorage/resources/groups/__init__.py b/src/merge/resources/filestorage/resources/groups/__init__.py deleted file mode 100644 index 5cde0202..00000000 --- a/src/merge/resources/filestorage/resources/groups/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - diff --git a/src/merge/resources/filestorage/resources/groups/client.py b/src/merge/resources/filestorage/resources/groups/client.py deleted file mode 100644 index dd9c8e65..00000000 --- a/src/merge/resources/filestorage/resources/groups/client.py +++ /dev/null @@ -1,387 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.group import Group -from ...types.paginated_group_list import PaginatedGroupList -from .raw_client import AsyncRawGroupsClient, RawGroupsClient - - -class GroupsClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawGroupsClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawGroupsClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawGroupsClient - """ - return self._raw_client - - def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["child_groups"]] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedGroupList: - """ - Returns a list of `Group` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - expand : typing.Optional[typing.Literal["child_groups"]] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedGroupList - - - Examples - -------- - import datetime - - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.filestorage.groups.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", - ) - """ - _response = self._raw_client.list( - created_after=created_after, - created_before=created_before, - cursor=cursor, - expand=expand, - include_deleted_data=include_deleted_data, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - modified_after=modified_after, - modified_before=modified_before, - page_size=page_size, - remote_id=remote_id, - request_options=request_options, - ) - return _response.data - - def retrieve( - self, - id: str, - *, - expand: typing.Optional[typing.Literal["child_groups"]] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> Group: - """ - Returns a `Group` object with the given `id`. - - Parameters - ---------- - id : str - - expand : typing.Optional[typing.Literal["child_groups"]] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - Group - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.filestorage.groups.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, - ) - """ - _response = self._raw_client.retrieve( - id, - expand=expand, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - request_options=request_options, - ) - return _response.data - - -class AsyncGroupsClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawGroupsClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawGroupsClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawGroupsClient - """ - return self._raw_client - - async def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["child_groups"]] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedGroupList: - """ - Returns a list of `Group` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - expand : typing.Optional[typing.Literal["child_groups"]] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedGroupList - - - Examples - -------- - import asyncio - import datetime - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.filestorage.groups.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.list( - created_after=created_after, - created_before=created_before, - cursor=cursor, - expand=expand, - include_deleted_data=include_deleted_data, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - modified_after=modified_after, - modified_before=modified_before, - page_size=page_size, - remote_id=remote_id, - request_options=request_options, - ) - return _response.data - - async def retrieve( - self, - id: str, - *, - expand: typing.Optional[typing.Literal["child_groups"]] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> Group: - """ - Returns a `Group` object with the given `id`. - - Parameters - ---------- - id : str - - expand : typing.Optional[typing.Literal["child_groups"]] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - Group - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.filestorage.groups.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.retrieve( - id, - expand=expand, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - request_options=request_options, - ) - return _response.data diff --git a/src/merge/resources/filestorage/resources/groups/raw_client.py b/src/merge/resources/filestorage/resources/groups/raw_client.py deleted file mode 100644 index 9ca38893..00000000 --- a/src/merge/resources/filestorage/resources/groups/raw_client.py +++ /dev/null @@ -1,331 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.datetime_utils import serialize_datetime -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.jsonable_encoder import jsonable_encoder -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.group import Group -from ...types.paginated_group_list import PaginatedGroupList - - -class RawGroupsClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["child_groups"]] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedGroupList]: - """ - Returns a list of `Group` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - expand : typing.Optional[typing.Literal["child_groups"]] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[PaginatedGroupList] - - """ - _response = self._client_wrapper.httpx_client.request( - "filestorage/v1/groups", - method="GET", - params={ - "created_after": serialize_datetime(created_after) if created_after is not None else None, - "created_before": serialize_datetime(created_before) if created_before is not None else None, - "cursor": cursor, - "expand": expand, - "include_deleted_data": include_deleted_data, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - "modified_after": serialize_datetime(modified_after) if modified_after is not None else None, - "modified_before": serialize_datetime(modified_before) if modified_before is not None else None, - "page_size": page_size, - "remote_id": remote_id, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedGroupList, - construct_type( - type_=PaginatedGroupList, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def retrieve( - self, - id: str, - *, - expand: typing.Optional[typing.Literal["child_groups"]] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[Group]: - """ - Returns a `Group` object with the given `id`. - - Parameters - ---------- - id : str - - expand : typing.Optional[typing.Literal["child_groups"]] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[Group] - - """ - _response = self._client_wrapper.httpx_client.request( - f"filestorage/v1/groups/{jsonable_encoder(id)}", - method="GET", - params={ - "expand": expand, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - Group, - construct_type( - type_=Group, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawGroupsClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["child_groups"]] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedGroupList]: - """ - Returns a list of `Group` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - expand : typing.Optional[typing.Literal["child_groups"]] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[PaginatedGroupList] - - """ - _response = await self._client_wrapper.httpx_client.request( - "filestorage/v1/groups", - method="GET", - params={ - "created_after": serialize_datetime(created_after) if created_after is not None else None, - "created_before": serialize_datetime(created_before) if created_before is not None else None, - "cursor": cursor, - "expand": expand, - "include_deleted_data": include_deleted_data, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - "modified_after": serialize_datetime(modified_after) if modified_after is not None else None, - "modified_before": serialize_datetime(modified_before) if modified_before is not None else None, - "page_size": page_size, - "remote_id": remote_id, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedGroupList, - construct_type( - type_=PaginatedGroupList, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def retrieve( - self, - id: str, - *, - expand: typing.Optional[typing.Literal["child_groups"]] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[Group]: - """ - Returns a `Group` object with the given `id`. - - Parameters - ---------- - id : str - - expand : typing.Optional[typing.Literal["child_groups"]] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[Group] - - """ - _response = await self._client_wrapper.httpx_client.request( - f"filestorage/v1/groups/{jsonable_encoder(id)}", - method="GET", - params={ - "expand": expand, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - Group, - construct_type( - type_=Group, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/filestorage/resources/issues/__init__.py b/src/merge/resources/filestorage/resources/issues/__init__.py deleted file mode 100644 index 3ca1094b..00000000 --- a/src/merge/resources/filestorage/resources/issues/__init__.py +++ /dev/null @@ -1,32 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - -import typing -from importlib import import_module - -if typing.TYPE_CHECKING: - from .types import IssuesListRequestStatus -_dynamic_imports: typing.Dict[str, str] = {"IssuesListRequestStatus": ".types"} - - -def __getattr__(attr_name: str) -> typing.Any: - module_name = _dynamic_imports.get(attr_name) - if module_name is None: - raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") - try: - module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result - except ImportError as e: - raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e - except AttributeError as e: - raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e - - -def __dir__(): - lazy_attrs = list(_dynamic_imports.keys()) - return sorted(lazy_attrs) - - -__all__ = ["IssuesListRequestStatus"] diff --git a/src/merge/resources/filestorage/resources/issues/client.py b/src/merge/resources/filestorage/resources/issues/client.py deleted file mode 100644 index 423a956a..00000000 --- a/src/merge/resources/filestorage/resources/issues/client.py +++ /dev/null @@ -1,378 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.issue import Issue -from ...types.paginated_issue_list import PaginatedIssueList -from .raw_client import AsyncRawIssuesClient, RawIssuesClient -from .types.issues_list_request_status import IssuesListRequestStatus - - -class IssuesClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawIssuesClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawIssuesClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawIssuesClient - """ - return self._raw_client - - def list( - self, - *, - account_token: typing.Optional[str] = None, - cursor: typing.Optional[str] = None, - end_date: typing.Optional[str] = None, - end_user_organization_name: typing.Optional[str] = None, - first_incident_time_after: typing.Optional[dt.datetime] = None, - first_incident_time_before: typing.Optional[dt.datetime] = None, - include_muted: typing.Optional[str] = None, - integration_name: typing.Optional[str] = None, - last_incident_time_after: typing.Optional[dt.datetime] = None, - last_incident_time_before: typing.Optional[dt.datetime] = None, - linked_account_id: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - start_date: typing.Optional[str] = None, - status: typing.Optional[IssuesListRequestStatus] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedIssueList: - """ - Gets all issues for Organization. - - Parameters - ---------- - account_token : typing.Optional[str] - - cursor : typing.Optional[str] - The pagination cursor value. - - end_date : typing.Optional[str] - If included, will only include issues whose most recent action occurred before this time - - end_user_organization_name : typing.Optional[str] - - first_incident_time_after : typing.Optional[dt.datetime] - If provided, will only return issues whose first incident time was after this datetime. - - first_incident_time_before : typing.Optional[dt.datetime] - If provided, will only return issues whose first incident time was before this datetime. - - include_muted : typing.Optional[str] - If true, will include muted issues - - integration_name : typing.Optional[str] - - last_incident_time_after : typing.Optional[dt.datetime] - If provided, will only return issues whose last incident time was after this datetime. - - last_incident_time_before : typing.Optional[dt.datetime] - If provided, will only return issues whose last incident time was before this datetime. - - linked_account_id : typing.Optional[str] - If provided, will only include issues pertaining to the linked account passed in. - - page_size : typing.Optional[int] - Number of results to return per page. - - start_date : typing.Optional[str] - If included, will only include issues whose most recent action occurred after this time - - status : typing.Optional[IssuesListRequestStatus] - Status of the issue. Options: ('ONGOING', 'RESOLVED') - - * `ONGOING` - ONGOING - * `RESOLVED` - RESOLVED - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedIssueList - - - Examples - -------- - import datetime - - from merge import Merge - from merge.resources.filestorage.resources.issues import IssuesListRequestStatus - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.filestorage.issues.list( - account_token="account_token", - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_date="end_date", - end_user_organization_name="end_user_organization_name", - first_incident_time_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - first_incident_time_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - include_muted="include_muted", - integration_name="integration_name", - last_incident_time_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - last_incident_time_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - linked_account_id="linked_account_id", - page_size=1, - start_date="start_date", - status=IssuesListRequestStatus.ONGOING, - ) - """ - _response = self._raw_client.list( - account_token=account_token, - cursor=cursor, - end_date=end_date, - end_user_organization_name=end_user_organization_name, - first_incident_time_after=first_incident_time_after, - first_incident_time_before=first_incident_time_before, - include_muted=include_muted, - integration_name=integration_name, - last_incident_time_after=last_incident_time_after, - last_incident_time_before=last_incident_time_before, - linked_account_id=linked_account_id, - page_size=page_size, - start_date=start_date, - status=status, - request_options=request_options, - ) - return _response.data - - def retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> Issue: - """ - Get a specific issue. - - Parameters - ---------- - id : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - Issue - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.filestorage.issues.retrieve( - id="id", - ) - """ - _response = self._raw_client.retrieve(id, request_options=request_options) - return _response.data - - -class AsyncIssuesClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawIssuesClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawIssuesClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawIssuesClient - """ - return self._raw_client - - async def list( - self, - *, - account_token: typing.Optional[str] = None, - cursor: typing.Optional[str] = None, - end_date: typing.Optional[str] = None, - end_user_organization_name: typing.Optional[str] = None, - first_incident_time_after: typing.Optional[dt.datetime] = None, - first_incident_time_before: typing.Optional[dt.datetime] = None, - include_muted: typing.Optional[str] = None, - integration_name: typing.Optional[str] = None, - last_incident_time_after: typing.Optional[dt.datetime] = None, - last_incident_time_before: typing.Optional[dt.datetime] = None, - linked_account_id: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - start_date: typing.Optional[str] = None, - status: typing.Optional[IssuesListRequestStatus] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedIssueList: - """ - Gets all issues for Organization. - - Parameters - ---------- - account_token : typing.Optional[str] - - cursor : typing.Optional[str] - The pagination cursor value. - - end_date : typing.Optional[str] - If included, will only include issues whose most recent action occurred before this time - - end_user_organization_name : typing.Optional[str] - - first_incident_time_after : typing.Optional[dt.datetime] - If provided, will only return issues whose first incident time was after this datetime. - - first_incident_time_before : typing.Optional[dt.datetime] - If provided, will only return issues whose first incident time was before this datetime. - - include_muted : typing.Optional[str] - If true, will include muted issues - - integration_name : typing.Optional[str] - - last_incident_time_after : typing.Optional[dt.datetime] - If provided, will only return issues whose last incident time was after this datetime. - - last_incident_time_before : typing.Optional[dt.datetime] - If provided, will only return issues whose last incident time was before this datetime. - - linked_account_id : typing.Optional[str] - If provided, will only include issues pertaining to the linked account passed in. - - page_size : typing.Optional[int] - Number of results to return per page. - - start_date : typing.Optional[str] - If included, will only include issues whose most recent action occurred after this time - - status : typing.Optional[IssuesListRequestStatus] - Status of the issue. Options: ('ONGOING', 'RESOLVED') - - * `ONGOING` - ONGOING - * `RESOLVED` - RESOLVED - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedIssueList - - - Examples - -------- - import asyncio - import datetime - - from merge import AsyncMerge - from merge.resources.filestorage.resources.issues import IssuesListRequestStatus - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.filestorage.issues.list( - account_token="account_token", - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_date="end_date", - end_user_organization_name="end_user_organization_name", - first_incident_time_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - first_incident_time_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - include_muted="include_muted", - integration_name="integration_name", - last_incident_time_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - last_incident_time_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - linked_account_id="linked_account_id", - page_size=1, - start_date="start_date", - status=IssuesListRequestStatus.ONGOING, - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.list( - account_token=account_token, - cursor=cursor, - end_date=end_date, - end_user_organization_name=end_user_organization_name, - first_incident_time_after=first_incident_time_after, - first_incident_time_before=first_incident_time_before, - include_muted=include_muted, - integration_name=integration_name, - last_incident_time_after=last_incident_time_after, - last_incident_time_before=last_incident_time_before, - linked_account_id=linked_account_id, - page_size=page_size, - start_date=start_date, - status=status, - request_options=request_options, - ) - return _response.data - - async def retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> Issue: - """ - Get a specific issue. - - Parameters - ---------- - id : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - Issue - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.filestorage.issues.retrieve( - id="id", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.retrieve(id, request_options=request_options) - return _response.data diff --git a/src/merge/resources/filestorage/resources/issues/raw_client.py b/src/merge/resources/filestorage/resources/issues/raw_client.py deleted file mode 100644 index 2c87dada..00000000 --- a/src/merge/resources/filestorage/resources/issues/raw_client.py +++ /dev/null @@ -1,336 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.datetime_utils import serialize_datetime -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.jsonable_encoder import jsonable_encoder -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.issue import Issue -from ...types.paginated_issue_list import PaginatedIssueList -from .types.issues_list_request_status import IssuesListRequestStatus - - -class RawIssuesClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def list( - self, - *, - account_token: typing.Optional[str] = None, - cursor: typing.Optional[str] = None, - end_date: typing.Optional[str] = None, - end_user_organization_name: typing.Optional[str] = None, - first_incident_time_after: typing.Optional[dt.datetime] = None, - first_incident_time_before: typing.Optional[dt.datetime] = None, - include_muted: typing.Optional[str] = None, - integration_name: typing.Optional[str] = None, - last_incident_time_after: typing.Optional[dt.datetime] = None, - last_incident_time_before: typing.Optional[dt.datetime] = None, - linked_account_id: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - start_date: typing.Optional[str] = None, - status: typing.Optional[IssuesListRequestStatus] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedIssueList]: - """ - Gets all issues for Organization. - - Parameters - ---------- - account_token : typing.Optional[str] - - cursor : typing.Optional[str] - The pagination cursor value. - - end_date : typing.Optional[str] - If included, will only include issues whose most recent action occurred before this time - - end_user_organization_name : typing.Optional[str] - - first_incident_time_after : typing.Optional[dt.datetime] - If provided, will only return issues whose first incident time was after this datetime. - - first_incident_time_before : typing.Optional[dt.datetime] - If provided, will only return issues whose first incident time was before this datetime. - - include_muted : typing.Optional[str] - If true, will include muted issues - - integration_name : typing.Optional[str] - - last_incident_time_after : typing.Optional[dt.datetime] - If provided, will only return issues whose last incident time was after this datetime. - - last_incident_time_before : typing.Optional[dt.datetime] - If provided, will only return issues whose last incident time was before this datetime. - - linked_account_id : typing.Optional[str] - If provided, will only include issues pertaining to the linked account passed in. - - page_size : typing.Optional[int] - Number of results to return per page. - - start_date : typing.Optional[str] - If included, will only include issues whose most recent action occurred after this time - - status : typing.Optional[IssuesListRequestStatus] - Status of the issue. Options: ('ONGOING', 'RESOLVED') - - * `ONGOING` - ONGOING - * `RESOLVED` - RESOLVED - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[PaginatedIssueList] - - """ - _response = self._client_wrapper.httpx_client.request( - "filestorage/v1/issues", - method="GET", - params={ - "account_token": account_token, - "cursor": cursor, - "end_date": end_date, - "end_user_organization_name": end_user_organization_name, - "first_incident_time_after": serialize_datetime(first_incident_time_after) - if first_incident_time_after is not None - else None, - "first_incident_time_before": serialize_datetime(first_incident_time_before) - if first_incident_time_before is not None - else None, - "include_muted": include_muted, - "integration_name": integration_name, - "last_incident_time_after": serialize_datetime(last_incident_time_after) - if last_incident_time_after is not None - else None, - "last_incident_time_before": serialize_datetime(last_incident_time_before) - if last_incident_time_before is not None - else None, - "linked_account_id": linked_account_id, - "page_size": page_size, - "start_date": start_date, - "status": status, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedIssueList, - construct_type( - type_=PaginatedIssueList, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> HttpResponse[Issue]: - """ - Get a specific issue. - - Parameters - ---------- - id : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[Issue] - - """ - _response = self._client_wrapper.httpx_client.request( - f"filestorage/v1/issues/{jsonable_encoder(id)}", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - Issue, - construct_type( - type_=Issue, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawIssuesClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def list( - self, - *, - account_token: typing.Optional[str] = None, - cursor: typing.Optional[str] = None, - end_date: typing.Optional[str] = None, - end_user_organization_name: typing.Optional[str] = None, - first_incident_time_after: typing.Optional[dt.datetime] = None, - first_incident_time_before: typing.Optional[dt.datetime] = None, - include_muted: typing.Optional[str] = None, - integration_name: typing.Optional[str] = None, - last_incident_time_after: typing.Optional[dt.datetime] = None, - last_incident_time_before: typing.Optional[dt.datetime] = None, - linked_account_id: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - start_date: typing.Optional[str] = None, - status: typing.Optional[IssuesListRequestStatus] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedIssueList]: - """ - Gets all issues for Organization. - - Parameters - ---------- - account_token : typing.Optional[str] - - cursor : typing.Optional[str] - The pagination cursor value. - - end_date : typing.Optional[str] - If included, will only include issues whose most recent action occurred before this time - - end_user_organization_name : typing.Optional[str] - - first_incident_time_after : typing.Optional[dt.datetime] - If provided, will only return issues whose first incident time was after this datetime. - - first_incident_time_before : typing.Optional[dt.datetime] - If provided, will only return issues whose first incident time was before this datetime. - - include_muted : typing.Optional[str] - If true, will include muted issues - - integration_name : typing.Optional[str] - - last_incident_time_after : typing.Optional[dt.datetime] - If provided, will only return issues whose last incident time was after this datetime. - - last_incident_time_before : typing.Optional[dt.datetime] - If provided, will only return issues whose last incident time was before this datetime. - - linked_account_id : typing.Optional[str] - If provided, will only include issues pertaining to the linked account passed in. - - page_size : typing.Optional[int] - Number of results to return per page. - - start_date : typing.Optional[str] - If included, will only include issues whose most recent action occurred after this time - - status : typing.Optional[IssuesListRequestStatus] - Status of the issue. Options: ('ONGOING', 'RESOLVED') - - * `ONGOING` - ONGOING - * `RESOLVED` - RESOLVED - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[PaginatedIssueList] - - """ - _response = await self._client_wrapper.httpx_client.request( - "filestorage/v1/issues", - method="GET", - params={ - "account_token": account_token, - "cursor": cursor, - "end_date": end_date, - "end_user_organization_name": end_user_organization_name, - "first_incident_time_after": serialize_datetime(first_incident_time_after) - if first_incident_time_after is not None - else None, - "first_incident_time_before": serialize_datetime(first_incident_time_before) - if first_incident_time_before is not None - else None, - "include_muted": include_muted, - "integration_name": integration_name, - "last_incident_time_after": serialize_datetime(last_incident_time_after) - if last_incident_time_after is not None - else None, - "last_incident_time_before": serialize_datetime(last_incident_time_before) - if last_incident_time_before is not None - else None, - "linked_account_id": linked_account_id, - "page_size": page_size, - "start_date": start_date, - "status": status, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedIssueList, - construct_type( - type_=PaginatedIssueList, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def retrieve( - self, id: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncHttpResponse[Issue]: - """ - Get a specific issue. - - Parameters - ---------- - id : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[Issue] - - """ - _response = await self._client_wrapper.httpx_client.request( - f"filestorage/v1/issues/{jsonable_encoder(id)}", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - Issue, - construct_type( - type_=Issue, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/filestorage/resources/issues/types/__init__.py b/src/merge/resources/filestorage/resources/issues/types/__init__.py deleted file mode 100644 index 88fbf977..00000000 --- a/src/merge/resources/filestorage/resources/issues/types/__init__.py +++ /dev/null @@ -1,32 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - -import typing -from importlib import import_module - -if typing.TYPE_CHECKING: - from .issues_list_request_status import IssuesListRequestStatus -_dynamic_imports: typing.Dict[str, str] = {"IssuesListRequestStatus": ".issues_list_request_status"} - - -def __getattr__(attr_name: str) -> typing.Any: - module_name = _dynamic_imports.get(attr_name) - if module_name is None: - raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") - try: - module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result - except ImportError as e: - raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e - except AttributeError as e: - raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e - - -def __dir__(): - lazy_attrs = list(_dynamic_imports.keys()) - return sorted(lazy_attrs) - - -__all__ = ["IssuesListRequestStatus"] diff --git a/src/merge/resources/filestorage/resources/issues/types/issues_list_request_status.py b/src/merge/resources/filestorage/resources/issues/types/issues_list_request_status.py deleted file mode 100644 index 2bd3521e..00000000 --- a/src/merge/resources/filestorage/resources/issues/types/issues_list_request_status.py +++ /dev/null @@ -1,17 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class IssuesListRequestStatus(str, enum.Enum): - ONGOING = "ONGOING" - RESOLVED = "RESOLVED" - - def visit(self, ongoing: typing.Callable[[], T_Result], resolved: typing.Callable[[], T_Result]) -> T_Result: - if self is IssuesListRequestStatus.ONGOING: - return ongoing() - if self is IssuesListRequestStatus.RESOLVED: - return resolved() diff --git a/src/merge/resources/filestorage/resources/link_token/__init__.py b/src/merge/resources/filestorage/resources/link_token/__init__.py deleted file mode 100644 index 5cde0202..00000000 --- a/src/merge/resources/filestorage/resources/link_token/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - diff --git a/src/merge/resources/filestorage/resources/link_token/client.py b/src/merge/resources/filestorage/resources/link_token/client.py deleted file mode 100644 index 9f8213f5..00000000 --- a/src/merge/resources/filestorage/resources/link_token/client.py +++ /dev/null @@ -1,273 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.categories_enum import CategoriesEnum -from ...types.common_model_scopes_body_request import CommonModelScopesBodyRequest -from ...types.individual_common_model_scope_deserializer_request import IndividualCommonModelScopeDeserializerRequest -from ...types.language_enum import LanguageEnum -from ...types.link_token import LinkToken -from .raw_client import AsyncRawLinkTokenClient, RawLinkTokenClient - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class LinkTokenClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawLinkTokenClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawLinkTokenClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawLinkTokenClient - """ - return self._raw_client - - def create( - self, - *, - end_user_email_address: str, - end_user_organization_name: str, - end_user_origin_id: str, - categories: typing.Sequence[CategoriesEnum], - integration: typing.Optional[str] = OMIT, - link_expiry_mins: typing.Optional[int] = OMIT, - should_create_magic_link_url: typing.Optional[bool] = OMIT, - hide_admin_magic_link: typing.Optional[bool] = OMIT, - common_models: typing.Optional[typing.Sequence[CommonModelScopesBodyRequest]] = OMIT, - category_common_model_scopes: typing.Optional[ - typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]] - ] = OMIT, - language: typing.Optional[LanguageEnum] = OMIT, - are_syncs_disabled: typing.Optional[bool] = OMIT, - integration_specific_config: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, - request_options: typing.Optional[RequestOptions] = None, - ) -> LinkToken: - """ - Creates a link token to be used when linking a new end user. - - Parameters - ---------- - end_user_email_address : str - Your end user's email address. This is purely for identification purposes - setting this value will not cause any emails to be sent. - - end_user_organization_name : str - Your end user's organization. - - end_user_origin_id : str - This unique identifier typically represents the ID for your end user in your product's database. This value must be distinct from other Linked Accounts' unique identifiers. - - categories : typing.Sequence[CategoriesEnum] - The integration categories to show in Merge Link. - - integration : typing.Optional[str] - The slug of a specific pre-selected integration for this linking flow token. For examples of slugs, see https://docs.merge.dev/guides/merge-link/single-integration/. - - link_expiry_mins : typing.Optional[int] - An integer number of minutes between [30, 720 or 10080 if for a Magic Link URL] for how long this token is valid. Defaults to 30. - - should_create_magic_link_url : typing.Optional[bool] - Whether to generate a Magic Link URL. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. - - hide_admin_magic_link : typing.Optional[bool] - Whether to generate a Magic Link URL on the Admin Needed screen during the linking flow. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. - - common_models : typing.Optional[typing.Sequence[CommonModelScopesBodyRequest]] - An array of objects to specify the models and fields that will be disabled for a given Linked Account. Each object uses model_id, enabled_actions, and disabled_fields to specify the model, method, and fields that are scoped for a given Linked Account. - - category_common_model_scopes : typing.Optional[typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]]] - When creating a Link Token, you can set permissions for Common Models that will apply to the account that is going to be linked. Any model or field not specified in link token payload will default to existing settings. - - language : typing.Optional[LanguageEnum] - The following subset of IETF language tags can be used to configure localization. - - * `en` - en - * `de` - de - - are_syncs_disabled : typing.Optional[bool] - The boolean that indicates whether initial, periodic, and force syncs will be disabled. - - integration_specific_config : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] - A JSON object containing integration-specific configuration options. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - LinkToken - - - Examples - -------- - from merge import Merge - from merge.resources.filestorage import CategoriesEnum - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.filestorage.link_token.create( - end_user_email_address="example@gmail.com", - end_user_organization_name="Test Organization", - end_user_origin_id="12345", - categories=[CategoriesEnum.HRIS, CategoriesEnum.ATS], - ) - """ - _response = self._raw_client.create( - end_user_email_address=end_user_email_address, - end_user_organization_name=end_user_organization_name, - end_user_origin_id=end_user_origin_id, - categories=categories, - integration=integration, - link_expiry_mins=link_expiry_mins, - should_create_magic_link_url=should_create_magic_link_url, - hide_admin_magic_link=hide_admin_magic_link, - common_models=common_models, - category_common_model_scopes=category_common_model_scopes, - language=language, - are_syncs_disabled=are_syncs_disabled, - integration_specific_config=integration_specific_config, - request_options=request_options, - ) - return _response.data - - -class AsyncLinkTokenClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawLinkTokenClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawLinkTokenClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawLinkTokenClient - """ - return self._raw_client - - async def create( - self, - *, - end_user_email_address: str, - end_user_organization_name: str, - end_user_origin_id: str, - categories: typing.Sequence[CategoriesEnum], - integration: typing.Optional[str] = OMIT, - link_expiry_mins: typing.Optional[int] = OMIT, - should_create_magic_link_url: typing.Optional[bool] = OMIT, - hide_admin_magic_link: typing.Optional[bool] = OMIT, - common_models: typing.Optional[typing.Sequence[CommonModelScopesBodyRequest]] = OMIT, - category_common_model_scopes: typing.Optional[ - typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]] - ] = OMIT, - language: typing.Optional[LanguageEnum] = OMIT, - are_syncs_disabled: typing.Optional[bool] = OMIT, - integration_specific_config: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, - request_options: typing.Optional[RequestOptions] = None, - ) -> LinkToken: - """ - Creates a link token to be used when linking a new end user. - - Parameters - ---------- - end_user_email_address : str - Your end user's email address. This is purely for identification purposes - setting this value will not cause any emails to be sent. - - end_user_organization_name : str - Your end user's organization. - - end_user_origin_id : str - This unique identifier typically represents the ID for your end user in your product's database. This value must be distinct from other Linked Accounts' unique identifiers. - - categories : typing.Sequence[CategoriesEnum] - The integration categories to show in Merge Link. - - integration : typing.Optional[str] - The slug of a specific pre-selected integration for this linking flow token. For examples of slugs, see https://docs.merge.dev/guides/merge-link/single-integration/. - - link_expiry_mins : typing.Optional[int] - An integer number of minutes between [30, 720 or 10080 if for a Magic Link URL] for how long this token is valid. Defaults to 30. - - should_create_magic_link_url : typing.Optional[bool] - Whether to generate a Magic Link URL. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. - - hide_admin_magic_link : typing.Optional[bool] - Whether to generate a Magic Link URL on the Admin Needed screen during the linking flow. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. - - common_models : typing.Optional[typing.Sequence[CommonModelScopesBodyRequest]] - An array of objects to specify the models and fields that will be disabled for a given Linked Account. Each object uses model_id, enabled_actions, and disabled_fields to specify the model, method, and fields that are scoped for a given Linked Account. - - category_common_model_scopes : typing.Optional[typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]]] - When creating a Link Token, you can set permissions for Common Models that will apply to the account that is going to be linked. Any model or field not specified in link token payload will default to existing settings. - - language : typing.Optional[LanguageEnum] - The following subset of IETF language tags can be used to configure localization. - - * `en` - en - * `de` - de - - are_syncs_disabled : typing.Optional[bool] - The boolean that indicates whether initial, periodic, and force syncs will be disabled. - - integration_specific_config : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] - A JSON object containing integration-specific configuration options. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - LinkToken - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - from merge.resources.filestorage import CategoriesEnum - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.filestorage.link_token.create( - end_user_email_address="example@gmail.com", - end_user_organization_name="Test Organization", - end_user_origin_id="12345", - categories=[CategoriesEnum.HRIS, CategoriesEnum.ATS], - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.create( - end_user_email_address=end_user_email_address, - end_user_organization_name=end_user_organization_name, - end_user_origin_id=end_user_origin_id, - categories=categories, - integration=integration, - link_expiry_mins=link_expiry_mins, - should_create_magic_link_url=should_create_magic_link_url, - hide_admin_magic_link=hide_admin_magic_link, - common_models=common_models, - category_common_model_scopes=category_common_model_scopes, - language=language, - are_syncs_disabled=are_syncs_disabled, - integration_specific_config=integration_specific_config, - request_options=request_options, - ) - return _response.data diff --git a/src/merge/resources/filestorage/resources/link_token/raw_client.py b/src/merge/resources/filestorage/resources/link_token/raw_client.py deleted file mode 100644 index 391c7bb5..00000000 --- a/src/merge/resources/filestorage/resources/link_token/raw_client.py +++ /dev/null @@ -1,256 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.categories_enum import CategoriesEnum -from ...types.common_model_scopes_body_request import CommonModelScopesBodyRequest -from ...types.individual_common_model_scope_deserializer_request import IndividualCommonModelScopeDeserializerRequest -from ...types.language_enum import LanguageEnum -from ...types.link_token import LinkToken - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class RawLinkTokenClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def create( - self, - *, - end_user_email_address: str, - end_user_organization_name: str, - end_user_origin_id: str, - categories: typing.Sequence[CategoriesEnum], - integration: typing.Optional[str] = OMIT, - link_expiry_mins: typing.Optional[int] = OMIT, - should_create_magic_link_url: typing.Optional[bool] = OMIT, - hide_admin_magic_link: typing.Optional[bool] = OMIT, - common_models: typing.Optional[typing.Sequence[CommonModelScopesBodyRequest]] = OMIT, - category_common_model_scopes: typing.Optional[ - typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]] - ] = OMIT, - language: typing.Optional[LanguageEnum] = OMIT, - are_syncs_disabled: typing.Optional[bool] = OMIT, - integration_specific_config: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[LinkToken]: - """ - Creates a link token to be used when linking a new end user. - - Parameters - ---------- - end_user_email_address : str - Your end user's email address. This is purely for identification purposes - setting this value will not cause any emails to be sent. - - end_user_organization_name : str - Your end user's organization. - - end_user_origin_id : str - This unique identifier typically represents the ID for your end user in your product's database. This value must be distinct from other Linked Accounts' unique identifiers. - - categories : typing.Sequence[CategoriesEnum] - The integration categories to show in Merge Link. - - integration : typing.Optional[str] - The slug of a specific pre-selected integration for this linking flow token. For examples of slugs, see https://docs.merge.dev/guides/merge-link/single-integration/. - - link_expiry_mins : typing.Optional[int] - An integer number of minutes between [30, 720 or 10080 if for a Magic Link URL] for how long this token is valid. Defaults to 30. - - should_create_magic_link_url : typing.Optional[bool] - Whether to generate a Magic Link URL. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. - - hide_admin_magic_link : typing.Optional[bool] - Whether to generate a Magic Link URL on the Admin Needed screen during the linking flow. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. - - common_models : typing.Optional[typing.Sequence[CommonModelScopesBodyRequest]] - An array of objects to specify the models and fields that will be disabled for a given Linked Account. Each object uses model_id, enabled_actions, and disabled_fields to specify the model, method, and fields that are scoped for a given Linked Account. - - category_common_model_scopes : typing.Optional[typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]]] - When creating a Link Token, you can set permissions for Common Models that will apply to the account that is going to be linked. Any model or field not specified in link token payload will default to existing settings. - - language : typing.Optional[LanguageEnum] - The following subset of IETF language tags can be used to configure localization. - - * `en` - en - * `de` - de - - are_syncs_disabled : typing.Optional[bool] - The boolean that indicates whether initial, periodic, and force syncs will be disabled. - - integration_specific_config : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] - A JSON object containing integration-specific configuration options. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[LinkToken] - - """ - _response = self._client_wrapper.httpx_client.request( - "filestorage/v1/link-token", - method="POST", - json={ - "end_user_email_address": end_user_email_address, - "end_user_organization_name": end_user_organization_name, - "end_user_origin_id": end_user_origin_id, - "categories": categories, - "integration": integration, - "link_expiry_mins": link_expiry_mins, - "should_create_magic_link_url": should_create_magic_link_url, - "hide_admin_magic_link": hide_admin_magic_link, - "common_models": common_models, - "category_common_model_scopes": category_common_model_scopes, - "language": language, - "are_syncs_disabled": are_syncs_disabled, - "integration_specific_config": integration_specific_config, - }, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - LinkToken, - construct_type( - type_=LinkToken, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawLinkTokenClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def create( - self, - *, - end_user_email_address: str, - end_user_organization_name: str, - end_user_origin_id: str, - categories: typing.Sequence[CategoriesEnum], - integration: typing.Optional[str] = OMIT, - link_expiry_mins: typing.Optional[int] = OMIT, - should_create_magic_link_url: typing.Optional[bool] = OMIT, - hide_admin_magic_link: typing.Optional[bool] = OMIT, - common_models: typing.Optional[typing.Sequence[CommonModelScopesBodyRequest]] = OMIT, - category_common_model_scopes: typing.Optional[ - typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]] - ] = OMIT, - language: typing.Optional[LanguageEnum] = OMIT, - are_syncs_disabled: typing.Optional[bool] = OMIT, - integration_specific_config: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[LinkToken]: - """ - Creates a link token to be used when linking a new end user. - - Parameters - ---------- - end_user_email_address : str - Your end user's email address. This is purely for identification purposes - setting this value will not cause any emails to be sent. - - end_user_organization_name : str - Your end user's organization. - - end_user_origin_id : str - This unique identifier typically represents the ID for your end user in your product's database. This value must be distinct from other Linked Accounts' unique identifiers. - - categories : typing.Sequence[CategoriesEnum] - The integration categories to show in Merge Link. - - integration : typing.Optional[str] - The slug of a specific pre-selected integration for this linking flow token. For examples of slugs, see https://docs.merge.dev/guides/merge-link/single-integration/. - - link_expiry_mins : typing.Optional[int] - An integer number of minutes between [30, 720 or 10080 if for a Magic Link URL] for how long this token is valid. Defaults to 30. - - should_create_magic_link_url : typing.Optional[bool] - Whether to generate a Magic Link URL. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. - - hide_admin_magic_link : typing.Optional[bool] - Whether to generate a Magic Link URL on the Admin Needed screen during the linking flow. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. - - common_models : typing.Optional[typing.Sequence[CommonModelScopesBodyRequest]] - An array of objects to specify the models and fields that will be disabled for a given Linked Account. Each object uses model_id, enabled_actions, and disabled_fields to specify the model, method, and fields that are scoped for a given Linked Account. - - category_common_model_scopes : typing.Optional[typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]]] - When creating a Link Token, you can set permissions for Common Models that will apply to the account that is going to be linked. Any model or field not specified in link token payload will default to existing settings. - - language : typing.Optional[LanguageEnum] - The following subset of IETF language tags can be used to configure localization. - - * `en` - en - * `de` - de - - are_syncs_disabled : typing.Optional[bool] - The boolean that indicates whether initial, periodic, and force syncs will be disabled. - - integration_specific_config : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] - A JSON object containing integration-specific configuration options. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[LinkToken] - - """ - _response = await self._client_wrapper.httpx_client.request( - "filestorage/v1/link-token", - method="POST", - json={ - "end_user_email_address": end_user_email_address, - "end_user_organization_name": end_user_organization_name, - "end_user_origin_id": end_user_origin_id, - "categories": categories, - "integration": integration, - "link_expiry_mins": link_expiry_mins, - "should_create_magic_link_url": should_create_magic_link_url, - "hide_admin_magic_link": hide_admin_magic_link, - "common_models": common_models, - "category_common_model_scopes": category_common_model_scopes, - "language": language, - "are_syncs_disabled": are_syncs_disabled, - "integration_specific_config": integration_specific_config, - }, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - LinkToken, - construct_type( - type_=LinkToken, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/filestorage/resources/linked_accounts/__init__.py b/src/merge/resources/filestorage/resources/linked_accounts/__init__.py deleted file mode 100644 index 0b9e42b4..00000000 --- a/src/merge/resources/filestorage/resources/linked_accounts/__init__.py +++ /dev/null @@ -1,32 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - -import typing -from importlib import import_module - -if typing.TYPE_CHECKING: - from .types import LinkedAccountsListRequestCategory -_dynamic_imports: typing.Dict[str, str] = {"LinkedAccountsListRequestCategory": ".types"} - - -def __getattr__(attr_name: str) -> typing.Any: - module_name = _dynamic_imports.get(attr_name) - if module_name is None: - raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") - try: - module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result - except ImportError as e: - raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e - except AttributeError as e: - raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e - - -def __dir__(): - lazy_attrs = list(_dynamic_imports.keys()) - return sorted(lazy_attrs) - - -__all__ = ["LinkedAccountsListRequestCategory"] diff --git a/src/merge/resources/filestorage/resources/linked_accounts/client.py b/src/merge/resources/filestorage/resources/linked_accounts/client.py deleted file mode 100644 index dbe48ae0..00000000 --- a/src/merge/resources/filestorage/resources/linked_accounts/client.py +++ /dev/null @@ -1,293 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.paginated_account_details_and_actions_list import PaginatedAccountDetailsAndActionsList -from .raw_client import AsyncRawLinkedAccountsClient, RawLinkedAccountsClient -from .types.linked_accounts_list_request_category import LinkedAccountsListRequestCategory - - -class LinkedAccountsClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawLinkedAccountsClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawLinkedAccountsClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawLinkedAccountsClient - """ - return self._raw_client - - def list( - self, - *, - category: typing.Optional[LinkedAccountsListRequestCategory] = None, - cursor: typing.Optional[str] = None, - end_user_email_address: typing.Optional[str] = None, - end_user_organization_name: typing.Optional[str] = None, - end_user_origin_id: typing.Optional[str] = None, - end_user_origin_ids: typing.Optional[str] = None, - id: typing.Optional[str] = None, - ids: typing.Optional[str] = None, - include_duplicates: typing.Optional[bool] = None, - integration_name: typing.Optional[str] = None, - is_test_account: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - status: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAccountDetailsAndActionsList: - """ - List linked accounts for your organization. - - Parameters - ---------- - category : typing.Optional[LinkedAccountsListRequestCategory] - Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing` - - * `hris` - hris - * `ats` - ats - * `accounting` - accounting - * `ticketing` - ticketing - * `crm` - crm - * `mktg` - mktg - * `filestorage` - filestorage - - cursor : typing.Optional[str] - The pagination cursor value. - - end_user_email_address : typing.Optional[str] - If provided, will only return linked accounts associated with the given email address. - - end_user_organization_name : typing.Optional[str] - If provided, will only return linked accounts associated with the given organization name. - - end_user_origin_id : typing.Optional[str] - If provided, will only return linked accounts associated with the given origin ID. - - end_user_origin_ids : typing.Optional[str] - Comma-separated list of EndUser origin IDs, making it possible to specify multiple EndUsers at once. - - id : typing.Optional[str] - - ids : typing.Optional[str] - Comma-separated list of LinkedAccount IDs, making it possible to specify multiple LinkedAccounts at once. - - include_duplicates : typing.Optional[bool] - If `true`, will include complete production duplicates of the account specified by the `id` query parameter in the response. `id` must be for a complete production linked account. - - integration_name : typing.Optional[str] - If provided, will only return linked accounts associated with the given integration name. - - is_test_account : typing.Optional[str] - If included, will only include test linked accounts. If not included, will only include non-test linked accounts. - - page_size : typing.Optional[int] - Number of results to return per page. - - status : typing.Optional[str] - Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedAccountDetailsAndActionsList - - - Examples - -------- - from merge import Merge - from merge.resources.filestorage.resources.linked_accounts import ( - LinkedAccountsListRequestCategory, - ) - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.filestorage.linked_accounts.list( - category=LinkedAccountsListRequestCategory.ACCOUNTING, - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_user_email_address="end_user_email_address", - end_user_organization_name="end_user_organization_name", - end_user_origin_id="end_user_origin_id", - end_user_origin_ids="end_user_origin_ids", - id="id", - ids="ids", - include_duplicates=True, - integration_name="integration_name", - is_test_account="is_test_account", - page_size=1, - status="status", - ) - """ - _response = self._raw_client.list( - category=category, - cursor=cursor, - end_user_email_address=end_user_email_address, - end_user_organization_name=end_user_organization_name, - end_user_origin_id=end_user_origin_id, - end_user_origin_ids=end_user_origin_ids, - id=id, - ids=ids, - include_duplicates=include_duplicates, - integration_name=integration_name, - is_test_account=is_test_account, - page_size=page_size, - status=status, - request_options=request_options, - ) - return _response.data - - -class AsyncLinkedAccountsClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawLinkedAccountsClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawLinkedAccountsClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawLinkedAccountsClient - """ - return self._raw_client - - async def list( - self, - *, - category: typing.Optional[LinkedAccountsListRequestCategory] = None, - cursor: typing.Optional[str] = None, - end_user_email_address: typing.Optional[str] = None, - end_user_organization_name: typing.Optional[str] = None, - end_user_origin_id: typing.Optional[str] = None, - end_user_origin_ids: typing.Optional[str] = None, - id: typing.Optional[str] = None, - ids: typing.Optional[str] = None, - include_duplicates: typing.Optional[bool] = None, - integration_name: typing.Optional[str] = None, - is_test_account: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - status: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAccountDetailsAndActionsList: - """ - List linked accounts for your organization. - - Parameters - ---------- - category : typing.Optional[LinkedAccountsListRequestCategory] - Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing` - - * `hris` - hris - * `ats` - ats - * `accounting` - accounting - * `ticketing` - ticketing - * `crm` - crm - * `mktg` - mktg - * `filestorage` - filestorage - - cursor : typing.Optional[str] - The pagination cursor value. - - end_user_email_address : typing.Optional[str] - If provided, will only return linked accounts associated with the given email address. - - end_user_organization_name : typing.Optional[str] - If provided, will only return linked accounts associated with the given organization name. - - end_user_origin_id : typing.Optional[str] - If provided, will only return linked accounts associated with the given origin ID. - - end_user_origin_ids : typing.Optional[str] - Comma-separated list of EndUser origin IDs, making it possible to specify multiple EndUsers at once. - - id : typing.Optional[str] - - ids : typing.Optional[str] - Comma-separated list of LinkedAccount IDs, making it possible to specify multiple LinkedAccounts at once. - - include_duplicates : typing.Optional[bool] - If `true`, will include complete production duplicates of the account specified by the `id` query parameter in the response. `id` must be for a complete production linked account. - - integration_name : typing.Optional[str] - If provided, will only return linked accounts associated with the given integration name. - - is_test_account : typing.Optional[str] - If included, will only include test linked accounts. If not included, will only include non-test linked accounts. - - page_size : typing.Optional[int] - Number of results to return per page. - - status : typing.Optional[str] - Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedAccountDetailsAndActionsList - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - from merge.resources.filestorage.resources.linked_accounts import ( - LinkedAccountsListRequestCategory, - ) - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.filestorage.linked_accounts.list( - category=LinkedAccountsListRequestCategory.ACCOUNTING, - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_user_email_address="end_user_email_address", - end_user_organization_name="end_user_organization_name", - end_user_origin_id="end_user_origin_id", - end_user_origin_ids="end_user_origin_ids", - id="id", - ids="ids", - include_duplicates=True, - integration_name="integration_name", - is_test_account="is_test_account", - page_size=1, - status="status", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.list( - category=category, - cursor=cursor, - end_user_email_address=end_user_email_address, - end_user_organization_name=end_user_organization_name, - end_user_origin_id=end_user_origin_id, - end_user_origin_ids=end_user_origin_ids, - id=id, - ids=ids, - include_duplicates=include_duplicates, - integration_name=integration_name, - is_test_account=is_test_account, - page_size=page_size, - status=status, - request_options=request_options, - ) - return _response.data diff --git a/src/merge/resources/filestorage/resources/linked_accounts/raw_client.py b/src/merge/resources/filestorage/resources/linked_accounts/raw_client.py deleted file mode 100644 index 84226075..00000000 --- a/src/merge/resources/filestorage/resources/linked_accounts/raw_client.py +++ /dev/null @@ -1,246 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.paginated_account_details_and_actions_list import PaginatedAccountDetailsAndActionsList -from .types.linked_accounts_list_request_category import LinkedAccountsListRequestCategory - - -class RawLinkedAccountsClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def list( - self, - *, - category: typing.Optional[LinkedAccountsListRequestCategory] = None, - cursor: typing.Optional[str] = None, - end_user_email_address: typing.Optional[str] = None, - end_user_organization_name: typing.Optional[str] = None, - end_user_origin_id: typing.Optional[str] = None, - end_user_origin_ids: typing.Optional[str] = None, - id: typing.Optional[str] = None, - ids: typing.Optional[str] = None, - include_duplicates: typing.Optional[bool] = None, - integration_name: typing.Optional[str] = None, - is_test_account: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - status: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedAccountDetailsAndActionsList]: - """ - List linked accounts for your organization. - - Parameters - ---------- - category : typing.Optional[LinkedAccountsListRequestCategory] - Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing` - - * `hris` - hris - * `ats` - ats - * `accounting` - accounting - * `ticketing` - ticketing - * `crm` - crm - * `mktg` - mktg - * `filestorage` - filestorage - - cursor : typing.Optional[str] - The pagination cursor value. - - end_user_email_address : typing.Optional[str] - If provided, will only return linked accounts associated with the given email address. - - end_user_organization_name : typing.Optional[str] - If provided, will only return linked accounts associated with the given organization name. - - end_user_origin_id : typing.Optional[str] - If provided, will only return linked accounts associated with the given origin ID. - - end_user_origin_ids : typing.Optional[str] - Comma-separated list of EndUser origin IDs, making it possible to specify multiple EndUsers at once. - - id : typing.Optional[str] - - ids : typing.Optional[str] - Comma-separated list of LinkedAccount IDs, making it possible to specify multiple LinkedAccounts at once. - - include_duplicates : typing.Optional[bool] - If `true`, will include complete production duplicates of the account specified by the `id` query parameter in the response. `id` must be for a complete production linked account. - - integration_name : typing.Optional[str] - If provided, will only return linked accounts associated with the given integration name. - - is_test_account : typing.Optional[str] - If included, will only include test linked accounts. If not included, will only include non-test linked accounts. - - page_size : typing.Optional[int] - Number of results to return per page. - - status : typing.Optional[str] - Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[PaginatedAccountDetailsAndActionsList] - - """ - _response = self._client_wrapper.httpx_client.request( - "filestorage/v1/linked-accounts", - method="GET", - params={ - "category": category, - "cursor": cursor, - "end_user_email_address": end_user_email_address, - "end_user_organization_name": end_user_organization_name, - "end_user_origin_id": end_user_origin_id, - "end_user_origin_ids": end_user_origin_ids, - "id": id, - "ids": ids, - "include_duplicates": include_duplicates, - "integration_name": integration_name, - "is_test_account": is_test_account, - "page_size": page_size, - "status": status, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedAccountDetailsAndActionsList, - construct_type( - type_=PaginatedAccountDetailsAndActionsList, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawLinkedAccountsClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def list( - self, - *, - category: typing.Optional[LinkedAccountsListRequestCategory] = None, - cursor: typing.Optional[str] = None, - end_user_email_address: typing.Optional[str] = None, - end_user_organization_name: typing.Optional[str] = None, - end_user_origin_id: typing.Optional[str] = None, - end_user_origin_ids: typing.Optional[str] = None, - id: typing.Optional[str] = None, - ids: typing.Optional[str] = None, - include_duplicates: typing.Optional[bool] = None, - integration_name: typing.Optional[str] = None, - is_test_account: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - status: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedAccountDetailsAndActionsList]: - """ - List linked accounts for your organization. - - Parameters - ---------- - category : typing.Optional[LinkedAccountsListRequestCategory] - Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing` - - * `hris` - hris - * `ats` - ats - * `accounting` - accounting - * `ticketing` - ticketing - * `crm` - crm - * `mktg` - mktg - * `filestorage` - filestorage - - cursor : typing.Optional[str] - The pagination cursor value. - - end_user_email_address : typing.Optional[str] - If provided, will only return linked accounts associated with the given email address. - - end_user_organization_name : typing.Optional[str] - If provided, will only return linked accounts associated with the given organization name. - - end_user_origin_id : typing.Optional[str] - If provided, will only return linked accounts associated with the given origin ID. - - end_user_origin_ids : typing.Optional[str] - Comma-separated list of EndUser origin IDs, making it possible to specify multiple EndUsers at once. - - id : typing.Optional[str] - - ids : typing.Optional[str] - Comma-separated list of LinkedAccount IDs, making it possible to specify multiple LinkedAccounts at once. - - include_duplicates : typing.Optional[bool] - If `true`, will include complete production duplicates of the account specified by the `id` query parameter in the response. `id` must be for a complete production linked account. - - integration_name : typing.Optional[str] - If provided, will only return linked accounts associated with the given integration name. - - is_test_account : typing.Optional[str] - If included, will only include test linked accounts. If not included, will only include non-test linked accounts. - - page_size : typing.Optional[int] - Number of results to return per page. - - status : typing.Optional[str] - Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[PaginatedAccountDetailsAndActionsList] - - """ - _response = await self._client_wrapper.httpx_client.request( - "filestorage/v1/linked-accounts", - method="GET", - params={ - "category": category, - "cursor": cursor, - "end_user_email_address": end_user_email_address, - "end_user_organization_name": end_user_organization_name, - "end_user_origin_id": end_user_origin_id, - "end_user_origin_ids": end_user_origin_ids, - "id": id, - "ids": ids, - "include_duplicates": include_duplicates, - "integration_name": integration_name, - "is_test_account": is_test_account, - "page_size": page_size, - "status": status, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedAccountDetailsAndActionsList, - construct_type( - type_=PaginatedAccountDetailsAndActionsList, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/filestorage/resources/linked_accounts/types/__init__.py b/src/merge/resources/filestorage/resources/linked_accounts/types/__init__.py deleted file mode 100644 index a28f38cc..00000000 --- a/src/merge/resources/filestorage/resources/linked_accounts/types/__init__.py +++ /dev/null @@ -1,34 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - -import typing -from importlib import import_module - -if typing.TYPE_CHECKING: - from .linked_accounts_list_request_category import LinkedAccountsListRequestCategory -_dynamic_imports: typing.Dict[str, str] = { - "LinkedAccountsListRequestCategory": ".linked_accounts_list_request_category" -} - - -def __getattr__(attr_name: str) -> typing.Any: - module_name = _dynamic_imports.get(attr_name) - if module_name is None: - raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") - try: - module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result - except ImportError as e: - raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e - except AttributeError as e: - raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e - - -def __dir__(): - lazy_attrs = list(_dynamic_imports.keys()) - return sorted(lazy_attrs) - - -__all__ = ["LinkedAccountsListRequestCategory"] diff --git a/src/merge/resources/filestorage/resources/passthrough/__init__.py b/src/merge/resources/filestorage/resources/passthrough/__init__.py deleted file mode 100644 index 5cde0202..00000000 --- a/src/merge/resources/filestorage/resources/passthrough/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - diff --git a/src/merge/resources/filestorage/resources/passthrough/client.py b/src/merge/resources/filestorage/resources/passthrough/client.py deleted file mode 100644 index 21925454..00000000 --- a/src/merge/resources/filestorage/resources/passthrough/client.py +++ /dev/null @@ -1,126 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.data_passthrough_request import DataPassthroughRequest -from ...types.remote_response import RemoteResponse -from .raw_client import AsyncRawPassthroughClient, RawPassthroughClient - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class PassthroughClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawPassthroughClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawPassthroughClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawPassthroughClient - """ - return self._raw_client - - def create( - self, *, request: DataPassthroughRequest, request_options: typing.Optional[RequestOptions] = None - ) -> RemoteResponse: - """ - Pull data from an endpoint not currently supported by Merge. - - Parameters - ---------- - request : DataPassthroughRequest - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - RemoteResponse - - - Examples - -------- - from merge import Merge - from merge.resources.filestorage import DataPassthroughRequest, MethodEnum - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.filestorage.passthrough.create( - request=DataPassthroughRequest( - method=MethodEnum.GET, - path="/scooters", - ), - ) - """ - _response = self._raw_client.create(request=request, request_options=request_options) - return _response.data - - -class AsyncPassthroughClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawPassthroughClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawPassthroughClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawPassthroughClient - """ - return self._raw_client - - async def create( - self, *, request: DataPassthroughRequest, request_options: typing.Optional[RequestOptions] = None - ) -> RemoteResponse: - """ - Pull data from an endpoint not currently supported by Merge. - - Parameters - ---------- - request : DataPassthroughRequest - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - RemoteResponse - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - from merge.resources.filestorage import DataPassthroughRequest, MethodEnum - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.filestorage.passthrough.create( - request=DataPassthroughRequest( - method=MethodEnum.GET, - path="/scooters", - ), - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.create(request=request, request_options=request_options) - return _response.data diff --git a/src/merge/resources/filestorage/resources/regenerate_key/__init__.py b/src/merge/resources/filestorage/resources/regenerate_key/__init__.py deleted file mode 100644 index 5cde0202..00000000 --- a/src/merge/resources/filestorage/resources/regenerate_key/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - diff --git a/src/merge/resources/filestorage/resources/regenerate_key/client.py b/src/merge/resources/filestorage/resources/regenerate_key/client.py deleted file mode 100644 index 45c3c57b..00000000 --- a/src/merge/resources/filestorage/resources/regenerate_key/client.py +++ /dev/null @@ -1,115 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.remote_key import RemoteKey -from .raw_client import AsyncRawRegenerateKeyClient, RawRegenerateKeyClient - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class RegenerateKeyClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawRegenerateKeyClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawRegenerateKeyClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawRegenerateKeyClient - """ - return self._raw_client - - def create(self, *, name: str, request_options: typing.Optional[RequestOptions] = None) -> RemoteKey: - """ - Exchange remote keys. - - Parameters - ---------- - name : str - The name of the remote key - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - RemoteKey - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.filestorage.regenerate_key.create( - name="Remote Deployment Key 1", - ) - """ - _response = self._raw_client.create(name=name, request_options=request_options) - return _response.data - - -class AsyncRegenerateKeyClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawRegenerateKeyClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawRegenerateKeyClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawRegenerateKeyClient - """ - return self._raw_client - - async def create(self, *, name: str, request_options: typing.Optional[RequestOptions] = None) -> RemoteKey: - """ - Exchange remote keys. - - Parameters - ---------- - name : str - The name of the remote key - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - RemoteKey - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.filestorage.regenerate_key.create( - name="Remote Deployment Key 1", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.create(name=name, request_options=request_options) - return _response.data diff --git a/src/merge/resources/filestorage/resources/scopes/__init__.py b/src/merge/resources/filestorage/resources/scopes/__init__.py deleted file mode 100644 index 5cde0202..00000000 --- a/src/merge/resources/filestorage/resources/scopes/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - diff --git a/src/merge/resources/filestorage/resources/scopes/client.py b/src/merge/resources/filestorage/resources/scopes/client.py deleted file mode 100644 index f279d7ac..00000000 --- a/src/merge/resources/filestorage/resources/scopes/client.py +++ /dev/null @@ -1,320 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.common_model_scope_api import CommonModelScopeApi -from ...types.individual_common_model_scope_deserializer_request import IndividualCommonModelScopeDeserializerRequest -from .raw_client import AsyncRawScopesClient, RawScopesClient - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class ScopesClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawScopesClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawScopesClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawScopesClient - """ - return self._raw_client - - def default_scopes_retrieve( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> CommonModelScopeApi: - """ - Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - CommonModelScopeApi - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.filestorage.scopes.default_scopes_retrieve() - """ - _response = self._raw_client.default_scopes_retrieve(request_options=request_options) - return _response.data - - def linked_account_scopes_retrieve( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> CommonModelScopeApi: - """ - Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - CommonModelScopeApi - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.filestorage.scopes.linked_account_scopes_retrieve() - """ - _response = self._raw_client.linked_account_scopes_retrieve(request_options=request_options) - return _response.data - - def linked_account_scopes_create( - self, - *, - common_models: typing.Sequence[IndividualCommonModelScopeDeserializerRequest], - request_options: typing.Optional[RequestOptions] = None, - ) -> CommonModelScopeApi: - """ - Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes) - - Parameters - ---------- - common_models : typing.Sequence[IndividualCommonModelScopeDeserializerRequest] - The common models you want to update the scopes for - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - CommonModelScopeApi - - - Examples - -------- - from merge import Merge - from merge.resources.filestorage import ( - FieldPermissionDeserializerRequest, - IndividualCommonModelScopeDeserializerRequest, - ModelPermissionDeserializerRequest, - ) - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.filestorage.scopes.linked_account_scopes_create( - common_models=[ - IndividualCommonModelScopeDeserializerRequest( - model_name="Employee", - model_permissions={ - "READ": ModelPermissionDeserializerRequest( - is_enabled=True, - ), - "WRITE": ModelPermissionDeserializerRequest( - is_enabled=False, - ), - }, - field_permissions=FieldPermissionDeserializerRequest( - enabled_fields=["avatar", "home_location"], - disabled_fields=["work_location"], - ), - ), - IndividualCommonModelScopeDeserializerRequest( - model_name="Benefit", - model_permissions={ - "WRITE": ModelPermissionDeserializerRequest( - is_enabled=False, - ) - }, - ), - ], - ) - """ - _response = self._raw_client.linked_account_scopes_create( - common_models=common_models, request_options=request_options - ) - return _response.data - - -class AsyncScopesClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawScopesClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawScopesClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawScopesClient - """ - return self._raw_client - - async def default_scopes_retrieve( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> CommonModelScopeApi: - """ - Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - CommonModelScopeApi - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.filestorage.scopes.default_scopes_retrieve() - - - asyncio.run(main()) - """ - _response = await self._raw_client.default_scopes_retrieve(request_options=request_options) - return _response.data - - async def linked_account_scopes_retrieve( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> CommonModelScopeApi: - """ - Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - CommonModelScopeApi - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.filestorage.scopes.linked_account_scopes_retrieve() - - - asyncio.run(main()) - """ - _response = await self._raw_client.linked_account_scopes_retrieve(request_options=request_options) - return _response.data - - async def linked_account_scopes_create( - self, - *, - common_models: typing.Sequence[IndividualCommonModelScopeDeserializerRequest], - request_options: typing.Optional[RequestOptions] = None, - ) -> CommonModelScopeApi: - """ - Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes) - - Parameters - ---------- - common_models : typing.Sequence[IndividualCommonModelScopeDeserializerRequest] - The common models you want to update the scopes for - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - CommonModelScopeApi - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - from merge.resources.filestorage import ( - FieldPermissionDeserializerRequest, - IndividualCommonModelScopeDeserializerRequest, - ModelPermissionDeserializerRequest, - ) - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.filestorage.scopes.linked_account_scopes_create( - common_models=[ - IndividualCommonModelScopeDeserializerRequest( - model_name="Employee", - model_permissions={ - "READ": ModelPermissionDeserializerRequest( - is_enabled=True, - ), - "WRITE": ModelPermissionDeserializerRequest( - is_enabled=False, - ), - }, - field_permissions=FieldPermissionDeserializerRequest( - enabled_fields=["avatar", "home_location"], - disabled_fields=["work_location"], - ), - ), - IndividualCommonModelScopeDeserializerRequest( - model_name="Benefit", - model_permissions={ - "WRITE": ModelPermissionDeserializerRequest( - is_enabled=False, - ) - }, - ), - ], - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.linked_account_scopes_create( - common_models=common_models, request_options=request_options - ) - return _response.data diff --git a/src/merge/resources/filestorage/resources/sync_status/__init__.py b/src/merge/resources/filestorage/resources/sync_status/__init__.py deleted file mode 100644 index 5cde0202..00000000 --- a/src/merge/resources/filestorage/resources/sync_status/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - diff --git a/src/merge/resources/filestorage/resources/sync_status/client.py b/src/merge/resources/filestorage/resources/sync_status/client.py deleted file mode 100644 index 1ac89821..00000000 --- a/src/merge/resources/filestorage/resources/sync_status/client.py +++ /dev/null @@ -1,132 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.paginated_sync_status_list import PaginatedSyncStatusList -from .raw_client import AsyncRawSyncStatusClient, RawSyncStatusClient - - -class SyncStatusClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawSyncStatusClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawSyncStatusClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawSyncStatusClient - """ - return self._raw_client - - def list( - self, - *, - cursor: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedSyncStatusList: - """ - Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). - - Parameters - ---------- - cursor : typing.Optional[str] - The pagination cursor value. - - page_size : typing.Optional[int] - Number of results to return per page. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedSyncStatusList - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.filestorage.sync_status.list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - page_size=1, - ) - """ - _response = self._raw_client.list(cursor=cursor, page_size=page_size, request_options=request_options) - return _response.data - - -class AsyncSyncStatusClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawSyncStatusClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawSyncStatusClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawSyncStatusClient - """ - return self._raw_client - - async def list( - self, - *, - cursor: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedSyncStatusList: - """ - Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). - - Parameters - ---------- - cursor : typing.Optional[str] - The pagination cursor value. - - page_size : typing.Optional[int] - Number of results to return per page. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedSyncStatusList - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.filestorage.sync_status.list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - page_size=1, - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.list(cursor=cursor, page_size=page_size, request_options=request_options) - return _response.data diff --git a/src/merge/resources/filestorage/resources/sync_status/raw_client.py b/src/merge/resources/filestorage/resources/sync_status/raw_client.py deleted file mode 100644 index a3fccfec..00000000 --- a/src/merge/resources/filestorage/resources/sync_status/raw_client.py +++ /dev/null @@ -1,121 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.paginated_sync_status_list import PaginatedSyncStatusList - - -class RawSyncStatusClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def list( - self, - *, - cursor: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedSyncStatusList]: - """ - Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). - - Parameters - ---------- - cursor : typing.Optional[str] - The pagination cursor value. - - page_size : typing.Optional[int] - Number of results to return per page. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[PaginatedSyncStatusList] - - """ - _response = self._client_wrapper.httpx_client.request( - "filestorage/v1/sync-status", - method="GET", - params={ - "cursor": cursor, - "page_size": page_size, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedSyncStatusList, - construct_type( - type_=PaginatedSyncStatusList, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawSyncStatusClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def list( - self, - *, - cursor: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedSyncStatusList]: - """ - Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). - - Parameters - ---------- - cursor : typing.Optional[str] - The pagination cursor value. - - page_size : typing.Optional[int] - Number of results to return per page. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[PaginatedSyncStatusList] - - """ - _response = await self._client_wrapper.httpx_client.request( - "filestorage/v1/sync-status", - method="GET", - params={ - "cursor": cursor, - "page_size": page_size, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedSyncStatusList, - construct_type( - type_=PaginatedSyncStatusList, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/filestorage/resources/users/__init__.py b/src/merge/resources/filestorage/resources/users/__init__.py deleted file mode 100644 index 5cde0202..00000000 --- a/src/merge/resources/filestorage/resources/users/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - diff --git a/src/merge/resources/filestorage/resources/users/client.py b/src/merge/resources/filestorage/resources/users/client.py deleted file mode 100644 index 47767f06..00000000 --- a/src/merge/resources/filestorage/resources/users/client.py +++ /dev/null @@ -1,379 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.paginated_user_list import PaginatedUserList -from ...types.user import User -from .raw_client import AsyncRawUsersClient, RawUsersClient - - -class UsersClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawUsersClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawUsersClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawUsersClient - """ - return self._raw_client - - def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - is_me: typing.Optional[str] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedUserList: - """ - Returns a list of `User` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - is_me : typing.Optional[str] - If provided, will only return the user object for requestor. - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedUserList - - - Examples - -------- - import datetime - - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.filestorage.users.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - is_me="is_me", - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", - ) - """ - _response = self._raw_client.list( - created_after=created_after, - created_before=created_before, - cursor=cursor, - include_deleted_data=include_deleted_data, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - is_me=is_me, - modified_after=modified_after, - modified_before=modified_before, - page_size=page_size, - remote_id=remote_id, - request_options=request_options, - ) - return _response.data - - def retrieve( - self, - id: str, - *, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> User: - """ - Returns a `User` object with the given `id`. - - Parameters - ---------- - id : str - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - User - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.filestorage.users.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, - ) - """ - _response = self._raw_client.retrieve( - id, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - request_options=request_options, - ) - return _response.data - - -class AsyncUsersClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawUsersClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawUsersClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawUsersClient - """ - return self._raw_client - - async def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - is_me: typing.Optional[str] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedUserList: - """ - Returns a list of `User` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - is_me : typing.Optional[str] - If provided, will only return the user object for requestor. - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedUserList - - - Examples - -------- - import asyncio - import datetime - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.filestorage.users.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - is_me="is_me", - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.list( - created_after=created_after, - created_before=created_before, - cursor=cursor, - include_deleted_data=include_deleted_data, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - is_me=is_me, - modified_after=modified_after, - modified_before=modified_before, - page_size=page_size, - remote_id=remote_id, - request_options=request_options, - ) - return _response.data - - async def retrieve( - self, - id: str, - *, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> User: - """ - Returns a `User` object with the given `id`. - - Parameters - ---------- - id : str - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - User - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.filestorage.users.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.retrieve( - id, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - request_options=request_options, - ) - return _response.data diff --git a/src/merge/resources/filestorage/resources/users/raw_client.py b/src/merge/resources/filestorage/resources/users/raw_client.py deleted file mode 100644 index 71f11280..00000000 --- a/src/merge/resources/filestorage/resources/users/raw_client.py +++ /dev/null @@ -1,321 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.datetime_utils import serialize_datetime -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.jsonable_encoder import jsonable_encoder -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.paginated_user_list import PaginatedUserList -from ...types.user import User - - -class RawUsersClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - is_me: typing.Optional[str] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedUserList]: - """ - Returns a list of `User` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - is_me : typing.Optional[str] - If provided, will only return the user object for requestor. - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[PaginatedUserList] - - """ - _response = self._client_wrapper.httpx_client.request( - "filestorage/v1/users", - method="GET", - params={ - "created_after": serialize_datetime(created_after) if created_after is not None else None, - "created_before": serialize_datetime(created_before) if created_before is not None else None, - "cursor": cursor, - "include_deleted_data": include_deleted_data, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - "is_me": is_me, - "modified_after": serialize_datetime(modified_after) if modified_after is not None else None, - "modified_before": serialize_datetime(modified_before) if modified_before is not None else None, - "page_size": page_size, - "remote_id": remote_id, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedUserList, - construct_type( - type_=PaginatedUserList, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def retrieve( - self, - id: str, - *, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[User]: - """ - Returns a `User` object with the given `id`. - - Parameters - ---------- - id : str - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[User] - - """ - _response = self._client_wrapper.httpx_client.request( - f"filestorage/v1/users/{jsonable_encoder(id)}", - method="GET", - params={ - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - User, - construct_type( - type_=User, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawUsersClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - is_me: typing.Optional[str] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedUserList]: - """ - Returns a list of `User` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - is_me : typing.Optional[str] - If provided, will only return the user object for requestor. - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[PaginatedUserList] - - """ - _response = await self._client_wrapper.httpx_client.request( - "filestorage/v1/users", - method="GET", - params={ - "created_after": serialize_datetime(created_after) if created_after is not None else None, - "created_before": serialize_datetime(created_before) if created_before is not None else None, - "cursor": cursor, - "include_deleted_data": include_deleted_data, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - "is_me": is_me, - "modified_after": serialize_datetime(modified_after) if modified_after is not None else None, - "modified_before": serialize_datetime(modified_before) if modified_before is not None else None, - "page_size": page_size, - "remote_id": remote_id, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedUserList, - construct_type( - type_=PaginatedUserList, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def retrieve( - self, - id: str, - *, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[User]: - """ - Returns a `User` object with the given `id`. - - Parameters - ---------- - id : str - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[User] - - """ - _response = await self._client_wrapper.httpx_client.request( - f"filestorage/v1/users/{jsonable_encoder(id)}", - method="GET", - params={ - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - User, - construct_type( - type_=User, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/filestorage/resources/webhook_receivers/__init__.py b/src/merge/resources/filestorage/resources/webhook_receivers/__init__.py deleted file mode 100644 index 5cde0202..00000000 --- a/src/merge/resources/filestorage/resources/webhook_receivers/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - diff --git a/src/merge/resources/filestorage/resources/webhook_receivers/client.py b/src/merge/resources/filestorage/resources/webhook_receivers/client.py deleted file mode 100644 index b04230bd..00000000 --- a/src/merge/resources/filestorage/resources/webhook_receivers/client.py +++ /dev/null @@ -1,201 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.webhook_receiver import WebhookReceiver -from .raw_client import AsyncRawWebhookReceiversClient, RawWebhookReceiversClient - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class WebhookReceiversClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawWebhookReceiversClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawWebhookReceiversClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawWebhookReceiversClient - """ - return self._raw_client - - def list(self, *, request_options: typing.Optional[RequestOptions] = None) -> typing.List[WebhookReceiver]: - """ - Returns a list of `WebhookReceiver` objects. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - typing.List[WebhookReceiver] - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.filestorage.webhook_receivers.list() - """ - _response = self._raw_client.list(request_options=request_options) - return _response.data - - def create( - self, - *, - event: str, - is_active: bool, - key: typing.Optional[str] = OMIT, - request_options: typing.Optional[RequestOptions] = None, - ) -> WebhookReceiver: - """ - Creates a `WebhookReceiver` object with the given values. - - Parameters - ---------- - event : str - - is_active : bool - - key : typing.Optional[str] - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - WebhookReceiver - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.filestorage.webhook_receivers.create( - event="event", - is_active=True, - ) - """ - _response = self._raw_client.create(event=event, is_active=is_active, key=key, request_options=request_options) - return _response.data - - -class AsyncWebhookReceiversClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawWebhookReceiversClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawWebhookReceiversClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawWebhookReceiversClient - """ - return self._raw_client - - async def list(self, *, request_options: typing.Optional[RequestOptions] = None) -> typing.List[WebhookReceiver]: - """ - Returns a list of `WebhookReceiver` objects. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - typing.List[WebhookReceiver] - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.filestorage.webhook_receivers.list() - - - asyncio.run(main()) - """ - _response = await self._raw_client.list(request_options=request_options) - return _response.data - - async def create( - self, - *, - event: str, - is_active: bool, - key: typing.Optional[str] = OMIT, - request_options: typing.Optional[RequestOptions] = None, - ) -> WebhookReceiver: - """ - Creates a `WebhookReceiver` object with the given values. - - Parameters - ---------- - event : str - - is_active : bool - - key : typing.Optional[str] - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - WebhookReceiver - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.filestorage.webhook_receivers.create( - event="event", - is_active=True, - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.create( - event=event, is_active=is_active, key=key, request_options=request_options - ) - return _response.data diff --git a/src/merge/resources/filestorage/types/__init__.py b/src/merge/resources/filestorage/types/__init__.py deleted file mode 100644 index 88a872d6..00000000 --- a/src/merge/resources/filestorage/types/__init__.py +++ /dev/null @@ -1,380 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - -import typing -from importlib import import_module - -if typing.TYPE_CHECKING: - from .account_details import AccountDetails - from .account_details_and_actions import AccountDetailsAndActions - from .account_details_and_actions_integration import AccountDetailsAndActionsIntegration - from .account_details_and_actions_status_enum import AccountDetailsAndActionsStatusEnum - from .account_integration import AccountIntegration - from .account_token import AccountToken - from .advanced_metadata import AdvancedMetadata - from .async_passthrough_reciept import AsyncPassthroughReciept - from .audit_log_event import AuditLogEvent - from .audit_log_event_event_type import AuditLogEventEventType - from .audit_log_event_role import AuditLogEventRole - from .available_actions import AvailableActions - from .categories_enum import CategoriesEnum - from .category_enum import CategoryEnum - from .common_model_scope_api import CommonModelScopeApi - from .common_model_scopes_body_request import CommonModelScopesBodyRequest - from .data_passthrough_request import DataPassthroughRequest - from .debug_mode_log import DebugModeLog - from .debug_model_log_summary import DebugModelLogSummary - from .download_request_meta import DownloadRequestMeta - from .drive import Drive - from .enabled_actions_enum import EnabledActionsEnum - from .encoding_enum import EncodingEnum - from .error_validation_problem import ErrorValidationProblem - from .event_type_enum import EventTypeEnum - from .external_target_field_api import ExternalTargetFieldApi - from .external_target_field_api_response import ExternalTargetFieldApiResponse - from .field_mapping_api_instance import FieldMappingApiInstance - from .field_mapping_api_instance_remote_field import FieldMappingApiInstanceRemoteField - from .field_mapping_api_instance_remote_field_remote_endpoint_info import ( - FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo, - ) - from .field_mapping_api_instance_response import FieldMappingApiInstanceResponse - from .field_mapping_api_instance_target_field import FieldMappingApiInstanceTargetField - from .field_mapping_instance_response import FieldMappingInstanceResponse - from .field_permission_deserializer import FieldPermissionDeserializer - from .field_permission_deserializer_request import FieldPermissionDeserializerRequest - from .file import File - from .file_drive import FileDrive - from .file_folder import FileFolder - from .file_permissions import FilePermissions - from .file_permissions_item import FilePermissionsItem - from .file_request import FileRequest - from .file_request_drive import FileRequestDrive - from .file_request_folder import FileRequestFolder - from .file_request_permissions import FileRequestPermissions - from .file_request_permissions_item import FileRequestPermissionsItem - from .file_storage_file_response import FileStorageFileResponse - from .file_storage_folder_response import FileStorageFolderResponse - from .folder import Folder - from .folder_drive import FolderDrive - from .folder_parent_folder import FolderParentFolder - from .folder_permissions import FolderPermissions - from .folder_permissions_item import FolderPermissionsItem - from .folder_request import FolderRequest - from .folder_request_drive import FolderRequestDrive - from .folder_request_parent_folder import FolderRequestParentFolder - from .folder_request_permissions import FolderRequestPermissions - from .folder_request_permissions_item import FolderRequestPermissionsItem - from .group import Group - from .group_child_groups_item import GroupChildGroupsItem - from .individual_common_model_scope_deserializer import IndividualCommonModelScopeDeserializer - from .individual_common_model_scope_deserializer_request import IndividualCommonModelScopeDeserializerRequest - from .issue import Issue - from .issue_status import IssueStatus - from .issue_status_enum import IssueStatusEnum - from .language_enum import LanguageEnum - from .last_sync_result_enum import LastSyncResultEnum - from .link_token import LinkToken - from .linked_account_status import LinkedAccountStatus - from .meta_response import MetaResponse - from .method_enum import MethodEnum - from .model_operation import ModelOperation - from .model_permission_deserializer import ModelPermissionDeserializer - from .model_permission_deserializer_request import ModelPermissionDeserializerRequest - from .multipart_form_field_request import MultipartFormFieldRequest - from .multipart_form_field_request_encoding import MultipartFormFieldRequestEncoding - from .paginated_account_details_and_actions_list import PaginatedAccountDetailsAndActionsList - from .paginated_audit_log_event_list import PaginatedAuditLogEventList - from .paginated_download_request_meta_list import PaginatedDownloadRequestMetaList - from .paginated_drive_list import PaginatedDriveList - from .paginated_file_list import PaginatedFileList - from .paginated_folder_list import PaginatedFolderList - from .paginated_group_list import PaginatedGroupList - from .paginated_issue_list import PaginatedIssueList - from .paginated_sync_status_list import PaginatedSyncStatusList - from .paginated_user_list import PaginatedUserList - from .permission import Permission - from .permission_group import PermissionGroup - from .permission_request import PermissionRequest - from .permission_request_group import PermissionRequestGroup - from .permission_request_roles_item import PermissionRequestRolesItem - from .permission_request_type import PermissionRequestType - from .permission_request_user import PermissionRequestUser - from .permission_roles_item import PermissionRolesItem - from .permission_type import PermissionType - from .permission_user import PermissionUser - from .remote_data import RemoteData - from .remote_endpoint_info import RemoteEndpointInfo - from .remote_field_api import RemoteFieldApi - from .remote_field_api_coverage import RemoteFieldApiCoverage - from .remote_field_api_response import RemoteFieldApiResponse - from .remote_key import RemoteKey - from .remote_response import RemoteResponse - from .request_format_enum import RequestFormatEnum - from .response_type_enum import ResponseTypeEnum - from .role_enum import RoleEnum - from .roles_enum import RolesEnum - from .selective_sync_configurations_usage_enum import SelectiveSyncConfigurationsUsageEnum - from .status_fd_5_enum import StatusFd5Enum - from .sync_status import SyncStatus - from .sync_status_last_sync_result import SyncStatusLastSyncResult - from .type_enum import TypeEnum - from .user import User - from .validation_problem_source import ValidationProblemSource - from .warning_validation_problem import WarningValidationProblem - from .webhook_receiver import WebhookReceiver -_dynamic_imports: typing.Dict[str, str] = { - "AccountDetails": ".account_details", - "AccountDetailsAndActions": ".account_details_and_actions", - "AccountDetailsAndActionsIntegration": ".account_details_and_actions_integration", - "AccountDetailsAndActionsStatusEnum": ".account_details_and_actions_status_enum", - "AccountIntegration": ".account_integration", - "AccountToken": ".account_token", - "AdvancedMetadata": ".advanced_metadata", - "AsyncPassthroughReciept": ".async_passthrough_reciept", - "AuditLogEvent": ".audit_log_event", - "AuditLogEventEventType": ".audit_log_event_event_type", - "AuditLogEventRole": ".audit_log_event_role", - "AvailableActions": ".available_actions", - "CategoriesEnum": ".categories_enum", - "CategoryEnum": ".category_enum", - "CommonModelScopeApi": ".common_model_scope_api", - "CommonModelScopesBodyRequest": ".common_model_scopes_body_request", - "DataPassthroughRequest": ".data_passthrough_request", - "DebugModeLog": ".debug_mode_log", - "DebugModelLogSummary": ".debug_model_log_summary", - "DownloadRequestMeta": ".download_request_meta", - "Drive": ".drive", - "EnabledActionsEnum": ".enabled_actions_enum", - "EncodingEnum": ".encoding_enum", - "ErrorValidationProblem": ".error_validation_problem", - "EventTypeEnum": ".event_type_enum", - "ExternalTargetFieldApi": ".external_target_field_api", - "ExternalTargetFieldApiResponse": ".external_target_field_api_response", - "FieldMappingApiInstance": ".field_mapping_api_instance", - "FieldMappingApiInstanceRemoteField": ".field_mapping_api_instance_remote_field", - "FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo": ".field_mapping_api_instance_remote_field_remote_endpoint_info", - "FieldMappingApiInstanceResponse": ".field_mapping_api_instance_response", - "FieldMappingApiInstanceTargetField": ".field_mapping_api_instance_target_field", - "FieldMappingInstanceResponse": ".field_mapping_instance_response", - "FieldPermissionDeserializer": ".field_permission_deserializer", - "FieldPermissionDeserializerRequest": ".field_permission_deserializer_request", - "File": ".file", - "FileDrive": ".file_drive", - "FileFolder": ".file_folder", - "FilePermissions": ".file_permissions", - "FilePermissionsItem": ".file_permissions_item", - "FileRequest": ".file_request", - "FileRequestDrive": ".file_request_drive", - "FileRequestFolder": ".file_request_folder", - "FileRequestPermissions": ".file_request_permissions", - "FileRequestPermissionsItem": ".file_request_permissions_item", - "FileStorageFileResponse": ".file_storage_file_response", - "FileStorageFolderResponse": ".file_storage_folder_response", - "Folder": ".folder", - "FolderDrive": ".folder_drive", - "FolderParentFolder": ".folder_parent_folder", - "FolderPermissions": ".folder_permissions", - "FolderPermissionsItem": ".folder_permissions_item", - "FolderRequest": ".folder_request", - "FolderRequestDrive": ".folder_request_drive", - "FolderRequestParentFolder": ".folder_request_parent_folder", - "FolderRequestPermissions": ".folder_request_permissions", - "FolderRequestPermissionsItem": ".folder_request_permissions_item", - "Group": ".group", - "GroupChildGroupsItem": ".group_child_groups_item", - "IndividualCommonModelScopeDeserializer": ".individual_common_model_scope_deserializer", - "IndividualCommonModelScopeDeserializerRequest": ".individual_common_model_scope_deserializer_request", - "Issue": ".issue", - "IssueStatus": ".issue_status", - "IssueStatusEnum": ".issue_status_enum", - "LanguageEnum": ".language_enum", - "LastSyncResultEnum": ".last_sync_result_enum", - "LinkToken": ".link_token", - "LinkedAccountStatus": ".linked_account_status", - "MetaResponse": ".meta_response", - "MethodEnum": ".method_enum", - "ModelOperation": ".model_operation", - "ModelPermissionDeserializer": ".model_permission_deserializer", - "ModelPermissionDeserializerRequest": ".model_permission_deserializer_request", - "MultipartFormFieldRequest": ".multipart_form_field_request", - "MultipartFormFieldRequestEncoding": ".multipart_form_field_request_encoding", - "PaginatedAccountDetailsAndActionsList": ".paginated_account_details_and_actions_list", - "PaginatedAuditLogEventList": ".paginated_audit_log_event_list", - "PaginatedDownloadRequestMetaList": ".paginated_download_request_meta_list", - "PaginatedDriveList": ".paginated_drive_list", - "PaginatedFileList": ".paginated_file_list", - "PaginatedFolderList": ".paginated_folder_list", - "PaginatedGroupList": ".paginated_group_list", - "PaginatedIssueList": ".paginated_issue_list", - "PaginatedSyncStatusList": ".paginated_sync_status_list", - "PaginatedUserList": ".paginated_user_list", - "Permission": ".permission", - "PermissionGroup": ".permission_group", - "PermissionRequest": ".permission_request", - "PermissionRequestGroup": ".permission_request_group", - "PermissionRequestRolesItem": ".permission_request_roles_item", - "PermissionRequestType": ".permission_request_type", - "PermissionRequestUser": ".permission_request_user", - "PermissionRolesItem": ".permission_roles_item", - "PermissionType": ".permission_type", - "PermissionUser": ".permission_user", - "RemoteData": ".remote_data", - "RemoteEndpointInfo": ".remote_endpoint_info", - "RemoteFieldApi": ".remote_field_api", - "RemoteFieldApiCoverage": ".remote_field_api_coverage", - "RemoteFieldApiResponse": ".remote_field_api_response", - "RemoteKey": ".remote_key", - "RemoteResponse": ".remote_response", - "RequestFormatEnum": ".request_format_enum", - "ResponseTypeEnum": ".response_type_enum", - "RoleEnum": ".role_enum", - "RolesEnum": ".roles_enum", - "SelectiveSyncConfigurationsUsageEnum": ".selective_sync_configurations_usage_enum", - "StatusFd5Enum": ".status_fd_5_enum", - "SyncStatus": ".sync_status", - "SyncStatusLastSyncResult": ".sync_status_last_sync_result", - "TypeEnum": ".type_enum", - "User": ".user", - "ValidationProblemSource": ".validation_problem_source", - "WarningValidationProblem": ".warning_validation_problem", - "WebhookReceiver": ".webhook_receiver", -} - - -def __getattr__(attr_name: str) -> typing.Any: - module_name = _dynamic_imports.get(attr_name) - if module_name is None: - raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") - try: - module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result - except ImportError as e: - raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e - except AttributeError as e: - raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e - - -def __dir__(): - lazy_attrs = list(_dynamic_imports.keys()) - return sorted(lazy_attrs) - - -__all__ = [ - "AccountDetails", - "AccountDetailsAndActions", - "AccountDetailsAndActionsIntegration", - "AccountDetailsAndActionsStatusEnum", - "AccountIntegration", - "AccountToken", - "AdvancedMetadata", - "AsyncPassthroughReciept", - "AuditLogEvent", - "AuditLogEventEventType", - "AuditLogEventRole", - "AvailableActions", - "CategoriesEnum", - "CategoryEnum", - "CommonModelScopeApi", - "CommonModelScopesBodyRequest", - "DataPassthroughRequest", - "DebugModeLog", - "DebugModelLogSummary", - "DownloadRequestMeta", - "Drive", - "EnabledActionsEnum", - "EncodingEnum", - "ErrorValidationProblem", - "EventTypeEnum", - "ExternalTargetFieldApi", - "ExternalTargetFieldApiResponse", - "FieldMappingApiInstance", - "FieldMappingApiInstanceRemoteField", - "FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo", - "FieldMappingApiInstanceResponse", - "FieldMappingApiInstanceTargetField", - "FieldMappingInstanceResponse", - "FieldPermissionDeserializer", - "FieldPermissionDeserializerRequest", - "File", - "FileDrive", - "FileFolder", - "FilePermissions", - "FilePermissionsItem", - "FileRequest", - "FileRequestDrive", - "FileRequestFolder", - "FileRequestPermissions", - "FileRequestPermissionsItem", - "FileStorageFileResponse", - "FileStorageFolderResponse", - "Folder", - "FolderDrive", - "FolderParentFolder", - "FolderPermissions", - "FolderPermissionsItem", - "FolderRequest", - "FolderRequestDrive", - "FolderRequestParentFolder", - "FolderRequestPermissions", - "FolderRequestPermissionsItem", - "Group", - "GroupChildGroupsItem", - "IndividualCommonModelScopeDeserializer", - "IndividualCommonModelScopeDeserializerRequest", - "Issue", - "IssueStatus", - "IssueStatusEnum", - "LanguageEnum", - "LastSyncResultEnum", - "LinkToken", - "LinkedAccountStatus", - "MetaResponse", - "MethodEnum", - "ModelOperation", - "ModelPermissionDeserializer", - "ModelPermissionDeserializerRequest", - "MultipartFormFieldRequest", - "MultipartFormFieldRequestEncoding", - "PaginatedAccountDetailsAndActionsList", - "PaginatedAuditLogEventList", - "PaginatedDownloadRequestMetaList", - "PaginatedDriveList", - "PaginatedFileList", - "PaginatedFolderList", - "PaginatedGroupList", - "PaginatedIssueList", - "PaginatedSyncStatusList", - "PaginatedUserList", - "Permission", - "PermissionGroup", - "PermissionRequest", - "PermissionRequestGroup", - "PermissionRequestRolesItem", - "PermissionRequestType", - "PermissionRequestUser", - "PermissionRolesItem", - "PermissionType", - "PermissionUser", - "RemoteData", - "RemoteEndpointInfo", - "RemoteFieldApi", - "RemoteFieldApiCoverage", - "RemoteFieldApiResponse", - "RemoteKey", - "RemoteResponse", - "RequestFormatEnum", - "ResponseTypeEnum", - "RoleEnum", - "RolesEnum", - "SelectiveSyncConfigurationsUsageEnum", - "StatusFd5Enum", - "SyncStatus", - "SyncStatusLastSyncResult", - "TypeEnum", - "User", - "ValidationProblemSource", - "WarningValidationProblem", - "WebhookReceiver", -] diff --git a/src/merge/resources/filestorage/types/account_details.py b/src/merge/resources/filestorage/types/account_details.py deleted file mode 100644 index 58b10279..00000000 --- a/src/merge/resources/filestorage/types/account_details.py +++ /dev/null @@ -1,40 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .category_enum import CategoryEnum - - -class AccountDetails(UncheckedBaseModel): - id: typing.Optional[str] = None - integration: typing.Optional[str] = None - integration_slug: typing.Optional[str] = None - category: typing.Optional[CategoryEnum] = None - end_user_origin_id: typing.Optional[str] = None - end_user_organization_name: typing.Optional[str] = None - end_user_email_address: typing.Optional[str] = None - status: typing.Optional[str] = None - webhook_listener_url: typing.Optional[str] = None - is_duplicate: typing.Optional[bool] = pydantic.Field(default=None) - """ - Whether a Production Linked Account's credentials match another existing Production Linked Account. This field is `null` for Test Linked Accounts, incomplete Production Linked Accounts, and ignored duplicate Production Linked Account sets. - """ - - account_type: typing.Optional[str] = None - completed_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - The time at which account completes the linking flow. - """ - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/filestorage/types/account_details_and_actions.py b/src/merge/resources/filestorage/types/account_details_and_actions.py deleted file mode 100644 index 897c08ba..00000000 --- a/src/merge/resources/filestorage/types/account_details_and_actions.py +++ /dev/null @@ -1,54 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .account_details_and_actions_integration import AccountDetailsAndActionsIntegration -from .account_details_and_actions_status_enum import AccountDetailsAndActionsStatusEnum -from .category_enum import CategoryEnum - - -class AccountDetailsAndActions(UncheckedBaseModel): - """ - # The LinkedAccount Object - ### Description - The `LinkedAccount` object is used to represent an end user's link with a specific integration. - - ### Usage Example - View a list of your organization's `LinkedAccount` objects. - """ - - id: str - category: typing.Optional[CategoryEnum] = None - status: AccountDetailsAndActionsStatusEnum - status_detail: typing.Optional[str] = None - end_user_origin_id: typing.Optional[str] = None - end_user_organization_name: str - end_user_email_address: str - subdomain: typing.Optional[str] = pydantic.Field(default=None) - """ - The tenant or domain the customer has provided access to. - """ - - webhook_listener_url: str - is_duplicate: typing.Optional[bool] = pydantic.Field(default=None) - """ - Whether a Production Linked Account's credentials match another existing Production Linked Account. This field is `null` for Test Linked Accounts, incomplete Production Linked Accounts, and ignored duplicate Production Linked Account sets. - """ - - integration: typing.Optional[AccountDetailsAndActionsIntegration] = None - account_type: str - completed_at: dt.datetime - integration_specific_fields: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/filestorage/types/account_details_and_actions_integration.py b/src/merge/resources/filestorage/types/account_details_and_actions_integration.py deleted file mode 100644 index 73467bbb..00000000 --- a/src/merge/resources/filestorage/types/account_details_and_actions_integration.py +++ /dev/null @@ -1,29 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .categories_enum import CategoriesEnum -from .model_operation import ModelOperation - - -class AccountDetailsAndActionsIntegration(UncheckedBaseModel): - name: str - categories: typing.List[CategoriesEnum] - image: typing.Optional[str] = None - square_image: typing.Optional[str] = None - color: str - slug: str - passthrough_available: bool - available_model_operations: typing.Optional[typing.List[ModelOperation]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/filestorage/types/account_details_and_actions_status_enum.py b/src/merge/resources/filestorage/types/account_details_and_actions_status_enum.py deleted file mode 100644 index df37f582..00000000 --- a/src/merge/resources/filestorage/types/account_details_and_actions_status_enum.py +++ /dev/null @@ -1,36 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class AccountDetailsAndActionsStatusEnum(str, enum.Enum): - """ - * `COMPLETE` - COMPLETE - * `INCOMPLETE` - INCOMPLETE - * `RELINK_NEEDED` - RELINK_NEEDED - * `IDLE` - IDLE - """ - - COMPLETE = "COMPLETE" - INCOMPLETE = "INCOMPLETE" - RELINK_NEEDED = "RELINK_NEEDED" - IDLE = "IDLE" - - def visit( - self, - complete: typing.Callable[[], T_Result], - incomplete: typing.Callable[[], T_Result], - relink_needed: typing.Callable[[], T_Result], - idle: typing.Callable[[], T_Result], - ) -> T_Result: - if self is AccountDetailsAndActionsStatusEnum.COMPLETE: - return complete() - if self is AccountDetailsAndActionsStatusEnum.INCOMPLETE: - return incomplete() - if self is AccountDetailsAndActionsStatusEnum.RELINK_NEEDED: - return relink_needed() - if self is AccountDetailsAndActionsStatusEnum.IDLE: - return idle() diff --git a/src/merge/resources/filestorage/types/account_integration.py b/src/merge/resources/filestorage/types/account_integration.py deleted file mode 100644 index ef8b260d..00000000 --- a/src/merge/resources/filestorage/types/account_integration.py +++ /dev/null @@ -1,67 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .categories_enum import CategoriesEnum - - -class AccountIntegration(UncheckedBaseModel): - name: str = pydantic.Field() - """ - Company name. - """ - - abbreviated_name: typing.Optional[str] = pydantic.Field(default=None) - """ - Optional. This shortened name appears in places with limited space, usually in conjunction with the platform's logo (e.g., Merge Link menu).

Example: Workforce Now (in lieu of ADP Workforce Now), SuccessFactors (in lieu of SAP SuccessFactors) - """ - - categories: typing.Optional[typing.List[CategoriesEnum]] = pydantic.Field(default=None) - """ - Category or categories this integration belongs to. Multiple categories should be comma separated, i.e. [ats, hris]. - """ - - image: typing.Optional[str] = pydantic.Field(default=None) - """ - Company logo in rectangular shape. - """ - - square_image: typing.Optional[str] = pydantic.Field(default=None) - """ - Company logo in square shape. - """ - - color: typing.Optional[str] = pydantic.Field(default=None) - """ - The color of this integration used for buttons and text throughout the app and landing pages. Choose a darker, saturated color. - """ - - slug: typing.Optional[str] = None - api_endpoints_to_documentation_urls: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = ( - pydantic.Field(default=None) - ) - """ - Mapping of API endpoints to documentation urls for support. Example: {'GET': [['/common-model-scopes', 'https://docs.merge.dev/accounting/common-model-scopes/#common_model_scopes_retrieve'],['/common-model-actions', 'https://docs.merge.dev/accounting/common-model-actions/#common_model_actions_retrieve']], 'POST': []} - """ - - webhook_setup_guide_url: typing.Optional[str] = pydantic.Field(default=None) - """ - Setup guide URL for third party webhook creation. Exposed in Merge Docs. - """ - - category_beta_status: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = pydantic.Field(default=None) - """ - Category or categories this integration is in beta status for. - """ - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/filestorage/types/account_token.py b/src/merge/resources/filestorage/types/account_token.py deleted file mode 100644 index 6e82c8ac..00000000 --- a/src/merge/resources/filestorage/types/account_token.py +++ /dev/null @@ -1,23 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .account_integration import AccountIntegration - - -class AccountToken(UncheckedBaseModel): - account_token: str - integration: AccountIntegration - id: str - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/filestorage/types/advanced_metadata.py b/src/merge/resources/filestorage/types/advanced_metadata.py deleted file mode 100644 index 60b5d072..00000000 --- a/src/merge/resources/filestorage/types/advanced_metadata.py +++ /dev/null @@ -1,25 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel - - -class AdvancedMetadata(UncheckedBaseModel): - id: str - display_name: typing.Optional[str] = None - description: typing.Optional[str] = None - is_required: typing.Optional[bool] = None - is_custom: typing.Optional[bool] = None - field_choices: typing.Optional[typing.List[typing.Optional[typing.Any]]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/filestorage/types/async_passthrough_reciept.py b/src/merge/resources/filestorage/types/async_passthrough_reciept.py deleted file mode 100644 index 21c95080..00000000 --- a/src/merge/resources/filestorage/types/async_passthrough_reciept.py +++ /dev/null @@ -1,20 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel - - -class AsyncPassthroughReciept(UncheckedBaseModel): - async_passthrough_receipt_id: str - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/filestorage/types/audit_log_event.py b/src/merge/resources/filestorage/types/audit_log_event.py deleted file mode 100644 index ab69fd32..00000000 --- a/src/merge/resources/filestorage/types/audit_log_event.py +++ /dev/null @@ -1,97 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .audit_log_event_event_type import AuditLogEventEventType -from .audit_log_event_role import AuditLogEventRole - - -class AuditLogEvent(UncheckedBaseModel): - id: typing.Optional[str] = None - user_name: typing.Optional[str] = pydantic.Field(default=None) - """ - The User's full name at the time of this Event occurring. - """ - - user_email: typing.Optional[str] = pydantic.Field(default=None) - """ - The User's email at the time of this Event occurring. - """ - - role: AuditLogEventRole = pydantic.Field() - """ - Designates the role of the user (or SYSTEM/API if action not taken by a user) at the time of this Event occurring. - - * `ADMIN` - ADMIN - * `DEVELOPER` - DEVELOPER - * `MEMBER` - MEMBER - * `API` - API - * `SYSTEM` - SYSTEM - * `MERGE_TEAM` - MERGE_TEAM - """ - - ip_address: str - event_type: AuditLogEventEventType = pydantic.Field() - """ - Designates the type of event that occurred. - - * `CREATED_REMOTE_PRODUCTION_API_KEY` - CREATED_REMOTE_PRODUCTION_API_KEY - * `DELETED_REMOTE_PRODUCTION_API_KEY` - DELETED_REMOTE_PRODUCTION_API_KEY - * `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY - * `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY - * `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY - * `REGENERATED_WEBHOOK_SIGNATURE` - REGENERATED_WEBHOOK_SIGNATURE - * `INVITED_USER` - INVITED_USER - * `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED - * `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED - * `DELETED_LINKED_ACCOUNT` - DELETED_LINKED_ACCOUNT - * `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT` - DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT - * `CREATED_DESTINATION` - CREATED_DESTINATION - * `DELETED_DESTINATION` - DELETED_DESTINATION - * `CHANGED_DESTINATION` - CHANGED_DESTINATION - * `CHANGED_SCOPES` - CHANGED_SCOPES - * `CHANGED_PERSONAL_INFORMATION` - CHANGED_PERSONAL_INFORMATION - * `CHANGED_ORGANIZATION_SETTINGS` - CHANGED_ORGANIZATION_SETTINGS - * `ENABLED_INTEGRATION` - ENABLED_INTEGRATION - * `DISABLED_INTEGRATION` - DISABLED_INTEGRATION - * `ENABLED_CATEGORY` - ENABLED_CATEGORY - * `DISABLED_CATEGORY` - DISABLED_CATEGORY - * `CHANGED_PASSWORD` - CHANGED_PASSWORD - * `RESET_PASSWORD` - RESET_PASSWORD - * `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - * `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - * `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - * `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - * `CREATED_INTEGRATION_WIDE_FIELD_MAPPING` - CREATED_INTEGRATION_WIDE_FIELD_MAPPING - * `CREATED_LINKED_ACCOUNT_FIELD_MAPPING` - CREATED_LINKED_ACCOUNT_FIELD_MAPPING - * `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING` - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING - * `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING - * `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - DELETED_INTEGRATION_WIDE_FIELD_MAPPING - * `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - DELETED_LINKED_ACCOUNT_FIELD_MAPPING - * `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - * `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - * `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - * `FORCED_LINKED_ACCOUNT_RESYNC` - FORCED_LINKED_ACCOUNT_RESYNC - * `MUTED_ISSUE` - MUTED_ISSUE - * `GENERATED_MAGIC_LINK` - GENERATED_MAGIC_LINK - * `ENABLED_MERGE_WEBHOOK` - ENABLED_MERGE_WEBHOOK - * `DISABLED_MERGE_WEBHOOK` - DISABLED_MERGE_WEBHOOK - * `MERGE_WEBHOOK_TARGET_CHANGED` - MERGE_WEBHOOK_TARGET_CHANGED - * `END_USER_CREDENTIALS_ACCESSED` - END_USER_CREDENTIALS_ACCESSED - """ - - event_description: str - created_at: typing.Optional[dt.datetime] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/filestorage/types/audit_log_event_event_type.py b/src/merge/resources/filestorage/types/audit_log_event_event_type.py deleted file mode 100644 index f9c9d2b3..00000000 --- a/src/merge/resources/filestorage/types/audit_log_event_event_type.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .event_type_enum import EventTypeEnum - -AuditLogEventEventType = typing.Union[EventTypeEnum, str] diff --git a/src/merge/resources/filestorage/types/audit_log_event_role.py b/src/merge/resources/filestorage/types/audit_log_event_role.py deleted file mode 100644 index fe91ed6f..00000000 --- a/src/merge/resources/filestorage/types/audit_log_event_role.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .role_enum import RoleEnum - -AuditLogEventRole = typing.Union[RoleEnum, str] diff --git a/src/merge/resources/filestorage/types/available_actions.py b/src/merge/resources/filestorage/types/available_actions.py deleted file mode 100644 index 8b5019d7..00000000 --- a/src/merge/resources/filestorage/types/available_actions.py +++ /dev/null @@ -1,33 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .account_integration import AccountIntegration -from .model_operation import ModelOperation - - -class AvailableActions(UncheckedBaseModel): - """ - # The AvailableActions Object - ### Description - The `Activity` object is used to see all available model/operation combinations for an integration. - - ### Usage Example - Fetch all the actions available for the `Zenefits` integration. - """ - - integration: AccountIntegration - passthrough_available: bool - available_model_operations: typing.Optional[typing.List[ModelOperation]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/filestorage/types/common_model_scope_api.py b/src/merge/resources/filestorage/types/common_model_scope_api.py deleted file mode 100644 index 5484808d..00000000 --- a/src/merge/resources/filestorage/types/common_model_scope_api.py +++ /dev/null @@ -1,24 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .individual_common_model_scope_deserializer import IndividualCommonModelScopeDeserializer - - -class CommonModelScopeApi(UncheckedBaseModel): - common_models: typing.List[IndividualCommonModelScopeDeserializer] = pydantic.Field() - """ - The common models you want to update the scopes for - """ - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/filestorage/types/common_model_scopes_body_request.py b/src/merge/resources/filestorage/types/common_model_scopes_body_request.py deleted file mode 100644 index a9fed25b..00000000 --- a/src/merge/resources/filestorage/types/common_model_scopes_body_request.py +++ /dev/null @@ -1,23 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .enabled_actions_enum import EnabledActionsEnum - - -class CommonModelScopesBodyRequest(UncheckedBaseModel): - model_id: str - enabled_actions: typing.List[EnabledActionsEnum] - disabled_fields: typing.List[str] - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/filestorage/types/data_passthrough_request.py b/src/merge/resources/filestorage/types/data_passthrough_request.py deleted file mode 100644 index c9f0a799..00000000 --- a/src/merge/resources/filestorage/types/data_passthrough_request.py +++ /dev/null @@ -1,62 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .method_enum import MethodEnum -from .multipart_form_field_request import MultipartFormFieldRequest -from .request_format_enum import RequestFormatEnum - - -class DataPassthroughRequest(UncheckedBaseModel): - """ - # The DataPassthrough Object - ### Description - The `DataPassthrough` object is used to send information to an otherwise-unsupported third-party endpoint. - - ### Usage Example - Create a `DataPassthrough` to get team hierarchies from your Rippling integration. - """ - - method: MethodEnum - path: str = pydantic.Field() - """ - The path of the request in the third party's platform. - """ - - base_url_override: typing.Optional[str] = pydantic.Field(default=None) - """ - An optional override of the third party's base url for the request. - """ - - data: typing.Optional[str] = pydantic.Field(default=None) - """ - The data with the request. You must include a `request_format` parameter matching the data's format - """ - - multipart_form_data: typing.Optional[typing.List[MultipartFormFieldRequest]] = pydantic.Field(default=None) - """ - Pass an array of `MultipartFormField` objects in here instead of using the `data` param if `request_format` is set to `MULTIPART`. - """ - - headers: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = pydantic.Field(default=None) - """ - The headers to use for the request (Merge will handle the account's authorization headers). `Content-Type` header is required for passthrough. Choose content type corresponding to expected format of receiving server. - """ - - request_format: typing.Optional[RequestFormatEnum] = None - normalize_response: typing.Optional[bool] = pydantic.Field(default=None) - """ - Optional. If true, the response will always be an object of the form `{"type": T, "value": ...}` where `T` will be one of `string, boolean, number, null, array, object`. - """ - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/filestorage/types/debug_mode_log.py b/src/merge/resources/filestorage/types/debug_mode_log.py deleted file mode 100644 index 9c7d2a3f..00000000 --- a/src/merge/resources/filestorage/types/debug_mode_log.py +++ /dev/null @@ -1,23 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .debug_model_log_summary import DebugModelLogSummary - - -class DebugModeLog(UncheckedBaseModel): - log_id: str - dashboard_view: str - log_summary: DebugModelLogSummary - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/filestorage/types/debug_model_log_summary.py b/src/merge/resources/filestorage/types/debug_model_log_summary.py deleted file mode 100644 index d7e1d3e6..00000000 --- a/src/merge/resources/filestorage/types/debug_model_log_summary.py +++ /dev/null @@ -1,22 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel - - -class DebugModelLogSummary(UncheckedBaseModel): - url: str - method: str - status_code: int - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/filestorage/types/enabled_actions_enum.py b/src/merge/resources/filestorage/types/enabled_actions_enum.py deleted file mode 100644 index 29cf9839..00000000 --- a/src/merge/resources/filestorage/types/enabled_actions_enum.py +++ /dev/null @@ -1,22 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class EnabledActionsEnum(str, enum.Enum): - """ - * `READ` - READ - * `WRITE` - WRITE - """ - - READ = "READ" - WRITE = "WRITE" - - def visit(self, read: typing.Callable[[], T_Result], write: typing.Callable[[], T_Result]) -> T_Result: - if self is EnabledActionsEnum.READ: - return read() - if self is EnabledActionsEnum.WRITE: - return write() diff --git a/src/merge/resources/filestorage/types/encoding_enum.py b/src/merge/resources/filestorage/types/encoding_enum.py deleted file mode 100644 index 7454647e..00000000 --- a/src/merge/resources/filestorage/types/encoding_enum.py +++ /dev/null @@ -1,31 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class EncodingEnum(str, enum.Enum): - """ - * `RAW` - RAW - * `BASE64` - BASE64 - * `GZIP_BASE64` - GZIP_BASE64 - """ - - RAW = "RAW" - BASE_64 = "BASE64" - GZIP_BASE_64 = "GZIP_BASE64" - - def visit( - self, - raw: typing.Callable[[], T_Result], - base_64: typing.Callable[[], T_Result], - gzip_base_64: typing.Callable[[], T_Result], - ) -> T_Result: - if self is EncodingEnum.RAW: - return raw() - if self is EncodingEnum.BASE_64: - return base_64() - if self is EncodingEnum.GZIP_BASE_64: - return gzip_base_64() diff --git a/src/merge/resources/filestorage/types/event_type_enum.py b/src/merge/resources/filestorage/types/event_type_enum.py deleted file mode 100644 index 537cea3f..00000000 --- a/src/merge/resources/filestorage/types/event_type_enum.py +++ /dev/null @@ -1,231 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class EventTypeEnum(str, enum.Enum): - """ - * `CREATED_REMOTE_PRODUCTION_API_KEY` - CREATED_REMOTE_PRODUCTION_API_KEY - * `DELETED_REMOTE_PRODUCTION_API_KEY` - DELETED_REMOTE_PRODUCTION_API_KEY - * `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY - * `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY - * `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY - * `REGENERATED_WEBHOOK_SIGNATURE` - REGENERATED_WEBHOOK_SIGNATURE - * `INVITED_USER` - INVITED_USER - * `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED - * `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED - * `DELETED_LINKED_ACCOUNT` - DELETED_LINKED_ACCOUNT - * `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT` - DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT - * `CREATED_DESTINATION` - CREATED_DESTINATION - * `DELETED_DESTINATION` - DELETED_DESTINATION - * `CHANGED_DESTINATION` - CHANGED_DESTINATION - * `CHANGED_SCOPES` - CHANGED_SCOPES - * `CHANGED_PERSONAL_INFORMATION` - CHANGED_PERSONAL_INFORMATION - * `CHANGED_ORGANIZATION_SETTINGS` - CHANGED_ORGANIZATION_SETTINGS - * `ENABLED_INTEGRATION` - ENABLED_INTEGRATION - * `DISABLED_INTEGRATION` - DISABLED_INTEGRATION - * `ENABLED_CATEGORY` - ENABLED_CATEGORY - * `DISABLED_CATEGORY` - DISABLED_CATEGORY - * `CHANGED_PASSWORD` - CHANGED_PASSWORD - * `RESET_PASSWORD` - RESET_PASSWORD - * `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - * `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - * `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - * `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - * `CREATED_INTEGRATION_WIDE_FIELD_MAPPING` - CREATED_INTEGRATION_WIDE_FIELD_MAPPING - * `CREATED_LINKED_ACCOUNT_FIELD_MAPPING` - CREATED_LINKED_ACCOUNT_FIELD_MAPPING - * `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING` - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING - * `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING - * `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - DELETED_INTEGRATION_WIDE_FIELD_MAPPING - * `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - DELETED_LINKED_ACCOUNT_FIELD_MAPPING - * `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - * `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - * `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - * `FORCED_LINKED_ACCOUNT_RESYNC` - FORCED_LINKED_ACCOUNT_RESYNC - * `MUTED_ISSUE` - MUTED_ISSUE - * `GENERATED_MAGIC_LINK` - GENERATED_MAGIC_LINK - * `ENABLED_MERGE_WEBHOOK` - ENABLED_MERGE_WEBHOOK - * `DISABLED_MERGE_WEBHOOK` - DISABLED_MERGE_WEBHOOK - * `MERGE_WEBHOOK_TARGET_CHANGED` - MERGE_WEBHOOK_TARGET_CHANGED - * `END_USER_CREDENTIALS_ACCESSED` - END_USER_CREDENTIALS_ACCESSED - """ - - CREATED_REMOTE_PRODUCTION_API_KEY = "CREATED_REMOTE_PRODUCTION_API_KEY" - DELETED_REMOTE_PRODUCTION_API_KEY = "DELETED_REMOTE_PRODUCTION_API_KEY" - CREATED_TEST_API_KEY = "CREATED_TEST_API_KEY" - DELETED_TEST_API_KEY = "DELETED_TEST_API_KEY" - REGENERATED_PRODUCTION_API_KEY = "REGENERATED_PRODUCTION_API_KEY" - REGENERATED_WEBHOOK_SIGNATURE = "REGENERATED_WEBHOOK_SIGNATURE" - INVITED_USER = "INVITED_USER" - TWO_FACTOR_AUTH_ENABLED = "TWO_FACTOR_AUTH_ENABLED" - TWO_FACTOR_AUTH_DISABLED = "TWO_FACTOR_AUTH_DISABLED" - DELETED_LINKED_ACCOUNT = "DELETED_LINKED_ACCOUNT" - DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT = "DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT" - CREATED_DESTINATION = "CREATED_DESTINATION" - DELETED_DESTINATION = "DELETED_DESTINATION" - CHANGED_DESTINATION = "CHANGED_DESTINATION" - CHANGED_SCOPES = "CHANGED_SCOPES" - CHANGED_PERSONAL_INFORMATION = "CHANGED_PERSONAL_INFORMATION" - CHANGED_ORGANIZATION_SETTINGS = "CHANGED_ORGANIZATION_SETTINGS" - ENABLED_INTEGRATION = "ENABLED_INTEGRATION" - DISABLED_INTEGRATION = "DISABLED_INTEGRATION" - ENABLED_CATEGORY = "ENABLED_CATEGORY" - DISABLED_CATEGORY = "DISABLED_CATEGORY" - CHANGED_PASSWORD = "CHANGED_PASSWORD" - RESET_PASSWORD = "RESET_PASSWORD" - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION = "ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION" - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT = "ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT" - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION = "DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION" - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT = "DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT" - CREATED_INTEGRATION_WIDE_FIELD_MAPPING = "CREATED_INTEGRATION_WIDE_FIELD_MAPPING" - CREATED_LINKED_ACCOUNT_FIELD_MAPPING = "CREATED_LINKED_ACCOUNT_FIELD_MAPPING" - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING = "CHANGED_INTEGRATION_WIDE_FIELD_MAPPING" - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING = "CHANGED_LINKED_ACCOUNT_FIELD_MAPPING" - DELETED_INTEGRATION_WIDE_FIELD_MAPPING = "DELETED_INTEGRATION_WIDE_FIELD_MAPPING" - DELETED_LINKED_ACCOUNT_FIELD_MAPPING = "DELETED_LINKED_ACCOUNT_FIELD_MAPPING" - CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE = "CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE" - CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE = "CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE" - DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE = "DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE" - FORCED_LINKED_ACCOUNT_RESYNC = "FORCED_LINKED_ACCOUNT_RESYNC" - MUTED_ISSUE = "MUTED_ISSUE" - GENERATED_MAGIC_LINK = "GENERATED_MAGIC_LINK" - ENABLED_MERGE_WEBHOOK = "ENABLED_MERGE_WEBHOOK" - DISABLED_MERGE_WEBHOOK = "DISABLED_MERGE_WEBHOOK" - MERGE_WEBHOOK_TARGET_CHANGED = "MERGE_WEBHOOK_TARGET_CHANGED" - END_USER_CREDENTIALS_ACCESSED = "END_USER_CREDENTIALS_ACCESSED" - - def visit( - self, - created_remote_production_api_key: typing.Callable[[], T_Result], - deleted_remote_production_api_key: typing.Callable[[], T_Result], - created_test_api_key: typing.Callable[[], T_Result], - deleted_test_api_key: typing.Callable[[], T_Result], - regenerated_production_api_key: typing.Callable[[], T_Result], - regenerated_webhook_signature: typing.Callable[[], T_Result], - invited_user: typing.Callable[[], T_Result], - two_factor_auth_enabled: typing.Callable[[], T_Result], - two_factor_auth_disabled: typing.Callable[[], T_Result], - deleted_linked_account: typing.Callable[[], T_Result], - deleted_all_common_models_for_linked_account: typing.Callable[[], T_Result], - created_destination: typing.Callable[[], T_Result], - deleted_destination: typing.Callable[[], T_Result], - changed_destination: typing.Callable[[], T_Result], - changed_scopes: typing.Callable[[], T_Result], - changed_personal_information: typing.Callable[[], T_Result], - changed_organization_settings: typing.Callable[[], T_Result], - enabled_integration: typing.Callable[[], T_Result], - disabled_integration: typing.Callable[[], T_Result], - enabled_category: typing.Callable[[], T_Result], - disabled_category: typing.Callable[[], T_Result], - changed_password: typing.Callable[[], T_Result], - reset_password: typing.Callable[[], T_Result], - enabled_redact_unmapped_data_for_organization: typing.Callable[[], T_Result], - enabled_redact_unmapped_data_for_linked_account: typing.Callable[[], T_Result], - disabled_redact_unmapped_data_for_organization: typing.Callable[[], T_Result], - disabled_redact_unmapped_data_for_linked_account: typing.Callable[[], T_Result], - created_integration_wide_field_mapping: typing.Callable[[], T_Result], - created_linked_account_field_mapping: typing.Callable[[], T_Result], - changed_integration_wide_field_mapping: typing.Callable[[], T_Result], - changed_linked_account_field_mapping: typing.Callable[[], T_Result], - deleted_integration_wide_field_mapping: typing.Callable[[], T_Result], - deleted_linked_account_field_mapping: typing.Callable[[], T_Result], - created_linked_account_common_model_override: typing.Callable[[], T_Result], - changed_linked_account_common_model_override: typing.Callable[[], T_Result], - deleted_linked_account_common_model_override: typing.Callable[[], T_Result], - forced_linked_account_resync: typing.Callable[[], T_Result], - muted_issue: typing.Callable[[], T_Result], - generated_magic_link: typing.Callable[[], T_Result], - enabled_merge_webhook: typing.Callable[[], T_Result], - disabled_merge_webhook: typing.Callable[[], T_Result], - merge_webhook_target_changed: typing.Callable[[], T_Result], - end_user_credentials_accessed: typing.Callable[[], T_Result], - ) -> T_Result: - if self is EventTypeEnum.CREATED_REMOTE_PRODUCTION_API_KEY: - return created_remote_production_api_key() - if self is EventTypeEnum.DELETED_REMOTE_PRODUCTION_API_KEY: - return deleted_remote_production_api_key() - if self is EventTypeEnum.CREATED_TEST_API_KEY: - return created_test_api_key() - if self is EventTypeEnum.DELETED_TEST_API_KEY: - return deleted_test_api_key() - if self is EventTypeEnum.REGENERATED_PRODUCTION_API_KEY: - return regenerated_production_api_key() - if self is EventTypeEnum.REGENERATED_WEBHOOK_SIGNATURE: - return regenerated_webhook_signature() - if self is EventTypeEnum.INVITED_USER: - return invited_user() - if self is EventTypeEnum.TWO_FACTOR_AUTH_ENABLED: - return two_factor_auth_enabled() - if self is EventTypeEnum.TWO_FACTOR_AUTH_DISABLED: - return two_factor_auth_disabled() - if self is EventTypeEnum.DELETED_LINKED_ACCOUNT: - return deleted_linked_account() - if self is EventTypeEnum.DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT: - return deleted_all_common_models_for_linked_account() - if self is EventTypeEnum.CREATED_DESTINATION: - return created_destination() - if self is EventTypeEnum.DELETED_DESTINATION: - return deleted_destination() - if self is EventTypeEnum.CHANGED_DESTINATION: - return changed_destination() - if self is EventTypeEnum.CHANGED_SCOPES: - return changed_scopes() - if self is EventTypeEnum.CHANGED_PERSONAL_INFORMATION: - return changed_personal_information() - if self is EventTypeEnum.CHANGED_ORGANIZATION_SETTINGS: - return changed_organization_settings() - if self is EventTypeEnum.ENABLED_INTEGRATION: - return enabled_integration() - if self is EventTypeEnum.DISABLED_INTEGRATION: - return disabled_integration() - if self is EventTypeEnum.ENABLED_CATEGORY: - return enabled_category() - if self is EventTypeEnum.DISABLED_CATEGORY: - return disabled_category() - if self is EventTypeEnum.CHANGED_PASSWORD: - return changed_password() - if self is EventTypeEnum.RESET_PASSWORD: - return reset_password() - if self is EventTypeEnum.ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION: - return enabled_redact_unmapped_data_for_organization() - if self is EventTypeEnum.ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT: - return enabled_redact_unmapped_data_for_linked_account() - if self is EventTypeEnum.DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION: - return disabled_redact_unmapped_data_for_organization() - if self is EventTypeEnum.DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT: - return disabled_redact_unmapped_data_for_linked_account() - if self is EventTypeEnum.CREATED_INTEGRATION_WIDE_FIELD_MAPPING: - return created_integration_wide_field_mapping() - if self is EventTypeEnum.CREATED_LINKED_ACCOUNT_FIELD_MAPPING: - return created_linked_account_field_mapping() - if self is EventTypeEnum.CHANGED_INTEGRATION_WIDE_FIELD_MAPPING: - return changed_integration_wide_field_mapping() - if self is EventTypeEnum.CHANGED_LINKED_ACCOUNT_FIELD_MAPPING: - return changed_linked_account_field_mapping() - if self is EventTypeEnum.DELETED_INTEGRATION_WIDE_FIELD_MAPPING: - return deleted_integration_wide_field_mapping() - if self is EventTypeEnum.DELETED_LINKED_ACCOUNT_FIELD_MAPPING: - return deleted_linked_account_field_mapping() - if self is EventTypeEnum.CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE: - return created_linked_account_common_model_override() - if self is EventTypeEnum.CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE: - return changed_linked_account_common_model_override() - if self is EventTypeEnum.DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE: - return deleted_linked_account_common_model_override() - if self is EventTypeEnum.FORCED_LINKED_ACCOUNT_RESYNC: - return forced_linked_account_resync() - if self is EventTypeEnum.MUTED_ISSUE: - return muted_issue() - if self is EventTypeEnum.GENERATED_MAGIC_LINK: - return generated_magic_link() - if self is EventTypeEnum.ENABLED_MERGE_WEBHOOK: - return enabled_merge_webhook() - if self is EventTypeEnum.DISABLED_MERGE_WEBHOOK: - return disabled_merge_webhook() - if self is EventTypeEnum.MERGE_WEBHOOK_TARGET_CHANGED: - return merge_webhook_target_changed() - if self is EventTypeEnum.END_USER_CREDENTIALS_ACCESSED: - return end_user_credentials_accessed() diff --git a/src/merge/resources/filestorage/types/external_target_field_api.py b/src/merge/resources/filestorage/types/external_target_field_api.py deleted file mode 100644 index c0fea1eb..00000000 --- a/src/merge/resources/filestorage/types/external_target_field_api.py +++ /dev/null @@ -1,22 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel - - -class ExternalTargetFieldApi(UncheckedBaseModel): - name: typing.Optional[str] = None - description: typing.Optional[str] = None - is_mapped: typing.Optional[str] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/filestorage/types/field_mapping_api_instance_remote_field.py b/src/merge/resources/filestorage/types/field_mapping_api_instance_remote_field.py deleted file mode 100644 index 578a2b10..00000000 --- a/src/merge/resources/filestorage/types/field_mapping_api_instance_remote_field.py +++ /dev/null @@ -1,27 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .field_mapping_api_instance_remote_field_remote_endpoint_info import ( - FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo, -) - - -class FieldMappingApiInstanceRemoteField(UncheckedBaseModel): - remote_key_name: typing.Optional[str] = None - schema_: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = pydantic.Field( - alias="schema", default=None - ) - remote_endpoint_info: FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/filestorage/types/field_mapping_api_instance_remote_field_remote_endpoint_info.py b/src/merge/resources/filestorage/types/field_mapping_api_instance_remote_field_remote_endpoint_info.py deleted file mode 100644 index 4171f08b..00000000 --- a/src/merge/resources/filestorage/types/field_mapping_api_instance_remote_field_remote_endpoint_info.py +++ /dev/null @@ -1,22 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel - - -class FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo(UncheckedBaseModel): - method: typing.Optional[str] = None - url_path: typing.Optional[str] = None - field_traversal_path: typing.Optional[typing.List[str]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/filestorage/types/field_mapping_api_instance_target_field.py b/src/merge/resources/filestorage/types/field_mapping_api_instance_target_field.py deleted file mode 100644 index e6474cba..00000000 --- a/src/merge/resources/filestorage/types/field_mapping_api_instance_target_field.py +++ /dev/null @@ -1,22 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel - - -class FieldMappingApiInstanceTargetField(UncheckedBaseModel): - name: str - description: str - is_organization_wide: bool - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/filestorage/types/field_mapping_instance_response.py b/src/merge/resources/filestorage/types/field_mapping_instance_response.py deleted file mode 100644 index f921e641..00000000 --- a/src/merge/resources/filestorage/types/field_mapping_instance_response.py +++ /dev/null @@ -1,27 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .debug_mode_log import DebugModeLog -from .error_validation_problem import ErrorValidationProblem -from .field_mapping_api_instance import FieldMappingApiInstance -from .warning_validation_problem import WarningValidationProblem - - -class FieldMappingInstanceResponse(UncheckedBaseModel): - model: FieldMappingApiInstance - warnings: typing.List[WarningValidationProblem] - errors: typing.List[ErrorValidationProblem] - logs: typing.Optional[typing.List[DebugModeLog]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/filestorage/types/field_permission_deserializer.py b/src/merge/resources/filestorage/types/field_permission_deserializer.py deleted file mode 100644 index 1d71ae04..00000000 --- a/src/merge/resources/filestorage/types/field_permission_deserializer.py +++ /dev/null @@ -1,21 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel - - -class FieldPermissionDeserializer(UncheckedBaseModel): - enabled_fields: typing.Optional[typing.List[typing.Optional[typing.Any]]] = None - disabled_fields: typing.Optional[typing.List[typing.Optional[typing.Any]]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/filestorage/types/field_permission_deserializer_request.py b/src/merge/resources/filestorage/types/field_permission_deserializer_request.py deleted file mode 100644 index a4113b46..00000000 --- a/src/merge/resources/filestorage/types/field_permission_deserializer_request.py +++ /dev/null @@ -1,21 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel - - -class FieldPermissionDeserializerRequest(UncheckedBaseModel): - enabled_fields: typing.Optional[typing.List[typing.Optional[typing.Any]]] = None - disabled_fields: typing.Optional[typing.List[typing.Optional[typing.Any]]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/filestorage/types/file_permissions.py b/src/merge/resources/filestorage/types/file_permissions.py deleted file mode 100644 index f32ebf07..00000000 --- a/src/merge/resources/filestorage/types/file_permissions.py +++ /dev/null @@ -1,8 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .file_permissions_item import FilePermissionsItem -from .permission import Permission - -FilePermissions = typing.Union[str, Permission, typing.List[FilePermissionsItem]] diff --git a/src/merge/resources/filestorage/types/file_permissions_item.py b/src/merge/resources/filestorage/types/file_permissions_item.py deleted file mode 100644 index a9159af6..00000000 --- a/src/merge/resources/filestorage/types/file_permissions_item.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .permission import Permission - -FilePermissionsItem = typing.Union[str, Permission] diff --git a/src/merge/resources/filestorage/types/file_request_permissions.py b/src/merge/resources/filestorage/types/file_request_permissions.py deleted file mode 100644 index e79c10b2..00000000 --- a/src/merge/resources/filestorage/types/file_request_permissions.py +++ /dev/null @@ -1,8 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .file_request_permissions_item import FileRequestPermissionsItem -from .permission_request import PermissionRequest - -FileRequestPermissions = typing.Union[str, PermissionRequest, typing.List[FileRequestPermissionsItem]] diff --git a/src/merge/resources/filestorage/types/file_request_permissions_item.py b/src/merge/resources/filestorage/types/file_request_permissions_item.py deleted file mode 100644 index c6e44350..00000000 --- a/src/merge/resources/filestorage/types/file_request_permissions_item.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .permission_request import PermissionRequest - -FileRequestPermissionsItem = typing.Union[str, PermissionRequest] diff --git a/src/merge/resources/filestorage/types/folder_permissions.py b/src/merge/resources/filestorage/types/folder_permissions.py deleted file mode 100644 index 2e669347..00000000 --- a/src/merge/resources/filestorage/types/folder_permissions.py +++ /dev/null @@ -1,8 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .folder_permissions_item import FolderPermissionsItem -from .permission import Permission - -FolderPermissions = typing.Union[str, Permission, typing.List[FolderPermissionsItem]] diff --git a/src/merge/resources/filestorage/types/folder_permissions_item.py b/src/merge/resources/filestorage/types/folder_permissions_item.py deleted file mode 100644 index 9279c37d..00000000 --- a/src/merge/resources/filestorage/types/folder_permissions_item.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .permission import Permission - -FolderPermissionsItem = typing.Union[str, Permission] diff --git a/src/merge/resources/filestorage/types/folder_request_permissions.py b/src/merge/resources/filestorage/types/folder_request_permissions.py deleted file mode 100644 index 4e14d7c4..00000000 --- a/src/merge/resources/filestorage/types/folder_request_permissions.py +++ /dev/null @@ -1,8 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .folder_request_permissions_item import FolderRequestPermissionsItem -from .permission_request import PermissionRequest - -FolderRequestPermissions = typing.Union[str, PermissionRequest, typing.List[FolderRequestPermissionsItem]] diff --git a/src/merge/resources/filestorage/types/folder_request_permissions_item.py b/src/merge/resources/filestorage/types/folder_request_permissions_item.py deleted file mode 100644 index 7fc6ee86..00000000 --- a/src/merge/resources/filestorage/types/folder_request_permissions_item.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .permission_request import PermissionRequest - -FolderRequestPermissionsItem = typing.Union[str, PermissionRequest] diff --git a/src/merge/resources/filestorage/types/group.py b/src/merge/resources/filestorage/types/group.py deleted file mode 100644 index 66dbbc85..00000000 --- a/src/merge/resources/filestorage/types/group.py +++ /dev/null @@ -1,74 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -from __future__ import annotations - -import datetime as dt -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs -from ....core.unchecked_base_model import UncheckedBaseModel -from .remote_data import RemoteData - - -class Group(UncheckedBaseModel): - """ - # The Group Object - ### Description - The `Group` object is used to represent any subset of `Users`. This can extend to company domains as well. - ### Usage Example - Fetch from the `GET /api/filestorage/v1/groups` endpoint and view their groups. - """ - - id: typing.Optional[str] = None - remote_id: typing.Optional[str] = pydantic.Field(default=None) - """ - The third-party API ID of the matching object. - """ - - created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - The datetime that this object was created by Merge. - """ - - modified_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - The datetime that this object was modified by Merge. - """ - - name: typing.Optional[str] = pydantic.Field(default=None) - """ - The group's name. - """ - - users: typing.List[str] = pydantic.Field() - """ - The users that belong in the group. If null, this typically means it's either a domain or the third-party platform does not surface this information. - """ - - child_groups: typing.Optional[typing.List["GroupChildGroupsItem"]] = pydantic.Field(default=None) - """ - Groups that inherit the permissions of the parent group. - """ - - remote_was_deleted: typing.Optional[bool] = pydantic.Field(default=None) - """ - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - """ - - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - remote_data: typing.Optional[typing.List[RemoteData]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow - - -from .group_child_groups_item import GroupChildGroupsItem # noqa: E402, F401, I001 - -update_forward_refs(Group) diff --git a/src/merge/resources/filestorage/types/individual_common_model_scope_deserializer.py b/src/merge/resources/filestorage/types/individual_common_model_scope_deserializer.py deleted file mode 100644 index 4b1ef6a4..00000000 --- a/src/merge/resources/filestorage/types/individual_common_model_scope_deserializer.py +++ /dev/null @@ -1,24 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .field_permission_deserializer import FieldPermissionDeserializer -from .model_permission_deserializer import ModelPermissionDeserializer - - -class IndividualCommonModelScopeDeserializer(UncheckedBaseModel): - model_name: str - model_permissions: typing.Optional[typing.Dict[str, ModelPermissionDeserializer]] = None - field_permissions: typing.Optional[FieldPermissionDeserializer] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/filestorage/types/individual_common_model_scope_deserializer_request.py b/src/merge/resources/filestorage/types/individual_common_model_scope_deserializer_request.py deleted file mode 100644 index 1dcda203..00000000 --- a/src/merge/resources/filestorage/types/individual_common_model_scope_deserializer_request.py +++ /dev/null @@ -1,24 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .field_permission_deserializer_request import FieldPermissionDeserializerRequest -from .model_permission_deserializer_request import ModelPermissionDeserializerRequest - - -class IndividualCommonModelScopeDeserializerRequest(UncheckedBaseModel): - model_name: str - model_permissions: typing.Optional[typing.Dict[str, ModelPermissionDeserializerRequest]] = None - field_permissions: typing.Optional[FieldPermissionDeserializerRequest] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/filestorage/types/issue.py b/src/merge/resources/filestorage/types/issue.py deleted file mode 100644 index df31be95..00000000 --- a/src/merge/resources/filestorage/types/issue.py +++ /dev/null @@ -1,36 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .issue_status import IssueStatus - - -class Issue(UncheckedBaseModel): - id: typing.Optional[str] = None - status: typing.Optional[IssueStatus] = pydantic.Field(default=None) - """ - Status of the issue. Options: ('ONGOING', 'RESOLVED') - - * `ONGOING` - ONGOING - * `RESOLVED` - RESOLVED - """ - - error_description: str - end_user: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - first_incident_time: typing.Optional[dt.datetime] = None - last_incident_time: typing.Optional[dt.datetime] = None - is_muted: typing.Optional[bool] = None - error_details: typing.Optional[typing.List[str]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/filestorage/types/issue_status.py b/src/merge/resources/filestorage/types/issue_status.py deleted file mode 100644 index 8e4d6516..00000000 --- a/src/merge/resources/filestorage/types/issue_status.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .issue_status_enum import IssueStatusEnum - -IssueStatus = typing.Union[IssueStatusEnum, str] diff --git a/src/merge/resources/filestorage/types/issue_status_enum.py b/src/merge/resources/filestorage/types/issue_status_enum.py deleted file mode 100644 index 57eb9618..00000000 --- a/src/merge/resources/filestorage/types/issue_status_enum.py +++ /dev/null @@ -1,22 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class IssueStatusEnum(str, enum.Enum): - """ - * `ONGOING` - ONGOING - * `RESOLVED` - RESOLVED - """ - - ONGOING = "ONGOING" - RESOLVED = "RESOLVED" - - def visit(self, ongoing: typing.Callable[[], T_Result], resolved: typing.Callable[[], T_Result]) -> T_Result: - if self is IssueStatusEnum.ONGOING: - return ongoing() - if self is IssueStatusEnum.RESOLVED: - return resolved() diff --git a/src/merge/resources/filestorage/types/language_enum.py b/src/merge/resources/filestorage/types/language_enum.py deleted file mode 100644 index 44b693f2..00000000 --- a/src/merge/resources/filestorage/types/language_enum.py +++ /dev/null @@ -1,22 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class LanguageEnum(str, enum.Enum): - """ - * `en` - en - * `de` - de - """ - - EN = "en" - DE = "de" - - def visit(self, en: typing.Callable[[], T_Result], de: typing.Callable[[], T_Result]) -> T_Result: - if self is LanguageEnum.EN: - return en() - if self is LanguageEnum.DE: - return de() diff --git a/src/merge/resources/filestorage/types/last_sync_result_enum.py b/src/merge/resources/filestorage/types/last_sync_result_enum.py deleted file mode 100644 index ec777ee6..00000000 --- a/src/merge/resources/filestorage/types/last_sync_result_enum.py +++ /dev/null @@ -1,46 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class LastSyncResultEnum(str, enum.Enum): - """ - * `SYNCING` - SYNCING - * `DONE` - DONE - * `FAILED` - FAILED - * `DISABLED` - DISABLED - * `PAUSED` - PAUSED - * `PARTIALLY_SYNCED` - PARTIALLY_SYNCED - """ - - SYNCING = "SYNCING" - DONE = "DONE" - FAILED = "FAILED" - DISABLED = "DISABLED" - PAUSED = "PAUSED" - PARTIALLY_SYNCED = "PARTIALLY_SYNCED" - - def visit( - self, - syncing: typing.Callable[[], T_Result], - done: typing.Callable[[], T_Result], - failed: typing.Callable[[], T_Result], - disabled: typing.Callable[[], T_Result], - paused: typing.Callable[[], T_Result], - partially_synced: typing.Callable[[], T_Result], - ) -> T_Result: - if self is LastSyncResultEnum.SYNCING: - return syncing() - if self is LastSyncResultEnum.DONE: - return done() - if self is LastSyncResultEnum.FAILED: - return failed() - if self is LastSyncResultEnum.DISABLED: - return disabled() - if self is LastSyncResultEnum.PAUSED: - return paused() - if self is LastSyncResultEnum.PARTIALLY_SYNCED: - return partially_synced() diff --git a/src/merge/resources/filestorage/types/link_token.py b/src/merge/resources/filestorage/types/link_token.py deleted file mode 100644 index f78dedeb..00000000 --- a/src/merge/resources/filestorage/types/link_token.py +++ /dev/null @@ -1,22 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel - - -class LinkToken(UncheckedBaseModel): - link_token: str - integration_name: typing.Optional[str] = None - magic_link_url: typing.Optional[str] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/filestorage/types/method_enum.py b/src/merge/resources/filestorage/types/method_enum.py deleted file mode 100644 index 57bcde10..00000000 --- a/src/merge/resources/filestorage/types/method_enum.py +++ /dev/null @@ -1,51 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class MethodEnum(str, enum.Enum): - """ - * `GET` - GET - * `OPTIONS` - OPTIONS - * `HEAD` - HEAD - * `POST` - POST - * `PUT` - PUT - * `PATCH` - PATCH - * `DELETE` - DELETE - """ - - GET = "GET" - OPTIONS = "OPTIONS" - HEAD = "HEAD" - POST = "POST" - PUT = "PUT" - PATCH = "PATCH" - DELETE = "DELETE" - - def visit( - self, - get: typing.Callable[[], T_Result], - options: typing.Callable[[], T_Result], - head: typing.Callable[[], T_Result], - post: typing.Callable[[], T_Result], - put: typing.Callable[[], T_Result], - patch: typing.Callable[[], T_Result], - delete: typing.Callable[[], T_Result], - ) -> T_Result: - if self is MethodEnum.GET: - return get() - if self is MethodEnum.OPTIONS: - return options() - if self is MethodEnum.HEAD: - return head() - if self is MethodEnum.POST: - return post() - if self is MethodEnum.PUT: - return put() - if self is MethodEnum.PATCH: - return patch() - if self is MethodEnum.DELETE: - return delete() diff --git a/src/merge/resources/filestorage/types/model_operation.py b/src/merge/resources/filestorage/types/model_operation.py deleted file mode 100644 index c367572d..00000000 --- a/src/merge/resources/filestorage/types/model_operation.py +++ /dev/null @@ -1,32 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel - - -class ModelOperation(UncheckedBaseModel): - """ - # The ModelOperation Object - ### Description - The `ModelOperation` object is used to represent the operations that are currently supported for a given model. - - ### Usage Example - View what operations are supported for the `Candidate` endpoint. - """ - - model_name: str - available_operations: typing.List[str] - required_post_parameters: typing.List[str] - supported_fields: typing.List[str] - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/filestorage/types/model_permission_deserializer.py b/src/merge/resources/filestorage/types/model_permission_deserializer.py deleted file mode 100644 index 6381814c..00000000 --- a/src/merge/resources/filestorage/types/model_permission_deserializer.py +++ /dev/null @@ -1,20 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel - - -class ModelPermissionDeserializer(UncheckedBaseModel): - is_enabled: typing.Optional[bool] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/filestorage/types/model_permission_deserializer_request.py b/src/merge/resources/filestorage/types/model_permission_deserializer_request.py deleted file mode 100644 index cdc2ff4c..00000000 --- a/src/merge/resources/filestorage/types/model_permission_deserializer_request.py +++ /dev/null @@ -1,20 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel - - -class ModelPermissionDeserializerRequest(UncheckedBaseModel): - is_enabled: typing.Optional[bool] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/filestorage/types/multipart_form_field_request.py b/src/merge/resources/filestorage/types/multipart_form_field_request.py deleted file mode 100644 index abc37692..00000000 --- a/src/merge/resources/filestorage/types/multipart_form_field_request.py +++ /dev/null @@ -1,57 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .multipart_form_field_request_encoding import MultipartFormFieldRequestEncoding - - -class MultipartFormFieldRequest(UncheckedBaseModel): - """ - # The MultipartFormField Object - ### Description - The `MultipartFormField` object is used to represent fields in an HTTP request using `multipart/form-data`. - - ### Usage Example - Create a `MultipartFormField` to define a multipart form entry. - """ - - name: str = pydantic.Field() - """ - The name of the form field - """ - - data: str = pydantic.Field() - """ - The data for the form field. - """ - - encoding: typing.Optional[MultipartFormFieldRequestEncoding] = pydantic.Field(default=None) - """ - The encoding of the value of `data`. Defaults to `RAW` if not defined. - - * `RAW` - RAW - * `BASE64` - BASE64 - * `GZIP_BASE64` - GZIP_BASE64 - """ - - file_name: typing.Optional[str] = pydantic.Field(default=None) - """ - The file name of the form field, if the field is for a file. - """ - - content_type: typing.Optional[str] = pydantic.Field(default=None) - """ - The MIME type of the file, if the field is for a file. - """ - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/filestorage/types/multipart_form_field_request_encoding.py b/src/merge/resources/filestorage/types/multipart_form_field_request_encoding.py deleted file mode 100644 index c6513b6b..00000000 --- a/src/merge/resources/filestorage/types/multipart_form_field_request_encoding.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .encoding_enum import EncodingEnum - -MultipartFormFieldRequestEncoding = typing.Union[EncodingEnum, str] diff --git a/src/merge/resources/filestorage/types/paginated_account_details_and_actions_list.py b/src/merge/resources/filestorage/types/paginated_account_details_and_actions_list.py deleted file mode 100644 index d2d16116..00000000 --- a/src/merge/resources/filestorage/types/paginated_account_details_and_actions_list.py +++ /dev/null @@ -1,23 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .account_details_and_actions import AccountDetailsAndActions - - -class PaginatedAccountDetailsAndActionsList(UncheckedBaseModel): - next: typing.Optional[str] = None - previous: typing.Optional[str] = None - results: typing.Optional[typing.List[AccountDetailsAndActions]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/filestorage/types/paginated_audit_log_event_list.py b/src/merge/resources/filestorage/types/paginated_audit_log_event_list.py deleted file mode 100644 index 24139397..00000000 --- a/src/merge/resources/filestorage/types/paginated_audit_log_event_list.py +++ /dev/null @@ -1,23 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .audit_log_event import AuditLogEvent - - -class PaginatedAuditLogEventList(UncheckedBaseModel): - next: typing.Optional[str] = None - previous: typing.Optional[str] = None - results: typing.Optional[typing.List[AuditLogEvent]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/filestorage/types/paginated_group_list.py b/src/merge/resources/filestorage/types/paginated_group_list.py deleted file mode 100644 index ddbf97b2..00000000 --- a/src/merge/resources/filestorage/types/paginated_group_list.py +++ /dev/null @@ -1,29 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -from __future__ import annotations - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs -from ....core.unchecked_base_model import UncheckedBaseModel - - -class PaginatedGroupList(UncheckedBaseModel): - next: typing.Optional[str] = None - previous: typing.Optional[str] = None - results: typing.Optional[typing.List["Group"]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow - - -from .group import Group # noqa: E402, F401, I001 - -update_forward_refs(PaginatedGroupList) diff --git a/src/merge/resources/filestorage/types/paginated_issue_list.py b/src/merge/resources/filestorage/types/paginated_issue_list.py deleted file mode 100644 index 686173e5..00000000 --- a/src/merge/resources/filestorage/types/paginated_issue_list.py +++ /dev/null @@ -1,23 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .issue import Issue - - -class PaginatedIssueList(UncheckedBaseModel): - next: typing.Optional[str] = None - previous: typing.Optional[str] = None - results: typing.Optional[typing.List[Issue]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/filestorage/types/paginated_sync_status_list.py b/src/merge/resources/filestorage/types/paginated_sync_status_list.py deleted file mode 100644 index cc4bd7a8..00000000 --- a/src/merge/resources/filestorage/types/paginated_sync_status_list.py +++ /dev/null @@ -1,23 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .sync_status import SyncStatus - - -class PaginatedSyncStatusList(UncheckedBaseModel): - next: typing.Optional[str] = None - previous: typing.Optional[str] = None - results: typing.Optional[typing.List[SyncStatus]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/filestorage/types/paginated_user_list.py b/src/merge/resources/filestorage/types/paginated_user_list.py deleted file mode 100644 index 809b285c..00000000 --- a/src/merge/resources/filestorage/types/paginated_user_list.py +++ /dev/null @@ -1,23 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .user import User - - -class PaginatedUserList(UncheckedBaseModel): - next: typing.Optional[str] = None - previous: typing.Optional[str] = None - results: typing.Optional[typing.List[User]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/filestorage/types/permission.py b/src/merge/resources/filestorage/types/permission.py deleted file mode 100644 index 19cb335f..00000000 --- a/src/merge/resources/filestorage/types/permission.py +++ /dev/null @@ -1,80 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -from __future__ import annotations - -import datetime as dt -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs -from ....core.unchecked_base_model import UncheckedBaseModel -from .permission_group import PermissionGroup -from .permission_roles_item import PermissionRolesItem -from .permission_type import PermissionType -from .permission_user import PermissionUser - - -class Permission(UncheckedBaseModel): - """ - # The Permission Object - ### Description - The Permission object is used to represent a user's or group's access to a File or Folder. Permissions are unexpanded by default. - - ### Usage Example - Fetch from the `GET Files` or `GET Folders` endpoint. Permissions are unexpanded by default. Use the query param `expand=permissions` to see more details. - """ - - id: typing.Optional[str] = None - remote_id: typing.Optional[str] = pydantic.Field(default=None) - """ - The third-party API ID of the matching object. - """ - - created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - The datetime that this object was created by Merge. - """ - - modified_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - The datetime that this object was modified by Merge. - """ - - user: typing.Optional[PermissionUser] = pydantic.Field(default=None) - """ - The user that is granted this permission. This will only be populated if the type is `USER`. - """ - - group: typing.Optional[PermissionGroup] = pydantic.Field(default=None) - """ - The group that is granted this permission. This will only be populated if the type is `GROUP`. - """ - - type: typing.Optional[PermissionType] = pydantic.Field(default=None) - """ - Denotes what type of people have access to the file. - - * `USER` - USER - * `GROUP` - GROUP - * `COMPANY` - COMPANY - * `ANYONE` - ANYONE - """ - - roles: typing.Optional[typing.List[typing.Optional[PermissionRolesItem]]] = pydantic.Field(default=None) - """ - The permissions that the user or group has for the File or Folder. It is possible for a user or group to have multiple roles, such as viewing & uploading. Possible values include: `READ`, `WRITE`, `OWNER`. In cases where there is no clear mapping, the original value passed through will be returned. - """ - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow - - -from .group import Group # noqa: E402, F401, I001 - -update_forward_refs(Permission) diff --git a/src/merge/resources/filestorage/types/remote_data.py b/src/merge/resources/filestorage/types/remote_data.py deleted file mode 100644 index f34bec80..00000000 --- a/src/merge/resources/filestorage/types/remote_data.py +++ /dev/null @@ -1,37 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel - - -class RemoteData(UncheckedBaseModel): - """ - # The RemoteData Object - ### Description - The `RemoteData` object is used to represent the full data pulled from the third-party API for an object. - - ### Usage Example - TODO - """ - - path: str = pydantic.Field() - """ - The third-party API path that is being called. - """ - - data: typing.Optional[typing.Optional[typing.Any]] = pydantic.Field(default=None) - """ - The data returned from the third-party for this object in its original, unnormalized format. - """ - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/filestorage/types/remote_endpoint_info.py b/src/merge/resources/filestorage/types/remote_endpoint_info.py deleted file mode 100644 index 07ceff6a..00000000 --- a/src/merge/resources/filestorage/types/remote_endpoint_info.py +++ /dev/null @@ -1,22 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel - - -class RemoteEndpointInfo(UncheckedBaseModel): - method: str - url_path: str - field_traversal_path: typing.List[typing.Optional[typing.Any]] - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/filestorage/types/remote_field_api.py b/src/merge/resources/filestorage/types/remote_field_api.py deleted file mode 100644 index 4c66a23b..00000000 --- a/src/merge/resources/filestorage/types/remote_field_api.py +++ /dev/null @@ -1,28 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .advanced_metadata import AdvancedMetadata -from .remote_endpoint_info import RemoteEndpointInfo -from .remote_field_api_coverage import RemoteFieldApiCoverage - - -class RemoteFieldApi(UncheckedBaseModel): - schema_: typing.Dict[str, typing.Optional[typing.Any]] = pydantic.Field(alias="schema") - remote_key_name: str - remote_endpoint_info: RemoteEndpointInfo - example_values: typing.Optional[typing.List[typing.Optional[typing.Any]]] = None - advanced_metadata: typing.Optional[AdvancedMetadata] = None - coverage: typing.Optional[RemoteFieldApiCoverage] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/filestorage/types/remote_field_api_coverage.py b/src/merge/resources/filestorage/types/remote_field_api_coverage.py deleted file mode 100644 index adcd9be9..00000000 --- a/src/merge/resources/filestorage/types/remote_field_api_coverage.py +++ /dev/null @@ -1,5 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -RemoteFieldApiCoverage = typing.Union[int, float] diff --git a/src/merge/resources/filestorage/types/remote_key.py b/src/merge/resources/filestorage/types/remote_key.py deleted file mode 100644 index e5d9758c..00000000 --- a/src/merge/resources/filestorage/types/remote_key.py +++ /dev/null @@ -1,30 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel - - -class RemoteKey(UncheckedBaseModel): - """ - # The RemoteKey Object - ### Description - The `RemoteKey` object is used to represent a request for a new remote key. - - ### Usage Example - Post a `GenerateRemoteKey` to receive a new `RemoteKey`. - """ - - name: str - key: str - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/filestorage/types/remote_response.py b/src/merge/resources/filestorage/types/remote_response.py deleted file mode 100644 index af181fc0..00000000 --- a/src/merge/resources/filestorage/types/remote_response.py +++ /dev/null @@ -1,36 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .response_type_enum import ResponseTypeEnum - - -class RemoteResponse(UncheckedBaseModel): - """ - # The RemoteResponse Object - ### Description - The `RemoteResponse` object is used to represent information returned from a third-party endpoint. - - ### Usage Example - View the `RemoteResponse` returned from your `DataPassthrough`. - """ - - method: str - path: str - status: int - response: typing.Optional[typing.Any] = None - response_headers: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - response_type: typing.Optional[ResponseTypeEnum] = None - headers: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/filestorage/types/request_format_enum.py b/src/merge/resources/filestorage/types/request_format_enum.py deleted file mode 100644 index 21c272f2..00000000 --- a/src/merge/resources/filestorage/types/request_format_enum.py +++ /dev/null @@ -1,31 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class RequestFormatEnum(str, enum.Enum): - """ - * `JSON` - JSON - * `XML` - XML - * `MULTIPART` - MULTIPART - """ - - JSON = "JSON" - XML = "XML" - MULTIPART = "MULTIPART" - - def visit( - self, - json: typing.Callable[[], T_Result], - xml: typing.Callable[[], T_Result], - multipart: typing.Callable[[], T_Result], - ) -> T_Result: - if self is RequestFormatEnum.JSON: - return json() - if self is RequestFormatEnum.XML: - return xml() - if self is RequestFormatEnum.MULTIPART: - return multipart() diff --git a/src/merge/resources/filestorage/types/response_type_enum.py b/src/merge/resources/filestorage/types/response_type_enum.py deleted file mode 100644 index ef241302..00000000 --- a/src/merge/resources/filestorage/types/response_type_enum.py +++ /dev/null @@ -1,22 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class ResponseTypeEnum(str, enum.Enum): - """ - * `JSON` - JSON - * `BASE64_GZIP` - BASE64_GZIP - """ - - JSON = "JSON" - BASE_64_GZIP = "BASE64_GZIP" - - def visit(self, json: typing.Callable[[], T_Result], base_64_gzip: typing.Callable[[], T_Result]) -> T_Result: - if self is ResponseTypeEnum.JSON: - return json() - if self is ResponseTypeEnum.BASE_64_GZIP: - return base_64_gzip() diff --git a/src/merge/resources/filestorage/types/role_enum.py b/src/merge/resources/filestorage/types/role_enum.py deleted file mode 100644 index a6cfcc6f..00000000 --- a/src/merge/resources/filestorage/types/role_enum.py +++ /dev/null @@ -1,46 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class RoleEnum(str, enum.Enum): - """ - * `ADMIN` - ADMIN - * `DEVELOPER` - DEVELOPER - * `MEMBER` - MEMBER - * `API` - API - * `SYSTEM` - SYSTEM - * `MERGE_TEAM` - MERGE_TEAM - """ - - ADMIN = "ADMIN" - DEVELOPER = "DEVELOPER" - MEMBER = "MEMBER" - API = "API" - SYSTEM = "SYSTEM" - MERGE_TEAM = "MERGE_TEAM" - - def visit( - self, - admin: typing.Callable[[], T_Result], - developer: typing.Callable[[], T_Result], - member: typing.Callable[[], T_Result], - api: typing.Callable[[], T_Result], - system: typing.Callable[[], T_Result], - merge_team: typing.Callable[[], T_Result], - ) -> T_Result: - if self is RoleEnum.ADMIN: - return admin() - if self is RoleEnum.DEVELOPER: - return developer() - if self is RoleEnum.MEMBER: - return member() - if self is RoleEnum.API: - return api() - if self is RoleEnum.SYSTEM: - return system() - if self is RoleEnum.MERGE_TEAM: - return merge_team() diff --git a/src/merge/resources/filestorage/types/selective_sync_configurations_usage_enum.py b/src/merge/resources/filestorage/types/selective_sync_configurations_usage_enum.py deleted file mode 100644 index 9ff43813..00000000 --- a/src/merge/resources/filestorage/types/selective_sync_configurations_usage_enum.py +++ /dev/null @@ -1,24 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class SelectiveSyncConfigurationsUsageEnum(str, enum.Enum): - """ - * `IN_NEXT_SYNC` - IN_NEXT_SYNC - * `IN_LAST_SYNC` - IN_LAST_SYNC - """ - - IN_NEXT_SYNC = "IN_NEXT_SYNC" - IN_LAST_SYNC = "IN_LAST_SYNC" - - def visit( - self, in_next_sync: typing.Callable[[], T_Result], in_last_sync: typing.Callable[[], T_Result] - ) -> T_Result: - if self is SelectiveSyncConfigurationsUsageEnum.IN_NEXT_SYNC: - return in_next_sync() - if self is SelectiveSyncConfigurationsUsageEnum.IN_LAST_SYNC: - return in_last_sync() diff --git a/src/merge/resources/filestorage/types/sync_status.py b/src/merge/resources/filestorage/types/sync_status.py deleted file mode 100644 index 4a628c4f..00000000 --- a/src/merge/resources/filestorage/types/sync_status.py +++ /dev/null @@ -1,41 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .selective_sync_configurations_usage_enum import SelectiveSyncConfigurationsUsageEnum -from .status_fd_5_enum import StatusFd5Enum -from .sync_status_last_sync_result import SyncStatusLastSyncResult - - -class SyncStatus(UncheckedBaseModel): - """ - # The SyncStatus Object - ### Description - The `SyncStatus` object is used to represent the syncing state of an account - - ### Usage Example - View the `SyncStatus` for an account to see how recently its models were synced. - """ - - model_name: str - model_id: str - last_sync_start: typing.Optional[dt.datetime] = None - next_sync_start: typing.Optional[dt.datetime] = None - last_sync_result: typing.Optional[SyncStatusLastSyncResult] = None - last_sync_finished: typing.Optional[dt.datetime] = None - status: StatusFd5Enum - is_initial_sync: bool - selective_sync_configurations_usage: typing.Optional[SelectiveSyncConfigurationsUsageEnum] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/filestorage/types/user.py b/src/merge/resources/filestorage/types/user.py deleted file mode 100644 index 58b9ce24..00000000 --- a/src/merge/resources/filestorage/types/user.py +++ /dev/null @@ -1,67 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .remote_data import RemoteData - - -class User(UncheckedBaseModel): - """ - # The User Object - ### Description - The `User` object is used to represent a user within the File Storage account. - ### Usage Example - Fetch from the `GET /api/filestorage/v1/users` endpoint and view their users. - """ - - id: typing.Optional[str] = None - remote_id: typing.Optional[str] = pydantic.Field(default=None) - """ - The third-party API ID of the matching object. - """ - - created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - The datetime that this object was created by Merge. - """ - - modified_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - The datetime that this object was modified by Merge. - """ - - name: typing.Optional[str] = pydantic.Field(default=None) - """ - The user's name. - """ - - email_address: typing.Optional[str] = pydantic.Field(default=None) - """ - The user's email address. This is typically used to identify a user across linked accounts. - """ - - is_me: typing.Optional[bool] = pydantic.Field(default=None) - """ - Whether the user is the one who linked this account. - """ - - remote_was_deleted: typing.Optional[bool] = pydantic.Field(default=None) - """ - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - """ - - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - remote_data: typing.Optional[typing.List[RemoteData]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/filestorage/types/validation_problem_source.py b/src/merge/resources/filestorage/types/validation_problem_source.py deleted file mode 100644 index fbebe626..00000000 --- a/src/merge/resources/filestorage/types/validation_problem_source.py +++ /dev/null @@ -1,20 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel - - -class ValidationProblemSource(UncheckedBaseModel): - pointer: str - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/filestorage/types/webhook_receiver.py b/src/merge/resources/filestorage/types/webhook_receiver.py deleted file mode 100644 index fb49c044..00000000 --- a/src/merge/resources/filestorage/types/webhook_receiver.py +++ /dev/null @@ -1,22 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel - - -class WebhookReceiver(UncheckedBaseModel): - event: str - is_active: bool - key: typing.Optional[str] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/hris/__init__.py b/src/merge/resources/hris/__init__.py index 634ca2a4..4f4e3c76 100644 --- a/src/merge/resources/hris/__init__.py +++ b/src/merge/resources/hris/__init__.py @@ -34,7 +34,6 @@ CommonModelScopeApi, CommonModelScopesBodyRequest, Company, - CompletedAccountInitialScreenEnum, CountryEnum, DataPassthroughRequest, DebugModeLog, @@ -108,6 +107,8 @@ Group, GroupType, GroupTypeEnum, + IgnoreCommonModelRequest, + IgnoreCommonModelRequestReason, IndividualCommonModelScopeDeserializer, IndividualCommonModelScopeDeserializerRequest, Issue, @@ -128,7 +129,6 @@ ModelPermissionDeserializer, ModelPermissionDeserializerRequest, MultipartFormFieldRequest, - MultipartFormFieldRequestEncoding, PaginatedAccountDetailsAndActionsList, PaginatedAuditLogEventList, PaginatedBankInfoList, @@ -177,6 +177,7 @@ StatusFd5Enum, SyncStatus, SyncStatusLastSyncResult, + SyncStatusStatus, Tax, Team, TeamParentTeam, @@ -210,26 +211,36 @@ from .resources import ( AsyncPassthroughRetrieveResponse, BankInfoListRequestAccountType, + BankInfoListRequestExpandItem, BankInfoListRequestOrderBy, - EmployeePayrollRunsListRequestExpand, - EmployeePayrollRunsRetrieveRequestExpand, + BankInfoListRequestRemoteFields, + BankInfoListRequestShowEnumOrigins, + BankInfoRetrieveRequestExpandItem, + BankInfoRetrieveRequestRemoteFields, + BankInfoRetrieveRequestShowEnumOrigins, + BenefitsListRequestExpandItem, + BenefitsRetrieveRequestExpandItem, + EmployeePayrollRunsListRequestExpandItem, + EmployeePayrollRunsRetrieveRequestExpandItem, EmployeesListRequestEmploymentStatus, - EmployeesListRequestExpand, + EmployeesListRequestExpandItem, EmployeesListRequestRemoteFields, EmployeesListRequestShowEnumOrigins, - EmployeesRetrieveRequestExpand, + EmployeesRetrieveRequestExpandItem, EmployeesRetrieveRequestRemoteFields, EmployeesRetrieveRequestShowEnumOrigins, - EmploymentsListRequestExpand, + EmploymentsListRequestExpandItem, EmploymentsListRequestOrderBy, EmploymentsListRequestRemoteFields, EmploymentsListRequestShowEnumOrigins, - EmploymentsRetrieveRequestExpand, + EmploymentsRetrieveRequestExpandItem, EmploymentsRetrieveRequestRemoteFields, EmploymentsRetrieveRequestShowEnumOrigins, - EndUserDetailsRequestCompletedAccountInitialScreen, EndUserDetailsRequestLanguage, - IgnoreCommonModelRequestReason, + GroupsListRequestRemoteFields, + GroupsListRequestShowEnumOrigins, + GroupsRetrieveRequestRemoteFields, + GroupsRetrieveRequestShowEnumOrigins, IssuesListRequestStatus, LinkedAccountsListRequestCategory, LocationsListRequestLocationType, @@ -242,16 +253,26 @@ PayrollRunsListRequestShowEnumOrigins, PayrollRunsRetrieveRequestRemoteFields, PayrollRunsRetrieveRequestShowEnumOrigins, + TeamsListRequestExpandItem, + TeamsRetrieveRequestExpandItem, + TimeOffBalancesListRequestExpandItem, TimeOffBalancesListRequestPolicyType, - TimeOffListRequestExpand, + TimeOffBalancesListRequestRemoteFields, + TimeOffBalancesListRequestShowEnumOrigins, + TimeOffBalancesRetrieveRequestExpandItem, + TimeOffBalancesRetrieveRequestRemoteFields, + TimeOffBalancesRetrieveRequestShowEnumOrigins, + TimeOffListRequestExpandItem, TimeOffListRequestRemoteFields, TimeOffListRequestRequestType, TimeOffListRequestShowEnumOrigins, TimeOffListRequestStatus, - TimeOffRetrieveRequestExpand, + TimeOffRetrieveRequestExpandItem, TimeOffRetrieveRequestRemoteFields, TimeOffRetrieveRequestShowEnumOrigins, + TimesheetEntriesListRequestExpandItem, TimesheetEntriesListRequestOrderBy, + TimesheetEntriesRetrieveRequestExpandItem, account_details, account_token, async_passthrough, @@ -308,16 +329,23 @@ "BankInfoAccountType": ".types", "BankInfoEmployee": ".types", "BankInfoListRequestAccountType": ".resources", + "BankInfoListRequestExpandItem": ".resources", "BankInfoListRequestOrderBy": ".resources", + "BankInfoListRequestRemoteFields": ".resources", + "BankInfoListRequestShowEnumOrigins": ".resources", + "BankInfoRetrieveRequestExpandItem": ".resources", + "BankInfoRetrieveRequestRemoteFields": ".resources", + "BankInfoRetrieveRequestShowEnumOrigins": ".resources", "Benefit": ".types", "BenefitEmployee": ".types", "BenefitPlanTypeEnum": ".types", + "BenefitsListRequestExpandItem": ".resources", + "BenefitsRetrieveRequestExpandItem": ".resources", "CategoriesEnum": ".types", "CategoryEnum": ".types", "CommonModelScopeApi": ".types", "CommonModelScopesBodyRequest": ".types", "Company": ".types", - "CompletedAccountInitialScreenEnum": ".types", "CountryEnum": ".types", "DataPassthroughRequest": ".types", "DebugModeLog": ".types", @@ -343,8 +371,8 @@ "EmployeePayrollRun": ".types", "EmployeePayrollRunEmployee": ".types", "EmployeePayrollRunPayrollRun": ".types", - "EmployeePayrollRunsListRequestExpand": ".resources", - "EmployeePayrollRunsRetrieveRequestExpand": ".resources", + "EmployeePayrollRunsListRequestExpandItem": ".resources", + "EmployeePayrollRunsRetrieveRequestExpandItem": ".resources", "EmployeeRequest": ".types", "EmployeeRequestCompany": ".types", "EmployeeRequestEmploymentStatus": ".types", @@ -362,10 +390,10 @@ "EmployeeTeam": ".types", "EmployeeWorkLocation": ".types", "EmployeesListRequestEmploymentStatus": ".resources", - "EmployeesListRequestExpand": ".resources", + "EmployeesListRequestExpandItem": ".resources", "EmployeesListRequestRemoteFields": ".resources", "EmployeesListRequestShowEnumOrigins": ".resources", - "EmployeesRetrieveRequestExpand": ".resources", + "EmployeesRetrieveRequestExpandItem": ".resources", "EmployeesRetrieveRequestRemoteFields": ".resources", "EmployeesRetrieveRequestShowEnumOrigins": ".resources", "EmployerBenefit": ".types", @@ -380,16 +408,15 @@ "EmploymentPayPeriod": ".types", "EmploymentStatusEnum": ".types", "EmploymentTypeEnum": ".types", - "EmploymentsListRequestExpand": ".resources", + "EmploymentsListRequestExpandItem": ".resources", "EmploymentsListRequestOrderBy": ".resources", "EmploymentsListRequestRemoteFields": ".resources", "EmploymentsListRequestShowEnumOrigins": ".resources", - "EmploymentsRetrieveRequestExpand": ".resources", + "EmploymentsRetrieveRequestExpandItem": ".resources", "EmploymentsRetrieveRequestRemoteFields": ".resources", "EmploymentsRetrieveRequestShowEnumOrigins": ".resources", "EnabledActionsEnum": ".types", "EncodingEnum": ".types", - "EndUserDetailsRequestCompletedAccountInitialScreen": ".resources", "EndUserDetailsRequestLanguage": ".resources", "ErrorValidationProblem": ".types", "EthnicityEnum": ".types", @@ -409,7 +436,12 @@ "Group": ".types", "GroupType": ".types", "GroupTypeEnum": ".types", - "IgnoreCommonModelRequestReason": ".resources", + "GroupsListRequestRemoteFields": ".resources", + "GroupsListRequestShowEnumOrigins": ".resources", + "GroupsRetrieveRequestRemoteFields": ".resources", + "GroupsRetrieveRequestShowEnumOrigins": ".resources", + "IgnoreCommonModelRequest": ".types", + "IgnoreCommonModelRequestReason": ".types", "IndividualCommonModelScopeDeserializer": ".types", "IndividualCommonModelScopeDeserializerRequest": ".types", "Issue": ".types", @@ -437,7 +469,6 @@ "ModelPermissionDeserializer": ".types", "ModelPermissionDeserializerRequest": ".types", "MultipartFormFieldRequest": ".types", - "MultipartFormFieldRequestEncoding": ".types", "PaginatedAccountDetailsAndActionsList": ".types", "PaginatedAuditLogEventList": ".types", "PaginatedBankInfoList": ".types", @@ -491,17 +522,26 @@ "StatusFd5Enum": ".types", "SyncStatus": ".types", "SyncStatusLastSyncResult": ".types", + "SyncStatusStatus": ".types", "Tax": ".types", "Team": ".types", "TeamParentTeam": ".types", + "TeamsListRequestExpandItem": ".resources", + "TeamsRetrieveRequestExpandItem": ".resources", "TimeOff": ".types", "TimeOffApprover": ".types", "TimeOffBalance": ".types", "TimeOffBalanceEmployee": ".types", "TimeOffBalancePolicyType": ".types", + "TimeOffBalancesListRequestExpandItem": ".resources", "TimeOffBalancesListRequestPolicyType": ".resources", + "TimeOffBalancesListRequestRemoteFields": ".resources", + "TimeOffBalancesListRequestShowEnumOrigins": ".resources", + "TimeOffBalancesRetrieveRequestExpandItem": ".resources", + "TimeOffBalancesRetrieveRequestRemoteFields": ".resources", + "TimeOffBalancesRetrieveRequestShowEnumOrigins": ".resources", "TimeOffEmployee": ".types", - "TimeOffListRequestExpand": ".resources", + "TimeOffListRequestExpandItem": ".resources", "TimeOffListRequestRemoteFields": ".resources", "TimeOffListRequestRequestType": ".resources", "TimeOffListRequestShowEnumOrigins": ".resources", @@ -514,13 +554,15 @@ "TimeOffRequestType": ".types", "TimeOffRequestUnits": ".types", "TimeOffResponse": ".types", - "TimeOffRetrieveRequestExpand": ".resources", + "TimeOffRetrieveRequestExpandItem": ".resources", "TimeOffRetrieveRequestRemoteFields": ".resources", "TimeOffRetrieveRequestShowEnumOrigins": ".resources", "TimeOffStatus": ".types", "TimeOffStatusEnum": ".types", "TimeOffUnits": ".types", + "TimesheetEntriesListRequestExpandItem": ".resources", "TimesheetEntriesListRequestOrderBy": ".resources", + "TimesheetEntriesRetrieveRequestExpandItem": ".resources", "TimesheetEntry": ".types", "TimesheetEntryEmployee": ".types", "TimesheetEntryRequest": ".types", @@ -572,8 +614,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -607,16 +651,23 @@ def __dir__(): "BankInfoAccountType", "BankInfoEmployee", "BankInfoListRequestAccountType", + "BankInfoListRequestExpandItem", "BankInfoListRequestOrderBy", + "BankInfoListRequestRemoteFields", + "BankInfoListRequestShowEnumOrigins", + "BankInfoRetrieveRequestExpandItem", + "BankInfoRetrieveRequestRemoteFields", + "BankInfoRetrieveRequestShowEnumOrigins", "Benefit", "BenefitEmployee", "BenefitPlanTypeEnum", + "BenefitsListRequestExpandItem", + "BenefitsRetrieveRequestExpandItem", "CategoriesEnum", "CategoryEnum", "CommonModelScopeApi", "CommonModelScopesBodyRequest", "Company", - "CompletedAccountInitialScreenEnum", "CountryEnum", "DataPassthroughRequest", "DebugModeLog", @@ -642,8 +693,8 @@ def __dir__(): "EmployeePayrollRun", "EmployeePayrollRunEmployee", "EmployeePayrollRunPayrollRun", - "EmployeePayrollRunsListRequestExpand", - "EmployeePayrollRunsRetrieveRequestExpand", + "EmployeePayrollRunsListRequestExpandItem", + "EmployeePayrollRunsRetrieveRequestExpandItem", "EmployeeRequest", "EmployeeRequestCompany", "EmployeeRequestEmploymentStatus", @@ -661,10 +712,10 @@ def __dir__(): "EmployeeTeam", "EmployeeWorkLocation", "EmployeesListRequestEmploymentStatus", - "EmployeesListRequestExpand", + "EmployeesListRequestExpandItem", "EmployeesListRequestRemoteFields", "EmployeesListRequestShowEnumOrigins", - "EmployeesRetrieveRequestExpand", + "EmployeesRetrieveRequestExpandItem", "EmployeesRetrieveRequestRemoteFields", "EmployeesRetrieveRequestShowEnumOrigins", "EmployerBenefit", @@ -679,16 +730,15 @@ def __dir__(): "EmploymentPayPeriod", "EmploymentStatusEnum", "EmploymentTypeEnum", - "EmploymentsListRequestExpand", + "EmploymentsListRequestExpandItem", "EmploymentsListRequestOrderBy", "EmploymentsListRequestRemoteFields", "EmploymentsListRequestShowEnumOrigins", - "EmploymentsRetrieveRequestExpand", + "EmploymentsRetrieveRequestExpandItem", "EmploymentsRetrieveRequestRemoteFields", "EmploymentsRetrieveRequestShowEnumOrigins", "EnabledActionsEnum", "EncodingEnum", - "EndUserDetailsRequestCompletedAccountInitialScreen", "EndUserDetailsRequestLanguage", "ErrorValidationProblem", "EthnicityEnum", @@ -708,6 +758,11 @@ def __dir__(): "Group", "GroupType", "GroupTypeEnum", + "GroupsListRequestRemoteFields", + "GroupsListRequestShowEnumOrigins", + "GroupsRetrieveRequestRemoteFields", + "GroupsRetrieveRequestShowEnumOrigins", + "IgnoreCommonModelRequest", "IgnoreCommonModelRequestReason", "IndividualCommonModelScopeDeserializer", "IndividualCommonModelScopeDeserializerRequest", @@ -736,7 +791,6 @@ def __dir__(): "ModelPermissionDeserializer", "ModelPermissionDeserializerRequest", "MultipartFormFieldRequest", - "MultipartFormFieldRequestEncoding", "PaginatedAccountDetailsAndActionsList", "PaginatedAuditLogEventList", "PaginatedBankInfoList", @@ -790,17 +844,26 @@ def __dir__(): "StatusFd5Enum", "SyncStatus", "SyncStatusLastSyncResult", + "SyncStatusStatus", "Tax", "Team", "TeamParentTeam", + "TeamsListRequestExpandItem", + "TeamsRetrieveRequestExpandItem", "TimeOff", "TimeOffApprover", "TimeOffBalance", "TimeOffBalanceEmployee", "TimeOffBalancePolicyType", + "TimeOffBalancesListRequestExpandItem", "TimeOffBalancesListRequestPolicyType", + "TimeOffBalancesListRequestRemoteFields", + "TimeOffBalancesListRequestShowEnumOrigins", + "TimeOffBalancesRetrieveRequestExpandItem", + "TimeOffBalancesRetrieveRequestRemoteFields", + "TimeOffBalancesRetrieveRequestShowEnumOrigins", "TimeOffEmployee", - "TimeOffListRequestExpand", + "TimeOffListRequestExpandItem", "TimeOffListRequestRemoteFields", "TimeOffListRequestRequestType", "TimeOffListRequestShowEnumOrigins", @@ -813,13 +876,15 @@ def __dir__(): "TimeOffRequestType", "TimeOffRequestUnits", "TimeOffResponse", - "TimeOffRetrieveRequestExpand", + "TimeOffRetrieveRequestExpandItem", "TimeOffRetrieveRequestRemoteFields", "TimeOffRetrieveRequestShowEnumOrigins", "TimeOffStatus", "TimeOffStatusEnum", "TimeOffUnits", + "TimesheetEntriesListRequestExpandItem", "TimesheetEntriesListRequestOrderBy", + "TimesheetEntriesRetrieveRequestExpandItem", "TimesheetEntry", "TimesheetEntryEmployee", "TimesheetEntryRequest", diff --git a/src/merge/resources/hris/resources/__init__.py b/src/merge/resources/hris/resources/__init__.py index 18381433..78f7bc22 100644 --- a/src/merge/resources/hris/resources/__init__.py +++ b/src/merge/resources/hris/resources/__init__.py @@ -42,29 +42,47 @@ webhook_receivers, ) from .async_passthrough import AsyncPassthroughRetrieveResponse - from .bank_info import BankInfoListRequestAccountType, BankInfoListRequestOrderBy - from .employee_payroll_runs import EmployeePayrollRunsListRequestExpand, EmployeePayrollRunsRetrieveRequestExpand + from .bank_info import ( + BankInfoListRequestAccountType, + BankInfoListRequestExpandItem, + BankInfoListRequestOrderBy, + BankInfoListRequestRemoteFields, + BankInfoListRequestShowEnumOrigins, + BankInfoRetrieveRequestExpandItem, + BankInfoRetrieveRequestRemoteFields, + BankInfoRetrieveRequestShowEnumOrigins, + ) + from .benefits import BenefitsListRequestExpandItem, BenefitsRetrieveRequestExpandItem + from .employee_payroll_runs import ( + EmployeePayrollRunsListRequestExpandItem, + EmployeePayrollRunsRetrieveRequestExpandItem, + ) from .employees import ( EmployeesListRequestEmploymentStatus, - EmployeesListRequestExpand, + EmployeesListRequestExpandItem, EmployeesListRequestRemoteFields, EmployeesListRequestShowEnumOrigins, - EmployeesRetrieveRequestExpand, + EmployeesRetrieveRequestExpandItem, EmployeesRetrieveRequestRemoteFields, EmployeesRetrieveRequestShowEnumOrigins, - IgnoreCommonModelRequestReason, ) from .employments import ( - EmploymentsListRequestExpand, + EmploymentsListRequestExpandItem, EmploymentsListRequestOrderBy, EmploymentsListRequestRemoteFields, EmploymentsListRequestShowEnumOrigins, - EmploymentsRetrieveRequestExpand, + EmploymentsRetrieveRequestExpandItem, EmploymentsRetrieveRequestRemoteFields, EmploymentsRetrieveRequestShowEnumOrigins, ) + from .groups import ( + GroupsListRequestRemoteFields, + GroupsListRequestShowEnumOrigins, + GroupsRetrieveRequestRemoteFields, + GroupsRetrieveRequestShowEnumOrigins, + ) from .issues import IssuesListRequestStatus - from .link_token import EndUserDetailsRequestCompletedAccountInitialScreen, EndUserDetailsRequestLanguage + from .link_token import EndUserDetailsRequestLanguage from .linked_accounts import LinkedAccountsListRequestCategory from .locations import ( LocationsListRequestLocationType, @@ -80,41 +98,64 @@ PayrollRunsRetrieveRequestRemoteFields, PayrollRunsRetrieveRequestShowEnumOrigins, ) + from .teams import TeamsListRequestExpandItem, TeamsRetrieveRequestExpandItem from .time_off import ( - TimeOffListRequestExpand, + TimeOffListRequestExpandItem, TimeOffListRequestRemoteFields, TimeOffListRequestRequestType, TimeOffListRequestShowEnumOrigins, TimeOffListRequestStatus, - TimeOffRetrieveRequestExpand, + TimeOffRetrieveRequestExpandItem, TimeOffRetrieveRequestRemoteFields, TimeOffRetrieveRequestShowEnumOrigins, ) - from .time_off_balances import TimeOffBalancesListRequestPolicyType - from .timesheet_entries import TimesheetEntriesListRequestOrderBy + from .time_off_balances import ( + TimeOffBalancesListRequestExpandItem, + TimeOffBalancesListRequestPolicyType, + TimeOffBalancesListRequestRemoteFields, + TimeOffBalancesListRequestShowEnumOrigins, + TimeOffBalancesRetrieveRequestExpandItem, + TimeOffBalancesRetrieveRequestRemoteFields, + TimeOffBalancesRetrieveRequestShowEnumOrigins, + ) + from .timesheet_entries import ( + TimesheetEntriesListRequestExpandItem, + TimesheetEntriesListRequestOrderBy, + TimesheetEntriesRetrieveRequestExpandItem, + ) _dynamic_imports: typing.Dict[str, str] = { "AsyncPassthroughRetrieveResponse": ".async_passthrough", "BankInfoListRequestAccountType": ".bank_info", + "BankInfoListRequestExpandItem": ".bank_info", "BankInfoListRequestOrderBy": ".bank_info", - "EmployeePayrollRunsListRequestExpand": ".employee_payroll_runs", - "EmployeePayrollRunsRetrieveRequestExpand": ".employee_payroll_runs", + "BankInfoListRequestRemoteFields": ".bank_info", + "BankInfoListRequestShowEnumOrigins": ".bank_info", + "BankInfoRetrieveRequestExpandItem": ".bank_info", + "BankInfoRetrieveRequestRemoteFields": ".bank_info", + "BankInfoRetrieveRequestShowEnumOrigins": ".bank_info", + "BenefitsListRequestExpandItem": ".benefits", + "BenefitsRetrieveRequestExpandItem": ".benefits", + "EmployeePayrollRunsListRequestExpandItem": ".employee_payroll_runs", + "EmployeePayrollRunsRetrieveRequestExpandItem": ".employee_payroll_runs", "EmployeesListRequestEmploymentStatus": ".employees", - "EmployeesListRequestExpand": ".employees", + "EmployeesListRequestExpandItem": ".employees", "EmployeesListRequestRemoteFields": ".employees", "EmployeesListRequestShowEnumOrigins": ".employees", - "EmployeesRetrieveRequestExpand": ".employees", + "EmployeesRetrieveRequestExpandItem": ".employees", "EmployeesRetrieveRequestRemoteFields": ".employees", "EmployeesRetrieveRequestShowEnumOrigins": ".employees", - "EmploymentsListRequestExpand": ".employments", + "EmploymentsListRequestExpandItem": ".employments", "EmploymentsListRequestOrderBy": ".employments", "EmploymentsListRequestRemoteFields": ".employments", "EmploymentsListRequestShowEnumOrigins": ".employments", - "EmploymentsRetrieveRequestExpand": ".employments", + "EmploymentsRetrieveRequestExpandItem": ".employments", "EmploymentsRetrieveRequestRemoteFields": ".employments", "EmploymentsRetrieveRequestShowEnumOrigins": ".employments", - "EndUserDetailsRequestCompletedAccountInitialScreen": ".link_token", "EndUserDetailsRequestLanguage": ".link_token", - "IgnoreCommonModelRequestReason": ".employees", + "GroupsListRequestRemoteFields": ".groups", + "GroupsListRequestShowEnumOrigins": ".groups", + "GroupsRetrieveRequestRemoteFields": ".groups", + "GroupsRetrieveRequestShowEnumOrigins": ".groups", "IssuesListRequestStatus": ".issues", "LinkedAccountsListRequestCategory": ".linked_accounts", "LocationsListRequestLocationType": ".locations", @@ -127,49 +168,59 @@ "PayrollRunsListRequestShowEnumOrigins": ".payroll_runs", "PayrollRunsRetrieveRequestRemoteFields": ".payroll_runs", "PayrollRunsRetrieveRequestShowEnumOrigins": ".payroll_runs", + "TeamsListRequestExpandItem": ".teams", + "TeamsRetrieveRequestExpandItem": ".teams", + "TimeOffBalancesListRequestExpandItem": ".time_off_balances", "TimeOffBalancesListRequestPolicyType": ".time_off_balances", - "TimeOffListRequestExpand": ".time_off", + "TimeOffBalancesListRequestRemoteFields": ".time_off_balances", + "TimeOffBalancesListRequestShowEnumOrigins": ".time_off_balances", + "TimeOffBalancesRetrieveRequestExpandItem": ".time_off_balances", + "TimeOffBalancesRetrieveRequestRemoteFields": ".time_off_balances", + "TimeOffBalancesRetrieveRequestShowEnumOrigins": ".time_off_balances", + "TimeOffListRequestExpandItem": ".time_off", "TimeOffListRequestRemoteFields": ".time_off", "TimeOffListRequestRequestType": ".time_off", "TimeOffListRequestShowEnumOrigins": ".time_off", "TimeOffListRequestStatus": ".time_off", - "TimeOffRetrieveRequestExpand": ".time_off", + "TimeOffRetrieveRequestExpandItem": ".time_off", "TimeOffRetrieveRequestRemoteFields": ".time_off", "TimeOffRetrieveRequestShowEnumOrigins": ".time_off", + "TimesheetEntriesListRequestExpandItem": ".timesheet_entries", "TimesheetEntriesListRequestOrderBy": ".timesheet_entries", - "account_details": ".", - "account_token": ".", - "async_passthrough": ".", - "audit_trail": ".", - "available_actions": ".", - "bank_info": ".", - "benefits": ".", - "companies": ".", - "delete_account": ".", - "dependents": ".", - "employee_payroll_runs": ".", - "employees": ".", - "employer_benefits": ".", - "employments": ".", - "field_mapping": ".", - "force_resync": ".", - "generate_key": ".", - "groups": ".", - "issues": ".", - "link_token": ".", - "linked_accounts": ".", - "locations": ".", - "passthrough": ".", - "pay_groups": ".", - "payroll_runs": ".", - "regenerate_key": ".", - "scopes": ".", - "sync_status": ".", - "teams": ".", - "time_off": ".", - "time_off_balances": ".", - "timesheet_entries": ".", - "webhook_receivers": ".", + "TimesheetEntriesRetrieveRequestExpandItem": ".timesheet_entries", + "account_details": ".account_details", + "account_token": ".account_token", + "async_passthrough": ".async_passthrough", + "audit_trail": ".audit_trail", + "available_actions": ".available_actions", + "bank_info": ".bank_info", + "benefits": ".benefits", + "companies": ".companies", + "delete_account": ".delete_account", + "dependents": ".dependents", + "employee_payroll_runs": ".employee_payroll_runs", + "employees": ".employees", + "employer_benefits": ".employer_benefits", + "employments": ".employments", + "field_mapping": ".field_mapping", + "force_resync": ".force_resync", + "generate_key": ".generate_key", + "groups": ".groups", + "issues": ".issues", + "link_token": ".link_token", + "linked_accounts": ".linked_accounts", + "locations": ".locations", + "passthrough": ".passthrough", + "pay_groups": ".pay_groups", + "payroll_runs": ".payroll_runs", + "regenerate_key": ".regenerate_key", + "scopes": ".scopes", + "sync_status": ".sync_status", + "teams": ".teams", + "time_off": ".time_off", + "time_off_balances": ".time_off_balances", + "timesheet_entries": ".timesheet_entries", + "webhook_receivers": ".webhook_receivers", } @@ -179,8 +230,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -195,26 +248,36 @@ def __dir__(): __all__ = [ "AsyncPassthroughRetrieveResponse", "BankInfoListRequestAccountType", + "BankInfoListRequestExpandItem", "BankInfoListRequestOrderBy", - "EmployeePayrollRunsListRequestExpand", - "EmployeePayrollRunsRetrieveRequestExpand", + "BankInfoListRequestRemoteFields", + "BankInfoListRequestShowEnumOrigins", + "BankInfoRetrieveRequestExpandItem", + "BankInfoRetrieveRequestRemoteFields", + "BankInfoRetrieveRequestShowEnumOrigins", + "BenefitsListRequestExpandItem", + "BenefitsRetrieveRequestExpandItem", + "EmployeePayrollRunsListRequestExpandItem", + "EmployeePayrollRunsRetrieveRequestExpandItem", "EmployeesListRequestEmploymentStatus", - "EmployeesListRequestExpand", + "EmployeesListRequestExpandItem", "EmployeesListRequestRemoteFields", "EmployeesListRequestShowEnumOrigins", - "EmployeesRetrieveRequestExpand", + "EmployeesRetrieveRequestExpandItem", "EmployeesRetrieveRequestRemoteFields", "EmployeesRetrieveRequestShowEnumOrigins", - "EmploymentsListRequestExpand", + "EmploymentsListRequestExpandItem", "EmploymentsListRequestOrderBy", "EmploymentsListRequestRemoteFields", "EmploymentsListRequestShowEnumOrigins", - "EmploymentsRetrieveRequestExpand", + "EmploymentsRetrieveRequestExpandItem", "EmploymentsRetrieveRequestRemoteFields", "EmploymentsRetrieveRequestShowEnumOrigins", - "EndUserDetailsRequestCompletedAccountInitialScreen", "EndUserDetailsRequestLanguage", - "IgnoreCommonModelRequestReason", + "GroupsListRequestRemoteFields", + "GroupsListRequestShowEnumOrigins", + "GroupsRetrieveRequestRemoteFields", + "GroupsRetrieveRequestShowEnumOrigins", "IssuesListRequestStatus", "LinkedAccountsListRequestCategory", "LocationsListRequestLocationType", @@ -227,16 +290,26 @@ def __dir__(): "PayrollRunsListRequestShowEnumOrigins", "PayrollRunsRetrieveRequestRemoteFields", "PayrollRunsRetrieveRequestShowEnumOrigins", + "TeamsListRequestExpandItem", + "TeamsRetrieveRequestExpandItem", + "TimeOffBalancesListRequestExpandItem", "TimeOffBalancesListRequestPolicyType", - "TimeOffListRequestExpand", + "TimeOffBalancesListRequestRemoteFields", + "TimeOffBalancesListRequestShowEnumOrigins", + "TimeOffBalancesRetrieveRequestExpandItem", + "TimeOffBalancesRetrieveRequestRemoteFields", + "TimeOffBalancesRetrieveRequestShowEnumOrigins", + "TimeOffListRequestExpandItem", "TimeOffListRequestRemoteFields", "TimeOffListRequestRequestType", "TimeOffListRequestShowEnumOrigins", "TimeOffListRequestStatus", - "TimeOffRetrieveRequestExpand", + "TimeOffRetrieveRequestExpandItem", "TimeOffRetrieveRequestRemoteFields", "TimeOffRetrieveRequestShowEnumOrigins", + "TimesheetEntriesListRequestExpandItem", "TimesheetEntriesListRequestOrderBy", + "TimesheetEntriesRetrieveRequestExpandItem", "account_details", "account_token", "async_passthrough", diff --git a/src/merge/resources/hris/resources/async_passthrough/__init__.py b/src/merge/resources/hris/resources/async_passthrough/__init__.py index 375c7953..11090986 100644 --- a/src/merge/resources/hris/resources/async_passthrough/__init__.py +++ b/src/merge/resources/hris/resources/async_passthrough/__init__.py @@ -16,8 +16,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: diff --git a/src/merge/resources/hris/resources/async_passthrough/types/__init__.py b/src/merge/resources/hris/resources/async_passthrough/types/__init__.py index f6e9bec9..dc335400 100644 --- a/src/merge/resources/hris/resources/async_passthrough/types/__init__.py +++ b/src/merge/resources/hris/resources/async_passthrough/types/__init__.py @@ -16,8 +16,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: diff --git a/src/merge/resources/hris/resources/audit_trail/client.py b/src/merge/resources/hris/resources/audit_trail/client.py index 629f1716..7a73a789 100644 --- a/src/merge/resources/hris/resources/audit_trail/client.py +++ b/src/merge/resources/hris/resources/audit_trail/client.py @@ -3,7 +3,9 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions +from ...types.audit_log_event import AuditLogEvent from ...types.paginated_audit_log_event_list import PaginatedAuditLogEventList from .raw_client import AsyncRawAuditTrailClient, RawAuditTrailClient @@ -33,7 +35,7 @@ def list( start_date: typing.Optional[str] = None, user_email: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAuditLogEventList: + ) -> SyncPager[AuditLogEvent, PaginatedAuditLogEventList]: """ Gets a list of audit trail events. @@ -46,7 +48,7 @@ def list( If included, will only include audit trail events that occurred before this time event_type : typing.Optional[str] - If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` + If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` page_size : typing.Optional[int] Number of results to return per page. @@ -62,7 +64,7 @@ def list( Returns ------- - PaginatedAuditLogEventList + SyncPager[AuditLogEvent, PaginatedAuditLogEventList] Examples @@ -73,16 +75,16 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.hris.audit_trail.list( + response = client.hris.audit_trail.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_date="end_date", - event_type="event_type", - page_size=1, - start_date="start_date", - user_email="user_email", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( cursor=cursor, end_date=end_date, event_type=event_type, @@ -91,7 +93,6 @@ def list( user_email=user_email, request_options=request_options, ) - return _response.data class AsyncAuditTrailClient: @@ -119,7 +120,7 @@ async def list( start_date: typing.Optional[str] = None, user_email: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAuditLogEventList: + ) -> AsyncPager[AuditLogEvent, PaginatedAuditLogEventList]: """ Gets a list of audit trail events. @@ -132,7 +133,7 @@ async def list( If included, will only include audit trail events that occurred before this time event_type : typing.Optional[str] - If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` + If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` page_size : typing.Optional[int] Number of results to return per page. @@ -148,7 +149,7 @@ async def list( Returns ------- - PaginatedAuditLogEventList + AsyncPager[AuditLogEvent, PaginatedAuditLogEventList] Examples @@ -164,19 +165,20 @@ async def list( async def main() -> None: - await client.hris.audit_trail.list( + response = await client.hris.audit_trail.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_date="end_date", - event_type="event_type", - page_size=1, - start_date="start_date", - user_email="user_email", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( cursor=cursor, end_date=end_date, event_type=event_type, @@ -185,4 +187,3 @@ async def main() -> None: user_email=user_email, request_options=request_options, ) - return _response.data diff --git a/src/merge/resources/hris/resources/audit_trail/raw_client.py b/src/merge/resources/hris/resources/audit_trail/raw_client.py index c9ff7ce6..ed1b8895 100644 --- a/src/merge/resources/hris/resources/audit_trail/raw_client.py +++ b/src/merge/resources/hris/resources/audit_trail/raw_client.py @@ -5,9 +5,10 @@ from .....core.api_error import ApiError from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type +from ...types.audit_log_event import AuditLogEvent from ...types.paginated_audit_log_event_list import PaginatedAuditLogEventList @@ -25,7 +26,7 @@ def list( start_date: typing.Optional[str] = None, user_email: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedAuditLogEventList]: + ) -> SyncPager[AuditLogEvent, PaginatedAuditLogEventList]: """ Gets a list of audit trail events. @@ -38,7 +39,7 @@ def list( If included, will only include audit trail events that occurred before this time event_type : typing.Optional[str] - If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` + If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` page_size : typing.Optional[int] Number of results to return per page. @@ -54,7 +55,7 @@ def list( Returns ------- - HttpResponse[PaginatedAuditLogEventList] + SyncPager[AuditLogEvent, PaginatedAuditLogEventList] """ _response = self._client_wrapper.httpx_client.request( @@ -72,14 +73,26 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAuditLogEventList, construct_type( type_=PaginatedAuditLogEventList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + cursor=_parsed_next, + end_date=end_date, + event_type=event_type, + page_size=page_size, + start_date=start_date, + user_email=user_email, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -100,7 +113,7 @@ async def list( start_date: typing.Optional[str] = None, user_email: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedAuditLogEventList]: + ) -> AsyncPager[AuditLogEvent, PaginatedAuditLogEventList]: """ Gets a list of audit trail events. @@ -113,7 +126,7 @@ async def list( If included, will only include audit trail events that occurred before this time event_type : typing.Optional[str] - If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` + If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` page_size : typing.Optional[int] Number of results to return per page. @@ -129,7 +142,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedAuditLogEventList] + AsyncPager[AuditLogEvent, PaginatedAuditLogEventList] """ _response = await self._client_wrapper.httpx_client.request( @@ -147,14 +160,29 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAuditLogEventList, construct_type( type_=PaginatedAuditLogEventList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + cursor=_parsed_next, + end_date=end_date, + event_type=event_type, + page_size=page_size, + start_date=start_date, + user_email=user_email, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/hris/resources/bank_info/__init__.py b/src/merge/resources/hris/resources/bank_info/__init__.py index c4f49abf..83df4851 100644 --- a/src/merge/resources/hris/resources/bank_info/__init__.py +++ b/src/merge/resources/hris/resources/bank_info/__init__.py @@ -6,10 +6,25 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .types import BankInfoListRequestAccountType, BankInfoListRequestOrderBy + from .types import ( + BankInfoListRequestAccountType, + BankInfoListRequestExpandItem, + BankInfoListRequestOrderBy, + BankInfoListRequestRemoteFields, + BankInfoListRequestShowEnumOrigins, + BankInfoRetrieveRequestExpandItem, + BankInfoRetrieveRequestRemoteFields, + BankInfoRetrieveRequestShowEnumOrigins, + ) _dynamic_imports: typing.Dict[str, str] = { "BankInfoListRequestAccountType": ".types", + "BankInfoListRequestExpandItem": ".types", "BankInfoListRequestOrderBy": ".types", + "BankInfoListRequestRemoteFields": ".types", + "BankInfoListRequestShowEnumOrigins": ".types", + "BankInfoRetrieveRequestExpandItem": ".types", + "BankInfoRetrieveRequestRemoteFields": ".types", + "BankInfoRetrieveRequestShowEnumOrigins": ".types", } @@ -19,8 +34,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -32,4 +49,13 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["BankInfoListRequestAccountType", "BankInfoListRequestOrderBy"] +__all__ = [ + "BankInfoListRequestAccountType", + "BankInfoListRequestExpandItem", + "BankInfoListRequestOrderBy", + "BankInfoListRequestRemoteFields", + "BankInfoListRequestShowEnumOrigins", + "BankInfoRetrieveRequestExpandItem", + "BankInfoRetrieveRequestRemoteFields", + "BankInfoRetrieveRequestShowEnumOrigins", +] diff --git a/src/merge/resources/hris/resources/bank_info/client.py b/src/merge/resources/hris/resources/bank_info/client.py index d8b8421b..1423895d 100644 --- a/src/merge/resources/hris/resources/bank_info/client.py +++ b/src/merge/resources/hris/resources/bank_info/client.py @@ -4,12 +4,19 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.bank_info import BankInfo from ...types.paginated_bank_info_list import PaginatedBankInfoList from .raw_client import AsyncRawBankInfoClient, RawBankInfoClient from .types.bank_info_list_request_account_type import BankInfoListRequestAccountType +from .types.bank_info_list_request_expand_item import BankInfoListRequestExpandItem from .types.bank_info_list_request_order_by import BankInfoListRequestOrderBy +from .types.bank_info_list_request_remote_fields import BankInfoListRequestRemoteFields +from .types.bank_info_list_request_show_enum_origins import BankInfoListRequestShowEnumOrigins +from .types.bank_info_retrieve_request_expand_item import BankInfoRetrieveRequestExpandItem +from .types.bank_info_retrieve_request_remote_fields import BankInfoRetrieveRequestRemoteFields +from .types.bank_info_retrieve_request_show_enum_origins import BankInfoRetrieveRequestShowEnumOrigins class BankInfoClient: @@ -36,7 +43,9 @@ def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, employee_id: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["employee"]] = None, + expand: typing.Optional[ + typing.Union[BankInfoListRequestExpandItem, typing.Sequence[BankInfoListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -44,11 +53,11 @@ def list( modified_before: typing.Optional[dt.datetime] = None, order_by: typing.Optional[BankInfoListRequestOrderBy] = None, page_size: typing.Optional[int] = None, - remote_fields: typing.Optional[typing.Literal["account_type"]] = None, + remote_fields: typing.Optional[BankInfoListRequestRemoteFields] = None, remote_id: typing.Optional[str] = None, - show_enum_origins: typing.Optional[typing.Literal["account_type"]] = None, + show_enum_origins: typing.Optional[BankInfoListRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedBankInfoList: + ) -> SyncPager[BankInfo, PaginatedBankInfoList]: """ Returns a list of `BankInfo` objects. @@ -75,7 +84,7 @@ def list( employee_id : typing.Optional[str] If provided, will only return bank accounts for this employee. - expand : typing.Optional[typing.Literal["employee"]] + expand : typing.Optional[typing.Union[BankInfoListRequestExpandItem, typing.Sequence[BankInfoListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -97,15 +106,15 @@ def list( Overrides the default ordering for this endpoint. Possible values include: remote_created_at, -remote_created_at. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. - remote_fields : typing.Optional[typing.Literal["account_type"]] + remote_fields : typing.Optional[BankInfoListRequestRemoteFields] Deprecated. Use show_enum_origins. remote_id : typing.Optional[str] The API provider's ID for the given object. - show_enum_origins : typing.Optional[typing.Literal["account_type"]] + show_enum_origins : typing.Optional[BankInfoListRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -113,49 +122,27 @@ def list( Returns ------- - PaginatedBankInfoList + SyncPager[BankInfo, PaginatedBankInfoList] Examples -------- - import datetime - from merge import Merge - from merge.resources.hris.resources.bank_info import ( - BankInfoListRequestAccountType, - BankInfoListRequestOrderBy, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.hris.bank_info.list( - account_type=BankInfoListRequestAccountType.CHECKING, - bank_name="bank_name", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = client.hris.bank_info.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - employee_id="employee_id", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - order_by=BankInfoListRequestOrderBy.REMOTE_CREATED_AT_DESCENDING, - page_size=1, - remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( account_type=account_type, bank_name=bank_name, created_after=created_after, @@ -175,17 +162,18 @@ def list( show_enum_origins=show_enum_origins, request_options=request_options, ) - return _response.data def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["employee"]] = None, + expand: typing.Optional[ + typing.Union[BankInfoRetrieveRequestExpandItem, typing.Sequence[BankInfoRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - remote_fields: typing.Optional[typing.Literal["account_type"]] = None, - show_enum_origins: typing.Optional[typing.Literal["account_type"]] = None, + remote_fields: typing.Optional[BankInfoRetrieveRequestRemoteFields] = None, + show_enum_origins: typing.Optional[BankInfoRetrieveRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, ) -> BankInfo: """ @@ -195,7 +183,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["employee"]] + expand : typing.Optional[typing.Union[BankInfoRetrieveRequestExpandItem, typing.Sequence[BankInfoRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -204,10 +192,10 @@ def retrieve( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - remote_fields : typing.Optional[typing.Literal["account_type"]] + remote_fields : typing.Optional[BankInfoRetrieveRequestRemoteFields] Deprecated. Use show_enum_origins. - show_enum_origins : typing.Optional[typing.Literal["account_type"]] + show_enum_origins : typing.Optional[BankInfoRetrieveRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -228,8 +216,6 @@ def retrieve( ) client.hris.bank_info.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) """ _response = self._raw_client.retrieve( @@ -268,7 +254,9 @@ async def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, employee_id: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["employee"]] = None, + expand: typing.Optional[ + typing.Union[BankInfoListRequestExpandItem, typing.Sequence[BankInfoListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -276,11 +264,11 @@ async def list( modified_before: typing.Optional[dt.datetime] = None, order_by: typing.Optional[BankInfoListRequestOrderBy] = None, page_size: typing.Optional[int] = None, - remote_fields: typing.Optional[typing.Literal["account_type"]] = None, + remote_fields: typing.Optional[BankInfoListRequestRemoteFields] = None, remote_id: typing.Optional[str] = None, - show_enum_origins: typing.Optional[typing.Literal["account_type"]] = None, + show_enum_origins: typing.Optional[BankInfoListRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedBankInfoList: + ) -> AsyncPager[BankInfo, PaginatedBankInfoList]: """ Returns a list of `BankInfo` objects. @@ -307,7 +295,7 @@ async def list( employee_id : typing.Optional[str] If provided, will only return bank accounts for this employee. - expand : typing.Optional[typing.Literal["employee"]] + expand : typing.Optional[typing.Union[BankInfoListRequestExpandItem, typing.Sequence[BankInfoListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -329,15 +317,15 @@ async def list( Overrides the default ordering for this endpoint. Possible values include: remote_created_at, -remote_created_at. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. - remote_fields : typing.Optional[typing.Literal["account_type"]] + remote_fields : typing.Optional[BankInfoListRequestRemoteFields] Deprecated. Use show_enum_origins. remote_id : typing.Optional[str] The API provider's ID for the given object. - show_enum_origins : typing.Optional[typing.Literal["account_type"]] + show_enum_origins : typing.Optional[BankInfoListRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -345,19 +333,14 @@ async def list( Returns ------- - PaginatedBankInfoList + AsyncPager[BankInfo, PaginatedBankInfoList] Examples -------- import asyncio - import datetime from merge import AsyncMerge - from merge.resources.hris.resources.bank_info import ( - BankInfoListRequestAccountType, - BankInfoListRequestOrderBy, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -366,35 +349,20 @@ async def list( async def main() -> None: - await client.hris.bank_info.list( - account_type=BankInfoListRequestAccountType.CHECKING, - bank_name="bank_name", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = await client.hris.bank_info.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - employee_id="employee_id", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - order_by=BankInfoListRequestOrderBy.REMOTE_CREATED_AT_DESCENDING, - page_size=1, - remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( account_type=account_type, bank_name=bank_name, created_after=created_after, @@ -414,17 +382,18 @@ async def main() -> None: show_enum_origins=show_enum_origins, request_options=request_options, ) - return _response.data async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["employee"]] = None, + expand: typing.Optional[ + typing.Union[BankInfoRetrieveRequestExpandItem, typing.Sequence[BankInfoRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - remote_fields: typing.Optional[typing.Literal["account_type"]] = None, - show_enum_origins: typing.Optional[typing.Literal["account_type"]] = None, + remote_fields: typing.Optional[BankInfoRetrieveRequestRemoteFields] = None, + show_enum_origins: typing.Optional[BankInfoRetrieveRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, ) -> BankInfo: """ @@ -434,7 +403,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["employee"]] + expand : typing.Optional[typing.Union[BankInfoRetrieveRequestExpandItem, typing.Sequence[BankInfoRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -443,10 +412,10 @@ async def retrieve( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - remote_fields : typing.Optional[typing.Literal["account_type"]] + remote_fields : typing.Optional[BankInfoRetrieveRequestRemoteFields] Deprecated. Use show_enum_origins. - show_enum_origins : typing.Optional[typing.Literal["account_type"]] + show_enum_origins : typing.Optional[BankInfoRetrieveRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -472,8 +441,6 @@ async def retrieve( async def main() -> None: await client.hris.bank_info.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) diff --git a/src/merge/resources/hris/resources/bank_info/raw_client.py b/src/merge/resources/hris/resources/bank_info/raw_client.py index c031bf3b..4379f63c 100644 --- a/src/merge/resources/hris/resources/bank_info/raw_client.py +++ b/src/merge/resources/hris/resources/bank_info/raw_client.py @@ -9,12 +9,19 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.bank_info import BankInfo from ...types.paginated_bank_info_list import PaginatedBankInfoList from .types.bank_info_list_request_account_type import BankInfoListRequestAccountType +from .types.bank_info_list_request_expand_item import BankInfoListRequestExpandItem from .types.bank_info_list_request_order_by import BankInfoListRequestOrderBy +from .types.bank_info_list_request_remote_fields import BankInfoListRequestRemoteFields +from .types.bank_info_list_request_show_enum_origins import BankInfoListRequestShowEnumOrigins +from .types.bank_info_retrieve_request_expand_item import BankInfoRetrieveRequestExpandItem +from .types.bank_info_retrieve_request_remote_fields import BankInfoRetrieveRequestRemoteFields +from .types.bank_info_retrieve_request_show_enum_origins import BankInfoRetrieveRequestShowEnumOrigins class RawBankInfoClient: @@ -30,7 +37,9 @@ def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, employee_id: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["employee"]] = None, + expand: typing.Optional[ + typing.Union[BankInfoListRequestExpandItem, typing.Sequence[BankInfoListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -38,11 +47,11 @@ def list( modified_before: typing.Optional[dt.datetime] = None, order_by: typing.Optional[BankInfoListRequestOrderBy] = None, page_size: typing.Optional[int] = None, - remote_fields: typing.Optional[typing.Literal["account_type"]] = None, + remote_fields: typing.Optional[BankInfoListRequestRemoteFields] = None, remote_id: typing.Optional[str] = None, - show_enum_origins: typing.Optional[typing.Literal["account_type"]] = None, + show_enum_origins: typing.Optional[BankInfoListRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedBankInfoList]: + ) -> SyncPager[BankInfo, PaginatedBankInfoList]: """ Returns a list of `BankInfo` objects. @@ -69,7 +78,7 @@ def list( employee_id : typing.Optional[str] If provided, will only return bank accounts for this employee. - expand : typing.Optional[typing.Literal["employee"]] + expand : typing.Optional[typing.Union[BankInfoListRequestExpandItem, typing.Sequence[BankInfoListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -91,15 +100,15 @@ def list( Overrides the default ordering for this endpoint. Possible values include: remote_created_at, -remote_created_at. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. - remote_fields : typing.Optional[typing.Literal["account_type"]] + remote_fields : typing.Optional[BankInfoListRequestRemoteFields] Deprecated. Use show_enum_origins. remote_id : typing.Optional[str] The API provider's ID for the given object. - show_enum_origins : typing.Optional[typing.Literal["account_type"]] + show_enum_origins : typing.Optional[BankInfoListRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -107,7 +116,7 @@ def list( Returns ------- - HttpResponse[PaginatedBankInfoList] + SyncPager[BankInfo, PaginatedBankInfoList] """ _response = self._client_wrapper.httpx_client.request( @@ -136,14 +145,37 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedBankInfoList, construct_type( type_=PaginatedBankInfoList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + account_type=account_type, + bank_name=bank_name, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + employee_id=employee_id, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + order_by=order_by, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -153,11 +185,13 @@ def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["employee"]] = None, + expand: typing.Optional[ + typing.Union[BankInfoRetrieveRequestExpandItem, typing.Sequence[BankInfoRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - remote_fields: typing.Optional[typing.Literal["account_type"]] = None, - show_enum_origins: typing.Optional[typing.Literal["account_type"]] = None, + remote_fields: typing.Optional[BankInfoRetrieveRequestRemoteFields] = None, + show_enum_origins: typing.Optional[BankInfoRetrieveRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[BankInfo]: """ @@ -167,7 +201,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["employee"]] + expand : typing.Optional[typing.Union[BankInfoRetrieveRequestExpandItem, typing.Sequence[BankInfoRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -176,10 +210,10 @@ def retrieve( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - remote_fields : typing.Optional[typing.Literal["account_type"]] + remote_fields : typing.Optional[BankInfoRetrieveRequestRemoteFields] Deprecated. Use show_enum_origins. - show_enum_origins : typing.Optional[typing.Literal["account_type"]] + show_enum_origins : typing.Optional[BankInfoRetrieveRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -231,7 +265,9 @@ async def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, employee_id: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["employee"]] = None, + expand: typing.Optional[ + typing.Union[BankInfoListRequestExpandItem, typing.Sequence[BankInfoListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -239,11 +275,11 @@ async def list( modified_before: typing.Optional[dt.datetime] = None, order_by: typing.Optional[BankInfoListRequestOrderBy] = None, page_size: typing.Optional[int] = None, - remote_fields: typing.Optional[typing.Literal["account_type"]] = None, + remote_fields: typing.Optional[BankInfoListRequestRemoteFields] = None, remote_id: typing.Optional[str] = None, - show_enum_origins: typing.Optional[typing.Literal["account_type"]] = None, + show_enum_origins: typing.Optional[BankInfoListRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedBankInfoList]: + ) -> AsyncPager[BankInfo, PaginatedBankInfoList]: """ Returns a list of `BankInfo` objects. @@ -270,7 +306,7 @@ async def list( employee_id : typing.Optional[str] If provided, will only return bank accounts for this employee. - expand : typing.Optional[typing.Literal["employee"]] + expand : typing.Optional[typing.Union[BankInfoListRequestExpandItem, typing.Sequence[BankInfoListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -292,15 +328,15 @@ async def list( Overrides the default ordering for this endpoint. Possible values include: remote_created_at, -remote_created_at. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. - remote_fields : typing.Optional[typing.Literal["account_type"]] + remote_fields : typing.Optional[BankInfoListRequestRemoteFields] Deprecated. Use show_enum_origins. remote_id : typing.Optional[str] The API provider's ID for the given object. - show_enum_origins : typing.Optional[typing.Literal["account_type"]] + show_enum_origins : typing.Optional[BankInfoListRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -308,7 +344,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedBankInfoList] + AsyncPager[BankInfo, PaginatedBankInfoList] """ _response = await self._client_wrapper.httpx_client.request( @@ -337,14 +373,40 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedBankInfoList, construct_type( type_=PaginatedBankInfoList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + account_type=account_type, + bank_name=bank_name, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + employee_id=employee_id, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + order_by=order_by, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -354,11 +416,13 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["employee"]] = None, + expand: typing.Optional[ + typing.Union[BankInfoRetrieveRequestExpandItem, typing.Sequence[BankInfoRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - remote_fields: typing.Optional[typing.Literal["account_type"]] = None, - show_enum_origins: typing.Optional[typing.Literal["account_type"]] = None, + remote_fields: typing.Optional[BankInfoRetrieveRequestRemoteFields] = None, + show_enum_origins: typing.Optional[BankInfoRetrieveRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[BankInfo]: """ @@ -368,7 +432,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["employee"]] + expand : typing.Optional[typing.Union[BankInfoRetrieveRequestExpandItem, typing.Sequence[BankInfoRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -377,10 +441,10 @@ async def retrieve( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - remote_fields : typing.Optional[typing.Literal["account_type"]] + remote_fields : typing.Optional[BankInfoRetrieveRequestRemoteFields] Deprecated. Use show_enum_origins. - show_enum_origins : typing.Optional[typing.Literal["account_type"]] + show_enum_origins : typing.Optional[BankInfoRetrieveRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] diff --git a/src/merge/resources/hris/resources/bank_info/types/__init__.py b/src/merge/resources/hris/resources/bank_info/types/__init__.py index 9f1d7d37..f143989a 100644 --- a/src/merge/resources/hris/resources/bank_info/types/__init__.py +++ b/src/merge/resources/hris/resources/bank_info/types/__init__.py @@ -7,10 +7,22 @@ if typing.TYPE_CHECKING: from .bank_info_list_request_account_type import BankInfoListRequestAccountType + from .bank_info_list_request_expand_item import BankInfoListRequestExpandItem from .bank_info_list_request_order_by import BankInfoListRequestOrderBy + from .bank_info_list_request_remote_fields import BankInfoListRequestRemoteFields + from .bank_info_list_request_show_enum_origins import BankInfoListRequestShowEnumOrigins + from .bank_info_retrieve_request_expand_item import BankInfoRetrieveRequestExpandItem + from .bank_info_retrieve_request_remote_fields import BankInfoRetrieveRequestRemoteFields + from .bank_info_retrieve_request_show_enum_origins import BankInfoRetrieveRequestShowEnumOrigins _dynamic_imports: typing.Dict[str, str] = { "BankInfoListRequestAccountType": ".bank_info_list_request_account_type", + "BankInfoListRequestExpandItem": ".bank_info_list_request_expand_item", "BankInfoListRequestOrderBy": ".bank_info_list_request_order_by", + "BankInfoListRequestRemoteFields": ".bank_info_list_request_remote_fields", + "BankInfoListRequestShowEnumOrigins": ".bank_info_list_request_show_enum_origins", + "BankInfoRetrieveRequestExpandItem": ".bank_info_retrieve_request_expand_item", + "BankInfoRetrieveRequestRemoteFields": ".bank_info_retrieve_request_remote_fields", + "BankInfoRetrieveRequestShowEnumOrigins": ".bank_info_retrieve_request_show_enum_origins", } @@ -20,8 +32,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -33,4 +47,13 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["BankInfoListRequestAccountType", "BankInfoListRequestOrderBy"] +__all__ = [ + "BankInfoListRequestAccountType", + "BankInfoListRequestExpandItem", + "BankInfoListRequestOrderBy", + "BankInfoListRequestRemoteFields", + "BankInfoListRequestShowEnumOrigins", + "BankInfoRetrieveRequestExpandItem", + "BankInfoRetrieveRequestRemoteFields", + "BankInfoRetrieveRequestShowEnumOrigins", +] diff --git a/src/merge/resources/hris/resources/bank_info/types/bank_info_list_request_expand_item.py b/src/merge/resources/hris/resources/bank_info/types/bank_info_list_request_expand_item.py new file mode 100644 index 00000000..b61977e7 --- /dev/null +++ b/src/merge/resources/hris/resources/bank_info/types/bank_info_list_request_expand_item.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class BankInfoListRequestExpandItem(str, enum.Enum): + EMPLOYEE = "employee" + + def visit(self, employee: typing.Callable[[], T_Result]) -> T_Result: + if self is BankInfoListRequestExpandItem.EMPLOYEE: + return employee() diff --git a/src/merge/resources/hris/resources/bank_info/types/bank_info_list_request_remote_fields.py b/src/merge/resources/hris/resources/bank_info/types/bank_info_list_request_remote_fields.py new file mode 100644 index 00000000..42f5f36f --- /dev/null +++ b/src/merge/resources/hris/resources/bank_info/types/bank_info_list_request_remote_fields.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class BankInfoListRequestRemoteFields(str, enum.Enum): + ACCOUNT_TYPE = "account_type" + + def visit(self, account_type: typing.Callable[[], T_Result]) -> T_Result: + if self is BankInfoListRequestRemoteFields.ACCOUNT_TYPE: + return account_type() diff --git a/src/merge/resources/hris/resources/bank_info/types/bank_info_list_request_show_enum_origins.py b/src/merge/resources/hris/resources/bank_info/types/bank_info_list_request_show_enum_origins.py new file mode 100644 index 00000000..7b805ee8 --- /dev/null +++ b/src/merge/resources/hris/resources/bank_info/types/bank_info_list_request_show_enum_origins.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class BankInfoListRequestShowEnumOrigins(str, enum.Enum): + ACCOUNT_TYPE = "account_type" + + def visit(self, account_type: typing.Callable[[], T_Result]) -> T_Result: + if self is BankInfoListRequestShowEnumOrigins.ACCOUNT_TYPE: + return account_type() diff --git a/src/merge/resources/hris/resources/bank_info/types/bank_info_retrieve_request_expand_item.py b/src/merge/resources/hris/resources/bank_info/types/bank_info_retrieve_request_expand_item.py new file mode 100644 index 00000000..62682bfc --- /dev/null +++ b/src/merge/resources/hris/resources/bank_info/types/bank_info_retrieve_request_expand_item.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class BankInfoRetrieveRequestExpandItem(str, enum.Enum): + EMPLOYEE = "employee" + + def visit(self, employee: typing.Callable[[], T_Result]) -> T_Result: + if self is BankInfoRetrieveRequestExpandItem.EMPLOYEE: + return employee() diff --git a/src/merge/resources/hris/resources/bank_info/types/bank_info_retrieve_request_remote_fields.py b/src/merge/resources/hris/resources/bank_info/types/bank_info_retrieve_request_remote_fields.py new file mode 100644 index 00000000..2973af37 --- /dev/null +++ b/src/merge/resources/hris/resources/bank_info/types/bank_info_retrieve_request_remote_fields.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class BankInfoRetrieveRequestRemoteFields(str, enum.Enum): + ACCOUNT_TYPE = "account_type" + + def visit(self, account_type: typing.Callable[[], T_Result]) -> T_Result: + if self is BankInfoRetrieveRequestRemoteFields.ACCOUNT_TYPE: + return account_type() diff --git a/src/merge/resources/hris/resources/bank_info/types/bank_info_retrieve_request_show_enum_origins.py b/src/merge/resources/hris/resources/bank_info/types/bank_info_retrieve_request_show_enum_origins.py new file mode 100644 index 00000000..b79aa978 --- /dev/null +++ b/src/merge/resources/hris/resources/bank_info/types/bank_info_retrieve_request_show_enum_origins.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class BankInfoRetrieveRequestShowEnumOrigins(str, enum.Enum): + ACCOUNT_TYPE = "account_type" + + def visit(self, account_type: typing.Callable[[], T_Result]) -> T_Result: + if self is BankInfoRetrieveRequestShowEnumOrigins.ACCOUNT_TYPE: + return account_type() diff --git a/src/merge/resources/hris/resources/benefits/__init__.py b/src/merge/resources/hris/resources/benefits/__init__.py index 5cde0202..450b1205 100644 --- a/src/merge/resources/hris/resources/benefits/__init__.py +++ b/src/merge/resources/hris/resources/benefits/__init__.py @@ -2,3 +2,36 @@ # isort: skip_file +import typing +from importlib import import_module + +if typing.TYPE_CHECKING: + from .types import BenefitsListRequestExpandItem, BenefitsRetrieveRequestExpandItem +_dynamic_imports: typing.Dict[str, str] = { + "BenefitsListRequestExpandItem": ".types", + "BenefitsRetrieveRequestExpandItem": ".types", +} + + +def __getattr__(attr_name: str) -> typing.Any: + module_name = _dynamic_imports.get(attr_name) + if module_name is None: + raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") + try: + module = import_module(module_name, __package__) + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) + except ImportError as e: + raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e + except AttributeError as e: + raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e + + +def __dir__(): + lazy_attrs = list(_dynamic_imports.keys()) + return sorted(lazy_attrs) + + +__all__ = ["BenefitsListRequestExpandItem", "BenefitsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/hris/resources/benefits/client.py b/src/merge/resources/hris/resources/benefits/client.py index 2a7380c8..c66d1306 100644 --- a/src/merge/resources/hris/resources/benefits/client.py +++ b/src/merge/resources/hris/resources/benefits/client.py @@ -4,10 +4,13 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.benefit import Benefit from ...types.paginated_benefit_list import PaginatedBenefitList from .raw_client import AsyncRawBenefitsClient, RawBenefitsClient +from .types.benefits_list_request_expand_item import BenefitsListRequestExpandItem +from .types.benefits_retrieve_request_expand_item import BenefitsRetrieveRequestExpandItem class BenefitsClient: @@ -32,7 +35,9 @@ def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, employee_id: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["employee"]] = None, + expand: typing.Optional[ + typing.Union[BenefitsListRequestExpandItem, typing.Sequence[BenefitsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -41,7 +46,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedBenefitList: + ) -> SyncPager[Benefit, PaginatedBenefitList]: """ Returns a list of `Benefit` objects. @@ -59,7 +64,7 @@ def list( employee_id : typing.Optional[str] If provided, will return the benefits associated with the employee. - expand : typing.Optional[typing.Literal["employee"]] + expand : typing.Optional[typing.Union[BenefitsListRequestExpandItem, typing.Sequence[BenefitsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -78,7 +83,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -88,42 +93,27 @@ def list( Returns ------- - PaginatedBenefitList + SyncPager[Benefit, PaginatedBenefitList] Examples -------- - import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.hris.benefits.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = client.hris.benefits.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - employee_id="employee_id", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -138,13 +128,14 @@ def list( remote_id=remote_id, request_options=request_options, ) - return _response.data def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["employee"]] = None, + expand: typing.Optional[ + typing.Union[BenefitsRetrieveRequestExpandItem, typing.Sequence[BenefitsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -156,7 +147,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["employee"]] + expand : typing.Optional[typing.Union[BenefitsRetrieveRequestExpandItem, typing.Sequence[BenefitsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -183,8 +174,6 @@ def retrieve( ) client.hris.benefits.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) """ _response = self._raw_client.retrieve( @@ -219,7 +208,9 @@ async def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, employee_id: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["employee"]] = None, + expand: typing.Optional[ + typing.Union[BenefitsListRequestExpandItem, typing.Sequence[BenefitsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -228,7 +219,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedBenefitList: + ) -> AsyncPager[Benefit, PaginatedBenefitList]: """ Returns a list of `Benefit` objects. @@ -246,7 +237,7 @@ async def list( employee_id : typing.Optional[str] If provided, will return the benefits associated with the employee. - expand : typing.Optional[typing.Literal["employee"]] + expand : typing.Optional[typing.Union[BenefitsListRequestExpandItem, typing.Sequence[BenefitsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -265,7 +256,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -275,13 +266,12 @@ async def list( Returns ------- - PaginatedBenefitList + AsyncPager[Benefit, PaginatedBenefitList] Examples -------- import asyncio - import datetime from merge import AsyncMerge @@ -292,32 +282,20 @@ async def list( async def main() -> None: - await client.hris.benefits.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = await client.hris.benefits.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - employee_id="employee_id", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -332,13 +310,14 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["employee"]] = None, + expand: typing.Optional[ + typing.Union[BenefitsRetrieveRequestExpandItem, typing.Sequence[BenefitsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -350,7 +329,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["employee"]] + expand : typing.Optional[typing.Union[BenefitsRetrieveRequestExpandItem, typing.Sequence[BenefitsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -382,8 +361,6 @@ async def retrieve( async def main() -> None: await client.hris.benefits.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) diff --git a/src/merge/resources/hris/resources/benefits/raw_client.py b/src/merge/resources/hris/resources/benefits/raw_client.py index 0a3b37cf..af1f8544 100644 --- a/src/merge/resources/hris/resources/benefits/raw_client.py +++ b/src/merge/resources/hris/resources/benefits/raw_client.py @@ -9,10 +9,13 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.benefit import Benefit from ...types.paginated_benefit_list import PaginatedBenefitList +from .types.benefits_list_request_expand_item import BenefitsListRequestExpandItem +from .types.benefits_retrieve_request_expand_item import BenefitsRetrieveRequestExpandItem class RawBenefitsClient: @@ -26,7 +29,9 @@ def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, employee_id: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["employee"]] = None, + expand: typing.Optional[ + typing.Union[BenefitsListRequestExpandItem, typing.Sequence[BenefitsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -35,7 +40,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedBenefitList]: + ) -> SyncPager[Benefit, PaginatedBenefitList]: """ Returns a list of `Benefit` objects. @@ -53,7 +58,7 @@ def list( employee_id : typing.Optional[str] If provided, will return the benefits associated with the employee. - expand : typing.Optional[typing.Literal["employee"]] + expand : typing.Optional[typing.Union[BenefitsListRequestExpandItem, typing.Sequence[BenefitsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -72,7 +77,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -82,7 +87,7 @@ def list( Returns ------- - HttpResponse[PaginatedBenefitList] + SyncPager[Benefit, PaginatedBenefitList] """ _response = self._client_wrapper.httpx_client.request( @@ -106,14 +111,32 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedBenefitList, construct_type( type_=PaginatedBenefitList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + employee_id=employee_id, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -123,7 +146,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["employee"]] = None, + expand: typing.Optional[ + typing.Union[BenefitsRetrieveRequestExpandItem, typing.Sequence[BenefitsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -135,7 +160,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["employee"]] + expand : typing.Optional[typing.Union[BenefitsRetrieveRequestExpandItem, typing.Sequence[BenefitsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -189,7 +214,9 @@ async def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, employee_id: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["employee"]] = None, + expand: typing.Optional[ + typing.Union[BenefitsListRequestExpandItem, typing.Sequence[BenefitsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -198,7 +225,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedBenefitList]: + ) -> AsyncPager[Benefit, PaginatedBenefitList]: """ Returns a list of `Benefit` objects. @@ -216,7 +243,7 @@ async def list( employee_id : typing.Optional[str] If provided, will return the benefits associated with the employee. - expand : typing.Optional[typing.Literal["employee"]] + expand : typing.Optional[typing.Union[BenefitsListRequestExpandItem, typing.Sequence[BenefitsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -235,7 +262,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -245,7 +272,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedBenefitList] + AsyncPager[Benefit, PaginatedBenefitList] """ _response = await self._client_wrapper.httpx_client.request( @@ -269,14 +296,35 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedBenefitList, construct_type( type_=PaginatedBenefitList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + employee_id=employee_id, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -286,7 +334,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["employee"]] = None, + expand: typing.Optional[ + typing.Union[BenefitsRetrieveRequestExpandItem, typing.Sequence[BenefitsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -298,7 +348,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["employee"]] + expand : typing.Optional[typing.Union[BenefitsRetrieveRequestExpandItem, typing.Sequence[BenefitsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/hris/resources/benefits/types/__init__.py b/src/merge/resources/hris/resources/benefits/types/__init__.py new file mode 100644 index 00000000..301c2910 --- /dev/null +++ b/src/merge/resources/hris/resources/benefits/types/__init__.py @@ -0,0 +1,38 @@ +# This file was auto-generated by Fern from our API Definition. + +# isort: skip_file + +import typing +from importlib import import_module + +if typing.TYPE_CHECKING: + from .benefits_list_request_expand_item import BenefitsListRequestExpandItem + from .benefits_retrieve_request_expand_item import BenefitsRetrieveRequestExpandItem +_dynamic_imports: typing.Dict[str, str] = { + "BenefitsListRequestExpandItem": ".benefits_list_request_expand_item", + "BenefitsRetrieveRequestExpandItem": ".benefits_retrieve_request_expand_item", +} + + +def __getattr__(attr_name: str) -> typing.Any: + module_name = _dynamic_imports.get(attr_name) + if module_name is None: + raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") + try: + module = import_module(module_name, __package__) + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) + except ImportError as e: + raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e + except AttributeError as e: + raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e + + +def __dir__(): + lazy_attrs = list(_dynamic_imports.keys()) + return sorted(lazy_attrs) + + +__all__ = ["BenefitsListRequestExpandItem", "BenefitsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/hris/resources/benefits/types/benefits_list_request_expand_item.py b/src/merge/resources/hris/resources/benefits/types/benefits_list_request_expand_item.py new file mode 100644 index 00000000..8adc5e4f --- /dev/null +++ b/src/merge/resources/hris/resources/benefits/types/benefits_list_request_expand_item.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class BenefitsListRequestExpandItem(str, enum.Enum): + EMPLOYEE = "employee" + + def visit(self, employee: typing.Callable[[], T_Result]) -> T_Result: + if self is BenefitsListRequestExpandItem.EMPLOYEE: + return employee() diff --git a/src/merge/resources/hris/resources/benefits/types/benefits_retrieve_request_expand_item.py b/src/merge/resources/hris/resources/benefits/types/benefits_retrieve_request_expand_item.py new file mode 100644 index 00000000..91985dd3 --- /dev/null +++ b/src/merge/resources/hris/resources/benefits/types/benefits_retrieve_request_expand_item.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class BenefitsRetrieveRequestExpandItem(str, enum.Enum): + EMPLOYEE = "employee" + + def visit(self, employee: typing.Callable[[], T_Result]) -> T_Result: + if self is BenefitsRetrieveRequestExpandItem.EMPLOYEE: + return employee() diff --git a/src/merge/resources/hris/resources/companies/client.py b/src/merge/resources/hris/resources/companies/client.py index 598582d5..fb047ac3 100644 --- a/src/merge/resources/hris/resources/companies/client.py +++ b/src/merge/resources/hris/resources/companies/client.py @@ -4,6 +4,7 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.company import Company from ...types.paginated_company_list import PaginatedCompanyList @@ -39,7 +40,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedCompanyList: + ) -> SyncPager[Company, PaginatedCompanyList]: """ Returns a list of `Company` objects. @@ -70,7 +71,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -80,41 +81,27 @@ def list( Returns ------- - PaginatedCompanyList + SyncPager[Company, PaginatedCompanyList] Examples -------- - import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.hris.companies.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = client.hris.companies.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -127,7 +114,6 @@ def list( remote_id=remote_id, request_options=request_options, ) - return _response.data def retrieve( self, @@ -168,8 +154,6 @@ def retrieve( ) client.hris.companies.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) """ _response = self._raw_client.retrieve( @@ -210,7 +194,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedCompanyList: + ) -> AsyncPager[Company, PaginatedCompanyList]: """ Returns a list of `Company` objects. @@ -241,7 +225,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -251,13 +235,12 @@ async def list( Returns ------- - PaginatedCompanyList + AsyncPager[Company, PaginatedCompanyList] Examples -------- import asyncio - import datetime from merge import AsyncMerge @@ -268,31 +251,20 @@ async def list( async def main() -> None: - await client.hris.companies.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = await client.hris.companies.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -305,7 +277,6 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def retrieve( self, @@ -351,8 +322,6 @@ async def retrieve( async def main() -> None: await client.hris.companies.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) diff --git a/src/merge/resources/hris/resources/companies/raw_client.py b/src/merge/resources/hris/resources/companies/raw_client.py index 99a8715e..4c16c5dd 100644 --- a/src/merge/resources/hris/resources/companies/raw_client.py +++ b/src/merge/resources/hris/resources/companies/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.company import Company @@ -33,7 +34,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedCompanyList]: + ) -> SyncPager[Company, PaginatedCompanyList]: """ Returns a list of `Company` objects. @@ -64,7 +65,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -74,7 +75,7 @@ def list( Returns ------- - HttpResponse[PaginatedCompanyList] + SyncPager[Company, PaginatedCompanyList] """ _response = self._client_wrapper.httpx_client.request( @@ -96,14 +97,30 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedCompanyList, construct_type( type_=PaginatedCompanyList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -181,7 +198,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedCompanyList]: + ) -> AsyncPager[Company, PaginatedCompanyList]: """ Returns a list of `Company` objects. @@ -212,7 +229,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -222,7 +239,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedCompanyList] + AsyncPager[Company, PaginatedCompanyList] """ _response = await self._client_wrapper.httpx_client.request( @@ -244,14 +261,33 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedCompanyList, construct_type( type_=PaginatedCompanyList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/hris/resources/dependents/client.py b/src/merge/resources/hris/resources/dependents/client.py index a87e7ca9..45a2ed13 100644 --- a/src/merge/resources/hris/resources/dependents/client.py +++ b/src/merge/resources/hris/resources/dependents/client.py @@ -4,6 +4,7 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.dependent import Dependent from ...types.paginated_dependent_list import PaginatedDependentList @@ -31,7 +32,6 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - employee_id: typing.Optional[str] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_sensitive_fields: typing.Optional[bool] = None, @@ -41,7 +41,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedDependentList: + ) -> SyncPager[Dependent, PaginatedDependentList]: """ Returns a list of `Dependent` objects. @@ -56,9 +56,6 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - employee_id : typing.Optional[str] - If provided, will only return dependents for this employee. - include_deleted_data : typing.Optional[bool] Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). @@ -78,7 +75,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -88,47 +85,30 @@ def list( Returns ------- - PaginatedDependentList + SyncPager[Dependent, PaginatedDependentList] Examples -------- - import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.hris.dependents.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = client.hris.dependents.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - employee_id="employee_id", - include_deleted_data=True, - include_remote_data=True, - include_sensitive_fields=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, - employee_id=employee_id, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, include_sensitive_fields=include_sensitive_fields, @@ -139,7 +119,6 @@ def list( remote_id=remote_id, request_options=request_options, ) - return _response.data def retrieve( self, @@ -184,9 +163,6 @@ def retrieve( ) client.hris.dependents.retrieve( id="id", - include_remote_data=True, - include_sensitive_fields=True, - include_shell_data=True, ) """ _response = self._raw_client.retrieve( @@ -220,7 +196,6 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - employee_id: typing.Optional[str] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_sensitive_fields: typing.Optional[bool] = None, @@ -230,7 +205,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedDependentList: + ) -> AsyncPager[Dependent, PaginatedDependentList]: """ Returns a list of `Dependent` objects. @@ -245,9 +220,6 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - employee_id : typing.Optional[str] - If provided, will only return dependents for this employee. - include_deleted_data : typing.Optional[bool] Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). @@ -267,7 +239,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -277,13 +249,12 @@ async def list( Returns ------- - PaginatedDependentList + AsyncPager[Dependent, PaginatedDependentList] Examples -------- import asyncio - import datetime from merge import AsyncMerge @@ -294,37 +265,23 @@ async def list( async def main() -> None: - await client.hris.dependents.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = await client.hris.dependents.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - employee_id="employee_id", - include_deleted_data=True, - include_remote_data=True, - include_sensitive_fields=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, - employee_id=employee_id, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, include_sensitive_fields=include_sensitive_fields, @@ -335,7 +292,6 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def retrieve( self, @@ -385,9 +341,6 @@ async def retrieve( async def main() -> None: await client.hris.dependents.retrieve( id="id", - include_remote_data=True, - include_sensitive_fields=True, - include_shell_data=True, ) diff --git a/src/merge/resources/hris/resources/dependents/raw_client.py b/src/merge/resources/hris/resources/dependents/raw_client.py index 5e9fd5ef..902c370b 100644 --- a/src/merge/resources/hris/resources/dependents/raw_client.py +++ b/src/merge/resources/hris/resources/dependents/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.dependent import Dependent @@ -25,7 +26,6 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - employee_id: typing.Optional[str] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_sensitive_fields: typing.Optional[bool] = None, @@ -35,7 +35,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedDependentList]: + ) -> SyncPager[Dependent, PaginatedDependentList]: """ Returns a list of `Dependent` objects. @@ -50,9 +50,6 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - employee_id : typing.Optional[str] - If provided, will only return dependents for this employee. - include_deleted_data : typing.Optional[bool] Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). @@ -72,7 +69,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -82,7 +79,7 @@ def list( Returns ------- - HttpResponse[PaginatedDependentList] + SyncPager[Dependent, PaginatedDependentList] """ _response = self._client_wrapper.httpx_client.request( @@ -92,7 +89,6 @@ def list( "created_after": serialize_datetime(created_after) if created_after is not None else None, "created_before": serialize_datetime(created_before) if created_before is not None else None, "cursor": cursor, - "employee_id": employee_id, "include_deleted_data": include_deleted_data, "include_remote_data": include_remote_data, "include_sensitive_fields": include_sensitive_fields, @@ -106,14 +102,31 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedDependentList, construct_type( type_=PaginatedDependentList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_sensitive_fields=include_sensitive_fields, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -188,7 +201,6 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - employee_id: typing.Optional[str] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_sensitive_fields: typing.Optional[bool] = None, @@ -198,7 +210,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedDependentList]: + ) -> AsyncPager[Dependent, PaginatedDependentList]: """ Returns a list of `Dependent` objects. @@ -213,9 +225,6 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - employee_id : typing.Optional[str] - If provided, will only return dependents for this employee. - include_deleted_data : typing.Optional[bool] Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). @@ -235,7 +244,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -245,7 +254,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedDependentList] + AsyncPager[Dependent, PaginatedDependentList] """ _response = await self._client_wrapper.httpx_client.request( @@ -255,7 +264,6 @@ async def list( "created_after": serialize_datetime(created_after) if created_after is not None else None, "created_before": serialize_datetime(created_before) if created_before is not None else None, "cursor": cursor, - "employee_id": employee_id, "include_deleted_data": include_deleted_data, "include_remote_data": include_remote_data, "include_sensitive_fields": include_sensitive_fields, @@ -269,14 +277,34 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedDependentList, construct_type( type_=PaginatedDependentList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_sensitive_fields=include_sensitive_fields, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/hris/resources/employee_payroll_runs/__init__.py b/src/merge/resources/hris/resources/employee_payroll_runs/__init__.py index 78830ea4..a8ba94af 100644 --- a/src/merge/resources/hris/resources/employee_payroll_runs/__init__.py +++ b/src/merge/resources/hris/resources/employee_payroll_runs/__init__.py @@ -6,10 +6,10 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .types import EmployeePayrollRunsListRequestExpand, EmployeePayrollRunsRetrieveRequestExpand + from .types import EmployeePayrollRunsListRequestExpandItem, EmployeePayrollRunsRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "EmployeePayrollRunsListRequestExpand": ".types", - "EmployeePayrollRunsRetrieveRequestExpand": ".types", + "EmployeePayrollRunsListRequestExpandItem": ".types", + "EmployeePayrollRunsRetrieveRequestExpandItem": ".types", } @@ -19,8 +19,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -32,4 +34,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["EmployeePayrollRunsListRequestExpand", "EmployeePayrollRunsRetrieveRequestExpand"] +__all__ = ["EmployeePayrollRunsListRequestExpandItem", "EmployeePayrollRunsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/hris/resources/employee_payroll_runs/client.py b/src/merge/resources/hris/resources/employee_payroll_runs/client.py index 8ccd63c3..464b6439 100644 --- a/src/merge/resources/hris/resources/employee_payroll_runs/client.py +++ b/src/merge/resources/hris/resources/employee_payroll_runs/client.py @@ -4,12 +4,13 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.employee_payroll_run import EmployeePayrollRun from ...types.paginated_employee_payroll_run_list import PaginatedEmployeePayrollRunList from .raw_client import AsyncRawEmployeePayrollRunsClient, RawEmployeePayrollRunsClient -from .types.employee_payroll_runs_list_request_expand import EmployeePayrollRunsListRequestExpand -from .types.employee_payroll_runs_retrieve_request_expand import EmployeePayrollRunsRetrieveRequestExpand +from .types.employee_payroll_runs_list_request_expand_item import EmployeePayrollRunsListRequestExpandItem +from .types.employee_payroll_runs_retrieve_request_expand_item import EmployeePayrollRunsRetrieveRequestExpandItem class EmployeePayrollRunsClient: @@ -36,7 +37,11 @@ def list( employee_id: typing.Optional[str] = None, ended_after: typing.Optional[dt.datetime] = None, ended_before: typing.Optional[dt.datetime] = None, - expand: typing.Optional[EmployeePayrollRunsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + EmployeePayrollRunsListRequestExpandItem, typing.Sequence[EmployeePayrollRunsListRequestExpandItem] + ] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -48,7 +53,7 @@ def list( started_after: typing.Optional[dt.datetime] = None, started_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedEmployeePayrollRunList: + ) -> SyncPager[EmployeePayrollRun, PaginatedEmployeePayrollRunList]: """ Returns a list of `EmployeePayrollRun` objects. @@ -72,7 +77,7 @@ def list( ended_before : typing.Optional[dt.datetime] If provided, will only return employee payroll runs ended before this datetime. - expand : typing.Optional[EmployeePayrollRunsListRequestExpand] + expand : typing.Optional[typing.Union[EmployeePayrollRunsListRequestExpandItem, typing.Sequence[EmployeePayrollRunsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -91,7 +96,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. payroll_run_id : typing.Optional[str] If provided, will only return employee payroll runs for this employee. @@ -110,59 +115,27 @@ def list( Returns ------- - PaginatedEmployeePayrollRunList + SyncPager[EmployeePayrollRun, PaginatedEmployeePayrollRunList] Examples -------- - import datetime - from merge import Merge - from merge.resources.hris.resources.employee_payroll_runs import ( - EmployeePayrollRunsListRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.hris.employee_payroll_runs.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = client.hris.employee_payroll_runs.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - employee_id="employee_id", - ended_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - ended_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - expand=EmployeePayrollRunsListRequestExpand.EMPLOYEE, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - payroll_run_id="payroll_run_id", - remote_id="remote_id", - started_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - started_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -182,13 +155,17 @@ def list( started_before=started_before, request_options=request_options, ) - return _response.data def retrieve( self, id: str, *, - expand: typing.Optional[EmployeePayrollRunsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + EmployeePayrollRunsRetrieveRequestExpandItem, + typing.Sequence[EmployeePayrollRunsRetrieveRequestExpandItem], + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -200,7 +177,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[EmployeePayrollRunsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[EmployeePayrollRunsRetrieveRequestExpandItem, typing.Sequence[EmployeePayrollRunsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -220,9 +197,6 @@ def retrieve( Examples -------- from merge import Merge - from merge.resources.hris.resources.employee_payroll_runs import ( - EmployeePayrollRunsRetrieveRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -230,9 +204,6 @@ def retrieve( ) client.hris.employee_payroll_runs.retrieve( id="id", - expand=EmployeePayrollRunsRetrieveRequestExpand.EMPLOYEE, - include_remote_data=True, - include_shell_data=True, ) """ _response = self._raw_client.retrieve( @@ -269,7 +240,11 @@ async def list( employee_id: typing.Optional[str] = None, ended_after: typing.Optional[dt.datetime] = None, ended_before: typing.Optional[dt.datetime] = None, - expand: typing.Optional[EmployeePayrollRunsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + EmployeePayrollRunsListRequestExpandItem, typing.Sequence[EmployeePayrollRunsListRequestExpandItem] + ] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -281,7 +256,7 @@ async def list( started_after: typing.Optional[dt.datetime] = None, started_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedEmployeePayrollRunList: + ) -> AsyncPager[EmployeePayrollRun, PaginatedEmployeePayrollRunList]: """ Returns a list of `EmployeePayrollRun` objects. @@ -305,7 +280,7 @@ async def list( ended_before : typing.Optional[dt.datetime] If provided, will only return employee payroll runs ended before this datetime. - expand : typing.Optional[EmployeePayrollRunsListRequestExpand] + expand : typing.Optional[typing.Union[EmployeePayrollRunsListRequestExpandItem, typing.Sequence[EmployeePayrollRunsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -324,7 +299,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. payroll_run_id : typing.Optional[str] If provided, will only return employee payroll runs for this employee. @@ -343,18 +318,14 @@ async def list( Returns ------- - PaginatedEmployeePayrollRunList + AsyncPager[EmployeePayrollRun, PaginatedEmployeePayrollRunList] Examples -------- import asyncio - import datetime from merge import AsyncMerge - from merge.resources.hris.resources.employee_payroll_runs import ( - EmployeePayrollRunsListRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -363,46 +334,20 @@ async def list( async def main() -> None: - await client.hris.employee_payroll_runs.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = await client.hris.employee_payroll_runs.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - employee_id="employee_id", - ended_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - ended_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - expand=EmployeePayrollRunsListRequestExpand.EMPLOYEE, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - payroll_run_id="payroll_run_id", - remote_id="remote_id", - started_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - started_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -422,13 +367,17 @@ async def main() -> None: started_before=started_before, request_options=request_options, ) - return _response.data async def retrieve( self, id: str, *, - expand: typing.Optional[EmployeePayrollRunsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + EmployeePayrollRunsRetrieveRequestExpandItem, + typing.Sequence[EmployeePayrollRunsRetrieveRequestExpandItem], + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -440,7 +389,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[EmployeePayrollRunsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[EmployeePayrollRunsRetrieveRequestExpandItem, typing.Sequence[EmployeePayrollRunsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -462,9 +411,6 @@ async def retrieve( import asyncio from merge import AsyncMerge - from merge.resources.hris.resources.employee_payroll_runs import ( - EmployeePayrollRunsRetrieveRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -475,9 +421,6 @@ async def retrieve( async def main() -> None: await client.hris.employee_payroll_runs.retrieve( id="id", - expand=EmployeePayrollRunsRetrieveRequestExpand.EMPLOYEE, - include_remote_data=True, - include_shell_data=True, ) diff --git a/src/merge/resources/hris/resources/employee_payroll_runs/raw_client.py b/src/merge/resources/hris/resources/employee_payroll_runs/raw_client.py index a9280452..80d77f86 100644 --- a/src/merge/resources/hris/resources/employee_payroll_runs/raw_client.py +++ b/src/merge/resources/hris/resources/employee_payroll_runs/raw_client.py @@ -9,12 +9,13 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.employee_payroll_run import EmployeePayrollRun from ...types.paginated_employee_payroll_run_list import PaginatedEmployeePayrollRunList -from .types.employee_payroll_runs_list_request_expand import EmployeePayrollRunsListRequestExpand -from .types.employee_payroll_runs_retrieve_request_expand import EmployeePayrollRunsRetrieveRequestExpand +from .types.employee_payroll_runs_list_request_expand_item import EmployeePayrollRunsListRequestExpandItem +from .types.employee_payroll_runs_retrieve_request_expand_item import EmployeePayrollRunsRetrieveRequestExpandItem class RawEmployeePayrollRunsClient: @@ -30,7 +31,11 @@ def list( employee_id: typing.Optional[str] = None, ended_after: typing.Optional[dt.datetime] = None, ended_before: typing.Optional[dt.datetime] = None, - expand: typing.Optional[EmployeePayrollRunsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + EmployeePayrollRunsListRequestExpandItem, typing.Sequence[EmployeePayrollRunsListRequestExpandItem] + ] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -42,7 +47,7 @@ def list( started_after: typing.Optional[dt.datetime] = None, started_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedEmployeePayrollRunList]: + ) -> SyncPager[EmployeePayrollRun, PaginatedEmployeePayrollRunList]: """ Returns a list of `EmployeePayrollRun` objects. @@ -66,7 +71,7 @@ def list( ended_before : typing.Optional[dt.datetime] If provided, will only return employee payroll runs ended before this datetime. - expand : typing.Optional[EmployeePayrollRunsListRequestExpand] + expand : typing.Optional[typing.Union[EmployeePayrollRunsListRequestExpandItem, typing.Sequence[EmployeePayrollRunsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -85,7 +90,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. payroll_run_id : typing.Optional[str] If provided, will only return employee payroll runs for this employee. @@ -104,7 +109,7 @@ def list( Returns ------- - HttpResponse[PaginatedEmployeePayrollRunList] + SyncPager[EmployeePayrollRun, PaginatedEmployeePayrollRunList] """ _response = self._client_wrapper.httpx_client.request( @@ -133,14 +138,37 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedEmployeePayrollRunList, construct_type( type_=PaginatedEmployeePayrollRunList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + employee_id=employee_id, + ended_after=ended_after, + ended_before=ended_before, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + payroll_run_id=payroll_run_id, + remote_id=remote_id, + started_after=started_after, + started_before=started_before, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -150,7 +178,12 @@ def retrieve( self, id: str, *, - expand: typing.Optional[EmployeePayrollRunsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + EmployeePayrollRunsRetrieveRequestExpandItem, + typing.Sequence[EmployeePayrollRunsRetrieveRequestExpandItem], + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -162,7 +195,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[EmployeePayrollRunsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[EmployeePayrollRunsRetrieveRequestExpandItem, typing.Sequence[EmployeePayrollRunsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -218,7 +251,11 @@ async def list( employee_id: typing.Optional[str] = None, ended_after: typing.Optional[dt.datetime] = None, ended_before: typing.Optional[dt.datetime] = None, - expand: typing.Optional[EmployeePayrollRunsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + EmployeePayrollRunsListRequestExpandItem, typing.Sequence[EmployeePayrollRunsListRequestExpandItem] + ] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -230,7 +267,7 @@ async def list( started_after: typing.Optional[dt.datetime] = None, started_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedEmployeePayrollRunList]: + ) -> AsyncPager[EmployeePayrollRun, PaginatedEmployeePayrollRunList]: """ Returns a list of `EmployeePayrollRun` objects. @@ -254,7 +291,7 @@ async def list( ended_before : typing.Optional[dt.datetime] If provided, will only return employee payroll runs ended before this datetime. - expand : typing.Optional[EmployeePayrollRunsListRequestExpand] + expand : typing.Optional[typing.Union[EmployeePayrollRunsListRequestExpandItem, typing.Sequence[EmployeePayrollRunsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -273,7 +310,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. payroll_run_id : typing.Optional[str] If provided, will only return employee payroll runs for this employee. @@ -292,7 +329,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedEmployeePayrollRunList] + AsyncPager[EmployeePayrollRun, PaginatedEmployeePayrollRunList] """ _response = await self._client_wrapper.httpx_client.request( @@ -321,14 +358,40 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedEmployeePayrollRunList, construct_type( type_=PaginatedEmployeePayrollRunList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + employee_id=employee_id, + ended_after=ended_after, + ended_before=ended_before, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + payroll_run_id=payroll_run_id, + remote_id=remote_id, + started_after=started_after, + started_before=started_before, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -338,7 +401,12 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[EmployeePayrollRunsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + EmployeePayrollRunsRetrieveRequestExpandItem, + typing.Sequence[EmployeePayrollRunsRetrieveRequestExpandItem], + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -350,7 +418,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[EmployeePayrollRunsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[EmployeePayrollRunsRetrieveRequestExpandItem, typing.Sequence[EmployeePayrollRunsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/hris/resources/employee_payroll_runs/types/__init__.py b/src/merge/resources/hris/resources/employee_payroll_runs/types/__init__.py index 49a39c9e..c552777a 100644 --- a/src/merge/resources/hris/resources/employee_payroll_runs/types/__init__.py +++ b/src/merge/resources/hris/resources/employee_payroll_runs/types/__init__.py @@ -6,11 +6,11 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .employee_payroll_runs_list_request_expand import EmployeePayrollRunsListRequestExpand - from .employee_payroll_runs_retrieve_request_expand import EmployeePayrollRunsRetrieveRequestExpand + from .employee_payroll_runs_list_request_expand_item import EmployeePayrollRunsListRequestExpandItem + from .employee_payroll_runs_retrieve_request_expand_item import EmployeePayrollRunsRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "EmployeePayrollRunsListRequestExpand": ".employee_payroll_runs_list_request_expand", - "EmployeePayrollRunsRetrieveRequestExpand": ".employee_payroll_runs_retrieve_request_expand", + "EmployeePayrollRunsListRequestExpandItem": ".employee_payroll_runs_list_request_expand_item", + "EmployeePayrollRunsRetrieveRequestExpandItem": ".employee_payroll_runs_retrieve_request_expand_item", } @@ -20,8 +20,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -33,4 +35,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["EmployeePayrollRunsListRequestExpand", "EmployeePayrollRunsRetrieveRequestExpand"] +__all__ = ["EmployeePayrollRunsListRequestExpandItem", "EmployeePayrollRunsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/hris/resources/employee_payroll_runs/types/employee_payroll_runs_list_request_expand.py b/src/merge/resources/hris/resources/employee_payroll_runs/types/employee_payroll_runs_list_request_expand.py deleted file mode 100644 index 8726143e..00000000 --- a/src/merge/resources/hris/resources/employee_payroll_runs/types/employee_payroll_runs_list_request_expand.py +++ /dev/null @@ -1,25 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class EmployeePayrollRunsListRequestExpand(str, enum.Enum): - EMPLOYEE = "employee" - EMPLOYEE_PAYROLL_RUN = "employee,payroll_run" - PAYROLL_RUN = "payroll_run" - - def visit( - self, - employee: typing.Callable[[], T_Result], - employee_payroll_run: typing.Callable[[], T_Result], - payroll_run: typing.Callable[[], T_Result], - ) -> T_Result: - if self is EmployeePayrollRunsListRequestExpand.EMPLOYEE: - return employee() - if self is EmployeePayrollRunsListRequestExpand.EMPLOYEE_PAYROLL_RUN: - return employee_payroll_run() - if self is EmployeePayrollRunsListRequestExpand.PAYROLL_RUN: - return payroll_run() diff --git a/src/merge/resources/hris/resources/employee_payroll_runs/types/employee_payroll_runs_list_request_expand_item.py b/src/merge/resources/hris/resources/employee_payroll_runs/types/employee_payroll_runs_list_request_expand_item.py new file mode 100644 index 00000000..ae6c0cb6 --- /dev/null +++ b/src/merge/resources/hris/resources/employee_payroll_runs/types/employee_payroll_runs_list_request_expand_item.py @@ -0,0 +1,17 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class EmployeePayrollRunsListRequestExpandItem(str, enum.Enum): + EMPLOYEE = "employee" + PAYROLL_RUN = "payroll_run" + + def visit(self, employee: typing.Callable[[], T_Result], payroll_run: typing.Callable[[], T_Result]) -> T_Result: + if self is EmployeePayrollRunsListRequestExpandItem.EMPLOYEE: + return employee() + if self is EmployeePayrollRunsListRequestExpandItem.PAYROLL_RUN: + return payroll_run() diff --git a/src/merge/resources/hris/resources/employee_payroll_runs/types/employee_payroll_runs_retrieve_request_expand.py b/src/merge/resources/hris/resources/employee_payroll_runs/types/employee_payroll_runs_retrieve_request_expand.py deleted file mode 100644 index 683296ac..00000000 --- a/src/merge/resources/hris/resources/employee_payroll_runs/types/employee_payroll_runs_retrieve_request_expand.py +++ /dev/null @@ -1,25 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class EmployeePayrollRunsRetrieveRequestExpand(str, enum.Enum): - EMPLOYEE = "employee" - EMPLOYEE_PAYROLL_RUN = "employee,payroll_run" - PAYROLL_RUN = "payroll_run" - - def visit( - self, - employee: typing.Callable[[], T_Result], - employee_payroll_run: typing.Callable[[], T_Result], - payroll_run: typing.Callable[[], T_Result], - ) -> T_Result: - if self is EmployeePayrollRunsRetrieveRequestExpand.EMPLOYEE: - return employee() - if self is EmployeePayrollRunsRetrieveRequestExpand.EMPLOYEE_PAYROLL_RUN: - return employee_payroll_run() - if self is EmployeePayrollRunsRetrieveRequestExpand.PAYROLL_RUN: - return payroll_run() diff --git a/src/merge/resources/hris/resources/employee_payroll_runs/types/employee_payroll_runs_retrieve_request_expand_item.py b/src/merge/resources/hris/resources/employee_payroll_runs/types/employee_payroll_runs_retrieve_request_expand_item.py new file mode 100644 index 00000000..9af1e8b8 --- /dev/null +++ b/src/merge/resources/hris/resources/employee_payroll_runs/types/employee_payroll_runs_retrieve_request_expand_item.py @@ -0,0 +1,17 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class EmployeePayrollRunsRetrieveRequestExpandItem(str, enum.Enum): + EMPLOYEE = "employee" + PAYROLL_RUN = "payroll_run" + + def visit(self, employee: typing.Callable[[], T_Result], payroll_run: typing.Callable[[], T_Result]) -> T_Result: + if self is EmployeePayrollRunsRetrieveRequestExpandItem.EMPLOYEE: + return employee() + if self is EmployeePayrollRunsRetrieveRequestExpandItem.PAYROLL_RUN: + return payroll_run() diff --git a/src/merge/resources/hris/resources/employees/__init__.py b/src/merge/resources/hris/resources/employees/__init__.py index a9ee99e6..988b9ba5 100644 --- a/src/merge/resources/hris/resources/employees/__init__.py +++ b/src/merge/resources/hris/resources/employees/__init__.py @@ -8,23 +8,21 @@ if typing.TYPE_CHECKING: from .types import ( EmployeesListRequestEmploymentStatus, - EmployeesListRequestExpand, + EmployeesListRequestExpandItem, EmployeesListRequestRemoteFields, EmployeesListRequestShowEnumOrigins, - EmployeesRetrieveRequestExpand, + EmployeesRetrieveRequestExpandItem, EmployeesRetrieveRequestRemoteFields, EmployeesRetrieveRequestShowEnumOrigins, - IgnoreCommonModelRequestReason, ) _dynamic_imports: typing.Dict[str, str] = { "EmployeesListRequestEmploymentStatus": ".types", - "EmployeesListRequestExpand": ".types", + "EmployeesListRequestExpandItem": ".types", "EmployeesListRequestRemoteFields": ".types", "EmployeesListRequestShowEnumOrigins": ".types", - "EmployeesRetrieveRequestExpand": ".types", + "EmployeesRetrieveRequestExpandItem": ".types", "EmployeesRetrieveRequestRemoteFields": ".types", "EmployeesRetrieveRequestShowEnumOrigins": ".types", - "IgnoreCommonModelRequestReason": ".types", } @@ -34,8 +32,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -49,11 +49,10 @@ def __dir__(): __all__ = [ "EmployeesListRequestEmploymentStatus", - "EmployeesListRequestExpand", + "EmployeesListRequestExpandItem", "EmployeesListRequestRemoteFields", "EmployeesListRequestShowEnumOrigins", - "EmployeesRetrieveRequestExpand", + "EmployeesRetrieveRequestExpandItem", "EmployeesRetrieveRequestRemoteFields", "EmployeesRetrieveRequestShowEnumOrigins", - "IgnoreCommonModelRequestReason", ] diff --git a/src/merge/resources/hris/resources/employees/client.py b/src/merge/resources/hris/resources/employees/client.py index 6f1b7fee..1492559a 100644 --- a/src/merge/resources/hris/resources/employees/client.py +++ b/src/merge/resources/hris/resources/employees/client.py @@ -4,21 +4,22 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.employee import Employee from ...types.employee_request import EmployeeRequest from ...types.employee_response import EmployeeResponse +from ...types.ignore_common_model_request import IgnoreCommonModelRequest from ...types.meta_response import MetaResponse from ...types.paginated_employee_list import PaginatedEmployeeList from .raw_client import AsyncRawEmployeesClient, RawEmployeesClient from .types.employees_list_request_employment_status import EmployeesListRequestEmploymentStatus -from .types.employees_list_request_expand import EmployeesListRequestExpand +from .types.employees_list_request_expand_item import EmployeesListRequestExpandItem from .types.employees_list_request_remote_fields import EmployeesListRequestRemoteFields from .types.employees_list_request_show_enum_origins import EmployeesListRequestShowEnumOrigins -from .types.employees_retrieve_request_expand import EmployeesRetrieveRequestExpand +from .types.employees_retrieve_request_expand_item import EmployeesRetrieveRequestExpandItem from .types.employees_retrieve_request_remote_fields import EmployeesRetrieveRequestRemoteFields from .types.employees_retrieve_request_show_enum_origins import EmployeesRetrieveRequestShowEnumOrigins -from .types.ignore_common_model_request_reason import IgnoreCommonModelRequestReason # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -47,10 +48,11 @@ def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, display_full_name: typing.Optional[str] = None, - employee_number: typing.Optional[str] = None, employment_status: typing.Optional[EmployeesListRequestEmploymentStatus] = None, employment_type: typing.Optional[str] = None, - expand: typing.Optional[EmployeesListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[EmployeesListRequestExpandItem, typing.Sequence[EmployeesListRequestExpandItem]] + ] = None, first_name: typing.Optional[str] = None, groups: typing.Optional[str] = None, home_location_id: typing.Optional[str] = None, @@ -77,7 +79,7 @@ def list( work_email: typing.Optional[str] = None, work_location_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedEmployeeList: + ) -> SyncPager[Employee, PaginatedEmployeeList]: """ Returns a list of `Employee` objects. @@ -98,9 +100,6 @@ def list( display_full_name : typing.Optional[str] If provided, will only return employees with this display name. - employee_number : typing.Optional[str] - If provided, will only return employees with this employee number. - employment_status : typing.Optional[EmployeesListRequestEmploymentStatus] If provided, will only return employees with this employment status. @@ -109,9 +108,9 @@ def list( * `INACTIVE` - INACTIVE employment_type : typing.Optional[str] - If provided, will only return employees that have an employment of the specified employment type. + If provided, will only return employees that have an employment of the specified employment_type. - expand : typing.Optional[EmployeesListRequestExpand] + expand : typing.Optional[typing.Union[EmployeesListRequestExpandItem, typing.Sequence[EmployeesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. first_name : typing.Optional[str] @@ -136,7 +135,7 @@ def list( Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). job_title : typing.Optional[str] - If provided, will only return employees that have an employment of the specified job title. + If provided, will only return employees that have an employment of the specified job_title. last_name : typing.Optional[str] If provided, will only return employees with this last name. @@ -194,85 +193,32 @@ def list( Returns ------- - PaginatedEmployeeList + SyncPager[Employee, PaginatedEmployeeList] Examples -------- - import datetime - from merge import Merge - from merge.resources.hris.resources.employees import ( - EmployeesListRequestEmploymentStatus, - EmployeesListRequestExpand, - EmployeesListRequestRemoteFields, - EmployeesListRequestShowEnumOrigins, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.hris.employees.list( - company_id="company_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = client.hris.employees.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - display_full_name="display_full_name", - employee_number="employee_number", - employment_status=EmployeesListRequestEmploymentStatus.ACTIVE, - employment_type="employment_type", - expand=EmployeesListRequestExpand.COMPANY, - first_name="first_name", - groups="groups", - home_location_id="home_location_id", - include_deleted_data=True, - include_remote_data=True, - include_sensitive_fields=True, - include_shell_data=True, - job_title="job_title", - last_name="last_name", - manager_id="manager_id", - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - pay_group_id="pay_group_id", - personal_email="personal_email", - remote_fields=EmployeesListRequestRemoteFields.EMPLOYMENT_STATUS, - remote_id="remote_id", - show_enum_origins=EmployeesListRequestShowEnumOrigins.EMPLOYMENT_STATUS, - started_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - started_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - team_id="team_id", - terminated_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - terminated_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - work_email="work_email", - work_location_id="work_location_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, cursor=cursor, display_full_name=display_full_name, - employee_number=employee_number, employment_status=employment_status, employment_type=employment_type, expand=expand, @@ -303,7 +249,6 @@ def list( work_location_id=work_location_id, request_options=request_options, ) - return _response.data def create( self, @@ -344,8 +289,6 @@ def create( api_key="YOUR_API_KEY", ) client.hris.employees.create( - is_debug_mode=True, - run_async=True, model=EmployeeRequest(), ) """ @@ -358,7 +301,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[EmployeesRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[EmployeesRetrieveRequestExpandItem, typing.Sequence[EmployeesRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_sensitive_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -373,7 +318,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[EmployeesRetrieveRequestExpand] + expand : typing.Optional[typing.Union[EmployeesRetrieveRequestExpandItem, typing.Sequence[EmployeesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -402,11 +347,6 @@ def retrieve( Examples -------- from merge import Merge - from merge.resources.hris.resources.employees import ( - EmployeesRetrieveRequestExpand, - EmployeesRetrieveRequestRemoteFields, - EmployeesRetrieveRequestShowEnumOrigins, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -414,12 +354,6 @@ def retrieve( ) client.hris.employees.retrieve( id="id", - expand=EmployeesRetrieveRequestExpand.COMPANY, - include_remote_data=True, - include_sensitive_fields=True, - include_shell_data=True, - remote_fields=EmployeesRetrieveRequestRemoteFields.EMPLOYMENT_STATUS, - show_enum_origins=EmployeesRetrieveRequestShowEnumOrigins.EMPLOYMENT_STATUS, ) """ _response = self._raw_client.retrieve( @@ -438,8 +372,7 @@ def ignore_create( self, model_id: str, *, - reason: IgnoreCommonModelRequestReason, - message: typing.Optional[str] = OMIT, + request: IgnoreCommonModelRequest, request_options: typing.Optional[RequestOptions] = None, ) -> None: """ @@ -449,9 +382,7 @@ def ignore_create( ---------- model_id : str - reason : IgnoreCommonModelRequestReason - - message : typing.Optional[str] + request : IgnoreCommonModelRequest request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -463,7 +394,7 @@ def ignore_create( Examples -------- from merge import Merge - from merge.resources.hris import ReasonEnum + from merge.resources.hris import IgnoreCommonModelRequest, ReasonEnum client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -471,12 +402,12 @@ def ignore_create( ) client.hris.employees.ignore_create( model_id="model_id", - reason=ReasonEnum.GENERAL_CUSTOMER_REQUEST, + request=IgnoreCommonModelRequest( + reason=ReasonEnum.GENERAL_CUSTOMER_REQUEST, + ), ) """ - _response = self._raw_client.ignore_create( - model_id, reason=reason, message=message, request_options=request_options - ) + _response = self._raw_client.ignore_create(model_id, request=request, request_options=request_options) return _response.data def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: @@ -530,10 +461,11 @@ async def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, display_full_name: typing.Optional[str] = None, - employee_number: typing.Optional[str] = None, employment_status: typing.Optional[EmployeesListRequestEmploymentStatus] = None, employment_type: typing.Optional[str] = None, - expand: typing.Optional[EmployeesListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[EmployeesListRequestExpandItem, typing.Sequence[EmployeesListRequestExpandItem]] + ] = None, first_name: typing.Optional[str] = None, groups: typing.Optional[str] = None, home_location_id: typing.Optional[str] = None, @@ -560,7 +492,7 @@ async def list( work_email: typing.Optional[str] = None, work_location_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedEmployeeList: + ) -> AsyncPager[Employee, PaginatedEmployeeList]: """ Returns a list of `Employee` objects. @@ -581,9 +513,6 @@ async def list( display_full_name : typing.Optional[str] If provided, will only return employees with this display name. - employee_number : typing.Optional[str] - If provided, will only return employees with this employee number. - employment_status : typing.Optional[EmployeesListRequestEmploymentStatus] If provided, will only return employees with this employment status. @@ -592,9 +521,9 @@ async def list( * `INACTIVE` - INACTIVE employment_type : typing.Optional[str] - If provided, will only return employees that have an employment of the specified employment type. + If provided, will only return employees that have an employment of the specified employment_type. - expand : typing.Optional[EmployeesListRequestExpand] + expand : typing.Optional[typing.Union[EmployeesListRequestExpandItem, typing.Sequence[EmployeesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. first_name : typing.Optional[str] @@ -619,7 +548,7 @@ async def list( Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). job_title : typing.Optional[str] - If provided, will only return employees that have an employment of the specified job title. + If provided, will only return employees that have an employment of the specified job_title. last_name : typing.Optional[str] If provided, will only return employees with this last name. @@ -677,21 +606,14 @@ async def list( Returns ------- - PaginatedEmployeeList + AsyncPager[Employee, PaginatedEmployeeList] Examples -------- import asyncio - import datetime from merge import AsyncMerge - from merge.resources.hris.resources.employees import ( - EmployeesListRequestEmploymentStatus, - EmployeesListRequestExpand, - EmployeesListRequestRemoteFields, - EmployeesListRequestShowEnumOrigins, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -700,69 +622,25 @@ async def list( async def main() -> None: - await client.hris.employees.list( - company_id="company_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = await client.hris.employees.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - display_full_name="display_full_name", - employee_number="employee_number", - employment_status=EmployeesListRequestEmploymentStatus.ACTIVE, - employment_type="employment_type", - expand=EmployeesListRequestExpand.COMPANY, - first_name="first_name", - groups="groups", - home_location_id="home_location_id", - include_deleted_data=True, - include_remote_data=True, - include_sensitive_fields=True, - include_shell_data=True, - job_title="job_title", - last_name="last_name", - manager_id="manager_id", - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - pay_group_id="pay_group_id", - personal_email="personal_email", - remote_fields=EmployeesListRequestRemoteFields.EMPLOYMENT_STATUS, - remote_id="remote_id", - show_enum_origins=EmployeesListRequestShowEnumOrigins.EMPLOYMENT_STATUS, - started_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - started_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - team_id="team_id", - terminated_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - terminated_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - work_email="work_email", - work_location_id="work_location_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, cursor=cursor, display_full_name=display_full_name, - employee_number=employee_number, employment_status=employment_status, employment_type=employment_type, expand=expand, @@ -793,7 +671,6 @@ async def main() -> None: work_location_id=work_location_id, request_options=request_options, ) - return _response.data async def create( self, @@ -839,8 +716,6 @@ async def create( async def main() -> None: await client.hris.employees.create( - is_debug_mode=True, - run_async=True, model=EmployeeRequest(), ) @@ -856,7 +731,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[EmployeesRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[EmployeesRetrieveRequestExpandItem, typing.Sequence[EmployeesRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_sensitive_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -871,7 +748,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[EmployeesRetrieveRequestExpand] + expand : typing.Optional[typing.Union[EmployeesRetrieveRequestExpandItem, typing.Sequence[EmployeesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -902,11 +779,6 @@ async def retrieve( import asyncio from merge import AsyncMerge - from merge.resources.hris.resources.employees import ( - EmployeesRetrieveRequestExpand, - EmployeesRetrieveRequestRemoteFields, - EmployeesRetrieveRequestShowEnumOrigins, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -917,12 +789,6 @@ async def retrieve( async def main() -> None: await client.hris.employees.retrieve( id="id", - expand=EmployeesRetrieveRequestExpand.COMPANY, - include_remote_data=True, - include_sensitive_fields=True, - include_shell_data=True, - remote_fields=EmployeesRetrieveRequestRemoteFields.EMPLOYMENT_STATUS, - show_enum_origins=EmployeesRetrieveRequestShowEnumOrigins.EMPLOYMENT_STATUS, ) @@ -944,8 +810,7 @@ async def ignore_create( self, model_id: str, *, - reason: IgnoreCommonModelRequestReason, - message: typing.Optional[str] = OMIT, + request: IgnoreCommonModelRequest, request_options: typing.Optional[RequestOptions] = None, ) -> None: """ @@ -955,9 +820,7 @@ async def ignore_create( ---------- model_id : str - reason : IgnoreCommonModelRequestReason - - message : typing.Optional[str] + request : IgnoreCommonModelRequest request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -971,7 +834,7 @@ async def ignore_create( import asyncio from merge import AsyncMerge - from merge.resources.hris import ReasonEnum + from merge.resources.hris import IgnoreCommonModelRequest, ReasonEnum client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -982,15 +845,15 @@ async def ignore_create( async def main() -> None: await client.hris.employees.ignore_create( model_id="model_id", - reason=ReasonEnum.GENERAL_CUSTOMER_REQUEST, + request=IgnoreCommonModelRequest( + reason=ReasonEnum.GENERAL_CUSTOMER_REQUEST, + ), ) asyncio.run(main()) """ - _response = await self._raw_client.ignore_create( - model_id, reason=reason, message=message, request_options=request_options - ) + _response = await self._raw_client.ignore_create(model_id, request=request, request_options=request_options) return _response.data async def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: diff --git a/src/merge/resources/hris/resources/employees/raw_client.py b/src/merge/resources/hris/resources/employees/raw_client.py index 96b80f82..6ebef791 100644 --- a/src/merge/resources/hris/resources/employees/raw_client.py +++ b/src/merge/resources/hris/resources/employees/raw_client.py @@ -9,21 +9,22 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.employee import Employee from ...types.employee_request import EmployeeRequest from ...types.employee_response import EmployeeResponse +from ...types.ignore_common_model_request import IgnoreCommonModelRequest from ...types.meta_response import MetaResponse from ...types.paginated_employee_list import PaginatedEmployeeList from .types.employees_list_request_employment_status import EmployeesListRequestEmploymentStatus -from .types.employees_list_request_expand import EmployeesListRequestExpand +from .types.employees_list_request_expand_item import EmployeesListRequestExpandItem from .types.employees_list_request_remote_fields import EmployeesListRequestRemoteFields from .types.employees_list_request_show_enum_origins import EmployeesListRequestShowEnumOrigins -from .types.employees_retrieve_request_expand import EmployeesRetrieveRequestExpand +from .types.employees_retrieve_request_expand_item import EmployeesRetrieveRequestExpandItem from .types.employees_retrieve_request_remote_fields import EmployeesRetrieveRequestRemoteFields from .types.employees_retrieve_request_show_enum_origins import EmployeesRetrieveRequestShowEnumOrigins -from .types.ignore_common_model_request_reason import IgnoreCommonModelRequestReason # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -41,10 +42,11 @@ def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, display_full_name: typing.Optional[str] = None, - employee_number: typing.Optional[str] = None, employment_status: typing.Optional[EmployeesListRequestEmploymentStatus] = None, employment_type: typing.Optional[str] = None, - expand: typing.Optional[EmployeesListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[EmployeesListRequestExpandItem, typing.Sequence[EmployeesListRequestExpandItem]] + ] = None, first_name: typing.Optional[str] = None, groups: typing.Optional[str] = None, home_location_id: typing.Optional[str] = None, @@ -71,7 +73,7 @@ def list( work_email: typing.Optional[str] = None, work_location_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedEmployeeList]: + ) -> SyncPager[Employee, PaginatedEmployeeList]: """ Returns a list of `Employee` objects. @@ -92,9 +94,6 @@ def list( display_full_name : typing.Optional[str] If provided, will only return employees with this display name. - employee_number : typing.Optional[str] - If provided, will only return employees with this employee number. - employment_status : typing.Optional[EmployeesListRequestEmploymentStatus] If provided, will only return employees with this employment status. @@ -103,9 +102,9 @@ def list( * `INACTIVE` - INACTIVE employment_type : typing.Optional[str] - If provided, will only return employees that have an employment of the specified employment type. + If provided, will only return employees that have an employment of the specified employment_type. - expand : typing.Optional[EmployeesListRequestExpand] + expand : typing.Optional[typing.Union[EmployeesListRequestExpandItem, typing.Sequence[EmployeesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. first_name : typing.Optional[str] @@ -130,7 +129,7 @@ def list( Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). job_title : typing.Optional[str] - If provided, will only return employees that have an employment of the specified job title. + If provided, will only return employees that have an employment of the specified job_title. last_name : typing.Optional[str] If provided, will only return employees with this last name. @@ -188,7 +187,7 @@ def list( Returns ------- - HttpResponse[PaginatedEmployeeList] + SyncPager[Employee, PaginatedEmployeeList] """ _response = self._client_wrapper.httpx_client.request( @@ -200,7 +199,6 @@ def list( "created_before": serialize_datetime(created_before) if created_before is not None else None, "cursor": cursor, "display_full_name": display_full_name, - "employee_number": employee_number, "employment_status": employment_status, "employment_type": employment_type, "expand": expand, @@ -234,14 +232,53 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedEmployeeList, construct_type( type_=PaginatedEmployeeList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + display_full_name=display_full_name, + employment_status=employment_status, + employment_type=employment_type, + expand=expand, + first_name=first_name, + groups=groups, + home_location_id=home_location_id, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_sensitive_fields=include_sensitive_fields, + include_shell_data=include_shell_data, + job_title=job_title, + last_name=last_name, + manager_id=manager_id, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + pay_group_id=pay_group_id, + personal_email=personal_email, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + started_after=started_after, + started_before=started_before, + team_id=team_id, + terminated_after=terminated_after, + terminated_before=terminated_before, + work_email=work_email, + work_location_id=work_location_id, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -311,7 +348,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[EmployeesRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[EmployeesRetrieveRequestExpandItem, typing.Sequence[EmployeesRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_sensitive_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -326,7 +365,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[EmployeesRetrieveRequestExpand] + expand : typing.Optional[typing.Union[EmployeesRetrieveRequestExpandItem, typing.Sequence[EmployeesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -384,8 +423,7 @@ def ignore_create( self, model_id: str, *, - reason: IgnoreCommonModelRequestReason, - message: typing.Optional[str] = OMIT, + request: IgnoreCommonModelRequest, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[None]: """ @@ -395,9 +433,7 @@ def ignore_create( ---------- model_id : str - reason : IgnoreCommonModelRequestReason - - message : typing.Optional[str] + request : IgnoreCommonModelRequest request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -409,10 +445,7 @@ def ignore_create( _response = self._client_wrapper.httpx_client.request( f"hris/v1/employees/ignore/{jsonable_encoder(model_id)}", method="POST", - json={ - "reason": reason, - "message": message, - }, + json=request, headers={ "content-type": "application/json", }, @@ -476,10 +509,11 @@ async def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, display_full_name: typing.Optional[str] = None, - employee_number: typing.Optional[str] = None, employment_status: typing.Optional[EmployeesListRequestEmploymentStatus] = None, employment_type: typing.Optional[str] = None, - expand: typing.Optional[EmployeesListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[EmployeesListRequestExpandItem, typing.Sequence[EmployeesListRequestExpandItem]] + ] = None, first_name: typing.Optional[str] = None, groups: typing.Optional[str] = None, home_location_id: typing.Optional[str] = None, @@ -506,7 +540,7 @@ async def list( work_email: typing.Optional[str] = None, work_location_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedEmployeeList]: + ) -> AsyncPager[Employee, PaginatedEmployeeList]: """ Returns a list of `Employee` objects. @@ -527,9 +561,6 @@ async def list( display_full_name : typing.Optional[str] If provided, will only return employees with this display name. - employee_number : typing.Optional[str] - If provided, will only return employees with this employee number. - employment_status : typing.Optional[EmployeesListRequestEmploymentStatus] If provided, will only return employees with this employment status. @@ -538,9 +569,9 @@ async def list( * `INACTIVE` - INACTIVE employment_type : typing.Optional[str] - If provided, will only return employees that have an employment of the specified employment type. + If provided, will only return employees that have an employment of the specified employment_type. - expand : typing.Optional[EmployeesListRequestExpand] + expand : typing.Optional[typing.Union[EmployeesListRequestExpandItem, typing.Sequence[EmployeesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. first_name : typing.Optional[str] @@ -565,7 +596,7 @@ async def list( Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). job_title : typing.Optional[str] - If provided, will only return employees that have an employment of the specified job title. + If provided, will only return employees that have an employment of the specified job_title. last_name : typing.Optional[str] If provided, will only return employees with this last name. @@ -623,7 +654,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedEmployeeList] + AsyncPager[Employee, PaginatedEmployeeList] """ _response = await self._client_wrapper.httpx_client.request( @@ -635,7 +666,6 @@ async def list( "created_before": serialize_datetime(created_before) if created_before is not None else None, "cursor": cursor, "display_full_name": display_full_name, - "employee_number": employee_number, "employment_status": employment_status, "employment_type": employment_type, "expand": expand, @@ -669,14 +699,56 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedEmployeeList, construct_type( type_=PaginatedEmployeeList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + display_full_name=display_full_name, + employment_status=employment_status, + employment_type=employment_type, + expand=expand, + first_name=first_name, + groups=groups, + home_location_id=home_location_id, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_sensitive_fields=include_sensitive_fields, + include_shell_data=include_shell_data, + job_title=job_title, + last_name=last_name, + manager_id=manager_id, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + pay_group_id=pay_group_id, + personal_email=personal_email, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + started_after=started_after, + started_before=started_before, + team_id=team_id, + terminated_after=terminated_after, + terminated_before=terminated_before, + work_email=work_email, + work_location_id=work_location_id, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -746,7 +818,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[EmployeesRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[EmployeesRetrieveRequestExpandItem, typing.Sequence[EmployeesRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_sensitive_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -761,7 +835,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[EmployeesRetrieveRequestExpand] + expand : typing.Optional[typing.Union[EmployeesRetrieveRequestExpandItem, typing.Sequence[EmployeesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -819,8 +893,7 @@ async def ignore_create( self, model_id: str, *, - reason: IgnoreCommonModelRequestReason, - message: typing.Optional[str] = OMIT, + request: IgnoreCommonModelRequest, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[None]: """ @@ -830,9 +903,7 @@ async def ignore_create( ---------- model_id : str - reason : IgnoreCommonModelRequestReason - - message : typing.Optional[str] + request : IgnoreCommonModelRequest request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -844,10 +915,7 @@ async def ignore_create( _response = await self._client_wrapper.httpx_client.request( f"hris/v1/employees/ignore/{jsonable_encoder(model_id)}", method="POST", - json={ - "reason": reason, - "message": message, - }, + json=request, headers={ "content-type": "application/json", }, diff --git a/src/merge/resources/hris/resources/employees/types/__init__.py b/src/merge/resources/hris/resources/employees/types/__init__.py index 0a2174a1..d87a343b 100644 --- a/src/merge/resources/hris/resources/employees/types/__init__.py +++ b/src/merge/resources/hris/resources/employees/types/__init__.py @@ -7,22 +7,20 @@ if typing.TYPE_CHECKING: from .employees_list_request_employment_status import EmployeesListRequestEmploymentStatus - from .employees_list_request_expand import EmployeesListRequestExpand + from .employees_list_request_expand_item import EmployeesListRequestExpandItem from .employees_list_request_remote_fields import EmployeesListRequestRemoteFields from .employees_list_request_show_enum_origins import EmployeesListRequestShowEnumOrigins - from .employees_retrieve_request_expand import EmployeesRetrieveRequestExpand + from .employees_retrieve_request_expand_item import EmployeesRetrieveRequestExpandItem from .employees_retrieve_request_remote_fields import EmployeesRetrieveRequestRemoteFields from .employees_retrieve_request_show_enum_origins import EmployeesRetrieveRequestShowEnumOrigins - from .ignore_common_model_request_reason import IgnoreCommonModelRequestReason _dynamic_imports: typing.Dict[str, str] = { "EmployeesListRequestEmploymentStatus": ".employees_list_request_employment_status", - "EmployeesListRequestExpand": ".employees_list_request_expand", + "EmployeesListRequestExpandItem": ".employees_list_request_expand_item", "EmployeesListRequestRemoteFields": ".employees_list_request_remote_fields", "EmployeesListRequestShowEnumOrigins": ".employees_list_request_show_enum_origins", - "EmployeesRetrieveRequestExpand": ".employees_retrieve_request_expand", + "EmployeesRetrieveRequestExpandItem": ".employees_retrieve_request_expand_item", "EmployeesRetrieveRequestRemoteFields": ".employees_retrieve_request_remote_fields", "EmployeesRetrieveRequestShowEnumOrigins": ".employees_retrieve_request_show_enum_origins", - "IgnoreCommonModelRequestReason": ".ignore_common_model_request_reason", } @@ -32,8 +30,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -47,11 +47,10 @@ def __dir__(): __all__ = [ "EmployeesListRequestEmploymentStatus", - "EmployeesListRequestExpand", + "EmployeesListRequestExpandItem", "EmployeesListRequestRemoteFields", "EmployeesListRequestShowEnumOrigins", - "EmployeesRetrieveRequestExpand", + "EmployeesRetrieveRequestExpandItem", "EmployeesRetrieveRequestRemoteFields", "EmployeesRetrieveRequestShowEnumOrigins", - "IgnoreCommonModelRequestReason", ] diff --git a/src/merge/resources/hris/resources/employees/types/employees_list_request_expand.py b/src/merge/resources/hris/resources/employees/types/employees_list_request_expand.py deleted file mode 100644 index 2c8611fb..00000000 --- a/src/merge/resources/hris/resources/employees/types/employees_list_request_expand.py +++ /dev/null @@ -1,1096 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class EmployeesListRequestExpand(str, enum.Enum): - COMPANY = "company" - COMPANY_PAY_GROUP = "company,pay_group" - EMPLOYMENTS = "employments" - EMPLOYMENTS_COMPANY = "employments,company" - EMPLOYMENTS_COMPANY_PAY_GROUP = "employments,company,pay_group" - EMPLOYMENTS_GROUPS = "employments,groups" - EMPLOYMENTS_GROUPS_COMPANY = "employments,groups,company" - EMPLOYMENTS_GROUPS_COMPANY_PAY_GROUP = "employments,groups,company,pay_group" - EMPLOYMENTS_GROUPS_HOME_LOCATION = "employments,groups,home_location" - EMPLOYMENTS_GROUPS_HOME_LOCATION_COMPANY = "employments,groups,home_location,company" - EMPLOYMENTS_GROUPS_HOME_LOCATION_COMPANY_PAY_GROUP = "employments,groups,home_location,company,pay_group" - EMPLOYMENTS_GROUPS_HOME_LOCATION_MANAGER = "employments,groups,home_location,manager" - EMPLOYMENTS_GROUPS_HOME_LOCATION_MANAGER_COMPANY = "employments,groups,home_location,manager,company" - EMPLOYMENTS_GROUPS_HOME_LOCATION_MANAGER_COMPANY_PAY_GROUP = ( - "employments,groups,home_location,manager,company,pay_group" - ) - EMPLOYMENTS_GROUPS_HOME_LOCATION_MANAGER_PAY_GROUP = "employments,groups,home_location,manager,pay_group" - EMPLOYMENTS_GROUPS_HOME_LOCATION_MANAGER_TEAM = "employments,groups,home_location,manager,team" - EMPLOYMENTS_GROUPS_HOME_LOCATION_MANAGER_TEAM_COMPANY = "employments,groups,home_location,manager,team,company" - EMPLOYMENTS_GROUPS_HOME_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP = ( - "employments,groups,home_location,manager,team,company,pay_group" - ) - EMPLOYMENTS_GROUPS_HOME_LOCATION_MANAGER_TEAM_PAY_GROUP = "employments,groups,home_location,manager,team,pay_group" - EMPLOYMENTS_GROUPS_HOME_LOCATION_PAY_GROUP = "employments,groups,home_location,pay_group" - EMPLOYMENTS_GROUPS_HOME_LOCATION_TEAM = "employments,groups,home_location,team" - EMPLOYMENTS_GROUPS_HOME_LOCATION_TEAM_COMPANY = "employments,groups,home_location,team,company" - EMPLOYMENTS_GROUPS_HOME_LOCATION_TEAM_COMPANY_PAY_GROUP = "employments,groups,home_location,team,company,pay_group" - EMPLOYMENTS_GROUPS_HOME_LOCATION_TEAM_PAY_GROUP = "employments,groups,home_location,team,pay_group" - EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION = "employments,groups,home_location,work_location" - EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_COMPANY = "employments,groups,home_location,work_location,company" - EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_COMPANY_PAY_GROUP = ( - "employments,groups,home_location,work_location,company,pay_group" - ) - EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER = "employments,groups,home_location,work_location,manager" - EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_COMPANY = ( - "employments,groups,home_location,work_location,manager,company" - ) - EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_COMPANY_PAY_GROUP = ( - "employments,groups,home_location,work_location,manager,company,pay_group" - ) - EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_PAY_GROUP = ( - "employments,groups,home_location,work_location,manager,pay_group" - ) - EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM = ( - "employments,groups,home_location,work_location,manager,team" - ) - EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_COMPANY = ( - "employments,groups,home_location,work_location,manager,team,company" - ) - EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP = ( - "employments,groups,home_location,work_location,manager,team,company,pay_group" - ) - EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_PAY_GROUP = ( - "employments,groups,home_location,work_location,manager,team,pay_group" - ) - EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_PAY_GROUP = ( - "employments,groups,home_location,work_location,pay_group" - ) - EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_TEAM = "employments,groups,home_location,work_location,team" - EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_TEAM_COMPANY = ( - "employments,groups,home_location,work_location,team,company" - ) - EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_TEAM_COMPANY_PAY_GROUP = ( - "employments,groups,home_location,work_location,team,company,pay_group" - ) - EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_TEAM_PAY_GROUP = ( - "employments,groups,home_location,work_location,team,pay_group" - ) - EMPLOYMENTS_GROUPS_MANAGER = "employments,groups,manager" - EMPLOYMENTS_GROUPS_MANAGER_COMPANY = "employments,groups,manager,company" - EMPLOYMENTS_GROUPS_MANAGER_COMPANY_PAY_GROUP = "employments,groups,manager,company,pay_group" - EMPLOYMENTS_GROUPS_MANAGER_PAY_GROUP = "employments,groups,manager,pay_group" - EMPLOYMENTS_GROUPS_MANAGER_TEAM = "employments,groups,manager,team" - EMPLOYMENTS_GROUPS_MANAGER_TEAM_COMPANY = "employments,groups,manager,team,company" - EMPLOYMENTS_GROUPS_MANAGER_TEAM_COMPANY_PAY_GROUP = "employments,groups,manager,team,company,pay_group" - EMPLOYMENTS_GROUPS_MANAGER_TEAM_PAY_GROUP = "employments,groups,manager,team,pay_group" - EMPLOYMENTS_GROUPS_PAY_GROUP = "employments,groups,pay_group" - EMPLOYMENTS_GROUPS_TEAM = "employments,groups,team" - EMPLOYMENTS_GROUPS_TEAM_COMPANY = "employments,groups,team,company" - EMPLOYMENTS_GROUPS_TEAM_COMPANY_PAY_GROUP = "employments,groups,team,company,pay_group" - EMPLOYMENTS_GROUPS_TEAM_PAY_GROUP = "employments,groups,team,pay_group" - EMPLOYMENTS_GROUPS_WORK_LOCATION = "employments,groups,work_location" - EMPLOYMENTS_GROUPS_WORK_LOCATION_COMPANY = "employments,groups,work_location,company" - EMPLOYMENTS_GROUPS_WORK_LOCATION_COMPANY_PAY_GROUP = "employments,groups,work_location,company,pay_group" - EMPLOYMENTS_GROUPS_WORK_LOCATION_MANAGER = "employments,groups,work_location,manager" - EMPLOYMENTS_GROUPS_WORK_LOCATION_MANAGER_COMPANY = "employments,groups,work_location,manager,company" - EMPLOYMENTS_GROUPS_WORK_LOCATION_MANAGER_COMPANY_PAY_GROUP = ( - "employments,groups,work_location,manager,company,pay_group" - ) - EMPLOYMENTS_GROUPS_WORK_LOCATION_MANAGER_PAY_GROUP = "employments,groups,work_location,manager,pay_group" - EMPLOYMENTS_GROUPS_WORK_LOCATION_MANAGER_TEAM = "employments,groups,work_location,manager,team" - EMPLOYMENTS_GROUPS_WORK_LOCATION_MANAGER_TEAM_COMPANY = "employments,groups,work_location,manager,team,company" - EMPLOYMENTS_GROUPS_WORK_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP = ( - "employments,groups,work_location,manager,team,company,pay_group" - ) - EMPLOYMENTS_GROUPS_WORK_LOCATION_MANAGER_TEAM_PAY_GROUP = "employments,groups,work_location,manager,team,pay_group" - EMPLOYMENTS_GROUPS_WORK_LOCATION_PAY_GROUP = "employments,groups,work_location,pay_group" - EMPLOYMENTS_GROUPS_WORK_LOCATION_TEAM = "employments,groups,work_location,team" - EMPLOYMENTS_GROUPS_WORK_LOCATION_TEAM_COMPANY = "employments,groups,work_location,team,company" - EMPLOYMENTS_GROUPS_WORK_LOCATION_TEAM_COMPANY_PAY_GROUP = "employments,groups,work_location,team,company,pay_group" - EMPLOYMENTS_GROUPS_WORK_LOCATION_TEAM_PAY_GROUP = "employments,groups,work_location,team,pay_group" - EMPLOYMENTS_HOME_LOCATION = "employments,home_location" - EMPLOYMENTS_HOME_LOCATION_COMPANY = "employments,home_location,company" - EMPLOYMENTS_HOME_LOCATION_COMPANY_PAY_GROUP = "employments,home_location,company,pay_group" - EMPLOYMENTS_HOME_LOCATION_MANAGER = "employments,home_location,manager" - EMPLOYMENTS_HOME_LOCATION_MANAGER_COMPANY = "employments,home_location,manager,company" - EMPLOYMENTS_HOME_LOCATION_MANAGER_COMPANY_PAY_GROUP = "employments,home_location,manager,company,pay_group" - EMPLOYMENTS_HOME_LOCATION_MANAGER_PAY_GROUP = "employments,home_location,manager,pay_group" - EMPLOYMENTS_HOME_LOCATION_MANAGER_TEAM = "employments,home_location,manager,team" - EMPLOYMENTS_HOME_LOCATION_MANAGER_TEAM_COMPANY = "employments,home_location,manager,team,company" - EMPLOYMENTS_HOME_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP = ( - "employments,home_location,manager,team,company,pay_group" - ) - EMPLOYMENTS_HOME_LOCATION_MANAGER_TEAM_PAY_GROUP = "employments,home_location,manager,team,pay_group" - EMPLOYMENTS_HOME_LOCATION_PAY_GROUP = "employments,home_location,pay_group" - EMPLOYMENTS_HOME_LOCATION_TEAM = "employments,home_location,team" - EMPLOYMENTS_HOME_LOCATION_TEAM_COMPANY = "employments,home_location,team,company" - EMPLOYMENTS_HOME_LOCATION_TEAM_COMPANY_PAY_GROUP = "employments,home_location,team,company,pay_group" - EMPLOYMENTS_HOME_LOCATION_TEAM_PAY_GROUP = "employments,home_location,team,pay_group" - EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION = "employments,home_location,work_location" - EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_COMPANY = "employments,home_location,work_location,company" - EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_COMPANY_PAY_GROUP = ( - "employments,home_location,work_location,company,pay_group" - ) - EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_MANAGER = "employments,home_location,work_location,manager" - EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_MANAGER_COMPANY = "employments,home_location,work_location,manager,company" - EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_MANAGER_COMPANY_PAY_GROUP = ( - "employments,home_location,work_location,manager,company,pay_group" - ) - EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_MANAGER_PAY_GROUP = ( - "employments,home_location,work_location,manager,pay_group" - ) - EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM = "employments,home_location,work_location,manager,team" - EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_COMPANY = ( - "employments,home_location,work_location,manager,team,company" - ) - EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP = ( - "employments,home_location,work_location,manager,team,company,pay_group" - ) - EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_PAY_GROUP = ( - "employments,home_location,work_location,manager,team,pay_group" - ) - EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_PAY_GROUP = "employments,home_location,work_location,pay_group" - EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_TEAM = "employments,home_location,work_location,team" - EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_TEAM_COMPANY = "employments,home_location,work_location,team,company" - EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_TEAM_COMPANY_PAY_GROUP = ( - "employments,home_location,work_location,team,company,pay_group" - ) - EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_TEAM_PAY_GROUP = "employments,home_location,work_location,team,pay_group" - EMPLOYMENTS_MANAGER = "employments,manager" - EMPLOYMENTS_MANAGER_COMPANY = "employments,manager,company" - EMPLOYMENTS_MANAGER_COMPANY_PAY_GROUP = "employments,manager,company,pay_group" - EMPLOYMENTS_MANAGER_PAY_GROUP = "employments,manager,pay_group" - EMPLOYMENTS_MANAGER_TEAM = "employments,manager,team" - EMPLOYMENTS_MANAGER_TEAM_COMPANY = "employments,manager,team,company" - EMPLOYMENTS_MANAGER_TEAM_COMPANY_PAY_GROUP = "employments,manager,team,company,pay_group" - EMPLOYMENTS_MANAGER_TEAM_PAY_GROUP = "employments,manager,team,pay_group" - EMPLOYMENTS_PAY_GROUP = "employments,pay_group" - EMPLOYMENTS_TEAM = "employments,team" - EMPLOYMENTS_TEAM_COMPANY = "employments,team,company" - EMPLOYMENTS_TEAM_COMPANY_PAY_GROUP = "employments,team,company,pay_group" - EMPLOYMENTS_TEAM_PAY_GROUP = "employments,team,pay_group" - EMPLOYMENTS_WORK_LOCATION = "employments,work_location" - EMPLOYMENTS_WORK_LOCATION_COMPANY = "employments,work_location,company" - EMPLOYMENTS_WORK_LOCATION_COMPANY_PAY_GROUP = "employments,work_location,company,pay_group" - EMPLOYMENTS_WORK_LOCATION_MANAGER = "employments,work_location,manager" - EMPLOYMENTS_WORK_LOCATION_MANAGER_COMPANY = "employments,work_location,manager,company" - EMPLOYMENTS_WORK_LOCATION_MANAGER_COMPANY_PAY_GROUP = "employments,work_location,manager,company,pay_group" - EMPLOYMENTS_WORK_LOCATION_MANAGER_PAY_GROUP = "employments,work_location,manager,pay_group" - EMPLOYMENTS_WORK_LOCATION_MANAGER_TEAM = "employments,work_location,manager,team" - EMPLOYMENTS_WORK_LOCATION_MANAGER_TEAM_COMPANY = "employments,work_location,manager,team,company" - EMPLOYMENTS_WORK_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP = ( - "employments,work_location,manager,team,company,pay_group" - ) - EMPLOYMENTS_WORK_LOCATION_MANAGER_TEAM_PAY_GROUP = "employments,work_location,manager,team,pay_group" - EMPLOYMENTS_WORK_LOCATION_PAY_GROUP = "employments,work_location,pay_group" - EMPLOYMENTS_WORK_LOCATION_TEAM = "employments,work_location,team" - EMPLOYMENTS_WORK_LOCATION_TEAM_COMPANY = "employments,work_location,team,company" - EMPLOYMENTS_WORK_LOCATION_TEAM_COMPANY_PAY_GROUP = "employments,work_location,team,company,pay_group" - EMPLOYMENTS_WORK_LOCATION_TEAM_PAY_GROUP = "employments,work_location,team,pay_group" - GROUPS = "groups" - GROUPS_COMPANY = "groups,company" - GROUPS_COMPANY_PAY_GROUP = "groups,company,pay_group" - GROUPS_HOME_LOCATION = "groups,home_location" - GROUPS_HOME_LOCATION_COMPANY = "groups,home_location,company" - GROUPS_HOME_LOCATION_COMPANY_PAY_GROUP = "groups,home_location,company,pay_group" - GROUPS_HOME_LOCATION_MANAGER = "groups,home_location,manager" - GROUPS_HOME_LOCATION_MANAGER_COMPANY = "groups,home_location,manager,company" - GROUPS_HOME_LOCATION_MANAGER_COMPANY_PAY_GROUP = "groups,home_location,manager,company,pay_group" - GROUPS_HOME_LOCATION_MANAGER_PAY_GROUP = "groups,home_location,manager,pay_group" - GROUPS_HOME_LOCATION_MANAGER_TEAM = "groups,home_location,manager,team" - GROUPS_HOME_LOCATION_MANAGER_TEAM_COMPANY = "groups,home_location,manager,team,company" - GROUPS_HOME_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP = "groups,home_location,manager,team,company,pay_group" - GROUPS_HOME_LOCATION_MANAGER_TEAM_PAY_GROUP = "groups,home_location,manager,team,pay_group" - GROUPS_HOME_LOCATION_PAY_GROUP = "groups,home_location,pay_group" - GROUPS_HOME_LOCATION_TEAM = "groups,home_location,team" - GROUPS_HOME_LOCATION_TEAM_COMPANY = "groups,home_location,team,company" - GROUPS_HOME_LOCATION_TEAM_COMPANY_PAY_GROUP = "groups,home_location,team,company,pay_group" - GROUPS_HOME_LOCATION_TEAM_PAY_GROUP = "groups,home_location,team,pay_group" - GROUPS_HOME_LOCATION_WORK_LOCATION = "groups,home_location,work_location" - GROUPS_HOME_LOCATION_WORK_LOCATION_COMPANY = "groups,home_location,work_location,company" - GROUPS_HOME_LOCATION_WORK_LOCATION_COMPANY_PAY_GROUP = "groups,home_location,work_location,company,pay_group" - GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER = "groups,home_location,work_location,manager" - GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_COMPANY = "groups,home_location,work_location,manager,company" - GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_COMPANY_PAY_GROUP = ( - "groups,home_location,work_location,manager,company,pay_group" - ) - GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_PAY_GROUP = "groups,home_location,work_location,manager,pay_group" - GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM = "groups,home_location,work_location,manager,team" - GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_COMPANY = "groups,home_location,work_location,manager,team,company" - GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP = ( - "groups,home_location,work_location,manager,team,company,pay_group" - ) - GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_PAY_GROUP = ( - "groups,home_location,work_location,manager,team,pay_group" - ) - GROUPS_HOME_LOCATION_WORK_LOCATION_PAY_GROUP = "groups,home_location,work_location,pay_group" - GROUPS_HOME_LOCATION_WORK_LOCATION_TEAM = "groups,home_location,work_location,team" - GROUPS_HOME_LOCATION_WORK_LOCATION_TEAM_COMPANY = "groups,home_location,work_location,team,company" - GROUPS_HOME_LOCATION_WORK_LOCATION_TEAM_COMPANY_PAY_GROUP = ( - "groups,home_location,work_location,team,company,pay_group" - ) - GROUPS_HOME_LOCATION_WORK_LOCATION_TEAM_PAY_GROUP = "groups,home_location,work_location,team,pay_group" - GROUPS_MANAGER = "groups,manager" - GROUPS_MANAGER_COMPANY = "groups,manager,company" - GROUPS_MANAGER_COMPANY_PAY_GROUP = "groups,manager,company,pay_group" - GROUPS_MANAGER_PAY_GROUP = "groups,manager,pay_group" - GROUPS_MANAGER_TEAM = "groups,manager,team" - GROUPS_MANAGER_TEAM_COMPANY = "groups,manager,team,company" - GROUPS_MANAGER_TEAM_COMPANY_PAY_GROUP = "groups,manager,team,company,pay_group" - GROUPS_MANAGER_TEAM_PAY_GROUP = "groups,manager,team,pay_group" - GROUPS_PAY_GROUP = "groups,pay_group" - GROUPS_TEAM = "groups,team" - GROUPS_TEAM_COMPANY = "groups,team,company" - GROUPS_TEAM_COMPANY_PAY_GROUP = "groups,team,company,pay_group" - GROUPS_TEAM_PAY_GROUP = "groups,team,pay_group" - GROUPS_WORK_LOCATION = "groups,work_location" - GROUPS_WORK_LOCATION_COMPANY = "groups,work_location,company" - GROUPS_WORK_LOCATION_COMPANY_PAY_GROUP = "groups,work_location,company,pay_group" - GROUPS_WORK_LOCATION_MANAGER = "groups,work_location,manager" - GROUPS_WORK_LOCATION_MANAGER_COMPANY = "groups,work_location,manager,company" - GROUPS_WORK_LOCATION_MANAGER_COMPANY_PAY_GROUP = "groups,work_location,manager,company,pay_group" - GROUPS_WORK_LOCATION_MANAGER_PAY_GROUP = "groups,work_location,manager,pay_group" - GROUPS_WORK_LOCATION_MANAGER_TEAM = "groups,work_location,manager,team" - GROUPS_WORK_LOCATION_MANAGER_TEAM_COMPANY = "groups,work_location,manager,team,company" - GROUPS_WORK_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP = "groups,work_location,manager,team,company,pay_group" - GROUPS_WORK_LOCATION_MANAGER_TEAM_PAY_GROUP = "groups,work_location,manager,team,pay_group" - GROUPS_WORK_LOCATION_PAY_GROUP = "groups,work_location,pay_group" - GROUPS_WORK_LOCATION_TEAM = "groups,work_location,team" - GROUPS_WORK_LOCATION_TEAM_COMPANY = "groups,work_location,team,company" - GROUPS_WORK_LOCATION_TEAM_COMPANY_PAY_GROUP = "groups,work_location,team,company,pay_group" - GROUPS_WORK_LOCATION_TEAM_PAY_GROUP = "groups,work_location,team,pay_group" - HOME_LOCATION = "home_location" - HOME_LOCATION_COMPANY = "home_location,company" - HOME_LOCATION_COMPANY_PAY_GROUP = "home_location,company,pay_group" - HOME_LOCATION_MANAGER = "home_location,manager" - HOME_LOCATION_MANAGER_COMPANY = "home_location,manager,company" - HOME_LOCATION_MANAGER_COMPANY_PAY_GROUP = "home_location,manager,company,pay_group" - HOME_LOCATION_MANAGER_PAY_GROUP = "home_location,manager,pay_group" - HOME_LOCATION_MANAGER_TEAM = "home_location,manager,team" - HOME_LOCATION_MANAGER_TEAM_COMPANY = "home_location,manager,team,company" - HOME_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP = "home_location,manager,team,company,pay_group" - HOME_LOCATION_MANAGER_TEAM_PAY_GROUP = "home_location,manager,team,pay_group" - HOME_LOCATION_PAY_GROUP = "home_location,pay_group" - HOME_LOCATION_TEAM = "home_location,team" - HOME_LOCATION_TEAM_COMPANY = "home_location,team,company" - HOME_LOCATION_TEAM_COMPANY_PAY_GROUP = "home_location,team,company,pay_group" - HOME_LOCATION_TEAM_PAY_GROUP = "home_location,team,pay_group" - HOME_LOCATION_WORK_LOCATION = "home_location,work_location" - HOME_LOCATION_WORK_LOCATION_COMPANY = "home_location,work_location,company" - HOME_LOCATION_WORK_LOCATION_COMPANY_PAY_GROUP = "home_location,work_location,company,pay_group" - HOME_LOCATION_WORK_LOCATION_MANAGER = "home_location,work_location,manager" - HOME_LOCATION_WORK_LOCATION_MANAGER_COMPANY = "home_location,work_location,manager,company" - HOME_LOCATION_WORK_LOCATION_MANAGER_COMPANY_PAY_GROUP = "home_location,work_location,manager,company,pay_group" - HOME_LOCATION_WORK_LOCATION_MANAGER_PAY_GROUP = "home_location,work_location,manager,pay_group" - HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM = "home_location,work_location,manager,team" - HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_COMPANY = "home_location,work_location,manager,team,company" - HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP = ( - "home_location,work_location,manager,team,company,pay_group" - ) - HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_PAY_GROUP = "home_location,work_location,manager,team,pay_group" - HOME_LOCATION_WORK_LOCATION_PAY_GROUP = "home_location,work_location,pay_group" - HOME_LOCATION_WORK_LOCATION_TEAM = "home_location,work_location,team" - HOME_LOCATION_WORK_LOCATION_TEAM_COMPANY = "home_location,work_location,team,company" - HOME_LOCATION_WORK_LOCATION_TEAM_COMPANY_PAY_GROUP = "home_location,work_location,team,company,pay_group" - HOME_LOCATION_WORK_LOCATION_TEAM_PAY_GROUP = "home_location,work_location,team,pay_group" - MANAGER = "manager" - MANAGER_COMPANY = "manager,company" - MANAGER_COMPANY_PAY_GROUP = "manager,company,pay_group" - MANAGER_PAY_GROUP = "manager,pay_group" - MANAGER_TEAM = "manager,team" - MANAGER_TEAM_COMPANY = "manager,team,company" - MANAGER_TEAM_COMPANY_PAY_GROUP = "manager,team,company,pay_group" - MANAGER_TEAM_PAY_GROUP = "manager,team,pay_group" - PAY_GROUP = "pay_group" - TEAM = "team" - TEAM_COMPANY = "team,company" - TEAM_COMPANY_PAY_GROUP = "team,company,pay_group" - TEAM_PAY_GROUP = "team,pay_group" - WORK_LOCATION = "work_location" - WORK_LOCATION_COMPANY = "work_location,company" - WORK_LOCATION_COMPANY_PAY_GROUP = "work_location,company,pay_group" - WORK_LOCATION_MANAGER = "work_location,manager" - WORK_LOCATION_MANAGER_COMPANY = "work_location,manager,company" - WORK_LOCATION_MANAGER_COMPANY_PAY_GROUP = "work_location,manager,company,pay_group" - WORK_LOCATION_MANAGER_PAY_GROUP = "work_location,manager,pay_group" - WORK_LOCATION_MANAGER_TEAM = "work_location,manager,team" - WORK_LOCATION_MANAGER_TEAM_COMPANY = "work_location,manager,team,company" - WORK_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP = "work_location,manager,team,company,pay_group" - WORK_LOCATION_MANAGER_TEAM_PAY_GROUP = "work_location,manager,team,pay_group" - WORK_LOCATION_PAY_GROUP = "work_location,pay_group" - WORK_LOCATION_TEAM = "work_location,team" - WORK_LOCATION_TEAM_COMPANY = "work_location,team,company" - WORK_LOCATION_TEAM_COMPANY_PAY_GROUP = "work_location,team,company,pay_group" - WORK_LOCATION_TEAM_PAY_GROUP = "work_location,team,pay_group" - - def visit( - self, - company: typing.Callable[[], T_Result], - company_pay_group: typing.Callable[[], T_Result], - employments: typing.Callable[[], T_Result], - employments_company: typing.Callable[[], T_Result], - employments_company_pay_group: typing.Callable[[], T_Result], - employments_groups: typing.Callable[[], T_Result], - employments_groups_company: typing.Callable[[], T_Result], - employments_groups_company_pay_group: typing.Callable[[], T_Result], - employments_groups_home_location: typing.Callable[[], T_Result], - employments_groups_home_location_company: typing.Callable[[], T_Result], - employments_groups_home_location_company_pay_group: typing.Callable[[], T_Result], - employments_groups_home_location_manager: typing.Callable[[], T_Result], - employments_groups_home_location_manager_company: typing.Callable[[], T_Result], - employments_groups_home_location_manager_company_pay_group: typing.Callable[[], T_Result], - employments_groups_home_location_manager_pay_group: typing.Callable[[], T_Result], - employments_groups_home_location_manager_team: typing.Callable[[], T_Result], - employments_groups_home_location_manager_team_company: typing.Callable[[], T_Result], - employments_groups_home_location_manager_team_company_pay_group: typing.Callable[[], T_Result], - employments_groups_home_location_manager_team_pay_group: typing.Callable[[], T_Result], - employments_groups_home_location_pay_group: typing.Callable[[], T_Result], - employments_groups_home_location_team: typing.Callable[[], T_Result], - employments_groups_home_location_team_company: typing.Callable[[], T_Result], - employments_groups_home_location_team_company_pay_group: typing.Callable[[], T_Result], - employments_groups_home_location_team_pay_group: typing.Callable[[], T_Result], - employments_groups_home_location_work_location: typing.Callable[[], T_Result], - employments_groups_home_location_work_location_company: typing.Callable[[], T_Result], - employments_groups_home_location_work_location_company_pay_group: typing.Callable[[], T_Result], - employments_groups_home_location_work_location_manager: typing.Callable[[], T_Result], - employments_groups_home_location_work_location_manager_company: typing.Callable[[], T_Result], - employments_groups_home_location_work_location_manager_company_pay_group: typing.Callable[[], T_Result], - employments_groups_home_location_work_location_manager_pay_group: typing.Callable[[], T_Result], - employments_groups_home_location_work_location_manager_team: typing.Callable[[], T_Result], - employments_groups_home_location_work_location_manager_team_company: typing.Callable[[], T_Result], - employments_groups_home_location_work_location_manager_team_company_pay_group: typing.Callable[[], T_Result], - employments_groups_home_location_work_location_manager_team_pay_group: typing.Callable[[], T_Result], - employments_groups_home_location_work_location_pay_group: typing.Callable[[], T_Result], - employments_groups_home_location_work_location_team: typing.Callable[[], T_Result], - employments_groups_home_location_work_location_team_company: typing.Callable[[], T_Result], - employments_groups_home_location_work_location_team_company_pay_group: typing.Callable[[], T_Result], - employments_groups_home_location_work_location_team_pay_group: typing.Callable[[], T_Result], - employments_groups_manager: typing.Callable[[], T_Result], - employments_groups_manager_company: typing.Callable[[], T_Result], - employments_groups_manager_company_pay_group: typing.Callable[[], T_Result], - employments_groups_manager_pay_group: typing.Callable[[], T_Result], - employments_groups_manager_team: typing.Callable[[], T_Result], - employments_groups_manager_team_company: typing.Callable[[], T_Result], - employments_groups_manager_team_company_pay_group: typing.Callable[[], T_Result], - employments_groups_manager_team_pay_group: typing.Callable[[], T_Result], - employments_groups_pay_group: typing.Callable[[], T_Result], - employments_groups_team: typing.Callable[[], T_Result], - employments_groups_team_company: typing.Callable[[], T_Result], - employments_groups_team_company_pay_group: typing.Callable[[], T_Result], - employments_groups_team_pay_group: typing.Callable[[], T_Result], - employments_groups_work_location: typing.Callable[[], T_Result], - employments_groups_work_location_company: typing.Callable[[], T_Result], - employments_groups_work_location_company_pay_group: typing.Callable[[], T_Result], - employments_groups_work_location_manager: typing.Callable[[], T_Result], - employments_groups_work_location_manager_company: typing.Callable[[], T_Result], - employments_groups_work_location_manager_company_pay_group: typing.Callable[[], T_Result], - employments_groups_work_location_manager_pay_group: typing.Callable[[], T_Result], - employments_groups_work_location_manager_team: typing.Callable[[], T_Result], - employments_groups_work_location_manager_team_company: typing.Callable[[], T_Result], - employments_groups_work_location_manager_team_company_pay_group: typing.Callable[[], T_Result], - employments_groups_work_location_manager_team_pay_group: typing.Callable[[], T_Result], - employments_groups_work_location_pay_group: typing.Callable[[], T_Result], - employments_groups_work_location_team: typing.Callable[[], T_Result], - employments_groups_work_location_team_company: typing.Callable[[], T_Result], - employments_groups_work_location_team_company_pay_group: typing.Callable[[], T_Result], - employments_groups_work_location_team_pay_group: typing.Callable[[], T_Result], - employments_home_location: typing.Callable[[], T_Result], - employments_home_location_company: typing.Callable[[], T_Result], - employments_home_location_company_pay_group: typing.Callable[[], T_Result], - employments_home_location_manager: typing.Callable[[], T_Result], - employments_home_location_manager_company: typing.Callable[[], T_Result], - employments_home_location_manager_company_pay_group: typing.Callable[[], T_Result], - employments_home_location_manager_pay_group: typing.Callable[[], T_Result], - employments_home_location_manager_team: typing.Callable[[], T_Result], - employments_home_location_manager_team_company: typing.Callable[[], T_Result], - employments_home_location_manager_team_company_pay_group: typing.Callable[[], T_Result], - employments_home_location_manager_team_pay_group: typing.Callable[[], T_Result], - employments_home_location_pay_group: typing.Callable[[], T_Result], - employments_home_location_team: typing.Callable[[], T_Result], - employments_home_location_team_company: typing.Callable[[], T_Result], - employments_home_location_team_company_pay_group: typing.Callable[[], T_Result], - employments_home_location_team_pay_group: typing.Callable[[], T_Result], - employments_home_location_work_location: typing.Callable[[], T_Result], - employments_home_location_work_location_company: typing.Callable[[], T_Result], - employments_home_location_work_location_company_pay_group: typing.Callable[[], T_Result], - employments_home_location_work_location_manager: typing.Callable[[], T_Result], - employments_home_location_work_location_manager_company: typing.Callable[[], T_Result], - employments_home_location_work_location_manager_company_pay_group: typing.Callable[[], T_Result], - employments_home_location_work_location_manager_pay_group: typing.Callable[[], T_Result], - employments_home_location_work_location_manager_team: typing.Callable[[], T_Result], - employments_home_location_work_location_manager_team_company: typing.Callable[[], T_Result], - employments_home_location_work_location_manager_team_company_pay_group: typing.Callable[[], T_Result], - employments_home_location_work_location_manager_team_pay_group: typing.Callable[[], T_Result], - employments_home_location_work_location_pay_group: typing.Callable[[], T_Result], - employments_home_location_work_location_team: typing.Callable[[], T_Result], - employments_home_location_work_location_team_company: typing.Callable[[], T_Result], - employments_home_location_work_location_team_company_pay_group: typing.Callable[[], T_Result], - employments_home_location_work_location_team_pay_group: typing.Callable[[], T_Result], - employments_manager: typing.Callable[[], T_Result], - employments_manager_company: typing.Callable[[], T_Result], - employments_manager_company_pay_group: typing.Callable[[], T_Result], - employments_manager_pay_group: typing.Callable[[], T_Result], - employments_manager_team: typing.Callable[[], T_Result], - employments_manager_team_company: typing.Callable[[], T_Result], - employments_manager_team_company_pay_group: typing.Callable[[], T_Result], - employments_manager_team_pay_group: typing.Callable[[], T_Result], - employments_pay_group: typing.Callable[[], T_Result], - employments_team: typing.Callable[[], T_Result], - employments_team_company: typing.Callable[[], T_Result], - employments_team_company_pay_group: typing.Callable[[], T_Result], - employments_team_pay_group: typing.Callable[[], T_Result], - employments_work_location: typing.Callable[[], T_Result], - employments_work_location_company: typing.Callable[[], T_Result], - employments_work_location_company_pay_group: typing.Callable[[], T_Result], - employments_work_location_manager: typing.Callable[[], T_Result], - employments_work_location_manager_company: typing.Callable[[], T_Result], - employments_work_location_manager_company_pay_group: typing.Callable[[], T_Result], - employments_work_location_manager_pay_group: typing.Callable[[], T_Result], - employments_work_location_manager_team: typing.Callable[[], T_Result], - employments_work_location_manager_team_company: typing.Callable[[], T_Result], - employments_work_location_manager_team_company_pay_group: typing.Callable[[], T_Result], - employments_work_location_manager_team_pay_group: typing.Callable[[], T_Result], - employments_work_location_pay_group: typing.Callable[[], T_Result], - employments_work_location_team: typing.Callable[[], T_Result], - employments_work_location_team_company: typing.Callable[[], T_Result], - employments_work_location_team_company_pay_group: typing.Callable[[], T_Result], - employments_work_location_team_pay_group: typing.Callable[[], T_Result], - groups: typing.Callable[[], T_Result], - groups_company: typing.Callable[[], T_Result], - groups_company_pay_group: typing.Callable[[], T_Result], - groups_home_location: typing.Callable[[], T_Result], - groups_home_location_company: typing.Callable[[], T_Result], - groups_home_location_company_pay_group: typing.Callable[[], T_Result], - groups_home_location_manager: typing.Callable[[], T_Result], - groups_home_location_manager_company: typing.Callable[[], T_Result], - groups_home_location_manager_company_pay_group: typing.Callable[[], T_Result], - groups_home_location_manager_pay_group: typing.Callable[[], T_Result], - groups_home_location_manager_team: typing.Callable[[], T_Result], - groups_home_location_manager_team_company: typing.Callable[[], T_Result], - groups_home_location_manager_team_company_pay_group: typing.Callable[[], T_Result], - groups_home_location_manager_team_pay_group: typing.Callable[[], T_Result], - groups_home_location_pay_group: typing.Callable[[], T_Result], - groups_home_location_team: typing.Callable[[], T_Result], - groups_home_location_team_company: typing.Callable[[], T_Result], - groups_home_location_team_company_pay_group: typing.Callable[[], T_Result], - groups_home_location_team_pay_group: typing.Callable[[], T_Result], - groups_home_location_work_location: typing.Callable[[], T_Result], - groups_home_location_work_location_company: typing.Callable[[], T_Result], - groups_home_location_work_location_company_pay_group: typing.Callable[[], T_Result], - groups_home_location_work_location_manager: typing.Callable[[], T_Result], - groups_home_location_work_location_manager_company: typing.Callable[[], T_Result], - groups_home_location_work_location_manager_company_pay_group: typing.Callable[[], T_Result], - groups_home_location_work_location_manager_pay_group: typing.Callable[[], T_Result], - groups_home_location_work_location_manager_team: typing.Callable[[], T_Result], - groups_home_location_work_location_manager_team_company: typing.Callable[[], T_Result], - groups_home_location_work_location_manager_team_company_pay_group: typing.Callable[[], T_Result], - groups_home_location_work_location_manager_team_pay_group: typing.Callable[[], T_Result], - groups_home_location_work_location_pay_group: typing.Callable[[], T_Result], - groups_home_location_work_location_team: typing.Callable[[], T_Result], - groups_home_location_work_location_team_company: typing.Callable[[], T_Result], - groups_home_location_work_location_team_company_pay_group: typing.Callable[[], T_Result], - groups_home_location_work_location_team_pay_group: typing.Callable[[], T_Result], - groups_manager: typing.Callable[[], T_Result], - groups_manager_company: typing.Callable[[], T_Result], - groups_manager_company_pay_group: typing.Callable[[], T_Result], - groups_manager_pay_group: typing.Callable[[], T_Result], - groups_manager_team: typing.Callable[[], T_Result], - groups_manager_team_company: typing.Callable[[], T_Result], - groups_manager_team_company_pay_group: typing.Callable[[], T_Result], - groups_manager_team_pay_group: typing.Callable[[], T_Result], - groups_pay_group: typing.Callable[[], T_Result], - groups_team: typing.Callable[[], T_Result], - groups_team_company: typing.Callable[[], T_Result], - groups_team_company_pay_group: typing.Callable[[], T_Result], - groups_team_pay_group: typing.Callable[[], T_Result], - groups_work_location: typing.Callable[[], T_Result], - groups_work_location_company: typing.Callable[[], T_Result], - groups_work_location_company_pay_group: typing.Callable[[], T_Result], - groups_work_location_manager: typing.Callable[[], T_Result], - groups_work_location_manager_company: typing.Callable[[], T_Result], - groups_work_location_manager_company_pay_group: typing.Callable[[], T_Result], - groups_work_location_manager_pay_group: typing.Callable[[], T_Result], - groups_work_location_manager_team: typing.Callable[[], T_Result], - groups_work_location_manager_team_company: typing.Callable[[], T_Result], - groups_work_location_manager_team_company_pay_group: typing.Callable[[], T_Result], - groups_work_location_manager_team_pay_group: typing.Callable[[], T_Result], - groups_work_location_pay_group: typing.Callable[[], T_Result], - groups_work_location_team: typing.Callable[[], T_Result], - groups_work_location_team_company: typing.Callable[[], T_Result], - groups_work_location_team_company_pay_group: typing.Callable[[], T_Result], - groups_work_location_team_pay_group: typing.Callable[[], T_Result], - home_location: typing.Callable[[], T_Result], - home_location_company: typing.Callable[[], T_Result], - home_location_company_pay_group: typing.Callable[[], T_Result], - home_location_manager: typing.Callable[[], T_Result], - home_location_manager_company: typing.Callable[[], T_Result], - home_location_manager_company_pay_group: typing.Callable[[], T_Result], - home_location_manager_pay_group: typing.Callable[[], T_Result], - home_location_manager_team: typing.Callable[[], T_Result], - home_location_manager_team_company: typing.Callable[[], T_Result], - home_location_manager_team_company_pay_group: typing.Callable[[], T_Result], - home_location_manager_team_pay_group: typing.Callable[[], T_Result], - home_location_pay_group: typing.Callable[[], T_Result], - home_location_team: typing.Callable[[], T_Result], - home_location_team_company: typing.Callable[[], T_Result], - home_location_team_company_pay_group: typing.Callable[[], T_Result], - home_location_team_pay_group: typing.Callable[[], T_Result], - home_location_work_location: typing.Callable[[], T_Result], - home_location_work_location_company: typing.Callable[[], T_Result], - home_location_work_location_company_pay_group: typing.Callable[[], T_Result], - home_location_work_location_manager: typing.Callable[[], T_Result], - home_location_work_location_manager_company: typing.Callable[[], T_Result], - home_location_work_location_manager_company_pay_group: typing.Callable[[], T_Result], - home_location_work_location_manager_pay_group: typing.Callable[[], T_Result], - home_location_work_location_manager_team: typing.Callable[[], T_Result], - home_location_work_location_manager_team_company: typing.Callable[[], T_Result], - home_location_work_location_manager_team_company_pay_group: typing.Callable[[], T_Result], - home_location_work_location_manager_team_pay_group: typing.Callable[[], T_Result], - home_location_work_location_pay_group: typing.Callable[[], T_Result], - home_location_work_location_team: typing.Callable[[], T_Result], - home_location_work_location_team_company: typing.Callable[[], T_Result], - home_location_work_location_team_company_pay_group: typing.Callable[[], T_Result], - home_location_work_location_team_pay_group: typing.Callable[[], T_Result], - manager: typing.Callable[[], T_Result], - manager_company: typing.Callable[[], T_Result], - manager_company_pay_group: typing.Callable[[], T_Result], - manager_pay_group: typing.Callable[[], T_Result], - manager_team: typing.Callable[[], T_Result], - manager_team_company: typing.Callable[[], T_Result], - manager_team_company_pay_group: typing.Callable[[], T_Result], - manager_team_pay_group: typing.Callable[[], T_Result], - pay_group: typing.Callable[[], T_Result], - team: typing.Callable[[], T_Result], - team_company: typing.Callable[[], T_Result], - team_company_pay_group: typing.Callable[[], T_Result], - team_pay_group: typing.Callable[[], T_Result], - work_location: typing.Callable[[], T_Result], - work_location_company: typing.Callable[[], T_Result], - work_location_company_pay_group: typing.Callable[[], T_Result], - work_location_manager: typing.Callable[[], T_Result], - work_location_manager_company: typing.Callable[[], T_Result], - work_location_manager_company_pay_group: typing.Callable[[], T_Result], - work_location_manager_pay_group: typing.Callable[[], T_Result], - work_location_manager_team: typing.Callable[[], T_Result], - work_location_manager_team_company: typing.Callable[[], T_Result], - work_location_manager_team_company_pay_group: typing.Callable[[], T_Result], - work_location_manager_team_pay_group: typing.Callable[[], T_Result], - work_location_pay_group: typing.Callable[[], T_Result], - work_location_team: typing.Callable[[], T_Result], - work_location_team_company: typing.Callable[[], T_Result], - work_location_team_company_pay_group: typing.Callable[[], T_Result], - work_location_team_pay_group: typing.Callable[[], T_Result], - ) -> T_Result: - if self is EmployeesListRequestExpand.COMPANY: - return company() - if self is EmployeesListRequestExpand.COMPANY_PAY_GROUP: - return company_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS: - return employments() - if self is EmployeesListRequestExpand.EMPLOYMENTS_COMPANY: - return employments_company() - if self is EmployeesListRequestExpand.EMPLOYMENTS_COMPANY_PAY_GROUP: - return employments_company_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS: - return employments_groups() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_COMPANY: - return employments_groups_company() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_COMPANY_PAY_GROUP: - return employments_groups_company_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION: - return employments_groups_home_location() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_COMPANY: - return employments_groups_home_location_company() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_COMPANY_PAY_GROUP: - return employments_groups_home_location_company_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_MANAGER: - return employments_groups_home_location_manager() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_MANAGER_COMPANY: - return employments_groups_home_location_manager_company() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_MANAGER_COMPANY_PAY_GROUP: - return employments_groups_home_location_manager_company_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_MANAGER_PAY_GROUP: - return employments_groups_home_location_manager_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_MANAGER_TEAM: - return employments_groups_home_location_manager_team() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_MANAGER_TEAM_COMPANY: - return employments_groups_home_location_manager_team_company() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP: - return employments_groups_home_location_manager_team_company_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_MANAGER_TEAM_PAY_GROUP: - return employments_groups_home_location_manager_team_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_PAY_GROUP: - return employments_groups_home_location_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_TEAM: - return employments_groups_home_location_team() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_TEAM_COMPANY: - return employments_groups_home_location_team_company() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_TEAM_COMPANY_PAY_GROUP: - return employments_groups_home_location_team_company_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_TEAM_PAY_GROUP: - return employments_groups_home_location_team_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION: - return employments_groups_home_location_work_location() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_COMPANY: - return employments_groups_home_location_work_location_company() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_COMPANY_PAY_GROUP: - return employments_groups_home_location_work_location_company_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER: - return employments_groups_home_location_work_location_manager() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_COMPANY: - return employments_groups_home_location_work_location_manager_company() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_COMPANY_PAY_GROUP: - return employments_groups_home_location_work_location_manager_company_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_PAY_GROUP: - return employments_groups_home_location_work_location_manager_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM: - return employments_groups_home_location_work_location_manager_team() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_COMPANY: - return employments_groups_home_location_work_location_manager_team_company() - if ( - self - is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP - ): - return employments_groups_home_location_work_location_manager_team_company_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_PAY_GROUP: - return employments_groups_home_location_work_location_manager_team_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_PAY_GROUP: - return employments_groups_home_location_work_location_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_TEAM: - return employments_groups_home_location_work_location_team() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_TEAM_COMPANY: - return employments_groups_home_location_work_location_team_company() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_TEAM_COMPANY_PAY_GROUP: - return employments_groups_home_location_work_location_team_company_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_TEAM_PAY_GROUP: - return employments_groups_home_location_work_location_team_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_MANAGER: - return employments_groups_manager() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_MANAGER_COMPANY: - return employments_groups_manager_company() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_MANAGER_COMPANY_PAY_GROUP: - return employments_groups_manager_company_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_MANAGER_PAY_GROUP: - return employments_groups_manager_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_MANAGER_TEAM: - return employments_groups_manager_team() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_MANAGER_TEAM_COMPANY: - return employments_groups_manager_team_company() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_MANAGER_TEAM_COMPANY_PAY_GROUP: - return employments_groups_manager_team_company_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_MANAGER_TEAM_PAY_GROUP: - return employments_groups_manager_team_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_PAY_GROUP: - return employments_groups_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_TEAM: - return employments_groups_team() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_TEAM_COMPANY: - return employments_groups_team_company() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_TEAM_COMPANY_PAY_GROUP: - return employments_groups_team_company_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_TEAM_PAY_GROUP: - return employments_groups_team_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_WORK_LOCATION: - return employments_groups_work_location() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_WORK_LOCATION_COMPANY: - return employments_groups_work_location_company() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_WORK_LOCATION_COMPANY_PAY_GROUP: - return employments_groups_work_location_company_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_WORK_LOCATION_MANAGER: - return employments_groups_work_location_manager() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_WORK_LOCATION_MANAGER_COMPANY: - return employments_groups_work_location_manager_company() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_WORK_LOCATION_MANAGER_COMPANY_PAY_GROUP: - return employments_groups_work_location_manager_company_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_WORK_LOCATION_MANAGER_PAY_GROUP: - return employments_groups_work_location_manager_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_WORK_LOCATION_MANAGER_TEAM: - return employments_groups_work_location_manager_team() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_WORK_LOCATION_MANAGER_TEAM_COMPANY: - return employments_groups_work_location_manager_team_company() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_WORK_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP: - return employments_groups_work_location_manager_team_company_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_WORK_LOCATION_MANAGER_TEAM_PAY_GROUP: - return employments_groups_work_location_manager_team_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_WORK_LOCATION_PAY_GROUP: - return employments_groups_work_location_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_WORK_LOCATION_TEAM: - return employments_groups_work_location_team() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_WORK_LOCATION_TEAM_COMPANY: - return employments_groups_work_location_team_company() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_WORK_LOCATION_TEAM_COMPANY_PAY_GROUP: - return employments_groups_work_location_team_company_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_WORK_LOCATION_TEAM_PAY_GROUP: - return employments_groups_work_location_team_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_HOME_LOCATION: - return employments_home_location() - if self is EmployeesListRequestExpand.EMPLOYMENTS_HOME_LOCATION_COMPANY: - return employments_home_location_company() - if self is EmployeesListRequestExpand.EMPLOYMENTS_HOME_LOCATION_COMPANY_PAY_GROUP: - return employments_home_location_company_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_HOME_LOCATION_MANAGER: - return employments_home_location_manager() - if self is EmployeesListRequestExpand.EMPLOYMENTS_HOME_LOCATION_MANAGER_COMPANY: - return employments_home_location_manager_company() - if self is EmployeesListRequestExpand.EMPLOYMENTS_HOME_LOCATION_MANAGER_COMPANY_PAY_GROUP: - return employments_home_location_manager_company_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_HOME_LOCATION_MANAGER_PAY_GROUP: - return employments_home_location_manager_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_HOME_LOCATION_MANAGER_TEAM: - return employments_home_location_manager_team() - if self is EmployeesListRequestExpand.EMPLOYMENTS_HOME_LOCATION_MANAGER_TEAM_COMPANY: - return employments_home_location_manager_team_company() - if self is EmployeesListRequestExpand.EMPLOYMENTS_HOME_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP: - return employments_home_location_manager_team_company_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_HOME_LOCATION_MANAGER_TEAM_PAY_GROUP: - return employments_home_location_manager_team_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_HOME_LOCATION_PAY_GROUP: - return employments_home_location_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_HOME_LOCATION_TEAM: - return employments_home_location_team() - if self is EmployeesListRequestExpand.EMPLOYMENTS_HOME_LOCATION_TEAM_COMPANY: - return employments_home_location_team_company() - if self is EmployeesListRequestExpand.EMPLOYMENTS_HOME_LOCATION_TEAM_COMPANY_PAY_GROUP: - return employments_home_location_team_company_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_HOME_LOCATION_TEAM_PAY_GROUP: - return employments_home_location_team_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION: - return employments_home_location_work_location() - if self is EmployeesListRequestExpand.EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_COMPANY: - return employments_home_location_work_location_company() - if self is EmployeesListRequestExpand.EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_COMPANY_PAY_GROUP: - return employments_home_location_work_location_company_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_MANAGER: - return employments_home_location_work_location_manager() - if self is EmployeesListRequestExpand.EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_MANAGER_COMPANY: - return employments_home_location_work_location_manager_company() - if self is EmployeesListRequestExpand.EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_MANAGER_COMPANY_PAY_GROUP: - return employments_home_location_work_location_manager_company_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_MANAGER_PAY_GROUP: - return employments_home_location_work_location_manager_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM: - return employments_home_location_work_location_manager_team() - if self is EmployeesListRequestExpand.EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_COMPANY: - return employments_home_location_work_location_manager_team_company() - if self is EmployeesListRequestExpand.EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP: - return employments_home_location_work_location_manager_team_company_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_PAY_GROUP: - return employments_home_location_work_location_manager_team_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_PAY_GROUP: - return employments_home_location_work_location_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_TEAM: - return employments_home_location_work_location_team() - if self is EmployeesListRequestExpand.EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_TEAM_COMPANY: - return employments_home_location_work_location_team_company() - if self is EmployeesListRequestExpand.EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_TEAM_COMPANY_PAY_GROUP: - return employments_home_location_work_location_team_company_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_TEAM_PAY_GROUP: - return employments_home_location_work_location_team_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_MANAGER: - return employments_manager() - if self is EmployeesListRequestExpand.EMPLOYMENTS_MANAGER_COMPANY: - return employments_manager_company() - if self is EmployeesListRequestExpand.EMPLOYMENTS_MANAGER_COMPANY_PAY_GROUP: - return employments_manager_company_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_MANAGER_PAY_GROUP: - return employments_manager_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_MANAGER_TEAM: - return employments_manager_team() - if self is EmployeesListRequestExpand.EMPLOYMENTS_MANAGER_TEAM_COMPANY: - return employments_manager_team_company() - if self is EmployeesListRequestExpand.EMPLOYMENTS_MANAGER_TEAM_COMPANY_PAY_GROUP: - return employments_manager_team_company_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_MANAGER_TEAM_PAY_GROUP: - return employments_manager_team_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_PAY_GROUP: - return employments_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_TEAM: - return employments_team() - if self is EmployeesListRequestExpand.EMPLOYMENTS_TEAM_COMPANY: - return employments_team_company() - if self is EmployeesListRequestExpand.EMPLOYMENTS_TEAM_COMPANY_PAY_GROUP: - return employments_team_company_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_TEAM_PAY_GROUP: - return employments_team_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_WORK_LOCATION: - return employments_work_location() - if self is EmployeesListRequestExpand.EMPLOYMENTS_WORK_LOCATION_COMPANY: - return employments_work_location_company() - if self is EmployeesListRequestExpand.EMPLOYMENTS_WORK_LOCATION_COMPANY_PAY_GROUP: - return employments_work_location_company_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_WORK_LOCATION_MANAGER: - return employments_work_location_manager() - if self is EmployeesListRequestExpand.EMPLOYMENTS_WORK_LOCATION_MANAGER_COMPANY: - return employments_work_location_manager_company() - if self is EmployeesListRequestExpand.EMPLOYMENTS_WORK_LOCATION_MANAGER_COMPANY_PAY_GROUP: - return employments_work_location_manager_company_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_WORK_LOCATION_MANAGER_PAY_GROUP: - return employments_work_location_manager_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_WORK_LOCATION_MANAGER_TEAM: - return employments_work_location_manager_team() - if self is EmployeesListRequestExpand.EMPLOYMENTS_WORK_LOCATION_MANAGER_TEAM_COMPANY: - return employments_work_location_manager_team_company() - if self is EmployeesListRequestExpand.EMPLOYMENTS_WORK_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP: - return employments_work_location_manager_team_company_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_WORK_LOCATION_MANAGER_TEAM_PAY_GROUP: - return employments_work_location_manager_team_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_WORK_LOCATION_PAY_GROUP: - return employments_work_location_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_WORK_LOCATION_TEAM: - return employments_work_location_team() - if self is EmployeesListRequestExpand.EMPLOYMENTS_WORK_LOCATION_TEAM_COMPANY: - return employments_work_location_team_company() - if self is EmployeesListRequestExpand.EMPLOYMENTS_WORK_LOCATION_TEAM_COMPANY_PAY_GROUP: - return employments_work_location_team_company_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_WORK_LOCATION_TEAM_PAY_GROUP: - return employments_work_location_team_pay_group() - if self is EmployeesListRequestExpand.GROUPS: - return groups() - if self is EmployeesListRequestExpand.GROUPS_COMPANY: - return groups_company() - if self is EmployeesListRequestExpand.GROUPS_COMPANY_PAY_GROUP: - return groups_company_pay_group() - if self is EmployeesListRequestExpand.GROUPS_HOME_LOCATION: - return groups_home_location() - if self is EmployeesListRequestExpand.GROUPS_HOME_LOCATION_COMPANY: - return groups_home_location_company() - if self is EmployeesListRequestExpand.GROUPS_HOME_LOCATION_COMPANY_PAY_GROUP: - return groups_home_location_company_pay_group() - if self is EmployeesListRequestExpand.GROUPS_HOME_LOCATION_MANAGER: - return groups_home_location_manager() - if self is EmployeesListRequestExpand.GROUPS_HOME_LOCATION_MANAGER_COMPANY: - return groups_home_location_manager_company() - if self is EmployeesListRequestExpand.GROUPS_HOME_LOCATION_MANAGER_COMPANY_PAY_GROUP: - return groups_home_location_manager_company_pay_group() - if self is EmployeesListRequestExpand.GROUPS_HOME_LOCATION_MANAGER_PAY_GROUP: - return groups_home_location_manager_pay_group() - if self is EmployeesListRequestExpand.GROUPS_HOME_LOCATION_MANAGER_TEAM: - return groups_home_location_manager_team() - if self is EmployeesListRequestExpand.GROUPS_HOME_LOCATION_MANAGER_TEAM_COMPANY: - return groups_home_location_manager_team_company() - if self is EmployeesListRequestExpand.GROUPS_HOME_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP: - return groups_home_location_manager_team_company_pay_group() - if self is EmployeesListRequestExpand.GROUPS_HOME_LOCATION_MANAGER_TEAM_PAY_GROUP: - return groups_home_location_manager_team_pay_group() - if self is EmployeesListRequestExpand.GROUPS_HOME_LOCATION_PAY_GROUP: - return groups_home_location_pay_group() - if self is EmployeesListRequestExpand.GROUPS_HOME_LOCATION_TEAM: - return groups_home_location_team() - if self is EmployeesListRequestExpand.GROUPS_HOME_LOCATION_TEAM_COMPANY: - return groups_home_location_team_company() - if self is EmployeesListRequestExpand.GROUPS_HOME_LOCATION_TEAM_COMPANY_PAY_GROUP: - return groups_home_location_team_company_pay_group() - if self is EmployeesListRequestExpand.GROUPS_HOME_LOCATION_TEAM_PAY_GROUP: - return groups_home_location_team_pay_group() - if self is EmployeesListRequestExpand.GROUPS_HOME_LOCATION_WORK_LOCATION: - return groups_home_location_work_location() - if self is EmployeesListRequestExpand.GROUPS_HOME_LOCATION_WORK_LOCATION_COMPANY: - return groups_home_location_work_location_company() - if self is EmployeesListRequestExpand.GROUPS_HOME_LOCATION_WORK_LOCATION_COMPANY_PAY_GROUP: - return groups_home_location_work_location_company_pay_group() - if self is EmployeesListRequestExpand.GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER: - return groups_home_location_work_location_manager() - if self is EmployeesListRequestExpand.GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_COMPANY: - return groups_home_location_work_location_manager_company() - if self is EmployeesListRequestExpand.GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_COMPANY_PAY_GROUP: - return groups_home_location_work_location_manager_company_pay_group() - if self is EmployeesListRequestExpand.GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_PAY_GROUP: - return groups_home_location_work_location_manager_pay_group() - if self is EmployeesListRequestExpand.GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM: - return groups_home_location_work_location_manager_team() - if self is EmployeesListRequestExpand.GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_COMPANY: - return groups_home_location_work_location_manager_team_company() - if self is EmployeesListRequestExpand.GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP: - return groups_home_location_work_location_manager_team_company_pay_group() - if self is EmployeesListRequestExpand.GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_PAY_GROUP: - return groups_home_location_work_location_manager_team_pay_group() - if self is EmployeesListRequestExpand.GROUPS_HOME_LOCATION_WORK_LOCATION_PAY_GROUP: - return groups_home_location_work_location_pay_group() - if self is EmployeesListRequestExpand.GROUPS_HOME_LOCATION_WORK_LOCATION_TEAM: - return groups_home_location_work_location_team() - if self is EmployeesListRequestExpand.GROUPS_HOME_LOCATION_WORK_LOCATION_TEAM_COMPANY: - return groups_home_location_work_location_team_company() - if self is EmployeesListRequestExpand.GROUPS_HOME_LOCATION_WORK_LOCATION_TEAM_COMPANY_PAY_GROUP: - return groups_home_location_work_location_team_company_pay_group() - if self is EmployeesListRequestExpand.GROUPS_HOME_LOCATION_WORK_LOCATION_TEAM_PAY_GROUP: - return groups_home_location_work_location_team_pay_group() - if self is EmployeesListRequestExpand.GROUPS_MANAGER: - return groups_manager() - if self is EmployeesListRequestExpand.GROUPS_MANAGER_COMPANY: - return groups_manager_company() - if self is EmployeesListRequestExpand.GROUPS_MANAGER_COMPANY_PAY_GROUP: - return groups_manager_company_pay_group() - if self is EmployeesListRequestExpand.GROUPS_MANAGER_PAY_GROUP: - return groups_manager_pay_group() - if self is EmployeesListRequestExpand.GROUPS_MANAGER_TEAM: - return groups_manager_team() - if self is EmployeesListRequestExpand.GROUPS_MANAGER_TEAM_COMPANY: - return groups_manager_team_company() - if self is EmployeesListRequestExpand.GROUPS_MANAGER_TEAM_COMPANY_PAY_GROUP: - return groups_manager_team_company_pay_group() - if self is EmployeesListRequestExpand.GROUPS_MANAGER_TEAM_PAY_GROUP: - return groups_manager_team_pay_group() - if self is EmployeesListRequestExpand.GROUPS_PAY_GROUP: - return groups_pay_group() - if self is EmployeesListRequestExpand.GROUPS_TEAM: - return groups_team() - if self is EmployeesListRequestExpand.GROUPS_TEAM_COMPANY: - return groups_team_company() - if self is EmployeesListRequestExpand.GROUPS_TEAM_COMPANY_PAY_GROUP: - return groups_team_company_pay_group() - if self is EmployeesListRequestExpand.GROUPS_TEAM_PAY_GROUP: - return groups_team_pay_group() - if self is EmployeesListRequestExpand.GROUPS_WORK_LOCATION: - return groups_work_location() - if self is EmployeesListRequestExpand.GROUPS_WORK_LOCATION_COMPANY: - return groups_work_location_company() - if self is EmployeesListRequestExpand.GROUPS_WORK_LOCATION_COMPANY_PAY_GROUP: - return groups_work_location_company_pay_group() - if self is EmployeesListRequestExpand.GROUPS_WORK_LOCATION_MANAGER: - return groups_work_location_manager() - if self is EmployeesListRequestExpand.GROUPS_WORK_LOCATION_MANAGER_COMPANY: - return groups_work_location_manager_company() - if self is EmployeesListRequestExpand.GROUPS_WORK_LOCATION_MANAGER_COMPANY_PAY_GROUP: - return groups_work_location_manager_company_pay_group() - if self is EmployeesListRequestExpand.GROUPS_WORK_LOCATION_MANAGER_PAY_GROUP: - return groups_work_location_manager_pay_group() - if self is EmployeesListRequestExpand.GROUPS_WORK_LOCATION_MANAGER_TEAM: - return groups_work_location_manager_team() - if self is EmployeesListRequestExpand.GROUPS_WORK_LOCATION_MANAGER_TEAM_COMPANY: - return groups_work_location_manager_team_company() - if self is EmployeesListRequestExpand.GROUPS_WORK_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP: - return groups_work_location_manager_team_company_pay_group() - if self is EmployeesListRequestExpand.GROUPS_WORK_LOCATION_MANAGER_TEAM_PAY_GROUP: - return groups_work_location_manager_team_pay_group() - if self is EmployeesListRequestExpand.GROUPS_WORK_LOCATION_PAY_GROUP: - return groups_work_location_pay_group() - if self is EmployeesListRequestExpand.GROUPS_WORK_LOCATION_TEAM: - return groups_work_location_team() - if self is EmployeesListRequestExpand.GROUPS_WORK_LOCATION_TEAM_COMPANY: - return groups_work_location_team_company() - if self is EmployeesListRequestExpand.GROUPS_WORK_LOCATION_TEAM_COMPANY_PAY_GROUP: - return groups_work_location_team_company_pay_group() - if self is EmployeesListRequestExpand.GROUPS_WORK_LOCATION_TEAM_PAY_GROUP: - return groups_work_location_team_pay_group() - if self is EmployeesListRequestExpand.HOME_LOCATION: - return home_location() - if self is EmployeesListRequestExpand.HOME_LOCATION_COMPANY: - return home_location_company() - if self is EmployeesListRequestExpand.HOME_LOCATION_COMPANY_PAY_GROUP: - return home_location_company_pay_group() - if self is EmployeesListRequestExpand.HOME_LOCATION_MANAGER: - return home_location_manager() - if self is EmployeesListRequestExpand.HOME_LOCATION_MANAGER_COMPANY: - return home_location_manager_company() - if self is EmployeesListRequestExpand.HOME_LOCATION_MANAGER_COMPANY_PAY_GROUP: - return home_location_manager_company_pay_group() - if self is EmployeesListRequestExpand.HOME_LOCATION_MANAGER_PAY_GROUP: - return home_location_manager_pay_group() - if self is EmployeesListRequestExpand.HOME_LOCATION_MANAGER_TEAM: - return home_location_manager_team() - if self is EmployeesListRequestExpand.HOME_LOCATION_MANAGER_TEAM_COMPANY: - return home_location_manager_team_company() - if self is EmployeesListRequestExpand.HOME_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP: - return home_location_manager_team_company_pay_group() - if self is EmployeesListRequestExpand.HOME_LOCATION_MANAGER_TEAM_PAY_GROUP: - return home_location_manager_team_pay_group() - if self is EmployeesListRequestExpand.HOME_LOCATION_PAY_GROUP: - return home_location_pay_group() - if self is EmployeesListRequestExpand.HOME_LOCATION_TEAM: - return home_location_team() - if self is EmployeesListRequestExpand.HOME_LOCATION_TEAM_COMPANY: - return home_location_team_company() - if self is EmployeesListRequestExpand.HOME_LOCATION_TEAM_COMPANY_PAY_GROUP: - return home_location_team_company_pay_group() - if self is EmployeesListRequestExpand.HOME_LOCATION_TEAM_PAY_GROUP: - return home_location_team_pay_group() - if self is EmployeesListRequestExpand.HOME_LOCATION_WORK_LOCATION: - return home_location_work_location() - if self is EmployeesListRequestExpand.HOME_LOCATION_WORK_LOCATION_COMPANY: - return home_location_work_location_company() - if self is EmployeesListRequestExpand.HOME_LOCATION_WORK_LOCATION_COMPANY_PAY_GROUP: - return home_location_work_location_company_pay_group() - if self is EmployeesListRequestExpand.HOME_LOCATION_WORK_LOCATION_MANAGER: - return home_location_work_location_manager() - if self is EmployeesListRequestExpand.HOME_LOCATION_WORK_LOCATION_MANAGER_COMPANY: - return home_location_work_location_manager_company() - if self is EmployeesListRequestExpand.HOME_LOCATION_WORK_LOCATION_MANAGER_COMPANY_PAY_GROUP: - return home_location_work_location_manager_company_pay_group() - if self is EmployeesListRequestExpand.HOME_LOCATION_WORK_LOCATION_MANAGER_PAY_GROUP: - return home_location_work_location_manager_pay_group() - if self is EmployeesListRequestExpand.HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM: - return home_location_work_location_manager_team() - if self is EmployeesListRequestExpand.HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_COMPANY: - return home_location_work_location_manager_team_company() - if self is EmployeesListRequestExpand.HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP: - return home_location_work_location_manager_team_company_pay_group() - if self is EmployeesListRequestExpand.HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_PAY_GROUP: - return home_location_work_location_manager_team_pay_group() - if self is EmployeesListRequestExpand.HOME_LOCATION_WORK_LOCATION_PAY_GROUP: - return home_location_work_location_pay_group() - if self is EmployeesListRequestExpand.HOME_LOCATION_WORK_LOCATION_TEAM: - return home_location_work_location_team() - if self is EmployeesListRequestExpand.HOME_LOCATION_WORK_LOCATION_TEAM_COMPANY: - return home_location_work_location_team_company() - if self is EmployeesListRequestExpand.HOME_LOCATION_WORK_LOCATION_TEAM_COMPANY_PAY_GROUP: - return home_location_work_location_team_company_pay_group() - if self is EmployeesListRequestExpand.HOME_LOCATION_WORK_LOCATION_TEAM_PAY_GROUP: - return home_location_work_location_team_pay_group() - if self is EmployeesListRequestExpand.MANAGER: - return manager() - if self is EmployeesListRequestExpand.MANAGER_COMPANY: - return manager_company() - if self is EmployeesListRequestExpand.MANAGER_COMPANY_PAY_GROUP: - return manager_company_pay_group() - if self is EmployeesListRequestExpand.MANAGER_PAY_GROUP: - return manager_pay_group() - if self is EmployeesListRequestExpand.MANAGER_TEAM: - return manager_team() - if self is EmployeesListRequestExpand.MANAGER_TEAM_COMPANY: - return manager_team_company() - if self is EmployeesListRequestExpand.MANAGER_TEAM_COMPANY_PAY_GROUP: - return manager_team_company_pay_group() - if self is EmployeesListRequestExpand.MANAGER_TEAM_PAY_GROUP: - return manager_team_pay_group() - if self is EmployeesListRequestExpand.PAY_GROUP: - return pay_group() - if self is EmployeesListRequestExpand.TEAM: - return team() - if self is EmployeesListRequestExpand.TEAM_COMPANY: - return team_company() - if self is EmployeesListRequestExpand.TEAM_COMPANY_PAY_GROUP: - return team_company_pay_group() - if self is EmployeesListRequestExpand.TEAM_PAY_GROUP: - return team_pay_group() - if self is EmployeesListRequestExpand.WORK_LOCATION: - return work_location() - if self is EmployeesListRequestExpand.WORK_LOCATION_COMPANY: - return work_location_company() - if self is EmployeesListRequestExpand.WORK_LOCATION_COMPANY_PAY_GROUP: - return work_location_company_pay_group() - if self is EmployeesListRequestExpand.WORK_LOCATION_MANAGER: - return work_location_manager() - if self is EmployeesListRequestExpand.WORK_LOCATION_MANAGER_COMPANY: - return work_location_manager_company() - if self is EmployeesListRequestExpand.WORK_LOCATION_MANAGER_COMPANY_PAY_GROUP: - return work_location_manager_company_pay_group() - if self is EmployeesListRequestExpand.WORK_LOCATION_MANAGER_PAY_GROUP: - return work_location_manager_pay_group() - if self is EmployeesListRequestExpand.WORK_LOCATION_MANAGER_TEAM: - return work_location_manager_team() - if self is EmployeesListRequestExpand.WORK_LOCATION_MANAGER_TEAM_COMPANY: - return work_location_manager_team_company() - if self is EmployeesListRequestExpand.WORK_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP: - return work_location_manager_team_company_pay_group() - if self is EmployeesListRequestExpand.WORK_LOCATION_MANAGER_TEAM_PAY_GROUP: - return work_location_manager_team_pay_group() - if self is EmployeesListRequestExpand.WORK_LOCATION_PAY_GROUP: - return work_location_pay_group() - if self is EmployeesListRequestExpand.WORK_LOCATION_TEAM: - return work_location_team() - if self is EmployeesListRequestExpand.WORK_LOCATION_TEAM_COMPANY: - return work_location_team_company() - if self is EmployeesListRequestExpand.WORK_LOCATION_TEAM_COMPANY_PAY_GROUP: - return work_location_team_company_pay_group() - if self is EmployeesListRequestExpand.WORK_LOCATION_TEAM_PAY_GROUP: - return work_location_team_pay_group() diff --git a/src/merge/resources/hris/resources/employees/types/employees_list_request_expand_item.py b/src/merge/resources/hris/resources/employees/types/employees_list_request_expand_item.py new file mode 100644 index 00000000..ff83f741 --- /dev/null +++ b/src/merge/resources/hris/resources/employees/types/employees_list_request_expand_item.py @@ -0,0 +1,45 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class EmployeesListRequestExpandItem(str, enum.Enum): + COMPANY = "company" + EMPLOYMENTS = "employments" + GROUPS = "groups" + HOME_LOCATION = "home_location" + MANAGER = "manager" + PAY_GROUP = "pay_group" + TEAM = "team" + WORK_LOCATION = "work_location" + + def visit( + self, + company: typing.Callable[[], T_Result], + employments: typing.Callable[[], T_Result], + groups: typing.Callable[[], T_Result], + home_location: typing.Callable[[], T_Result], + manager: typing.Callable[[], T_Result], + pay_group: typing.Callable[[], T_Result], + team: typing.Callable[[], T_Result], + work_location: typing.Callable[[], T_Result], + ) -> T_Result: + if self is EmployeesListRequestExpandItem.COMPANY: + return company() + if self is EmployeesListRequestExpandItem.EMPLOYMENTS: + return employments() + if self is EmployeesListRequestExpandItem.GROUPS: + return groups() + if self is EmployeesListRequestExpandItem.HOME_LOCATION: + return home_location() + if self is EmployeesListRequestExpandItem.MANAGER: + return manager() + if self is EmployeesListRequestExpandItem.PAY_GROUP: + return pay_group() + if self is EmployeesListRequestExpandItem.TEAM: + return team() + if self is EmployeesListRequestExpandItem.WORK_LOCATION: + return work_location() diff --git a/src/merge/resources/hris/resources/employees/types/employees_retrieve_request_expand.py b/src/merge/resources/hris/resources/employees/types/employees_retrieve_request_expand.py deleted file mode 100644 index ff4ff63c..00000000 --- a/src/merge/resources/hris/resources/employees/types/employees_retrieve_request_expand.py +++ /dev/null @@ -1,1102 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class EmployeesRetrieveRequestExpand(str, enum.Enum): - COMPANY = "company" - COMPANY_PAY_GROUP = "company,pay_group" - EMPLOYMENTS = "employments" - EMPLOYMENTS_COMPANY = "employments,company" - EMPLOYMENTS_COMPANY_PAY_GROUP = "employments,company,pay_group" - EMPLOYMENTS_GROUPS = "employments,groups" - EMPLOYMENTS_GROUPS_COMPANY = "employments,groups,company" - EMPLOYMENTS_GROUPS_COMPANY_PAY_GROUP = "employments,groups,company,pay_group" - EMPLOYMENTS_GROUPS_HOME_LOCATION = "employments,groups,home_location" - EMPLOYMENTS_GROUPS_HOME_LOCATION_COMPANY = "employments,groups,home_location,company" - EMPLOYMENTS_GROUPS_HOME_LOCATION_COMPANY_PAY_GROUP = "employments,groups,home_location,company,pay_group" - EMPLOYMENTS_GROUPS_HOME_LOCATION_MANAGER = "employments,groups,home_location,manager" - EMPLOYMENTS_GROUPS_HOME_LOCATION_MANAGER_COMPANY = "employments,groups,home_location,manager,company" - EMPLOYMENTS_GROUPS_HOME_LOCATION_MANAGER_COMPANY_PAY_GROUP = ( - "employments,groups,home_location,manager,company,pay_group" - ) - EMPLOYMENTS_GROUPS_HOME_LOCATION_MANAGER_PAY_GROUP = "employments,groups,home_location,manager,pay_group" - EMPLOYMENTS_GROUPS_HOME_LOCATION_MANAGER_TEAM = "employments,groups,home_location,manager,team" - EMPLOYMENTS_GROUPS_HOME_LOCATION_MANAGER_TEAM_COMPANY = "employments,groups,home_location,manager,team,company" - EMPLOYMENTS_GROUPS_HOME_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP = ( - "employments,groups,home_location,manager,team,company,pay_group" - ) - EMPLOYMENTS_GROUPS_HOME_LOCATION_MANAGER_TEAM_PAY_GROUP = "employments,groups,home_location,manager,team,pay_group" - EMPLOYMENTS_GROUPS_HOME_LOCATION_PAY_GROUP = "employments,groups,home_location,pay_group" - EMPLOYMENTS_GROUPS_HOME_LOCATION_TEAM = "employments,groups,home_location,team" - EMPLOYMENTS_GROUPS_HOME_LOCATION_TEAM_COMPANY = "employments,groups,home_location,team,company" - EMPLOYMENTS_GROUPS_HOME_LOCATION_TEAM_COMPANY_PAY_GROUP = "employments,groups,home_location,team,company,pay_group" - EMPLOYMENTS_GROUPS_HOME_LOCATION_TEAM_PAY_GROUP = "employments,groups,home_location,team,pay_group" - EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION = "employments,groups,home_location,work_location" - EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_COMPANY = "employments,groups,home_location,work_location,company" - EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_COMPANY_PAY_GROUP = ( - "employments,groups,home_location,work_location,company,pay_group" - ) - EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER = "employments,groups,home_location,work_location,manager" - EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_COMPANY = ( - "employments,groups,home_location,work_location,manager,company" - ) - EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_COMPANY_PAY_GROUP = ( - "employments,groups,home_location,work_location,manager,company,pay_group" - ) - EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_PAY_GROUP = ( - "employments,groups,home_location,work_location,manager,pay_group" - ) - EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM = ( - "employments,groups,home_location,work_location,manager,team" - ) - EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_COMPANY = ( - "employments,groups,home_location,work_location,manager,team,company" - ) - EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP = ( - "employments,groups,home_location,work_location,manager,team,company,pay_group" - ) - EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_PAY_GROUP = ( - "employments,groups,home_location,work_location,manager,team,pay_group" - ) - EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_PAY_GROUP = ( - "employments,groups,home_location,work_location,pay_group" - ) - EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_TEAM = "employments,groups,home_location,work_location,team" - EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_TEAM_COMPANY = ( - "employments,groups,home_location,work_location,team,company" - ) - EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_TEAM_COMPANY_PAY_GROUP = ( - "employments,groups,home_location,work_location,team,company,pay_group" - ) - EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_TEAM_PAY_GROUP = ( - "employments,groups,home_location,work_location,team,pay_group" - ) - EMPLOYMENTS_GROUPS_MANAGER = "employments,groups,manager" - EMPLOYMENTS_GROUPS_MANAGER_COMPANY = "employments,groups,manager,company" - EMPLOYMENTS_GROUPS_MANAGER_COMPANY_PAY_GROUP = "employments,groups,manager,company,pay_group" - EMPLOYMENTS_GROUPS_MANAGER_PAY_GROUP = "employments,groups,manager,pay_group" - EMPLOYMENTS_GROUPS_MANAGER_TEAM = "employments,groups,manager,team" - EMPLOYMENTS_GROUPS_MANAGER_TEAM_COMPANY = "employments,groups,manager,team,company" - EMPLOYMENTS_GROUPS_MANAGER_TEAM_COMPANY_PAY_GROUP = "employments,groups,manager,team,company,pay_group" - EMPLOYMENTS_GROUPS_MANAGER_TEAM_PAY_GROUP = "employments,groups,manager,team,pay_group" - EMPLOYMENTS_GROUPS_PAY_GROUP = "employments,groups,pay_group" - EMPLOYMENTS_GROUPS_TEAM = "employments,groups,team" - EMPLOYMENTS_GROUPS_TEAM_COMPANY = "employments,groups,team,company" - EMPLOYMENTS_GROUPS_TEAM_COMPANY_PAY_GROUP = "employments,groups,team,company,pay_group" - EMPLOYMENTS_GROUPS_TEAM_PAY_GROUP = "employments,groups,team,pay_group" - EMPLOYMENTS_GROUPS_WORK_LOCATION = "employments,groups,work_location" - EMPLOYMENTS_GROUPS_WORK_LOCATION_COMPANY = "employments,groups,work_location,company" - EMPLOYMENTS_GROUPS_WORK_LOCATION_COMPANY_PAY_GROUP = "employments,groups,work_location,company,pay_group" - EMPLOYMENTS_GROUPS_WORK_LOCATION_MANAGER = "employments,groups,work_location,manager" - EMPLOYMENTS_GROUPS_WORK_LOCATION_MANAGER_COMPANY = "employments,groups,work_location,manager,company" - EMPLOYMENTS_GROUPS_WORK_LOCATION_MANAGER_COMPANY_PAY_GROUP = ( - "employments,groups,work_location,manager,company,pay_group" - ) - EMPLOYMENTS_GROUPS_WORK_LOCATION_MANAGER_PAY_GROUP = "employments,groups,work_location,manager,pay_group" - EMPLOYMENTS_GROUPS_WORK_LOCATION_MANAGER_TEAM = "employments,groups,work_location,manager,team" - EMPLOYMENTS_GROUPS_WORK_LOCATION_MANAGER_TEAM_COMPANY = "employments,groups,work_location,manager,team,company" - EMPLOYMENTS_GROUPS_WORK_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP = ( - "employments,groups,work_location,manager,team,company,pay_group" - ) - EMPLOYMENTS_GROUPS_WORK_LOCATION_MANAGER_TEAM_PAY_GROUP = "employments,groups,work_location,manager,team,pay_group" - EMPLOYMENTS_GROUPS_WORK_LOCATION_PAY_GROUP = "employments,groups,work_location,pay_group" - EMPLOYMENTS_GROUPS_WORK_LOCATION_TEAM = "employments,groups,work_location,team" - EMPLOYMENTS_GROUPS_WORK_LOCATION_TEAM_COMPANY = "employments,groups,work_location,team,company" - EMPLOYMENTS_GROUPS_WORK_LOCATION_TEAM_COMPANY_PAY_GROUP = "employments,groups,work_location,team,company,pay_group" - EMPLOYMENTS_GROUPS_WORK_LOCATION_TEAM_PAY_GROUP = "employments,groups,work_location,team,pay_group" - EMPLOYMENTS_HOME_LOCATION = "employments,home_location" - EMPLOYMENTS_HOME_LOCATION_COMPANY = "employments,home_location,company" - EMPLOYMENTS_HOME_LOCATION_COMPANY_PAY_GROUP = "employments,home_location,company,pay_group" - EMPLOYMENTS_HOME_LOCATION_MANAGER = "employments,home_location,manager" - EMPLOYMENTS_HOME_LOCATION_MANAGER_COMPANY = "employments,home_location,manager,company" - EMPLOYMENTS_HOME_LOCATION_MANAGER_COMPANY_PAY_GROUP = "employments,home_location,manager,company,pay_group" - EMPLOYMENTS_HOME_LOCATION_MANAGER_PAY_GROUP = "employments,home_location,manager,pay_group" - EMPLOYMENTS_HOME_LOCATION_MANAGER_TEAM = "employments,home_location,manager,team" - EMPLOYMENTS_HOME_LOCATION_MANAGER_TEAM_COMPANY = "employments,home_location,manager,team,company" - EMPLOYMENTS_HOME_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP = ( - "employments,home_location,manager,team,company,pay_group" - ) - EMPLOYMENTS_HOME_LOCATION_MANAGER_TEAM_PAY_GROUP = "employments,home_location,manager,team,pay_group" - EMPLOYMENTS_HOME_LOCATION_PAY_GROUP = "employments,home_location,pay_group" - EMPLOYMENTS_HOME_LOCATION_TEAM = "employments,home_location,team" - EMPLOYMENTS_HOME_LOCATION_TEAM_COMPANY = "employments,home_location,team,company" - EMPLOYMENTS_HOME_LOCATION_TEAM_COMPANY_PAY_GROUP = "employments,home_location,team,company,pay_group" - EMPLOYMENTS_HOME_LOCATION_TEAM_PAY_GROUP = "employments,home_location,team,pay_group" - EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION = "employments,home_location,work_location" - EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_COMPANY = "employments,home_location,work_location,company" - EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_COMPANY_PAY_GROUP = ( - "employments,home_location,work_location,company,pay_group" - ) - EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_MANAGER = "employments,home_location,work_location,manager" - EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_MANAGER_COMPANY = "employments,home_location,work_location,manager,company" - EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_MANAGER_COMPANY_PAY_GROUP = ( - "employments,home_location,work_location,manager,company,pay_group" - ) - EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_MANAGER_PAY_GROUP = ( - "employments,home_location,work_location,manager,pay_group" - ) - EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM = "employments,home_location,work_location,manager,team" - EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_COMPANY = ( - "employments,home_location,work_location,manager,team,company" - ) - EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP = ( - "employments,home_location,work_location,manager,team,company,pay_group" - ) - EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_PAY_GROUP = ( - "employments,home_location,work_location,manager,team,pay_group" - ) - EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_PAY_GROUP = "employments,home_location,work_location,pay_group" - EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_TEAM = "employments,home_location,work_location,team" - EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_TEAM_COMPANY = "employments,home_location,work_location,team,company" - EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_TEAM_COMPANY_PAY_GROUP = ( - "employments,home_location,work_location,team,company,pay_group" - ) - EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_TEAM_PAY_GROUP = "employments,home_location,work_location,team,pay_group" - EMPLOYMENTS_MANAGER = "employments,manager" - EMPLOYMENTS_MANAGER_COMPANY = "employments,manager,company" - EMPLOYMENTS_MANAGER_COMPANY_PAY_GROUP = "employments,manager,company,pay_group" - EMPLOYMENTS_MANAGER_PAY_GROUP = "employments,manager,pay_group" - EMPLOYMENTS_MANAGER_TEAM = "employments,manager,team" - EMPLOYMENTS_MANAGER_TEAM_COMPANY = "employments,manager,team,company" - EMPLOYMENTS_MANAGER_TEAM_COMPANY_PAY_GROUP = "employments,manager,team,company,pay_group" - EMPLOYMENTS_MANAGER_TEAM_PAY_GROUP = "employments,manager,team,pay_group" - EMPLOYMENTS_PAY_GROUP = "employments,pay_group" - EMPLOYMENTS_TEAM = "employments,team" - EMPLOYMENTS_TEAM_COMPANY = "employments,team,company" - EMPLOYMENTS_TEAM_COMPANY_PAY_GROUP = "employments,team,company,pay_group" - EMPLOYMENTS_TEAM_PAY_GROUP = "employments,team,pay_group" - EMPLOYMENTS_WORK_LOCATION = "employments,work_location" - EMPLOYMENTS_WORK_LOCATION_COMPANY = "employments,work_location,company" - EMPLOYMENTS_WORK_LOCATION_COMPANY_PAY_GROUP = "employments,work_location,company,pay_group" - EMPLOYMENTS_WORK_LOCATION_MANAGER = "employments,work_location,manager" - EMPLOYMENTS_WORK_LOCATION_MANAGER_COMPANY = "employments,work_location,manager,company" - EMPLOYMENTS_WORK_LOCATION_MANAGER_COMPANY_PAY_GROUP = "employments,work_location,manager,company,pay_group" - EMPLOYMENTS_WORK_LOCATION_MANAGER_PAY_GROUP = "employments,work_location,manager,pay_group" - EMPLOYMENTS_WORK_LOCATION_MANAGER_TEAM = "employments,work_location,manager,team" - EMPLOYMENTS_WORK_LOCATION_MANAGER_TEAM_COMPANY = "employments,work_location,manager,team,company" - EMPLOYMENTS_WORK_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP = ( - "employments,work_location,manager,team,company,pay_group" - ) - EMPLOYMENTS_WORK_LOCATION_MANAGER_TEAM_PAY_GROUP = "employments,work_location,manager,team,pay_group" - EMPLOYMENTS_WORK_LOCATION_PAY_GROUP = "employments,work_location,pay_group" - EMPLOYMENTS_WORK_LOCATION_TEAM = "employments,work_location,team" - EMPLOYMENTS_WORK_LOCATION_TEAM_COMPANY = "employments,work_location,team,company" - EMPLOYMENTS_WORK_LOCATION_TEAM_COMPANY_PAY_GROUP = "employments,work_location,team,company,pay_group" - EMPLOYMENTS_WORK_LOCATION_TEAM_PAY_GROUP = "employments,work_location,team,pay_group" - GROUPS = "groups" - GROUPS_COMPANY = "groups,company" - GROUPS_COMPANY_PAY_GROUP = "groups,company,pay_group" - GROUPS_HOME_LOCATION = "groups,home_location" - GROUPS_HOME_LOCATION_COMPANY = "groups,home_location,company" - GROUPS_HOME_LOCATION_COMPANY_PAY_GROUP = "groups,home_location,company,pay_group" - GROUPS_HOME_LOCATION_MANAGER = "groups,home_location,manager" - GROUPS_HOME_LOCATION_MANAGER_COMPANY = "groups,home_location,manager,company" - GROUPS_HOME_LOCATION_MANAGER_COMPANY_PAY_GROUP = "groups,home_location,manager,company,pay_group" - GROUPS_HOME_LOCATION_MANAGER_PAY_GROUP = "groups,home_location,manager,pay_group" - GROUPS_HOME_LOCATION_MANAGER_TEAM = "groups,home_location,manager,team" - GROUPS_HOME_LOCATION_MANAGER_TEAM_COMPANY = "groups,home_location,manager,team,company" - GROUPS_HOME_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP = "groups,home_location,manager,team,company,pay_group" - GROUPS_HOME_LOCATION_MANAGER_TEAM_PAY_GROUP = "groups,home_location,manager,team,pay_group" - GROUPS_HOME_LOCATION_PAY_GROUP = "groups,home_location,pay_group" - GROUPS_HOME_LOCATION_TEAM = "groups,home_location,team" - GROUPS_HOME_LOCATION_TEAM_COMPANY = "groups,home_location,team,company" - GROUPS_HOME_LOCATION_TEAM_COMPANY_PAY_GROUP = "groups,home_location,team,company,pay_group" - GROUPS_HOME_LOCATION_TEAM_PAY_GROUP = "groups,home_location,team,pay_group" - GROUPS_HOME_LOCATION_WORK_LOCATION = "groups,home_location,work_location" - GROUPS_HOME_LOCATION_WORK_LOCATION_COMPANY = "groups,home_location,work_location,company" - GROUPS_HOME_LOCATION_WORK_LOCATION_COMPANY_PAY_GROUP = "groups,home_location,work_location,company,pay_group" - GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER = "groups,home_location,work_location,manager" - GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_COMPANY = "groups,home_location,work_location,manager,company" - GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_COMPANY_PAY_GROUP = ( - "groups,home_location,work_location,manager,company,pay_group" - ) - GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_PAY_GROUP = "groups,home_location,work_location,manager,pay_group" - GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM = "groups,home_location,work_location,manager,team" - GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_COMPANY = "groups,home_location,work_location,manager,team,company" - GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP = ( - "groups,home_location,work_location,manager,team,company,pay_group" - ) - GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_PAY_GROUP = ( - "groups,home_location,work_location,manager,team,pay_group" - ) - GROUPS_HOME_LOCATION_WORK_LOCATION_PAY_GROUP = "groups,home_location,work_location,pay_group" - GROUPS_HOME_LOCATION_WORK_LOCATION_TEAM = "groups,home_location,work_location,team" - GROUPS_HOME_LOCATION_WORK_LOCATION_TEAM_COMPANY = "groups,home_location,work_location,team,company" - GROUPS_HOME_LOCATION_WORK_LOCATION_TEAM_COMPANY_PAY_GROUP = ( - "groups,home_location,work_location,team,company,pay_group" - ) - GROUPS_HOME_LOCATION_WORK_LOCATION_TEAM_PAY_GROUP = "groups,home_location,work_location,team,pay_group" - GROUPS_MANAGER = "groups,manager" - GROUPS_MANAGER_COMPANY = "groups,manager,company" - GROUPS_MANAGER_COMPANY_PAY_GROUP = "groups,manager,company,pay_group" - GROUPS_MANAGER_PAY_GROUP = "groups,manager,pay_group" - GROUPS_MANAGER_TEAM = "groups,manager,team" - GROUPS_MANAGER_TEAM_COMPANY = "groups,manager,team,company" - GROUPS_MANAGER_TEAM_COMPANY_PAY_GROUP = "groups,manager,team,company,pay_group" - GROUPS_MANAGER_TEAM_PAY_GROUP = "groups,manager,team,pay_group" - GROUPS_PAY_GROUP = "groups,pay_group" - GROUPS_TEAM = "groups,team" - GROUPS_TEAM_COMPANY = "groups,team,company" - GROUPS_TEAM_COMPANY_PAY_GROUP = "groups,team,company,pay_group" - GROUPS_TEAM_PAY_GROUP = "groups,team,pay_group" - GROUPS_WORK_LOCATION = "groups,work_location" - GROUPS_WORK_LOCATION_COMPANY = "groups,work_location,company" - GROUPS_WORK_LOCATION_COMPANY_PAY_GROUP = "groups,work_location,company,pay_group" - GROUPS_WORK_LOCATION_MANAGER = "groups,work_location,manager" - GROUPS_WORK_LOCATION_MANAGER_COMPANY = "groups,work_location,manager,company" - GROUPS_WORK_LOCATION_MANAGER_COMPANY_PAY_GROUP = "groups,work_location,manager,company,pay_group" - GROUPS_WORK_LOCATION_MANAGER_PAY_GROUP = "groups,work_location,manager,pay_group" - GROUPS_WORK_LOCATION_MANAGER_TEAM = "groups,work_location,manager,team" - GROUPS_WORK_LOCATION_MANAGER_TEAM_COMPANY = "groups,work_location,manager,team,company" - GROUPS_WORK_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP = "groups,work_location,manager,team,company,pay_group" - GROUPS_WORK_LOCATION_MANAGER_TEAM_PAY_GROUP = "groups,work_location,manager,team,pay_group" - GROUPS_WORK_LOCATION_PAY_GROUP = "groups,work_location,pay_group" - GROUPS_WORK_LOCATION_TEAM = "groups,work_location,team" - GROUPS_WORK_LOCATION_TEAM_COMPANY = "groups,work_location,team,company" - GROUPS_WORK_LOCATION_TEAM_COMPANY_PAY_GROUP = "groups,work_location,team,company,pay_group" - GROUPS_WORK_LOCATION_TEAM_PAY_GROUP = "groups,work_location,team,pay_group" - HOME_LOCATION = "home_location" - HOME_LOCATION_COMPANY = "home_location,company" - HOME_LOCATION_COMPANY_PAY_GROUP = "home_location,company,pay_group" - HOME_LOCATION_MANAGER = "home_location,manager" - HOME_LOCATION_MANAGER_COMPANY = "home_location,manager,company" - HOME_LOCATION_MANAGER_COMPANY_PAY_GROUP = "home_location,manager,company,pay_group" - HOME_LOCATION_MANAGER_PAY_GROUP = "home_location,manager,pay_group" - HOME_LOCATION_MANAGER_TEAM = "home_location,manager,team" - HOME_LOCATION_MANAGER_TEAM_COMPANY = "home_location,manager,team,company" - HOME_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP = "home_location,manager,team,company,pay_group" - HOME_LOCATION_MANAGER_TEAM_PAY_GROUP = "home_location,manager,team,pay_group" - HOME_LOCATION_PAY_GROUP = "home_location,pay_group" - HOME_LOCATION_TEAM = "home_location,team" - HOME_LOCATION_TEAM_COMPANY = "home_location,team,company" - HOME_LOCATION_TEAM_COMPANY_PAY_GROUP = "home_location,team,company,pay_group" - HOME_LOCATION_TEAM_PAY_GROUP = "home_location,team,pay_group" - HOME_LOCATION_WORK_LOCATION = "home_location,work_location" - HOME_LOCATION_WORK_LOCATION_COMPANY = "home_location,work_location,company" - HOME_LOCATION_WORK_LOCATION_COMPANY_PAY_GROUP = "home_location,work_location,company,pay_group" - HOME_LOCATION_WORK_LOCATION_MANAGER = "home_location,work_location,manager" - HOME_LOCATION_WORK_LOCATION_MANAGER_COMPANY = "home_location,work_location,manager,company" - HOME_LOCATION_WORK_LOCATION_MANAGER_COMPANY_PAY_GROUP = "home_location,work_location,manager,company,pay_group" - HOME_LOCATION_WORK_LOCATION_MANAGER_PAY_GROUP = "home_location,work_location,manager,pay_group" - HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM = "home_location,work_location,manager,team" - HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_COMPANY = "home_location,work_location,manager,team,company" - HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP = ( - "home_location,work_location,manager,team,company,pay_group" - ) - HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_PAY_GROUP = "home_location,work_location,manager,team,pay_group" - HOME_LOCATION_WORK_LOCATION_PAY_GROUP = "home_location,work_location,pay_group" - HOME_LOCATION_WORK_LOCATION_TEAM = "home_location,work_location,team" - HOME_LOCATION_WORK_LOCATION_TEAM_COMPANY = "home_location,work_location,team,company" - HOME_LOCATION_WORK_LOCATION_TEAM_COMPANY_PAY_GROUP = "home_location,work_location,team,company,pay_group" - HOME_LOCATION_WORK_LOCATION_TEAM_PAY_GROUP = "home_location,work_location,team,pay_group" - MANAGER = "manager" - MANAGER_COMPANY = "manager,company" - MANAGER_COMPANY_PAY_GROUP = "manager,company,pay_group" - MANAGER_PAY_GROUP = "manager,pay_group" - MANAGER_TEAM = "manager,team" - MANAGER_TEAM_COMPANY = "manager,team,company" - MANAGER_TEAM_COMPANY_PAY_GROUP = "manager,team,company,pay_group" - MANAGER_TEAM_PAY_GROUP = "manager,team,pay_group" - PAY_GROUP = "pay_group" - TEAM = "team" - TEAM_COMPANY = "team,company" - TEAM_COMPANY_PAY_GROUP = "team,company,pay_group" - TEAM_PAY_GROUP = "team,pay_group" - WORK_LOCATION = "work_location" - WORK_LOCATION_COMPANY = "work_location,company" - WORK_LOCATION_COMPANY_PAY_GROUP = "work_location,company,pay_group" - WORK_LOCATION_MANAGER = "work_location,manager" - WORK_LOCATION_MANAGER_COMPANY = "work_location,manager,company" - WORK_LOCATION_MANAGER_COMPANY_PAY_GROUP = "work_location,manager,company,pay_group" - WORK_LOCATION_MANAGER_PAY_GROUP = "work_location,manager,pay_group" - WORK_LOCATION_MANAGER_TEAM = "work_location,manager,team" - WORK_LOCATION_MANAGER_TEAM_COMPANY = "work_location,manager,team,company" - WORK_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP = "work_location,manager,team,company,pay_group" - WORK_LOCATION_MANAGER_TEAM_PAY_GROUP = "work_location,manager,team,pay_group" - WORK_LOCATION_PAY_GROUP = "work_location,pay_group" - WORK_LOCATION_TEAM = "work_location,team" - WORK_LOCATION_TEAM_COMPANY = "work_location,team,company" - WORK_LOCATION_TEAM_COMPANY_PAY_GROUP = "work_location,team,company,pay_group" - WORK_LOCATION_TEAM_PAY_GROUP = "work_location,team,pay_group" - - def visit( - self, - company: typing.Callable[[], T_Result], - company_pay_group: typing.Callable[[], T_Result], - employments: typing.Callable[[], T_Result], - employments_company: typing.Callable[[], T_Result], - employments_company_pay_group: typing.Callable[[], T_Result], - employments_groups: typing.Callable[[], T_Result], - employments_groups_company: typing.Callable[[], T_Result], - employments_groups_company_pay_group: typing.Callable[[], T_Result], - employments_groups_home_location: typing.Callable[[], T_Result], - employments_groups_home_location_company: typing.Callable[[], T_Result], - employments_groups_home_location_company_pay_group: typing.Callable[[], T_Result], - employments_groups_home_location_manager: typing.Callable[[], T_Result], - employments_groups_home_location_manager_company: typing.Callable[[], T_Result], - employments_groups_home_location_manager_company_pay_group: typing.Callable[[], T_Result], - employments_groups_home_location_manager_pay_group: typing.Callable[[], T_Result], - employments_groups_home_location_manager_team: typing.Callable[[], T_Result], - employments_groups_home_location_manager_team_company: typing.Callable[[], T_Result], - employments_groups_home_location_manager_team_company_pay_group: typing.Callable[[], T_Result], - employments_groups_home_location_manager_team_pay_group: typing.Callable[[], T_Result], - employments_groups_home_location_pay_group: typing.Callable[[], T_Result], - employments_groups_home_location_team: typing.Callable[[], T_Result], - employments_groups_home_location_team_company: typing.Callable[[], T_Result], - employments_groups_home_location_team_company_pay_group: typing.Callable[[], T_Result], - employments_groups_home_location_team_pay_group: typing.Callable[[], T_Result], - employments_groups_home_location_work_location: typing.Callable[[], T_Result], - employments_groups_home_location_work_location_company: typing.Callable[[], T_Result], - employments_groups_home_location_work_location_company_pay_group: typing.Callable[[], T_Result], - employments_groups_home_location_work_location_manager: typing.Callable[[], T_Result], - employments_groups_home_location_work_location_manager_company: typing.Callable[[], T_Result], - employments_groups_home_location_work_location_manager_company_pay_group: typing.Callable[[], T_Result], - employments_groups_home_location_work_location_manager_pay_group: typing.Callable[[], T_Result], - employments_groups_home_location_work_location_manager_team: typing.Callable[[], T_Result], - employments_groups_home_location_work_location_manager_team_company: typing.Callable[[], T_Result], - employments_groups_home_location_work_location_manager_team_company_pay_group: typing.Callable[[], T_Result], - employments_groups_home_location_work_location_manager_team_pay_group: typing.Callable[[], T_Result], - employments_groups_home_location_work_location_pay_group: typing.Callable[[], T_Result], - employments_groups_home_location_work_location_team: typing.Callable[[], T_Result], - employments_groups_home_location_work_location_team_company: typing.Callable[[], T_Result], - employments_groups_home_location_work_location_team_company_pay_group: typing.Callable[[], T_Result], - employments_groups_home_location_work_location_team_pay_group: typing.Callable[[], T_Result], - employments_groups_manager: typing.Callable[[], T_Result], - employments_groups_manager_company: typing.Callable[[], T_Result], - employments_groups_manager_company_pay_group: typing.Callable[[], T_Result], - employments_groups_manager_pay_group: typing.Callable[[], T_Result], - employments_groups_manager_team: typing.Callable[[], T_Result], - employments_groups_manager_team_company: typing.Callable[[], T_Result], - employments_groups_manager_team_company_pay_group: typing.Callable[[], T_Result], - employments_groups_manager_team_pay_group: typing.Callable[[], T_Result], - employments_groups_pay_group: typing.Callable[[], T_Result], - employments_groups_team: typing.Callable[[], T_Result], - employments_groups_team_company: typing.Callable[[], T_Result], - employments_groups_team_company_pay_group: typing.Callable[[], T_Result], - employments_groups_team_pay_group: typing.Callable[[], T_Result], - employments_groups_work_location: typing.Callable[[], T_Result], - employments_groups_work_location_company: typing.Callable[[], T_Result], - employments_groups_work_location_company_pay_group: typing.Callable[[], T_Result], - employments_groups_work_location_manager: typing.Callable[[], T_Result], - employments_groups_work_location_manager_company: typing.Callable[[], T_Result], - employments_groups_work_location_manager_company_pay_group: typing.Callable[[], T_Result], - employments_groups_work_location_manager_pay_group: typing.Callable[[], T_Result], - employments_groups_work_location_manager_team: typing.Callable[[], T_Result], - employments_groups_work_location_manager_team_company: typing.Callable[[], T_Result], - employments_groups_work_location_manager_team_company_pay_group: typing.Callable[[], T_Result], - employments_groups_work_location_manager_team_pay_group: typing.Callable[[], T_Result], - employments_groups_work_location_pay_group: typing.Callable[[], T_Result], - employments_groups_work_location_team: typing.Callable[[], T_Result], - employments_groups_work_location_team_company: typing.Callable[[], T_Result], - employments_groups_work_location_team_company_pay_group: typing.Callable[[], T_Result], - employments_groups_work_location_team_pay_group: typing.Callable[[], T_Result], - employments_home_location: typing.Callable[[], T_Result], - employments_home_location_company: typing.Callable[[], T_Result], - employments_home_location_company_pay_group: typing.Callable[[], T_Result], - employments_home_location_manager: typing.Callable[[], T_Result], - employments_home_location_manager_company: typing.Callable[[], T_Result], - employments_home_location_manager_company_pay_group: typing.Callable[[], T_Result], - employments_home_location_manager_pay_group: typing.Callable[[], T_Result], - employments_home_location_manager_team: typing.Callable[[], T_Result], - employments_home_location_manager_team_company: typing.Callable[[], T_Result], - employments_home_location_manager_team_company_pay_group: typing.Callable[[], T_Result], - employments_home_location_manager_team_pay_group: typing.Callable[[], T_Result], - employments_home_location_pay_group: typing.Callable[[], T_Result], - employments_home_location_team: typing.Callable[[], T_Result], - employments_home_location_team_company: typing.Callable[[], T_Result], - employments_home_location_team_company_pay_group: typing.Callable[[], T_Result], - employments_home_location_team_pay_group: typing.Callable[[], T_Result], - employments_home_location_work_location: typing.Callable[[], T_Result], - employments_home_location_work_location_company: typing.Callable[[], T_Result], - employments_home_location_work_location_company_pay_group: typing.Callable[[], T_Result], - employments_home_location_work_location_manager: typing.Callable[[], T_Result], - employments_home_location_work_location_manager_company: typing.Callable[[], T_Result], - employments_home_location_work_location_manager_company_pay_group: typing.Callable[[], T_Result], - employments_home_location_work_location_manager_pay_group: typing.Callable[[], T_Result], - employments_home_location_work_location_manager_team: typing.Callable[[], T_Result], - employments_home_location_work_location_manager_team_company: typing.Callable[[], T_Result], - employments_home_location_work_location_manager_team_company_pay_group: typing.Callable[[], T_Result], - employments_home_location_work_location_manager_team_pay_group: typing.Callable[[], T_Result], - employments_home_location_work_location_pay_group: typing.Callable[[], T_Result], - employments_home_location_work_location_team: typing.Callable[[], T_Result], - employments_home_location_work_location_team_company: typing.Callable[[], T_Result], - employments_home_location_work_location_team_company_pay_group: typing.Callable[[], T_Result], - employments_home_location_work_location_team_pay_group: typing.Callable[[], T_Result], - employments_manager: typing.Callable[[], T_Result], - employments_manager_company: typing.Callable[[], T_Result], - employments_manager_company_pay_group: typing.Callable[[], T_Result], - employments_manager_pay_group: typing.Callable[[], T_Result], - employments_manager_team: typing.Callable[[], T_Result], - employments_manager_team_company: typing.Callable[[], T_Result], - employments_manager_team_company_pay_group: typing.Callable[[], T_Result], - employments_manager_team_pay_group: typing.Callable[[], T_Result], - employments_pay_group: typing.Callable[[], T_Result], - employments_team: typing.Callable[[], T_Result], - employments_team_company: typing.Callable[[], T_Result], - employments_team_company_pay_group: typing.Callable[[], T_Result], - employments_team_pay_group: typing.Callable[[], T_Result], - employments_work_location: typing.Callable[[], T_Result], - employments_work_location_company: typing.Callable[[], T_Result], - employments_work_location_company_pay_group: typing.Callable[[], T_Result], - employments_work_location_manager: typing.Callable[[], T_Result], - employments_work_location_manager_company: typing.Callable[[], T_Result], - employments_work_location_manager_company_pay_group: typing.Callable[[], T_Result], - employments_work_location_manager_pay_group: typing.Callable[[], T_Result], - employments_work_location_manager_team: typing.Callable[[], T_Result], - employments_work_location_manager_team_company: typing.Callable[[], T_Result], - employments_work_location_manager_team_company_pay_group: typing.Callable[[], T_Result], - employments_work_location_manager_team_pay_group: typing.Callable[[], T_Result], - employments_work_location_pay_group: typing.Callable[[], T_Result], - employments_work_location_team: typing.Callable[[], T_Result], - employments_work_location_team_company: typing.Callable[[], T_Result], - employments_work_location_team_company_pay_group: typing.Callable[[], T_Result], - employments_work_location_team_pay_group: typing.Callable[[], T_Result], - groups: typing.Callable[[], T_Result], - groups_company: typing.Callable[[], T_Result], - groups_company_pay_group: typing.Callable[[], T_Result], - groups_home_location: typing.Callable[[], T_Result], - groups_home_location_company: typing.Callable[[], T_Result], - groups_home_location_company_pay_group: typing.Callable[[], T_Result], - groups_home_location_manager: typing.Callable[[], T_Result], - groups_home_location_manager_company: typing.Callable[[], T_Result], - groups_home_location_manager_company_pay_group: typing.Callable[[], T_Result], - groups_home_location_manager_pay_group: typing.Callable[[], T_Result], - groups_home_location_manager_team: typing.Callable[[], T_Result], - groups_home_location_manager_team_company: typing.Callable[[], T_Result], - groups_home_location_manager_team_company_pay_group: typing.Callable[[], T_Result], - groups_home_location_manager_team_pay_group: typing.Callable[[], T_Result], - groups_home_location_pay_group: typing.Callable[[], T_Result], - groups_home_location_team: typing.Callable[[], T_Result], - groups_home_location_team_company: typing.Callable[[], T_Result], - groups_home_location_team_company_pay_group: typing.Callable[[], T_Result], - groups_home_location_team_pay_group: typing.Callable[[], T_Result], - groups_home_location_work_location: typing.Callable[[], T_Result], - groups_home_location_work_location_company: typing.Callable[[], T_Result], - groups_home_location_work_location_company_pay_group: typing.Callable[[], T_Result], - groups_home_location_work_location_manager: typing.Callable[[], T_Result], - groups_home_location_work_location_manager_company: typing.Callable[[], T_Result], - groups_home_location_work_location_manager_company_pay_group: typing.Callable[[], T_Result], - groups_home_location_work_location_manager_pay_group: typing.Callable[[], T_Result], - groups_home_location_work_location_manager_team: typing.Callable[[], T_Result], - groups_home_location_work_location_manager_team_company: typing.Callable[[], T_Result], - groups_home_location_work_location_manager_team_company_pay_group: typing.Callable[[], T_Result], - groups_home_location_work_location_manager_team_pay_group: typing.Callable[[], T_Result], - groups_home_location_work_location_pay_group: typing.Callable[[], T_Result], - groups_home_location_work_location_team: typing.Callable[[], T_Result], - groups_home_location_work_location_team_company: typing.Callable[[], T_Result], - groups_home_location_work_location_team_company_pay_group: typing.Callable[[], T_Result], - groups_home_location_work_location_team_pay_group: typing.Callable[[], T_Result], - groups_manager: typing.Callable[[], T_Result], - groups_manager_company: typing.Callable[[], T_Result], - groups_manager_company_pay_group: typing.Callable[[], T_Result], - groups_manager_pay_group: typing.Callable[[], T_Result], - groups_manager_team: typing.Callable[[], T_Result], - groups_manager_team_company: typing.Callable[[], T_Result], - groups_manager_team_company_pay_group: typing.Callable[[], T_Result], - groups_manager_team_pay_group: typing.Callable[[], T_Result], - groups_pay_group: typing.Callable[[], T_Result], - groups_team: typing.Callable[[], T_Result], - groups_team_company: typing.Callable[[], T_Result], - groups_team_company_pay_group: typing.Callable[[], T_Result], - groups_team_pay_group: typing.Callable[[], T_Result], - groups_work_location: typing.Callable[[], T_Result], - groups_work_location_company: typing.Callable[[], T_Result], - groups_work_location_company_pay_group: typing.Callable[[], T_Result], - groups_work_location_manager: typing.Callable[[], T_Result], - groups_work_location_manager_company: typing.Callable[[], T_Result], - groups_work_location_manager_company_pay_group: typing.Callable[[], T_Result], - groups_work_location_manager_pay_group: typing.Callable[[], T_Result], - groups_work_location_manager_team: typing.Callable[[], T_Result], - groups_work_location_manager_team_company: typing.Callable[[], T_Result], - groups_work_location_manager_team_company_pay_group: typing.Callable[[], T_Result], - groups_work_location_manager_team_pay_group: typing.Callable[[], T_Result], - groups_work_location_pay_group: typing.Callable[[], T_Result], - groups_work_location_team: typing.Callable[[], T_Result], - groups_work_location_team_company: typing.Callable[[], T_Result], - groups_work_location_team_company_pay_group: typing.Callable[[], T_Result], - groups_work_location_team_pay_group: typing.Callable[[], T_Result], - home_location: typing.Callable[[], T_Result], - home_location_company: typing.Callable[[], T_Result], - home_location_company_pay_group: typing.Callable[[], T_Result], - home_location_manager: typing.Callable[[], T_Result], - home_location_manager_company: typing.Callable[[], T_Result], - home_location_manager_company_pay_group: typing.Callable[[], T_Result], - home_location_manager_pay_group: typing.Callable[[], T_Result], - home_location_manager_team: typing.Callable[[], T_Result], - home_location_manager_team_company: typing.Callable[[], T_Result], - home_location_manager_team_company_pay_group: typing.Callable[[], T_Result], - home_location_manager_team_pay_group: typing.Callable[[], T_Result], - home_location_pay_group: typing.Callable[[], T_Result], - home_location_team: typing.Callable[[], T_Result], - home_location_team_company: typing.Callable[[], T_Result], - home_location_team_company_pay_group: typing.Callable[[], T_Result], - home_location_team_pay_group: typing.Callable[[], T_Result], - home_location_work_location: typing.Callable[[], T_Result], - home_location_work_location_company: typing.Callable[[], T_Result], - home_location_work_location_company_pay_group: typing.Callable[[], T_Result], - home_location_work_location_manager: typing.Callable[[], T_Result], - home_location_work_location_manager_company: typing.Callable[[], T_Result], - home_location_work_location_manager_company_pay_group: typing.Callable[[], T_Result], - home_location_work_location_manager_pay_group: typing.Callable[[], T_Result], - home_location_work_location_manager_team: typing.Callable[[], T_Result], - home_location_work_location_manager_team_company: typing.Callable[[], T_Result], - home_location_work_location_manager_team_company_pay_group: typing.Callable[[], T_Result], - home_location_work_location_manager_team_pay_group: typing.Callable[[], T_Result], - home_location_work_location_pay_group: typing.Callable[[], T_Result], - home_location_work_location_team: typing.Callable[[], T_Result], - home_location_work_location_team_company: typing.Callable[[], T_Result], - home_location_work_location_team_company_pay_group: typing.Callable[[], T_Result], - home_location_work_location_team_pay_group: typing.Callable[[], T_Result], - manager: typing.Callable[[], T_Result], - manager_company: typing.Callable[[], T_Result], - manager_company_pay_group: typing.Callable[[], T_Result], - manager_pay_group: typing.Callable[[], T_Result], - manager_team: typing.Callable[[], T_Result], - manager_team_company: typing.Callable[[], T_Result], - manager_team_company_pay_group: typing.Callable[[], T_Result], - manager_team_pay_group: typing.Callable[[], T_Result], - pay_group: typing.Callable[[], T_Result], - team: typing.Callable[[], T_Result], - team_company: typing.Callable[[], T_Result], - team_company_pay_group: typing.Callable[[], T_Result], - team_pay_group: typing.Callable[[], T_Result], - work_location: typing.Callable[[], T_Result], - work_location_company: typing.Callable[[], T_Result], - work_location_company_pay_group: typing.Callable[[], T_Result], - work_location_manager: typing.Callable[[], T_Result], - work_location_manager_company: typing.Callable[[], T_Result], - work_location_manager_company_pay_group: typing.Callable[[], T_Result], - work_location_manager_pay_group: typing.Callable[[], T_Result], - work_location_manager_team: typing.Callable[[], T_Result], - work_location_manager_team_company: typing.Callable[[], T_Result], - work_location_manager_team_company_pay_group: typing.Callable[[], T_Result], - work_location_manager_team_pay_group: typing.Callable[[], T_Result], - work_location_pay_group: typing.Callable[[], T_Result], - work_location_team: typing.Callable[[], T_Result], - work_location_team_company: typing.Callable[[], T_Result], - work_location_team_company_pay_group: typing.Callable[[], T_Result], - work_location_team_pay_group: typing.Callable[[], T_Result], - ) -> T_Result: - if self is EmployeesRetrieveRequestExpand.COMPANY: - return company() - if self is EmployeesRetrieveRequestExpand.COMPANY_PAY_GROUP: - return company_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS: - return employments() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_COMPANY: - return employments_company() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_COMPANY_PAY_GROUP: - return employments_company_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS: - return employments_groups() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_COMPANY: - return employments_groups_company() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_COMPANY_PAY_GROUP: - return employments_groups_company_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION: - return employments_groups_home_location() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_COMPANY: - return employments_groups_home_location_company() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_COMPANY_PAY_GROUP: - return employments_groups_home_location_company_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_MANAGER: - return employments_groups_home_location_manager() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_MANAGER_COMPANY: - return employments_groups_home_location_manager_company() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_MANAGER_COMPANY_PAY_GROUP: - return employments_groups_home_location_manager_company_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_MANAGER_PAY_GROUP: - return employments_groups_home_location_manager_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_MANAGER_TEAM: - return employments_groups_home_location_manager_team() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_MANAGER_TEAM_COMPANY: - return employments_groups_home_location_manager_team_company() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP: - return employments_groups_home_location_manager_team_company_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_MANAGER_TEAM_PAY_GROUP: - return employments_groups_home_location_manager_team_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_PAY_GROUP: - return employments_groups_home_location_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_TEAM: - return employments_groups_home_location_team() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_TEAM_COMPANY: - return employments_groups_home_location_team_company() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_TEAM_COMPANY_PAY_GROUP: - return employments_groups_home_location_team_company_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_TEAM_PAY_GROUP: - return employments_groups_home_location_team_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION: - return employments_groups_home_location_work_location() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_COMPANY: - return employments_groups_home_location_work_location_company() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_COMPANY_PAY_GROUP: - return employments_groups_home_location_work_location_company_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER: - return employments_groups_home_location_work_location_manager() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_COMPANY: - return employments_groups_home_location_work_location_manager_company() - if ( - self - is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_COMPANY_PAY_GROUP - ): - return employments_groups_home_location_work_location_manager_company_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_PAY_GROUP: - return employments_groups_home_location_work_location_manager_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM: - return employments_groups_home_location_work_location_manager_team() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_COMPANY: - return employments_groups_home_location_work_location_manager_team_company() - if ( - self - is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP - ): - return employments_groups_home_location_work_location_manager_team_company_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_PAY_GROUP: - return employments_groups_home_location_work_location_manager_team_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_PAY_GROUP: - return employments_groups_home_location_work_location_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_TEAM: - return employments_groups_home_location_work_location_team() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_TEAM_COMPANY: - return employments_groups_home_location_work_location_team_company() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_TEAM_COMPANY_PAY_GROUP: - return employments_groups_home_location_work_location_team_company_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_TEAM_PAY_GROUP: - return employments_groups_home_location_work_location_team_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_MANAGER: - return employments_groups_manager() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_MANAGER_COMPANY: - return employments_groups_manager_company() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_MANAGER_COMPANY_PAY_GROUP: - return employments_groups_manager_company_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_MANAGER_PAY_GROUP: - return employments_groups_manager_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_MANAGER_TEAM: - return employments_groups_manager_team() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_MANAGER_TEAM_COMPANY: - return employments_groups_manager_team_company() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_MANAGER_TEAM_COMPANY_PAY_GROUP: - return employments_groups_manager_team_company_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_MANAGER_TEAM_PAY_GROUP: - return employments_groups_manager_team_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_PAY_GROUP: - return employments_groups_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_TEAM: - return employments_groups_team() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_TEAM_COMPANY: - return employments_groups_team_company() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_TEAM_COMPANY_PAY_GROUP: - return employments_groups_team_company_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_TEAM_PAY_GROUP: - return employments_groups_team_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_WORK_LOCATION: - return employments_groups_work_location() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_WORK_LOCATION_COMPANY: - return employments_groups_work_location_company() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_WORK_LOCATION_COMPANY_PAY_GROUP: - return employments_groups_work_location_company_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_WORK_LOCATION_MANAGER: - return employments_groups_work_location_manager() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_WORK_LOCATION_MANAGER_COMPANY: - return employments_groups_work_location_manager_company() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_WORK_LOCATION_MANAGER_COMPANY_PAY_GROUP: - return employments_groups_work_location_manager_company_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_WORK_LOCATION_MANAGER_PAY_GROUP: - return employments_groups_work_location_manager_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_WORK_LOCATION_MANAGER_TEAM: - return employments_groups_work_location_manager_team() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_WORK_LOCATION_MANAGER_TEAM_COMPANY: - return employments_groups_work_location_manager_team_company() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_WORK_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP: - return employments_groups_work_location_manager_team_company_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_WORK_LOCATION_MANAGER_TEAM_PAY_GROUP: - return employments_groups_work_location_manager_team_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_WORK_LOCATION_PAY_GROUP: - return employments_groups_work_location_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_WORK_LOCATION_TEAM: - return employments_groups_work_location_team() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_WORK_LOCATION_TEAM_COMPANY: - return employments_groups_work_location_team_company() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_WORK_LOCATION_TEAM_COMPANY_PAY_GROUP: - return employments_groups_work_location_team_company_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_WORK_LOCATION_TEAM_PAY_GROUP: - return employments_groups_work_location_team_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_HOME_LOCATION: - return employments_home_location() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_HOME_LOCATION_COMPANY: - return employments_home_location_company() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_HOME_LOCATION_COMPANY_PAY_GROUP: - return employments_home_location_company_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_HOME_LOCATION_MANAGER: - return employments_home_location_manager() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_HOME_LOCATION_MANAGER_COMPANY: - return employments_home_location_manager_company() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_HOME_LOCATION_MANAGER_COMPANY_PAY_GROUP: - return employments_home_location_manager_company_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_HOME_LOCATION_MANAGER_PAY_GROUP: - return employments_home_location_manager_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_HOME_LOCATION_MANAGER_TEAM: - return employments_home_location_manager_team() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_HOME_LOCATION_MANAGER_TEAM_COMPANY: - return employments_home_location_manager_team_company() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_HOME_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP: - return employments_home_location_manager_team_company_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_HOME_LOCATION_MANAGER_TEAM_PAY_GROUP: - return employments_home_location_manager_team_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_HOME_LOCATION_PAY_GROUP: - return employments_home_location_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_HOME_LOCATION_TEAM: - return employments_home_location_team() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_HOME_LOCATION_TEAM_COMPANY: - return employments_home_location_team_company() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_HOME_LOCATION_TEAM_COMPANY_PAY_GROUP: - return employments_home_location_team_company_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_HOME_LOCATION_TEAM_PAY_GROUP: - return employments_home_location_team_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION: - return employments_home_location_work_location() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_COMPANY: - return employments_home_location_work_location_company() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_COMPANY_PAY_GROUP: - return employments_home_location_work_location_company_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_MANAGER: - return employments_home_location_work_location_manager() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_MANAGER_COMPANY: - return employments_home_location_work_location_manager_company() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_MANAGER_COMPANY_PAY_GROUP: - return employments_home_location_work_location_manager_company_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_MANAGER_PAY_GROUP: - return employments_home_location_work_location_manager_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM: - return employments_home_location_work_location_manager_team() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_COMPANY: - return employments_home_location_work_location_manager_team_company() - if ( - self - is EmployeesRetrieveRequestExpand.EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP - ): - return employments_home_location_work_location_manager_team_company_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_PAY_GROUP: - return employments_home_location_work_location_manager_team_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_PAY_GROUP: - return employments_home_location_work_location_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_TEAM: - return employments_home_location_work_location_team() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_TEAM_COMPANY: - return employments_home_location_work_location_team_company() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_TEAM_COMPANY_PAY_GROUP: - return employments_home_location_work_location_team_company_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_TEAM_PAY_GROUP: - return employments_home_location_work_location_team_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_MANAGER: - return employments_manager() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_MANAGER_COMPANY: - return employments_manager_company() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_MANAGER_COMPANY_PAY_GROUP: - return employments_manager_company_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_MANAGER_PAY_GROUP: - return employments_manager_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_MANAGER_TEAM: - return employments_manager_team() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_MANAGER_TEAM_COMPANY: - return employments_manager_team_company() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_MANAGER_TEAM_COMPANY_PAY_GROUP: - return employments_manager_team_company_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_MANAGER_TEAM_PAY_GROUP: - return employments_manager_team_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_PAY_GROUP: - return employments_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_TEAM: - return employments_team() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_TEAM_COMPANY: - return employments_team_company() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_TEAM_COMPANY_PAY_GROUP: - return employments_team_company_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_TEAM_PAY_GROUP: - return employments_team_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_WORK_LOCATION: - return employments_work_location() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_WORK_LOCATION_COMPANY: - return employments_work_location_company() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_WORK_LOCATION_COMPANY_PAY_GROUP: - return employments_work_location_company_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_WORK_LOCATION_MANAGER: - return employments_work_location_manager() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_WORK_LOCATION_MANAGER_COMPANY: - return employments_work_location_manager_company() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_WORK_LOCATION_MANAGER_COMPANY_PAY_GROUP: - return employments_work_location_manager_company_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_WORK_LOCATION_MANAGER_PAY_GROUP: - return employments_work_location_manager_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_WORK_LOCATION_MANAGER_TEAM: - return employments_work_location_manager_team() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_WORK_LOCATION_MANAGER_TEAM_COMPANY: - return employments_work_location_manager_team_company() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_WORK_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP: - return employments_work_location_manager_team_company_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_WORK_LOCATION_MANAGER_TEAM_PAY_GROUP: - return employments_work_location_manager_team_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_WORK_LOCATION_PAY_GROUP: - return employments_work_location_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_WORK_LOCATION_TEAM: - return employments_work_location_team() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_WORK_LOCATION_TEAM_COMPANY: - return employments_work_location_team_company() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_WORK_LOCATION_TEAM_COMPANY_PAY_GROUP: - return employments_work_location_team_company_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_WORK_LOCATION_TEAM_PAY_GROUP: - return employments_work_location_team_pay_group() - if self is EmployeesRetrieveRequestExpand.GROUPS: - return groups() - if self is EmployeesRetrieveRequestExpand.GROUPS_COMPANY: - return groups_company() - if self is EmployeesRetrieveRequestExpand.GROUPS_COMPANY_PAY_GROUP: - return groups_company_pay_group() - if self is EmployeesRetrieveRequestExpand.GROUPS_HOME_LOCATION: - return groups_home_location() - if self is EmployeesRetrieveRequestExpand.GROUPS_HOME_LOCATION_COMPANY: - return groups_home_location_company() - if self is EmployeesRetrieveRequestExpand.GROUPS_HOME_LOCATION_COMPANY_PAY_GROUP: - return groups_home_location_company_pay_group() - if self is EmployeesRetrieveRequestExpand.GROUPS_HOME_LOCATION_MANAGER: - return groups_home_location_manager() - if self is EmployeesRetrieveRequestExpand.GROUPS_HOME_LOCATION_MANAGER_COMPANY: - return groups_home_location_manager_company() - if self is EmployeesRetrieveRequestExpand.GROUPS_HOME_LOCATION_MANAGER_COMPANY_PAY_GROUP: - return groups_home_location_manager_company_pay_group() - if self is EmployeesRetrieveRequestExpand.GROUPS_HOME_LOCATION_MANAGER_PAY_GROUP: - return groups_home_location_manager_pay_group() - if self is EmployeesRetrieveRequestExpand.GROUPS_HOME_LOCATION_MANAGER_TEAM: - return groups_home_location_manager_team() - if self is EmployeesRetrieveRequestExpand.GROUPS_HOME_LOCATION_MANAGER_TEAM_COMPANY: - return groups_home_location_manager_team_company() - if self is EmployeesRetrieveRequestExpand.GROUPS_HOME_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP: - return groups_home_location_manager_team_company_pay_group() - if self is EmployeesRetrieveRequestExpand.GROUPS_HOME_LOCATION_MANAGER_TEAM_PAY_GROUP: - return groups_home_location_manager_team_pay_group() - if self is EmployeesRetrieveRequestExpand.GROUPS_HOME_LOCATION_PAY_GROUP: - return groups_home_location_pay_group() - if self is EmployeesRetrieveRequestExpand.GROUPS_HOME_LOCATION_TEAM: - return groups_home_location_team() - if self is EmployeesRetrieveRequestExpand.GROUPS_HOME_LOCATION_TEAM_COMPANY: - return groups_home_location_team_company() - if self is EmployeesRetrieveRequestExpand.GROUPS_HOME_LOCATION_TEAM_COMPANY_PAY_GROUP: - return groups_home_location_team_company_pay_group() - if self is EmployeesRetrieveRequestExpand.GROUPS_HOME_LOCATION_TEAM_PAY_GROUP: - return groups_home_location_team_pay_group() - if self is EmployeesRetrieveRequestExpand.GROUPS_HOME_LOCATION_WORK_LOCATION: - return groups_home_location_work_location() - if self is EmployeesRetrieveRequestExpand.GROUPS_HOME_LOCATION_WORK_LOCATION_COMPANY: - return groups_home_location_work_location_company() - if self is EmployeesRetrieveRequestExpand.GROUPS_HOME_LOCATION_WORK_LOCATION_COMPANY_PAY_GROUP: - return groups_home_location_work_location_company_pay_group() - if self is EmployeesRetrieveRequestExpand.GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER: - return groups_home_location_work_location_manager() - if self is EmployeesRetrieveRequestExpand.GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_COMPANY: - return groups_home_location_work_location_manager_company() - if self is EmployeesRetrieveRequestExpand.GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_COMPANY_PAY_GROUP: - return groups_home_location_work_location_manager_company_pay_group() - if self is EmployeesRetrieveRequestExpand.GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_PAY_GROUP: - return groups_home_location_work_location_manager_pay_group() - if self is EmployeesRetrieveRequestExpand.GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM: - return groups_home_location_work_location_manager_team() - if self is EmployeesRetrieveRequestExpand.GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_COMPANY: - return groups_home_location_work_location_manager_team_company() - if self is EmployeesRetrieveRequestExpand.GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP: - return groups_home_location_work_location_manager_team_company_pay_group() - if self is EmployeesRetrieveRequestExpand.GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_PAY_GROUP: - return groups_home_location_work_location_manager_team_pay_group() - if self is EmployeesRetrieveRequestExpand.GROUPS_HOME_LOCATION_WORK_LOCATION_PAY_GROUP: - return groups_home_location_work_location_pay_group() - if self is EmployeesRetrieveRequestExpand.GROUPS_HOME_LOCATION_WORK_LOCATION_TEAM: - return groups_home_location_work_location_team() - if self is EmployeesRetrieveRequestExpand.GROUPS_HOME_LOCATION_WORK_LOCATION_TEAM_COMPANY: - return groups_home_location_work_location_team_company() - if self is EmployeesRetrieveRequestExpand.GROUPS_HOME_LOCATION_WORK_LOCATION_TEAM_COMPANY_PAY_GROUP: - return groups_home_location_work_location_team_company_pay_group() - if self is EmployeesRetrieveRequestExpand.GROUPS_HOME_LOCATION_WORK_LOCATION_TEAM_PAY_GROUP: - return groups_home_location_work_location_team_pay_group() - if self is EmployeesRetrieveRequestExpand.GROUPS_MANAGER: - return groups_manager() - if self is EmployeesRetrieveRequestExpand.GROUPS_MANAGER_COMPANY: - return groups_manager_company() - if self is EmployeesRetrieveRequestExpand.GROUPS_MANAGER_COMPANY_PAY_GROUP: - return groups_manager_company_pay_group() - if self is EmployeesRetrieveRequestExpand.GROUPS_MANAGER_PAY_GROUP: - return groups_manager_pay_group() - if self is EmployeesRetrieveRequestExpand.GROUPS_MANAGER_TEAM: - return groups_manager_team() - if self is EmployeesRetrieveRequestExpand.GROUPS_MANAGER_TEAM_COMPANY: - return groups_manager_team_company() - if self is EmployeesRetrieveRequestExpand.GROUPS_MANAGER_TEAM_COMPANY_PAY_GROUP: - return groups_manager_team_company_pay_group() - if self is EmployeesRetrieveRequestExpand.GROUPS_MANAGER_TEAM_PAY_GROUP: - return groups_manager_team_pay_group() - if self is EmployeesRetrieveRequestExpand.GROUPS_PAY_GROUP: - return groups_pay_group() - if self is EmployeesRetrieveRequestExpand.GROUPS_TEAM: - return groups_team() - if self is EmployeesRetrieveRequestExpand.GROUPS_TEAM_COMPANY: - return groups_team_company() - if self is EmployeesRetrieveRequestExpand.GROUPS_TEAM_COMPANY_PAY_GROUP: - return groups_team_company_pay_group() - if self is EmployeesRetrieveRequestExpand.GROUPS_TEAM_PAY_GROUP: - return groups_team_pay_group() - if self is EmployeesRetrieveRequestExpand.GROUPS_WORK_LOCATION: - return groups_work_location() - if self is EmployeesRetrieveRequestExpand.GROUPS_WORK_LOCATION_COMPANY: - return groups_work_location_company() - if self is EmployeesRetrieveRequestExpand.GROUPS_WORK_LOCATION_COMPANY_PAY_GROUP: - return groups_work_location_company_pay_group() - if self is EmployeesRetrieveRequestExpand.GROUPS_WORK_LOCATION_MANAGER: - return groups_work_location_manager() - if self is EmployeesRetrieveRequestExpand.GROUPS_WORK_LOCATION_MANAGER_COMPANY: - return groups_work_location_manager_company() - if self is EmployeesRetrieveRequestExpand.GROUPS_WORK_LOCATION_MANAGER_COMPANY_PAY_GROUP: - return groups_work_location_manager_company_pay_group() - if self is EmployeesRetrieveRequestExpand.GROUPS_WORK_LOCATION_MANAGER_PAY_GROUP: - return groups_work_location_manager_pay_group() - if self is EmployeesRetrieveRequestExpand.GROUPS_WORK_LOCATION_MANAGER_TEAM: - return groups_work_location_manager_team() - if self is EmployeesRetrieveRequestExpand.GROUPS_WORK_LOCATION_MANAGER_TEAM_COMPANY: - return groups_work_location_manager_team_company() - if self is EmployeesRetrieveRequestExpand.GROUPS_WORK_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP: - return groups_work_location_manager_team_company_pay_group() - if self is EmployeesRetrieveRequestExpand.GROUPS_WORK_LOCATION_MANAGER_TEAM_PAY_GROUP: - return groups_work_location_manager_team_pay_group() - if self is EmployeesRetrieveRequestExpand.GROUPS_WORK_LOCATION_PAY_GROUP: - return groups_work_location_pay_group() - if self is EmployeesRetrieveRequestExpand.GROUPS_WORK_LOCATION_TEAM: - return groups_work_location_team() - if self is EmployeesRetrieveRequestExpand.GROUPS_WORK_LOCATION_TEAM_COMPANY: - return groups_work_location_team_company() - if self is EmployeesRetrieveRequestExpand.GROUPS_WORK_LOCATION_TEAM_COMPANY_PAY_GROUP: - return groups_work_location_team_company_pay_group() - if self is EmployeesRetrieveRequestExpand.GROUPS_WORK_LOCATION_TEAM_PAY_GROUP: - return groups_work_location_team_pay_group() - if self is EmployeesRetrieveRequestExpand.HOME_LOCATION: - return home_location() - if self is EmployeesRetrieveRequestExpand.HOME_LOCATION_COMPANY: - return home_location_company() - if self is EmployeesRetrieveRequestExpand.HOME_LOCATION_COMPANY_PAY_GROUP: - return home_location_company_pay_group() - if self is EmployeesRetrieveRequestExpand.HOME_LOCATION_MANAGER: - return home_location_manager() - if self is EmployeesRetrieveRequestExpand.HOME_LOCATION_MANAGER_COMPANY: - return home_location_manager_company() - if self is EmployeesRetrieveRequestExpand.HOME_LOCATION_MANAGER_COMPANY_PAY_GROUP: - return home_location_manager_company_pay_group() - if self is EmployeesRetrieveRequestExpand.HOME_LOCATION_MANAGER_PAY_GROUP: - return home_location_manager_pay_group() - if self is EmployeesRetrieveRequestExpand.HOME_LOCATION_MANAGER_TEAM: - return home_location_manager_team() - if self is EmployeesRetrieveRequestExpand.HOME_LOCATION_MANAGER_TEAM_COMPANY: - return home_location_manager_team_company() - if self is EmployeesRetrieveRequestExpand.HOME_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP: - return home_location_manager_team_company_pay_group() - if self is EmployeesRetrieveRequestExpand.HOME_LOCATION_MANAGER_TEAM_PAY_GROUP: - return home_location_manager_team_pay_group() - if self is EmployeesRetrieveRequestExpand.HOME_LOCATION_PAY_GROUP: - return home_location_pay_group() - if self is EmployeesRetrieveRequestExpand.HOME_LOCATION_TEAM: - return home_location_team() - if self is EmployeesRetrieveRequestExpand.HOME_LOCATION_TEAM_COMPANY: - return home_location_team_company() - if self is EmployeesRetrieveRequestExpand.HOME_LOCATION_TEAM_COMPANY_PAY_GROUP: - return home_location_team_company_pay_group() - if self is EmployeesRetrieveRequestExpand.HOME_LOCATION_TEAM_PAY_GROUP: - return home_location_team_pay_group() - if self is EmployeesRetrieveRequestExpand.HOME_LOCATION_WORK_LOCATION: - return home_location_work_location() - if self is EmployeesRetrieveRequestExpand.HOME_LOCATION_WORK_LOCATION_COMPANY: - return home_location_work_location_company() - if self is EmployeesRetrieveRequestExpand.HOME_LOCATION_WORK_LOCATION_COMPANY_PAY_GROUP: - return home_location_work_location_company_pay_group() - if self is EmployeesRetrieveRequestExpand.HOME_LOCATION_WORK_LOCATION_MANAGER: - return home_location_work_location_manager() - if self is EmployeesRetrieveRequestExpand.HOME_LOCATION_WORK_LOCATION_MANAGER_COMPANY: - return home_location_work_location_manager_company() - if self is EmployeesRetrieveRequestExpand.HOME_LOCATION_WORK_LOCATION_MANAGER_COMPANY_PAY_GROUP: - return home_location_work_location_manager_company_pay_group() - if self is EmployeesRetrieveRequestExpand.HOME_LOCATION_WORK_LOCATION_MANAGER_PAY_GROUP: - return home_location_work_location_manager_pay_group() - if self is EmployeesRetrieveRequestExpand.HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM: - return home_location_work_location_manager_team() - if self is EmployeesRetrieveRequestExpand.HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_COMPANY: - return home_location_work_location_manager_team_company() - if self is EmployeesRetrieveRequestExpand.HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP: - return home_location_work_location_manager_team_company_pay_group() - if self is EmployeesRetrieveRequestExpand.HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_PAY_GROUP: - return home_location_work_location_manager_team_pay_group() - if self is EmployeesRetrieveRequestExpand.HOME_LOCATION_WORK_LOCATION_PAY_GROUP: - return home_location_work_location_pay_group() - if self is EmployeesRetrieveRequestExpand.HOME_LOCATION_WORK_LOCATION_TEAM: - return home_location_work_location_team() - if self is EmployeesRetrieveRequestExpand.HOME_LOCATION_WORK_LOCATION_TEAM_COMPANY: - return home_location_work_location_team_company() - if self is EmployeesRetrieveRequestExpand.HOME_LOCATION_WORK_LOCATION_TEAM_COMPANY_PAY_GROUP: - return home_location_work_location_team_company_pay_group() - if self is EmployeesRetrieveRequestExpand.HOME_LOCATION_WORK_LOCATION_TEAM_PAY_GROUP: - return home_location_work_location_team_pay_group() - if self is EmployeesRetrieveRequestExpand.MANAGER: - return manager() - if self is EmployeesRetrieveRequestExpand.MANAGER_COMPANY: - return manager_company() - if self is EmployeesRetrieveRequestExpand.MANAGER_COMPANY_PAY_GROUP: - return manager_company_pay_group() - if self is EmployeesRetrieveRequestExpand.MANAGER_PAY_GROUP: - return manager_pay_group() - if self is EmployeesRetrieveRequestExpand.MANAGER_TEAM: - return manager_team() - if self is EmployeesRetrieveRequestExpand.MANAGER_TEAM_COMPANY: - return manager_team_company() - if self is EmployeesRetrieveRequestExpand.MANAGER_TEAM_COMPANY_PAY_GROUP: - return manager_team_company_pay_group() - if self is EmployeesRetrieveRequestExpand.MANAGER_TEAM_PAY_GROUP: - return manager_team_pay_group() - if self is EmployeesRetrieveRequestExpand.PAY_GROUP: - return pay_group() - if self is EmployeesRetrieveRequestExpand.TEAM: - return team() - if self is EmployeesRetrieveRequestExpand.TEAM_COMPANY: - return team_company() - if self is EmployeesRetrieveRequestExpand.TEAM_COMPANY_PAY_GROUP: - return team_company_pay_group() - if self is EmployeesRetrieveRequestExpand.TEAM_PAY_GROUP: - return team_pay_group() - if self is EmployeesRetrieveRequestExpand.WORK_LOCATION: - return work_location() - if self is EmployeesRetrieveRequestExpand.WORK_LOCATION_COMPANY: - return work_location_company() - if self is EmployeesRetrieveRequestExpand.WORK_LOCATION_COMPANY_PAY_GROUP: - return work_location_company_pay_group() - if self is EmployeesRetrieveRequestExpand.WORK_LOCATION_MANAGER: - return work_location_manager() - if self is EmployeesRetrieveRequestExpand.WORK_LOCATION_MANAGER_COMPANY: - return work_location_manager_company() - if self is EmployeesRetrieveRequestExpand.WORK_LOCATION_MANAGER_COMPANY_PAY_GROUP: - return work_location_manager_company_pay_group() - if self is EmployeesRetrieveRequestExpand.WORK_LOCATION_MANAGER_PAY_GROUP: - return work_location_manager_pay_group() - if self is EmployeesRetrieveRequestExpand.WORK_LOCATION_MANAGER_TEAM: - return work_location_manager_team() - if self is EmployeesRetrieveRequestExpand.WORK_LOCATION_MANAGER_TEAM_COMPANY: - return work_location_manager_team_company() - if self is EmployeesRetrieveRequestExpand.WORK_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP: - return work_location_manager_team_company_pay_group() - if self is EmployeesRetrieveRequestExpand.WORK_LOCATION_MANAGER_TEAM_PAY_GROUP: - return work_location_manager_team_pay_group() - if self is EmployeesRetrieveRequestExpand.WORK_LOCATION_PAY_GROUP: - return work_location_pay_group() - if self is EmployeesRetrieveRequestExpand.WORK_LOCATION_TEAM: - return work_location_team() - if self is EmployeesRetrieveRequestExpand.WORK_LOCATION_TEAM_COMPANY: - return work_location_team_company() - if self is EmployeesRetrieveRequestExpand.WORK_LOCATION_TEAM_COMPANY_PAY_GROUP: - return work_location_team_company_pay_group() - if self is EmployeesRetrieveRequestExpand.WORK_LOCATION_TEAM_PAY_GROUP: - return work_location_team_pay_group() diff --git a/src/merge/resources/hris/resources/employees/types/employees_retrieve_request_expand_item.py b/src/merge/resources/hris/resources/employees/types/employees_retrieve_request_expand_item.py new file mode 100644 index 00000000..f152aaf4 --- /dev/null +++ b/src/merge/resources/hris/resources/employees/types/employees_retrieve_request_expand_item.py @@ -0,0 +1,45 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class EmployeesRetrieveRequestExpandItem(str, enum.Enum): + COMPANY = "company" + EMPLOYMENTS = "employments" + GROUPS = "groups" + HOME_LOCATION = "home_location" + MANAGER = "manager" + PAY_GROUP = "pay_group" + TEAM = "team" + WORK_LOCATION = "work_location" + + def visit( + self, + company: typing.Callable[[], T_Result], + employments: typing.Callable[[], T_Result], + groups: typing.Callable[[], T_Result], + home_location: typing.Callable[[], T_Result], + manager: typing.Callable[[], T_Result], + pay_group: typing.Callable[[], T_Result], + team: typing.Callable[[], T_Result], + work_location: typing.Callable[[], T_Result], + ) -> T_Result: + if self is EmployeesRetrieveRequestExpandItem.COMPANY: + return company() + if self is EmployeesRetrieveRequestExpandItem.EMPLOYMENTS: + return employments() + if self is EmployeesRetrieveRequestExpandItem.GROUPS: + return groups() + if self is EmployeesRetrieveRequestExpandItem.HOME_LOCATION: + return home_location() + if self is EmployeesRetrieveRequestExpandItem.MANAGER: + return manager() + if self is EmployeesRetrieveRequestExpandItem.PAY_GROUP: + return pay_group() + if self is EmployeesRetrieveRequestExpandItem.TEAM: + return team() + if self is EmployeesRetrieveRequestExpandItem.WORK_LOCATION: + return work_location() diff --git a/src/merge/resources/hris/resources/employees/types/ignore_common_model_request_reason.py b/src/merge/resources/hris/resources/employees/types/ignore_common_model_request_reason.py deleted file mode 100644 index 4baf20f1..00000000 --- a/src/merge/resources/hris/resources/employees/types/ignore_common_model_request_reason.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from ....types.reason_enum import ReasonEnum - -IgnoreCommonModelRequestReason = typing.Union[ReasonEnum, str] diff --git a/src/merge/resources/hris/resources/employer_benefits/client.py b/src/merge/resources/hris/resources/employer_benefits/client.py index 9c6cd4d6..37ae63ec 100644 --- a/src/merge/resources/hris/resources/employer_benefits/client.py +++ b/src/merge/resources/hris/resources/employer_benefits/client.py @@ -4,6 +4,7 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.employer_benefit import EmployerBenefit from ...types.paginated_employer_benefit_list import PaginatedEmployerBenefitList @@ -39,7 +40,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedEmployerBenefitList: + ) -> SyncPager[EmployerBenefit, PaginatedEmployerBenefitList]: """ Returns a list of `EmployerBenefit` objects. @@ -70,7 +71,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -80,41 +81,27 @@ def list( Returns ------- - PaginatedEmployerBenefitList + SyncPager[EmployerBenefit, PaginatedEmployerBenefitList] Examples -------- - import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.hris.employer_benefits.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = client.hris.employer_benefits.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -127,7 +114,6 @@ def list( remote_id=remote_id, request_options=request_options, ) - return _response.data def retrieve( self, @@ -168,8 +154,6 @@ def retrieve( ) client.hris.employer_benefits.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) """ _response = self._raw_client.retrieve( @@ -210,7 +194,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedEmployerBenefitList: + ) -> AsyncPager[EmployerBenefit, PaginatedEmployerBenefitList]: """ Returns a list of `EmployerBenefit` objects. @@ -241,7 +225,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -251,13 +235,12 @@ async def list( Returns ------- - PaginatedEmployerBenefitList + AsyncPager[EmployerBenefit, PaginatedEmployerBenefitList] Examples -------- import asyncio - import datetime from merge import AsyncMerge @@ -268,31 +251,20 @@ async def list( async def main() -> None: - await client.hris.employer_benefits.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = await client.hris.employer_benefits.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -305,7 +277,6 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def retrieve( self, @@ -351,8 +322,6 @@ async def retrieve( async def main() -> None: await client.hris.employer_benefits.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) diff --git a/src/merge/resources/hris/resources/employer_benefits/raw_client.py b/src/merge/resources/hris/resources/employer_benefits/raw_client.py index 8d186abf..0293fad4 100644 --- a/src/merge/resources/hris/resources/employer_benefits/raw_client.py +++ b/src/merge/resources/hris/resources/employer_benefits/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.employer_benefit import EmployerBenefit @@ -33,7 +34,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedEmployerBenefitList]: + ) -> SyncPager[EmployerBenefit, PaginatedEmployerBenefitList]: """ Returns a list of `EmployerBenefit` objects. @@ -64,7 +65,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -74,7 +75,7 @@ def list( Returns ------- - HttpResponse[PaginatedEmployerBenefitList] + SyncPager[EmployerBenefit, PaginatedEmployerBenefitList] """ _response = self._client_wrapper.httpx_client.request( @@ -96,14 +97,30 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedEmployerBenefitList, construct_type( type_=PaginatedEmployerBenefitList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -181,7 +198,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedEmployerBenefitList]: + ) -> AsyncPager[EmployerBenefit, PaginatedEmployerBenefitList]: """ Returns a list of `EmployerBenefit` objects. @@ -212,7 +229,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -222,7 +239,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedEmployerBenefitList] + AsyncPager[EmployerBenefit, PaginatedEmployerBenefitList] """ _response = await self._client_wrapper.httpx_client.request( @@ -244,14 +261,33 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedEmployerBenefitList, construct_type( type_=PaginatedEmployerBenefitList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/hris/resources/employments/__init__.py b/src/merge/resources/hris/resources/employments/__init__.py index 82ec0cea..2f8405e3 100644 --- a/src/merge/resources/hris/resources/employments/__init__.py +++ b/src/merge/resources/hris/resources/employments/__init__.py @@ -7,20 +7,20 @@ if typing.TYPE_CHECKING: from .types import ( - EmploymentsListRequestExpand, + EmploymentsListRequestExpandItem, EmploymentsListRequestOrderBy, EmploymentsListRequestRemoteFields, EmploymentsListRequestShowEnumOrigins, - EmploymentsRetrieveRequestExpand, + EmploymentsRetrieveRequestExpandItem, EmploymentsRetrieveRequestRemoteFields, EmploymentsRetrieveRequestShowEnumOrigins, ) _dynamic_imports: typing.Dict[str, str] = { - "EmploymentsListRequestExpand": ".types", + "EmploymentsListRequestExpandItem": ".types", "EmploymentsListRequestOrderBy": ".types", "EmploymentsListRequestRemoteFields": ".types", "EmploymentsListRequestShowEnumOrigins": ".types", - "EmploymentsRetrieveRequestExpand": ".types", + "EmploymentsRetrieveRequestExpandItem": ".types", "EmploymentsRetrieveRequestRemoteFields": ".types", "EmploymentsRetrieveRequestShowEnumOrigins": ".types", } @@ -32,8 +32,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -46,11 +48,11 @@ def __dir__(): __all__ = [ - "EmploymentsListRequestExpand", + "EmploymentsListRequestExpandItem", "EmploymentsListRequestOrderBy", "EmploymentsListRequestRemoteFields", "EmploymentsListRequestShowEnumOrigins", - "EmploymentsRetrieveRequestExpand", + "EmploymentsRetrieveRequestExpandItem", "EmploymentsRetrieveRequestRemoteFields", "EmploymentsRetrieveRequestShowEnumOrigins", ] diff --git a/src/merge/resources/hris/resources/employments/client.py b/src/merge/resources/hris/resources/employments/client.py index 49118beb..17ad3bba 100644 --- a/src/merge/resources/hris/resources/employments/client.py +++ b/src/merge/resources/hris/resources/employments/client.py @@ -4,15 +4,16 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.employment import Employment from ...types.paginated_employment_list import PaginatedEmploymentList from .raw_client import AsyncRawEmploymentsClient, RawEmploymentsClient -from .types.employments_list_request_expand import EmploymentsListRequestExpand +from .types.employments_list_request_expand_item import EmploymentsListRequestExpandItem from .types.employments_list_request_order_by import EmploymentsListRequestOrderBy from .types.employments_list_request_remote_fields import EmploymentsListRequestRemoteFields from .types.employments_list_request_show_enum_origins import EmploymentsListRequestShowEnumOrigins -from .types.employments_retrieve_request_expand import EmploymentsRetrieveRequestExpand +from .types.employments_retrieve_request_expand_item import EmploymentsRetrieveRequestExpandItem from .types.employments_retrieve_request_remote_fields import EmploymentsRetrieveRequestRemoteFields from .types.employments_retrieve_request_show_enum_origins import EmploymentsRetrieveRequestShowEnumOrigins @@ -39,7 +40,9 @@ def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, employee_id: typing.Optional[str] = None, - expand: typing.Optional[EmploymentsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[EmploymentsListRequestExpandItem, typing.Sequence[EmploymentsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -51,7 +54,7 @@ def list( remote_id: typing.Optional[str] = None, show_enum_origins: typing.Optional[EmploymentsListRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedEmploymentList: + ) -> SyncPager[Employment, PaginatedEmploymentList]: """ Returns a list of `Employment` objects. @@ -69,7 +72,7 @@ def list( employee_id : typing.Optional[str] If provided, will only return employments for this employee. - expand : typing.Optional[EmploymentsListRequestExpand] + expand : typing.Optional[typing.Union[EmploymentsListRequestExpandItem, typing.Sequence[EmploymentsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -91,7 +94,7 @@ def list( Overrides the default ordering for this endpoint. Possible values include: effective_date, -effective_date. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_fields : typing.Optional[EmploymentsListRequestRemoteFields] Deprecated. Use show_enum_origins. @@ -107,52 +110,27 @@ def list( Returns ------- - PaginatedEmploymentList + SyncPager[Employment, PaginatedEmploymentList] Examples -------- - import datetime - from merge import Merge - from merge.resources.hris.resources.employments import ( - EmploymentsListRequestExpand, - EmploymentsListRequestOrderBy, - EmploymentsListRequestRemoteFields, - EmploymentsListRequestShowEnumOrigins, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.hris.employments.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = client.hris.employments.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - employee_id="employee_id", - expand=EmploymentsListRequestExpand.EMPLOYEE, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - order_by=EmploymentsListRequestOrderBy.EFFECTIVE_DATE_DESCENDING, - page_size=1, - remote_fields=EmploymentsListRequestRemoteFields.EMPLOYMENT_TYPE, - remote_id="remote_id", - show_enum_origins=EmploymentsListRequestShowEnumOrigins.EMPLOYMENT_TYPE, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -170,13 +148,14 @@ def list( show_enum_origins=show_enum_origins, request_options=request_options, ) - return _response.data def retrieve( self, id: str, *, - expand: typing.Optional[EmploymentsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[EmploymentsRetrieveRequestExpandItem, typing.Sequence[EmploymentsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[EmploymentsRetrieveRequestRemoteFields] = None, @@ -190,7 +169,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[EmploymentsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[EmploymentsRetrieveRequestExpandItem, typing.Sequence[EmploymentsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -216,11 +195,6 @@ def retrieve( Examples -------- from merge import Merge - from merge.resources.hris.resources.employments import ( - EmploymentsRetrieveRequestExpand, - EmploymentsRetrieveRequestRemoteFields, - EmploymentsRetrieveRequestShowEnumOrigins, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -228,11 +202,6 @@ def retrieve( ) client.hris.employments.retrieve( id="id", - expand=EmploymentsRetrieveRequestExpand.EMPLOYEE, - include_remote_data=True, - include_shell_data=True, - remote_fields=EmploymentsRetrieveRequestRemoteFields.EMPLOYMENT_TYPE, - show_enum_origins=EmploymentsRetrieveRequestShowEnumOrigins.EMPLOYMENT_TYPE, ) """ _response = self._raw_client.retrieve( @@ -269,7 +238,9 @@ async def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, employee_id: typing.Optional[str] = None, - expand: typing.Optional[EmploymentsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[EmploymentsListRequestExpandItem, typing.Sequence[EmploymentsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -281,7 +252,7 @@ async def list( remote_id: typing.Optional[str] = None, show_enum_origins: typing.Optional[EmploymentsListRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedEmploymentList: + ) -> AsyncPager[Employment, PaginatedEmploymentList]: """ Returns a list of `Employment` objects. @@ -299,7 +270,7 @@ async def list( employee_id : typing.Optional[str] If provided, will only return employments for this employee. - expand : typing.Optional[EmploymentsListRequestExpand] + expand : typing.Optional[typing.Union[EmploymentsListRequestExpandItem, typing.Sequence[EmploymentsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -321,7 +292,7 @@ async def list( Overrides the default ordering for this endpoint. Possible values include: effective_date, -effective_date. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_fields : typing.Optional[EmploymentsListRequestRemoteFields] Deprecated. Use show_enum_origins. @@ -337,21 +308,14 @@ async def list( Returns ------- - PaginatedEmploymentList + AsyncPager[Employment, PaginatedEmploymentList] Examples -------- import asyncio - import datetime from merge import AsyncMerge - from merge.resources.hris.resources.employments import ( - EmploymentsListRequestExpand, - EmploymentsListRequestOrderBy, - EmploymentsListRequestRemoteFields, - EmploymentsListRequestShowEnumOrigins, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -360,36 +324,20 @@ async def list( async def main() -> None: - await client.hris.employments.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = await client.hris.employments.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - employee_id="employee_id", - expand=EmploymentsListRequestExpand.EMPLOYEE, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - order_by=EmploymentsListRequestOrderBy.EFFECTIVE_DATE_DESCENDING, - page_size=1, - remote_fields=EmploymentsListRequestRemoteFields.EMPLOYMENT_TYPE, - remote_id="remote_id", - show_enum_origins=EmploymentsListRequestShowEnumOrigins.EMPLOYMENT_TYPE, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -407,13 +355,14 @@ async def main() -> None: show_enum_origins=show_enum_origins, request_options=request_options, ) - return _response.data async def retrieve( self, id: str, *, - expand: typing.Optional[EmploymentsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[EmploymentsRetrieveRequestExpandItem, typing.Sequence[EmploymentsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[EmploymentsRetrieveRequestRemoteFields] = None, @@ -427,7 +376,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[EmploymentsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[EmploymentsRetrieveRequestExpandItem, typing.Sequence[EmploymentsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -455,11 +404,6 @@ async def retrieve( import asyncio from merge import AsyncMerge - from merge.resources.hris.resources.employments import ( - EmploymentsRetrieveRequestExpand, - EmploymentsRetrieveRequestRemoteFields, - EmploymentsRetrieveRequestShowEnumOrigins, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -470,11 +414,6 @@ async def retrieve( async def main() -> None: await client.hris.employments.retrieve( id="id", - expand=EmploymentsRetrieveRequestExpand.EMPLOYEE, - include_remote_data=True, - include_shell_data=True, - remote_fields=EmploymentsRetrieveRequestRemoteFields.EMPLOYMENT_TYPE, - show_enum_origins=EmploymentsRetrieveRequestShowEnumOrigins.EMPLOYMENT_TYPE, ) diff --git a/src/merge/resources/hris/resources/employments/raw_client.py b/src/merge/resources/hris/resources/employments/raw_client.py index 06dd96ac..67e7f19d 100644 --- a/src/merge/resources/hris/resources/employments/raw_client.py +++ b/src/merge/resources/hris/resources/employments/raw_client.py @@ -9,15 +9,16 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.employment import Employment from ...types.paginated_employment_list import PaginatedEmploymentList -from .types.employments_list_request_expand import EmploymentsListRequestExpand +from .types.employments_list_request_expand_item import EmploymentsListRequestExpandItem from .types.employments_list_request_order_by import EmploymentsListRequestOrderBy from .types.employments_list_request_remote_fields import EmploymentsListRequestRemoteFields from .types.employments_list_request_show_enum_origins import EmploymentsListRequestShowEnumOrigins -from .types.employments_retrieve_request_expand import EmploymentsRetrieveRequestExpand +from .types.employments_retrieve_request_expand_item import EmploymentsRetrieveRequestExpandItem from .types.employments_retrieve_request_remote_fields import EmploymentsRetrieveRequestRemoteFields from .types.employments_retrieve_request_show_enum_origins import EmploymentsRetrieveRequestShowEnumOrigins @@ -33,7 +34,9 @@ def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, employee_id: typing.Optional[str] = None, - expand: typing.Optional[EmploymentsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[EmploymentsListRequestExpandItem, typing.Sequence[EmploymentsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -45,7 +48,7 @@ def list( remote_id: typing.Optional[str] = None, show_enum_origins: typing.Optional[EmploymentsListRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedEmploymentList]: + ) -> SyncPager[Employment, PaginatedEmploymentList]: """ Returns a list of `Employment` objects. @@ -63,7 +66,7 @@ def list( employee_id : typing.Optional[str] If provided, will only return employments for this employee. - expand : typing.Optional[EmploymentsListRequestExpand] + expand : typing.Optional[typing.Union[EmploymentsListRequestExpandItem, typing.Sequence[EmploymentsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -85,7 +88,7 @@ def list( Overrides the default ordering for this endpoint. Possible values include: effective_date, -effective_date. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_fields : typing.Optional[EmploymentsListRequestRemoteFields] Deprecated. Use show_enum_origins. @@ -101,7 +104,7 @@ def list( Returns ------- - HttpResponse[PaginatedEmploymentList] + SyncPager[Employment, PaginatedEmploymentList] """ _response = self._client_wrapper.httpx_client.request( @@ -128,14 +131,35 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedEmploymentList, construct_type( type_=PaginatedEmploymentList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + employee_id=employee_id, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + order_by=order_by, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -145,7 +169,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[EmploymentsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[EmploymentsRetrieveRequestExpandItem, typing.Sequence[EmploymentsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[EmploymentsRetrieveRequestRemoteFields] = None, @@ -159,7 +185,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[EmploymentsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[EmploymentsRetrieveRequestExpandItem, typing.Sequence[EmploymentsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -221,7 +247,9 @@ async def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, employee_id: typing.Optional[str] = None, - expand: typing.Optional[EmploymentsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[EmploymentsListRequestExpandItem, typing.Sequence[EmploymentsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -233,7 +261,7 @@ async def list( remote_id: typing.Optional[str] = None, show_enum_origins: typing.Optional[EmploymentsListRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedEmploymentList]: + ) -> AsyncPager[Employment, PaginatedEmploymentList]: """ Returns a list of `Employment` objects. @@ -251,7 +279,7 @@ async def list( employee_id : typing.Optional[str] If provided, will only return employments for this employee. - expand : typing.Optional[EmploymentsListRequestExpand] + expand : typing.Optional[typing.Union[EmploymentsListRequestExpandItem, typing.Sequence[EmploymentsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -273,7 +301,7 @@ async def list( Overrides the default ordering for this endpoint. Possible values include: effective_date, -effective_date. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_fields : typing.Optional[EmploymentsListRequestRemoteFields] Deprecated. Use show_enum_origins. @@ -289,7 +317,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedEmploymentList] + AsyncPager[Employment, PaginatedEmploymentList] """ _response = await self._client_wrapper.httpx_client.request( @@ -316,14 +344,38 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedEmploymentList, construct_type( type_=PaginatedEmploymentList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + employee_id=employee_id, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + order_by=order_by, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -333,7 +385,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[EmploymentsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[EmploymentsRetrieveRequestExpandItem, typing.Sequence[EmploymentsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[EmploymentsRetrieveRequestRemoteFields] = None, @@ -347,7 +401,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[EmploymentsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[EmploymentsRetrieveRequestExpandItem, typing.Sequence[EmploymentsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/hris/resources/employments/types/__init__.py b/src/merge/resources/hris/resources/employments/types/__init__.py index 06af9d3d..afb0f23b 100644 --- a/src/merge/resources/hris/resources/employments/types/__init__.py +++ b/src/merge/resources/hris/resources/employments/types/__init__.py @@ -6,19 +6,19 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .employments_list_request_expand import EmploymentsListRequestExpand + from .employments_list_request_expand_item import EmploymentsListRequestExpandItem from .employments_list_request_order_by import EmploymentsListRequestOrderBy from .employments_list_request_remote_fields import EmploymentsListRequestRemoteFields from .employments_list_request_show_enum_origins import EmploymentsListRequestShowEnumOrigins - from .employments_retrieve_request_expand import EmploymentsRetrieveRequestExpand + from .employments_retrieve_request_expand_item import EmploymentsRetrieveRequestExpandItem from .employments_retrieve_request_remote_fields import EmploymentsRetrieveRequestRemoteFields from .employments_retrieve_request_show_enum_origins import EmploymentsRetrieveRequestShowEnumOrigins _dynamic_imports: typing.Dict[str, str] = { - "EmploymentsListRequestExpand": ".employments_list_request_expand", + "EmploymentsListRequestExpandItem": ".employments_list_request_expand_item", "EmploymentsListRequestOrderBy": ".employments_list_request_order_by", "EmploymentsListRequestRemoteFields": ".employments_list_request_remote_fields", "EmploymentsListRequestShowEnumOrigins": ".employments_list_request_show_enum_origins", - "EmploymentsRetrieveRequestExpand": ".employments_retrieve_request_expand", + "EmploymentsRetrieveRequestExpandItem": ".employments_retrieve_request_expand_item", "EmploymentsRetrieveRequestRemoteFields": ".employments_retrieve_request_remote_fields", "EmploymentsRetrieveRequestShowEnumOrigins": ".employments_retrieve_request_show_enum_origins", } @@ -30,8 +30,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -44,11 +46,11 @@ def __dir__(): __all__ = [ - "EmploymentsListRequestExpand", + "EmploymentsListRequestExpandItem", "EmploymentsListRequestOrderBy", "EmploymentsListRequestRemoteFields", "EmploymentsListRequestShowEnumOrigins", - "EmploymentsRetrieveRequestExpand", + "EmploymentsRetrieveRequestExpandItem", "EmploymentsRetrieveRequestRemoteFields", "EmploymentsRetrieveRequestShowEnumOrigins", ] diff --git a/src/merge/resources/hris/resources/employments/types/employments_list_request_expand.py b/src/merge/resources/hris/resources/employments/types/employments_list_request_expand.py deleted file mode 100644 index f123ef47..00000000 --- a/src/merge/resources/hris/resources/employments/types/employments_list_request_expand.py +++ /dev/null @@ -1,25 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class EmploymentsListRequestExpand(str, enum.Enum): - EMPLOYEE = "employee" - EMPLOYEE_PAY_GROUP = "employee,pay_group" - PAY_GROUP = "pay_group" - - def visit( - self, - employee: typing.Callable[[], T_Result], - employee_pay_group: typing.Callable[[], T_Result], - pay_group: typing.Callable[[], T_Result], - ) -> T_Result: - if self is EmploymentsListRequestExpand.EMPLOYEE: - return employee() - if self is EmploymentsListRequestExpand.EMPLOYEE_PAY_GROUP: - return employee_pay_group() - if self is EmploymentsListRequestExpand.PAY_GROUP: - return pay_group() diff --git a/src/merge/resources/hris/resources/employments/types/employments_list_request_expand_item.py b/src/merge/resources/hris/resources/employments/types/employments_list_request_expand_item.py new file mode 100644 index 00000000..3519601e --- /dev/null +++ b/src/merge/resources/hris/resources/employments/types/employments_list_request_expand_item.py @@ -0,0 +1,17 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class EmploymentsListRequestExpandItem(str, enum.Enum): + EMPLOYEE = "employee" + PAY_GROUP = "pay_group" + + def visit(self, employee: typing.Callable[[], T_Result], pay_group: typing.Callable[[], T_Result]) -> T_Result: + if self is EmploymentsListRequestExpandItem.EMPLOYEE: + return employee() + if self is EmploymentsListRequestExpandItem.PAY_GROUP: + return pay_group() diff --git a/src/merge/resources/hris/resources/employments/types/employments_retrieve_request_expand.py b/src/merge/resources/hris/resources/employments/types/employments_retrieve_request_expand.py deleted file mode 100644 index 98db9ac2..00000000 --- a/src/merge/resources/hris/resources/employments/types/employments_retrieve_request_expand.py +++ /dev/null @@ -1,25 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class EmploymentsRetrieveRequestExpand(str, enum.Enum): - EMPLOYEE = "employee" - EMPLOYEE_PAY_GROUP = "employee,pay_group" - PAY_GROUP = "pay_group" - - def visit( - self, - employee: typing.Callable[[], T_Result], - employee_pay_group: typing.Callable[[], T_Result], - pay_group: typing.Callable[[], T_Result], - ) -> T_Result: - if self is EmploymentsRetrieveRequestExpand.EMPLOYEE: - return employee() - if self is EmploymentsRetrieveRequestExpand.EMPLOYEE_PAY_GROUP: - return employee_pay_group() - if self is EmploymentsRetrieveRequestExpand.PAY_GROUP: - return pay_group() diff --git a/src/merge/resources/hris/resources/employments/types/employments_retrieve_request_expand_item.py b/src/merge/resources/hris/resources/employments/types/employments_retrieve_request_expand_item.py new file mode 100644 index 00000000..8425214f --- /dev/null +++ b/src/merge/resources/hris/resources/employments/types/employments_retrieve_request_expand_item.py @@ -0,0 +1,17 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class EmploymentsRetrieveRequestExpandItem(str, enum.Enum): + EMPLOYEE = "employee" + PAY_GROUP = "pay_group" + + def visit(self, employee: typing.Callable[[], T_Result], pay_group: typing.Callable[[], T_Result]) -> T_Result: + if self is EmploymentsRetrieveRequestExpandItem.EMPLOYEE: + return employee() + if self is EmploymentsRetrieveRequestExpandItem.PAY_GROUP: + return pay_group() diff --git a/src/merge/resources/hris/resources/field_mapping/client.py b/src/merge/resources/hris/resources/field_mapping/client.py index a7019942..d399aec0 100644 --- a/src/merge/resources/hris/resources/field_mapping/client.py +++ b/src/merge/resources/hris/resources/field_mapping/client.py @@ -59,9 +59,7 @@ def field_mappings_retrieve( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.hris.field_mapping.field_mappings_retrieve( - exclude_remote_field_metadata=True, - ) + client.hris.field_mapping.field_mappings_retrieve() """ _response = self._raw_client.field_mappings_retrieve( exclude_remote_field_metadata=exclude_remote_field_metadata, request_options=request_options @@ -73,12 +71,11 @@ def field_mappings_create( *, target_field_name: str, target_field_description: str, - remote_field_traversal_path: typing.Sequence[typing.Optional[typing.Any]], + remote_field_traversal_path: typing.Sequence[typing.Any], remote_method: str, remote_url_path: str, common_model_name: str, exclude_remote_field_metadata: typing.Optional[bool] = None, - jmes_path: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> FieldMappingInstanceResponse: """ @@ -92,7 +89,7 @@ def field_mappings_create( target_field_description : str The description of the target field you want this remote field to map to. - remote_field_traversal_path : typing.Sequence[typing.Optional[typing.Any]] + remote_field_traversal_path : typing.Sequence[typing.Any] The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. remote_method : str @@ -107,9 +104,6 @@ def field_mappings_create( exclude_remote_field_metadata : typing.Optional[bool] If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. - jmes_path : typing.Optional[str] - JMES path to specify json query expression to be used on field mapping. - request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -127,7 +121,6 @@ def field_mappings_create( api_key="YOUR_API_KEY", ) client.hris.field_mapping.field_mappings_create( - exclude_remote_field_metadata=True, target_field_name="example_target_field_name", target_field_description="this is a example description of the target field", remote_field_traversal_path=["example_remote_field"], @@ -144,7 +137,6 @@ def field_mappings_create( remote_url_path=remote_url_path, common_model_name=common_model_name, exclude_remote_field_metadata=exclude_remote_field_metadata, - jmes_path=jmes_path, request_options=request_options, ) return _response.data @@ -186,10 +178,9 @@ def field_mappings_partial_update( self, field_mapping_id: str, *, - remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] = OMIT, + remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Any]] = OMIT, remote_method: typing.Optional[str] = OMIT, remote_url_path: typing.Optional[str] = OMIT, - jmes_path: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> FieldMappingInstanceResponse: """ @@ -199,7 +190,7 @@ def field_mappings_partial_update( ---------- field_mapping_id : str - remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] + remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Any]] The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. remote_method : typing.Optional[str] @@ -208,9 +199,6 @@ def field_mappings_partial_update( remote_url_path : typing.Optional[str] The path of the remote endpoint where the remote field is coming from. - jmes_path : typing.Optional[str] - JMES path to specify json query expression to be used on field mapping. - request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -236,7 +224,6 @@ def field_mappings_partial_update( remote_field_traversal_path=remote_field_traversal_path, remote_method=remote_method, remote_url_path=remote_url_path, - jmes_path=jmes_path, request_options=request_options, ) return _response.data @@ -275,10 +262,7 @@ def remote_fields_retrieve( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.hris.field_mapping.remote_fields_retrieve( - common_models="common_models", - include_example_values="include_example_values", - ) + client.hris.field_mapping.remote_fields_retrieve() """ _response = self._raw_client.remote_fields_retrieve( common_models=common_models, include_example_values=include_example_values, request_options=request_options @@ -365,9 +349,7 @@ async def field_mappings_retrieve( async def main() -> None: - await client.hris.field_mapping.field_mappings_retrieve( - exclude_remote_field_metadata=True, - ) + await client.hris.field_mapping.field_mappings_retrieve() asyncio.run(main()) @@ -382,12 +364,11 @@ async def field_mappings_create( *, target_field_name: str, target_field_description: str, - remote_field_traversal_path: typing.Sequence[typing.Optional[typing.Any]], + remote_field_traversal_path: typing.Sequence[typing.Any], remote_method: str, remote_url_path: str, common_model_name: str, exclude_remote_field_metadata: typing.Optional[bool] = None, - jmes_path: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> FieldMappingInstanceResponse: """ @@ -401,7 +382,7 @@ async def field_mappings_create( target_field_description : str The description of the target field you want this remote field to map to. - remote_field_traversal_path : typing.Sequence[typing.Optional[typing.Any]] + remote_field_traversal_path : typing.Sequence[typing.Any] The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. remote_method : str @@ -416,9 +397,6 @@ async def field_mappings_create( exclude_remote_field_metadata : typing.Optional[bool] If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. - jmes_path : typing.Optional[str] - JMES path to specify json query expression to be used on field mapping. - request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -441,7 +419,6 @@ async def field_mappings_create( async def main() -> None: await client.hris.field_mapping.field_mappings_create( - exclude_remote_field_metadata=True, target_field_name="example_target_field_name", target_field_description="this is a example description of the target field", remote_field_traversal_path=["example_remote_field"], @@ -461,7 +438,6 @@ async def main() -> None: remote_url_path=remote_url_path, common_model_name=common_model_name, exclude_remote_field_metadata=exclude_remote_field_metadata, - jmes_path=jmes_path, request_options=request_options, ) return _response.data @@ -511,10 +487,9 @@ async def field_mappings_partial_update( self, field_mapping_id: str, *, - remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] = OMIT, + remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Any]] = OMIT, remote_method: typing.Optional[str] = OMIT, remote_url_path: typing.Optional[str] = OMIT, - jmes_path: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> FieldMappingInstanceResponse: """ @@ -524,7 +499,7 @@ async def field_mappings_partial_update( ---------- field_mapping_id : str - remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] + remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Any]] The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. remote_method : typing.Optional[str] @@ -533,9 +508,6 @@ async def field_mappings_partial_update( remote_url_path : typing.Optional[str] The path of the remote endpoint where the remote field is coming from. - jmes_path : typing.Optional[str] - JMES path to specify json query expression to be used on field mapping. - request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -569,7 +541,6 @@ async def main() -> None: remote_field_traversal_path=remote_field_traversal_path, remote_method=remote_method, remote_url_path=remote_url_path, - jmes_path=jmes_path, request_options=request_options, ) return _response.data @@ -613,10 +584,7 @@ async def remote_fields_retrieve( async def main() -> None: - await client.hris.field_mapping.remote_fields_retrieve( - common_models="common_models", - include_example_values="include_example_values", - ) + await client.hris.field_mapping.remote_fields_retrieve() asyncio.run(main()) diff --git a/src/merge/resources/hris/resources/field_mapping/raw_client.py b/src/merge/resources/hris/resources/field_mapping/raw_client.py index e484a3d9..57667f6e 100644 --- a/src/merge/resources/hris/resources/field_mapping/raw_client.py +++ b/src/merge/resources/hris/resources/field_mapping/raw_client.py @@ -72,12 +72,11 @@ def field_mappings_create( *, target_field_name: str, target_field_description: str, - remote_field_traversal_path: typing.Sequence[typing.Optional[typing.Any]], + remote_field_traversal_path: typing.Sequence[typing.Any], remote_method: str, remote_url_path: str, common_model_name: str, exclude_remote_field_metadata: typing.Optional[bool] = None, - jmes_path: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[FieldMappingInstanceResponse]: """ @@ -91,7 +90,7 @@ def field_mappings_create( target_field_description : str The description of the target field you want this remote field to map to. - remote_field_traversal_path : typing.Sequence[typing.Optional[typing.Any]] + remote_field_traversal_path : typing.Sequence[typing.Any] The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. remote_method : str @@ -106,9 +105,6 @@ def field_mappings_create( exclude_remote_field_metadata : typing.Optional[bool] If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. - jmes_path : typing.Optional[str] - JMES path to specify json query expression to be used on field mapping. - request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -130,7 +126,6 @@ def field_mappings_create( "remote_method": remote_method, "remote_url_path": remote_url_path, "common_model_name": common_model_name, - "jmes_path": jmes_path, }, headers={ "content-type": "application/json", @@ -195,10 +190,9 @@ def field_mappings_partial_update( self, field_mapping_id: str, *, - remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] = OMIT, + remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Any]] = OMIT, remote_method: typing.Optional[str] = OMIT, remote_url_path: typing.Optional[str] = OMIT, - jmes_path: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[FieldMappingInstanceResponse]: """ @@ -208,7 +202,7 @@ def field_mappings_partial_update( ---------- field_mapping_id : str - remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] + remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Any]] The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. remote_method : typing.Optional[str] @@ -217,9 +211,6 @@ def field_mappings_partial_update( remote_url_path : typing.Optional[str] The path of the remote endpoint where the remote field is coming from. - jmes_path : typing.Optional[str] - JMES path to specify json query expression to be used on field mapping. - request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -235,7 +226,6 @@ def field_mappings_partial_update( "remote_field_traversal_path": remote_field_traversal_path, "remote_method": remote_method, "remote_url_path": remote_url_path, - "jmes_path": jmes_path, }, headers={ "content-type": "application/json", @@ -399,12 +389,11 @@ async def field_mappings_create( *, target_field_name: str, target_field_description: str, - remote_field_traversal_path: typing.Sequence[typing.Optional[typing.Any]], + remote_field_traversal_path: typing.Sequence[typing.Any], remote_method: str, remote_url_path: str, common_model_name: str, exclude_remote_field_metadata: typing.Optional[bool] = None, - jmes_path: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[FieldMappingInstanceResponse]: """ @@ -418,7 +407,7 @@ async def field_mappings_create( target_field_description : str The description of the target field you want this remote field to map to. - remote_field_traversal_path : typing.Sequence[typing.Optional[typing.Any]] + remote_field_traversal_path : typing.Sequence[typing.Any] The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. remote_method : str @@ -433,9 +422,6 @@ async def field_mappings_create( exclude_remote_field_metadata : typing.Optional[bool] If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. - jmes_path : typing.Optional[str] - JMES path to specify json query expression to be used on field mapping. - request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -457,7 +443,6 @@ async def field_mappings_create( "remote_method": remote_method, "remote_url_path": remote_url_path, "common_model_name": common_model_name, - "jmes_path": jmes_path, }, headers={ "content-type": "application/json", @@ -522,10 +507,9 @@ async def field_mappings_partial_update( self, field_mapping_id: str, *, - remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] = OMIT, + remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Any]] = OMIT, remote_method: typing.Optional[str] = OMIT, remote_url_path: typing.Optional[str] = OMIT, - jmes_path: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[FieldMappingInstanceResponse]: """ @@ -535,7 +519,7 @@ async def field_mappings_partial_update( ---------- field_mapping_id : str - remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] + remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Any]] The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. remote_method : typing.Optional[str] @@ -544,9 +528,6 @@ async def field_mappings_partial_update( remote_url_path : typing.Optional[str] The path of the remote endpoint where the remote field is coming from. - jmes_path : typing.Optional[str] - JMES path to specify json query expression to be used on field mapping. - request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -562,7 +543,6 @@ async def field_mappings_partial_update( "remote_field_traversal_path": remote_field_traversal_path, "remote_method": remote_method, "remote_url_path": remote_url_path, - "jmes_path": jmes_path, }, headers={ "content-type": "application/json", diff --git a/src/merge/resources/hris/resources/groups/__init__.py b/src/merge/resources/hris/resources/groups/__init__.py index 5cde0202..1163692d 100644 --- a/src/merge/resources/hris/resources/groups/__init__.py +++ b/src/merge/resources/hris/resources/groups/__init__.py @@ -2,3 +2,48 @@ # isort: skip_file +import typing +from importlib import import_module + +if typing.TYPE_CHECKING: + from .types import ( + GroupsListRequestRemoteFields, + GroupsListRequestShowEnumOrigins, + GroupsRetrieveRequestRemoteFields, + GroupsRetrieveRequestShowEnumOrigins, + ) +_dynamic_imports: typing.Dict[str, str] = { + "GroupsListRequestRemoteFields": ".types", + "GroupsListRequestShowEnumOrigins": ".types", + "GroupsRetrieveRequestRemoteFields": ".types", + "GroupsRetrieveRequestShowEnumOrigins": ".types", +} + + +def __getattr__(attr_name: str) -> typing.Any: + module_name = _dynamic_imports.get(attr_name) + if module_name is None: + raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") + try: + module = import_module(module_name, __package__) + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) + except ImportError as e: + raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e + except AttributeError as e: + raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e + + +def __dir__(): + lazy_attrs = list(_dynamic_imports.keys()) + return sorted(lazy_attrs) + + +__all__ = [ + "GroupsListRequestRemoteFields", + "GroupsListRequestShowEnumOrigins", + "GroupsRetrieveRequestRemoteFields", + "GroupsRetrieveRequestShowEnumOrigins", +] diff --git a/src/merge/resources/hris/resources/groups/client.py b/src/merge/resources/hris/resources/groups/client.py index ebb637f4..092c184c 100644 --- a/src/merge/resources/hris/resources/groups/client.py +++ b/src/merge/resources/hris/resources/groups/client.py @@ -4,10 +4,15 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.group import Group from ...types.paginated_group_list import PaginatedGroupList from .raw_client import AsyncRawGroupsClient, RawGroupsClient +from .types.groups_list_request_remote_fields import GroupsListRequestRemoteFields +from .types.groups_list_request_show_enum_origins import GroupsListRequestShowEnumOrigins +from .types.groups_retrieve_request_remote_fields import GroupsRetrieveRequestRemoteFields +from .types.groups_retrieve_request_show_enum_origins import GroupsRetrieveRequestShowEnumOrigins class GroupsClient: @@ -39,12 +44,12 @@ def list( modified_before: typing.Optional[dt.datetime] = None, names: typing.Optional[str] = None, page_size: typing.Optional[int] = None, - remote_fields: typing.Optional[typing.Literal["type"]] = None, + remote_fields: typing.Optional[GroupsListRequestRemoteFields] = None, remote_id: typing.Optional[str] = None, - show_enum_origins: typing.Optional[typing.Literal["type"]] = None, + show_enum_origins: typing.Optional[GroupsListRequestShowEnumOrigins] = None, types: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedGroupList: + ) -> SyncPager[Group, PaginatedGroupList]: """ Returns a list of `Group` objects. @@ -81,15 +86,15 @@ def list( If provided, will only return groups with these names. Multiple values can be separated by commas. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. - remote_fields : typing.Optional[typing.Literal["type"]] + remote_fields : typing.Optional[GroupsListRequestRemoteFields] Deprecated. Use show_enum_origins. remote_id : typing.Optional[str] The API provider's ID for the given object. - show_enum_origins : typing.Optional[typing.Literal["type"]] + show_enum_origins : typing.Optional[GroupsListRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) types : typing.Optional[str] @@ -100,44 +105,27 @@ def list( Returns ------- - PaginatedGroupList + SyncPager[Group, PaginatedGroupList] Examples -------- - import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.hris.groups.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = client.hris.groups.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - is_commonly_used_as_team="is_commonly_used_as_team", - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - names="names", - page_size=1, - remote_id="remote_id", - types="types", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -155,7 +143,6 @@ def list( types=types, request_options=request_options, ) - return _response.data def retrieve( self, @@ -163,8 +150,8 @@ def retrieve( *, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - remote_fields: typing.Optional[typing.Literal["type"]] = None, - show_enum_origins: typing.Optional[typing.Literal["type"]] = None, + remote_fields: typing.Optional[GroupsRetrieveRequestRemoteFields] = None, + show_enum_origins: typing.Optional[GroupsRetrieveRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, ) -> Group: """ @@ -180,10 +167,10 @@ def retrieve( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - remote_fields : typing.Optional[typing.Literal["type"]] + remote_fields : typing.Optional[GroupsRetrieveRequestRemoteFields] Deprecated. Use show_enum_origins. - show_enum_origins : typing.Optional[typing.Literal["type"]] + show_enum_origins : typing.Optional[GroupsRetrieveRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -204,8 +191,6 @@ def retrieve( ) client.hris.groups.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) """ _response = self._raw_client.retrieve( @@ -248,12 +233,12 @@ async def list( modified_before: typing.Optional[dt.datetime] = None, names: typing.Optional[str] = None, page_size: typing.Optional[int] = None, - remote_fields: typing.Optional[typing.Literal["type"]] = None, + remote_fields: typing.Optional[GroupsListRequestRemoteFields] = None, remote_id: typing.Optional[str] = None, - show_enum_origins: typing.Optional[typing.Literal["type"]] = None, + show_enum_origins: typing.Optional[GroupsListRequestShowEnumOrigins] = None, types: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedGroupList: + ) -> AsyncPager[Group, PaginatedGroupList]: """ Returns a list of `Group` objects. @@ -290,15 +275,15 @@ async def list( If provided, will only return groups with these names. Multiple values can be separated by commas. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. - remote_fields : typing.Optional[typing.Literal["type"]] + remote_fields : typing.Optional[GroupsListRequestRemoteFields] Deprecated. Use show_enum_origins. remote_id : typing.Optional[str] The API provider's ID for the given object. - show_enum_origins : typing.Optional[typing.Literal["type"]] + show_enum_origins : typing.Optional[GroupsListRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) types : typing.Optional[str] @@ -309,13 +294,12 @@ async def list( Returns ------- - PaginatedGroupList + AsyncPager[Group, PaginatedGroupList] Examples -------- import asyncio - import datetime from merge import AsyncMerge @@ -326,34 +310,20 @@ async def list( async def main() -> None: - await client.hris.groups.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = await client.hris.groups.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - is_commonly_used_as_team="is_commonly_used_as_team", - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - names="names", - page_size=1, - remote_id="remote_id", - types="types", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -371,7 +341,6 @@ async def main() -> None: types=types, request_options=request_options, ) - return _response.data async def retrieve( self, @@ -379,8 +348,8 @@ async def retrieve( *, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - remote_fields: typing.Optional[typing.Literal["type"]] = None, - show_enum_origins: typing.Optional[typing.Literal["type"]] = None, + remote_fields: typing.Optional[GroupsRetrieveRequestRemoteFields] = None, + show_enum_origins: typing.Optional[GroupsRetrieveRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, ) -> Group: """ @@ -396,10 +365,10 @@ async def retrieve( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - remote_fields : typing.Optional[typing.Literal["type"]] + remote_fields : typing.Optional[GroupsRetrieveRequestRemoteFields] Deprecated. Use show_enum_origins. - show_enum_origins : typing.Optional[typing.Literal["type"]] + show_enum_origins : typing.Optional[GroupsRetrieveRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -425,8 +394,6 @@ async def retrieve( async def main() -> None: await client.hris.groups.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) diff --git a/src/merge/resources/hris/resources/groups/raw_client.py b/src/merge/resources/hris/resources/groups/raw_client.py index 1bf09946..58c2c8fb 100644 --- a/src/merge/resources/hris/resources/groups/raw_client.py +++ b/src/merge/resources/hris/resources/groups/raw_client.py @@ -9,10 +9,15 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.group import Group from ...types.paginated_group_list import PaginatedGroupList +from .types.groups_list_request_remote_fields import GroupsListRequestRemoteFields +from .types.groups_list_request_show_enum_origins import GroupsListRequestShowEnumOrigins +from .types.groups_retrieve_request_remote_fields import GroupsRetrieveRequestRemoteFields +from .types.groups_retrieve_request_show_enum_origins import GroupsRetrieveRequestShowEnumOrigins class RawGroupsClient: @@ -33,12 +38,12 @@ def list( modified_before: typing.Optional[dt.datetime] = None, names: typing.Optional[str] = None, page_size: typing.Optional[int] = None, - remote_fields: typing.Optional[typing.Literal["type"]] = None, + remote_fields: typing.Optional[GroupsListRequestRemoteFields] = None, remote_id: typing.Optional[str] = None, - show_enum_origins: typing.Optional[typing.Literal["type"]] = None, + show_enum_origins: typing.Optional[GroupsListRequestShowEnumOrigins] = None, types: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedGroupList]: + ) -> SyncPager[Group, PaginatedGroupList]: """ Returns a list of `Group` objects. @@ -75,15 +80,15 @@ def list( If provided, will only return groups with these names. Multiple values can be separated by commas. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. - remote_fields : typing.Optional[typing.Literal["type"]] + remote_fields : typing.Optional[GroupsListRequestRemoteFields] Deprecated. Use show_enum_origins. remote_id : typing.Optional[str] The API provider's ID for the given object. - show_enum_origins : typing.Optional[typing.Literal["type"]] + show_enum_origins : typing.Optional[GroupsListRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) types : typing.Optional[str] @@ -94,7 +99,7 @@ def list( Returns ------- - HttpResponse[PaginatedGroupList] + SyncPager[Group, PaginatedGroupList] """ _response = self._client_wrapper.httpx_client.request( @@ -121,14 +126,35 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedGroupList, construct_type( type_=PaginatedGroupList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_commonly_used_as_team=is_commonly_used_as_team, + modified_after=modified_after, + modified_before=modified_before, + names=names, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + types=types, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -140,8 +166,8 @@ def retrieve( *, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - remote_fields: typing.Optional[typing.Literal["type"]] = None, - show_enum_origins: typing.Optional[typing.Literal["type"]] = None, + remote_fields: typing.Optional[GroupsRetrieveRequestRemoteFields] = None, + show_enum_origins: typing.Optional[GroupsRetrieveRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[Group]: """ @@ -157,10 +183,10 @@ def retrieve( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - remote_fields : typing.Optional[typing.Literal["type"]] + remote_fields : typing.Optional[GroupsRetrieveRequestRemoteFields] Deprecated. Use show_enum_origins. - show_enum_origins : typing.Optional[typing.Literal["type"]] + show_enum_origins : typing.Optional[GroupsRetrieveRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -216,12 +242,12 @@ async def list( modified_before: typing.Optional[dt.datetime] = None, names: typing.Optional[str] = None, page_size: typing.Optional[int] = None, - remote_fields: typing.Optional[typing.Literal["type"]] = None, + remote_fields: typing.Optional[GroupsListRequestRemoteFields] = None, remote_id: typing.Optional[str] = None, - show_enum_origins: typing.Optional[typing.Literal["type"]] = None, + show_enum_origins: typing.Optional[GroupsListRequestShowEnumOrigins] = None, types: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedGroupList]: + ) -> AsyncPager[Group, PaginatedGroupList]: """ Returns a list of `Group` objects. @@ -258,15 +284,15 @@ async def list( If provided, will only return groups with these names. Multiple values can be separated by commas. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. - remote_fields : typing.Optional[typing.Literal["type"]] + remote_fields : typing.Optional[GroupsListRequestRemoteFields] Deprecated. Use show_enum_origins. remote_id : typing.Optional[str] The API provider's ID for the given object. - show_enum_origins : typing.Optional[typing.Literal["type"]] + show_enum_origins : typing.Optional[GroupsListRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) types : typing.Optional[str] @@ -277,7 +303,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedGroupList] + AsyncPager[Group, PaginatedGroupList] """ _response = await self._client_wrapper.httpx_client.request( @@ -304,14 +330,38 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedGroupList, construct_type( type_=PaginatedGroupList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_commonly_used_as_team=is_commonly_used_as_team, + modified_after=modified_after, + modified_before=modified_before, + names=names, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + types=types, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -323,8 +373,8 @@ async def retrieve( *, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - remote_fields: typing.Optional[typing.Literal["type"]] = None, - show_enum_origins: typing.Optional[typing.Literal["type"]] = None, + remote_fields: typing.Optional[GroupsRetrieveRequestRemoteFields] = None, + show_enum_origins: typing.Optional[GroupsRetrieveRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[Group]: """ @@ -340,10 +390,10 @@ async def retrieve( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - remote_fields : typing.Optional[typing.Literal["type"]] + remote_fields : typing.Optional[GroupsRetrieveRequestRemoteFields] Deprecated. Use show_enum_origins. - show_enum_origins : typing.Optional[typing.Literal["type"]] + show_enum_origins : typing.Optional[GroupsRetrieveRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] diff --git a/src/merge/resources/hris/resources/groups/types/__init__.py b/src/merge/resources/hris/resources/groups/types/__init__.py new file mode 100644 index 00000000..c918d49f --- /dev/null +++ b/src/merge/resources/hris/resources/groups/types/__init__.py @@ -0,0 +1,47 @@ +# This file was auto-generated by Fern from our API Definition. + +# isort: skip_file + +import typing +from importlib import import_module + +if typing.TYPE_CHECKING: + from .groups_list_request_remote_fields import GroupsListRequestRemoteFields + from .groups_list_request_show_enum_origins import GroupsListRequestShowEnumOrigins + from .groups_retrieve_request_remote_fields import GroupsRetrieveRequestRemoteFields + from .groups_retrieve_request_show_enum_origins import GroupsRetrieveRequestShowEnumOrigins +_dynamic_imports: typing.Dict[str, str] = { + "GroupsListRequestRemoteFields": ".groups_list_request_remote_fields", + "GroupsListRequestShowEnumOrigins": ".groups_list_request_show_enum_origins", + "GroupsRetrieveRequestRemoteFields": ".groups_retrieve_request_remote_fields", + "GroupsRetrieveRequestShowEnumOrigins": ".groups_retrieve_request_show_enum_origins", +} + + +def __getattr__(attr_name: str) -> typing.Any: + module_name = _dynamic_imports.get(attr_name) + if module_name is None: + raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") + try: + module = import_module(module_name, __package__) + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) + except ImportError as e: + raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e + except AttributeError as e: + raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e + + +def __dir__(): + lazy_attrs = list(_dynamic_imports.keys()) + return sorted(lazy_attrs) + + +__all__ = [ + "GroupsListRequestRemoteFields", + "GroupsListRequestShowEnumOrigins", + "GroupsRetrieveRequestRemoteFields", + "GroupsRetrieveRequestShowEnumOrigins", +] diff --git a/src/merge/resources/hris/resources/groups/types/groups_list_request_remote_fields.py b/src/merge/resources/hris/resources/groups/types/groups_list_request_remote_fields.py new file mode 100644 index 00000000..8784f8c9 --- /dev/null +++ b/src/merge/resources/hris/resources/groups/types/groups_list_request_remote_fields.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class GroupsListRequestRemoteFields(str, enum.Enum): + TYPE = "type" + + def visit(self, type: typing.Callable[[], T_Result]) -> T_Result: + if self is GroupsListRequestRemoteFields.TYPE: + return type() diff --git a/src/merge/resources/hris/resources/groups/types/groups_list_request_show_enum_origins.py b/src/merge/resources/hris/resources/groups/types/groups_list_request_show_enum_origins.py new file mode 100644 index 00000000..11675c14 --- /dev/null +++ b/src/merge/resources/hris/resources/groups/types/groups_list_request_show_enum_origins.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class GroupsListRequestShowEnumOrigins(str, enum.Enum): + TYPE = "type" + + def visit(self, type: typing.Callable[[], T_Result]) -> T_Result: + if self is GroupsListRequestShowEnumOrigins.TYPE: + return type() diff --git a/src/merge/resources/hris/resources/groups/types/groups_retrieve_request_remote_fields.py b/src/merge/resources/hris/resources/groups/types/groups_retrieve_request_remote_fields.py new file mode 100644 index 00000000..7224c1a2 --- /dev/null +++ b/src/merge/resources/hris/resources/groups/types/groups_retrieve_request_remote_fields.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class GroupsRetrieveRequestRemoteFields(str, enum.Enum): + TYPE = "type" + + def visit(self, type: typing.Callable[[], T_Result]) -> T_Result: + if self is GroupsRetrieveRequestRemoteFields.TYPE: + return type() diff --git a/src/merge/resources/hris/resources/groups/types/groups_retrieve_request_show_enum_origins.py b/src/merge/resources/hris/resources/groups/types/groups_retrieve_request_show_enum_origins.py new file mode 100644 index 00000000..e8f158c1 --- /dev/null +++ b/src/merge/resources/hris/resources/groups/types/groups_retrieve_request_show_enum_origins.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class GroupsRetrieveRequestShowEnumOrigins(str, enum.Enum): + TYPE = "type" + + def visit(self, type: typing.Callable[[], T_Result]) -> T_Result: + if self is GroupsRetrieveRequestShowEnumOrigins.TYPE: + return type() diff --git a/src/merge/resources/hris/resources/issues/__init__.py b/src/merge/resources/hris/resources/issues/__init__.py index 3ca1094b..45b33fe1 100644 --- a/src/merge/resources/hris/resources/issues/__init__.py +++ b/src/merge/resources/hris/resources/issues/__init__.py @@ -16,8 +16,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: diff --git a/src/merge/resources/hris/resources/issues/client.py b/src/merge/resources/hris/resources/issues/client.py index 211669fd..8c63d0f8 100644 --- a/src/merge/resources/hris/resources/issues/client.py +++ b/src/merge/resources/hris/resources/issues/client.py @@ -4,6 +4,7 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.issue import Issue from ...types.paginated_issue_list import PaginatedIssueList @@ -44,7 +45,7 @@ def list( start_date: typing.Optional[str] = None, status: typing.Optional[IssuesListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedIssueList: + ) -> SyncPager[Issue, PaginatedIssueList]: """ Gets all issues for Organization. @@ -81,7 +82,7 @@ def list( If provided, will only include issues pertaining to the linked account passed in. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. start_date : typing.Optional[str] If included, will only include issues whose most recent action occurred after this time @@ -97,46 +98,27 @@ def list( Returns ------- - PaginatedIssueList + SyncPager[Issue, PaginatedIssueList] Examples -------- - import datetime - from merge import Merge - from merge.resources.hris.resources.issues import IssuesListRequestStatus client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.hris.issues.list( - account_token="account_token", + response = client.hris.issues.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_date="end_date", - end_user_organization_name="end_user_organization_name", - first_incident_time_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - first_incident_time_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - include_muted="include_muted", - integration_name="integration_name", - last_incident_time_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - last_incident_time_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - linked_account_id="linked_account_id", - page_size=1, - start_date="start_date", - status=IssuesListRequestStatus.ONGOING, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( account_token=account_token, cursor=cursor, end_date=end_date, @@ -153,7 +135,6 @@ def list( status=status, request_options=request_options, ) - return _response.data def retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> Issue: """ @@ -220,7 +201,7 @@ async def list( start_date: typing.Optional[str] = None, status: typing.Optional[IssuesListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedIssueList: + ) -> AsyncPager[Issue, PaginatedIssueList]: """ Gets all issues for Organization. @@ -257,7 +238,7 @@ async def list( If provided, will only include issues pertaining to the linked account passed in. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. start_date : typing.Optional[str] If included, will only include issues whose most recent action occurred after this time @@ -273,16 +254,14 @@ async def list( Returns ------- - PaginatedIssueList + AsyncPager[Issue, PaginatedIssueList] Examples -------- import asyncio - import datetime from merge import AsyncMerge - from merge.resources.hris.resources.issues import IssuesListRequestStatus client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -291,35 +270,20 @@ async def list( async def main() -> None: - await client.hris.issues.list( - account_token="account_token", + response = await client.hris.issues.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_date="end_date", - end_user_organization_name="end_user_organization_name", - first_incident_time_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - first_incident_time_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - include_muted="include_muted", - integration_name="integration_name", - last_incident_time_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - last_incident_time_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - linked_account_id="linked_account_id", - page_size=1, - start_date="start_date", - status=IssuesListRequestStatus.ONGOING, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( account_token=account_token, cursor=cursor, end_date=end_date, @@ -336,7 +300,6 @@ async def main() -> None: status=status, request_options=request_options, ) - return _response.data async def retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> Issue: """ diff --git a/src/merge/resources/hris/resources/issues/raw_client.py b/src/merge/resources/hris/resources/issues/raw_client.py index bd80ca52..a863afb2 100644 --- a/src/merge/resources/hris/resources/issues/raw_client.py +++ b/src/merge/resources/hris/resources/issues/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.issue import Issue @@ -38,7 +39,7 @@ def list( start_date: typing.Optional[str] = None, status: typing.Optional[IssuesListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedIssueList]: + ) -> SyncPager[Issue, PaginatedIssueList]: """ Gets all issues for Organization. @@ -75,7 +76,7 @@ def list( If provided, will only include issues pertaining to the linked account passed in. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. start_date : typing.Optional[str] If included, will only include issues whose most recent action occurred after this time @@ -91,7 +92,7 @@ def list( Returns ------- - HttpResponse[PaginatedIssueList] + SyncPager[Issue, PaginatedIssueList] """ _response = self._client_wrapper.httpx_client.request( @@ -125,14 +126,34 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedIssueList, construct_type( type_=PaginatedIssueList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + account_token=account_token, + cursor=_parsed_next, + end_date=end_date, + end_user_organization_name=end_user_organization_name, + first_incident_time_after=first_incident_time_after, + first_incident_time_before=first_incident_time_before, + include_muted=include_muted, + integration_name=integration_name, + last_incident_time_after=last_incident_time_after, + last_incident_time_before=last_incident_time_before, + linked_account_id=linked_account_id, + page_size=page_size, + start_date=start_date, + status=status, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -197,7 +218,7 @@ async def list( start_date: typing.Optional[str] = None, status: typing.Optional[IssuesListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedIssueList]: + ) -> AsyncPager[Issue, PaginatedIssueList]: """ Gets all issues for Organization. @@ -234,7 +255,7 @@ async def list( If provided, will only include issues pertaining to the linked account passed in. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. start_date : typing.Optional[str] If included, will only include issues whose most recent action occurred after this time @@ -250,7 +271,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedIssueList] + AsyncPager[Issue, PaginatedIssueList] """ _response = await self._client_wrapper.httpx_client.request( @@ -284,14 +305,37 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedIssueList, construct_type( type_=PaginatedIssueList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + account_token=account_token, + cursor=_parsed_next, + end_date=end_date, + end_user_organization_name=end_user_organization_name, + first_incident_time_after=first_incident_time_after, + first_incident_time_before=first_incident_time_before, + include_muted=include_muted, + integration_name=integration_name, + last_incident_time_after=last_incident_time_after, + last_incident_time_before=last_incident_time_before, + linked_account_id=linked_account_id, + page_size=page_size, + start_date=start_date, + status=status, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/hris/resources/issues/types/__init__.py b/src/merge/resources/hris/resources/issues/types/__init__.py index 88fbf977..5e097583 100644 --- a/src/merge/resources/hris/resources/issues/types/__init__.py +++ b/src/merge/resources/hris/resources/issues/types/__init__.py @@ -16,8 +16,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: diff --git a/src/merge/resources/hris/resources/link_token/__init__.py b/src/merge/resources/hris/resources/link_token/__init__.py index be8c3839..15700960 100644 --- a/src/merge/resources/hris/resources/link_token/__init__.py +++ b/src/merge/resources/hris/resources/link_token/__init__.py @@ -6,11 +6,8 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .types import EndUserDetailsRequestCompletedAccountInitialScreen, EndUserDetailsRequestLanguage -_dynamic_imports: typing.Dict[str, str] = { - "EndUserDetailsRequestCompletedAccountInitialScreen": ".types", - "EndUserDetailsRequestLanguage": ".types", -} + from .types import EndUserDetailsRequestLanguage +_dynamic_imports: typing.Dict[str, str] = {"EndUserDetailsRequestLanguage": ".types"} def __getattr__(attr_name: str) -> typing.Any: @@ -19,8 +16,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -32,4 +31,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["EndUserDetailsRequestCompletedAccountInitialScreen", "EndUserDetailsRequestLanguage"] +__all__ = ["EndUserDetailsRequestLanguage"] diff --git a/src/merge/resources/hris/resources/link_token/client.py b/src/merge/resources/hris/resources/link_token/client.py index 15620041..86b60c01 100644 --- a/src/merge/resources/hris/resources/link_token/client.py +++ b/src/merge/resources/hris/resources/link_token/client.py @@ -9,9 +9,6 @@ from ...types.individual_common_model_scope_deserializer_request import IndividualCommonModelScopeDeserializerRequest from ...types.link_token import LinkToken from .raw_client import AsyncRawLinkTokenClient, RawLinkTokenClient -from .types.end_user_details_request_completed_account_initial_screen import ( - EndUserDetailsRequestCompletedAccountInitialScreen, -) from .types.end_user_details_request_language import EndUserDetailsRequestLanguage # this is used as the default value for optional parameters @@ -50,8 +47,7 @@ def create( ] = OMIT, language: typing.Optional[EndUserDetailsRequestLanguage] = OMIT, are_syncs_disabled: typing.Optional[bool] = OMIT, - integration_specific_config: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, - completed_account_initial_screen: typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen] = OMIT, + integration_specific_config: typing.Optional[typing.Dict[str, typing.Any]] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> LinkToken: """ @@ -98,14 +94,9 @@ def create( are_syncs_disabled : typing.Optional[bool] The boolean that indicates whether initial, periodic, and force syncs will be disabled. - integration_specific_config : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] + integration_specific_config : typing.Optional[typing.Dict[str, typing.Any]] A JSON object containing integration-specific configuration options. - completed_account_initial_screen : typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen] - When creating a Link token, you can specifiy the initial screen of Linking Flow for a completed Linked Account. - - * `SELECTIVE_SYNC` - SELECTIVE_SYNC - request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -144,7 +135,6 @@ def create( language=language, are_syncs_disabled=are_syncs_disabled, integration_specific_config=integration_specific_config, - completed_account_initial_screen=completed_account_initial_screen, request_options=request_options, ) return _response.data @@ -182,8 +172,7 @@ async def create( ] = OMIT, language: typing.Optional[EndUserDetailsRequestLanguage] = OMIT, are_syncs_disabled: typing.Optional[bool] = OMIT, - integration_specific_config: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, - completed_account_initial_screen: typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen] = OMIT, + integration_specific_config: typing.Optional[typing.Dict[str, typing.Any]] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> LinkToken: """ @@ -230,14 +219,9 @@ async def create( are_syncs_disabled : typing.Optional[bool] The boolean that indicates whether initial, periodic, and force syncs will be disabled. - integration_specific_config : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] + integration_specific_config : typing.Optional[typing.Dict[str, typing.Any]] A JSON object containing integration-specific configuration options. - completed_account_initial_screen : typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen] - When creating a Link token, you can specifiy the initial screen of Linking Flow for a completed Linked Account. - - * `SELECTIVE_SYNC` - SELECTIVE_SYNC - request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -284,7 +268,6 @@ async def main() -> None: language=language, are_syncs_disabled=are_syncs_disabled, integration_specific_config=integration_specific_config, - completed_account_initial_screen=completed_account_initial_screen, request_options=request_options, ) return _response.data diff --git a/src/merge/resources/hris/resources/link_token/raw_client.py b/src/merge/resources/hris/resources/link_token/raw_client.py index 979a2af4..bffa2303 100644 --- a/src/merge/resources/hris/resources/link_token/raw_client.py +++ b/src/merge/resources/hris/resources/link_token/raw_client.py @@ -12,9 +12,6 @@ from ...types.common_model_scopes_body_request import CommonModelScopesBodyRequest from ...types.individual_common_model_scope_deserializer_request import IndividualCommonModelScopeDeserializerRequest from ...types.link_token import LinkToken -from .types.end_user_details_request_completed_account_initial_screen import ( - EndUserDetailsRequestCompletedAccountInitialScreen, -) from .types.end_user_details_request_language import EndUserDetailsRequestLanguage # this is used as the default value for optional parameters @@ -42,8 +39,7 @@ def create( ] = OMIT, language: typing.Optional[EndUserDetailsRequestLanguage] = OMIT, are_syncs_disabled: typing.Optional[bool] = OMIT, - integration_specific_config: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, - completed_account_initial_screen: typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen] = OMIT, + integration_specific_config: typing.Optional[typing.Dict[str, typing.Any]] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[LinkToken]: """ @@ -90,14 +86,9 @@ def create( are_syncs_disabled : typing.Optional[bool] The boolean that indicates whether initial, periodic, and force syncs will be disabled. - integration_specific_config : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] + integration_specific_config : typing.Optional[typing.Dict[str, typing.Any]] A JSON object containing integration-specific configuration options. - completed_account_initial_screen : typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen] - When creating a Link token, you can specifiy the initial screen of Linking Flow for a completed Linked Account. - - * `SELECTIVE_SYNC` - SELECTIVE_SYNC - request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -123,7 +114,6 @@ def create( "language": language, "are_syncs_disabled": are_syncs_disabled, "integration_specific_config": integration_specific_config, - "completed_account_initial_screen": completed_account_initial_screen, }, headers={ "content-type": "application/json", @@ -168,8 +158,7 @@ async def create( ] = OMIT, language: typing.Optional[EndUserDetailsRequestLanguage] = OMIT, are_syncs_disabled: typing.Optional[bool] = OMIT, - integration_specific_config: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, - completed_account_initial_screen: typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen] = OMIT, + integration_specific_config: typing.Optional[typing.Dict[str, typing.Any]] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[LinkToken]: """ @@ -216,14 +205,9 @@ async def create( are_syncs_disabled : typing.Optional[bool] The boolean that indicates whether initial, periodic, and force syncs will be disabled. - integration_specific_config : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] + integration_specific_config : typing.Optional[typing.Dict[str, typing.Any]] A JSON object containing integration-specific configuration options. - completed_account_initial_screen : typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen] - When creating a Link token, you can specifiy the initial screen of Linking Flow for a completed Linked Account. - - * `SELECTIVE_SYNC` - SELECTIVE_SYNC - request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -249,7 +233,6 @@ async def create( "language": language, "are_syncs_disabled": are_syncs_disabled, "integration_specific_config": integration_specific_config, - "completed_account_initial_screen": completed_account_initial_screen, }, headers={ "content-type": "application/json", diff --git a/src/merge/resources/hris/resources/link_token/types/__init__.py b/src/merge/resources/hris/resources/link_token/types/__init__.py index 55cc1d4e..dad2a14a 100644 --- a/src/merge/resources/hris/resources/link_token/types/__init__.py +++ b/src/merge/resources/hris/resources/link_token/types/__init__.py @@ -6,14 +6,8 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .end_user_details_request_completed_account_initial_screen import ( - EndUserDetailsRequestCompletedAccountInitialScreen, - ) from .end_user_details_request_language import EndUserDetailsRequestLanguage -_dynamic_imports: typing.Dict[str, str] = { - "EndUserDetailsRequestCompletedAccountInitialScreen": ".end_user_details_request_completed_account_initial_screen", - "EndUserDetailsRequestLanguage": ".end_user_details_request_language", -} +_dynamic_imports: typing.Dict[str, str] = {"EndUserDetailsRequestLanguage": ".end_user_details_request_language"} def __getattr__(attr_name: str) -> typing.Any: @@ -22,8 +16,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -35,4 +31,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["EndUserDetailsRequestCompletedAccountInitialScreen", "EndUserDetailsRequestLanguage"] +__all__ = ["EndUserDetailsRequestLanguage"] diff --git a/src/merge/resources/hris/resources/link_token/types/end_user_details_request_completed_account_initial_screen.py b/src/merge/resources/hris/resources/link_token/types/end_user_details_request_completed_account_initial_screen.py deleted file mode 100644 index 0c5d586d..00000000 --- a/src/merge/resources/hris/resources/link_token/types/end_user_details_request_completed_account_initial_screen.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from ....types.completed_account_initial_screen_enum import CompletedAccountInitialScreenEnum - -EndUserDetailsRequestCompletedAccountInitialScreen = typing.Union[CompletedAccountInitialScreenEnum, str] diff --git a/src/merge/resources/hris/resources/linked_accounts/__init__.py b/src/merge/resources/hris/resources/linked_accounts/__init__.py index 0b9e42b4..12e213b7 100644 --- a/src/merge/resources/hris/resources/linked_accounts/__init__.py +++ b/src/merge/resources/hris/resources/linked_accounts/__init__.py @@ -16,8 +16,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: diff --git a/src/merge/resources/hris/resources/linked_accounts/client.py b/src/merge/resources/hris/resources/linked_accounts/client.py index ada41b71..47cff5f0 100644 --- a/src/merge/resources/hris/resources/linked_accounts/client.py +++ b/src/merge/resources/hris/resources/linked_accounts/client.py @@ -3,7 +3,9 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions +from ...types.account_details_and_actions import AccountDetailsAndActions from ...types.paginated_account_details_and_actions_list import PaginatedAccountDetailsAndActionsList from .raw_client import AsyncRawLinkedAccountsClient, RawLinkedAccountsClient from .types.linked_accounts_list_request_category import LinkedAccountsListRequestCategory @@ -41,7 +43,7 @@ def list( page_size: typing.Optional[int] = None, status: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAccountDetailsAndActionsList: + ) -> SyncPager[AccountDetailsAndActions, PaginatedAccountDetailsAndActionsList]: """ List linked accounts for your organization. @@ -88,7 +90,7 @@ def list( If included, will only include test linked accounts. If not included, will only include non-test linked accounts. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. status : typing.Optional[str] Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` @@ -98,37 +100,27 @@ def list( Returns ------- - PaginatedAccountDetailsAndActionsList + SyncPager[AccountDetailsAndActions, PaginatedAccountDetailsAndActionsList] Examples -------- from merge import Merge - from merge.resources.hris.resources.linked_accounts import ( - LinkedAccountsListRequestCategory, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.hris.linked_accounts.list( - category=LinkedAccountsListRequestCategory.ACCOUNTING, + response = client.hris.linked_accounts.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_user_email_address="end_user_email_address", - end_user_organization_name="end_user_organization_name", - end_user_origin_id="end_user_origin_id", - end_user_origin_ids="end_user_origin_ids", - id="id", - ids="ids", - include_duplicates=True, - integration_name="integration_name", - is_test_account="is_test_account", - page_size=1, - status="status", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( category=category, cursor=cursor, end_user_email_address=end_user_email_address, @@ -144,7 +136,6 @@ def list( status=status, request_options=request_options, ) - return _response.data class AsyncLinkedAccountsClient: @@ -179,7 +170,7 @@ async def list( page_size: typing.Optional[int] = None, status: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAccountDetailsAndActionsList: + ) -> AsyncPager[AccountDetailsAndActions, PaginatedAccountDetailsAndActionsList]: """ List linked accounts for your organization. @@ -226,7 +217,7 @@ async def list( If included, will only include test linked accounts. If not included, will only include non-test linked accounts. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. status : typing.Optional[str] Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` @@ -236,7 +227,7 @@ async def list( Returns ------- - PaginatedAccountDetailsAndActionsList + AsyncPager[AccountDetailsAndActions, PaginatedAccountDetailsAndActionsList] Examples @@ -244,9 +235,6 @@ async def list( import asyncio from merge import AsyncMerge - from merge.resources.hris.resources.linked_accounts import ( - LinkedAccountsListRequestCategory, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -255,26 +243,20 @@ async def list( async def main() -> None: - await client.hris.linked_accounts.list( - category=LinkedAccountsListRequestCategory.ACCOUNTING, + response = await client.hris.linked_accounts.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_user_email_address="end_user_email_address", - end_user_organization_name="end_user_organization_name", - end_user_origin_id="end_user_origin_id", - end_user_origin_ids="end_user_origin_ids", - id="id", - ids="ids", - include_duplicates=True, - integration_name="integration_name", - is_test_account="is_test_account", - page_size=1, - status="status", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( category=category, cursor=cursor, end_user_email_address=end_user_email_address, @@ -290,4 +272,3 @@ async def main() -> None: status=status, request_options=request_options, ) - return _response.data diff --git a/src/merge/resources/hris/resources/linked_accounts/raw_client.py b/src/merge/resources/hris/resources/linked_accounts/raw_client.py index cd2639e5..2bbe71c2 100644 --- a/src/merge/resources/hris/resources/linked_accounts/raw_client.py +++ b/src/merge/resources/hris/resources/linked_accounts/raw_client.py @@ -5,9 +5,10 @@ from .....core.api_error import ApiError from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type +from ...types.account_details_and_actions import AccountDetailsAndActions from ...types.paginated_account_details_and_actions_list import PaginatedAccountDetailsAndActionsList from .types.linked_accounts_list_request_category import LinkedAccountsListRequestCategory @@ -33,7 +34,7 @@ def list( page_size: typing.Optional[int] = None, status: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedAccountDetailsAndActionsList]: + ) -> SyncPager[AccountDetailsAndActions, PaginatedAccountDetailsAndActionsList]: """ List linked accounts for your organization. @@ -80,7 +81,7 @@ def list( If included, will only include test linked accounts. If not included, will only include non-test linked accounts. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. status : typing.Optional[str] Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` @@ -90,7 +91,7 @@ def list( Returns ------- - HttpResponse[PaginatedAccountDetailsAndActionsList] + SyncPager[AccountDetailsAndActions, PaginatedAccountDetailsAndActionsList] """ _response = self._client_wrapper.httpx_client.request( @@ -115,14 +116,33 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAccountDetailsAndActionsList, construct_type( type_=PaginatedAccountDetailsAndActionsList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + category=category, + cursor=_parsed_next, + end_user_email_address=end_user_email_address, + end_user_organization_name=end_user_organization_name, + end_user_origin_id=end_user_origin_id, + end_user_origin_ids=end_user_origin_ids, + id=id, + ids=ids, + include_duplicates=include_duplicates, + integration_name=integration_name, + is_test_account=is_test_account, + page_size=page_size, + status=status, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -150,7 +170,7 @@ async def list( page_size: typing.Optional[int] = None, status: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedAccountDetailsAndActionsList]: + ) -> AsyncPager[AccountDetailsAndActions, PaginatedAccountDetailsAndActionsList]: """ List linked accounts for your organization. @@ -197,7 +217,7 @@ async def list( If included, will only include test linked accounts. If not included, will only include non-test linked accounts. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. status : typing.Optional[str] Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` @@ -207,7 +227,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedAccountDetailsAndActionsList] + AsyncPager[AccountDetailsAndActions, PaginatedAccountDetailsAndActionsList] """ _response = await self._client_wrapper.httpx_client.request( @@ -232,14 +252,36 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAccountDetailsAndActionsList, construct_type( type_=PaginatedAccountDetailsAndActionsList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + category=category, + cursor=_parsed_next, + end_user_email_address=end_user_email_address, + end_user_organization_name=end_user_organization_name, + end_user_origin_id=end_user_origin_id, + end_user_origin_ids=end_user_origin_ids, + id=id, + ids=ids, + include_duplicates=include_duplicates, + integration_name=integration_name, + is_test_account=is_test_account, + page_size=page_size, + status=status, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/hris/resources/linked_accounts/types/__init__.py b/src/merge/resources/hris/resources/linked_accounts/types/__init__.py index a28f38cc..a884db6a 100644 --- a/src/merge/resources/hris/resources/linked_accounts/types/__init__.py +++ b/src/merge/resources/hris/resources/linked_accounts/types/__init__.py @@ -18,8 +18,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: diff --git a/src/merge/resources/hris/resources/locations/__init__.py b/src/merge/resources/hris/resources/locations/__init__.py index 173f8bf1..d803cdae 100644 --- a/src/merge/resources/hris/resources/locations/__init__.py +++ b/src/merge/resources/hris/resources/locations/__init__.py @@ -28,8 +28,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: diff --git a/src/merge/resources/hris/resources/locations/client.py b/src/merge/resources/hris/resources/locations/client.py index 7663787c..157d9934 100644 --- a/src/merge/resources/hris/resources/locations/client.py +++ b/src/merge/resources/hris/resources/locations/client.py @@ -4,6 +4,7 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.location import Location from ...types.paginated_location_list import PaginatedLocationList @@ -47,7 +48,7 @@ def list( remote_id: typing.Optional[str] = None, show_enum_origins: typing.Optional[LocationsListRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedLocationList: + ) -> SyncPager[Location, PaginatedLocationList]: """ Returns a list of `Location` objects. @@ -72,7 +73,7 @@ def list( Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). location_type : typing.Optional[LocationsListRequestLocationType] - If provided, will only return locations with this location type + If provided, will only return locations with this location_type * `HOME` - HOME * `WORK` - WORK @@ -84,7 +85,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_fields : typing.Optional[LocationsListRequestRemoteFields] Deprecated. Use show_enum_origins. @@ -100,49 +101,27 @@ def list( Returns ------- - PaginatedLocationList + SyncPager[Location, PaginatedLocationList] Examples -------- - import datetime - from merge import Merge - from merge.resources.hris.resources.locations import ( - LocationsListRequestLocationType, - LocationsListRequestRemoteFields, - LocationsListRequestShowEnumOrigins, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.hris.locations.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = client.hris.locations.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - location_type=LocationsListRequestLocationType.HOME, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_fields=LocationsListRequestRemoteFields.COUNTRY, - remote_id="remote_id", - show_enum_origins=LocationsListRequestShowEnumOrigins.COUNTRY, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -158,7 +137,6 @@ def list( show_enum_origins=show_enum_origins, request_options=request_options, ) - return _response.data def retrieve( self, @@ -200,10 +178,6 @@ def retrieve( Examples -------- from merge import Merge - from merge.resources.hris.resources.locations import ( - LocationsRetrieveRequestRemoteFields, - LocationsRetrieveRequestShowEnumOrigins, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -211,10 +185,6 @@ def retrieve( ) client.hris.locations.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, - remote_fields=LocationsRetrieveRequestRemoteFields.COUNTRY, - show_enum_origins=LocationsRetrieveRequestShowEnumOrigins.COUNTRY, ) """ _response = self._raw_client.retrieve( @@ -260,7 +230,7 @@ async def list( remote_id: typing.Optional[str] = None, show_enum_origins: typing.Optional[LocationsListRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedLocationList: + ) -> AsyncPager[Location, PaginatedLocationList]: """ Returns a list of `Location` objects. @@ -285,7 +255,7 @@ async def list( Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). location_type : typing.Optional[LocationsListRequestLocationType] - If provided, will only return locations with this location type + If provided, will only return locations with this location_type * `HOME` - HOME * `WORK` - WORK @@ -297,7 +267,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_fields : typing.Optional[LocationsListRequestRemoteFields] Deprecated. Use show_enum_origins. @@ -313,20 +283,14 @@ async def list( Returns ------- - PaginatedLocationList + AsyncPager[Location, PaginatedLocationList] Examples -------- import asyncio - import datetime from merge import AsyncMerge - from merge.resources.hris.resources.locations import ( - LocationsListRequestLocationType, - LocationsListRequestRemoteFields, - LocationsListRequestShowEnumOrigins, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -335,34 +299,20 @@ async def list( async def main() -> None: - await client.hris.locations.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = await client.hris.locations.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - location_type=LocationsListRequestLocationType.HOME, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_fields=LocationsListRequestRemoteFields.COUNTRY, - remote_id="remote_id", - show_enum_origins=LocationsListRequestShowEnumOrigins.COUNTRY, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -378,7 +328,6 @@ async def main() -> None: show_enum_origins=show_enum_origins, request_options=request_options, ) - return _response.data async def retrieve( self, @@ -422,10 +371,6 @@ async def retrieve( import asyncio from merge import AsyncMerge - from merge.resources.hris.resources.locations import ( - LocationsRetrieveRequestRemoteFields, - LocationsRetrieveRequestShowEnumOrigins, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -436,10 +381,6 @@ async def retrieve( async def main() -> None: await client.hris.locations.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, - remote_fields=LocationsRetrieveRequestRemoteFields.COUNTRY, - show_enum_origins=LocationsRetrieveRequestShowEnumOrigins.COUNTRY, ) diff --git a/src/merge/resources/hris/resources/locations/raw_client.py b/src/merge/resources/hris/resources/locations/raw_client.py index cdf539bd..e4cba6f2 100644 --- a/src/merge/resources/hris/resources/locations/raw_client.py +++ b/src/merge/resources/hris/resources/locations/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.location import Location @@ -41,7 +42,7 @@ def list( remote_id: typing.Optional[str] = None, show_enum_origins: typing.Optional[LocationsListRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedLocationList]: + ) -> SyncPager[Location, PaginatedLocationList]: """ Returns a list of `Location` objects. @@ -66,7 +67,7 @@ def list( Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). location_type : typing.Optional[LocationsListRequestLocationType] - If provided, will only return locations with this location type + If provided, will only return locations with this location_type * `HOME` - HOME * `WORK` - WORK @@ -78,7 +79,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_fields : typing.Optional[LocationsListRequestRemoteFields] Deprecated. Use show_enum_origins. @@ -94,7 +95,7 @@ def list( Returns ------- - HttpResponse[PaginatedLocationList] + SyncPager[Location, PaginatedLocationList] """ _response = self._client_wrapper.httpx_client.request( @@ -119,14 +120,33 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedLocationList, construct_type( type_=PaginatedLocationList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + location_type=location_type, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -217,7 +237,7 @@ async def list( remote_id: typing.Optional[str] = None, show_enum_origins: typing.Optional[LocationsListRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedLocationList]: + ) -> AsyncPager[Location, PaginatedLocationList]: """ Returns a list of `Location` objects. @@ -242,7 +262,7 @@ async def list( Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). location_type : typing.Optional[LocationsListRequestLocationType] - If provided, will only return locations with this location type + If provided, will only return locations with this location_type * `HOME` - HOME * `WORK` - WORK @@ -254,7 +274,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_fields : typing.Optional[LocationsListRequestRemoteFields] Deprecated. Use show_enum_origins. @@ -270,7 +290,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedLocationList] + AsyncPager[Location, PaginatedLocationList] """ _response = await self._client_wrapper.httpx_client.request( @@ -295,14 +315,36 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedLocationList, construct_type( type_=PaginatedLocationList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + location_type=location_type, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/hris/resources/locations/types/__init__.py b/src/merge/resources/hris/resources/locations/types/__init__.py index ef281848..9c0c9351 100644 --- a/src/merge/resources/hris/resources/locations/types/__init__.py +++ b/src/merge/resources/hris/resources/locations/types/__init__.py @@ -26,8 +26,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: diff --git a/src/merge/resources/hris/resources/pay_groups/client.py b/src/merge/resources/hris/resources/pay_groups/client.py index dd944a00..a116b21d 100644 --- a/src/merge/resources/hris/resources/pay_groups/client.py +++ b/src/merge/resources/hris/resources/pay_groups/client.py @@ -4,6 +4,7 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.paginated_pay_group_list import PaginatedPayGroupList from ...types.pay_group import PayGroup @@ -39,7 +40,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedPayGroupList: + ) -> SyncPager[PayGroup, PaginatedPayGroupList]: """ Returns a list of `PayGroup` objects. @@ -70,7 +71,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -80,41 +81,27 @@ def list( Returns ------- - PaginatedPayGroupList + SyncPager[PayGroup, PaginatedPayGroupList] Examples -------- - import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.hris.pay_groups.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = client.hris.pay_groups.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -127,7 +114,6 @@ def list( remote_id=remote_id, request_options=request_options, ) - return _response.data def retrieve( self, @@ -168,8 +154,6 @@ def retrieve( ) client.hris.pay_groups.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) """ _response = self._raw_client.retrieve( @@ -210,7 +194,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedPayGroupList: + ) -> AsyncPager[PayGroup, PaginatedPayGroupList]: """ Returns a list of `PayGroup` objects. @@ -241,7 +225,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -251,13 +235,12 @@ async def list( Returns ------- - PaginatedPayGroupList + AsyncPager[PayGroup, PaginatedPayGroupList] Examples -------- import asyncio - import datetime from merge import AsyncMerge @@ -268,31 +251,20 @@ async def list( async def main() -> None: - await client.hris.pay_groups.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = await client.hris.pay_groups.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -305,7 +277,6 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def retrieve( self, @@ -351,8 +322,6 @@ async def retrieve( async def main() -> None: await client.hris.pay_groups.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) diff --git a/src/merge/resources/hris/resources/pay_groups/raw_client.py b/src/merge/resources/hris/resources/pay_groups/raw_client.py index 8a3fdb7d..638bf185 100644 --- a/src/merge/resources/hris/resources/pay_groups/raw_client.py +++ b/src/merge/resources/hris/resources/pay_groups/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.paginated_pay_group_list import PaginatedPayGroupList @@ -33,7 +34,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedPayGroupList]: + ) -> SyncPager[PayGroup, PaginatedPayGroupList]: """ Returns a list of `PayGroup` objects. @@ -64,7 +65,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -74,7 +75,7 @@ def list( Returns ------- - HttpResponse[PaginatedPayGroupList] + SyncPager[PayGroup, PaginatedPayGroupList] """ _response = self._client_wrapper.httpx_client.request( @@ -96,14 +97,30 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedPayGroupList, construct_type( type_=PaginatedPayGroupList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -181,7 +198,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedPayGroupList]: + ) -> AsyncPager[PayGroup, PaginatedPayGroupList]: """ Returns a list of `PayGroup` objects. @@ -212,7 +229,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -222,7 +239,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedPayGroupList] + AsyncPager[PayGroup, PaginatedPayGroupList] """ _response = await self._client_wrapper.httpx_client.request( @@ -244,14 +261,33 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedPayGroupList, construct_type( type_=PaginatedPayGroupList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/hris/resources/payroll_runs/__init__.py b/src/merge/resources/hris/resources/payroll_runs/__init__.py index 9d371263..7a6e55d5 100644 --- a/src/merge/resources/hris/resources/payroll_runs/__init__.py +++ b/src/merge/resources/hris/resources/payroll_runs/__init__.py @@ -28,8 +28,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: diff --git a/src/merge/resources/hris/resources/payroll_runs/client.py b/src/merge/resources/hris/resources/payroll_runs/client.py index b7f01c0a..2fc3dc49 100644 --- a/src/merge/resources/hris/resources/payroll_runs/client.py +++ b/src/merge/resources/hris/resources/payroll_runs/client.py @@ -4,6 +4,7 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.paginated_payroll_run_list import PaginatedPayrollRunList from ...types.payroll_run import PayrollRun @@ -51,7 +52,7 @@ def list( started_after: typing.Optional[dt.datetime] = None, started_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedPayrollRunList: + ) -> SyncPager[PayrollRun, PaginatedPayrollRunList]: """ Returns a list of `PayrollRun` objects. @@ -88,7 +89,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_fields : typing.Optional[PayrollRunsListRequestRemoteFields] Deprecated. Use show_enum_origins. @@ -119,61 +120,27 @@ def list( Returns ------- - PaginatedPayrollRunList + SyncPager[PayrollRun, PaginatedPayrollRunList] Examples -------- - import datetime - from merge import Merge - from merge.resources.hris.resources.payroll_runs import ( - PayrollRunsListRequestRemoteFields, - PayrollRunsListRequestRunType, - PayrollRunsListRequestShowEnumOrigins, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.hris.payroll_runs.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = client.hris.payroll_runs.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - ended_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - ended_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_fields=PayrollRunsListRequestRemoteFields.RUN_STATE, - remote_id="remote_id", - run_type=PayrollRunsListRequestRunType.CORRECTION, - show_enum_origins=PayrollRunsListRequestShowEnumOrigins.RUN_STATE, - started_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - started_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -193,7 +160,6 @@ def list( started_before=started_before, request_options=request_options, ) - return _response.data def retrieve( self, @@ -235,10 +201,6 @@ def retrieve( Examples -------- from merge import Merge - from merge.resources.hris.resources.payroll_runs import ( - PayrollRunsRetrieveRequestRemoteFields, - PayrollRunsRetrieveRequestShowEnumOrigins, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -246,10 +208,6 @@ def retrieve( ) client.hris.payroll_runs.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, - remote_fields=PayrollRunsRetrieveRequestRemoteFields.RUN_STATE, - show_enum_origins=PayrollRunsRetrieveRequestShowEnumOrigins.RUN_STATE, ) """ _response = self._raw_client.retrieve( @@ -299,7 +257,7 @@ async def list( started_after: typing.Optional[dt.datetime] = None, started_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedPayrollRunList: + ) -> AsyncPager[PayrollRun, PaginatedPayrollRunList]: """ Returns a list of `PayrollRun` objects. @@ -336,7 +294,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_fields : typing.Optional[PayrollRunsListRequestRemoteFields] Deprecated. Use show_enum_origins. @@ -367,20 +325,14 @@ async def list( Returns ------- - PaginatedPayrollRunList + AsyncPager[PayrollRun, PaginatedPayrollRunList] Examples -------- import asyncio - import datetime from merge import AsyncMerge - from merge.resources.hris.resources.payroll_runs import ( - PayrollRunsListRequestRemoteFields, - PayrollRunsListRequestRunType, - PayrollRunsListRequestShowEnumOrigins, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -389,46 +341,20 @@ async def list( async def main() -> None: - await client.hris.payroll_runs.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = await client.hris.payroll_runs.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - ended_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - ended_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_fields=PayrollRunsListRequestRemoteFields.RUN_STATE, - remote_id="remote_id", - run_type=PayrollRunsListRequestRunType.CORRECTION, - show_enum_origins=PayrollRunsListRequestShowEnumOrigins.RUN_STATE, - started_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - started_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -448,7 +374,6 @@ async def main() -> None: started_before=started_before, request_options=request_options, ) - return _response.data async def retrieve( self, @@ -492,10 +417,6 @@ async def retrieve( import asyncio from merge import AsyncMerge - from merge.resources.hris.resources.payroll_runs import ( - PayrollRunsRetrieveRequestRemoteFields, - PayrollRunsRetrieveRequestShowEnumOrigins, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -506,10 +427,6 @@ async def retrieve( async def main() -> None: await client.hris.payroll_runs.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, - remote_fields=PayrollRunsRetrieveRequestRemoteFields.RUN_STATE, - show_enum_origins=PayrollRunsRetrieveRequestShowEnumOrigins.RUN_STATE, ) diff --git a/src/merge/resources/hris/resources/payroll_runs/raw_client.py b/src/merge/resources/hris/resources/payroll_runs/raw_client.py index ae455ae9..c7bdf2f3 100644 --- a/src/merge/resources/hris/resources/payroll_runs/raw_client.py +++ b/src/merge/resources/hris/resources/payroll_runs/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.paginated_payroll_run_list import PaginatedPayrollRunList @@ -45,7 +46,7 @@ def list( started_after: typing.Optional[dt.datetime] = None, started_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedPayrollRunList]: + ) -> SyncPager[PayrollRun, PaginatedPayrollRunList]: """ Returns a list of `PayrollRun` objects. @@ -82,7 +83,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_fields : typing.Optional[PayrollRunsListRequestRemoteFields] Deprecated. Use show_enum_origins. @@ -113,7 +114,7 @@ def list( Returns ------- - HttpResponse[PaginatedPayrollRunList] + SyncPager[PayrollRun, PaginatedPayrollRunList] """ _response = self._client_wrapper.httpx_client.request( @@ -142,14 +143,37 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedPayrollRunList, construct_type( type_=PaginatedPayrollRunList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + ended_after=ended_after, + ended_before=ended_before, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + run_type=run_type, + show_enum_origins=show_enum_origins, + started_after=started_after, + started_before=started_before, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -244,7 +268,7 @@ async def list( started_after: typing.Optional[dt.datetime] = None, started_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedPayrollRunList]: + ) -> AsyncPager[PayrollRun, PaginatedPayrollRunList]: """ Returns a list of `PayrollRun` objects. @@ -281,7 +305,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_fields : typing.Optional[PayrollRunsListRequestRemoteFields] Deprecated. Use show_enum_origins. @@ -312,7 +336,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedPayrollRunList] + AsyncPager[PayrollRun, PaginatedPayrollRunList] """ _response = await self._client_wrapper.httpx_client.request( @@ -341,14 +365,40 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedPayrollRunList, construct_type( type_=PaginatedPayrollRunList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + ended_after=ended_after, + ended_before=ended_before, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + run_type=run_type, + show_enum_origins=show_enum_origins, + started_after=started_after, + started_before=started_before, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/hris/resources/payroll_runs/types/__init__.py b/src/merge/resources/hris/resources/payroll_runs/types/__init__.py index 36fb2bb1..054632af 100644 --- a/src/merge/resources/hris/resources/payroll_runs/types/__init__.py +++ b/src/merge/resources/hris/resources/payroll_runs/types/__init__.py @@ -26,8 +26,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: diff --git a/src/merge/resources/hris/resources/sync_status/client.py b/src/merge/resources/hris/resources/sync_status/client.py index 17a75770..d86f2c16 100644 --- a/src/merge/resources/hris/resources/sync_status/client.py +++ b/src/merge/resources/hris/resources/sync_status/client.py @@ -3,8 +3,10 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.paginated_sync_status_list import PaginatedSyncStatusList +from ...types.sync_status import SyncStatus from .raw_client import AsyncRawSyncStatusClient, RawSyncStatusClient @@ -29,7 +31,7 @@ def list( cursor: typing.Optional[str] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedSyncStatusList: + ) -> SyncPager[SyncStatus, PaginatedSyncStatusList]: """ Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). @@ -39,14 +41,14 @@ def list( The pagination cursor value. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedSyncStatusList + SyncPager[SyncStatus, PaginatedSyncStatusList] Examples @@ -57,13 +59,16 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.hris.sync_status.list( + response = client.hris.sync_status.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - page_size=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list(cursor=cursor, page_size=page_size, request_options=request_options) - return _response.data + return self._raw_client.list(cursor=cursor, page_size=page_size, request_options=request_options) class AsyncSyncStatusClient: @@ -87,7 +92,7 @@ async def list( cursor: typing.Optional[str] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedSyncStatusList: + ) -> AsyncPager[SyncStatus, PaginatedSyncStatusList]: """ Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). @@ -97,14 +102,14 @@ async def list( The pagination cursor value. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedSyncStatusList + AsyncPager[SyncStatus, PaginatedSyncStatusList] Examples @@ -120,13 +125,17 @@ async def list( async def main() -> None: - await client.hris.sync_status.list( + response = await client.hris.sync_status.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - page_size=1, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list(cursor=cursor, page_size=page_size, request_options=request_options) - return _response.data + return await self._raw_client.list(cursor=cursor, page_size=page_size, request_options=request_options) diff --git a/src/merge/resources/hris/resources/sync_status/raw_client.py b/src/merge/resources/hris/resources/sync_status/raw_client.py index 5f49dd4b..a5666b4f 100644 --- a/src/merge/resources/hris/resources/sync_status/raw_client.py +++ b/src/merge/resources/hris/resources/sync_status/raw_client.py @@ -5,10 +5,11 @@ from .....core.api_error import ApiError from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.paginated_sync_status_list import PaginatedSyncStatusList +from ...types.sync_status import SyncStatus class RawSyncStatusClient: @@ -21,7 +22,7 @@ def list( cursor: typing.Optional[str] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedSyncStatusList]: + ) -> SyncPager[SyncStatus, PaginatedSyncStatusList]: """ Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). @@ -31,14 +32,14 @@ def list( The pagination cursor value. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - HttpResponse[PaginatedSyncStatusList] + SyncPager[SyncStatus, PaginatedSyncStatusList] """ _response = self._client_wrapper.httpx_client.request( @@ -52,14 +53,22 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedSyncStatusList, construct_type( type_=PaginatedSyncStatusList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + cursor=_parsed_next, + page_size=page_size, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -76,7 +85,7 @@ async def list( cursor: typing.Optional[str] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedSyncStatusList]: + ) -> AsyncPager[SyncStatus, PaginatedSyncStatusList]: """ Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). @@ -86,14 +95,14 @@ async def list( The pagination cursor value. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - AsyncHttpResponse[PaginatedSyncStatusList] + AsyncPager[SyncStatus, PaginatedSyncStatusList] """ _response = await self._client_wrapper.httpx_client.request( @@ -107,14 +116,25 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedSyncStatusList, construct_type( type_=PaginatedSyncStatusList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + cursor=_parsed_next, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/hris/resources/teams/__init__.py b/src/merge/resources/hris/resources/teams/__init__.py index 5cde0202..2a7fa6af 100644 --- a/src/merge/resources/hris/resources/teams/__init__.py +++ b/src/merge/resources/hris/resources/teams/__init__.py @@ -2,3 +2,36 @@ # isort: skip_file +import typing +from importlib import import_module + +if typing.TYPE_CHECKING: + from .types import TeamsListRequestExpandItem, TeamsRetrieveRequestExpandItem +_dynamic_imports: typing.Dict[str, str] = { + "TeamsListRequestExpandItem": ".types", + "TeamsRetrieveRequestExpandItem": ".types", +} + + +def __getattr__(attr_name: str) -> typing.Any: + module_name = _dynamic_imports.get(attr_name) + if module_name is None: + raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") + try: + module = import_module(module_name, __package__) + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) + except ImportError as e: + raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e + except AttributeError as e: + raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e + + +def __dir__(): + lazy_attrs = list(_dynamic_imports.keys()) + return sorted(lazy_attrs) + + +__all__ = ["TeamsListRequestExpandItem", "TeamsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/hris/resources/teams/client.py b/src/merge/resources/hris/resources/teams/client.py index 52d2093d..4b348457 100644 --- a/src/merge/resources/hris/resources/teams/client.py +++ b/src/merge/resources/hris/resources/teams/client.py @@ -4,10 +4,13 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.paginated_team_list import PaginatedTeamList from ...types.team import Team from .raw_client import AsyncRawTeamsClient, RawTeamsClient +from .types.teams_list_request_expand_item import TeamsListRequestExpandItem +from .types.teams_retrieve_request_expand_item import TeamsRetrieveRequestExpandItem class TeamsClient: @@ -31,7 +34,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["parent_team"]] = None, + expand: typing.Optional[ + typing.Union[TeamsListRequestExpandItem, typing.Sequence[TeamsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -41,7 +46,7 @@ def list( parent_team_id: typing.Optional[str] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedTeamList: + ) -> SyncPager[Team, PaginatedTeamList]: """ Returns a list of `Team` objects. @@ -56,7 +61,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["parent_team"]] + expand : typing.Optional[typing.Union[TeamsListRequestExpandItem, typing.Sequence[TeamsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -75,7 +80,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. parent_team_id : typing.Optional[str] If provided, will only return teams with this parent team. @@ -88,42 +93,27 @@ def list( Returns ------- - PaginatedTeamList + SyncPager[Team, PaginatedTeamList] Examples -------- - import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.hris.teams.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = client.hris.teams.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - parent_team_id="parent_team_id", - remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -138,13 +128,14 @@ def list( remote_id=remote_id, request_options=request_options, ) - return _response.data def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["parent_team"]] = None, + expand: typing.Optional[ + typing.Union[TeamsRetrieveRequestExpandItem, typing.Sequence[TeamsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -156,7 +147,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["parent_team"]] + expand : typing.Optional[typing.Union[TeamsRetrieveRequestExpandItem, typing.Sequence[TeamsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -183,8 +174,6 @@ def retrieve( ) client.hris.teams.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) """ _response = self._raw_client.retrieve( @@ -218,7 +207,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["parent_team"]] = None, + expand: typing.Optional[ + typing.Union[TeamsListRequestExpandItem, typing.Sequence[TeamsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -228,7 +219,7 @@ async def list( parent_team_id: typing.Optional[str] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedTeamList: + ) -> AsyncPager[Team, PaginatedTeamList]: """ Returns a list of `Team` objects. @@ -243,7 +234,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["parent_team"]] + expand : typing.Optional[typing.Union[TeamsListRequestExpandItem, typing.Sequence[TeamsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -262,7 +253,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. parent_team_id : typing.Optional[str] If provided, will only return teams with this parent team. @@ -275,13 +266,12 @@ async def list( Returns ------- - PaginatedTeamList + AsyncPager[Team, PaginatedTeamList] Examples -------- import asyncio - import datetime from merge import AsyncMerge @@ -292,32 +282,20 @@ async def list( async def main() -> None: - await client.hris.teams.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = await client.hris.teams.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - parent_team_id="parent_team_id", - remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -332,13 +310,14 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["parent_team"]] = None, + expand: typing.Optional[ + typing.Union[TeamsRetrieveRequestExpandItem, typing.Sequence[TeamsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -350,7 +329,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["parent_team"]] + expand : typing.Optional[typing.Union[TeamsRetrieveRequestExpandItem, typing.Sequence[TeamsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -382,8 +361,6 @@ async def retrieve( async def main() -> None: await client.hris.teams.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) diff --git a/src/merge/resources/hris/resources/teams/raw_client.py b/src/merge/resources/hris/resources/teams/raw_client.py index ef38a115..e2f51d2d 100644 --- a/src/merge/resources/hris/resources/teams/raw_client.py +++ b/src/merge/resources/hris/resources/teams/raw_client.py @@ -9,10 +9,13 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.paginated_team_list import PaginatedTeamList from ...types.team import Team +from .types.teams_list_request_expand_item import TeamsListRequestExpandItem +from .types.teams_retrieve_request_expand_item import TeamsRetrieveRequestExpandItem class RawTeamsClient: @@ -25,7 +28,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["parent_team"]] = None, + expand: typing.Optional[ + typing.Union[TeamsListRequestExpandItem, typing.Sequence[TeamsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -35,7 +40,7 @@ def list( parent_team_id: typing.Optional[str] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedTeamList]: + ) -> SyncPager[Team, PaginatedTeamList]: """ Returns a list of `Team` objects. @@ -50,7 +55,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["parent_team"]] + expand : typing.Optional[typing.Union[TeamsListRequestExpandItem, typing.Sequence[TeamsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -69,7 +74,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. parent_team_id : typing.Optional[str] If provided, will only return teams with this parent team. @@ -82,7 +87,7 @@ def list( Returns ------- - HttpResponse[PaginatedTeamList] + SyncPager[Team, PaginatedTeamList] """ _response = self._client_wrapper.httpx_client.request( @@ -106,14 +111,32 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedTeamList, construct_type( type_=PaginatedTeamList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + parent_team_id=parent_team_id, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -123,7 +146,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["parent_team"]] = None, + expand: typing.Optional[ + typing.Union[TeamsRetrieveRequestExpandItem, typing.Sequence[TeamsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -135,7 +160,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["parent_team"]] + expand : typing.Optional[typing.Union[TeamsRetrieveRequestExpandItem, typing.Sequence[TeamsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -188,7 +213,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["parent_team"]] = None, + expand: typing.Optional[ + typing.Union[TeamsListRequestExpandItem, typing.Sequence[TeamsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -198,7 +225,7 @@ async def list( parent_team_id: typing.Optional[str] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedTeamList]: + ) -> AsyncPager[Team, PaginatedTeamList]: """ Returns a list of `Team` objects. @@ -213,7 +240,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["parent_team"]] + expand : typing.Optional[typing.Union[TeamsListRequestExpandItem, typing.Sequence[TeamsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -232,7 +259,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. parent_team_id : typing.Optional[str] If provided, will only return teams with this parent team. @@ -245,7 +272,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedTeamList] + AsyncPager[Team, PaginatedTeamList] """ _response = await self._client_wrapper.httpx_client.request( @@ -269,14 +296,35 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedTeamList, construct_type( type_=PaginatedTeamList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + parent_team_id=parent_team_id, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -286,7 +334,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["parent_team"]] = None, + expand: typing.Optional[ + typing.Union[TeamsRetrieveRequestExpandItem, typing.Sequence[TeamsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -298,7 +348,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["parent_team"]] + expand : typing.Optional[typing.Union[TeamsRetrieveRequestExpandItem, typing.Sequence[TeamsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/hris/resources/teams/types/__init__.py b/src/merge/resources/hris/resources/teams/types/__init__.py new file mode 100644 index 00000000..14f702a3 --- /dev/null +++ b/src/merge/resources/hris/resources/teams/types/__init__.py @@ -0,0 +1,38 @@ +# This file was auto-generated by Fern from our API Definition. + +# isort: skip_file + +import typing +from importlib import import_module + +if typing.TYPE_CHECKING: + from .teams_list_request_expand_item import TeamsListRequestExpandItem + from .teams_retrieve_request_expand_item import TeamsRetrieveRequestExpandItem +_dynamic_imports: typing.Dict[str, str] = { + "TeamsListRequestExpandItem": ".teams_list_request_expand_item", + "TeamsRetrieveRequestExpandItem": ".teams_retrieve_request_expand_item", +} + + +def __getattr__(attr_name: str) -> typing.Any: + module_name = _dynamic_imports.get(attr_name) + if module_name is None: + raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") + try: + module = import_module(module_name, __package__) + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) + except ImportError as e: + raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e + except AttributeError as e: + raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e + + +def __dir__(): + lazy_attrs = list(_dynamic_imports.keys()) + return sorted(lazy_attrs) + + +__all__ = ["TeamsListRequestExpandItem", "TeamsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/hris/resources/teams/types/teams_list_request_expand_item.py b/src/merge/resources/hris/resources/teams/types/teams_list_request_expand_item.py new file mode 100644 index 00000000..b6c51814 --- /dev/null +++ b/src/merge/resources/hris/resources/teams/types/teams_list_request_expand_item.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class TeamsListRequestExpandItem(str, enum.Enum): + PARENT_TEAM = "parent_team" + + def visit(self, parent_team: typing.Callable[[], T_Result]) -> T_Result: + if self is TeamsListRequestExpandItem.PARENT_TEAM: + return parent_team() diff --git a/src/merge/resources/hris/resources/teams/types/teams_retrieve_request_expand_item.py b/src/merge/resources/hris/resources/teams/types/teams_retrieve_request_expand_item.py new file mode 100644 index 00000000..62021aaa --- /dev/null +++ b/src/merge/resources/hris/resources/teams/types/teams_retrieve_request_expand_item.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class TeamsRetrieveRequestExpandItem(str, enum.Enum): + PARENT_TEAM = "parent_team" + + def visit(self, parent_team: typing.Callable[[], T_Result]) -> T_Result: + if self is TeamsRetrieveRequestExpandItem.PARENT_TEAM: + return parent_team() diff --git a/src/merge/resources/hris/resources/time_off/__init__.py b/src/merge/resources/hris/resources/time_off/__init__.py index 0e34a8e5..8effa630 100644 --- a/src/merge/resources/hris/resources/time_off/__init__.py +++ b/src/merge/resources/hris/resources/time_off/__init__.py @@ -7,22 +7,22 @@ if typing.TYPE_CHECKING: from .types import ( - TimeOffListRequestExpand, + TimeOffListRequestExpandItem, TimeOffListRequestRemoteFields, TimeOffListRequestRequestType, TimeOffListRequestShowEnumOrigins, TimeOffListRequestStatus, - TimeOffRetrieveRequestExpand, + TimeOffRetrieveRequestExpandItem, TimeOffRetrieveRequestRemoteFields, TimeOffRetrieveRequestShowEnumOrigins, ) _dynamic_imports: typing.Dict[str, str] = { - "TimeOffListRequestExpand": ".types", + "TimeOffListRequestExpandItem": ".types", "TimeOffListRequestRemoteFields": ".types", "TimeOffListRequestRequestType": ".types", "TimeOffListRequestShowEnumOrigins": ".types", "TimeOffListRequestStatus": ".types", - "TimeOffRetrieveRequestExpand": ".types", + "TimeOffRetrieveRequestExpandItem": ".types", "TimeOffRetrieveRequestRemoteFields": ".types", "TimeOffRetrieveRequestShowEnumOrigins": ".types", } @@ -34,8 +34,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -48,12 +50,12 @@ def __dir__(): __all__ = [ - "TimeOffListRequestExpand", + "TimeOffListRequestExpandItem", "TimeOffListRequestRemoteFields", "TimeOffListRequestRequestType", "TimeOffListRequestShowEnumOrigins", "TimeOffListRequestStatus", - "TimeOffRetrieveRequestExpand", + "TimeOffRetrieveRequestExpandItem", "TimeOffRetrieveRequestRemoteFields", "TimeOffRetrieveRequestShowEnumOrigins", ] diff --git a/src/merge/resources/hris/resources/time_off/client.py b/src/merge/resources/hris/resources/time_off/client.py index 2f0f9663..b8911f10 100644 --- a/src/merge/resources/hris/resources/time_off/client.py +++ b/src/merge/resources/hris/resources/time_off/client.py @@ -4,6 +4,7 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.meta_response import MetaResponse from ...types.paginated_time_off_list import PaginatedTimeOffList @@ -11,12 +12,12 @@ from ...types.time_off_request import TimeOffRequest from ...types.time_off_response import TimeOffResponse from .raw_client import AsyncRawTimeOffClient, RawTimeOffClient -from .types.time_off_list_request_expand import TimeOffListRequestExpand +from .types.time_off_list_request_expand_item import TimeOffListRequestExpandItem from .types.time_off_list_request_remote_fields import TimeOffListRequestRemoteFields from .types.time_off_list_request_request_type import TimeOffListRequestRequestType from .types.time_off_list_request_show_enum_origins import TimeOffListRequestShowEnumOrigins from .types.time_off_list_request_status import TimeOffListRequestStatus -from .types.time_off_retrieve_request_expand import TimeOffRetrieveRequestExpand +from .types.time_off_retrieve_request_expand_item import TimeOffRetrieveRequestExpandItem from .types.time_off_retrieve_request_remote_fields import TimeOffRetrieveRequestRemoteFields from .types.time_off_retrieve_request_show_enum_origins import TimeOffRetrieveRequestShowEnumOrigins @@ -49,7 +50,9 @@ def list( employee_id: typing.Optional[str] = None, ended_after: typing.Optional[dt.datetime] = None, ended_before: typing.Optional[dt.datetime] = None, - expand: typing.Optional[TimeOffListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[TimeOffListRequestExpandItem, typing.Sequence[TimeOffListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -64,7 +67,7 @@ def list( started_before: typing.Optional[dt.datetime] = None, status: typing.Optional[TimeOffListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedTimeOffList: + ) -> SyncPager[TimeOff, PaginatedTimeOffList]: """ Returns a list of `TimeOff` objects. @@ -91,7 +94,7 @@ def list( ended_before : typing.Optional[dt.datetime] If provided, will only return time-offs that ended before this datetime. - expand : typing.Optional[TimeOffListRequestExpand] + expand : typing.Optional[typing.Union[TimeOffListRequestExpandItem, typing.Sequence[TimeOffListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -110,7 +113,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_fields : typing.Optional[TimeOffListRequestRemoteFields] Deprecated. Use show_enum_origins. @@ -151,67 +154,27 @@ def list( Returns ------- - PaginatedTimeOffList + SyncPager[TimeOff, PaginatedTimeOffList] Examples -------- - import datetime - from merge import Merge - from merge.resources.hris.resources.time_off import ( - TimeOffListRequestExpand, - TimeOffListRequestRemoteFields, - TimeOffListRequestRequestType, - TimeOffListRequestShowEnumOrigins, - TimeOffListRequestStatus, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.hris.time_off.list( - approver_id="approver_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = client.hris.time_off.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - employee_id="employee_id", - ended_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - ended_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - expand=TimeOffListRequestExpand.APPROVER, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_fields=TimeOffListRequestRemoteFields.REQUEST_TYPE, - remote_id="remote_id", - request_type=TimeOffListRequestRequestType.BEREAVEMENT, - show_enum_origins=TimeOffListRequestShowEnumOrigins.REQUEST_TYPE, - started_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - started_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - status=TimeOffListRequestStatus.APPROVED, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( approver_id=approver_id, created_after=created_after, created_before=created_before, @@ -235,7 +198,6 @@ def list( status=status, request_options=request_options, ) - return _response.data def create( self, @@ -276,8 +238,6 @@ def create( api_key="YOUR_API_KEY", ) client.hris.time_off.create( - is_debug_mode=True, - run_async=True, model=TimeOffRequest(), ) """ @@ -290,7 +250,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[TimeOffRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[TimeOffRetrieveRequestExpandItem, typing.Sequence[TimeOffRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[TimeOffRetrieveRequestRemoteFields] = None, @@ -304,7 +266,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[TimeOffRetrieveRequestExpand] + expand : typing.Optional[typing.Union[TimeOffRetrieveRequestExpandItem, typing.Sequence[TimeOffRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -330,11 +292,6 @@ def retrieve( Examples -------- from merge import Merge - from merge.resources.hris.resources.time_off import ( - TimeOffRetrieveRequestExpand, - TimeOffRetrieveRequestRemoteFields, - TimeOffRetrieveRequestShowEnumOrigins, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -342,11 +299,6 @@ def retrieve( ) client.hris.time_off.retrieve( id="id", - expand=TimeOffRetrieveRequestExpand.APPROVER, - include_remote_data=True, - include_shell_data=True, - remote_fields=TimeOffRetrieveRequestRemoteFields.REQUEST_TYPE, - show_enum_origins=TimeOffRetrieveRequestShowEnumOrigins.REQUEST_TYPE, ) """ _response = self._raw_client.retrieve( @@ -413,7 +365,9 @@ async def list( employee_id: typing.Optional[str] = None, ended_after: typing.Optional[dt.datetime] = None, ended_before: typing.Optional[dt.datetime] = None, - expand: typing.Optional[TimeOffListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[TimeOffListRequestExpandItem, typing.Sequence[TimeOffListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -428,7 +382,7 @@ async def list( started_before: typing.Optional[dt.datetime] = None, status: typing.Optional[TimeOffListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedTimeOffList: + ) -> AsyncPager[TimeOff, PaginatedTimeOffList]: """ Returns a list of `TimeOff` objects. @@ -455,7 +409,7 @@ async def list( ended_before : typing.Optional[dt.datetime] If provided, will only return time-offs that ended before this datetime. - expand : typing.Optional[TimeOffListRequestExpand] + expand : typing.Optional[typing.Union[TimeOffListRequestExpandItem, typing.Sequence[TimeOffListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -474,7 +428,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_fields : typing.Optional[TimeOffListRequestRemoteFields] Deprecated. Use show_enum_origins. @@ -515,22 +469,14 @@ async def list( Returns ------- - PaginatedTimeOffList + AsyncPager[TimeOff, PaginatedTimeOffList] Examples -------- import asyncio - import datetime from merge import AsyncMerge - from merge.resources.hris.resources.time_off import ( - TimeOffListRequestExpand, - TimeOffListRequestRemoteFields, - TimeOffListRequestRequestType, - TimeOffListRequestShowEnumOrigins, - TimeOffListRequestStatus, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -539,50 +485,20 @@ async def list( async def main() -> None: - await client.hris.time_off.list( - approver_id="approver_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = await client.hris.time_off.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - employee_id="employee_id", - ended_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - ended_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - expand=TimeOffListRequestExpand.APPROVER, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_fields=TimeOffListRequestRemoteFields.REQUEST_TYPE, - remote_id="remote_id", - request_type=TimeOffListRequestRequestType.BEREAVEMENT, - show_enum_origins=TimeOffListRequestShowEnumOrigins.REQUEST_TYPE, - started_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - started_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - status=TimeOffListRequestStatus.APPROVED, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( approver_id=approver_id, created_after=created_after, created_before=created_before, @@ -606,7 +522,6 @@ async def main() -> None: status=status, request_options=request_options, ) - return _response.data async def create( self, @@ -652,8 +567,6 @@ async def create( async def main() -> None: await client.hris.time_off.create( - is_debug_mode=True, - run_async=True, model=TimeOffRequest(), ) @@ -669,7 +582,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[TimeOffRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[TimeOffRetrieveRequestExpandItem, typing.Sequence[TimeOffRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[TimeOffRetrieveRequestRemoteFields] = None, @@ -683,7 +598,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[TimeOffRetrieveRequestExpand] + expand : typing.Optional[typing.Union[TimeOffRetrieveRequestExpandItem, typing.Sequence[TimeOffRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -711,11 +626,6 @@ async def retrieve( import asyncio from merge import AsyncMerge - from merge.resources.hris.resources.time_off import ( - TimeOffRetrieveRequestExpand, - TimeOffRetrieveRequestRemoteFields, - TimeOffRetrieveRequestShowEnumOrigins, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -726,11 +636,6 @@ async def retrieve( async def main() -> None: await client.hris.time_off.retrieve( id="id", - expand=TimeOffRetrieveRequestExpand.APPROVER, - include_remote_data=True, - include_shell_data=True, - remote_fields=TimeOffRetrieveRequestRemoteFields.REQUEST_TYPE, - show_enum_origins=TimeOffRetrieveRequestShowEnumOrigins.REQUEST_TYPE, ) diff --git a/src/merge/resources/hris/resources/time_off/raw_client.py b/src/merge/resources/hris/resources/time_off/raw_client.py index ada13edd..b9c21ef9 100644 --- a/src/merge/resources/hris/resources/time_off/raw_client.py +++ b/src/merge/resources/hris/resources/time_off/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.meta_response import MetaResponse @@ -16,12 +17,12 @@ from ...types.time_off import TimeOff from ...types.time_off_request import TimeOffRequest from ...types.time_off_response import TimeOffResponse -from .types.time_off_list_request_expand import TimeOffListRequestExpand +from .types.time_off_list_request_expand_item import TimeOffListRequestExpandItem from .types.time_off_list_request_remote_fields import TimeOffListRequestRemoteFields from .types.time_off_list_request_request_type import TimeOffListRequestRequestType from .types.time_off_list_request_show_enum_origins import TimeOffListRequestShowEnumOrigins from .types.time_off_list_request_status import TimeOffListRequestStatus -from .types.time_off_retrieve_request_expand import TimeOffRetrieveRequestExpand +from .types.time_off_retrieve_request_expand_item import TimeOffRetrieveRequestExpandItem from .types.time_off_retrieve_request_remote_fields import TimeOffRetrieveRequestRemoteFields from .types.time_off_retrieve_request_show_enum_origins import TimeOffRetrieveRequestShowEnumOrigins @@ -43,7 +44,9 @@ def list( employee_id: typing.Optional[str] = None, ended_after: typing.Optional[dt.datetime] = None, ended_before: typing.Optional[dt.datetime] = None, - expand: typing.Optional[TimeOffListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[TimeOffListRequestExpandItem, typing.Sequence[TimeOffListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -58,7 +61,7 @@ def list( started_before: typing.Optional[dt.datetime] = None, status: typing.Optional[TimeOffListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedTimeOffList]: + ) -> SyncPager[TimeOff, PaginatedTimeOffList]: """ Returns a list of `TimeOff` objects. @@ -85,7 +88,7 @@ def list( ended_before : typing.Optional[dt.datetime] If provided, will only return time-offs that ended before this datetime. - expand : typing.Optional[TimeOffListRequestExpand] + expand : typing.Optional[typing.Union[TimeOffListRequestExpandItem, typing.Sequence[TimeOffListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -104,7 +107,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_fields : typing.Optional[TimeOffListRequestRemoteFields] Deprecated. Use show_enum_origins. @@ -145,7 +148,7 @@ def list( Returns ------- - HttpResponse[PaginatedTimeOffList] + SyncPager[TimeOff, PaginatedTimeOffList] """ _response = self._client_wrapper.httpx_client.request( @@ -178,14 +181,41 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedTimeOffList, construct_type( type_=PaginatedTimeOffList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + approver_id=approver_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + employee_id=employee_id, + ended_after=ended_after, + ended_before=ended_before, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + request_type=request_type, + show_enum_origins=show_enum_origins, + started_after=started_after, + started_before=started_before, + status=status, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -255,7 +285,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[TimeOffRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[TimeOffRetrieveRequestExpandItem, typing.Sequence[TimeOffRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[TimeOffRetrieveRequestRemoteFields] = None, @@ -269,7 +301,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[TimeOffRetrieveRequestExpand] + expand : typing.Optional[typing.Union[TimeOffRetrieveRequestExpandItem, typing.Sequence[TimeOffRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -370,7 +402,9 @@ async def list( employee_id: typing.Optional[str] = None, ended_after: typing.Optional[dt.datetime] = None, ended_before: typing.Optional[dt.datetime] = None, - expand: typing.Optional[TimeOffListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[TimeOffListRequestExpandItem, typing.Sequence[TimeOffListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -385,7 +419,7 @@ async def list( started_before: typing.Optional[dt.datetime] = None, status: typing.Optional[TimeOffListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedTimeOffList]: + ) -> AsyncPager[TimeOff, PaginatedTimeOffList]: """ Returns a list of `TimeOff` objects. @@ -412,7 +446,7 @@ async def list( ended_before : typing.Optional[dt.datetime] If provided, will only return time-offs that ended before this datetime. - expand : typing.Optional[TimeOffListRequestExpand] + expand : typing.Optional[typing.Union[TimeOffListRequestExpandItem, typing.Sequence[TimeOffListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -431,7 +465,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_fields : typing.Optional[TimeOffListRequestRemoteFields] Deprecated. Use show_enum_origins. @@ -472,7 +506,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedTimeOffList] + AsyncPager[TimeOff, PaginatedTimeOffList] """ _response = await self._client_wrapper.httpx_client.request( @@ -505,14 +539,44 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedTimeOffList, construct_type( type_=PaginatedTimeOffList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + approver_id=approver_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + employee_id=employee_id, + ended_after=ended_after, + ended_before=ended_before, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + request_type=request_type, + show_enum_origins=show_enum_origins, + started_after=started_after, + started_before=started_before, + status=status, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -582,7 +646,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[TimeOffRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[TimeOffRetrieveRequestExpandItem, typing.Sequence[TimeOffRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[TimeOffRetrieveRequestRemoteFields] = None, @@ -596,7 +662,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[TimeOffRetrieveRequestExpand] + expand : typing.Optional[typing.Union[TimeOffRetrieveRequestExpandItem, typing.Sequence[TimeOffRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/hris/resources/time_off/types/__init__.py b/src/merge/resources/hris/resources/time_off/types/__init__.py index 17f7d68f..a9e69149 100644 --- a/src/merge/resources/hris/resources/time_off/types/__init__.py +++ b/src/merge/resources/hris/resources/time_off/types/__init__.py @@ -6,21 +6,21 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .time_off_list_request_expand import TimeOffListRequestExpand + from .time_off_list_request_expand_item import TimeOffListRequestExpandItem from .time_off_list_request_remote_fields import TimeOffListRequestRemoteFields from .time_off_list_request_request_type import TimeOffListRequestRequestType from .time_off_list_request_show_enum_origins import TimeOffListRequestShowEnumOrigins from .time_off_list_request_status import TimeOffListRequestStatus - from .time_off_retrieve_request_expand import TimeOffRetrieveRequestExpand + from .time_off_retrieve_request_expand_item import TimeOffRetrieveRequestExpandItem from .time_off_retrieve_request_remote_fields import TimeOffRetrieveRequestRemoteFields from .time_off_retrieve_request_show_enum_origins import TimeOffRetrieveRequestShowEnumOrigins _dynamic_imports: typing.Dict[str, str] = { - "TimeOffListRequestExpand": ".time_off_list_request_expand", + "TimeOffListRequestExpandItem": ".time_off_list_request_expand_item", "TimeOffListRequestRemoteFields": ".time_off_list_request_remote_fields", "TimeOffListRequestRequestType": ".time_off_list_request_request_type", "TimeOffListRequestShowEnumOrigins": ".time_off_list_request_show_enum_origins", "TimeOffListRequestStatus": ".time_off_list_request_status", - "TimeOffRetrieveRequestExpand": ".time_off_retrieve_request_expand", + "TimeOffRetrieveRequestExpandItem": ".time_off_retrieve_request_expand_item", "TimeOffRetrieveRequestRemoteFields": ".time_off_retrieve_request_remote_fields", "TimeOffRetrieveRequestShowEnumOrigins": ".time_off_retrieve_request_show_enum_origins", } @@ -32,8 +32,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -46,12 +48,12 @@ def __dir__(): __all__ = [ - "TimeOffListRequestExpand", + "TimeOffListRequestExpandItem", "TimeOffListRequestRemoteFields", "TimeOffListRequestRequestType", "TimeOffListRequestShowEnumOrigins", "TimeOffListRequestStatus", - "TimeOffRetrieveRequestExpand", + "TimeOffRetrieveRequestExpandItem", "TimeOffRetrieveRequestRemoteFields", "TimeOffRetrieveRequestShowEnumOrigins", ] diff --git a/src/merge/resources/hris/resources/time_off/types/time_off_list_request_expand.py b/src/merge/resources/hris/resources/time_off/types/time_off_list_request_expand.py deleted file mode 100644 index 6c41625f..00000000 --- a/src/merge/resources/hris/resources/time_off/types/time_off_list_request_expand.py +++ /dev/null @@ -1,25 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class TimeOffListRequestExpand(str, enum.Enum): - APPROVER = "approver" - EMPLOYEE = "employee" - EMPLOYEE_APPROVER = "employee,approver" - - def visit( - self, - approver: typing.Callable[[], T_Result], - employee: typing.Callable[[], T_Result], - employee_approver: typing.Callable[[], T_Result], - ) -> T_Result: - if self is TimeOffListRequestExpand.APPROVER: - return approver() - if self is TimeOffListRequestExpand.EMPLOYEE: - return employee() - if self is TimeOffListRequestExpand.EMPLOYEE_APPROVER: - return employee_approver() diff --git a/src/merge/resources/hris/resources/time_off/types/time_off_list_request_expand_item.py b/src/merge/resources/hris/resources/time_off/types/time_off_list_request_expand_item.py new file mode 100644 index 00000000..d15bb0b9 --- /dev/null +++ b/src/merge/resources/hris/resources/time_off/types/time_off_list_request_expand_item.py @@ -0,0 +1,17 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class TimeOffListRequestExpandItem(str, enum.Enum): + APPROVER = "approver" + EMPLOYEE = "employee" + + def visit(self, approver: typing.Callable[[], T_Result], employee: typing.Callable[[], T_Result]) -> T_Result: + if self is TimeOffListRequestExpandItem.APPROVER: + return approver() + if self is TimeOffListRequestExpandItem.EMPLOYEE: + return employee() diff --git a/src/merge/resources/hris/resources/time_off/types/time_off_retrieve_request_expand.py b/src/merge/resources/hris/resources/time_off/types/time_off_retrieve_request_expand.py deleted file mode 100644 index 6a0972a8..00000000 --- a/src/merge/resources/hris/resources/time_off/types/time_off_retrieve_request_expand.py +++ /dev/null @@ -1,25 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class TimeOffRetrieveRequestExpand(str, enum.Enum): - APPROVER = "approver" - EMPLOYEE = "employee" - EMPLOYEE_APPROVER = "employee,approver" - - def visit( - self, - approver: typing.Callable[[], T_Result], - employee: typing.Callable[[], T_Result], - employee_approver: typing.Callable[[], T_Result], - ) -> T_Result: - if self is TimeOffRetrieveRequestExpand.APPROVER: - return approver() - if self is TimeOffRetrieveRequestExpand.EMPLOYEE: - return employee() - if self is TimeOffRetrieveRequestExpand.EMPLOYEE_APPROVER: - return employee_approver() diff --git a/src/merge/resources/hris/resources/time_off/types/time_off_retrieve_request_expand_item.py b/src/merge/resources/hris/resources/time_off/types/time_off_retrieve_request_expand_item.py new file mode 100644 index 00000000..fd546818 --- /dev/null +++ b/src/merge/resources/hris/resources/time_off/types/time_off_retrieve_request_expand_item.py @@ -0,0 +1,17 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class TimeOffRetrieveRequestExpandItem(str, enum.Enum): + APPROVER = "approver" + EMPLOYEE = "employee" + + def visit(self, approver: typing.Callable[[], T_Result], employee: typing.Callable[[], T_Result]) -> T_Result: + if self is TimeOffRetrieveRequestExpandItem.APPROVER: + return approver() + if self is TimeOffRetrieveRequestExpandItem.EMPLOYEE: + return employee() diff --git a/src/merge/resources/hris/resources/time_off_balances/__init__.py b/src/merge/resources/hris/resources/time_off_balances/__init__.py index 570dc594..0a90e498 100644 --- a/src/merge/resources/hris/resources/time_off_balances/__init__.py +++ b/src/merge/resources/hris/resources/time_off_balances/__init__.py @@ -6,8 +6,24 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .types import TimeOffBalancesListRequestPolicyType -_dynamic_imports: typing.Dict[str, str] = {"TimeOffBalancesListRequestPolicyType": ".types"} + from .types import ( + TimeOffBalancesListRequestExpandItem, + TimeOffBalancesListRequestPolicyType, + TimeOffBalancesListRequestRemoteFields, + TimeOffBalancesListRequestShowEnumOrigins, + TimeOffBalancesRetrieveRequestExpandItem, + TimeOffBalancesRetrieveRequestRemoteFields, + TimeOffBalancesRetrieveRequestShowEnumOrigins, + ) +_dynamic_imports: typing.Dict[str, str] = { + "TimeOffBalancesListRequestExpandItem": ".types", + "TimeOffBalancesListRequestPolicyType": ".types", + "TimeOffBalancesListRequestRemoteFields": ".types", + "TimeOffBalancesListRequestShowEnumOrigins": ".types", + "TimeOffBalancesRetrieveRequestExpandItem": ".types", + "TimeOffBalancesRetrieveRequestRemoteFields": ".types", + "TimeOffBalancesRetrieveRequestShowEnumOrigins": ".types", +} def __getattr__(attr_name: str) -> typing.Any: @@ -16,8 +32,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -29,4 +47,12 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["TimeOffBalancesListRequestPolicyType"] +__all__ = [ + "TimeOffBalancesListRequestExpandItem", + "TimeOffBalancesListRequestPolicyType", + "TimeOffBalancesListRequestRemoteFields", + "TimeOffBalancesListRequestShowEnumOrigins", + "TimeOffBalancesRetrieveRequestExpandItem", + "TimeOffBalancesRetrieveRequestRemoteFields", + "TimeOffBalancesRetrieveRequestShowEnumOrigins", +] diff --git a/src/merge/resources/hris/resources/time_off_balances/client.py b/src/merge/resources/hris/resources/time_off_balances/client.py index 99968e26..e1c6608b 100644 --- a/src/merge/resources/hris/resources/time_off_balances/client.py +++ b/src/merge/resources/hris/resources/time_off_balances/client.py @@ -4,11 +4,18 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.paginated_time_off_balance_list import PaginatedTimeOffBalanceList from ...types.time_off_balance import TimeOffBalance from .raw_client import AsyncRawTimeOffBalancesClient, RawTimeOffBalancesClient +from .types.time_off_balances_list_request_expand_item import TimeOffBalancesListRequestExpandItem from .types.time_off_balances_list_request_policy_type import TimeOffBalancesListRequestPolicyType +from .types.time_off_balances_list_request_remote_fields import TimeOffBalancesListRequestRemoteFields +from .types.time_off_balances_list_request_show_enum_origins import TimeOffBalancesListRequestShowEnumOrigins +from .types.time_off_balances_retrieve_request_expand_item import TimeOffBalancesRetrieveRequestExpandItem +from .types.time_off_balances_retrieve_request_remote_fields import TimeOffBalancesRetrieveRequestRemoteFields +from .types.time_off_balances_retrieve_request_show_enum_origins import TimeOffBalancesRetrieveRequestShowEnumOrigins class TimeOffBalancesClient: @@ -33,7 +40,9 @@ def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, employee_id: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["employee"]] = None, + expand: typing.Optional[ + typing.Union[TimeOffBalancesListRequestExpandItem, typing.Sequence[TimeOffBalancesListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -41,11 +50,11 @@ def list( modified_before: typing.Optional[dt.datetime] = None, page_size: typing.Optional[int] = None, policy_type: typing.Optional[TimeOffBalancesListRequestPolicyType] = None, - remote_fields: typing.Optional[typing.Literal["policy_type"]] = None, + remote_fields: typing.Optional[TimeOffBalancesListRequestRemoteFields] = None, remote_id: typing.Optional[str] = None, - show_enum_origins: typing.Optional[typing.Literal["policy_type"]] = None, + show_enum_origins: typing.Optional[TimeOffBalancesListRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedTimeOffBalanceList: + ) -> SyncPager[TimeOffBalance, PaginatedTimeOffBalanceList]: """ Returns a list of `TimeOffBalance` objects. @@ -63,7 +72,7 @@ def list( employee_id : typing.Optional[str] If provided, will only return time off balances for this employee. - expand : typing.Optional[typing.Literal["employee"]] + expand : typing.Optional[typing.Union[TimeOffBalancesListRequestExpandItem, typing.Sequence[TimeOffBalancesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -82,7 +91,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. policy_type : typing.Optional[TimeOffBalancesListRequestPolicyType] If provided, will only return TimeOffBalance with this policy type. Options: ('VACATION', 'SICK', 'PERSONAL', 'JURY_DUTY', 'VOLUNTEER', 'BEREAVEMENT') @@ -94,13 +103,13 @@ def list( * `VOLUNTEER` - VOLUNTEER * `BEREAVEMENT` - BEREAVEMENT - remote_fields : typing.Optional[typing.Literal["policy_type"]] + remote_fields : typing.Optional[TimeOffBalancesListRequestRemoteFields] Deprecated. Use show_enum_origins. remote_id : typing.Optional[str] The API provider's ID for the given object. - show_enum_origins : typing.Optional[typing.Literal["policy_type"]] + show_enum_origins : typing.Optional[TimeOffBalancesListRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -108,46 +117,27 @@ def list( Returns ------- - PaginatedTimeOffBalanceList + SyncPager[TimeOffBalance, PaginatedTimeOffBalanceList] Examples -------- - import datetime - from merge import Merge - from merge.resources.hris.resources.time_off_balances import ( - TimeOffBalancesListRequestPolicyType, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.hris.time_off_balances.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = client.hris.time_off_balances.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - employee_id="employee_id", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - policy_type=TimeOffBalancesListRequestPolicyType.BEREAVEMENT, - remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -165,17 +155,20 @@ def list( show_enum_origins=show_enum_origins, request_options=request_options, ) - return _response.data def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["employee"]] = None, + expand: typing.Optional[ + typing.Union[ + TimeOffBalancesRetrieveRequestExpandItem, typing.Sequence[TimeOffBalancesRetrieveRequestExpandItem] + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - remote_fields: typing.Optional[typing.Literal["policy_type"]] = None, - show_enum_origins: typing.Optional[typing.Literal["policy_type"]] = None, + remote_fields: typing.Optional[TimeOffBalancesRetrieveRequestRemoteFields] = None, + show_enum_origins: typing.Optional[TimeOffBalancesRetrieveRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, ) -> TimeOffBalance: """ @@ -185,7 +178,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["employee"]] + expand : typing.Optional[typing.Union[TimeOffBalancesRetrieveRequestExpandItem, typing.Sequence[TimeOffBalancesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -194,10 +187,10 @@ def retrieve( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - remote_fields : typing.Optional[typing.Literal["policy_type"]] + remote_fields : typing.Optional[TimeOffBalancesRetrieveRequestRemoteFields] Deprecated. Use show_enum_origins. - show_enum_origins : typing.Optional[typing.Literal["policy_type"]] + show_enum_origins : typing.Optional[TimeOffBalancesRetrieveRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -218,8 +211,6 @@ def retrieve( ) client.hris.time_off_balances.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) """ _response = self._raw_client.retrieve( @@ -256,7 +247,9 @@ async def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, employee_id: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["employee"]] = None, + expand: typing.Optional[ + typing.Union[TimeOffBalancesListRequestExpandItem, typing.Sequence[TimeOffBalancesListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -264,11 +257,11 @@ async def list( modified_before: typing.Optional[dt.datetime] = None, page_size: typing.Optional[int] = None, policy_type: typing.Optional[TimeOffBalancesListRequestPolicyType] = None, - remote_fields: typing.Optional[typing.Literal["policy_type"]] = None, + remote_fields: typing.Optional[TimeOffBalancesListRequestRemoteFields] = None, remote_id: typing.Optional[str] = None, - show_enum_origins: typing.Optional[typing.Literal["policy_type"]] = None, + show_enum_origins: typing.Optional[TimeOffBalancesListRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedTimeOffBalanceList: + ) -> AsyncPager[TimeOffBalance, PaginatedTimeOffBalanceList]: """ Returns a list of `TimeOffBalance` objects. @@ -286,7 +279,7 @@ async def list( employee_id : typing.Optional[str] If provided, will only return time off balances for this employee. - expand : typing.Optional[typing.Literal["employee"]] + expand : typing.Optional[typing.Union[TimeOffBalancesListRequestExpandItem, typing.Sequence[TimeOffBalancesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -305,7 +298,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. policy_type : typing.Optional[TimeOffBalancesListRequestPolicyType] If provided, will only return TimeOffBalance with this policy type. Options: ('VACATION', 'SICK', 'PERSONAL', 'JURY_DUTY', 'VOLUNTEER', 'BEREAVEMENT') @@ -317,13 +310,13 @@ async def list( * `VOLUNTEER` - VOLUNTEER * `BEREAVEMENT` - BEREAVEMENT - remote_fields : typing.Optional[typing.Literal["policy_type"]] + remote_fields : typing.Optional[TimeOffBalancesListRequestRemoteFields] Deprecated. Use show_enum_origins. remote_id : typing.Optional[str] The API provider's ID for the given object. - show_enum_origins : typing.Optional[typing.Literal["policy_type"]] + show_enum_origins : typing.Optional[TimeOffBalancesListRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -331,18 +324,14 @@ async def list( Returns ------- - PaginatedTimeOffBalanceList + AsyncPager[TimeOffBalance, PaginatedTimeOffBalanceList] Examples -------- import asyncio - import datetime from merge import AsyncMerge - from merge.resources.hris.resources.time_off_balances import ( - TimeOffBalancesListRequestPolicyType, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -351,33 +340,20 @@ async def list( async def main() -> None: - await client.hris.time_off_balances.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = await client.hris.time_off_balances.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - employee_id="employee_id", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - policy_type=TimeOffBalancesListRequestPolicyType.BEREAVEMENT, - remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -395,17 +371,20 @@ async def main() -> None: show_enum_origins=show_enum_origins, request_options=request_options, ) - return _response.data async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["employee"]] = None, + expand: typing.Optional[ + typing.Union[ + TimeOffBalancesRetrieveRequestExpandItem, typing.Sequence[TimeOffBalancesRetrieveRequestExpandItem] + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - remote_fields: typing.Optional[typing.Literal["policy_type"]] = None, - show_enum_origins: typing.Optional[typing.Literal["policy_type"]] = None, + remote_fields: typing.Optional[TimeOffBalancesRetrieveRequestRemoteFields] = None, + show_enum_origins: typing.Optional[TimeOffBalancesRetrieveRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, ) -> TimeOffBalance: """ @@ -415,7 +394,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["employee"]] + expand : typing.Optional[typing.Union[TimeOffBalancesRetrieveRequestExpandItem, typing.Sequence[TimeOffBalancesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -424,10 +403,10 @@ async def retrieve( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - remote_fields : typing.Optional[typing.Literal["policy_type"]] + remote_fields : typing.Optional[TimeOffBalancesRetrieveRequestRemoteFields] Deprecated. Use show_enum_origins. - show_enum_origins : typing.Optional[typing.Literal["policy_type"]] + show_enum_origins : typing.Optional[TimeOffBalancesRetrieveRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -453,8 +432,6 @@ async def retrieve( async def main() -> None: await client.hris.time_off_balances.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) diff --git a/src/merge/resources/hris/resources/time_off_balances/raw_client.py b/src/merge/resources/hris/resources/time_off_balances/raw_client.py index 156d341d..8316ce4e 100644 --- a/src/merge/resources/hris/resources/time_off_balances/raw_client.py +++ b/src/merge/resources/hris/resources/time_off_balances/raw_client.py @@ -9,11 +9,18 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.paginated_time_off_balance_list import PaginatedTimeOffBalanceList from ...types.time_off_balance import TimeOffBalance +from .types.time_off_balances_list_request_expand_item import TimeOffBalancesListRequestExpandItem from .types.time_off_balances_list_request_policy_type import TimeOffBalancesListRequestPolicyType +from .types.time_off_balances_list_request_remote_fields import TimeOffBalancesListRequestRemoteFields +from .types.time_off_balances_list_request_show_enum_origins import TimeOffBalancesListRequestShowEnumOrigins +from .types.time_off_balances_retrieve_request_expand_item import TimeOffBalancesRetrieveRequestExpandItem +from .types.time_off_balances_retrieve_request_remote_fields import TimeOffBalancesRetrieveRequestRemoteFields +from .types.time_off_balances_retrieve_request_show_enum_origins import TimeOffBalancesRetrieveRequestShowEnumOrigins class RawTimeOffBalancesClient: @@ -27,7 +34,9 @@ def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, employee_id: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["employee"]] = None, + expand: typing.Optional[ + typing.Union[TimeOffBalancesListRequestExpandItem, typing.Sequence[TimeOffBalancesListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -35,11 +44,11 @@ def list( modified_before: typing.Optional[dt.datetime] = None, page_size: typing.Optional[int] = None, policy_type: typing.Optional[TimeOffBalancesListRequestPolicyType] = None, - remote_fields: typing.Optional[typing.Literal["policy_type"]] = None, + remote_fields: typing.Optional[TimeOffBalancesListRequestRemoteFields] = None, remote_id: typing.Optional[str] = None, - show_enum_origins: typing.Optional[typing.Literal["policy_type"]] = None, + show_enum_origins: typing.Optional[TimeOffBalancesListRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedTimeOffBalanceList]: + ) -> SyncPager[TimeOffBalance, PaginatedTimeOffBalanceList]: """ Returns a list of `TimeOffBalance` objects. @@ -57,7 +66,7 @@ def list( employee_id : typing.Optional[str] If provided, will only return time off balances for this employee. - expand : typing.Optional[typing.Literal["employee"]] + expand : typing.Optional[typing.Union[TimeOffBalancesListRequestExpandItem, typing.Sequence[TimeOffBalancesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -76,7 +85,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. policy_type : typing.Optional[TimeOffBalancesListRequestPolicyType] If provided, will only return TimeOffBalance with this policy type. Options: ('VACATION', 'SICK', 'PERSONAL', 'JURY_DUTY', 'VOLUNTEER', 'BEREAVEMENT') @@ -88,13 +97,13 @@ def list( * `VOLUNTEER` - VOLUNTEER * `BEREAVEMENT` - BEREAVEMENT - remote_fields : typing.Optional[typing.Literal["policy_type"]] + remote_fields : typing.Optional[TimeOffBalancesListRequestRemoteFields] Deprecated. Use show_enum_origins. remote_id : typing.Optional[str] The API provider's ID for the given object. - show_enum_origins : typing.Optional[typing.Literal["policy_type"]] + show_enum_origins : typing.Optional[TimeOffBalancesListRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -102,7 +111,7 @@ def list( Returns ------- - HttpResponse[PaginatedTimeOffBalanceList] + SyncPager[TimeOffBalance, PaginatedTimeOffBalanceList] """ _response = self._client_wrapper.httpx_client.request( @@ -129,14 +138,35 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedTimeOffBalanceList, construct_type( type_=PaginatedTimeOffBalanceList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + employee_id=employee_id, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + policy_type=policy_type, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -146,11 +176,15 @@ def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["employee"]] = None, + expand: typing.Optional[ + typing.Union[ + TimeOffBalancesRetrieveRequestExpandItem, typing.Sequence[TimeOffBalancesRetrieveRequestExpandItem] + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - remote_fields: typing.Optional[typing.Literal["policy_type"]] = None, - show_enum_origins: typing.Optional[typing.Literal["policy_type"]] = None, + remote_fields: typing.Optional[TimeOffBalancesRetrieveRequestRemoteFields] = None, + show_enum_origins: typing.Optional[TimeOffBalancesRetrieveRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[TimeOffBalance]: """ @@ -160,7 +194,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["employee"]] + expand : typing.Optional[typing.Union[TimeOffBalancesRetrieveRequestExpandItem, typing.Sequence[TimeOffBalancesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -169,10 +203,10 @@ def retrieve( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - remote_fields : typing.Optional[typing.Literal["policy_type"]] + remote_fields : typing.Optional[TimeOffBalancesRetrieveRequestRemoteFields] Deprecated. Use show_enum_origins. - show_enum_origins : typing.Optional[typing.Literal["policy_type"]] + show_enum_origins : typing.Optional[TimeOffBalancesRetrieveRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -222,7 +256,9 @@ async def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, employee_id: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["employee"]] = None, + expand: typing.Optional[ + typing.Union[TimeOffBalancesListRequestExpandItem, typing.Sequence[TimeOffBalancesListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -230,11 +266,11 @@ async def list( modified_before: typing.Optional[dt.datetime] = None, page_size: typing.Optional[int] = None, policy_type: typing.Optional[TimeOffBalancesListRequestPolicyType] = None, - remote_fields: typing.Optional[typing.Literal["policy_type"]] = None, + remote_fields: typing.Optional[TimeOffBalancesListRequestRemoteFields] = None, remote_id: typing.Optional[str] = None, - show_enum_origins: typing.Optional[typing.Literal["policy_type"]] = None, + show_enum_origins: typing.Optional[TimeOffBalancesListRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedTimeOffBalanceList]: + ) -> AsyncPager[TimeOffBalance, PaginatedTimeOffBalanceList]: """ Returns a list of `TimeOffBalance` objects. @@ -252,7 +288,7 @@ async def list( employee_id : typing.Optional[str] If provided, will only return time off balances for this employee. - expand : typing.Optional[typing.Literal["employee"]] + expand : typing.Optional[typing.Union[TimeOffBalancesListRequestExpandItem, typing.Sequence[TimeOffBalancesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -271,7 +307,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. policy_type : typing.Optional[TimeOffBalancesListRequestPolicyType] If provided, will only return TimeOffBalance with this policy type. Options: ('VACATION', 'SICK', 'PERSONAL', 'JURY_DUTY', 'VOLUNTEER', 'BEREAVEMENT') @@ -283,13 +319,13 @@ async def list( * `VOLUNTEER` - VOLUNTEER * `BEREAVEMENT` - BEREAVEMENT - remote_fields : typing.Optional[typing.Literal["policy_type"]] + remote_fields : typing.Optional[TimeOffBalancesListRequestRemoteFields] Deprecated. Use show_enum_origins. remote_id : typing.Optional[str] The API provider's ID for the given object. - show_enum_origins : typing.Optional[typing.Literal["policy_type"]] + show_enum_origins : typing.Optional[TimeOffBalancesListRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -297,7 +333,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedTimeOffBalanceList] + AsyncPager[TimeOffBalance, PaginatedTimeOffBalanceList] """ _response = await self._client_wrapper.httpx_client.request( @@ -324,14 +360,38 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedTimeOffBalanceList, construct_type( type_=PaginatedTimeOffBalanceList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + employee_id=employee_id, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + policy_type=policy_type, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -341,11 +401,15 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["employee"]] = None, + expand: typing.Optional[ + typing.Union[ + TimeOffBalancesRetrieveRequestExpandItem, typing.Sequence[TimeOffBalancesRetrieveRequestExpandItem] + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - remote_fields: typing.Optional[typing.Literal["policy_type"]] = None, - show_enum_origins: typing.Optional[typing.Literal["policy_type"]] = None, + remote_fields: typing.Optional[TimeOffBalancesRetrieveRequestRemoteFields] = None, + show_enum_origins: typing.Optional[TimeOffBalancesRetrieveRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[TimeOffBalance]: """ @@ -355,7 +419,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["employee"]] + expand : typing.Optional[typing.Union[TimeOffBalancesRetrieveRequestExpandItem, typing.Sequence[TimeOffBalancesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -364,10 +428,10 @@ async def retrieve( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - remote_fields : typing.Optional[typing.Literal["policy_type"]] + remote_fields : typing.Optional[TimeOffBalancesRetrieveRequestRemoteFields] Deprecated. Use show_enum_origins. - show_enum_origins : typing.Optional[typing.Literal["policy_type"]] + show_enum_origins : typing.Optional[TimeOffBalancesRetrieveRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] diff --git a/src/merge/resources/hris/resources/time_off_balances/types/__init__.py b/src/merge/resources/hris/resources/time_off_balances/types/__init__.py index a517cd9a..195ed6d5 100644 --- a/src/merge/resources/hris/resources/time_off_balances/types/__init__.py +++ b/src/merge/resources/hris/resources/time_off_balances/types/__init__.py @@ -6,9 +6,21 @@ from importlib import import_module if typing.TYPE_CHECKING: + from .time_off_balances_list_request_expand_item import TimeOffBalancesListRequestExpandItem from .time_off_balances_list_request_policy_type import TimeOffBalancesListRequestPolicyType + from .time_off_balances_list_request_remote_fields import TimeOffBalancesListRequestRemoteFields + from .time_off_balances_list_request_show_enum_origins import TimeOffBalancesListRequestShowEnumOrigins + from .time_off_balances_retrieve_request_expand_item import TimeOffBalancesRetrieveRequestExpandItem + from .time_off_balances_retrieve_request_remote_fields import TimeOffBalancesRetrieveRequestRemoteFields + from .time_off_balances_retrieve_request_show_enum_origins import TimeOffBalancesRetrieveRequestShowEnumOrigins _dynamic_imports: typing.Dict[str, str] = { - "TimeOffBalancesListRequestPolicyType": ".time_off_balances_list_request_policy_type" + "TimeOffBalancesListRequestExpandItem": ".time_off_balances_list_request_expand_item", + "TimeOffBalancesListRequestPolicyType": ".time_off_balances_list_request_policy_type", + "TimeOffBalancesListRequestRemoteFields": ".time_off_balances_list_request_remote_fields", + "TimeOffBalancesListRequestShowEnumOrigins": ".time_off_balances_list_request_show_enum_origins", + "TimeOffBalancesRetrieveRequestExpandItem": ".time_off_balances_retrieve_request_expand_item", + "TimeOffBalancesRetrieveRequestRemoteFields": ".time_off_balances_retrieve_request_remote_fields", + "TimeOffBalancesRetrieveRequestShowEnumOrigins": ".time_off_balances_retrieve_request_show_enum_origins", } @@ -18,8 +30,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -31,4 +45,12 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["TimeOffBalancesListRequestPolicyType"] +__all__ = [ + "TimeOffBalancesListRequestExpandItem", + "TimeOffBalancesListRequestPolicyType", + "TimeOffBalancesListRequestRemoteFields", + "TimeOffBalancesListRequestShowEnumOrigins", + "TimeOffBalancesRetrieveRequestExpandItem", + "TimeOffBalancesRetrieveRequestRemoteFields", + "TimeOffBalancesRetrieveRequestShowEnumOrigins", +] diff --git a/src/merge/resources/hris/resources/time_off_balances/types/time_off_balances_list_request_expand_item.py b/src/merge/resources/hris/resources/time_off_balances/types/time_off_balances_list_request_expand_item.py new file mode 100644 index 00000000..fb5653e8 --- /dev/null +++ b/src/merge/resources/hris/resources/time_off_balances/types/time_off_balances_list_request_expand_item.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class TimeOffBalancesListRequestExpandItem(str, enum.Enum): + EMPLOYEE = "employee" + + def visit(self, employee: typing.Callable[[], T_Result]) -> T_Result: + if self is TimeOffBalancesListRequestExpandItem.EMPLOYEE: + return employee() diff --git a/src/merge/resources/hris/resources/time_off_balances/types/time_off_balances_list_request_remote_fields.py b/src/merge/resources/hris/resources/time_off_balances/types/time_off_balances_list_request_remote_fields.py new file mode 100644 index 00000000..fb86ce63 --- /dev/null +++ b/src/merge/resources/hris/resources/time_off_balances/types/time_off_balances_list_request_remote_fields.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class TimeOffBalancesListRequestRemoteFields(str, enum.Enum): + POLICY_TYPE = "policy_type" + + def visit(self, policy_type: typing.Callable[[], T_Result]) -> T_Result: + if self is TimeOffBalancesListRequestRemoteFields.POLICY_TYPE: + return policy_type() diff --git a/src/merge/resources/hris/resources/time_off_balances/types/time_off_balances_list_request_show_enum_origins.py b/src/merge/resources/hris/resources/time_off_balances/types/time_off_balances_list_request_show_enum_origins.py new file mode 100644 index 00000000..89e8ae5b --- /dev/null +++ b/src/merge/resources/hris/resources/time_off_balances/types/time_off_balances_list_request_show_enum_origins.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class TimeOffBalancesListRequestShowEnumOrigins(str, enum.Enum): + POLICY_TYPE = "policy_type" + + def visit(self, policy_type: typing.Callable[[], T_Result]) -> T_Result: + if self is TimeOffBalancesListRequestShowEnumOrigins.POLICY_TYPE: + return policy_type() diff --git a/src/merge/resources/hris/resources/time_off_balances/types/time_off_balances_retrieve_request_expand_item.py b/src/merge/resources/hris/resources/time_off_balances/types/time_off_balances_retrieve_request_expand_item.py new file mode 100644 index 00000000..6b0e4526 --- /dev/null +++ b/src/merge/resources/hris/resources/time_off_balances/types/time_off_balances_retrieve_request_expand_item.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class TimeOffBalancesRetrieveRequestExpandItem(str, enum.Enum): + EMPLOYEE = "employee" + + def visit(self, employee: typing.Callable[[], T_Result]) -> T_Result: + if self is TimeOffBalancesRetrieveRequestExpandItem.EMPLOYEE: + return employee() diff --git a/src/merge/resources/hris/resources/time_off_balances/types/time_off_balances_retrieve_request_remote_fields.py b/src/merge/resources/hris/resources/time_off_balances/types/time_off_balances_retrieve_request_remote_fields.py new file mode 100644 index 00000000..a064e28f --- /dev/null +++ b/src/merge/resources/hris/resources/time_off_balances/types/time_off_balances_retrieve_request_remote_fields.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class TimeOffBalancesRetrieveRequestRemoteFields(str, enum.Enum): + POLICY_TYPE = "policy_type" + + def visit(self, policy_type: typing.Callable[[], T_Result]) -> T_Result: + if self is TimeOffBalancesRetrieveRequestRemoteFields.POLICY_TYPE: + return policy_type() diff --git a/src/merge/resources/hris/resources/time_off_balances/types/time_off_balances_retrieve_request_show_enum_origins.py b/src/merge/resources/hris/resources/time_off_balances/types/time_off_balances_retrieve_request_show_enum_origins.py new file mode 100644 index 00000000..aa310174 --- /dev/null +++ b/src/merge/resources/hris/resources/time_off_balances/types/time_off_balances_retrieve_request_show_enum_origins.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class TimeOffBalancesRetrieveRequestShowEnumOrigins(str, enum.Enum): + POLICY_TYPE = "policy_type" + + def visit(self, policy_type: typing.Callable[[], T_Result]) -> T_Result: + if self is TimeOffBalancesRetrieveRequestShowEnumOrigins.POLICY_TYPE: + return policy_type() diff --git a/src/merge/resources/hris/resources/timesheet_entries/__init__.py b/src/merge/resources/hris/resources/timesheet_entries/__init__.py index edf3ff9c..ffd1ca84 100644 --- a/src/merge/resources/hris/resources/timesheet_entries/__init__.py +++ b/src/merge/resources/hris/resources/timesheet_entries/__init__.py @@ -6,8 +6,16 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .types import TimesheetEntriesListRequestOrderBy -_dynamic_imports: typing.Dict[str, str] = {"TimesheetEntriesListRequestOrderBy": ".types"} + from .types import ( + TimesheetEntriesListRequestExpandItem, + TimesheetEntriesListRequestOrderBy, + TimesheetEntriesRetrieveRequestExpandItem, + ) +_dynamic_imports: typing.Dict[str, str] = { + "TimesheetEntriesListRequestExpandItem": ".types", + "TimesheetEntriesListRequestOrderBy": ".types", + "TimesheetEntriesRetrieveRequestExpandItem": ".types", +} def __getattr__(attr_name: str) -> typing.Any: @@ -16,8 +24,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -29,4 +39,8 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["TimesheetEntriesListRequestOrderBy"] +__all__ = [ + "TimesheetEntriesListRequestExpandItem", + "TimesheetEntriesListRequestOrderBy", + "TimesheetEntriesRetrieveRequestExpandItem", +] diff --git a/src/merge/resources/hris/resources/timesheet_entries/client.py b/src/merge/resources/hris/resources/timesheet_entries/client.py index 76335fdd..3d8c6655 100644 --- a/src/merge/resources/hris/resources/timesheet_entries/client.py +++ b/src/merge/resources/hris/resources/timesheet_entries/client.py @@ -4,6 +4,7 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.meta_response import MetaResponse from ...types.paginated_timesheet_entry_list import PaginatedTimesheetEntryList @@ -11,7 +12,9 @@ from ...types.timesheet_entry_request import TimesheetEntryRequest from ...types.timesheet_entry_response import TimesheetEntryResponse from .raw_client import AsyncRawTimesheetEntriesClient, RawTimesheetEntriesClient +from .types.timesheet_entries_list_request_expand_item import TimesheetEntriesListRequestExpandItem from .types.timesheet_entries_list_request_order_by import TimesheetEntriesListRequestOrderBy +from .types.timesheet_entries_retrieve_request_expand_item import TimesheetEntriesRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -41,7 +44,9 @@ def list( employee_id: typing.Optional[str] = None, ended_after: typing.Optional[dt.datetime] = None, ended_before: typing.Optional[dt.datetime] = None, - expand: typing.Optional[typing.Literal["employee"]] = None, + expand: typing.Optional[ + typing.Union[TimesheetEntriesListRequestExpandItem, typing.Sequence[TimesheetEntriesListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -53,7 +58,7 @@ def list( started_after: typing.Optional[dt.datetime] = None, started_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedTimesheetEntryList: + ) -> SyncPager[TimesheetEntry, PaginatedTimesheetEntryList]: """ Returns a list of `TimesheetEntry` objects. @@ -77,7 +82,7 @@ def list( ended_before : typing.Optional[dt.datetime] If provided, will only return timesheet entries ended before this datetime. - expand : typing.Optional[typing.Literal["employee"]] + expand : typing.Optional[typing.Union[TimesheetEntriesListRequestExpandItem, typing.Sequence[TimesheetEntriesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -99,7 +104,7 @@ def list( Overrides the default ordering for this endpoint. Possible values include: start_time, -start_time. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -115,58 +120,27 @@ def list( Returns ------- - PaginatedTimesheetEntryList + SyncPager[TimesheetEntry, PaginatedTimesheetEntryList] Examples -------- - import datetime - from merge import Merge - from merge.resources.hris.resources.timesheet_entries import ( - TimesheetEntriesListRequestOrderBy, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.hris.timesheet_entries.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = client.hris.timesheet_entries.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - employee_id="employee_id", - ended_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - ended_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - order_by=TimesheetEntriesListRequestOrderBy.START_TIME_DESCENDING, - page_size=1, - remote_id="remote_id", - started_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - started_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -186,7 +160,6 @@ def list( started_before=started_before, request_options=request_options, ) - return _response.data def create( self, @@ -227,8 +200,6 @@ def create( api_key="YOUR_API_KEY", ) client.hris.timesheet_entries.create( - is_debug_mode=True, - run_async=True, model=TimesheetEntryRequest(), ) """ @@ -241,7 +212,11 @@ def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["employee"]] = None, + expand: typing.Optional[ + typing.Union[ + TimesheetEntriesRetrieveRequestExpandItem, typing.Sequence[TimesheetEntriesRetrieveRequestExpandItem] + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -253,7 +228,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["employee"]] + expand : typing.Optional[typing.Union[TimesheetEntriesRetrieveRequestExpandItem, typing.Sequence[TimesheetEntriesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -280,8 +255,6 @@ def retrieve( ) client.hris.timesheet_entries.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) """ _response = self._raw_client.retrieve( @@ -345,7 +318,9 @@ async def list( employee_id: typing.Optional[str] = None, ended_after: typing.Optional[dt.datetime] = None, ended_before: typing.Optional[dt.datetime] = None, - expand: typing.Optional[typing.Literal["employee"]] = None, + expand: typing.Optional[ + typing.Union[TimesheetEntriesListRequestExpandItem, typing.Sequence[TimesheetEntriesListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -357,7 +332,7 @@ async def list( started_after: typing.Optional[dt.datetime] = None, started_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedTimesheetEntryList: + ) -> AsyncPager[TimesheetEntry, PaginatedTimesheetEntryList]: """ Returns a list of `TimesheetEntry` objects. @@ -381,7 +356,7 @@ async def list( ended_before : typing.Optional[dt.datetime] If provided, will only return timesheet entries ended before this datetime. - expand : typing.Optional[typing.Literal["employee"]] + expand : typing.Optional[typing.Union[TimesheetEntriesListRequestExpandItem, typing.Sequence[TimesheetEntriesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -403,7 +378,7 @@ async def list( Overrides the default ordering for this endpoint. Possible values include: start_time, -start_time. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -419,18 +394,14 @@ async def list( Returns ------- - PaginatedTimesheetEntryList + AsyncPager[TimesheetEntry, PaginatedTimesheetEntryList] Examples -------- import asyncio - import datetime from merge import AsyncMerge - from merge.resources.hris.resources.timesheet_entries import ( - TimesheetEntriesListRequestOrderBy, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -439,45 +410,20 @@ async def list( async def main() -> None: - await client.hris.timesheet_entries.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = await client.hris.timesheet_entries.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - employee_id="employee_id", - ended_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - ended_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - order_by=TimesheetEntriesListRequestOrderBy.START_TIME_DESCENDING, - page_size=1, - remote_id="remote_id", - started_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - started_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -497,7 +443,6 @@ async def main() -> None: started_before=started_before, request_options=request_options, ) - return _response.data async def create( self, @@ -543,8 +488,6 @@ async def create( async def main() -> None: await client.hris.timesheet_entries.create( - is_debug_mode=True, - run_async=True, model=TimesheetEntryRequest(), ) @@ -560,7 +503,11 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["employee"]] = None, + expand: typing.Optional[ + typing.Union[ + TimesheetEntriesRetrieveRequestExpandItem, typing.Sequence[TimesheetEntriesRetrieveRequestExpandItem] + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -572,7 +519,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["employee"]] + expand : typing.Optional[typing.Union[TimesheetEntriesRetrieveRequestExpandItem, typing.Sequence[TimesheetEntriesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -604,8 +551,6 @@ async def retrieve( async def main() -> None: await client.hris.timesheet_entries.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) diff --git a/src/merge/resources/hris/resources/timesheet_entries/raw_client.py b/src/merge/resources/hris/resources/timesheet_entries/raw_client.py index ba12d21e..16dc91cc 100644 --- a/src/merge/resources/hris/resources/timesheet_entries/raw_client.py +++ b/src/merge/resources/hris/resources/timesheet_entries/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.meta_response import MetaResponse @@ -16,7 +17,9 @@ from ...types.timesheet_entry import TimesheetEntry from ...types.timesheet_entry_request import TimesheetEntryRequest from ...types.timesheet_entry_response import TimesheetEntryResponse +from .types.timesheet_entries_list_request_expand_item import TimesheetEntriesListRequestExpandItem from .types.timesheet_entries_list_request_order_by import TimesheetEntriesListRequestOrderBy +from .types.timesheet_entries_retrieve_request_expand_item import TimesheetEntriesRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -35,7 +38,9 @@ def list( employee_id: typing.Optional[str] = None, ended_after: typing.Optional[dt.datetime] = None, ended_before: typing.Optional[dt.datetime] = None, - expand: typing.Optional[typing.Literal["employee"]] = None, + expand: typing.Optional[ + typing.Union[TimesheetEntriesListRequestExpandItem, typing.Sequence[TimesheetEntriesListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -47,7 +52,7 @@ def list( started_after: typing.Optional[dt.datetime] = None, started_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedTimesheetEntryList]: + ) -> SyncPager[TimesheetEntry, PaginatedTimesheetEntryList]: """ Returns a list of `TimesheetEntry` objects. @@ -71,7 +76,7 @@ def list( ended_before : typing.Optional[dt.datetime] If provided, will only return timesheet entries ended before this datetime. - expand : typing.Optional[typing.Literal["employee"]] + expand : typing.Optional[typing.Union[TimesheetEntriesListRequestExpandItem, typing.Sequence[TimesheetEntriesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -93,7 +98,7 @@ def list( Overrides the default ordering for this endpoint. Possible values include: start_time, -start_time. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -109,7 +114,7 @@ def list( Returns ------- - HttpResponse[PaginatedTimesheetEntryList] + SyncPager[TimesheetEntry, PaginatedTimesheetEntryList] """ _response = self._client_wrapper.httpx_client.request( @@ -138,14 +143,37 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedTimesheetEntryList, construct_type( type_=PaginatedTimesheetEntryList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + employee_id=employee_id, + ended_after=ended_after, + ended_before=ended_before, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + order_by=order_by, + page_size=page_size, + remote_id=remote_id, + started_after=started_after, + started_before=started_before, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -215,7 +243,11 @@ def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["employee"]] = None, + expand: typing.Optional[ + typing.Union[ + TimesheetEntriesRetrieveRequestExpandItem, typing.Sequence[TimesheetEntriesRetrieveRequestExpandItem] + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -227,7 +259,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["employee"]] + expand : typing.Optional[typing.Union[TimesheetEntriesRetrieveRequestExpandItem, typing.Sequence[TimesheetEntriesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -319,7 +351,9 @@ async def list( employee_id: typing.Optional[str] = None, ended_after: typing.Optional[dt.datetime] = None, ended_before: typing.Optional[dt.datetime] = None, - expand: typing.Optional[typing.Literal["employee"]] = None, + expand: typing.Optional[ + typing.Union[TimesheetEntriesListRequestExpandItem, typing.Sequence[TimesheetEntriesListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -331,7 +365,7 @@ async def list( started_after: typing.Optional[dt.datetime] = None, started_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedTimesheetEntryList]: + ) -> AsyncPager[TimesheetEntry, PaginatedTimesheetEntryList]: """ Returns a list of `TimesheetEntry` objects. @@ -355,7 +389,7 @@ async def list( ended_before : typing.Optional[dt.datetime] If provided, will only return timesheet entries ended before this datetime. - expand : typing.Optional[typing.Literal["employee"]] + expand : typing.Optional[typing.Union[TimesheetEntriesListRequestExpandItem, typing.Sequence[TimesheetEntriesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -377,7 +411,7 @@ async def list( Overrides the default ordering for this endpoint. Possible values include: start_time, -start_time. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -393,7 +427,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedTimesheetEntryList] + AsyncPager[TimesheetEntry, PaginatedTimesheetEntryList] """ _response = await self._client_wrapper.httpx_client.request( @@ -422,14 +456,40 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedTimesheetEntryList, construct_type( type_=PaginatedTimesheetEntryList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + employee_id=employee_id, + ended_after=ended_after, + ended_before=ended_before, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + order_by=order_by, + page_size=page_size, + remote_id=remote_id, + started_after=started_after, + started_before=started_before, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -499,7 +559,11 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["employee"]] = None, + expand: typing.Optional[ + typing.Union[ + TimesheetEntriesRetrieveRequestExpandItem, typing.Sequence[TimesheetEntriesRetrieveRequestExpandItem] + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -511,7 +575,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["employee"]] + expand : typing.Optional[typing.Union[TimesheetEntriesRetrieveRequestExpandItem, typing.Sequence[TimesheetEntriesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/hris/resources/timesheet_entries/types/__init__.py b/src/merge/resources/hris/resources/timesheet_entries/types/__init__.py index af47f1f5..d59e39a2 100644 --- a/src/merge/resources/hris/resources/timesheet_entries/types/__init__.py +++ b/src/merge/resources/hris/resources/timesheet_entries/types/__init__.py @@ -6,9 +6,13 @@ from importlib import import_module if typing.TYPE_CHECKING: + from .timesheet_entries_list_request_expand_item import TimesheetEntriesListRequestExpandItem from .timesheet_entries_list_request_order_by import TimesheetEntriesListRequestOrderBy + from .timesheet_entries_retrieve_request_expand_item import TimesheetEntriesRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "TimesheetEntriesListRequestOrderBy": ".timesheet_entries_list_request_order_by" + "TimesheetEntriesListRequestExpandItem": ".timesheet_entries_list_request_expand_item", + "TimesheetEntriesListRequestOrderBy": ".timesheet_entries_list_request_order_by", + "TimesheetEntriesRetrieveRequestExpandItem": ".timesheet_entries_retrieve_request_expand_item", } @@ -18,8 +22,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -31,4 +37,8 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["TimesheetEntriesListRequestOrderBy"] +__all__ = [ + "TimesheetEntriesListRequestExpandItem", + "TimesheetEntriesListRequestOrderBy", + "TimesheetEntriesRetrieveRequestExpandItem", +] diff --git a/src/merge/resources/hris/resources/timesheet_entries/types/timesheet_entries_list_request_expand_item.py b/src/merge/resources/hris/resources/timesheet_entries/types/timesheet_entries_list_request_expand_item.py new file mode 100644 index 00000000..508a9d41 --- /dev/null +++ b/src/merge/resources/hris/resources/timesheet_entries/types/timesheet_entries_list_request_expand_item.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class TimesheetEntriesListRequestExpandItem(str, enum.Enum): + EMPLOYEE = "employee" + + def visit(self, employee: typing.Callable[[], T_Result]) -> T_Result: + if self is TimesheetEntriesListRequestExpandItem.EMPLOYEE: + return employee() diff --git a/src/merge/resources/hris/resources/timesheet_entries/types/timesheet_entries_retrieve_request_expand_item.py b/src/merge/resources/hris/resources/timesheet_entries/types/timesheet_entries_retrieve_request_expand_item.py new file mode 100644 index 00000000..734a444d --- /dev/null +++ b/src/merge/resources/hris/resources/timesheet_entries/types/timesheet_entries_retrieve_request_expand_item.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class TimesheetEntriesRetrieveRequestExpandItem(str, enum.Enum): + EMPLOYEE = "employee" + + def visit(self, employee: typing.Callable[[], T_Result]) -> T_Result: + if self is TimesheetEntriesRetrieveRequestExpandItem.EMPLOYEE: + return employee() diff --git a/src/merge/resources/hris/types/__init__.py b/src/merge/resources/hris/types/__init__.py index 2fd80be2..46416d1c 100644 --- a/src/merge/resources/hris/types/__init__.py +++ b/src/merge/resources/hris/types/__init__.py @@ -33,7 +33,6 @@ from .common_model_scope_api import CommonModelScopeApi from .common_model_scopes_body_request import CommonModelScopesBodyRequest from .company import Company - from .completed_account_initial_screen_enum import CompletedAccountInitialScreenEnum from .country_enum import CountryEnum from .data_passthrough_request import DataPassthroughRequest from .debug_mode_log import DebugModeLog @@ -109,6 +108,8 @@ from .group import Group from .group_type import GroupType from .group_type_enum import GroupTypeEnum + from .ignore_common_model_request import IgnoreCommonModelRequest + from .ignore_common_model_request_reason import IgnoreCommonModelRequestReason from .individual_common_model_scope_deserializer import IndividualCommonModelScopeDeserializer from .individual_common_model_scope_deserializer_request import IndividualCommonModelScopeDeserializerRequest from .issue import Issue @@ -129,7 +130,6 @@ from .model_permission_deserializer import ModelPermissionDeserializer from .model_permission_deserializer_request import ModelPermissionDeserializerRequest from .multipart_form_field_request import MultipartFormFieldRequest - from .multipart_form_field_request_encoding import MultipartFormFieldRequestEncoding from .paginated_account_details_and_actions_list import PaginatedAccountDetailsAndActionsList from .paginated_audit_log_event_list import PaginatedAuditLogEventList from .paginated_bank_info_list import PaginatedBankInfoList @@ -175,9 +175,10 @@ from .run_state_enum import RunStateEnum from .run_type_enum import RunTypeEnum from .selective_sync_configurations_usage_enum import SelectiveSyncConfigurationsUsageEnum - from .status_fd_5_enum import StatusFd5Enum + from .status_fd5enum import StatusFd5Enum from .sync_status import SyncStatus from .sync_status_last_sync_result import SyncStatusLastSyncResult + from .sync_status_status import SyncStatusStatus from .tax import Tax from .team import Team from .team_parent_team import TeamParentTeam @@ -235,7 +236,6 @@ "CommonModelScopeApi": ".common_model_scope_api", "CommonModelScopesBodyRequest": ".common_model_scopes_body_request", "Company": ".company", - "CompletedAccountInitialScreenEnum": ".completed_account_initial_screen_enum", "CountryEnum": ".country_enum", "DataPassthroughRequest": ".data_passthrough_request", "DebugModeLog": ".debug_mode_log", @@ -309,6 +309,8 @@ "Group": ".group", "GroupType": ".group_type", "GroupTypeEnum": ".group_type_enum", + "IgnoreCommonModelRequest": ".ignore_common_model_request", + "IgnoreCommonModelRequestReason": ".ignore_common_model_request_reason", "IndividualCommonModelScopeDeserializer": ".individual_common_model_scope_deserializer", "IndividualCommonModelScopeDeserializerRequest": ".individual_common_model_scope_deserializer_request", "Issue": ".issue", @@ -329,7 +331,6 @@ "ModelPermissionDeserializer": ".model_permission_deserializer", "ModelPermissionDeserializerRequest": ".model_permission_deserializer_request", "MultipartFormFieldRequest": ".multipart_form_field_request", - "MultipartFormFieldRequestEncoding": ".multipart_form_field_request_encoding", "PaginatedAccountDetailsAndActionsList": ".paginated_account_details_and_actions_list", "PaginatedAuditLogEventList": ".paginated_audit_log_event_list", "PaginatedBankInfoList": ".paginated_bank_info_list", @@ -375,9 +376,10 @@ "RunStateEnum": ".run_state_enum", "RunTypeEnum": ".run_type_enum", "SelectiveSyncConfigurationsUsageEnum": ".selective_sync_configurations_usage_enum", - "StatusFd5Enum": ".status_fd_5_enum", + "StatusFd5Enum": ".status_fd5enum", "SyncStatus": ".sync_status", "SyncStatusLastSyncResult": ".sync_status_last_sync_result", + "SyncStatusStatus": ".sync_status_status", "Tax": ".tax", "Team": ".team", "TeamParentTeam": ".team_parent_team", @@ -416,8 +418,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -457,7 +461,6 @@ def __dir__(): "CommonModelScopeApi", "CommonModelScopesBodyRequest", "Company", - "CompletedAccountInitialScreenEnum", "CountryEnum", "DataPassthroughRequest", "DebugModeLog", @@ -531,6 +534,8 @@ def __dir__(): "Group", "GroupType", "GroupTypeEnum", + "IgnoreCommonModelRequest", + "IgnoreCommonModelRequestReason", "IndividualCommonModelScopeDeserializer", "IndividualCommonModelScopeDeserializerRequest", "Issue", @@ -551,7 +556,6 @@ def __dir__(): "ModelPermissionDeserializer", "ModelPermissionDeserializerRequest", "MultipartFormFieldRequest", - "MultipartFormFieldRequestEncoding", "PaginatedAccountDetailsAndActionsList", "PaginatedAuditLogEventList", "PaginatedBankInfoList", @@ -600,6 +604,7 @@ def __dir__(): "StatusFd5Enum", "SyncStatus", "SyncStatusLastSyncResult", + "SyncStatusStatus", "Tax", "Team", "TeamParentTeam", diff --git a/src/merge/resources/hris/types/account_details_and_actions.py b/src/merge/resources/hris/types/account_details_and_actions.py index 93c874ed..a16114f6 100644 --- a/src/merge/resources/hris/types/account_details_and_actions.py +++ b/src/merge/resources/hris/types/account_details_and_actions.py @@ -42,7 +42,6 @@ class AccountDetailsAndActions(UncheckedBaseModel): integration: typing.Optional[AccountDetailsAndActionsIntegration] = None account_type: str completed_at: dt.datetime - integration_specific_fields: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/hris/types/account_integration.py b/src/merge/resources/hris/types/account_integration.py index ef8b260d..7bc872ca 100644 --- a/src/merge/resources/hris/types/account_integration.py +++ b/src/merge/resources/hris/types/account_integration.py @@ -40,9 +40,7 @@ class AccountIntegration(UncheckedBaseModel): """ slug: typing.Optional[str] = None - api_endpoints_to_documentation_urls: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = ( - pydantic.Field(default=None) - ) + api_endpoints_to_documentation_urls: typing.Optional[typing.Dict[str, typing.Any]] = pydantic.Field(default=None) """ Mapping of API endpoints to documentation urls for support. Example: {'GET': [['/common-model-scopes', 'https://docs.merge.dev/accounting/common-model-scopes/#common_model_scopes_retrieve'],['/common-model-actions', 'https://docs.merge.dev/accounting/common-model-actions/#common_model_actions_retrieve']], 'POST': []} """ @@ -52,7 +50,7 @@ class AccountIntegration(UncheckedBaseModel): Setup guide URL for third party webhook creation. Exposed in Merge Docs. """ - category_beta_status: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = pydantic.Field(default=None) + category_beta_status: typing.Optional[typing.Dict[str, typing.Any]] = pydantic.Field(default=None) """ Category or categories this integration is in beta status for. """ diff --git a/src/merge/resources/hris/types/advanced_metadata.py b/src/merge/resources/hris/types/advanced_metadata.py index 60b5d072..aef64bb3 100644 --- a/src/merge/resources/hris/types/advanced_metadata.py +++ b/src/merge/resources/hris/types/advanced_metadata.py @@ -13,7 +13,7 @@ class AdvancedMetadata(UncheckedBaseModel): description: typing.Optional[str] = None is_required: typing.Optional[bool] = None is_custom: typing.Optional[bool] = None - field_choices: typing.Optional[typing.List[typing.Optional[typing.Any]]] = None + field_choices: typing.Optional[typing.List[typing.Any]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/hris/types/bank_info.py b/src/merge/resources/hris/types/bank_info.py index 5cf08ec9..04b19c13 100644 --- a/src/merge/resources/hris/types/bank_info.py +++ b/src/merge/resources/hris/types/bank_info.py @@ -77,7 +77,7 @@ class BankInfo(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None if IS_PYDANTIC_V2: @@ -90,8 +90,4 @@ class Config: extra = pydantic.Extra.allow -from .employee import Employee # noqa: E402, F401, I001 -from .employment import Employment # noqa: E402, F401, I001 -from .team import Team # noqa: E402, F401, I001 - update_forward_refs(BankInfo) diff --git a/src/merge/resources/hris/types/benefit.py b/src/merge/resources/hris/types/benefit.py index 3ceeb1bc..035e79cb 100644 --- a/src/merge/resources/hris/types/benefit.py +++ b/src/merge/resources/hris/types/benefit.py @@ -73,17 +73,17 @@ class Benefit(UncheckedBaseModel): The day and time the benefit ended. """ - employer_benefit: typing.Optional[str] = pydantic.Field(default=None) + remote_was_deleted: typing.Optional[bool] = pydantic.Field(default=None) """ - The employer benefit plan the employee is enrolled in. + Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - remote_was_deleted: typing.Optional[bool] = pydantic.Field(default=None) + employer_benefit: typing.Optional[str] = pydantic.Field(default=None) """ - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + The employer benefit plan the employee is enrolled in. """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None if IS_PYDANTIC_V2: @@ -96,8 +96,4 @@ class Config: extra = pydantic.Extra.allow -from .employee import Employee # noqa: E402, F401, I001 -from .employment import Employment # noqa: E402, F401, I001 -from .team import Team # noqa: E402, F401, I001 - update_forward_refs(Benefit) diff --git a/src/merge/resources/hris/types/company.py b/src/merge/resources/hris/types/company.py index 226660f0..f0453c74 100644 --- a/src/merge/resources/hris/types/company.py +++ b/src/merge/resources/hris/types/company.py @@ -55,7 +55,7 @@ class Company(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/hris/types/completed_account_initial_screen_enum.py b/src/merge/resources/hris/types/completed_account_initial_screen_enum.py deleted file mode 100644 index c112dfd1..00000000 --- a/src/merge/resources/hris/types/completed_account_initial_screen_enum.py +++ /dev/null @@ -1,5 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -CompletedAccountInitialScreenEnum = typing.Literal["SELECTIVE_SYNC"] diff --git a/src/merge/resources/hris/types/data_passthrough_request.py b/src/merge/resources/hris/types/data_passthrough_request.py index c9f0a799..df3af029 100644 --- a/src/merge/resources/hris/types/data_passthrough_request.py +++ b/src/merge/resources/hris/types/data_passthrough_request.py @@ -41,7 +41,7 @@ class DataPassthroughRequest(UncheckedBaseModel): Pass an array of `MultipartFormField` objects in here instead of using the `data` param if `request_format` is set to `MULTIPART`. """ - headers: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = pydantic.Field(default=None) + headers: typing.Optional[typing.Dict[str, typing.Any]] = pydantic.Field(default=None) """ The headers to use for the request (Merge will handle the account's authorization headers). `Content-Type` header is required for passthrough. Choose content type corresponding to expected format of receiving server. """ diff --git a/src/merge/resources/hris/types/deduction.py b/src/merge/resources/hris/types/deduction.py index 22130e29..dbdda789 100644 --- a/src/merge/resources/hris/types/deduction.py +++ b/src/merge/resources/hris/types/deduction.py @@ -56,7 +56,7 @@ class Deduction(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/hris/types/dependent.py b/src/merge/resources/hris/types/dependent.py index 63957fcb..761c5f09 100644 --- a/src/merge/resources/hris/types/dependent.py +++ b/src/merge/resources/hris/types/dependent.py @@ -107,7 +107,7 @@ class Dependent(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/hris/types/earning.py b/src/merge/resources/hris/types/earning.py index 6868fd57..dcd7a778 100644 --- a/src/merge/resources/hris/types/earning.py +++ b/src/merge/resources/hris/types/earning.py @@ -57,7 +57,7 @@ class Earning(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/hris/types/employee.py b/src/merge/resources/hris/types/employee.py index 2c7d8d1c..8088a94a 100644 --- a/src/merge/resources/hris/types/employee.py +++ b/src/merge/resources/hris/types/employee.py @@ -208,7 +208,7 @@ class Employee(UncheckedBaseModel): The URL of the employee's avatar image. """ - custom_fields: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = pydantic.Field(default=None) + custom_fields: typing.Optional[typing.Dict[str, typing.Any]] = pydantic.Field(default=None) """ Custom fields configured for a given model. """ @@ -218,7 +218,7 @@ class Employee(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None if IS_PYDANTIC_V2: @@ -231,9 +231,8 @@ class Config: extra = pydantic.Extra.allow -from .employment import Employment # noqa: E402, F401, I001 -from .team import Team # noqa: E402, F401, I001 -from .employee_employments_item import EmployeeEmploymentsItem # noqa: E402, F401, I001 -from .employee_manager import EmployeeManager # noqa: E402, F401, I001 +from .employment import Employment # noqa: E402, I001 +from .employee_employments_item import EmployeeEmploymentsItem # noqa: E402, I001 +from .employee_manager import EmployeeManager # noqa: E402, I001 -update_forward_refs(Employee) +update_forward_refs(Employee, Employment=Employment) diff --git a/src/merge/resources/hris/types/employee_payroll_run.py b/src/merge/resources/hris/types/employee_payroll_run.py index b93496a5..dbc9d39c 100644 --- a/src/merge/resources/hris/types/employee_payroll_run.py +++ b/src/merge/resources/hris/types/employee_payroll_run.py @@ -85,7 +85,7 @@ class EmployeePayrollRun(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None if IS_PYDANTIC_V2: @@ -98,8 +98,4 @@ class Config: extra = pydantic.Extra.allow -from .employee import Employee # noqa: E402, F401, I001 -from .employment import Employment # noqa: E402, F401, I001 -from .team import Team # noqa: E402, F401, I001 - update_forward_refs(EmployeePayrollRun) diff --git a/src/merge/resources/hris/types/employee_request.py b/src/merge/resources/hris/types/employee_request.py index 47c055f1..1f9d0963 100644 --- a/src/merge/resources/hris/types/employee_request.py +++ b/src/merge/resources/hris/types/employee_request.py @@ -190,8 +190,8 @@ class EmployeeRequest(UncheckedBaseModel): The URL of the employee's avatar image. """ - integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + integration_params: typing.Optional[typing.Dict[str, typing.Any]] = None + linked_account_params: typing.Optional[typing.Dict[str, typing.Any]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 @@ -203,8 +203,4 @@ class Config: extra = pydantic.Extra.allow -from .employee import Employee # noqa: E402, F401, I001 -from .employment import Employment # noqa: E402, F401, I001 -from .team import Team # noqa: E402, F401, I001 - update_forward_refs(EmployeeRequest) diff --git a/src/merge/resources/hris/types/employee_response.py b/src/merge/resources/hris/types/employee_response.py index d703cc1c..10bee828 100644 --- a/src/merge/resources/hris/types/employee_response.py +++ b/src/merge/resources/hris/types/employee_response.py @@ -28,8 +28,6 @@ class Config: extra = pydantic.Extra.allow -from .employee import Employee # noqa: E402, F401, I001 -from .employment import Employment # noqa: E402, F401, I001 -from .team import Team # noqa: E402, F401, I001 +from .employee import Employee # noqa: E402, I001 update_forward_refs(EmployeeResponse) diff --git a/src/merge/resources/hris/types/employer_benefit.py b/src/merge/resources/hris/types/employer_benefit.py index f0a56f45..836ec14c 100644 --- a/src/merge/resources/hris/types/employer_benefit.py +++ b/src/merge/resources/hris/types/employer_benefit.py @@ -67,7 +67,7 @@ class EmployerBenefit(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/hris/types/employment.py b/src/merge/resources/hris/types/employment.py index cb2158ff..b219bc66 100644 --- a/src/merge/resources/hris/types/employment.py +++ b/src/merge/resources/hris/types/employment.py @@ -438,7 +438,7 @@ class Employment(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None if IS_PYDANTIC_V2: @@ -451,8 +451,7 @@ class Config: extra = pydantic.Extra.allow -from .employee import Employee # noqa: E402, F401, I001 -from .team import Team # noqa: E402, F401, I001 -from .employment_employee import EmploymentEmployee # noqa: E402, F401, I001 +from .employee import Employee # noqa: E402, I001 +from .employment_employee import EmploymentEmployee # noqa: E402, I001 -update_forward_refs(Employment) +update_forward_refs(Employment, Employee=Employee) diff --git a/src/merge/resources/hris/types/encoding_enum.py b/src/merge/resources/hris/types/encoding_enum.py index 7454647e..ceb8c474 100644 --- a/src/merge/resources/hris/types/encoding_enum.py +++ b/src/merge/resources/hris/types/encoding_enum.py @@ -14,18 +14,18 @@ class EncodingEnum(str, enum.Enum): """ RAW = "RAW" - BASE_64 = "BASE64" - GZIP_BASE_64 = "GZIP_BASE64" + BASE64 = "BASE64" + GZIP_BASE64 = "GZIP_BASE64" def visit( self, raw: typing.Callable[[], T_Result], - base_64: typing.Callable[[], T_Result], - gzip_base_64: typing.Callable[[], T_Result], + base64: typing.Callable[[], T_Result], + gzip_base64: typing.Callable[[], T_Result], ) -> T_Result: if self is EncodingEnum.RAW: return raw() - if self is EncodingEnum.BASE_64: - return base_64() - if self is EncodingEnum.GZIP_BASE_64: - return gzip_base_64() + if self is EncodingEnum.BASE64: + return base64() + if self is EncodingEnum.GZIP_BASE64: + return gzip_base64() diff --git a/src/merge/resources/hris/types/field_mapping_api_instance.py b/src/merge/resources/hris/types/field_mapping_api_instance.py index 0d257dcb..a5815313 100644 --- a/src/merge/resources/hris/types/field_mapping_api_instance.py +++ b/src/merge/resources/hris/types/field_mapping_api_instance.py @@ -14,7 +14,6 @@ class FieldMappingApiInstance(UncheckedBaseModel): is_integration_wide: typing.Optional[bool] = None target_field: typing.Optional[FieldMappingApiInstanceTargetField] = None remote_field: typing.Optional[FieldMappingApiInstanceRemoteField] = None - jmes_path: typing.Optional[str] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/hris/types/field_mapping_api_instance_remote_field.py b/src/merge/resources/hris/types/field_mapping_api_instance_remote_field.py index 578a2b10..f3d5a8cb 100644 --- a/src/merge/resources/hris/types/field_mapping_api_instance_remote_field.py +++ b/src/merge/resources/hris/types/field_mapping_api_instance_remote_field.py @@ -12,9 +12,7 @@ class FieldMappingApiInstanceRemoteField(UncheckedBaseModel): remote_key_name: typing.Optional[str] = None - schema_: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = pydantic.Field( - alias="schema", default=None - ) + schema_: typing.Optional[typing.Dict[str, typing.Any]] = pydantic.Field(alias="schema", default=None) remote_endpoint_info: FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo if IS_PYDANTIC_V2: diff --git a/src/merge/resources/hris/types/field_permission_deserializer.py b/src/merge/resources/hris/types/field_permission_deserializer.py index 1d71ae04..407ed547 100644 --- a/src/merge/resources/hris/types/field_permission_deserializer.py +++ b/src/merge/resources/hris/types/field_permission_deserializer.py @@ -8,8 +8,8 @@ class FieldPermissionDeserializer(UncheckedBaseModel): - enabled_fields: typing.Optional[typing.List[typing.Optional[typing.Any]]] = None - disabled_fields: typing.Optional[typing.List[typing.Optional[typing.Any]]] = None + enabled_fields: typing.Optional[typing.List[typing.Any]] = None + disabled_fields: typing.Optional[typing.List[typing.Any]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/hris/types/field_permission_deserializer_request.py b/src/merge/resources/hris/types/field_permission_deserializer_request.py index a4113b46..6680c7d2 100644 --- a/src/merge/resources/hris/types/field_permission_deserializer_request.py +++ b/src/merge/resources/hris/types/field_permission_deserializer_request.py @@ -8,8 +8,8 @@ class FieldPermissionDeserializerRequest(UncheckedBaseModel): - enabled_fields: typing.Optional[typing.List[typing.Optional[typing.Any]]] = None - disabled_fields: typing.Optional[typing.List[typing.Optional[typing.Any]]] = None + enabled_fields: typing.Optional[typing.List[typing.Any]] = None + disabled_fields: typing.Optional[typing.List[typing.Any]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/hris/types/group.py b/src/merge/resources/hris/types/group.py index d52c68d4..35fbbab5 100644 --- a/src/merge/resources/hris/types/group.py +++ b/src/merge/resources/hris/types/group.py @@ -67,7 +67,7 @@ class Group(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/hris/types/ignore_common_model_request.py b/src/merge/resources/hris/types/ignore_common_model_request.py new file mode 100644 index 00000000..5ecb9957 --- /dev/null +++ b/src/merge/resources/hris/types/ignore_common_model_request.py @@ -0,0 +1,22 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .ignore_common_model_request_reason import IgnoreCommonModelRequestReason + + +class IgnoreCommonModelRequest(UncheckedBaseModel): + reason: IgnoreCommonModelRequestReason + message: typing.Optional[str] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/merge/resources/hris/types/ignore_common_model_request_reason.py b/src/merge/resources/hris/types/ignore_common_model_request_reason.py new file mode 100644 index 00000000..114822b2 --- /dev/null +++ b/src/merge/resources/hris/types/ignore_common_model_request_reason.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .reason_enum import ReasonEnum + +IgnoreCommonModelRequestReason = typing.Union[ReasonEnum, str] diff --git a/src/merge/resources/hris/types/issue.py b/src/merge/resources/hris/types/issue.py index df31be95..5d37505d 100644 --- a/src/merge/resources/hris/types/issue.py +++ b/src/merge/resources/hris/types/issue.py @@ -20,7 +20,7 @@ class Issue(UncheckedBaseModel): """ error_description: str - end_user: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + end_user: typing.Optional[typing.Dict[str, typing.Any]] = None first_incident_time: typing.Optional[dt.datetime] = None last_incident_time: typing.Optional[dt.datetime] = None is_muted: typing.Optional[bool] = None diff --git a/src/merge/resources/hris/types/location.py b/src/merge/resources/hris/types/location.py index db6d7b66..53fccc57 100644 --- a/src/merge/resources/hris/types/location.py +++ b/src/merge/resources/hris/types/location.py @@ -47,12 +47,12 @@ class Location(UncheckedBaseModel): The location's phone number. """ - street_1: typing.Optional[str] = pydantic.Field(default=None) + street1: typing.Optional[str] = pydantic.Field(alias="street_1", default=None) """ Line 1 of the location's street address. """ - street_2: typing.Optional[str] = pydantic.Field(default=None) + street2: typing.Optional[str] = pydantic.Field(alias="street_2", default=None) """ Line 2 of the location's street address. """ @@ -340,7 +340,7 @@ class Location(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/hris/types/meta_response.py b/src/merge/resources/hris/types/meta_response.py index caa2c831..0da37619 100644 --- a/src/merge/resources/hris/types/meta_response.py +++ b/src/merge/resources/hris/types/meta_response.py @@ -9,8 +9,8 @@ class MetaResponse(UncheckedBaseModel): - request_schema: typing.Dict[str, typing.Optional[typing.Any]] - remote_field_classes: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + request_schema: typing.Dict[str, typing.Any] + remote_field_classes: typing.Optional[typing.Dict[str, typing.Any]] = None status: typing.Optional[LinkedAccountStatus] = None has_conditional_params: bool has_required_linked_account_params: bool diff --git a/src/merge/resources/hris/types/multipart_form_field_request.py b/src/merge/resources/hris/types/multipart_form_field_request.py index abc37692..aacb5df0 100644 --- a/src/merge/resources/hris/types/multipart_form_field_request.py +++ b/src/merge/resources/hris/types/multipart_form_field_request.py @@ -5,7 +5,7 @@ import pydantic from ....core.pydantic_utilities import IS_PYDANTIC_V2 from ....core.unchecked_base_model import UncheckedBaseModel -from .multipart_form_field_request_encoding import MultipartFormFieldRequestEncoding +from .encoding_enum import EncodingEnum class MultipartFormFieldRequest(UncheckedBaseModel): @@ -28,7 +28,7 @@ class MultipartFormFieldRequest(UncheckedBaseModel): The data for the form field. """ - encoding: typing.Optional[MultipartFormFieldRequestEncoding] = pydantic.Field(default=None) + encoding: typing.Optional[EncodingEnum] = pydantic.Field(default=None) """ The encoding of the value of `data`. Defaults to `RAW` if not defined. diff --git a/src/merge/resources/hris/types/multipart_form_field_request_encoding.py b/src/merge/resources/hris/types/multipart_form_field_request_encoding.py deleted file mode 100644 index c6513b6b..00000000 --- a/src/merge/resources/hris/types/multipart_form_field_request_encoding.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .encoding_enum import EncodingEnum - -MultipartFormFieldRequestEncoding = typing.Union[EncodingEnum, str] diff --git a/src/merge/resources/hris/types/paginated_bank_info_list.py b/src/merge/resources/hris/types/paginated_bank_info_list.py index 688ba4f5..55cdb904 100644 --- a/src/merge/resources/hris/types/paginated_bank_info_list.py +++ b/src/merge/resources/hris/types/paginated_bank_info_list.py @@ -25,8 +25,4 @@ class Config: extra = pydantic.Extra.allow -from .employee import Employee # noqa: E402, F401, I001 -from .employment import Employment # noqa: E402, F401, I001 -from .team import Team # noqa: E402, F401, I001 - update_forward_refs(PaginatedBankInfoList) diff --git a/src/merge/resources/hris/types/paginated_benefit_list.py b/src/merge/resources/hris/types/paginated_benefit_list.py index d290d5fd..ccfc56d9 100644 --- a/src/merge/resources/hris/types/paginated_benefit_list.py +++ b/src/merge/resources/hris/types/paginated_benefit_list.py @@ -25,8 +25,4 @@ class Config: extra = pydantic.Extra.allow -from .employee import Employee # noqa: E402, F401, I001 -from .employment import Employment # noqa: E402, F401, I001 -from .team import Team # noqa: E402, F401, I001 - update_forward_refs(PaginatedBenefitList) diff --git a/src/merge/resources/hris/types/paginated_employee_list.py b/src/merge/resources/hris/types/paginated_employee_list.py index 8b7b1dc8..8ed0ab8a 100644 --- a/src/merge/resources/hris/types/paginated_employee_list.py +++ b/src/merge/resources/hris/types/paginated_employee_list.py @@ -24,8 +24,6 @@ class Config: extra = pydantic.Extra.allow -from .employee import Employee # noqa: E402, F401, I001 -from .employment import Employment # noqa: E402, F401, I001 -from .team import Team # noqa: E402, F401, I001 +from .employee import Employee # noqa: E402, I001 update_forward_refs(PaginatedEmployeeList) diff --git a/src/merge/resources/hris/types/paginated_employee_payroll_run_list.py b/src/merge/resources/hris/types/paginated_employee_payroll_run_list.py index 4f66790b..7ef4c312 100644 --- a/src/merge/resources/hris/types/paginated_employee_payroll_run_list.py +++ b/src/merge/resources/hris/types/paginated_employee_payroll_run_list.py @@ -25,8 +25,4 @@ class Config: extra = pydantic.Extra.allow -from .employee import Employee # noqa: E402, F401, I001 -from .employment import Employment # noqa: E402, F401, I001 -from .team import Team # noqa: E402, F401, I001 - update_forward_refs(PaginatedEmployeePayrollRunList) diff --git a/src/merge/resources/hris/types/paginated_employment_list.py b/src/merge/resources/hris/types/paginated_employment_list.py index 9670bf4c..8993b1ea 100644 --- a/src/merge/resources/hris/types/paginated_employment_list.py +++ b/src/merge/resources/hris/types/paginated_employment_list.py @@ -24,8 +24,6 @@ class Config: extra = pydantic.Extra.allow -from .employee import Employee # noqa: E402, F401, I001 -from .employment import Employment # noqa: E402, F401, I001 -from .team import Team # noqa: E402, F401, I001 +from .employment import Employment # noqa: E402, I001 update_forward_refs(PaginatedEmploymentList) diff --git a/src/merge/resources/hris/types/paginated_team_list.py b/src/merge/resources/hris/types/paginated_team_list.py index 29a7bdb7..396766b9 100644 --- a/src/merge/resources/hris/types/paginated_team_list.py +++ b/src/merge/resources/hris/types/paginated_team_list.py @@ -24,6 +24,6 @@ class Config: extra = pydantic.Extra.allow -from .team import Team # noqa: E402, F401, I001 +from .team import Team # noqa: E402, I001 update_forward_refs(PaginatedTeamList) diff --git a/src/merge/resources/hris/types/paginated_time_off_balance_list.py b/src/merge/resources/hris/types/paginated_time_off_balance_list.py index 3ba1324e..bbb1d3fd 100644 --- a/src/merge/resources/hris/types/paginated_time_off_balance_list.py +++ b/src/merge/resources/hris/types/paginated_time_off_balance_list.py @@ -25,8 +25,4 @@ class Config: extra = pydantic.Extra.allow -from .employee import Employee # noqa: E402, F401, I001 -from .employment import Employment # noqa: E402, F401, I001 -from .team import Team # noqa: E402, F401, I001 - update_forward_refs(PaginatedTimeOffBalanceList) diff --git a/src/merge/resources/hris/types/paginated_time_off_list.py b/src/merge/resources/hris/types/paginated_time_off_list.py index f5b941b7..d6b66c2c 100644 --- a/src/merge/resources/hris/types/paginated_time_off_list.py +++ b/src/merge/resources/hris/types/paginated_time_off_list.py @@ -25,8 +25,4 @@ class Config: extra = pydantic.Extra.allow -from .employee import Employee # noqa: E402, F401, I001 -from .employment import Employment # noqa: E402, F401, I001 -from .team import Team # noqa: E402, F401, I001 - update_forward_refs(PaginatedTimeOffList) diff --git a/src/merge/resources/hris/types/paginated_timesheet_entry_list.py b/src/merge/resources/hris/types/paginated_timesheet_entry_list.py index 612a1b25..f4a7d107 100644 --- a/src/merge/resources/hris/types/paginated_timesheet_entry_list.py +++ b/src/merge/resources/hris/types/paginated_timesheet_entry_list.py @@ -25,8 +25,4 @@ class Config: extra = pydantic.Extra.allow -from .employee import Employee # noqa: E402, F401, I001 -from .employment import Employment # noqa: E402, F401, I001 -from .team import Team # noqa: E402, F401, I001 - update_forward_refs(PaginatedTimesheetEntryList) diff --git a/src/merge/resources/hris/types/pay_group.py b/src/merge/resources/hris/types/pay_group.py index 5ade80dd..bf6288a0 100644 --- a/src/merge/resources/hris/types/pay_group.py +++ b/src/merge/resources/hris/types/pay_group.py @@ -45,7 +45,7 @@ class PayGroup(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/hris/types/payroll_run.py b/src/merge/resources/hris/types/payroll_run.py index 21f8380c..7d09e748 100644 --- a/src/merge/resources/hris/types/payroll_run.py +++ b/src/merge/resources/hris/types/payroll_run.py @@ -79,7 +79,7 @@ class PayrollRun(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/hris/types/remote_data.py b/src/merge/resources/hris/types/remote_data.py index f34bec80..2026f05a 100644 --- a/src/merge/resources/hris/types/remote_data.py +++ b/src/merge/resources/hris/types/remote_data.py @@ -22,7 +22,7 @@ class RemoteData(UncheckedBaseModel): The third-party API path that is being called. """ - data: typing.Optional[typing.Optional[typing.Any]] = pydantic.Field(default=None) + data: typing.Optional[typing.Any] = pydantic.Field(default=None) """ The data returned from the third-party for this object in its original, unnormalized format. """ diff --git a/src/merge/resources/hris/types/remote_endpoint_info.py b/src/merge/resources/hris/types/remote_endpoint_info.py index 07ceff6a..ffa70b94 100644 --- a/src/merge/resources/hris/types/remote_endpoint_info.py +++ b/src/merge/resources/hris/types/remote_endpoint_info.py @@ -10,7 +10,7 @@ class RemoteEndpointInfo(UncheckedBaseModel): method: str url_path: str - field_traversal_path: typing.List[typing.Optional[typing.Any]] + field_traversal_path: typing.List[typing.Any] if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/hris/types/remote_field_api.py b/src/merge/resources/hris/types/remote_field_api.py index 4c66a23b..bac07b8d 100644 --- a/src/merge/resources/hris/types/remote_field_api.py +++ b/src/merge/resources/hris/types/remote_field_api.py @@ -11,10 +11,10 @@ class RemoteFieldApi(UncheckedBaseModel): - schema_: typing.Dict[str, typing.Optional[typing.Any]] = pydantic.Field(alias="schema") + schema_: typing.Dict[str, typing.Any] = pydantic.Field(alias="schema") remote_key_name: str remote_endpoint_info: RemoteEndpointInfo - example_values: typing.Optional[typing.List[typing.Optional[typing.Any]]] = None + example_values: typing.Optional[typing.List[typing.Any]] = None advanced_metadata: typing.Optional[AdvancedMetadata] = None coverage: typing.Optional[RemoteFieldApiCoverage] = None diff --git a/src/merge/resources/hris/types/remote_response.py b/src/merge/resources/hris/types/remote_response.py index db01131f..8bc6f905 100644 --- a/src/merge/resources/hris/types/remote_response.py +++ b/src/merge/resources/hris/types/remote_response.py @@ -21,10 +21,10 @@ class RemoteResponse(UncheckedBaseModel): method: str path: str status: int - response: typing.Optional[typing.Any] = None - response_headers: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + response: typing.Any + response_headers: typing.Optional[typing.Dict[str, typing.Any]] = None response_type: typing.Optional[RemoteResponseResponseType] = None - headers: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + headers: typing.Optional[typing.Dict[str, typing.Any]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/hris/types/response_type_enum.py b/src/merge/resources/hris/types/response_type_enum.py index ef241302..e29175b6 100644 --- a/src/merge/resources/hris/types/response_type_enum.py +++ b/src/merge/resources/hris/types/response_type_enum.py @@ -13,10 +13,10 @@ class ResponseTypeEnum(str, enum.Enum): """ JSON = "JSON" - BASE_64_GZIP = "BASE64_GZIP" + BASE64GZIP = "BASE64_GZIP" - def visit(self, json: typing.Callable[[], T_Result], base_64_gzip: typing.Callable[[], T_Result]) -> T_Result: + def visit(self, json: typing.Callable[[], T_Result], base64gzip: typing.Callable[[], T_Result]) -> T_Result: if self is ResponseTypeEnum.JSON: return json() - if self is ResponseTypeEnum.BASE_64_GZIP: - return base_64_gzip() + if self is ResponseTypeEnum.BASE64GZIP: + return base64gzip() diff --git a/src/merge/resources/filestorage/types/status_fd_5_enum.py b/src/merge/resources/hris/types/status_fd5enum.py similarity index 100% rename from src/merge/resources/filestorage/types/status_fd_5_enum.py rename to src/merge/resources/hris/types/status_fd5enum.py diff --git a/src/merge/resources/hris/types/sync_status.py b/src/merge/resources/hris/types/sync_status.py index 4a628c4f..07ab1dc2 100644 --- a/src/merge/resources/hris/types/sync_status.py +++ b/src/merge/resources/hris/types/sync_status.py @@ -7,8 +7,8 @@ from ....core.pydantic_utilities import IS_PYDANTIC_V2 from ....core.unchecked_base_model import UncheckedBaseModel from .selective_sync_configurations_usage_enum import SelectiveSyncConfigurationsUsageEnum -from .status_fd_5_enum import StatusFd5Enum from .sync_status_last_sync_result import SyncStatusLastSyncResult +from .sync_status_status import SyncStatusStatus class SyncStatus(UncheckedBaseModel): @@ -27,7 +27,7 @@ class SyncStatus(UncheckedBaseModel): next_sync_start: typing.Optional[dt.datetime] = None last_sync_result: typing.Optional[SyncStatusLastSyncResult] = None last_sync_finished: typing.Optional[dt.datetime] = None - status: StatusFd5Enum + status: SyncStatusStatus is_initial_sync: bool selective_sync_configurations_usage: typing.Optional[SelectiveSyncConfigurationsUsageEnum] = None diff --git a/src/merge/resources/hris/types/sync_status_status.py b/src/merge/resources/hris/types/sync_status_status.py new file mode 100644 index 00000000..080bb651 --- /dev/null +++ b/src/merge/resources/hris/types/sync_status_status.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .status_fd5enum import StatusFd5Enum + +SyncStatusStatus = typing.Union[StatusFd5Enum, str] diff --git a/src/merge/resources/hris/types/tax.py b/src/merge/resources/hris/types/tax.py index 97441cbf..f5bdb498 100644 --- a/src/merge/resources/hris/types/tax.py +++ b/src/merge/resources/hris/types/tax.py @@ -56,7 +56,7 @@ class Tax(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/hris/types/team.py b/src/merge/resources/hris/types/team.py index 264b75eb..988b6c1a 100644 --- a/src/merge/resources/hris/types/team.py +++ b/src/merge/resources/hris/types/team.py @@ -6,7 +6,7 @@ import typing import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.pydantic_utilities import IS_PYDANTIC_V2 from ....core.unchecked_base_model import UncheckedBaseModel from .remote_data import RemoteData @@ -52,7 +52,7 @@ class Team(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None if IS_PYDANTIC_V2: @@ -65,6 +65,4 @@ class Config: extra = pydantic.Extra.allow -from .team_parent_team import TeamParentTeam # noqa: E402, F401, I001 - -update_forward_refs(Team) +from .team_parent_team import TeamParentTeam # noqa: E402, I001 diff --git a/src/merge/resources/hris/types/time_off.py b/src/merge/resources/hris/types/time_off.py index 10860921..d5c01a45 100644 --- a/src/merge/resources/hris/types/time_off.py +++ b/src/merge/resources/hris/types/time_off.py @@ -108,7 +108,7 @@ class TimeOff(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None if IS_PYDANTIC_V2: @@ -121,8 +121,4 @@ class Config: extra = pydantic.Extra.allow -from .employee import Employee # noqa: E402, F401, I001 -from .employment import Employment # noqa: E402, F401, I001 -from .team import Team # noqa: E402, F401, I001 - update_forward_refs(TimeOff) diff --git a/src/merge/resources/hris/types/time_off_balance.py b/src/merge/resources/hris/types/time_off_balance.py index aacbc0bd..5cf96775 100644 --- a/src/merge/resources/hris/types/time_off_balance.py +++ b/src/merge/resources/hris/types/time_off_balance.py @@ -71,7 +71,7 @@ class TimeOffBalance(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None if IS_PYDANTIC_V2: @@ -84,8 +84,4 @@ class Config: extra = pydantic.Extra.allow -from .employee import Employee # noqa: E402, F401, I001 -from .employment import Employment # noqa: E402, F401, I001 -from .team import Team # noqa: E402, F401, I001 - update_forward_refs(TimeOffBalance) diff --git a/src/merge/resources/hris/types/time_off_request.py b/src/merge/resources/hris/types/time_off_request.py index c9b49089..c3401ffd 100644 --- a/src/merge/resources/hris/types/time_off_request.py +++ b/src/merge/resources/hris/types/time_off_request.py @@ -86,8 +86,8 @@ class TimeOffRequest(UncheckedBaseModel): The day and time of the end of the time requested off. """ - integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + integration_params: typing.Optional[typing.Dict[str, typing.Any]] = None + linked_account_params: typing.Optional[typing.Dict[str, typing.Any]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 @@ -99,8 +99,4 @@ class Config: extra = pydantic.Extra.allow -from .employee import Employee # noqa: E402, F401, I001 -from .employment import Employment # noqa: E402, F401, I001 -from .team import Team # noqa: E402, F401, I001 - update_forward_refs(TimeOffRequest) diff --git a/src/merge/resources/hris/types/time_off_response.py b/src/merge/resources/hris/types/time_off_response.py index 416a5def..f8e7026d 100644 --- a/src/merge/resources/hris/types/time_off_response.py +++ b/src/merge/resources/hris/types/time_off_response.py @@ -29,8 +29,4 @@ class Config: extra = pydantic.Extra.allow -from .employee import Employee # noqa: E402, F401, I001 -from .employment import Employment # noqa: E402, F401, I001 -from .team import Team # noqa: E402, F401, I001 - update_forward_refs(TimeOffResponse) diff --git a/src/merge/resources/hris/types/timesheet_entry.py b/src/merge/resources/hris/types/timesheet_entry.py index a5966977..27dc035f 100644 --- a/src/merge/resources/hris/types/timesheet_entry.py +++ b/src/merge/resources/hris/types/timesheet_entry.py @@ -64,7 +64,7 @@ class TimesheetEntry(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None if IS_PYDANTIC_V2: @@ -77,8 +77,4 @@ class Config: extra = pydantic.Extra.allow -from .employee import Employee # noqa: E402, F401, I001 -from .employment import Employment # noqa: E402, F401, I001 -from .team import Team # noqa: E402, F401, I001 - update_forward_refs(TimesheetEntry) diff --git a/src/merge/resources/hris/types/timesheet_entry_request.py b/src/merge/resources/hris/types/timesheet_entry_request.py index df004147..c5482015 100644 --- a/src/merge/resources/hris/types/timesheet_entry_request.py +++ b/src/merge/resources/hris/types/timesheet_entry_request.py @@ -42,8 +42,8 @@ class TimesheetEntryRequest(UncheckedBaseModel): The time at which the employee ended work. """ - integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + integration_params: typing.Optional[typing.Dict[str, typing.Any]] = None + linked_account_params: typing.Optional[typing.Dict[str, typing.Any]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 @@ -55,8 +55,4 @@ class Config: extra = pydantic.Extra.allow -from .employee import Employee # noqa: E402, F401, I001 -from .employment import Employment # noqa: E402, F401, I001 -from .team import Team # noqa: E402, F401, I001 - update_forward_refs(TimesheetEntryRequest) diff --git a/src/merge/resources/hris/types/timesheet_entry_response.py b/src/merge/resources/hris/types/timesheet_entry_response.py index 1c6bb197..1821d263 100644 --- a/src/merge/resources/hris/types/timesheet_entry_response.py +++ b/src/merge/resources/hris/types/timesheet_entry_response.py @@ -29,8 +29,4 @@ class Config: extra = pydantic.Extra.allow -from .employee import Employee # noqa: E402, F401, I001 -from .employment import Employment # noqa: E402, F401, I001 -from .team import Team # noqa: E402, F401, I001 - update_forward_refs(TimesheetEntryResponse) diff --git a/src/merge/resources/knowledgebase/__init__.py b/src/merge/resources/knowledgebase/__init__.py deleted file mode 100644 index 877949ae..00000000 --- a/src/merge/resources/knowledgebase/__init__.py +++ /dev/null @@ -1,481 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - -import typing -from importlib import import_module - -if typing.TYPE_CHECKING: - from .types import ( - AccountDetails, - AccountDetailsAndActions, - AccountDetailsAndActionsCategory, - AccountDetailsAndActionsIntegration, - AccountDetailsAndActionsStatus, - AccountDetailsAndActionsStatusEnum, - AccountDetailsCategory, - AccountIntegration, - AccountToken, - AdvancedMetadata, - Article, - ArticleAttachmentsItem, - ArticleAuthor, - ArticleLastEditedBy, - ArticleParentArticle, - ArticleParentContainer, - ArticlePermissionsItem, - ArticleRootContainer, - ArticleStatus, - ArticleType, - ArticleTypeEnum, - ArticleVisibility, - AsyncPassthroughReciept, - Attachment, - AuditLogEvent, - AuditLogEventEventType, - AuditLogEventRole, - AvailableActions, - CategoriesEnum, - CategoryEnum, - CommonModelScopeApi, - CommonModelScopesBodyRequest, - CompletedAccountInitialScreenEnum, - Container, - ContainerPermissionsItem, - ContainerStatus, - ContainerType, - ContainerTypeEnum, - ContainerVisibility, - DataPassthroughRequest, - DataPassthroughRequestMethod, - DataPassthroughRequestRequestFormat, - DebugModeLog, - DebugModelLogSummary, - EnabledActionsEnum, - EncodingEnum, - ErrorValidationProblem, - EventTypeEnum, - ExternalTargetFieldApi, - ExternalTargetFieldApiResponse, - FieldMappingApiInstance, - FieldMappingApiInstanceRemoteField, - FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo, - FieldMappingApiInstanceResponse, - FieldMappingApiInstanceTargetField, - FieldMappingInstanceResponse, - FieldPermissionDeserializer, - FieldPermissionDeserializerRequest, - Group, - GroupParentGroup, - GroupUsersItem, - IndividualCommonModelScopeDeserializer, - IndividualCommonModelScopeDeserializerRequest, - Issue, - IssueStatus, - IssueStatusEnum, - LanguageEnum, - LastSyncResultEnum, - LinkToken, - MethodEnum, - ModelOperation, - ModelPermissionDeserializer, - ModelPermissionDeserializerRequest, - MultipartFormFieldRequest, - MultipartFormFieldRequestEncoding, - PaginatedAccountDetailsAndActionsList, - PaginatedArticleList, - PaginatedAttachmentList, - PaginatedAuditLogEventList, - PaginatedContainerList, - PaginatedGroupList, - PaginatedIssueList, - PaginatedSyncStatusList, - PaginatedUserList, - Permission, - PermissionGroup, - PermissionType, - PermissionTypeEnum, - PermissionUser, - RemoteData, - RemoteEndpointInfo, - RemoteFieldApi, - RemoteFieldApiAdvancedMetadata, - RemoteFieldApiCoverage, - RemoteFieldApiResponse, - RemoteKey, - RemoteResponse, - RemoteResponseResponseType, - RequestFormatEnum, - ResponseTypeEnum, - RoleEnum, - RolesEnum, - SelectiveSyncConfigurationsUsageEnum, - Status3C6Enum, - StatusFd5Enum, - SyncStatus, - SyncStatusLastSyncResult, - SyncStatusStatus, - User, - ValidationProblemSource, - VisibilityEnum, - WarningValidationProblem, - WebhookReceiver, - ) - from .resources import ( - ArticlesListRequestExpand, - ArticlesListRequestType, - ArticlesRetrieveRequestExpand, - AsyncPassthroughRetrieveResponse, - ContainersListRequestExpand, - ContainersListRequestType, - ContainersRetrieveRequestExpand, - EndUserDetailsRequestCompletedAccountInitialScreen, - EndUserDetailsRequestLanguage, - GroupsListRequestExpand, - GroupsRetrieveRequestExpand, - IssuesListRequestStatus, - LinkedAccountsListRequestCategory, - account_details, - account_token, - articles, - async_passthrough, - attachments, - audit_trail, - available_actions, - containers, - delete_account, - field_mapping, - force_resync, - generate_key, - groups, - issues, - link_token, - linked_accounts, - passthrough, - regenerate_key, - scopes, - sync_status, - users, - webhook_receivers, - ) -_dynamic_imports: typing.Dict[str, str] = { - "AccountDetails": ".types", - "AccountDetailsAndActions": ".types", - "AccountDetailsAndActionsCategory": ".types", - "AccountDetailsAndActionsIntegration": ".types", - "AccountDetailsAndActionsStatus": ".types", - "AccountDetailsAndActionsStatusEnum": ".types", - "AccountDetailsCategory": ".types", - "AccountIntegration": ".types", - "AccountToken": ".types", - "AdvancedMetadata": ".types", - "Article": ".types", - "ArticleAttachmentsItem": ".types", - "ArticleAuthor": ".types", - "ArticleLastEditedBy": ".types", - "ArticleParentArticle": ".types", - "ArticleParentContainer": ".types", - "ArticlePermissionsItem": ".types", - "ArticleRootContainer": ".types", - "ArticleStatus": ".types", - "ArticleType": ".types", - "ArticleTypeEnum": ".types", - "ArticleVisibility": ".types", - "ArticlesListRequestExpand": ".resources", - "ArticlesListRequestType": ".resources", - "ArticlesRetrieveRequestExpand": ".resources", - "AsyncPassthroughReciept": ".types", - "AsyncPassthroughRetrieveResponse": ".resources", - "Attachment": ".types", - "AuditLogEvent": ".types", - "AuditLogEventEventType": ".types", - "AuditLogEventRole": ".types", - "AvailableActions": ".types", - "CategoriesEnum": ".types", - "CategoryEnum": ".types", - "CommonModelScopeApi": ".types", - "CommonModelScopesBodyRequest": ".types", - "CompletedAccountInitialScreenEnum": ".types", - "Container": ".types", - "ContainerPermissionsItem": ".types", - "ContainerStatus": ".types", - "ContainerType": ".types", - "ContainerTypeEnum": ".types", - "ContainerVisibility": ".types", - "ContainersListRequestExpand": ".resources", - "ContainersListRequestType": ".resources", - "ContainersRetrieveRequestExpand": ".resources", - "DataPassthroughRequest": ".types", - "DataPassthroughRequestMethod": ".types", - "DataPassthroughRequestRequestFormat": ".types", - "DebugModeLog": ".types", - "DebugModelLogSummary": ".types", - "EnabledActionsEnum": ".types", - "EncodingEnum": ".types", - "EndUserDetailsRequestCompletedAccountInitialScreen": ".resources", - "EndUserDetailsRequestLanguage": ".resources", - "ErrorValidationProblem": ".types", - "EventTypeEnum": ".types", - "ExternalTargetFieldApi": ".types", - "ExternalTargetFieldApiResponse": ".types", - "FieldMappingApiInstance": ".types", - "FieldMappingApiInstanceRemoteField": ".types", - "FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo": ".types", - "FieldMappingApiInstanceResponse": ".types", - "FieldMappingApiInstanceTargetField": ".types", - "FieldMappingInstanceResponse": ".types", - "FieldPermissionDeserializer": ".types", - "FieldPermissionDeserializerRequest": ".types", - "Group": ".types", - "GroupParentGroup": ".types", - "GroupUsersItem": ".types", - "GroupsListRequestExpand": ".resources", - "GroupsRetrieveRequestExpand": ".resources", - "IndividualCommonModelScopeDeserializer": ".types", - "IndividualCommonModelScopeDeserializerRequest": ".types", - "Issue": ".types", - "IssueStatus": ".types", - "IssueStatusEnum": ".types", - "IssuesListRequestStatus": ".resources", - "LanguageEnum": ".types", - "LastSyncResultEnum": ".types", - "LinkToken": ".types", - "LinkedAccountsListRequestCategory": ".resources", - "MethodEnum": ".types", - "ModelOperation": ".types", - "ModelPermissionDeserializer": ".types", - "ModelPermissionDeserializerRequest": ".types", - "MultipartFormFieldRequest": ".types", - "MultipartFormFieldRequestEncoding": ".types", - "PaginatedAccountDetailsAndActionsList": ".types", - "PaginatedArticleList": ".types", - "PaginatedAttachmentList": ".types", - "PaginatedAuditLogEventList": ".types", - "PaginatedContainerList": ".types", - "PaginatedGroupList": ".types", - "PaginatedIssueList": ".types", - "PaginatedSyncStatusList": ".types", - "PaginatedUserList": ".types", - "Permission": ".types", - "PermissionGroup": ".types", - "PermissionType": ".types", - "PermissionTypeEnum": ".types", - "PermissionUser": ".types", - "RemoteData": ".types", - "RemoteEndpointInfo": ".types", - "RemoteFieldApi": ".types", - "RemoteFieldApiAdvancedMetadata": ".types", - "RemoteFieldApiCoverage": ".types", - "RemoteFieldApiResponse": ".types", - "RemoteKey": ".types", - "RemoteResponse": ".types", - "RemoteResponseResponseType": ".types", - "RequestFormatEnum": ".types", - "ResponseTypeEnum": ".types", - "RoleEnum": ".types", - "RolesEnum": ".types", - "SelectiveSyncConfigurationsUsageEnum": ".types", - "Status3C6Enum": ".types", - "StatusFd5Enum": ".types", - "SyncStatus": ".types", - "SyncStatusLastSyncResult": ".types", - "SyncStatusStatus": ".types", - "User": ".types", - "ValidationProblemSource": ".types", - "VisibilityEnum": ".types", - "WarningValidationProblem": ".types", - "WebhookReceiver": ".types", - "account_details": ".resources", - "account_token": ".resources", - "articles": ".resources", - "async_passthrough": ".resources", - "attachments": ".resources", - "audit_trail": ".resources", - "available_actions": ".resources", - "containers": ".resources", - "delete_account": ".resources", - "field_mapping": ".resources", - "force_resync": ".resources", - "generate_key": ".resources", - "groups": ".resources", - "issues": ".resources", - "link_token": ".resources", - "linked_accounts": ".resources", - "passthrough": ".resources", - "regenerate_key": ".resources", - "scopes": ".resources", - "sync_status": ".resources", - "users": ".resources", - "webhook_receivers": ".resources", -} - - -def __getattr__(attr_name: str) -> typing.Any: - module_name = _dynamic_imports.get(attr_name) - if module_name is None: - raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") - try: - module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result - except ImportError as e: - raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e - except AttributeError as e: - raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e - - -def __dir__(): - lazy_attrs = list(_dynamic_imports.keys()) - return sorted(lazy_attrs) - - -__all__ = [ - "AccountDetails", - "AccountDetailsAndActions", - "AccountDetailsAndActionsCategory", - "AccountDetailsAndActionsIntegration", - "AccountDetailsAndActionsStatus", - "AccountDetailsAndActionsStatusEnum", - "AccountDetailsCategory", - "AccountIntegration", - "AccountToken", - "AdvancedMetadata", - "Article", - "ArticleAttachmentsItem", - "ArticleAuthor", - "ArticleLastEditedBy", - "ArticleParentArticle", - "ArticleParentContainer", - "ArticlePermissionsItem", - "ArticleRootContainer", - "ArticleStatus", - "ArticleType", - "ArticleTypeEnum", - "ArticleVisibility", - "ArticlesListRequestExpand", - "ArticlesListRequestType", - "ArticlesRetrieveRequestExpand", - "AsyncPassthroughReciept", - "AsyncPassthroughRetrieveResponse", - "Attachment", - "AuditLogEvent", - "AuditLogEventEventType", - "AuditLogEventRole", - "AvailableActions", - "CategoriesEnum", - "CategoryEnum", - "CommonModelScopeApi", - "CommonModelScopesBodyRequest", - "CompletedAccountInitialScreenEnum", - "Container", - "ContainerPermissionsItem", - "ContainerStatus", - "ContainerType", - "ContainerTypeEnum", - "ContainerVisibility", - "ContainersListRequestExpand", - "ContainersListRequestType", - "ContainersRetrieveRequestExpand", - "DataPassthroughRequest", - "DataPassthroughRequestMethod", - "DataPassthroughRequestRequestFormat", - "DebugModeLog", - "DebugModelLogSummary", - "EnabledActionsEnum", - "EncodingEnum", - "EndUserDetailsRequestCompletedAccountInitialScreen", - "EndUserDetailsRequestLanguage", - "ErrorValidationProblem", - "EventTypeEnum", - "ExternalTargetFieldApi", - "ExternalTargetFieldApiResponse", - "FieldMappingApiInstance", - "FieldMappingApiInstanceRemoteField", - "FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo", - "FieldMappingApiInstanceResponse", - "FieldMappingApiInstanceTargetField", - "FieldMappingInstanceResponse", - "FieldPermissionDeserializer", - "FieldPermissionDeserializerRequest", - "Group", - "GroupParentGroup", - "GroupUsersItem", - "GroupsListRequestExpand", - "GroupsRetrieveRequestExpand", - "IndividualCommonModelScopeDeserializer", - "IndividualCommonModelScopeDeserializerRequest", - "Issue", - "IssueStatus", - "IssueStatusEnum", - "IssuesListRequestStatus", - "LanguageEnum", - "LastSyncResultEnum", - "LinkToken", - "LinkedAccountsListRequestCategory", - "MethodEnum", - "ModelOperation", - "ModelPermissionDeserializer", - "ModelPermissionDeserializerRequest", - "MultipartFormFieldRequest", - "MultipartFormFieldRequestEncoding", - "PaginatedAccountDetailsAndActionsList", - "PaginatedArticleList", - "PaginatedAttachmentList", - "PaginatedAuditLogEventList", - "PaginatedContainerList", - "PaginatedGroupList", - "PaginatedIssueList", - "PaginatedSyncStatusList", - "PaginatedUserList", - "Permission", - "PermissionGroup", - "PermissionType", - "PermissionTypeEnum", - "PermissionUser", - "RemoteData", - "RemoteEndpointInfo", - "RemoteFieldApi", - "RemoteFieldApiAdvancedMetadata", - "RemoteFieldApiCoverage", - "RemoteFieldApiResponse", - "RemoteKey", - "RemoteResponse", - "RemoteResponseResponseType", - "RequestFormatEnum", - "ResponseTypeEnum", - "RoleEnum", - "RolesEnum", - "SelectiveSyncConfigurationsUsageEnum", - "Status3C6Enum", - "StatusFd5Enum", - "SyncStatus", - "SyncStatusLastSyncResult", - "SyncStatusStatus", - "User", - "ValidationProblemSource", - "VisibilityEnum", - "WarningValidationProblem", - "WebhookReceiver", - "account_details", - "account_token", - "articles", - "async_passthrough", - "attachments", - "audit_trail", - "available_actions", - "containers", - "delete_account", - "field_mapping", - "force_resync", - "generate_key", - "groups", - "issues", - "link_token", - "linked_accounts", - "passthrough", - "regenerate_key", - "scopes", - "sync_status", - "users", - "webhook_receivers", -] diff --git a/src/merge/resources/knowledgebase/client.py b/src/merge/resources/knowledgebase/client.py deleted file mode 100644 index 7b2ce565..00000000 --- a/src/merge/resources/knowledgebase/client.py +++ /dev/null @@ -1,480 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -from __future__ import annotations - -import typing - -from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .raw_client import AsyncRawKnowledgebaseClient, RawKnowledgebaseClient - -if typing.TYPE_CHECKING: - from .resources.account_details.client import AccountDetailsClient, AsyncAccountDetailsClient - from .resources.account_token.client import AccountTokenClient, AsyncAccountTokenClient - from .resources.articles.client import ArticlesClient, AsyncArticlesClient - from .resources.async_passthrough.client import AsyncAsyncPassthroughClient - from .resources.async_passthrough.client import ( - AsyncPassthroughClient as resources_knowledgebase_resources_async_passthrough_client_AsyncPassthroughClient, - ) - from .resources.attachments.client import AsyncAttachmentsClient, AttachmentsClient - from .resources.audit_trail.client import AsyncAuditTrailClient, AuditTrailClient - from .resources.available_actions.client import AsyncAvailableActionsClient, AvailableActionsClient - from .resources.containers.client import AsyncContainersClient, ContainersClient - from .resources.delete_account.client import AsyncDeleteAccountClient, DeleteAccountClient - from .resources.field_mapping.client import AsyncFieldMappingClient, FieldMappingClient - from .resources.force_resync.client import AsyncForceResyncClient, ForceResyncClient - from .resources.generate_key.client import AsyncGenerateKeyClient, GenerateKeyClient - from .resources.groups.client import AsyncGroupsClient, GroupsClient - from .resources.issues.client import AsyncIssuesClient, IssuesClient - from .resources.link_token.client import AsyncLinkTokenClient, LinkTokenClient - from .resources.linked_accounts.client import AsyncLinkedAccountsClient, LinkedAccountsClient - from .resources.passthrough.client import ( - AsyncPassthroughClient as resources_knowledgebase_resources_passthrough_client_AsyncPassthroughClient, - ) - from .resources.passthrough.client import PassthroughClient - from .resources.regenerate_key.client import AsyncRegenerateKeyClient, RegenerateKeyClient - from .resources.scopes.client import AsyncScopesClient, ScopesClient - from .resources.sync_status.client import AsyncSyncStatusClient, SyncStatusClient - from .resources.users.client import AsyncUsersClient, UsersClient - from .resources.webhook_receivers.client import AsyncWebhookReceiversClient, WebhookReceiversClient - - -class KnowledgebaseClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawKnowledgebaseClient(client_wrapper=client_wrapper) - self._client_wrapper = client_wrapper - self._account_details: typing.Optional[AccountDetailsClient] = None - self._account_token: typing.Optional[AccountTokenClient] = None - self._articles: typing.Optional[ArticlesClient] = None - self._async_passthrough: typing.Optional[ - resources_knowledgebase_resources_async_passthrough_client_AsyncPassthroughClient - ] = None - self._attachments: typing.Optional[AttachmentsClient] = None - self._audit_trail: typing.Optional[AuditTrailClient] = None - self._available_actions: typing.Optional[AvailableActionsClient] = None - self._containers: typing.Optional[ContainersClient] = None - self._scopes: typing.Optional[ScopesClient] = None - self._delete_account: typing.Optional[DeleteAccountClient] = None - self._field_mapping: typing.Optional[FieldMappingClient] = None - self._generate_key: typing.Optional[GenerateKeyClient] = None - self._groups: typing.Optional[GroupsClient] = None - self._issues: typing.Optional[IssuesClient] = None - self._link_token: typing.Optional[LinkTokenClient] = None - self._linked_accounts: typing.Optional[LinkedAccountsClient] = None - self._passthrough: typing.Optional[PassthroughClient] = None - self._regenerate_key: typing.Optional[RegenerateKeyClient] = None - self._sync_status: typing.Optional[SyncStatusClient] = None - self._force_resync: typing.Optional[ForceResyncClient] = None - self._users: typing.Optional[UsersClient] = None - self._webhook_receivers: typing.Optional[WebhookReceiversClient] = None - - @property - def with_raw_response(self) -> RawKnowledgebaseClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawKnowledgebaseClient - """ - return self._raw_client - - @property - def account_details(self): - if self._account_details is None: - from .resources.account_details.client import AccountDetailsClient # noqa: E402 - - self._account_details = AccountDetailsClient(client_wrapper=self._client_wrapper) - return self._account_details - - @property - def account_token(self): - if self._account_token is None: - from .resources.account_token.client import AccountTokenClient # noqa: E402 - - self._account_token = AccountTokenClient(client_wrapper=self._client_wrapper) - return self._account_token - - @property - def articles(self): - if self._articles is None: - from .resources.articles.client import ArticlesClient # noqa: E402 - - self._articles = ArticlesClient(client_wrapper=self._client_wrapper) - return self._articles - - @property - def async_passthrough(self): - if self._async_passthrough is None: - from .resources.async_passthrough.client import ( - AsyncPassthroughClient as resources_knowledgebase_resources_async_passthrough_client_AsyncPassthroughClient, # noqa: E402 - ) - - self._async_passthrough = resources_knowledgebase_resources_async_passthrough_client_AsyncPassthroughClient( - client_wrapper=self._client_wrapper - ) - return self._async_passthrough - - @property - def attachments(self): - if self._attachments is None: - from .resources.attachments.client import AttachmentsClient # noqa: E402 - - self._attachments = AttachmentsClient(client_wrapper=self._client_wrapper) - return self._attachments - - @property - def audit_trail(self): - if self._audit_trail is None: - from .resources.audit_trail.client import AuditTrailClient # noqa: E402 - - self._audit_trail = AuditTrailClient(client_wrapper=self._client_wrapper) - return self._audit_trail - - @property - def available_actions(self): - if self._available_actions is None: - from .resources.available_actions.client import AvailableActionsClient # noqa: E402 - - self._available_actions = AvailableActionsClient(client_wrapper=self._client_wrapper) - return self._available_actions - - @property - def containers(self): - if self._containers is None: - from .resources.containers.client import ContainersClient # noqa: E402 - - self._containers = ContainersClient(client_wrapper=self._client_wrapper) - return self._containers - - @property - def scopes(self): - if self._scopes is None: - from .resources.scopes.client import ScopesClient # noqa: E402 - - self._scopes = ScopesClient(client_wrapper=self._client_wrapper) - return self._scopes - - @property - def delete_account(self): - if self._delete_account is None: - from .resources.delete_account.client import DeleteAccountClient # noqa: E402 - - self._delete_account = DeleteAccountClient(client_wrapper=self._client_wrapper) - return self._delete_account - - @property - def field_mapping(self): - if self._field_mapping is None: - from .resources.field_mapping.client import FieldMappingClient # noqa: E402 - - self._field_mapping = FieldMappingClient(client_wrapper=self._client_wrapper) - return self._field_mapping - - @property - def generate_key(self): - if self._generate_key is None: - from .resources.generate_key.client import GenerateKeyClient # noqa: E402 - - self._generate_key = GenerateKeyClient(client_wrapper=self._client_wrapper) - return self._generate_key - - @property - def groups(self): - if self._groups is None: - from .resources.groups.client import GroupsClient # noqa: E402 - - self._groups = GroupsClient(client_wrapper=self._client_wrapper) - return self._groups - - @property - def issues(self): - if self._issues is None: - from .resources.issues.client import IssuesClient # noqa: E402 - - self._issues = IssuesClient(client_wrapper=self._client_wrapper) - return self._issues - - @property - def link_token(self): - if self._link_token is None: - from .resources.link_token.client import LinkTokenClient # noqa: E402 - - self._link_token = LinkTokenClient(client_wrapper=self._client_wrapper) - return self._link_token - - @property - def linked_accounts(self): - if self._linked_accounts is None: - from .resources.linked_accounts.client import LinkedAccountsClient # noqa: E402 - - self._linked_accounts = LinkedAccountsClient(client_wrapper=self._client_wrapper) - return self._linked_accounts - - @property - def passthrough(self): - if self._passthrough is None: - from .resources.passthrough.client import PassthroughClient # noqa: E402 - - self._passthrough = PassthroughClient(client_wrapper=self._client_wrapper) - return self._passthrough - - @property - def regenerate_key(self): - if self._regenerate_key is None: - from .resources.regenerate_key.client import RegenerateKeyClient # noqa: E402 - - self._regenerate_key = RegenerateKeyClient(client_wrapper=self._client_wrapper) - return self._regenerate_key - - @property - def sync_status(self): - if self._sync_status is None: - from .resources.sync_status.client import SyncStatusClient # noqa: E402 - - self._sync_status = SyncStatusClient(client_wrapper=self._client_wrapper) - return self._sync_status - - @property - def force_resync(self): - if self._force_resync is None: - from .resources.force_resync.client import ForceResyncClient # noqa: E402 - - self._force_resync = ForceResyncClient(client_wrapper=self._client_wrapper) - return self._force_resync - - @property - def users(self): - if self._users is None: - from .resources.users.client import UsersClient # noqa: E402 - - self._users = UsersClient(client_wrapper=self._client_wrapper) - return self._users - - @property - def webhook_receivers(self): - if self._webhook_receivers is None: - from .resources.webhook_receivers.client import WebhookReceiversClient # noqa: E402 - - self._webhook_receivers = WebhookReceiversClient(client_wrapper=self._client_wrapper) - return self._webhook_receivers - - -class AsyncKnowledgebaseClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawKnowledgebaseClient(client_wrapper=client_wrapper) - self._client_wrapper = client_wrapper - self._account_details: typing.Optional[AsyncAccountDetailsClient] = None - self._account_token: typing.Optional[AsyncAccountTokenClient] = None - self._articles: typing.Optional[AsyncArticlesClient] = None - self._async_passthrough: typing.Optional[AsyncAsyncPassthroughClient] = None - self._attachments: typing.Optional[AsyncAttachmentsClient] = None - self._audit_trail: typing.Optional[AsyncAuditTrailClient] = None - self._available_actions: typing.Optional[AsyncAvailableActionsClient] = None - self._containers: typing.Optional[AsyncContainersClient] = None - self._scopes: typing.Optional[AsyncScopesClient] = None - self._delete_account: typing.Optional[AsyncDeleteAccountClient] = None - self._field_mapping: typing.Optional[AsyncFieldMappingClient] = None - self._generate_key: typing.Optional[AsyncGenerateKeyClient] = None - self._groups: typing.Optional[AsyncGroupsClient] = None - self._issues: typing.Optional[AsyncIssuesClient] = None - self._link_token: typing.Optional[AsyncLinkTokenClient] = None - self._linked_accounts: typing.Optional[AsyncLinkedAccountsClient] = None - self._passthrough: typing.Optional[ - resources_knowledgebase_resources_passthrough_client_AsyncPassthroughClient - ] = None - self._regenerate_key: typing.Optional[AsyncRegenerateKeyClient] = None - self._sync_status: typing.Optional[AsyncSyncStatusClient] = None - self._force_resync: typing.Optional[AsyncForceResyncClient] = None - self._users: typing.Optional[AsyncUsersClient] = None - self._webhook_receivers: typing.Optional[AsyncWebhookReceiversClient] = None - - @property - def with_raw_response(self) -> AsyncRawKnowledgebaseClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawKnowledgebaseClient - """ - return self._raw_client - - @property - def account_details(self): - if self._account_details is None: - from .resources.account_details.client import AsyncAccountDetailsClient # noqa: E402 - - self._account_details = AsyncAccountDetailsClient(client_wrapper=self._client_wrapper) - return self._account_details - - @property - def account_token(self): - if self._account_token is None: - from .resources.account_token.client import AsyncAccountTokenClient # noqa: E402 - - self._account_token = AsyncAccountTokenClient(client_wrapper=self._client_wrapper) - return self._account_token - - @property - def articles(self): - if self._articles is None: - from .resources.articles.client import AsyncArticlesClient # noqa: E402 - - self._articles = AsyncArticlesClient(client_wrapper=self._client_wrapper) - return self._articles - - @property - def async_passthrough(self): - if self._async_passthrough is None: - from .resources.async_passthrough.client import AsyncAsyncPassthroughClient # noqa: E402 - - self._async_passthrough = AsyncAsyncPassthroughClient(client_wrapper=self._client_wrapper) - return self._async_passthrough - - @property - def attachments(self): - if self._attachments is None: - from .resources.attachments.client import AsyncAttachmentsClient # noqa: E402 - - self._attachments = AsyncAttachmentsClient(client_wrapper=self._client_wrapper) - return self._attachments - - @property - def audit_trail(self): - if self._audit_trail is None: - from .resources.audit_trail.client import AsyncAuditTrailClient # noqa: E402 - - self._audit_trail = AsyncAuditTrailClient(client_wrapper=self._client_wrapper) - return self._audit_trail - - @property - def available_actions(self): - if self._available_actions is None: - from .resources.available_actions.client import AsyncAvailableActionsClient # noqa: E402 - - self._available_actions = AsyncAvailableActionsClient(client_wrapper=self._client_wrapper) - return self._available_actions - - @property - def containers(self): - if self._containers is None: - from .resources.containers.client import AsyncContainersClient # noqa: E402 - - self._containers = AsyncContainersClient(client_wrapper=self._client_wrapper) - return self._containers - - @property - def scopes(self): - if self._scopes is None: - from .resources.scopes.client import AsyncScopesClient # noqa: E402 - - self._scopes = AsyncScopesClient(client_wrapper=self._client_wrapper) - return self._scopes - - @property - def delete_account(self): - if self._delete_account is None: - from .resources.delete_account.client import AsyncDeleteAccountClient # noqa: E402 - - self._delete_account = AsyncDeleteAccountClient(client_wrapper=self._client_wrapper) - return self._delete_account - - @property - def field_mapping(self): - if self._field_mapping is None: - from .resources.field_mapping.client import AsyncFieldMappingClient # noqa: E402 - - self._field_mapping = AsyncFieldMappingClient(client_wrapper=self._client_wrapper) - return self._field_mapping - - @property - def generate_key(self): - if self._generate_key is None: - from .resources.generate_key.client import AsyncGenerateKeyClient # noqa: E402 - - self._generate_key = AsyncGenerateKeyClient(client_wrapper=self._client_wrapper) - return self._generate_key - - @property - def groups(self): - if self._groups is None: - from .resources.groups.client import AsyncGroupsClient # noqa: E402 - - self._groups = AsyncGroupsClient(client_wrapper=self._client_wrapper) - return self._groups - - @property - def issues(self): - if self._issues is None: - from .resources.issues.client import AsyncIssuesClient # noqa: E402 - - self._issues = AsyncIssuesClient(client_wrapper=self._client_wrapper) - return self._issues - - @property - def link_token(self): - if self._link_token is None: - from .resources.link_token.client import AsyncLinkTokenClient # noqa: E402 - - self._link_token = AsyncLinkTokenClient(client_wrapper=self._client_wrapper) - return self._link_token - - @property - def linked_accounts(self): - if self._linked_accounts is None: - from .resources.linked_accounts.client import AsyncLinkedAccountsClient # noqa: E402 - - self._linked_accounts = AsyncLinkedAccountsClient(client_wrapper=self._client_wrapper) - return self._linked_accounts - - @property - def passthrough(self): - if self._passthrough is None: - from .resources.passthrough.client import ( - AsyncPassthroughClient as resources_knowledgebase_resources_passthrough_client_AsyncPassthroughClient, # noqa: E402 - ) - - self._passthrough = resources_knowledgebase_resources_passthrough_client_AsyncPassthroughClient( - client_wrapper=self._client_wrapper - ) - return self._passthrough - - @property - def regenerate_key(self): - if self._regenerate_key is None: - from .resources.regenerate_key.client import AsyncRegenerateKeyClient # noqa: E402 - - self._regenerate_key = AsyncRegenerateKeyClient(client_wrapper=self._client_wrapper) - return self._regenerate_key - - @property - def sync_status(self): - if self._sync_status is None: - from .resources.sync_status.client import AsyncSyncStatusClient # noqa: E402 - - self._sync_status = AsyncSyncStatusClient(client_wrapper=self._client_wrapper) - return self._sync_status - - @property - def force_resync(self): - if self._force_resync is None: - from .resources.force_resync.client import AsyncForceResyncClient # noqa: E402 - - self._force_resync = AsyncForceResyncClient(client_wrapper=self._client_wrapper) - return self._force_resync - - @property - def users(self): - if self._users is None: - from .resources.users.client import AsyncUsersClient # noqa: E402 - - self._users = AsyncUsersClient(client_wrapper=self._client_wrapper) - return self._users - - @property - def webhook_receivers(self): - if self._webhook_receivers is None: - from .resources.webhook_receivers.client import AsyncWebhookReceiversClient # noqa: E402 - - self._webhook_receivers = AsyncWebhookReceiversClient(client_wrapper=self._client_wrapper) - return self._webhook_receivers diff --git a/src/merge/resources/knowledgebase/raw_client.py b/src/merge/resources/knowledgebase/raw_client.py deleted file mode 100644 index 482f5fd8..00000000 --- a/src/merge/resources/knowledgebase/raw_client.py +++ /dev/null @@ -1,13 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper - - -class RawKnowledgebaseClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - -class AsyncRawKnowledgebaseClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper diff --git a/src/merge/resources/knowledgebase/resources/__init__.py b/src/merge/resources/knowledgebase/resources/__init__.py deleted file mode 100644 index ba4fd94a..00000000 --- a/src/merge/resources/knowledgebase/resources/__init__.py +++ /dev/null @@ -1,134 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - -import typing -from importlib import import_module - -if typing.TYPE_CHECKING: - from . import ( - account_details, - account_token, - articles, - async_passthrough, - attachments, - audit_trail, - available_actions, - containers, - delete_account, - field_mapping, - force_resync, - generate_key, - groups, - issues, - link_token, - linked_accounts, - passthrough, - regenerate_key, - scopes, - sync_status, - users, - webhook_receivers, - ) - from .articles import ArticlesListRequestExpand, ArticlesListRequestType, ArticlesRetrieveRequestExpand - from .async_passthrough import AsyncPassthroughRetrieveResponse - from .containers import ContainersListRequestExpand, ContainersListRequestType, ContainersRetrieveRequestExpand - from .groups import GroupsListRequestExpand, GroupsRetrieveRequestExpand - from .issues import IssuesListRequestStatus - from .link_token import EndUserDetailsRequestCompletedAccountInitialScreen, EndUserDetailsRequestLanguage - from .linked_accounts import LinkedAccountsListRequestCategory -_dynamic_imports: typing.Dict[str, str] = { - "ArticlesListRequestExpand": ".articles", - "ArticlesListRequestType": ".articles", - "ArticlesRetrieveRequestExpand": ".articles", - "AsyncPassthroughRetrieveResponse": ".async_passthrough", - "ContainersListRequestExpand": ".containers", - "ContainersListRequestType": ".containers", - "ContainersRetrieveRequestExpand": ".containers", - "EndUserDetailsRequestCompletedAccountInitialScreen": ".link_token", - "EndUserDetailsRequestLanguage": ".link_token", - "GroupsListRequestExpand": ".groups", - "GroupsRetrieveRequestExpand": ".groups", - "IssuesListRequestStatus": ".issues", - "LinkedAccountsListRequestCategory": ".linked_accounts", - "account_details": ".", - "account_token": ".", - "articles": ".", - "async_passthrough": ".", - "attachments": ".", - "audit_trail": ".", - "available_actions": ".", - "containers": ".", - "delete_account": ".", - "field_mapping": ".", - "force_resync": ".", - "generate_key": ".", - "groups": ".", - "issues": ".", - "link_token": ".", - "linked_accounts": ".", - "passthrough": ".", - "regenerate_key": ".", - "scopes": ".", - "sync_status": ".", - "users": ".", - "webhook_receivers": ".", -} - - -def __getattr__(attr_name: str) -> typing.Any: - module_name = _dynamic_imports.get(attr_name) - if module_name is None: - raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") - try: - module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result - except ImportError as e: - raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e - except AttributeError as e: - raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e - - -def __dir__(): - lazy_attrs = list(_dynamic_imports.keys()) - return sorted(lazy_attrs) - - -__all__ = [ - "ArticlesListRequestExpand", - "ArticlesListRequestType", - "ArticlesRetrieveRequestExpand", - "AsyncPassthroughRetrieveResponse", - "ContainersListRequestExpand", - "ContainersListRequestType", - "ContainersRetrieveRequestExpand", - "EndUserDetailsRequestCompletedAccountInitialScreen", - "EndUserDetailsRequestLanguage", - "GroupsListRequestExpand", - "GroupsRetrieveRequestExpand", - "IssuesListRequestStatus", - "LinkedAccountsListRequestCategory", - "account_details", - "account_token", - "articles", - "async_passthrough", - "attachments", - "audit_trail", - "available_actions", - "containers", - "delete_account", - "field_mapping", - "force_resync", - "generate_key", - "groups", - "issues", - "link_token", - "linked_accounts", - "passthrough", - "regenerate_key", - "scopes", - "sync_status", - "users", - "webhook_receivers", -] diff --git a/src/merge/resources/knowledgebase/resources/account_details/__init__.py b/src/merge/resources/knowledgebase/resources/account_details/__init__.py deleted file mode 100644 index 5cde0202..00000000 --- a/src/merge/resources/knowledgebase/resources/account_details/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - diff --git a/src/merge/resources/knowledgebase/resources/account_details/client.py b/src/merge/resources/knowledgebase/resources/account_details/client.py deleted file mode 100644 index 94d11855..00000000 --- a/src/merge/resources/knowledgebase/resources/account_details/client.py +++ /dev/null @@ -1,102 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.account_details import AccountDetails -from .raw_client import AsyncRawAccountDetailsClient, RawAccountDetailsClient - - -class AccountDetailsClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawAccountDetailsClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawAccountDetailsClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawAccountDetailsClient - """ - return self._raw_client - - def retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> AccountDetails: - """ - Get details for a linked account. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AccountDetails - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.knowledgebase.account_details.retrieve() - """ - _response = self._raw_client.retrieve(request_options=request_options) - return _response.data - - -class AsyncAccountDetailsClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawAccountDetailsClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawAccountDetailsClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawAccountDetailsClient - """ - return self._raw_client - - async def retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> AccountDetails: - """ - Get details for a linked account. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AccountDetails - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.knowledgebase.account_details.retrieve() - - - asyncio.run(main()) - """ - _response = await self._raw_client.retrieve(request_options=request_options) - return _response.data diff --git a/src/merge/resources/knowledgebase/resources/account_details/raw_client.py b/src/merge/resources/knowledgebase/resources/account_details/raw_client.py deleted file mode 100644 index 836e029d..00000000 --- a/src/merge/resources/knowledgebase/resources/account_details/raw_client.py +++ /dev/null @@ -1,91 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.account_details import AccountDetails - - -class RawAccountDetailsClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> HttpResponse[AccountDetails]: - """ - Get details for a linked account. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[AccountDetails] - - """ - _response = self._client_wrapper.httpx_client.request( - "knowledgebase/v1/account-details", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - AccountDetails, - construct_type( - type_=AccountDetails, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawAccountDetailsClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def retrieve( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncHttpResponse[AccountDetails]: - """ - Get details for a linked account. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[AccountDetails] - - """ - _response = await self._client_wrapper.httpx_client.request( - "knowledgebase/v1/account-details", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - AccountDetails, - construct_type( - type_=AccountDetails, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/knowledgebase/resources/account_token/__init__.py b/src/merge/resources/knowledgebase/resources/account_token/__init__.py deleted file mode 100644 index 5cde0202..00000000 --- a/src/merge/resources/knowledgebase/resources/account_token/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - diff --git a/src/merge/resources/knowledgebase/resources/account_token/client.py b/src/merge/resources/knowledgebase/resources/account_token/client.py deleted file mode 100644 index 60aa41d9..00000000 --- a/src/merge/resources/knowledgebase/resources/account_token/client.py +++ /dev/null @@ -1,112 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.account_token import AccountToken -from .raw_client import AsyncRawAccountTokenClient, RawAccountTokenClient - - -class AccountTokenClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawAccountTokenClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawAccountTokenClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawAccountTokenClient - """ - return self._raw_client - - def retrieve(self, public_token: str, *, request_options: typing.Optional[RequestOptions] = None) -> AccountToken: - """ - Returns the account token for the end user with the provided public token. - - Parameters - ---------- - public_token : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AccountToken - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.knowledgebase.account_token.retrieve( - public_token="public_token", - ) - """ - _response = self._raw_client.retrieve(public_token, request_options=request_options) - return _response.data - - -class AsyncAccountTokenClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawAccountTokenClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawAccountTokenClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawAccountTokenClient - """ - return self._raw_client - - async def retrieve( - self, public_token: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> AccountToken: - """ - Returns the account token for the end user with the provided public token. - - Parameters - ---------- - public_token : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AccountToken - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.knowledgebase.account_token.retrieve( - public_token="public_token", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.retrieve(public_token, request_options=request_options) - return _response.data diff --git a/src/merge/resources/knowledgebase/resources/account_token/raw_client.py b/src/merge/resources/knowledgebase/resources/account_token/raw_client.py deleted file mode 100644 index 7ae9b614..00000000 --- a/src/merge/resources/knowledgebase/resources/account_token/raw_client.py +++ /dev/null @@ -1,98 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.jsonable_encoder import jsonable_encoder -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.account_token import AccountToken - - -class RawAccountTokenClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def retrieve( - self, public_token: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> HttpResponse[AccountToken]: - """ - Returns the account token for the end user with the provided public token. - - Parameters - ---------- - public_token : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[AccountToken] - - """ - _response = self._client_wrapper.httpx_client.request( - f"knowledgebase/v1/account-token/{jsonable_encoder(public_token)}", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - AccountToken, - construct_type( - type_=AccountToken, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawAccountTokenClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def retrieve( - self, public_token: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncHttpResponse[AccountToken]: - """ - Returns the account token for the end user with the provided public token. - - Parameters - ---------- - public_token : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[AccountToken] - - """ - _response = await self._client_wrapper.httpx_client.request( - f"knowledgebase/v1/account-token/{jsonable_encoder(public_token)}", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - AccountToken, - construct_type( - type_=AccountToken, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/knowledgebase/resources/articles/__init__.py b/src/merge/resources/knowledgebase/resources/articles/__init__.py deleted file mode 100644 index 007aef5a..00000000 --- a/src/merge/resources/knowledgebase/resources/articles/__init__.py +++ /dev/null @@ -1,36 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - -import typing -from importlib import import_module - -if typing.TYPE_CHECKING: - from .types import ArticlesListRequestExpand, ArticlesListRequestType, ArticlesRetrieveRequestExpand -_dynamic_imports: typing.Dict[str, str] = { - "ArticlesListRequestExpand": ".types", - "ArticlesListRequestType": ".types", - "ArticlesRetrieveRequestExpand": ".types", -} - - -def __getattr__(attr_name: str) -> typing.Any: - module_name = _dynamic_imports.get(attr_name) - if module_name is None: - raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") - try: - module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result - except ImportError as e: - raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e - except AttributeError as e: - raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e - - -def __dir__(): - lazy_attrs = list(_dynamic_imports.keys()) - return sorted(lazy_attrs) - - -__all__ = ["ArticlesListRequestExpand", "ArticlesListRequestType", "ArticlesRetrieveRequestExpand"] diff --git a/src/merge/resources/knowledgebase/resources/articles/client.py b/src/merge/resources/knowledgebase/resources/articles/client.py deleted file mode 100644 index e507768b..00000000 --- a/src/merge/resources/knowledgebase/resources/articles/client.py +++ /dev/null @@ -1,468 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.article import Article -from ...types.paginated_article_list import PaginatedArticleList -from .raw_client import AsyncRawArticlesClient, RawArticlesClient -from .types.articles_list_request_expand import ArticlesListRequestExpand -from .types.articles_list_request_type import ArticlesListRequestType -from .types.articles_retrieve_request_expand import ArticlesRetrieveRequestExpand - - -class ArticlesClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawArticlesClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawArticlesClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawArticlesClient - """ - return self._raw_client - - def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - expand: typing.Optional[ArticlesListRequestExpand] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - parent_article_id: typing.Optional[str] = None, - parent_container_id: typing.Optional[str] = None, - remote_id: typing.Optional[str] = None, - root_container_id: typing.Optional[str] = None, - status: typing.Optional[str] = None, - type: typing.Optional[ArticlesListRequestType] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedArticleList: - """ - Returns a list of `Article` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - expand : typing.Optional[ArticlesListRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - parent_article_id : typing.Optional[str] - If provided, will only return sub articles of the parent_article_id. - - parent_container_id : typing.Optional[str] - If provided, will only return sub articles of the parent_container_id. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - root_container_id : typing.Optional[str] - If provided, will only return sub articles of the root_container_id. - - status : typing.Optional[str] - If provided, will only return articles of the given status; multiple statuses can be separated by commas. - - type : typing.Optional[ArticlesListRequestType] - If provided, will only return articles of the given type. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedArticleList - - - Examples - -------- - import datetime - - from merge import Merge - from merge.resources.knowledgebase.resources.articles import ( - ArticlesListRequestExpand, - ArticlesListRequestType, - ) - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.knowledgebase.articles.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=ArticlesListRequestExpand.ATTACHMENTS, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - parent_article_id="parent_article_id", - parent_container_id="parent_container_id", - remote_id="remote_id", - root_container_id="root_container_id", - status="status", - type=ArticlesListRequestType.EMPTY, - ) - """ - _response = self._raw_client.list( - created_after=created_after, - created_before=created_before, - cursor=cursor, - expand=expand, - include_deleted_data=include_deleted_data, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - modified_after=modified_after, - modified_before=modified_before, - page_size=page_size, - parent_article_id=parent_article_id, - parent_container_id=parent_container_id, - remote_id=remote_id, - root_container_id=root_container_id, - status=status, - type=type, - request_options=request_options, - ) - return _response.data - - def retrieve( - self, - id: str, - *, - expand: typing.Optional[ArticlesRetrieveRequestExpand] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> Article: - """ - Returns an `Article` object with the given `id`. - - Parameters - ---------- - id : str - - expand : typing.Optional[ArticlesRetrieveRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - Article - - - Examples - -------- - from merge import Merge - from merge.resources.knowledgebase.resources.articles import ( - ArticlesRetrieveRequestExpand, - ) - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.knowledgebase.articles.retrieve( - id="id", - expand=ArticlesRetrieveRequestExpand.ATTACHMENTS, - include_remote_data=True, - include_shell_data=True, - ) - """ - _response = self._raw_client.retrieve( - id, - expand=expand, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - request_options=request_options, - ) - return _response.data - - -class AsyncArticlesClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawArticlesClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawArticlesClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawArticlesClient - """ - return self._raw_client - - async def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - expand: typing.Optional[ArticlesListRequestExpand] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - parent_article_id: typing.Optional[str] = None, - parent_container_id: typing.Optional[str] = None, - remote_id: typing.Optional[str] = None, - root_container_id: typing.Optional[str] = None, - status: typing.Optional[str] = None, - type: typing.Optional[ArticlesListRequestType] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedArticleList: - """ - Returns a list of `Article` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - expand : typing.Optional[ArticlesListRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - parent_article_id : typing.Optional[str] - If provided, will only return sub articles of the parent_article_id. - - parent_container_id : typing.Optional[str] - If provided, will only return sub articles of the parent_container_id. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - root_container_id : typing.Optional[str] - If provided, will only return sub articles of the root_container_id. - - status : typing.Optional[str] - If provided, will only return articles of the given status; multiple statuses can be separated by commas. - - type : typing.Optional[ArticlesListRequestType] - If provided, will only return articles of the given type. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedArticleList - - - Examples - -------- - import asyncio - import datetime - - from merge import AsyncMerge - from merge.resources.knowledgebase.resources.articles import ( - ArticlesListRequestExpand, - ArticlesListRequestType, - ) - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.knowledgebase.articles.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=ArticlesListRequestExpand.ATTACHMENTS, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - parent_article_id="parent_article_id", - parent_container_id="parent_container_id", - remote_id="remote_id", - root_container_id="root_container_id", - status="status", - type=ArticlesListRequestType.EMPTY, - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.list( - created_after=created_after, - created_before=created_before, - cursor=cursor, - expand=expand, - include_deleted_data=include_deleted_data, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - modified_after=modified_after, - modified_before=modified_before, - page_size=page_size, - parent_article_id=parent_article_id, - parent_container_id=parent_container_id, - remote_id=remote_id, - root_container_id=root_container_id, - status=status, - type=type, - request_options=request_options, - ) - return _response.data - - async def retrieve( - self, - id: str, - *, - expand: typing.Optional[ArticlesRetrieveRequestExpand] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> Article: - """ - Returns an `Article` object with the given `id`. - - Parameters - ---------- - id : str - - expand : typing.Optional[ArticlesRetrieveRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - Article - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - from merge.resources.knowledgebase.resources.articles import ( - ArticlesRetrieveRequestExpand, - ) - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.knowledgebase.articles.retrieve( - id="id", - expand=ArticlesRetrieveRequestExpand.ATTACHMENTS, - include_remote_data=True, - include_shell_data=True, - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.retrieve( - id, - expand=expand, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - request_options=request_options, - ) - return _response.data diff --git a/src/merge/resources/knowledgebase/resources/articles/raw_client.py b/src/merge/resources/knowledgebase/resources/articles/raw_client.py deleted file mode 100644 index 0c3b85c8..00000000 --- a/src/merge/resources/knowledgebase/resources/articles/raw_client.py +++ /dev/null @@ -1,384 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.datetime_utils import serialize_datetime -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.jsonable_encoder import jsonable_encoder -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.article import Article -from ...types.paginated_article_list import PaginatedArticleList -from .types.articles_list_request_expand import ArticlesListRequestExpand -from .types.articles_list_request_type import ArticlesListRequestType -from .types.articles_retrieve_request_expand import ArticlesRetrieveRequestExpand - - -class RawArticlesClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - expand: typing.Optional[ArticlesListRequestExpand] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - parent_article_id: typing.Optional[str] = None, - parent_container_id: typing.Optional[str] = None, - remote_id: typing.Optional[str] = None, - root_container_id: typing.Optional[str] = None, - status: typing.Optional[str] = None, - type: typing.Optional[ArticlesListRequestType] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedArticleList]: - """ - Returns a list of `Article` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - expand : typing.Optional[ArticlesListRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - parent_article_id : typing.Optional[str] - If provided, will only return sub articles of the parent_article_id. - - parent_container_id : typing.Optional[str] - If provided, will only return sub articles of the parent_container_id. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - root_container_id : typing.Optional[str] - If provided, will only return sub articles of the root_container_id. - - status : typing.Optional[str] - If provided, will only return articles of the given status; multiple statuses can be separated by commas. - - type : typing.Optional[ArticlesListRequestType] - If provided, will only return articles of the given type. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[PaginatedArticleList] - - """ - _response = self._client_wrapper.httpx_client.request( - "knowledgebase/v1/articles", - method="GET", - params={ - "created_after": serialize_datetime(created_after) if created_after is not None else None, - "created_before": serialize_datetime(created_before) if created_before is not None else None, - "cursor": cursor, - "expand": expand, - "include_deleted_data": include_deleted_data, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - "modified_after": serialize_datetime(modified_after) if modified_after is not None else None, - "modified_before": serialize_datetime(modified_before) if modified_before is not None else None, - "page_size": page_size, - "parent_article_id": parent_article_id, - "parent_container_id": parent_container_id, - "remote_id": remote_id, - "root_container_id": root_container_id, - "status": status, - "type": type, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedArticleList, - construct_type( - type_=PaginatedArticleList, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def retrieve( - self, - id: str, - *, - expand: typing.Optional[ArticlesRetrieveRequestExpand] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[Article]: - """ - Returns an `Article` object with the given `id`. - - Parameters - ---------- - id : str - - expand : typing.Optional[ArticlesRetrieveRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[Article] - - """ - _response = self._client_wrapper.httpx_client.request( - f"knowledgebase/v1/articles/{jsonable_encoder(id)}", - method="GET", - params={ - "expand": expand, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - Article, - construct_type( - type_=Article, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawArticlesClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - expand: typing.Optional[ArticlesListRequestExpand] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - parent_article_id: typing.Optional[str] = None, - parent_container_id: typing.Optional[str] = None, - remote_id: typing.Optional[str] = None, - root_container_id: typing.Optional[str] = None, - status: typing.Optional[str] = None, - type: typing.Optional[ArticlesListRequestType] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedArticleList]: - """ - Returns a list of `Article` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - expand : typing.Optional[ArticlesListRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - parent_article_id : typing.Optional[str] - If provided, will only return sub articles of the parent_article_id. - - parent_container_id : typing.Optional[str] - If provided, will only return sub articles of the parent_container_id. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - root_container_id : typing.Optional[str] - If provided, will only return sub articles of the root_container_id. - - status : typing.Optional[str] - If provided, will only return articles of the given status; multiple statuses can be separated by commas. - - type : typing.Optional[ArticlesListRequestType] - If provided, will only return articles of the given type. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[PaginatedArticleList] - - """ - _response = await self._client_wrapper.httpx_client.request( - "knowledgebase/v1/articles", - method="GET", - params={ - "created_after": serialize_datetime(created_after) if created_after is not None else None, - "created_before": serialize_datetime(created_before) if created_before is not None else None, - "cursor": cursor, - "expand": expand, - "include_deleted_data": include_deleted_data, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - "modified_after": serialize_datetime(modified_after) if modified_after is not None else None, - "modified_before": serialize_datetime(modified_before) if modified_before is not None else None, - "page_size": page_size, - "parent_article_id": parent_article_id, - "parent_container_id": parent_container_id, - "remote_id": remote_id, - "root_container_id": root_container_id, - "status": status, - "type": type, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedArticleList, - construct_type( - type_=PaginatedArticleList, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def retrieve( - self, - id: str, - *, - expand: typing.Optional[ArticlesRetrieveRequestExpand] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[Article]: - """ - Returns an `Article` object with the given `id`. - - Parameters - ---------- - id : str - - expand : typing.Optional[ArticlesRetrieveRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[Article] - - """ - _response = await self._client_wrapper.httpx_client.request( - f"knowledgebase/v1/articles/{jsonable_encoder(id)}", - method="GET", - params={ - "expand": expand, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - Article, - construct_type( - type_=Article, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/knowledgebase/resources/articles/types/__init__.py b/src/merge/resources/knowledgebase/resources/articles/types/__init__.py deleted file mode 100644 index d9e6daf4..00000000 --- a/src/merge/resources/knowledgebase/resources/articles/types/__init__.py +++ /dev/null @@ -1,38 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - -import typing -from importlib import import_module - -if typing.TYPE_CHECKING: - from .articles_list_request_expand import ArticlesListRequestExpand - from .articles_list_request_type import ArticlesListRequestType - from .articles_retrieve_request_expand import ArticlesRetrieveRequestExpand -_dynamic_imports: typing.Dict[str, str] = { - "ArticlesListRequestExpand": ".articles_list_request_expand", - "ArticlesListRequestType": ".articles_list_request_type", - "ArticlesRetrieveRequestExpand": ".articles_retrieve_request_expand", -} - - -def __getattr__(attr_name: str) -> typing.Any: - module_name = _dynamic_imports.get(attr_name) - if module_name is None: - raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") - try: - module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result - except ImportError as e: - raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e - except AttributeError as e: - raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e - - -def __dir__(): - lazy_attrs = list(_dynamic_imports.keys()) - return sorted(lazy_attrs) - - -__all__ = ["ArticlesListRequestExpand", "ArticlesListRequestType", "ArticlesRetrieveRequestExpand"] diff --git a/src/merge/resources/knowledgebase/resources/articles/types/articles_list_request_expand.py b/src/merge/resources/knowledgebase/resources/articles/types/articles_list_request_expand.py deleted file mode 100644 index e8ab09ea..00000000 --- a/src/merge/resources/knowledgebase/resources/articles/types/articles_list_request_expand.py +++ /dev/null @@ -1,625 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class ArticlesListRequestExpand(str, enum.Enum): - ATTACHMENTS = "attachments" - ATTACHMENTS_AUTHOR = "attachments,author" - ATTACHMENTS_AUTHOR_LAST_EDITED_BY = "attachments,author,last_edited_by" - ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE = "attachments,author,last_edited_by,parent_article" - ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER = ( - "attachments,author,last_edited_by,parent_article,parent_container" - ) - ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER = ( - "attachments,author,last_edited_by,parent_article,parent_container,root_container" - ) - ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_ROOT_CONTAINER = ( - "attachments,author,last_edited_by,parent_article,root_container" - ) - ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_CONTAINER = "attachments,author,last_edited_by,parent_container" - ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_CONTAINER_ROOT_CONTAINER = ( - "attachments,author,last_edited_by,parent_container,root_container" - ) - ATTACHMENTS_AUTHOR_LAST_EDITED_BY_ROOT_CONTAINER = "attachments,author,last_edited_by,root_container" - ATTACHMENTS_AUTHOR_PARENT_ARTICLE = "attachments,author,parent_article" - ATTACHMENTS_AUTHOR_PARENT_ARTICLE_PARENT_CONTAINER = "attachments,author,parent_article,parent_container" - ATTACHMENTS_AUTHOR_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER = ( - "attachments,author,parent_article,parent_container,root_container" - ) - ATTACHMENTS_AUTHOR_PARENT_ARTICLE_ROOT_CONTAINER = "attachments,author,parent_article,root_container" - ATTACHMENTS_AUTHOR_PARENT_CONTAINER = "attachments,author,parent_container" - ATTACHMENTS_AUTHOR_PARENT_CONTAINER_ROOT_CONTAINER = "attachments,author,parent_container,root_container" - ATTACHMENTS_AUTHOR_ROOT_CONTAINER = "attachments,author,root_container" - ATTACHMENTS_LAST_EDITED_BY = "attachments,last_edited_by" - ATTACHMENTS_LAST_EDITED_BY_PARENT_ARTICLE = "attachments,last_edited_by,parent_article" - ATTACHMENTS_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER = ( - "attachments,last_edited_by,parent_article,parent_container" - ) - ATTACHMENTS_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER = ( - "attachments,last_edited_by,parent_article,parent_container,root_container" - ) - ATTACHMENTS_LAST_EDITED_BY_PARENT_ARTICLE_ROOT_CONTAINER = ( - "attachments,last_edited_by,parent_article,root_container" - ) - ATTACHMENTS_LAST_EDITED_BY_PARENT_CONTAINER = "attachments,last_edited_by,parent_container" - ATTACHMENTS_LAST_EDITED_BY_PARENT_CONTAINER_ROOT_CONTAINER = ( - "attachments,last_edited_by,parent_container,root_container" - ) - ATTACHMENTS_LAST_EDITED_BY_ROOT_CONTAINER = "attachments,last_edited_by,root_container" - ATTACHMENTS_PARENT_ARTICLE = "attachments,parent_article" - ATTACHMENTS_PARENT_ARTICLE_PARENT_CONTAINER = "attachments,parent_article,parent_container" - ATTACHMENTS_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER = ( - "attachments,parent_article,parent_container,root_container" - ) - ATTACHMENTS_PARENT_ARTICLE_ROOT_CONTAINER = "attachments,parent_article,root_container" - ATTACHMENTS_PARENT_CONTAINER = "attachments,parent_container" - ATTACHMENTS_PARENT_CONTAINER_ROOT_CONTAINER = "attachments,parent_container,root_container" - ATTACHMENTS_ROOT_CONTAINER = "attachments,root_container" - AUTHOR = "author" - AUTHOR_LAST_EDITED_BY = "author,last_edited_by" - AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE = "author,last_edited_by,parent_article" - AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER = "author,last_edited_by,parent_article,parent_container" - AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER = ( - "author,last_edited_by,parent_article,parent_container,root_container" - ) - AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_ROOT_CONTAINER = "author,last_edited_by,parent_article,root_container" - AUTHOR_LAST_EDITED_BY_PARENT_CONTAINER = "author,last_edited_by,parent_container" - AUTHOR_LAST_EDITED_BY_PARENT_CONTAINER_ROOT_CONTAINER = "author,last_edited_by,parent_container,root_container" - AUTHOR_LAST_EDITED_BY_ROOT_CONTAINER = "author,last_edited_by,root_container" - AUTHOR_PARENT_ARTICLE = "author,parent_article" - AUTHOR_PARENT_ARTICLE_PARENT_CONTAINER = "author,parent_article,parent_container" - AUTHOR_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER = "author,parent_article,parent_container,root_container" - AUTHOR_PARENT_ARTICLE_ROOT_CONTAINER = "author,parent_article,root_container" - AUTHOR_PARENT_CONTAINER = "author,parent_container" - AUTHOR_PARENT_CONTAINER_ROOT_CONTAINER = "author,parent_container,root_container" - AUTHOR_ROOT_CONTAINER = "author,root_container" - LAST_EDITED_BY = "last_edited_by" - LAST_EDITED_BY_PARENT_ARTICLE = "last_edited_by,parent_article" - LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER = "last_edited_by,parent_article,parent_container" - LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER = ( - "last_edited_by,parent_article,parent_container,root_container" - ) - LAST_EDITED_BY_PARENT_ARTICLE_ROOT_CONTAINER = "last_edited_by,parent_article,root_container" - LAST_EDITED_BY_PARENT_CONTAINER = "last_edited_by,parent_container" - LAST_EDITED_BY_PARENT_CONTAINER_ROOT_CONTAINER = "last_edited_by,parent_container,root_container" - LAST_EDITED_BY_ROOT_CONTAINER = "last_edited_by,root_container" - PARENT_ARTICLE = "parent_article" - PARENT_ARTICLE_PARENT_CONTAINER = "parent_article,parent_container" - PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER = "parent_article,parent_container,root_container" - PARENT_ARTICLE_ROOT_CONTAINER = "parent_article,root_container" - PARENT_CONTAINER = "parent_container" - PARENT_CONTAINER_ROOT_CONTAINER = "parent_container,root_container" - PERMISSIONS = "permissions" - PERMISSIONS_ATTACHMENTS = "permissions,attachments" - PERMISSIONS_ATTACHMENTS_AUTHOR = "permissions,attachments,author" - PERMISSIONS_ATTACHMENTS_AUTHOR_LAST_EDITED_BY = "permissions,attachments,author,last_edited_by" - PERMISSIONS_ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE = ( - "permissions,attachments,author,last_edited_by,parent_article" - ) - PERMISSIONS_ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER = ( - "permissions,attachments,author,last_edited_by,parent_article,parent_container" - ) - PERMISSIONS_ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER = ( - "permissions,attachments,author,last_edited_by,parent_article,parent_container,root_container" - ) - PERMISSIONS_ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_ROOT_CONTAINER = ( - "permissions,attachments,author,last_edited_by,parent_article,root_container" - ) - PERMISSIONS_ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_CONTAINER = ( - "permissions,attachments,author,last_edited_by,parent_container" - ) - PERMISSIONS_ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_CONTAINER_ROOT_CONTAINER = ( - "permissions,attachments,author,last_edited_by,parent_container,root_container" - ) - PERMISSIONS_ATTACHMENTS_AUTHOR_LAST_EDITED_BY_ROOT_CONTAINER = ( - "permissions,attachments,author,last_edited_by,root_container" - ) - PERMISSIONS_ATTACHMENTS_AUTHOR_PARENT_ARTICLE = "permissions,attachments,author,parent_article" - PERMISSIONS_ATTACHMENTS_AUTHOR_PARENT_ARTICLE_PARENT_CONTAINER = ( - "permissions,attachments,author,parent_article,parent_container" - ) - PERMISSIONS_ATTACHMENTS_AUTHOR_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER = ( - "permissions,attachments,author,parent_article,parent_container,root_container" - ) - PERMISSIONS_ATTACHMENTS_AUTHOR_PARENT_ARTICLE_ROOT_CONTAINER = ( - "permissions,attachments,author,parent_article,root_container" - ) - PERMISSIONS_ATTACHMENTS_AUTHOR_PARENT_CONTAINER = "permissions,attachments,author,parent_container" - PERMISSIONS_ATTACHMENTS_AUTHOR_PARENT_CONTAINER_ROOT_CONTAINER = ( - "permissions,attachments,author,parent_container,root_container" - ) - PERMISSIONS_ATTACHMENTS_AUTHOR_ROOT_CONTAINER = "permissions,attachments,author,root_container" - PERMISSIONS_ATTACHMENTS_LAST_EDITED_BY = "permissions,attachments,last_edited_by" - PERMISSIONS_ATTACHMENTS_LAST_EDITED_BY_PARENT_ARTICLE = "permissions,attachments,last_edited_by,parent_article" - PERMISSIONS_ATTACHMENTS_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER = ( - "permissions,attachments,last_edited_by,parent_article,parent_container" - ) - PERMISSIONS_ATTACHMENTS_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER = ( - "permissions,attachments,last_edited_by,parent_article,parent_container,root_container" - ) - PERMISSIONS_ATTACHMENTS_LAST_EDITED_BY_PARENT_ARTICLE_ROOT_CONTAINER = ( - "permissions,attachments,last_edited_by,parent_article,root_container" - ) - PERMISSIONS_ATTACHMENTS_LAST_EDITED_BY_PARENT_CONTAINER = "permissions,attachments,last_edited_by,parent_container" - PERMISSIONS_ATTACHMENTS_LAST_EDITED_BY_PARENT_CONTAINER_ROOT_CONTAINER = ( - "permissions,attachments,last_edited_by,parent_container,root_container" - ) - PERMISSIONS_ATTACHMENTS_LAST_EDITED_BY_ROOT_CONTAINER = "permissions,attachments,last_edited_by,root_container" - PERMISSIONS_ATTACHMENTS_PARENT_ARTICLE = "permissions,attachments,parent_article" - PERMISSIONS_ATTACHMENTS_PARENT_ARTICLE_PARENT_CONTAINER = "permissions,attachments,parent_article,parent_container" - PERMISSIONS_ATTACHMENTS_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER = ( - "permissions,attachments,parent_article,parent_container,root_container" - ) - PERMISSIONS_ATTACHMENTS_PARENT_ARTICLE_ROOT_CONTAINER = "permissions,attachments,parent_article,root_container" - PERMISSIONS_ATTACHMENTS_PARENT_CONTAINER = "permissions,attachments,parent_container" - PERMISSIONS_ATTACHMENTS_PARENT_CONTAINER_ROOT_CONTAINER = "permissions,attachments,parent_container,root_container" - PERMISSIONS_ATTACHMENTS_ROOT_CONTAINER = "permissions,attachments,root_container" - PERMISSIONS_AUTHOR = "permissions,author" - PERMISSIONS_AUTHOR_LAST_EDITED_BY = "permissions,author,last_edited_by" - PERMISSIONS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE = "permissions,author,last_edited_by,parent_article" - PERMISSIONS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER = ( - "permissions,author,last_edited_by,parent_article,parent_container" - ) - PERMISSIONS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER = ( - "permissions,author,last_edited_by,parent_article,parent_container,root_container" - ) - PERMISSIONS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_ROOT_CONTAINER = ( - "permissions,author,last_edited_by,parent_article,root_container" - ) - PERMISSIONS_AUTHOR_LAST_EDITED_BY_PARENT_CONTAINER = "permissions,author,last_edited_by,parent_container" - PERMISSIONS_AUTHOR_LAST_EDITED_BY_PARENT_CONTAINER_ROOT_CONTAINER = ( - "permissions,author,last_edited_by,parent_container,root_container" - ) - PERMISSIONS_AUTHOR_LAST_EDITED_BY_ROOT_CONTAINER = "permissions,author,last_edited_by,root_container" - PERMISSIONS_AUTHOR_PARENT_ARTICLE = "permissions,author,parent_article" - PERMISSIONS_AUTHOR_PARENT_ARTICLE_PARENT_CONTAINER = "permissions,author,parent_article,parent_container" - PERMISSIONS_AUTHOR_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER = ( - "permissions,author,parent_article,parent_container,root_container" - ) - PERMISSIONS_AUTHOR_PARENT_ARTICLE_ROOT_CONTAINER = "permissions,author,parent_article,root_container" - PERMISSIONS_AUTHOR_PARENT_CONTAINER = "permissions,author,parent_container" - PERMISSIONS_AUTHOR_PARENT_CONTAINER_ROOT_CONTAINER = "permissions,author,parent_container,root_container" - PERMISSIONS_AUTHOR_ROOT_CONTAINER = "permissions,author,root_container" - PERMISSIONS_LAST_EDITED_BY = "permissions,last_edited_by" - PERMISSIONS_LAST_EDITED_BY_PARENT_ARTICLE = "permissions,last_edited_by,parent_article" - PERMISSIONS_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER = ( - "permissions,last_edited_by,parent_article,parent_container" - ) - PERMISSIONS_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER = ( - "permissions,last_edited_by,parent_article,parent_container,root_container" - ) - PERMISSIONS_LAST_EDITED_BY_PARENT_ARTICLE_ROOT_CONTAINER = ( - "permissions,last_edited_by,parent_article,root_container" - ) - PERMISSIONS_LAST_EDITED_BY_PARENT_CONTAINER = "permissions,last_edited_by,parent_container" - PERMISSIONS_LAST_EDITED_BY_PARENT_CONTAINER_ROOT_CONTAINER = ( - "permissions,last_edited_by,parent_container,root_container" - ) - PERMISSIONS_LAST_EDITED_BY_ROOT_CONTAINER = "permissions,last_edited_by,root_container" - PERMISSIONS_PARENT_ARTICLE = "permissions,parent_article" - PERMISSIONS_PARENT_ARTICLE_PARENT_CONTAINER = "permissions,parent_article,parent_container" - PERMISSIONS_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER = ( - "permissions,parent_article,parent_container,root_container" - ) - PERMISSIONS_PARENT_ARTICLE_ROOT_CONTAINER = "permissions,parent_article,root_container" - PERMISSIONS_PARENT_CONTAINER = "permissions,parent_container" - PERMISSIONS_PARENT_CONTAINER_ROOT_CONTAINER = "permissions,parent_container,root_container" - PERMISSIONS_ROOT_CONTAINER = "permissions,root_container" - ROOT_CONTAINER = "root_container" - - def visit( - self, - attachments: typing.Callable[[], T_Result], - attachments_author: typing.Callable[[], T_Result], - attachments_author_last_edited_by: typing.Callable[[], T_Result], - attachments_author_last_edited_by_parent_article: typing.Callable[[], T_Result], - attachments_author_last_edited_by_parent_article_parent_container: typing.Callable[[], T_Result], - attachments_author_last_edited_by_parent_article_parent_container_root_container: typing.Callable[[], T_Result], - attachments_author_last_edited_by_parent_article_root_container: typing.Callable[[], T_Result], - attachments_author_last_edited_by_parent_container: typing.Callable[[], T_Result], - attachments_author_last_edited_by_parent_container_root_container: typing.Callable[[], T_Result], - attachments_author_last_edited_by_root_container: typing.Callable[[], T_Result], - attachments_author_parent_article: typing.Callable[[], T_Result], - attachments_author_parent_article_parent_container: typing.Callable[[], T_Result], - attachments_author_parent_article_parent_container_root_container: typing.Callable[[], T_Result], - attachments_author_parent_article_root_container: typing.Callable[[], T_Result], - attachments_author_parent_container: typing.Callable[[], T_Result], - attachments_author_parent_container_root_container: typing.Callable[[], T_Result], - attachments_author_root_container: typing.Callable[[], T_Result], - attachments_last_edited_by: typing.Callable[[], T_Result], - attachments_last_edited_by_parent_article: typing.Callable[[], T_Result], - attachments_last_edited_by_parent_article_parent_container: typing.Callable[[], T_Result], - attachments_last_edited_by_parent_article_parent_container_root_container: typing.Callable[[], T_Result], - attachments_last_edited_by_parent_article_root_container: typing.Callable[[], T_Result], - attachments_last_edited_by_parent_container: typing.Callable[[], T_Result], - attachments_last_edited_by_parent_container_root_container: typing.Callable[[], T_Result], - attachments_last_edited_by_root_container: typing.Callable[[], T_Result], - attachments_parent_article: typing.Callable[[], T_Result], - attachments_parent_article_parent_container: typing.Callable[[], T_Result], - attachments_parent_article_parent_container_root_container: typing.Callable[[], T_Result], - attachments_parent_article_root_container: typing.Callable[[], T_Result], - attachments_parent_container: typing.Callable[[], T_Result], - attachments_parent_container_root_container: typing.Callable[[], T_Result], - attachments_root_container: typing.Callable[[], T_Result], - author: typing.Callable[[], T_Result], - author_last_edited_by: typing.Callable[[], T_Result], - author_last_edited_by_parent_article: typing.Callable[[], T_Result], - author_last_edited_by_parent_article_parent_container: typing.Callable[[], T_Result], - author_last_edited_by_parent_article_parent_container_root_container: typing.Callable[[], T_Result], - author_last_edited_by_parent_article_root_container: typing.Callable[[], T_Result], - author_last_edited_by_parent_container: typing.Callable[[], T_Result], - author_last_edited_by_parent_container_root_container: typing.Callable[[], T_Result], - author_last_edited_by_root_container: typing.Callable[[], T_Result], - author_parent_article: typing.Callable[[], T_Result], - author_parent_article_parent_container: typing.Callable[[], T_Result], - author_parent_article_parent_container_root_container: typing.Callable[[], T_Result], - author_parent_article_root_container: typing.Callable[[], T_Result], - author_parent_container: typing.Callable[[], T_Result], - author_parent_container_root_container: typing.Callable[[], T_Result], - author_root_container: typing.Callable[[], T_Result], - last_edited_by: typing.Callable[[], T_Result], - last_edited_by_parent_article: typing.Callable[[], T_Result], - last_edited_by_parent_article_parent_container: typing.Callable[[], T_Result], - last_edited_by_parent_article_parent_container_root_container: typing.Callable[[], T_Result], - last_edited_by_parent_article_root_container: typing.Callable[[], T_Result], - last_edited_by_parent_container: typing.Callable[[], T_Result], - last_edited_by_parent_container_root_container: typing.Callable[[], T_Result], - last_edited_by_root_container: typing.Callable[[], T_Result], - parent_article: typing.Callable[[], T_Result], - parent_article_parent_container: typing.Callable[[], T_Result], - parent_article_parent_container_root_container: typing.Callable[[], T_Result], - parent_article_root_container: typing.Callable[[], T_Result], - parent_container: typing.Callable[[], T_Result], - parent_container_root_container: typing.Callable[[], T_Result], - permissions: typing.Callable[[], T_Result], - permissions_attachments: typing.Callable[[], T_Result], - permissions_attachments_author: typing.Callable[[], T_Result], - permissions_attachments_author_last_edited_by: typing.Callable[[], T_Result], - permissions_attachments_author_last_edited_by_parent_article: typing.Callable[[], T_Result], - permissions_attachments_author_last_edited_by_parent_article_parent_container: typing.Callable[[], T_Result], - permissions_attachments_author_last_edited_by_parent_article_parent_container_root_container: typing.Callable[ - [], T_Result - ], - permissions_attachments_author_last_edited_by_parent_article_root_container: typing.Callable[[], T_Result], - permissions_attachments_author_last_edited_by_parent_container: typing.Callable[[], T_Result], - permissions_attachments_author_last_edited_by_parent_container_root_container: typing.Callable[[], T_Result], - permissions_attachments_author_last_edited_by_root_container: typing.Callable[[], T_Result], - permissions_attachments_author_parent_article: typing.Callable[[], T_Result], - permissions_attachments_author_parent_article_parent_container: typing.Callable[[], T_Result], - permissions_attachments_author_parent_article_parent_container_root_container: typing.Callable[[], T_Result], - permissions_attachments_author_parent_article_root_container: typing.Callable[[], T_Result], - permissions_attachments_author_parent_container: typing.Callable[[], T_Result], - permissions_attachments_author_parent_container_root_container: typing.Callable[[], T_Result], - permissions_attachments_author_root_container: typing.Callable[[], T_Result], - permissions_attachments_last_edited_by: typing.Callable[[], T_Result], - permissions_attachments_last_edited_by_parent_article: typing.Callable[[], T_Result], - permissions_attachments_last_edited_by_parent_article_parent_container: typing.Callable[[], T_Result], - permissions_attachments_last_edited_by_parent_article_parent_container_root_container: typing.Callable[ - [], T_Result - ], - permissions_attachments_last_edited_by_parent_article_root_container: typing.Callable[[], T_Result], - permissions_attachments_last_edited_by_parent_container: typing.Callable[[], T_Result], - permissions_attachments_last_edited_by_parent_container_root_container: typing.Callable[[], T_Result], - permissions_attachments_last_edited_by_root_container: typing.Callable[[], T_Result], - permissions_attachments_parent_article: typing.Callable[[], T_Result], - permissions_attachments_parent_article_parent_container: typing.Callable[[], T_Result], - permissions_attachments_parent_article_parent_container_root_container: typing.Callable[[], T_Result], - permissions_attachments_parent_article_root_container: typing.Callable[[], T_Result], - permissions_attachments_parent_container: typing.Callable[[], T_Result], - permissions_attachments_parent_container_root_container: typing.Callable[[], T_Result], - permissions_attachments_root_container: typing.Callable[[], T_Result], - permissions_author: typing.Callable[[], T_Result], - permissions_author_last_edited_by: typing.Callable[[], T_Result], - permissions_author_last_edited_by_parent_article: typing.Callable[[], T_Result], - permissions_author_last_edited_by_parent_article_parent_container: typing.Callable[[], T_Result], - permissions_author_last_edited_by_parent_article_parent_container_root_container: typing.Callable[[], T_Result], - permissions_author_last_edited_by_parent_article_root_container: typing.Callable[[], T_Result], - permissions_author_last_edited_by_parent_container: typing.Callable[[], T_Result], - permissions_author_last_edited_by_parent_container_root_container: typing.Callable[[], T_Result], - permissions_author_last_edited_by_root_container: typing.Callable[[], T_Result], - permissions_author_parent_article: typing.Callable[[], T_Result], - permissions_author_parent_article_parent_container: typing.Callable[[], T_Result], - permissions_author_parent_article_parent_container_root_container: typing.Callable[[], T_Result], - permissions_author_parent_article_root_container: typing.Callable[[], T_Result], - permissions_author_parent_container: typing.Callable[[], T_Result], - permissions_author_parent_container_root_container: typing.Callable[[], T_Result], - permissions_author_root_container: typing.Callable[[], T_Result], - permissions_last_edited_by: typing.Callable[[], T_Result], - permissions_last_edited_by_parent_article: typing.Callable[[], T_Result], - permissions_last_edited_by_parent_article_parent_container: typing.Callable[[], T_Result], - permissions_last_edited_by_parent_article_parent_container_root_container: typing.Callable[[], T_Result], - permissions_last_edited_by_parent_article_root_container: typing.Callable[[], T_Result], - permissions_last_edited_by_parent_container: typing.Callable[[], T_Result], - permissions_last_edited_by_parent_container_root_container: typing.Callable[[], T_Result], - permissions_last_edited_by_root_container: typing.Callable[[], T_Result], - permissions_parent_article: typing.Callable[[], T_Result], - permissions_parent_article_parent_container: typing.Callable[[], T_Result], - permissions_parent_article_parent_container_root_container: typing.Callable[[], T_Result], - permissions_parent_article_root_container: typing.Callable[[], T_Result], - permissions_parent_container: typing.Callable[[], T_Result], - permissions_parent_container_root_container: typing.Callable[[], T_Result], - permissions_root_container: typing.Callable[[], T_Result], - root_container: typing.Callable[[], T_Result], - ) -> T_Result: - if self is ArticlesListRequestExpand.ATTACHMENTS: - return attachments() - if self is ArticlesListRequestExpand.ATTACHMENTS_AUTHOR: - return attachments_author() - if self is ArticlesListRequestExpand.ATTACHMENTS_AUTHOR_LAST_EDITED_BY: - return attachments_author_last_edited_by() - if self is ArticlesListRequestExpand.ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE: - return attachments_author_last_edited_by_parent_article() - if self is ArticlesListRequestExpand.ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER: - return attachments_author_last_edited_by_parent_article_parent_container() - if ( - self - is ArticlesListRequestExpand.ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER - ): - return attachments_author_last_edited_by_parent_article_parent_container_root_container() - if self is ArticlesListRequestExpand.ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_ROOT_CONTAINER: - return attachments_author_last_edited_by_parent_article_root_container() - if self is ArticlesListRequestExpand.ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_CONTAINER: - return attachments_author_last_edited_by_parent_container() - if self is ArticlesListRequestExpand.ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_CONTAINER_ROOT_CONTAINER: - return attachments_author_last_edited_by_parent_container_root_container() - if self is ArticlesListRequestExpand.ATTACHMENTS_AUTHOR_LAST_EDITED_BY_ROOT_CONTAINER: - return attachments_author_last_edited_by_root_container() - if self is ArticlesListRequestExpand.ATTACHMENTS_AUTHOR_PARENT_ARTICLE: - return attachments_author_parent_article() - if self is ArticlesListRequestExpand.ATTACHMENTS_AUTHOR_PARENT_ARTICLE_PARENT_CONTAINER: - return attachments_author_parent_article_parent_container() - if self is ArticlesListRequestExpand.ATTACHMENTS_AUTHOR_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER: - return attachments_author_parent_article_parent_container_root_container() - if self is ArticlesListRequestExpand.ATTACHMENTS_AUTHOR_PARENT_ARTICLE_ROOT_CONTAINER: - return attachments_author_parent_article_root_container() - if self is ArticlesListRequestExpand.ATTACHMENTS_AUTHOR_PARENT_CONTAINER: - return attachments_author_parent_container() - if self is ArticlesListRequestExpand.ATTACHMENTS_AUTHOR_PARENT_CONTAINER_ROOT_CONTAINER: - return attachments_author_parent_container_root_container() - if self is ArticlesListRequestExpand.ATTACHMENTS_AUTHOR_ROOT_CONTAINER: - return attachments_author_root_container() - if self is ArticlesListRequestExpand.ATTACHMENTS_LAST_EDITED_BY: - return attachments_last_edited_by() - if self is ArticlesListRequestExpand.ATTACHMENTS_LAST_EDITED_BY_PARENT_ARTICLE: - return attachments_last_edited_by_parent_article() - if self is ArticlesListRequestExpand.ATTACHMENTS_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER: - return attachments_last_edited_by_parent_article_parent_container() - if self is ArticlesListRequestExpand.ATTACHMENTS_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER: - return attachments_last_edited_by_parent_article_parent_container_root_container() - if self is ArticlesListRequestExpand.ATTACHMENTS_LAST_EDITED_BY_PARENT_ARTICLE_ROOT_CONTAINER: - return attachments_last_edited_by_parent_article_root_container() - if self is ArticlesListRequestExpand.ATTACHMENTS_LAST_EDITED_BY_PARENT_CONTAINER: - return attachments_last_edited_by_parent_container() - if self is ArticlesListRequestExpand.ATTACHMENTS_LAST_EDITED_BY_PARENT_CONTAINER_ROOT_CONTAINER: - return attachments_last_edited_by_parent_container_root_container() - if self is ArticlesListRequestExpand.ATTACHMENTS_LAST_EDITED_BY_ROOT_CONTAINER: - return attachments_last_edited_by_root_container() - if self is ArticlesListRequestExpand.ATTACHMENTS_PARENT_ARTICLE: - return attachments_parent_article() - if self is ArticlesListRequestExpand.ATTACHMENTS_PARENT_ARTICLE_PARENT_CONTAINER: - return attachments_parent_article_parent_container() - if self is ArticlesListRequestExpand.ATTACHMENTS_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER: - return attachments_parent_article_parent_container_root_container() - if self is ArticlesListRequestExpand.ATTACHMENTS_PARENT_ARTICLE_ROOT_CONTAINER: - return attachments_parent_article_root_container() - if self is ArticlesListRequestExpand.ATTACHMENTS_PARENT_CONTAINER: - return attachments_parent_container() - if self is ArticlesListRequestExpand.ATTACHMENTS_PARENT_CONTAINER_ROOT_CONTAINER: - return attachments_parent_container_root_container() - if self is ArticlesListRequestExpand.ATTACHMENTS_ROOT_CONTAINER: - return attachments_root_container() - if self is ArticlesListRequestExpand.AUTHOR: - return author() - if self is ArticlesListRequestExpand.AUTHOR_LAST_EDITED_BY: - return author_last_edited_by() - if self is ArticlesListRequestExpand.AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE: - return author_last_edited_by_parent_article() - if self is ArticlesListRequestExpand.AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER: - return author_last_edited_by_parent_article_parent_container() - if self is ArticlesListRequestExpand.AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER: - return author_last_edited_by_parent_article_parent_container_root_container() - if self is ArticlesListRequestExpand.AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_ROOT_CONTAINER: - return author_last_edited_by_parent_article_root_container() - if self is ArticlesListRequestExpand.AUTHOR_LAST_EDITED_BY_PARENT_CONTAINER: - return author_last_edited_by_parent_container() - if self is ArticlesListRequestExpand.AUTHOR_LAST_EDITED_BY_PARENT_CONTAINER_ROOT_CONTAINER: - return author_last_edited_by_parent_container_root_container() - if self is ArticlesListRequestExpand.AUTHOR_LAST_EDITED_BY_ROOT_CONTAINER: - return author_last_edited_by_root_container() - if self is ArticlesListRequestExpand.AUTHOR_PARENT_ARTICLE: - return author_parent_article() - if self is ArticlesListRequestExpand.AUTHOR_PARENT_ARTICLE_PARENT_CONTAINER: - return author_parent_article_parent_container() - if self is ArticlesListRequestExpand.AUTHOR_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER: - return author_parent_article_parent_container_root_container() - if self is ArticlesListRequestExpand.AUTHOR_PARENT_ARTICLE_ROOT_CONTAINER: - return author_parent_article_root_container() - if self is ArticlesListRequestExpand.AUTHOR_PARENT_CONTAINER: - return author_parent_container() - if self is ArticlesListRequestExpand.AUTHOR_PARENT_CONTAINER_ROOT_CONTAINER: - return author_parent_container_root_container() - if self is ArticlesListRequestExpand.AUTHOR_ROOT_CONTAINER: - return author_root_container() - if self is ArticlesListRequestExpand.LAST_EDITED_BY: - return last_edited_by() - if self is ArticlesListRequestExpand.LAST_EDITED_BY_PARENT_ARTICLE: - return last_edited_by_parent_article() - if self is ArticlesListRequestExpand.LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER: - return last_edited_by_parent_article_parent_container() - if self is ArticlesListRequestExpand.LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER: - return last_edited_by_parent_article_parent_container_root_container() - if self is ArticlesListRequestExpand.LAST_EDITED_BY_PARENT_ARTICLE_ROOT_CONTAINER: - return last_edited_by_parent_article_root_container() - if self is ArticlesListRequestExpand.LAST_EDITED_BY_PARENT_CONTAINER: - return last_edited_by_parent_container() - if self is ArticlesListRequestExpand.LAST_EDITED_BY_PARENT_CONTAINER_ROOT_CONTAINER: - return last_edited_by_parent_container_root_container() - if self is ArticlesListRequestExpand.LAST_EDITED_BY_ROOT_CONTAINER: - return last_edited_by_root_container() - if self is ArticlesListRequestExpand.PARENT_ARTICLE: - return parent_article() - if self is ArticlesListRequestExpand.PARENT_ARTICLE_PARENT_CONTAINER: - return parent_article_parent_container() - if self is ArticlesListRequestExpand.PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER: - return parent_article_parent_container_root_container() - if self is ArticlesListRequestExpand.PARENT_ARTICLE_ROOT_CONTAINER: - return parent_article_root_container() - if self is ArticlesListRequestExpand.PARENT_CONTAINER: - return parent_container() - if self is ArticlesListRequestExpand.PARENT_CONTAINER_ROOT_CONTAINER: - return parent_container_root_container() - if self is ArticlesListRequestExpand.PERMISSIONS: - return permissions() - if self is ArticlesListRequestExpand.PERMISSIONS_ATTACHMENTS: - return permissions_attachments() - if self is ArticlesListRequestExpand.PERMISSIONS_ATTACHMENTS_AUTHOR: - return permissions_attachments_author() - if self is ArticlesListRequestExpand.PERMISSIONS_ATTACHMENTS_AUTHOR_LAST_EDITED_BY: - return permissions_attachments_author_last_edited_by() - if self is ArticlesListRequestExpand.PERMISSIONS_ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE: - return permissions_attachments_author_last_edited_by_parent_article() - if ( - self - is ArticlesListRequestExpand.PERMISSIONS_ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER - ): - return permissions_attachments_author_last_edited_by_parent_article_parent_container() - if ( - self - is ArticlesListRequestExpand.PERMISSIONS_ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER - ): - return permissions_attachments_author_last_edited_by_parent_article_parent_container_root_container() - if ( - self - is ArticlesListRequestExpand.PERMISSIONS_ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_ROOT_CONTAINER - ): - return permissions_attachments_author_last_edited_by_parent_article_root_container() - if self is ArticlesListRequestExpand.PERMISSIONS_ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_CONTAINER: - return permissions_attachments_author_last_edited_by_parent_container() - if ( - self - is ArticlesListRequestExpand.PERMISSIONS_ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_CONTAINER_ROOT_CONTAINER - ): - return permissions_attachments_author_last_edited_by_parent_container_root_container() - if self is ArticlesListRequestExpand.PERMISSIONS_ATTACHMENTS_AUTHOR_LAST_EDITED_BY_ROOT_CONTAINER: - return permissions_attachments_author_last_edited_by_root_container() - if self is ArticlesListRequestExpand.PERMISSIONS_ATTACHMENTS_AUTHOR_PARENT_ARTICLE: - return permissions_attachments_author_parent_article() - if self is ArticlesListRequestExpand.PERMISSIONS_ATTACHMENTS_AUTHOR_PARENT_ARTICLE_PARENT_CONTAINER: - return permissions_attachments_author_parent_article_parent_container() - if ( - self - is ArticlesListRequestExpand.PERMISSIONS_ATTACHMENTS_AUTHOR_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER - ): - return permissions_attachments_author_parent_article_parent_container_root_container() - if self is ArticlesListRequestExpand.PERMISSIONS_ATTACHMENTS_AUTHOR_PARENT_ARTICLE_ROOT_CONTAINER: - return permissions_attachments_author_parent_article_root_container() - if self is ArticlesListRequestExpand.PERMISSIONS_ATTACHMENTS_AUTHOR_PARENT_CONTAINER: - return permissions_attachments_author_parent_container() - if self is ArticlesListRequestExpand.PERMISSIONS_ATTACHMENTS_AUTHOR_PARENT_CONTAINER_ROOT_CONTAINER: - return permissions_attachments_author_parent_container_root_container() - if self is ArticlesListRequestExpand.PERMISSIONS_ATTACHMENTS_AUTHOR_ROOT_CONTAINER: - return permissions_attachments_author_root_container() - if self is ArticlesListRequestExpand.PERMISSIONS_ATTACHMENTS_LAST_EDITED_BY: - return permissions_attachments_last_edited_by() - if self is ArticlesListRequestExpand.PERMISSIONS_ATTACHMENTS_LAST_EDITED_BY_PARENT_ARTICLE: - return permissions_attachments_last_edited_by_parent_article() - if self is ArticlesListRequestExpand.PERMISSIONS_ATTACHMENTS_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER: - return permissions_attachments_last_edited_by_parent_article_parent_container() - if ( - self - is ArticlesListRequestExpand.PERMISSIONS_ATTACHMENTS_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER - ): - return permissions_attachments_last_edited_by_parent_article_parent_container_root_container() - if self is ArticlesListRequestExpand.PERMISSIONS_ATTACHMENTS_LAST_EDITED_BY_PARENT_ARTICLE_ROOT_CONTAINER: - return permissions_attachments_last_edited_by_parent_article_root_container() - if self is ArticlesListRequestExpand.PERMISSIONS_ATTACHMENTS_LAST_EDITED_BY_PARENT_CONTAINER: - return permissions_attachments_last_edited_by_parent_container() - if self is ArticlesListRequestExpand.PERMISSIONS_ATTACHMENTS_LAST_EDITED_BY_PARENT_CONTAINER_ROOT_CONTAINER: - return permissions_attachments_last_edited_by_parent_container_root_container() - if self is ArticlesListRequestExpand.PERMISSIONS_ATTACHMENTS_LAST_EDITED_BY_ROOT_CONTAINER: - return permissions_attachments_last_edited_by_root_container() - if self is ArticlesListRequestExpand.PERMISSIONS_ATTACHMENTS_PARENT_ARTICLE: - return permissions_attachments_parent_article() - if self is ArticlesListRequestExpand.PERMISSIONS_ATTACHMENTS_PARENT_ARTICLE_PARENT_CONTAINER: - return permissions_attachments_parent_article_parent_container() - if self is ArticlesListRequestExpand.PERMISSIONS_ATTACHMENTS_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER: - return permissions_attachments_parent_article_parent_container_root_container() - if self is ArticlesListRequestExpand.PERMISSIONS_ATTACHMENTS_PARENT_ARTICLE_ROOT_CONTAINER: - return permissions_attachments_parent_article_root_container() - if self is ArticlesListRequestExpand.PERMISSIONS_ATTACHMENTS_PARENT_CONTAINER: - return permissions_attachments_parent_container() - if self is ArticlesListRequestExpand.PERMISSIONS_ATTACHMENTS_PARENT_CONTAINER_ROOT_CONTAINER: - return permissions_attachments_parent_container_root_container() - if self is ArticlesListRequestExpand.PERMISSIONS_ATTACHMENTS_ROOT_CONTAINER: - return permissions_attachments_root_container() - if self is ArticlesListRequestExpand.PERMISSIONS_AUTHOR: - return permissions_author() - if self is ArticlesListRequestExpand.PERMISSIONS_AUTHOR_LAST_EDITED_BY: - return permissions_author_last_edited_by() - if self is ArticlesListRequestExpand.PERMISSIONS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE: - return permissions_author_last_edited_by_parent_article() - if self is ArticlesListRequestExpand.PERMISSIONS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER: - return permissions_author_last_edited_by_parent_article_parent_container() - if ( - self - is ArticlesListRequestExpand.PERMISSIONS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER - ): - return permissions_author_last_edited_by_parent_article_parent_container_root_container() - if self is ArticlesListRequestExpand.PERMISSIONS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_ROOT_CONTAINER: - return permissions_author_last_edited_by_parent_article_root_container() - if self is ArticlesListRequestExpand.PERMISSIONS_AUTHOR_LAST_EDITED_BY_PARENT_CONTAINER: - return permissions_author_last_edited_by_parent_container() - if self is ArticlesListRequestExpand.PERMISSIONS_AUTHOR_LAST_EDITED_BY_PARENT_CONTAINER_ROOT_CONTAINER: - return permissions_author_last_edited_by_parent_container_root_container() - if self is ArticlesListRequestExpand.PERMISSIONS_AUTHOR_LAST_EDITED_BY_ROOT_CONTAINER: - return permissions_author_last_edited_by_root_container() - if self is ArticlesListRequestExpand.PERMISSIONS_AUTHOR_PARENT_ARTICLE: - return permissions_author_parent_article() - if self is ArticlesListRequestExpand.PERMISSIONS_AUTHOR_PARENT_ARTICLE_PARENT_CONTAINER: - return permissions_author_parent_article_parent_container() - if self is ArticlesListRequestExpand.PERMISSIONS_AUTHOR_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER: - return permissions_author_parent_article_parent_container_root_container() - if self is ArticlesListRequestExpand.PERMISSIONS_AUTHOR_PARENT_ARTICLE_ROOT_CONTAINER: - return permissions_author_parent_article_root_container() - if self is ArticlesListRequestExpand.PERMISSIONS_AUTHOR_PARENT_CONTAINER: - return permissions_author_parent_container() - if self is ArticlesListRequestExpand.PERMISSIONS_AUTHOR_PARENT_CONTAINER_ROOT_CONTAINER: - return permissions_author_parent_container_root_container() - if self is ArticlesListRequestExpand.PERMISSIONS_AUTHOR_ROOT_CONTAINER: - return permissions_author_root_container() - if self is ArticlesListRequestExpand.PERMISSIONS_LAST_EDITED_BY: - return permissions_last_edited_by() - if self is ArticlesListRequestExpand.PERMISSIONS_LAST_EDITED_BY_PARENT_ARTICLE: - return permissions_last_edited_by_parent_article() - if self is ArticlesListRequestExpand.PERMISSIONS_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER: - return permissions_last_edited_by_parent_article_parent_container() - if self is ArticlesListRequestExpand.PERMISSIONS_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER: - return permissions_last_edited_by_parent_article_parent_container_root_container() - if self is ArticlesListRequestExpand.PERMISSIONS_LAST_EDITED_BY_PARENT_ARTICLE_ROOT_CONTAINER: - return permissions_last_edited_by_parent_article_root_container() - if self is ArticlesListRequestExpand.PERMISSIONS_LAST_EDITED_BY_PARENT_CONTAINER: - return permissions_last_edited_by_parent_container() - if self is ArticlesListRequestExpand.PERMISSIONS_LAST_EDITED_BY_PARENT_CONTAINER_ROOT_CONTAINER: - return permissions_last_edited_by_parent_container_root_container() - if self is ArticlesListRequestExpand.PERMISSIONS_LAST_EDITED_BY_ROOT_CONTAINER: - return permissions_last_edited_by_root_container() - if self is ArticlesListRequestExpand.PERMISSIONS_PARENT_ARTICLE: - return permissions_parent_article() - if self is ArticlesListRequestExpand.PERMISSIONS_PARENT_ARTICLE_PARENT_CONTAINER: - return permissions_parent_article_parent_container() - if self is ArticlesListRequestExpand.PERMISSIONS_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER: - return permissions_parent_article_parent_container_root_container() - if self is ArticlesListRequestExpand.PERMISSIONS_PARENT_ARTICLE_ROOT_CONTAINER: - return permissions_parent_article_root_container() - if self is ArticlesListRequestExpand.PERMISSIONS_PARENT_CONTAINER: - return permissions_parent_container() - if self is ArticlesListRequestExpand.PERMISSIONS_PARENT_CONTAINER_ROOT_CONTAINER: - return permissions_parent_container_root_container() - if self is ArticlesListRequestExpand.PERMISSIONS_ROOT_CONTAINER: - return permissions_root_container() - if self is ArticlesListRequestExpand.ROOT_CONTAINER: - return root_container() diff --git a/src/merge/resources/knowledgebase/resources/articles/types/articles_list_request_type.py b/src/merge/resources/knowledgebase/resources/articles/types/articles_list_request_type.py deleted file mode 100644 index c09a8782..00000000 --- a/src/merge/resources/knowledgebase/resources/articles/types/articles_list_request_type.py +++ /dev/null @@ -1,29 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class ArticlesListRequestType(str, enum.Enum): - EMPTY = "" - BLOG_POST = "BLOG_POST" - PAGE = "PAGE" - SMART_LINK = "SMART_LINK" - - def visit( - self, - empty: typing.Callable[[], T_Result], - blog_post: typing.Callable[[], T_Result], - page: typing.Callable[[], T_Result], - smart_link: typing.Callable[[], T_Result], - ) -> T_Result: - if self is ArticlesListRequestType.EMPTY: - return empty() - if self is ArticlesListRequestType.BLOG_POST: - return blog_post() - if self is ArticlesListRequestType.PAGE: - return page() - if self is ArticlesListRequestType.SMART_LINK: - return smart_link() diff --git a/src/merge/resources/knowledgebase/resources/articles/types/articles_retrieve_request_expand.py b/src/merge/resources/knowledgebase/resources/articles/types/articles_retrieve_request_expand.py deleted file mode 100644 index e64863e6..00000000 --- a/src/merge/resources/knowledgebase/resources/articles/types/articles_retrieve_request_expand.py +++ /dev/null @@ -1,631 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class ArticlesRetrieveRequestExpand(str, enum.Enum): - ATTACHMENTS = "attachments" - ATTACHMENTS_AUTHOR = "attachments,author" - ATTACHMENTS_AUTHOR_LAST_EDITED_BY = "attachments,author,last_edited_by" - ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE = "attachments,author,last_edited_by,parent_article" - ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER = ( - "attachments,author,last_edited_by,parent_article,parent_container" - ) - ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER = ( - "attachments,author,last_edited_by,parent_article,parent_container,root_container" - ) - ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_ROOT_CONTAINER = ( - "attachments,author,last_edited_by,parent_article,root_container" - ) - ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_CONTAINER = "attachments,author,last_edited_by,parent_container" - ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_CONTAINER_ROOT_CONTAINER = ( - "attachments,author,last_edited_by,parent_container,root_container" - ) - ATTACHMENTS_AUTHOR_LAST_EDITED_BY_ROOT_CONTAINER = "attachments,author,last_edited_by,root_container" - ATTACHMENTS_AUTHOR_PARENT_ARTICLE = "attachments,author,parent_article" - ATTACHMENTS_AUTHOR_PARENT_ARTICLE_PARENT_CONTAINER = "attachments,author,parent_article,parent_container" - ATTACHMENTS_AUTHOR_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER = ( - "attachments,author,parent_article,parent_container,root_container" - ) - ATTACHMENTS_AUTHOR_PARENT_ARTICLE_ROOT_CONTAINER = "attachments,author,parent_article,root_container" - ATTACHMENTS_AUTHOR_PARENT_CONTAINER = "attachments,author,parent_container" - ATTACHMENTS_AUTHOR_PARENT_CONTAINER_ROOT_CONTAINER = "attachments,author,parent_container,root_container" - ATTACHMENTS_AUTHOR_ROOT_CONTAINER = "attachments,author,root_container" - ATTACHMENTS_LAST_EDITED_BY = "attachments,last_edited_by" - ATTACHMENTS_LAST_EDITED_BY_PARENT_ARTICLE = "attachments,last_edited_by,parent_article" - ATTACHMENTS_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER = ( - "attachments,last_edited_by,parent_article,parent_container" - ) - ATTACHMENTS_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER = ( - "attachments,last_edited_by,parent_article,parent_container,root_container" - ) - ATTACHMENTS_LAST_EDITED_BY_PARENT_ARTICLE_ROOT_CONTAINER = ( - "attachments,last_edited_by,parent_article,root_container" - ) - ATTACHMENTS_LAST_EDITED_BY_PARENT_CONTAINER = "attachments,last_edited_by,parent_container" - ATTACHMENTS_LAST_EDITED_BY_PARENT_CONTAINER_ROOT_CONTAINER = ( - "attachments,last_edited_by,parent_container,root_container" - ) - ATTACHMENTS_LAST_EDITED_BY_ROOT_CONTAINER = "attachments,last_edited_by,root_container" - ATTACHMENTS_PARENT_ARTICLE = "attachments,parent_article" - ATTACHMENTS_PARENT_ARTICLE_PARENT_CONTAINER = "attachments,parent_article,parent_container" - ATTACHMENTS_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER = ( - "attachments,parent_article,parent_container,root_container" - ) - ATTACHMENTS_PARENT_ARTICLE_ROOT_CONTAINER = "attachments,parent_article,root_container" - ATTACHMENTS_PARENT_CONTAINER = "attachments,parent_container" - ATTACHMENTS_PARENT_CONTAINER_ROOT_CONTAINER = "attachments,parent_container,root_container" - ATTACHMENTS_ROOT_CONTAINER = "attachments,root_container" - AUTHOR = "author" - AUTHOR_LAST_EDITED_BY = "author,last_edited_by" - AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE = "author,last_edited_by,parent_article" - AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER = "author,last_edited_by,parent_article,parent_container" - AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER = ( - "author,last_edited_by,parent_article,parent_container,root_container" - ) - AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_ROOT_CONTAINER = "author,last_edited_by,parent_article,root_container" - AUTHOR_LAST_EDITED_BY_PARENT_CONTAINER = "author,last_edited_by,parent_container" - AUTHOR_LAST_EDITED_BY_PARENT_CONTAINER_ROOT_CONTAINER = "author,last_edited_by,parent_container,root_container" - AUTHOR_LAST_EDITED_BY_ROOT_CONTAINER = "author,last_edited_by,root_container" - AUTHOR_PARENT_ARTICLE = "author,parent_article" - AUTHOR_PARENT_ARTICLE_PARENT_CONTAINER = "author,parent_article,parent_container" - AUTHOR_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER = "author,parent_article,parent_container,root_container" - AUTHOR_PARENT_ARTICLE_ROOT_CONTAINER = "author,parent_article,root_container" - AUTHOR_PARENT_CONTAINER = "author,parent_container" - AUTHOR_PARENT_CONTAINER_ROOT_CONTAINER = "author,parent_container,root_container" - AUTHOR_ROOT_CONTAINER = "author,root_container" - LAST_EDITED_BY = "last_edited_by" - LAST_EDITED_BY_PARENT_ARTICLE = "last_edited_by,parent_article" - LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER = "last_edited_by,parent_article,parent_container" - LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER = ( - "last_edited_by,parent_article,parent_container,root_container" - ) - LAST_EDITED_BY_PARENT_ARTICLE_ROOT_CONTAINER = "last_edited_by,parent_article,root_container" - LAST_EDITED_BY_PARENT_CONTAINER = "last_edited_by,parent_container" - LAST_EDITED_BY_PARENT_CONTAINER_ROOT_CONTAINER = "last_edited_by,parent_container,root_container" - LAST_EDITED_BY_ROOT_CONTAINER = "last_edited_by,root_container" - PARENT_ARTICLE = "parent_article" - PARENT_ARTICLE_PARENT_CONTAINER = "parent_article,parent_container" - PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER = "parent_article,parent_container,root_container" - PARENT_ARTICLE_ROOT_CONTAINER = "parent_article,root_container" - PARENT_CONTAINER = "parent_container" - PARENT_CONTAINER_ROOT_CONTAINER = "parent_container,root_container" - PERMISSIONS = "permissions" - PERMISSIONS_ATTACHMENTS = "permissions,attachments" - PERMISSIONS_ATTACHMENTS_AUTHOR = "permissions,attachments,author" - PERMISSIONS_ATTACHMENTS_AUTHOR_LAST_EDITED_BY = "permissions,attachments,author,last_edited_by" - PERMISSIONS_ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE = ( - "permissions,attachments,author,last_edited_by,parent_article" - ) - PERMISSIONS_ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER = ( - "permissions,attachments,author,last_edited_by,parent_article,parent_container" - ) - PERMISSIONS_ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER = ( - "permissions,attachments,author,last_edited_by,parent_article,parent_container,root_container" - ) - PERMISSIONS_ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_ROOT_CONTAINER = ( - "permissions,attachments,author,last_edited_by,parent_article,root_container" - ) - PERMISSIONS_ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_CONTAINER = ( - "permissions,attachments,author,last_edited_by,parent_container" - ) - PERMISSIONS_ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_CONTAINER_ROOT_CONTAINER = ( - "permissions,attachments,author,last_edited_by,parent_container,root_container" - ) - PERMISSIONS_ATTACHMENTS_AUTHOR_LAST_EDITED_BY_ROOT_CONTAINER = ( - "permissions,attachments,author,last_edited_by,root_container" - ) - PERMISSIONS_ATTACHMENTS_AUTHOR_PARENT_ARTICLE = "permissions,attachments,author,parent_article" - PERMISSIONS_ATTACHMENTS_AUTHOR_PARENT_ARTICLE_PARENT_CONTAINER = ( - "permissions,attachments,author,parent_article,parent_container" - ) - PERMISSIONS_ATTACHMENTS_AUTHOR_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER = ( - "permissions,attachments,author,parent_article,parent_container,root_container" - ) - PERMISSIONS_ATTACHMENTS_AUTHOR_PARENT_ARTICLE_ROOT_CONTAINER = ( - "permissions,attachments,author,parent_article,root_container" - ) - PERMISSIONS_ATTACHMENTS_AUTHOR_PARENT_CONTAINER = "permissions,attachments,author,parent_container" - PERMISSIONS_ATTACHMENTS_AUTHOR_PARENT_CONTAINER_ROOT_CONTAINER = ( - "permissions,attachments,author,parent_container,root_container" - ) - PERMISSIONS_ATTACHMENTS_AUTHOR_ROOT_CONTAINER = "permissions,attachments,author,root_container" - PERMISSIONS_ATTACHMENTS_LAST_EDITED_BY = "permissions,attachments,last_edited_by" - PERMISSIONS_ATTACHMENTS_LAST_EDITED_BY_PARENT_ARTICLE = "permissions,attachments,last_edited_by,parent_article" - PERMISSIONS_ATTACHMENTS_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER = ( - "permissions,attachments,last_edited_by,parent_article,parent_container" - ) - PERMISSIONS_ATTACHMENTS_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER = ( - "permissions,attachments,last_edited_by,parent_article,parent_container,root_container" - ) - PERMISSIONS_ATTACHMENTS_LAST_EDITED_BY_PARENT_ARTICLE_ROOT_CONTAINER = ( - "permissions,attachments,last_edited_by,parent_article,root_container" - ) - PERMISSIONS_ATTACHMENTS_LAST_EDITED_BY_PARENT_CONTAINER = "permissions,attachments,last_edited_by,parent_container" - PERMISSIONS_ATTACHMENTS_LAST_EDITED_BY_PARENT_CONTAINER_ROOT_CONTAINER = ( - "permissions,attachments,last_edited_by,parent_container,root_container" - ) - PERMISSIONS_ATTACHMENTS_LAST_EDITED_BY_ROOT_CONTAINER = "permissions,attachments,last_edited_by,root_container" - PERMISSIONS_ATTACHMENTS_PARENT_ARTICLE = "permissions,attachments,parent_article" - PERMISSIONS_ATTACHMENTS_PARENT_ARTICLE_PARENT_CONTAINER = "permissions,attachments,parent_article,parent_container" - PERMISSIONS_ATTACHMENTS_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER = ( - "permissions,attachments,parent_article,parent_container,root_container" - ) - PERMISSIONS_ATTACHMENTS_PARENT_ARTICLE_ROOT_CONTAINER = "permissions,attachments,parent_article,root_container" - PERMISSIONS_ATTACHMENTS_PARENT_CONTAINER = "permissions,attachments,parent_container" - PERMISSIONS_ATTACHMENTS_PARENT_CONTAINER_ROOT_CONTAINER = "permissions,attachments,parent_container,root_container" - PERMISSIONS_ATTACHMENTS_ROOT_CONTAINER = "permissions,attachments,root_container" - PERMISSIONS_AUTHOR = "permissions,author" - PERMISSIONS_AUTHOR_LAST_EDITED_BY = "permissions,author,last_edited_by" - PERMISSIONS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE = "permissions,author,last_edited_by,parent_article" - PERMISSIONS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER = ( - "permissions,author,last_edited_by,parent_article,parent_container" - ) - PERMISSIONS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER = ( - "permissions,author,last_edited_by,parent_article,parent_container,root_container" - ) - PERMISSIONS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_ROOT_CONTAINER = ( - "permissions,author,last_edited_by,parent_article,root_container" - ) - PERMISSIONS_AUTHOR_LAST_EDITED_BY_PARENT_CONTAINER = "permissions,author,last_edited_by,parent_container" - PERMISSIONS_AUTHOR_LAST_EDITED_BY_PARENT_CONTAINER_ROOT_CONTAINER = ( - "permissions,author,last_edited_by,parent_container,root_container" - ) - PERMISSIONS_AUTHOR_LAST_EDITED_BY_ROOT_CONTAINER = "permissions,author,last_edited_by,root_container" - PERMISSIONS_AUTHOR_PARENT_ARTICLE = "permissions,author,parent_article" - PERMISSIONS_AUTHOR_PARENT_ARTICLE_PARENT_CONTAINER = "permissions,author,parent_article,parent_container" - PERMISSIONS_AUTHOR_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER = ( - "permissions,author,parent_article,parent_container,root_container" - ) - PERMISSIONS_AUTHOR_PARENT_ARTICLE_ROOT_CONTAINER = "permissions,author,parent_article,root_container" - PERMISSIONS_AUTHOR_PARENT_CONTAINER = "permissions,author,parent_container" - PERMISSIONS_AUTHOR_PARENT_CONTAINER_ROOT_CONTAINER = "permissions,author,parent_container,root_container" - PERMISSIONS_AUTHOR_ROOT_CONTAINER = "permissions,author,root_container" - PERMISSIONS_LAST_EDITED_BY = "permissions,last_edited_by" - PERMISSIONS_LAST_EDITED_BY_PARENT_ARTICLE = "permissions,last_edited_by,parent_article" - PERMISSIONS_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER = ( - "permissions,last_edited_by,parent_article,parent_container" - ) - PERMISSIONS_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER = ( - "permissions,last_edited_by,parent_article,parent_container,root_container" - ) - PERMISSIONS_LAST_EDITED_BY_PARENT_ARTICLE_ROOT_CONTAINER = ( - "permissions,last_edited_by,parent_article,root_container" - ) - PERMISSIONS_LAST_EDITED_BY_PARENT_CONTAINER = "permissions,last_edited_by,parent_container" - PERMISSIONS_LAST_EDITED_BY_PARENT_CONTAINER_ROOT_CONTAINER = ( - "permissions,last_edited_by,parent_container,root_container" - ) - PERMISSIONS_LAST_EDITED_BY_ROOT_CONTAINER = "permissions,last_edited_by,root_container" - PERMISSIONS_PARENT_ARTICLE = "permissions,parent_article" - PERMISSIONS_PARENT_ARTICLE_PARENT_CONTAINER = "permissions,parent_article,parent_container" - PERMISSIONS_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER = ( - "permissions,parent_article,parent_container,root_container" - ) - PERMISSIONS_PARENT_ARTICLE_ROOT_CONTAINER = "permissions,parent_article,root_container" - PERMISSIONS_PARENT_CONTAINER = "permissions,parent_container" - PERMISSIONS_PARENT_CONTAINER_ROOT_CONTAINER = "permissions,parent_container,root_container" - PERMISSIONS_ROOT_CONTAINER = "permissions,root_container" - ROOT_CONTAINER = "root_container" - - def visit( - self, - attachments: typing.Callable[[], T_Result], - attachments_author: typing.Callable[[], T_Result], - attachments_author_last_edited_by: typing.Callable[[], T_Result], - attachments_author_last_edited_by_parent_article: typing.Callable[[], T_Result], - attachments_author_last_edited_by_parent_article_parent_container: typing.Callable[[], T_Result], - attachments_author_last_edited_by_parent_article_parent_container_root_container: typing.Callable[[], T_Result], - attachments_author_last_edited_by_parent_article_root_container: typing.Callable[[], T_Result], - attachments_author_last_edited_by_parent_container: typing.Callable[[], T_Result], - attachments_author_last_edited_by_parent_container_root_container: typing.Callable[[], T_Result], - attachments_author_last_edited_by_root_container: typing.Callable[[], T_Result], - attachments_author_parent_article: typing.Callable[[], T_Result], - attachments_author_parent_article_parent_container: typing.Callable[[], T_Result], - attachments_author_parent_article_parent_container_root_container: typing.Callable[[], T_Result], - attachments_author_parent_article_root_container: typing.Callable[[], T_Result], - attachments_author_parent_container: typing.Callable[[], T_Result], - attachments_author_parent_container_root_container: typing.Callable[[], T_Result], - attachments_author_root_container: typing.Callable[[], T_Result], - attachments_last_edited_by: typing.Callable[[], T_Result], - attachments_last_edited_by_parent_article: typing.Callable[[], T_Result], - attachments_last_edited_by_parent_article_parent_container: typing.Callable[[], T_Result], - attachments_last_edited_by_parent_article_parent_container_root_container: typing.Callable[[], T_Result], - attachments_last_edited_by_parent_article_root_container: typing.Callable[[], T_Result], - attachments_last_edited_by_parent_container: typing.Callable[[], T_Result], - attachments_last_edited_by_parent_container_root_container: typing.Callable[[], T_Result], - attachments_last_edited_by_root_container: typing.Callable[[], T_Result], - attachments_parent_article: typing.Callable[[], T_Result], - attachments_parent_article_parent_container: typing.Callable[[], T_Result], - attachments_parent_article_parent_container_root_container: typing.Callable[[], T_Result], - attachments_parent_article_root_container: typing.Callable[[], T_Result], - attachments_parent_container: typing.Callable[[], T_Result], - attachments_parent_container_root_container: typing.Callable[[], T_Result], - attachments_root_container: typing.Callable[[], T_Result], - author: typing.Callable[[], T_Result], - author_last_edited_by: typing.Callable[[], T_Result], - author_last_edited_by_parent_article: typing.Callable[[], T_Result], - author_last_edited_by_parent_article_parent_container: typing.Callable[[], T_Result], - author_last_edited_by_parent_article_parent_container_root_container: typing.Callable[[], T_Result], - author_last_edited_by_parent_article_root_container: typing.Callable[[], T_Result], - author_last_edited_by_parent_container: typing.Callable[[], T_Result], - author_last_edited_by_parent_container_root_container: typing.Callable[[], T_Result], - author_last_edited_by_root_container: typing.Callable[[], T_Result], - author_parent_article: typing.Callable[[], T_Result], - author_parent_article_parent_container: typing.Callable[[], T_Result], - author_parent_article_parent_container_root_container: typing.Callable[[], T_Result], - author_parent_article_root_container: typing.Callable[[], T_Result], - author_parent_container: typing.Callable[[], T_Result], - author_parent_container_root_container: typing.Callable[[], T_Result], - author_root_container: typing.Callable[[], T_Result], - last_edited_by: typing.Callable[[], T_Result], - last_edited_by_parent_article: typing.Callable[[], T_Result], - last_edited_by_parent_article_parent_container: typing.Callable[[], T_Result], - last_edited_by_parent_article_parent_container_root_container: typing.Callable[[], T_Result], - last_edited_by_parent_article_root_container: typing.Callable[[], T_Result], - last_edited_by_parent_container: typing.Callable[[], T_Result], - last_edited_by_parent_container_root_container: typing.Callable[[], T_Result], - last_edited_by_root_container: typing.Callable[[], T_Result], - parent_article: typing.Callable[[], T_Result], - parent_article_parent_container: typing.Callable[[], T_Result], - parent_article_parent_container_root_container: typing.Callable[[], T_Result], - parent_article_root_container: typing.Callable[[], T_Result], - parent_container: typing.Callable[[], T_Result], - parent_container_root_container: typing.Callable[[], T_Result], - permissions: typing.Callable[[], T_Result], - permissions_attachments: typing.Callable[[], T_Result], - permissions_attachments_author: typing.Callable[[], T_Result], - permissions_attachments_author_last_edited_by: typing.Callable[[], T_Result], - permissions_attachments_author_last_edited_by_parent_article: typing.Callable[[], T_Result], - permissions_attachments_author_last_edited_by_parent_article_parent_container: typing.Callable[[], T_Result], - permissions_attachments_author_last_edited_by_parent_article_parent_container_root_container: typing.Callable[ - [], T_Result - ], - permissions_attachments_author_last_edited_by_parent_article_root_container: typing.Callable[[], T_Result], - permissions_attachments_author_last_edited_by_parent_container: typing.Callable[[], T_Result], - permissions_attachments_author_last_edited_by_parent_container_root_container: typing.Callable[[], T_Result], - permissions_attachments_author_last_edited_by_root_container: typing.Callable[[], T_Result], - permissions_attachments_author_parent_article: typing.Callable[[], T_Result], - permissions_attachments_author_parent_article_parent_container: typing.Callable[[], T_Result], - permissions_attachments_author_parent_article_parent_container_root_container: typing.Callable[[], T_Result], - permissions_attachments_author_parent_article_root_container: typing.Callable[[], T_Result], - permissions_attachments_author_parent_container: typing.Callable[[], T_Result], - permissions_attachments_author_parent_container_root_container: typing.Callable[[], T_Result], - permissions_attachments_author_root_container: typing.Callable[[], T_Result], - permissions_attachments_last_edited_by: typing.Callable[[], T_Result], - permissions_attachments_last_edited_by_parent_article: typing.Callable[[], T_Result], - permissions_attachments_last_edited_by_parent_article_parent_container: typing.Callable[[], T_Result], - permissions_attachments_last_edited_by_parent_article_parent_container_root_container: typing.Callable[ - [], T_Result - ], - permissions_attachments_last_edited_by_parent_article_root_container: typing.Callable[[], T_Result], - permissions_attachments_last_edited_by_parent_container: typing.Callable[[], T_Result], - permissions_attachments_last_edited_by_parent_container_root_container: typing.Callable[[], T_Result], - permissions_attachments_last_edited_by_root_container: typing.Callable[[], T_Result], - permissions_attachments_parent_article: typing.Callable[[], T_Result], - permissions_attachments_parent_article_parent_container: typing.Callable[[], T_Result], - permissions_attachments_parent_article_parent_container_root_container: typing.Callable[[], T_Result], - permissions_attachments_parent_article_root_container: typing.Callable[[], T_Result], - permissions_attachments_parent_container: typing.Callable[[], T_Result], - permissions_attachments_parent_container_root_container: typing.Callable[[], T_Result], - permissions_attachments_root_container: typing.Callable[[], T_Result], - permissions_author: typing.Callable[[], T_Result], - permissions_author_last_edited_by: typing.Callable[[], T_Result], - permissions_author_last_edited_by_parent_article: typing.Callable[[], T_Result], - permissions_author_last_edited_by_parent_article_parent_container: typing.Callable[[], T_Result], - permissions_author_last_edited_by_parent_article_parent_container_root_container: typing.Callable[[], T_Result], - permissions_author_last_edited_by_parent_article_root_container: typing.Callable[[], T_Result], - permissions_author_last_edited_by_parent_container: typing.Callable[[], T_Result], - permissions_author_last_edited_by_parent_container_root_container: typing.Callable[[], T_Result], - permissions_author_last_edited_by_root_container: typing.Callable[[], T_Result], - permissions_author_parent_article: typing.Callable[[], T_Result], - permissions_author_parent_article_parent_container: typing.Callable[[], T_Result], - permissions_author_parent_article_parent_container_root_container: typing.Callable[[], T_Result], - permissions_author_parent_article_root_container: typing.Callable[[], T_Result], - permissions_author_parent_container: typing.Callable[[], T_Result], - permissions_author_parent_container_root_container: typing.Callable[[], T_Result], - permissions_author_root_container: typing.Callable[[], T_Result], - permissions_last_edited_by: typing.Callable[[], T_Result], - permissions_last_edited_by_parent_article: typing.Callable[[], T_Result], - permissions_last_edited_by_parent_article_parent_container: typing.Callable[[], T_Result], - permissions_last_edited_by_parent_article_parent_container_root_container: typing.Callable[[], T_Result], - permissions_last_edited_by_parent_article_root_container: typing.Callable[[], T_Result], - permissions_last_edited_by_parent_container: typing.Callable[[], T_Result], - permissions_last_edited_by_parent_container_root_container: typing.Callable[[], T_Result], - permissions_last_edited_by_root_container: typing.Callable[[], T_Result], - permissions_parent_article: typing.Callable[[], T_Result], - permissions_parent_article_parent_container: typing.Callable[[], T_Result], - permissions_parent_article_parent_container_root_container: typing.Callable[[], T_Result], - permissions_parent_article_root_container: typing.Callable[[], T_Result], - permissions_parent_container: typing.Callable[[], T_Result], - permissions_parent_container_root_container: typing.Callable[[], T_Result], - permissions_root_container: typing.Callable[[], T_Result], - root_container: typing.Callable[[], T_Result], - ) -> T_Result: - if self is ArticlesRetrieveRequestExpand.ATTACHMENTS: - return attachments() - if self is ArticlesRetrieveRequestExpand.ATTACHMENTS_AUTHOR: - return attachments_author() - if self is ArticlesRetrieveRequestExpand.ATTACHMENTS_AUTHOR_LAST_EDITED_BY: - return attachments_author_last_edited_by() - if self is ArticlesRetrieveRequestExpand.ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE: - return attachments_author_last_edited_by_parent_article() - if self is ArticlesRetrieveRequestExpand.ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER: - return attachments_author_last_edited_by_parent_article_parent_container() - if ( - self - is ArticlesRetrieveRequestExpand.ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER - ): - return attachments_author_last_edited_by_parent_article_parent_container_root_container() - if self is ArticlesRetrieveRequestExpand.ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_ROOT_CONTAINER: - return attachments_author_last_edited_by_parent_article_root_container() - if self is ArticlesRetrieveRequestExpand.ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_CONTAINER: - return attachments_author_last_edited_by_parent_container() - if self is ArticlesRetrieveRequestExpand.ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_CONTAINER_ROOT_CONTAINER: - return attachments_author_last_edited_by_parent_container_root_container() - if self is ArticlesRetrieveRequestExpand.ATTACHMENTS_AUTHOR_LAST_EDITED_BY_ROOT_CONTAINER: - return attachments_author_last_edited_by_root_container() - if self is ArticlesRetrieveRequestExpand.ATTACHMENTS_AUTHOR_PARENT_ARTICLE: - return attachments_author_parent_article() - if self is ArticlesRetrieveRequestExpand.ATTACHMENTS_AUTHOR_PARENT_ARTICLE_PARENT_CONTAINER: - return attachments_author_parent_article_parent_container() - if self is ArticlesRetrieveRequestExpand.ATTACHMENTS_AUTHOR_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER: - return attachments_author_parent_article_parent_container_root_container() - if self is ArticlesRetrieveRequestExpand.ATTACHMENTS_AUTHOR_PARENT_ARTICLE_ROOT_CONTAINER: - return attachments_author_parent_article_root_container() - if self is ArticlesRetrieveRequestExpand.ATTACHMENTS_AUTHOR_PARENT_CONTAINER: - return attachments_author_parent_container() - if self is ArticlesRetrieveRequestExpand.ATTACHMENTS_AUTHOR_PARENT_CONTAINER_ROOT_CONTAINER: - return attachments_author_parent_container_root_container() - if self is ArticlesRetrieveRequestExpand.ATTACHMENTS_AUTHOR_ROOT_CONTAINER: - return attachments_author_root_container() - if self is ArticlesRetrieveRequestExpand.ATTACHMENTS_LAST_EDITED_BY: - return attachments_last_edited_by() - if self is ArticlesRetrieveRequestExpand.ATTACHMENTS_LAST_EDITED_BY_PARENT_ARTICLE: - return attachments_last_edited_by_parent_article() - if self is ArticlesRetrieveRequestExpand.ATTACHMENTS_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER: - return attachments_last_edited_by_parent_article_parent_container() - if ( - self - is ArticlesRetrieveRequestExpand.ATTACHMENTS_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER - ): - return attachments_last_edited_by_parent_article_parent_container_root_container() - if self is ArticlesRetrieveRequestExpand.ATTACHMENTS_LAST_EDITED_BY_PARENT_ARTICLE_ROOT_CONTAINER: - return attachments_last_edited_by_parent_article_root_container() - if self is ArticlesRetrieveRequestExpand.ATTACHMENTS_LAST_EDITED_BY_PARENT_CONTAINER: - return attachments_last_edited_by_parent_container() - if self is ArticlesRetrieveRequestExpand.ATTACHMENTS_LAST_EDITED_BY_PARENT_CONTAINER_ROOT_CONTAINER: - return attachments_last_edited_by_parent_container_root_container() - if self is ArticlesRetrieveRequestExpand.ATTACHMENTS_LAST_EDITED_BY_ROOT_CONTAINER: - return attachments_last_edited_by_root_container() - if self is ArticlesRetrieveRequestExpand.ATTACHMENTS_PARENT_ARTICLE: - return attachments_parent_article() - if self is ArticlesRetrieveRequestExpand.ATTACHMENTS_PARENT_ARTICLE_PARENT_CONTAINER: - return attachments_parent_article_parent_container() - if self is ArticlesRetrieveRequestExpand.ATTACHMENTS_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER: - return attachments_parent_article_parent_container_root_container() - if self is ArticlesRetrieveRequestExpand.ATTACHMENTS_PARENT_ARTICLE_ROOT_CONTAINER: - return attachments_parent_article_root_container() - if self is ArticlesRetrieveRequestExpand.ATTACHMENTS_PARENT_CONTAINER: - return attachments_parent_container() - if self is ArticlesRetrieveRequestExpand.ATTACHMENTS_PARENT_CONTAINER_ROOT_CONTAINER: - return attachments_parent_container_root_container() - if self is ArticlesRetrieveRequestExpand.ATTACHMENTS_ROOT_CONTAINER: - return attachments_root_container() - if self is ArticlesRetrieveRequestExpand.AUTHOR: - return author() - if self is ArticlesRetrieveRequestExpand.AUTHOR_LAST_EDITED_BY: - return author_last_edited_by() - if self is ArticlesRetrieveRequestExpand.AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE: - return author_last_edited_by_parent_article() - if self is ArticlesRetrieveRequestExpand.AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER: - return author_last_edited_by_parent_article_parent_container() - if self is ArticlesRetrieveRequestExpand.AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER: - return author_last_edited_by_parent_article_parent_container_root_container() - if self is ArticlesRetrieveRequestExpand.AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_ROOT_CONTAINER: - return author_last_edited_by_parent_article_root_container() - if self is ArticlesRetrieveRequestExpand.AUTHOR_LAST_EDITED_BY_PARENT_CONTAINER: - return author_last_edited_by_parent_container() - if self is ArticlesRetrieveRequestExpand.AUTHOR_LAST_EDITED_BY_PARENT_CONTAINER_ROOT_CONTAINER: - return author_last_edited_by_parent_container_root_container() - if self is ArticlesRetrieveRequestExpand.AUTHOR_LAST_EDITED_BY_ROOT_CONTAINER: - return author_last_edited_by_root_container() - if self is ArticlesRetrieveRequestExpand.AUTHOR_PARENT_ARTICLE: - return author_parent_article() - if self is ArticlesRetrieveRequestExpand.AUTHOR_PARENT_ARTICLE_PARENT_CONTAINER: - return author_parent_article_parent_container() - if self is ArticlesRetrieveRequestExpand.AUTHOR_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER: - return author_parent_article_parent_container_root_container() - if self is ArticlesRetrieveRequestExpand.AUTHOR_PARENT_ARTICLE_ROOT_CONTAINER: - return author_parent_article_root_container() - if self is ArticlesRetrieveRequestExpand.AUTHOR_PARENT_CONTAINER: - return author_parent_container() - if self is ArticlesRetrieveRequestExpand.AUTHOR_PARENT_CONTAINER_ROOT_CONTAINER: - return author_parent_container_root_container() - if self is ArticlesRetrieveRequestExpand.AUTHOR_ROOT_CONTAINER: - return author_root_container() - if self is ArticlesRetrieveRequestExpand.LAST_EDITED_BY: - return last_edited_by() - if self is ArticlesRetrieveRequestExpand.LAST_EDITED_BY_PARENT_ARTICLE: - return last_edited_by_parent_article() - if self is ArticlesRetrieveRequestExpand.LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER: - return last_edited_by_parent_article_parent_container() - if self is ArticlesRetrieveRequestExpand.LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER: - return last_edited_by_parent_article_parent_container_root_container() - if self is ArticlesRetrieveRequestExpand.LAST_EDITED_BY_PARENT_ARTICLE_ROOT_CONTAINER: - return last_edited_by_parent_article_root_container() - if self is ArticlesRetrieveRequestExpand.LAST_EDITED_BY_PARENT_CONTAINER: - return last_edited_by_parent_container() - if self is ArticlesRetrieveRequestExpand.LAST_EDITED_BY_PARENT_CONTAINER_ROOT_CONTAINER: - return last_edited_by_parent_container_root_container() - if self is ArticlesRetrieveRequestExpand.LAST_EDITED_BY_ROOT_CONTAINER: - return last_edited_by_root_container() - if self is ArticlesRetrieveRequestExpand.PARENT_ARTICLE: - return parent_article() - if self is ArticlesRetrieveRequestExpand.PARENT_ARTICLE_PARENT_CONTAINER: - return parent_article_parent_container() - if self is ArticlesRetrieveRequestExpand.PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER: - return parent_article_parent_container_root_container() - if self is ArticlesRetrieveRequestExpand.PARENT_ARTICLE_ROOT_CONTAINER: - return parent_article_root_container() - if self is ArticlesRetrieveRequestExpand.PARENT_CONTAINER: - return parent_container() - if self is ArticlesRetrieveRequestExpand.PARENT_CONTAINER_ROOT_CONTAINER: - return parent_container_root_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS: - return permissions() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_ATTACHMENTS: - return permissions_attachments() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_ATTACHMENTS_AUTHOR: - return permissions_attachments_author() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_ATTACHMENTS_AUTHOR_LAST_EDITED_BY: - return permissions_attachments_author_last_edited_by() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE: - return permissions_attachments_author_last_edited_by_parent_article() - if ( - self - is ArticlesRetrieveRequestExpand.PERMISSIONS_ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER - ): - return permissions_attachments_author_last_edited_by_parent_article_parent_container() - if ( - self - is ArticlesRetrieveRequestExpand.PERMISSIONS_ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER - ): - return permissions_attachments_author_last_edited_by_parent_article_parent_container_root_container() - if ( - self - is ArticlesRetrieveRequestExpand.PERMISSIONS_ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_ROOT_CONTAINER - ): - return permissions_attachments_author_last_edited_by_parent_article_root_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_CONTAINER: - return permissions_attachments_author_last_edited_by_parent_container() - if ( - self - is ArticlesRetrieveRequestExpand.PERMISSIONS_ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_CONTAINER_ROOT_CONTAINER - ): - return permissions_attachments_author_last_edited_by_parent_container_root_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_ATTACHMENTS_AUTHOR_LAST_EDITED_BY_ROOT_CONTAINER: - return permissions_attachments_author_last_edited_by_root_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_ATTACHMENTS_AUTHOR_PARENT_ARTICLE: - return permissions_attachments_author_parent_article() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_ATTACHMENTS_AUTHOR_PARENT_ARTICLE_PARENT_CONTAINER: - return permissions_attachments_author_parent_article_parent_container() - if ( - self - is ArticlesRetrieveRequestExpand.PERMISSIONS_ATTACHMENTS_AUTHOR_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER - ): - return permissions_attachments_author_parent_article_parent_container_root_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_ATTACHMENTS_AUTHOR_PARENT_ARTICLE_ROOT_CONTAINER: - return permissions_attachments_author_parent_article_root_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_ATTACHMENTS_AUTHOR_PARENT_CONTAINER: - return permissions_attachments_author_parent_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_ATTACHMENTS_AUTHOR_PARENT_CONTAINER_ROOT_CONTAINER: - return permissions_attachments_author_parent_container_root_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_ATTACHMENTS_AUTHOR_ROOT_CONTAINER: - return permissions_attachments_author_root_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_ATTACHMENTS_LAST_EDITED_BY: - return permissions_attachments_last_edited_by() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_ATTACHMENTS_LAST_EDITED_BY_PARENT_ARTICLE: - return permissions_attachments_last_edited_by_parent_article() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_ATTACHMENTS_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER: - return permissions_attachments_last_edited_by_parent_article_parent_container() - if ( - self - is ArticlesRetrieveRequestExpand.PERMISSIONS_ATTACHMENTS_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER - ): - return permissions_attachments_last_edited_by_parent_article_parent_container_root_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_ATTACHMENTS_LAST_EDITED_BY_PARENT_ARTICLE_ROOT_CONTAINER: - return permissions_attachments_last_edited_by_parent_article_root_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_ATTACHMENTS_LAST_EDITED_BY_PARENT_CONTAINER: - return permissions_attachments_last_edited_by_parent_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_ATTACHMENTS_LAST_EDITED_BY_PARENT_CONTAINER_ROOT_CONTAINER: - return permissions_attachments_last_edited_by_parent_container_root_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_ATTACHMENTS_LAST_EDITED_BY_ROOT_CONTAINER: - return permissions_attachments_last_edited_by_root_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_ATTACHMENTS_PARENT_ARTICLE: - return permissions_attachments_parent_article() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_ATTACHMENTS_PARENT_ARTICLE_PARENT_CONTAINER: - return permissions_attachments_parent_article_parent_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_ATTACHMENTS_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER: - return permissions_attachments_parent_article_parent_container_root_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_ATTACHMENTS_PARENT_ARTICLE_ROOT_CONTAINER: - return permissions_attachments_parent_article_root_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_ATTACHMENTS_PARENT_CONTAINER: - return permissions_attachments_parent_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_ATTACHMENTS_PARENT_CONTAINER_ROOT_CONTAINER: - return permissions_attachments_parent_container_root_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_ATTACHMENTS_ROOT_CONTAINER: - return permissions_attachments_root_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_AUTHOR: - return permissions_author() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_AUTHOR_LAST_EDITED_BY: - return permissions_author_last_edited_by() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE: - return permissions_author_last_edited_by_parent_article() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER: - return permissions_author_last_edited_by_parent_article_parent_container() - if ( - self - is ArticlesRetrieveRequestExpand.PERMISSIONS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER - ): - return permissions_author_last_edited_by_parent_article_parent_container_root_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_ROOT_CONTAINER: - return permissions_author_last_edited_by_parent_article_root_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_AUTHOR_LAST_EDITED_BY_PARENT_CONTAINER: - return permissions_author_last_edited_by_parent_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_AUTHOR_LAST_EDITED_BY_PARENT_CONTAINER_ROOT_CONTAINER: - return permissions_author_last_edited_by_parent_container_root_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_AUTHOR_LAST_EDITED_BY_ROOT_CONTAINER: - return permissions_author_last_edited_by_root_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_AUTHOR_PARENT_ARTICLE: - return permissions_author_parent_article() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_AUTHOR_PARENT_ARTICLE_PARENT_CONTAINER: - return permissions_author_parent_article_parent_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_AUTHOR_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER: - return permissions_author_parent_article_parent_container_root_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_AUTHOR_PARENT_ARTICLE_ROOT_CONTAINER: - return permissions_author_parent_article_root_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_AUTHOR_PARENT_CONTAINER: - return permissions_author_parent_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_AUTHOR_PARENT_CONTAINER_ROOT_CONTAINER: - return permissions_author_parent_container_root_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_AUTHOR_ROOT_CONTAINER: - return permissions_author_root_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_LAST_EDITED_BY: - return permissions_last_edited_by() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_LAST_EDITED_BY_PARENT_ARTICLE: - return permissions_last_edited_by_parent_article() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER: - return permissions_last_edited_by_parent_article_parent_container() - if ( - self - is ArticlesRetrieveRequestExpand.PERMISSIONS_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER - ): - return permissions_last_edited_by_parent_article_parent_container_root_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_LAST_EDITED_BY_PARENT_ARTICLE_ROOT_CONTAINER: - return permissions_last_edited_by_parent_article_root_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_LAST_EDITED_BY_PARENT_CONTAINER: - return permissions_last_edited_by_parent_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_LAST_EDITED_BY_PARENT_CONTAINER_ROOT_CONTAINER: - return permissions_last_edited_by_parent_container_root_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_LAST_EDITED_BY_ROOT_CONTAINER: - return permissions_last_edited_by_root_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_PARENT_ARTICLE: - return permissions_parent_article() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_PARENT_ARTICLE_PARENT_CONTAINER: - return permissions_parent_article_parent_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER: - return permissions_parent_article_parent_container_root_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_PARENT_ARTICLE_ROOT_CONTAINER: - return permissions_parent_article_root_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_PARENT_CONTAINER: - return permissions_parent_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_PARENT_CONTAINER_ROOT_CONTAINER: - return permissions_parent_container_root_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_ROOT_CONTAINER: - return permissions_root_container() - if self is ArticlesRetrieveRequestExpand.ROOT_CONTAINER: - return root_container() diff --git a/src/merge/resources/knowledgebase/resources/async_passthrough/__init__.py b/src/merge/resources/knowledgebase/resources/async_passthrough/__init__.py deleted file mode 100644 index 375c7953..00000000 --- a/src/merge/resources/knowledgebase/resources/async_passthrough/__init__.py +++ /dev/null @@ -1,32 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - -import typing -from importlib import import_module - -if typing.TYPE_CHECKING: - from .types import AsyncPassthroughRetrieveResponse -_dynamic_imports: typing.Dict[str, str] = {"AsyncPassthroughRetrieveResponse": ".types"} - - -def __getattr__(attr_name: str) -> typing.Any: - module_name = _dynamic_imports.get(attr_name) - if module_name is None: - raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") - try: - module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result - except ImportError as e: - raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e - except AttributeError as e: - raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e - - -def __dir__(): - lazy_attrs = list(_dynamic_imports.keys()) - return sorted(lazy_attrs) - - -__all__ = ["AsyncPassthroughRetrieveResponse"] diff --git a/src/merge/resources/knowledgebase/resources/async_passthrough/client.py b/src/merge/resources/knowledgebase/resources/async_passthrough/client.py deleted file mode 100644 index 72373917..00000000 --- a/src/merge/resources/knowledgebase/resources/async_passthrough/client.py +++ /dev/null @@ -1,201 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.async_passthrough_reciept import AsyncPassthroughReciept -from ...types.data_passthrough_request import DataPassthroughRequest -from .raw_client import AsyncRawAsyncPassthroughClient, RawAsyncPassthroughClient -from .types.async_passthrough_retrieve_response import AsyncPassthroughRetrieveResponse - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class AsyncPassthroughClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawAsyncPassthroughClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawAsyncPassthroughClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawAsyncPassthroughClient - """ - return self._raw_client - - def create( - self, *, request: DataPassthroughRequest, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncPassthroughReciept: - """ - Asynchronously pull data from an endpoint not currently supported by Merge. - - Parameters - ---------- - request : DataPassthroughRequest - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncPassthroughReciept - - - Examples - -------- - from merge import Merge - from merge.resources.knowledgebase import DataPassthroughRequest, MethodEnum - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.knowledgebase.async_passthrough.create( - request=DataPassthroughRequest( - method=MethodEnum.GET, - path="/scooters", - ), - ) - """ - _response = self._raw_client.create(request=request, request_options=request_options) - return _response.data - - def retrieve( - self, async_passthrough_receipt_id: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncPassthroughRetrieveResponse: - """ - Retrieves data from earlier async-passthrough POST request - - Parameters - ---------- - async_passthrough_receipt_id : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncPassthroughRetrieveResponse - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.knowledgebase.async_passthrough.retrieve( - async_passthrough_receipt_id="async_passthrough_receipt_id", - ) - """ - _response = self._raw_client.retrieve(async_passthrough_receipt_id, request_options=request_options) - return _response.data - - -class AsyncAsyncPassthroughClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawAsyncPassthroughClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawAsyncPassthroughClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawAsyncPassthroughClient - """ - return self._raw_client - - async def create( - self, *, request: DataPassthroughRequest, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncPassthroughReciept: - """ - Asynchronously pull data from an endpoint not currently supported by Merge. - - Parameters - ---------- - request : DataPassthroughRequest - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncPassthroughReciept - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - from merge.resources.knowledgebase import DataPassthroughRequest, MethodEnum - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.knowledgebase.async_passthrough.create( - request=DataPassthroughRequest( - method=MethodEnum.GET, - path="/scooters", - ), - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.create(request=request, request_options=request_options) - return _response.data - - async def retrieve( - self, async_passthrough_receipt_id: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncPassthroughRetrieveResponse: - """ - Retrieves data from earlier async-passthrough POST request - - Parameters - ---------- - async_passthrough_receipt_id : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncPassthroughRetrieveResponse - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.knowledgebase.async_passthrough.retrieve( - async_passthrough_receipt_id="async_passthrough_receipt_id", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.retrieve(async_passthrough_receipt_id, request_options=request_options) - return _response.data diff --git a/src/merge/resources/knowledgebase/resources/async_passthrough/raw_client.py b/src/merge/resources/knowledgebase/resources/async_passthrough/raw_client.py deleted file mode 100644 index 1edf795f..00000000 --- a/src/merge/resources/knowledgebase/resources/async_passthrough/raw_client.py +++ /dev/null @@ -1,189 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.jsonable_encoder import jsonable_encoder -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.async_passthrough_reciept import AsyncPassthroughReciept -from ...types.data_passthrough_request import DataPassthroughRequest -from .types.async_passthrough_retrieve_response import AsyncPassthroughRetrieveResponse - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class RawAsyncPassthroughClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def create( - self, *, request: DataPassthroughRequest, request_options: typing.Optional[RequestOptions] = None - ) -> HttpResponse[AsyncPassthroughReciept]: - """ - Asynchronously pull data from an endpoint not currently supported by Merge. - - Parameters - ---------- - request : DataPassthroughRequest - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[AsyncPassthroughReciept] - - """ - _response = self._client_wrapper.httpx_client.request( - "knowledgebase/v1/async-passthrough", - method="POST", - json=request, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - AsyncPassthroughReciept, - construct_type( - type_=AsyncPassthroughReciept, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def retrieve( - self, async_passthrough_receipt_id: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> HttpResponse[AsyncPassthroughRetrieveResponse]: - """ - Retrieves data from earlier async-passthrough POST request - - Parameters - ---------- - async_passthrough_receipt_id : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[AsyncPassthroughRetrieveResponse] - - """ - _response = self._client_wrapper.httpx_client.request( - f"knowledgebase/v1/async-passthrough/{jsonable_encoder(async_passthrough_receipt_id)}", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - AsyncPassthroughRetrieveResponse, - construct_type( - type_=AsyncPassthroughRetrieveResponse, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawAsyncPassthroughClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def create( - self, *, request: DataPassthroughRequest, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncHttpResponse[AsyncPassthroughReciept]: - """ - Asynchronously pull data from an endpoint not currently supported by Merge. - - Parameters - ---------- - request : DataPassthroughRequest - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[AsyncPassthroughReciept] - - """ - _response = await self._client_wrapper.httpx_client.request( - "knowledgebase/v1/async-passthrough", - method="POST", - json=request, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - AsyncPassthroughReciept, - construct_type( - type_=AsyncPassthroughReciept, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def retrieve( - self, async_passthrough_receipt_id: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncHttpResponse[AsyncPassthroughRetrieveResponse]: - """ - Retrieves data from earlier async-passthrough POST request - - Parameters - ---------- - async_passthrough_receipt_id : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[AsyncPassthroughRetrieveResponse] - - """ - _response = await self._client_wrapper.httpx_client.request( - f"knowledgebase/v1/async-passthrough/{jsonable_encoder(async_passthrough_receipt_id)}", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - AsyncPassthroughRetrieveResponse, - construct_type( - type_=AsyncPassthroughRetrieveResponse, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/knowledgebase/resources/async_passthrough/types/__init__.py b/src/merge/resources/knowledgebase/resources/async_passthrough/types/__init__.py deleted file mode 100644 index f6e9bec9..00000000 --- a/src/merge/resources/knowledgebase/resources/async_passthrough/types/__init__.py +++ /dev/null @@ -1,32 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - -import typing -from importlib import import_module - -if typing.TYPE_CHECKING: - from .async_passthrough_retrieve_response import AsyncPassthroughRetrieveResponse -_dynamic_imports: typing.Dict[str, str] = {"AsyncPassthroughRetrieveResponse": ".async_passthrough_retrieve_response"} - - -def __getattr__(attr_name: str) -> typing.Any: - module_name = _dynamic_imports.get(attr_name) - if module_name is None: - raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") - try: - module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result - except ImportError as e: - raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e - except AttributeError as e: - raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e - - -def __dir__(): - lazy_attrs = list(_dynamic_imports.keys()) - return sorted(lazy_attrs) - - -__all__ = ["AsyncPassthroughRetrieveResponse"] diff --git a/src/merge/resources/knowledgebase/resources/async_passthrough/types/async_passthrough_retrieve_response.py b/src/merge/resources/knowledgebase/resources/async_passthrough/types/async_passthrough_retrieve_response.py deleted file mode 100644 index f8f87c18..00000000 --- a/src/merge/resources/knowledgebase/resources/async_passthrough/types/async_passthrough_retrieve_response.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from ....types.remote_response import RemoteResponse - -AsyncPassthroughRetrieveResponse = typing.Union[RemoteResponse, str] diff --git a/src/merge/resources/knowledgebase/resources/attachments/__init__.py b/src/merge/resources/knowledgebase/resources/attachments/__init__.py deleted file mode 100644 index 5cde0202..00000000 --- a/src/merge/resources/knowledgebase/resources/attachments/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - diff --git a/src/merge/resources/knowledgebase/resources/attachments/client.py b/src/merge/resources/knowledgebase/resources/attachments/client.py deleted file mode 100644 index 8998590d..00000000 --- a/src/merge/resources/knowledgebase/resources/attachments/client.py +++ /dev/null @@ -1,367 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.attachment import Attachment -from ...types.paginated_attachment_list import PaginatedAttachmentList -from .raw_client import AsyncRawAttachmentsClient, RawAttachmentsClient - - -class AttachmentsClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawAttachmentsClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawAttachmentsClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawAttachmentsClient - """ - return self._raw_client - - def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAttachmentList: - """ - Returns a list of `Attachment` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedAttachmentList - - - Examples - -------- - import datetime - - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.knowledgebase.attachments.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", - ) - """ - _response = self._raw_client.list( - created_after=created_after, - created_before=created_before, - cursor=cursor, - include_deleted_data=include_deleted_data, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - modified_after=modified_after, - modified_before=modified_before, - page_size=page_size, - remote_id=remote_id, - request_options=request_options, - ) - return _response.data - - def retrieve( - self, - id: str, - *, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> Attachment: - """ - Returns an `Attachment` object with the given `id`. - - Parameters - ---------- - id : str - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - Attachment - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.knowledgebase.attachments.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, - ) - """ - _response = self._raw_client.retrieve( - id, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - request_options=request_options, - ) - return _response.data - - -class AsyncAttachmentsClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawAttachmentsClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawAttachmentsClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawAttachmentsClient - """ - return self._raw_client - - async def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAttachmentList: - """ - Returns a list of `Attachment` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedAttachmentList - - - Examples - -------- - import asyncio - import datetime - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.knowledgebase.attachments.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.list( - created_after=created_after, - created_before=created_before, - cursor=cursor, - include_deleted_data=include_deleted_data, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - modified_after=modified_after, - modified_before=modified_before, - page_size=page_size, - remote_id=remote_id, - request_options=request_options, - ) - return _response.data - - async def retrieve( - self, - id: str, - *, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> Attachment: - """ - Returns an `Attachment` object with the given `id`. - - Parameters - ---------- - id : str - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - Attachment - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.knowledgebase.attachments.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.retrieve( - id, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - request_options=request_options, - ) - return _response.data diff --git a/src/merge/resources/knowledgebase/resources/attachments/raw_client.py b/src/merge/resources/knowledgebase/resources/attachments/raw_client.py deleted file mode 100644 index 1da00a24..00000000 --- a/src/merge/resources/knowledgebase/resources/attachments/raw_client.py +++ /dev/null @@ -1,311 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.datetime_utils import serialize_datetime -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.jsonable_encoder import jsonable_encoder -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.attachment import Attachment -from ...types.paginated_attachment_list import PaginatedAttachmentList - - -class RawAttachmentsClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedAttachmentList]: - """ - Returns a list of `Attachment` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[PaginatedAttachmentList] - - """ - _response = self._client_wrapper.httpx_client.request( - "knowledgebase/v1/attachments", - method="GET", - params={ - "created_after": serialize_datetime(created_after) if created_after is not None else None, - "created_before": serialize_datetime(created_before) if created_before is not None else None, - "cursor": cursor, - "include_deleted_data": include_deleted_data, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - "modified_after": serialize_datetime(modified_after) if modified_after is not None else None, - "modified_before": serialize_datetime(modified_before) if modified_before is not None else None, - "page_size": page_size, - "remote_id": remote_id, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedAttachmentList, - construct_type( - type_=PaginatedAttachmentList, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def retrieve( - self, - id: str, - *, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[Attachment]: - """ - Returns an `Attachment` object with the given `id`. - - Parameters - ---------- - id : str - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[Attachment] - - """ - _response = self._client_wrapper.httpx_client.request( - f"knowledgebase/v1/attachments/{jsonable_encoder(id)}", - method="GET", - params={ - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - Attachment, - construct_type( - type_=Attachment, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawAttachmentsClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedAttachmentList]: - """ - Returns a list of `Attachment` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[PaginatedAttachmentList] - - """ - _response = await self._client_wrapper.httpx_client.request( - "knowledgebase/v1/attachments", - method="GET", - params={ - "created_after": serialize_datetime(created_after) if created_after is not None else None, - "created_before": serialize_datetime(created_before) if created_before is not None else None, - "cursor": cursor, - "include_deleted_data": include_deleted_data, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - "modified_after": serialize_datetime(modified_after) if modified_after is not None else None, - "modified_before": serialize_datetime(modified_before) if modified_before is not None else None, - "page_size": page_size, - "remote_id": remote_id, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedAttachmentList, - construct_type( - type_=PaginatedAttachmentList, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def retrieve( - self, - id: str, - *, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[Attachment]: - """ - Returns an `Attachment` object with the given `id`. - - Parameters - ---------- - id : str - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[Attachment] - - """ - _response = await self._client_wrapper.httpx_client.request( - f"knowledgebase/v1/attachments/{jsonable_encoder(id)}", - method="GET", - params={ - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - Attachment, - construct_type( - type_=Attachment, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/knowledgebase/resources/audit_trail/__init__.py b/src/merge/resources/knowledgebase/resources/audit_trail/__init__.py deleted file mode 100644 index 5cde0202..00000000 --- a/src/merge/resources/knowledgebase/resources/audit_trail/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - diff --git a/src/merge/resources/knowledgebase/resources/audit_trail/client.py b/src/merge/resources/knowledgebase/resources/audit_trail/client.py deleted file mode 100644 index 3f0ab341..00000000 --- a/src/merge/resources/knowledgebase/resources/audit_trail/client.py +++ /dev/null @@ -1,188 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.paginated_audit_log_event_list import PaginatedAuditLogEventList -from .raw_client import AsyncRawAuditTrailClient, RawAuditTrailClient - - -class AuditTrailClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawAuditTrailClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawAuditTrailClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawAuditTrailClient - """ - return self._raw_client - - def list( - self, - *, - cursor: typing.Optional[str] = None, - end_date: typing.Optional[str] = None, - event_type: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - start_date: typing.Optional[str] = None, - user_email: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAuditLogEventList: - """ - Gets a list of audit trail events. - - Parameters - ---------- - cursor : typing.Optional[str] - The pagination cursor value. - - end_date : typing.Optional[str] - If included, will only include audit trail events that occurred before this time - - event_type : typing.Optional[str] - If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` - - page_size : typing.Optional[int] - Number of results to return per page. - - start_date : typing.Optional[str] - If included, will only include audit trail events that occurred after this time - - user_email : typing.Optional[str] - If provided, this will return events associated with the specified user email. Please note that the email address reflects the user's email at the time of the event, and may not be their current email. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedAuditLogEventList - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.knowledgebase.audit_trail.list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_date="end_date", - event_type="event_type", - page_size=1, - start_date="start_date", - user_email="user_email", - ) - """ - _response = self._raw_client.list( - cursor=cursor, - end_date=end_date, - event_type=event_type, - page_size=page_size, - start_date=start_date, - user_email=user_email, - request_options=request_options, - ) - return _response.data - - -class AsyncAuditTrailClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawAuditTrailClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawAuditTrailClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawAuditTrailClient - """ - return self._raw_client - - async def list( - self, - *, - cursor: typing.Optional[str] = None, - end_date: typing.Optional[str] = None, - event_type: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - start_date: typing.Optional[str] = None, - user_email: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAuditLogEventList: - """ - Gets a list of audit trail events. - - Parameters - ---------- - cursor : typing.Optional[str] - The pagination cursor value. - - end_date : typing.Optional[str] - If included, will only include audit trail events that occurred before this time - - event_type : typing.Optional[str] - If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` - - page_size : typing.Optional[int] - Number of results to return per page. - - start_date : typing.Optional[str] - If included, will only include audit trail events that occurred after this time - - user_email : typing.Optional[str] - If provided, this will return events associated with the specified user email. Please note that the email address reflects the user's email at the time of the event, and may not be their current email. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedAuditLogEventList - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.knowledgebase.audit_trail.list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_date="end_date", - event_type="event_type", - page_size=1, - start_date="start_date", - user_email="user_email", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.list( - cursor=cursor, - end_date=end_date, - event_type=event_type, - page_size=page_size, - start_date=start_date, - user_email=user_email, - request_options=request_options, - ) - return _response.data diff --git a/src/merge/resources/knowledgebase/resources/audit_trail/raw_client.py b/src/merge/resources/knowledgebase/resources/audit_trail/raw_client.py deleted file mode 100644 index d130a2a1..00000000 --- a/src/merge/resources/knowledgebase/resources/audit_trail/raw_client.py +++ /dev/null @@ -1,161 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.paginated_audit_log_event_list import PaginatedAuditLogEventList - - -class RawAuditTrailClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def list( - self, - *, - cursor: typing.Optional[str] = None, - end_date: typing.Optional[str] = None, - event_type: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - start_date: typing.Optional[str] = None, - user_email: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedAuditLogEventList]: - """ - Gets a list of audit trail events. - - Parameters - ---------- - cursor : typing.Optional[str] - The pagination cursor value. - - end_date : typing.Optional[str] - If included, will only include audit trail events that occurred before this time - - event_type : typing.Optional[str] - If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` - - page_size : typing.Optional[int] - Number of results to return per page. - - start_date : typing.Optional[str] - If included, will only include audit trail events that occurred after this time - - user_email : typing.Optional[str] - If provided, this will return events associated with the specified user email. Please note that the email address reflects the user's email at the time of the event, and may not be their current email. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[PaginatedAuditLogEventList] - - """ - _response = self._client_wrapper.httpx_client.request( - "knowledgebase/v1/audit-trail", - method="GET", - params={ - "cursor": cursor, - "end_date": end_date, - "event_type": event_type, - "page_size": page_size, - "start_date": start_date, - "user_email": user_email, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedAuditLogEventList, - construct_type( - type_=PaginatedAuditLogEventList, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawAuditTrailClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def list( - self, - *, - cursor: typing.Optional[str] = None, - end_date: typing.Optional[str] = None, - event_type: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - start_date: typing.Optional[str] = None, - user_email: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedAuditLogEventList]: - """ - Gets a list of audit trail events. - - Parameters - ---------- - cursor : typing.Optional[str] - The pagination cursor value. - - end_date : typing.Optional[str] - If included, will only include audit trail events that occurred before this time - - event_type : typing.Optional[str] - If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` - - page_size : typing.Optional[int] - Number of results to return per page. - - start_date : typing.Optional[str] - If included, will only include audit trail events that occurred after this time - - user_email : typing.Optional[str] - If provided, this will return events associated with the specified user email. Please note that the email address reflects the user's email at the time of the event, and may not be their current email. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[PaginatedAuditLogEventList] - - """ - _response = await self._client_wrapper.httpx_client.request( - "knowledgebase/v1/audit-trail", - method="GET", - params={ - "cursor": cursor, - "end_date": end_date, - "event_type": event_type, - "page_size": page_size, - "start_date": start_date, - "user_email": user_email, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedAuditLogEventList, - construct_type( - type_=PaginatedAuditLogEventList, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/knowledgebase/resources/available_actions/__init__.py b/src/merge/resources/knowledgebase/resources/available_actions/__init__.py deleted file mode 100644 index 5cde0202..00000000 --- a/src/merge/resources/knowledgebase/resources/available_actions/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - diff --git a/src/merge/resources/knowledgebase/resources/available_actions/client.py b/src/merge/resources/knowledgebase/resources/available_actions/client.py deleted file mode 100644 index 3f5a7a95..00000000 --- a/src/merge/resources/knowledgebase/resources/available_actions/client.py +++ /dev/null @@ -1,102 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.available_actions import AvailableActions -from .raw_client import AsyncRawAvailableActionsClient, RawAvailableActionsClient - - -class AvailableActionsClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawAvailableActionsClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawAvailableActionsClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawAvailableActionsClient - """ - return self._raw_client - - def retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> AvailableActions: - """ - Returns a list of models and actions available for an account. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AvailableActions - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.knowledgebase.available_actions.retrieve() - """ - _response = self._raw_client.retrieve(request_options=request_options) - return _response.data - - -class AsyncAvailableActionsClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawAvailableActionsClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawAvailableActionsClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawAvailableActionsClient - """ - return self._raw_client - - async def retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> AvailableActions: - """ - Returns a list of models and actions available for an account. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AvailableActions - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.knowledgebase.available_actions.retrieve() - - - asyncio.run(main()) - """ - _response = await self._raw_client.retrieve(request_options=request_options) - return _response.data diff --git a/src/merge/resources/knowledgebase/resources/available_actions/raw_client.py b/src/merge/resources/knowledgebase/resources/available_actions/raw_client.py deleted file mode 100644 index 9ea7770d..00000000 --- a/src/merge/resources/knowledgebase/resources/available_actions/raw_client.py +++ /dev/null @@ -1,91 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.available_actions import AvailableActions - - -class RawAvailableActionsClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> HttpResponse[AvailableActions]: - """ - Returns a list of models and actions available for an account. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[AvailableActions] - - """ - _response = self._client_wrapper.httpx_client.request( - "knowledgebase/v1/available-actions", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - AvailableActions, - construct_type( - type_=AvailableActions, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawAvailableActionsClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def retrieve( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncHttpResponse[AvailableActions]: - """ - Returns a list of models and actions available for an account. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[AvailableActions] - - """ - _response = await self._client_wrapper.httpx_client.request( - "knowledgebase/v1/available-actions", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - AvailableActions, - construct_type( - type_=AvailableActions, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/knowledgebase/resources/containers/__init__.py b/src/merge/resources/knowledgebase/resources/containers/__init__.py deleted file mode 100644 index 6ccf6d9d..00000000 --- a/src/merge/resources/knowledgebase/resources/containers/__init__.py +++ /dev/null @@ -1,36 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - -import typing -from importlib import import_module - -if typing.TYPE_CHECKING: - from .types import ContainersListRequestExpand, ContainersListRequestType, ContainersRetrieveRequestExpand -_dynamic_imports: typing.Dict[str, str] = { - "ContainersListRequestExpand": ".types", - "ContainersListRequestType": ".types", - "ContainersRetrieveRequestExpand": ".types", -} - - -def __getattr__(attr_name: str) -> typing.Any: - module_name = _dynamic_imports.get(attr_name) - if module_name is None: - raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") - try: - module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result - except ImportError as e: - raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e - except AttributeError as e: - raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e - - -def __dir__(): - lazy_attrs = list(_dynamic_imports.keys()) - return sorted(lazy_attrs) - - -__all__ = ["ContainersListRequestExpand", "ContainersListRequestType", "ContainersRetrieveRequestExpand"] diff --git a/src/merge/resources/knowledgebase/resources/containers/client.py b/src/merge/resources/knowledgebase/resources/containers/client.py deleted file mode 100644 index 74e798c0..00000000 --- a/src/merge/resources/knowledgebase/resources/containers/client.py +++ /dev/null @@ -1,444 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.container import Container -from ...types.paginated_container_list import PaginatedContainerList -from .raw_client import AsyncRawContainersClient, RawContainersClient -from .types.containers_list_request_expand import ContainersListRequestExpand -from .types.containers_list_request_type import ContainersListRequestType -from .types.containers_retrieve_request_expand import ContainersRetrieveRequestExpand - - -class ContainersClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawContainersClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawContainersClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawContainersClient - """ - return self._raw_client - - def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - expand: typing.Optional[ContainersListRequestExpand] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - parent_article_id: typing.Optional[str] = None, - parent_container_id: typing.Optional[str] = None, - remote_id: typing.Optional[str] = None, - type: typing.Optional[ContainersListRequestType] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedContainerList: - """ - Returns a list of `Container` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - expand : typing.Optional[ContainersListRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - parent_article_id : typing.Optional[str] - If provided, will only return sub containers of the parent_article_id. - - parent_container_id : typing.Optional[str] - If provided, will only return sub containers of the parent_container_id. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - type : typing.Optional[ContainersListRequestType] - If provided, will only return containers of the given type. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedContainerList - - - Examples - -------- - import datetime - - from merge import Merge - from merge.resources.knowledgebase.resources.containers import ( - ContainersListRequestExpand, - ContainersListRequestType, - ) - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.knowledgebase.containers.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=ContainersListRequestExpand.PARENT_ARTICLE, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - parent_article_id="parent_article_id", - parent_container_id="parent_container_id", - remote_id="remote_id", - type=ContainersListRequestType.EMPTY, - ) - """ - _response = self._raw_client.list( - created_after=created_after, - created_before=created_before, - cursor=cursor, - expand=expand, - include_deleted_data=include_deleted_data, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - modified_after=modified_after, - modified_before=modified_before, - page_size=page_size, - parent_article_id=parent_article_id, - parent_container_id=parent_container_id, - remote_id=remote_id, - type=type, - request_options=request_options, - ) - return _response.data - - def retrieve( - self, - id: str, - *, - expand: typing.Optional[ContainersRetrieveRequestExpand] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> Container: - """ - Returns a `Container` object with the given `id`. - - Parameters - ---------- - id : str - - expand : typing.Optional[ContainersRetrieveRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - Container - - - Examples - -------- - from merge import Merge - from merge.resources.knowledgebase.resources.containers import ( - ContainersRetrieveRequestExpand, - ) - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.knowledgebase.containers.retrieve( - id="id", - expand=ContainersRetrieveRequestExpand.PARENT_ARTICLE, - include_remote_data=True, - include_shell_data=True, - ) - """ - _response = self._raw_client.retrieve( - id, - expand=expand, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - request_options=request_options, - ) - return _response.data - - -class AsyncContainersClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawContainersClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawContainersClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawContainersClient - """ - return self._raw_client - - async def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - expand: typing.Optional[ContainersListRequestExpand] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - parent_article_id: typing.Optional[str] = None, - parent_container_id: typing.Optional[str] = None, - remote_id: typing.Optional[str] = None, - type: typing.Optional[ContainersListRequestType] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedContainerList: - """ - Returns a list of `Container` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - expand : typing.Optional[ContainersListRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - parent_article_id : typing.Optional[str] - If provided, will only return sub containers of the parent_article_id. - - parent_container_id : typing.Optional[str] - If provided, will only return sub containers of the parent_container_id. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - type : typing.Optional[ContainersListRequestType] - If provided, will only return containers of the given type. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedContainerList - - - Examples - -------- - import asyncio - import datetime - - from merge import AsyncMerge - from merge.resources.knowledgebase.resources.containers import ( - ContainersListRequestExpand, - ContainersListRequestType, - ) - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.knowledgebase.containers.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=ContainersListRequestExpand.PARENT_ARTICLE, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - parent_article_id="parent_article_id", - parent_container_id="parent_container_id", - remote_id="remote_id", - type=ContainersListRequestType.EMPTY, - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.list( - created_after=created_after, - created_before=created_before, - cursor=cursor, - expand=expand, - include_deleted_data=include_deleted_data, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - modified_after=modified_after, - modified_before=modified_before, - page_size=page_size, - parent_article_id=parent_article_id, - parent_container_id=parent_container_id, - remote_id=remote_id, - type=type, - request_options=request_options, - ) - return _response.data - - async def retrieve( - self, - id: str, - *, - expand: typing.Optional[ContainersRetrieveRequestExpand] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> Container: - """ - Returns a `Container` object with the given `id`. - - Parameters - ---------- - id : str - - expand : typing.Optional[ContainersRetrieveRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - Container - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - from merge.resources.knowledgebase.resources.containers import ( - ContainersRetrieveRequestExpand, - ) - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.knowledgebase.containers.retrieve( - id="id", - expand=ContainersRetrieveRequestExpand.PARENT_ARTICLE, - include_remote_data=True, - include_shell_data=True, - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.retrieve( - id, - expand=expand, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - request_options=request_options, - ) - return _response.data diff --git a/src/merge/resources/knowledgebase/resources/containers/raw_client.py b/src/merge/resources/knowledgebase/resources/containers/raw_client.py deleted file mode 100644 index 76b1a68b..00000000 --- a/src/merge/resources/knowledgebase/resources/containers/raw_client.py +++ /dev/null @@ -1,364 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.datetime_utils import serialize_datetime -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.jsonable_encoder import jsonable_encoder -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.container import Container -from ...types.paginated_container_list import PaginatedContainerList -from .types.containers_list_request_expand import ContainersListRequestExpand -from .types.containers_list_request_type import ContainersListRequestType -from .types.containers_retrieve_request_expand import ContainersRetrieveRequestExpand - - -class RawContainersClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - expand: typing.Optional[ContainersListRequestExpand] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - parent_article_id: typing.Optional[str] = None, - parent_container_id: typing.Optional[str] = None, - remote_id: typing.Optional[str] = None, - type: typing.Optional[ContainersListRequestType] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedContainerList]: - """ - Returns a list of `Container` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - expand : typing.Optional[ContainersListRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - parent_article_id : typing.Optional[str] - If provided, will only return sub containers of the parent_article_id. - - parent_container_id : typing.Optional[str] - If provided, will only return sub containers of the parent_container_id. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - type : typing.Optional[ContainersListRequestType] - If provided, will only return containers of the given type. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[PaginatedContainerList] - - """ - _response = self._client_wrapper.httpx_client.request( - "knowledgebase/v1/containers", - method="GET", - params={ - "created_after": serialize_datetime(created_after) if created_after is not None else None, - "created_before": serialize_datetime(created_before) if created_before is not None else None, - "cursor": cursor, - "expand": expand, - "include_deleted_data": include_deleted_data, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - "modified_after": serialize_datetime(modified_after) if modified_after is not None else None, - "modified_before": serialize_datetime(modified_before) if modified_before is not None else None, - "page_size": page_size, - "parent_article_id": parent_article_id, - "parent_container_id": parent_container_id, - "remote_id": remote_id, - "type": type, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedContainerList, - construct_type( - type_=PaginatedContainerList, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def retrieve( - self, - id: str, - *, - expand: typing.Optional[ContainersRetrieveRequestExpand] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[Container]: - """ - Returns a `Container` object with the given `id`. - - Parameters - ---------- - id : str - - expand : typing.Optional[ContainersRetrieveRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[Container] - - """ - _response = self._client_wrapper.httpx_client.request( - f"knowledgebase/v1/containers/{jsonable_encoder(id)}", - method="GET", - params={ - "expand": expand, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - Container, - construct_type( - type_=Container, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawContainersClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - expand: typing.Optional[ContainersListRequestExpand] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - parent_article_id: typing.Optional[str] = None, - parent_container_id: typing.Optional[str] = None, - remote_id: typing.Optional[str] = None, - type: typing.Optional[ContainersListRequestType] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedContainerList]: - """ - Returns a list of `Container` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - expand : typing.Optional[ContainersListRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - parent_article_id : typing.Optional[str] - If provided, will only return sub containers of the parent_article_id. - - parent_container_id : typing.Optional[str] - If provided, will only return sub containers of the parent_container_id. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - type : typing.Optional[ContainersListRequestType] - If provided, will only return containers of the given type. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[PaginatedContainerList] - - """ - _response = await self._client_wrapper.httpx_client.request( - "knowledgebase/v1/containers", - method="GET", - params={ - "created_after": serialize_datetime(created_after) if created_after is not None else None, - "created_before": serialize_datetime(created_before) if created_before is not None else None, - "cursor": cursor, - "expand": expand, - "include_deleted_data": include_deleted_data, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - "modified_after": serialize_datetime(modified_after) if modified_after is not None else None, - "modified_before": serialize_datetime(modified_before) if modified_before is not None else None, - "page_size": page_size, - "parent_article_id": parent_article_id, - "parent_container_id": parent_container_id, - "remote_id": remote_id, - "type": type, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedContainerList, - construct_type( - type_=PaginatedContainerList, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def retrieve( - self, - id: str, - *, - expand: typing.Optional[ContainersRetrieveRequestExpand] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[Container]: - """ - Returns a `Container` object with the given `id`. - - Parameters - ---------- - id : str - - expand : typing.Optional[ContainersRetrieveRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[Container] - - """ - _response = await self._client_wrapper.httpx_client.request( - f"knowledgebase/v1/containers/{jsonable_encoder(id)}", - method="GET", - params={ - "expand": expand, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - Container, - construct_type( - type_=Container, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/knowledgebase/resources/containers/types/__init__.py b/src/merge/resources/knowledgebase/resources/containers/types/__init__.py deleted file mode 100644 index 5bbf7132..00000000 --- a/src/merge/resources/knowledgebase/resources/containers/types/__init__.py +++ /dev/null @@ -1,38 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - -import typing -from importlib import import_module - -if typing.TYPE_CHECKING: - from .containers_list_request_expand import ContainersListRequestExpand - from .containers_list_request_type import ContainersListRequestType - from .containers_retrieve_request_expand import ContainersRetrieveRequestExpand -_dynamic_imports: typing.Dict[str, str] = { - "ContainersListRequestExpand": ".containers_list_request_expand", - "ContainersListRequestType": ".containers_list_request_type", - "ContainersRetrieveRequestExpand": ".containers_retrieve_request_expand", -} - - -def __getattr__(attr_name: str) -> typing.Any: - module_name = _dynamic_imports.get(attr_name) - if module_name is None: - raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") - try: - module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result - except ImportError as e: - raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e - except AttributeError as e: - raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e - - -def __dir__(): - lazy_attrs = list(_dynamic_imports.keys()) - return sorted(lazy_attrs) - - -__all__ = ["ContainersListRequestExpand", "ContainersListRequestType", "ContainersRetrieveRequestExpand"] diff --git a/src/merge/resources/knowledgebase/resources/containers/types/containers_list_request_expand.py b/src/merge/resources/knowledgebase/resources/containers/types/containers_list_request_expand.py deleted file mode 100644 index 49c7be3a..00000000 --- a/src/merge/resources/knowledgebase/resources/containers/types/containers_list_request_expand.py +++ /dev/null @@ -1,41 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class ContainersListRequestExpand(str, enum.Enum): - PARENT_ARTICLE = "parent_article" - PARENT_ARTICLE_PARENT_CONTAINER = "parent_article,parent_container" - PARENT_CONTAINER = "parent_container" - PERMISSIONS = "permissions" - PERMISSIONS_PARENT_ARTICLE = "permissions,parent_article" - PERMISSIONS_PARENT_ARTICLE_PARENT_CONTAINER = "permissions,parent_article,parent_container" - PERMISSIONS_PARENT_CONTAINER = "permissions,parent_container" - - def visit( - self, - parent_article: typing.Callable[[], T_Result], - parent_article_parent_container: typing.Callable[[], T_Result], - parent_container: typing.Callable[[], T_Result], - permissions: typing.Callable[[], T_Result], - permissions_parent_article: typing.Callable[[], T_Result], - permissions_parent_article_parent_container: typing.Callable[[], T_Result], - permissions_parent_container: typing.Callable[[], T_Result], - ) -> T_Result: - if self is ContainersListRequestExpand.PARENT_ARTICLE: - return parent_article() - if self is ContainersListRequestExpand.PARENT_ARTICLE_PARENT_CONTAINER: - return parent_article_parent_container() - if self is ContainersListRequestExpand.PARENT_CONTAINER: - return parent_container() - if self is ContainersListRequestExpand.PERMISSIONS: - return permissions() - if self is ContainersListRequestExpand.PERMISSIONS_PARENT_ARTICLE: - return permissions_parent_article() - if self is ContainersListRequestExpand.PERMISSIONS_PARENT_ARTICLE_PARENT_CONTAINER: - return permissions_parent_article_parent_container() - if self is ContainersListRequestExpand.PERMISSIONS_PARENT_CONTAINER: - return permissions_parent_container() diff --git a/src/merge/resources/knowledgebase/resources/containers/types/containers_list_request_type.py b/src/merge/resources/knowledgebase/resources/containers/types/containers_list_request_type.py deleted file mode 100644 index c40414d7..00000000 --- a/src/merge/resources/knowledgebase/resources/containers/types/containers_list_request_type.py +++ /dev/null @@ -1,41 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class ContainersListRequestType(str, enum.Enum): - EMPTY = "" - CATEGORY = "CATEGORY" - COLLECTION = "COLLECTION" - DATABASE = "DATABASE" - FOLDER = "FOLDER" - SECTION = "SECTION" - SPACE = "SPACE" - - def visit( - self, - empty: typing.Callable[[], T_Result], - category: typing.Callable[[], T_Result], - collection: typing.Callable[[], T_Result], - database: typing.Callable[[], T_Result], - folder: typing.Callable[[], T_Result], - section: typing.Callable[[], T_Result], - space: typing.Callable[[], T_Result], - ) -> T_Result: - if self is ContainersListRequestType.EMPTY: - return empty() - if self is ContainersListRequestType.CATEGORY: - return category() - if self is ContainersListRequestType.COLLECTION: - return collection() - if self is ContainersListRequestType.DATABASE: - return database() - if self is ContainersListRequestType.FOLDER: - return folder() - if self is ContainersListRequestType.SECTION: - return section() - if self is ContainersListRequestType.SPACE: - return space() diff --git a/src/merge/resources/knowledgebase/resources/containers/types/containers_retrieve_request_expand.py b/src/merge/resources/knowledgebase/resources/containers/types/containers_retrieve_request_expand.py deleted file mode 100644 index 7b10f318..00000000 --- a/src/merge/resources/knowledgebase/resources/containers/types/containers_retrieve_request_expand.py +++ /dev/null @@ -1,41 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class ContainersRetrieveRequestExpand(str, enum.Enum): - PARENT_ARTICLE = "parent_article" - PARENT_ARTICLE_PARENT_CONTAINER = "parent_article,parent_container" - PARENT_CONTAINER = "parent_container" - PERMISSIONS = "permissions" - PERMISSIONS_PARENT_ARTICLE = "permissions,parent_article" - PERMISSIONS_PARENT_ARTICLE_PARENT_CONTAINER = "permissions,parent_article,parent_container" - PERMISSIONS_PARENT_CONTAINER = "permissions,parent_container" - - def visit( - self, - parent_article: typing.Callable[[], T_Result], - parent_article_parent_container: typing.Callable[[], T_Result], - parent_container: typing.Callable[[], T_Result], - permissions: typing.Callable[[], T_Result], - permissions_parent_article: typing.Callable[[], T_Result], - permissions_parent_article_parent_container: typing.Callable[[], T_Result], - permissions_parent_container: typing.Callable[[], T_Result], - ) -> T_Result: - if self is ContainersRetrieveRequestExpand.PARENT_ARTICLE: - return parent_article() - if self is ContainersRetrieveRequestExpand.PARENT_ARTICLE_PARENT_CONTAINER: - return parent_article_parent_container() - if self is ContainersRetrieveRequestExpand.PARENT_CONTAINER: - return parent_container() - if self is ContainersRetrieveRequestExpand.PERMISSIONS: - return permissions() - if self is ContainersRetrieveRequestExpand.PERMISSIONS_PARENT_ARTICLE: - return permissions_parent_article() - if self is ContainersRetrieveRequestExpand.PERMISSIONS_PARENT_ARTICLE_PARENT_CONTAINER: - return permissions_parent_article_parent_container() - if self is ContainersRetrieveRequestExpand.PERMISSIONS_PARENT_CONTAINER: - return permissions_parent_container() diff --git a/src/merge/resources/knowledgebase/resources/delete_account/__init__.py b/src/merge/resources/knowledgebase/resources/delete_account/__init__.py deleted file mode 100644 index 5cde0202..00000000 --- a/src/merge/resources/knowledgebase/resources/delete_account/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - diff --git a/src/merge/resources/knowledgebase/resources/delete_account/client.py b/src/merge/resources/knowledgebase/resources/delete_account/client.py deleted file mode 100644 index 71794eed..00000000 --- a/src/merge/resources/knowledgebase/resources/delete_account/client.py +++ /dev/null @@ -1,99 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from .raw_client import AsyncRawDeleteAccountClient, RawDeleteAccountClient - - -class DeleteAccountClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawDeleteAccountClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawDeleteAccountClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawDeleteAccountClient - """ - return self._raw_client - - def delete(self, *, request_options: typing.Optional[RequestOptions] = None) -> None: - """ - Delete a linked account. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - None - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.knowledgebase.delete_account.delete() - """ - _response = self._raw_client.delete(request_options=request_options) - return _response.data - - -class AsyncDeleteAccountClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawDeleteAccountClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawDeleteAccountClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawDeleteAccountClient - """ - return self._raw_client - - async def delete(self, *, request_options: typing.Optional[RequestOptions] = None) -> None: - """ - Delete a linked account. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - None - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.knowledgebase.delete_account.delete() - - - asyncio.run(main()) - """ - _response = await self._raw_client.delete(request_options=request_options) - return _response.data diff --git a/src/merge/resources/knowledgebase/resources/delete_account/raw_client.py b/src/merge/resources/knowledgebase/resources/delete_account/raw_client.py deleted file mode 100644 index 69762675..00000000 --- a/src/merge/resources/knowledgebase/resources/delete_account/raw_client.py +++ /dev/null @@ -1,71 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.request_options import RequestOptions - - -class RawDeleteAccountClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def delete(self, *, request_options: typing.Optional[RequestOptions] = None) -> HttpResponse[None]: - """ - Delete a linked account. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[None] - """ - _response = self._client_wrapper.httpx_client.request( - "knowledgebase/v1/delete-account", - method="POST", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - return HttpResponse(response=_response, data=None) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawDeleteAccountClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def delete(self, *, request_options: typing.Optional[RequestOptions] = None) -> AsyncHttpResponse[None]: - """ - Delete a linked account. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[None] - """ - _response = await self._client_wrapper.httpx_client.request( - "knowledgebase/v1/delete-account", - method="POST", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - return AsyncHttpResponse(response=_response, data=None) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/knowledgebase/resources/field_mapping/__init__.py b/src/merge/resources/knowledgebase/resources/field_mapping/__init__.py deleted file mode 100644 index 5cde0202..00000000 --- a/src/merge/resources/knowledgebase/resources/field_mapping/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - diff --git a/src/merge/resources/knowledgebase/resources/field_mapping/client.py b/src/merge/resources/knowledgebase/resources/field_mapping/client.py deleted file mode 100644 index f28fd73d..00000000 --- a/src/merge/resources/knowledgebase/resources/field_mapping/client.py +++ /dev/null @@ -1,664 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.external_target_field_api_response import ExternalTargetFieldApiResponse -from ...types.field_mapping_api_instance_response import FieldMappingApiInstanceResponse -from ...types.field_mapping_instance_response import FieldMappingInstanceResponse -from ...types.remote_field_api_response import RemoteFieldApiResponse -from .raw_client import AsyncRawFieldMappingClient, RawFieldMappingClient - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class FieldMappingClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawFieldMappingClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawFieldMappingClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawFieldMappingClient - """ - return self._raw_client - - def field_mappings_retrieve( - self, - *, - exclude_remote_field_metadata: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> FieldMappingApiInstanceResponse: - """ - Get all Field Mappings for this Linked Account. Field Mappings are mappings between third-party Remote Fields and user defined Merge fields. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). - - Parameters - ---------- - exclude_remote_field_metadata : typing.Optional[bool] - If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - FieldMappingApiInstanceResponse - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.knowledgebase.field_mapping.field_mappings_retrieve( - exclude_remote_field_metadata=True, - ) - """ - _response = self._raw_client.field_mappings_retrieve( - exclude_remote_field_metadata=exclude_remote_field_metadata, request_options=request_options - ) - return _response.data - - def field_mappings_create( - self, - *, - target_field_name: str, - target_field_description: str, - remote_field_traversal_path: typing.Sequence[typing.Optional[typing.Any]], - remote_method: str, - remote_url_path: str, - common_model_name: str, - exclude_remote_field_metadata: typing.Optional[bool] = None, - jmes_path: typing.Optional[str] = OMIT, - request_options: typing.Optional[RequestOptions] = None, - ) -> FieldMappingInstanceResponse: - """ - Create new Field Mappings that will be available after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. - - Parameters - ---------- - target_field_name : str - The name of the target field you want this remote field to map to. - - target_field_description : str - The description of the target field you want this remote field to map to. - - remote_field_traversal_path : typing.Sequence[typing.Optional[typing.Any]] - The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. - - remote_method : str - The method of the remote endpoint where the remote field is coming from. - - remote_url_path : str - The path of the remote endpoint where the remote field is coming from. - - common_model_name : str - The name of the Common Model that the remote field corresponds to in a given category. - - exclude_remote_field_metadata : typing.Optional[bool] - If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. - - jmes_path : typing.Optional[str] - JMES path to specify json query expression to be used on field mapping. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - FieldMappingInstanceResponse - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.knowledgebase.field_mapping.field_mappings_create( - exclude_remote_field_metadata=True, - target_field_name="example_target_field_name", - target_field_description="this is a example description of the target field", - remote_field_traversal_path=["example_remote_field"], - remote_method="GET", - remote_url_path="/example-url-path", - common_model_name="ExampleCommonModel", - ) - """ - _response = self._raw_client.field_mappings_create( - target_field_name=target_field_name, - target_field_description=target_field_description, - remote_field_traversal_path=remote_field_traversal_path, - remote_method=remote_method, - remote_url_path=remote_url_path, - common_model_name=common_model_name, - exclude_remote_field_metadata=exclude_remote_field_metadata, - jmes_path=jmes_path, - request_options=request_options, - ) - return _response.data - - def field_mappings_destroy( - self, field_mapping_id: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> FieldMappingInstanceResponse: - """ - Deletes Field Mappings for a Linked Account. All data related to this Field Mapping will be deleted and these changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. - - Parameters - ---------- - field_mapping_id : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - FieldMappingInstanceResponse - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.knowledgebase.field_mapping.field_mappings_destroy( - field_mapping_id="field_mapping_id", - ) - """ - _response = self._raw_client.field_mappings_destroy(field_mapping_id, request_options=request_options) - return _response.data - - def field_mappings_partial_update( - self, - field_mapping_id: str, - *, - remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] = OMIT, - remote_method: typing.Optional[str] = OMIT, - remote_url_path: typing.Optional[str] = OMIT, - jmes_path: typing.Optional[str] = OMIT, - request_options: typing.Optional[RequestOptions] = None, - ) -> FieldMappingInstanceResponse: - """ - Create or update existing Field Mappings for a Linked Account. Changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. - - Parameters - ---------- - field_mapping_id : str - - remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] - The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. - - remote_method : typing.Optional[str] - The method of the remote endpoint where the remote field is coming from. - - remote_url_path : typing.Optional[str] - The path of the remote endpoint where the remote field is coming from. - - jmes_path : typing.Optional[str] - JMES path to specify json query expression to be used on field mapping. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - FieldMappingInstanceResponse - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.knowledgebase.field_mapping.field_mappings_partial_update( - field_mapping_id="field_mapping_id", - ) - """ - _response = self._raw_client.field_mappings_partial_update( - field_mapping_id, - remote_field_traversal_path=remote_field_traversal_path, - remote_method=remote_method, - remote_url_path=remote_url_path, - jmes_path=jmes_path, - request_options=request_options, - ) - return _response.data - - def remote_fields_retrieve( - self, - *, - common_models: typing.Optional[str] = None, - include_example_values: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> RemoteFieldApiResponse: - """ - Get all remote fields for a Linked Account. Remote fields are third-party fields that are accessible after initial sync if remote_data is enabled. You can use remote fields to override existing Merge fields or map a new Merge field. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). - - Parameters - ---------- - common_models : typing.Optional[str] - A comma seperated list of Common Model names. If included, will only return Remote Fields for those Common Models. - - include_example_values : typing.Optional[str] - If true, will include example values, where available, for remote fields in the 3rd party platform. These examples come from active data from your customers. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - RemoteFieldApiResponse - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.knowledgebase.field_mapping.remote_fields_retrieve( - common_models="common_models", - include_example_values="include_example_values", - ) - """ - _response = self._raw_client.remote_fields_retrieve( - common_models=common_models, include_example_values=include_example_values, request_options=request_options - ) - return _response.data - - def target_fields_retrieve( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> ExternalTargetFieldApiResponse: - """ - Get all organization-wide Target Fields, this will not include any Linked Account specific Target Fields. Organization-wide Target Fields are additional fields appended to the Merge Common Model for all Linked Accounts in a category. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/target-fields/). - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - ExternalTargetFieldApiResponse - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.knowledgebase.field_mapping.target_fields_retrieve() - """ - _response = self._raw_client.target_fields_retrieve(request_options=request_options) - return _response.data - - -class AsyncFieldMappingClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawFieldMappingClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawFieldMappingClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawFieldMappingClient - """ - return self._raw_client - - async def field_mappings_retrieve( - self, - *, - exclude_remote_field_metadata: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> FieldMappingApiInstanceResponse: - """ - Get all Field Mappings for this Linked Account. Field Mappings are mappings between third-party Remote Fields and user defined Merge fields. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). - - Parameters - ---------- - exclude_remote_field_metadata : typing.Optional[bool] - If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - FieldMappingApiInstanceResponse - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.knowledgebase.field_mapping.field_mappings_retrieve( - exclude_remote_field_metadata=True, - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.field_mappings_retrieve( - exclude_remote_field_metadata=exclude_remote_field_metadata, request_options=request_options - ) - return _response.data - - async def field_mappings_create( - self, - *, - target_field_name: str, - target_field_description: str, - remote_field_traversal_path: typing.Sequence[typing.Optional[typing.Any]], - remote_method: str, - remote_url_path: str, - common_model_name: str, - exclude_remote_field_metadata: typing.Optional[bool] = None, - jmes_path: typing.Optional[str] = OMIT, - request_options: typing.Optional[RequestOptions] = None, - ) -> FieldMappingInstanceResponse: - """ - Create new Field Mappings that will be available after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. - - Parameters - ---------- - target_field_name : str - The name of the target field you want this remote field to map to. - - target_field_description : str - The description of the target field you want this remote field to map to. - - remote_field_traversal_path : typing.Sequence[typing.Optional[typing.Any]] - The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. - - remote_method : str - The method of the remote endpoint where the remote field is coming from. - - remote_url_path : str - The path of the remote endpoint where the remote field is coming from. - - common_model_name : str - The name of the Common Model that the remote field corresponds to in a given category. - - exclude_remote_field_metadata : typing.Optional[bool] - If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. - - jmes_path : typing.Optional[str] - JMES path to specify json query expression to be used on field mapping. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - FieldMappingInstanceResponse - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.knowledgebase.field_mapping.field_mappings_create( - exclude_remote_field_metadata=True, - target_field_name="example_target_field_name", - target_field_description="this is a example description of the target field", - remote_field_traversal_path=["example_remote_field"], - remote_method="GET", - remote_url_path="/example-url-path", - common_model_name="ExampleCommonModel", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.field_mappings_create( - target_field_name=target_field_name, - target_field_description=target_field_description, - remote_field_traversal_path=remote_field_traversal_path, - remote_method=remote_method, - remote_url_path=remote_url_path, - common_model_name=common_model_name, - exclude_remote_field_metadata=exclude_remote_field_metadata, - jmes_path=jmes_path, - request_options=request_options, - ) - return _response.data - - async def field_mappings_destroy( - self, field_mapping_id: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> FieldMappingInstanceResponse: - """ - Deletes Field Mappings for a Linked Account. All data related to this Field Mapping will be deleted and these changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. - - Parameters - ---------- - field_mapping_id : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - FieldMappingInstanceResponse - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.knowledgebase.field_mapping.field_mappings_destroy( - field_mapping_id="field_mapping_id", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.field_mappings_destroy(field_mapping_id, request_options=request_options) - return _response.data - - async def field_mappings_partial_update( - self, - field_mapping_id: str, - *, - remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] = OMIT, - remote_method: typing.Optional[str] = OMIT, - remote_url_path: typing.Optional[str] = OMIT, - jmes_path: typing.Optional[str] = OMIT, - request_options: typing.Optional[RequestOptions] = None, - ) -> FieldMappingInstanceResponse: - """ - Create or update existing Field Mappings for a Linked Account. Changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. - - Parameters - ---------- - field_mapping_id : str - - remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] - The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. - - remote_method : typing.Optional[str] - The method of the remote endpoint where the remote field is coming from. - - remote_url_path : typing.Optional[str] - The path of the remote endpoint where the remote field is coming from. - - jmes_path : typing.Optional[str] - JMES path to specify json query expression to be used on field mapping. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - FieldMappingInstanceResponse - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.knowledgebase.field_mapping.field_mappings_partial_update( - field_mapping_id="field_mapping_id", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.field_mappings_partial_update( - field_mapping_id, - remote_field_traversal_path=remote_field_traversal_path, - remote_method=remote_method, - remote_url_path=remote_url_path, - jmes_path=jmes_path, - request_options=request_options, - ) - return _response.data - - async def remote_fields_retrieve( - self, - *, - common_models: typing.Optional[str] = None, - include_example_values: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> RemoteFieldApiResponse: - """ - Get all remote fields for a Linked Account. Remote fields are third-party fields that are accessible after initial sync if remote_data is enabled. You can use remote fields to override existing Merge fields or map a new Merge field. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). - - Parameters - ---------- - common_models : typing.Optional[str] - A comma seperated list of Common Model names. If included, will only return Remote Fields for those Common Models. - - include_example_values : typing.Optional[str] - If true, will include example values, where available, for remote fields in the 3rd party platform. These examples come from active data from your customers. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - RemoteFieldApiResponse - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.knowledgebase.field_mapping.remote_fields_retrieve( - common_models="common_models", - include_example_values="include_example_values", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.remote_fields_retrieve( - common_models=common_models, include_example_values=include_example_values, request_options=request_options - ) - return _response.data - - async def target_fields_retrieve( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> ExternalTargetFieldApiResponse: - """ - Get all organization-wide Target Fields, this will not include any Linked Account specific Target Fields. Organization-wide Target Fields are additional fields appended to the Merge Common Model for all Linked Accounts in a category. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/target-fields/). - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - ExternalTargetFieldApiResponse - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.knowledgebase.field_mapping.target_fields_retrieve() - - - asyncio.run(main()) - """ - _response = await self._raw_client.target_fields_retrieve(request_options=request_options) - return _response.data diff --git a/src/merge/resources/knowledgebase/resources/field_mapping/raw_client.py b/src/merge/resources/knowledgebase/resources/field_mapping/raw_client.py deleted file mode 100644 index 0767247f..00000000 --- a/src/merge/resources/knowledgebase/resources/field_mapping/raw_client.py +++ /dev/null @@ -1,672 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.jsonable_encoder import jsonable_encoder -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.external_target_field_api_response import ExternalTargetFieldApiResponse -from ...types.field_mapping_api_instance_response import FieldMappingApiInstanceResponse -from ...types.field_mapping_instance_response import FieldMappingInstanceResponse -from ...types.remote_field_api_response import RemoteFieldApiResponse - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class RawFieldMappingClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def field_mappings_retrieve( - self, - *, - exclude_remote_field_metadata: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[FieldMappingApiInstanceResponse]: - """ - Get all Field Mappings for this Linked Account. Field Mappings are mappings between third-party Remote Fields and user defined Merge fields. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). - - Parameters - ---------- - exclude_remote_field_metadata : typing.Optional[bool] - If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[FieldMappingApiInstanceResponse] - - """ - _response = self._client_wrapper.httpx_client.request( - "knowledgebase/v1/field-mappings", - method="GET", - params={ - "exclude_remote_field_metadata": exclude_remote_field_metadata, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - FieldMappingApiInstanceResponse, - construct_type( - type_=FieldMappingApiInstanceResponse, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def field_mappings_create( - self, - *, - target_field_name: str, - target_field_description: str, - remote_field_traversal_path: typing.Sequence[typing.Optional[typing.Any]], - remote_method: str, - remote_url_path: str, - common_model_name: str, - exclude_remote_field_metadata: typing.Optional[bool] = None, - jmes_path: typing.Optional[str] = OMIT, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[FieldMappingInstanceResponse]: - """ - Create new Field Mappings that will be available after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. - - Parameters - ---------- - target_field_name : str - The name of the target field you want this remote field to map to. - - target_field_description : str - The description of the target field you want this remote field to map to. - - remote_field_traversal_path : typing.Sequence[typing.Optional[typing.Any]] - The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. - - remote_method : str - The method of the remote endpoint where the remote field is coming from. - - remote_url_path : str - The path of the remote endpoint where the remote field is coming from. - - common_model_name : str - The name of the Common Model that the remote field corresponds to in a given category. - - exclude_remote_field_metadata : typing.Optional[bool] - If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. - - jmes_path : typing.Optional[str] - JMES path to specify json query expression to be used on field mapping. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[FieldMappingInstanceResponse] - - """ - _response = self._client_wrapper.httpx_client.request( - "knowledgebase/v1/field-mappings", - method="POST", - params={ - "exclude_remote_field_metadata": exclude_remote_field_metadata, - }, - json={ - "target_field_name": target_field_name, - "target_field_description": target_field_description, - "remote_field_traversal_path": remote_field_traversal_path, - "remote_method": remote_method, - "remote_url_path": remote_url_path, - "common_model_name": common_model_name, - "jmes_path": jmes_path, - }, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - FieldMappingInstanceResponse, - construct_type( - type_=FieldMappingInstanceResponse, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def field_mappings_destroy( - self, field_mapping_id: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> HttpResponse[FieldMappingInstanceResponse]: - """ - Deletes Field Mappings for a Linked Account. All data related to this Field Mapping will be deleted and these changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. - - Parameters - ---------- - field_mapping_id : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[FieldMappingInstanceResponse] - - """ - _response = self._client_wrapper.httpx_client.request( - f"knowledgebase/v1/field-mappings/{jsonable_encoder(field_mapping_id)}", - method="DELETE", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - FieldMappingInstanceResponse, - construct_type( - type_=FieldMappingInstanceResponse, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def field_mappings_partial_update( - self, - field_mapping_id: str, - *, - remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] = OMIT, - remote_method: typing.Optional[str] = OMIT, - remote_url_path: typing.Optional[str] = OMIT, - jmes_path: typing.Optional[str] = OMIT, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[FieldMappingInstanceResponse]: - """ - Create or update existing Field Mappings for a Linked Account. Changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. - - Parameters - ---------- - field_mapping_id : str - - remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] - The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. - - remote_method : typing.Optional[str] - The method of the remote endpoint where the remote field is coming from. - - remote_url_path : typing.Optional[str] - The path of the remote endpoint where the remote field is coming from. - - jmes_path : typing.Optional[str] - JMES path to specify json query expression to be used on field mapping. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[FieldMappingInstanceResponse] - - """ - _response = self._client_wrapper.httpx_client.request( - f"knowledgebase/v1/field-mappings/{jsonable_encoder(field_mapping_id)}", - method="PATCH", - json={ - "remote_field_traversal_path": remote_field_traversal_path, - "remote_method": remote_method, - "remote_url_path": remote_url_path, - "jmes_path": jmes_path, - }, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - FieldMappingInstanceResponse, - construct_type( - type_=FieldMappingInstanceResponse, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def remote_fields_retrieve( - self, - *, - common_models: typing.Optional[str] = None, - include_example_values: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[RemoteFieldApiResponse]: - """ - Get all remote fields for a Linked Account. Remote fields are third-party fields that are accessible after initial sync if remote_data is enabled. You can use remote fields to override existing Merge fields or map a new Merge field. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). - - Parameters - ---------- - common_models : typing.Optional[str] - A comma seperated list of Common Model names. If included, will only return Remote Fields for those Common Models. - - include_example_values : typing.Optional[str] - If true, will include example values, where available, for remote fields in the 3rd party platform. These examples come from active data from your customers. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[RemoteFieldApiResponse] - - """ - _response = self._client_wrapper.httpx_client.request( - "knowledgebase/v1/remote-fields", - method="GET", - params={ - "common_models": common_models, - "include_example_values": include_example_values, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - RemoteFieldApiResponse, - construct_type( - type_=RemoteFieldApiResponse, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def target_fields_retrieve( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> HttpResponse[ExternalTargetFieldApiResponse]: - """ - Get all organization-wide Target Fields, this will not include any Linked Account specific Target Fields. Organization-wide Target Fields are additional fields appended to the Merge Common Model for all Linked Accounts in a category. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/target-fields/). - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[ExternalTargetFieldApiResponse] - - """ - _response = self._client_wrapper.httpx_client.request( - "knowledgebase/v1/target-fields", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - ExternalTargetFieldApiResponse, - construct_type( - type_=ExternalTargetFieldApiResponse, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawFieldMappingClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def field_mappings_retrieve( - self, - *, - exclude_remote_field_metadata: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[FieldMappingApiInstanceResponse]: - """ - Get all Field Mappings for this Linked Account. Field Mappings are mappings between third-party Remote Fields and user defined Merge fields. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). - - Parameters - ---------- - exclude_remote_field_metadata : typing.Optional[bool] - If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[FieldMappingApiInstanceResponse] - - """ - _response = await self._client_wrapper.httpx_client.request( - "knowledgebase/v1/field-mappings", - method="GET", - params={ - "exclude_remote_field_metadata": exclude_remote_field_metadata, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - FieldMappingApiInstanceResponse, - construct_type( - type_=FieldMappingApiInstanceResponse, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def field_mappings_create( - self, - *, - target_field_name: str, - target_field_description: str, - remote_field_traversal_path: typing.Sequence[typing.Optional[typing.Any]], - remote_method: str, - remote_url_path: str, - common_model_name: str, - exclude_remote_field_metadata: typing.Optional[bool] = None, - jmes_path: typing.Optional[str] = OMIT, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[FieldMappingInstanceResponse]: - """ - Create new Field Mappings that will be available after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. - - Parameters - ---------- - target_field_name : str - The name of the target field you want this remote field to map to. - - target_field_description : str - The description of the target field you want this remote field to map to. - - remote_field_traversal_path : typing.Sequence[typing.Optional[typing.Any]] - The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. - - remote_method : str - The method of the remote endpoint where the remote field is coming from. - - remote_url_path : str - The path of the remote endpoint where the remote field is coming from. - - common_model_name : str - The name of the Common Model that the remote field corresponds to in a given category. - - exclude_remote_field_metadata : typing.Optional[bool] - If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. - - jmes_path : typing.Optional[str] - JMES path to specify json query expression to be used on field mapping. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[FieldMappingInstanceResponse] - - """ - _response = await self._client_wrapper.httpx_client.request( - "knowledgebase/v1/field-mappings", - method="POST", - params={ - "exclude_remote_field_metadata": exclude_remote_field_metadata, - }, - json={ - "target_field_name": target_field_name, - "target_field_description": target_field_description, - "remote_field_traversal_path": remote_field_traversal_path, - "remote_method": remote_method, - "remote_url_path": remote_url_path, - "common_model_name": common_model_name, - "jmes_path": jmes_path, - }, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - FieldMappingInstanceResponse, - construct_type( - type_=FieldMappingInstanceResponse, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def field_mappings_destroy( - self, field_mapping_id: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncHttpResponse[FieldMappingInstanceResponse]: - """ - Deletes Field Mappings for a Linked Account. All data related to this Field Mapping will be deleted and these changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. - - Parameters - ---------- - field_mapping_id : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[FieldMappingInstanceResponse] - - """ - _response = await self._client_wrapper.httpx_client.request( - f"knowledgebase/v1/field-mappings/{jsonable_encoder(field_mapping_id)}", - method="DELETE", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - FieldMappingInstanceResponse, - construct_type( - type_=FieldMappingInstanceResponse, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def field_mappings_partial_update( - self, - field_mapping_id: str, - *, - remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] = OMIT, - remote_method: typing.Optional[str] = OMIT, - remote_url_path: typing.Optional[str] = OMIT, - jmes_path: typing.Optional[str] = OMIT, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[FieldMappingInstanceResponse]: - """ - Create or update existing Field Mappings for a Linked Account. Changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. - - Parameters - ---------- - field_mapping_id : str - - remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] - The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. - - remote_method : typing.Optional[str] - The method of the remote endpoint where the remote field is coming from. - - remote_url_path : typing.Optional[str] - The path of the remote endpoint where the remote field is coming from. - - jmes_path : typing.Optional[str] - JMES path to specify json query expression to be used on field mapping. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[FieldMappingInstanceResponse] - - """ - _response = await self._client_wrapper.httpx_client.request( - f"knowledgebase/v1/field-mappings/{jsonable_encoder(field_mapping_id)}", - method="PATCH", - json={ - "remote_field_traversal_path": remote_field_traversal_path, - "remote_method": remote_method, - "remote_url_path": remote_url_path, - "jmes_path": jmes_path, - }, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - FieldMappingInstanceResponse, - construct_type( - type_=FieldMappingInstanceResponse, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def remote_fields_retrieve( - self, - *, - common_models: typing.Optional[str] = None, - include_example_values: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[RemoteFieldApiResponse]: - """ - Get all remote fields for a Linked Account. Remote fields are third-party fields that are accessible after initial sync if remote_data is enabled. You can use remote fields to override existing Merge fields or map a new Merge field. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). - - Parameters - ---------- - common_models : typing.Optional[str] - A comma seperated list of Common Model names. If included, will only return Remote Fields for those Common Models. - - include_example_values : typing.Optional[str] - If true, will include example values, where available, for remote fields in the 3rd party platform. These examples come from active data from your customers. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[RemoteFieldApiResponse] - - """ - _response = await self._client_wrapper.httpx_client.request( - "knowledgebase/v1/remote-fields", - method="GET", - params={ - "common_models": common_models, - "include_example_values": include_example_values, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - RemoteFieldApiResponse, - construct_type( - type_=RemoteFieldApiResponse, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def target_fields_retrieve( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncHttpResponse[ExternalTargetFieldApiResponse]: - """ - Get all organization-wide Target Fields, this will not include any Linked Account specific Target Fields. Organization-wide Target Fields are additional fields appended to the Merge Common Model for all Linked Accounts in a category. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/target-fields/). - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[ExternalTargetFieldApiResponse] - - """ - _response = await self._client_wrapper.httpx_client.request( - "knowledgebase/v1/target-fields", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - ExternalTargetFieldApiResponse, - construct_type( - type_=ExternalTargetFieldApiResponse, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/knowledgebase/resources/force_resync/__init__.py b/src/merge/resources/knowledgebase/resources/force_resync/__init__.py deleted file mode 100644 index 5cde0202..00000000 --- a/src/merge/resources/knowledgebase/resources/force_resync/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - diff --git a/src/merge/resources/knowledgebase/resources/force_resync/client.py b/src/merge/resources/knowledgebase/resources/force_resync/client.py deleted file mode 100644 index af416400..00000000 --- a/src/merge/resources/knowledgebase/resources/force_resync/client.py +++ /dev/null @@ -1,106 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.sync_status import SyncStatus -from .raw_client import AsyncRawForceResyncClient, RawForceResyncClient - - -class ForceResyncClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawForceResyncClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawForceResyncClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawForceResyncClient - """ - return self._raw_client - - def sync_status_resync_create( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> typing.List[SyncStatus]: - """ - Force re-sync of all models. This endpoint is available for monthly, quarterly, and highest sync frequency customers on the Professional or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. Force re-syncs can also be triggered manually in the Merge Dashboard and is available for all customers. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - typing.List[SyncStatus] - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.knowledgebase.force_resync.sync_status_resync_create() - """ - _response = self._raw_client.sync_status_resync_create(request_options=request_options) - return _response.data - - -class AsyncForceResyncClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawForceResyncClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawForceResyncClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawForceResyncClient - """ - return self._raw_client - - async def sync_status_resync_create( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> typing.List[SyncStatus]: - """ - Force re-sync of all models. This endpoint is available for monthly, quarterly, and highest sync frequency customers on the Professional or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. Force re-syncs can also be triggered manually in the Merge Dashboard and is available for all customers. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - typing.List[SyncStatus] - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.knowledgebase.force_resync.sync_status_resync_create() - - - asyncio.run(main()) - """ - _response = await self._raw_client.sync_status_resync_create(request_options=request_options) - return _response.data diff --git a/src/merge/resources/knowledgebase/resources/force_resync/raw_client.py b/src/merge/resources/knowledgebase/resources/force_resync/raw_client.py deleted file mode 100644 index afda654c..00000000 --- a/src/merge/resources/knowledgebase/resources/force_resync/raw_client.py +++ /dev/null @@ -1,93 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.sync_status import SyncStatus - - -class RawForceResyncClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def sync_status_resync_create( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> HttpResponse[typing.List[SyncStatus]]: - """ - Force re-sync of all models. This endpoint is available for monthly, quarterly, and highest sync frequency customers on the Professional or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. Force re-syncs can also be triggered manually in the Merge Dashboard and is available for all customers. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[typing.List[SyncStatus]] - - """ - _response = self._client_wrapper.httpx_client.request( - "knowledgebase/v1/sync-status/resync", - method="POST", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - typing.List[SyncStatus], - construct_type( - type_=typing.List[SyncStatus], # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawForceResyncClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def sync_status_resync_create( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncHttpResponse[typing.List[SyncStatus]]: - """ - Force re-sync of all models. This endpoint is available for monthly, quarterly, and highest sync frequency customers on the Professional or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. Force re-syncs can also be triggered manually in the Merge Dashboard and is available for all customers. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[typing.List[SyncStatus]] - - """ - _response = await self._client_wrapper.httpx_client.request( - "knowledgebase/v1/sync-status/resync", - method="POST", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - typing.List[SyncStatus], - construct_type( - type_=typing.List[SyncStatus], # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/knowledgebase/resources/generate_key/__init__.py b/src/merge/resources/knowledgebase/resources/generate_key/__init__.py deleted file mode 100644 index 5cde0202..00000000 --- a/src/merge/resources/knowledgebase/resources/generate_key/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - diff --git a/src/merge/resources/knowledgebase/resources/generate_key/client.py b/src/merge/resources/knowledgebase/resources/generate_key/client.py deleted file mode 100644 index 4a21b90c..00000000 --- a/src/merge/resources/knowledgebase/resources/generate_key/client.py +++ /dev/null @@ -1,115 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.remote_key import RemoteKey -from .raw_client import AsyncRawGenerateKeyClient, RawGenerateKeyClient - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class GenerateKeyClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawGenerateKeyClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawGenerateKeyClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawGenerateKeyClient - """ - return self._raw_client - - def create(self, *, name: str, request_options: typing.Optional[RequestOptions] = None) -> RemoteKey: - """ - Create a remote key. - - Parameters - ---------- - name : str - The name of the remote key - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - RemoteKey - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.knowledgebase.generate_key.create( - name="Remote Deployment Key 1", - ) - """ - _response = self._raw_client.create(name=name, request_options=request_options) - return _response.data - - -class AsyncGenerateKeyClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawGenerateKeyClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawGenerateKeyClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawGenerateKeyClient - """ - return self._raw_client - - async def create(self, *, name: str, request_options: typing.Optional[RequestOptions] = None) -> RemoteKey: - """ - Create a remote key. - - Parameters - ---------- - name : str - The name of the remote key - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - RemoteKey - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.knowledgebase.generate_key.create( - name="Remote Deployment Key 1", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.create(name=name, request_options=request_options) - return _response.data diff --git a/src/merge/resources/knowledgebase/resources/generate_key/raw_client.py b/src/merge/resources/knowledgebase/resources/generate_key/raw_client.py deleted file mode 100644 index a528f2c7..00000000 --- a/src/merge/resources/knowledgebase/resources/generate_key/raw_client.py +++ /dev/null @@ -1,114 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.remote_key import RemoteKey - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class RawGenerateKeyClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def create(self, *, name: str, request_options: typing.Optional[RequestOptions] = None) -> HttpResponse[RemoteKey]: - """ - Create a remote key. - - Parameters - ---------- - name : str - The name of the remote key - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[RemoteKey] - - """ - _response = self._client_wrapper.httpx_client.request( - "knowledgebase/v1/generate-key", - method="POST", - json={ - "name": name, - }, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - RemoteKey, - construct_type( - type_=RemoteKey, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawGenerateKeyClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def create( - self, *, name: str, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncHttpResponse[RemoteKey]: - """ - Create a remote key. - - Parameters - ---------- - name : str - The name of the remote key - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[RemoteKey] - - """ - _response = await self._client_wrapper.httpx_client.request( - "knowledgebase/v1/generate-key", - method="POST", - json={ - "name": name, - }, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - RemoteKey, - construct_type( - type_=RemoteKey, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/knowledgebase/resources/groups/__init__.py b/src/merge/resources/knowledgebase/resources/groups/__init__.py deleted file mode 100644 index d4647a1c..00000000 --- a/src/merge/resources/knowledgebase/resources/groups/__init__.py +++ /dev/null @@ -1,32 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - -import typing -from importlib import import_module - -if typing.TYPE_CHECKING: - from .types import GroupsListRequestExpand, GroupsRetrieveRequestExpand -_dynamic_imports: typing.Dict[str, str] = {"GroupsListRequestExpand": ".types", "GroupsRetrieveRequestExpand": ".types"} - - -def __getattr__(attr_name: str) -> typing.Any: - module_name = _dynamic_imports.get(attr_name) - if module_name is None: - raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") - try: - module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result - except ImportError as e: - raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e - except AttributeError as e: - raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e - - -def __dir__(): - lazy_attrs = list(_dynamic_imports.keys()) - return sorted(lazy_attrs) - - -__all__ = ["GroupsListRequestExpand", "GroupsRetrieveRequestExpand"] diff --git a/src/merge/resources/knowledgebase/resources/groups/client.py b/src/merge/resources/knowledgebase/resources/groups/client.py deleted file mode 100644 index b2e89602..00000000 --- a/src/merge/resources/knowledgebase/resources/groups/client.py +++ /dev/null @@ -1,405 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.group import Group -from ...types.paginated_group_list import PaginatedGroupList -from .raw_client import AsyncRawGroupsClient, RawGroupsClient -from .types.groups_list_request_expand import GroupsListRequestExpand -from .types.groups_retrieve_request_expand import GroupsRetrieveRequestExpand - - -class GroupsClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawGroupsClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawGroupsClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawGroupsClient - """ - return self._raw_client - - def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - expand: typing.Optional[GroupsListRequestExpand] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedGroupList: - """ - Returns a list of `Group` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - expand : typing.Optional[GroupsListRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedGroupList - - - Examples - -------- - import datetime - - from merge import Merge - from merge.resources.knowledgebase.resources.groups import ( - GroupsListRequestExpand, - ) - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.knowledgebase.groups.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=GroupsListRequestExpand.PARENT_GROUP, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", - ) - """ - _response = self._raw_client.list( - created_after=created_after, - created_before=created_before, - cursor=cursor, - expand=expand, - include_deleted_data=include_deleted_data, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - modified_after=modified_after, - modified_before=modified_before, - page_size=page_size, - remote_id=remote_id, - request_options=request_options, - ) - return _response.data - - def retrieve( - self, - id: str, - *, - expand: typing.Optional[GroupsRetrieveRequestExpand] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> Group: - """ - Returns a `Group` object with the given `id`. - - Parameters - ---------- - id : str - - expand : typing.Optional[GroupsRetrieveRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - Group - - - Examples - -------- - from merge import Merge - from merge.resources.knowledgebase.resources.groups import ( - GroupsRetrieveRequestExpand, - ) - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.knowledgebase.groups.retrieve( - id="id", - expand=GroupsRetrieveRequestExpand.PARENT_GROUP, - include_remote_data=True, - include_shell_data=True, - ) - """ - _response = self._raw_client.retrieve( - id, - expand=expand, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - request_options=request_options, - ) - return _response.data - - -class AsyncGroupsClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawGroupsClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawGroupsClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawGroupsClient - """ - return self._raw_client - - async def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - expand: typing.Optional[GroupsListRequestExpand] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedGroupList: - """ - Returns a list of `Group` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - expand : typing.Optional[GroupsListRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedGroupList - - - Examples - -------- - import asyncio - import datetime - - from merge import AsyncMerge - from merge.resources.knowledgebase.resources.groups import ( - GroupsListRequestExpand, - ) - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.knowledgebase.groups.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=GroupsListRequestExpand.PARENT_GROUP, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.list( - created_after=created_after, - created_before=created_before, - cursor=cursor, - expand=expand, - include_deleted_data=include_deleted_data, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - modified_after=modified_after, - modified_before=modified_before, - page_size=page_size, - remote_id=remote_id, - request_options=request_options, - ) - return _response.data - - async def retrieve( - self, - id: str, - *, - expand: typing.Optional[GroupsRetrieveRequestExpand] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> Group: - """ - Returns a `Group` object with the given `id`. - - Parameters - ---------- - id : str - - expand : typing.Optional[GroupsRetrieveRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - Group - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - from merge.resources.knowledgebase.resources.groups import ( - GroupsRetrieveRequestExpand, - ) - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.knowledgebase.groups.retrieve( - id="id", - expand=GroupsRetrieveRequestExpand.PARENT_GROUP, - include_remote_data=True, - include_shell_data=True, - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.retrieve( - id, - expand=expand, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - request_options=request_options, - ) - return _response.data diff --git a/src/merge/resources/knowledgebase/resources/groups/raw_client.py b/src/merge/resources/knowledgebase/resources/groups/raw_client.py deleted file mode 100644 index 231ff57c..00000000 --- a/src/merge/resources/knowledgebase/resources/groups/raw_client.py +++ /dev/null @@ -1,333 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.datetime_utils import serialize_datetime -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.jsonable_encoder import jsonable_encoder -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.group import Group -from ...types.paginated_group_list import PaginatedGroupList -from .types.groups_list_request_expand import GroupsListRequestExpand -from .types.groups_retrieve_request_expand import GroupsRetrieveRequestExpand - - -class RawGroupsClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - expand: typing.Optional[GroupsListRequestExpand] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedGroupList]: - """ - Returns a list of `Group` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - expand : typing.Optional[GroupsListRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[PaginatedGroupList] - - """ - _response = self._client_wrapper.httpx_client.request( - "knowledgebase/v1/groups", - method="GET", - params={ - "created_after": serialize_datetime(created_after) if created_after is not None else None, - "created_before": serialize_datetime(created_before) if created_before is not None else None, - "cursor": cursor, - "expand": expand, - "include_deleted_data": include_deleted_data, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - "modified_after": serialize_datetime(modified_after) if modified_after is not None else None, - "modified_before": serialize_datetime(modified_before) if modified_before is not None else None, - "page_size": page_size, - "remote_id": remote_id, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedGroupList, - construct_type( - type_=PaginatedGroupList, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def retrieve( - self, - id: str, - *, - expand: typing.Optional[GroupsRetrieveRequestExpand] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[Group]: - """ - Returns a `Group` object with the given `id`. - - Parameters - ---------- - id : str - - expand : typing.Optional[GroupsRetrieveRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[Group] - - """ - _response = self._client_wrapper.httpx_client.request( - f"knowledgebase/v1/groups/{jsonable_encoder(id)}", - method="GET", - params={ - "expand": expand, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - Group, - construct_type( - type_=Group, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawGroupsClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - expand: typing.Optional[GroupsListRequestExpand] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedGroupList]: - """ - Returns a list of `Group` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - expand : typing.Optional[GroupsListRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[PaginatedGroupList] - - """ - _response = await self._client_wrapper.httpx_client.request( - "knowledgebase/v1/groups", - method="GET", - params={ - "created_after": serialize_datetime(created_after) if created_after is not None else None, - "created_before": serialize_datetime(created_before) if created_before is not None else None, - "cursor": cursor, - "expand": expand, - "include_deleted_data": include_deleted_data, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - "modified_after": serialize_datetime(modified_after) if modified_after is not None else None, - "modified_before": serialize_datetime(modified_before) if modified_before is not None else None, - "page_size": page_size, - "remote_id": remote_id, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedGroupList, - construct_type( - type_=PaginatedGroupList, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def retrieve( - self, - id: str, - *, - expand: typing.Optional[GroupsRetrieveRequestExpand] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[Group]: - """ - Returns a `Group` object with the given `id`. - - Parameters - ---------- - id : str - - expand : typing.Optional[GroupsRetrieveRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[Group] - - """ - _response = await self._client_wrapper.httpx_client.request( - f"knowledgebase/v1/groups/{jsonable_encoder(id)}", - method="GET", - params={ - "expand": expand, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - Group, - construct_type( - type_=Group, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/knowledgebase/resources/groups/types/__init__.py b/src/merge/resources/knowledgebase/resources/groups/types/__init__.py deleted file mode 100644 index 9e82f18a..00000000 --- a/src/merge/resources/knowledgebase/resources/groups/types/__init__.py +++ /dev/null @@ -1,36 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - -import typing -from importlib import import_module - -if typing.TYPE_CHECKING: - from .groups_list_request_expand import GroupsListRequestExpand - from .groups_retrieve_request_expand import GroupsRetrieveRequestExpand -_dynamic_imports: typing.Dict[str, str] = { - "GroupsListRequestExpand": ".groups_list_request_expand", - "GroupsRetrieveRequestExpand": ".groups_retrieve_request_expand", -} - - -def __getattr__(attr_name: str) -> typing.Any: - module_name = _dynamic_imports.get(attr_name) - if module_name is None: - raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") - try: - module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result - except ImportError as e: - raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e - except AttributeError as e: - raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e - - -def __dir__(): - lazy_attrs = list(_dynamic_imports.keys()) - return sorted(lazy_attrs) - - -__all__ = ["GroupsListRequestExpand", "GroupsRetrieveRequestExpand"] diff --git a/src/merge/resources/knowledgebase/resources/groups/types/groups_list_request_expand.py b/src/merge/resources/knowledgebase/resources/groups/types/groups_list_request_expand.py deleted file mode 100644 index 24df30ac..00000000 --- a/src/merge/resources/knowledgebase/resources/groups/types/groups_list_request_expand.py +++ /dev/null @@ -1,25 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class GroupsListRequestExpand(str, enum.Enum): - PARENT_GROUP = "parent_group" - USERS = "users" - USERS_PARENT_GROUP = "users,parent_group" - - def visit( - self, - parent_group: typing.Callable[[], T_Result], - users: typing.Callable[[], T_Result], - users_parent_group: typing.Callable[[], T_Result], - ) -> T_Result: - if self is GroupsListRequestExpand.PARENT_GROUP: - return parent_group() - if self is GroupsListRequestExpand.USERS: - return users() - if self is GroupsListRequestExpand.USERS_PARENT_GROUP: - return users_parent_group() diff --git a/src/merge/resources/knowledgebase/resources/groups/types/groups_retrieve_request_expand.py b/src/merge/resources/knowledgebase/resources/groups/types/groups_retrieve_request_expand.py deleted file mode 100644 index 02f76ff0..00000000 --- a/src/merge/resources/knowledgebase/resources/groups/types/groups_retrieve_request_expand.py +++ /dev/null @@ -1,25 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class GroupsRetrieveRequestExpand(str, enum.Enum): - PARENT_GROUP = "parent_group" - USERS = "users" - USERS_PARENT_GROUP = "users,parent_group" - - def visit( - self, - parent_group: typing.Callable[[], T_Result], - users: typing.Callable[[], T_Result], - users_parent_group: typing.Callable[[], T_Result], - ) -> T_Result: - if self is GroupsRetrieveRequestExpand.PARENT_GROUP: - return parent_group() - if self is GroupsRetrieveRequestExpand.USERS: - return users() - if self is GroupsRetrieveRequestExpand.USERS_PARENT_GROUP: - return users_parent_group() diff --git a/src/merge/resources/knowledgebase/resources/issues/__init__.py b/src/merge/resources/knowledgebase/resources/issues/__init__.py deleted file mode 100644 index 3ca1094b..00000000 --- a/src/merge/resources/knowledgebase/resources/issues/__init__.py +++ /dev/null @@ -1,32 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - -import typing -from importlib import import_module - -if typing.TYPE_CHECKING: - from .types import IssuesListRequestStatus -_dynamic_imports: typing.Dict[str, str] = {"IssuesListRequestStatus": ".types"} - - -def __getattr__(attr_name: str) -> typing.Any: - module_name = _dynamic_imports.get(attr_name) - if module_name is None: - raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") - try: - module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result - except ImportError as e: - raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e - except AttributeError as e: - raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e - - -def __dir__(): - lazy_attrs = list(_dynamic_imports.keys()) - return sorted(lazy_attrs) - - -__all__ = ["IssuesListRequestStatus"] diff --git a/src/merge/resources/knowledgebase/resources/issues/client.py b/src/merge/resources/knowledgebase/resources/issues/client.py deleted file mode 100644 index b74d6cbc..00000000 --- a/src/merge/resources/knowledgebase/resources/issues/client.py +++ /dev/null @@ -1,382 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.issue import Issue -from ...types.paginated_issue_list import PaginatedIssueList -from .raw_client import AsyncRawIssuesClient, RawIssuesClient -from .types.issues_list_request_status import IssuesListRequestStatus - - -class IssuesClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawIssuesClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawIssuesClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawIssuesClient - """ - return self._raw_client - - def list( - self, - *, - account_token: typing.Optional[str] = None, - cursor: typing.Optional[str] = None, - end_date: typing.Optional[str] = None, - end_user_organization_name: typing.Optional[str] = None, - first_incident_time_after: typing.Optional[dt.datetime] = None, - first_incident_time_before: typing.Optional[dt.datetime] = None, - include_muted: typing.Optional[str] = None, - integration_name: typing.Optional[str] = None, - last_incident_time_after: typing.Optional[dt.datetime] = None, - last_incident_time_before: typing.Optional[dt.datetime] = None, - linked_account_id: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - start_date: typing.Optional[str] = None, - status: typing.Optional[IssuesListRequestStatus] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedIssueList: - """ - Gets all issues for Organization. - - Parameters - ---------- - account_token : typing.Optional[str] - - cursor : typing.Optional[str] - The pagination cursor value. - - end_date : typing.Optional[str] - If included, will only include issues whose most recent action occurred before this time - - end_user_organization_name : typing.Optional[str] - - first_incident_time_after : typing.Optional[dt.datetime] - If provided, will only return issues whose first incident time was after this datetime. - - first_incident_time_before : typing.Optional[dt.datetime] - If provided, will only return issues whose first incident time was before this datetime. - - include_muted : typing.Optional[str] - If true, will include muted issues - - integration_name : typing.Optional[str] - - last_incident_time_after : typing.Optional[dt.datetime] - If provided, will only return issues whose last incident time was after this datetime. - - last_incident_time_before : typing.Optional[dt.datetime] - If provided, will only return issues whose last incident time was before this datetime. - - linked_account_id : typing.Optional[str] - If provided, will only include issues pertaining to the linked account passed in. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - start_date : typing.Optional[str] - If included, will only include issues whose most recent action occurred after this time - - status : typing.Optional[IssuesListRequestStatus] - Status of the issue. Options: ('ONGOING', 'RESOLVED') - - * `ONGOING` - ONGOING - * `RESOLVED` - RESOLVED - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedIssueList - - - Examples - -------- - import datetime - - from merge import Merge - from merge.resources.knowledgebase.resources.issues import ( - IssuesListRequestStatus, - ) - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.knowledgebase.issues.list( - account_token="account_token", - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_date="end_date", - end_user_organization_name="end_user_organization_name", - first_incident_time_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - first_incident_time_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - include_muted="include_muted", - integration_name="integration_name", - last_incident_time_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - last_incident_time_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - linked_account_id="linked_account_id", - page_size=1, - start_date="start_date", - status=IssuesListRequestStatus.ONGOING, - ) - """ - _response = self._raw_client.list( - account_token=account_token, - cursor=cursor, - end_date=end_date, - end_user_organization_name=end_user_organization_name, - first_incident_time_after=first_incident_time_after, - first_incident_time_before=first_incident_time_before, - include_muted=include_muted, - integration_name=integration_name, - last_incident_time_after=last_incident_time_after, - last_incident_time_before=last_incident_time_before, - linked_account_id=linked_account_id, - page_size=page_size, - start_date=start_date, - status=status, - request_options=request_options, - ) - return _response.data - - def retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> Issue: - """ - Get a specific issue. - - Parameters - ---------- - id : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - Issue - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.knowledgebase.issues.retrieve( - id="id", - ) - """ - _response = self._raw_client.retrieve(id, request_options=request_options) - return _response.data - - -class AsyncIssuesClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawIssuesClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawIssuesClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawIssuesClient - """ - return self._raw_client - - async def list( - self, - *, - account_token: typing.Optional[str] = None, - cursor: typing.Optional[str] = None, - end_date: typing.Optional[str] = None, - end_user_organization_name: typing.Optional[str] = None, - first_incident_time_after: typing.Optional[dt.datetime] = None, - first_incident_time_before: typing.Optional[dt.datetime] = None, - include_muted: typing.Optional[str] = None, - integration_name: typing.Optional[str] = None, - last_incident_time_after: typing.Optional[dt.datetime] = None, - last_incident_time_before: typing.Optional[dt.datetime] = None, - linked_account_id: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - start_date: typing.Optional[str] = None, - status: typing.Optional[IssuesListRequestStatus] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedIssueList: - """ - Gets all issues for Organization. - - Parameters - ---------- - account_token : typing.Optional[str] - - cursor : typing.Optional[str] - The pagination cursor value. - - end_date : typing.Optional[str] - If included, will only include issues whose most recent action occurred before this time - - end_user_organization_name : typing.Optional[str] - - first_incident_time_after : typing.Optional[dt.datetime] - If provided, will only return issues whose first incident time was after this datetime. - - first_incident_time_before : typing.Optional[dt.datetime] - If provided, will only return issues whose first incident time was before this datetime. - - include_muted : typing.Optional[str] - If true, will include muted issues - - integration_name : typing.Optional[str] - - last_incident_time_after : typing.Optional[dt.datetime] - If provided, will only return issues whose last incident time was after this datetime. - - last_incident_time_before : typing.Optional[dt.datetime] - If provided, will only return issues whose last incident time was before this datetime. - - linked_account_id : typing.Optional[str] - If provided, will only include issues pertaining to the linked account passed in. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - start_date : typing.Optional[str] - If included, will only include issues whose most recent action occurred after this time - - status : typing.Optional[IssuesListRequestStatus] - Status of the issue. Options: ('ONGOING', 'RESOLVED') - - * `ONGOING` - ONGOING - * `RESOLVED` - RESOLVED - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedIssueList - - - Examples - -------- - import asyncio - import datetime - - from merge import AsyncMerge - from merge.resources.knowledgebase.resources.issues import ( - IssuesListRequestStatus, - ) - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.knowledgebase.issues.list( - account_token="account_token", - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_date="end_date", - end_user_organization_name="end_user_organization_name", - first_incident_time_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - first_incident_time_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - include_muted="include_muted", - integration_name="integration_name", - last_incident_time_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - last_incident_time_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - linked_account_id="linked_account_id", - page_size=1, - start_date="start_date", - status=IssuesListRequestStatus.ONGOING, - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.list( - account_token=account_token, - cursor=cursor, - end_date=end_date, - end_user_organization_name=end_user_organization_name, - first_incident_time_after=first_incident_time_after, - first_incident_time_before=first_incident_time_before, - include_muted=include_muted, - integration_name=integration_name, - last_incident_time_after=last_incident_time_after, - last_incident_time_before=last_incident_time_before, - linked_account_id=linked_account_id, - page_size=page_size, - start_date=start_date, - status=status, - request_options=request_options, - ) - return _response.data - - async def retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> Issue: - """ - Get a specific issue. - - Parameters - ---------- - id : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - Issue - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.knowledgebase.issues.retrieve( - id="id", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.retrieve(id, request_options=request_options) - return _response.data diff --git a/src/merge/resources/knowledgebase/resources/issues/raw_client.py b/src/merge/resources/knowledgebase/resources/issues/raw_client.py deleted file mode 100644 index 14652d5d..00000000 --- a/src/merge/resources/knowledgebase/resources/issues/raw_client.py +++ /dev/null @@ -1,336 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.datetime_utils import serialize_datetime -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.jsonable_encoder import jsonable_encoder -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.issue import Issue -from ...types.paginated_issue_list import PaginatedIssueList -from .types.issues_list_request_status import IssuesListRequestStatus - - -class RawIssuesClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def list( - self, - *, - account_token: typing.Optional[str] = None, - cursor: typing.Optional[str] = None, - end_date: typing.Optional[str] = None, - end_user_organization_name: typing.Optional[str] = None, - first_incident_time_after: typing.Optional[dt.datetime] = None, - first_incident_time_before: typing.Optional[dt.datetime] = None, - include_muted: typing.Optional[str] = None, - integration_name: typing.Optional[str] = None, - last_incident_time_after: typing.Optional[dt.datetime] = None, - last_incident_time_before: typing.Optional[dt.datetime] = None, - linked_account_id: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - start_date: typing.Optional[str] = None, - status: typing.Optional[IssuesListRequestStatus] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedIssueList]: - """ - Gets all issues for Organization. - - Parameters - ---------- - account_token : typing.Optional[str] - - cursor : typing.Optional[str] - The pagination cursor value. - - end_date : typing.Optional[str] - If included, will only include issues whose most recent action occurred before this time - - end_user_organization_name : typing.Optional[str] - - first_incident_time_after : typing.Optional[dt.datetime] - If provided, will only return issues whose first incident time was after this datetime. - - first_incident_time_before : typing.Optional[dt.datetime] - If provided, will only return issues whose first incident time was before this datetime. - - include_muted : typing.Optional[str] - If true, will include muted issues - - integration_name : typing.Optional[str] - - last_incident_time_after : typing.Optional[dt.datetime] - If provided, will only return issues whose last incident time was after this datetime. - - last_incident_time_before : typing.Optional[dt.datetime] - If provided, will only return issues whose last incident time was before this datetime. - - linked_account_id : typing.Optional[str] - If provided, will only include issues pertaining to the linked account passed in. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - start_date : typing.Optional[str] - If included, will only include issues whose most recent action occurred after this time - - status : typing.Optional[IssuesListRequestStatus] - Status of the issue. Options: ('ONGOING', 'RESOLVED') - - * `ONGOING` - ONGOING - * `RESOLVED` - RESOLVED - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[PaginatedIssueList] - - """ - _response = self._client_wrapper.httpx_client.request( - "knowledgebase/v1/issues", - method="GET", - params={ - "account_token": account_token, - "cursor": cursor, - "end_date": end_date, - "end_user_organization_name": end_user_organization_name, - "first_incident_time_after": serialize_datetime(first_incident_time_after) - if first_incident_time_after is not None - else None, - "first_incident_time_before": serialize_datetime(first_incident_time_before) - if first_incident_time_before is not None - else None, - "include_muted": include_muted, - "integration_name": integration_name, - "last_incident_time_after": serialize_datetime(last_incident_time_after) - if last_incident_time_after is not None - else None, - "last_incident_time_before": serialize_datetime(last_incident_time_before) - if last_incident_time_before is not None - else None, - "linked_account_id": linked_account_id, - "page_size": page_size, - "start_date": start_date, - "status": status, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedIssueList, - construct_type( - type_=PaginatedIssueList, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> HttpResponse[Issue]: - """ - Get a specific issue. - - Parameters - ---------- - id : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[Issue] - - """ - _response = self._client_wrapper.httpx_client.request( - f"knowledgebase/v1/issues/{jsonable_encoder(id)}", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - Issue, - construct_type( - type_=Issue, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawIssuesClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def list( - self, - *, - account_token: typing.Optional[str] = None, - cursor: typing.Optional[str] = None, - end_date: typing.Optional[str] = None, - end_user_organization_name: typing.Optional[str] = None, - first_incident_time_after: typing.Optional[dt.datetime] = None, - first_incident_time_before: typing.Optional[dt.datetime] = None, - include_muted: typing.Optional[str] = None, - integration_name: typing.Optional[str] = None, - last_incident_time_after: typing.Optional[dt.datetime] = None, - last_incident_time_before: typing.Optional[dt.datetime] = None, - linked_account_id: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - start_date: typing.Optional[str] = None, - status: typing.Optional[IssuesListRequestStatus] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedIssueList]: - """ - Gets all issues for Organization. - - Parameters - ---------- - account_token : typing.Optional[str] - - cursor : typing.Optional[str] - The pagination cursor value. - - end_date : typing.Optional[str] - If included, will only include issues whose most recent action occurred before this time - - end_user_organization_name : typing.Optional[str] - - first_incident_time_after : typing.Optional[dt.datetime] - If provided, will only return issues whose first incident time was after this datetime. - - first_incident_time_before : typing.Optional[dt.datetime] - If provided, will only return issues whose first incident time was before this datetime. - - include_muted : typing.Optional[str] - If true, will include muted issues - - integration_name : typing.Optional[str] - - last_incident_time_after : typing.Optional[dt.datetime] - If provided, will only return issues whose last incident time was after this datetime. - - last_incident_time_before : typing.Optional[dt.datetime] - If provided, will only return issues whose last incident time was before this datetime. - - linked_account_id : typing.Optional[str] - If provided, will only include issues pertaining to the linked account passed in. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - start_date : typing.Optional[str] - If included, will only include issues whose most recent action occurred after this time - - status : typing.Optional[IssuesListRequestStatus] - Status of the issue. Options: ('ONGOING', 'RESOLVED') - - * `ONGOING` - ONGOING - * `RESOLVED` - RESOLVED - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[PaginatedIssueList] - - """ - _response = await self._client_wrapper.httpx_client.request( - "knowledgebase/v1/issues", - method="GET", - params={ - "account_token": account_token, - "cursor": cursor, - "end_date": end_date, - "end_user_organization_name": end_user_organization_name, - "first_incident_time_after": serialize_datetime(first_incident_time_after) - if first_incident_time_after is not None - else None, - "first_incident_time_before": serialize_datetime(first_incident_time_before) - if first_incident_time_before is not None - else None, - "include_muted": include_muted, - "integration_name": integration_name, - "last_incident_time_after": serialize_datetime(last_incident_time_after) - if last_incident_time_after is not None - else None, - "last_incident_time_before": serialize_datetime(last_incident_time_before) - if last_incident_time_before is not None - else None, - "linked_account_id": linked_account_id, - "page_size": page_size, - "start_date": start_date, - "status": status, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedIssueList, - construct_type( - type_=PaginatedIssueList, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def retrieve( - self, id: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncHttpResponse[Issue]: - """ - Get a specific issue. - - Parameters - ---------- - id : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[Issue] - - """ - _response = await self._client_wrapper.httpx_client.request( - f"knowledgebase/v1/issues/{jsonable_encoder(id)}", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - Issue, - construct_type( - type_=Issue, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/knowledgebase/resources/issues/types/__init__.py b/src/merge/resources/knowledgebase/resources/issues/types/__init__.py deleted file mode 100644 index 88fbf977..00000000 --- a/src/merge/resources/knowledgebase/resources/issues/types/__init__.py +++ /dev/null @@ -1,32 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - -import typing -from importlib import import_module - -if typing.TYPE_CHECKING: - from .issues_list_request_status import IssuesListRequestStatus -_dynamic_imports: typing.Dict[str, str] = {"IssuesListRequestStatus": ".issues_list_request_status"} - - -def __getattr__(attr_name: str) -> typing.Any: - module_name = _dynamic_imports.get(attr_name) - if module_name is None: - raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") - try: - module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result - except ImportError as e: - raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e - except AttributeError as e: - raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e - - -def __dir__(): - lazy_attrs = list(_dynamic_imports.keys()) - return sorted(lazy_attrs) - - -__all__ = ["IssuesListRequestStatus"] diff --git a/src/merge/resources/knowledgebase/resources/issues/types/issues_list_request_status.py b/src/merge/resources/knowledgebase/resources/issues/types/issues_list_request_status.py deleted file mode 100644 index 2bd3521e..00000000 --- a/src/merge/resources/knowledgebase/resources/issues/types/issues_list_request_status.py +++ /dev/null @@ -1,17 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class IssuesListRequestStatus(str, enum.Enum): - ONGOING = "ONGOING" - RESOLVED = "RESOLVED" - - def visit(self, ongoing: typing.Callable[[], T_Result], resolved: typing.Callable[[], T_Result]) -> T_Result: - if self is IssuesListRequestStatus.ONGOING: - return ongoing() - if self is IssuesListRequestStatus.RESOLVED: - return resolved() diff --git a/src/merge/resources/knowledgebase/resources/link_token/__init__.py b/src/merge/resources/knowledgebase/resources/link_token/__init__.py deleted file mode 100644 index be8c3839..00000000 --- a/src/merge/resources/knowledgebase/resources/link_token/__init__.py +++ /dev/null @@ -1,35 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - -import typing -from importlib import import_module - -if typing.TYPE_CHECKING: - from .types import EndUserDetailsRequestCompletedAccountInitialScreen, EndUserDetailsRequestLanguage -_dynamic_imports: typing.Dict[str, str] = { - "EndUserDetailsRequestCompletedAccountInitialScreen": ".types", - "EndUserDetailsRequestLanguage": ".types", -} - - -def __getattr__(attr_name: str) -> typing.Any: - module_name = _dynamic_imports.get(attr_name) - if module_name is None: - raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") - try: - module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result - except ImportError as e: - raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e - except AttributeError as e: - raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e - - -def __dir__(): - lazy_attrs = list(_dynamic_imports.keys()) - return sorted(lazy_attrs) - - -__all__ = ["EndUserDetailsRequestCompletedAccountInitialScreen", "EndUserDetailsRequestLanguage"] diff --git a/src/merge/resources/knowledgebase/resources/link_token/client.py b/src/merge/resources/knowledgebase/resources/link_token/client.py deleted file mode 100644 index 3eb69c7c..00000000 --- a/src/merge/resources/knowledgebase/resources/link_token/client.py +++ /dev/null @@ -1,290 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.categories_enum import CategoriesEnum -from ...types.common_model_scopes_body_request import CommonModelScopesBodyRequest -from ...types.individual_common_model_scope_deserializer_request import IndividualCommonModelScopeDeserializerRequest -from ...types.link_token import LinkToken -from .raw_client import AsyncRawLinkTokenClient, RawLinkTokenClient -from .types.end_user_details_request_completed_account_initial_screen import ( - EndUserDetailsRequestCompletedAccountInitialScreen, -) -from .types.end_user_details_request_language import EndUserDetailsRequestLanguage - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class LinkTokenClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawLinkTokenClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawLinkTokenClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawLinkTokenClient - """ - return self._raw_client - - def create( - self, - *, - end_user_email_address: str, - end_user_organization_name: str, - end_user_origin_id: str, - categories: typing.Sequence[CategoriesEnum], - integration: typing.Optional[str] = OMIT, - link_expiry_mins: typing.Optional[int] = OMIT, - should_create_magic_link_url: typing.Optional[bool] = OMIT, - hide_admin_magic_link: typing.Optional[bool] = OMIT, - common_models: typing.Optional[typing.Sequence[CommonModelScopesBodyRequest]] = OMIT, - category_common_model_scopes: typing.Optional[ - typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]] - ] = OMIT, - language: typing.Optional[EndUserDetailsRequestLanguage] = OMIT, - are_syncs_disabled: typing.Optional[bool] = OMIT, - integration_specific_config: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, - completed_account_initial_screen: typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen] = OMIT, - request_options: typing.Optional[RequestOptions] = None, - ) -> LinkToken: - """ - Creates a link token to be used when linking a new end user. - - Parameters - ---------- - end_user_email_address : str - Your end user's email address. This is purely for identification purposes - setting this value will not cause any emails to be sent. - - end_user_organization_name : str - Your end user's organization. - - end_user_origin_id : str - This unique identifier typically represents the ID for your end user in your product's database. This value must be distinct from other Linked Accounts' unique identifiers. - - categories : typing.Sequence[CategoriesEnum] - The integration categories to show in Merge Link. - - integration : typing.Optional[str] - The slug of a specific pre-selected integration for this linking flow token. For examples of slugs, see https://docs.merge.dev/guides/merge-link/single-integration/. - - link_expiry_mins : typing.Optional[int] - An integer number of minutes between [30, 720 or 10080 if for a Magic Link URL] for how long this token is valid. Defaults to 30. - - should_create_magic_link_url : typing.Optional[bool] - Whether to generate a Magic Link URL. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. - - hide_admin_magic_link : typing.Optional[bool] - Whether to generate a Magic Link URL on the Admin Needed screen during the linking flow. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. - - common_models : typing.Optional[typing.Sequence[CommonModelScopesBodyRequest]] - An array of objects to specify the models and fields that will be disabled for a given Linked Account. Each object uses model_id, enabled_actions, and disabled_fields to specify the model, method, and fields that are scoped for a given Linked Account. - - category_common_model_scopes : typing.Optional[typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]]] - When creating a Link Token, you can set permissions for Common Models that will apply to the account that is going to be linked. Any model or field not specified in link token payload will default to existing settings. - - language : typing.Optional[EndUserDetailsRequestLanguage] - The following subset of IETF language tags can be used to configure localization. - - * `en` - en - * `de` - de - - are_syncs_disabled : typing.Optional[bool] - The boolean that indicates whether initial, periodic, and force syncs will be disabled. - - integration_specific_config : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] - A JSON object containing integration-specific configuration options. - - completed_account_initial_screen : typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen] - When creating a Link token, you can specifiy the initial screen of Linking Flow for a completed Linked Account. - - * `SELECTIVE_SYNC` - SELECTIVE_SYNC - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - LinkToken - - - Examples - -------- - from merge import Merge - from merge.resources.knowledgebase import CategoriesEnum - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.knowledgebase.link_token.create( - end_user_email_address="example@gmail.com", - end_user_organization_name="Test Organization", - end_user_origin_id="12345", - categories=[CategoriesEnum.HRIS, CategoriesEnum.ATS], - ) - """ - _response = self._raw_client.create( - end_user_email_address=end_user_email_address, - end_user_organization_name=end_user_organization_name, - end_user_origin_id=end_user_origin_id, - categories=categories, - integration=integration, - link_expiry_mins=link_expiry_mins, - should_create_magic_link_url=should_create_magic_link_url, - hide_admin_magic_link=hide_admin_magic_link, - common_models=common_models, - category_common_model_scopes=category_common_model_scopes, - language=language, - are_syncs_disabled=are_syncs_disabled, - integration_specific_config=integration_specific_config, - completed_account_initial_screen=completed_account_initial_screen, - request_options=request_options, - ) - return _response.data - - -class AsyncLinkTokenClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawLinkTokenClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawLinkTokenClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawLinkTokenClient - """ - return self._raw_client - - async def create( - self, - *, - end_user_email_address: str, - end_user_organization_name: str, - end_user_origin_id: str, - categories: typing.Sequence[CategoriesEnum], - integration: typing.Optional[str] = OMIT, - link_expiry_mins: typing.Optional[int] = OMIT, - should_create_magic_link_url: typing.Optional[bool] = OMIT, - hide_admin_magic_link: typing.Optional[bool] = OMIT, - common_models: typing.Optional[typing.Sequence[CommonModelScopesBodyRequest]] = OMIT, - category_common_model_scopes: typing.Optional[ - typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]] - ] = OMIT, - language: typing.Optional[EndUserDetailsRequestLanguage] = OMIT, - are_syncs_disabled: typing.Optional[bool] = OMIT, - integration_specific_config: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, - completed_account_initial_screen: typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen] = OMIT, - request_options: typing.Optional[RequestOptions] = None, - ) -> LinkToken: - """ - Creates a link token to be used when linking a new end user. - - Parameters - ---------- - end_user_email_address : str - Your end user's email address. This is purely for identification purposes - setting this value will not cause any emails to be sent. - - end_user_organization_name : str - Your end user's organization. - - end_user_origin_id : str - This unique identifier typically represents the ID for your end user in your product's database. This value must be distinct from other Linked Accounts' unique identifiers. - - categories : typing.Sequence[CategoriesEnum] - The integration categories to show in Merge Link. - - integration : typing.Optional[str] - The slug of a specific pre-selected integration for this linking flow token. For examples of slugs, see https://docs.merge.dev/guides/merge-link/single-integration/. - - link_expiry_mins : typing.Optional[int] - An integer number of minutes between [30, 720 or 10080 if for a Magic Link URL] for how long this token is valid. Defaults to 30. - - should_create_magic_link_url : typing.Optional[bool] - Whether to generate a Magic Link URL. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. - - hide_admin_magic_link : typing.Optional[bool] - Whether to generate a Magic Link URL on the Admin Needed screen during the linking flow. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. - - common_models : typing.Optional[typing.Sequence[CommonModelScopesBodyRequest]] - An array of objects to specify the models and fields that will be disabled for a given Linked Account. Each object uses model_id, enabled_actions, and disabled_fields to specify the model, method, and fields that are scoped for a given Linked Account. - - category_common_model_scopes : typing.Optional[typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]]] - When creating a Link Token, you can set permissions for Common Models that will apply to the account that is going to be linked. Any model or field not specified in link token payload will default to existing settings. - - language : typing.Optional[EndUserDetailsRequestLanguage] - The following subset of IETF language tags can be used to configure localization. - - * `en` - en - * `de` - de - - are_syncs_disabled : typing.Optional[bool] - The boolean that indicates whether initial, periodic, and force syncs will be disabled. - - integration_specific_config : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] - A JSON object containing integration-specific configuration options. - - completed_account_initial_screen : typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen] - When creating a Link token, you can specifiy the initial screen of Linking Flow for a completed Linked Account. - - * `SELECTIVE_SYNC` - SELECTIVE_SYNC - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - LinkToken - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - from merge.resources.knowledgebase import CategoriesEnum - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.knowledgebase.link_token.create( - end_user_email_address="example@gmail.com", - end_user_organization_name="Test Organization", - end_user_origin_id="12345", - categories=[CategoriesEnum.HRIS, CategoriesEnum.ATS], - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.create( - end_user_email_address=end_user_email_address, - end_user_organization_name=end_user_organization_name, - end_user_origin_id=end_user_origin_id, - categories=categories, - integration=integration, - link_expiry_mins=link_expiry_mins, - should_create_magic_link_url=should_create_magic_link_url, - hide_admin_magic_link=hide_admin_magic_link, - common_models=common_models, - category_common_model_scopes=category_common_model_scopes, - language=language, - are_syncs_disabled=are_syncs_disabled, - integration_specific_config=integration_specific_config, - completed_account_initial_screen=completed_account_initial_screen, - request_options=request_options, - ) - return _response.data diff --git a/src/merge/resources/knowledgebase/resources/link_token/raw_client.py b/src/merge/resources/knowledgebase/resources/link_token/raw_client.py deleted file mode 100644 index fad77f74..00000000 --- a/src/merge/resources/knowledgebase/resources/link_token/raw_client.py +++ /dev/null @@ -1,273 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.categories_enum import CategoriesEnum -from ...types.common_model_scopes_body_request import CommonModelScopesBodyRequest -from ...types.individual_common_model_scope_deserializer_request import IndividualCommonModelScopeDeserializerRequest -from ...types.link_token import LinkToken -from .types.end_user_details_request_completed_account_initial_screen import ( - EndUserDetailsRequestCompletedAccountInitialScreen, -) -from .types.end_user_details_request_language import EndUserDetailsRequestLanguage - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class RawLinkTokenClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def create( - self, - *, - end_user_email_address: str, - end_user_organization_name: str, - end_user_origin_id: str, - categories: typing.Sequence[CategoriesEnum], - integration: typing.Optional[str] = OMIT, - link_expiry_mins: typing.Optional[int] = OMIT, - should_create_magic_link_url: typing.Optional[bool] = OMIT, - hide_admin_magic_link: typing.Optional[bool] = OMIT, - common_models: typing.Optional[typing.Sequence[CommonModelScopesBodyRequest]] = OMIT, - category_common_model_scopes: typing.Optional[ - typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]] - ] = OMIT, - language: typing.Optional[EndUserDetailsRequestLanguage] = OMIT, - are_syncs_disabled: typing.Optional[bool] = OMIT, - integration_specific_config: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, - completed_account_initial_screen: typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen] = OMIT, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[LinkToken]: - """ - Creates a link token to be used when linking a new end user. - - Parameters - ---------- - end_user_email_address : str - Your end user's email address. This is purely for identification purposes - setting this value will not cause any emails to be sent. - - end_user_organization_name : str - Your end user's organization. - - end_user_origin_id : str - This unique identifier typically represents the ID for your end user in your product's database. This value must be distinct from other Linked Accounts' unique identifiers. - - categories : typing.Sequence[CategoriesEnum] - The integration categories to show in Merge Link. - - integration : typing.Optional[str] - The slug of a specific pre-selected integration for this linking flow token. For examples of slugs, see https://docs.merge.dev/guides/merge-link/single-integration/. - - link_expiry_mins : typing.Optional[int] - An integer number of minutes between [30, 720 or 10080 if for a Magic Link URL] for how long this token is valid. Defaults to 30. - - should_create_magic_link_url : typing.Optional[bool] - Whether to generate a Magic Link URL. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. - - hide_admin_magic_link : typing.Optional[bool] - Whether to generate a Magic Link URL on the Admin Needed screen during the linking flow. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. - - common_models : typing.Optional[typing.Sequence[CommonModelScopesBodyRequest]] - An array of objects to specify the models and fields that will be disabled for a given Linked Account. Each object uses model_id, enabled_actions, and disabled_fields to specify the model, method, and fields that are scoped for a given Linked Account. - - category_common_model_scopes : typing.Optional[typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]]] - When creating a Link Token, you can set permissions for Common Models that will apply to the account that is going to be linked. Any model or field not specified in link token payload will default to existing settings. - - language : typing.Optional[EndUserDetailsRequestLanguage] - The following subset of IETF language tags can be used to configure localization. - - * `en` - en - * `de` - de - - are_syncs_disabled : typing.Optional[bool] - The boolean that indicates whether initial, periodic, and force syncs will be disabled. - - integration_specific_config : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] - A JSON object containing integration-specific configuration options. - - completed_account_initial_screen : typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen] - When creating a Link token, you can specifiy the initial screen of Linking Flow for a completed Linked Account. - - * `SELECTIVE_SYNC` - SELECTIVE_SYNC - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[LinkToken] - - """ - _response = self._client_wrapper.httpx_client.request( - "knowledgebase/v1/link-token", - method="POST", - json={ - "end_user_email_address": end_user_email_address, - "end_user_organization_name": end_user_organization_name, - "end_user_origin_id": end_user_origin_id, - "categories": categories, - "integration": integration, - "link_expiry_mins": link_expiry_mins, - "should_create_magic_link_url": should_create_magic_link_url, - "hide_admin_magic_link": hide_admin_magic_link, - "common_models": common_models, - "category_common_model_scopes": category_common_model_scopes, - "language": language, - "are_syncs_disabled": are_syncs_disabled, - "integration_specific_config": integration_specific_config, - "completed_account_initial_screen": completed_account_initial_screen, - }, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - LinkToken, - construct_type( - type_=LinkToken, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawLinkTokenClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def create( - self, - *, - end_user_email_address: str, - end_user_organization_name: str, - end_user_origin_id: str, - categories: typing.Sequence[CategoriesEnum], - integration: typing.Optional[str] = OMIT, - link_expiry_mins: typing.Optional[int] = OMIT, - should_create_magic_link_url: typing.Optional[bool] = OMIT, - hide_admin_magic_link: typing.Optional[bool] = OMIT, - common_models: typing.Optional[typing.Sequence[CommonModelScopesBodyRequest]] = OMIT, - category_common_model_scopes: typing.Optional[ - typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]] - ] = OMIT, - language: typing.Optional[EndUserDetailsRequestLanguage] = OMIT, - are_syncs_disabled: typing.Optional[bool] = OMIT, - integration_specific_config: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, - completed_account_initial_screen: typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen] = OMIT, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[LinkToken]: - """ - Creates a link token to be used when linking a new end user. - - Parameters - ---------- - end_user_email_address : str - Your end user's email address. This is purely for identification purposes - setting this value will not cause any emails to be sent. - - end_user_organization_name : str - Your end user's organization. - - end_user_origin_id : str - This unique identifier typically represents the ID for your end user in your product's database. This value must be distinct from other Linked Accounts' unique identifiers. - - categories : typing.Sequence[CategoriesEnum] - The integration categories to show in Merge Link. - - integration : typing.Optional[str] - The slug of a specific pre-selected integration for this linking flow token. For examples of slugs, see https://docs.merge.dev/guides/merge-link/single-integration/. - - link_expiry_mins : typing.Optional[int] - An integer number of minutes between [30, 720 or 10080 if for a Magic Link URL] for how long this token is valid. Defaults to 30. - - should_create_magic_link_url : typing.Optional[bool] - Whether to generate a Magic Link URL. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. - - hide_admin_magic_link : typing.Optional[bool] - Whether to generate a Magic Link URL on the Admin Needed screen during the linking flow. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. - - common_models : typing.Optional[typing.Sequence[CommonModelScopesBodyRequest]] - An array of objects to specify the models and fields that will be disabled for a given Linked Account. Each object uses model_id, enabled_actions, and disabled_fields to specify the model, method, and fields that are scoped for a given Linked Account. - - category_common_model_scopes : typing.Optional[typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]]] - When creating a Link Token, you can set permissions for Common Models that will apply to the account that is going to be linked. Any model or field not specified in link token payload will default to existing settings. - - language : typing.Optional[EndUserDetailsRequestLanguage] - The following subset of IETF language tags can be used to configure localization. - - * `en` - en - * `de` - de - - are_syncs_disabled : typing.Optional[bool] - The boolean that indicates whether initial, periodic, and force syncs will be disabled. - - integration_specific_config : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] - A JSON object containing integration-specific configuration options. - - completed_account_initial_screen : typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen] - When creating a Link token, you can specifiy the initial screen of Linking Flow for a completed Linked Account. - - * `SELECTIVE_SYNC` - SELECTIVE_SYNC - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[LinkToken] - - """ - _response = await self._client_wrapper.httpx_client.request( - "knowledgebase/v1/link-token", - method="POST", - json={ - "end_user_email_address": end_user_email_address, - "end_user_organization_name": end_user_organization_name, - "end_user_origin_id": end_user_origin_id, - "categories": categories, - "integration": integration, - "link_expiry_mins": link_expiry_mins, - "should_create_magic_link_url": should_create_magic_link_url, - "hide_admin_magic_link": hide_admin_magic_link, - "common_models": common_models, - "category_common_model_scopes": category_common_model_scopes, - "language": language, - "are_syncs_disabled": are_syncs_disabled, - "integration_specific_config": integration_specific_config, - "completed_account_initial_screen": completed_account_initial_screen, - }, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - LinkToken, - construct_type( - type_=LinkToken, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/knowledgebase/resources/link_token/types/__init__.py b/src/merge/resources/knowledgebase/resources/link_token/types/__init__.py deleted file mode 100644 index 55cc1d4e..00000000 --- a/src/merge/resources/knowledgebase/resources/link_token/types/__init__.py +++ /dev/null @@ -1,38 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - -import typing -from importlib import import_module - -if typing.TYPE_CHECKING: - from .end_user_details_request_completed_account_initial_screen import ( - EndUserDetailsRequestCompletedAccountInitialScreen, - ) - from .end_user_details_request_language import EndUserDetailsRequestLanguage -_dynamic_imports: typing.Dict[str, str] = { - "EndUserDetailsRequestCompletedAccountInitialScreen": ".end_user_details_request_completed_account_initial_screen", - "EndUserDetailsRequestLanguage": ".end_user_details_request_language", -} - - -def __getattr__(attr_name: str) -> typing.Any: - module_name = _dynamic_imports.get(attr_name) - if module_name is None: - raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") - try: - module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result - except ImportError as e: - raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e - except AttributeError as e: - raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e - - -def __dir__(): - lazy_attrs = list(_dynamic_imports.keys()) - return sorted(lazy_attrs) - - -__all__ = ["EndUserDetailsRequestCompletedAccountInitialScreen", "EndUserDetailsRequestLanguage"] diff --git a/src/merge/resources/knowledgebase/resources/link_token/types/end_user_details_request_completed_account_initial_screen.py b/src/merge/resources/knowledgebase/resources/link_token/types/end_user_details_request_completed_account_initial_screen.py deleted file mode 100644 index 0c5d586d..00000000 --- a/src/merge/resources/knowledgebase/resources/link_token/types/end_user_details_request_completed_account_initial_screen.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from ....types.completed_account_initial_screen_enum import CompletedAccountInitialScreenEnum - -EndUserDetailsRequestCompletedAccountInitialScreen = typing.Union[CompletedAccountInitialScreenEnum, str] diff --git a/src/merge/resources/knowledgebase/resources/link_token/types/end_user_details_request_language.py b/src/merge/resources/knowledgebase/resources/link_token/types/end_user_details_request_language.py deleted file mode 100644 index 65c4b44a..00000000 --- a/src/merge/resources/knowledgebase/resources/link_token/types/end_user_details_request_language.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from ....types.language_enum import LanguageEnum - -EndUserDetailsRequestLanguage = typing.Union[LanguageEnum, str] diff --git a/src/merge/resources/knowledgebase/resources/linked_accounts/__init__.py b/src/merge/resources/knowledgebase/resources/linked_accounts/__init__.py deleted file mode 100644 index 0b9e42b4..00000000 --- a/src/merge/resources/knowledgebase/resources/linked_accounts/__init__.py +++ /dev/null @@ -1,32 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - -import typing -from importlib import import_module - -if typing.TYPE_CHECKING: - from .types import LinkedAccountsListRequestCategory -_dynamic_imports: typing.Dict[str, str] = {"LinkedAccountsListRequestCategory": ".types"} - - -def __getattr__(attr_name: str) -> typing.Any: - module_name = _dynamic_imports.get(attr_name) - if module_name is None: - raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") - try: - module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result - except ImportError as e: - raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e - except AttributeError as e: - raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e - - -def __dir__(): - lazy_attrs = list(_dynamic_imports.keys()) - return sorted(lazy_attrs) - - -__all__ = ["LinkedAccountsListRequestCategory"] diff --git a/src/merge/resources/knowledgebase/resources/linked_accounts/client.py b/src/merge/resources/knowledgebase/resources/linked_accounts/client.py deleted file mode 100644 index 58aff4bc..00000000 --- a/src/merge/resources/knowledgebase/resources/linked_accounts/client.py +++ /dev/null @@ -1,295 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.paginated_account_details_and_actions_list import PaginatedAccountDetailsAndActionsList -from .raw_client import AsyncRawLinkedAccountsClient, RawLinkedAccountsClient -from .types.linked_accounts_list_request_category import LinkedAccountsListRequestCategory - - -class LinkedAccountsClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawLinkedAccountsClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawLinkedAccountsClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawLinkedAccountsClient - """ - return self._raw_client - - def list( - self, - *, - category: typing.Optional[LinkedAccountsListRequestCategory] = None, - cursor: typing.Optional[str] = None, - end_user_email_address: typing.Optional[str] = None, - end_user_organization_name: typing.Optional[str] = None, - end_user_origin_id: typing.Optional[str] = None, - end_user_origin_ids: typing.Optional[str] = None, - id: typing.Optional[str] = None, - ids: typing.Optional[str] = None, - include_duplicates: typing.Optional[bool] = None, - integration_name: typing.Optional[str] = None, - is_test_account: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - status: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAccountDetailsAndActionsList: - """ - List linked accounts for your organization. - - Parameters - ---------- - category : typing.Optional[LinkedAccountsListRequestCategory] - Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `knowledgebase`, `mktg`, `ticketing` - - * `hris` - hris - * `ats` - ats - * `accounting` - accounting - * `ticketing` - ticketing - * `crm` - crm - * `mktg` - mktg - * `filestorage` - filestorage - * `knowledgebase` - knowledgebase - - cursor : typing.Optional[str] - The pagination cursor value. - - end_user_email_address : typing.Optional[str] - If provided, will only return linked accounts associated with the given email address. - - end_user_organization_name : typing.Optional[str] - If provided, will only return linked accounts associated with the given organization name. - - end_user_origin_id : typing.Optional[str] - If provided, will only return linked accounts associated with the given origin ID. - - end_user_origin_ids : typing.Optional[str] - Comma-separated list of EndUser origin IDs, making it possible to specify multiple EndUsers at once. - - id : typing.Optional[str] - - ids : typing.Optional[str] - Comma-separated list of LinkedAccount IDs, making it possible to specify multiple LinkedAccounts at once. - - include_duplicates : typing.Optional[bool] - If `true`, will include complete production duplicates of the account specified by the `id` query parameter in the response. `id` must be for a complete production linked account. - - integration_name : typing.Optional[str] - If provided, will only return linked accounts associated with the given integration name. - - is_test_account : typing.Optional[str] - If included, will only include test linked accounts. If not included, will only include non-test linked accounts. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - status : typing.Optional[str] - Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedAccountDetailsAndActionsList - - - Examples - -------- - from merge import Merge - from merge.resources.knowledgebase.resources.linked_accounts import ( - LinkedAccountsListRequestCategory, - ) - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.knowledgebase.linked_accounts.list( - category=LinkedAccountsListRequestCategory.ACCOUNTING, - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_user_email_address="end_user_email_address", - end_user_organization_name="end_user_organization_name", - end_user_origin_id="end_user_origin_id", - end_user_origin_ids="end_user_origin_ids", - id="id", - ids="ids", - include_duplicates=True, - integration_name="integration_name", - is_test_account="is_test_account", - page_size=1, - status="status", - ) - """ - _response = self._raw_client.list( - category=category, - cursor=cursor, - end_user_email_address=end_user_email_address, - end_user_organization_name=end_user_organization_name, - end_user_origin_id=end_user_origin_id, - end_user_origin_ids=end_user_origin_ids, - id=id, - ids=ids, - include_duplicates=include_duplicates, - integration_name=integration_name, - is_test_account=is_test_account, - page_size=page_size, - status=status, - request_options=request_options, - ) - return _response.data - - -class AsyncLinkedAccountsClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawLinkedAccountsClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawLinkedAccountsClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawLinkedAccountsClient - """ - return self._raw_client - - async def list( - self, - *, - category: typing.Optional[LinkedAccountsListRequestCategory] = None, - cursor: typing.Optional[str] = None, - end_user_email_address: typing.Optional[str] = None, - end_user_organization_name: typing.Optional[str] = None, - end_user_origin_id: typing.Optional[str] = None, - end_user_origin_ids: typing.Optional[str] = None, - id: typing.Optional[str] = None, - ids: typing.Optional[str] = None, - include_duplicates: typing.Optional[bool] = None, - integration_name: typing.Optional[str] = None, - is_test_account: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - status: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAccountDetailsAndActionsList: - """ - List linked accounts for your organization. - - Parameters - ---------- - category : typing.Optional[LinkedAccountsListRequestCategory] - Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `knowledgebase`, `mktg`, `ticketing` - - * `hris` - hris - * `ats` - ats - * `accounting` - accounting - * `ticketing` - ticketing - * `crm` - crm - * `mktg` - mktg - * `filestorage` - filestorage - * `knowledgebase` - knowledgebase - - cursor : typing.Optional[str] - The pagination cursor value. - - end_user_email_address : typing.Optional[str] - If provided, will only return linked accounts associated with the given email address. - - end_user_organization_name : typing.Optional[str] - If provided, will only return linked accounts associated with the given organization name. - - end_user_origin_id : typing.Optional[str] - If provided, will only return linked accounts associated with the given origin ID. - - end_user_origin_ids : typing.Optional[str] - Comma-separated list of EndUser origin IDs, making it possible to specify multiple EndUsers at once. - - id : typing.Optional[str] - - ids : typing.Optional[str] - Comma-separated list of LinkedAccount IDs, making it possible to specify multiple LinkedAccounts at once. - - include_duplicates : typing.Optional[bool] - If `true`, will include complete production duplicates of the account specified by the `id` query parameter in the response. `id` must be for a complete production linked account. - - integration_name : typing.Optional[str] - If provided, will only return linked accounts associated with the given integration name. - - is_test_account : typing.Optional[str] - If included, will only include test linked accounts. If not included, will only include non-test linked accounts. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - status : typing.Optional[str] - Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedAccountDetailsAndActionsList - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - from merge.resources.knowledgebase.resources.linked_accounts import ( - LinkedAccountsListRequestCategory, - ) - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.knowledgebase.linked_accounts.list( - category=LinkedAccountsListRequestCategory.ACCOUNTING, - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_user_email_address="end_user_email_address", - end_user_organization_name="end_user_organization_name", - end_user_origin_id="end_user_origin_id", - end_user_origin_ids="end_user_origin_ids", - id="id", - ids="ids", - include_duplicates=True, - integration_name="integration_name", - is_test_account="is_test_account", - page_size=1, - status="status", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.list( - category=category, - cursor=cursor, - end_user_email_address=end_user_email_address, - end_user_organization_name=end_user_organization_name, - end_user_origin_id=end_user_origin_id, - end_user_origin_ids=end_user_origin_ids, - id=id, - ids=ids, - include_duplicates=include_duplicates, - integration_name=integration_name, - is_test_account=is_test_account, - page_size=page_size, - status=status, - request_options=request_options, - ) - return _response.data diff --git a/src/merge/resources/knowledgebase/resources/linked_accounts/raw_client.py b/src/merge/resources/knowledgebase/resources/linked_accounts/raw_client.py deleted file mode 100644 index 8f51faac..00000000 --- a/src/merge/resources/knowledgebase/resources/linked_accounts/raw_client.py +++ /dev/null @@ -1,248 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.paginated_account_details_and_actions_list import PaginatedAccountDetailsAndActionsList -from .types.linked_accounts_list_request_category import LinkedAccountsListRequestCategory - - -class RawLinkedAccountsClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def list( - self, - *, - category: typing.Optional[LinkedAccountsListRequestCategory] = None, - cursor: typing.Optional[str] = None, - end_user_email_address: typing.Optional[str] = None, - end_user_organization_name: typing.Optional[str] = None, - end_user_origin_id: typing.Optional[str] = None, - end_user_origin_ids: typing.Optional[str] = None, - id: typing.Optional[str] = None, - ids: typing.Optional[str] = None, - include_duplicates: typing.Optional[bool] = None, - integration_name: typing.Optional[str] = None, - is_test_account: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - status: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedAccountDetailsAndActionsList]: - """ - List linked accounts for your organization. - - Parameters - ---------- - category : typing.Optional[LinkedAccountsListRequestCategory] - Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `knowledgebase`, `mktg`, `ticketing` - - * `hris` - hris - * `ats` - ats - * `accounting` - accounting - * `ticketing` - ticketing - * `crm` - crm - * `mktg` - mktg - * `filestorage` - filestorage - * `knowledgebase` - knowledgebase - - cursor : typing.Optional[str] - The pagination cursor value. - - end_user_email_address : typing.Optional[str] - If provided, will only return linked accounts associated with the given email address. - - end_user_organization_name : typing.Optional[str] - If provided, will only return linked accounts associated with the given organization name. - - end_user_origin_id : typing.Optional[str] - If provided, will only return linked accounts associated with the given origin ID. - - end_user_origin_ids : typing.Optional[str] - Comma-separated list of EndUser origin IDs, making it possible to specify multiple EndUsers at once. - - id : typing.Optional[str] - - ids : typing.Optional[str] - Comma-separated list of LinkedAccount IDs, making it possible to specify multiple LinkedAccounts at once. - - include_duplicates : typing.Optional[bool] - If `true`, will include complete production duplicates of the account specified by the `id` query parameter in the response. `id` must be for a complete production linked account. - - integration_name : typing.Optional[str] - If provided, will only return linked accounts associated with the given integration name. - - is_test_account : typing.Optional[str] - If included, will only include test linked accounts. If not included, will only include non-test linked accounts. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - status : typing.Optional[str] - Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[PaginatedAccountDetailsAndActionsList] - - """ - _response = self._client_wrapper.httpx_client.request( - "knowledgebase/v1/linked-accounts", - method="GET", - params={ - "category": category, - "cursor": cursor, - "end_user_email_address": end_user_email_address, - "end_user_organization_name": end_user_organization_name, - "end_user_origin_id": end_user_origin_id, - "end_user_origin_ids": end_user_origin_ids, - "id": id, - "ids": ids, - "include_duplicates": include_duplicates, - "integration_name": integration_name, - "is_test_account": is_test_account, - "page_size": page_size, - "status": status, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedAccountDetailsAndActionsList, - construct_type( - type_=PaginatedAccountDetailsAndActionsList, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawLinkedAccountsClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def list( - self, - *, - category: typing.Optional[LinkedAccountsListRequestCategory] = None, - cursor: typing.Optional[str] = None, - end_user_email_address: typing.Optional[str] = None, - end_user_organization_name: typing.Optional[str] = None, - end_user_origin_id: typing.Optional[str] = None, - end_user_origin_ids: typing.Optional[str] = None, - id: typing.Optional[str] = None, - ids: typing.Optional[str] = None, - include_duplicates: typing.Optional[bool] = None, - integration_name: typing.Optional[str] = None, - is_test_account: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - status: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedAccountDetailsAndActionsList]: - """ - List linked accounts for your organization. - - Parameters - ---------- - category : typing.Optional[LinkedAccountsListRequestCategory] - Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `knowledgebase`, `mktg`, `ticketing` - - * `hris` - hris - * `ats` - ats - * `accounting` - accounting - * `ticketing` - ticketing - * `crm` - crm - * `mktg` - mktg - * `filestorage` - filestorage - * `knowledgebase` - knowledgebase - - cursor : typing.Optional[str] - The pagination cursor value. - - end_user_email_address : typing.Optional[str] - If provided, will only return linked accounts associated with the given email address. - - end_user_organization_name : typing.Optional[str] - If provided, will only return linked accounts associated with the given organization name. - - end_user_origin_id : typing.Optional[str] - If provided, will only return linked accounts associated with the given origin ID. - - end_user_origin_ids : typing.Optional[str] - Comma-separated list of EndUser origin IDs, making it possible to specify multiple EndUsers at once. - - id : typing.Optional[str] - - ids : typing.Optional[str] - Comma-separated list of LinkedAccount IDs, making it possible to specify multiple LinkedAccounts at once. - - include_duplicates : typing.Optional[bool] - If `true`, will include complete production duplicates of the account specified by the `id` query parameter in the response. `id` must be for a complete production linked account. - - integration_name : typing.Optional[str] - If provided, will only return linked accounts associated with the given integration name. - - is_test_account : typing.Optional[str] - If included, will only include test linked accounts. If not included, will only include non-test linked accounts. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - status : typing.Optional[str] - Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[PaginatedAccountDetailsAndActionsList] - - """ - _response = await self._client_wrapper.httpx_client.request( - "knowledgebase/v1/linked-accounts", - method="GET", - params={ - "category": category, - "cursor": cursor, - "end_user_email_address": end_user_email_address, - "end_user_organization_name": end_user_organization_name, - "end_user_origin_id": end_user_origin_id, - "end_user_origin_ids": end_user_origin_ids, - "id": id, - "ids": ids, - "include_duplicates": include_duplicates, - "integration_name": integration_name, - "is_test_account": is_test_account, - "page_size": page_size, - "status": status, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedAccountDetailsAndActionsList, - construct_type( - type_=PaginatedAccountDetailsAndActionsList, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/knowledgebase/resources/linked_accounts/types/__init__.py b/src/merge/resources/knowledgebase/resources/linked_accounts/types/__init__.py deleted file mode 100644 index a28f38cc..00000000 --- a/src/merge/resources/knowledgebase/resources/linked_accounts/types/__init__.py +++ /dev/null @@ -1,34 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - -import typing -from importlib import import_module - -if typing.TYPE_CHECKING: - from .linked_accounts_list_request_category import LinkedAccountsListRequestCategory -_dynamic_imports: typing.Dict[str, str] = { - "LinkedAccountsListRequestCategory": ".linked_accounts_list_request_category" -} - - -def __getattr__(attr_name: str) -> typing.Any: - module_name = _dynamic_imports.get(attr_name) - if module_name is None: - raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") - try: - module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result - except ImportError as e: - raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e - except AttributeError as e: - raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e - - -def __dir__(): - lazy_attrs = list(_dynamic_imports.keys()) - return sorted(lazy_attrs) - - -__all__ = ["LinkedAccountsListRequestCategory"] diff --git a/src/merge/resources/knowledgebase/resources/linked_accounts/types/linked_accounts_list_request_category.py b/src/merge/resources/knowledgebase/resources/linked_accounts/types/linked_accounts_list_request_category.py deleted file mode 100644 index 681fe8ce..00000000 --- a/src/merge/resources/knowledgebase/resources/linked_accounts/types/linked_accounts_list_request_category.py +++ /dev/null @@ -1,45 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class LinkedAccountsListRequestCategory(str, enum.Enum): - ACCOUNTING = "accounting" - ATS = "ats" - CRM = "crm" - FILESTORAGE = "filestorage" - HRIS = "hris" - KNOWLEDGEBASE = "knowledgebase" - MKTG = "mktg" - TICKETING = "ticketing" - - def visit( - self, - accounting: typing.Callable[[], T_Result], - ats: typing.Callable[[], T_Result], - crm: typing.Callable[[], T_Result], - filestorage: typing.Callable[[], T_Result], - hris: typing.Callable[[], T_Result], - knowledgebase: typing.Callable[[], T_Result], - mktg: typing.Callable[[], T_Result], - ticketing: typing.Callable[[], T_Result], - ) -> T_Result: - if self is LinkedAccountsListRequestCategory.ACCOUNTING: - return accounting() - if self is LinkedAccountsListRequestCategory.ATS: - return ats() - if self is LinkedAccountsListRequestCategory.CRM: - return crm() - if self is LinkedAccountsListRequestCategory.FILESTORAGE: - return filestorage() - if self is LinkedAccountsListRequestCategory.HRIS: - return hris() - if self is LinkedAccountsListRequestCategory.KNOWLEDGEBASE: - return knowledgebase() - if self is LinkedAccountsListRequestCategory.MKTG: - return mktg() - if self is LinkedAccountsListRequestCategory.TICKETING: - return ticketing() diff --git a/src/merge/resources/knowledgebase/resources/passthrough/__init__.py b/src/merge/resources/knowledgebase/resources/passthrough/__init__.py deleted file mode 100644 index 5cde0202..00000000 --- a/src/merge/resources/knowledgebase/resources/passthrough/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - diff --git a/src/merge/resources/knowledgebase/resources/passthrough/client.py b/src/merge/resources/knowledgebase/resources/passthrough/client.py deleted file mode 100644 index 05d560f1..00000000 --- a/src/merge/resources/knowledgebase/resources/passthrough/client.py +++ /dev/null @@ -1,126 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.data_passthrough_request import DataPassthroughRequest -from ...types.remote_response import RemoteResponse -from .raw_client import AsyncRawPassthroughClient, RawPassthroughClient - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class PassthroughClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawPassthroughClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawPassthroughClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawPassthroughClient - """ - return self._raw_client - - def create( - self, *, request: DataPassthroughRequest, request_options: typing.Optional[RequestOptions] = None - ) -> RemoteResponse: - """ - Pull data from an endpoint not currently supported by Merge. - - Parameters - ---------- - request : DataPassthroughRequest - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - RemoteResponse - - - Examples - -------- - from merge import Merge - from merge.resources.knowledgebase import DataPassthroughRequest, MethodEnum - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.knowledgebase.passthrough.create( - request=DataPassthroughRequest( - method=MethodEnum.GET, - path="/scooters", - ), - ) - """ - _response = self._raw_client.create(request=request, request_options=request_options) - return _response.data - - -class AsyncPassthroughClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawPassthroughClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawPassthroughClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawPassthroughClient - """ - return self._raw_client - - async def create( - self, *, request: DataPassthroughRequest, request_options: typing.Optional[RequestOptions] = None - ) -> RemoteResponse: - """ - Pull data from an endpoint not currently supported by Merge. - - Parameters - ---------- - request : DataPassthroughRequest - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - RemoteResponse - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - from merge.resources.knowledgebase import DataPassthroughRequest, MethodEnum - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.knowledgebase.passthrough.create( - request=DataPassthroughRequest( - method=MethodEnum.GET, - path="/scooters", - ), - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.create(request=request, request_options=request_options) - return _response.data diff --git a/src/merge/resources/knowledgebase/resources/passthrough/raw_client.py b/src/merge/resources/knowledgebase/resources/passthrough/raw_client.py deleted file mode 100644 index 84c8bfdf..00000000 --- a/src/merge/resources/knowledgebase/resources/passthrough/raw_client.py +++ /dev/null @@ -1,111 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.data_passthrough_request import DataPassthroughRequest -from ...types.remote_response import RemoteResponse - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class RawPassthroughClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def create( - self, *, request: DataPassthroughRequest, request_options: typing.Optional[RequestOptions] = None - ) -> HttpResponse[RemoteResponse]: - """ - Pull data from an endpoint not currently supported by Merge. - - Parameters - ---------- - request : DataPassthroughRequest - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[RemoteResponse] - - """ - _response = self._client_wrapper.httpx_client.request( - "knowledgebase/v1/passthrough", - method="POST", - json=request, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - RemoteResponse, - construct_type( - type_=RemoteResponse, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawPassthroughClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def create( - self, *, request: DataPassthroughRequest, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncHttpResponse[RemoteResponse]: - """ - Pull data from an endpoint not currently supported by Merge. - - Parameters - ---------- - request : DataPassthroughRequest - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[RemoteResponse] - - """ - _response = await self._client_wrapper.httpx_client.request( - "knowledgebase/v1/passthrough", - method="POST", - json=request, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - RemoteResponse, - construct_type( - type_=RemoteResponse, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/knowledgebase/resources/regenerate_key/__init__.py b/src/merge/resources/knowledgebase/resources/regenerate_key/__init__.py deleted file mode 100644 index 5cde0202..00000000 --- a/src/merge/resources/knowledgebase/resources/regenerate_key/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - diff --git a/src/merge/resources/knowledgebase/resources/regenerate_key/client.py b/src/merge/resources/knowledgebase/resources/regenerate_key/client.py deleted file mode 100644 index a9417d74..00000000 --- a/src/merge/resources/knowledgebase/resources/regenerate_key/client.py +++ /dev/null @@ -1,115 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.remote_key import RemoteKey -from .raw_client import AsyncRawRegenerateKeyClient, RawRegenerateKeyClient - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class RegenerateKeyClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawRegenerateKeyClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawRegenerateKeyClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawRegenerateKeyClient - """ - return self._raw_client - - def create(self, *, name: str, request_options: typing.Optional[RequestOptions] = None) -> RemoteKey: - """ - Exchange remote keys. - - Parameters - ---------- - name : str - The name of the remote key - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - RemoteKey - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.knowledgebase.regenerate_key.create( - name="Remote Deployment Key 1", - ) - """ - _response = self._raw_client.create(name=name, request_options=request_options) - return _response.data - - -class AsyncRegenerateKeyClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawRegenerateKeyClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawRegenerateKeyClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawRegenerateKeyClient - """ - return self._raw_client - - async def create(self, *, name: str, request_options: typing.Optional[RequestOptions] = None) -> RemoteKey: - """ - Exchange remote keys. - - Parameters - ---------- - name : str - The name of the remote key - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - RemoteKey - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.knowledgebase.regenerate_key.create( - name="Remote Deployment Key 1", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.create(name=name, request_options=request_options) - return _response.data diff --git a/src/merge/resources/knowledgebase/resources/regenerate_key/raw_client.py b/src/merge/resources/knowledgebase/resources/regenerate_key/raw_client.py deleted file mode 100644 index 40114afa..00000000 --- a/src/merge/resources/knowledgebase/resources/regenerate_key/raw_client.py +++ /dev/null @@ -1,114 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.remote_key import RemoteKey - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class RawRegenerateKeyClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def create(self, *, name: str, request_options: typing.Optional[RequestOptions] = None) -> HttpResponse[RemoteKey]: - """ - Exchange remote keys. - - Parameters - ---------- - name : str - The name of the remote key - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[RemoteKey] - - """ - _response = self._client_wrapper.httpx_client.request( - "knowledgebase/v1/regenerate-key", - method="POST", - json={ - "name": name, - }, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - RemoteKey, - construct_type( - type_=RemoteKey, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawRegenerateKeyClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def create( - self, *, name: str, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncHttpResponse[RemoteKey]: - """ - Exchange remote keys. - - Parameters - ---------- - name : str - The name of the remote key - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[RemoteKey] - - """ - _response = await self._client_wrapper.httpx_client.request( - "knowledgebase/v1/regenerate-key", - method="POST", - json={ - "name": name, - }, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - RemoteKey, - construct_type( - type_=RemoteKey, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/knowledgebase/resources/scopes/__init__.py b/src/merge/resources/knowledgebase/resources/scopes/__init__.py deleted file mode 100644 index 5cde0202..00000000 --- a/src/merge/resources/knowledgebase/resources/scopes/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - diff --git a/src/merge/resources/knowledgebase/resources/scopes/client.py b/src/merge/resources/knowledgebase/resources/scopes/client.py deleted file mode 100644 index 9cc148ee..00000000 --- a/src/merge/resources/knowledgebase/resources/scopes/client.py +++ /dev/null @@ -1,320 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.common_model_scope_api import CommonModelScopeApi -from ...types.individual_common_model_scope_deserializer_request import IndividualCommonModelScopeDeserializerRequest -from .raw_client import AsyncRawScopesClient, RawScopesClient - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class ScopesClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawScopesClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawScopesClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawScopesClient - """ - return self._raw_client - - def default_scopes_retrieve( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> CommonModelScopeApi: - """ - Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - CommonModelScopeApi - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.knowledgebase.scopes.default_scopes_retrieve() - """ - _response = self._raw_client.default_scopes_retrieve(request_options=request_options) - return _response.data - - def linked_account_scopes_retrieve( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> CommonModelScopeApi: - """ - Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - CommonModelScopeApi - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.knowledgebase.scopes.linked_account_scopes_retrieve() - """ - _response = self._raw_client.linked_account_scopes_retrieve(request_options=request_options) - return _response.data - - def linked_account_scopes_create( - self, - *, - common_models: typing.Sequence[IndividualCommonModelScopeDeserializerRequest], - request_options: typing.Optional[RequestOptions] = None, - ) -> CommonModelScopeApi: - """ - Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes) - - Parameters - ---------- - common_models : typing.Sequence[IndividualCommonModelScopeDeserializerRequest] - The common models you want to update the scopes for - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - CommonModelScopeApi - - - Examples - -------- - from merge import Merge - from merge.resources.knowledgebase import ( - FieldPermissionDeserializerRequest, - IndividualCommonModelScopeDeserializerRequest, - ModelPermissionDeserializerRequest, - ) - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.knowledgebase.scopes.linked_account_scopes_create( - common_models=[ - IndividualCommonModelScopeDeserializerRequest( - model_name="Employee", - model_permissions={ - "READ": ModelPermissionDeserializerRequest( - is_enabled=True, - ), - "WRITE": ModelPermissionDeserializerRequest( - is_enabled=False, - ), - }, - field_permissions=FieldPermissionDeserializerRequest( - enabled_fields=["avatar", "home_location"], - disabled_fields=["work_location"], - ), - ), - IndividualCommonModelScopeDeserializerRequest( - model_name="Benefit", - model_permissions={ - "WRITE": ModelPermissionDeserializerRequest( - is_enabled=False, - ) - }, - ), - ], - ) - """ - _response = self._raw_client.linked_account_scopes_create( - common_models=common_models, request_options=request_options - ) - return _response.data - - -class AsyncScopesClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawScopesClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawScopesClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawScopesClient - """ - return self._raw_client - - async def default_scopes_retrieve( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> CommonModelScopeApi: - """ - Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - CommonModelScopeApi - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.knowledgebase.scopes.default_scopes_retrieve() - - - asyncio.run(main()) - """ - _response = await self._raw_client.default_scopes_retrieve(request_options=request_options) - return _response.data - - async def linked_account_scopes_retrieve( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> CommonModelScopeApi: - """ - Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - CommonModelScopeApi - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.knowledgebase.scopes.linked_account_scopes_retrieve() - - - asyncio.run(main()) - """ - _response = await self._raw_client.linked_account_scopes_retrieve(request_options=request_options) - return _response.data - - async def linked_account_scopes_create( - self, - *, - common_models: typing.Sequence[IndividualCommonModelScopeDeserializerRequest], - request_options: typing.Optional[RequestOptions] = None, - ) -> CommonModelScopeApi: - """ - Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes) - - Parameters - ---------- - common_models : typing.Sequence[IndividualCommonModelScopeDeserializerRequest] - The common models you want to update the scopes for - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - CommonModelScopeApi - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - from merge.resources.knowledgebase import ( - FieldPermissionDeserializerRequest, - IndividualCommonModelScopeDeserializerRequest, - ModelPermissionDeserializerRequest, - ) - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.knowledgebase.scopes.linked_account_scopes_create( - common_models=[ - IndividualCommonModelScopeDeserializerRequest( - model_name="Employee", - model_permissions={ - "READ": ModelPermissionDeserializerRequest( - is_enabled=True, - ), - "WRITE": ModelPermissionDeserializerRequest( - is_enabled=False, - ), - }, - field_permissions=FieldPermissionDeserializerRequest( - enabled_fields=["avatar", "home_location"], - disabled_fields=["work_location"], - ), - ), - IndividualCommonModelScopeDeserializerRequest( - model_name="Benefit", - model_permissions={ - "WRITE": ModelPermissionDeserializerRequest( - is_enabled=False, - ) - }, - ), - ], - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.linked_account_scopes_create( - common_models=common_models, request_options=request_options - ) - return _response.data diff --git a/src/merge/resources/knowledgebase/resources/scopes/raw_client.py b/src/merge/resources/knowledgebase/resources/scopes/raw_client.py deleted file mode 100644 index c9ae8287..00000000 --- a/src/merge/resources/knowledgebase/resources/scopes/raw_client.py +++ /dev/null @@ -1,267 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.common_model_scope_api import CommonModelScopeApi -from ...types.individual_common_model_scope_deserializer_request import IndividualCommonModelScopeDeserializerRequest - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class RawScopesClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def default_scopes_retrieve( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> HttpResponse[CommonModelScopeApi]: - """ - Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[CommonModelScopeApi] - - """ - _response = self._client_wrapper.httpx_client.request( - "knowledgebase/v1/default-scopes", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - CommonModelScopeApi, - construct_type( - type_=CommonModelScopeApi, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def linked_account_scopes_retrieve( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> HttpResponse[CommonModelScopeApi]: - """ - Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[CommonModelScopeApi] - - """ - _response = self._client_wrapper.httpx_client.request( - "knowledgebase/v1/linked-account-scopes", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - CommonModelScopeApi, - construct_type( - type_=CommonModelScopeApi, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def linked_account_scopes_create( - self, - *, - common_models: typing.Sequence[IndividualCommonModelScopeDeserializerRequest], - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[CommonModelScopeApi]: - """ - Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes) - - Parameters - ---------- - common_models : typing.Sequence[IndividualCommonModelScopeDeserializerRequest] - The common models you want to update the scopes for - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[CommonModelScopeApi] - - """ - _response = self._client_wrapper.httpx_client.request( - "knowledgebase/v1/linked-account-scopes", - method="POST", - json={ - "common_models": common_models, - }, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - CommonModelScopeApi, - construct_type( - type_=CommonModelScopeApi, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawScopesClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def default_scopes_retrieve( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncHttpResponse[CommonModelScopeApi]: - """ - Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[CommonModelScopeApi] - - """ - _response = await self._client_wrapper.httpx_client.request( - "knowledgebase/v1/default-scopes", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - CommonModelScopeApi, - construct_type( - type_=CommonModelScopeApi, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def linked_account_scopes_retrieve( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncHttpResponse[CommonModelScopeApi]: - """ - Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[CommonModelScopeApi] - - """ - _response = await self._client_wrapper.httpx_client.request( - "knowledgebase/v1/linked-account-scopes", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - CommonModelScopeApi, - construct_type( - type_=CommonModelScopeApi, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def linked_account_scopes_create( - self, - *, - common_models: typing.Sequence[IndividualCommonModelScopeDeserializerRequest], - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[CommonModelScopeApi]: - """ - Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes) - - Parameters - ---------- - common_models : typing.Sequence[IndividualCommonModelScopeDeserializerRequest] - The common models you want to update the scopes for - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[CommonModelScopeApi] - - """ - _response = await self._client_wrapper.httpx_client.request( - "knowledgebase/v1/linked-account-scopes", - method="POST", - json={ - "common_models": common_models, - }, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - CommonModelScopeApi, - construct_type( - type_=CommonModelScopeApi, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/knowledgebase/resources/sync_status/__init__.py b/src/merge/resources/knowledgebase/resources/sync_status/__init__.py deleted file mode 100644 index 5cde0202..00000000 --- a/src/merge/resources/knowledgebase/resources/sync_status/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - diff --git a/src/merge/resources/knowledgebase/resources/sync_status/client.py b/src/merge/resources/knowledgebase/resources/sync_status/client.py deleted file mode 100644 index 5dc61338..00000000 --- a/src/merge/resources/knowledgebase/resources/sync_status/client.py +++ /dev/null @@ -1,132 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.paginated_sync_status_list import PaginatedSyncStatusList -from .raw_client import AsyncRawSyncStatusClient, RawSyncStatusClient - - -class SyncStatusClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawSyncStatusClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawSyncStatusClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawSyncStatusClient - """ - return self._raw_client - - def list( - self, - *, - cursor: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedSyncStatusList: - """ - Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). - - Parameters - ---------- - cursor : typing.Optional[str] - The pagination cursor value. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedSyncStatusList - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.knowledgebase.sync_status.list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - page_size=1, - ) - """ - _response = self._raw_client.list(cursor=cursor, page_size=page_size, request_options=request_options) - return _response.data - - -class AsyncSyncStatusClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawSyncStatusClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawSyncStatusClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawSyncStatusClient - """ - return self._raw_client - - async def list( - self, - *, - cursor: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedSyncStatusList: - """ - Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). - - Parameters - ---------- - cursor : typing.Optional[str] - The pagination cursor value. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedSyncStatusList - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.knowledgebase.sync_status.list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - page_size=1, - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.list(cursor=cursor, page_size=page_size, request_options=request_options) - return _response.data diff --git a/src/merge/resources/knowledgebase/resources/sync_status/raw_client.py b/src/merge/resources/knowledgebase/resources/sync_status/raw_client.py deleted file mode 100644 index 9a9760cd..00000000 --- a/src/merge/resources/knowledgebase/resources/sync_status/raw_client.py +++ /dev/null @@ -1,121 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.paginated_sync_status_list import PaginatedSyncStatusList - - -class RawSyncStatusClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def list( - self, - *, - cursor: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedSyncStatusList]: - """ - Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). - - Parameters - ---------- - cursor : typing.Optional[str] - The pagination cursor value. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[PaginatedSyncStatusList] - - """ - _response = self._client_wrapper.httpx_client.request( - "knowledgebase/v1/sync-status", - method="GET", - params={ - "cursor": cursor, - "page_size": page_size, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedSyncStatusList, - construct_type( - type_=PaginatedSyncStatusList, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawSyncStatusClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def list( - self, - *, - cursor: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedSyncStatusList]: - """ - Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). - - Parameters - ---------- - cursor : typing.Optional[str] - The pagination cursor value. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[PaginatedSyncStatusList] - - """ - _response = await self._client_wrapper.httpx_client.request( - "knowledgebase/v1/sync-status", - method="GET", - params={ - "cursor": cursor, - "page_size": page_size, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedSyncStatusList, - construct_type( - type_=PaginatedSyncStatusList, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/knowledgebase/resources/users/__init__.py b/src/merge/resources/knowledgebase/resources/users/__init__.py deleted file mode 100644 index 5cde0202..00000000 --- a/src/merge/resources/knowledgebase/resources/users/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - diff --git a/src/merge/resources/knowledgebase/resources/users/client.py b/src/merge/resources/knowledgebase/resources/users/client.py deleted file mode 100644 index 88089fd5..00000000 --- a/src/merge/resources/knowledgebase/resources/users/client.py +++ /dev/null @@ -1,367 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.paginated_user_list import PaginatedUserList -from ...types.user import User -from .raw_client import AsyncRawUsersClient, RawUsersClient - - -class UsersClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawUsersClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawUsersClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawUsersClient - """ - return self._raw_client - - def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedUserList: - """ - Returns a list of `User` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedUserList - - - Examples - -------- - import datetime - - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.knowledgebase.users.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", - ) - """ - _response = self._raw_client.list( - created_after=created_after, - created_before=created_before, - cursor=cursor, - include_deleted_data=include_deleted_data, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - modified_after=modified_after, - modified_before=modified_before, - page_size=page_size, - remote_id=remote_id, - request_options=request_options, - ) - return _response.data - - def retrieve( - self, - id: str, - *, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> User: - """ - Returns a `User` object with the given `id`. - - Parameters - ---------- - id : str - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - User - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.knowledgebase.users.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, - ) - """ - _response = self._raw_client.retrieve( - id, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - request_options=request_options, - ) - return _response.data - - -class AsyncUsersClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawUsersClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawUsersClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawUsersClient - """ - return self._raw_client - - async def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedUserList: - """ - Returns a list of `User` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedUserList - - - Examples - -------- - import asyncio - import datetime - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.knowledgebase.users.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.list( - created_after=created_after, - created_before=created_before, - cursor=cursor, - include_deleted_data=include_deleted_data, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - modified_after=modified_after, - modified_before=modified_before, - page_size=page_size, - remote_id=remote_id, - request_options=request_options, - ) - return _response.data - - async def retrieve( - self, - id: str, - *, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> User: - """ - Returns a `User` object with the given `id`. - - Parameters - ---------- - id : str - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - User - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.knowledgebase.users.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.retrieve( - id, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - request_options=request_options, - ) - return _response.data diff --git a/src/merge/resources/knowledgebase/resources/users/raw_client.py b/src/merge/resources/knowledgebase/resources/users/raw_client.py deleted file mode 100644 index 0cf2bc46..00000000 --- a/src/merge/resources/knowledgebase/resources/users/raw_client.py +++ /dev/null @@ -1,311 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.datetime_utils import serialize_datetime -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.jsonable_encoder import jsonable_encoder -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.paginated_user_list import PaginatedUserList -from ...types.user import User - - -class RawUsersClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedUserList]: - """ - Returns a list of `User` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[PaginatedUserList] - - """ - _response = self._client_wrapper.httpx_client.request( - "knowledgebase/v1/users", - method="GET", - params={ - "created_after": serialize_datetime(created_after) if created_after is not None else None, - "created_before": serialize_datetime(created_before) if created_before is not None else None, - "cursor": cursor, - "include_deleted_data": include_deleted_data, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - "modified_after": serialize_datetime(modified_after) if modified_after is not None else None, - "modified_before": serialize_datetime(modified_before) if modified_before is not None else None, - "page_size": page_size, - "remote_id": remote_id, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedUserList, - construct_type( - type_=PaginatedUserList, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def retrieve( - self, - id: str, - *, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[User]: - """ - Returns a `User` object with the given `id`. - - Parameters - ---------- - id : str - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[User] - - """ - _response = self._client_wrapper.httpx_client.request( - f"knowledgebase/v1/users/{jsonable_encoder(id)}", - method="GET", - params={ - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - User, - construct_type( - type_=User, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawUsersClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedUserList]: - """ - Returns a list of `User` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[PaginatedUserList] - - """ - _response = await self._client_wrapper.httpx_client.request( - "knowledgebase/v1/users", - method="GET", - params={ - "created_after": serialize_datetime(created_after) if created_after is not None else None, - "created_before": serialize_datetime(created_before) if created_before is not None else None, - "cursor": cursor, - "include_deleted_data": include_deleted_data, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - "modified_after": serialize_datetime(modified_after) if modified_after is not None else None, - "modified_before": serialize_datetime(modified_before) if modified_before is not None else None, - "page_size": page_size, - "remote_id": remote_id, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedUserList, - construct_type( - type_=PaginatedUserList, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def retrieve( - self, - id: str, - *, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[User]: - """ - Returns a `User` object with the given `id`. - - Parameters - ---------- - id : str - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[User] - - """ - _response = await self._client_wrapper.httpx_client.request( - f"knowledgebase/v1/users/{jsonable_encoder(id)}", - method="GET", - params={ - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - User, - construct_type( - type_=User, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/knowledgebase/resources/webhook_receivers/__init__.py b/src/merge/resources/knowledgebase/resources/webhook_receivers/__init__.py deleted file mode 100644 index 5cde0202..00000000 --- a/src/merge/resources/knowledgebase/resources/webhook_receivers/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - diff --git a/src/merge/resources/knowledgebase/resources/webhook_receivers/client.py b/src/merge/resources/knowledgebase/resources/webhook_receivers/client.py deleted file mode 100644 index f7626d94..00000000 --- a/src/merge/resources/knowledgebase/resources/webhook_receivers/client.py +++ /dev/null @@ -1,201 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.webhook_receiver import WebhookReceiver -from .raw_client import AsyncRawWebhookReceiversClient, RawWebhookReceiversClient - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class WebhookReceiversClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawWebhookReceiversClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawWebhookReceiversClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawWebhookReceiversClient - """ - return self._raw_client - - def list(self, *, request_options: typing.Optional[RequestOptions] = None) -> typing.List[WebhookReceiver]: - """ - Returns a list of `WebhookReceiver` objects. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - typing.List[WebhookReceiver] - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.knowledgebase.webhook_receivers.list() - """ - _response = self._raw_client.list(request_options=request_options) - return _response.data - - def create( - self, - *, - event: str, - is_active: bool, - key: typing.Optional[str] = OMIT, - request_options: typing.Optional[RequestOptions] = None, - ) -> WebhookReceiver: - """ - Creates a `WebhookReceiver` object with the given values. - - Parameters - ---------- - event : str - - is_active : bool - - key : typing.Optional[str] - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - WebhookReceiver - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.knowledgebase.webhook_receivers.create( - event="event", - is_active=True, - ) - """ - _response = self._raw_client.create(event=event, is_active=is_active, key=key, request_options=request_options) - return _response.data - - -class AsyncWebhookReceiversClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawWebhookReceiversClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawWebhookReceiversClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawWebhookReceiversClient - """ - return self._raw_client - - async def list(self, *, request_options: typing.Optional[RequestOptions] = None) -> typing.List[WebhookReceiver]: - """ - Returns a list of `WebhookReceiver` objects. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - typing.List[WebhookReceiver] - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.knowledgebase.webhook_receivers.list() - - - asyncio.run(main()) - """ - _response = await self._raw_client.list(request_options=request_options) - return _response.data - - async def create( - self, - *, - event: str, - is_active: bool, - key: typing.Optional[str] = OMIT, - request_options: typing.Optional[RequestOptions] = None, - ) -> WebhookReceiver: - """ - Creates a `WebhookReceiver` object with the given values. - - Parameters - ---------- - event : str - - is_active : bool - - key : typing.Optional[str] - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - WebhookReceiver - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.knowledgebase.webhook_receivers.create( - event="event", - is_active=True, - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.create( - event=event, is_active=is_active, key=key, request_options=request_options - ) - return _response.data diff --git a/src/merge/resources/knowledgebase/resources/webhook_receivers/raw_client.py b/src/merge/resources/knowledgebase/resources/webhook_receivers/raw_client.py deleted file mode 100644 index cc0f8589..00000000 --- a/src/merge/resources/knowledgebase/resources/webhook_receivers/raw_client.py +++ /dev/null @@ -1,208 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.webhook_receiver import WebhookReceiver - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class RawWebhookReceiversClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def list( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> HttpResponse[typing.List[WebhookReceiver]]: - """ - Returns a list of `WebhookReceiver` objects. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[typing.List[WebhookReceiver]] - - """ - _response = self._client_wrapper.httpx_client.request( - "knowledgebase/v1/webhook-receivers", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - typing.List[WebhookReceiver], - construct_type( - type_=typing.List[WebhookReceiver], # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def create( - self, - *, - event: str, - is_active: bool, - key: typing.Optional[str] = OMIT, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[WebhookReceiver]: - """ - Creates a `WebhookReceiver` object with the given values. - - Parameters - ---------- - event : str - - is_active : bool - - key : typing.Optional[str] - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[WebhookReceiver] - - """ - _response = self._client_wrapper.httpx_client.request( - "knowledgebase/v1/webhook-receivers", - method="POST", - json={ - "event": event, - "is_active": is_active, - "key": key, - }, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - WebhookReceiver, - construct_type( - type_=WebhookReceiver, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawWebhookReceiversClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def list( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncHttpResponse[typing.List[WebhookReceiver]]: - """ - Returns a list of `WebhookReceiver` objects. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[typing.List[WebhookReceiver]] - - """ - _response = await self._client_wrapper.httpx_client.request( - "knowledgebase/v1/webhook-receivers", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - typing.List[WebhookReceiver], - construct_type( - type_=typing.List[WebhookReceiver], # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def create( - self, - *, - event: str, - is_active: bool, - key: typing.Optional[str] = OMIT, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[WebhookReceiver]: - """ - Creates a `WebhookReceiver` object with the given values. - - Parameters - ---------- - event : str - - is_active : bool - - key : typing.Optional[str] - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[WebhookReceiver] - - """ - _response = await self._client_wrapper.httpx_client.request( - "knowledgebase/v1/webhook-receivers", - method="POST", - json={ - "event": event, - "is_active": is_active, - "key": key, - }, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - WebhookReceiver, - construct_type( - type_=WebhookReceiver, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/knowledgebase/types/__init__.py b/src/merge/resources/knowledgebase/types/__init__.py deleted file mode 100644 index fb238bfc..00000000 --- a/src/merge/resources/knowledgebase/types/__init__.py +++ /dev/null @@ -1,374 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - -import typing -from importlib import import_module - -if typing.TYPE_CHECKING: - from .account_details import AccountDetails - from .account_details_and_actions import AccountDetailsAndActions - from .account_details_and_actions_category import AccountDetailsAndActionsCategory - from .account_details_and_actions_integration import AccountDetailsAndActionsIntegration - from .account_details_and_actions_status import AccountDetailsAndActionsStatus - from .account_details_and_actions_status_enum import AccountDetailsAndActionsStatusEnum - from .account_details_category import AccountDetailsCategory - from .account_integration import AccountIntegration - from .account_token import AccountToken - from .advanced_metadata import AdvancedMetadata - from .article import Article - from .article_attachments_item import ArticleAttachmentsItem - from .article_author import ArticleAuthor - from .article_last_edited_by import ArticleLastEditedBy - from .article_parent_article import ArticleParentArticle - from .article_parent_container import ArticleParentContainer - from .article_permissions_item import ArticlePermissionsItem - from .article_root_container import ArticleRootContainer - from .article_status import ArticleStatus - from .article_type import ArticleType - from .article_type_enum import ArticleTypeEnum - from .article_visibility import ArticleVisibility - from .async_passthrough_reciept import AsyncPassthroughReciept - from .attachment import Attachment - from .audit_log_event import AuditLogEvent - from .audit_log_event_event_type import AuditLogEventEventType - from .audit_log_event_role import AuditLogEventRole - from .available_actions import AvailableActions - from .categories_enum import CategoriesEnum - from .category_enum import CategoryEnum - from .common_model_scope_api import CommonModelScopeApi - from .common_model_scopes_body_request import CommonModelScopesBodyRequest - from .completed_account_initial_screen_enum import CompletedAccountInitialScreenEnum - from .container import Container - from .container_permissions_item import ContainerPermissionsItem - from .container_status import ContainerStatus - from .container_type import ContainerType - from .container_type_enum import ContainerTypeEnum - from .container_visibility import ContainerVisibility - from .data_passthrough_request import DataPassthroughRequest - from .data_passthrough_request_method import DataPassthroughRequestMethod - from .data_passthrough_request_request_format import DataPassthroughRequestRequestFormat - from .debug_mode_log import DebugModeLog - from .debug_model_log_summary import DebugModelLogSummary - from .enabled_actions_enum import EnabledActionsEnum - from .encoding_enum import EncodingEnum - from .error_validation_problem import ErrorValidationProblem - from .event_type_enum import EventTypeEnum - from .external_target_field_api import ExternalTargetFieldApi - from .external_target_field_api_response import ExternalTargetFieldApiResponse - from .field_mapping_api_instance import FieldMappingApiInstance - from .field_mapping_api_instance_remote_field import FieldMappingApiInstanceRemoteField - from .field_mapping_api_instance_remote_field_remote_endpoint_info import ( - FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo, - ) - from .field_mapping_api_instance_response import FieldMappingApiInstanceResponse - from .field_mapping_api_instance_target_field import FieldMappingApiInstanceTargetField - from .field_mapping_instance_response import FieldMappingInstanceResponse - from .field_permission_deserializer import FieldPermissionDeserializer - from .field_permission_deserializer_request import FieldPermissionDeserializerRequest - from .group import Group - from .group_parent_group import GroupParentGroup - from .group_users_item import GroupUsersItem - from .individual_common_model_scope_deserializer import IndividualCommonModelScopeDeserializer - from .individual_common_model_scope_deserializer_request import IndividualCommonModelScopeDeserializerRequest - from .issue import Issue - from .issue_status import IssueStatus - from .issue_status_enum import IssueStatusEnum - from .language_enum import LanguageEnum - from .last_sync_result_enum import LastSyncResultEnum - from .link_token import LinkToken - from .method_enum import MethodEnum - from .model_operation import ModelOperation - from .model_permission_deserializer import ModelPermissionDeserializer - from .model_permission_deserializer_request import ModelPermissionDeserializerRequest - from .multipart_form_field_request import MultipartFormFieldRequest - from .multipart_form_field_request_encoding import MultipartFormFieldRequestEncoding - from .paginated_account_details_and_actions_list import PaginatedAccountDetailsAndActionsList - from .paginated_article_list import PaginatedArticleList - from .paginated_attachment_list import PaginatedAttachmentList - from .paginated_audit_log_event_list import PaginatedAuditLogEventList - from .paginated_container_list import PaginatedContainerList - from .paginated_group_list import PaginatedGroupList - from .paginated_issue_list import PaginatedIssueList - from .paginated_sync_status_list import PaginatedSyncStatusList - from .paginated_user_list import PaginatedUserList - from .permission import Permission - from .permission_group import PermissionGroup - from .permission_type import PermissionType - from .permission_type_enum import PermissionTypeEnum - from .permission_user import PermissionUser - from .remote_data import RemoteData - from .remote_endpoint_info import RemoteEndpointInfo - from .remote_field_api import RemoteFieldApi - from .remote_field_api_advanced_metadata import RemoteFieldApiAdvancedMetadata - from .remote_field_api_coverage import RemoteFieldApiCoverage - from .remote_field_api_response import RemoteFieldApiResponse - from .remote_key import RemoteKey - from .remote_response import RemoteResponse - from .remote_response_response_type import RemoteResponseResponseType - from .request_format_enum import RequestFormatEnum - from .response_type_enum import ResponseTypeEnum - from .role_enum import RoleEnum - from .roles_enum import RolesEnum - from .selective_sync_configurations_usage_enum import SelectiveSyncConfigurationsUsageEnum - from .status_3_c_6_enum import Status3C6Enum - from .status_fd_5_enum import StatusFd5Enum - from .sync_status import SyncStatus - from .sync_status_last_sync_result import SyncStatusLastSyncResult - from .sync_status_status import SyncStatusStatus - from .user import User - from .validation_problem_source import ValidationProblemSource - from .visibility_enum import VisibilityEnum - from .warning_validation_problem import WarningValidationProblem - from .webhook_receiver import WebhookReceiver -_dynamic_imports: typing.Dict[str, str] = { - "AccountDetails": ".account_details", - "AccountDetailsAndActions": ".account_details_and_actions", - "AccountDetailsAndActionsCategory": ".account_details_and_actions_category", - "AccountDetailsAndActionsIntegration": ".account_details_and_actions_integration", - "AccountDetailsAndActionsStatus": ".account_details_and_actions_status", - "AccountDetailsAndActionsStatusEnum": ".account_details_and_actions_status_enum", - "AccountDetailsCategory": ".account_details_category", - "AccountIntegration": ".account_integration", - "AccountToken": ".account_token", - "AdvancedMetadata": ".advanced_metadata", - "Article": ".article", - "ArticleAttachmentsItem": ".article_attachments_item", - "ArticleAuthor": ".article_author", - "ArticleLastEditedBy": ".article_last_edited_by", - "ArticleParentArticle": ".article_parent_article", - "ArticleParentContainer": ".article_parent_container", - "ArticlePermissionsItem": ".article_permissions_item", - "ArticleRootContainer": ".article_root_container", - "ArticleStatus": ".article_status", - "ArticleType": ".article_type", - "ArticleTypeEnum": ".article_type_enum", - "ArticleVisibility": ".article_visibility", - "AsyncPassthroughReciept": ".async_passthrough_reciept", - "Attachment": ".attachment", - "AuditLogEvent": ".audit_log_event", - "AuditLogEventEventType": ".audit_log_event_event_type", - "AuditLogEventRole": ".audit_log_event_role", - "AvailableActions": ".available_actions", - "CategoriesEnum": ".categories_enum", - "CategoryEnum": ".category_enum", - "CommonModelScopeApi": ".common_model_scope_api", - "CommonModelScopesBodyRequest": ".common_model_scopes_body_request", - "CompletedAccountInitialScreenEnum": ".completed_account_initial_screen_enum", - "Container": ".container", - "ContainerPermissionsItem": ".container_permissions_item", - "ContainerStatus": ".container_status", - "ContainerType": ".container_type", - "ContainerTypeEnum": ".container_type_enum", - "ContainerVisibility": ".container_visibility", - "DataPassthroughRequest": ".data_passthrough_request", - "DataPassthroughRequestMethod": ".data_passthrough_request_method", - "DataPassthroughRequestRequestFormat": ".data_passthrough_request_request_format", - "DebugModeLog": ".debug_mode_log", - "DebugModelLogSummary": ".debug_model_log_summary", - "EnabledActionsEnum": ".enabled_actions_enum", - "EncodingEnum": ".encoding_enum", - "ErrorValidationProblem": ".error_validation_problem", - "EventTypeEnum": ".event_type_enum", - "ExternalTargetFieldApi": ".external_target_field_api", - "ExternalTargetFieldApiResponse": ".external_target_field_api_response", - "FieldMappingApiInstance": ".field_mapping_api_instance", - "FieldMappingApiInstanceRemoteField": ".field_mapping_api_instance_remote_field", - "FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo": ".field_mapping_api_instance_remote_field_remote_endpoint_info", - "FieldMappingApiInstanceResponse": ".field_mapping_api_instance_response", - "FieldMappingApiInstanceTargetField": ".field_mapping_api_instance_target_field", - "FieldMappingInstanceResponse": ".field_mapping_instance_response", - "FieldPermissionDeserializer": ".field_permission_deserializer", - "FieldPermissionDeserializerRequest": ".field_permission_deserializer_request", - "Group": ".group", - "GroupParentGroup": ".group_parent_group", - "GroupUsersItem": ".group_users_item", - "IndividualCommonModelScopeDeserializer": ".individual_common_model_scope_deserializer", - "IndividualCommonModelScopeDeserializerRequest": ".individual_common_model_scope_deserializer_request", - "Issue": ".issue", - "IssueStatus": ".issue_status", - "IssueStatusEnum": ".issue_status_enum", - "LanguageEnum": ".language_enum", - "LastSyncResultEnum": ".last_sync_result_enum", - "LinkToken": ".link_token", - "MethodEnum": ".method_enum", - "ModelOperation": ".model_operation", - "ModelPermissionDeserializer": ".model_permission_deserializer", - "ModelPermissionDeserializerRequest": ".model_permission_deserializer_request", - "MultipartFormFieldRequest": ".multipart_form_field_request", - "MultipartFormFieldRequestEncoding": ".multipart_form_field_request_encoding", - "PaginatedAccountDetailsAndActionsList": ".paginated_account_details_and_actions_list", - "PaginatedArticleList": ".paginated_article_list", - "PaginatedAttachmentList": ".paginated_attachment_list", - "PaginatedAuditLogEventList": ".paginated_audit_log_event_list", - "PaginatedContainerList": ".paginated_container_list", - "PaginatedGroupList": ".paginated_group_list", - "PaginatedIssueList": ".paginated_issue_list", - "PaginatedSyncStatusList": ".paginated_sync_status_list", - "PaginatedUserList": ".paginated_user_list", - "Permission": ".permission", - "PermissionGroup": ".permission_group", - "PermissionType": ".permission_type", - "PermissionTypeEnum": ".permission_type_enum", - "PermissionUser": ".permission_user", - "RemoteData": ".remote_data", - "RemoteEndpointInfo": ".remote_endpoint_info", - "RemoteFieldApi": ".remote_field_api", - "RemoteFieldApiAdvancedMetadata": ".remote_field_api_advanced_metadata", - "RemoteFieldApiCoverage": ".remote_field_api_coverage", - "RemoteFieldApiResponse": ".remote_field_api_response", - "RemoteKey": ".remote_key", - "RemoteResponse": ".remote_response", - "RemoteResponseResponseType": ".remote_response_response_type", - "RequestFormatEnum": ".request_format_enum", - "ResponseTypeEnum": ".response_type_enum", - "RoleEnum": ".role_enum", - "RolesEnum": ".roles_enum", - "SelectiveSyncConfigurationsUsageEnum": ".selective_sync_configurations_usage_enum", - "Status3C6Enum": ".status_3_c_6_enum", - "StatusFd5Enum": ".status_fd_5_enum", - "SyncStatus": ".sync_status", - "SyncStatusLastSyncResult": ".sync_status_last_sync_result", - "SyncStatusStatus": ".sync_status_status", - "User": ".user", - "ValidationProblemSource": ".validation_problem_source", - "VisibilityEnum": ".visibility_enum", - "WarningValidationProblem": ".warning_validation_problem", - "WebhookReceiver": ".webhook_receiver", -} - - -def __getattr__(attr_name: str) -> typing.Any: - module_name = _dynamic_imports.get(attr_name) - if module_name is None: - raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") - try: - module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result - except ImportError as e: - raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e - except AttributeError as e: - raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e - - -def __dir__(): - lazy_attrs = list(_dynamic_imports.keys()) - return sorted(lazy_attrs) - - -__all__ = [ - "AccountDetails", - "AccountDetailsAndActions", - "AccountDetailsAndActionsCategory", - "AccountDetailsAndActionsIntegration", - "AccountDetailsAndActionsStatus", - "AccountDetailsAndActionsStatusEnum", - "AccountDetailsCategory", - "AccountIntegration", - "AccountToken", - "AdvancedMetadata", - "Article", - "ArticleAttachmentsItem", - "ArticleAuthor", - "ArticleLastEditedBy", - "ArticleParentArticle", - "ArticleParentContainer", - "ArticlePermissionsItem", - "ArticleRootContainer", - "ArticleStatus", - "ArticleType", - "ArticleTypeEnum", - "ArticleVisibility", - "AsyncPassthroughReciept", - "Attachment", - "AuditLogEvent", - "AuditLogEventEventType", - "AuditLogEventRole", - "AvailableActions", - "CategoriesEnum", - "CategoryEnum", - "CommonModelScopeApi", - "CommonModelScopesBodyRequest", - "CompletedAccountInitialScreenEnum", - "Container", - "ContainerPermissionsItem", - "ContainerStatus", - "ContainerType", - "ContainerTypeEnum", - "ContainerVisibility", - "DataPassthroughRequest", - "DataPassthroughRequestMethod", - "DataPassthroughRequestRequestFormat", - "DebugModeLog", - "DebugModelLogSummary", - "EnabledActionsEnum", - "EncodingEnum", - "ErrorValidationProblem", - "EventTypeEnum", - "ExternalTargetFieldApi", - "ExternalTargetFieldApiResponse", - "FieldMappingApiInstance", - "FieldMappingApiInstanceRemoteField", - "FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo", - "FieldMappingApiInstanceResponse", - "FieldMappingApiInstanceTargetField", - "FieldMappingInstanceResponse", - "FieldPermissionDeserializer", - "FieldPermissionDeserializerRequest", - "Group", - "GroupParentGroup", - "GroupUsersItem", - "IndividualCommonModelScopeDeserializer", - "IndividualCommonModelScopeDeserializerRequest", - "Issue", - "IssueStatus", - "IssueStatusEnum", - "LanguageEnum", - "LastSyncResultEnum", - "LinkToken", - "MethodEnum", - "ModelOperation", - "ModelPermissionDeserializer", - "ModelPermissionDeserializerRequest", - "MultipartFormFieldRequest", - "MultipartFormFieldRequestEncoding", - "PaginatedAccountDetailsAndActionsList", - "PaginatedArticleList", - "PaginatedAttachmentList", - "PaginatedAuditLogEventList", - "PaginatedContainerList", - "PaginatedGroupList", - "PaginatedIssueList", - "PaginatedSyncStatusList", - "PaginatedUserList", - "Permission", - "PermissionGroup", - "PermissionType", - "PermissionTypeEnum", - "PermissionUser", - "RemoteData", - "RemoteEndpointInfo", - "RemoteFieldApi", - "RemoteFieldApiAdvancedMetadata", - "RemoteFieldApiCoverage", - "RemoteFieldApiResponse", - "RemoteKey", - "RemoteResponse", - "RemoteResponseResponseType", - "RequestFormatEnum", - "ResponseTypeEnum", - "RoleEnum", - "RolesEnum", - "SelectiveSyncConfigurationsUsageEnum", - "Status3C6Enum", - "StatusFd5Enum", - "SyncStatus", - "SyncStatusLastSyncResult", - "SyncStatusStatus", - "User", - "ValidationProblemSource", - "VisibilityEnum", - "WarningValidationProblem", - "WebhookReceiver", -] diff --git a/src/merge/resources/knowledgebase/types/account_details.py b/src/merge/resources/knowledgebase/types/account_details.py deleted file mode 100644 index 98923cd8..00000000 --- a/src/merge/resources/knowledgebase/types/account_details.py +++ /dev/null @@ -1,40 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .account_details_category import AccountDetailsCategory - - -class AccountDetails(UncheckedBaseModel): - id: typing.Optional[str] = None - integration: typing.Optional[str] = None - integration_slug: typing.Optional[str] = None - category: typing.Optional[AccountDetailsCategory] = None - end_user_origin_id: typing.Optional[str] = None - end_user_organization_name: typing.Optional[str] = None - end_user_email_address: typing.Optional[str] = None - status: typing.Optional[str] = None - webhook_listener_url: typing.Optional[str] = None - is_duplicate: typing.Optional[bool] = pydantic.Field(default=None) - """ - Whether a Production Linked Account's credentials match another existing Production Linked Account. This field is `null` for Test Linked Accounts, incomplete Production Linked Accounts, and ignored duplicate Production Linked Account sets. - """ - - account_type: typing.Optional[str] = None - completed_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - The time at which account completes the linking flow. - """ - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/account_details_and_actions.py b/src/merge/resources/knowledgebase/types/account_details_and_actions.py deleted file mode 100644 index 93c874ed..00000000 --- a/src/merge/resources/knowledgebase/types/account_details_and_actions.py +++ /dev/null @@ -1,54 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .account_details_and_actions_category import AccountDetailsAndActionsCategory -from .account_details_and_actions_integration import AccountDetailsAndActionsIntegration -from .account_details_and_actions_status import AccountDetailsAndActionsStatus - - -class AccountDetailsAndActions(UncheckedBaseModel): - """ - # The LinkedAccount Object - ### Description - The `LinkedAccount` object is used to represent an end user's link with a specific integration. - - ### Usage Example - View a list of your organization's `LinkedAccount` objects. - """ - - id: str - category: typing.Optional[AccountDetailsAndActionsCategory] = None - status: AccountDetailsAndActionsStatus - status_detail: typing.Optional[str] = None - end_user_origin_id: typing.Optional[str] = None - end_user_organization_name: str - end_user_email_address: str - subdomain: typing.Optional[str] = pydantic.Field(default=None) - """ - The tenant or domain the customer has provided access to. - """ - - webhook_listener_url: str - is_duplicate: typing.Optional[bool] = pydantic.Field(default=None) - """ - Whether a Production Linked Account's credentials match another existing Production Linked Account. This field is `null` for Test Linked Accounts, incomplete Production Linked Accounts, and ignored duplicate Production Linked Account sets. - """ - - integration: typing.Optional[AccountDetailsAndActionsIntegration] = None - account_type: str - completed_at: dt.datetime - integration_specific_fields: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/account_details_and_actions_category.py b/src/merge/resources/knowledgebase/types/account_details_and_actions_category.py deleted file mode 100644 index 93b4188b..00000000 --- a/src/merge/resources/knowledgebase/types/account_details_and_actions_category.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .category_enum import CategoryEnum - -AccountDetailsAndActionsCategory = typing.Union[CategoryEnum, str] diff --git a/src/merge/resources/knowledgebase/types/account_details_and_actions_integration.py b/src/merge/resources/knowledgebase/types/account_details_and_actions_integration.py deleted file mode 100644 index 73467bbb..00000000 --- a/src/merge/resources/knowledgebase/types/account_details_and_actions_integration.py +++ /dev/null @@ -1,29 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .categories_enum import CategoriesEnum -from .model_operation import ModelOperation - - -class AccountDetailsAndActionsIntegration(UncheckedBaseModel): - name: str - categories: typing.List[CategoriesEnum] - image: typing.Optional[str] = None - square_image: typing.Optional[str] = None - color: str - slug: str - passthrough_available: bool - available_model_operations: typing.Optional[typing.List[ModelOperation]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/account_details_and_actions_status.py b/src/merge/resources/knowledgebase/types/account_details_and_actions_status.py deleted file mode 100644 index 445922f8..00000000 --- a/src/merge/resources/knowledgebase/types/account_details_and_actions_status.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .account_details_and_actions_status_enum import AccountDetailsAndActionsStatusEnum - -AccountDetailsAndActionsStatus = typing.Union[AccountDetailsAndActionsStatusEnum, str] diff --git a/src/merge/resources/knowledgebase/types/account_details_and_actions_status_enum.py b/src/merge/resources/knowledgebase/types/account_details_and_actions_status_enum.py deleted file mode 100644 index df37f582..00000000 --- a/src/merge/resources/knowledgebase/types/account_details_and_actions_status_enum.py +++ /dev/null @@ -1,36 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class AccountDetailsAndActionsStatusEnum(str, enum.Enum): - """ - * `COMPLETE` - COMPLETE - * `INCOMPLETE` - INCOMPLETE - * `RELINK_NEEDED` - RELINK_NEEDED - * `IDLE` - IDLE - """ - - COMPLETE = "COMPLETE" - INCOMPLETE = "INCOMPLETE" - RELINK_NEEDED = "RELINK_NEEDED" - IDLE = "IDLE" - - def visit( - self, - complete: typing.Callable[[], T_Result], - incomplete: typing.Callable[[], T_Result], - relink_needed: typing.Callable[[], T_Result], - idle: typing.Callable[[], T_Result], - ) -> T_Result: - if self is AccountDetailsAndActionsStatusEnum.COMPLETE: - return complete() - if self is AccountDetailsAndActionsStatusEnum.INCOMPLETE: - return incomplete() - if self is AccountDetailsAndActionsStatusEnum.RELINK_NEEDED: - return relink_needed() - if self is AccountDetailsAndActionsStatusEnum.IDLE: - return idle() diff --git a/src/merge/resources/knowledgebase/types/account_details_category.py b/src/merge/resources/knowledgebase/types/account_details_category.py deleted file mode 100644 index 8a0cc59c..00000000 --- a/src/merge/resources/knowledgebase/types/account_details_category.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .category_enum import CategoryEnum - -AccountDetailsCategory = typing.Union[CategoryEnum, str] diff --git a/src/merge/resources/knowledgebase/types/account_integration.py b/src/merge/resources/knowledgebase/types/account_integration.py deleted file mode 100644 index ef8b260d..00000000 --- a/src/merge/resources/knowledgebase/types/account_integration.py +++ /dev/null @@ -1,67 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .categories_enum import CategoriesEnum - - -class AccountIntegration(UncheckedBaseModel): - name: str = pydantic.Field() - """ - Company name. - """ - - abbreviated_name: typing.Optional[str] = pydantic.Field(default=None) - """ - Optional. This shortened name appears in places with limited space, usually in conjunction with the platform's logo (e.g., Merge Link menu).

Example: Workforce Now (in lieu of ADP Workforce Now), SuccessFactors (in lieu of SAP SuccessFactors) - """ - - categories: typing.Optional[typing.List[CategoriesEnum]] = pydantic.Field(default=None) - """ - Category or categories this integration belongs to. Multiple categories should be comma separated, i.e. [ats, hris]. - """ - - image: typing.Optional[str] = pydantic.Field(default=None) - """ - Company logo in rectangular shape. - """ - - square_image: typing.Optional[str] = pydantic.Field(default=None) - """ - Company logo in square shape. - """ - - color: typing.Optional[str] = pydantic.Field(default=None) - """ - The color of this integration used for buttons and text throughout the app and landing pages. Choose a darker, saturated color. - """ - - slug: typing.Optional[str] = None - api_endpoints_to_documentation_urls: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = ( - pydantic.Field(default=None) - ) - """ - Mapping of API endpoints to documentation urls for support. Example: {'GET': [['/common-model-scopes', 'https://docs.merge.dev/accounting/common-model-scopes/#common_model_scopes_retrieve'],['/common-model-actions', 'https://docs.merge.dev/accounting/common-model-actions/#common_model_actions_retrieve']], 'POST': []} - """ - - webhook_setup_guide_url: typing.Optional[str] = pydantic.Field(default=None) - """ - Setup guide URL for third party webhook creation. Exposed in Merge Docs. - """ - - category_beta_status: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = pydantic.Field(default=None) - """ - Category or categories this integration is in beta status for. - """ - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/account_token.py b/src/merge/resources/knowledgebase/types/account_token.py deleted file mode 100644 index 6e82c8ac..00000000 --- a/src/merge/resources/knowledgebase/types/account_token.py +++ /dev/null @@ -1,23 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .account_integration import AccountIntegration - - -class AccountToken(UncheckedBaseModel): - account_token: str - integration: AccountIntegration - id: str - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/advanced_metadata.py b/src/merge/resources/knowledgebase/types/advanced_metadata.py deleted file mode 100644 index 60b5d072..00000000 --- a/src/merge/resources/knowledgebase/types/advanced_metadata.py +++ /dev/null @@ -1,25 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel - - -class AdvancedMetadata(UncheckedBaseModel): - id: str - display_name: typing.Optional[str] = None - description: typing.Optional[str] = None - is_required: typing.Optional[bool] = None - is_custom: typing.Optional[bool] = None - field_choices: typing.Optional[typing.List[typing.Optional[typing.Any]]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/article.py b/src/merge/resources/knowledgebase/types/article.py deleted file mode 100644 index 32620c78..00000000 --- a/src/merge/resources/knowledgebase/types/article.py +++ /dev/null @@ -1,159 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -from __future__ import annotations - -import datetime as dt -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs -from ....core.unchecked_base_model import UncheckedBaseModel -from .article_attachments_item import ArticleAttachmentsItem -from .article_author import ArticleAuthor -from .article_last_edited_by import ArticleLastEditedBy -from .article_parent_container import ArticleParentContainer -from .article_permissions_item import ArticlePermissionsItem -from .article_root_container import ArticleRootContainer -from .article_status import ArticleStatus -from .article_type import ArticleType -from .article_visibility import ArticleVisibility -from .remote_data import RemoteData - - -class Article(UncheckedBaseModel): - """ - # The Article Object - ### Description - The `Article` object is used to represent a form of content in the knowledge base, such as an article or page. - ### Usage Example - Fetch from the `GET /api/knowledgebase/v1/articles` endpoint and view their articles. - """ - - id: typing.Optional[str] = None - remote_id: typing.Optional[str] = pydantic.Field(default=None) - """ - The third-party API ID of the matching object. - """ - - created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - The datetime that this object was created by Merge. - """ - - modified_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - The datetime that this object was modified by Merge. - """ - - title: typing.Optional[str] = pydantic.Field(default=None) - """ - The title of the article. - """ - - description: typing.Optional[str] = pydantic.Field(default=None) - """ - Description of the article. - """ - - author: typing.Optional[ArticleAuthor] = pydantic.Field(default=None) - """ - The user who created the article. - """ - - last_edited_by: typing.Optional[ArticleLastEditedBy] = pydantic.Field(default=None) - """ - The user to last update the article. - """ - - visibility: typing.Optional[ArticleVisibility] = pydantic.Field(default=None) - """ - The visibility of the article. - - * `PUBLIC` - PUBLIC - * `INTERNAL` - INTERNAL - * `RESTRICTED` - RESTRICTED - """ - - article_content_download_url: typing.Optional[str] = pydantic.Field(default=None) - """ - The presigned S3 URL to fetch article content. - """ - - checksum: typing.Optional[str] = pydantic.Field(default=None) - """ - The SHA256 checksum of the article content. - """ - - article_url: typing.Optional[str] = pydantic.Field(default=None) - """ - The URL to the webpage of the article. - """ - - status: typing.Optional[ArticleStatus] = pydantic.Field(default=None) - """ - The status of the article. - - * `DRAFT` - DRAFT - * `PUBLISHED` - PUBLISHED - * `ARCHIVED` - ARCHIVED - * `TRASH` - TRASH - """ - - type: typing.Optional[ArticleType] = pydantic.Field(default=None) - """ - The type of the article. - - * `PAGE` - PAGE - * `BLOG_POST` - BLOG_POST - * `SMART_LINK` - SMART_LINK - """ - - remote_created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - When the third party's article was created. - """ - - remote_updated_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - When the third party's article was updated. - """ - - parent_article: typing.Optional["ArticleParentArticle"] = pydantic.Field(default=None) - """ - The parent article an article is nested within. - """ - - parent_container: typing.Optional[ArticleParentContainer] = pydantic.Field(default=None) - """ - The parent container an article is nested within. - """ - - root_container: typing.Optional[ArticleRootContainer] = pydantic.Field(default=None) - """ - The top-level container in the hierarchy that holds this article. This will reference a container object that will typically be a SPACE or WORKSPACE type. - """ - - permissions: typing.Optional[typing.List[ArticlePermissionsItem]] = None - attachments: typing.Optional[typing.List[typing.Optional[ArticleAttachmentsItem]]] = None - remote_was_deleted: typing.Optional[bool] = pydantic.Field(default=None) - """ - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - """ - - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - remote_data: typing.Optional[typing.List[RemoteData]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow - - -from .group import Group # noqa: E402, F401, I001 -from .article_parent_article import ArticleParentArticle # noqa: E402, F401, I001 - -update_forward_refs(Article) diff --git a/src/merge/resources/knowledgebase/types/article_attachments_item.py b/src/merge/resources/knowledgebase/types/article_attachments_item.py deleted file mode 100644 index 7a22e05f..00000000 --- a/src/merge/resources/knowledgebase/types/article_attachments_item.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .attachment import Attachment - -ArticleAttachmentsItem = typing.Union[str, Attachment] diff --git a/src/merge/resources/knowledgebase/types/article_author.py b/src/merge/resources/knowledgebase/types/article_author.py deleted file mode 100644 index db8603d8..00000000 --- a/src/merge/resources/knowledgebase/types/article_author.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .user import User - -ArticleAuthor = typing.Union[str, User] diff --git a/src/merge/resources/knowledgebase/types/article_last_edited_by.py b/src/merge/resources/knowledgebase/types/article_last_edited_by.py deleted file mode 100644 index 9d158df5..00000000 --- a/src/merge/resources/knowledgebase/types/article_last_edited_by.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .user import User - -ArticleLastEditedBy = typing.Union[str, User] diff --git a/src/merge/resources/knowledgebase/types/article_parent_article.py b/src/merge/resources/knowledgebase/types/article_parent_article.py deleted file mode 100644 index e630834c..00000000 --- a/src/merge/resources/knowledgebase/types/article_parent_article.py +++ /dev/null @@ -1,9 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -from __future__ import annotations - -import typing - -if typing.TYPE_CHECKING: - from .article import Article -ArticleParentArticle = typing.Union[str, "Article"] diff --git a/src/merge/resources/knowledgebase/types/article_parent_container.py b/src/merge/resources/knowledgebase/types/article_parent_container.py deleted file mode 100644 index 1aeeae03..00000000 --- a/src/merge/resources/knowledgebase/types/article_parent_container.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .container import Container - -ArticleParentContainer = typing.Union[str, Container] diff --git a/src/merge/resources/knowledgebase/types/article_permissions_item.py b/src/merge/resources/knowledgebase/types/article_permissions_item.py deleted file mode 100644 index 1474bf4d..00000000 --- a/src/merge/resources/knowledgebase/types/article_permissions_item.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .permission import Permission - -ArticlePermissionsItem = typing.Union[str, Permission] diff --git a/src/merge/resources/knowledgebase/types/article_root_container.py b/src/merge/resources/knowledgebase/types/article_root_container.py deleted file mode 100644 index a145d7a3..00000000 --- a/src/merge/resources/knowledgebase/types/article_root_container.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .container import Container - -ArticleRootContainer = typing.Union[str, Container] diff --git a/src/merge/resources/knowledgebase/types/article_status.py b/src/merge/resources/knowledgebase/types/article_status.py deleted file mode 100644 index ed0aef3e..00000000 --- a/src/merge/resources/knowledgebase/types/article_status.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .status_3_c_6_enum import Status3C6Enum - -ArticleStatus = typing.Union[Status3C6Enum, str] diff --git a/src/merge/resources/knowledgebase/types/article_type.py b/src/merge/resources/knowledgebase/types/article_type.py deleted file mode 100644 index e8ebdcb1..00000000 --- a/src/merge/resources/knowledgebase/types/article_type.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .article_type_enum import ArticleTypeEnum - -ArticleType = typing.Union[ArticleTypeEnum, str] diff --git a/src/merge/resources/knowledgebase/types/article_type_enum.py b/src/merge/resources/knowledgebase/types/article_type_enum.py deleted file mode 100644 index 388245dc..00000000 --- a/src/merge/resources/knowledgebase/types/article_type_enum.py +++ /dev/null @@ -1,31 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class ArticleTypeEnum(str, enum.Enum): - """ - * `PAGE` - PAGE - * `BLOG_POST` - BLOG_POST - * `SMART_LINK` - SMART_LINK - """ - - PAGE = "PAGE" - BLOG_POST = "BLOG_POST" - SMART_LINK = "SMART_LINK" - - def visit( - self, - page: typing.Callable[[], T_Result], - blog_post: typing.Callable[[], T_Result], - smart_link: typing.Callable[[], T_Result], - ) -> T_Result: - if self is ArticleTypeEnum.PAGE: - return page() - if self is ArticleTypeEnum.BLOG_POST: - return blog_post() - if self is ArticleTypeEnum.SMART_LINK: - return smart_link() diff --git a/src/merge/resources/knowledgebase/types/article_visibility.py b/src/merge/resources/knowledgebase/types/article_visibility.py deleted file mode 100644 index 7a152463..00000000 --- a/src/merge/resources/knowledgebase/types/article_visibility.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .visibility_enum import VisibilityEnum - -ArticleVisibility = typing.Union[VisibilityEnum, str] diff --git a/src/merge/resources/knowledgebase/types/async_passthrough_reciept.py b/src/merge/resources/knowledgebase/types/async_passthrough_reciept.py deleted file mode 100644 index 21c95080..00000000 --- a/src/merge/resources/knowledgebase/types/async_passthrough_reciept.py +++ /dev/null @@ -1,20 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel - - -class AsyncPassthroughReciept(UncheckedBaseModel): - async_passthrough_receipt_id: str - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/attachment.py b/src/merge/resources/knowledgebase/types/attachment.py deleted file mode 100644 index ba1cc4ea..00000000 --- a/src/merge/resources/knowledgebase/types/attachment.py +++ /dev/null @@ -1,67 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .remote_data import RemoteData - - -class Attachment(UncheckedBaseModel): - """ - # The Attachment Object - ### Description - The `Attachment` object is used to represent an attachment to an article or container. - ### Usage Example - Fetch from the `GET /api/knowledgebase/v1/attachments` endpoint and view their attachments. - """ - - id: typing.Optional[str] = None - remote_id: typing.Optional[str] = pydantic.Field(default=None) - """ - The third-party API ID of the matching object. - """ - - created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - The datetime that this object was created by Merge. - """ - - modified_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - The datetime that this object was modified by Merge. - """ - - name: typing.Optional[str] = pydantic.Field(default=None) - """ - The attachment's name. - """ - - description: typing.Optional[str] = pydantic.Field(default=None) - """ - The attachment's description. - """ - - attachment_url: typing.Optional[str] = pydantic.Field(default=None) - """ - The attachment's url. - """ - - remote_was_deleted: typing.Optional[bool] = pydantic.Field(default=None) - """ - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - """ - - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - remote_data: typing.Optional[typing.List[RemoteData]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/audit_log_event.py b/src/merge/resources/knowledgebase/types/audit_log_event.py deleted file mode 100644 index ab69fd32..00000000 --- a/src/merge/resources/knowledgebase/types/audit_log_event.py +++ /dev/null @@ -1,97 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .audit_log_event_event_type import AuditLogEventEventType -from .audit_log_event_role import AuditLogEventRole - - -class AuditLogEvent(UncheckedBaseModel): - id: typing.Optional[str] = None - user_name: typing.Optional[str] = pydantic.Field(default=None) - """ - The User's full name at the time of this Event occurring. - """ - - user_email: typing.Optional[str] = pydantic.Field(default=None) - """ - The User's email at the time of this Event occurring. - """ - - role: AuditLogEventRole = pydantic.Field() - """ - Designates the role of the user (or SYSTEM/API if action not taken by a user) at the time of this Event occurring. - - * `ADMIN` - ADMIN - * `DEVELOPER` - DEVELOPER - * `MEMBER` - MEMBER - * `API` - API - * `SYSTEM` - SYSTEM - * `MERGE_TEAM` - MERGE_TEAM - """ - - ip_address: str - event_type: AuditLogEventEventType = pydantic.Field() - """ - Designates the type of event that occurred. - - * `CREATED_REMOTE_PRODUCTION_API_KEY` - CREATED_REMOTE_PRODUCTION_API_KEY - * `DELETED_REMOTE_PRODUCTION_API_KEY` - DELETED_REMOTE_PRODUCTION_API_KEY - * `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY - * `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY - * `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY - * `REGENERATED_WEBHOOK_SIGNATURE` - REGENERATED_WEBHOOK_SIGNATURE - * `INVITED_USER` - INVITED_USER - * `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED - * `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED - * `DELETED_LINKED_ACCOUNT` - DELETED_LINKED_ACCOUNT - * `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT` - DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT - * `CREATED_DESTINATION` - CREATED_DESTINATION - * `DELETED_DESTINATION` - DELETED_DESTINATION - * `CHANGED_DESTINATION` - CHANGED_DESTINATION - * `CHANGED_SCOPES` - CHANGED_SCOPES - * `CHANGED_PERSONAL_INFORMATION` - CHANGED_PERSONAL_INFORMATION - * `CHANGED_ORGANIZATION_SETTINGS` - CHANGED_ORGANIZATION_SETTINGS - * `ENABLED_INTEGRATION` - ENABLED_INTEGRATION - * `DISABLED_INTEGRATION` - DISABLED_INTEGRATION - * `ENABLED_CATEGORY` - ENABLED_CATEGORY - * `DISABLED_CATEGORY` - DISABLED_CATEGORY - * `CHANGED_PASSWORD` - CHANGED_PASSWORD - * `RESET_PASSWORD` - RESET_PASSWORD - * `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - * `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - * `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - * `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - * `CREATED_INTEGRATION_WIDE_FIELD_MAPPING` - CREATED_INTEGRATION_WIDE_FIELD_MAPPING - * `CREATED_LINKED_ACCOUNT_FIELD_MAPPING` - CREATED_LINKED_ACCOUNT_FIELD_MAPPING - * `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING` - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING - * `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING - * `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - DELETED_INTEGRATION_WIDE_FIELD_MAPPING - * `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - DELETED_LINKED_ACCOUNT_FIELD_MAPPING - * `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - * `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - * `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - * `FORCED_LINKED_ACCOUNT_RESYNC` - FORCED_LINKED_ACCOUNT_RESYNC - * `MUTED_ISSUE` - MUTED_ISSUE - * `GENERATED_MAGIC_LINK` - GENERATED_MAGIC_LINK - * `ENABLED_MERGE_WEBHOOK` - ENABLED_MERGE_WEBHOOK - * `DISABLED_MERGE_WEBHOOK` - DISABLED_MERGE_WEBHOOK - * `MERGE_WEBHOOK_TARGET_CHANGED` - MERGE_WEBHOOK_TARGET_CHANGED - * `END_USER_CREDENTIALS_ACCESSED` - END_USER_CREDENTIALS_ACCESSED - """ - - event_description: str - created_at: typing.Optional[dt.datetime] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/audit_log_event_event_type.py b/src/merge/resources/knowledgebase/types/audit_log_event_event_type.py deleted file mode 100644 index f9c9d2b3..00000000 --- a/src/merge/resources/knowledgebase/types/audit_log_event_event_type.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .event_type_enum import EventTypeEnum - -AuditLogEventEventType = typing.Union[EventTypeEnum, str] diff --git a/src/merge/resources/knowledgebase/types/audit_log_event_role.py b/src/merge/resources/knowledgebase/types/audit_log_event_role.py deleted file mode 100644 index fe91ed6f..00000000 --- a/src/merge/resources/knowledgebase/types/audit_log_event_role.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .role_enum import RoleEnum - -AuditLogEventRole = typing.Union[RoleEnum, str] diff --git a/src/merge/resources/knowledgebase/types/available_actions.py b/src/merge/resources/knowledgebase/types/available_actions.py deleted file mode 100644 index 8b5019d7..00000000 --- a/src/merge/resources/knowledgebase/types/available_actions.py +++ /dev/null @@ -1,33 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .account_integration import AccountIntegration -from .model_operation import ModelOperation - - -class AvailableActions(UncheckedBaseModel): - """ - # The AvailableActions Object - ### Description - The `Activity` object is used to see all available model/operation combinations for an integration. - - ### Usage Example - Fetch all the actions available for the `Zenefits` integration. - """ - - integration: AccountIntegration - passthrough_available: bool - available_model_operations: typing.Optional[typing.List[ModelOperation]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/categories_enum.py b/src/merge/resources/knowledgebase/types/categories_enum.py deleted file mode 100644 index da1e0dc0..00000000 --- a/src/merge/resources/knowledgebase/types/categories_enum.py +++ /dev/null @@ -1,56 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class CategoriesEnum(str, enum.Enum): - """ - * `hris` - hris - * `ats` - ats - * `accounting` - accounting - * `ticketing` - ticketing - * `crm` - crm - * `mktg` - mktg - * `filestorage` - filestorage - * `knowledgebase` - knowledgebase - """ - - HRIS = "hris" - ATS = "ats" - ACCOUNTING = "accounting" - TICKETING = "ticketing" - CRM = "crm" - MKTG = "mktg" - FILESTORAGE = "filestorage" - KNOWLEDGEBASE = "knowledgebase" - - def visit( - self, - hris: typing.Callable[[], T_Result], - ats: typing.Callable[[], T_Result], - accounting: typing.Callable[[], T_Result], - ticketing: typing.Callable[[], T_Result], - crm: typing.Callable[[], T_Result], - mktg: typing.Callable[[], T_Result], - filestorage: typing.Callable[[], T_Result], - knowledgebase: typing.Callable[[], T_Result], - ) -> T_Result: - if self is CategoriesEnum.HRIS: - return hris() - if self is CategoriesEnum.ATS: - return ats() - if self is CategoriesEnum.ACCOUNTING: - return accounting() - if self is CategoriesEnum.TICKETING: - return ticketing() - if self is CategoriesEnum.CRM: - return crm() - if self is CategoriesEnum.MKTG: - return mktg() - if self is CategoriesEnum.FILESTORAGE: - return filestorage() - if self is CategoriesEnum.KNOWLEDGEBASE: - return knowledgebase() diff --git a/src/merge/resources/knowledgebase/types/category_enum.py b/src/merge/resources/knowledgebase/types/category_enum.py deleted file mode 100644 index 1d7cd2c0..00000000 --- a/src/merge/resources/knowledgebase/types/category_enum.py +++ /dev/null @@ -1,56 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class CategoryEnum(str, enum.Enum): - """ - * `hris` - hris - * `ats` - ats - * `accounting` - accounting - * `ticketing` - ticketing - * `crm` - crm - * `mktg` - mktg - * `filestorage` - filestorage - * `knowledgebase` - knowledgebase - """ - - HRIS = "hris" - ATS = "ats" - ACCOUNTING = "accounting" - TICKETING = "ticketing" - CRM = "crm" - MKTG = "mktg" - FILESTORAGE = "filestorage" - KNOWLEDGEBASE = "knowledgebase" - - def visit( - self, - hris: typing.Callable[[], T_Result], - ats: typing.Callable[[], T_Result], - accounting: typing.Callable[[], T_Result], - ticketing: typing.Callable[[], T_Result], - crm: typing.Callable[[], T_Result], - mktg: typing.Callable[[], T_Result], - filestorage: typing.Callable[[], T_Result], - knowledgebase: typing.Callable[[], T_Result], - ) -> T_Result: - if self is CategoryEnum.HRIS: - return hris() - if self is CategoryEnum.ATS: - return ats() - if self is CategoryEnum.ACCOUNTING: - return accounting() - if self is CategoryEnum.TICKETING: - return ticketing() - if self is CategoryEnum.CRM: - return crm() - if self is CategoryEnum.MKTG: - return mktg() - if self is CategoryEnum.FILESTORAGE: - return filestorage() - if self is CategoryEnum.KNOWLEDGEBASE: - return knowledgebase() diff --git a/src/merge/resources/knowledgebase/types/common_model_scope_api.py b/src/merge/resources/knowledgebase/types/common_model_scope_api.py deleted file mode 100644 index 5484808d..00000000 --- a/src/merge/resources/knowledgebase/types/common_model_scope_api.py +++ /dev/null @@ -1,24 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .individual_common_model_scope_deserializer import IndividualCommonModelScopeDeserializer - - -class CommonModelScopeApi(UncheckedBaseModel): - common_models: typing.List[IndividualCommonModelScopeDeserializer] = pydantic.Field() - """ - The common models you want to update the scopes for - """ - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/common_model_scopes_body_request.py b/src/merge/resources/knowledgebase/types/common_model_scopes_body_request.py deleted file mode 100644 index a9fed25b..00000000 --- a/src/merge/resources/knowledgebase/types/common_model_scopes_body_request.py +++ /dev/null @@ -1,23 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .enabled_actions_enum import EnabledActionsEnum - - -class CommonModelScopesBodyRequest(UncheckedBaseModel): - model_id: str - enabled_actions: typing.List[EnabledActionsEnum] - disabled_fields: typing.List[str] - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/completed_account_initial_screen_enum.py b/src/merge/resources/knowledgebase/types/completed_account_initial_screen_enum.py deleted file mode 100644 index c112dfd1..00000000 --- a/src/merge/resources/knowledgebase/types/completed_account_initial_screen_enum.py +++ /dev/null @@ -1,5 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -CompletedAccountInitialScreenEnum = typing.Literal["SELECTIVE_SYNC"] diff --git a/src/merge/resources/knowledgebase/types/container.py b/src/merge/resources/knowledgebase/types/container.py deleted file mode 100644 index 2822c45d..00000000 --- a/src/merge/resources/knowledgebase/types/container.py +++ /dev/null @@ -1,130 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -from __future__ import annotations - -import datetime as dt -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs -from ....core.unchecked_base_model import UncheckedBaseModel -from .container_permissions_item import ContainerPermissionsItem -from .container_status import ContainerStatus -from .container_type import ContainerType -from .container_visibility import ContainerVisibility -from .remote_data import RemoteData - - -class Container(UncheckedBaseModel): - """ - # The Container Object - ### Description - The Container object is used to represent a grouping of articles in the knowledge base. This can include Spaces, Folders, Databases, etc. - ### Usage Example - Fetch from the `GET /api/knowledgebase/v1/containers` endpoint and view their containers. - """ - - id: typing.Optional[str] = None - remote_id: typing.Optional[str] = pydantic.Field(default=None) - """ - The third-party API ID of the matching object. - """ - - created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - The datetime that this object was created by Merge. - """ - - modified_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - The datetime that this object was modified by Merge. - """ - - name: typing.Optional[str] = pydantic.Field(default=None) - """ - Name of the container. - """ - - description: typing.Optional[str] = pydantic.Field(default=None) - """ - Description of the container. - """ - - status: typing.Optional[ContainerStatus] = pydantic.Field(default=None) - """ - The container's status. - - * `DRAFT` - DRAFT - * `PUBLISHED` - PUBLISHED - * `ARCHIVED` - ARCHIVED - * `TRASH` - TRASH - """ - - container_url: typing.Optional[str] = pydantic.Field(default=None) - """ - The URL to the webpage of the container. - """ - - type: typing.Optional[ContainerType] = pydantic.Field(default=None) - """ - The container's type. - - * `FOLDER` - FOLDER - * `SPACE` - SPACE - * `COLLECTION` - COLLECTION - * `SECTION` - SECTION - * `CATEGORY` - CATEGORY - * `DATABASE` - DATABASE - """ - - visibility: typing.Optional[ContainerVisibility] = pydantic.Field(default=None) - """ - The container's visibility. - - * `PUBLIC` - PUBLIC - * `INTERNAL` - INTERNAL - * `RESTRICTED` - RESTRICTED - """ - - remote_created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - When the third party's container was created. - """ - - remote_updated_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - When the third party's container was updated. - """ - - parent_article: typing.Optional[str] = pydantic.Field(default=None) - """ - The parent article a container is nested within. - """ - - parent_container: typing.Optional[str] = pydantic.Field(default=None) - """ - The parent container a container is nested within. - """ - - permissions: typing.Optional[typing.List[ContainerPermissionsItem]] = None - remote_was_deleted: typing.Optional[bool] = pydantic.Field(default=None) - """ - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - """ - - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - remote_data: typing.Optional[typing.List[RemoteData]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow - - -from .group import Group # noqa: E402, F401, I001 - -update_forward_refs(Container) diff --git a/src/merge/resources/knowledgebase/types/container_permissions_item.py b/src/merge/resources/knowledgebase/types/container_permissions_item.py deleted file mode 100644 index 6780c597..00000000 --- a/src/merge/resources/knowledgebase/types/container_permissions_item.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .permission import Permission - -ContainerPermissionsItem = typing.Union[str, Permission] diff --git a/src/merge/resources/knowledgebase/types/container_status.py b/src/merge/resources/knowledgebase/types/container_status.py deleted file mode 100644 index d50b897c..00000000 --- a/src/merge/resources/knowledgebase/types/container_status.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .status_3_c_6_enum import Status3C6Enum - -ContainerStatus = typing.Union[Status3C6Enum, str] diff --git a/src/merge/resources/knowledgebase/types/container_type.py b/src/merge/resources/knowledgebase/types/container_type.py deleted file mode 100644 index fb8f0173..00000000 --- a/src/merge/resources/knowledgebase/types/container_type.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .container_type_enum import ContainerTypeEnum - -ContainerType = typing.Union[ContainerTypeEnum, str] diff --git a/src/merge/resources/knowledgebase/types/container_type_enum.py b/src/merge/resources/knowledgebase/types/container_type_enum.py deleted file mode 100644 index c38291b0..00000000 --- a/src/merge/resources/knowledgebase/types/container_type_enum.py +++ /dev/null @@ -1,46 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class ContainerTypeEnum(str, enum.Enum): - """ - * `FOLDER` - FOLDER - * `SPACE` - SPACE - * `COLLECTION` - COLLECTION - * `SECTION` - SECTION - * `CATEGORY` - CATEGORY - * `DATABASE` - DATABASE - """ - - FOLDER = "FOLDER" - SPACE = "SPACE" - COLLECTION = "COLLECTION" - SECTION = "SECTION" - CATEGORY = "CATEGORY" - DATABASE = "DATABASE" - - def visit( - self, - folder: typing.Callable[[], T_Result], - space: typing.Callable[[], T_Result], - collection: typing.Callable[[], T_Result], - section: typing.Callable[[], T_Result], - category: typing.Callable[[], T_Result], - database: typing.Callable[[], T_Result], - ) -> T_Result: - if self is ContainerTypeEnum.FOLDER: - return folder() - if self is ContainerTypeEnum.SPACE: - return space() - if self is ContainerTypeEnum.COLLECTION: - return collection() - if self is ContainerTypeEnum.SECTION: - return section() - if self is ContainerTypeEnum.CATEGORY: - return category() - if self is ContainerTypeEnum.DATABASE: - return database() diff --git a/src/merge/resources/knowledgebase/types/container_visibility.py b/src/merge/resources/knowledgebase/types/container_visibility.py deleted file mode 100644 index 860c8adb..00000000 --- a/src/merge/resources/knowledgebase/types/container_visibility.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .visibility_enum import VisibilityEnum - -ContainerVisibility = typing.Union[VisibilityEnum, str] diff --git a/src/merge/resources/knowledgebase/types/data_passthrough_request.py b/src/merge/resources/knowledgebase/types/data_passthrough_request.py deleted file mode 100644 index 5a60bfb6..00000000 --- a/src/merge/resources/knowledgebase/types/data_passthrough_request.py +++ /dev/null @@ -1,62 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .data_passthrough_request_method import DataPassthroughRequestMethod -from .data_passthrough_request_request_format import DataPassthroughRequestRequestFormat -from .multipart_form_field_request import MultipartFormFieldRequest - - -class DataPassthroughRequest(UncheckedBaseModel): - """ - # The DataPassthrough Object - ### Description - The `DataPassthrough` object is used to send information to an otherwise-unsupported third-party endpoint. - - ### Usage Example - Create a `DataPassthrough` to get team hierarchies from your Rippling integration. - """ - - method: DataPassthroughRequestMethod - path: str = pydantic.Field() - """ - The path of the request in the third party's platform. - """ - - base_url_override: typing.Optional[str] = pydantic.Field(default=None) - """ - An optional override of the third party's base url for the request. - """ - - data: typing.Optional[str] = pydantic.Field(default=None) - """ - The data with the request. You must include a `request_format` parameter matching the data's format - """ - - multipart_form_data: typing.Optional[typing.List[MultipartFormFieldRequest]] = pydantic.Field(default=None) - """ - Pass an array of `MultipartFormField` objects in here instead of using the `data` param if `request_format` is set to `MULTIPART`. - """ - - headers: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = pydantic.Field(default=None) - """ - The headers to use for the request (Merge will handle the account's authorization headers). `Content-Type` header is required for passthrough. Choose content type corresponding to expected format of receiving server. - """ - - request_format: typing.Optional[DataPassthroughRequestRequestFormat] = None - normalize_response: typing.Optional[bool] = pydantic.Field(default=None) - """ - Optional. If true, the response will always be an object of the form `{"type": T, "value": ...}` where `T` will be one of `string, boolean, number, null, array, object`. - """ - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/data_passthrough_request_method.py b/src/merge/resources/knowledgebase/types/data_passthrough_request_method.py deleted file mode 100644 index 58874cbf..00000000 --- a/src/merge/resources/knowledgebase/types/data_passthrough_request_method.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .method_enum import MethodEnum - -DataPassthroughRequestMethod = typing.Union[MethodEnum, str] diff --git a/src/merge/resources/knowledgebase/types/data_passthrough_request_request_format.py b/src/merge/resources/knowledgebase/types/data_passthrough_request_request_format.py deleted file mode 100644 index 13dc95f0..00000000 --- a/src/merge/resources/knowledgebase/types/data_passthrough_request_request_format.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .request_format_enum import RequestFormatEnum - -DataPassthroughRequestRequestFormat = typing.Union[RequestFormatEnum, str] diff --git a/src/merge/resources/knowledgebase/types/debug_mode_log.py b/src/merge/resources/knowledgebase/types/debug_mode_log.py deleted file mode 100644 index 9c7d2a3f..00000000 --- a/src/merge/resources/knowledgebase/types/debug_mode_log.py +++ /dev/null @@ -1,23 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .debug_model_log_summary import DebugModelLogSummary - - -class DebugModeLog(UncheckedBaseModel): - log_id: str - dashboard_view: str - log_summary: DebugModelLogSummary - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/debug_model_log_summary.py b/src/merge/resources/knowledgebase/types/debug_model_log_summary.py deleted file mode 100644 index d7e1d3e6..00000000 --- a/src/merge/resources/knowledgebase/types/debug_model_log_summary.py +++ /dev/null @@ -1,22 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel - - -class DebugModelLogSummary(UncheckedBaseModel): - url: str - method: str - status_code: int - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/enabled_actions_enum.py b/src/merge/resources/knowledgebase/types/enabled_actions_enum.py deleted file mode 100644 index 29cf9839..00000000 --- a/src/merge/resources/knowledgebase/types/enabled_actions_enum.py +++ /dev/null @@ -1,22 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class EnabledActionsEnum(str, enum.Enum): - """ - * `READ` - READ - * `WRITE` - WRITE - """ - - READ = "READ" - WRITE = "WRITE" - - def visit(self, read: typing.Callable[[], T_Result], write: typing.Callable[[], T_Result]) -> T_Result: - if self is EnabledActionsEnum.READ: - return read() - if self is EnabledActionsEnum.WRITE: - return write() diff --git a/src/merge/resources/knowledgebase/types/encoding_enum.py b/src/merge/resources/knowledgebase/types/encoding_enum.py deleted file mode 100644 index 7454647e..00000000 --- a/src/merge/resources/knowledgebase/types/encoding_enum.py +++ /dev/null @@ -1,31 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class EncodingEnum(str, enum.Enum): - """ - * `RAW` - RAW - * `BASE64` - BASE64 - * `GZIP_BASE64` - GZIP_BASE64 - """ - - RAW = "RAW" - BASE_64 = "BASE64" - GZIP_BASE_64 = "GZIP_BASE64" - - def visit( - self, - raw: typing.Callable[[], T_Result], - base_64: typing.Callable[[], T_Result], - gzip_base_64: typing.Callable[[], T_Result], - ) -> T_Result: - if self is EncodingEnum.RAW: - return raw() - if self is EncodingEnum.BASE_64: - return base_64() - if self is EncodingEnum.GZIP_BASE_64: - return gzip_base_64() diff --git a/src/merge/resources/knowledgebase/types/error_validation_problem.py b/src/merge/resources/knowledgebase/types/error_validation_problem.py deleted file mode 100644 index 04f82d05..00000000 --- a/src/merge/resources/knowledgebase/types/error_validation_problem.py +++ /dev/null @@ -1,24 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .validation_problem_source import ValidationProblemSource - - -class ErrorValidationProblem(UncheckedBaseModel): - source: typing.Optional[ValidationProblemSource] = None - title: str - detail: str - problem_type: str - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/event_type_enum.py b/src/merge/resources/knowledgebase/types/event_type_enum.py deleted file mode 100644 index 537cea3f..00000000 --- a/src/merge/resources/knowledgebase/types/event_type_enum.py +++ /dev/null @@ -1,231 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class EventTypeEnum(str, enum.Enum): - """ - * `CREATED_REMOTE_PRODUCTION_API_KEY` - CREATED_REMOTE_PRODUCTION_API_KEY - * `DELETED_REMOTE_PRODUCTION_API_KEY` - DELETED_REMOTE_PRODUCTION_API_KEY - * `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY - * `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY - * `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY - * `REGENERATED_WEBHOOK_SIGNATURE` - REGENERATED_WEBHOOK_SIGNATURE - * `INVITED_USER` - INVITED_USER - * `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED - * `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED - * `DELETED_LINKED_ACCOUNT` - DELETED_LINKED_ACCOUNT - * `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT` - DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT - * `CREATED_DESTINATION` - CREATED_DESTINATION - * `DELETED_DESTINATION` - DELETED_DESTINATION - * `CHANGED_DESTINATION` - CHANGED_DESTINATION - * `CHANGED_SCOPES` - CHANGED_SCOPES - * `CHANGED_PERSONAL_INFORMATION` - CHANGED_PERSONAL_INFORMATION - * `CHANGED_ORGANIZATION_SETTINGS` - CHANGED_ORGANIZATION_SETTINGS - * `ENABLED_INTEGRATION` - ENABLED_INTEGRATION - * `DISABLED_INTEGRATION` - DISABLED_INTEGRATION - * `ENABLED_CATEGORY` - ENABLED_CATEGORY - * `DISABLED_CATEGORY` - DISABLED_CATEGORY - * `CHANGED_PASSWORD` - CHANGED_PASSWORD - * `RESET_PASSWORD` - RESET_PASSWORD - * `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - * `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - * `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - * `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - * `CREATED_INTEGRATION_WIDE_FIELD_MAPPING` - CREATED_INTEGRATION_WIDE_FIELD_MAPPING - * `CREATED_LINKED_ACCOUNT_FIELD_MAPPING` - CREATED_LINKED_ACCOUNT_FIELD_MAPPING - * `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING` - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING - * `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING - * `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - DELETED_INTEGRATION_WIDE_FIELD_MAPPING - * `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - DELETED_LINKED_ACCOUNT_FIELD_MAPPING - * `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - * `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - * `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - * `FORCED_LINKED_ACCOUNT_RESYNC` - FORCED_LINKED_ACCOUNT_RESYNC - * `MUTED_ISSUE` - MUTED_ISSUE - * `GENERATED_MAGIC_LINK` - GENERATED_MAGIC_LINK - * `ENABLED_MERGE_WEBHOOK` - ENABLED_MERGE_WEBHOOK - * `DISABLED_MERGE_WEBHOOK` - DISABLED_MERGE_WEBHOOK - * `MERGE_WEBHOOK_TARGET_CHANGED` - MERGE_WEBHOOK_TARGET_CHANGED - * `END_USER_CREDENTIALS_ACCESSED` - END_USER_CREDENTIALS_ACCESSED - """ - - CREATED_REMOTE_PRODUCTION_API_KEY = "CREATED_REMOTE_PRODUCTION_API_KEY" - DELETED_REMOTE_PRODUCTION_API_KEY = "DELETED_REMOTE_PRODUCTION_API_KEY" - CREATED_TEST_API_KEY = "CREATED_TEST_API_KEY" - DELETED_TEST_API_KEY = "DELETED_TEST_API_KEY" - REGENERATED_PRODUCTION_API_KEY = "REGENERATED_PRODUCTION_API_KEY" - REGENERATED_WEBHOOK_SIGNATURE = "REGENERATED_WEBHOOK_SIGNATURE" - INVITED_USER = "INVITED_USER" - TWO_FACTOR_AUTH_ENABLED = "TWO_FACTOR_AUTH_ENABLED" - TWO_FACTOR_AUTH_DISABLED = "TWO_FACTOR_AUTH_DISABLED" - DELETED_LINKED_ACCOUNT = "DELETED_LINKED_ACCOUNT" - DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT = "DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT" - CREATED_DESTINATION = "CREATED_DESTINATION" - DELETED_DESTINATION = "DELETED_DESTINATION" - CHANGED_DESTINATION = "CHANGED_DESTINATION" - CHANGED_SCOPES = "CHANGED_SCOPES" - CHANGED_PERSONAL_INFORMATION = "CHANGED_PERSONAL_INFORMATION" - CHANGED_ORGANIZATION_SETTINGS = "CHANGED_ORGANIZATION_SETTINGS" - ENABLED_INTEGRATION = "ENABLED_INTEGRATION" - DISABLED_INTEGRATION = "DISABLED_INTEGRATION" - ENABLED_CATEGORY = "ENABLED_CATEGORY" - DISABLED_CATEGORY = "DISABLED_CATEGORY" - CHANGED_PASSWORD = "CHANGED_PASSWORD" - RESET_PASSWORD = "RESET_PASSWORD" - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION = "ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION" - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT = "ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT" - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION = "DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION" - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT = "DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT" - CREATED_INTEGRATION_WIDE_FIELD_MAPPING = "CREATED_INTEGRATION_WIDE_FIELD_MAPPING" - CREATED_LINKED_ACCOUNT_FIELD_MAPPING = "CREATED_LINKED_ACCOUNT_FIELD_MAPPING" - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING = "CHANGED_INTEGRATION_WIDE_FIELD_MAPPING" - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING = "CHANGED_LINKED_ACCOUNT_FIELD_MAPPING" - DELETED_INTEGRATION_WIDE_FIELD_MAPPING = "DELETED_INTEGRATION_WIDE_FIELD_MAPPING" - DELETED_LINKED_ACCOUNT_FIELD_MAPPING = "DELETED_LINKED_ACCOUNT_FIELD_MAPPING" - CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE = "CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE" - CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE = "CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE" - DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE = "DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE" - FORCED_LINKED_ACCOUNT_RESYNC = "FORCED_LINKED_ACCOUNT_RESYNC" - MUTED_ISSUE = "MUTED_ISSUE" - GENERATED_MAGIC_LINK = "GENERATED_MAGIC_LINK" - ENABLED_MERGE_WEBHOOK = "ENABLED_MERGE_WEBHOOK" - DISABLED_MERGE_WEBHOOK = "DISABLED_MERGE_WEBHOOK" - MERGE_WEBHOOK_TARGET_CHANGED = "MERGE_WEBHOOK_TARGET_CHANGED" - END_USER_CREDENTIALS_ACCESSED = "END_USER_CREDENTIALS_ACCESSED" - - def visit( - self, - created_remote_production_api_key: typing.Callable[[], T_Result], - deleted_remote_production_api_key: typing.Callable[[], T_Result], - created_test_api_key: typing.Callable[[], T_Result], - deleted_test_api_key: typing.Callable[[], T_Result], - regenerated_production_api_key: typing.Callable[[], T_Result], - regenerated_webhook_signature: typing.Callable[[], T_Result], - invited_user: typing.Callable[[], T_Result], - two_factor_auth_enabled: typing.Callable[[], T_Result], - two_factor_auth_disabled: typing.Callable[[], T_Result], - deleted_linked_account: typing.Callable[[], T_Result], - deleted_all_common_models_for_linked_account: typing.Callable[[], T_Result], - created_destination: typing.Callable[[], T_Result], - deleted_destination: typing.Callable[[], T_Result], - changed_destination: typing.Callable[[], T_Result], - changed_scopes: typing.Callable[[], T_Result], - changed_personal_information: typing.Callable[[], T_Result], - changed_organization_settings: typing.Callable[[], T_Result], - enabled_integration: typing.Callable[[], T_Result], - disabled_integration: typing.Callable[[], T_Result], - enabled_category: typing.Callable[[], T_Result], - disabled_category: typing.Callable[[], T_Result], - changed_password: typing.Callable[[], T_Result], - reset_password: typing.Callable[[], T_Result], - enabled_redact_unmapped_data_for_organization: typing.Callable[[], T_Result], - enabled_redact_unmapped_data_for_linked_account: typing.Callable[[], T_Result], - disabled_redact_unmapped_data_for_organization: typing.Callable[[], T_Result], - disabled_redact_unmapped_data_for_linked_account: typing.Callable[[], T_Result], - created_integration_wide_field_mapping: typing.Callable[[], T_Result], - created_linked_account_field_mapping: typing.Callable[[], T_Result], - changed_integration_wide_field_mapping: typing.Callable[[], T_Result], - changed_linked_account_field_mapping: typing.Callable[[], T_Result], - deleted_integration_wide_field_mapping: typing.Callable[[], T_Result], - deleted_linked_account_field_mapping: typing.Callable[[], T_Result], - created_linked_account_common_model_override: typing.Callable[[], T_Result], - changed_linked_account_common_model_override: typing.Callable[[], T_Result], - deleted_linked_account_common_model_override: typing.Callable[[], T_Result], - forced_linked_account_resync: typing.Callable[[], T_Result], - muted_issue: typing.Callable[[], T_Result], - generated_magic_link: typing.Callable[[], T_Result], - enabled_merge_webhook: typing.Callable[[], T_Result], - disabled_merge_webhook: typing.Callable[[], T_Result], - merge_webhook_target_changed: typing.Callable[[], T_Result], - end_user_credentials_accessed: typing.Callable[[], T_Result], - ) -> T_Result: - if self is EventTypeEnum.CREATED_REMOTE_PRODUCTION_API_KEY: - return created_remote_production_api_key() - if self is EventTypeEnum.DELETED_REMOTE_PRODUCTION_API_KEY: - return deleted_remote_production_api_key() - if self is EventTypeEnum.CREATED_TEST_API_KEY: - return created_test_api_key() - if self is EventTypeEnum.DELETED_TEST_API_KEY: - return deleted_test_api_key() - if self is EventTypeEnum.REGENERATED_PRODUCTION_API_KEY: - return regenerated_production_api_key() - if self is EventTypeEnum.REGENERATED_WEBHOOK_SIGNATURE: - return regenerated_webhook_signature() - if self is EventTypeEnum.INVITED_USER: - return invited_user() - if self is EventTypeEnum.TWO_FACTOR_AUTH_ENABLED: - return two_factor_auth_enabled() - if self is EventTypeEnum.TWO_FACTOR_AUTH_DISABLED: - return two_factor_auth_disabled() - if self is EventTypeEnum.DELETED_LINKED_ACCOUNT: - return deleted_linked_account() - if self is EventTypeEnum.DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT: - return deleted_all_common_models_for_linked_account() - if self is EventTypeEnum.CREATED_DESTINATION: - return created_destination() - if self is EventTypeEnum.DELETED_DESTINATION: - return deleted_destination() - if self is EventTypeEnum.CHANGED_DESTINATION: - return changed_destination() - if self is EventTypeEnum.CHANGED_SCOPES: - return changed_scopes() - if self is EventTypeEnum.CHANGED_PERSONAL_INFORMATION: - return changed_personal_information() - if self is EventTypeEnum.CHANGED_ORGANIZATION_SETTINGS: - return changed_organization_settings() - if self is EventTypeEnum.ENABLED_INTEGRATION: - return enabled_integration() - if self is EventTypeEnum.DISABLED_INTEGRATION: - return disabled_integration() - if self is EventTypeEnum.ENABLED_CATEGORY: - return enabled_category() - if self is EventTypeEnum.DISABLED_CATEGORY: - return disabled_category() - if self is EventTypeEnum.CHANGED_PASSWORD: - return changed_password() - if self is EventTypeEnum.RESET_PASSWORD: - return reset_password() - if self is EventTypeEnum.ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION: - return enabled_redact_unmapped_data_for_organization() - if self is EventTypeEnum.ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT: - return enabled_redact_unmapped_data_for_linked_account() - if self is EventTypeEnum.DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION: - return disabled_redact_unmapped_data_for_organization() - if self is EventTypeEnum.DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT: - return disabled_redact_unmapped_data_for_linked_account() - if self is EventTypeEnum.CREATED_INTEGRATION_WIDE_FIELD_MAPPING: - return created_integration_wide_field_mapping() - if self is EventTypeEnum.CREATED_LINKED_ACCOUNT_FIELD_MAPPING: - return created_linked_account_field_mapping() - if self is EventTypeEnum.CHANGED_INTEGRATION_WIDE_FIELD_MAPPING: - return changed_integration_wide_field_mapping() - if self is EventTypeEnum.CHANGED_LINKED_ACCOUNT_FIELD_MAPPING: - return changed_linked_account_field_mapping() - if self is EventTypeEnum.DELETED_INTEGRATION_WIDE_FIELD_MAPPING: - return deleted_integration_wide_field_mapping() - if self is EventTypeEnum.DELETED_LINKED_ACCOUNT_FIELD_MAPPING: - return deleted_linked_account_field_mapping() - if self is EventTypeEnum.CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE: - return created_linked_account_common_model_override() - if self is EventTypeEnum.CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE: - return changed_linked_account_common_model_override() - if self is EventTypeEnum.DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE: - return deleted_linked_account_common_model_override() - if self is EventTypeEnum.FORCED_LINKED_ACCOUNT_RESYNC: - return forced_linked_account_resync() - if self is EventTypeEnum.MUTED_ISSUE: - return muted_issue() - if self is EventTypeEnum.GENERATED_MAGIC_LINK: - return generated_magic_link() - if self is EventTypeEnum.ENABLED_MERGE_WEBHOOK: - return enabled_merge_webhook() - if self is EventTypeEnum.DISABLED_MERGE_WEBHOOK: - return disabled_merge_webhook() - if self is EventTypeEnum.MERGE_WEBHOOK_TARGET_CHANGED: - return merge_webhook_target_changed() - if self is EventTypeEnum.END_USER_CREDENTIALS_ACCESSED: - return end_user_credentials_accessed() diff --git a/src/merge/resources/knowledgebase/types/external_target_field_api.py b/src/merge/resources/knowledgebase/types/external_target_field_api.py deleted file mode 100644 index c0fea1eb..00000000 --- a/src/merge/resources/knowledgebase/types/external_target_field_api.py +++ /dev/null @@ -1,22 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel - - -class ExternalTargetFieldApi(UncheckedBaseModel): - name: typing.Optional[str] = None - description: typing.Optional[str] = None - is_mapped: typing.Optional[str] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/external_target_field_api_response.py b/src/merge/resources/knowledgebase/types/external_target_field_api_response.py deleted file mode 100644 index 78a1df72..00000000 --- a/src/merge/resources/knowledgebase/types/external_target_field_api_response.py +++ /dev/null @@ -1,25 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .external_target_field_api import ExternalTargetFieldApi - - -class ExternalTargetFieldApiResponse(UncheckedBaseModel): - container: typing.Optional[typing.List[ExternalTargetFieldApi]] = pydantic.Field(alias="Container", default=None) - article: typing.Optional[typing.List[ExternalTargetFieldApi]] = pydantic.Field(alias="Article", default=None) - attachment: typing.Optional[typing.List[ExternalTargetFieldApi]] = pydantic.Field(alias="Attachment", default=None) - user: typing.Optional[typing.List[ExternalTargetFieldApi]] = pydantic.Field(alias="User", default=None) - group: typing.Optional[typing.List[ExternalTargetFieldApi]] = pydantic.Field(alias="Group", default=None) - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/field_mapping_api_instance.py b/src/merge/resources/knowledgebase/types/field_mapping_api_instance.py deleted file mode 100644 index 0d257dcb..00000000 --- a/src/merge/resources/knowledgebase/types/field_mapping_api_instance.py +++ /dev/null @@ -1,26 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .field_mapping_api_instance_remote_field import FieldMappingApiInstanceRemoteField -from .field_mapping_api_instance_target_field import FieldMappingApiInstanceTargetField - - -class FieldMappingApiInstance(UncheckedBaseModel): - id: typing.Optional[str] = None - is_integration_wide: typing.Optional[bool] = None - target_field: typing.Optional[FieldMappingApiInstanceTargetField] = None - remote_field: typing.Optional[FieldMappingApiInstanceRemoteField] = None - jmes_path: typing.Optional[str] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/field_mapping_api_instance_remote_field.py b/src/merge/resources/knowledgebase/types/field_mapping_api_instance_remote_field.py deleted file mode 100644 index 578a2b10..00000000 --- a/src/merge/resources/knowledgebase/types/field_mapping_api_instance_remote_field.py +++ /dev/null @@ -1,27 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .field_mapping_api_instance_remote_field_remote_endpoint_info import ( - FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo, -) - - -class FieldMappingApiInstanceRemoteField(UncheckedBaseModel): - remote_key_name: typing.Optional[str] = None - schema_: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = pydantic.Field( - alias="schema", default=None - ) - remote_endpoint_info: FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/field_mapping_api_instance_remote_field_remote_endpoint_info.py b/src/merge/resources/knowledgebase/types/field_mapping_api_instance_remote_field_remote_endpoint_info.py deleted file mode 100644 index 4171f08b..00000000 --- a/src/merge/resources/knowledgebase/types/field_mapping_api_instance_remote_field_remote_endpoint_info.py +++ /dev/null @@ -1,22 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel - - -class FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo(UncheckedBaseModel): - method: typing.Optional[str] = None - url_path: typing.Optional[str] = None - field_traversal_path: typing.Optional[typing.List[str]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/field_mapping_api_instance_response.py b/src/merge/resources/knowledgebase/types/field_mapping_api_instance_response.py deleted file mode 100644 index a3237ed5..00000000 --- a/src/merge/resources/knowledgebase/types/field_mapping_api_instance_response.py +++ /dev/null @@ -1,25 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .field_mapping_api_instance import FieldMappingApiInstance - - -class FieldMappingApiInstanceResponse(UncheckedBaseModel): - container: typing.Optional[typing.List[FieldMappingApiInstance]] = pydantic.Field(alias="Container", default=None) - article: typing.Optional[typing.List[FieldMappingApiInstance]] = pydantic.Field(alias="Article", default=None) - attachment: typing.Optional[typing.List[FieldMappingApiInstance]] = pydantic.Field(alias="Attachment", default=None) - user: typing.Optional[typing.List[FieldMappingApiInstance]] = pydantic.Field(alias="User", default=None) - group: typing.Optional[typing.List[FieldMappingApiInstance]] = pydantic.Field(alias="Group", default=None) - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/field_mapping_api_instance_target_field.py b/src/merge/resources/knowledgebase/types/field_mapping_api_instance_target_field.py deleted file mode 100644 index e6474cba..00000000 --- a/src/merge/resources/knowledgebase/types/field_mapping_api_instance_target_field.py +++ /dev/null @@ -1,22 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel - - -class FieldMappingApiInstanceTargetField(UncheckedBaseModel): - name: str - description: str - is_organization_wide: bool - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/field_mapping_instance_response.py b/src/merge/resources/knowledgebase/types/field_mapping_instance_response.py deleted file mode 100644 index f921e641..00000000 --- a/src/merge/resources/knowledgebase/types/field_mapping_instance_response.py +++ /dev/null @@ -1,27 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .debug_mode_log import DebugModeLog -from .error_validation_problem import ErrorValidationProblem -from .field_mapping_api_instance import FieldMappingApiInstance -from .warning_validation_problem import WarningValidationProblem - - -class FieldMappingInstanceResponse(UncheckedBaseModel): - model: FieldMappingApiInstance - warnings: typing.List[WarningValidationProblem] - errors: typing.List[ErrorValidationProblem] - logs: typing.Optional[typing.List[DebugModeLog]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/field_permission_deserializer.py b/src/merge/resources/knowledgebase/types/field_permission_deserializer.py deleted file mode 100644 index 1d71ae04..00000000 --- a/src/merge/resources/knowledgebase/types/field_permission_deserializer.py +++ /dev/null @@ -1,21 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel - - -class FieldPermissionDeserializer(UncheckedBaseModel): - enabled_fields: typing.Optional[typing.List[typing.Optional[typing.Any]]] = None - disabled_fields: typing.Optional[typing.List[typing.Optional[typing.Any]]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/field_permission_deserializer_request.py b/src/merge/resources/knowledgebase/types/field_permission_deserializer_request.py deleted file mode 100644 index a4113b46..00000000 --- a/src/merge/resources/knowledgebase/types/field_permission_deserializer_request.py +++ /dev/null @@ -1,21 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel - - -class FieldPermissionDeserializerRequest(UncheckedBaseModel): - enabled_fields: typing.Optional[typing.List[typing.Optional[typing.Any]]] = None - disabled_fields: typing.Optional[typing.List[typing.Optional[typing.Any]]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/group.py b/src/merge/resources/knowledgebase/types/group.py deleted file mode 100644 index 99fce32b..00000000 --- a/src/merge/resources/knowledgebase/types/group.py +++ /dev/null @@ -1,71 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -from __future__ import annotations - -import datetime as dt -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs -from ....core.unchecked_base_model import UncheckedBaseModel -from .group_users_item import GroupUsersItem -from .remote_data import RemoteData - - -class Group(UncheckedBaseModel): - """ - # The Group Object - ### Description - The `Group` object is used to represent any subset of `Users`. This can extend to company domains as well. - ### Usage Example - Fetch from the `GET /api/knowledgebase/v1/groups` endpoint and view their groups. - """ - - id: typing.Optional[str] = None - remote_id: typing.Optional[str] = pydantic.Field(default=None) - """ - The third-party API ID of the matching object. - """ - - created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - The datetime that this object was created by Merge. - """ - - modified_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - The datetime that this object was modified by Merge. - """ - - name: typing.Optional[str] = pydantic.Field(default=None) - """ - The group's name. - """ - - parent_group: typing.Optional["GroupParentGroup"] = pydantic.Field(default=None) - """ - The parent group for this group. - """ - - users: typing.Optional[typing.List[GroupUsersItem]] = None - remote_was_deleted: typing.Optional[bool] = pydantic.Field(default=None) - """ - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - """ - - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - remote_data: typing.Optional[typing.List[RemoteData]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow - - -from .group_parent_group import GroupParentGroup # noqa: E402, F401, I001 - -update_forward_refs(Group) diff --git a/src/merge/resources/knowledgebase/types/group_parent_group.py b/src/merge/resources/knowledgebase/types/group_parent_group.py deleted file mode 100644 index 4a8aec86..00000000 --- a/src/merge/resources/knowledgebase/types/group_parent_group.py +++ /dev/null @@ -1,9 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -from __future__ import annotations - -import typing - -if typing.TYPE_CHECKING: - from .group import Group -GroupParentGroup = typing.Union[str, "Group"] diff --git a/src/merge/resources/knowledgebase/types/group_users_item.py b/src/merge/resources/knowledgebase/types/group_users_item.py deleted file mode 100644 index 969cb173..00000000 --- a/src/merge/resources/knowledgebase/types/group_users_item.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .user import User - -GroupUsersItem = typing.Union[str, User] diff --git a/src/merge/resources/knowledgebase/types/individual_common_model_scope_deserializer.py b/src/merge/resources/knowledgebase/types/individual_common_model_scope_deserializer.py deleted file mode 100644 index 4b1ef6a4..00000000 --- a/src/merge/resources/knowledgebase/types/individual_common_model_scope_deserializer.py +++ /dev/null @@ -1,24 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .field_permission_deserializer import FieldPermissionDeserializer -from .model_permission_deserializer import ModelPermissionDeserializer - - -class IndividualCommonModelScopeDeserializer(UncheckedBaseModel): - model_name: str - model_permissions: typing.Optional[typing.Dict[str, ModelPermissionDeserializer]] = None - field_permissions: typing.Optional[FieldPermissionDeserializer] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/individual_common_model_scope_deserializer_request.py b/src/merge/resources/knowledgebase/types/individual_common_model_scope_deserializer_request.py deleted file mode 100644 index 1dcda203..00000000 --- a/src/merge/resources/knowledgebase/types/individual_common_model_scope_deserializer_request.py +++ /dev/null @@ -1,24 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .field_permission_deserializer_request import FieldPermissionDeserializerRequest -from .model_permission_deserializer_request import ModelPermissionDeserializerRequest - - -class IndividualCommonModelScopeDeserializerRequest(UncheckedBaseModel): - model_name: str - model_permissions: typing.Optional[typing.Dict[str, ModelPermissionDeserializerRequest]] = None - field_permissions: typing.Optional[FieldPermissionDeserializerRequest] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/issue.py b/src/merge/resources/knowledgebase/types/issue.py deleted file mode 100644 index df31be95..00000000 --- a/src/merge/resources/knowledgebase/types/issue.py +++ /dev/null @@ -1,36 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .issue_status import IssueStatus - - -class Issue(UncheckedBaseModel): - id: typing.Optional[str] = None - status: typing.Optional[IssueStatus] = pydantic.Field(default=None) - """ - Status of the issue. Options: ('ONGOING', 'RESOLVED') - - * `ONGOING` - ONGOING - * `RESOLVED` - RESOLVED - """ - - error_description: str - end_user: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - first_incident_time: typing.Optional[dt.datetime] = None - last_incident_time: typing.Optional[dt.datetime] = None - is_muted: typing.Optional[bool] = None - error_details: typing.Optional[typing.List[str]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/issue_status.py b/src/merge/resources/knowledgebase/types/issue_status.py deleted file mode 100644 index 8e4d6516..00000000 --- a/src/merge/resources/knowledgebase/types/issue_status.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .issue_status_enum import IssueStatusEnum - -IssueStatus = typing.Union[IssueStatusEnum, str] diff --git a/src/merge/resources/knowledgebase/types/issue_status_enum.py b/src/merge/resources/knowledgebase/types/issue_status_enum.py deleted file mode 100644 index 57eb9618..00000000 --- a/src/merge/resources/knowledgebase/types/issue_status_enum.py +++ /dev/null @@ -1,22 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class IssueStatusEnum(str, enum.Enum): - """ - * `ONGOING` - ONGOING - * `RESOLVED` - RESOLVED - """ - - ONGOING = "ONGOING" - RESOLVED = "RESOLVED" - - def visit(self, ongoing: typing.Callable[[], T_Result], resolved: typing.Callable[[], T_Result]) -> T_Result: - if self is IssueStatusEnum.ONGOING: - return ongoing() - if self is IssueStatusEnum.RESOLVED: - return resolved() diff --git a/src/merge/resources/knowledgebase/types/language_enum.py b/src/merge/resources/knowledgebase/types/language_enum.py deleted file mode 100644 index 44b693f2..00000000 --- a/src/merge/resources/knowledgebase/types/language_enum.py +++ /dev/null @@ -1,22 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class LanguageEnum(str, enum.Enum): - """ - * `en` - en - * `de` - de - """ - - EN = "en" - DE = "de" - - def visit(self, en: typing.Callable[[], T_Result], de: typing.Callable[[], T_Result]) -> T_Result: - if self is LanguageEnum.EN: - return en() - if self is LanguageEnum.DE: - return de() diff --git a/src/merge/resources/knowledgebase/types/last_sync_result_enum.py b/src/merge/resources/knowledgebase/types/last_sync_result_enum.py deleted file mode 100644 index ec777ee6..00000000 --- a/src/merge/resources/knowledgebase/types/last_sync_result_enum.py +++ /dev/null @@ -1,46 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class LastSyncResultEnum(str, enum.Enum): - """ - * `SYNCING` - SYNCING - * `DONE` - DONE - * `FAILED` - FAILED - * `DISABLED` - DISABLED - * `PAUSED` - PAUSED - * `PARTIALLY_SYNCED` - PARTIALLY_SYNCED - """ - - SYNCING = "SYNCING" - DONE = "DONE" - FAILED = "FAILED" - DISABLED = "DISABLED" - PAUSED = "PAUSED" - PARTIALLY_SYNCED = "PARTIALLY_SYNCED" - - def visit( - self, - syncing: typing.Callable[[], T_Result], - done: typing.Callable[[], T_Result], - failed: typing.Callable[[], T_Result], - disabled: typing.Callable[[], T_Result], - paused: typing.Callable[[], T_Result], - partially_synced: typing.Callable[[], T_Result], - ) -> T_Result: - if self is LastSyncResultEnum.SYNCING: - return syncing() - if self is LastSyncResultEnum.DONE: - return done() - if self is LastSyncResultEnum.FAILED: - return failed() - if self is LastSyncResultEnum.DISABLED: - return disabled() - if self is LastSyncResultEnum.PAUSED: - return paused() - if self is LastSyncResultEnum.PARTIALLY_SYNCED: - return partially_synced() diff --git a/src/merge/resources/knowledgebase/types/link_token.py b/src/merge/resources/knowledgebase/types/link_token.py deleted file mode 100644 index f78dedeb..00000000 --- a/src/merge/resources/knowledgebase/types/link_token.py +++ /dev/null @@ -1,22 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel - - -class LinkToken(UncheckedBaseModel): - link_token: str - integration_name: typing.Optional[str] = None - magic_link_url: typing.Optional[str] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/method_enum.py b/src/merge/resources/knowledgebase/types/method_enum.py deleted file mode 100644 index 57bcde10..00000000 --- a/src/merge/resources/knowledgebase/types/method_enum.py +++ /dev/null @@ -1,51 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class MethodEnum(str, enum.Enum): - """ - * `GET` - GET - * `OPTIONS` - OPTIONS - * `HEAD` - HEAD - * `POST` - POST - * `PUT` - PUT - * `PATCH` - PATCH - * `DELETE` - DELETE - """ - - GET = "GET" - OPTIONS = "OPTIONS" - HEAD = "HEAD" - POST = "POST" - PUT = "PUT" - PATCH = "PATCH" - DELETE = "DELETE" - - def visit( - self, - get: typing.Callable[[], T_Result], - options: typing.Callable[[], T_Result], - head: typing.Callable[[], T_Result], - post: typing.Callable[[], T_Result], - put: typing.Callable[[], T_Result], - patch: typing.Callable[[], T_Result], - delete: typing.Callable[[], T_Result], - ) -> T_Result: - if self is MethodEnum.GET: - return get() - if self is MethodEnum.OPTIONS: - return options() - if self is MethodEnum.HEAD: - return head() - if self is MethodEnum.POST: - return post() - if self is MethodEnum.PUT: - return put() - if self is MethodEnum.PATCH: - return patch() - if self is MethodEnum.DELETE: - return delete() diff --git a/src/merge/resources/knowledgebase/types/model_operation.py b/src/merge/resources/knowledgebase/types/model_operation.py deleted file mode 100644 index c367572d..00000000 --- a/src/merge/resources/knowledgebase/types/model_operation.py +++ /dev/null @@ -1,32 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel - - -class ModelOperation(UncheckedBaseModel): - """ - # The ModelOperation Object - ### Description - The `ModelOperation` object is used to represent the operations that are currently supported for a given model. - - ### Usage Example - View what operations are supported for the `Candidate` endpoint. - """ - - model_name: str - available_operations: typing.List[str] - required_post_parameters: typing.List[str] - supported_fields: typing.List[str] - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/model_permission_deserializer.py b/src/merge/resources/knowledgebase/types/model_permission_deserializer.py deleted file mode 100644 index 6381814c..00000000 --- a/src/merge/resources/knowledgebase/types/model_permission_deserializer.py +++ /dev/null @@ -1,20 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel - - -class ModelPermissionDeserializer(UncheckedBaseModel): - is_enabled: typing.Optional[bool] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/model_permission_deserializer_request.py b/src/merge/resources/knowledgebase/types/model_permission_deserializer_request.py deleted file mode 100644 index cdc2ff4c..00000000 --- a/src/merge/resources/knowledgebase/types/model_permission_deserializer_request.py +++ /dev/null @@ -1,20 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel - - -class ModelPermissionDeserializerRequest(UncheckedBaseModel): - is_enabled: typing.Optional[bool] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/multipart_form_field_request.py b/src/merge/resources/knowledgebase/types/multipart_form_field_request.py deleted file mode 100644 index abc37692..00000000 --- a/src/merge/resources/knowledgebase/types/multipart_form_field_request.py +++ /dev/null @@ -1,57 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .multipart_form_field_request_encoding import MultipartFormFieldRequestEncoding - - -class MultipartFormFieldRequest(UncheckedBaseModel): - """ - # The MultipartFormField Object - ### Description - The `MultipartFormField` object is used to represent fields in an HTTP request using `multipart/form-data`. - - ### Usage Example - Create a `MultipartFormField` to define a multipart form entry. - """ - - name: str = pydantic.Field() - """ - The name of the form field - """ - - data: str = pydantic.Field() - """ - The data for the form field. - """ - - encoding: typing.Optional[MultipartFormFieldRequestEncoding] = pydantic.Field(default=None) - """ - The encoding of the value of `data`. Defaults to `RAW` if not defined. - - * `RAW` - RAW - * `BASE64` - BASE64 - * `GZIP_BASE64` - GZIP_BASE64 - """ - - file_name: typing.Optional[str] = pydantic.Field(default=None) - """ - The file name of the form field, if the field is for a file. - """ - - content_type: typing.Optional[str] = pydantic.Field(default=None) - """ - The MIME type of the file, if the field is for a file. - """ - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/multipart_form_field_request_encoding.py b/src/merge/resources/knowledgebase/types/multipart_form_field_request_encoding.py deleted file mode 100644 index c6513b6b..00000000 --- a/src/merge/resources/knowledgebase/types/multipart_form_field_request_encoding.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .encoding_enum import EncodingEnum - -MultipartFormFieldRequestEncoding = typing.Union[EncodingEnum, str] diff --git a/src/merge/resources/knowledgebase/types/paginated_account_details_and_actions_list.py b/src/merge/resources/knowledgebase/types/paginated_account_details_and_actions_list.py deleted file mode 100644 index d2d16116..00000000 --- a/src/merge/resources/knowledgebase/types/paginated_account_details_and_actions_list.py +++ /dev/null @@ -1,23 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .account_details_and_actions import AccountDetailsAndActions - - -class PaginatedAccountDetailsAndActionsList(UncheckedBaseModel): - next: typing.Optional[str] = None - previous: typing.Optional[str] = None - results: typing.Optional[typing.List[AccountDetailsAndActions]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/paginated_article_list.py b/src/merge/resources/knowledgebase/types/paginated_article_list.py deleted file mode 100644 index 81de40ee..00000000 --- a/src/merge/resources/knowledgebase/types/paginated_article_list.py +++ /dev/null @@ -1,30 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -from __future__ import annotations - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs -from ....core.unchecked_base_model import UncheckedBaseModel - - -class PaginatedArticleList(UncheckedBaseModel): - next: typing.Optional[str] = None - previous: typing.Optional[str] = None - results: typing.Optional[typing.List["Article"]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow - - -from .article import Article # noqa: E402, F401, I001 -from .group import Group # noqa: E402, F401, I001 - -update_forward_refs(PaginatedArticleList) diff --git a/src/merge/resources/knowledgebase/types/paginated_attachment_list.py b/src/merge/resources/knowledgebase/types/paginated_attachment_list.py deleted file mode 100644 index 3222cbc0..00000000 --- a/src/merge/resources/knowledgebase/types/paginated_attachment_list.py +++ /dev/null @@ -1,23 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .attachment import Attachment - - -class PaginatedAttachmentList(UncheckedBaseModel): - next: typing.Optional[str] = None - previous: typing.Optional[str] = None - results: typing.Optional[typing.List[Attachment]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/paginated_audit_log_event_list.py b/src/merge/resources/knowledgebase/types/paginated_audit_log_event_list.py deleted file mode 100644 index 24139397..00000000 --- a/src/merge/resources/knowledgebase/types/paginated_audit_log_event_list.py +++ /dev/null @@ -1,23 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .audit_log_event import AuditLogEvent - - -class PaginatedAuditLogEventList(UncheckedBaseModel): - next: typing.Optional[str] = None - previous: typing.Optional[str] = None - results: typing.Optional[typing.List[AuditLogEvent]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/paginated_container_list.py b/src/merge/resources/knowledgebase/types/paginated_container_list.py deleted file mode 100644 index 4a3ab735..00000000 --- a/src/merge/resources/knowledgebase/types/paginated_container_list.py +++ /dev/null @@ -1,30 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -from __future__ import annotations - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs -from ....core.unchecked_base_model import UncheckedBaseModel -from .container import Container - - -class PaginatedContainerList(UncheckedBaseModel): - next: typing.Optional[str] = None - previous: typing.Optional[str] = None - results: typing.Optional[typing.List[Container]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow - - -from .group import Group # noqa: E402, F401, I001 - -update_forward_refs(PaginatedContainerList) diff --git a/src/merge/resources/knowledgebase/types/paginated_group_list.py b/src/merge/resources/knowledgebase/types/paginated_group_list.py deleted file mode 100644 index ddbf97b2..00000000 --- a/src/merge/resources/knowledgebase/types/paginated_group_list.py +++ /dev/null @@ -1,29 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -from __future__ import annotations - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs -from ....core.unchecked_base_model import UncheckedBaseModel - - -class PaginatedGroupList(UncheckedBaseModel): - next: typing.Optional[str] = None - previous: typing.Optional[str] = None - results: typing.Optional[typing.List["Group"]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow - - -from .group import Group # noqa: E402, F401, I001 - -update_forward_refs(PaginatedGroupList) diff --git a/src/merge/resources/knowledgebase/types/paginated_issue_list.py b/src/merge/resources/knowledgebase/types/paginated_issue_list.py deleted file mode 100644 index 686173e5..00000000 --- a/src/merge/resources/knowledgebase/types/paginated_issue_list.py +++ /dev/null @@ -1,23 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .issue import Issue - - -class PaginatedIssueList(UncheckedBaseModel): - next: typing.Optional[str] = None - previous: typing.Optional[str] = None - results: typing.Optional[typing.List[Issue]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/paginated_sync_status_list.py b/src/merge/resources/knowledgebase/types/paginated_sync_status_list.py deleted file mode 100644 index cc4bd7a8..00000000 --- a/src/merge/resources/knowledgebase/types/paginated_sync_status_list.py +++ /dev/null @@ -1,23 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .sync_status import SyncStatus - - -class PaginatedSyncStatusList(UncheckedBaseModel): - next: typing.Optional[str] = None - previous: typing.Optional[str] = None - results: typing.Optional[typing.List[SyncStatus]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/paginated_user_list.py b/src/merge/resources/knowledgebase/types/paginated_user_list.py deleted file mode 100644 index 809b285c..00000000 --- a/src/merge/resources/knowledgebase/types/paginated_user_list.py +++ /dev/null @@ -1,23 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .user import User - - -class PaginatedUserList(UncheckedBaseModel): - next: typing.Optional[str] = None - previous: typing.Optional[str] = None - results: typing.Optional[typing.List[User]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/permission.py b/src/merge/resources/knowledgebase/types/permission.py deleted file mode 100644 index 25d694be..00000000 --- a/src/merge/resources/knowledgebase/types/permission.py +++ /dev/null @@ -1,77 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -from __future__ import annotations - -import datetime as dt -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs -from ....core.unchecked_base_model import UncheckedBaseModel -from .permission_group import PermissionGroup -from .permission_type import PermissionType -from .permission_user import PermissionUser -from .roles_enum import RolesEnum - - -class Permission(UncheckedBaseModel): - """ - # The Permission Object - ### Description - The `Permission` object is used to represent a user's or group's access to an article or container. Permissions are unexpanded by default. - ### Usage Example - """ - - id: typing.Optional[str] = None - remote_id: typing.Optional[str] = pydantic.Field(default=None) - """ - The third-party API ID of the matching object. - """ - - created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - The datetime that this object was created by Merge. - """ - - modified_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - The datetime that this object was modified by Merge. - """ - - user: typing.Optional[PermissionUser] = None - group: typing.Optional[PermissionGroup] = None - type: typing.Optional[PermissionType] = pydantic.Field(default=None) - """ - Denotes what type of people have access to the Article or Container. - - * `USER` - USER - * `GROUP` - GROUP - * `COMPANY` - COMPANY - * `ANYONE` - ANYONE - """ - - roles: typing.Optional[typing.List[typing.Optional[RolesEnum]]] = pydantic.Field(default=None) - """ - The permissions that the user or group has for the Article or Container. It is possible for a user or group to have multiple roles, such as viewing & uploading. - """ - - remote_was_deleted: typing.Optional[bool] = pydantic.Field(default=None) - """ - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - """ - - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow - - -from .group import Group # noqa: E402, F401, I001 - -update_forward_refs(Permission) diff --git a/src/merge/resources/knowledgebase/types/permission_group.py b/src/merge/resources/knowledgebase/types/permission_group.py deleted file mode 100644 index db417995..00000000 --- a/src/merge/resources/knowledgebase/types/permission_group.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .group import Group - -PermissionGroup = typing.Union[str, Group] diff --git a/src/merge/resources/knowledgebase/types/permission_type.py b/src/merge/resources/knowledgebase/types/permission_type.py deleted file mode 100644 index 974034d9..00000000 --- a/src/merge/resources/knowledgebase/types/permission_type.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .permission_type_enum import PermissionTypeEnum - -PermissionType = typing.Union[PermissionTypeEnum, str] diff --git a/src/merge/resources/knowledgebase/types/permission_type_enum.py b/src/merge/resources/knowledgebase/types/permission_type_enum.py deleted file mode 100644 index be003e46..00000000 --- a/src/merge/resources/knowledgebase/types/permission_type_enum.py +++ /dev/null @@ -1,36 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class PermissionTypeEnum(str, enum.Enum): - """ - * `USER` - USER - * `GROUP` - GROUP - * `COMPANY` - COMPANY - * `ANYONE` - ANYONE - """ - - USER = "USER" - GROUP = "GROUP" - COMPANY = "COMPANY" - ANYONE = "ANYONE" - - def visit( - self, - user: typing.Callable[[], T_Result], - group: typing.Callable[[], T_Result], - company: typing.Callable[[], T_Result], - anyone: typing.Callable[[], T_Result], - ) -> T_Result: - if self is PermissionTypeEnum.USER: - return user() - if self is PermissionTypeEnum.GROUP: - return group() - if self is PermissionTypeEnum.COMPANY: - return company() - if self is PermissionTypeEnum.ANYONE: - return anyone() diff --git a/src/merge/resources/knowledgebase/types/permission_user.py b/src/merge/resources/knowledgebase/types/permission_user.py deleted file mode 100644 index 85fec9a9..00000000 --- a/src/merge/resources/knowledgebase/types/permission_user.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .user import User - -PermissionUser = typing.Union[str, User] diff --git a/src/merge/resources/knowledgebase/types/remote_data.py b/src/merge/resources/knowledgebase/types/remote_data.py deleted file mode 100644 index f34bec80..00000000 --- a/src/merge/resources/knowledgebase/types/remote_data.py +++ /dev/null @@ -1,37 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel - - -class RemoteData(UncheckedBaseModel): - """ - # The RemoteData Object - ### Description - The `RemoteData` object is used to represent the full data pulled from the third-party API for an object. - - ### Usage Example - TODO - """ - - path: str = pydantic.Field() - """ - The third-party API path that is being called. - """ - - data: typing.Optional[typing.Optional[typing.Any]] = pydantic.Field(default=None) - """ - The data returned from the third-party for this object in its original, unnormalized format. - """ - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/remote_endpoint_info.py b/src/merge/resources/knowledgebase/types/remote_endpoint_info.py deleted file mode 100644 index 07ceff6a..00000000 --- a/src/merge/resources/knowledgebase/types/remote_endpoint_info.py +++ /dev/null @@ -1,22 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel - - -class RemoteEndpointInfo(UncheckedBaseModel): - method: str - url_path: str - field_traversal_path: typing.List[typing.Optional[typing.Any]] - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/remote_field_api.py b/src/merge/resources/knowledgebase/types/remote_field_api.py deleted file mode 100644 index 0756bfc3..00000000 --- a/src/merge/resources/knowledgebase/types/remote_field_api.py +++ /dev/null @@ -1,28 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .remote_endpoint_info import RemoteEndpointInfo -from .remote_field_api_advanced_metadata import RemoteFieldApiAdvancedMetadata -from .remote_field_api_coverage import RemoteFieldApiCoverage - - -class RemoteFieldApi(UncheckedBaseModel): - schema_: typing.Dict[str, typing.Optional[typing.Any]] = pydantic.Field(alias="schema") - remote_key_name: str - remote_endpoint_info: RemoteEndpointInfo - example_values: typing.Optional[typing.List[typing.Optional[typing.Any]]] = None - advanced_metadata: typing.Optional[RemoteFieldApiAdvancedMetadata] = None - coverage: typing.Optional[RemoteFieldApiCoverage] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/remote_field_api_advanced_metadata.py b/src/merge/resources/knowledgebase/types/remote_field_api_advanced_metadata.py deleted file mode 100644 index e93da936..00000000 --- a/src/merge/resources/knowledgebase/types/remote_field_api_advanced_metadata.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .advanced_metadata import AdvancedMetadata - -RemoteFieldApiAdvancedMetadata = typing.Union[AdvancedMetadata, str] diff --git a/src/merge/resources/knowledgebase/types/remote_field_api_coverage.py b/src/merge/resources/knowledgebase/types/remote_field_api_coverage.py deleted file mode 100644 index adcd9be9..00000000 --- a/src/merge/resources/knowledgebase/types/remote_field_api_coverage.py +++ /dev/null @@ -1,5 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -RemoteFieldApiCoverage = typing.Union[int, float] diff --git a/src/merge/resources/knowledgebase/types/remote_field_api_response.py b/src/merge/resources/knowledgebase/types/remote_field_api_response.py deleted file mode 100644 index 13490496..00000000 --- a/src/merge/resources/knowledgebase/types/remote_field_api_response.py +++ /dev/null @@ -1,25 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .remote_field_api import RemoteFieldApi - - -class RemoteFieldApiResponse(UncheckedBaseModel): - container: typing.Optional[typing.List[RemoteFieldApi]] = pydantic.Field(alias="Container", default=None) - article: typing.Optional[typing.List[RemoteFieldApi]] = pydantic.Field(alias="Article", default=None) - attachment: typing.Optional[typing.List[RemoteFieldApi]] = pydantic.Field(alias="Attachment", default=None) - user: typing.Optional[typing.List[RemoteFieldApi]] = pydantic.Field(alias="User", default=None) - group: typing.Optional[typing.List[RemoteFieldApi]] = pydantic.Field(alias="Group", default=None) - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/remote_key.py b/src/merge/resources/knowledgebase/types/remote_key.py deleted file mode 100644 index e5d9758c..00000000 --- a/src/merge/resources/knowledgebase/types/remote_key.py +++ /dev/null @@ -1,30 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel - - -class RemoteKey(UncheckedBaseModel): - """ - # The RemoteKey Object - ### Description - The `RemoteKey` object is used to represent a request for a new remote key. - - ### Usage Example - Post a `GenerateRemoteKey` to receive a new `RemoteKey`. - """ - - name: str - key: str - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/remote_response.py b/src/merge/resources/knowledgebase/types/remote_response.py deleted file mode 100644 index db01131f..00000000 --- a/src/merge/resources/knowledgebase/types/remote_response.py +++ /dev/null @@ -1,36 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .remote_response_response_type import RemoteResponseResponseType - - -class RemoteResponse(UncheckedBaseModel): - """ - # The RemoteResponse Object - ### Description - The `RemoteResponse` object is used to represent information returned from a third-party endpoint. - - ### Usage Example - View the `RemoteResponse` returned from your `DataPassthrough`. - """ - - method: str - path: str - status: int - response: typing.Optional[typing.Any] = None - response_headers: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - response_type: typing.Optional[RemoteResponseResponseType] = None - headers: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/request_format_enum.py b/src/merge/resources/knowledgebase/types/request_format_enum.py deleted file mode 100644 index 21c272f2..00000000 --- a/src/merge/resources/knowledgebase/types/request_format_enum.py +++ /dev/null @@ -1,31 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class RequestFormatEnum(str, enum.Enum): - """ - * `JSON` - JSON - * `XML` - XML - * `MULTIPART` - MULTIPART - """ - - JSON = "JSON" - XML = "XML" - MULTIPART = "MULTIPART" - - def visit( - self, - json: typing.Callable[[], T_Result], - xml: typing.Callable[[], T_Result], - multipart: typing.Callable[[], T_Result], - ) -> T_Result: - if self is RequestFormatEnum.JSON: - return json() - if self is RequestFormatEnum.XML: - return xml() - if self is RequestFormatEnum.MULTIPART: - return multipart() diff --git a/src/merge/resources/knowledgebase/types/response_type_enum.py b/src/merge/resources/knowledgebase/types/response_type_enum.py deleted file mode 100644 index ef241302..00000000 --- a/src/merge/resources/knowledgebase/types/response_type_enum.py +++ /dev/null @@ -1,22 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class ResponseTypeEnum(str, enum.Enum): - """ - * `JSON` - JSON - * `BASE64_GZIP` - BASE64_GZIP - """ - - JSON = "JSON" - BASE_64_GZIP = "BASE64_GZIP" - - def visit(self, json: typing.Callable[[], T_Result], base_64_gzip: typing.Callable[[], T_Result]) -> T_Result: - if self is ResponseTypeEnum.JSON: - return json() - if self is ResponseTypeEnum.BASE_64_GZIP: - return base_64_gzip() diff --git a/src/merge/resources/knowledgebase/types/role_enum.py b/src/merge/resources/knowledgebase/types/role_enum.py deleted file mode 100644 index a6cfcc6f..00000000 --- a/src/merge/resources/knowledgebase/types/role_enum.py +++ /dev/null @@ -1,46 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class RoleEnum(str, enum.Enum): - """ - * `ADMIN` - ADMIN - * `DEVELOPER` - DEVELOPER - * `MEMBER` - MEMBER - * `API` - API - * `SYSTEM` - SYSTEM - * `MERGE_TEAM` - MERGE_TEAM - """ - - ADMIN = "ADMIN" - DEVELOPER = "DEVELOPER" - MEMBER = "MEMBER" - API = "API" - SYSTEM = "SYSTEM" - MERGE_TEAM = "MERGE_TEAM" - - def visit( - self, - admin: typing.Callable[[], T_Result], - developer: typing.Callable[[], T_Result], - member: typing.Callable[[], T_Result], - api: typing.Callable[[], T_Result], - system: typing.Callable[[], T_Result], - merge_team: typing.Callable[[], T_Result], - ) -> T_Result: - if self is RoleEnum.ADMIN: - return admin() - if self is RoleEnum.DEVELOPER: - return developer() - if self is RoleEnum.MEMBER: - return member() - if self is RoleEnum.API: - return api() - if self is RoleEnum.SYSTEM: - return system() - if self is RoleEnum.MERGE_TEAM: - return merge_team() diff --git a/src/merge/resources/knowledgebase/types/roles_enum.py b/src/merge/resources/knowledgebase/types/roles_enum.py deleted file mode 100644 index 1176c798..00000000 --- a/src/merge/resources/knowledgebase/types/roles_enum.py +++ /dev/null @@ -1,31 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class RolesEnum(str, enum.Enum): - """ - * `READ` - READ - * `WRITE` - WRITE - * `OWNER` - OWNER - """ - - READ = "READ" - WRITE = "WRITE" - OWNER = "OWNER" - - def visit( - self, - read: typing.Callable[[], T_Result], - write: typing.Callable[[], T_Result], - owner: typing.Callable[[], T_Result], - ) -> T_Result: - if self is RolesEnum.READ: - return read() - if self is RolesEnum.WRITE: - return write() - if self is RolesEnum.OWNER: - return owner() diff --git a/src/merge/resources/knowledgebase/types/selective_sync_configurations_usage_enum.py b/src/merge/resources/knowledgebase/types/selective_sync_configurations_usage_enum.py deleted file mode 100644 index 9ff43813..00000000 --- a/src/merge/resources/knowledgebase/types/selective_sync_configurations_usage_enum.py +++ /dev/null @@ -1,24 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class SelectiveSyncConfigurationsUsageEnum(str, enum.Enum): - """ - * `IN_NEXT_SYNC` - IN_NEXT_SYNC - * `IN_LAST_SYNC` - IN_LAST_SYNC - """ - - IN_NEXT_SYNC = "IN_NEXT_SYNC" - IN_LAST_SYNC = "IN_LAST_SYNC" - - def visit( - self, in_next_sync: typing.Callable[[], T_Result], in_last_sync: typing.Callable[[], T_Result] - ) -> T_Result: - if self is SelectiveSyncConfigurationsUsageEnum.IN_NEXT_SYNC: - return in_next_sync() - if self is SelectiveSyncConfigurationsUsageEnum.IN_LAST_SYNC: - return in_last_sync() diff --git a/src/merge/resources/knowledgebase/types/status_3_c_6_enum.py b/src/merge/resources/knowledgebase/types/status_3_c_6_enum.py deleted file mode 100644 index 16df5fa6..00000000 --- a/src/merge/resources/knowledgebase/types/status_3_c_6_enum.py +++ /dev/null @@ -1,36 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class Status3C6Enum(str, enum.Enum): - """ - * `DRAFT` - DRAFT - * `PUBLISHED` - PUBLISHED - * `ARCHIVED` - ARCHIVED - * `TRASH` - TRASH - """ - - DRAFT = "DRAFT" - PUBLISHED = "PUBLISHED" - ARCHIVED = "ARCHIVED" - TRASH = "TRASH" - - def visit( - self, - draft: typing.Callable[[], T_Result], - published: typing.Callable[[], T_Result], - archived: typing.Callable[[], T_Result], - trash: typing.Callable[[], T_Result], - ) -> T_Result: - if self is Status3C6Enum.DRAFT: - return draft() - if self is Status3C6Enum.PUBLISHED: - return published() - if self is Status3C6Enum.ARCHIVED: - return archived() - if self is Status3C6Enum.TRASH: - return trash() diff --git a/src/merge/resources/knowledgebase/types/status_fd_5_enum.py b/src/merge/resources/knowledgebase/types/status_fd_5_enum.py deleted file mode 100644 index d753f77c..00000000 --- a/src/merge/resources/knowledgebase/types/status_fd_5_enum.py +++ /dev/null @@ -1,46 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class StatusFd5Enum(str, enum.Enum): - """ - * `SYNCING` - SYNCING - * `DONE` - DONE - * `FAILED` - FAILED - * `DISABLED` - DISABLED - * `PAUSED` - PAUSED - * `PARTIALLY_SYNCED` - PARTIALLY_SYNCED - """ - - SYNCING = "SYNCING" - DONE = "DONE" - FAILED = "FAILED" - DISABLED = "DISABLED" - PAUSED = "PAUSED" - PARTIALLY_SYNCED = "PARTIALLY_SYNCED" - - def visit( - self, - syncing: typing.Callable[[], T_Result], - done: typing.Callable[[], T_Result], - failed: typing.Callable[[], T_Result], - disabled: typing.Callable[[], T_Result], - paused: typing.Callable[[], T_Result], - partially_synced: typing.Callable[[], T_Result], - ) -> T_Result: - if self is StatusFd5Enum.SYNCING: - return syncing() - if self is StatusFd5Enum.DONE: - return done() - if self is StatusFd5Enum.FAILED: - return failed() - if self is StatusFd5Enum.DISABLED: - return disabled() - if self is StatusFd5Enum.PAUSED: - return paused() - if self is StatusFd5Enum.PARTIALLY_SYNCED: - return partially_synced() diff --git a/src/merge/resources/knowledgebase/types/sync_status.py b/src/merge/resources/knowledgebase/types/sync_status.py deleted file mode 100644 index 07ab1dc2..00000000 --- a/src/merge/resources/knowledgebase/types/sync_status.py +++ /dev/null @@ -1,41 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .selective_sync_configurations_usage_enum import SelectiveSyncConfigurationsUsageEnum -from .sync_status_last_sync_result import SyncStatusLastSyncResult -from .sync_status_status import SyncStatusStatus - - -class SyncStatus(UncheckedBaseModel): - """ - # The SyncStatus Object - ### Description - The `SyncStatus` object is used to represent the syncing state of an account - - ### Usage Example - View the `SyncStatus` for an account to see how recently its models were synced. - """ - - model_name: str - model_id: str - last_sync_start: typing.Optional[dt.datetime] = None - next_sync_start: typing.Optional[dt.datetime] = None - last_sync_result: typing.Optional[SyncStatusLastSyncResult] = None - last_sync_finished: typing.Optional[dt.datetime] = None - status: SyncStatusStatus - is_initial_sync: bool - selective_sync_configurations_usage: typing.Optional[SelectiveSyncConfigurationsUsageEnum] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/sync_status_last_sync_result.py b/src/merge/resources/knowledgebase/types/sync_status_last_sync_result.py deleted file mode 100644 index 980e7d94..00000000 --- a/src/merge/resources/knowledgebase/types/sync_status_last_sync_result.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .last_sync_result_enum import LastSyncResultEnum - -SyncStatusLastSyncResult = typing.Union[LastSyncResultEnum, str] diff --git a/src/merge/resources/knowledgebase/types/sync_status_status.py b/src/merge/resources/knowledgebase/types/sync_status_status.py deleted file mode 100644 index 78e4cc47..00000000 --- a/src/merge/resources/knowledgebase/types/sync_status_status.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .status_fd_5_enum import StatusFd5Enum - -SyncStatusStatus = typing.Union[StatusFd5Enum, str] diff --git a/src/merge/resources/knowledgebase/types/user.py b/src/merge/resources/knowledgebase/types/user.py deleted file mode 100644 index 35ec6bf1..00000000 --- a/src/merge/resources/knowledgebase/types/user.py +++ /dev/null @@ -1,60 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel - - -class User(UncheckedBaseModel): - """ - # The User Object - ### Description - The `User` object is used to represent a user within the Knowledge Base account. - ### Usage Example - Fetch from the `GET /api/knowledgebase/v1/users` endpoint and view their users. - """ - - id: typing.Optional[str] = None - remote_id: typing.Optional[str] = pydantic.Field(default=None) - """ - The third-party API ID of the matching object. - """ - - created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - The datetime that this object was created by Merge. - """ - - modified_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - The datetime that this object was modified by Merge. - """ - - name: typing.Optional[str] = pydantic.Field(default=None) - """ - The user's name. - """ - - email_address: typing.Optional[str] = pydantic.Field(default=None) - """ - The user's email address. - """ - - remote_was_deleted: typing.Optional[bool] = pydantic.Field(default=None) - """ - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - """ - - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/validation_problem_source.py b/src/merge/resources/knowledgebase/types/validation_problem_source.py deleted file mode 100644 index fbebe626..00000000 --- a/src/merge/resources/knowledgebase/types/validation_problem_source.py +++ /dev/null @@ -1,20 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel - - -class ValidationProblemSource(UncheckedBaseModel): - pointer: str - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/visibility_enum.py b/src/merge/resources/knowledgebase/types/visibility_enum.py deleted file mode 100644 index 287312d8..00000000 --- a/src/merge/resources/knowledgebase/types/visibility_enum.py +++ /dev/null @@ -1,31 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class VisibilityEnum(str, enum.Enum): - """ - * `PUBLIC` - PUBLIC - * `INTERNAL` - INTERNAL - * `RESTRICTED` - RESTRICTED - """ - - PUBLIC = "PUBLIC" - INTERNAL = "INTERNAL" - RESTRICTED = "RESTRICTED" - - def visit( - self, - public: typing.Callable[[], T_Result], - internal: typing.Callable[[], T_Result], - restricted: typing.Callable[[], T_Result], - ) -> T_Result: - if self is VisibilityEnum.PUBLIC: - return public() - if self is VisibilityEnum.INTERNAL: - return internal() - if self is VisibilityEnum.RESTRICTED: - return restricted() diff --git a/src/merge/resources/knowledgebase/types/warning_validation_problem.py b/src/merge/resources/knowledgebase/types/warning_validation_problem.py deleted file mode 100644 index 4785e836..00000000 --- a/src/merge/resources/knowledgebase/types/warning_validation_problem.py +++ /dev/null @@ -1,24 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .validation_problem_source import ValidationProblemSource - - -class WarningValidationProblem(UncheckedBaseModel): - source: typing.Optional[ValidationProblemSource] = None - title: str - detail: str - problem_type: str - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/webhook_receiver.py b/src/merge/resources/knowledgebase/types/webhook_receiver.py deleted file mode 100644 index fb49c044..00000000 --- a/src/merge/resources/knowledgebase/types/webhook_receiver.py +++ /dev/null @@ -1,22 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel - - -class WebhookReceiver(UncheckedBaseModel): - event: str - is_active: bool - key: typing.Optional[str] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/ticketing/__init__.py b/src/merge/resources/ticketing/__init__.py index 13477e7f..d55233d8 100644 --- a/src/merge/resources/ticketing/__init__.py +++ b/src/merge/resources/ticketing/__init__.py @@ -32,7 +32,6 @@ Collection, CollectionAccessLevel, CollectionAccessLevelEnum, - CollectionCollectionType, CollectionParentCollection, CollectionTypeEnum, Comment, @@ -46,7 +45,6 @@ CommentUser, CommonModelScopeApi, CommonModelScopesBodyRequest, - CompletedAccountInitialScreenEnum, Contact, ContactAccount, ContactRequest, @@ -108,7 +106,6 @@ PaginatedViewerList, PatchedTicketRequest, PatchedTicketRequestAccessLevel, - PatchedTicketRequestPriority, PatchedTicketRequestStatus, PriorityEnum, Project, @@ -120,13 +117,12 @@ RemoteFieldApiResponse, RemoteFieldClass, RemoteFieldClassFieldChoicesItem, - RemoteFieldClassFieldFormat, - RemoteFieldClassFieldType, RemoteFieldRemoteFieldClass, RemoteFieldRequest, RemoteFieldRequestRemoteFieldClass, RemoteKey, RemoteResponse, + RemoteResponseResponseType, RequestFormatEnum, ResponseTypeEnum, Role, @@ -137,6 +133,7 @@ StatusFd5Enum, SyncStatus, SyncStatusLastSyncResult, + SyncStatusStatus, Tag, Team, Ticket, @@ -182,26 +179,35 @@ ) from .resources import ( AsyncPassthroughRetrieveResponse, + AttachmentsListRequestExpandItem, + AttachmentsRetrieveRequestExpandItem, CollectionsListRequestCollectionType, - CollectionsViewersListRequestExpand, - CommentsListRequestExpand, - CommentsRetrieveRequestExpand, - EndUserDetailsRequestCompletedAccountInitialScreen, + CollectionsListRequestExpandItem, + CollectionsListRequestRemoteFields, + CollectionsListRequestShowEnumOrigins, + CollectionsRetrieveRequestExpandItem, + CollectionsRetrieveRequestRemoteFields, + CollectionsRetrieveRequestShowEnumOrigins, + CollectionsViewersListRequestExpandItem, + CommentsListRequestExpandItem, + CommentsRetrieveRequestExpandItem, + ContactsListRequestExpandItem, + ContactsRetrieveRequestExpandItem, EndUserDetailsRequestLanguage, IssuesListRequestStatus, LinkedAccountsListRequestCategory, - ProjectsUsersListRequestExpand, - TicketsListRequestExpand, + ProjectsUsersListRequestExpandItem, + TicketsListRequestExpandItem, TicketsListRequestPriority, TicketsListRequestRemoteFields, TicketsListRequestShowEnumOrigins, TicketsListRequestStatus, - TicketsRetrieveRequestExpand, + TicketsRetrieveRequestExpandItem, TicketsRetrieveRequestRemoteFields, TicketsRetrieveRequestShowEnumOrigins, - TicketsViewersListRequestExpand, - UsersListRequestExpand, - UsersRetrieveRequestExpand, + TicketsViewersListRequestExpandItem, + UsersListRequestExpandItem, + UsersRetrieveRequestExpandItem, account_details, account_token, accounts, @@ -249,6 +255,8 @@ "AttachmentRequest": ".types", "AttachmentRequestTicket": ".types", "AttachmentTicket": ".types", + "AttachmentsListRequestExpandItem": ".resources", + "AttachmentsRetrieveRequestExpandItem": ".resources", "AuditLogEvent": ".types", "AuditLogEventEventType": ".types", "AuditLogEventRole": ".types", @@ -258,11 +266,16 @@ "Collection": ".types", "CollectionAccessLevel": ".types", "CollectionAccessLevelEnum": ".types", - "CollectionCollectionType": ".types", "CollectionParentCollection": ".types", "CollectionTypeEnum": ".types", "CollectionsListRequestCollectionType": ".resources", - "CollectionsViewersListRequestExpand": ".resources", + "CollectionsListRequestExpandItem": ".resources", + "CollectionsListRequestRemoteFields": ".resources", + "CollectionsListRequestShowEnumOrigins": ".resources", + "CollectionsRetrieveRequestExpandItem": ".resources", + "CollectionsRetrieveRequestRemoteFields": ".resources", + "CollectionsRetrieveRequestShowEnumOrigins": ".resources", + "CollectionsViewersListRequestExpandItem": ".resources", "Comment": ".types", "CommentContact": ".types", "CommentRequest": ".types", @@ -272,21 +285,21 @@ "CommentResponse": ".types", "CommentTicket": ".types", "CommentUser": ".types", - "CommentsListRequestExpand": ".resources", - "CommentsRetrieveRequestExpand": ".resources", + "CommentsListRequestExpandItem": ".resources", + "CommentsRetrieveRequestExpandItem": ".resources", "CommonModelScopeApi": ".types", "CommonModelScopesBodyRequest": ".types", - "CompletedAccountInitialScreenEnum": ".types", "Contact": ".types", "ContactAccount": ".types", "ContactRequest": ".types", "ContactRequestAccount": ".types", + "ContactsListRequestExpandItem": ".resources", + "ContactsRetrieveRequestExpandItem": ".resources", "DataPassthroughRequest": ".types", "DebugModeLog": ".types", "DebugModelLogSummary": ".types", "EnabledActionsEnum": ".types", "EncodingEnum": ".types", - "EndUserDetailsRequestCompletedAccountInitialScreen": ".resources", "EndUserDetailsRequestLanguage": ".resources", "ErrorValidationProblem": ".types", "EventTypeEnum": ".types", @@ -342,11 +355,10 @@ "PaginatedViewerList": ".types", "PatchedTicketRequest": ".types", "PatchedTicketRequestAccessLevel": ".types", - "PatchedTicketRequestPriority": ".types", "PatchedTicketRequestStatus": ".types", "PriorityEnum": ".types", "Project": ".types", - "ProjectsUsersListRequestExpand": ".resources", + "ProjectsUsersListRequestExpandItem": ".resources", "RemoteData": ".types", "RemoteEndpointInfo": ".types", "RemoteField": ".types", @@ -355,13 +367,12 @@ "RemoteFieldApiResponse": ".types", "RemoteFieldClass": ".types", "RemoteFieldClassFieldChoicesItem": ".types", - "RemoteFieldClassFieldFormat": ".types", - "RemoteFieldClassFieldType": ".types", "RemoteFieldRemoteFieldClass": ".types", "RemoteFieldRequest": ".types", "RemoteFieldRequestRemoteFieldClass": ".types", "RemoteKey": ".types", "RemoteResponse": ".types", + "RemoteResponseResponseType": ".types", "RequestFormatEnum": ".types", "ResponseTypeEnum": ".types", "Role": ".types", @@ -372,6 +383,7 @@ "StatusFd5Enum": ".types", "SyncStatus": ".types", "SyncStatusLastSyncResult": ".types", + "SyncStatusStatus": ".types", "Tag": ".types", "Team": ".types", "Ticket": ".types", @@ -405,20 +417,20 @@ "TicketStatusEnum": ".types", "TicketingAttachmentResponse": ".types", "TicketingContactResponse": ".types", - "TicketsListRequestExpand": ".resources", + "TicketsListRequestExpandItem": ".resources", "TicketsListRequestPriority": ".resources", "TicketsListRequestRemoteFields": ".resources", "TicketsListRequestShowEnumOrigins": ".resources", "TicketsListRequestStatus": ".resources", - "TicketsRetrieveRequestExpand": ".resources", + "TicketsRetrieveRequestExpandItem": ".resources", "TicketsRetrieveRequestRemoteFields": ".resources", "TicketsRetrieveRequestShowEnumOrigins": ".resources", - "TicketsViewersListRequestExpand": ".resources", + "TicketsViewersListRequestExpandItem": ".resources", "User": ".types", "UserRolesItem": ".types", "UserTeamsItem": ".types", - "UsersListRequestExpand": ".resources", - "UsersRetrieveRequestExpand": ".resources", + "UsersListRequestExpandItem": ".resources", + "UsersRetrieveRequestExpandItem": ".resources", "ValidationProblemSource": ".types", "Viewer": ".types", "ViewerTeam": ".types", @@ -462,8 +474,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -493,6 +507,8 @@ def __dir__(): "AttachmentRequest", "AttachmentRequestTicket", "AttachmentTicket", + "AttachmentsListRequestExpandItem", + "AttachmentsRetrieveRequestExpandItem", "AuditLogEvent", "AuditLogEventEventType", "AuditLogEventRole", @@ -502,11 +518,16 @@ def __dir__(): "Collection", "CollectionAccessLevel", "CollectionAccessLevelEnum", - "CollectionCollectionType", "CollectionParentCollection", "CollectionTypeEnum", "CollectionsListRequestCollectionType", - "CollectionsViewersListRequestExpand", + "CollectionsListRequestExpandItem", + "CollectionsListRequestRemoteFields", + "CollectionsListRequestShowEnumOrigins", + "CollectionsRetrieveRequestExpandItem", + "CollectionsRetrieveRequestRemoteFields", + "CollectionsRetrieveRequestShowEnumOrigins", + "CollectionsViewersListRequestExpandItem", "Comment", "CommentContact", "CommentRequest", @@ -516,21 +537,21 @@ def __dir__(): "CommentResponse", "CommentTicket", "CommentUser", - "CommentsListRequestExpand", - "CommentsRetrieveRequestExpand", + "CommentsListRequestExpandItem", + "CommentsRetrieveRequestExpandItem", "CommonModelScopeApi", "CommonModelScopesBodyRequest", - "CompletedAccountInitialScreenEnum", "Contact", "ContactAccount", "ContactRequest", "ContactRequestAccount", + "ContactsListRequestExpandItem", + "ContactsRetrieveRequestExpandItem", "DataPassthroughRequest", "DebugModeLog", "DebugModelLogSummary", "EnabledActionsEnum", "EncodingEnum", - "EndUserDetailsRequestCompletedAccountInitialScreen", "EndUserDetailsRequestLanguage", "ErrorValidationProblem", "EventTypeEnum", @@ -586,11 +607,10 @@ def __dir__(): "PaginatedViewerList", "PatchedTicketRequest", "PatchedTicketRequestAccessLevel", - "PatchedTicketRequestPriority", "PatchedTicketRequestStatus", "PriorityEnum", "Project", - "ProjectsUsersListRequestExpand", + "ProjectsUsersListRequestExpandItem", "RemoteData", "RemoteEndpointInfo", "RemoteField", @@ -599,13 +619,12 @@ def __dir__(): "RemoteFieldApiResponse", "RemoteFieldClass", "RemoteFieldClassFieldChoicesItem", - "RemoteFieldClassFieldFormat", - "RemoteFieldClassFieldType", "RemoteFieldRemoteFieldClass", "RemoteFieldRequest", "RemoteFieldRequestRemoteFieldClass", "RemoteKey", "RemoteResponse", + "RemoteResponseResponseType", "RequestFormatEnum", "ResponseTypeEnum", "Role", @@ -616,6 +635,7 @@ def __dir__(): "StatusFd5Enum", "SyncStatus", "SyncStatusLastSyncResult", + "SyncStatusStatus", "Tag", "Team", "Ticket", @@ -649,20 +669,20 @@ def __dir__(): "TicketStatusEnum", "TicketingAttachmentResponse", "TicketingContactResponse", - "TicketsListRequestExpand", + "TicketsListRequestExpandItem", "TicketsListRequestPriority", "TicketsListRequestRemoteFields", "TicketsListRequestShowEnumOrigins", "TicketsListRequestStatus", - "TicketsRetrieveRequestExpand", + "TicketsRetrieveRequestExpandItem", "TicketsRetrieveRequestRemoteFields", "TicketsRetrieveRequestShowEnumOrigins", - "TicketsViewersListRequestExpand", + "TicketsViewersListRequestExpandItem", "User", "UserRolesItem", "UserTeamsItem", - "UsersListRequestExpand", - "UsersRetrieveRequestExpand", + "UsersListRequestExpandItem", + "UsersRetrieveRequestExpandItem", "ValidationProblemSource", "Viewer", "ViewerTeam", diff --git a/src/merge/resources/ticketing/resources/__init__.py b/src/merge/resources/ticketing/resources/__init__.py index 801852a6..93d04781 100644 --- a/src/merge/resources/ticketing/resources/__init__.py +++ b/src/merge/resources/ticketing/resources/__init__.py @@ -37,74 +37,94 @@ webhook_receivers, ) from .async_passthrough import AsyncPassthroughRetrieveResponse - from .collections import CollectionsListRequestCollectionType, CollectionsViewersListRequestExpand - from .comments import CommentsListRequestExpand, CommentsRetrieveRequestExpand + from .attachments import AttachmentsListRequestExpandItem, AttachmentsRetrieveRequestExpandItem + from .collections import ( + CollectionsListRequestCollectionType, + CollectionsListRequestExpandItem, + CollectionsListRequestRemoteFields, + CollectionsListRequestShowEnumOrigins, + CollectionsRetrieveRequestExpandItem, + CollectionsRetrieveRequestRemoteFields, + CollectionsRetrieveRequestShowEnumOrigins, + CollectionsViewersListRequestExpandItem, + ) + from .comments import CommentsListRequestExpandItem, CommentsRetrieveRequestExpandItem + from .contacts import ContactsListRequestExpandItem, ContactsRetrieveRequestExpandItem from .issues import IssuesListRequestStatus - from .link_token import EndUserDetailsRequestCompletedAccountInitialScreen, EndUserDetailsRequestLanguage + from .link_token import EndUserDetailsRequestLanguage from .linked_accounts import LinkedAccountsListRequestCategory - from .projects import ProjectsUsersListRequestExpand + from .projects import ProjectsUsersListRequestExpandItem from .tickets import ( - TicketsListRequestExpand, + TicketsListRequestExpandItem, TicketsListRequestPriority, TicketsListRequestRemoteFields, TicketsListRequestShowEnumOrigins, TicketsListRequestStatus, - TicketsRetrieveRequestExpand, + TicketsRetrieveRequestExpandItem, TicketsRetrieveRequestRemoteFields, TicketsRetrieveRequestShowEnumOrigins, - TicketsViewersListRequestExpand, + TicketsViewersListRequestExpandItem, ) - from .users import UsersListRequestExpand, UsersRetrieveRequestExpand + from .users import UsersListRequestExpandItem, UsersRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { "AsyncPassthroughRetrieveResponse": ".async_passthrough", + "AttachmentsListRequestExpandItem": ".attachments", + "AttachmentsRetrieveRequestExpandItem": ".attachments", "CollectionsListRequestCollectionType": ".collections", - "CollectionsViewersListRequestExpand": ".collections", - "CommentsListRequestExpand": ".comments", - "CommentsRetrieveRequestExpand": ".comments", - "EndUserDetailsRequestCompletedAccountInitialScreen": ".link_token", + "CollectionsListRequestExpandItem": ".collections", + "CollectionsListRequestRemoteFields": ".collections", + "CollectionsListRequestShowEnumOrigins": ".collections", + "CollectionsRetrieveRequestExpandItem": ".collections", + "CollectionsRetrieveRequestRemoteFields": ".collections", + "CollectionsRetrieveRequestShowEnumOrigins": ".collections", + "CollectionsViewersListRequestExpandItem": ".collections", + "CommentsListRequestExpandItem": ".comments", + "CommentsRetrieveRequestExpandItem": ".comments", + "ContactsListRequestExpandItem": ".contacts", + "ContactsRetrieveRequestExpandItem": ".contacts", "EndUserDetailsRequestLanguage": ".link_token", "IssuesListRequestStatus": ".issues", "LinkedAccountsListRequestCategory": ".linked_accounts", - "ProjectsUsersListRequestExpand": ".projects", - "TicketsListRequestExpand": ".tickets", + "ProjectsUsersListRequestExpandItem": ".projects", + "TicketsListRequestExpandItem": ".tickets", "TicketsListRequestPriority": ".tickets", "TicketsListRequestRemoteFields": ".tickets", "TicketsListRequestShowEnumOrigins": ".tickets", "TicketsListRequestStatus": ".tickets", - "TicketsRetrieveRequestExpand": ".tickets", + "TicketsRetrieveRequestExpandItem": ".tickets", "TicketsRetrieveRequestRemoteFields": ".tickets", "TicketsRetrieveRequestShowEnumOrigins": ".tickets", - "TicketsViewersListRequestExpand": ".tickets", - "UsersListRequestExpand": ".users", - "UsersRetrieveRequestExpand": ".users", - "account_details": ".", - "account_token": ".", - "accounts": ".", - "async_passthrough": ".", - "attachments": ".", - "audit_trail": ".", - "available_actions": ".", - "collections": ".", - "comments": ".", - "contacts": ".", - "delete_account": ".", - "field_mapping": ".", - "force_resync": ".", - "generate_key": ".", - "issues": ".", - "link_token": ".", - "linked_accounts": ".", - "passthrough": ".", - "projects": ".", - "regenerate_key": ".", - "roles": ".", - "scopes": ".", - "sync_status": ".", - "tags": ".", - "teams": ".", - "tickets": ".", - "users": ".", - "webhook_receivers": ".", + "TicketsViewersListRequestExpandItem": ".tickets", + "UsersListRequestExpandItem": ".users", + "UsersRetrieveRequestExpandItem": ".users", + "account_details": ".account_details", + "account_token": ".account_token", + "accounts": ".accounts", + "async_passthrough": ".async_passthrough", + "attachments": ".attachments", + "audit_trail": ".audit_trail", + "available_actions": ".available_actions", + "collections": ".collections", + "comments": ".comments", + "contacts": ".contacts", + "delete_account": ".delete_account", + "field_mapping": ".field_mapping", + "force_resync": ".force_resync", + "generate_key": ".generate_key", + "issues": ".issues", + "link_token": ".link_token", + "linked_accounts": ".linked_accounts", + "passthrough": ".passthrough", + "projects": ".projects", + "regenerate_key": ".regenerate_key", + "roles": ".roles", + "scopes": ".scopes", + "sync_status": ".sync_status", + "tags": ".tags", + "teams": ".teams", + "tickets": ".tickets", + "users": ".users", + "webhook_receivers": ".webhook_receivers", } @@ -114,8 +134,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -129,26 +151,35 @@ def __dir__(): __all__ = [ "AsyncPassthroughRetrieveResponse", + "AttachmentsListRequestExpandItem", + "AttachmentsRetrieveRequestExpandItem", "CollectionsListRequestCollectionType", - "CollectionsViewersListRequestExpand", - "CommentsListRequestExpand", - "CommentsRetrieveRequestExpand", - "EndUserDetailsRequestCompletedAccountInitialScreen", + "CollectionsListRequestExpandItem", + "CollectionsListRequestRemoteFields", + "CollectionsListRequestShowEnumOrigins", + "CollectionsRetrieveRequestExpandItem", + "CollectionsRetrieveRequestRemoteFields", + "CollectionsRetrieveRequestShowEnumOrigins", + "CollectionsViewersListRequestExpandItem", + "CommentsListRequestExpandItem", + "CommentsRetrieveRequestExpandItem", + "ContactsListRequestExpandItem", + "ContactsRetrieveRequestExpandItem", "EndUserDetailsRequestLanguage", "IssuesListRequestStatus", "LinkedAccountsListRequestCategory", - "ProjectsUsersListRequestExpand", - "TicketsListRequestExpand", + "ProjectsUsersListRequestExpandItem", + "TicketsListRequestExpandItem", "TicketsListRequestPriority", "TicketsListRequestRemoteFields", "TicketsListRequestShowEnumOrigins", "TicketsListRequestStatus", - "TicketsRetrieveRequestExpand", + "TicketsRetrieveRequestExpandItem", "TicketsRetrieveRequestRemoteFields", "TicketsRetrieveRequestShowEnumOrigins", - "TicketsViewersListRequestExpand", - "UsersListRequestExpand", - "UsersRetrieveRequestExpand", + "TicketsViewersListRequestExpandItem", + "UsersListRequestExpandItem", + "UsersRetrieveRequestExpandItem", "account_details", "account_token", "accounts", diff --git a/src/merge/resources/ticketing/resources/accounts/client.py b/src/merge/resources/ticketing/resources/accounts/client.py index 86947a64..3ece0bda 100644 --- a/src/merge/resources/ticketing/resources/accounts/client.py +++ b/src/merge/resources/ticketing/resources/accounts/client.py @@ -4,6 +4,7 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.account import Account from ...types.paginated_account_list import PaginatedAccountList @@ -39,7 +40,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAccountList: + ) -> SyncPager[Account, PaginatedAccountList]: """ Returns a list of `Account` objects. @@ -80,41 +81,27 @@ def list( Returns ------- - PaginatedAccountList + SyncPager[Account, PaginatedAccountList] Examples -------- - import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ticketing.accounts.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = client.ticketing.accounts.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -127,7 +114,6 @@ def list( remote_id=remote_id, request_options=request_options, ) - return _response.data def retrieve( self, @@ -168,8 +154,6 @@ def retrieve( ) client.ticketing.accounts.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) """ _response = self._raw_client.retrieve( @@ -210,7 +194,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAccountList: + ) -> AsyncPager[Account, PaginatedAccountList]: """ Returns a list of `Account` objects. @@ -251,13 +235,12 @@ async def list( Returns ------- - PaginatedAccountList + AsyncPager[Account, PaginatedAccountList] Examples -------- import asyncio - import datetime from merge import AsyncMerge @@ -268,31 +251,20 @@ async def list( async def main() -> None: - await client.ticketing.accounts.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = await client.ticketing.accounts.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -305,7 +277,6 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def retrieve( self, @@ -351,8 +322,6 @@ async def retrieve( async def main() -> None: await client.ticketing.accounts.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) diff --git a/src/merge/resources/ticketing/resources/accounts/raw_client.py b/src/merge/resources/ticketing/resources/accounts/raw_client.py index f0e4aa23..2af055a3 100644 --- a/src/merge/resources/ticketing/resources/accounts/raw_client.py +++ b/src/merge/resources/ticketing/resources/accounts/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.account import Account @@ -33,7 +34,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedAccountList]: + ) -> SyncPager[Account, PaginatedAccountList]: """ Returns a list of `Account` objects. @@ -74,7 +75,7 @@ def list( Returns ------- - HttpResponse[PaginatedAccountList] + SyncPager[Account, PaginatedAccountList] """ _response = self._client_wrapper.httpx_client.request( @@ -96,14 +97,30 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAccountList, construct_type( type_=PaginatedAccountList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -181,7 +198,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedAccountList]: + ) -> AsyncPager[Account, PaginatedAccountList]: """ Returns a list of `Account` objects. @@ -222,7 +239,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedAccountList] + AsyncPager[Account, PaginatedAccountList] """ _response = await self._client_wrapper.httpx_client.request( @@ -244,14 +261,33 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAccountList, construct_type( type_=PaginatedAccountList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/ticketing/resources/async_passthrough/__init__.py b/src/merge/resources/ticketing/resources/async_passthrough/__init__.py index 375c7953..11090986 100644 --- a/src/merge/resources/ticketing/resources/async_passthrough/__init__.py +++ b/src/merge/resources/ticketing/resources/async_passthrough/__init__.py @@ -16,8 +16,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: diff --git a/src/merge/resources/ticketing/resources/async_passthrough/types/__init__.py b/src/merge/resources/ticketing/resources/async_passthrough/types/__init__.py index f6e9bec9..dc335400 100644 --- a/src/merge/resources/ticketing/resources/async_passthrough/types/__init__.py +++ b/src/merge/resources/ticketing/resources/async_passthrough/types/__init__.py @@ -16,8 +16,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: diff --git a/src/merge/resources/ticketing/resources/attachments/__init__.py b/src/merge/resources/ticketing/resources/attachments/__init__.py index 5cde0202..68b3ffdb 100644 --- a/src/merge/resources/ticketing/resources/attachments/__init__.py +++ b/src/merge/resources/ticketing/resources/attachments/__init__.py @@ -2,3 +2,36 @@ # isort: skip_file +import typing +from importlib import import_module + +if typing.TYPE_CHECKING: + from .types import AttachmentsListRequestExpandItem, AttachmentsRetrieveRequestExpandItem +_dynamic_imports: typing.Dict[str, str] = { + "AttachmentsListRequestExpandItem": ".types", + "AttachmentsRetrieveRequestExpandItem": ".types", +} + + +def __getattr__(attr_name: str) -> typing.Any: + module_name = _dynamic_imports.get(attr_name) + if module_name is None: + raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") + try: + module = import_module(module_name, __package__) + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) + except ImportError as e: + raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e + except AttributeError as e: + raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e + + +def __dir__(): + lazy_attrs = list(_dynamic_imports.keys()) + return sorted(lazy_attrs) + + +__all__ = ["AttachmentsListRequestExpandItem", "AttachmentsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/ticketing/resources/attachments/client.py b/src/merge/resources/ticketing/resources/attachments/client.py index 8b5be527..14805424 100644 --- a/src/merge/resources/ticketing/resources/attachments/client.py +++ b/src/merge/resources/ticketing/resources/attachments/client.py @@ -4,6 +4,7 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.attachment import Attachment from ...types.attachment_request import AttachmentRequest @@ -11,6 +12,8 @@ from ...types.paginated_attachment_list import PaginatedAttachmentList from ...types.ticketing_attachment_response import TicketingAttachmentResponse from .raw_client import AsyncRawAttachmentsClient, RawAttachmentsClient +from .types.attachments_list_request_expand_item import AttachmentsListRequestExpandItem +from .types.attachments_retrieve_request_expand_item import AttachmentsRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -37,7 +40,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["ticket"]] = None, + expand: typing.Optional[ + typing.Union[AttachmentsListRequestExpandItem, typing.Sequence[AttachmentsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -48,7 +53,7 @@ def list( remote_id: typing.Optional[str] = None, ticket_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAttachmentList: + ) -> SyncPager[Attachment, PaginatedAttachmentList]: """ Returns a list of `Attachment` objects. @@ -63,7 +68,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["ticket"]] + expand : typing.Optional[typing.Union[AttachmentsListRequestExpandItem, typing.Sequence[AttachmentsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -82,7 +87,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_created_after : typing.Optional[dt.datetime] If provided, will only return attachments created in the third party platform after this datetime. @@ -98,45 +103,27 @@ def list( Returns ------- - PaginatedAttachmentList + SyncPager[Attachment, PaginatedAttachmentList] Examples -------- - import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ticketing.attachments.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = client.ticketing.attachments.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - remote_id="remote_id", - ticket_id="ticket_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -152,7 +139,6 @@ def list( ticket_id=ticket_id, request_options=request_options, ) - return _response.data def create( self, @@ -193,8 +179,6 @@ def create( api_key="YOUR_API_KEY", ) client.ticketing.attachments.create( - is_debug_mode=True, - run_async=True, model=AttachmentRequest(), ) """ @@ -207,7 +191,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["ticket"]] = None, + expand: typing.Optional[ + typing.Union[AttachmentsRetrieveRequestExpandItem, typing.Sequence[AttachmentsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -219,7 +205,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["ticket"]] + expand : typing.Optional[typing.Union[AttachmentsRetrieveRequestExpandItem, typing.Sequence[AttachmentsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -246,8 +232,6 @@ def retrieve( ) client.ticketing.attachments.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) """ _response = self._raw_client.retrieve( @@ -342,7 +326,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["ticket"]] = None, + expand: typing.Optional[ + typing.Union[AttachmentsListRequestExpandItem, typing.Sequence[AttachmentsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -353,7 +339,7 @@ async def list( remote_id: typing.Optional[str] = None, ticket_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAttachmentList: + ) -> AsyncPager[Attachment, PaginatedAttachmentList]: """ Returns a list of `Attachment` objects. @@ -368,7 +354,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["ticket"]] + expand : typing.Optional[typing.Union[AttachmentsListRequestExpandItem, typing.Sequence[AttachmentsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -387,7 +373,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_created_after : typing.Optional[dt.datetime] If provided, will only return attachments created in the third party platform after this datetime. @@ -403,13 +389,12 @@ async def list( Returns ------- - PaginatedAttachmentList + AsyncPager[Attachment, PaginatedAttachmentList] Examples -------- import asyncio - import datetime from merge import AsyncMerge @@ -420,35 +405,20 @@ async def list( async def main() -> None: - await client.ticketing.attachments.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = await client.ticketing.attachments.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - remote_id="remote_id", - ticket_id="ticket_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -464,7 +434,6 @@ async def main() -> None: ticket_id=ticket_id, request_options=request_options, ) - return _response.data async def create( self, @@ -510,8 +479,6 @@ async def create( async def main() -> None: await client.ticketing.attachments.create( - is_debug_mode=True, - run_async=True, model=AttachmentRequest(), ) @@ -527,7 +494,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["ticket"]] = None, + expand: typing.Optional[ + typing.Union[AttachmentsRetrieveRequestExpandItem, typing.Sequence[AttachmentsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -539,7 +508,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["ticket"]] + expand : typing.Optional[typing.Union[AttachmentsRetrieveRequestExpandItem, typing.Sequence[AttachmentsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -571,8 +540,6 @@ async def retrieve( async def main() -> None: await client.ticketing.attachments.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) diff --git a/src/merge/resources/ticketing/resources/attachments/raw_client.py b/src/merge/resources/ticketing/resources/attachments/raw_client.py index c98707ce..1c174151 100644 --- a/src/merge/resources/ticketing/resources/attachments/raw_client.py +++ b/src/merge/resources/ticketing/resources/attachments/raw_client.py @@ -10,6 +10,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.attachment import Attachment @@ -17,6 +18,8 @@ from ...types.meta_response import MetaResponse from ...types.paginated_attachment_list import PaginatedAttachmentList from ...types.ticketing_attachment_response import TicketingAttachmentResponse +from .types.attachments_list_request_expand_item import AttachmentsListRequestExpandItem +from .types.attachments_retrieve_request_expand_item import AttachmentsRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -32,7 +35,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["ticket"]] = None, + expand: typing.Optional[ + typing.Union[AttachmentsListRequestExpandItem, typing.Sequence[AttachmentsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -43,7 +48,7 @@ def list( remote_id: typing.Optional[str] = None, ticket_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedAttachmentList]: + ) -> SyncPager[Attachment, PaginatedAttachmentList]: """ Returns a list of `Attachment` objects. @@ -58,7 +63,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["ticket"]] + expand : typing.Optional[typing.Union[AttachmentsListRequestExpandItem, typing.Sequence[AttachmentsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -77,7 +82,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_created_after : typing.Optional[dt.datetime] If provided, will only return attachments created in the third party platform after this datetime. @@ -93,7 +98,7 @@ def list( Returns ------- - HttpResponse[PaginatedAttachmentList] + SyncPager[Attachment, PaginatedAttachmentList] """ _response = self._client_wrapper.httpx_client.request( @@ -120,14 +125,33 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAttachmentList, construct_type( type_=PaginatedAttachmentList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_created_after=remote_created_after, + remote_id=remote_id, + ticket_id=ticket_id, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -197,7 +221,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["ticket"]] = None, + expand: typing.Optional[ + typing.Union[AttachmentsRetrieveRequestExpandItem, typing.Sequence[AttachmentsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -209,7 +235,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["ticket"]] + expand : typing.Optional[typing.Union[AttachmentsRetrieveRequestExpandItem, typing.Sequence[AttachmentsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -355,7 +381,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["ticket"]] = None, + expand: typing.Optional[ + typing.Union[AttachmentsListRequestExpandItem, typing.Sequence[AttachmentsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -366,7 +394,7 @@ async def list( remote_id: typing.Optional[str] = None, ticket_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedAttachmentList]: + ) -> AsyncPager[Attachment, PaginatedAttachmentList]: """ Returns a list of `Attachment` objects. @@ -381,7 +409,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["ticket"]] + expand : typing.Optional[typing.Union[AttachmentsListRequestExpandItem, typing.Sequence[AttachmentsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -400,7 +428,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_created_after : typing.Optional[dt.datetime] If provided, will only return attachments created in the third party platform after this datetime. @@ -416,7 +444,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedAttachmentList] + AsyncPager[Attachment, PaginatedAttachmentList] """ _response = await self._client_wrapper.httpx_client.request( @@ -443,14 +471,36 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAttachmentList, construct_type( type_=PaginatedAttachmentList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_created_after=remote_created_after, + remote_id=remote_id, + ticket_id=ticket_id, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -520,7 +570,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["ticket"]] = None, + expand: typing.Optional[ + typing.Union[AttachmentsRetrieveRequestExpandItem, typing.Sequence[AttachmentsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -532,7 +584,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["ticket"]] + expand : typing.Optional[typing.Union[AttachmentsRetrieveRequestExpandItem, typing.Sequence[AttachmentsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/ticketing/resources/attachments/types/__init__.py b/src/merge/resources/ticketing/resources/attachments/types/__init__.py new file mode 100644 index 00000000..04c5cbca --- /dev/null +++ b/src/merge/resources/ticketing/resources/attachments/types/__init__.py @@ -0,0 +1,38 @@ +# This file was auto-generated by Fern from our API Definition. + +# isort: skip_file + +import typing +from importlib import import_module + +if typing.TYPE_CHECKING: + from .attachments_list_request_expand_item import AttachmentsListRequestExpandItem + from .attachments_retrieve_request_expand_item import AttachmentsRetrieveRequestExpandItem +_dynamic_imports: typing.Dict[str, str] = { + "AttachmentsListRequestExpandItem": ".attachments_list_request_expand_item", + "AttachmentsRetrieveRequestExpandItem": ".attachments_retrieve_request_expand_item", +} + + +def __getattr__(attr_name: str) -> typing.Any: + module_name = _dynamic_imports.get(attr_name) + if module_name is None: + raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") + try: + module = import_module(module_name, __package__) + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) + except ImportError as e: + raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e + except AttributeError as e: + raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e + + +def __dir__(): + lazy_attrs = list(_dynamic_imports.keys()) + return sorted(lazy_attrs) + + +__all__ = ["AttachmentsListRequestExpandItem", "AttachmentsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/ticketing/resources/attachments/types/attachments_list_request_expand_item.py b/src/merge/resources/ticketing/resources/attachments/types/attachments_list_request_expand_item.py new file mode 100644 index 00000000..34f06408 --- /dev/null +++ b/src/merge/resources/ticketing/resources/attachments/types/attachments_list_request_expand_item.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class AttachmentsListRequestExpandItem(str, enum.Enum): + TICKET = "ticket" + + def visit(self, ticket: typing.Callable[[], T_Result]) -> T_Result: + if self is AttachmentsListRequestExpandItem.TICKET: + return ticket() diff --git a/src/merge/resources/ticketing/resources/attachments/types/attachments_retrieve_request_expand_item.py b/src/merge/resources/ticketing/resources/attachments/types/attachments_retrieve_request_expand_item.py new file mode 100644 index 00000000..bea1b11f --- /dev/null +++ b/src/merge/resources/ticketing/resources/attachments/types/attachments_retrieve_request_expand_item.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class AttachmentsRetrieveRequestExpandItem(str, enum.Enum): + TICKET = "ticket" + + def visit(self, ticket: typing.Callable[[], T_Result]) -> T_Result: + if self is AttachmentsRetrieveRequestExpandItem.TICKET: + return ticket() diff --git a/src/merge/resources/ticketing/resources/audit_trail/client.py b/src/merge/resources/ticketing/resources/audit_trail/client.py index 900cda44..05f08082 100644 --- a/src/merge/resources/ticketing/resources/audit_trail/client.py +++ b/src/merge/resources/ticketing/resources/audit_trail/client.py @@ -3,7 +3,9 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions +from ...types.audit_log_event import AuditLogEvent from ...types.paginated_audit_log_event_list import PaginatedAuditLogEventList from .raw_client import AsyncRawAuditTrailClient, RawAuditTrailClient @@ -33,7 +35,7 @@ def list( start_date: typing.Optional[str] = None, user_email: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAuditLogEventList: + ) -> SyncPager[AuditLogEvent, PaginatedAuditLogEventList]: """ Gets a list of audit trail events. @@ -49,7 +51,7 @@ def list( If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. start_date : typing.Optional[str] If included, will only include audit trail events that occurred after this time @@ -62,7 +64,7 @@ def list( Returns ------- - PaginatedAuditLogEventList + SyncPager[AuditLogEvent, PaginatedAuditLogEventList] Examples @@ -73,16 +75,16 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ticketing.audit_trail.list( + response = client.ticketing.audit_trail.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_date="end_date", - event_type="event_type", - page_size=1, - start_date="start_date", - user_email="user_email", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( cursor=cursor, end_date=end_date, event_type=event_type, @@ -91,7 +93,6 @@ def list( user_email=user_email, request_options=request_options, ) - return _response.data class AsyncAuditTrailClient: @@ -119,7 +120,7 @@ async def list( start_date: typing.Optional[str] = None, user_email: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAuditLogEventList: + ) -> AsyncPager[AuditLogEvent, PaginatedAuditLogEventList]: """ Gets a list of audit trail events. @@ -135,7 +136,7 @@ async def list( If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. start_date : typing.Optional[str] If included, will only include audit trail events that occurred after this time @@ -148,7 +149,7 @@ async def list( Returns ------- - PaginatedAuditLogEventList + AsyncPager[AuditLogEvent, PaginatedAuditLogEventList] Examples @@ -164,19 +165,20 @@ async def list( async def main() -> None: - await client.ticketing.audit_trail.list( + response = await client.ticketing.audit_trail.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_date="end_date", - event_type="event_type", - page_size=1, - start_date="start_date", - user_email="user_email", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( cursor=cursor, end_date=end_date, event_type=event_type, @@ -185,4 +187,3 @@ async def main() -> None: user_email=user_email, request_options=request_options, ) - return _response.data diff --git a/src/merge/resources/ticketing/resources/audit_trail/raw_client.py b/src/merge/resources/ticketing/resources/audit_trail/raw_client.py index 6960431a..6af783b3 100644 --- a/src/merge/resources/ticketing/resources/audit_trail/raw_client.py +++ b/src/merge/resources/ticketing/resources/audit_trail/raw_client.py @@ -5,9 +5,10 @@ from .....core.api_error import ApiError from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type +from ...types.audit_log_event import AuditLogEvent from ...types.paginated_audit_log_event_list import PaginatedAuditLogEventList @@ -25,7 +26,7 @@ def list( start_date: typing.Optional[str] = None, user_email: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedAuditLogEventList]: + ) -> SyncPager[AuditLogEvent, PaginatedAuditLogEventList]: """ Gets a list of audit trail events. @@ -41,7 +42,7 @@ def list( If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. start_date : typing.Optional[str] If included, will only include audit trail events that occurred after this time @@ -54,7 +55,7 @@ def list( Returns ------- - HttpResponse[PaginatedAuditLogEventList] + SyncPager[AuditLogEvent, PaginatedAuditLogEventList] """ _response = self._client_wrapper.httpx_client.request( @@ -72,14 +73,26 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAuditLogEventList, construct_type( type_=PaginatedAuditLogEventList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + cursor=_parsed_next, + end_date=end_date, + event_type=event_type, + page_size=page_size, + start_date=start_date, + user_email=user_email, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -100,7 +113,7 @@ async def list( start_date: typing.Optional[str] = None, user_email: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedAuditLogEventList]: + ) -> AsyncPager[AuditLogEvent, PaginatedAuditLogEventList]: """ Gets a list of audit trail events. @@ -116,7 +129,7 @@ async def list( If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. start_date : typing.Optional[str] If included, will only include audit trail events that occurred after this time @@ -129,7 +142,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedAuditLogEventList] + AsyncPager[AuditLogEvent, PaginatedAuditLogEventList] """ _response = await self._client_wrapper.httpx_client.request( @@ -147,14 +160,29 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAuditLogEventList, construct_type( type_=PaginatedAuditLogEventList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + cursor=_parsed_next, + end_date=end_date, + event_type=event_type, + page_size=page_size, + start_date=start_date, + user_email=user_email, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/ticketing/resources/collections/__init__.py b/src/merge/resources/ticketing/resources/collections/__init__.py index 7b5531f7..e582c95e 100644 --- a/src/merge/resources/ticketing/resources/collections/__init__.py +++ b/src/merge/resources/ticketing/resources/collections/__init__.py @@ -6,10 +6,25 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .types import CollectionsListRequestCollectionType, CollectionsViewersListRequestExpand + from .types import ( + CollectionsListRequestCollectionType, + CollectionsListRequestExpandItem, + CollectionsListRequestRemoteFields, + CollectionsListRequestShowEnumOrigins, + CollectionsRetrieveRequestExpandItem, + CollectionsRetrieveRequestRemoteFields, + CollectionsRetrieveRequestShowEnumOrigins, + CollectionsViewersListRequestExpandItem, + ) _dynamic_imports: typing.Dict[str, str] = { "CollectionsListRequestCollectionType": ".types", - "CollectionsViewersListRequestExpand": ".types", + "CollectionsListRequestExpandItem": ".types", + "CollectionsListRequestRemoteFields": ".types", + "CollectionsListRequestShowEnumOrigins": ".types", + "CollectionsRetrieveRequestExpandItem": ".types", + "CollectionsRetrieveRequestRemoteFields": ".types", + "CollectionsRetrieveRequestShowEnumOrigins": ".types", + "CollectionsViewersListRequestExpandItem": ".types", } @@ -19,8 +34,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -32,4 +49,13 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["CollectionsListRequestCollectionType", "CollectionsViewersListRequestExpand"] +__all__ = [ + "CollectionsListRequestCollectionType", + "CollectionsListRequestExpandItem", + "CollectionsListRequestRemoteFields", + "CollectionsListRequestShowEnumOrigins", + "CollectionsRetrieveRequestExpandItem", + "CollectionsRetrieveRequestRemoteFields", + "CollectionsRetrieveRequestShowEnumOrigins", + "CollectionsViewersListRequestExpandItem", +] diff --git a/src/merge/resources/ticketing/resources/collections/client.py b/src/merge/resources/ticketing/resources/collections/client.py index 8a54426f..3055b371 100644 --- a/src/merge/resources/ticketing/resources/collections/client.py +++ b/src/merge/resources/ticketing/resources/collections/client.py @@ -4,13 +4,21 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.collection import Collection from ...types.paginated_collection_list import PaginatedCollectionList from ...types.paginated_viewer_list import PaginatedViewerList +from ...types.viewer import Viewer from .raw_client import AsyncRawCollectionsClient, RawCollectionsClient from .types.collections_list_request_collection_type import CollectionsListRequestCollectionType -from .types.collections_viewers_list_request_expand import CollectionsViewersListRequestExpand +from .types.collections_list_request_expand_item import CollectionsListRequestExpandItem +from .types.collections_list_request_remote_fields import CollectionsListRequestRemoteFields +from .types.collections_list_request_show_enum_origins import CollectionsListRequestShowEnumOrigins +from .types.collections_retrieve_request_expand_item import CollectionsRetrieveRequestExpandItem +from .types.collections_retrieve_request_remote_fields import CollectionsRetrieveRequestRemoteFields +from .types.collections_retrieve_request_show_enum_origins import CollectionsRetrieveRequestShowEnumOrigins +from .types.collections_viewers_list_request_expand_item import CollectionsViewersListRequestExpandItem class CollectionsClient: @@ -35,7 +43,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["parent_collection"]] = None, + expand: typing.Optional[ + typing.Union[CollectionsListRequestExpandItem, typing.Sequence[CollectionsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -44,11 +54,11 @@ def list( name: typing.Optional[str] = None, page_size: typing.Optional[int] = None, parent_collection_id: typing.Optional[str] = None, - remote_fields: typing.Optional[typing.Literal["collection_type"]] = None, + remote_fields: typing.Optional[CollectionsListRequestRemoteFields] = None, remote_id: typing.Optional[str] = None, - show_enum_origins: typing.Optional[typing.Literal["collection_type"]] = None, + show_enum_origins: typing.Optional[CollectionsListRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedCollectionList: + ) -> SyncPager[Collection, PaginatedCollectionList]: """ Returns a list of `Collection` objects. @@ -66,7 +76,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["parent_collection"]] + expand : typing.Optional[typing.Union[CollectionsListRequestExpandItem, typing.Sequence[CollectionsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -88,18 +98,18 @@ def list( If provided, will only return collections with this name. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. parent_collection_id : typing.Optional[str] If provided, will only return collections whose parent collection matches the given id. - remote_fields : typing.Optional[typing.Literal["collection_type"]] + remote_fields : typing.Optional[CollectionsListRequestRemoteFields] Deprecated. Use show_enum_origins. remote_id : typing.Optional[str] The API provider's ID for the given object. - show_enum_origins : typing.Optional[typing.Literal["collection_type"]] + show_enum_origins : typing.Optional[CollectionsListRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -107,47 +117,27 @@ def list( Returns ------- - PaginatedCollectionList + SyncPager[Collection, PaginatedCollectionList] Examples -------- - import datetime - from merge import Merge - from merge.resources.ticketing.resources.collections import ( - CollectionsListRequestCollectionType, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ticketing.collections.list( - collection_type=CollectionsListRequestCollectionType.EMPTY, - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = client.ticketing.collections.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - name="name", - page_size=1, - parent_collection_id="parent_collection_id", - remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( collection_type=collection_type, created_after=created_after, created_before=created_before, @@ -166,20 +156,23 @@ def list( show_enum_origins=show_enum_origins, request_options=request_options, ) - return _response.data def viewers_list( self, collection_id: str, *, cursor: typing.Optional[str] = None, - expand: typing.Optional[CollectionsViewersListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + CollectionsViewersListRequestExpandItem, typing.Sequence[CollectionsViewersListRequestExpandItem] + ] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedViewerList: + ) -> SyncPager[Viewer, PaginatedViewerList]: """ Returns a list of `Viewer` objects that point to a User id or Team id that is either an assignee or viewer on a `Collection` with the given id. [Learn more.](https://help.merge.dev/en/articles/10333658-ticketing-access-control-list-acls) @@ -190,7 +183,7 @@ def viewers_list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[CollectionsViewersListRequestExpand] + expand : typing.Optional[typing.Union[CollectionsViewersListRequestExpandItem, typing.Sequence[CollectionsViewersListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -210,31 +203,28 @@ def viewers_list( Returns ------- - PaginatedViewerList + SyncPager[Viewer, PaginatedViewerList] Examples -------- from merge import Merge - from merge.resources.ticketing.resources.collections import ( - CollectionsViewersListRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ticketing.collections.viewers_list( + response = client.ticketing.collections.viewers_list( collection_id="collection_id", cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=CollectionsViewersListRequestExpand.TEAM, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - page_size=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.viewers_list( + return self._raw_client.viewers_list( collection_id, cursor=cursor, expand=expand, @@ -244,17 +234,18 @@ def viewers_list( page_size=page_size, request_options=request_options, ) - return _response.data def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["parent_collection"]] = None, + expand: typing.Optional[ + typing.Union[CollectionsRetrieveRequestExpandItem, typing.Sequence[CollectionsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - remote_fields: typing.Optional[typing.Literal["collection_type"]] = None, - show_enum_origins: typing.Optional[typing.Literal["collection_type"]] = None, + remote_fields: typing.Optional[CollectionsRetrieveRequestRemoteFields] = None, + show_enum_origins: typing.Optional[CollectionsRetrieveRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, ) -> Collection: """ @@ -264,7 +255,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["parent_collection"]] + expand : typing.Optional[typing.Union[CollectionsRetrieveRequestExpandItem, typing.Sequence[CollectionsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -273,10 +264,10 @@ def retrieve( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - remote_fields : typing.Optional[typing.Literal["collection_type"]] + remote_fields : typing.Optional[CollectionsRetrieveRequestRemoteFields] Deprecated. Use show_enum_origins. - show_enum_origins : typing.Optional[typing.Literal["collection_type"]] + show_enum_origins : typing.Optional[CollectionsRetrieveRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -297,8 +288,6 @@ def retrieve( ) client.ticketing.collections.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) """ _response = self._raw_client.retrieve( @@ -335,7 +324,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["parent_collection"]] = None, + expand: typing.Optional[ + typing.Union[CollectionsListRequestExpandItem, typing.Sequence[CollectionsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -344,11 +335,11 @@ async def list( name: typing.Optional[str] = None, page_size: typing.Optional[int] = None, parent_collection_id: typing.Optional[str] = None, - remote_fields: typing.Optional[typing.Literal["collection_type"]] = None, + remote_fields: typing.Optional[CollectionsListRequestRemoteFields] = None, remote_id: typing.Optional[str] = None, - show_enum_origins: typing.Optional[typing.Literal["collection_type"]] = None, + show_enum_origins: typing.Optional[CollectionsListRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedCollectionList: + ) -> AsyncPager[Collection, PaginatedCollectionList]: """ Returns a list of `Collection` objects. @@ -366,7 +357,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["parent_collection"]] + expand : typing.Optional[typing.Union[CollectionsListRequestExpandItem, typing.Sequence[CollectionsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -388,18 +379,18 @@ async def list( If provided, will only return collections with this name. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. parent_collection_id : typing.Optional[str] If provided, will only return collections whose parent collection matches the given id. - remote_fields : typing.Optional[typing.Literal["collection_type"]] + remote_fields : typing.Optional[CollectionsListRequestRemoteFields] Deprecated. Use show_enum_origins. remote_id : typing.Optional[str] The API provider's ID for the given object. - show_enum_origins : typing.Optional[typing.Literal["collection_type"]] + show_enum_origins : typing.Optional[CollectionsListRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -407,18 +398,14 @@ async def list( Returns ------- - PaginatedCollectionList + AsyncPager[Collection, PaginatedCollectionList] Examples -------- import asyncio - import datetime from merge import AsyncMerge - from merge.resources.ticketing.resources.collections import ( - CollectionsListRequestCollectionType, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -427,34 +414,20 @@ async def list( async def main() -> None: - await client.ticketing.collections.list( - collection_type=CollectionsListRequestCollectionType.EMPTY, - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = await client.ticketing.collections.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - name="name", - page_size=1, - parent_collection_id="parent_collection_id", - remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( collection_type=collection_type, created_after=created_after, created_before=created_before, @@ -473,20 +446,23 @@ async def main() -> None: show_enum_origins=show_enum_origins, request_options=request_options, ) - return _response.data async def viewers_list( self, collection_id: str, *, cursor: typing.Optional[str] = None, - expand: typing.Optional[CollectionsViewersListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + CollectionsViewersListRequestExpandItem, typing.Sequence[CollectionsViewersListRequestExpandItem] + ] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedViewerList: + ) -> AsyncPager[Viewer, PaginatedViewerList]: """ Returns a list of `Viewer` objects that point to a User id or Team id that is either an assignee or viewer on a `Collection` with the given id. [Learn more.](https://help.merge.dev/en/articles/10333658-ticketing-access-control-list-acls) @@ -497,7 +473,7 @@ async def viewers_list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[CollectionsViewersListRequestExpand] + expand : typing.Optional[typing.Union[CollectionsViewersListRequestExpandItem, typing.Sequence[CollectionsViewersListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -517,7 +493,7 @@ async def viewers_list( Returns ------- - PaginatedViewerList + AsyncPager[Viewer, PaginatedViewerList] Examples @@ -525,9 +501,6 @@ async def viewers_list( import asyncio from merge import AsyncMerge - from merge.resources.ticketing.resources.collections import ( - CollectionsViewersListRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -536,20 +509,21 @@ async def viewers_list( async def main() -> None: - await client.ticketing.collections.viewers_list( + response = await client.ticketing.collections.viewers_list( collection_id="collection_id", cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=CollectionsViewersListRequestExpand.TEAM, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - page_size=1, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.viewers_list( + return await self._raw_client.viewers_list( collection_id, cursor=cursor, expand=expand, @@ -559,17 +533,18 @@ async def main() -> None: page_size=page_size, request_options=request_options, ) - return _response.data async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["parent_collection"]] = None, + expand: typing.Optional[ + typing.Union[CollectionsRetrieveRequestExpandItem, typing.Sequence[CollectionsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - remote_fields: typing.Optional[typing.Literal["collection_type"]] = None, - show_enum_origins: typing.Optional[typing.Literal["collection_type"]] = None, + remote_fields: typing.Optional[CollectionsRetrieveRequestRemoteFields] = None, + show_enum_origins: typing.Optional[CollectionsRetrieveRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, ) -> Collection: """ @@ -579,7 +554,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["parent_collection"]] + expand : typing.Optional[typing.Union[CollectionsRetrieveRequestExpandItem, typing.Sequence[CollectionsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -588,10 +563,10 @@ async def retrieve( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - remote_fields : typing.Optional[typing.Literal["collection_type"]] + remote_fields : typing.Optional[CollectionsRetrieveRequestRemoteFields] Deprecated. Use show_enum_origins. - show_enum_origins : typing.Optional[typing.Literal["collection_type"]] + show_enum_origins : typing.Optional[CollectionsRetrieveRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -617,8 +592,6 @@ async def retrieve( async def main() -> None: await client.ticketing.collections.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) diff --git a/src/merge/resources/ticketing/resources/collections/raw_client.py b/src/merge/resources/ticketing/resources/collections/raw_client.py index d44a6e8f..9222e011 100644 --- a/src/merge/resources/ticketing/resources/collections/raw_client.py +++ b/src/merge/resources/ticketing/resources/collections/raw_client.py @@ -9,13 +9,21 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.collection import Collection from ...types.paginated_collection_list import PaginatedCollectionList from ...types.paginated_viewer_list import PaginatedViewerList +from ...types.viewer import Viewer from .types.collections_list_request_collection_type import CollectionsListRequestCollectionType -from .types.collections_viewers_list_request_expand import CollectionsViewersListRequestExpand +from .types.collections_list_request_expand_item import CollectionsListRequestExpandItem +from .types.collections_list_request_remote_fields import CollectionsListRequestRemoteFields +from .types.collections_list_request_show_enum_origins import CollectionsListRequestShowEnumOrigins +from .types.collections_retrieve_request_expand_item import CollectionsRetrieveRequestExpandItem +from .types.collections_retrieve_request_remote_fields import CollectionsRetrieveRequestRemoteFields +from .types.collections_retrieve_request_show_enum_origins import CollectionsRetrieveRequestShowEnumOrigins +from .types.collections_viewers_list_request_expand_item import CollectionsViewersListRequestExpandItem class RawCollectionsClient: @@ -29,7 +37,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["parent_collection"]] = None, + expand: typing.Optional[ + typing.Union[CollectionsListRequestExpandItem, typing.Sequence[CollectionsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -38,11 +48,11 @@ def list( name: typing.Optional[str] = None, page_size: typing.Optional[int] = None, parent_collection_id: typing.Optional[str] = None, - remote_fields: typing.Optional[typing.Literal["collection_type"]] = None, + remote_fields: typing.Optional[CollectionsListRequestRemoteFields] = None, remote_id: typing.Optional[str] = None, - show_enum_origins: typing.Optional[typing.Literal["collection_type"]] = None, + show_enum_origins: typing.Optional[CollectionsListRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedCollectionList]: + ) -> SyncPager[Collection, PaginatedCollectionList]: """ Returns a list of `Collection` objects. @@ -60,7 +70,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["parent_collection"]] + expand : typing.Optional[typing.Union[CollectionsListRequestExpandItem, typing.Sequence[CollectionsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -82,18 +92,18 @@ def list( If provided, will only return collections with this name. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. parent_collection_id : typing.Optional[str] If provided, will only return collections whose parent collection matches the given id. - remote_fields : typing.Optional[typing.Literal["collection_type"]] + remote_fields : typing.Optional[CollectionsListRequestRemoteFields] Deprecated. Use show_enum_origins. remote_id : typing.Optional[str] The API provider's ID for the given object. - show_enum_origins : typing.Optional[typing.Literal["collection_type"]] + show_enum_origins : typing.Optional[CollectionsListRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -101,7 +111,7 @@ def list( Returns ------- - HttpResponse[PaginatedCollectionList] + SyncPager[Collection, PaginatedCollectionList] """ _response = self._client_wrapper.httpx_client.request( @@ -129,14 +139,36 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedCollectionList, construct_type( type_=PaginatedCollectionList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + collection_type=collection_type, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + name=name, + page_size=page_size, + parent_collection_id=parent_collection_id, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -147,13 +179,17 @@ def viewers_list( collection_id: str, *, cursor: typing.Optional[str] = None, - expand: typing.Optional[CollectionsViewersListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + CollectionsViewersListRequestExpandItem, typing.Sequence[CollectionsViewersListRequestExpandItem] + ] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedViewerList]: + ) -> SyncPager[Viewer, PaginatedViewerList]: """ Returns a list of `Viewer` objects that point to a User id or Team id that is either an assignee or viewer on a `Collection` with the given id. [Learn more.](https://help.merge.dev/en/articles/10333658-ticketing-access-control-list-acls) @@ -164,7 +200,7 @@ def viewers_list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[CollectionsViewersListRequestExpand] + expand : typing.Optional[typing.Union[CollectionsViewersListRequestExpandItem, typing.Sequence[CollectionsViewersListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -184,7 +220,7 @@ def viewers_list( Returns ------- - HttpResponse[PaginatedViewerList] + SyncPager[Viewer, PaginatedViewerList] """ _response = self._client_wrapper.httpx_client.request( @@ -202,14 +238,27 @@ def viewers_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedViewerList, construct_type( type_=PaginatedViewerList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.viewers_list( + collection_id, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + page_size=page_size, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -219,11 +268,13 @@ def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["parent_collection"]] = None, + expand: typing.Optional[ + typing.Union[CollectionsRetrieveRequestExpandItem, typing.Sequence[CollectionsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - remote_fields: typing.Optional[typing.Literal["collection_type"]] = None, - show_enum_origins: typing.Optional[typing.Literal["collection_type"]] = None, + remote_fields: typing.Optional[CollectionsRetrieveRequestRemoteFields] = None, + show_enum_origins: typing.Optional[CollectionsRetrieveRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[Collection]: """ @@ -233,7 +284,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["parent_collection"]] + expand : typing.Optional[typing.Union[CollectionsRetrieveRequestExpandItem, typing.Sequence[CollectionsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -242,10 +293,10 @@ def retrieve( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - remote_fields : typing.Optional[typing.Literal["collection_type"]] + remote_fields : typing.Optional[CollectionsRetrieveRequestRemoteFields] Deprecated. Use show_enum_origins. - show_enum_origins : typing.Optional[typing.Literal["collection_type"]] + show_enum_origins : typing.Optional[CollectionsRetrieveRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -295,7 +346,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["parent_collection"]] = None, + expand: typing.Optional[ + typing.Union[CollectionsListRequestExpandItem, typing.Sequence[CollectionsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -304,11 +357,11 @@ async def list( name: typing.Optional[str] = None, page_size: typing.Optional[int] = None, parent_collection_id: typing.Optional[str] = None, - remote_fields: typing.Optional[typing.Literal["collection_type"]] = None, + remote_fields: typing.Optional[CollectionsListRequestRemoteFields] = None, remote_id: typing.Optional[str] = None, - show_enum_origins: typing.Optional[typing.Literal["collection_type"]] = None, + show_enum_origins: typing.Optional[CollectionsListRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedCollectionList]: + ) -> AsyncPager[Collection, PaginatedCollectionList]: """ Returns a list of `Collection` objects. @@ -326,7 +379,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["parent_collection"]] + expand : typing.Optional[typing.Union[CollectionsListRequestExpandItem, typing.Sequence[CollectionsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -348,18 +401,18 @@ async def list( If provided, will only return collections with this name. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. parent_collection_id : typing.Optional[str] If provided, will only return collections whose parent collection matches the given id. - remote_fields : typing.Optional[typing.Literal["collection_type"]] + remote_fields : typing.Optional[CollectionsListRequestRemoteFields] Deprecated. Use show_enum_origins. remote_id : typing.Optional[str] The API provider's ID for the given object. - show_enum_origins : typing.Optional[typing.Literal["collection_type"]] + show_enum_origins : typing.Optional[CollectionsListRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] @@ -367,7 +420,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedCollectionList] + AsyncPager[Collection, PaginatedCollectionList] """ _response = await self._client_wrapper.httpx_client.request( @@ -395,14 +448,39 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedCollectionList, construct_type( type_=PaginatedCollectionList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + collection_type=collection_type, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + name=name, + page_size=page_size, + parent_collection_id=parent_collection_id, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -413,13 +491,17 @@ async def viewers_list( collection_id: str, *, cursor: typing.Optional[str] = None, - expand: typing.Optional[CollectionsViewersListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + CollectionsViewersListRequestExpandItem, typing.Sequence[CollectionsViewersListRequestExpandItem] + ] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedViewerList]: + ) -> AsyncPager[Viewer, PaginatedViewerList]: """ Returns a list of `Viewer` objects that point to a User id or Team id that is either an assignee or viewer on a `Collection` with the given id. [Learn more.](https://help.merge.dev/en/articles/10333658-ticketing-access-control-list-acls) @@ -430,7 +512,7 @@ async def viewers_list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[CollectionsViewersListRequestExpand] + expand : typing.Optional[typing.Union[CollectionsViewersListRequestExpandItem, typing.Sequence[CollectionsViewersListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -450,7 +532,7 @@ async def viewers_list( Returns ------- - AsyncHttpResponse[PaginatedViewerList] + AsyncPager[Viewer, PaginatedViewerList] """ _response = await self._client_wrapper.httpx_client.request( @@ -468,14 +550,30 @@ async def viewers_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedViewerList, construct_type( type_=PaginatedViewerList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.viewers_list( + collection_id, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -485,11 +583,13 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["parent_collection"]] = None, + expand: typing.Optional[ + typing.Union[CollectionsRetrieveRequestExpandItem, typing.Sequence[CollectionsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, - remote_fields: typing.Optional[typing.Literal["collection_type"]] = None, - show_enum_origins: typing.Optional[typing.Literal["collection_type"]] = None, + remote_fields: typing.Optional[CollectionsRetrieveRequestRemoteFields] = None, + show_enum_origins: typing.Optional[CollectionsRetrieveRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[Collection]: """ @@ -499,7 +599,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["parent_collection"]] + expand : typing.Optional[typing.Union[CollectionsRetrieveRequestExpandItem, typing.Sequence[CollectionsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -508,10 +608,10 @@ async def retrieve( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - remote_fields : typing.Optional[typing.Literal["collection_type"]] + remote_fields : typing.Optional[CollectionsRetrieveRequestRemoteFields] Deprecated. Use show_enum_origins. - show_enum_origins : typing.Optional[typing.Literal["collection_type"]] + show_enum_origins : typing.Optional[CollectionsRetrieveRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) request_options : typing.Optional[RequestOptions] diff --git a/src/merge/resources/ticketing/resources/collections/types/__init__.py b/src/merge/resources/ticketing/resources/collections/types/__init__.py index e0b3499d..3d1da28b 100644 --- a/src/merge/resources/ticketing/resources/collections/types/__init__.py +++ b/src/merge/resources/ticketing/resources/collections/types/__init__.py @@ -7,10 +7,22 @@ if typing.TYPE_CHECKING: from .collections_list_request_collection_type import CollectionsListRequestCollectionType - from .collections_viewers_list_request_expand import CollectionsViewersListRequestExpand + from .collections_list_request_expand_item import CollectionsListRequestExpandItem + from .collections_list_request_remote_fields import CollectionsListRequestRemoteFields + from .collections_list_request_show_enum_origins import CollectionsListRequestShowEnumOrigins + from .collections_retrieve_request_expand_item import CollectionsRetrieveRequestExpandItem + from .collections_retrieve_request_remote_fields import CollectionsRetrieveRequestRemoteFields + from .collections_retrieve_request_show_enum_origins import CollectionsRetrieveRequestShowEnumOrigins + from .collections_viewers_list_request_expand_item import CollectionsViewersListRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { "CollectionsListRequestCollectionType": ".collections_list_request_collection_type", - "CollectionsViewersListRequestExpand": ".collections_viewers_list_request_expand", + "CollectionsListRequestExpandItem": ".collections_list_request_expand_item", + "CollectionsListRequestRemoteFields": ".collections_list_request_remote_fields", + "CollectionsListRequestShowEnumOrigins": ".collections_list_request_show_enum_origins", + "CollectionsRetrieveRequestExpandItem": ".collections_retrieve_request_expand_item", + "CollectionsRetrieveRequestRemoteFields": ".collections_retrieve_request_remote_fields", + "CollectionsRetrieveRequestShowEnumOrigins": ".collections_retrieve_request_show_enum_origins", + "CollectionsViewersListRequestExpandItem": ".collections_viewers_list_request_expand_item", } @@ -20,8 +32,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -33,4 +47,13 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["CollectionsListRequestCollectionType", "CollectionsViewersListRequestExpand"] +__all__ = [ + "CollectionsListRequestCollectionType", + "CollectionsListRequestExpandItem", + "CollectionsListRequestRemoteFields", + "CollectionsListRequestShowEnumOrigins", + "CollectionsRetrieveRequestExpandItem", + "CollectionsRetrieveRequestRemoteFields", + "CollectionsRetrieveRequestShowEnumOrigins", + "CollectionsViewersListRequestExpandItem", +] diff --git a/src/merge/resources/ticketing/resources/collections/types/collections_list_request_expand_item.py b/src/merge/resources/ticketing/resources/collections/types/collections_list_request_expand_item.py new file mode 100644 index 00000000..e70019ea --- /dev/null +++ b/src/merge/resources/ticketing/resources/collections/types/collections_list_request_expand_item.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class CollectionsListRequestExpandItem(str, enum.Enum): + PARENT_COLLECTION = "parent_collection" + + def visit(self, parent_collection: typing.Callable[[], T_Result]) -> T_Result: + if self is CollectionsListRequestExpandItem.PARENT_COLLECTION: + return parent_collection() diff --git a/src/merge/resources/ticketing/resources/collections/types/collections_list_request_remote_fields.py b/src/merge/resources/ticketing/resources/collections/types/collections_list_request_remote_fields.py new file mode 100644 index 00000000..7c1591c5 --- /dev/null +++ b/src/merge/resources/ticketing/resources/collections/types/collections_list_request_remote_fields.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class CollectionsListRequestRemoteFields(str, enum.Enum): + COLLECTION_TYPE = "collection_type" + + def visit(self, collection_type: typing.Callable[[], T_Result]) -> T_Result: + if self is CollectionsListRequestRemoteFields.COLLECTION_TYPE: + return collection_type() diff --git a/src/merge/resources/ticketing/resources/collections/types/collections_list_request_show_enum_origins.py b/src/merge/resources/ticketing/resources/collections/types/collections_list_request_show_enum_origins.py new file mode 100644 index 00000000..da1668e0 --- /dev/null +++ b/src/merge/resources/ticketing/resources/collections/types/collections_list_request_show_enum_origins.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class CollectionsListRequestShowEnumOrigins(str, enum.Enum): + COLLECTION_TYPE = "collection_type" + + def visit(self, collection_type: typing.Callable[[], T_Result]) -> T_Result: + if self is CollectionsListRequestShowEnumOrigins.COLLECTION_TYPE: + return collection_type() diff --git a/src/merge/resources/ticketing/resources/collections/types/collections_retrieve_request_expand_item.py b/src/merge/resources/ticketing/resources/collections/types/collections_retrieve_request_expand_item.py new file mode 100644 index 00000000..65c9d489 --- /dev/null +++ b/src/merge/resources/ticketing/resources/collections/types/collections_retrieve_request_expand_item.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class CollectionsRetrieveRequestExpandItem(str, enum.Enum): + PARENT_COLLECTION = "parent_collection" + + def visit(self, parent_collection: typing.Callable[[], T_Result]) -> T_Result: + if self is CollectionsRetrieveRequestExpandItem.PARENT_COLLECTION: + return parent_collection() diff --git a/src/merge/resources/ticketing/resources/collections/types/collections_retrieve_request_remote_fields.py b/src/merge/resources/ticketing/resources/collections/types/collections_retrieve_request_remote_fields.py new file mode 100644 index 00000000..1985e682 --- /dev/null +++ b/src/merge/resources/ticketing/resources/collections/types/collections_retrieve_request_remote_fields.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class CollectionsRetrieveRequestRemoteFields(str, enum.Enum): + COLLECTION_TYPE = "collection_type" + + def visit(self, collection_type: typing.Callable[[], T_Result]) -> T_Result: + if self is CollectionsRetrieveRequestRemoteFields.COLLECTION_TYPE: + return collection_type() diff --git a/src/merge/resources/ticketing/resources/collections/types/collections_retrieve_request_show_enum_origins.py b/src/merge/resources/ticketing/resources/collections/types/collections_retrieve_request_show_enum_origins.py new file mode 100644 index 00000000..b3e12ca0 --- /dev/null +++ b/src/merge/resources/ticketing/resources/collections/types/collections_retrieve_request_show_enum_origins.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class CollectionsRetrieveRequestShowEnumOrigins(str, enum.Enum): + COLLECTION_TYPE = "collection_type" + + def visit(self, collection_type: typing.Callable[[], T_Result]) -> T_Result: + if self is CollectionsRetrieveRequestShowEnumOrigins.COLLECTION_TYPE: + return collection_type() diff --git a/src/merge/resources/ticketing/resources/collections/types/collections_viewers_list_request_expand.py b/src/merge/resources/ticketing/resources/collections/types/collections_viewers_list_request_expand.py deleted file mode 100644 index 1382dd6a..00000000 --- a/src/merge/resources/ticketing/resources/collections/types/collections_viewers_list_request_expand.py +++ /dev/null @@ -1,25 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class CollectionsViewersListRequestExpand(str, enum.Enum): - TEAM = "team" - USER = "user" - USER_TEAM = "user,team" - - def visit( - self, - team: typing.Callable[[], T_Result], - user: typing.Callable[[], T_Result], - user_team: typing.Callable[[], T_Result], - ) -> T_Result: - if self is CollectionsViewersListRequestExpand.TEAM: - return team() - if self is CollectionsViewersListRequestExpand.USER: - return user() - if self is CollectionsViewersListRequestExpand.USER_TEAM: - return user_team() diff --git a/src/merge/resources/ticketing/resources/collections/types/collections_viewers_list_request_expand_item.py b/src/merge/resources/ticketing/resources/collections/types/collections_viewers_list_request_expand_item.py new file mode 100644 index 00000000..9ce4bd1a --- /dev/null +++ b/src/merge/resources/ticketing/resources/collections/types/collections_viewers_list_request_expand_item.py @@ -0,0 +1,17 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class CollectionsViewersListRequestExpandItem(str, enum.Enum): + TEAM = "team" + USER = "user" + + def visit(self, team: typing.Callable[[], T_Result], user: typing.Callable[[], T_Result]) -> T_Result: + if self is CollectionsViewersListRequestExpandItem.TEAM: + return team() + if self is CollectionsViewersListRequestExpandItem.USER: + return user() diff --git a/src/merge/resources/ticketing/resources/comments/__init__.py b/src/merge/resources/ticketing/resources/comments/__init__.py index 1a37068c..fcae8230 100644 --- a/src/merge/resources/ticketing/resources/comments/__init__.py +++ b/src/merge/resources/ticketing/resources/comments/__init__.py @@ -6,10 +6,10 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .types import CommentsListRequestExpand, CommentsRetrieveRequestExpand + from .types import CommentsListRequestExpandItem, CommentsRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "CommentsListRequestExpand": ".types", - "CommentsRetrieveRequestExpand": ".types", + "CommentsListRequestExpandItem": ".types", + "CommentsRetrieveRequestExpandItem": ".types", } @@ -19,8 +19,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -32,4 +34,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["CommentsListRequestExpand", "CommentsRetrieveRequestExpand"] +__all__ = ["CommentsListRequestExpandItem", "CommentsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/ticketing/resources/comments/client.py b/src/merge/resources/ticketing/resources/comments/client.py index 73fa1ee6..07f59439 100644 --- a/src/merge/resources/ticketing/resources/comments/client.py +++ b/src/merge/resources/ticketing/resources/comments/client.py @@ -4,6 +4,7 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.comment import Comment from ...types.comment_request import CommentRequest @@ -11,8 +12,8 @@ from ...types.meta_response import MetaResponse from ...types.paginated_comment_list import PaginatedCommentList from .raw_client import AsyncRawCommentsClient, RawCommentsClient -from .types.comments_list_request_expand import CommentsListRequestExpand -from .types.comments_retrieve_request_expand import CommentsRetrieveRequestExpand +from .types.comments_list_request_expand_item import CommentsListRequestExpandItem +from .types.comments_retrieve_request_expand_item import CommentsRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -39,7 +40,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[CommentsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[CommentsListRequestExpandItem, typing.Sequence[CommentsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -50,7 +53,7 @@ def list( remote_id: typing.Optional[str] = None, ticket_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedCommentList: + ) -> SyncPager[Comment, PaginatedCommentList]: """ Returns a list of `Comment` objects. @@ -65,7 +68,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[CommentsListRequestExpand] + expand : typing.Optional[typing.Union[CommentsListRequestExpandItem, typing.Sequence[CommentsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -84,7 +87,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_created_after : typing.Optional[dt.datetime] If provided, will only return Comments created in the third party platform after this datetime. @@ -100,49 +103,27 @@ def list( Returns ------- - PaginatedCommentList + SyncPager[Comment, PaginatedCommentList] Examples -------- - import datetime - from merge import Merge - from merge.resources.ticketing.resources.comments import ( - CommentsListRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ticketing.comments.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = client.ticketing.comments.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=CommentsListRequestExpand.CONTACT, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - remote_id="remote_id", - ticket_id="ticket_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -158,7 +139,6 @@ def list( ticket_id=ticket_id, request_options=request_options, ) - return _response.data def create( self, @@ -199,8 +179,6 @@ def create( api_key="YOUR_API_KEY", ) client.ticketing.comments.create( - is_debug_mode=True, - run_async=True, model=CommentRequest(), ) """ @@ -213,7 +191,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[CommentsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[CommentsRetrieveRequestExpandItem, typing.Sequence[CommentsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -225,7 +205,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[CommentsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[CommentsRetrieveRequestExpandItem, typing.Sequence[CommentsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -245,9 +225,6 @@ def retrieve( Examples -------- from merge import Merge - from merge.resources.ticketing.resources.comments import ( - CommentsRetrieveRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -255,9 +232,6 @@ def retrieve( ) client.ticketing.comments.retrieve( id="id", - expand=CommentsRetrieveRequestExpand.CONTACT, - include_remote_data=True, - include_shell_data=True, ) """ _response = self._raw_client.retrieve( @@ -318,7 +292,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[CommentsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[CommentsListRequestExpandItem, typing.Sequence[CommentsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -329,7 +305,7 @@ async def list( remote_id: typing.Optional[str] = None, ticket_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedCommentList: + ) -> AsyncPager[Comment, PaginatedCommentList]: """ Returns a list of `Comment` objects. @@ -344,7 +320,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[CommentsListRequestExpand] + expand : typing.Optional[typing.Union[CommentsListRequestExpandItem, typing.Sequence[CommentsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -363,7 +339,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_created_after : typing.Optional[dt.datetime] If provided, will only return Comments created in the third party platform after this datetime. @@ -379,18 +355,14 @@ async def list( Returns ------- - PaginatedCommentList + AsyncPager[Comment, PaginatedCommentList] Examples -------- import asyncio - import datetime from merge import AsyncMerge - from merge.resources.ticketing.resources.comments import ( - CommentsListRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -399,36 +371,20 @@ async def list( async def main() -> None: - await client.ticketing.comments.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = await client.ticketing.comments.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=CommentsListRequestExpand.CONTACT, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - remote_id="remote_id", - ticket_id="ticket_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -444,7 +400,6 @@ async def main() -> None: ticket_id=ticket_id, request_options=request_options, ) - return _response.data async def create( self, @@ -490,8 +445,6 @@ async def create( async def main() -> None: await client.ticketing.comments.create( - is_debug_mode=True, - run_async=True, model=CommentRequest(), ) @@ -507,7 +460,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[CommentsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[CommentsRetrieveRequestExpandItem, typing.Sequence[CommentsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -519,7 +474,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[CommentsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[CommentsRetrieveRequestExpandItem, typing.Sequence[CommentsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -541,9 +496,6 @@ async def retrieve( import asyncio from merge import AsyncMerge - from merge.resources.ticketing.resources.comments import ( - CommentsRetrieveRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -554,9 +506,6 @@ async def retrieve( async def main() -> None: await client.ticketing.comments.retrieve( id="id", - expand=CommentsRetrieveRequestExpand.CONTACT, - include_remote_data=True, - include_shell_data=True, ) diff --git a/src/merge/resources/ticketing/resources/comments/raw_client.py b/src/merge/resources/ticketing/resources/comments/raw_client.py index b4c11960..d4943171 100644 --- a/src/merge/resources/ticketing/resources/comments/raw_client.py +++ b/src/merge/resources/ticketing/resources/comments/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.comment import Comment @@ -16,8 +17,8 @@ from ...types.comment_response import CommentResponse from ...types.meta_response import MetaResponse from ...types.paginated_comment_list import PaginatedCommentList -from .types.comments_list_request_expand import CommentsListRequestExpand -from .types.comments_retrieve_request_expand import CommentsRetrieveRequestExpand +from .types.comments_list_request_expand_item import CommentsListRequestExpandItem +from .types.comments_retrieve_request_expand_item import CommentsRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -33,7 +34,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[CommentsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[CommentsListRequestExpandItem, typing.Sequence[CommentsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -44,7 +47,7 @@ def list( remote_id: typing.Optional[str] = None, ticket_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedCommentList]: + ) -> SyncPager[Comment, PaginatedCommentList]: """ Returns a list of `Comment` objects. @@ -59,7 +62,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[CommentsListRequestExpand] + expand : typing.Optional[typing.Union[CommentsListRequestExpandItem, typing.Sequence[CommentsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -78,7 +81,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_created_after : typing.Optional[dt.datetime] If provided, will only return Comments created in the third party platform after this datetime. @@ -94,7 +97,7 @@ def list( Returns ------- - HttpResponse[PaginatedCommentList] + SyncPager[Comment, PaginatedCommentList] """ _response = self._client_wrapper.httpx_client.request( @@ -121,14 +124,33 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedCommentList, construct_type( type_=PaginatedCommentList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_created_after=remote_created_after, + remote_id=remote_id, + ticket_id=ticket_id, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -198,7 +220,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[CommentsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[CommentsRetrieveRequestExpandItem, typing.Sequence[CommentsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -210,7 +234,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[CommentsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[CommentsRetrieveRequestExpandItem, typing.Sequence[CommentsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -299,7 +323,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[CommentsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[CommentsListRequestExpandItem, typing.Sequence[CommentsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -310,7 +336,7 @@ async def list( remote_id: typing.Optional[str] = None, ticket_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedCommentList]: + ) -> AsyncPager[Comment, PaginatedCommentList]: """ Returns a list of `Comment` objects. @@ -325,7 +351,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[CommentsListRequestExpand] + expand : typing.Optional[typing.Union[CommentsListRequestExpandItem, typing.Sequence[CommentsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -344,7 +370,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_created_after : typing.Optional[dt.datetime] If provided, will only return Comments created in the third party platform after this datetime. @@ -360,7 +386,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedCommentList] + AsyncPager[Comment, PaginatedCommentList] """ _response = await self._client_wrapper.httpx_client.request( @@ -387,14 +413,36 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedCommentList, construct_type( type_=PaginatedCommentList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_created_after=remote_created_after, + remote_id=remote_id, + ticket_id=ticket_id, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -464,7 +512,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[CommentsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[CommentsRetrieveRequestExpandItem, typing.Sequence[CommentsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -476,7 +526,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[CommentsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[CommentsRetrieveRequestExpandItem, typing.Sequence[CommentsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/ticketing/resources/comments/types/__init__.py b/src/merge/resources/ticketing/resources/comments/types/__init__.py index 8a5f64ab..e2faf543 100644 --- a/src/merge/resources/ticketing/resources/comments/types/__init__.py +++ b/src/merge/resources/ticketing/resources/comments/types/__init__.py @@ -6,11 +6,11 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .comments_list_request_expand import CommentsListRequestExpand - from .comments_retrieve_request_expand import CommentsRetrieveRequestExpand + from .comments_list_request_expand_item import CommentsListRequestExpandItem + from .comments_retrieve_request_expand_item import CommentsRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "CommentsListRequestExpand": ".comments_list_request_expand", - "CommentsRetrieveRequestExpand": ".comments_retrieve_request_expand", + "CommentsListRequestExpandItem": ".comments_list_request_expand_item", + "CommentsRetrieveRequestExpandItem": ".comments_retrieve_request_expand_item", } @@ -20,8 +20,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -33,4 +35,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["CommentsListRequestExpand", "CommentsRetrieveRequestExpand"] +__all__ = ["CommentsListRequestExpandItem", "CommentsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/ticketing/resources/comments/types/comments_list_request_expand.py b/src/merge/resources/ticketing/resources/comments/types/comments_list_request_expand.py deleted file mode 100644 index 81453337..00000000 --- a/src/merge/resources/ticketing/resources/comments/types/comments_list_request_expand.py +++ /dev/null @@ -1,41 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class CommentsListRequestExpand(str, enum.Enum): - CONTACT = "contact" - CONTACT_TICKET = "contact,ticket" - TICKET = "ticket" - USER = "user" - USER_CONTACT = "user,contact" - USER_CONTACT_TICKET = "user,contact,ticket" - USER_TICKET = "user,ticket" - - def visit( - self, - contact: typing.Callable[[], T_Result], - contact_ticket: typing.Callable[[], T_Result], - ticket: typing.Callable[[], T_Result], - user: typing.Callable[[], T_Result], - user_contact: typing.Callable[[], T_Result], - user_contact_ticket: typing.Callable[[], T_Result], - user_ticket: typing.Callable[[], T_Result], - ) -> T_Result: - if self is CommentsListRequestExpand.CONTACT: - return contact() - if self is CommentsListRequestExpand.CONTACT_TICKET: - return contact_ticket() - if self is CommentsListRequestExpand.TICKET: - return ticket() - if self is CommentsListRequestExpand.USER: - return user() - if self is CommentsListRequestExpand.USER_CONTACT: - return user_contact() - if self is CommentsListRequestExpand.USER_CONTACT_TICKET: - return user_contact_ticket() - if self is CommentsListRequestExpand.USER_TICKET: - return user_ticket() diff --git a/src/merge/resources/ticketing/resources/comments/types/comments_list_request_expand_item.py b/src/merge/resources/ticketing/resources/comments/types/comments_list_request_expand_item.py new file mode 100644 index 00000000..9d1695ba --- /dev/null +++ b/src/merge/resources/ticketing/resources/comments/types/comments_list_request_expand_item.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class CommentsListRequestExpandItem(str, enum.Enum): + CONTACT = "contact" + TICKET = "ticket" + USER = "user" + + def visit( + self, + contact: typing.Callable[[], T_Result], + ticket: typing.Callable[[], T_Result], + user: typing.Callable[[], T_Result], + ) -> T_Result: + if self is CommentsListRequestExpandItem.CONTACT: + return contact() + if self is CommentsListRequestExpandItem.TICKET: + return ticket() + if self is CommentsListRequestExpandItem.USER: + return user() diff --git a/src/merge/resources/ticketing/resources/comments/types/comments_retrieve_request_expand.py b/src/merge/resources/ticketing/resources/comments/types/comments_retrieve_request_expand.py deleted file mode 100644 index e0ade3cb..00000000 --- a/src/merge/resources/ticketing/resources/comments/types/comments_retrieve_request_expand.py +++ /dev/null @@ -1,41 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class CommentsRetrieveRequestExpand(str, enum.Enum): - CONTACT = "contact" - CONTACT_TICKET = "contact,ticket" - TICKET = "ticket" - USER = "user" - USER_CONTACT = "user,contact" - USER_CONTACT_TICKET = "user,contact,ticket" - USER_TICKET = "user,ticket" - - def visit( - self, - contact: typing.Callable[[], T_Result], - contact_ticket: typing.Callable[[], T_Result], - ticket: typing.Callable[[], T_Result], - user: typing.Callable[[], T_Result], - user_contact: typing.Callable[[], T_Result], - user_contact_ticket: typing.Callable[[], T_Result], - user_ticket: typing.Callable[[], T_Result], - ) -> T_Result: - if self is CommentsRetrieveRequestExpand.CONTACT: - return contact() - if self is CommentsRetrieveRequestExpand.CONTACT_TICKET: - return contact_ticket() - if self is CommentsRetrieveRequestExpand.TICKET: - return ticket() - if self is CommentsRetrieveRequestExpand.USER: - return user() - if self is CommentsRetrieveRequestExpand.USER_CONTACT: - return user_contact() - if self is CommentsRetrieveRequestExpand.USER_CONTACT_TICKET: - return user_contact_ticket() - if self is CommentsRetrieveRequestExpand.USER_TICKET: - return user_ticket() diff --git a/src/merge/resources/ticketing/resources/comments/types/comments_retrieve_request_expand_item.py b/src/merge/resources/ticketing/resources/comments/types/comments_retrieve_request_expand_item.py new file mode 100644 index 00000000..1cc39df9 --- /dev/null +++ b/src/merge/resources/ticketing/resources/comments/types/comments_retrieve_request_expand_item.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class CommentsRetrieveRequestExpandItem(str, enum.Enum): + CONTACT = "contact" + TICKET = "ticket" + USER = "user" + + def visit( + self, + contact: typing.Callable[[], T_Result], + ticket: typing.Callable[[], T_Result], + user: typing.Callable[[], T_Result], + ) -> T_Result: + if self is CommentsRetrieveRequestExpandItem.CONTACT: + return contact() + if self is CommentsRetrieveRequestExpandItem.TICKET: + return ticket() + if self is CommentsRetrieveRequestExpandItem.USER: + return user() diff --git a/src/merge/resources/ticketing/resources/contacts/__init__.py b/src/merge/resources/ticketing/resources/contacts/__init__.py index 5cde0202..a361a8ca 100644 --- a/src/merge/resources/ticketing/resources/contacts/__init__.py +++ b/src/merge/resources/ticketing/resources/contacts/__init__.py @@ -2,3 +2,36 @@ # isort: skip_file +import typing +from importlib import import_module + +if typing.TYPE_CHECKING: + from .types import ContactsListRequestExpandItem, ContactsRetrieveRequestExpandItem +_dynamic_imports: typing.Dict[str, str] = { + "ContactsListRequestExpandItem": ".types", + "ContactsRetrieveRequestExpandItem": ".types", +} + + +def __getattr__(attr_name: str) -> typing.Any: + module_name = _dynamic_imports.get(attr_name) + if module_name is None: + raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") + try: + module = import_module(module_name, __package__) + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) + except ImportError as e: + raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e + except AttributeError as e: + raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e + + +def __dir__(): + lazy_attrs = list(_dynamic_imports.keys()) + return sorted(lazy_attrs) + + +__all__ = ["ContactsListRequestExpandItem", "ContactsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/ticketing/resources/contacts/client.py b/src/merge/resources/ticketing/resources/contacts/client.py index 7d63c6f3..499bada4 100644 --- a/src/merge/resources/ticketing/resources/contacts/client.py +++ b/src/merge/resources/ticketing/resources/contacts/client.py @@ -4,6 +4,7 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.contact import Contact from ...types.contact_request import ContactRequest @@ -11,6 +12,8 @@ from ...types.paginated_contact_list import PaginatedContactList from ...types.ticketing_contact_response import TicketingContactResponse from .raw_client import AsyncRawContactsClient, RawContactsClient +from .types.contacts_list_request_expand_item import ContactsListRequestExpandItem +from .types.contacts_retrieve_request_expand_item import ContactsRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -38,7 +41,9 @@ def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, email_address: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["account"]] = None, + expand: typing.Optional[ + typing.Union[ContactsListRequestExpandItem, typing.Sequence[ContactsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -47,7 +52,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedContactList: + ) -> SyncPager[Contact, PaginatedContactList]: """ Returns a list of `Contact` objects. @@ -65,7 +70,7 @@ def list( email_address : typing.Optional[str] If provided, will only return Contacts that match this email. - expand : typing.Optional[typing.Literal["account"]] + expand : typing.Optional[typing.Union[ContactsListRequestExpandItem, typing.Sequence[ContactsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -84,7 +89,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -94,42 +99,27 @@ def list( Returns ------- - PaginatedContactList + SyncPager[Contact, PaginatedContactList] Examples -------- - import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ticketing.contacts.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = client.ticketing.contacts.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - email_address="email_address", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -144,7 +134,6 @@ def list( remote_id=remote_id, request_options=request_options, ) - return _response.data def create( self, @@ -185,8 +174,6 @@ def create( api_key="YOUR_API_KEY", ) client.ticketing.contacts.create( - is_debug_mode=True, - run_async=True, model=ContactRequest(), ) """ @@ -199,7 +186,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["account"]] = None, + expand: typing.Optional[ + typing.Union[ContactsRetrieveRequestExpandItem, typing.Sequence[ContactsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -211,7 +200,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["account"]] + expand : typing.Optional[typing.Union[ContactsRetrieveRequestExpandItem, typing.Sequence[ContactsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -238,8 +227,6 @@ def retrieve( ) client.ticketing.contacts.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) """ _response = self._raw_client.retrieve( @@ -301,7 +288,9 @@ async def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, email_address: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["account"]] = None, + expand: typing.Optional[ + typing.Union[ContactsListRequestExpandItem, typing.Sequence[ContactsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -310,7 +299,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedContactList: + ) -> AsyncPager[Contact, PaginatedContactList]: """ Returns a list of `Contact` objects. @@ -328,7 +317,7 @@ async def list( email_address : typing.Optional[str] If provided, will only return Contacts that match this email. - expand : typing.Optional[typing.Literal["account"]] + expand : typing.Optional[typing.Union[ContactsListRequestExpandItem, typing.Sequence[ContactsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -347,7 +336,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -357,13 +346,12 @@ async def list( Returns ------- - PaginatedContactList + AsyncPager[Contact, PaginatedContactList] Examples -------- import asyncio - import datetime from merge import AsyncMerge @@ -374,32 +362,20 @@ async def list( async def main() -> None: - await client.ticketing.contacts.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = await client.ticketing.contacts.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - email_address="email_address", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -414,7 +390,6 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def create( self, @@ -460,8 +435,6 @@ async def create( async def main() -> None: await client.ticketing.contacts.create( - is_debug_mode=True, - run_async=True, model=ContactRequest(), ) @@ -477,7 +450,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["account"]] = None, + expand: typing.Optional[ + typing.Union[ContactsRetrieveRequestExpandItem, typing.Sequence[ContactsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -489,7 +464,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["account"]] + expand : typing.Optional[typing.Union[ContactsRetrieveRequestExpandItem, typing.Sequence[ContactsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -521,8 +496,6 @@ async def retrieve( async def main() -> None: await client.ticketing.contacts.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) diff --git a/src/merge/resources/ticketing/resources/contacts/raw_client.py b/src/merge/resources/ticketing/resources/contacts/raw_client.py index d4f89160..c141403c 100644 --- a/src/merge/resources/ticketing/resources/contacts/raw_client.py +++ b/src/merge/resources/ticketing/resources/contacts/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.contact import Contact @@ -16,6 +17,8 @@ from ...types.meta_response import MetaResponse from ...types.paginated_contact_list import PaginatedContactList from ...types.ticketing_contact_response import TicketingContactResponse +from .types.contacts_list_request_expand_item import ContactsListRequestExpandItem +from .types.contacts_retrieve_request_expand_item import ContactsRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -32,7 +35,9 @@ def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, email_address: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["account"]] = None, + expand: typing.Optional[ + typing.Union[ContactsListRequestExpandItem, typing.Sequence[ContactsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -41,7 +46,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedContactList]: + ) -> SyncPager[Contact, PaginatedContactList]: """ Returns a list of `Contact` objects. @@ -59,7 +64,7 @@ def list( email_address : typing.Optional[str] If provided, will only return Contacts that match this email. - expand : typing.Optional[typing.Literal["account"]] + expand : typing.Optional[typing.Union[ContactsListRequestExpandItem, typing.Sequence[ContactsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -78,7 +83,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -88,7 +93,7 @@ def list( Returns ------- - HttpResponse[PaginatedContactList] + SyncPager[Contact, PaginatedContactList] """ _response = self._client_wrapper.httpx_client.request( @@ -112,14 +117,32 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedContactList, construct_type( type_=PaginatedContactList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + email_address=email_address, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -189,7 +212,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["account"]] = None, + expand: typing.Optional[ + typing.Union[ContactsRetrieveRequestExpandItem, typing.Sequence[ContactsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -201,7 +226,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["account"]] + expand : typing.Optional[typing.Union[ContactsRetrieveRequestExpandItem, typing.Sequence[ContactsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -291,7 +316,9 @@ async def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, email_address: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["account"]] = None, + expand: typing.Optional[ + typing.Union[ContactsListRequestExpandItem, typing.Sequence[ContactsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -300,7 +327,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedContactList]: + ) -> AsyncPager[Contact, PaginatedContactList]: """ Returns a list of `Contact` objects. @@ -318,7 +345,7 @@ async def list( email_address : typing.Optional[str] If provided, will only return Contacts that match this email. - expand : typing.Optional[typing.Literal["account"]] + expand : typing.Optional[typing.Union[ContactsListRequestExpandItem, typing.Sequence[ContactsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -337,7 +364,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -347,7 +374,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedContactList] + AsyncPager[Contact, PaginatedContactList] """ _response = await self._client_wrapper.httpx_client.request( @@ -371,14 +398,35 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedContactList, construct_type( type_=PaginatedContactList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + email_address=email_address, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -448,7 +496,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["account"]] = None, + expand: typing.Optional[ + typing.Union[ContactsRetrieveRequestExpandItem, typing.Sequence[ContactsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -460,7 +510,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["account"]] + expand : typing.Optional[typing.Union[ContactsRetrieveRequestExpandItem, typing.Sequence[ContactsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/ticketing/resources/contacts/types/__init__.py b/src/merge/resources/ticketing/resources/contacts/types/__init__.py new file mode 100644 index 00000000..0aa692b4 --- /dev/null +++ b/src/merge/resources/ticketing/resources/contacts/types/__init__.py @@ -0,0 +1,38 @@ +# This file was auto-generated by Fern from our API Definition. + +# isort: skip_file + +import typing +from importlib import import_module + +if typing.TYPE_CHECKING: + from .contacts_list_request_expand_item import ContactsListRequestExpandItem + from .contacts_retrieve_request_expand_item import ContactsRetrieveRequestExpandItem +_dynamic_imports: typing.Dict[str, str] = { + "ContactsListRequestExpandItem": ".contacts_list_request_expand_item", + "ContactsRetrieveRequestExpandItem": ".contacts_retrieve_request_expand_item", +} + + +def __getattr__(attr_name: str) -> typing.Any: + module_name = _dynamic_imports.get(attr_name) + if module_name is None: + raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") + try: + module = import_module(module_name, __package__) + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) + except ImportError as e: + raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e + except AttributeError as e: + raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e + + +def __dir__(): + lazy_attrs = list(_dynamic_imports.keys()) + return sorted(lazy_attrs) + + +__all__ = ["ContactsListRequestExpandItem", "ContactsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/ticketing/resources/contacts/types/contacts_list_request_expand_item.py b/src/merge/resources/ticketing/resources/contacts/types/contacts_list_request_expand_item.py new file mode 100644 index 00000000..526fad13 --- /dev/null +++ b/src/merge/resources/ticketing/resources/contacts/types/contacts_list_request_expand_item.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class ContactsListRequestExpandItem(str, enum.Enum): + ACCOUNT = "account" + + def visit(self, account: typing.Callable[[], T_Result]) -> T_Result: + if self is ContactsListRequestExpandItem.ACCOUNT: + return account() diff --git a/src/merge/resources/ticketing/resources/contacts/types/contacts_retrieve_request_expand_item.py b/src/merge/resources/ticketing/resources/contacts/types/contacts_retrieve_request_expand_item.py new file mode 100644 index 00000000..49bd23a8 --- /dev/null +++ b/src/merge/resources/ticketing/resources/contacts/types/contacts_retrieve_request_expand_item.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class ContactsRetrieveRequestExpandItem(str, enum.Enum): + ACCOUNT = "account" + + def visit(self, account: typing.Callable[[], T_Result]) -> T_Result: + if self is ContactsRetrieveRequestExpandItem.ACCOUNT: + return account() diff --git a/src/merge/resources/ticketing/resources/field_mapping/client.py b/src/merge/resources/ticketing/resources/field_mapping/client.py index 8cbd3674..08a759a2 100644 --- a/src/merge/resources/ticketing/resources/field_mapping/client.py +++ b/src/merge/resources/ticketing/resources/field_mapping/client.py @@ -59,9 +59,7 @@ def field_mappings_retrieve( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ticketing.field_mapping.field_mappings_retrieve( - exclude_remote_field_metadata=True, - ) + client.ticketing.field_mapping.field_mappings_retrieve() """ _response = self._raw_client.field_mappings_retrieve( exclude_remote_field_metadata=exclude_remote_field_metadata, request_options=request_options @@ -73,12 +71,11 @@ def field_mappings_create( *, target_field_name: str, target_field_description: str, - remote_field_traversal_path: typing.Sequence[typing.Optional[typing.Any]], + remote_field_traversal_path: typing.Sequence[typing.Any], remote_method: str, remote_url_path: str, common_model_name: str, exclude_remote_field_metadata: typing.Optional[bool] = None, - jmes_path: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> FieldMappingInstanceResponse: """ @@ -92,7 +89,7 @@ def field_mappings_create( target_field_description : str The description of the target field you want this remote field to map to. - remote_field_traversal_path : typing.Sequence[typing.Optional[typing.Any]] + remote_field_traversal_path : typing.Sequence[typing.Any] The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. remote_method : str @@ -107,9 +104,6 @@ def field_mappings_create( exclude_remote_field_metadata : typing.Optional[bool] If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. - jmes_path : typing.Optional[str] - JMES path to specify json query expression to be used on field mapping. - request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -127,7 +121,6 @@ def field_mappings_create( api_key="YOUR_API_KEY", ) client.ticketing.field_mapping.field_mappings_create( - exclude_remote_field_metadata=True, target_field_name="example_target_field_name", target_field_description="this is a example description of the target field", remote_field_traversal_path=["example_remote_field"], @@ -144,7 +137,6 @@ def field_mappings_create( remote_url_path=remote_url_path, common_model_name=common_model_name, exclude_remote_field_metadata=exclude_remote_field_metadata, - jmes_path=jmes_path, request_options=request_options, ) return _response.data @@ -186,10 +178,9 @@ def field_mappings_partial_update( self, field_mapping_id: str, *, - remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] = OMIT, + remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Any]] = OMIT, remote_method: typing.Optional[str] = OMIT, remote_url_path: typing.Optional[str] = OMIT, - jmes_path: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> FieldMappingInstanceResponse: """ @@ -199,7 +190,7 @@ def field_mappings_partial_update( ---------- field_mapping_id : str - remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] + remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Any]] The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. remote_method : typing.Optional[str] @@ -208,9 +199,6 @@ def field_mappings_partial_update( remote_url_path : typing.Optional[str] The path of the remote endpoint where the remote field is coming from. - jmes_path : typing.Optional[str] - JMES path to specify json query expression to be used on field mapping. - request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -236,7 +224,6 @@ def field_mappings_partial_update( remote_field_traversal_path=remote_field_traversal_path, remote_method=remote_method, remote_url_path=remote_url_path, - jmes_path=jmes_path, request_options=request_options, ) return _response.data @@ -275,10 +262,7 @@ def remote_fields_retrieve( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ticketing.field_mapping.remote_fields_retrieve( - common_models="common_models", - include_example_values="include_example_values", - ) + client.ticketing.field_mapping.remote_fields_retrieve() """ _response = self._raw_client.remote_fields_retrieve( common_models=common_models, include_example_values=include_example_values, request_options=request_options @@ -365,9 +349,7 @@ async def field_mappings_retrieve( async def main() -> None: - await client.ticketing.field_mapping.field_mappings_retrieve( - exclude_remote_field_metadata=True, - ) + await client.ticketing.field_mapping.field_mappings_retrieve() asyncio.run(main()) @@ -382,12 +364,11 @@ async def field_mappings_create( *, target_field_name: str, target_field_description: str, - remote_field_traversal_path: typing.Sequence[typing.Optional[typing.Any]], + remote_field_traversal_path: typing.Sequence[typing.Any], remote_method: str, remote_url_path: str, common_model_name: str, exclude_remote_field_metadata: typing.Optional[bool] = None, - jmes_path: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> FieldMappingInstanceResponse: """ @@ -401,7 +382,7 @@ async def field_mappings_create( target_field_description : str The description of the target field you want this remote field to map to. - remote_field_traversal_path : typing.Sequence[typing.Optional[typing.Any]] + remote_field_traversal_path : typing.Sequence[typing.Any] The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. remote_method : str @@ -416,9 +397,6 @@ async def field_mappings_create( exclude_remote_field_metadata : typing.Optional[bool] If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. - jmes_path : typing.Optional[str] - JMES path to specify json query expression to be used on field mapping. - request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -441,7 +419,6 @@ async def field_mappings_create( async def main() -> None: await client.ticketing.field_mapping.field_mappings_create( - exclude_remote_field_metadata=True, target_field_name="example_target_field_name", target_field_description="this is a example description of the target field", remote_field_traversal_path=["example_remote_field"], @@ -461,7 +438,6 @@ async def main() -> None: remote_url_path=remote_url_path, common_model_name=common_model_name, exclude_remote_field_metadata=exclude_remote_field_metadata, - jmes_path=jmes_path, request_options=request_options, ) return _response.data @@ -511,10 +487,9 @@ async def field_mappings_partial_update( self, field_mapping_id: str, *, - remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] = OMIT, + remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Any]] = OMIT, remote_method: typing.Optional[str] = OMIT, remote_url_path: typing.Optional[str] = OMIT, - jmes_path: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> FieldMappingInstanceResponse: """ @@ -524,7 +499,7 @@ async def field_mappings_partial_update( ---------- field_mapping_id : str - remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] + remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Any]] The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. remote_method : typing.Optional[str] @@ -533,9 +508,6 @@ async def field_mappings_partial_update( remote_url_path : typing.Optional[str] The path of the remote endpoint where the remote field is coming from. - jmes_path : typing.Optional[str] - JMES path to specify json query expression to be used on field mapping. - request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -569,7 +541,6 @@ async def main() -> None: remote_field_traversal_path=remote_field_traversal_path, remote_method=remote_method, remote_url_path=remote_url_path, - jmes_path=jmes_path, request_options=request_options, ) return _response.data @@ -613,10 +584,7 @@ async def remote_fields_retrieve( async def main() -> None: - await client.ticketing.field_mapping.remote_fields_retrieve( - common_models="common_models", - include_example_values="include_example_values", - ) + await client.ticketing.field_mapping.remote_fields_retrieve() asyncio.run(main()) diff --git a/src/merge/resources/ticketing/resources/field_mapping/raw_client.py b/src/merge/resources/ticketing/resources/field_mapping/raw_client.py index 1609c8ac..53aff44c 100644 --- a/src/merge/resources/ticketing/resources/field_mapping/raw_client.py +++ b/src/merge/resources/ticketing/resources/field_mapping/raw_client.py @@ -72,12 +72,11 @@ def field_mappings_create( *, target_field_name: str, target_field_description: str, - remote_field_traversal_path: typing.Sequence[typing.Optional[typing.Any]], + remote_field_traversal_path: typing.Sequence[typing.Any], remote_method: str, remote_url_path: str, common_model_name: str, exclude_remote_field_metadata: typing.Optional[bool] = None, - jmes_path: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[FieldMappingInstanceResponse]: """ @@ -91,7 +90,7 @@ def field_mappings_create( target_field_description : str The description of the target field you want this remote field to map to. - remote_field_traversal_path : typing.Sequence[typing.Optional[typing.Any]] + remote_field_traversal_path : typing.Sequence[typing.Any] The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. remote_method : str @@ -106,9 +105,6 @@ def field_mappings_create( exclude_remote_field_metadata : typing.Optional[bool] If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. - jmes_path : typing.Optional[str] - JMES path to specify json query expression to be used on field mapping. - request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -130,7 +126,6 @@ def field_mappings_create( "remote_method": remote_method, "remote_url_path": remote_url_path, "common_model_name": common_model_name, - "jmes_path": jmes_path, }, headers={ "content-type": "application/json", @@ -195,10 +190,9 @@ def field_mappings_partial_update( self, field_mapping_id: str, *, - remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] = OMIT, + remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Any]] = OMIT, remote_method: typing.Optional[str] = OMIT, remote_url_path: typing.Optional[str] = OMIT, - jmes_path: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[FieldMappingInstanceResponse]: """ @@ -208,7 +202,7 @@ def field_mappings_partial_update( ---------- field_mapping_id : str - remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] + remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Any]] The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. remote_method : typing.Optional[str] @@ -217,9 +211,6 @@ def field_mappings_partial_update( remote_url_path : typing.Optional[str] The path of the remote endpoint where the remote field is coming from. - jmes_path : typing.Optional[str] - JMES path to specify json query expression to be used on field mapping. - request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -235,7 +226,6 @@ def field_mappings_partial_update( "remote_field_traversal_path": remote_field_traversal_path, "remote_method": remote_method, "remote_url_path": remote_url_path, - "jmes_path": jmes_path, }, headers={ "content-type": "application/json", @@ -399,12 +389,11 @@ async def field_mappings_create( *, target_field_name: str, target_field_description: str, - remote_field_traversal_path: typing.Sequence[typing.Optional[typing.Any]], + remote_field_traversal_path: typing.Sequence[typing.Any], remote_method: str, remote_url_path: str, common_model_name: str, exclude_remote_field_metadata: typing.Optional[bool] = None, - jmes_path: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[FieldMappingInstanceResponse]: """ @@ -418,7 +407,7 @@ async def field_mappings_create( target_field_description : str The description of the target field you want this remote field to map to. - remote_field_traversal_path : typing.Sequence[typing.Optional[typing.Any]] + remote_field_traversal_path : typing.Sequence[typing.Any] The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. remote_method : str @@ -433,9 +422,6 @@ async def field_mappings_create( exclude_remote_field_metadata : typing.Optional[bool] If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. - jmes_path : typing.Optional[str] - JMES path to specify json query expression to be used on field mapping. - request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -457,7 +443,6 @@ async def field_mappings_create( "remote_method": remote_method, "remote_url_path": remote_url_path, "common_model_name": common_model_name, - "jmes_path": jmes_path, }, headers={ "content-type": "application/json", @@ -522,10 +507,9 @@ async def field_mappings_partial_update( self, field_mapping_id: str, *, - remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] = OMIT, + remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Any]] = OMIT, remote_method: typing.Optional[str] = OMIT, remote_url_path: typing.Optional[str] = OMIT, - jmes_path: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[FieldMappingInstanceResponse]: """ @@ -535,7 +519,7 @@ async def field_mappings_partial_update( ---------- field_mapping_id : str - remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] + remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Any]] The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. remote_method : typing.Optional[str] @@ -544,9 +528,6 @@ async def field_mappings_partial_update( remote_url_path : typing.Optional[str] The path of the remote endpoint where the remote field is coming from. - jmes_path : typing.Optional[str] - JMES path to specify json query expression to be used on field mapping. - request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -562,7 +543,6 @@ async def field_mappings_partial_update( "remote_field_traversal_path": remote_field_traversal_path, "remote_method": remote_method, "remote_url_path": remote_url_path, - "jmes_path": jmes_path, }, headers={ "content-type": "application/json", diff --git a/src/merge/resources/ticketing/resources/issues/__init__.py b/src/merge/resources/ticketing/resources/issues/__init__.py index 3ca1094b..45b33fe1 100644 --- a/src/merge/resources/ticketing/resources/issues/__init__.py +++ b/src/merge/resources/ticketing/resources/issues/__init__.py @@ -16,8 +16,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: diff --git a/src/merge/resources/ticketing/resources/issues/client.py b/src/merge/resources/ticketing/resources/issues/client.py index d5bd9179..c2e9e063 100644 --- a/src/merge/resources/ticketing/resources/issues/client.py +++ b/src/merge/resources/ticketing/resources/issues/client.py @@ -4,6 +4,7 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.issue import Issue from ...types.paginated_issue_list import PaginatedIssueList @@ -44,7 +45,7 @@ def list( start_date: typing.Optional[str] = None, status: typing.Optional[IssuesListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedIssueList: + ) -> SyncPager[Issue, PaginatedIssueList]: """ Gets all issues for Organization. @@ -81,7 +82,7 @@ def list( If provided, will only include issues pertaining to the linked account passed in. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. start_date : typing.Optional[str] If included, will only include issues whose most recent action occurred after this time @@ -97,46 +98,27 @@ def list( Returns ------- - PaginatedIssueList + SyncPager[Issue, PaginatedIssueList] Examples -------- - import datetime - from merge import Merge - from merge.resources.ticketing.resources.issues import IssuesListRequestStatus client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ticketing.issues.list( - account_token="account_token", + response = client.ticketing.issues.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_date="end_date", - end_user_organization_name="end_user_organization_name", - first_incident_time_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - first_incident_time_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - include_muted="include_muted", - integration_name="integration_name", - last_incident_time_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - last_incident_time_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - linked_account_id="linked_account_id", - page_size=1, - start_date="start_date", - status=IssuesListRequestStatus.ONGOING, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( account_token=account_token, cursor=cursor, end_date=end_date, @@ -153,7 +135,6 @@ def list( status=status, request_options=request_options, ) - return _response.data def retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> Issue: """ @@ -220,7 +201,7 @@ async def list( start_date: typing.Optional[str] = None, status: typing.Optional[IssuesListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedIssueList: + ) -> AsyncPager[Issue, PaginatedIssueList]: """ Gets all issues for Organization. @@ -257,7 +238,7 @@ async def list( If provided, will only include issues pertaining to the linked account passed in. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. start_date : typing.Optional[str] If included, will only include issues whose most recent action occurred after this time @@ -273,16 +254,14 @@ async def list( Returns ------- - PaginatedIssueList + AsyncPager[Issue, PaginatedIssueList] Examples -------- import asyncio - import datetime from merge import AsyncMerge - from merge.resources.ticketing.resources.issues import IssuesListRequestStatus client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -291,35 +270,20 @@ async def list( async def main() -> None: - await client.ticketing.issues.list( - account_token="account_token", + response = await client.ticketing.issues.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_date="end_date", - end_user_organization_name="end_user_organization_name", - first_incident_time_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - first_incident_time_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - include_muted="include_muted", - integration_name="integration_name", - last_incident_time_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - last_incident_time_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - linked_account_id="linked_account_id", - page_size=1, - start_date="start_date", - status=IssuesListRequestStatus.ONGOING, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( account_token=account_token, cursor=cursor, end_date=end_date, @@ -336,7 +300,6 @@ async def main() -> None: status=status, request_options=request_options, ) - return _response.data async def retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> Issue: """ diff --git a/src/merge/resources/ticketing/resources/issues/raw_client.py b/src/merge/resources/ticketing/resources/issues/raw_client.py index 09986b0c..51531802 100644 --- a/src/merge/resources/ticketing/resources/issues/raw_client.py +++ b/src/merge/resources/ticketing/resources/issues/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.issue import Issue @@ -38,7 +39,7 @@ def list( start_date: typing.Optional[str] = None, status: typing.Optional[IssuesListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedIssueList]: + ) -> SyncPager[Issue, PaginatedIssueList]: """ Gets all issues for Organization. @@ -75,7 +76,7 @@ def list( If provided, will only include issues pertaining to the linked account passed in. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. start_date : typing.Optional[str] If included, will only include issues whose most recent action occurred after this time @@ -91,7 +92,7 @@ def list( Returns ------- - HttpResponse[PaginatedIssueList] + SyncPager[Issue, PaginatedIssueList] """ _response = self._client_wrapper.httpx_client.request( @@ -125,14 +126,34 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedIssueList, construct_type( type_=PaginatedIssueList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + account_token=account_token, + cursor=_parsed_next, + end_date=end_date, + end_user_organization_name=end_user_organization_name, + first_incident_time_after=first_incident_time_after, + first_incident_time_before=first_incident_time_before, + include_muted=include_muted, + integration_name=integration_name, + last_incident_time_after=last_incident_time_after, + last_incident_time_before=last_incident_time_before, + linked_account_id=linked_account_id, + page_size=page_size, + start_date=start_date, + status=status, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -197,7 +218,7 @@ async def list( start_date: typing.Optional[str] = None, status: typing.Optional[IssuesListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedIssueList]: + ) -> AsyncPager[Issue, PaginatedIssueList]: """ Gets all issues for Organization. @@ -234,7 +255,7 @@ async def list( If provided, will only include issues pertaining to the linked account passed in. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. start_date : typing.Optional[str] If included, will only include issues whose most recent action occurred after this time @@ -250,7 +271,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedIssueList] + AsyncPager[Issue, PaginatedIssueList] """ _response = await self._client_wrapper.httpx_client.request( @@ -284,14 +305,37 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedIssueList, construct_type( type_=PaginatedIssueList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + account_token=account_token, + cursor=_parsed_next, + end_date=end_date, + end_user_organization_name=end_user_organization_name, + first_incident_time_after=first_incident_time_after, + first_incident_time_before=first_incident_time_before, + include_muted=include_muted, + integration_name=integration_name, + last_incident_time_after=last_incident_time_after, + last_incident_time_before=last_incident_time_before, + linked_account_id=linked_account_id, + page_size=page_size, + start_date=start_date, + status=status, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/ticketing/resources/issues/types/__init__.py b/src/merge/resources/ticketing/resources/issues/types/__init__.py index 88fbf977..5e097583 100644 --- a/src/merge/resources/ticketing/resources/issues/types/__init__.py +++ b/src/merge/resources/ticketing/resources/issues/types/__init__.py @@ -16,8 +16,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: diff --git a/src/merge/resources/ticketing/resources/link_token/__init__.py b/src/merge/resources/ticketing/resources/link_token/__init__.py index be8c3839..15700960 100644 --- a/src/merge/resources/ticketing/resources/link_token/__init__.py +++ b/src/merge/resources/ticketing/resources/link_token/__init__.py @@ -6,11 +6,8 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .types import EndUserDetailsRequestCompletedAccountInitialScreen, EndUserDetailsRequestLanguage -_dynamic_imports: typing.Dict[str, str] = { - "EndUserDetailsRequestCompletedAccountInitialScreen": ".types", - "EndUserDetailsRequestLanguage": ".types", -} + from .types import EndUserDetailsRequestLanguage +_dynamic_imports: typing.Dict[str, str] = {"EndUserDetailsRequestLanguage": ".types"} def __getattr__(attr_name: str) -> typing.Any: @@ -19,8 +16,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -32,4 +31,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["EndUserDetailsRequestCompletedAccountInitialScreen", "EndUserDetailsRequestLanguage"] +__all__ = ["EndUserDetailsRequestLanguage"] diff --git a/src/merge/resources/ticketing/resources/link_token/client.py b/src/merge/resources/ticketing/resources/link_token/client.py index 9dba6f77..158a8d5e 100644 --- a/src/merge/resources/ticketing/resources/link_token/client.py +++ b/src/merge/resources/ticketing/resources/link_token/client.py @@ -9,9 +9,6 @@ from ...types.individual_common_model_scope_deserializer_request import IndividualCommonModelScopeDeserializerRequest from ...types.link_token import LinkToken from .raw_client import AsyncRawLinkTokenClient, RawLinkTokenClient -from .types.end_user_details_request_completed_account_initial_screen import ( - EndUserDetailsRequestCompletedAccountInitialScreen, -) from .types.end_user_details_request_language import EndUserDetailsRequestLanguage # this is used as the default value for optional parameters @@ -50,8 +47,7 @@ def create( ] = OMIT, language: typing.Optional[EndUserDetailsRequestLanguage] = OMIT, are_syncs_disabled: typing.Optional[bool] = OMIT, - integration_specific_config: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, - completed_account_initial_screen: typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen] = OMIT, + integration_specific_config: typing.Optional[typing.Dict[str, typing.Any]] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> LinkToken: """ @@ -98,14 +94,9 @@ def create( are_syncs_disabled : typing.Optional[bool] The boolean that indicates whether initial, periodic, and force syncs will be disabled. - integration_specific_config : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] + integration_specific_config : typing.Optional[typing.Dict[str, typing.Any]] A JSON object containing integration-specific configuration options. - completed_account_initial_screen : typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen] - When creating a Link token, you can specifiy the initial screen of Linking Flow for a completed Linked Account. - - * `SELECTIVE_SYNC` - SELECTIVE_SYNC - request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -144,7 +135,6 @@ def create( language=language, are_syncs_disabled=are_syncs_disabled, integration_specific_config=integration_specific_config, - completed_account_initial_screen=completed_account_initial_screen, request_options=request_options, ) return _response.data @@ -182,8 +172,7 @@ async def create( ] = OMIT, language: typing.Optional[EndUserDetailsRequestLanguage] = OMIT, are_syncs_disabled: typing.Optional[bool] = OMIT, - integration_specific_config: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, - completed_account_initial_screen: typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen] = OMIT, + integration_specific_config: typing.Optional[typing.Dict[str, typing.Any]] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> LinkToken: """ @@ -230,14 +219,9 @@ async def create( are_syncs_disabled : typing.Optional[bool] The boolean that indicates whether initial, periodic, and force syncs will be disabled. - integration_specific_config : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] + integration_specific_config : typing.Optional[typing.Dict[str, typing.Any]] A JSON object containing integration-specific configuration options. - completed_account_initial_screen : typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen] - When creating a Link token, you can specifiy the initial screen of Linking Flow for a completed Linked Account. - - * `SELECTIVE_SYNC` - SELECTIVE_SYNC - request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -284,7 +268,6 @@ async def main() -> None: language=language, are_syncs_disabled=are_syncs_disabled, integration_specific_config=integration_specific_config, - completed_account_initial_screen=completed_account_initial_screen, request_options=request_options, ) return _response.data diff --git a/src/merge/resources/ticketing/resources/link_token/raw_client.py b/src/merge/resources/ticketing/resources/link_token/raw_client.py index b93faced..5ef1452d 100644 --- a/src/merge/resources/ticketing/resources/link_token/raw_client.py +++ b/src/merge/resources/ticketing/resources/link_token/raw_client.py @@ -12,9 +12,6 @@ from ...types.common_model_scopes_body_request import CommonModelScopesBodyRequest from ...types.individual_common_model_scope_deserializer_request import IndividualCommonModelScopeDeserializerRequest from ...types.link_token import LinkToken -from .types.end_user_details_request_completed_account_initial_screen import ( - EndUserDetailsRequestCompletedAccountInitialScreen, -) from .types.end_user_details_request_language import EndUserDetailsRequestLanguage # this is used as the default value for optional parameters @@ -42,8 +39,7 @@ def create( ] = OMIT, language: typing.Optional[EndUserDetailsRequestLanguage] = OMIT, are_syncs_disabled: typing.Optional[bool] = OMIT, - integration_specific_config: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, - completed_account_initial_screen: typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen] = OMIT, + integration_specific_config: typing.Optional[typing.Dict[str, typing.Any]] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[LinkToken]: """ @@ -90,14 +86,9 @@ def create( are_syncs_disabled : typing.Optional[bool] The boolean that indicates whether initial, periodic, and force syncs will be disabled. - integration_specific_config : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] + integration_specific_config : typing.Optional[typing.Dict[str, typing.Any]] A JSON object containing integration-specific configuration options. - completed_account_initial_screen : typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen] - When creating a Link token, you can specifiy the initial screen of Linking Flow for a completed Linked Account. - - * `SELECTIVE_SYNC` - SELECTIVE_SYNC - request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -123,7 +114,6 @@ def create( "language": language, "are_syncs_disabled": are_syncs_disabled, "integration_specific_config": integration_specific_config, - "completed_account_initial_screen": completed_account_initial_screen, }, headers={ "content-type": "application/json", @@ -168,8 +158,7 @@ async def create( ] = OMIT, language: typing.Optional[EndUserDetailsRequestLanguage] = OMIT, are_syncs_disabled: typing.Optional[bool] = OMIT, - integration_specific_config: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, - completed_account_initial_screen: typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen] = OMIT, + integration_specific_config: typing.Optional[typing.Dict[str, typing.Any]] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[LinkToken]: """ @@ -216,14 +205,9 @@ async def create( are_syncs_disabled : typing.Optional[bool] The boolean that indicates whether initial, periodic, and force syncs will be disabled. - integration_specific_config : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] + integration_specific_config : typing.Optional[typing.Dict[str, typing.Any]] A JSON object containing integration-specific configuration options. - completed_account_initial_screen : typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen] - When creating a Link token, you can specifiy the initial screen of Linking Flow for a completed Linked Account. - - * `SELECTIVE_SYNC` - SELECTIVE_SYNC - request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -249,7 +233,6 @@ async def create( "language": language, "are_syncs_disabled": are_syncs_disabled, "integration_specific_config": integration_specific_config, - "completed_account_initial_screen": completed_account_initial_screen, }, headers={ "content-type": "application/json", diff --git a/src/merge/resources/ticketing/resources/link_token/types/__init__.py b/src/merge/resources/ticketing/resources/link_token/types/__init__.py index 55cc1d4e..dad2a14a 100644 --- a/src/merge/resources/ticketing/resources/link_token/types/__init__.py +++ b/src/merge/resources/ticketing/resources/link_token/types/__init__.py @@ -6,14 +6,8 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .end_user_details_request_completed_account_initial_screen import ( - EndUserDetailsRequestCompletedAccountInitialScreen, - ) from .end_user_details_request_language import EndUserDetailsRequestLanguage -_dynamic_imports: typing.Dict[str, str] = { - "EndUserDetailsRequestCompletedAccountInitialScreen": ".end_user_details_request_completed_account_initial_screen", - "EndUserDetailsRequestLanguage": ".end_user_details_request_language", -} +_dynamic_imports: typing.Dict[str, str] = {"EndUserDetailsRequestLanguage": ".end_user_details_request_language"} def __getattr__(attr_name: str) -> typing.Any: @@ -22,8 +16,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -35,4 +31,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["EndUserDetailsRequestCompletedAccountInitialScreen", "EndUserDetailsRequestLanguage"] +__all__ = ["EndUserDetailsRequestLanguage"] diff --git a/src/merge/resources/ticketing/resources/link_token/types/end_user_details_request_completed_account_initial_screen.py b/src/merge/resources/ticketing/resources/link_token/types/end_user_details_request_completed_account_initial_screen.py deleted file mode 100644 index 0c5d586d..00000000 --- a/src/merge/resources/ticketing/resources/link_token/types/end_user_details_request_completed_account_initial_screen.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from ....types.completed_account_initial_screen_enum import CompletedAccountInitialScreenEnum - -EndUserDetailsRequestCompletedAccountInitialScreen = typing.Union[CompletedAccountInitialScreenEnum, str] diff --git a/src/merge/resources/ticketing/resources/linked_accounts/__init__.py b/src/merge/resources/ticketing/resources/linked_accounts/__init__.py index 0b9e42b4..12e213b7 100644 --- a/src/merge/resources/ticketing/resources/linked_accounts/__init__.py +++ b/src/merge/resources/ticketing/resources/linked_accounts/__init__.py @@ -16,8 +16,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: diff --git a/src/merge/resources/ticketing/resources/linked_accounts/client.py b/src/merge/resources/ticketing/resources/linked_accounts/client.py index 59ed7936..ecb788ce 100644 --- a/src/merge/resources/ticketing/resources/linked_accounts/client.py +++ b/src/merge/resources/ticketing/resources/linked_accounts/client.py @@ -3,7 +3,9 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions +from ...types.account_details_and_actions import AccountDetailsAndActions from ...types.paginated_account_details_and_actions_list import PaginatedAccountDetailsAndActionsList from .raw_client import AsyncRawLinkedAccountsClient, RawLinkedAccountsClient from .types.linked_accounts_list_request_category import LinkedAccountsListRequestCategory @@ -41,7 +43,7 @@ def list( page_size: typing.Optional[int] = None, status: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAccountDetailsAndActionsList: + ) -> SyncPager[AccountDetailsAndActions, PaginatedAccountDetailsAndActionsList]: """ List linked accounts for your organization. @@ -88,7 +90,7 @@ def list( If included, will only include test linked accounts. If not included, will only include non-test linked accounts. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. status : typing.Optional[str] Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` @@ -98,37 +100,27 @@ def list( Returns ------- - PaginatedAccountDetailsAndActionsList + SyncPager[AccountDetailsAndActions, PaginatedAccountDetailsAndActionsList] Examples -------- from merge import Merge - from merge.resources.ticketing.resources.linked_accounts import ( - LinkedAccountsListRequestCategory, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ticketing.linked_accounts.list( - category=LinkedAccountsListRequestCategory.ACCOUNTING, + response = client.ticketing.linked_accounts.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_user_email_address="end_user_email_address", - end_user_organization_name="end_user_organization_name", - end_user_origin_id="end_user_origin_id", - end_user_origin_ids="end_user_origin_ids", - id="id", - ids="ids", - include_duplicates=True, - integration_name="integration_name", - is_test_account="is_test_account", - page_size=1, - status="status", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( category=category, cursor=cursor, end_user_email_address=end_user_email_address, @@ -144,7 +136,6 @@ def list( status=status, request_options=request_options, ) - return _response.data class AsyncLinkedAccountsClient: @@ -179,7 +170,7 @@ async def list( page_size: typing.Optional[int] = None, status: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAccountDetailsAndActionsList: + ) -> AsyncPager[AccountDetailsAndActions, PaginatedAccountDetailsAndActionsList]: """ List linked accounts for your organization. @@ -226,7 +217,7 @@ async def list( If included, will only include test linked accounts. If not included, will only include non-test linked accounts. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. status : typing.Optional[str] Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` @@ -236,7 +227,7 @@ async def list( Returns ------- - PaginatedAccountDetailsAndActionsList + AsyncPager[AccountDetailsAndActions, PaginatedAccountDetailsAndActionsList] Examples @@ -244,9 +235,6 @@ async def list( import asyncio from merge import AsyncMerge - from merge.resources.ticketing.resources.linked_accounts import ( - LinkedAccountsListRequestCategory, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -255,26 +243,20 @@ async def list( async def main() -> None: - await client.ticketing.linked_accounts.list( - category=LinkedAccountsListRequestCategory.ACCOUNTING, + response = await client.ticketing.linked_accounts.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_user_email_address="end_user_email_address", - end_user_organization_name="end_user_organization_name", - end_user_origin_id="end_user_origin_id", - end_user_origin_ids="end_user_origin_ids", - id="id", - ids="ids", - include_duplicates=True, - integration_name="integration_name", - is_test_account="is_test_account", - page_size=1, - status="status", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( category=category, cursor=cursor, end_user_email_address=end_user_email_address, @@ -290,4 +272,3 @@ async def main() -> None: status=status, request_options=request_options, ) - return _response.data diff --git a/src/merge/resources/ticketing/resources/linked_accounts/raw_client.py b/src/merge/resources/ticketing/resources/linked_accounts/raw_client.py index 5526d4f8..f29a4a48 100644 --- a/src/merge/resources/ticketing/resources/linked_accounts/raw_client.py +++ b/src/merge/resources/ticketing/resources/linked_accounts/raw_client.py @@ -5,9 +5,10 @@ from .....core.api_error import ApiError from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type +from ...types.account_details_and_actions import AccountDetailsAndActions from ...types.paginated_account_details_and_actions_list import PaginatedAccountDetailsAndActionsList from .types.linked_accounts_list_request_category import LinkedAccountsListRequestCategory @@ -33,7 +34,7 @@ def list( page_size: typing.Optional[int] = None, status: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedAccountDetailsAndActionsList]: + ) -> SyncPager[AccountDetailsAndActions, PaginatedAccountDetailsAndActionsList]: """ List linked accounts for your organization. @@ -80,7 +81,7 @@ def list( If included, will only include test linked accounts. If not included, will only include non-test linked accounts. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. status : typing.Optional[str] Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` @@ -90,7 +91,7 @@ def list( Returns ------- - HttpResponse[PaginatedAccountDetailsAndActionsList] + SyncPager[AccountDetailsAndActions, PaginatedAccountDetailsAndActionsList] """ _response = self._client_wrapper.httpx_client.request( @@ -115,14 +116,33 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAccountDetailsAndActionsList, construct_type( type_=PaginatedAccountDetailsAndActionsList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + category=category, + cursor=_parsed_next, + end_user_email_address=end_user_email_address, + end_user_organization_name=end_user_organization_name, + end_user_origin_id=end_user_origin_id, + end_user_origin_ids=end_user_origin_ids, + id=id, + ids=ids, + include_duplicates=include_duplicates, + integration_name=integration_name, + is_test_account=is_test_account, + page_size=page_size, + status=status, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -150,7 +170,7 @@ async def list( page_size: typing.Optional[int] = None, status: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedAccountDetailsAndActionsList]: + ) -> AsyncPager[AccountDetailsAndActions, PaginatedAccountDetailsAndActionsList]: """ List linked accounts for your organization. @@ -197,7 +217,7 @@ async def list( If included, will only include test linked accounts. If not included, will only include non-test linked accounts. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. status : typing.Optional[str] Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` @@ -207,7 +227,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedAccountDetailsAndActionsList] + AsyncPager[AccountDetailsAndActions, PaginatedAccountDetailsAndActionsList] """ _response = await self._client_wrapper.httpx_client.request( @@ -232,14 +252,36 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAccountDetailsAndActionsList, construct_type( type_=PaginatedAccountDetailsAndActionsList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + category=category, + cursor=_parsed_next, + end_user_email_address=end_user_email_address, + end_user_organization_name=end_user_organization_name, + end_user_origin_id=end_user_origin_id, + end_user_origin_ids=end_user_origin_ids, + id=id, + ids=ids, + include_duplicates=include_duplicates, + integration_name=integration_name, + is_test_account=is_test_account, + page_size=page_size, + status=status, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/ticketing/resources/linked_accounts/types/__init__.py b/src/merge/resources/ticketing/resources/linked_accounts/types/__init__.py index a28f38cc..a884db6a 100644 --- a/src/merge/resources/ticketing/resources/linked_accounts/types/__init__.py +++ b/src/merge/resources/ticketing/resources/linked_accounts/types/__init__.py @@ -18,8 +18,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: diff --git a/src/merge/resources/ticketing/resources/projects/__init__.py b/src/merge/resources/ticketing/resources/projects/__init__.py index 177f19e3..eddc1259 100644 --- a/src/merge/resources/ticketing/resources/projects/__init__.py +++ b/src/merge/resources/ticketing/resources/projects/__init__.py @@ -6,8 +6,8 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .types import ProjectsUsersListRequestExpand -_dynamic_imports: typing.Dict[str, str] = {"ProjectsUsersListRequestExpand": ".types"} + from .types import ProjectsUsersListRequestExpandItem +_dynamic_imports: typing.Dict[str, str] = {"ProjectsUsersListRequestExpandItem": ".types"} def __getattr__(attr_name: str) -> typing.Any: @@ -16,8 +16,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -29,4 +31,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["ProjectsUsersListRequestExpand"] +__all__ = ["ProjectsUsersListRequestExpandItem"] diff --git a/src/merge/resources/ticketing/resources/projects/client.py b/src/merge/resources/ticketing/resources/projects/client.py index 133cfa0d..cbeaa8b1 100644 --- a/src/merge/resources/ticketing/resources/projects/client.py +++ b/src/merge/resources/ticketing/resources/projects/client.py @@ -4,12 +4,14 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.paginated_project_list import PaginatedProjectList from ...types.paginated_user_list import PaginatedUserList from ...types.project import Project +from ...types.user import User from .raw_client import AsyncRawProjectsClient, RawProjectsClient -from .types.projects_users_list_request_expand import ProjectsUsersListRequestExpand +from .types.projects_users_list_request_expand_item import ProjectsUsersListRequestExpandItem class ProjectsClient: @@ -41,7 +43,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedProjectList: + ) -> SyncPager[Project, PaginatedProjectList]: """ Returns a list of `Project` objects. @@ -72,7 +74,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -82,41 +84,27 @@ def list( Returns ------- - PaginatedProjectList + SyncPager[Project, PaginatedProjectList] Examples -------- - import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ticketing.projects.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = client.ticketing.projects.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -129,7 +117,6 @@ def list( remote_id=remote_id, request_options=request_options, ) - return _response.data def retrieve( self, @@ -170,8 +157,6 @@ def retrieve( ) client.ticketing.projects.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) """ _response = self._raw_client.retrieve( @@ -187,13 +172,15 @@ def users_list( parent_id: str, *, cursor: typing.Optional[str] = None, - expand: typing.Optional[ProjectsUsersListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ProjectsUsersListRequestExpandItem, typing.Sequence[ProjectsUsersListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedUserList: + ) -> SyncPager[User, PaginatedUserList]: """ Returns a list of `User` objects. @@ -204,7 +191,7 @@ def users_list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[ProjectsUsersListRequestExpand] + expand : typing.Optional[typing.Union[ProjectsUsersListRequestExpandItem, typing.Sequence[ProjectsUsersListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -217,38 +204,35 @@ def users_list( Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedUserList + SyncPager[User, PaginatedUserList] Examples -------- from merge import Merge - from merge.resources.ticketing.resources.projects import ( - ProjectsUsersListRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ticketing.projects.users_list( + response = client.ticketing.projects.users_list( parent_id="parent_id", cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=ProjectsUsersListRequestExpand.ROLES, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - page_size=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.users_list( + return self._raw_client.users_list( parent_id, cursor=cursor, expand=expand, @@ -258,7 +242,6 @@ def users_list( page_size=page_size, request_options=request_options, ) - return _response.data class AsyncProjectsClient: @@ -290,7 +273,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedProjectList: + ) -> AsyncPager[Project, PaginatedProjectList]: """ Returns a list of `Project` objects. @@ -321,7 +304,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -331,13 +314,12 @@ async def list( Returns ------- - PaginatedProjectList + AsyncPager[Project, PaginatedProjectList] Examples -------- import asyncio - import datetime from merge import AsyncMerge @@ -348,31 +330,20 @@ async def list( async def main() -> None: - await client.ticketing.projects.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = await client.ticketing.projects.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -385,7 +356,6 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def retrieve( self, @@ -431,8 +401,6 @@ async def retrieve( async def main() -> None: await client.ticketing.projects.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) @@ -451,13 +419,15 @@ async def users_list( parent_id: str, *, cursor: typing.Optional[str] = None, - expand: typing.Optional[ProjectsUsersListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ProjectsUsersListRequestExpandItem, typing.Sequence[ProjectsUsersListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedUserList: + ) -> AsyncPager[User, PaginatedUserList]: """ Returns a list of `User` objects. @@ -468,7 +438,7 @@ async def users_list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[ProjectsUsersListRequestExpand] + expand : typing.Optional[typing.Union[ProjectsUsersListRequestExpandItem, typing.Sequence[ProjectsUsersListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -481,14 +451,14 @@ async def users_list( Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedUserList + AsyncPager[User, PaginatedUserList] Examples @@ -496,9 +466,6 @@ async def users_list( import asyncio from merge import AsyncMerge - from merge.resources.ticketing.resources.projects import ( - ProjectsUsersListRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -507,20 +474,21 @@ async def users_list( async def main() -> None: - await client.ticketing.projects.users_list( + response = await client.ticketing.projects.users_list( parent_id="parent_id", cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=ProjectsUsersListRequestExpand.ROLES, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - page_size=1, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.users_list( + return await self._raw_client.users_list( parent_id, cursor=cursor, expand=expand, @@ -530,4 +498,3 @@ async def main() -> None: page_size=page_size, request_options=request_options, ) - return _response.data diff --git a/src/merge/resources/ticketing/resources/projects/raw_client.py b/src/merge/resources/ticketing/resources/projects/raw_client.py index ccc990a5..6535cdfc 100644 --- a/src/merge/resources/ticketing/resources/projects/raw_client.py +++ b/src/merge/resources/ticketing/resources/projects/raw_client.py @@ -9,12 +9,14 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.paginated_project_list import PaginatedProjectList from ...types.paginated_user_list import PaginatedUserList from ...types.project import Project -from .types.projects_users_list_request_expand import ProjectsUsersListRequestExpand +from ...types.user import User +from .types.projects_users_list_request_expand_item import ProjectsUsersListRequestExpandItem class RawProjectsClient: @@ -35,7 +37,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedProjectList]: + ) -> SyncPager[Project, PaginatedProjectList]: """ Returns a list of `Project` objects. @@ -66,7 +68,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -76,7 +78,7 @@ def list( Returns ------- - HttpResponse[PaginatedProjectList] + SyncPager[Project, PaginatedProjectList] """ _response = self._client_wrapper.httpx_client.request( @@ -98,14 +100,30 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedProjectList, construct_type( type_=PaginatedProjectList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -169,13 +187,15 @@ def users_list( parent_id: str, *, cursor: typing.Optional[str] = None, - expand: typing.Optional[ProjectsUsersListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ProjectsUsersListRequestExpandItem, typing.Sequence[ProjectsUsersListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedUserList]: + ) -> SyncPager[User, PaginatedUserList]: """ Returns a list of `User` objects. @@ -186,7 +206,7 @@ def users_list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[ProjectsUsersListRequestExpand] + expand : typing.Optional[typing.Union[ProjectsUsersListRequestExpandItem, typing.Sequence[ProjectsUsersListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -199,14 +219,14 @@ def users_list( Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - HttpResponse[PaginatedUserList] + SyncPager[User, PaginatedUserList] """ _response = self._client_wrapper.httpx_client.request( @@ -224,14 +244,27 @@ def users_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedUserList, construct_type( type_=PaginatedUserList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.users_list( + parent_id, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + page_size=page_size, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -256,7 +289,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedProjectList]: + ) -> AsyncPager[Project, PaginatedProjectList]: """ Returns a list of `Project` objects. @@ -287,7 +320,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -297,7 +330,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedProjectList] + AsyncPager[Project, PaginatedProjectList] """ _response = await self._client_wrapper.httpx_client.request( @@ -319,14 +352,33 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedProjectList, construct_type( type_=PaginatedProjectList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -390,13 +442,15 @@ async def users_list( parent_id: str, *, cursor: typing.Optional[str] = None, - expand: typing.Optional[ProjectsUsersListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ProjectsUsersListRequestExpandItem, typing.Sequence[ProjectsUsersListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedUserList]: + ) -> AsyncPager[User, PaginatedUserList]: """ Returns a list of `User` objects. @@ -407,7 +461,7 @@ async def users_list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[ProjectsUsersListRequestExpand] + expand : typing.Optional[typing.Union[ProjectsUsersListRequestExpandItem, typing.Sequence[ProjectsUsersListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -420,14 +474,14 @@ async def users_list( Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - AsyncHttpResponse[PaginatedUserList] + AsyncPager[User, PaginatedUserList] """ _response = await self._client_wrapper.httpx_client.request( @@ -445,14 +499,30 @@ async def users_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedUserList, construct_type( type_=PaginatedUserList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.users_list( + parent_id, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/ticketing/resources/projects/types/__init__.py b/src/merge/resources/ticketing/resources/projects/types/__init__.py index ec7542f3..37c356bb 100644 --- a/src/merge/resources/ticketing/resources/projects/types/__init__.py +++ b/src/merge/resources/ticketing/resources/projects/types/__init__.py @@ -6,8 +6,10 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .projects_users_list_request_expand import ProjectsUsersListRequestExpand -_dynamic_imports: typing.Dict[str, str] = {"ProjectsUsersListRequestExpand": ".projects_users_list_request_expand"} + from .projects_users_list_request_expand_item import ProjectsUsersListRequestExpandItem +_dynamic_imports: typing.Dict[str, str] = { + "ProjectsUsersListRequestExpandItem": ".projects_users_list_request_expand_item" +} def __getattr__(attr_name: str) -> typing.Any: @@ -16,8 +18,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -29,4 +33,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["ProjectsUsersListRequestExpand"] +__all__ = ["ProjectsUsersListRequestExpandItem"] diff --git a/src/merge/resources/ticketing/resources/projects/types/projects_users_list_request_expand.py b/src/merge/resources/ticketing/resources/projects/types/projects_users_list_request_expand.py deleted file mode 100644 index e1d7fbd6..00000000 --- a/src/merge/resources/ticketing/resources/projects/types/projects_users_list_request_expand.py +++ /dev/null @@ -1,25 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class ProjectsUsersListRequestExpand(str, enum.Enum): - ROLES = "roles" - TEAMS = "teams" - TEAMS_ROLES = "teams,roles" - - def visit( - self, - roles: typing.Callable[[], T_Result], - teams: typing.Callable[[], T_Result], - teams_roles: typing.Callable[[], T_Result], - ) -> T_Result: - if self is ProjectsUsersListRequestExpand.ROLES: - return roles() - if self is ProjectsUsersListRequestExpand.TEAMS: - return teams() - if self is ProjectsUsersListRequestExpand.TEAMS_ROLES: - return teams_roles() diff --git a/src/merge/resources/ticketing/resources/projects/types/projects_users_list_request_expand_item.py b/src/merge/resources/ticketing/resources/projects/types/projects_users_list_request_expand_item.py new file mode 100644 index 00000000..1f068356 --- /dev/null +++ b/src/merge/resources/ticketing/resources/projects/types/projects_users_list_request_expand_item.py @@ -0,0 +1,17 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class ProjectsUsersListRequestExpandItem(str, enum.Enum): + ROLES = "roles" + TEAMS = "teams" + + def visit(self, roles: typing.Callable[[], T_Result], teams: typing.Callable[[], T_Result]) -> T_Result: + if self is ProjectsUsersListRequestExpandItem.ROLES: + return roles() + if self is ProjectsUsersListRequestExpandItem.TEAMS: + return teams() diff --git a/src/merge/resources/ticketing/resources/roles/client.py b/src/merge/resources/ticketing/resources/roles/client.py index 69432e4c..94d175d2 100644 --- a/src/merge/resources/ticketing/resources/roles/client.py +++ b/src/merge/resources/ticketing/resources/roles/client.py @@ -4,6 +4,7 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.paginated_role_list import PaginatedRoleList from ...types.role import Role @@ -39,7 +40,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRoleList: + ) -> SyncPager[Role, PaginatedRoleList]: """ Returns a list of `Role` objects. @@ -70,7 +71,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -80,41 +81,27 @@ def list( Returns ------- - PaginatedRoleList + SyncPager[Role, PaginatedRoleList] Examples -------- - import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ticketing.roles.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = client.ticketing.roles.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -127,7 +114,6 @@ def list( remote_id=remote_id, request_options=request_options, ) - return _response.data def retrieve( self, @@ -168,8 +154,6 @@ def retrieve( ) client.ticketing.roles.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) """ _response = self._raw_client.retrieve( @@ -210,7 +194,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRoleList: + ) -> AsyncPager[Role, PaginatedRoleList]: """ Returns a list of `Role` objects. @@ -241,7 +225,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -251,13 +235,12 @@ async def list( Returns ------- - PaginatedRoleList + AsyncPager[Role, PaginatedRoleList] Examples -------- import asyncio - import datetime from merge import AsyncMerge @@ -268,31 +251,20 @@ async def list( async def main() -> None: - await client.ticketing.roles.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = await client.ticketing.roles.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -305,7 +277,6 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def retrieve( self, @@ -351,8 +322,6 @@ async def retrieve( async def main() -> None: await client.ticketing.roles.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) diff --git a/src/merge/resources/ticketing/resources/roles/raw_client.py b/src/merge/resources/ticketing/resources/roles/raw_client.py index 5f40ef03..63f94a2e 100644 --- a/src/merge/resources/ticketing/resources/roles/raw_client.py +++ b/src/merge/resources/ticketing/resources/roles/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.paginated_role_list import PaginatedRoleList @@ -33,7 +34,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedRoleList]: + ) -> SyncPager[Role, PaginatedRoleList]: """ Returns a list of `Role` objects. @@ -64,7 +65,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -74,7 +75,7 @@ def list( Returns ------- - HttpResponse[PaginatedRoleList] + SyncPager[Role, PaginatedRoleList] """ _response = self._client_wrapper.httpx_client.request( @@ -96,14 +97,30 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRoleList, construct_type( type_=PaginatedRoleList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -181,7 +198,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedRoleList]: + ) -> AsyncPager[Role, PaginatedRoleList]: """ Returns a list of `Role` objects. @@ -212,7 +229,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -222,7 +239,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedRoleList] + AsyncPager[Role, PaginatedRoleList] """ _response = await self._client_wrapper.httpx_client.request( @@ -244,14 +261,33 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRoleList, construct_type( type_=PaginatedRoleList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/ticketing/resources/sync_status/client.py b/src/merge/resources/ticketing/resources/sync_status/client.py index 9a69dc0c..02699052 100644 --- a/src/merge/resources/ticketing/resources/sync_status/client.py +++ b/src/merge/resources/ticketing/resources/sync_status/client.py @@ -3,8 +3,10 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.paginated_sync_status_list import PaginatedSyncStatusList +from ...types.sync_status import SyncStatus from .raw_client import AsyncRawSyncStatusClient, RawSyncStatusClient @@ -29,7 +31,7 @@ def list( cursor: typing.Optional[str] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedSyncStatusList: + ) -> SyncPager[SyncStatus, PaginatedSyncStatusList]: """ Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). @@ -39,14 +41,14 @@ def list( The pagination cursor value. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedSyncStatusList + SyncPager[SyncStatus, PaginatedSyncStatusList] Examples @@ -57,13 +59,16 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ticketing.sync_status.list( + response = client.ticketing.sync_status.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - page_size=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list(cursor=cursor, page_size=page_size, request_options=request_options) - return _response.data + return self._raw_client.list(cursor=cursor, page_size=page_size, request_options=request_options) class AsyncSyncStatusClient: @@ -87,7 +92,7 @@ async def list( cursor: typing.Optional[str] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedSyncStatusList: + ) -> AsyncPager[SyncStatus, PaginatedSyncStatusList]: """ Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). @@ -97,14 +102,14 @@ async def list( The pagination cursor value. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedSyncStatusList + AsyncPager[SyncStatus, PaginatedSyncStatusList] Examples @@ -120,13 +125,17 @@ async def list( async def main() -> None: - await client.ticketing.sync_status.list( + response = await client.ticketing.sync_status.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - page_size=1, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list(cursor=cursor, page_size=page_size, request_options=request_options) - return _response.data + return await self._raw_client.list(cursor=cursor, page_size=page_size, request_options=request_options) diff --git a/src/merge/resources/ticketing/resources/sync_status/raw_client.py b/src/merge/resources/ticketing/resources/sync_status/raw_client.py index 0052fc35..2fe69f06 100644 --- a/src/merge/resources/ticketing/resources/sync_status/raw_client.py +++ b/src/merge/resources/ticketing/resources/sync_status/raw_client.py @@ -5,10 +5,11 @@ from .....core.api_error import ApiError from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.paginated_sync_status_list import PaginatedSyncStatusList +from ...types.sync_status import SyncStatus class RawSyncStatusClient: @@ -21,7 +22,7 @@ def list( cursor: typing.Optional[str] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedSyncStatusList]: + ) -> SyncPager[SyncStatus, PaginatedSyncStatusList]: """ Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). @@ -31,14 +32,14 @@ def list( The pagination cursor value. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - HttpResponse[PaginatedSyncStatusList] + SyncPager[SyncStatus, PaginatedSyncStatusList] """ _response = self._client_wrapper.httpx_client.request( @@ -52,14 +53,22 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedSyncStatusList, construct_type( type_=PaginatedSyncStatusList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + cursor=_parsed_next, + page_size=page_size, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -76,7 +85,7 @@ async def list( cursor: typing.Optional[str] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedSyncStatusList]: + ) -> AsyncPager[SyncStatus, PaginatedSyncStatusList]: """ Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). @@ -86,14 +95,14 @@ async def list( The pagination cursor value. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - AsyncHttpResponse[PaginatedSyncStatusList] + AsyncPager[SyncStatus, PaginatedSyncStatusList] """ _response = await self._client_wrapper.httpx_client.request( @@ -107,14 +116,25 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedSyncStatusList, construct_type( type_=PaginatedSyncStatusList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + cursor=_parsed_next, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/ticketing/resources/tags/client.py b/src/merge/resources/ticketing/resources/tags/client.py index c6184fb8..7bbf2d30 100644 --- a/src/merge/resources/ticketing/resources/tags/client.py +++ b/src/merge/resources/ticketing/resources/tags/client.py @@ -4,6 +4,7 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.paginated_tag_list import PaginatedTagList from ...types.tag import Tag @@ -39,7 +40,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedTagList: + ) -> SyncPager[Tag, PaginatedTagList]: """ Returns a list of `Tag` objects. @@ -70,7 +71,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -80,41 +81,27 @@ def list( Returns ------- - PaginatedTagList + SyncPager[Tag, PaginatedTagList] Examples -------- - import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ticketing.tags.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = client.ticketing.tags.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -127,7 +114,6 @@ def list( remote_id=remote_id, request_options=request_options, ) - return _response.data def retrieve( self, @@ -168,8 +154,6 @@ def retrieve( ) client.ticketing.tags.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) """ _response = self._raw_client.retrieve( @@ -210,7 +194,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedTagList: + ) -> AsyncPager[Tag, PaginatedTagList]: """ Returns a list of `Tag` objects. @@ -241,7 +225,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -251,13 +235,12 @@ async def list( Returns ------- - PaginatedTagList + AsyncPager[Tag, PaginatedTagList] Examples -------- import asyncio - import datetime from merge import AsyncMerge @@ -268,31 +251,20 @@ async def list( async def main() -> None: - await client.ticketing.tags.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = await client.ticketing.tags.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -305,7 +277,6 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def retrieve( self, @@ -351,8 +322,6 @@ async def retrieve( async def main() -> None: await client.ticketing.tags.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) diff --git a/src/merge/resources/ticketing/resources/tags/raw_client.py b/src/merge/resources/ticketing/resources/tags/raw_client.py index 8a283c5b..7cff3539 100644 --- a/src/merge/resources/ticketing/resources/tags/raw_client.py +++ b/src/merge/resources/ticketing/resources/tags/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.paginated_tag_list import PaginatedTagList @@ -33,7 +34,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedTagList]: + ) -> SyncPager[Tag, PaginatedTagList]: """ Returns a list of `Tag` objects. @@ -64,7 +65,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -74,7 +75,7 @@ def list( Returns ------- - HttpResponse[PaginatedTagList] + SyncPager[Tag, PaginatedTagList] """ _response = self._client_wrapper.httpx_client.request( @@ -96,14 +97,30 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedTagList, construct_type( type_=PaginatedTagList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -181,7 +198,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedTagList]: + ) -> AsyncPager[Tag, PaginatedTagList]: """ Returns a list of `Tag` objects. @@ -212,7 +229,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -222,7 +239,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedTagList] + AsyncPager[Tag, PaginatedTagList] """ _response = await self._client_wrapper.httpx_client.request( @@ -244,14 +261,33 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedTagList, construct_type( type_=PaginatedTagList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/ticketing/resources/teams/client.py b/src/merge/resources/ticketing/resources/teams/client.py index 79af0f1c..7f48d1d4 100644 --- a/src/merge/resources/ticketing/resources/teams/client.py +++ b/src/merge/resources/ticketing/resources/teams/client.py @@ -4,6 +4,7 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.paginated_team_list import PaginatedTeamList from ...types.team import Team @@ -39,7 +40,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedTeamList: + ) -> SyncPager[Team, PaginatedTeamList]: """ Returns a list of `Team` objects. @@ -70,7 +71,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -80,41 +81,27 @@ def list( Returns ------- - PaginatedTeamList + SyncPager[Team, PaginatedTeamList] Examples -------- - import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ticketing.teams.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = client.ticketing.teams.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -127,7 +114,6 @@ def list( remote_id=remote_id, request_options=request_options, ) - return _response.data def retrieve( self, @@ -168,8 +154,6 @@ def retrieve( ) client.ticketing.teams.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) """ _response = self._raw_client.retrieve( @@ -210,7 +194,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedTeamList: + ) -> AsyncPager[Team, PaginatedTeamList]: """ Returns a list of `Team` objects. @@ -241,7 +225,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -251,13 +235,12 @@ async def list( Returns ------- - PaginatedTeamList + AsyncPager[Team, PaginatedTeamList] Examples -------- import asyncio - import datetime from merge import AsyncMerge @@ -268,31 +251,20 @@ async def list( async def main() -> None: - await client.ticketing.teams.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = await client.ticketing.teams.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -305,7 +277,6 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def retrieve( self, @@ -351,8 +322,6 @@ async def retrieve( async def main() -> None: await client.ticketing.teams.retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) diff --git a/src/merge/resources/ticketing/resources/teams/raw_client.py b/src/merge/resources/ticketing/resources/teams/raw_client.py index 05f6264d..ee77ccef 100644 --- a/src/merge/resources/ticketing/resources/teams/raw_client.py +++ b/src/merge/resources/ticketing/resources/teams/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.paginated_team_list import PaginatedTeamList @@ -33,7 +34,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedTeamList]: + ) -> SyncPager[Team, PaginatedTeamList]: """ Returns a list of `Team` objects. @@ -64,7 +65,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -74,7 +75,7 @@ def list( Returns ------- - HttpResponse[PaginatedTeamList] + SyncPager[Team, PaginatedTeamList] """ _response = self._client_wrapper.httpx_client.request( @@ -96,14 +97,30 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedTeamList, construct_type( type_=PaginatedTeamList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -181,7 +198,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedTeamList]: + ) -> AsyncPager[Team, PaginatedTeamList]: """ Returns a list of `Team` objects. @@ -212,7 +229,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -222,7 +239,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedTeamList] + AsyncPager[Team, PaginatedTeamList] """ _response = await self._client_wrapper.httpx_client.request( @@ -244,14 +261,33 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedTeamList, construct_type( type_=PaginatedTeamList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/ticketing/resources/tickets/__init__.py b/src/merge/resources/ticketing/resources/tickets/__init__.py index 564c5c59..4ceb5687 100644 --- a/src/merge/resources/ticketing/resources/tickets/__init__.py +++ b/src/merge/resources/ticketing/resources/tickets/__init__.py @@ -7,26 +7,26 @@ if typing.TYPE_CHECKING: from .types import ( - TicketsListRequestExpand, + TicketsListRequestExpandItem, TicketsListRequestPriority, TicketsListRequestRemoteFields, TicketsListRequestShowEnumOrigins, TicketsListRequestStatus, - TicketsRetrieveRequestExpand, + TicketsRetrieveRequestExpandItem, TicketsRetrieveRequestRemoteFields, TicketsRetrieveRequestShowEnumOrigins, - TicketsViewersListRequestExpand, + TicketsViewersListRequestExpandItem, ) _dynamic_imports: typing.Dict[str, str] = { - "TicketsListRequestExpand": ".types", + "TicketsListRequestExpandItem": ".types", "TicketsListRequestPriority": ".types", "TicketsListRequestRemoteFields": ".types", "TicketsListRequestShowEnumOrigins": ".types", "TicketsListRequestStatus": ".types", - "TicketsRetrieveRequestExpand": ".types", + "TicketsRetrieveRequestExpandItem": ".types", "TicketsRetrieveRequestRemoteFields": ".types", "TicketsRetrieveRequestShowEnumOrigins": ".types", - "TicketsViewersListRequestExpand": ".types", + "TicketsViewersListRequestExpandItem": ".types", } @@ -36,8 +36,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -50,13 +52,13 @@ def __dir__(): __all__ = [ - "TicketsListRequestExpand", + "TicketsListRequestExpandItem", "TicketsListRequestPriority", "TicketsListRequestRemoteFields", "TicketsListRequestShowEnumOrigins", "TicketsListRequestStatus", - "TicketsRetrieveRequestExpand", + "TicketsRetrieveRequestExpandItem", "TicketsRetrieveRequestRemoteFields", "TicketsRetrieveRequestShowEnumOrigins", - "TicketsViewersListRequestExpand", + "TicketsViewersListRequestExpandItem", ] diff --git a/src/merge/resources/ticketing/resources/tickets/client.py b/src/merge/resources/ticketing/resources/tickets/client.py index f23cd724..eb302561 100644 --- a/src/merge/resources/ticketing/resources/tickets/client.py +++ b/src/merge/resources/ticketing/resources/tickets/client.py @@ -4,25 +4,28 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.meta_response import MetaResponse from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList from ...types.paginated_ticket_list import PaginatedTicketList from ...types.paginated_viewer_list import PaginatedViewerList from ...types.patched_ticket_request import PatchedTicketRequest +from ...types.remote_field_class import RemoteFieldClass from ...types.ticket import Ticket from ...types.ticket_request import TicketRequest from ...types.ticket_response import TicketResponse +from ...types.viewer import Viewer from .raw_client import AsyncRawTicketsClient, RawTicketsClient -from .types.tickets_list_request_expand import TicketsListRequestExpand +from .types.tickets_list_request_expand_item import TicketsListRequestExpandItem from .types.tickets_list_request_priority import TicketsListRequestPriority from .types.tickets_list_request_remote_fields import TicketsListRequestRemoteFields from .types.tickets_list_request_show_enum_origins import TicketsListRequestShowEnumOrigins from .types.tickets_list_request_status import TicketsListRequestStatus -from .types.tickets_retrieve_request_expand import TicketsRetrieveRequestExpand +from .types.tickets_retrieve_request_expand_item import TicketsRetrieveRequestExpandItem from .types.tickets_retrieve_request_remote_fields import TicketsRetrieveRequestRemoteFields from .types.tickets_retrieve_request_show_enum_origins import TicketsRetrieveRequestShowEnumOrigins -from .types.tickets_viewers_list_request_expand import TicketsViewersListRequestExpand +from .types.tickets_viewers_list_request_expand_item import TicketsViewersListRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -59,7 +62,9 @@ def list( cursor: typing.Optional[str] = None, due_after: typing.Optional[dt.datetime] = None, due_before: typing.Optional[dt.datetime] = None, - expand: typing.Optional[TicketsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[TicketsListRequestExpandItem, typing.Sequence[TicketsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -82,7 +87,7 @@ def list( ticket_type: typing.Optional[str] = None, ticket_url: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedTicketList: + ) -> SyncPager[Ticket, PaginatedTicketList]: """ Returns a list of `Ticket` objects. @@ -127,7 +132,7 @@ def list( due_before : typing.Optional[dt.datetime] If provided, will only return tickets due before this datetime. - expand : typing.Optional[TicketsListRequestExpand] + expand : typing.Optional[typing.Union[TicketsListRequestExpandItem, typing.Sequence[TicketsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -152,7 +157,7 @@ def list( If provided, will only return tickets with this name. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. parent_ticket_id : typing.Optional[str] If provided, will only return sub tickets of the parent_ticket_id. @@ -203,89 +208,27 @@ def list( Returns ------- - PaginatedTicketList + SyncPager[Ticket, PaginatedTicketList] Examples -------- - import datetime - from merge import Merge - from merge.resources.ticketing.resources.tickets import ( - TicketsListRequestExpand, - TicketsListRequestPriority, - TicketsListRequestRemoteFields, - TicketsListRequestShowEnumOrigins, - TicketsListRequestStatus, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ticketing.tickets.list( - account_id="account_id", - assignee_ids="assignee_ids", - collection_ids="collection_ids", - completed_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - completed_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - contact_id="contact_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - creator_id="creator_id", - creator_ids="creator_ids", + response = client.ticketing.tickets.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - due_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - due_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - expand=TicketsListRequestExpand.ACCOUNT, - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - name="name", - page_size=1, - parent_ticket_id="parent_ticket_id", - priority=TicketsListRequestPriority.HIGH, - remote_created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - remote_created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - remote_fields=TicketsListRequestRemoteFields.PRIORITY, - remote_id="remote_id", - remote_updated_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - remote_updated_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - show_enum_origins=TicketsListRequestShowEnumOrigins.PRIORITY, - status=TicketsListRequestStatus.EMPTY, - tags="tags", - ticket_type="ticket_type", - ticket_url="ticket_url", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( account_id=account_id, assignee_ids=assignee_ids, collection_ids=collection_ids, @@ -323,7 +266,6 @@ def list( ticket_url=ticket_url, request_options=request_options, ) - return _response.data def create( self, @@ -364,8 +306,6 @@ def create( api_key="YOUR_API_KEY", ) client.ticketing.tickets.create( - is_debug_mode=True, - run_async=True, model=TicketRequest(), ) """ @@ -378,7 +318,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[TicketsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[TicketsRetrieveRequestExpandItem, typing.Sequence[TicketsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -393,7 +335,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[TicketsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[TicketsRetrieveRequestExpandItem, typing.Sequence[TicketsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -422,11 +364,6 @@ def retrieve( Examples -------- from merge import Merge - from merge.resources.ticketing.resources.tickets import ( - TicketsRetrieveRequestExpand, - TicketsRetrieveRequestRemoteFields, - TicketsRetrieveRequestShowEnumOrigins, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -434,12 +371,6 @@ def retrieve( ) client.ticketing.tickets.retrieve( id="id", - expand=TicketsRetrieveRequestExpand.ACCOUNT, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - remote_fields=TicketsRetrieveRequestRemoteFields.PRIORITY, - show_enum_origins=TicketsRetrieveRequestShowEnumOrigins.PRIORITY, ) """ _response = self._raw_client.retrieve( @@ -497,8 +428,6 @@ def partial_update( ) client.ticketing.tickets.partial_update( id="id", - is_debug_mode=True, - run_async=True, model=PatchedTicketRequest(), ) """ @@ -512,13 +441,15 @@ def viewers_list( ticket_id: str, *, cursor: typing.Optional[str] = None, - expand: typing.Optional[TicketsViewersListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[TicketsViewersListRequestExpandItem, typing.Sequence[TicketsViewersListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedViewerList: + ) -> SyncPager[Viewer, PaginatedViewerList]: """ Returns a list of `Viewer` objects that point to a User id or Team id that is either an assignee or viewer on a `Ticket` with the given id. [Learn more.](https://help.merge.dev/en/articles/10333658-ticketing-access-control-list-acls) @@ -529,7 +460,7 @@ def viewers_list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[TicketsViewersListRequestExpand] + expand : typing.Optional[typing.Union[TicketsViewersListRequestExpandItem, typing.Sequence[TicketsViewersListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -542,38 +473,35 @@ def viewers_list( Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedViewerList + SyncPager[Viewer, PaginatedViewerList] Examples -------- from merge import Merge - from merge.resources.ticketing.resources.tickets import ( - TicketsViewersListRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ticketing.tickets.viewers_list( + response = client.ticketing.tickets.viewers_list( ticket_id="ticket_id", cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=TicketsViewersListRequestExpand.TEAM, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - page_size=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.viewers_list( + return self._raw_client.viewers_list( ticket_id, cursor=cursor, expand=expand, @@ -583,7 +511,6 @@ def viewers_list( page_size=page_size, request_options=request_options, ) - return _response.data def meta_patch_retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ @@ -650,10 +577,7 @@ def meta_post_retrieve( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ticketing.tickets.meta_post_retrieve( - collection_id="collection_id", - ticket_type="ticket_type", - ) + client.ticketing.tickets.meta_post_retrieve() """ _response = self._raw_client.meta_post_retrieve( collection_id=collection_id, ticket_type=ticket_type, request_options=request_options @@ -672,7 +596,7 @@ def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -700,14 +624,14 @@ def remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedRemoteFieldClassList + SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] Examples @@ -718,18 +642,16 @@ def remote_field_classes_list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ticketing.tickets.remote_field_classes_list( + response = client.ticketing.tickets.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - ids="ids", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.remote_field_classes_list( + return self._raw_client.remote_field_classes_list( cursor=cursor, ids=ids, include_deleted_data=include_deleted_data, @@ -740,7 +662,6 @@ def remote_field_classes_list( page_size=page_size, request_options=request_options, ) - return _response.data class AsyncTicketsClient: @@ -774,7 +695,9 @@ async def list( cursor: typing.Optional[str] = None, due_after: typing.Optional[dt.datetime] = None, due_before: typing.Optional[dt.datetime] = None, - expand: typing.Optional[TicketsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[TicketsListRequestExpandItem, typing.Sequence[TicketsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -797,7 +720,7 @@ async def list( ticket_type: typing.Optional[str] = None, ticket_url: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedTicketList: + ) -> AsyncPager[Ticket, PaginatedTicketList]: """ Returns a list of `Ticket` objects. @@ -842,7 +765,7 @@ async def list( due_before : typing.Optional[dt.datetime] If provided, will only return tickets due before this datetime. - expand : typing.Optional[TicketsListRequestExpand] + expand : typing.Optional[typing.Union[TicketsListRequestExpandItem, typing.Sequence[TicketsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -867,7 +790,7 @@ async def list( If provided, will only return tickets with this name. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. parent_ticket_id : typing.Optional[str] If provided, will only return sub tickets of the parent_ticket_id. @@ -918,22 +841,14 @@ async def list( Returns ------- - PaginatedTicketList + AsyncPager[Ticket, PaginatedTicketList] Examples -------- import asyncio - import datetime from merge import AsyncMerge - from merge.resources.ticketing.resources.tickets import ( - TicketsListRequestExpand, - TicketsListRequestPriority, - TicketsListRequestRemoteFields, - TicketsListRequestShowEnumOrigins, - TicketsListRequestStatus, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -942,72 +857,20 @@ async def list( async def main() -> None: - await client.ticketing.tickets.list( - account_id="account_id", - assignee_ids="assignee_ids", - collection_ids="collection_ids", - completed_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - completed_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - contact_id="contact_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - creator_id="creator_id", - creator_ids="creator_ids", + response = await client.ticketing.tickets.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - due_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - due_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - expand=TicketsListRequestExpand.ACCOUNT, - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - name="name", - page_size=1, - parent_ticket_id="parent_ticket_id", - priority=TicketsListRequestPriority.HIGH, - remote_created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - remote_created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - remote_fields=TicketsListRequestRemoteFields.PRIORITY, - remote_id="remote_id", - remote_updated_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - remote_updated_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - show_enum_origins=TicketsListRequestShowEnumOrigins.PRIORITY, - status=TicketsListRequestStatus.EMPTY, - tags="tags", - ticket_type="ticket_type", - ticket_url="ticket_url", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( account_id=account_id, assignee_ids=assignee_ids, collection_ids=collection_ids, @@ -1045,7 +908,6 @@ async def main() -> None: ticket_url=ticket_url, request_options=request_options, ) - return _response.data async def create( self, @@ -1091,8 +953,6 @@ async def create( async def main() -> None: await client.ticketing.tickets.create( - is_debug_mode=True, - run_async=True, model=TicketRequest(), ) @@ -1108,7 +968,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[TicketsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[TicketsRetrieveRequestExpandItem, typing.Sequence[TicketsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -1123,7 +985,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[TicketsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[TicketsRetrieveRequestExpandItem, typing.Sequence[TicketsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -1154,11 +1016,6 @@ async def retrieve( import asyncio from merge import AsyncMerge - from merge.resources.ticketing.resources.tickets import ( - TicketsRetrieveRequestExpand, - TicketsRetrieveRequestRemoteFields, - TicketsRetrieveRequestShowEnumOrigins, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -1169,12 +1026,6 @@ async def retrieve( async def main() -> None: await client.ticketing.tickets.retrieve( id="id", - expand=TicketsRetrieveRequestExpand.ACCOUNT, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - remote_fields=TicketsRetrieveRequestRemoteFields.PRIORITY, - show_enum_origins=TicketsRetrieveRequestShowEnumOrigins.PRIORITY, ) @@ -1240,8 +1091,6 @@ async def partial_update( async def main() -> None: await client.ticketing.tickets.partial_update( id="id", - is_debug_mode=True, - run_async=True, model=PatchedTicketRequest(), ) @@ -1258,13 +1107,15 @@ async def viewers_list( ticket_id: str, *, cursor: typing.Optional[str] = None, - expand: typing.Optional[TicketsViewersListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[TicketsViewersListRequestExpandItem, typing.Sequence[TicketsViewersListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedViewerList: + ) -> AsyncPager[Viewer, PaginatedViewerList]: """ Returns a list of `Viewer` objects that point to a User id or Team id that is either an assignee or viewer on a `Ticket` with the given id. [Learn more.](https://help.merge.dev/en/articles/10333658-ticketing-access-control-list-acls) @@ -1275,7 +1126,7 @@ async def viewers_list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[TicketsViewersListRequestExpand] + expand : typing.Optional[typing.Union[TicketsViewersListRequestExpandItem, typing.Sequence[TicketsViewersListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -1288,14 +1139,14 @@ async def viewers_list( Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedViewerList + AsyncPager[Viewer, PaginatedViewerList] Examples @@ -1303,9 +1154,6 @@ async def viewers_list( import asyncio from merge import AsyncMerge - from merge.resources.ticketing.resources.tickets import ( - TicketsViewersListRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -1314,20 +1162,21 @@ async def viewers_list( async def main() -> None: - await client.ticketing.tickets.viewers_list( + response = await client.ticketing.tickets.viewers_list( ticket_id="ticket_id", cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=TicketsViewersListRequestExpand.TEAM, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - page_size=1, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.viewers_list( + return await self._raw_client.viewers_list( ticket_id, cursor=cursor, expand=expand, @@ -1337,7 +1186,6 @@ async def main() -> None: page_size=page_size, request_options=request_options, ) - return _response.data async def meta_patch_retrieve( self, id: str, *, request_options: typing.Optional[RequestOptions] = None @@ -1419,10 +1267,7 @@ async def meta_post_retrieve( async def main() -> None: - await client.ticketing.tickets.meta_post_retrieve( - collection_id="collection_id", - ticket_type="ticket_type", - ) + await client.ticketing.tickets.meta_post_retrieve() asyncio.run(main()) @@ -1444,7 +1289,7 @@ async def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -1472,14 +1317,14 @@ async def remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedRemoteFieldClassList + AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] Examples @@ -1495,21 +1340,20 @@ async def remote_field_classes_list( async def main() -> None: - await client.ticketing.tickets.remote_field_classes_list( + response = await client.ticketing.tickets.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - ids="ids", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.remote_field_classes_list( + return await self._raw_client.remote_field_classes_list( cursor=cursor, ids=ids, include_deleted_data=include_deleted_data, @@ -1520,4 +1364,3 @@ async def main() -> None: page_size=page_size, request_options=request_options, ) - return _response.data diff --git a/src/merge/resources/ticketing/resources/tickets/raw_client.py b/src/merge/resources/ticketing/resources/tickets/raw_client.py index b9bb7a0d..276d8cb9 100644 --- a/src/merge/resources/ticketing/resources/tickets/raw_client.py +++ b/src/merge/resources/ticketing/resources/tickets/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.meta_response import MetaResponse @@ -16,18 +17,20 @@ from ...types.paginated_ticket_list import PaginatedTicketList from ...types.paginated_viewer_list import PaginatedViewerList from ...types.patched_ticket_request import PatchedTicketRequest +from ...types.remote_field_class import RemoteFieldClass from ...types.ticket import Ticket from ...types.ticket_request import TicketRequest from ...types.ticket_response import TicketResponse -from .types.tickets_list_request_expand import TicketsListRequestExpand +from ...types.viewer import Viewer +from .types.tickets_list_request_expand_item import TicketsListRequestExpandItem from .types.tickets_list_request_priority import TicketsListRequestPriority from .types.tickets_list_request_remote_fields import TicketsListRequestRemoteFields from .types.tickets_list_request_show_enum_origins import TicketsListRequestShowEnumOrigins from .types.tickets_list_request_status import TicketsListRequestStatus -from .types.tickets_retrieve_request_expand import TicketsRetrieveRequestExpand +from .types.tickets_retrieve_request_expand_item import TicketsRetrieveRequestExpandItem from .types.tickets_retrieve_request_remote_fields import TicketsRetrieveRequestRemoteFields from .types.tickets_retrieve_request_show_enum_origins import TicketsRetrieveRequestShowEnumOrigins -from .types.tickets_viewers_list_request_expand import TicketsViewersListRequestExpand +from .types.tickets_viewers_list_request_expand_item import TicketsViewersListRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -53,7 +56,9 @@ def list( cursor: typing.Optional[str] = None, due_after: typing.Optional[dt.datetime] = None, due_before: typing.Optional[dt.datetime] = None, - expand: typing.Optional[TicketsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[TicketsListRequestExpandItem, typing.Sequence[TicketsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -76,7 +81,7 @@ def list( ticket_type: typing.Optional[str] = None, ticket_url: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedTicketList]: + ) -> SyncPager[Ticket, PaginatedTicketList]: """ Returns a list of `Ticket` objects. @@ -121,7 +126,7 @@ def list( due_before : typing.Optional[dt.datetime] If provided, will only return tickets due before this datetime. - expand : typing.Optional[TicketsListRequestExpand] + expand : typing.Optional[typing.Union[TicketsListRequestExpandItem, typing.Sequence[TicketsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -146,7 +151,7 @@ def list( If provided, will only return tickets with this name. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. parent_ticket_id : typing.Optional[str] If provided, will only return sub tickets of the parent_ticket_id. @@ -197,7 +202,7 @@ def list( Returns ------- - HttpResponse[PaginatedTicketList] + SyncPager[Ticket, PaginatedTicketList] """ _response = self._client_wrapper.httpx_client.request( @@ -252,14 +257,55 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedTicketList, construct_type( type_=PaginatedTicketList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + account_id=account_id, + assignee_ids=assignee_ids, + collection_ids=collection_ids, + completed_after=completed_after, + completed_before=completed_before, + contact_id=contact_id, + created_after=created_after, + created_before=created_before, + creator_id=creator_id, + creator_ids=creator_ids, + cursor=_parsed_next, + due_after=due_after, + due_before=due_before, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + name=name, + page_size=page_size, + parent_ticket_id=parent_ticket_id, + priority=priority, + remote_created_after=remote_created_after, + remote_created_before=remote_created_before, + remote_fields=remote_fields, + remote_id=remote_id, + remote_updated_after=remote_updated_after, + remote_updated_before=remote_updated_before, + show_enum_origins=show_enum_origins, + status=status, + tags=tags, + ticket_type=ticket_type, + ticket_url=ticket_url, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -329,7 +375,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[TicketsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[TicketsRetrieveRequestExpandItem, typing.Sequence[TicketsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -344,7 +392,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[TicketsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[TicketsRetrieveRequestExpandItem, typing.Sequence[TicketsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -466,13 +514,15 @@ def viewers_list( ticket_id: str, *, cursor: typing.Optional[str] = None, - expand: typing.Optional[TicketsViewersListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[TicketsViewersListRequestExpandItem, typing.Sequence[TicketsViewersListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedViewerList]: + ) -> SyncPager[Viewer, PaginatedViewerList]: """ Returns a list of `Viewer` objects that point to a User id or Team id that is either an assignee or viewer on a `Ticket` with the given id. [Learn more.](https://help.merge.dev/en/articles/10333658-ticketing-access-control-list-acls) @@ -483,7 +533,7 @@ def viewers_list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[TicketsViewersListRequestExpand] + expand : typing.Optional[typing.Union[TicketsViewersListRequestExpandItem, typing.Sequence[TicketsViewersListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -496,14 +546,14 @@ def viewers_list( Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - HttpResponse[PaginatedViewerList] + SyncPager[Viewer, PaginatedViewerList] """ _response = self._client_wrapper.httpx_client.request( @@ -521,14 +571,27 @@ def viewers_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedViewerList, construct_type( type_=PaginatedViewerList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.viewers_list( + ticket_id, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + page_size=page_size, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -634,7 +697,7 @@ def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedRemoteFieldClassList]: + ) -> SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -662,14 +725,14 @@ def remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - HttpResponse[PaginatedRemoteFieldClassList] + SyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] """ _response = self._client_wrapper.httpx_client.request( @@ -689,14 +752,28 @@ def remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.remote_field_classes_list( + cursor=_parsed_next, + ids=ids, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -723,7 +800,9 @@ async def list( cursor: typing.Optional[str] = None, due_after: typing.Optional[dt.datetime] = None, due_before: typing.Optional[dt.datetime] = None, - expand: typing.Optional[TicketsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[TicketsListRequestExpandItem, typing.Sequence[TicketsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -746,7 +825,7 @@ async def list( ticket_type: typing.Optional[str] = None, ticket_url: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedTicketList]: + ) -> AsyncPager[Ticket, PaginatedTicketList]: """ Returns a list of `Ticket` objects. @@ -791,7 +870,7 @@ async def list( due_before : typing.Optional[dt.datetime] If provided, will only return tickets due before this datetime. - expand : typing.Optional[TicketsListRequestExpand] + expand : typing.Optional[typing.Union[TicketsListRequestExpandItem, typing.Sequence[TicketsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -816,7 +895,7 @@ async def list( If provided, will only return tickets with this name. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. parent_ticket_id : typing.Optional[str] If provided, will only return sub tickets of the parent_ticket_id. @@ -867,7 +946,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedTicketList] + AsyncPager[Ticket, PaginatedTicketList] """ _response = await self._client_wrapper.httpx_client.request( @@ -922,14 +1001,58 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedTicketList, construct_type( type_=PaginatedTicketList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + account_id=account_id, + assignee_ids=assignee_ids, + collection_ids=collection_ids, + completed_after=completed_after, + completed_before=completed_before, + contact_id=contact_id, + created_after=created_after, + created_before=created_before, + creator_id=creator_id, + creator_ids=creator_ids, + cursor=_parsed_next, + due_after=due_after, + due_before=due_before, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + name=name, + page_size=page_size, + parent_ticket_id=parent_ticket_id, + priority=priority, + remote_created_after=remote_created_after, + remote_created_before=remote_created_before, + remote_fields=remote_fields, + remote_id=remote_id, + remote_updated_after=remote_updated_after, + remote_updated_before=remote_updated_before, + show_enum_origins=show_enum_origins, + status=status, + tags=tags, + ticket_type=ticket_type, + ticket_url=ticket_url, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -999,7 +1122,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[TicketsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[TicketsRetrieveRequestExpandItem, typing.Sequence[TicketsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -1014,7 +1139,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[TicketsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[TicketsRetrieveRequestExpandItem, typing.Sequence[TicketsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -1136,13 +1261,15 @@ async def viewers_list( ticket_id: str, *, cursor: typing.Optional[str] = None, - expand: typing.Optional[TicketsViewersListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[TicketsViewersListRequestExpandItem, typing.Sequence[TicketsViewersListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedViewerList]: + ) -> AsyncPager[Viewer, PaginatedViewerList]: """ Returns a list of `Viewer` objects that point to a User id or Team id that is either an assignee or viewer on a `Ticket` with the given id. [Learn more.](https://help.merge.dev/en/articles/10333658-ticketing-access-control-list-acls) @@ -1153,7 +1280,7 @@ async def viewers_list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[TicketsViewersListRequestExpand] + expand : typing.Optional[typing.Union[TicketsViewersListRequestExpandItem, typing.Sequence[TicketsViewersListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -1166,14 +1293,14 @@ async def viewers_list( Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - AsyncHttpResponse[PaginatedViewerList] + AsyncPager[Viewer, PaginatedViewerList] """ _response = await self._client_wrapper.httpx_client.request( @@ -1191,14 +1318,30 @@ async def viewers_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedViewerList, construct_type( type_=PaginatedViewerList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.viewers_list( + ticket_id, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -1304,7 +1447,7 @@ async def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedRemoteFieldClassList]: + ) -> AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList]: """ Returns a list of `RemoteFieldClass` objects. @@ -1332,14 +1475,14 @@ async def remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - AsyncHttpResponse[PaginatedRemoteFieldClassList] + AsyncPager[RemoteFieldClass, PaginatedRemoteFieldClassList] """ _response = await self._client_wrapper.httpx_client.request( @@ -1359,14 +1502,31 @@ async def remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.remote_field_classes_list( + cursor=_parsed_next, + ids=ids, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/ticketing/resources/tickets/types/__init__.py b/src/merge/resources/ticketing/resources/tickets/types/__init__.py index af027d4e..67329fa0 100644 --- a/src/merge/resources/ticketing/resources/tickets/types/__init__.py +++ b/src/merge/resources/ticketing/resources/tickets/types/__init__.py @@ -6,25 +6,25 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .tickets_list_request_expand import TicketsListRequestExpand + from .tickets_list_request_expand_item import TicketsListRequestExpandItem from .tickets_list_request_priority import TicketsListRequestPriority from .tickets_list_request_remote_fields import TicketsListRequestRemoteFields from .tickets_list_request_show_enum_origins import TicketsListRequestShowEnumOrigins from .tickets_list_request_status import TicketsListRequestStatus - from .tickets_retrieve_request_expand import TicketsRetrieveRequestExpand + from .tickets_retrieve_request_expand_item import TicketsRetrieveRequestExpandItem from .tickets_retrieve_request_remote_fields import TicketsRetrieveRequestRemoteFields from .tickets_retrieve_request_show_enum_origins import TicketsRetrieveRequestShowEnumOrigins - from .tickets_viewers_list_request_expand import TicketsViewersListRequestExpand + from .tickets_viewers_list_request_expand_item import TicketsViewersListRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "TicketsListRequestExpand": ".tickets_list_request_expand", + "TicketsListRequestExpandItem": ".tickets_list_request_expand_item", "TicketsListRequestPriority": ".tickets_list_request_priority", "TicketsListRequestRemoteFields": ".tickets_list_request_remote_fields", "TicketsListRequestShowEnumOrigins": ".tickets_list_request_show_enum_origins", "TicketsListRequestStatus": ".tickets_list_request_status", - "TicketsRetrieveRequestExpand": ".tickets_retrieve_request_expand", + "TicketsRetrieveRequestExpandItem": ".tickets_retrieve_request_expand_item", "TicketsRetrieveRequestRemoteFields": ".tickets_retrieve_request_remote_fields", "TicketsRetrieveRequestShowEnumOrigins": ".tickets_retrieve_request_show_enum_origins", - "TicketsViewersListRequestExpand": ".tickets_viewers_list_request_expand", + "TicketsViewersListRequestExpandItem": ".tickets_viewers_list_request_expand_item", } @@ -34,8 +34,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -48,13 +50,13 @@ def __dir__(): __all__ = [ - "TicketsListRequestExpand", + "TicketsListRequestExpandItem", "TicketsListRequestPriority", "TicketsListRequestRemoteFields", "TicketsListRequestShowEnumOrigins", "TicketsListRequestStatus", - "TicketsRetrieveRequestExpand", + "TicketsRetrieveRequestExpandItem", "TicketsRetrieveRequestRemoteFields", "TicketsRetrieveRequestShowEnumOrigins", - "TicketsViewersListRequestExpand", + "TicketsViewersListRequestExpandItem", ] diff --git a/src/merge/resources/ticketing/resources/tickets/types/tickets_list_request_expand.py b/src/merge/resources/ticketing/resources/tickets/types/tickets_list_request_expand.py deleted file mode 100644 index 77966842..00000000 --- a/src/merge/resources/ticketing/resources/tickets/types/tickets_list_request_expand.py +++ /dev/null @@ -1,1162 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class TicketsListRequestExpand(str, enum.Enum): - ACCOUNT = "account" - ACCOUNT_CONTACT = "account,contact" - ACCOUNT_CONTACT_CREATOR = "account,contact,creator" - ACCOUNT_CONTACT_CREATOR_PARENT_TICKET = "account,contact,creator,parent_ticket" - ACCOUNT_CONTACT_PARENT_TICKET = "account,contact,parent_ticket" - ACCOUNT_CREATOR = "account,creator" - ACCOUNT_CREATOR_PARENT_TICKET = "account,creator,parent_ticket" - ACCOUNT_PARENT_TICKET = "account,parent_ticket" - ASSIGNED_TEAMS = "assigned_teams" - ASSIGNED_TEAMS_ACCOUNT = "assigned_teams,account" - ASSIGNED_TEAMS_ACCOUNT_CONTACT = "assigned_teams,account,contact" - ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR = "assigned_teams,account,contact,creator" - ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET = "assigned_teams,account,contact,creator,parent_ticket" - ASSIGNED_TEAMS_ACCOUNT_CONTACT_PARENT_TICKET = "assigned_teams,account,contact,parent_ticket" - ASSIGNED_TEAMS_ACCOUNT_CREATOR = "assigned_teams,account,creator" - ASSIGNED_TEAMS_ACCOUNT_CREATOR_PARENT_TICKET = "assigned_teams,account,creator,parent_ticket" - ASSIGNED_TEAMS_ACCOUNT_PARENT_TICKET = "assigned_teams,account,parent_ticket" - ASSIGNED_TEAMS_CONTACT = "assigned_teams,contact" - ASSIGNED_TEAMS_CONTACT_CREATOR = "assigned_teams,contact,creator" - ASSIGNED_TEAMS_CONTACT_CREATOR_PARENT_TICKET = "assigned_teams,contact,creator,parent_ticket" - ASSIGNED_TEAMS_CONTACT_PARENT_TICKET = "assigned_teams,contact,parent_ticket" - ASSIGNED_TEAMS_CREATOR = "assigned_teams,creator" - ASSIGNED_TEAMS_CREATOR_PARENT_TICKET = "assigned_teams,creator,parent_ticket" - ASSIGNED_TEAMS_PARENT_TICKET = "assigned_teams,parent_ticket" - ASSIGNEES = "assignees" - ASSIGNEES_ACCOUNT = "assignees,account" - ASSIGNEES_ACCOUNT_CONTACT = "assignees,account,contact" - ASSIGNEES_ACCOUNT_CONTACT_CREATOR = "assignees,account,contact,creator" - ASSIGNEES_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET = "assignees,account,contact,creator,parent_ticket" - ASSIGNEES_ACCOUNT_CONTACT_PARENT_TICKET = "assignees,account,contact,parent_ticket" - ASSIGNEES_ACCOUNT_CREATOR = "assignees,account,creator" - ASSIGNEES_ACCOUNT_CREATOR_PARENT_TICKET = "assignees,account,creator,parent_ticket" - ASSIGNEES_ACCOUNT_PARENT_TICKET = "assignees,account,parent_ticket" - ASSIGNEES_ASSIGNED_TEAMS = "assignees,assigned_teams" - ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT = "assignees,assigned_teams,account" - ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CONTACT = "assignees,assigned_teams,account,contact" - ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR = "assignees,assigned_teams,account,contact,creator" - ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET = ( - "assignees,assigned_teams,account,contact,creator,parent_ticket" - ) - ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CONTACT_PARENT_TICKET = "assignees,assigned_teams,account,contact,parent_ticket" - ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CREATOR = "assignees,assigned_teams,account,creator" - ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CREATOR_PARENT_TICKET = "assignees,assigned_teams,account,creator,parent_ticket" - ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_PARENT_TICKET = "assignees,assigned_teams,account,parent_ticket" - ASSIGNEES_ASSIGNED_TEAMS_CONTACT = "assignees,assigned_teams,contact" - ASSIGNEES_ASSIGNED_TEAMS_CONTACT_CREATOR = "assignees,assigned_teams,contact,creator" - ASSIGNEES_ASSIGNED_TEAMS_CONTACT_CREATOR_PARENT_TICKET = "assignees,assigned_teams,contact,creator,parent_ticket" - ASSIGNEES_ASSIGNED_TEAMS_CONTACT_PARENT_TICKET = "assignees,assigned_teams,contact,parent_ticket" - ASSIGNEES_ASSIGNED_TEAMS_CREATOR = "assignees,assigned_teams,creator" - ASSIGNEES_ASSIGNED_TEAMS_CREATOR_PARENT_TICKET = "assignees,assigned_teams,creator,parent_ticket" - ASSIGNEES_ASSIGNED_TEAMS_PARENT_TICKET = "assignees,assigned_teams,parent_ticket" - ASSIGNEES_COLLECTIONS = "assignees,collections" - ASSIGNEES_COLLECTIONS_ACCOUNT = "assignees,collections,account" - ASSIGNEES_COLLECTIONS_ACCOUNT_CONTACT = "assignees,collections,account,contact" - ASSIGNEES_COLLECTIONS_ACCOUNT_CONTACT_CREATOR = "assignees,collections,account,contact,creator" - ASSIGNEES_COLLECTIONS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET = ( - "assignees,collections,account,contact,creator,parent_ticket" - ) - ASSIGNEES_COLLECTIONS_ACCOUNT_CONTACT_PARENT_TICKET = "assignees,collections,account,contact,parent_ticket" - ASSIGNEES_COLLECTIONS_ACCOUNT_CREATOR = "assignees,collections,account,creator" - ASSIGNEES_COLLECTIONS_ACCOUNT_CREATOR_PARENT_TICKET = "assignees,collections,account,creator,parent_ticket" - ASSIGNEES_COLLECTIONS_ACCOUNT_PARENT_TICKET = "assignees,collections,account,parent_ticket" - ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS = "assignees,collections,assigned_teams" - ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT = "assignees,collections,assigned_teams,account" - ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT = "assignees,collections,assigned_teams,account,contact" - ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR = ( - "assignees,collections,assigned_teams,account,contact,creator" - ) - ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET = ( - "assignees,collections,assigned_teams,account,contact,creator,parent_ticket" - ) - ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_PARENT_TICKET = ( - "assignees,collections,assigned_teams,account,contact,parent_ticket" - ) - ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CREATOR = "assignees,collections,assigned_teams,account,creator" - ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CREATOR_PARENT_TICKET = ( - "assignees,collections,assigned_teams,account,creator,parent_ticket" - ) - ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_PARENT_TICKET = ( - "assignees,collections,assigned_teams,account,parent_ticket" - ) - ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CONTACT = "assignees,collections,assigned_teams,contact" - ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CONTACT_CREATOR = "assignees,collections,assigned_teams,contact,creator" - ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CONTACT_CREATOR_PARENT_TICKET = ( - "assignees,collections,assigned_teams,contact,creator,parent_ticket" - ) - ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CONTACT_PARENT_TICKET = ( - "assignees,collections,assigned_teams,contact,parent_ticket" - ) - ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CREATOR = "assignees,collections,assigned_teams,creator" - ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CREATOR_PARENT_TICKET = ( - "assignees,collections,assigned_teams,creator,parent_ticket" - ) - ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_PARENT_TICKET = "assignees,collections,assigned_teams,parent_ticket" - ASSIGNEES_COLLECTIONS_CONTACT = "assignees,collections,contact" - ASSIGNEES_COLLECTIONS_CONTACT_CREATOR = "assignees,collections,contact,creator" - ASSIGNEES_COLLECTIONS_CONTACT_CREATOR_PARENT_TICKET = "assignees,collections,contact,creator,parent_ticket" - ASSIGNEES_COLLECTIONS_CONTACT_PARENT_TICKET = "assignees,collections,contact,parent_ticket" - ASSIGNEES_COLLECTIONS_CREATOR = "assignees,collections,creator" - ASSIGNEES_COLLECTIONS_CREATOR_PARENT_TICKET = "assignees,collections,creator,parent_ticket" - ASSIGNEES_COLLECTIONS_PARENT_TICKET = "assignees,collections,parent_ticket" - ASSIGNEES_CONTACT = "assignees,contact" - ASSIGNEES_CONTACT_CREATOR = "assignees,contact,creator" - ASSIGNEES_CONTACT_CREATOR_PARENT_TICKET = "assignees,contact,creator,parent_ticket" - ASSIGNEES_CONTACT_PARENT_TICKET = "assignees,contact,parent_ticket" - ASSIGNEES_CREATOR = "assignees,creator" - ASSIGNEES_CREATOR_PARENT_TICKET = "assignees,creator,parent_ticket" - ASSIGNEES_PARENT_TICKET = "assignees,parent_ticket" - ATTACHMENTS = "attachments" - ATTACHMENTS_ACCOUNT = "attachments,account" - ATTACHMENTS_ACCOUNT_CONTACT = "attachments,account,contact" - ATTACHMENTS_ACCOUNT_CONTACT_CREATOR = "attachments,account,contact,creator" - ATTACHMENTS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET = "attachments,account,contact,creator,parent_ticket" - ATTACHMENTS_ACCOUNT_CONTACT_PARENT_TICKET = "attachments,account,contact,parent_ticket" - ATTACHMENTS_ACCOUNT_CREATOR = "attachments,account,creator" - ATTACHMENTS_ACCOUNT_CREATOR_PARENT_TICKET = "attachments,account,creator,parent_ticket" - ATTACHMENTS_ACCOUNT_PARENT_TICKET = "attachments,account,parent_ticket" - ATTACHMENTS_ASSIGNED_TEAMS = "attachments,assigned_teams" - ATTACHMENTS_ASSIGNED_TEAMS_ACCOUNT = "attachments,assigned_teams,account" - ATTACHMENTS_ASSIGNED_TEAMS_ACCOUNT_CONTACT = "attachments,assigned_teams,account,contact" - ATTACHMENTS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR = "attachments,assigned_teams,account,contact,creator" - ATTACHMENTS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET = ( - "attachments,assigned_teams,account,contact,creator,parent_ticket" - ) - ATTACHMENTS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_PARENT_TICKET = ( - "attachments,assigned_teams,account,contact,parent_ticket" - ) - ATTACHMENTS_ASSIGNED_TEAMS_ACCOUNT_CREATOR = "attachments,assigned_teams,account,creator" - ATTACHMENTS_ASSIGNED_TEAMS_ACCOUNT_CREATOR_PARENT_TICKET = ( - "attachments,assigned_teams,account,creator,parent_ticket" - ) - ATTACHMENTS_ASSIGNED_TEAMS_ACCOUNT_PARENT_TICKET = "attachments,assigned_teams,account,parent_ticket" - ATTACHMENTS_ASSIGNED_TEAMS_CONTACT = "attachments,assigned_teams,contact" - ATTACHMENTS_ASSIGNED_TEAMS_CONTACT_CREATOR = "attachments,assigned_teams,contact,creator" - ATTACHMENTS_ASSIGNED_TEAMS_CONTACT_CREATOR_PARENT_TICKET = ( - "attachments,assigned_teams,contact,creator,parent_ticket" - ) - ATTACHMENTS_ASSIGNED_TEAMS_CONTACT_PARENT_TICKET = "attachments,assigned_teams,contact,parent_ticket" - ATTACHMENTS_ASSIGNED_TEAMS_CREATOR = "attachments,assigned_teams,creator" - ATTACHMENTS_ASSIGNED_TEAMS_CREATOR_PARENT_TICKET = "attachments,assigned_teams,creator,parent_ticket" - ATTACHMENTS_ASSIGNED_TEAMS_PARENT_TICKET = "attachments,assigned_teams,parent_ticket" - ATTACHMENTS_ASSIGNEES = "attachments,assignees" - ATTACHMENTS_ASSIGNEES_ACCOUNT = "attachments,assignees,account" - ATTACHMENTS_ASSIGNEES_ACCOUNT_CONTACT = "attachments,assignees,account,contact" - ATTACHMENTS_ASSIGNEES_ACCOUNT_CONTACT_CREATOR = "attachments,assignees,account,contact,creator" - ATTACHMENTS_ASSIGNEES_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET = ( - "attachments,assignees,account,contact,creator,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_ACCOUNT_CONTACT_PARENT_TICKET = "attachments,assignees,account,contact,parent_ticket" - ATTACHMENTS_ASSIGNEES_ACCOUNT_CREATOR = "attachments,assignees,account,creator" - ATTACHMENTS_ASSIGNEES_ACCOUNT_CREATOR_PARENT_TICKET = "attachments,assignees,account,creator,parent_ticket" - ATTACHMENTS_ASSIGNEES_ACCOUNT_PARENT_TICKET = "attachments,assignees,account,parent_ticket" - ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS = "attachments,assignees,assigned_teams" - ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT = "attachments,assignees,assigned_teams,account" - ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CONTACT = "attachments,assignees,assigned_teams,account,contact" - ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR = ( - "attachments,assignees,assigned_teams,account,contact,creator" - ) - ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET = ( - "attachments,assignees,assigned_teams,account,contact,creator,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CONTACT_PARENT_TICKET = ( - "attachments,assignees,assigned_teams,account,contact,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CREATOR = "attachments,assignees,assigned_teams,account,creator" - ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CREATOR_PARENT_TICKET = ( - "attachments,assignees,assigned_teams,account,creator,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_PARENT_TICKET = ( - "attachments,assignees,assigned_teams,account,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_CONTACT = "attachments,assignees,assigned_teams,contact" - ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_CONTACT_CREATOR = "attachments,assignees,assigned_teams,contact,creator" - ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_CONTACT_CREATOR_PARENT_TICKET = ( - "attachments,assignees,assigned_teams,contact,creator,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_CONTACT_PARENT_TICKET = ( - "attachments,assignees,assigned_teams,contact,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_CREATOR = "attachments,assignees,assigned_teams,creator" - ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_CREATOR_PARENT_TICKET = ( - "attachments,assignees,assigned_teams,creator,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_PARENT_TICKET = "attachments,assignees,assigned_teams,parent_ticket" - ATTACHMENTS_ASSIGNEES_COLLECTIONS = "attachments,assignees,collections" - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ACCOUNT = "attachments,assignees,collections,account" - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ACCOUNT_CONTACT = "attachments,assignees,collections,account,contact" - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ACCOUNT_CONTACT_CREATOR = ( - "attachments,assignees,collections,account,contact,creator" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET = ( - "attachments,assignees,collections,account,contact,creator,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ACCOUNT_CONTACT_PARENT_TICKET = ( - "attachments,assignees,collections,account,contact,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ACCOUNT_CREATOR = "attachments,assignees,collections,account,creator" - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ACCOUNT_CREATOR_PARENT_TICKET = ( - "attachments,assignees,collections,account,creator,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ACCOUNT_PARENT_TICKET = "attachments,assignees,collections,account,parent_ticket" - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS = "attachments,assignees,collections,assigned_teams" - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT = ( - "attachments,assignees,collections,assigned_teams,account" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT = ( - "attachments,assignees,collections,assigned_teams,account,contact" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR = ( - "attachments,assignees,collections,assigned_teams,account,contact,creator" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET = ( - "attachments,assignees,collections,assigned_teams,account,contact,creator,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_PARENT_TICKET = ( - "attachments,assignees,collections,assigned_teams,account,contact,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CREATOR = ( - "attachments,assignees,collections,assigned_teams,account,creator" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CREATOR_PARENT_TICKET = ( - "attachments,assignees,collections,assigned_teams,account,creator,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_PARENT_TICKET = ( - "attachments,assignees,collections,assigned_teams,account,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CONTACT = ( - "attachments,assignees,collections,assigned_teams,contact" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CONTACT_CREATOR = ( - "attachments,assignees,collections,assigned_teams,contact,creator" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CONTACT_CREATOR_PARENT_TICKET = ( - "attachments,assignees,collections,assigned_teams,contact,creator,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CONTACT_PARENT_TICKET = ( - "attachments,assignees,collections,assigned_teams,contact,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CREATOR = ( - "attachments,assignees,collections,assigned_teams,creator" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CREATOR_PARENT_TICKET = ( - "attachments,assignees,collections,assigned_teams,creator,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_PARENT_TICKET = ( - "attachments,assignees,collections,assigned_teams,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_CONTACT = "attachments,assignees,collections,contact" - ATTACHMENTS_ASSIGNEES_COLLECTIONS_CONTACT_CREATOR = "attachments,assignees,collections,contact,creator" - ATTACHMENTS_ASSIGNEES_COLLECTIONS_CONTACT_CREATOR_PARENT_TICKET = ( - "attachments,assignees,collections,contact,creator,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_CONTACT_PARENT_TICKET = "attachments,assignees,collections,contact,parent_ticket" - ATTACHMENTS_ASSIGNEES_COLLECTIONS_CREATOR = "attachments,assignees,collections,creator" - ATTACHMENTS_ASSIGNEES_COLLECTIONS_CREATOR_PARENT_TICKET = "attachments,assignees,collections,creator,parent_ticket" - ATTACHMENTS_ASSIGNEES_COLLECTIONS_PARENT_TICKET = "attachments,assignees,collections,parent_ticket" - ATTACHMENTS_ASSIGNEES_CONTACT = "attachments,assignees,contact" - ATTACHMENTS_ASSIGNEES_CONTACT_CREATOR = "attachments,assignees,contact,creator" - ATTACHMENTS_ASSIGNEES_CONTACT_CREATOR_PARENT_TICKET = "attachments,assignees,contact,creator,parent_ticket" - ATTACHMENTS_ASSIGNEES_CONTACT_PARENT_TICKET = "attachments,assignees,contact,parent_ticket" - ATTACHMENTS_ASSIGNEES_CREATOR = "attachments,assignees,creator" - ATTACHMENTS_ASSIGNEES_CREATOR_PARENT_TICKET = "attachments,assignees,creator,parent_ticket" - ATTACHMENTS_ASSIGNEES_PARENT_TICKET = "attachments,assignees,parent_ticket" - ATTACHMENTS_COLLECTIONS = "attachments,collections" - ATTACHMENTS_COLLECTIONS_ACCOUNT = "attachments,collections,account" - ATTACHMENTS_COLLECTIONS_ACCOUNT_CONTACT = "attachments,collections,account,contact" - ATTACHMENTS_COLLECTIONS_ACCOUNT_CONTACT_CREATOR = "attachments,collections,account,contact,creator" - ATTACHMENTS_COLLECTIONS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET = ( - "attachments,collections,account,contact,creator,parent_ticket" - ) - ATTACHMENTS_COLLECTIONS_ACCOUNT_CONTACT_PARENT_TICKET = "attachments,collections,account,contact,parent_ticket" - ATTACHMENTS_COLLECTIONS_ACCOUNT_CREATOR = "attachments,collections,account,creator" - ATTACHMENTS_COLLECTIONS_ACCOUNT_CREATOR_PARENT_TICKET = "attachments,collections,account,creator,parent_ticket" - ATTACHMENTS_COLLECTIONS_ACCOUNT_PARENT_TICKET = "attachments,collections,account,parent_ticket" - ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS = "attachments,collections,assigned_teams" - ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT = "attachments,collections,assigned_teams,account" - ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT = "attachments,collections,assigned_teams,account,contact" - ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR = ( - "attachments,collections,assigned_teams,account,contact,creator" - ) - ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET = ( - "attachments,collections,assigned_teams,account,contact,creator,parent_ticket" - ) - ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_PARENT_TICKET = ( - "attachments,collections,assigned_teams,account,contact,parent_ticket" - ) - ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CREATOR = "attachments,collections,assigned_teams,account,creator" - ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CREATOR_PARENT_TICKET = ( - "attachments,collections,assigned_teams,account,creator,parent_ticket" - ) - ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_PARENT_TICKET = ( - "attachments,collections,assigned_teams,account,parent_ticket" - ) - ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_CONTACT = "attachments,collections,assigned_teams,contact" - ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_CONTACT_CREATOR = "attachments,collections,assigned_teams,contact,creator" - ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_CONTACT_CREATOR_PARENT_TICKET = ( - "attachments,collections,assigned_teams,contact,creator,parent_ticket" - ) - ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_CONTACT_PARENT_TICKET = ( - "attachments,collections,assigned_teams,contact,parent_ticket" - ) - ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_CREATOR = "attachments,collections,assigned_teams,creator" - ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_CREATOR_PARENT_TICKET = ( - "attachments,collections,assigned_teams,creator,parent_ticket" - ) - ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_PARENT_TICKET = "attachments,collections,assigned_teams,parent_ticket" - ATTACHMENTS_COLLECTIONS_CONTACT = "attachments,collections,contact" - ATTACHMENTS_COLLECTIONS_CONTACT_CREATOR = "attachments,collections,contact,creator" - ATTACHMENTS_COLLECTIONS_CONTACT_CREATOR_PARENT_TICKET = "attachments,collections,contact,creator,parent_ticket" - ATTACHMENTS_COLLECTIONS_CONTACT_PARENT_TICKET = "attachments,collections,contact,parent_ticket" - ATTACHMENTS_COLLECTIONS_CREATOR = "attachments,collections,creator" - ATTACHMENTS_COLLECTIONS_CREATOR_PARENT_TICKET = "attachments,collections,creator,parent_ticket" - ATTACHMENTS_COLLECTIONS_PARENT_TICKET = "attachments,collections,parent_ticket" - ATTACHMENTS_CONTACT = "attachments,contact" - ATTACHMENTS_CONTACT_CREATOR = "attachments,contact,creator" - ATTACHMENTS_CONTACT_CREATOR_PARENT_TICKET = "attachments,contact,creator,parent_ticket" - ATTACHMENTS_CONTACT_PARENT_TICKET = "attachments,contact,parent_ticket" - ATTACHMENTS_CREATOR = "attachments,creator" - ATTACHMENTS_CREATOR_PARENT_TICKET = "attachments,creator,parent_ticket" - ATTACHMENTS_PARENT_TICKET = "attachments,parent_ticket" - COLLECTIONS = "collections" - COLLECTIONS_ACCOUNT = "collections,account" - COLLECTIONS_ACCOUNT_CONTACT = "collections,account,contact" - COLLECTIONS_ACCOUNT_CONTACT_CREATOR = "collections,account,contact,creator" - COLLECTIONS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET = "collections,account,contact,creator,parent_ticket" - COLLECTIONS_ACCOUNT_CONTACT_PARENT_TICKET = "collections,account,contact,parent_ticket" - COLLECTIONS_ACCOUNT_CREATOR = "collections,account,creator" - COLLECTIONS_ACCOUNT_CREATOR_PARENT_TICKET = "collections,account,creator,parent_ticket" - COLLECTIONS_ACCOUNT_PARENT_TICKET = "collections,account,parent_ticket" - COLLECTIONS_ASSIGNED_TEAMS = "collections,assigned_teams" - COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT = "collections,assigned_teams,account" - COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT = "collections,assigned_teams,account,contact" - COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR = "collections,assigned_teams,account,contact,creator" - COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET = ( - "collections,assigned_teams,account,contact,creator,parent_ticket" - ) - COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_PARENT_TICKET = ( - "collections,assigned_teams,account,contact,parent_ticket" - ) - COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CREATOR = "collections,assigned_teams,account,creator" - COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CREATOR_PARENT_TICKET = ( - "collections,assigned_teams,account,creator,parent_ticket" - ) - COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_PARENT_TICKET = "collections,assigned_teams,account,parent_ticket" - COLLECTIONS_ASSIGNED_TEAMS_CONTACT = "collections,assigned_teams,contact" - COLLECTIONS_ASSIGNED_TEAMS_CONTACT_CREATOR = "collections,assigned_teams,contact,creator" - COLLECTIONS_ASSIGNED_TEAMS_CONTACT_CREATOR_PARENT_TICKET = ( - "collections,assigned_teams,contact,creator,parent_ticket" - ) - COLLECTIONS_ASSIGNED_TEAMS_CONTACT_PARENT_TICKET = "collections,assigned_teams,contact,parent_ticket" - COLLECTIONS_ASSIGNED_TEAMS_CREATOR = "collections,assigned_teams,creator" - COLLECTIONS_ASSIGNED_TEAMS_CREATOR_PARENT_TICKET = "collections,assigned_teams,creator,parent_ticket" - COLLECTIONS_ASSIGNED_TEAMS_PARENT_TICKET = "collections,assigned_teams,parent_ticket" - COLLECTIONS_CONTACT = "collections,contact" - COLLECTIONS_CONTACT_CREATOR = "collections,contact,creator" - COLLECTIONS_CONTACT_CREATOR_PARENT_TICKET = "collections,contact,creator,parent_ticket" - COLLECTIONS_CONTACT_PARENT_TICKET = "collections,contact,parent_ticket" - COLLECTIONS_CREATOR = "collections,creator" - COLLECTIONS_CREATOR_PARENT_TICKET = "collections,creator,parent_ticket" - COLLECTIONS_PARENT_TICKET = "collections,parent_ticket" - CONTACT = "contact" - CONTACT_CREATOR = "contact,creator" - CONTACT_CREATOR_PARENT_TICKET = "contact,creator,parent_ticket" - CONTACT_PARENT_TICKET = "contact,parent_ticket" - CREATOR = "creator" - CREATOR_PARENT_TICKET = "creator,parent_ticket" - PARENT_TICKET = "parent_ticket" - - def visit( - self, - account: typing.Callable[[], T_Result], - account_contact: typing.Callable[[], T_Result], - account_contact_creator: typing.Callable[[], T_Result], - account_contact_creator_parent_ticket: typing.Callable[[], T_Result], - account_contact_parent_ticket: typing.Callable[[], T_Result], - account_creator: typing.Callable[[], T_Result], - account_creator_parent_ticket: typing.Callable[[], T_Result], - account_parent_ticket: typing.Callable[[], T_Result], - assigned_teams: typing.Callable[[], T_Result], - assigned_teams_account: typing.Callable[[], T_Result], - assigned_teams_account_contact: typing.Callable[[], T_Result], - assigned_teams_account_contact_creator: typing.Callable[[], T_Result], - assigned_teams_account_contact_creator_parent_ticket: typing.Callable[[], T_Result], - assigned_teams_account_contact_parent_ticket: typing.Callable[[], T_Result], - assigned_teams_account_creator: typing.Callable[[], T_Result], - assigned_teams_account_creator_parent_ticket: typing.Callable[[], T_Result], - assigned_teams_account_parent_ticket: typing.Callable[[], T_Result], - assigned_teams_contact: typing.Callable[[], T_Result], - assigned_teams_contact_creator: typing.Callable[[], T_Result], - assigned_teams_contact_creator_parent_ticket: typing.Callable[[], T_Result], - assigned_teams_contact_parent_ticket: typing.Callable[[], T_Result], - assigned_teams_creator: typing.Callable[[], T_Result], - assigned_teams_creator_parent_ticket: typing.Callable[[], T_Result], - assigned_teams_parent_ticket: typing.Callable[[], T_Result], - assignees: typing.Callable[[], T_Result], - assignees_account: typing.Callable[[], T_Result], - assignees_account_contact: typing.Callable[[], T_Result], - assignees_account_contact_creator: typing.Callable[[], T_Result], - assignees_account_contact_creator_parent_ticket: typing.Callable[[], T_Result], - assignees_account_contact_parent_ticket: typing.Callable[[], T_Result], - assignees_account_creator: typing.Callable[[], T_Result], - assignees_account_creator_parent_ticket: typing.Callable[[], T_Result], - assignees_account_parent_ticket: typing.Callable[[], T_Result], - assignees_assigned_teams: typing.Callable[[], T_Result], - assignees_assigned_teams_account: typing.Callable[[], T_Result], - assignees_assigned_teams_account_contact: typing.Callable[[], T_Result], - assignees_assigned_teams_account_contact_creator: typing.Callable[[], T_Result], - assignees_assigned_teams_account_contact_creator_parent_ticket: typing.Callable[[], T_Result], - assignees_assigned_teams_account_contact_parent_ticket: typing.Callable[[], T_Result], - assignees_assigned_teams_account_creator: typing.Callable[[], T_Result], - assignees_assigned_teams_account_creator_parent_ticket: typing.Callable[[], T_Result], - assignees_assigned_teams_account_parent_ticket: typing.Callable[[], T_Result], - assignees_assigned_teams_contact: typing.Callable[[], T_Result], - assignees_assigned_teams_contact_creator: typing.Callable[[], T_Result], - assignees_assigned_teams_contact_creator_parent_ticket: typing.Callable[[], T_Result], - assignees_assigned_teams_contact_parent_ticket: typing.Callable[[], T_Result], - assignees_assigned_teams_creator: typing.Callable[[], T_Result], - assignees_assigned_teams_creator_parent_ticket: typing.Callable[[], T_Result], - assignees_assigned_teams_parent_ticket: typing.Callable[[], T_Result], - assignees_collections: typing.Callable[[], T_Result], - assignees_collections_account: typing.Callable[[], T_Result], - assignees_collections_account_contact: typing.Callable[[], T_Result], - assignees_collections_account_contact_creator: typing.Callable[[], T_Result], - assignees_collections_account_contact_creator_parent_ticket: typing.Callable[[], T_Result], - assignees_collections_account_contact_parent_ticket: typing.Callable[[], T_Result], - assignees_collections_account_creator: typing.Callable[[], T_Result], - assignees_collections_account_creator_parent_ticket: typing.Callable[[], T_Result], - assignees_collections_account_parent_ticket: typing.Callable[[], T_Result], - assignees_collections_assigned_teams: typing.Callable[[], T_Result], - assignees_collections_assigned_teams_account: typing.Callable[[], T_Result], - assignees_collections_assigned_teams_account_contact: typing.Callable[[], T_Result], - assignees_collections_assigned_teams_account_contact_creator: typing.Callable[[], T_Result], - assignees_collections_assigned_teams_account_contact_creator_parent_ticket: typing.Callable[[], T_Result], - assignees_collections_assigned_teams_account_contact_parent_ticket: typing.Callable[[], T_Result], - assignees_collections_assigned_teams_account_creator: typing.Callable[[], T_Result], - assignees_collections_assigned_teams_account_creator_parent_ticket: typing.Callable[[], T_Result], - assignees_collections_assigned_teams_account_parent_ticket: typing.Callable[[], T_Result], - assignees_collections_assigned_teams_contact: typing.Callable[[], T_Result], - assignees_collections_assigned_teams_contact_creator: typing.Callable[[], T_Result], - assignees_collections_assigned_teams_contact_creator_parent_ticket: typing.Callable[[], T_Result], - assignees_collections_assigned_teams_contact_parent_ticket: typing.Callable[[], T_Result], - assignees_collections_assigned_teams_creator: typing.Callable[[], T_Result], - assignees_collections_assigned_teams_creator_parent_ticket: typing.Callable[[], T_Result], - assignees_collections_assigned_teams_parent_ticket: typing.Callable[[], T_Result], - assignees_collections_contact: typing.Callable[[], T_Result], - assignees_collections_contact_creator: typing.Callable[[], T_Result], - assignees_collections_contact_creator_parent_ticket: typing.Callable[[], T_Result], - assignees_collections_contact_parent_ticket: typing.Callable[[], T_Result], - assignees_collections_creator: typing.Callable[[], T_Result], - assignees_collections_creator_parent_ticket: typing.Callable[[], T_Result], - assignees_collections_parent_ticket: typing.Callable[[], T_Result], - assignees_contact: typing.Callable[[], T_Result], - assignees_contact_creator: typing.Callable[[], T_Result], - assignees_contact_creator_parent_ticket: typing.Callable[[], T_Result], - assignees_contact_parent_ticket: typing.Callable[[], T_Result], - assignees_creator: typing.Callable[[], T_Result], - assignees_creator_parent_ticket: typing.Callable[[], T_Result], - assignees_parent_ticket: typing.Callable[[], T_Result], - attachments: typing.Callable[[], T_Result], - attachments_account: typing.Callable[[], T_Result], - attachments_account_contact: typing.Callable[[], T_Result], - attachments_account_contact_creator: typing.Callable[[], T_Result], - attachments_account_contact_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_account_contact_parent_ticket: typing.Callable[[], T_Result], - attachments_account_creator: typing.Callable[[], T_Result], - attachments_account_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_account_parent_ticket: typing.Callable[[], T_Result], - attachments_assigned_teams: typing.Callable[[], T_Result], - attachments_assigned_teams_account: typing.Callable[[], T_Result], - attachments_assigned_teams_account_contact: typing.Callable[[], T_Result], - attachments_assigned_teams_account_contact_creator: typing.Callable[[], T_Result], - attachments_assigned_teams_account_contact_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assigned_teams_account_contact_parent_ticket: typing.Callable[[], T_Result], - attachments_assigned_teams_account_creator: typing.Callable[[], T_Result], - attachments_assigned_teams_account_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assigned_teams_account_parent_ticket: typing.Callable[[], T_Result], - attachments_assigned_teams_contact: typing.Callable[[], T_Result], - attachments_assigned_teams_contact_creator: typing.Callable[[], T_Result], - attachments_assigned_teams_contact_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assigned_teams_contact_parent_ticket: typing.Callable[[], T_Result], - attachments_assigned_teams_creator: typing.Callable[[], T_Result], - attachments_assigned_teams_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assigned_teams_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees: typing.Callable[[], T_Result], - attachments_assignees_account: typing.Callable[[], T_Result], - attachments_assignees_account_contact: typing.Callable[[], T_Result], - attachments_assignees_account_contact_creator: typing.Callable[[], T_Result], - attachments_assignees_account_contact_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_account_contact_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_account_creator: typing.Callable[[], T_Result], - attachments_assignees_account_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_account_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_assigned_teams: typing.Callable[[], T_Result], - attachments_assignees_assigned_teams_account: typing.Callable[[], T_Result], - attachments_assignees_assigned_teams_account_contact: typing.Callable[[], T_Result], - attachments_assignees_assigned_teams_account_contact_creator: typing.Callable[[], T_Result], - attachments_assignees_assigned_teams_account_contact_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_assigned_teams_account_contact_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_assigned_teams_account_creator: typing.Callable[[], T_Result], - attachments_assignees_assigned_teams_account_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_assigned_teams_account_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_assigned_teams_contact: typing.Callable[[], T_Result], - attachments_assignees_assigned_teams_contact_creator: typing.Callable[[], T_Result], - attachments_assignees_assigned_teams_contact_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_assigned_teams_contact_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_assigned_teams_creator: typing.Callable[[], T_Result], - attachments_assignees_assigned_teams_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_assigned_teams_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_collections: typing.Callable[[], T_Result], - attachments_assignees_collections_account: typing.Callable[[], T_Result], - attachments_assignees_collections_account_contact: typing.Callable[[], T_Result], - attachments_assignees_collections_account_contact_creator: typing.Callable[[], T_Result], - attachments_assignees_collections_account_contact_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_collections_account_contact_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_collections_account_creator: typing.Callable[[], T_Result], - attachments_assignees_collections_account_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_collections_account_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_collections_assigned_teams: typing.Callable[[], T_Result], - attachments_assignees_collections_assigned_teams_account: typing.Callable[[], T_Result], - attachments_assignees_collections_assigned_teams_account_contact: typing.Callable[[], T_Result], - attachments_assignees_collections_assigned_teams_account_contact_creator: typing.Callable[[], T_Result], - attachments_assignees_collections_assigned_teams_account_contact_creator_parent_ticket: typing.Callable[ - [], T_Result - ], - attachments_assignees_collections_assigned_teams_account_contact_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_collections_assigned_teams_account_creator: typing.Callable[[], T_Result], - attachments_assignees_collections_assigned_teams_account_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_collections_assigned_teams_account_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_collections_assigned_teams_contact: typing.Callable[[], T_Result], - attachments_assignees_collections_assigned_teams_contact_creator: typing.Callable[[], T_Result], - attachments_assignees_collections_assigned_teams_contact_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_collections_assigned_teams_contact_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_collections_assigned_teams_creator: typing.Callable[[], T_Result], - attachments_assignees_collections_assigned_teams_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_collections_assigned_teams_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_collections_contact: typing.Callable[[], T_Result], - attachments_assignees_collections_contact_creator: typing.Callable[[], T_Result], - attachments_assignees_collections_contact_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_collections_contact_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_collections_creator: typing.Callable[[], T_Result], - attachments_assignees_collections_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_collections_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_contact: typing.Callable[[], T_Result], - attachments_assignees_contact_creator: typing.Callable[[], T_Result], - attachments_assignees_contact_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_contact_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_creator: typing.Callable[[], T_Result], - attachments_assignees_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_parent_ticket: typing.Callable[[], T_Result], - attachments_collections: typing.Callable[[], T_Result], - attachments_collections_account: typing.Callable[[], T_Result], - attachments_collections_account_contact: typing.Callable[[], T_Result], - attachments_collections_account_contact_creator: typing.Callable[[], T_Result], - attachments_collections_account_contact_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_collections_account_contact_parent_ticket: typing.Callable[[], T_Result], - attachments_collections_account_creator: typing.Callable[[], T_Result], - attachments_collections_account_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_collections_account_parent_ticket: typing.Callable[[], T_Result], - attachments_collections_assigned_teams: typing.Callable[[], T_Result], - attachments_collections_assigned_teams_account: typing.Callable[[], T_Result], - attachments_collections_assigned_teams_account_contact: typing.Callable[[], T_Result], - attachments_collections_assigned_teams_account_contact_creator: typing.Callable[[], T_Result], - attachments_collections_assigned_teams_account_contact_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_collections_assigned_teams_account_contact_parent_ticket: typing.Callable[[], T_Result], - attachments_collections_assigned_teams_account_creator: typing.Callable[[], T_Result], - attachments_collections_assigned_teams_account_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_collections_assigned_teams_account_parent_ticket: typing.Callable[[], T_Result], - attachments_collections_assigned_teams_contact: typing.Callable[[], T_Result], - attachments_collections_assigned_teams_contact_creator: typing.Callable[[], T_Result], - attachments_collections_assigned_teams_contact_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_collections_assigned_teams_contact_parent_ticket: typing.Callable[[], T_Result], - attachments_collections_assigned_teams_creator: typing.Callable[[], T_Result], - attachments_collections_assigned_teams_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_collections_assigned_teams_parent_ticket: typing.Callable[[], T_Result], - attachments_collections_contact: typing.Callable[[], T_Result], - attachments_collections_contact_creator: typing.Callable[[], T_Result], - attachments_collections_contact_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_collections_contact_parent_ticket: typing.Callable[[], T_Result], - attachments_collections_creator: typing.Callable[[], T_Result], - attachments_collections_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_collections_parent_ticket: typing.Callable[[], T_Result], - attachments_contact: typing.Callable[[], T_Result], - attachments_contact_creator: typing.Callable[[], T_Result], - attachments_contact_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_contact_parent_ticket: typing.Callable[[], T_Result], - attachments_creator: typing.Callable[[], T_Result], - attachments_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_parent_ticket: typing.Callable[[], T_Result], - collections: typing.Callable[[], T_Result], - collections_account: typing.Callable[[], T_Result], - collections_account_contact: typing.Callable[[], T_Result], - collections_account_contact_creator: typing.Callable[[], T_Result], - collections_account_contact_creator_parent_ticket: typing.Callable[[], T_Result], - collections_account_contact_parent_ticket: typing.Callable[[], T_Result], - collections_account_creator: typing.Callable[[], T_Result], - collections_account_creator_parent_ticket: typing.Callable[[], T_Result], - collections_account_parent_ticket: typing.Callable[[], T_Result], - collections_assigned_teams: typing.Callable[[], T_Result], - collections_assigned_teams_account: typing.Callable[[], T_Result], - collections_assigned_teams_account_contact: typing.Callable[[], T_Result], - collections_assigned_teams_account_contact_creator: typing.Callable[[], T_Result], - collections_assigned_teams_account_contact_creator_parent_ticket: typing.Callable[[], T_Result], - collections_assigned_teams_account_contact_parent_ticket: typing.Callable[[], T_Result], - collections_assigned_teams_account_creator: typing.Callable[[], T_Result], - collections_assigned_teams_account_creator_parent_ticket: typing.Callable[[], T_Result], - collections_assigned_teams_account_parent_ticket: typing.Callable[[], T_Result], - collections_assigned_teams_contact: typing.Callable[[], T_Result], - collections_assigned_teams_contact_creator: typing.Callable[[], T_Result], - collections_assigned_teams_contact_creator_parent_ticket: typing.Callable[[], T_Result], - collections_assigned_teams_contact_parent_ticket: typing.Callable[[], T_Result], - collections_assigned_teams_creator: typing.Callable[[], T_Result], - collections_assigned_teams_creator_parent_ticket: typing.Callable[[], T_Result], - collections_assigned_teams_parent_ticket: typing.Callable[[], T_Result], - collections_contact: typing.Callable[[], T_Result], - collections_contact_creator: typing.Callable[[], T_Result], - collections_contact_creator_parent_ticket: typing.Callable[[], T_Result], - collections_contact_parent_ticket: typing.Callable[[], T_Result], - collections_creator: typing.Callable[[], T_Result], - collections_creator_parent_ticket: typing.Callable[[], T_Result], - collections_parent_ticket: typing.Callable[[], T_Result], - contact: typing.Callable[[], T_Result], - contact_creator: typing.Callable[[], T_Result], - contact_creator_parent_ticket: typing.Callable[[], T_Result], - contact_parent_ticket: typing.Callable[[], T_Result], - creator: typing.Callable[[], T_Result], - creator_parent_ticket: typing.Callable[[], T_Result], - parent_ticket: typing.Callable[[], T_Result], - ) -> T_Result: - if self is TicketsListRequestExpand.ACCOUNT: - return account() - if self is TicketsListRequestExpand.ACCOUNT_CONTACT: - return account_contact() - if self is TicketsListRequestExpand.ACCOUNT_CONTACT_CREATOR: - return account_contact_creator() - if self is TicketsListRequestExpand.ACCOUNT_CONTACT_CREATOR_PARENT_TICKET: - return account_contact_creator_parent_ticket() - if self is TicketsListRequestExpand.ACCOUNT_CONTACT_PARENT_TICKET: - return account_contact_parent_ticket() - if self is TicketsListRequestExpand.ACCOUNT_CREATOR: - return account_creator() - if self is TicketsListRequestExpand.ACCOUNT_CREATOR_PARENT_TICKET: - return account_creator_parent_ticket() - if self is TicketsListRequestExpand.ACCOUNT_PARENT_TICKET: - return account_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNED_TEAMS: - return assigned_teams() - if self is TicketsListRequestExpand.ASSIGNED_TEAMS_ACCOUNT: - return assigned_teams_account() - if self is TicketsListRequestExpand.ASSIGNED_TEAMS_ACCOUNT_CONTACT: - return assigned_teams_account_contact() - if self is TicketsListRequestExpand.ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR: - return assigned_teams_account_contact_creator() - if self is TicketsListRequestExpand.ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET: - return assigned_teams_account_contact_creator_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNED_TEAMS_ACCOUNT_CONTACT_PARENT_TICKET: - return assigned_teams_account_contact_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNED_TEAMS_ACCOUNT_CREATOR: - return assigned_teams_account_creator() - if self is TicketsListRequestExpand.ASSIGNED_TEAMS_ACCOUNT_CREATOR_PARENT_TICKET: - return assigned_teams_account_creator_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNED_TEAMS_ACCOUNT_PARENT_TICKET: - return assigned_teams_account_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNED_TEAMS_CONTACT: - return assigned_teams_contact() - if self is TicketsListRequestExpand.ASSIGNED_TEAMS_CONTACT_CREATOR: - return assigned_teams_contact_creator() - if self is TicketsListRequestExpand.ASSIGNED_TEAMS_CONTACT_CREATOR_PARENT_TICKET: - return assigned_teams_contact_creator_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNED_TEAMS_CONTACT_PARENT_TICKET: - return assigned_teams_contact_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNED_TEAMS_CREATOR: - return assigned_teams_creator() - if self is TicketsListRequestExpand.ASSIGNED_TEAMS_CREATOR_PARENT_TICKET: - return assigned_teams_creator_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNED_TEAMS_PARENT_TICKET: - return assigned_teams_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNEES: - return assignees() - if self is TicketsListRequestExpand.ASSIGNEES_ACCOUNT: - return assignees_account() - if self is TicketsListRequestExpand.ASSIGNEES_ACCOUNT_CONTACT: - return assignees_account_contact() - if self is TicketsListRequestExpand.ASSIGNEES_ACCOUNT_CONTACT_CREATOR: - return assignees_account_contact_creator() - if self is TicketsListRequestExpand.ASSIGNEES_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET: - return assignees_account_contact_creator_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNEES_ACCOUNT_CONTACT_PARENT_TICKET: - return assignees_account_contact_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNEES_ACCOUNT_CREATOR: - return assignees_account_creator() - if self is TicketsListRequestExpand.ASSIGNEES_ACCOUNT_CREATOR_PARENT_TICKET: - return assignees_account_creator_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNEES_ACCOUNT_PARENT_TICKET: - return assignees_account_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNEES_ASSIGNED_TEAMS: - return assignees_assigned_teams() - if self is TicketsListRequestExpand.ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT: - return assignees_assigned_teams_account() - if self is TicketsListRequestExpand.ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CONTACT: - return assignees_assigned_teams_account_contact() - if self is TicketsListRequestExpand.ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR: - return assignees_assigned_teams_account_contact_creator() - if self is TicketsListRequestExpand.ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET: - return assignees_assigned_teams_account_contact_creator_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CONTACT_PARENT_TICKET: - return assignees_assigned_teams_account_contact_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CREATOR: - return assignees_assigned_teams_account_creator() - if self is TicketsListRequestExpand.ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CREATOR_PARENT_TICKET: - return assignees_assigned_teams_account_creator_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_PARENT_TICKET: - return assignees_assigned_teams_account_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNEES_ASSIGNED_TEAMS_CONTACT: - return assignees_assigned_teams_contact() - if self is TicketsListRequestExpand.ASSIGNEES_ASSIGNED_TEAMS_CONTACT_CREATOR: - return assignees_assigned_teams_contact_creator() - if self is TicketsListRequestExpand.ASSIGNEES_ASSIGNED_TEAMS_CONTACT_CREATOR_PARENT_TICKET: - return assignees_assigned_teams_contact_creator_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNEES_ASSIGNED_TEAMS_CONTACT_PARENT_TICKET: - return assignees_assigned_teams_contact_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNEES_ASSIGNED_TEAMS_CREATOR: - return assignees_assigned_teams_creator() - if self is TicketsListRequestExpand.ASSIGNEES_ASSIGNED_TEAMS_CREATOR_PARENT_TICKET: - return assignees_assigned_teams_creator_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNEES_ASSIGNED_TEAMS_PARENT_TICKET: - return assignees_assigned_teams_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNEES_COLLECTIONS: - return assignees_collections() - if self is TicketsListRequestExpand.ASSIGNEES_COLLECTIONS_ACCOUNT: - return assignees_collections_account() - if self is TicketsListRequestExpand.ASSIGNEES_COLLECTIONS_ACCOUNT_CONTACT: - return assignees_collections_account_contact() - if self is TicketsListRequestExpand.ASSIGNEES_COLLECTIONS_ACCOUNT_CONTACT_CREATOR: - return assignees_collections_account_contact_creator() - if self is TicketsListRequestExpand.ASSIGNEES_COLLECTIONS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET: - return assignees_collections_account_contact_creator_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNEES_COLLECTIONS_ACCOUNT_CONTACT_PARENT_TICKET: - return assignees_collections_account_contact_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNEES_COLLECTIONS_ACCOUNT_CREATOR: - return assignees_collections_account_creator() - if self is TicketsListRequestExpand.ASSIGNEES_COLLECTIONS_ACCOUNT_CREATOR_PARENT_TICKET: - return assignees_collections_account_creator_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNEES_COLLECTIONS_ACCOUNT_PARENT_TICKET: - return assignees_collections_account_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS: - return assignees_collections_assigned_teams() - if self is TicketsListRequestExpand.ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT: - return assignees_collections_assigned_teams_account() - if self is TicketsListRequestExpand.ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT: - return assignees_collections_assigned_teams_account_contact() - if self is TicketsListRequestExpand.ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR: - return assignees_collections_assigned_teams_account_contact_creator() - if self is TicketsListRequestExpand.ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET: - return assignees_collections_assigned_teams_account_contact_creator_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_PARENT_TICKET: - return assignees_collections_assigned_teams_account_contact_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CREATOR: - return assignees_collections_assigned_teams_account_creator() - if self is TicketsListRequestExpand.ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CREATOR_PARENT_TICKET: - return assignees_collections_assigned_teams_account_creator_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_PARENT_TICKET: - return assignees_collections_assigned_teams_account_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CONTACT: - return assignees_collections_assigned_teams_contact() - if self is TicketsListRequestExpand.ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CONTACT_CREATOR: - return assignees_collections_assigned_teams_contact_creator() - if self is TicketsListRequestExpand.ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CONTACT_CREATOR_PARENT_TICKET: - return assignees_collections_assigned_teams_contact_creator_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CONTACT_PARENT_TICKET: - return assignees_collections_assigned_teams_contact_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CREATOR: - return assignees_collections_assigned_teams_creator() - if self is TicketsListRequestExpand.ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CREATOR_PARENT_TICKET: - return assignees_collections_assigned_teams_creator_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_PARENT_TICKET: - return assignees_collections_assigned_teams_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNEES_COLLECTIONS_CONTACT: - return assignees_collections_contact() - if self is TicketsListRequestExpand.ASSIGNEES_COLLECTIONS_CONTACT_CREATOR: - return assignees_collections_contact_creator() - if self is TicketsListRequestExpand.ASSIGNEES_COLLECTIONS_CONTACT_CREATOR_PARENT_TICKET: - return assignees_collections_contact_creator_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNEES_COLLECTIONS_CONTACT_PARENT_TICKET: - return assignees_collections_contact_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNEES_COLLECTIONS_CREATOR: - return assignees_collections_creator() - if self is TicketsListRequestExpand.ASSIGNEES_COLLECTIONS_CREATOR_PARENT_TICKET: - return assignees_collections_creator_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNEES_COLLECTIONS_PARENT_TICKET: - return assignees_collections_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNEES_CONTACT: - return assignees_contact() - if self is TicketsListRequestExpand.ASSIGNEES_CONTACT_CREATOR: - return assignees_contact_creator() - if self is TicketsListRequestExpand.ASSIGNEES_CONTACT_CREATOR_PARENT_TICKET: - return assignees_contact_creator_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNEES_CONTACT_PARENT_TICKET: - return assignees_contact_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNEES_CREATOR: - return assignees_creator() - if self is TicketsListRequestExpand.ASSIGNEES_CREATOR_PARENT_TICKET: - return assignees_creator_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNEES_PARENT_TICKET: - return assignees_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS: - return attachments() - if self is TicketsListRequestExpand.ATTACHMENTS_ACCOUNT: - return attachments_account() - if self is TicketsListRequestExpand.ATTACHMENTS_ACCOUNT_CONTACT: - return attachments_account_contact() - if self is TicketsListRequestExpand.ATTACHMENTS_ACCOUNT_CONTACT_CREATOR: - return attachments_account_contact_creator() - if self is TicketsListRequestExpand.ATTACHMENTS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET: - return attachments_account_contact_creator_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ACCOUNT_CONTACT_PARENT_TICKET: - return attachments_account_contact_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ACCOUNT_CREATOR: - return attachments_account_creator() - if self is TicketsListRequestExpand.ATTACHMENTS_ACCOUNT_CREATOR_PARENT_TICKET: - return attachments_account_creator_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ACCOUNT_PARENT_TICKET: - return attachments_account_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNED_TEAMS: - return attachments_assigned_teams() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNED_TEAMS_ACCOUNT: - return attachments_assigned_teams_account() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNED_TEAMS_ACCOUNT_CONTACT: - return attachments_assigned_teams_account_contact() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR: - return attachments_assigned_teams_account_contact_creator() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET: - return attachments_assigned_teams_account_contact_creator_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_PARENT_TICKET: - return attachments_assigned_teams_account_contact_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNED_TEAMS_ACCOUNT_CREATOR: - return attachments_assigned_teams_account_creator() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNED_TEAMS_ACCOUNT_CREATOR_PARENT_TICKET: - return attachments_assigned_teams_account_creator_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNED_TEAMS_ACCOUNT_PARENT_TICKET: - return attachments_assigned_teams_account_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNED_TEAMS_CONTACT: - return attachments_assigned_teams_contact() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNED_TEAMS_CONTACT_CREATOR: - return attachments_assigned_teams_contact_creator() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNED_TEAMS_CONTACT_CREATOR_PARENT_TICKET: - return attachments_assigned_teams_contact_creator_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNED_TEAMS_CONTACT_PARENT_TICKET: - return attachments_assigned_teams_contact_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNED_TEAMS_CREATOR: - return attachments_assigned_teams_creator() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNED_TEAMS_CREATOR_PARENT_TICKET: - return attachments_assigned_teams_creator_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNED_TEAMS_PARENT_TICKET: - return attachments_assigned_teams_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES: - return attachments_assignees() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_ACCOUNT: - return attachments_assignees_account() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_ACCOUNT_CONTACT: - return attachments_assignees_account_contact() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_ACCOUNT_CONTACT_CREATOR: - return attachments_assignees_account_contact_creator() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET: - return attachments_assignees_account_contact_creator_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_ACCOUNT_CONTACT_PARENT_TICKET: - return attachments_assignees_account_contact_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_ACCOUNT_CREATOR: - return attachments_assignees_account_creator() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_ACCOUNT_CREATOR_PARENT_TICKET: - return attachments_assignees_account_creator_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_ACCOUNT_PARENT_TICKET: - return attachments_assignees_account_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS: - return attachments_assignees_assigned_teams() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT: - return attachments_assignees_assigned_teams_account() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CONTACT: - return attachments_assignees_assigned_teams_account_contact() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR: - return attachments_assignees_assigned_teams_account_contact_creator() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET: - return attachments_assignees_assigned_teams_account_contact_creator_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CONTACT_PARENT_TICKET: - return attachments_assignees_assigned_teams_account_contact_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CREATOR: - return attachments_assignees_assigned_teams_account_creator() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CREATOR_PARENT_TICKET: - return attachments_assignees_assigned_teams_account_creator_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_PARENT_TICKET: - return attachments_assignees_assigned_teams_account_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_CONTACT: - return attachments_assignees_assigned_teams_contact() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_CONTACT_CREATOR: - return attachments_assignees_assigned_teams_contact_creator() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_CONTACT_CREATOR_PARENT_TICKET: - return attachments_assignees_assigned_teams_contact_creator_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_CONTACT_PARENT_TICKET: - return attachments_assignees_assigned_teams_contact_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_CREATOR: - return attachments_assignees_assigned_teams_creator() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_CREATOR_PARENT_TICKET: - return attachments_assignees_assigned_teams_creator_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_PARENT_TICKET: - return attachments_assignees_assigned_teams_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS: - return attachments_assignees_collections() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ACCOUNT: - return attachments_assignees_collections_account() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ACCOUNT_CONTACT: - return attachments_assignees_collections_account_contact() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ACCOUNT_CONTACT_CREATOR: - return attachments_assignees_collections_account_contact_creator() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET: - return attachments_assignees_collections_account_contact_creator_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ACCOUNT_CONTACT_PARENT_TICKET: - return attachments_assignees_collections_account_contact_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ACCOUNT_CREATOR: - return attachments_assignees_collections_account_creator() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ACCOUNT_CREATOR_PARENT_TICKET: - return attachments_assignees_collections_account_creator_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ACCOUNT_PARENT_TICKET: - return attachments_assignees_collections_account_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS: - return attachments_assignees_collections_assigned_teams() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT: - return attachments_assignees_collections_assigned_teams_account() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT: - return attachments_assignees_collections_assigned_teams_account_contact() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR: - return attachments_assignees_collections_assigned_teams_account_contact_creator() - if ( - self - is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET - ): - return attachments_assignees_collections_assigned_teams_account_contact_creator_parent_ticket() - if ( - self - is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_PARENT_TICKET - ): - return attachments_assignees_collections_assigned_teams_account_contact_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CREATOR: - return attachments_assignees_collections_assigned_teams_account_creator() - if ( - self - is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CREATOR_PARENT_TICKET - ): - return attachments_assignees_collections_assigned_teams_account_creator_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_PARENT_TICKET: - return attachments_assignees_collections_assigned_teams_account_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CONTACT: - return attachments_assignees_collections_assigned_teams_contact() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CONTACT_CREATOR: - return attachments_assignees_collections_assigned_teams_contact_creator() - if ( - self - is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CONTACT_CREATOR_PARENT_TICKET - ): - return attachments_assignees_collections_assigned_teams_contact_creator_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CONTACT_PARENT_TICKET: - return attachments_assignees_collections_assigned_teams_contact_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CREATOR: - return attachments_assignees_collections_assigned_teams_creator() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CREATOR_PARENT_TICKET: - return attachments_assignees_collections_assigned_teams_creator_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_PARENT_TICKET: - return attachments_assignees_collections_assigned_teams_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_CONTACT: - return attachments_assignees_collections_contact() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_CONTACT_CREATOR: - return attachments_assignees_collections_contact_creator() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_CONTACT_CREATOR_PARENT_TICKET: - return attachments_assignees_collections_contact_creator_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_CONTACT_PARENT_TICKET: - return attachments_assignees_collections_contact_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_CREATOR: - return attachments_assignees_collections_creator() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_CREATOR_PARENT_TICKET: - return attachments_assignees_collections_creator_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_PARENT_TICKET: - return attachments_assignees_collections_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_CONTACT: - return attachments_assignees_contact() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_CONTACT_CREATOR: - return attachments_assignees_contact_creator() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_CONTACT_CREATOR_PARENT_TICKET: - return attachments_assignees_contact_creator_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_CONTACT_PARENT_TICKET: - return attachments_assignees_contact_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_CREATOR: - return attachments_assignees_creator() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_CREATOR_PARENT_TICKET: - return attachments_assignees_creator_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_PARENT_TICKET: - return attachments_assignees_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_COLLECTIONS: - return attachments_collections() - if self is TicketsListRequestExpand.ATTACHMENTS_COLLECTIONS_ACCOUNT: - return attachments_collections_account() - if self is TicketsListRequestExpand.ATTACHMENTS_COLLECTIONS_ACCOUNT_CONTACT: - return attachments_collections_account_contact() - if self is TicketsListRequestExpand.ATTACHMENTS_COLLECTIONS_ACCOUNT_CONTACT_CREATOR: - return attachments_collections_account_contact_creator() - if self is TicketsListRequestExpand.ATTACHMENTS_COLLECTIONS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET: - return attachments_collections_account_contact_creator_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_COLLECTIONS_ACCOUNT_CONTACT_PARENT_TICKET: - return attachments_collections_account_contact_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_COLLECTIONS_ACCOUNT_CREATOR: - return attachments_collections_account_creator() - if self is TicketsListRequestExpand.ATTACHMENTS_COLLECTIONS_ACCOUNT_CREATOR_PARENT_TICKET: - return attachments_collections_account_creator_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_COLLECTIONS_ACCOUNT_PARENT_TICKET: - return attachments_collections_account_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS: - return attachments_collections_assigned_teams() - if self is TicketsListRequestExpand.ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT: - return attachments_collections_assigned_teams_account() - if self is TicketsListRequestExpand.ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT: - return attachments_collections_assigned_teams_account_contact() - if self is TicketsListRequestExpand.ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR: - return attachments_collections_assigned_teams_account_contact_creator() - if ( - self - is TicketsListRequestExpand.ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET - ): - return attachments_collections_assigned_teams_account_contact_creator_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_PARENT_TICKET: - return attachments_collections_assigned_teams_account_contact_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CREATOR: - return attachments_collections_assigned_teams_account_creator() - if self is TicketsListRequestExpand.ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CREATOR_PARENT_TICKET: - return attachments_collections_assigned_teams_account_creator_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_PARENT_TICKET: - return attachments_collections_assigned_teams_account_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_CONTACT: - return attachments_collections_assigned_teams_contact() - if self is TicketsListRequestExpand.ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_CONTACT_CREATOR: - return attachments_collections_assigned_teams_contact_creator() - if self is TicketsListRequestExpand.ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_CONTACT_CREATOR_PARENT_TICKET: - return attachments_collections_assigned_teams_contact_creator_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_CONTACT_PARENT_TICKET: - return attachments_collections_assigned_teams_contact_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_CREATOR: - return attachments_collections_assigned_teams_creator() - if self is TicketsListRequestExpand.ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_CREATOR_PARENT_TICKET: - return attachments_collections_assigned_teams_creator_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_PARENT_TICKET: - return attachments_collections_assigned_teams_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_COLLECTIONS_CONTACT: - return attachments_collections_contact() - if self is TicketsListRequestExpand.ATTACHMENTS_COLLECTIONS_CONTACT_CREATOR: - return attachments_collections_contact_creator() - if self is TicketsListRequestExpand.ATTACHMENTS_COLLECTIONS_CONTACT_CREATOR_PARENT_TICKET: - return attachments_collections_contact_creator_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_COLLECTIONS_CONTACT_PARENT_TICKET: - return attachments_collections_contact_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_COLLECTIONS_CREATOR: - return attachments_collections_creator() - if self is TicketsListRequestExpand.ATTACHMENTS_COLLECTIONS_CREATOR_PARENT_TICKET: - return attachments_collections_creator_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_COLLECTIONS_PARENT_TICKET: - return attachments_collections_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_CONTACT: - return attachments_contact() - if self is TicketsListRequestExpand.ATTACHMENTS_CONTACT_CREATOR: - return attachments_contact_creator() - if self is TicketsListRequestExpand.ATTACHMENTS_CONTACT_CREATOR_PARENT_TICKET: - return attachments_contact_creator_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_CONTACT_PARENT_TICKET: - return attachments_contact_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_CREATOR: - return attachments_creator() - if self is TicketsListRequestExpand.ATTACHMENTS_CREATOR_PARENT_TICKET: - return attachments_creator_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_PARENT_TICKET: - return attachments_parent_ticket() - if self is TicketsListRequestExpand.COLLECTIONS: - return collections() - if self is TicketsListRequestExpand.COLLECTIONS_ACCOUNT: - return collections_account() - if self is TicketsListRequestExpand.COLLECTIONS_ACCOUNT_CONTACT: - return collections_account_contact() - if self is TicketsListRequestExpand.COLLECTIONS_ACCOUNT_CONTACT_CREATOR: - return collections_account_contact_creator() - if self is TicketsListRequestExpand.COLLECTIONS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET: - return collections_account_contact_creator_parent_ticket() - if self is TicketsListRequestExpand.COLLECTIONS_ACCOUNT_CONTACT_PARENT_TICKET: - return collections_account_contact_parent_ticket() - if self is TicketsListRequestExpand.COLLECTIONS_ACCOUNT_CREATOR: - return collections_account_creator() - if self is TicketsListRequestExpand.COLLECTIONS_ACCOUNT_CREATOR_PARENT_TICKET: - return collections_account_creator_parent_ticket() - if self is TicketsListRequestExpand.COLLECTIONS_ACCOUNT_PARENT_TICKET: - return collections_account_parent_ticket() - if self is TicketsListRequestExpand.COLLECTIONS_ASSIGNED_TEAMS: - return collections_assigned_teams() - if self is TicketsListRequestExpand.COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT: - return collections_assigned_teams_account() - if self is TicketsListRequestExpand.COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT: - return collections_assigned_teams_account_contact() - if self is TicketsListRequestExpand.COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR: - return collections_assigned_teams_account_contact_creator() - if self is TicketsListRequestExpand.COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET: - return collections_assigned_teams_account_contact_creator_parent_ticket() - if self is TicketsListRequestExpand.COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_PARENT_TICKET: - return collections_assigned_teams_account_contact_parent_ticket() - if self is TicketsListRequestExpand.COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CREATOR: - return collections_assigned_teams_account_creator() - if self is TicketsListRequestExpand.COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CREATOR_PARENT_TICKET: - return collections_assigned_teams_account_creator_parent_ticket() - if self is TicketsListRequestExpand.COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_PARENT_TICKET: - return collections_assigned_teams_account_parent_ticket() - if self is TicketsListRequestExpand.COLLECTIONS_ASSIGNED_TEAMS_CONTACT: - return collections_assigned_teams_contact() - if self is TicketsListRequestExpand.COLLECTIONS_ASSIGNED_TEAMS_CONTACT_CREATOR: - return collections_assigned_teams_contact_creator() - if self is TicketsListRequestExpand.COLLECTIONS_ASSIGNED_TEAMS_CONTACT_CREATOR_PARENT_TICKET: - return collections_assigned_teams_contact_creator_parent_ticket() - if self is TicketsListRequestExpand.COLLECTIONS_ASSIGNED_TEAMS_CONTACT_PARENT_TICKET: - return collections_assigned_teams_contact_parent_ticket() - if self is TicketsListRequestExpand.COLLECTIONS_ASSIGNED_TEAMS_CREATOR: - return collections_assigned_teams_creator() - if self is TicketsListRequestExpand.COLLECTIONS_ASSIGNED_TEAMS_CREATOR_PARENT_TICKET: - return collections_assigned_teams_creator_parent_ticket() - if self is TicketsListRequestExpand.COLLECTIONS_ASSIGNED_TEAMS_PARENT_TICKET: - return collections_assigned_teams_parent_ticket() - if self is TicketsListRequestExpand.COLLECTIONS_CONTACT: - return collections_contact() - if self is TicketsListRequestExpand.COLLECTIONS_CONTACT_CREATOR: - return collections_contact_creator() - if self is TicketsListRequestExpand.COLLECTIONS_CONTACT_CREATOR_PARENT_TICKET: - return collections_contact_creator_parent_ticket() - if self is TicketsListRequestExpand.COLLECTIONS_CONTACT_PARENT_TICKET: - return collections_contact_parent_ticket() - if self is TicketsListRequestExpand.COLLECTIONS_CREATOR: - return collections_creator() - if self is TicketsListRequestExpand.COLLECTIONS_CREATOR_PARENT_TICKET: - return collections_creator_parent_ticket() - if self is TicketsListRequestExpand.COLLECTIONS_PARENT_TICKET: - return collections_parent_ticket() - if self is TicketsListRequestExpand.CONTACT: - return contact() - if self is TicketsListRequestExpand.CONTACT_CREATOR: - return contact_creator() - if self is TicketsListRequestExpand.CONTACT_CREATOR_PARENT_TICKET: - return contact_creator_parent_ticket() - if self is TicketsListRequestExpand.CONTACT_PARENT_TICKET: - return contact_parent_ticket() - if self is TicketsListRequestExpand.CREATOR: - return creator() - if self is TicketsListRequestExpand.CREATOR_PARENT_TICKET: - return creator_parent_ticket() - if self is TicketsListRequestExpand.PARENT_TICKET: - return parent_ticket() diff --git a/src/merge/resources/ticketing/resources/tickets/types/tickets_list_request_expand_item.py b/src/merge/resources/ticketing/resources/tickets/types/tickets_list_request_expand_item.py new file mode 100644 index 00000000..00dff983 --- /dev/null +++ b/src/merge/resources/ticketing/resources/tickets/types/tickets_list_request_expand_item.py @@ -0,0 +1,45 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class TicketsListRequestExpandItem(str, enum.Enum): + ACCOUNT = "account" + ASSIGNED_TEAMS = "assigned_teams" + ASSIGNEES = "assignees" + ATTACHMENTS = "attachments" + COLLECTIONS = "collections" + CONTACT = "contact" + CREATOR = "creator" + PARENT_TICKET = "parent_ticket" + + def visit( + self, + account: typing.Callable[[], T_Result], + assigned_teams: typing.Callable[[], T_Result], + assignees: typing.Callable[[], T_Result], + attachments: typing.Callable[[], T_Result], + collections: typing.Callable[[], T_Result], + contact: typing.Callable[[], T_Result], + creator: typing.Callable[[], T_Result], + parent_ticket: typing.Callable[[], T_Result], + ) -> T_Result: + if self is TicketsListRequestExpandItem.ACCOUNT: + return account() + if self is TicketsListRequestExpandItem.ASSIGNED_TEAMS: + return assigned_teams() + if self is TicketsListRequestExpandItem.ASSIGNEES: + return assignees() + if self is TicketsListRequestExpandItem.ATTACHMENTS: + return attachments() + if self is TicketsListRequestExpandItem.COLLECTIONS: + return collections() + if self is TicketsListRequestExpandItem.CONTACT: + return contact() + if self is TicketsListRequestExpandItem.CREATOR: + return creator() + if self is TicketsListRequestExpandItem.PARENT_TICKET: + return parent_ticket() diff --git a/src/merge/resources/ticketing/resources/tickets/types/tickets_retrieve_request_expand.py b/src/merge/resources/ticketing/resources/tickets/types/tickets_retrieve_request_expand.py deleted file mode 100644 index 62c0058f..00000000 --- a/src/merge/resources/ticketing/resources/tickets/types/tickets_retrieve_request_expand.py +++ /dev/null @@ -1,1171 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class TicketsRetrieveRequestExpand(str, enum.Enum): - ACCOUNT = "account" - ACCOUNT_CONTACT = "account,contact" - ACCOUNT_CONTACT_CREATOR = "account,contact,creator" - ACCOUNT_CONTACT_CREATOR_PARENT_TICKET = "account,contact,creator,parent_ticket" - ACCOUNT_CONTACT_PARENT_TICKET = "account,contact,parent_ticket" - ACCOUNT_CREATOR = "account,creator" - ACCOUNT_CREATOR_PARENT_TICKET = "account,creator,parent_ticket" - ACCOUNT_PARENT_TICKET = "account,parent_ticket" - ASSIGNED_TEAMS = "assigned_teams" - ASSIGNED_TEAMS_ACCOUNT = "assigned_teams,account" - ASSIGNED_TEAMS_ACCOUNT_CONTACT = "assigned_teams,account,contact" - ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR = "assigned_teams,account,contact,creator" - ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET = "assigned_teams,account,contact,creator,parent_ticket" - ASSIGNED_TEAMS_ACCOUNT_CONTACT_PARENT_TICKET = "assigned_teams,account,contact,parent_ticket" - ASSIGNED_TEAMS_ACCOUNT_CREATOR = "assigned_teams,account,creator" - ASSIGNED_TEAMS_ACCOUNT_CREATOR_PARENT_TICKET = "assigned_teams,account,creator,parent_ticket" - ASSIGNED_TEAMS_ACCOUNT_PARENT_TICKET = "assigned_teams,account,parent_ticket" - ASSIGNED_TEAMS_CONTACT = "assigned_teams,contact" - ASSIGNED_TEAMS_CONTACT_CREATOR = "assigned_teams,contact,creator" - ASSIGNED_TEAMS_CONTACT_CREATOR_PARENT_TICKET = "assigned_teams,contact,creator,parent_ticket" - ASSIGNED_TEAMS_CONTACT_PARENT_TICKET = "assigned_teams,contact,parent_ticket" - ASSIGNED_TEAMS_CREATOR = "assigned_teams,creator" - ASSIGNED_TEAMS_CREATOR_PARENT_TICKET = "assigned_teams,creator,parent_ticket" - ASSIGNED_TEAMS_PARENT_TICKET = "assigned_teams,parent_ticket" - ASSIGNEES = "assignees" - ASSIGNEES_ACCOUNT = "assignees,account" - ASSIGNEES_ACCOUNT_CONTACT = "assignees,account,contact" - ASSIGNEES_ACCOUNT_CONTACT_CREATOR = "assignees,account,contact,creator" - ASSIGNEES_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET = "assignees,account,contact,creator,parent_ticket" - ASSIGNEES_ACCOUNT_CONTACT_PARENT_TICKET = "assignees,account,contact,parent_ticket" - ASSIGNEES_ACCOUNT_CREATOR = "assignees,account,creator" - ASSIGNEES_ACCOUNT_CREATOR_PARENT_TICKET = "assignees,account,creator,parent_ticket" - ASSIGNEES_ACCOUNT_PARENT_TICKET = "assignees,account,parent_ticket" - ASSIGNEES_ASSIGNED_TEAMS = "assignees,assigned_teams" - ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT = "assignees,assigned_teams,account" - ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CONTACT = "assignees,assigned_teams,account,contact" - ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR = "assignees,assigned_teams,account,contact,creator" - ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET = ( - "assignees,assigned_teams,account,contact,creator,parent_ticket" - ) - ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CONTACT_PARENT_TICKET = "assignees,assigned_teams,account,contact,parent_ticket" - ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CREATOR = "assignees,assigned_teams,account,creator" - ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CREATOR_PARENT_TICKET = "assignees,assigned_teams,account,creator,parent_ticket" - ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_PARENT_TICKET = "assignees,assigned_teams,account,parent_ticket" - ASSIGNEES_ASSIGNED_TEAMS_CONTACT = "assignees,assigned_teams,contact" - ASSIGNEES_ASSIGNED_TEAMS_CONTACT_CREATOR = "assignees,assigned_teams,contact,creator" - ASSIGNEES_ASSIGNED_TEAMS_CONTACT_CREATOR_PARENT_TICKET = "assignees,assigned_teams,contact,creator,parent_ticket" - ASSIGNEES_ASSIGNED_TEAMS_CONTACT_PARENT_TICKET = "assignees,assigned_teams,contact,parent_ticket" - ASSIGNEES_ASSIGNED_TEAMS_CREATOR = "assignees,assigned_teams,creator" - ASSIGNEES_ASSIGNED_TEAMS_CREATOR_PARENT_TICKET = "assignees,assigned_teams,creator,parent_ticket" - ASSIGNEES_ASSIGNED_TEAMS_PARENT_TICKET = "assignees,assigned_teams,parent_ticket" - ASSIGNEES_COLLECTIONS = "assignees,collections" - ASSIGNEES_COLLECTIONS_ACCOUNT = "assignees,collections,account" - ASSIGNEES_COLLECTIONS_ACCOUNT_CONTACT = "assignees,collections,account,contact" - ASSIGNEES_COLLECTIONS_ACCOUNT_CONTACT_CREATOR = "assignees,collections,account,contact,creator" - ASSIGNEES_COLLECTIONS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET = ( - "assignees,collections,account,contact,creator,parent_ticket" - ) - ASSIGNEES_COLLECTIONS_ACCOUNT_CONTACT_PARENT_TICKET = "assignees,collections,account,contact,parent_ticket" - ASSIGNEES_COLLECTIONS_ACCOUNT_CREATOR = "assignees,collections,account,creator" - ASSIGNEES_COLLECTIONS_ACCOUNT_CREATOR_PARENT_TICKET = "assignees,collections,account,creator,parent_ticket" - ASSIGNEES_COLLECTIONS_ACCOUNT_PARENT_TICKET = "assignees,collections,account,parent_ticket" - ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS = "assignees,collections,assigned_teams" - ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT = "assignees,collections,assigned_teams,account" - ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT = "assignees,collections,assigned_teams,account,contact" - ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR = ( - "assignees,collections,assigned_teams,account,contact,creator" - ) - ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET = ( - "assignees,collections,assigned_teams,account,contact,creator,parent_ticket" - ) - ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_PARENT_TICKET = ( - "assignees,collections,assigned_teams,account,contact,parent_ticket" - ) - ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CREATOR = "assignees,collections,assigned_teams,account,creator" - ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CREATOR_PARENT_TICKET = ( - "assignees,collections,assigned_teams,account,creator,parent_ticket" - ) - ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_PARENT_TICKET = ( - "assignees,collections,assigned_teams,account,parent_ticket" - ) - ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CONTACT = "assignees,collections,assigned_teams,contact" - ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CONTACT_CREATOR = "assignees,collections,assigned_teams,contact,creator" - ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CONTACT_CREATOR_PARENT_TICKET = ( - "assignees,collections,assigned_teams,contact,creator,parent_ticket" - ) - ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CONTACT_PARENT_TICKET = ( - "assignees,collections,assigned_teams,contact,parent_ticket" - ) - ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CREATOR = "assignees,collections,assigned_teams,creator" - ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CREATOR_PARENT_TICKET = ( - "assignees,collections,assigned_teams,creator,parent_ticket" - ) - ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_PARENT_TICKET = "assignees,collections,assigned_teams,parent_ticket" - ASSIGNEES_COLLECTIONS_CONTACT = "assignees,collections,contact" - ASSIGNEES_COLLECTIONS_CONTACT_CREATOR = "assignees,collections,contact,creator" - ASSIGNEES_COLLECTIONS_CONTACT_CREATOR_PARENT_TICKET = "assignees,collections,contact,creator,parent_ticket" - ASSIGNEES_COLLECTIONS_CONTACT_PARENT_TICKET = "assignees,collections,contact,parent_ticket" - ASSIGNEES_COLLECTIONS_CREATOR = "assignees,collections,creator" - ASSIGNEES_COLLECTIONS_CREATOR_PARENT_TICKET = "assignees,collections,creator,parent_ticket" - ASSIGNEES_COLLECTIONS_PARENT_TICKET = "assignees,collections,parent_ticket" - ASSIGNEES_CONTACT = "assignees,contact" - ASSIGNEES_CONTACT_CREATOR = "assignees,contact,creator" - ASSIGNEES_CONTACT_CREATOR_PARENT_TICKET = "assignees,contact,creator,parent_ticket" - ASSIGNEES_CONTACT_PARENT_TICKET = "assignees,contact,parent_ticket" - ASSIGNEES_CREATOR = "assignees,creator" - ASSIGNEES_CREATOR_PARENT_TICKET = "assignees,creator,parent_ticket" - ASSIGNEES_PARENT_TICKET = "assignees,parent_ticket" - ATTACHMENTS = "attachments" - ATTACHMENTS_ACCOUNT = "attachments,account" - ATTACHMENTS_ACCOUNT_CONTACT = "attachments,account,contact" - ATTACHMENTS_ACCOUNT_CONTACT_CREATOR = "attachments,account,contact,creator" - ATTACHMENTS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET = "attachments,account,contact,creator,parent_ticket" - ATTACHMENTS_ACCOUNT_CONTACT_PARENT_TICKET = "attachments,account,contact,parent_ticket" - ATTACHMENTS_ACCOUNT_CREATOR = "attachments,account,creator" - ATTACHMENTS_ACCOUNT_CREATOR_PARENT_TICKET = "attachments,account,creator,parent_ticket" - ATTACHMENTS_ACCOUNT_PARENT_TICKET = "attachments,account,parent_ticket" - ATTACHMENTS_ASSIGNED_TEAMS = "attachments,assigned_teams" - ATTACHMENTS_ASSIGNED_TEAMS_ACCOUNT = "attachments,assigned_teams,account" - ATTACHMENTS_ASSIGNED_TEAMS_ACCOUNT_CONTACT = "attachments,assigned_teams,account,contact" - ATTACHMENTS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR = "attachments,assigned_teams,account,contact,creator" - ATTACHMENTS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET = ( - "attachments,assigned_teams,account,contact,creator,parent_ticket" - ) - ATTACHMENTS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_PARENT_TICKET = ( - "attachments,assigned_teams,account,contact,parent_ticket" - ) - ATTACHMENTS_ASSIGNED_TEAMS_ACCOUNT_CREATOR = "attachments,assigned_teams,account,creator" - ATTACHMENTS_ASSIGNED_TEAMS_ACCOUNT_CREATOR_PARENT_TICKET = ( - "attachments,assigned_teams,account,creator,parent_ticket" - ) - ATTACHMENTS_ASSIGNED_TEAMS_ACCOUNT_PARENT_TICKET = "attachments,assigned_teams,account,parent_ticket" - ATTACHMENTS_ASSIGNED_TEAMS_CONTACT = "attachments,assigned_teams,contact" - ATTACHMENTS_ASSIGNED_TEAMS_CONTACT_CREATOR = "attachments,assigned_teams,contact,creator" - ATTACHMENTS_ASSIGNED_TEAMS_CONTACT_CREATOR_PARENT_TICKET = ( - "attachments,assigned_teams,contact,creator,parent_ticket" - ) - ATTACHMENTS_ASSIGNED_TEAMS_CONTACT_PARENT_TICKET = "attachments,assigned_teams,contact,parent_ticket" - ATTACHMENTS_ASSIGNED_TEAMS_CREATOR = "attachments,assigned_teams,creator" - ATTACHMENTS_ASSIGNED_TEAMS_CREATOR_PARENT_TICKET = "attachments,assigned_teams,creator,parent_ticket" - ATTACHMENTS_ASSIGNED_TEAMS_PARENT_TICKET = "attachments,assigned_teams,parent_ticket" - ATTACHMENTS_ASSIGNEES = "attachments,assignees" - ATTACHMENTS_ASSIGNEES_ACCOUNT = "attachments,assignees,account" - ATTACHMENTS_ASSIGNEES_ACCOUNT_CONTACT = "attachments,assignees,account,contact" - ATTACHMENTS_ASSIGNEES_ACCOUNT_CONTACT_CREATOR = "attachments,assignees,account,contact,creator" - ATTACHMENTS_ASSIGNEES_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET = ( - "attachments,assignees,account,contact,creator,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_ACCOUNT_CONTACT_PARENT_TICKET = "attachments,assignees,account,contact,parent_ticket" - ATTACHMENTS_ASSIGNEES_ACCOUNT_CREATOR = "attachments,assignees,account,creator" - ATTACHMENTS_ASSIGNEES_ACCOUNT_CREATOR_PARENT_TICKET = "attachments,assignees,account,creator,parent_ticket" - ATTACHMENTS_ASSIGNEES_ACCOUNT_PARENT_TICKET = "attachments,assignees,account,parent_ticket" - ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS = "attachments,assignees,assigned_teams" - ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT = "attachments,assignees,assigned_teams,account" - ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CONTACT = "attachments,assignees,assigned_teams,account,contact" - ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR = ( - "attachments,assignees,assigned_teams,account,contact,creator" - ) - ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET = ( - "attachments,assignees,assigned_teams,account,contact,creator,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CONTACT_PARENT_TICKET = ( - "attachments,assignees,assigned_teams,account,contact,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CREATOR = "attachments,assignees,assigned_teams,account,creator" - ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CREATOR_PARENT_TICKET = ( - "attachments,assignees,assigned_teams,account,creator,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_PARENT_TICKET = ( - "attachments,assignees,assigned_teams,account,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_CONTACT = "attachments,assignees,assigned_teams,contact" - ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_CONTACT_CREATOR = "attachments,assignees,assigned_teams,contact,creator" - ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_CONTACT_CREATOR_PARENT_TICKET = ( - "attachments,assignees,assigned_teams,contact,creator,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_CONTACT_PARENT_TICKET = ( - "attachments,assignees,assigned_teams,contact,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_CREATOR = "attachments,assignees,assigned_teams,creator" - ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_CREATOR_PARENT_TICKET = ( - "attachments,assignees,assigned_teams,creator,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_PARENT_TICKET = "attachments,assignees,assigned_teams,parent_ticket" - ATTACHMENTS_ASSIGNEES_COLLECTIONS = "attachments,assignees,collections" - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ACCOUNT = "attachments,assignees,collections,account" - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ACCOUNT_CONTACT = "attachments,assignees,collections,account,contact" - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ACCOUNT_CONTACT_CREATOR = ( - "attachments,assignees,collections,account,contact,creator" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET = ( - "attachments,assignees,collections,account,contact,creator,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ACCOUNT_CONTACT_PARENT_TICKET = ( - "attachments,assignees,collections,account,contact,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ACCOUNT_CREATOR = "attachments,assignees,collections,account,creator" - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ACCOUNT_CREATOR_PARENT_TICKET = ( - "attachments,assignees,collections,account,creator,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ACCOUNT_PARENT_TICKET = "attachments,assignees,collections,account,parent_ticket" - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS = "attachments,assignees,collections,assigned_teams" - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT = ( - "attachments,assignees,collections,assigned_teams,account" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT = ( - "attachments,assignees,collections,assigned_teams,account,contact" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR = ( - "attachments,assignees,collections,assigned_teams,account,contact,creator" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET = ( - "attachments,assignees,collections,assigned_teams,account,contact,creator,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_PARENT_TICKET = ( - "attachments,assignees,collections,assigned_teams,account,contact,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CREATOR = ( - "attachments,assignees,collections,assigned_teams,account,creator" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CREATOR_PARENT_TICKET = ( - "attachments,assignees,collections,assigned_teams,account,creator,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_PARENT_TICKET = ( - "attachments,assignees,collections,assigned_teams,account,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CONTACT = ( - "attachments,assignees,collections,assigned_teams,contact" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CONTACT_CREATOR = ( - "attachments,assignees,collections,assigned_teams,contact,creator" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CONTACT_CREATOR_PARENT_TICKET = ( - "attachments,assignees,collections,assigned_teams,contact,creator,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CONTACT_PARENT_TICKET = ( - "attachments,assignees,collections,assigned_teams,contact,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CREATOR = ( - "attachments,assignees,collections,assigned_teams,creator" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CREATOR_PARENT_TICKET = ( - "attachments,assignees,collections,assigned_teams,creator,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_PARENT_TICKET = ( - "attachments,assignees,collections,assigned_teams,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_CONTACT = "attachments,assignees,collections,contact" - ATTACHMENTS_ASSIGNEES_COLLECTIONS_CONTACT_CREATOR = "attachments,assignees,collections,contact,creator" - ATTACHMENTS_ASSIGNEES_COLLECTIONS_CONTACT_CREATOR_PARENT_TICKET = ( - "attachments,assignees,collections,contact,creator,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_CONTACT_PARENT_TICKET = "attachments,assignees,collections,contact,parent_ticket" - ATTACHMENTS_ASSIGNEES_COLLECTIONS_CREATOR = "attachments,assignees,collections,creator" - ATTACHMENTS_ASSIGNEES_COLLECTIONS_CREATOR_PARENT_TICKET = "attachments,assignees,collections,creator,parent_ticket" - ATTACHMENTS_ASSIGNEES_COLLECTIONS_PARENT_TICKET = "attachments,assignees,collections,parent_ticket" - ATTACHMENTS_ASSIGNEES_CONTACT = "attachments,assignees,contact" - ATTACHMENTS_ASSIGNEES_CONTACT_CREATOR = "attachments,assignees,contact,creator" - ATTACHMENTS_ASSIGNEES_CONTACT_CREATOR_PARENT_TICKET = "attachments,assignees,contact,creator,parent_ticket" - ATTACHMENTS_ASSIGNEES_CONTACT_PARENT_TICKET = "attachments,assignees,contact,parent_ticket" - ATTACHMENTS_ASSIGNEES_CREATOR = "attachments,assignees,creator" - ATTACHMENTS_ASSIGNEES_CREATOR_PARENT_TICKET = "attachments,assignees,creator,parent_ticket" - ATTACHMENTS_ASSIGNEES_PARENT_TICKET = "attachments,assignees,parent_ticket" - ATTACHMENTS_COLLECTIONS = "attachments,collections" - ATTACHMENTS_COLLECTIONS_ACCOUNT = "attachments,collections,account" - ATTACHMENTS_COLLECTIONS_ACCOUNT_CONTACT = "attachments,collections,account,contact" - ATTACHMENTS_COLLECTIONS_ACCOUNT_CONTACT_CREATOR = "attachments,collections,account,contact,creator" - ATTACHMENTS_COLLECTIONS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET = ( - "attachments,collections,account,contact,creator,parent_ticket" - ) - ATTACHMENTS_COLLECTIONS_ACCOUNT_CONTACT_PARENT_TICKET = "attachments,collections,account,contact,parent_ticket" - ATTACHMENTS_COLLECTIONS_ACCOUNT_CREATOR = "attachments,collections,account,creator" - ATTACHMENTS_COLLECTIONS_ACCOUNT_CREATOR_PARENT_TICKET = "attachments,collections,account,creator,parent_ticket" - ATTACHMENTS_COLLECTIONS_ACCOUNT_PARENT_TICKET = "attachments,collections,account,parent_ticket" - ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS = "attachments,collections,assigned_teams" - ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT = "attachments,collections,assigned_teams,account" - ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT = "attachments,collections,assigned_teams,account,contact" - ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR = ( - "attachments,collections,assigned_teams,account,contact,creator" - ) - ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET = ( - "attachments,collections,assigned_teams,account,contact,creator,parent_ticket" - ) - ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_PARENT_TICKET = ( - "attachments,collections,assigned_teams,account,contact,parent_ticket" - ) - ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CREATOR = "attachments,collections,assigned_teams,account,creator" - ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CREATOR_PARENT_TICKET = ( - "attachments,collections,assigned_teams,account,creator,parent_ticket" - ) - ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_PARENT_TICKET = ( - "attachments,collections,assigned_teams,account,parent_ticket" - ) - ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_CONTACT = "attachments,collections,assigned_teams,contact" - ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_CONTACT_CREATOR = "attachments,collections,assigned_teams,contact,creator" - ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_CONTACT_CREATOR_PARENT_TICKET = ( - "attachments,collections,assigned_teams,contact,creator,parent_ticket" - ) - ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_CONTACT_PARENT_TICKET = ( - "attachments,collections,assigned_teams,contact,parent_ticket" - ) - ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_CREATOR = "attachments,collections,assigned_teams,creator" - ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_CREATOR_PARENT_TICKET = ( - "attachments,collections,assigned_teams,creator,parent_ticket" - ) - ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_PARENT_TICKET = "attachments,collections,assigned_teams,parent_ticket" - ATTACHMENTS_COLLECTIONS_CONTACT = "attachments,collections,contact" - ATTACHMENTS_COLLECTIONS_CONTACT_CREATOR = "attachments,collections,contact,creator" - ATTACHMENTS_COLLECTIONS_CONTACT_CREATOR_PARENT_TICKET = "attachments,collections,contact,creator,parent_ticket" - ATTACHMENTS_COLLECTIONS_CONTACT_PARENT_TICKET = "attachments,collections,contact,parent_ticket" - ATTACHMENTS_COLLECTIONS_CREATOR = "attachments,collections,creator" - ATTACHMENTS_COLLECTIONS_CREATOR_PARENT_TICKET = "attachments,collections,creator,parent_ticket" - ATTACHMENTS_COLLECTIONS_PARENT_TICKET = "attachments,collections,parent_ticket" - ATTACHMENTS_CONTACT = "attachments,contact" - ATTACHMENTS_CONTACT_CREATOR = "attachments,contact,creator" - ATTACHMENTS_CONTACT_CREATOR_PARENT_TICKET = "attachments,contact,creator,parent_ticket" - ATTACHMENTS_CONTACT_PARENT_TICKET = "attachments,contact,parent_ticket" - ATTACHMENTS_CREATOR = "attachments,creator" - ATTACHMENTS_CREATOR_PARENT_TICKET = "attachments,creator,parent_ticket" - ATTACHMENTS_PARENT_TICKET = "attachments,parent_ticket" - COLLECTIONS = "collections" - COLLECTIONS_ACCOUNT = "collections,account" - COLLECTIONS_ACCOUNT_CONTACT = "collections,account,contact" - COLLECTIONS_ACCOUNT_CONTACT_CREATOR = "collections,account,contact,creator" - COLLECTIONS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET = "collections,account,contact,creator,parent_ticket" - COLLECTIONS_ACCOUNT_CONTACT_PARENT_TICKET = "collections,account,contact,parent_ticket" - COLLECTIONS_ACCOUNT_CREATOR = "collections,account,creator" - COLLECTIONS_ACCOUNT_CREATOR_PARENT_TICKET = "collections,account,creator,parent_ticket" - COLLECTIONS_ACCOUNT_PARENT_TICKET = "collections,account,parent_ticket" - COLLECTIONS_ASSIGNED_TEAMS = "collections,assigned_teams" - COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT = "collections,assigned_teams,account" - COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT = "collections,assigned_teams,account,contact" - COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR = "collections,assigned_teams,account,contact,creator" - COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET = ( - "collections,assigned_teams,account,contact,creator,parent_ticket" - ) - COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_PARENT_TICKET = ( - "collections,assigned_teams,account,contact,parent_ticket" - ) - COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CREATOR = "collections,assigned_teams,account,creator" - COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CREATOR_PARENT_TICKET = ( - "collections,assigned_teams,account,creator,parent_ticket" - ) - COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_PARENT_TICKET = "collections,assigned_teams,account,parent_ticket" - COLLECTIONS_ASSIGNED_TEAMS_CONTACT = "collections,assigned_teams,contact" - COLLECTIONS_ASSIGNED_TEAMS_CONTACT_CREATOR = "collections,assigned_teams,contact,creator" - COLLECTIONS_ASSIGNED_TEAMS_CONTACT_CREATOR_PARENT_TICKET = ( - "collections,assigned_teams,contact,creator,parent_ticket" - ) - COLLECTIONS_ASSIGNED_TEAMS_CONTACT_PARENT_TICKET = "collections,assigned_teams,contact,parent_ticket" - COLLECTIONS_ASSIGNED_TEAMS_CREATOR = "collections,assigned_teams,creator" - COLLECTIONS_ASSIGNED_TEAMS_CREATOR_PARENT_TICKET = "collections,assigned_teams,creator,parent_ticket" - COLLECTIONS_ASSIGNED_TEAMS_PARENT_TICKET = "collections,assigned_teams,parent_ticket" - COLLECTIONS_CONTACT = "collections,contact" - COLLECTIONS_CONTACT_CREATOR = "collections,contact,creator" - COLLECTIONS_CONTACT_CREATOR_PARENT_TICKET = "collections,contact,creator,parent_ticket" - COLLECTIONS_CONTACT_PARENT_TICKET = "collections,contact,parent_ticket" - COLLECTIONS_CREATOR = "collections,creator" - COLLECTIONS_CREATOR_PARENT_TICKET = "collections,creator,parent_ticket" - COLLECTIONS_PARENT_TICKET = "collections,parent_ticket" - CONTACT = "contact" - CONTACT_CREATOR = "contact,creator" - CONTACT_CREATOR_PARENT_TICKET = "contact,creator,parent_ticket" - CONTACT_PARENT_TICKET = "contact,parent_ticket" - CREATOR = "creator" - CREATOR_PARENT_TICKET = "creator,parent_ticket" - PARENT_TICKET = "parent_ticket" - - def visit( - self, - account: typing.Callable[[], T_Result], - account_contact: typing.Callable[[], T_Result], - account_contact_creator: typing.Callable[[], T_Result], - account_contact_creator_parent_ticket: typing.Callable[[], T_Result], - account_contact_parent_ticket: typing.Callable[[], T_Result], - account_creator: typing.Callable[[], T_Result], - account_creator_parent_ticket: typing.Callable[[], T_Result], - account_parent_ticket: typing.Callable[[], T_Result], - assigned_teams: typing.Callable[[], T_Result], - assigned_teams_account: typing.Callable[[], T_Result], - assigned_teams_account_contact: typing.Callable[[], T_Result], - assigned_teams_account_contact_creator: typing.Callable[[], T_Result], - assigned_teams_account_contact_creator_parent_ticket: typing.Callable[[], T_Result], - assigned_teams_account_contact_parent_ticket: typing.Callable[[], T_Result], - assigned_teams_account_creator: typing.Callable[[], T_Result], - assigned_teams_account_creator_parent_ticket: typing.Callable[[], T_Result], - assigned_teams_account_parent_ticket: typing.Callable[[], T_Result], - assigned_teams_contact: typing.Callable[[], T_Result], - assigned_teams_contact_creator: typing.Callable[[], T_Result], - assigned_teams_contact_creator_parent_ticket: typing.Callable[[], T_Result], - assigned_teams_contact_parent_ticket: typing.Callable[[], T_Result], - assigned_teams_creator: typing.Callable[[], T_Result], - assigned_teams_creator_parent_ticket: typing.Callable[[], T_Result], - assigned_teams_parent_ticket: typing.Callable[[], T_Result], - assignees: typing.Callable[[], T_Result], - assignees_account: typing.Callable[[], T_Result], - assignees_account_contact: typing.Callable[[], T_Result], - assignees_account_contact_creator: typing.Callable[[], T_Result], - assignees_account_contact_creator_parent_ticket: typing.Callable[[], T_Result], - assignees_account_contact_parent_ticket: typing.Callable[[], T_Result], - assignees_account_creator: typing.Callable[[], T_Result], - assignees_account_creator_parent_ticket: typing.Callable[[], T_Result], - assignees_account_parent_ticket: typing.Callable[[], T_Result], - assignees_assigned_teams: typing.Callable[[], T_Result], - assignees_assigned_teams_account: typing.Callable[[], T_Result], - assignees_assigned_teams_account_contact: typing.Callable[[], T_Result], - assignees_assigned_teams_account_contact_creator: typing.Callable[[], T_Result], - assignees_assigned_teams_account_contact_creator_parent_ticket: typing.Callable[[], T_Result], - assignees_assigned_teams_account_contact_parent_ticket: typing.Callable[[], T_Result], - assignees_assigned_teams_account_creator: typing.Callable[[], T_Result], - assignees_assigned_teams_account_creator_parent_ticket: typing.Callable[[], T_Result], - assignees_assigned_teams_account_parent_ticket: typing.Callable[[], T_Result], - assignees_assigned_teams_contact: typing.Callable[[], T_Result], - assignees_assigned_teams_contact_creator: typing.Callable[[], T_Result], - assignees_assigned_teams_contact_creator_parent_ticket: typing.Callable[[], T_Result], - assignees_assigned_teams_contact_parent_ticket: typing.Callable[[], T_Result], - assignees_assigned_teams_creator: typing.Callable[[], T_Result], - assignees_assigned_teams_creator_parent_ticket: typing.Callable[[], T_Result], - assignees_assigned_teams_parent_ticket: typing.Callable[[], T_Result], - assignees_collections: typing.Callable[[], T_Result], - assignees_collections_account: typing.Callable[[], T_Result], - assignees_collections_account_contact: typing.Callable[[], T_Result], - assignees_collections_account_contact_creator: typing.Callable[[], T_Result], - assignees_collections_account_contact_creator_parent_ticket: typing.Callable[[], T_Result], - assignees_collections_account_contact_parent_ticket: typing.Callable[[], T_Result], - assignees_collections_account_creator: typing.Callable[[], T_Result], - assignees_collections_account_creator_parent_ticket: typing.Callable[[], T_Result], - assignees_collections_account_parent_ticket: typing.Callable[[], T_Result], - assignees_collections_assigned_teams: typing.Callable[[], T_Result], - assignees_collections_assigned_teams_account: typing.Callable[[], T_Result], - assignees_collections_assigned_teams_account_contact: typing.Callable[[], T_Result], - assignees_collections_assigned_teams_account_contact_creator: typing.Callable[[], T_Result], - assignees_collections_assigned_teams_account_contact_creator_parent_ticket: typing.Callable[[], T_Result], - assignees_collections_assigned_teams_account_contact_parent_ticket: typing.Callable[[], T_Result], - assignees_collections_assigned_teams_account_creator: typing.Callable[[], T_Result], - assignees_collections_assigned_teams_account_creator_parent_ticket: typing.Callable[[], T_Result], - assignees_collections_assigned_teams_account_parent_ticket: typing.Callable[[], T_Result], - assignees_collections_assigned_teams_contact: typing.Callable[[], T_Result], - assignees_collections_assigned_teams_contact_creator: typing.Callable[[], T_Result], - assignees_collections_assigned_teams_contact_creator_parent_ticket: typing.Callable[[], T_Result], - assignees_collections_assigned_teams_contact_parent_ticket: typing.Callable[[], T_Result], - assignees_collections_assigned_teams_creator: typing.Callable[[], T_Result], - assignees_collections_assigned_teams_creator_parent_ticket: typing.Callable[[], T_Result], - assignees_collections_assigned_teams_parent_ticket: typing.Callable[[], T_Result], - assignees_collections_contact: typing.Callable[[], T_Result], - assignees_collections_contact_creator: typing.Callable[[], T_Result], - assignees_collections_contact_creator_parent_ticket: typing.Callable[[], T_Result], - assignees_collections_contact_parent_ticket: typing.Callable[[], T_Result], - assignees_collections_creator: typing.Callable[[], T_Result], - assignees_collections_creator_parent_ticket: typing.Callable[[], T_Result], - assignees_collections_parent_ticket: typing.Callable[[], T_Result], - assignees_contact: typing.Callable[[], T_Result], - assignees_contact_creator: typing.Callable[[], T_Result], - assignees_contact_creator_parent_ticket: typing.Callable[[], T_Result], - assignees_contact_parent_ticket: typing.Callable[[], T_Result], - assignees_creator: typing.Callable[[], T_Result], - assignees_creator_parent_ticket: typing.Callable[[], T_Result], - assignees_parent_ticket: typing.Callable[[], T_Result], - attachments: typing.Callable[[], T_Result], - attachments_account: typing.Callable[[], T_Result], - attachments_account_contact: typing.Callable[[], T_Result], - attachments_account_contact_creator: typing.Callable[[], T_Result], - attachments_account_contact_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_account_contact_parent_ticket: typing.Callable[[], T_Result], - attachments_account_creator: typing.Callable[[], T_Result], - attachments_account_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_account_parent_ticket: typing.Callable[[], T_Result], - attachments_assigned_teams: typing.Callable[[], T_Result], - attachments_assigned_teams_account: typing.Callable[[], T_Result], - attachments_assigned_teams_account_contact: typing.Callable[[], T_Result], - attachments_assigned_teams_account_contact_creator: typing.Callable[[], T_Result], - attachments_assigned_teams_account_contact_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assigned_teams_account_contact_parent_ticket: typing.Callable[[], T_Result], - attachments_assigned_teams_account_creator: typing.Callable[[], T_Result], - attachments_assigned_teams_account_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assigned_teams_account_parent_ticket: typing.Callable[[], T_Result], - attachments_assigned_teams_contact: typing.Callable[[], T_Result], - attachments_assigned_teams_contact_creator: typing.Callable[[], T_Result], - attachments_assigned_teams_contact_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assigned_teams_contact_parent_ticket: typing.Callable[[], T_Result], - attachments_assigned_teams_creator: typing.Callable[[], T_Result], - attachments_assigned_teams_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assigned_teams_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees: typing.Callable[[], T_Result], - attachments_assignees_account: typing.Callable[[], T_Result], - attachments_assignees_account_contact: typing.Callable[[], T_Result], - attachments_assignees_account_contact_creator: typing.Callable[[], T_Result], - attachments_assignees_account_contact_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_account_contact_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_account_creator: typing.Callable[[], T_Result], - attachments_assignees_account_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_account_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_assigned_teams: typing.Callable[[], T_Result], - attachments_assignees_assigned_teams_account: typing.Callable[[], T_Result], - attachments_assignees_assigned_teams_account_contact: typing.Callable[[], T_Result], - attachments_assignees_assigned_teams_account_contact_creator: typing.Callable[[], T_Result], - attachments_assignees_assigned_teams_account_contact_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_assigned_teams_account_contact_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_assigned_teams_account_creator: typing.Callable[[], T_Result], - attachments_assignees_assigned_teams_account_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_assigned_teams_account_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_assigned_teams_contact: typing.Callable[[], T_Result], - attachments_assignees_assigned_teams_contact_creator: typing.Callable[[], T_Result], - attachments_assignees_assigned_teams_contact_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_assigned_teams_contact_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_assigned_teams_creator: typing.Callable[[], T_Result], - attachments_assignees_assigned_teams_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_assigned_teams_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_collections: typing.Callable[[], T_Result], - attachments_assignees_collections_account: typing.Callable[[], T_Result], - attachments_assignees_collections_account_contact: typing.Callable[[], T_Result], - attachments_assignees_collections_account_contact_creator: typing.Callable[[], T_Result], - attachments_assignees_collections_account_contact_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_collections_account_contact_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_collections_account_creator: typing.Callable[[], T_Result], - attachments_assignees_collections_account_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_collections_account_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_collections_assigned_teams: typing.Callable[[], T_Result], - attachments_assignees_collections_assigned_teams_account: typing.Callable[[], T_Result], - attachments_assignees_collections_assigned_teams_account_contact: typing.Callable[[], T_Result], - attachments_assignees_collections_assigned_teams_account_contact_creator: typing.Callable[[], T_Result], - attachments_assignees_collections_assigned_teams_account_contact_creator_parent_ticket: typing.Callable[ - [], T_Result - ], - attachments_assignees_collections_assigned_teams_account_contact_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_collections_assigned_teams_account_creator: typing.Callable[[], T_Result], - attachments_assignees_collections_assigned_teams_account_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_collections_assigned_teams_account_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_collections_assigned_teams_contact: typing.Callable[[], T_Result], - attachments_assignees_collections_assigned_teams_contact_creator: typing.Callable[[], T_Result], - attachments_assignees_collections_assigned_teams_contact_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_collections_assigned_teams_contact_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_collections_assigned_teams_creator: typing.Callable[[], T_Result], - attachments_assignees_collections_assigned_teams_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_collections_assigned_teams_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_collections_contact: typing.Callable[[], T_Result], - attachments_assignees_collections_contact_creator: typing.Callable[[], T_Result], - attachments_assignees_collections_contact_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_collections_contact_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_collections_creator: typing.Callable[[], T_Result], - attachments_assignees_collections_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_collections_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_contact: typing.Callable[[], T_Result], - attachments_assignees_contact_creator: typing.Callable[[], T_Result], - attachments_assignees_contact_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_contact_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_creator: typing.Callable[[], T_Result], - attachments_assignees_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_parent_ticket: typing.Callable[[], T_Result], - attachments_collections: typing.Callable[[], T_Result], - attachments_collections_account: typing.Callable[[], T_Result], - attachments_collections_account_contact: typing.Callable[[], T_Result], - attachments_collections_account_contact_creator: typing.Callable[[], T_Result], - attachments_collections_account_contact_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_collections_account_contact_parent_ticket: typing.Callable[[], T_Result], - attachments_collections_account_creator: typing.Callable[[], T_Result], - attachments_collections_account_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_collections_account_parent_ticket: typing.Callable[[], T_Result], - attachments_collections_assigned_teams: typing.Callable[[], T_Result], - attachments_collections_assigned_teams_account: typing.Callable[[], T_Result], - attachments_collections_assigned_teams_account_contact: typing.Callable[[], T_Result], - attachments_collections_assigned_teams_account_contact_creator: typing.Callable[[], T_Result], - attachments_collections_assigned_teams_account_contact_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_collections_assigned_teams_account_contact_parent_ticket: typing.Callable[[], T_Result], - attachments_collections_assigned_teams_account_creator: typing.Callable[[], T_Result], - attachments_collections_assigned_teams_account_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_collections_assigned_teams_account_parent_ticket: typing.Callable[[], T_Result], - attachments_collections_assigned_teams_contact: typing.Callable[[], T_Result], - attachments_collections_assigned_teams_contact_creator: typing.Callable[[], T_Result], - attachments_collections_assigned_teams_contact_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_collections_assigned_teams_contact_parent_ticket: typing.Callable[[], T_Result], - attachments_collections_assigned_teams_creator: typing.Callable[[], T_Result], - attachments_collections_assigned_teams_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_collections_assigned_teams_parent_ticket: typing.Callable[[], T_Result], - attachments_collections_contact: typing.Callable[[], T_Result], - attachments_collections_contact_creator: typing.Callable[[], T_Result], - attachments_collections_contact_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_collections_contact_parent_ticket: typing.Callable[[], T_Result], - attachments_collections_creator: typing.Callable[[], T_Result], - attachments_collections_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_collections_parent_ticket: typing.Callable[[], T_Result], - attachments_contact: typing.Callable[[], T_Result], - attachments_contact_creator: typing.Callable[[], T_Result], - attachments_contact_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_contact_parent_ticket: typing.Callable[[], T_Result], - attachments_creator: typing.Callable[[], T_Result], - attachments_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_parent_ticket: typing.Callable[[], T_Result], - collections: typing.Callable[[], T_Result], - collections_account: typing.Callable[[], T_Result], - collections_account_contact: typing.Callable[[], T_Result], - collections_account_contact_creator: typing.Callable[[], T_Result], - collections_account_contact_creator_parent_ticket: typing.Callable[[], T_Result], - collections_account_contact_parent_ticket: typing.Callable[[], T_Result], - collections_account_creator: typing.Callable[[], T_Result], - collections_account_creator_parent_ticket: typing.Callable[[], T_Result], - collections_account_parent_ticket: typing.Callable[[], T_Result], - collections_assigned_teams: typing.Callable[[], T_Result], - collections_assigned_teams_account: typing.Callable[[], T_Result], - collections_assigned_teams_account_contact: typing.Callable[[], T_Result], - collections_assigned_teams_account_contact_creator: typing.Callable[[], T_Result], - collections_assigned_teams_account_contact_creator_parent_ticket: typing.Callable[[], T_Result], - collections_assigned_teams_account_contact_parent_ticket: typing.Callable[[], T_Result], - collections_assigned_teams_account_creator: typing.Callable[[], T_Result], - collections_assigned_teams_account_creator_parent_ticket: typing.Callable[[], T_Result], - collections_assigned_teams_account_parent_ticket: typing.Callable[[], T_Result], - collections_assigned_teams_contact: typing.Callable[[], T_Result], - collections_assigned_teams_contact_creator: typing.Callable[[], T_Result], - collections_assigned_teams_contact_creator_parent_ticket: typing.Callable[[], T_Result], - collections_assigned_teams_contact_parent_ticket: typing.Callable[[], T_Result], - collections_assigned_teams_creator: typing.Callable[[], T_Result], - collections_assigned_teams_creator_parent_ticket: typing.Callable[[], T_Result], - collections_assigned_teams_parent_ticket: typing.Callable[[], T_Result], - collections_contact: typing.Callable[[], T_Result], - collections_contact_creator: typing.Callable[[], T_Result], - collections_contact_creator_parent_ticket: typing.Callable[[], T_Result], - collections_contact_parent_ticket: typing.Callable[[], T_Result], - collections_creator: typing.Callable[[], T_Result], - collections_creator_parent_ticket: typing.Callable[[], T_Result], - collections_parent_ticket: typing.Callable[[], T_Result], - contact: typing.Callable[[], T_Result], - contact_creator: typing.Callable[[], T_Result], - contact_creator_parent_ticket: typing.Callable[[], T_Result], - contact_parent_ticket: typing.Callable[[], T_Result], - creator: typing.Callable[[], T_Result], - creator_parent_ticket: typing.Callable[[], T_Result], - parent_ticket: typing.Callable[[], T_Result], - ) -> T_Result: - if self is TicketsRetrieveRequestExpand.ACCOUNT: - return account() - if self is TicketsRetrieveRequestExpand.ACCOUNT_CONTACT: - return account_contact() - if self is TicketsRetrieveRequestExpand.ACCOUNT_CONTACT_CREATOR: - return account_contact_creator() - if self is TicketsRetrieveRequestExpand.ACCOUNT_CONTACT_CREATOR_PARENT_TICKET: - return account_contact_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ACCOUNT_CONTACT_PARENT_TICKET: - return account_contact_parent_ticket() - if self is TicketsRetrieveRequestExpand.ACCOUNT_CREATOR: - return account_creator() - if self is TicketsRetrieveRequestExpand.ACCOUNT_CREATOR_PARENT_TICKET: - return account_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ACCOUNT_PARENT_TICKET: - return account_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNED_TEAMS: - return assigned_teams() - if self is TicketsRetrieveRequestExpand.ASSIGNED_TEAMS_ACCOUNT: - return assigned_teams_account() - if self is TicketsRetrieveRequestExpand.ASSIGNED_TEAMS_ACCOUNT_CONTACT: - return assigned_teams_account_contact() - if self is TicketsRetrieveRequestExpand.ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR: - return assigned_teams_account_contact_creator() - if self is TicketsRetrieveRequestExpand.ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET: - return assigned_teams_account_contact_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNED_TEAMS_ACCOUNT_CONTACT_PARENT_TICKET: - return assigned_teams_account_contact_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNED_TEAMS_ACCOUNT_CREATOR: - return assigned_teams_account_creator() - if self is TicketsRetrieveRequestExpand.ASSIGNED_TEAMS_ACCOUNT_CREATOR_PARENT_TICKET: - return assigned_teams_account_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNED_TEAMS_ACCOUNT_PARENT_TICKET: - return assigned_teams_account_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNED_TEAMS_CONTACT: - return assigned_teams_contact() - if self is TicketsRetrieveRequestExpand.ASSIGNED_TEAMS_CONTACT_CREATOR: - return assigned_teams_contact_creator() - if self is TicketsRetrieveRequestExpand.ASSIGNED_TEAMS_CONTACT_CREATOR_PARENT_TICKET: - return assigned_teams_contact_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNED_TEAMS_CONTACT_PARENT_TICKET: - return assigned_teams_contact_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNED_TEAMS_CREATOR: - return assigned_teams_creator() - if self is TicketsRetrieveRequestExpand.ASSIGNED_TEAMS_CREATOR_PARENT_TICKET: - return assigned_teams_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNED_TEAMS_PARENT_TICKET: - return assigned_teams_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNEES: - return assignees() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_ACCOUNT: - return assignees_account() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_ACCOUNT_CONTACT: - return assignees_account_contact() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_ACCOUNT_CONTACT_CREATOR: - return assignees_account_contact_creator() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET: - return assignees_account_contact_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_ACCOUNT_CONTACT_PARENT_TICKET: - return assignees_account_contact_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_ACCOUNT_CREATOR: - return assignees_account_creator() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_ACCOUNT_CREATOR_PARENT_TICKET: - return assignees_account_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_ACCOUNT_PARENT_TICKET: - return assignees_account_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_ASSIGNED_TEAMS: - return assignees_assigned_teams() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT: - return assignees_assigned_teams_account() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CONTACT: - return assignees_assigned_teams_account_contact() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR: - return assignees_assigned_teams_account_contact_creator() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET: - return assignees_assigned_teams_account_contact_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CONTACT_PARENT_TICKET: - return assignees_assigned_teams_account_contact_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CREATOR: - return assignees_assigned_teams_account_creator() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CREATOR_PARENT_TICKET: - return assignees_assigned_teams_account_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_PARENT_TICKET: - return assignees_assigned_teams_account_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_ASSIGNED_TEAMS_CONTACT: - return assignees_assigned_teams_contact() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_ASSIGNED_TEAMS_CONTACT_CREATOR: - return assignees_assigned_teams_contact_creator() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_ASSIGNED_TEAMS_CONTACT_CREATOR_PARENT_TICKET: - return assignees_assigned_teams_contact_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_ASSIGNED_TEAMS_CONTACT_PARENT_TICKET: - return assignees_assigned_teams_contact_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_ASSIGNED_TEAMS_CREATOR: - return assignees_assigned_teams_creator() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_ASSIGNED_TEAMS_CREATOR_PARENT_TICKET: - return assignees_assigned_teams_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_ASSIGNED_TEAMS_PARENT_TICKET: - return assignees_assigned_teams_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_COLLECTIONS: - return assignees_collections() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_COLLECTIONS_ACCOUNT: - return assignees_collections_account() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_COLLECTIONS_ACCOUNT_CONTACT: - return assignees_collections_account_contact() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_COLLECTIONS_ACCOUNT_CONTACT_CREATOR: - return assignees_collections_account_contact_creator() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_COLLECTIONS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET: - return assignees_collections_account_contact_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_COLLECTIONS_ACCOUNT_CONTACT_PARENT_TICKET: - return assignees_collections_account_contact_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_COLLECTIONS_ACCOUNT_CREATOR: - return assignees_collections_account_creator() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_COLLECTIONS_ACCOUNT_CREATOR_PARENT_TICKET: - return assignees_collections_account_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_COLLECTIONS_ACCOUNT_PARENT_TICKET: - return assignees_collections_account_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS: - return assignees_collections_assigned_teams() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT: - return assignees_collections_assigned_teams_account() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT: - return assignees_collections_assigned_teams_account_contact() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR: - return assignees_collections_assigned_teams_account_contact_creator() - if ( - self - is TicketsRetrieveRequestExpand.ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET - ): - return assignees_collections_assigned_teams_account_contact_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_PARENT_TICKET: - return assignees_collections_assigned_teams_account_contact_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CREATOR: - return assignees_collections_assigned_teams_account_creator() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CREATOR_PARENT_TICKET: - return assignees_collections_assigned_teams_account_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_PARENT_TICKET: - return assignees_collections_assigned_teams_account_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CONTACT: - return assignees_collections_assigned_teams_contact() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CONTACT_CREATOR: - return assignees_collections_assigned_teams_contact_creator() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CONTACT_CREATOR_PARENT_TICKET: - return assignees_collections_assigned_teams_contact_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CONTACT_PARENT_TICKET: - return assignees_collections_assigned_teams_contact_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CREATOR: - return assignees_collections_assigned_teams_creator() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CREATOR_PARENT_TICKET: - return assignees_collections_assigned_teams_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_PARENT_TICKET: - return assignees_collections_assigned_teams_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_COLLECTIONS_CONTACT: - return assignees_collections_contact() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_COLLECTIONS_CONTACT_CREATOR: - return assignees_collections_contact_creator() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_COLLECTIONS_CONTACT_CREATOR_PARENT_TICKET: - return assignees_collections_contact_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_COLLECTIONS_CONTACT_PARENT_TICKET: - return assignees_collections_contact_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_COLLECTIONS_CREATOR: - return assignees_collections_creator() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_COLLECTIONS_CREATOR_PARENT_TICKET: - return assignees_collections_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_COLLECTIONS_PARENT_TICKET: - return assignees_collections_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_CONTACT: - return assignees_contact() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_CONTACT_CREATOR: - return assignees_contact_creator() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_CONTACT_CREATOR_PARENT_TICKET: - return assignees_contact_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_CONTACT_PARENT_TICKET: - return assignees_contact_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_CREATOR: - return assignees_creator() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_CREATOR_PARENT_TICKET: - return assignees_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_PARENT_TICKET: - return assignees_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS: - return attachments() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ACCOUNT: - return attachments_account() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ACCOUNT_CONTACT: - return attachments_account_contact() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ACCOUNT_CONTACT_CREATOR: - return attachments_account_contact_creator() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET: - return attachments_account_contact_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ACCOUNT_CONTACT_PARENT_TICKET: - return attachments_account_contact_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ACCOUNT_CREATOR: - return attachments_account_creator() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ACCOUNT_CREATOR_PARENT_TICKET: - return attachments_account_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ACCOUNT_PARENT_TICKET: - return attachments_account_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNED_TEAMS: - return attachments_assigned_teams() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNED_TEAMS_ACCOUNT: - return attachments_assigned_teams_account() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNED_TEAMS_ACCOUNT_CONTACT: - return attachments_assigned_teams_account_contact() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR: - return attachments_assigned_teams_account_contact_creator() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET: - return attachments_assigned_teams_account_contact_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_PARENT_TICKET: - return attachments_assigned_teams_account_contact_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNED_TEAMS_ACCOUNT_CREATOR: - return attachments_assigned_teams_account_creator() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNED_TEAMS_ACCOUNT_CREATOR_PARENT_TICKET: - return attachments_assigned_teams_account_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNED_TEAMS_ACCOUNT_PARENT_TICKET: - return attachments_assigned_teams_account_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNED_TEAMS_CONTACT: - return attachments_assigned_teams_contact() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNED_TEAMS_CONTACT_CREATOR: - return attachments_assigned_teams_contact_creator() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNED_TEAMS_CONTACT_CREATOR_PARENT_TICKET: - return attachments_assigned_teams_contact_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNED_TEAMS_CONTACT_PARENT_TICKET: - return attachments_assigned_teams_contact_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNED_TEAMS_CREATOR: - return attachments_assigned_teams_creator() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNED_TEAMS_CREATOR_PARENT_TICKET: - return attachments_assigned_teams_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNED_TEAMS_PARENT_TICKET: - return attachments_assigned_teams_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES: - return attachments_assignees() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_ACCOUNT: - return attachments_assignees_account() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_ACCOUNT_CONTACT: - return attachments_assignees_account_contact() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_ACCOUNT_CONTACT_CREATOR: - return attachments_assignees_account_contact_creator() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET: - return attachments_assignees_account_contact_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_ACCOUNT_CONTACT_PARENT_TICKET: - return attachments_assignees_account_contact_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_ACCOUNT_CREATOR: - return attachments_assignees_account_creator() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_ACCOUNT_CREATOR_PARENT_TICKET: - return attachments_assignees_account_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_ACCOUNT_PARENT_TICKET: - return attachments_assignees_account_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS: - return attachments_assignees_assigned_teams() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT: - return attachments_assignees_assigned_teams_account() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CONTACT: - return attachments_assignees_assigned_teams_account_contact() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR: - return attachments_assignees_assigned_teams_account_contact_creator() - if ( - self - is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET - ): - return attachments_assignees_assigned_teams_account_contact_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CONTACT_PARENT_TICKET: - return attachments_assignees_assigned_teams_account_contact_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CREATOR: - return attachments_assignees_assigned_teams_account_creator() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CREATOR_PARENT_TICKET: - return attachments_assignees_assigned_teams_account_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_PARENT_TICKET: - return attachments_assignees_assigned_teams_account_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_CONTACT: - return attachments_assignees_assigned_teams_contact() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_CONTACT_CREATOR: - return attachments_assignees_assigned_teams_contact_creator() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_CONTACT_CREATOR_PARENT_TICKET: - return attachments_assignees_assigned_teams_contact_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_CONTACT_PARENT_TICKET: - return attachments_assignees_assigned_teams_contact_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_CREATOR: - return attachments_assignees_assigned_teams_creator() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_CREATOR_PARENT_TICKET: - return attachments_assignees_assigned_teams_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_PARENT_TICKET: - return attachments_assignees_assigned_teams_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS: - return attachments_assignees_collections() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ACCOUNT: - return attachments_assignees_collections_account() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ACCOUNT_CONTACT: - return attachments_assignees_collections_account_contact() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ACCOUNT_CONTACT_CREATOR: - return attachments_assignees_collections_account_contact_creator() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET: - return attachments_assignees_collections_account_contact_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ACCOUNT_CONTACT_PARENT_TICKET: - return attachments_assignees_collections_account_contact_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ACCOUNT_CREATOR: - return attachments_assignees_collections_account_creator() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ACCOUNT_CREATOR_PARENT_TICKET: - return attachments_assignees_collections_account_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ACCOUNT_PARENT_TICKET: - return attachments_assignees_collections_account_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS: - return attachments_assignees_collections_assigned_teams() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT: - return attachments_assignees_collections_assigned_teams_account() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT: - return attachments_assignees_collections_assigned_teams_account_contact() - if ( - self - is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR - ): - return attachments_assignees_collections_assigned_teams_account_contact_creator() - if ( - self - is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET - ): - return attachments_assignees_collections_assigned_teams_account_contact_creator_parent_ticket() - if ( - self - is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_PARENT_TICKET - ): - return attachments_assignees_collections_assigned_teams_account_contact_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CREATOR: - return attachments_assignees_collections_assigned_teams_account_creator() - if ( - self - is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CREATOR_PARENT_TICKET - ): - return attachments_assignees_collections_assigned_teams_account_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_PARENT_TICKET: - return attachments_assignees_collections_assigned_teams_account_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CONTACT: - return attachments_assignees_collections_assigned_teams_contact() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CONTACT_CREATOR: - return attachments_assignees_collections_assigned_teams_contact_creator() - if ( - self - is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CONTACT_CREATOR_PARENT_TICKET - ): - return attachments_assignees_collections_assigned_teams_contact_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CONTACT_PARENT_TICKET: - return attachments_assignees_collections_assigned_teams_contact_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CREATOR: - return attachments_assignees_collections_assigned_teams_creator() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CREATOR_PARENT_TICKET: - return attachments_assignees_collections_assigned_teams_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_PARENT_TICKET: - return attachments_assignees_collections_assigned_teams_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_CONTACT: - return attachments_assignees_collections_contact() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_CONTACT_CREATOR: - return attachments_assignees_collections_contact_creator() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_CONTACT_CREATOR_PARENT_TICKET: - return attachments_assignees_collections_contact_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_CONTACT_PARENT_TICKET: - return attachments_assignees_collections_contact_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_CREATOR: - return attachments_assignees_collections_creator() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_CREATOR_PARENT_TICKET: - return attachments_assignees_collections_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_PARENT_TICKET: - return attachments_assignees_collections_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_CONTACT: - return attachments_assignees_contact() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_CONTACT_CREATOR: - return attachments_assignees_contact_creator() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_CONTACT_CREATOR_PARENT_TICKET: - return attachments_assignees_contact_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_CONTACT_PARENT_TICKET: - return attachments_assignees_contact_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_CREATOR: - return attachments_assignees_creator() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_CREATOR_PARENT_TICKET: - return attachments_assignees_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_PARENT_TICKET: - return attachments_assignees_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_COLLECTIONS: - return attachments_collections() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_COLLECTIONS_ACCOUNT: - return attachments_collections_account() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_COLLECTIONS_ACCOUNT_CONTACT: - return attachments_collections_account_contact() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_COLLECTIONS_ACCOUNT_CONTACT_CREATOR: - return attachments_collections_account_contact_creator() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_COLLECTIONS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET: - return attachments_collections_account_contact_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_COLLECTIONS_ACCOUNT_CONTACT_PARENT_TICKET: - return attachments_collections_account_contact_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_COLLECTIONS_ACCOUNT_CREATOR: - return attachments_collections_account_creator() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_COLLECTIONS_ACCOUNT_CREATOR_PARENT_TICKET: - return attachments_collections_account_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_COLLECTIONS_ACCOUNT_PARENT_TICKET: - return attachments_collections_account_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS: - return attachments_collections_assigned_teams() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT: - return attachments_collections_assigned_teams_account() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT: - return attachments_collections_assigned_teams_account_contact() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR: - return attachments_collections_assigned_teams_account_contact_creator() - if ( - self - is TicketsRetrieveRequestExpand.ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET - ): - return attachments_collections_assigned_teams_account_contact_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_PARENT_TICKET: - return attachments_collections_assigned_teams_account_contact_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CREATOR: - return attachments_collections_assigned_teams_account_creator() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CREATOR_PARENT_TICKET: - return attachments_collections_assigned_teams_account_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_PARENT_TICKET: - return attachments_collections_assigned_teams_account_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_CONTACT: - return attachments_collections_assigned_teams_contact() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_CONTACT_CREATOR: - return attachments_collections_assigned_teams_contact_creator() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_CONTACT_CREATOR_PARENT_TICKET: - return attachments_collections_assigned_teams_contact_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_CONTACT_PARENT_TICKET: - return attachments_collections_assigned_teams_contact_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_CREATOR: - return attachments_collections_assigned_teams_creator() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_CREATOR_PARENT_TICKET: - return attachments_collections_assigned_teams_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_PARENT_TICKET: - return attachments_collections_assigned_teams_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_COLLECTIONS_CONTACT: - return attachments_collections_contact() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_COLLECTIONS_CONTACT_CREATOR: - return attachments_collections_contact_creator() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_COLLECTIONS_CONTACT_CREATOR_PARENT_TICKET: - return attachments_collections_contact_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_COLLECTIONS_CONTACT_PARENT_TICKET: - return attachments_collections_contact_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_COLLECTIONS_CREATOR: - return attachments_collections_creator() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_COLLECTIONS_CREATOR_PARENT_TICKET: - return attachments_collections_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_COLLECTIONS_PARENT_TICKET: - return attachments_collections_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_CONTACT: - return attachments_contact() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_CONTACT_CREATOR: - return attachments_contact_creator() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_CONTACT_CREATOR_PARENT_TICKET: - return attachments_contact_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_CONTACT_PARENT_TICKET: - return attachments_contact_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_CREATOR: - return attachments_creator() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_CREATOR_PARENT_TICKET: - return attachments_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_PARENT_TICKET: - return attachments_parent_ticket() - if self is TicketsRetrieveRequestExpand.COLLECTIONS: - return collections() - if self is TicketsRetrieveRequestExpand.COLLECTIONS_ACCOUNT: - return collections_account() - if self is TicketsRetrieveRequestExpand.COLLECTIONS_ACCOUNT_CONTACT: - return collections_account_contact() - if self is TicketsRetrieveRequestExpand.COLLECTIONS_ACCOUNT_CONTACT_CREATOR: - return collections_account_contact_creator() - if self is TicketsRetrieveRequestExpand.COLLECTIONS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET: - return collections_account_contact_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.COLLECTIONS_ACCOUNT_CONTACT_PARENT_TICKET: - return collections_account_contact_parent_ticket() - if self is TicketsRetrieveRequestExpand.COLLECTIONS_ACCOUNT_CREATOR: - return collections_account_creator() - if self is TicketsRetrieveRequestExpand.COLLECTIONS_ACCOUNT_CREATOR_PARENT_TICKET: - return collections_account_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.COLLECTIONS_ACCOUNT_PARENT_TICKET: - return collections_account_parent_ticket() - if self is TicketsRetrieveRequestExpand.COLLECTIONS_ASSIGNED_TEAMS: - return collections_assigned_teams() - if self is TicketsRetrieveRequestExpand.COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT: - return collections_assigned_teams_account() - if self is TicketsRetrieveRequestExpand.COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT: - return collections_assigned_teams_account_contact() - if self is TicketsRetrieveRequestExpand.COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR: - return collections_assigned_teams_account_contact_creator() - if self is TicketsRetrieveRequestExpand.COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET: - return collections_assigned_teams_account_contact_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_PARENT_TICKET: - return collections_assigned_teams_account_contact_parent_ticket() - if self is TicketsRetrieveRequestExpand.COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CREATOR: - return collections_assigned_teams_account_creator() - if self is TicketsRetrieveRequestExpand.COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CREATOR_PARENT_TICKET: - return collections_assigned_teams_account_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_PARENT_TICKET: - return collections_assigned_teams_account_parent_ticket() - if self is TicketsRetrieveRequestExpand.COLLECTIONS_ASSIGNED_TEAMS_CONTACT: - return collections_assigned_teams_contact() - if self is TicketsRetrieveRequestExpand.COLLECTIONS_ASSIGNED_TEAMS_CONTACT_CREATOR: - return collections_assigned_teams_contact_creator() - if self is TicketsRetrieveRequestExpand.COLLECTIONS_ASSIGNED_TEAMS_CONTACT_CREATOR_PARENT_TICKET: - return collections_assigned_teams_contact_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.COLLECTIONS_ASSIGNED_TEAMS_CONTACT_PARENT_TICKET: - return collections_assigned_teams_contact_parent_ticket() - if self is TicketsRetrieveRequestExpand.COLLECTIONS_ASSIGNED_TEAMS_CREATOR: - return collections_assigned_teams_creator() - if self is TicketsRetrieveRequestExpand.COLLECTIONS_ASSIGNED_TEAMS_CREATOR_PARENT_TICKET: - return collections_assigned_teams_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.COLLECTIONS_ASSIGNED_TEAMS_PARENT_TICKET: - return collections_assigned_teams_parent_ticket() - if self is TicketsRetrieveRequestExpand.COLLECTIONS_CONTACT: - return collections_contact() - if self is TicketsRetrieveRequestExpand.COLLECTIONS_CONTACT_CREATOR: - return collections_contact_creator() - if self is TicketsRetrieveRequestExpand.COLLECTIONS_CONTACT_CREATOR_PARENT_TICKET: - return collections_contact_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.COLLECTIONS_CONTACT_PARENT_TICKET: - return collections_contact_parent_ticket() - if self is TicketsRetrieveRequestExpand.COLLECTIONS_CREATOR: - return collections_creator() - if self is TicketsRetrieveRequestExpand.COLLECTIONS_CREATOR_PARENT_TICKET: - return collections_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.COLLECTIONS_PARENT_TICKET: - return collections_parent_ticket() - if self is TicketsRetrieveRequestExpand.CONTACT: - return contact() - if self is TicketsRetrieveRequestExpand.CONTACT_CREATOR: - return contact_creator() - if self is TicketsRetrieveRequestExpand.CONTACT_CREATOR_PARENT_TICKET: - return contact_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.CONTACT_PARENT_TICKET: - return contact_parent_ticket() - if self is TicketsRetrieveRequestExpand.CREATOR: - return creator() - if self is TicketsRetrieveRequestExpand.CREATOR_PARENT_TICKET: - return creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.PARENT_TICKET: - return parent_ticket() diff --git a/src/merge/resources/ticketing/resources/tickets/types/tickets_retrieve_request_expand_item.py b/src/merge/resources/ticketing/resources/tickets/types/tickets_retrieve_request_expand_item.py new file mode 100644 index 00000000..a6ad5f2a --- /dev/null +++ b/src/merge/resources/ticketing/resources/tickets/types/tickets_retrieve_request_expand_item.py @@ -0,0 +1,45 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class TicketsRetrieveRequestExpandItem(str, enum.Enum): + ACCOUNT = "account" + ASSIGNED_TEAMS = "assigned_teams" + ASSIGNEES = "assignees" + ATTACHMENTS = "attachments" + COLLECTIONS = "collections" + CONTACT = "contact" + CREATOR = "creator" + PARENT_TICKET = "parent_ticket" + + def visit( + self, + account: typing.Callable[[], T_Result], + assigned_teams: typing.Callable[[], T_Result], + assignees: typing.Callable[[], T_Result], + attachments: typing.Callable[[], T_Result], + collections: typing.Callable[[], T_Result], + contact: typing.Callable[[], T_Result], + creator: typing.Callable[[], T_Result], + parent_ticket: typing.Callable[[], T_Result], + ) -> T_Result: + if self is TicketsRetrieveRequestExpandItem.ACCOUNT: + return account() + if self is TicketsRetrieveRequestExpandItem.ASSIGNED_TEAMS: + return assigned_teams() + if self is TicketsRetrieveRequestExpandItem.ASSIGNEES: + return assignees() + if self is TicketsRetrieveRequestExpandItem.ATTACHMENTS: + return attachments() + if self is TicketsRetrieveRequestExpandItem.COLLECTIONS: + return collections() + if self is TicketsRetrieveRequestExpandItem.CONTACT: + return contact() + if self is TicketsRetrieveRequestExpandItem.CREATOR: + return creator() + if self is TicketsRetrieveRequestExpandItem.PARENT_TICKET: + return parent_ticket() diff --git a/src/merge/resources/ticketing/resources/tickets/types/tickets_viewers_list_request_expand.py b/src/merge/resources/ticketing/resources/tickets/types/tickets_viewers_list_request_expand.py deleted file mode 100644 index ddb14bb3..00000000 --- a/src/merge/resources/ticketing/resources/tickets/types/tickets_viewers_list_request_expand.py +++ /dev/null @@ -1,25 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class TicketsViewersListRequestExpand(str, enum.Enum): - TEAM = "team" - USER = "user" - USER_TEAM = "user,team" - - def visit( - self, - team: typing.Callable[[], T_Result], - user: typing.Callable[[], T_Result], - user_team: typing.Callable[[], T_Result], - ) -> T_Result: - if self is TicketsViewersListRequestExpand.TEAM: - return team() - if self is TicketsViewersListRequestExpand.USER: - return user() - if self is TicketsViewersListRequestExpand.USER_TEAM: - return user_team() diff --git a/src/merge/resources/ticketing/resources/tickets/types/tickets_viewers_list_request_expand_item.py b/src/merge/resources/ticketing/resources/tickets/types/tickets_viewers_list_request_expand_item.py new file mode 100644 index 00000000..756fcef2 --- /dev/null +++ b/src/merge/resources/ticketing/resources/tickets/types/tickets_viewers_list_request_expand_item.py @@ -0,0 +1,17 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class TicketsViewersListRequestExpandItem(str, enum.Enum): + TEAM = "team" + USER = "user" + + def visit(self, team: typing.Callable[[], T_Result], user: typing.Callable[[], T_Result]) -> T_Result: + if self is TicketsViewersListRequestExpandItem.TEAM: + return team() + if self is TicketsViewersListRequestExpandItem.USER: + return user() diff --git a/src/merge/resources/ticketing/resources/users/__init__.py b/src/merge/resources/ticketing/resources/users/__init__.py index a2dfa5f8..47b3e9a5 100644 --- a/src/merge/resources/ticketing/resources/users/__init__.py +++ b/src/merge/resources/ticketing/resources/users/__init__.py @@ -6,8 +6,11 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .types import UsersListRequestExpand, UsersRetrieveRequestExpand -_dynamic_imports: typing.Dict[str, str] = {"UsersListRequestExpand": ".types", "UsersRetrieveRequestExpand": ".types"} + from .types import UsersListRequestExpandItem, UsersRetrieveRequestExpandItem +_dynamic_imports: typing.Dict[str, str] = { + "UsersListRequestExpandItem": ".types", + "UsersRetrieveRequestExpandItem": ".types", +} def __getattr__(attr_name: str) -> typing.Any: @@ -16,8 +19,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -29,4 +34,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["UsersListRequestExpand", "UsersRetrieveRequestExpand"] +__all__ = ["UsersListRequestExpandItem", "UsersRetrieveRequestExpandItem"] diff --git a/src/merge/resources/ticketing/resources/users/client.py b/src/merge/resources/ticketing/resources/users/client.py index 69855e85..0c922116 100644 --- a/src/merge/resources/ticketing/resources/users/client.py +++ b/src/merge/resources/ticketing/resources/users/client.py @@ -4,12 +4,13 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.paginated_user_list import PaginatedUserList from ...types.user import User from .raw_client import AsyncRawUsersClient, RawUsersClient -from .types.users_list_request_expand import UsersListRequestExpand -from .types.users_retrieve_request_expand import UsersRetrieveRequestExpand +from .types.users_list_request_expand_item import UsersListRequestExpandItem +from .types.users_retrieve_request_expand_item import UsersRetrieveRequestExpandItem class UsersClient: @@ -34,7 +35,9 @@ def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, email_address: typing.Optional[str] = None, - expand: typing.Optional[UsersListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[UsersListRequestExpandItem, typing.Sequence[UsersListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -44,7 +47,7 @@ def list( remote_id: typing.Optional[str] = None, team: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedUserList: + ) -> SyncPager[User, PaginatedUserList]: """ Returns a list of `User` objects. @@ -62,7 +65,7 @@ def list( email_address : typing.Optional[str] If provided, will only return users with emails equal to this value (case insensitive). - expand : typing.Optional[UsersListRequestExpand] + expand : typing.Optional[typing.Union[UsersListRequestExpandItem, typing.Sequence[UsersListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -81,7 +84,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -94,45 +97,27 @@ def list( Returns ------- - PaginatedUserList + SyncPager[User, PaginatedUserList] Examples -------- - import datetime - from merge import Merge - from merge.resources.ticketing.resources.users import UsersListRequestExpand client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ticketing.users.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = client.ticketing.users.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - email_address="email_address", - expand=UsersListRequestExpand.ROLES, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", - team="team", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -148,13 +133,14 @@ def list( team=team, request_options=request_options, ) - return _response.data def retrieve( self, id: str, *, - expand: typing.Optional[UsersRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[UsersRetrieveRequestExpandItem, typing.Sequence[UsersRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -166,7 +152,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[UsersRetrieveRequestExpand] + expand : typing.Optional[typing.Union[UsersRetrieveRequestExpandItem, typing.Sequence[UsersRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -186,7 +172,6 @@ def retrieve( Examples -------- from merge import Merge - from merge.resources.ticketing.resources.users import UsersRetrieveRequestExpand client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -194,9 +179,6 @@ def retrieve( ) client.ticketing.users.retrieve( id="id", - expand=UsersRetrieveRequestExpand.ROLES, - include_remote_data=True, - include_shell_data=True, ) """ _response = self._raw_client.retrieve( @@ -231,7 +213,9 @@ async def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, email_address: typing.Optional[str] = None, - expand: typing.Optional[UsersListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[UsersListRequestExpandItem, typing.Sequence[UsersListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -241,7 +225,7 @@ async def list( remote_id: typing.Optional[str] = None, team: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedUserList: + ) -> AsyncPager[User, PaginatedUserList]: """ Returns a list of `User` objects. @@ -259,7 +243,7 @@ async def list( email_address : typing.Optional[str] If provided, will only return users with emails equal to this value (case insensitive). - expand : typing.Optional[UsersListRequestExpand] + expand : typing.Optional[typing.Union[UsersListRequestExpandItem, typing.Sequence[UsersListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -278,7 +262,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -291,16 +275,14 @@ async def list( Returns ------- - PaginatedUserList + AsyncPager[User, PaginatedUserList] Examples -------- import asyncio - import datetime from merge import AsyncMerge - from merge.resources.ticketing.resources.users import UsersListRequestExpand client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -309,34 +291,20 @@ async def list( async def main() -> None: - await client.ticketing.users.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + response = await client.ticketing.users.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - email_address="email_address", - expand=UsersListRequestExpand.ROLES, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", - team="team", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -352,13 +320,14 @@ async def main() -> None: team=team, request_options=request_options, ) - return _response.data async def retrieve( self, id: str, *, - expand: typing.Optional[UsersRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[UsersRetrieveRequestExpandItem, typing.Sequence[UsersRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -370,7 +339,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[UsersRetrieveRequestExpand] + expand : typing.Optional[typing.Union[UsersRetrieveRequestExpandItem, typing.Sequence[UsersRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -392,7 +361,6 @@ async def retrieve( import asyncio from merge import AsyncMerge - from merge.resources.ticketing.resources.users import UsersRetrieveRequestExpand client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -403,9 +371,6 @@ async def retrieve( async def main() -> None: await client.ticketing.users.retrieve( id="id", - expand=UsersRetrieveRequestExpand.ROLES, - include_remote_data=True, - include_shell_data=True, ) diff --git a/src/merge/resources/ticketing/resources/users/raw_client.py b/src/merge/resources/ticketing/resources/users/raw_client.py index b7f9c286..7da9c5fa 100644 --- a/src/merge/resources/ticketing/resources/users/raw_client.py +++ b/src/merge/resources/ticketing/resources/users/raw_client.py @@ -9,12 +9,13 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.paginated_user_list import PaginatedUserList from ...types.user import User -from .types.users_list_request_expand import UsersListRequestExpand -from .types.users_retrieve_request_expand import UsersRetrieveRequestExpand +from .types.users_list_request_expand_item import UsersListRequestExpandItem +from .types.users_retrieve_request_expand_item import UsersRetrieveRequestExpandItem class RawUsersClient: @@ -28,7 +29,9 @@ def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, email_address: typing.Optional[str] = None, - expand: typing.Optional[UsersListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[UsersListRequestExpandItem, typing.Sequence[UsersListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -38,7 +41,7 @@ def list( remote_id: typing.Optional[str] = None, team: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedUserList]: + ) -> SyncPager[User, PaginatedUserList]: """ Returns a list of `User` objects. @@ -56,7 +59,7 @@ def list( email_address : typing.Optional[str] If provided, will only return users with emails equal to this value (case insensitive). - expand : typing.Optional[UsersListRequestExpand] + expand : typing.Optional[typing.Union[UsersListRequestExpandItem, typing.Sequence[UsersListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -75,7 +78,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -88,7 +91,7 @@ def list( Returns ------- - HttpResponse[PaginatedUserList] + SyncPager[User, PaginatedUserList] """ _response = self._client_wrapper.httpx_client.request( @@ -113,14 +116,33 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedUserList, construct_type( type_=PaginatedUserList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + email_address=email_address, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + team=team, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -130,7 +152,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[UsersRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[UsersRetrieveRequestExpandItem, typing.Sequence[UsersRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -142,7 +166,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[UsersRetrieveRequestExpand] + expand : typing.Optional[typing.Union[UsersRetrieveRequestExpandItem, typing.Sequence[UsersRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -196,7 +220,9 @@ async def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, email_address: typing.Optional[str] = None, - expand: typing.Optional[UsersListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[UsersListRequestExpandItem, typing.Sequence[UsersListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -206,7 +232,7 @@ async def list( remote_id: typing.Optional[str] = None, team: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedUserList]: + ) -> AsyncPager[User, PaginatedUserList]: """ Returns a list of `User` objects. @@ -224,7 +250,7 @@ async def list( email_address : typing.Optional[str] If provided, will only return users with emails equal to this value (case insensitive). - expand : typing.Optional[UsersListRequestExpand] + expand : typing.Optional[typing.Union[UsersListRequestExpandItem, typing.Sequence[UsersListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -243,7 +269,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -256,7 +282,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedUserList] + AsyncPager[User, PaginatedUserList] """ _response = await self._client_wrapper.httpx_client.request( @@ -281,14 +307,36 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedUserList, construct_type( type_=PaginatedUserList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + email_address=email_address, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + team=team, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -298,7 +346,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[UsersRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[UsersRetrieveRequestExpandItem, typing.Sequence[UsersRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -310,7 +360,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[UsersRetrieveRequestExpand] + expand : typing.Optional[typing.Union[UsersRetrieveRequestExpandItem, typing.Sequence[UsersRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/ticketing/resources/users/types/__init__.py b/src/merge/resources/ticketing/resources/users/types/__init__.py index bd60bdef..ae62b2c8 100644 --- a/src/merge/resources/ticketing/resources/users/types/__init__.py +++ b/src/merge/resources/ticketing/resources/users/types/__init__.py @@ -6,11 +6,11 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .users_list_request_expand import UsersListRequestExpand - from .users_retrieve_request_expand import UsersRetrieveRequestExpand + from .users_list_request_expand_item import UsersListRequestExpandItem + from .users_retrieve_request_expand_item import UsersRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "UsersListRequestExpand": ".users_list_request_expand", - "UsersRetrieveRequestExpand": ".users_retrieve_request_expand", + "UsersListRequestExpandItem": ".users_list_request_expand_item", + "UsersRetrieveRequestExpandItem": ".users_retrieve_request_expand_item", } @@ -20,8 +20,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -33,4 +35,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["UsersListRequestExpand", "UsersRetrieveRequestExpand"] +__all__ = ["UsersListRequestExpandItem", "UsersRetrieveRequestExpandItem"] diff --git a/src/merge/resources/ticketing/resources/users/types/users_list_request_expand.py b/src/merge/resources/ticketing/resources/users/types/users_list_request_expand.py deleted file mode 100644 index d4b526f8..00000000 --- a/src/merge/resources/ticketing/resources/users/types/users_list_request_expand.py +++ /dev/null @@ -1,25 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class UsersListRequestExpand(str, enum.Enum): - ROLES = "roles" - TEAMS = "teams" - TEAMS_ROLES = "teams,roles" - - def visit( - self, - roles: typing.Callable[[], T_Result], - teams: typing.Callable[[], T_Result], - teams_roles: typing.Callable[[], T_Result], - ) -> T_Result: - if self is UsersListRequestExpand.ROLES: - return roles() - if self is UsersListRequestExpand.TEAMS: - return teams() - if self is UsersListRequestExpand.TEAMS_ROLES: - return teams_roles() diff --git a/src/merge/resources/ticketing/resources/users/types/users_list_request_expand_item.py b/src/merge/resources/ticketing/resources/users/types/users_list_request_expand_item.py new file mode 100644 index 00000000..5a1b474b --- /dev/null +++ b/src/merge/resources/ticketing/resources/users/types/users_list_request_expand_item.py @@ -0,0 +1,17 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class UsersListRequestExpandItem(str, enum.Enum): + ROLES = "roles" + TEAMS = "teams" + + def visit(self, roles: typing.Callable[[], T_Result], teams: typing.Callable[[], T_Result]) -> T_Result: + if self is UsersListRequestExpandItem.ROLES: + return roles() + if self is UsersListRequestExpandItem.TEAMS: + return teams() diff --git a/src/merge/resources/ticketing/resources/users/types/users_retrieve_request_expand.py b/src/merge/resources/ticketing/resources/users/types/users_retrieve_request_expand.py deleted file mode 100644 index b7f19ab6..00000000 --- a/src/merge/resources/ticketing/resources/users/types/users_retrieve_request_expand.py +++ /dev/null @@ -1,25 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class UsersRetrieveRequestExpand(str, enum.Enum): - ROLES = "roles" - TEAMS = "teams" - TEAMS_ROLES = "teams,roles" - - def visit( - self, - roles: typing.Callable[[], T_Result], - teams: typing.Callable[[], T_Result], - teams_roles: typing.Callable[[], T_Result], - ) -> T_Result: - if self is UsersRetrieveRequestExpand.ROLES: - return roles() - if self is UsersRetrieveRequestExpand.TEAMS: - return teams() - if self is UsersRetrieveRequestExpand.TEAMS_ROLES: - return teams_roles() diff --git a/src/merge/resources/ticketing/resources/users/types/users_retrieve_request_expand_item.py b/src/merge/resources/ticketing/resources/users/types/users_retrieve_request_expand_item.py new file mode 100644 index 00000000..5f734dfc --- /dev/null +++ b/src/merge/resources/ticketing/resources/users/types/users_retrieve_request_expand_item.py @@ -0,0 +1,17 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class UsersRetrieveRequestExpandItem(str, enum.Enum): + ROLES = "roles" + TEAMS = "teams" + + def visit(self, roles: typing.Callable[[], T_Result], teams: typing.Callable[[], T_Result]) -> T_Result: + if self is UsersRetrieveRequestExpandItem.ROLES: + return roles() + if self is UsersRetrieveRequestExpandItem.TEAMS: + return teams() diff --git a/src/merge/resources/ticketing/types/__init__.py b/src/merge/resources/ticketing/types/__init__.py index 59da70e3..296cfa0f 100644 --- a/src/merge/resources/ticketing/types/__init__.py +++ b/src/merge/resources/ticketing/types/__init__.py @@ -31,7 +31,6 @@ from .collection import Collection from .collection_access_level import CollectionAccessLevel from .collection_access_level_enum import CollectionAccessLevelEnum - from .collection_collection_type import CollectionCollectionType from .collection_parent_collection import CollectionParentCollection from .collection_type_enum import CollectionTypeEnum from .comment import Comment @@ -45,7 +44,6 @@ from .comment_user import CommentUser from .common_model_scope_api import CommonModelScopeApi from .common_model_scopes_body_request import CommonModelScopesBodyRequest - from .completed_account_initial_screen_enum import CompletedAccountInitialScreenEnum from .contact import Contact from .contact_account import ContactAccount from .contact_request import ContactRequest @@ -109,7 +107,6 @@ from .paginated_viewer_list import PaginatedViewerList from .patched_ticket_request import PatchedTicketRequest from .patched_ticket_request_access_level import PatchedTicketRequestAccessLevel - from .patched_ticket_request_priority import PatchedTicketRequestPriority from .patched_ticket_request_status import PatchedTicketRequestStatus from .priority_enum import PriorityEnum from .project import Project @@ -121,13 +118,12 @@ from .remote_field_api_response import RemoteFieldApiResponse from .remote_field_class import RemoteFieldClass from .remote_field_class_field_choices_item import RemoteFieldClassFieldChoicesItem - from .remote_field_class_field_format import RemoteFieldClassFieldFormat - from .remote_field_class_field_type import RemoteFieldClassFieldType from .remote_field_remote_field_class import RemoteFieldRemoteFieldClass from .remote_field_request import RemoteFieldRequest from .remote_field_request_remote_field_class import RemoteFieldRequestRemoteFieldClass from .remote_key import RemoteKey from .remote_response import RemoteResponse + from .remote_response_response_type import RemoteResponseResponseType from .request_format_enum import RequestFormatEnum from .response_type_enum import ResponseTypeEnum from .role import Role @@ -135,9 +131,10 @@ from .role_ticket_access import RoleTicketAccess from .role_ticket_actions_item import RoleTicketActionsItem from .selective_sync_configurations_usage_enum import SelectiveSyncConfigurationsUsageEnum - from .status_fd_5_enum import StatusFd5Enum + from .status_fd5enum import StatusFd5Enum from .sync_status import SyncStatus from .sync_status_last_sync_result import SyncStatusLastSyncResult + from .sync_status_status import SyncStatusStatus from .tag import Tag from .team import Team from .ticket import Ticket @@ -206,7 +203,6 @@ "Collection": ".collection", "CollectionAccessLevel": ".collection_access_level", "CollectionAccessLevelEnum": ".collection_access_level_enum", - "CollectionCollectionType": ".collection_collection_type", "CollectionParentCollection": ".collection_parent_collection", "CollectionTypeEnum": ".collection_type_enum", "Comment": ".comment", @@ -220,7 +216,6 @@ "CommentUser": ".comment_user", "CommonModelScopeApi": ".common_model_scope_api", "CommonModelScopesBodyRequest": ".common_model_scopes_body_request", - "CompletedAccountInitialScreenEnum": ".completed_account_initial_screen_enum", "Contact": ".contact", "ContactAccount": ".contact_account", "ContactRequest": ".contact_request", @@ -282,7 +277,6 @@ "PaginatedViewerList": ".paginated_viewer_list", "PatchedTicketRequest": ".patched_ticket_request", "PatchedTicketRequestAccessLevel": ".patched_ticket_request_access_level", - "PatchedTicketRequestPriority": ".patched_ticket_request_priority", "PatchedTicketRequestStatus": ".patched_ticket_request_status", "PriorityEnum": ".priority_enum", "Project": ".project", @@ -294,13 +288,12 @@ "RemoteFieldApiResponse": ".remote_field_api_response", "RemoteFieldClass": ".remote_field_class", "RemoteFieldClassFieldChoicesItem": ".remote_field_class_field_choices_item", - "RemoteFieldClassFieldFormat": ".remote_field_class_field_format", - "RemoteFieldClassFieldType": ".remote_field_class_field_type", "RemoteFieldRemoteFieldClass": ".remote_field_remote_field_class", "RemoteFieldRequest": ".remote_field_request", "RemoteFieldRequestRemoteFieldClass": ".remote_field_request_remote_field_class", "RemoteKey": ".remote_key", "RemoteResponse": ".remote_response", + "RemoteResponseResponseType": ".remote_response_response_type", "RequestFormatEnum": ".request_format_enum", "ResponseTypeEnum": ".response_type_enum", "Role": ".role", @@ -308,9 +301,10 @@ "RoleTicketAccess": ".role_ticket_access", "RoleTicketActionsItem": ".role_ticket_actions_item", "SelectiveSyncConfigurationsUsageEnum": ".selective_sync_configurations_usage_enum", - "StatusFd5Enum": ".status_fd_5_enum", + "StatusFd5Enum": ".status_fd5enum", "SyncStatus": ".sync_status", "SyncStatusLastSyncResult": ".sync_status_last_sync_result", + "SyncStatusStatus": ".sync_status_status", "Tag": ".tag", "Team": ".team", "Ticket": ".ticket", @@ -362,8 +356,10 @@ def __getattr__(attr_name: str) -> typing.Any: raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") try: module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) except ImportError as e: raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e except AttributeError as e: @@ -401,7 +397,6 @@ def __dir__(): "Collection", "CollectionAccessLevel", "CollectionAccessLevelEnum", - "CollectionCollectionType", "CollectionParentCollection", "CollectionTypeEnum", "Comment", @@ -415,7 +410,6 @@ def __dir__(): "CommentUser", "CommonModelScopeApi", "CommonModelScopesBodyRequest", - "CompletedAccountInitialScreenEnum", "Contact", "ContactAccount", "ContactRequest", @@ -477,7 +471,6 @@ def __dir__(): "PaginatedViewerList", "PatchedTicketRequest", "PatchedTicketRequestAccessLevel", - "PatchedTicketRequestPriority", "PatchedTicketRequestStatus", "PriorityEnum", "Project", @@ -489,13 +482,12 @@ def __dir__(): "RemoteFieldApiResponse", "RemoteFieldClass", "RemoteFieldClassFieldChoicesItem", - "RemoteFieldClassFieldFormat", - "RemoteFieldClassFieldType", "RemoteFieldRemoteFieldClass", "RemoteFieldRequest", "RemoteFieldRequestRemoteFieldClass", "RemoteKey", "RemoteResponse", + "RemoteResponseResponseType", "RequestFormatEnum", "ResponseTypeEnum", "Role", @@ -506,6 +498,7 @@ def __dir__(): "StatusFd5Enum", "SyncStatus", "SyncStatusLastSyncResult", + "SyncStatusStatus", "Tag", "Team", "Ticket", diff --git a/src/merge/resources/ticketing/types/account.py b/src/merge/resources/ticketing/types/account.py index 3d1cda4c..e0989157 100644 --- a/src/merge/resources/ticketing/types/account.py +++ b/src/merge/resources/ticketing/types/account.py @@ -52,7 +52,7 @@ class Account(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/ticketing/types/account_details_and_actions.py b/src/merge/resources/ticketing/types/account_details_and_actions.py index 93c874ed..a16114f6 100644 --- a/src/merge/resources/ticketing/types/account_details_and_actions.py +++ b/src/merge/resources/ticketing/types/account_details_and_actions.py @@ -42,7 +42,6 @@ class AccountDetailsAndActions(UncheckedBaseModel): integration: typing.Optional[AccountDetailsAndActionsIntegration] = None account_type: str completed_at: dt.datetime - integration_specific_fields: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/ticketing/types/account_integration.py b/src/merge/resources/ticketing/types/account_integration.py index ef8b260d..7bc872ca 100644 --- a/src/merge/resources/ticketing/types/account_integration.py +++ b/src/merge/resources/ticketing/types/account_integration.py @@ -40,9 +40,7 @@ class AccountIntegration(UncheckedBaseModel): """ slug: typing.Optional[str] = None - api_endpoints_to_documentation_urls: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = ( - pydantic.Field(default=None) - ) + api_endpoints_to_documentation_urls: typing.Optional[typing.Dict[str, typing.Any]] = pydantic.Field(default=None) """ Mapping of API endpoints to documentation urls for support. Example: {'GET': [['/common-model-scopes', 'https://docs.merge.dev/accounting/common-model-scopes/#common_model_scopes_retrieve'],['/common-model-actions', 'https://docs.merge.dev/accounting/common-model-actions/#common_model_actions_retrieve']], 'POST': []} """ @@ -52,7 +50,7 @@ class AccountIntegration(UncheckedBaseModel): Setup guide URL for third party webhook creation. Exposed in Merge Docs. """ - category_beta_status: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = pydantic.Field(default=None) + category_beta_status: typing.Optional[typing.Dict[str, typing.Any]] = pydantic.Field(default=None) """ Category or categories this integration is in beta status for. """ diff --git a/src/merge/resources/ticketing/types/advanced_metadata.py b/src/merge/resources/ticketing/types/advanced_metadata.py index 60b5d072..aef64bb3 100644 --- a/src/merge/resources/ticketing/types/advanced_metadata.py +++ b/src/merge/resources/ticketing/types/advanced_metadata.py @@ -13,7 +13,7 @@ class AdvancedMetadata(UncheckedBaseModel): description: typing.Optional[str] = None is_required: typing.Optional[bool] = None is_custom: typing.Optional[bool] = None - field_choices: typing.Optional[typing.List[typing.Optional[typing.Any]]] = None + field_choices: typing.Optional[typing.List[typing.Any]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/ticketing/types/attachment.py b/src/merge/resources/ticketing/types/attachment.py index 13163ced..e233681f 100644 --- a/src/merge/resources/ticketing/types/attachment.py +++ b/src/merge/resources/ticketing/types/attachment.py @@ -72,7 +72,7 @@ class Attachment(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None if IS_PYDANTIC_V2: @@ -85,8 +85,7 @@ class Config: extra = pydantic.Extra.allow -from .collection import Collection # noqa: E402, F401, I001 -from .ticket import Ticket # noqa: E402, F401, I001 -from .attachment_ticket import AttachmentTicket # noqa: E402, F401, I001 +from .ticket import Ticket # noqa: E402, I001 +from .attachment_ticket import AttachmentTicket # noqa: E402, I001 -update_forward_refs(Attachment) +update_forward_refs(Attachment, Ticket=Ticket) diff --git a/src/merge/resources/ticketing/types/attachment_request.py b/src/merge/resources/ticketing/types/attachment_request.py index 62af0a78..a3fc7f7e 100644 --- a/src/merge/resources/ticketing/types/attachment_request.py +++ b/src/merge/resources/ticketing/types/attachment_request.py @@ -45,8 +45,8 @@ class AttachmentRequest(UncheckedBaseModel): The user who uploaded the attachment. """ - integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + integration_params: typing.Optional[typing.Dict[str, typing.Any]] = None + linked_account_params: typing.Optional[typing.Dict[str, typing.Any]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 @@ -58,8 +58,4 @@ class Config: extra = pydantic.Extra.allow -from .attachment import Attachment # noqa: E402, F401, I001 -from .collection import Collection # noqa: E402, F401, I001 -from .ticket import Ticket # noqa: E402, F401, I001 - update_forward_refs(AttachmentRequest) diff --git a/src/merge/resources/ticketing/types/categories_enum.py b/src/merge/resources/ticketing/types/categories_enum.py index da1e0dc0..3f2dc5a9 100644 --- a/src/merge/resources/ticketing/types/categories_enum.py +++ b/src/merge/resources/ticketing/types/categories_enum.py @@ -15,7 +15,6 @@ class CategoriesEnum(str, enum.Enum): * `crm` - crm * `mktg` - mktg * `filestorage` - filestorage - * `knowledgebase` - knowledgebase """ HRIS = "hris" @@ -25,7 +24,6 @@ class CategoriesEnum(str, enum.Enum): CRM = "crm" MKTG = "mktg" FILESTORAGE = "filestorage" - KNOWLEDGEBASE = "knowledgebase" def visit( self, @@ -36,7 +34,6 @@ def visit( crm: typing.Callable[[], T_Result], mktg: typing.Callable[[], T_Result], filestorage: typing.Callable[[], T_Result], - knowledgebase: typing.Callable[[], T_Result], ) -> T_Result: if self is CategoriesEnum.HRIS: return hris() @@ -52,5 +49,3 @@ def visit( return mktg() if self is CategoriesEnum.FILESTORAGE: return filestorage() - if self is CategoriesEnum.KNOWLEDGEBASE: - return knowledgebase() diff --git a/src/merge/resources/ticketing/types/category_enum.py b/src/merge/resources/ticketing/types/category_enum.py index 1d7cd2c0..d37e48f5 100644 --- a/src/merge/resources/ticketing/types/category_enum.py +++ b/src/merge/resources/ticketing/types/category_enum.py @@ -15,7 +15,6 @@ class CategoryEnum(str, enum.Enum): * `crm` - crm * `mktg` - mktg * `filestorage` - filestorage - * `knowledgebase` - knowledgebase """ HRIS = "hris" @@ -25,7 +24,6 @@ class CategoryEnum(str, enum.Enum): CRM = "crm" MKTG = "mktg" FILESTORAGE = "filestorage" - KNOWLEDGEBASE = "knowledgebase" def visit( self, @@ -36,7 +34,6 @@ def visit( crm: typing.Callable[[], T_Result], mktg: typing.Callable[[], T_Result], filestorage: typing.Callable[[], T_Result], - knowledgebase: typing.Callable[[], T_Result], ) -> T_Result: if self is CategoryEnum.HRIS: return hris() @@ -52,5 +49,3 @@ def visit( return mktg() if self is CategoryEnum.FILESTORAGE: return filestorage() - if self is CategoryEnum.KNOWLEDGEBASE: - return knowledgebase() diff --git a/src/merge/resources/ticketing/types/collection.py b/src/merge/resources/ticketing/types/collection.py index b74584a0..53b33efc 100644 --- a/src/merge/resources/ticketing/types/collection.py +++ b/src/merge/resources/ticketing/types/collection.py @@ -6,10 +6,10 @@ import typing import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.pydantic_utilities import IS_PYDANTIC_V2 from ....core.unchecked_base_model import UncheckedBaseModel from .collection_access_level import CollectionAccessLevel -from .collection_collection_type import CollectionCollectionType +from .collection_type_enum import CollectionTypeEnum from .remote_data import RemoteData @@ -59,7 +59,7 @@ class Collection(UncheckedBaseModel): * `PARENT_COLLECTION` - PARENT_COLLECTION """ - collection_type: typing.Optional[CollectionCollectionType] = pydantic.Field(default=None) + collection_type: typing.Optional[CollectionTypeEnum] = pydantic.Field(default=None) """ The collection's type. @@ -92,7 +92,7 @@ class Collection(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None if IS_PYDANTIC_V2: @@ -105,6 +105,4 @@ class Config: extra = pydantic.Extra.allow -from .collection_parent_collection import CollectionParentCollection # noqa: E402, F401, I001 - -update_forward_refs(Collection) +from .collection_parent_collection import CollectionParentCollection # noqa: E402, I001 diff --git a/src/merge/resources/ticketing/types/collection_collection_type.py b/src/merge/resources/ticketing/types/collection_collection_type.py deleted file mode 100644 index 986d6db9..00000000 --- a/src/merge/resources/ticketing/types/collection_collection_type.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .collection_type_enum import CollectionTypeEnum - -CollectionCollectionType = typing.Union[CollectionTypeEnum, str] diff --git a/src/merge/resources/ticketing/types/comment.py b/src/merge/resources/ticketing/types/comment.py index 34dbbe8e..3933cd4b 100644 --- a/src/merge/resources/ticketing/types/comment.py +++ b/src/merge/resources/ticketing/types/comment.py @@ -80,7 +80,7 @@ class Comment(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None if IS_PYDANTIC_V2: @@ -93,8 +93,4 @@ class Config: extra = pydantic.Extra.allow -from .attachment import Attachment # noqa: E402, F401, I001 -from .collection import Collection # noqa: E402, F401, I001 -from .ticket import Ticket # noqa: E402, F401, I001 - update_forward_refs(Comment) diff --git a/src/merge/resources/ticketing/types/comment_request.py b/src/merge/resources/ticketing/types/comment_request.py index 0f70cc1b..0eedd3eb 100644 --- a/src/merge/resources/ticketing/types/comment_request.py +++ b/src/merge/resources/ticketing/types/comment_request.py @@ -52,8 +52,8 @@ class CommentRequest(UncheckedBaseModel): Whether or not the comment is internal. """ - integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + integration_params: typing.Optional[typing.Dict[str, typing.Any]] = None + linked_account_params: typing.Optional[typing.Dict[str, typing.Any]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 @@ -65,8 +65,4 @@ class Config: extra = pydantic.Extra.allow -from .attachment import Attachment # noqa: E402, F401, I001 -from .collection import Collection # noqa: E402, F401, I001 -from .ticket import Ticket # noqa: E402, F401, I001 - update_forward_refs(CommentRequest) diff --git a/src/merge/resources/ticketing/types/comment_response.py b/src/merge/resources/ticketing/types/comment_response.py index 68a9e96b..39626bab 100644 --- a/src/merge/resources/ticketing/types/comment_response.py +++ b/src/merge/resources/ticketing/types/comment_response.py @@ -29,8 +29,4 @@ class Config: extra = pydantic.Extra.allow -from .attachment import Attachment # noqa: E402, F401, I001 -from .collection import Collection # noqa: E402, F401, I001 -from .ticket import Ticket # noqa: E402, F401, I001 - update_forward_refs(CommentResponse) diff --git a/src/merge/resources/ticketing/types/completed_account_initial_screen_enum.py b/src/merge/resources/ticketing/types/completed_account_initial_screen_enum.py deleted file mode 100644 index c112dfd1..00000000 --- a/src/merge/resources/ticketing/types/completed_account_initial_screen_enum.py +++ /dev/null @@ -1,5 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -CompletedAccountInitialScreenEnum = typing.Literal["SELECTIVE_SYNC"] diff --git a/src/merge/resources/ticketing/types/contact.py b/src/merge/resources/ticketing/types/contact.py index 2e699d49..76ffeeb4 100644 --- a/src/merge/resources/ticketing/types/contact.py +++ b/src/merge/resources/ticketing/types/contact.py @@ -66,7 +66,7 @@ class Contact(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/ticketing/types/contact_request.py b/src/merge/resources/ticketing/types/contact_request.py index 92ec7aa6..07e8a96b 100644 --- a/src/merge/resources/ticketing/types/contact_request.py +++ b/src/merge/resources/ticketing/types/contact_request.py @@ -43,8 +43,8 @@ class ContactRequest(UncheckedBaseModel): The contact's account. """ - integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + integration_params: typing.Optional[typing.Dict[str, typing.Any]] = None + linked_account_params: typing.Optional[typing.Dict[str, typing.Any]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/ticketing/types/data_passthrough_request.py b/src/merge/resources/ticketing/types/data_passthrough_request.py index c9f0a799..df3af029 100644 --- a/src/merge/resources/ticketing/types/data_passthrough_request.py +++ b/src/merge/resources/ticketing/types/data_passthrough_request.py @@ -41,7 +41,7 @@ class DataPassthroughRequest(UncheckedBaseModel): Pass an array of `MultipartFormField` objects in here instead of using the `data` param if `request_format` is set to `MULTIPART`. """ - headers: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = pydantic.Field(default=None) + headers: typing.Optional[typing.Dict[str, typing.Any]] = pydantic.Field(default=None) """ The headers to use for the request (Merge will handle the account's authorization headers). `Content-Type` header is required for passthrough. Choose content type corresponding to expected format of receiving server. """ diff --git a/src/merge/resources/ticketing/types/encoding_enum.py b/src/merge/resources/ticketing/types/encoding_enum.py index 7454647e..ceb8c474 100644 --- a/src/merge/resources/ticketing/types/encoding_enum.py +++ b/src/merge/resources/ticketing/types/encoding_enum.py @@ -14,18 +14,18 @@ class EncodingEnum(str, enum.Enum): """ RAW = "RAW" - BASE_64 = "BASE64" - GZIP_BASE_64 = "GZIP_BASE64" + BASE64 = "BASE64" + GZIP_BASE64 = "GZIP_BASE64" def visit( self, raw: typing.Callable[[], T_Result], - base_64: typing.Callable[[], T_Result], - gzip_base_64: typing.Callable[[], T_Result], + base64: typing.Callable[[], T_Result], + gzip_base64: typing.Callable[[], T_Result], ) -> T_Result: if self is EncodingEnum.RAW: return raw() - if self is EncodingEnum.BASE_64: - return base_64() - if self is EncodingEnum.GZIP_BASE_64: - return gzip_base_64() + if self is EncodingEnum.BASE64: + return base64() + if self is EncodingEnum.GZIP_BASE64: + return gzip_base64() diff --git a/src/merge/resources/ticketing/types/field_mapping_api_instance.py b/src/merge/resources/ticketing/types/field_mapping_api_instance.py index 0d257dcb..a5815313 100644 --- a/src/merge/resources/ticketing/types/field_mapping_api_instance.py +++ b/src/merge/resources/ticketing/types/field_mapping_api_instance.py @@ -14,7 +14,6 @@ class FieldMappingApiInstance(UncheckedBaseModel): is_integration_wide: typing.Optional[bool] = None target_field: typing.Optional[FieldMappingApiInstanceTargetField] = None remote_field: typing.Optional[FieldMappingApiInstanceRemoteField] = None - jmes_path: typing.Optional[str] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/ticketing/types/field_mapping_api_instance_remote_field.py b/src/merge/resources/ticketing/types/field_mapping_api_instance_remote_field.py index 578a2b10..f3d5a8cb 100644 --- a/src/merge/resources/ticketing/types/field_mapping_api_instance_remote_field.py +++ b/src/merge/resources/ticketing/types/field_mapping_api_instance_remote_field.py @@ -12,9 +12,7 @@ class FieldMappingApiInstanceRemoteField(UncheckedBaseModel): remote_key_name: typing.Optional[str] = None - schema_: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = pydantic.Field( - alias="schema", default=None - ) + schema_: typing.Optional[typing.Dict[str, typing.Any]] = pydantic.Field(alias="schema", default=None) remote_endpoint_info: FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo if IS_PYDANTIC_V2: diff --git a/src/merge/resources/ticketing/types/field_permission_deserializer.py b/src/merge/resources/ticketing/types/field_permission_deserializer.py index 1d71ae04..407ed547 100644 --- a/src/merge/resources/ticketing/types/field_permission_deserializer.py +++ b/src/merge/resources/ticketing/types/field_permission_deserializer.py @@ -8,8 +8,8 @@ class FieldPermissionDeserializer(UncheckedBaseModel): - enabled_fields: typing.Optional[typing.List[typing.Optional[typing.Any]]] = None - disabled_fields: typing.Optional[typing.List[typing.Optional[typing.Any]]] = None + enabled_fields: typing.Optional[typing.List[typing.Any]] = None + disabled_fields: typing.Optional[typing.List[typing.Any]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/ticketing/types/field_permission_deserializer_request.py b/src/merge/resources/ticketing/types/field_permission_deserializer_request.py index a4113b46..6680c7d2 100644 --- a/src/merge/resources/ticketing/types/field_permission_deserializer_request.py +++ b/src/merge/resources/ticketing/types/field_permission_deserializer_request.py @@ -8,8 +8,8 @@ class FieldPermissionDeserializerRequest(UncheckedBaseModel): - enabled_fields: typing.Optional[typing.List[typing.Optional[typing.Any]]] = None - disabled_fields: typing.Optional[typing.List[typing.Optional[typing.Any]]] = None + enabled_fields: typing.Optional[typing.List[typing.Any]] = None + disabled_fields: typing.Optional[typing.List[typing.Any]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/ticketing/types/issue.py b/src/merge/resources/ticketing/types/issue.py index df31be95..5d37505d 100644 --- a/src/merge/resources/ticketing/types/issue.py +++ b/src/merge/resources/ticketing/types/issue.py @@ -20,7 +20,7 @@ class Issue(UncheckedBaseModel): """ error_description: str - end_user: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + end_user: typing.Optional[typing.Dict[str, typing.Any]] = None first_incident_time: typing.Optional[dt.datetime] = None last_incident_time: typing.Optional[dt.datetime] = None is_muted: typing.Optional[bool] = None diff --git a/src/merge/resources/ticketing/types/meta_response.py b/src/merge/resources/ticketing/types/meta_response.py index caa2c831..0da37619 100644 --- a/src/merge/resources/ticketing/types/meta_response.py +++ b/src/merge/resources/ticketing/types/meta_response.py @@ -9,8 +9,8 @@ class MetaResponse(UncheckedBaseModel): - request_schema: typing.Dict[str, typing.Optional[typing.Any]] - remote_field_classes: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + request_schema: typing.Dict[str, typing.Any] + remote_field_classes: typing.Optional[typing.Dict[str, typing.Any]] = None status: typing.Optional[LinkedAccountStatus] = None has_conditional_params: bool has_required_linked_account_params: bool diff --git a/src/merge/resources/ticketing/types/paginated_attachment_list.py b/src/merge/resources/ticketing/types/paginated_attachment_list.py index e5f0a2cf..3c1e8317 100644 --- a/src/merge/resources/ticketing/types/paginated_attachment_list.py +++ b/src/merge/resources/ticketing/types/paginated_attachment_list.py @@ -24,8 +24,6 @@ class Config: extra = pydantic.Extra.allow -from .attachment import Attachment # noqa: E402, F401, I001 -from .collection import Collection # noqa: E402, F401, I001 -from .ticket import Ticket # noqa: E402, F401, I001 +from .attachment import Attachment # noqa: E402, I001 update_forward_refs(PaginatedAttachmentList) diff --git a/src/merge/resources/ticketing/types/paginated_collection_list.py b/src/merge/resources/ticketing/types/paginated_collection_list.py index ef8d33e3..86849c13 100644 --- a/src/merge/resources/ticketing/types/paginated_collection_list.py +++ b/src/merge/resources/ticketing/types/paginated_collection_list.py @@ -24,6 +24,6 @@ class Config: extra = pydantic.Extra.allow -from .collection import Collection # noqa: E402, F401, I001 +from .collection import Collection # noqa: E402, I001 update_forward_refs(PaginatedCollectionList) diff --git a/src/merge/resources/ticketing/types/paginated_comment_list.py b/src/merge/resources/ticketing/types/paginated_comment_list.py index 08c8a4f8..b034fe2f 100644 --- a/src/merge/resources/ticketing/types/paginated_comment_list.py +++ b/src/merge/resources/ticketing/types/paginated_comment_list.py @@ -25,8 +25,4 @@ class Config: extra = pydantic.Extra.allow -from .attachment import Attachment # noqa: E402, F401, I001 -from .collection import Collection # noqa: E402, F401, I001 -from .ticket import Ticket # noqa: E402, F401, I001 - update_forward_refs(PaginatedCommentList) diff --git a/src/merge/resources/ticketing/types/paginated_ticket_list.py b/src/merge/resources/ticketing/types/paginated_ticket_list.py index 6c4128a0..e43efec8 100644 --- a/src/merge/resources/ticketing/types/paginated_ticket_list.py +++ b/src/merge/resources/ticketing/types/paginated_ticket_list.py @@ -24,8 +24,6 @@ class Config: extra = pydantic.Extra.allow -from .attachment import Attachment # noqa: E402, F401, I001 -from .collection import Collection # noqa: E402, F401, I001 -from .ticket import Ticket # noqa: E402, F401, I001 +from .ticket import Ticket # noqa: E402, I001 update_forward_refs(PaginatedTicketList) diff --git a/src/merge/resources/ticketing/types/patched_ticket_request.py b/src/merge/resources/ticketing/types/patched_ticket_request.py index d31860df..c9cc9930 100644 --- a/src/merge/resources/ticketing/types/patched_ticket_request.py +++ b/src/merge/resources/ticketing/types/patched_ticket_request.py @@ -7,8 +7,8 @@ from ....core.pydantic_utilities import IS_PYDANTIC_V2 from ....core.unchecked_base_model import UncheckedBaseModel from .patched_ticket_request_access_level import PatchedTicketRequestAccessLevel -from .patched_ticket_request_priority import PatchedTicketRequestPriority from .patched_ticket_request_status import PatchedTicketRequestStatus +from .priority_enum import PriorityEnum from .remote_field_request import RemoteFieldRequest @@ -98,12 +98,17 @@ class PatchedTicketRequest(UncheckedBaseModel): tags: typing.Optional[typing.List[typing.Optional[str]]] = None roles: typing.Optional[typing.List[typing.Optional[str]]] = None + completed_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + When the ticket was completed. + """ + ticket_url: typing.Optional[str] = pydantic.Field(default=None) """ The 3rd party url of the Ticket. """ - priority: typing.Optional[PatchedTicketRequestPriority] = pydantic.Field(default=None) + priority: typing.Optional[PriorityEnum] = pydantic.Field(default=None) """ The priority or urgency of the Ticket. @@ -113,13 +118,8 @@ class PatchedTicketRequest(UncheckedBaseModel): * `LOW` - LOW """ - completed_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - When the ticket was completed. - """ - - integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + integration_params: typing.Optional[typing.Dict[str, typing.Any]] = None + linked_account_params: typing.Optional[typing.Dict[str, typing.Any]] = None remote_fields: typing.Optional[typing.List[RemoteFieldRequest]] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/ticketing/types/patched_ticket_request_priority.py b/src/merge/resources/ticketing/types/patched_ticket_request_priority.py deleted file mode 100644 index 73651006..00000000 --- a/src/merge/resources/ticketing/types/patched_ticket_request_priority.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .priority_enum import PriorityEnum - -PatchedTicketRequestPriority = typing.Union[PriorityEnum, str] diff --git a/src/merge/resources/ticketing/types/project.py b/src/merge/resources/ticketing/types/project.py index 51ce64c5..9ed72da7 100644 --- a/src/merge/resources/ticketing/types/project.py +++ b/src/merge/resources/ticketing/types/project.py @@ -50,7 +50,7 @@ class Project(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/ticketing/types/remote_data.py b/src/merge/resources/ticketing/types/remote_data.py index f34bec80..2026f05a 100644 --- a/src/merge/resources/ticketing/types/remote_data.py +++ b/src/merge/resources/ticketing/types/remote_data.py @@ -22,7 +22,7 @@ class RemoteData(UncheckedBaseModel): The third-party API path that is being called. """ - data: typing.Optional[typing.Optional[typing.Any]] = pydantic.Field(default=None) + data: typing.Optional[typing.Any] = pydantic.Field(default=None) """ The data returned from the third-party for this object in its original, unnormalized format. """ diff --git a/src/merge/resources/ticketing/types/remote_endpoint_info.py b/src/merge/resources/ticketing/types/remote_endpoint_info.py index 07ceff6a..ffa70b94 100644 --- a/src/merge/resources/ticketing/types/remote_endpoint_info.py +++ b/src/merge/resources/ticketing/types/remote_endpoint_info.py @@ -10,7 +10,7 @@ class RemoteEndpointInfo(UncheckedBaseModel): method: str url_path: str - field_traversal_path: typing.List[typing.Optional[typing.Any]] + field_traversal_path: typing.List[typing.Any] if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/ticketing/types/remote_field.py b/src/merge/resources/ticketing/types/remote_field.py index 1a9272f0..556c69ef 100644 --- a/src/merge/resources/ticketing/types/remote_field.py +++ b/src/merge/resources/ticketing/types/remote_field.py @@ -10,7 +10,7 @@ class RemoteField(UncheckedBaseModel): remote_field_class: RemoteFieldRemoteFieldClass - value: typing.Optional[typing.Optional[typing.Any]] = None + value: typing.Optional[typing.Any] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/ticketing/types/remote_field_api.py b/src/merge/resources/ticketing/types/remote_field_api.py index 4c66a23b..bac07b8d 100644 --- a/src/merge/resources/ticketing/types/remote_field_api.py +++ b/src/merge/resources/ticketing/types/remote_field_api.py @@ -11,10 +11,10 @@ class RemoteFieldApi(UncheckedBaseModel): - schema_: typing.Dict[str, typing.Optional[typing.Any]] = pydantic.Field(alias="schema") + schema_: typing.Dict[str, typing.Any] = pydantic.Field(alias="schema") remote_key_name: str remote_endpoint_info: RemoteEndpointInfo - example_values: typing.Optional[typing.List[typing.Optional[typing.Any]]] = None + example_values: typing.Optional[typing.List[typing.Any]] = None advanced_metadata: typing.Optional[AdvancedMetadata] = None coverage: typing.Optional[RemoteFieldApiCoverage] = None diff --git a/src/merge/resources/ticketing/types/remote_field_class.py b/src/merge/resources/ticketing/types/remote_field_class.py index 76189afe..c50d1dd3 100644 --- a/src/merge/resources/ticketing/types/remote_field_class.py +++ b/src/merge/resources/ticketing/types/remote_field_class.py @@ -5,10 +5,10 @@ import pydantic from ....core.pydantic_utilities import IS_PYDANTIC_V2 from ....core.unchecked_base_model import UncheckedBaseModel +from .field_format_enum import FieldFormatEnum +from .field_type_enum import FieldTypeEnum from .item_schema import ItemSchema from .remote_field_class_field_choices_item import RemoteFieldClassFieldChoicesItem -from .remote_field_class_field_format import RemoteFieldClassFieldFormat -from .remote_field_class_field_type import RemoteFieldClassFieldType class RemoteFieldClass(UncheckedBaseModel): @@ -19,8 +19,8 @@ class RemoteFieldClass(UncheckedBaseModel): is_custom: typing.Optional[bool] = None is_common_model_field: typing.Optional[bool] = None is_required: typing.Optional[bool] = None - field_type: typing.Optional[RemoteFieldClassFieldType] = None - field_format: typing.Optional[RemoteFieldClassFieldFormat] = None + field_type: typing.Optional[FieldTypeEnum] = None + field_format: typing.Optional[FieldFormatEnum] = None field_choices: typing.Optional[typing.List[RemoteFieldClassFieldChoicesItem]] = None item_schema: typing.Optional[ItemSchema] = None diff --git a/src/merge/resources/ticketing/types/remote_field_class_field_choices_item.py b/src/merge/resources/ticketing/types/remote_field_class_field_choices_item.py index 9003f782..0b1a5faa 100644 --- a/src/merge/resources/ticketing/types/remote_field_class_field_choices_item.py +++ b/src/merge/resources/ticketing/types/remote_field_class_field_choices_item.py @@ -8,7 +8,7 @@ class RemoteFieldClassFieldChoicesItem(UncheckedBaseModel): - value: typing.Optional[typing.Optional[typing.Any]] = None + value: typing.Optional[typing.Any] = None display_name: typing.Optional[str] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/ticketing/types/remote_field_class_field_format.py b/src/merge/resources/ticketing/types/remote_field_class_field_format.py deleted file mode 100644 index 1412d3b4..00000000 --- a/src/merge/resources/ticketing/types/remote_field_class_field_format.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .field_format_enum import FieldFormatEnum - -RemoteFieldClassFieldFormat = typing.Union[str, FieldFormatEnum] diff --git a/src/merge/resources/ticketing/types/remote_field_class_field_type.py b/src/merge/resources/ticketing/types/remote_field_class_field_type.py deleted file mode 100644 index 41a0b893..00000000 --- a/src/merge/resources/ticketing/types/remote_field_class_field_type.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .field_type_enum import FieldTypeEnum - -RemoteFieldClassFieldType = typing.Union[str, FieldTypeEnum] diff --git a/src/merge/resources/ticketing/types/remote_field_request.py b/src/merge/resources/ticketing/types/remote_field_request.py index 69bc39da..e3c6e0fc 100644 --- a/src/merge/resources/ticketing/types/remote_field_request.py +++ b/src/merge/resources/ticketing/types/remote_field_request.py @@ -10,7 +10,7 @@ class RemoteFieldRequest(UncheckedBaseModel): remote_field_class: RemoteFieldRequestRemoteFieldClass - value: typing.Optional[typing.Optional[typing.Any]] = None + value: typing.Optional[typing.Any] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/ticketing/types/remote_response.py b/src/merge/resources/ticketing/types/remote_response.py index af181fc0..8bc6f905 100644 --- a/src/merge/resources/ticketing/types/remote_response.py +++ b/src/merge/resources/ticketing/types/remote_response.py @@ -5,7 +5,7 @@ import pydantic from ....core.pydantic_utilities import IS_PYDANTIC_V2 from ....core.unchecked_base_model import UncheckedBaseModel -from .response_type_enum import ResponseTypeEnum +from .remote_response_response_type import RemoteResponseResponseType class RemoteResponse(UncheckedBaseModel): @@ -21,10 +21,10 @@ class RemoteResponse(UncheckedBaseModel): method: str path: str status: int - response: typing.Optional[typing.Any] = None - response_headers: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - response_type: typing.Optional[ResponseTypeEnum] = None - headers: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + response: typing.Any + response_headers: typing.Optional[typing.Dict[str, typing.Any]] = None + response_type: typing.Optional[RemoteResponseResponseType] = None + headers: typing.Optional[typing.Dict[str, typing.Any]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/ticketing/types/remote_response_response_type.py b/src/merge/resources/ticketing/types/remote_response_response_type.py new file mode 100644 index 00000000..2556417a --- /dev/null +++ b/src/merge/resources/ticketing/types/remote_response_response_type.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .response_type_enum import ResponseTypeEnum + +RemoteResponseResponseType = typing.Union[ResponseTypeEnum, str] diff --git a/src/merge/resources/ticketing/types/response_type_enum.py b/src/merge/resources/ticketing/types/response_type_enum.py index ef241302..e29175b6 100644 --- a/src/merge/resources/ticketing/types/response_type_enum.py +++ b/src/merge/resources/ticketing/types/response_type_enum.py @@ -13,10 +13,10 @@ class ResponseTypeEnum(str, enum.Enum): """ JSON = "JSON" - BASE_64_GZIP = "BASE64_GZIP" + BASE64GZIP = "BASE64_GZIP" - def visit(self, json: typing.Callable[[], T_Result], base_64_gzip: typing.Callable[[], T_Result]) -> T_Result: + def visit(self, json: typing.Callable[[], T_Result], base64gzip: typing.Callable[[], T_Result]) -> T_Result: if self is ResponseTypeEnum.JSON: return json() - if self is ResponseTypeEnum.BASE_64_GZIP: - return base_64_gzip() + if self is ResponseTypeEnum.BASE64GZIP: + return base64gzip() diff --git a/src/merge/resources/ticketing/types/role.py b/src/merge/resources/ticketing/types/role.py index 8d4109ff..f718f9ed 100644 --- a/src/merge/resources/ticketing/types/role.py +++ b/src/merge/resources/ticketing/types/role.py @@ -61,7 +61,7 @@ class Role(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/ticketing/types/role_ticket_access.py b/src/merge/resources/ticketing/types/role_ticket_access.py index bf10da43..33e407ac 100644 --- a/src/merge/resources/ticketing/types/role_ticket_access.py +++ b/src/merge/resources/ticketing/types/role_ticket_access.py @@ -4,4 +4,4 @@ from .ticket_access_enum import TicketAccessEnum -RoleTicketAccess = typing.Union[str, TicketAccessEnum] +RoleTicketAccess = typing.Union[TicketAccessEnum, str] diff --git a/src/merge/resources/ticketing/types/role_ticket_actions_item.py b/src/merge/resources/ticketing/types/role_ticket_actions_item.py index 4b136989..7a8788e1 100644 --- a/src/merge/resources/ticketing/types/role_ticket_actions_item.py +++ b/src/merge/resources/ticketing/types/role_ticket_actions_item.py @@ -4,4 +4,4 @@ from .ticket_actions_enum import TicketActionsEnum -RoleTicketActionsItem = typing.Union[str, TicketActionsEnum] +RoleTicketActionsItem = typing.Union[TicketActionsEnum, str] diff --git a/src/merge/resources/hris/types/status_fd_5_enum.py b/src/merge/resources/ticketing/types/status_fd5enum.py similarity index 100% rename from src/merge/resources/hris/types/status_fd_5_enum.py rename to src/merge/resources/ticketing/types/status_fd5enum.py diff --git a/src/merge/resources/ticketing/types/status_fd_5_enum.py b/src/merge/resources/ticketing/types/status_fd_5_enum.py deleted file mode 100644 index d753f77c..00000000 --- a/src/merge/resources/ticketing/types/status_fd_5_enum.py +++ /dev/null @@ -1,46 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class StatusFd5Enum(str, enum.Enum): - """ - * `SYNCING` - SYNCING - * `DONE` - DONE - * `FAILED` - FAILED - * `DISABLED` - DISABLED - * `PAUSED` - PAUSED - * `PARTIALLY_SYNCED` - PARTIALLY_SYNCED - """ - - SYNCING = "SYNCING" - DONE = "DONE" - FAILED = "FAILED" - DISABLED = "DISABLED" - PAUSED = "PAUSED" - PARTIALLY_SYNCED = "PARTIALLY_SYNCED" - - def visit( - self, - syncing: typing.Callable[[], T_Result], - done: typing.Callable[[], T_Result], - failed: typing.Callable[[], T_Result], - disabled: typing.Callable[[], T_Result], - paused: typing.Callable[[], T_Result], - partially_synced: typing.Callable[[], T_Result], - ) -> T_Result: - if self is StatusFd5Enum.SYNCING: - return syncing() - if self is StatusFd5Enum.DONE: - return done() - if self is StatusFd5Enum.FAILED: - return failed() - if self is StatusFd5Enum.DISABLED: - return disabled() - if self is StatusFd5Enum.PAUSED: - return paused() - if self is StatusFd5Enum.PARTIALLY_SYNCED: - return partially_synced() diff --git a/src/merge/resources/ticketing/types/sync_status.py b/src/merge/resources/ticketing/types/sync_status.py index 4a628c4f..07ab1dc2 100644 --- a/src/merge/resources/ticketing/types/sync_status.py +++ b/src/merge/resources/ticketing/types/sync_status.py @@ -7,8 +7,8 @@ from ....core.pydantic_utilities import IS_PYDANTIC_V2 from ....core.unchecked_base_model import UncheckedBaseModel from .selective_sync_configurations_usage_enum import SelectiveSyncConfigurationsUsageEnum -from .status_fd_5_enum import StatusFd5Enum from .sync_status_last_sync_result import SyncStatusLastSyncResult +from .sync_status_status import SyncStatusStatus class SyncStatus(UncheckedBaseModel): @@ -27,7 +27,7 @@ class SyncStatus(UncheckedBaseModel): next_sync_start: typing.Optional[dt.datetime] = None last_sync_result: typing.Optional[SyncStatusLastSyncResult] = None last_sync_finished: typing.Optional[dt.datetime] = None - status: StatusFd5Enum + status: SyncStatusStatus is_initial_sync: bool selective_sync_configurations_usage: typing.Optional[SelectiveSyncConfigurationsUsageEnum] = None diff --git a/src/merge/resources/ticketing/types/sync_status_status.py b/src/merge/resources/ticketing/types/sync_status_status.py new file mode 100644 index 00000000..080bb651 --- /dev/null +++ b/src/merge/resources/ticketing/types/sync_status_status.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .status_fd5enum import StatusFd5Enum + +SyncStatusStatus = typing.Union[StatusFd5Enum, str] diff --git a/src/merge/resources/ticketing/types/tag.py b/src/merge/resources/ticketing/types/tag.py index c5f85543..25a95613 100644 --- a/src/merge/resources/ticketing/types/tag.py +++ b/src/merge/resources/ticketing/types/tag.py @@ -45,7 +45,7 @@ class Tag(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/ticketing/types/team.py b/src/merge/resources/ticketing/types/team.py index 0cd15521..3ebbaab0 100644 --- a/src/merge/resources/ticketing/types/team.py +++ b/src/merge/resources/ticketing/types/team.py @@ -50,7 +50,7 @@ class Team(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/ticketing/types/ticket.py b/src/merge/resources/ticketing/types/ticket.py index 0a550a82..87d53827 100644 --- a/src/merge/resources/ticketing/types/ticket.py +++ b/src/merge/resources/ticketing/types/ticket.py @@ -126,6 +126,21 @@ class Ticket(UncheckedBaseModel): tags: typing.Optional[typing.List[typing.Optional[str]]] = None roles: typing.Optional[typing.List[typing.Optional[str]]] = None + ticket_url: typing.Optional[str] = pydantic.Field(default=None) + """ + The 3rd party url of the Ticket. + """ + + priority: typing.Optional[TicketPriority] = pydantic.Field(default=None) + """ + The priority or urgency of the Ticket. + + * `URGENT` - URGENT + * `HIGH` - HIGH + * `NORMAL` - NORMAL + * `LOW` - LOW + """ + remote_created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) """ When the third party's ticket was created. @@ -146,22 +161,7 @@ class Ticket(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - ticket_url: typing.Optional[str] = pydantic.Field(default=None) - """ - The 3rd party url of the Ticket. - """ - - priority: typing.Optional[TicketPriority] = pydantic.Field(default=None) - """ - The priority or urgency of the Ticket. - - * `URGENT` - URGENT - * `HIGH` - HIGH - * `NORMAL` - NORMAL - * `LOW` - LOW - """ - - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None remote_fields: typing.Optional[typing.List[RemoteField]] = None @@ -175,9 +175,8 @@ class Config: extra = pydantic.Extra.allow -from .collection import Collection # noqa: E402, F401, I001 -from .attachment import Attachment # noqa: E402, F401, I001 -from .ticket_parent_ticket import TicketParentTicket # noqa: E402, F401, I001 -from .ticket_attachments_item import TicketAttachmentsItem # noqa: E402, F401, I001 +from .attachment import Attachment # noqa: E402, I001 +from .ticket_parent_ticket import TicketParentTicket # noqa: E402, I001 +from .ticket_attachments_item import TicketAttachmentsItem # noqa: E402, I001 -update_forward_refs(Ticket) +update_forward_refs(Ticket, Attachment=Attachment) diff --git a/src/merge/resources/ticketing/types/ticket_request.py b/src/merge/resources/ticketing/types/ticket_request.py index ed0e1ec4..8b32159b 100644 --- a/src/merge/resources/ticketing/types/ticket_request.py +++ b/src/merge/resources/ticketing/types/ticket_request.py @@ -133,8 +133,8 @@ class TicketRequest(UncheckedBaseModel): * `LOW` - LOW """ - integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + integration_params: typing.Optional[typing.Dict[str, typing.Any]] = None + linked_account_params: typing.Optional[typing.Dict[str, typing.Any]] = None remote_fields: typing.Optional[typing.List[RemoteFieldRequest]] = None if IS_PYDANTIC_V2: @@ -147,8 +147,4 @@ class Config: extra = pydantic.Extra.allow -from .collection import Collection # noqa: E402, F401, I001 -from .attachment import Attachment # noqa: E402, F401, I001 -from .ticket import Ticket # noqa: E402, F401, I001 - update_forward_refs(TicketRequest) diff --git a/src/merge/resources/ticketing/types/ticket_response.py b/src/merge/resources/ticketing/types/ticket_response.py index 1512f825..a5281589 100644 --- a/src/merge/resources/ticketing/types/ticket_response.py +++ b/src/merge/resources/ticketing/types/ticket_response.py @@ -28,8 +28,6 @@ class Config: extra = pydantic.Extra.allow -from .attachment import Attachment # noqa: E402, F401, I001 -from .collection import Collection # noqa: E402, F401, I001 -from .ticket import Ticket # noqa: E402, F401, I001 +from .ticket import Ticket # noqa: E402, I001 update_forward_refs(TicketResponse) diff --git a/src/merge/resources/ticketing/types/ticketing_attachment_response.py b/src/merge/resources/ticketing/types/ticketing_attachment_response.py index 1afad69d..dbd445e3 100644 --- a/src/merge/resources/ticketing/types/ticketing_attachment_response.py +++ b/src/merge/resources/ticketing/types/ticketing_attachment_response.py @@ -28,8 +28,6 @@ class Config: extra = pydantic.Extra.allow -from .attachment import Attachment # noqa: E402, F401, I001 -from .collection import Collection # noqa: E402, F401, I001 -from .ticket import Ticket # noqa: E402, F401, I001 +from .attachment import Attachment # noqa: E402, I001 update_forward_refs(TicketingAttachmentResponse) diff --git a/src/merge/resources/ticketing/types/user.py b/src/merge/resources/ticketing/types/user.py index b89d230c..336d4011 100644 --- a/src/merge/resources/ticketing/types/user.py +++ b/src/merge/resources/ticketing/types/user.py @@ -65,7 +65,7 @@ class User(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + field_mappings: typing.Optional[typing.Dict[str, typing.Any]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None if IS_PYDANTIC_V2: